vendor: 5,465 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AutocompleteFieldResults-DDPB-xt4.js","assets/accessibility-9Lc5i0Xh.js","assets/highstock-HnTuo9Ck.js","assets/clipboard-C6byiPuC.js","assets/AutocompleteSingleField-DCcGCKZm.js","assets/Badge-u9wzrbU_.js","assets/DepartmentHierarchy-CHfU4A_S.js","assets/Sidebar-CRnLoDbb.js","assets/Sidebar-Dg77pOWN.css"])))=>i.map(i=>d[i]); 2import{g as Ur,c as H9,a as b1,k as Uo,i as Go,b as z9,d as v1,e as $o,f as S1,t as Ci,s as w1,h as U9,j as E1,l as C1,m as k1,n as A1,o as G9,S as _8,p as j1,q as Wo,r as jl,u as Po,v as Es,w as $9,x as T1,y as M1,z as R1,A as W9,B as Fr,C as P1,D as N1,E as ri,F as qo,G as _1,H as I1,I as q9,J as V9,K as Tl,L as O1,M as Ml,N as Rl,O as L1,P as F1,Q as D1,R as B1,T as H1,U as al,V as Y9,W as z1,X as U1,Y as X9,Z as mo,_ as G1,$ as ll,a0 as $1,a1 as W1,a2 as q1,a3 as V1,a4 as Y1,a5 as Ca,a6 as K9,a7 as X1,a8 as Z9,a9 as it,aa as Rn,ab as J9,ac as Q,ad as Bn,ae as K1,af as Q9,ag as Z1}from"./highstock-HnTuo9Ck.js";import{h as J1,s as cl,c as e6,b as Pl,a as Nl,t as I8,d as Q1,e as e5,f as Cs,m as hr,g as t5,i as r5,j as i5,k as n5,l as s5,n as o5,o as Vo,p as a5,q as Dr,r as s,u as Yo,v as Li,N as bt,w as vr,x as bs,y as t6,P as ve,z as l5,A as Mr,B as ln,C as r6,D as _l,H as Il,E as c5}from"./accessibility-9Lc5i0Xh.js";import{C as i6}from"./clipboard-C6byiPuC.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="89291469-791f-4bcf-9d02-6399d11f42df",t._sentryDebugIdIdentifier="sentry-dbid-89291469-791f-4bcf-9d02-6399d11f42df")}catch{}})();var go={exports:{}};var d5=go.exports,O8;function h5(){return O8||(O8=1,(function(t){(function(e,r){t.exports=e.document?r(e,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return r(n)}})(typeof window<"u"?window:d5,function(e,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(c){return n.flat.call(c)}:function(c){return n.concat.apply([],c)},f=n.push,u=n.indexOf,m={},S=m.toString,w=m.hasOwnProperty,x=w.toString,T=x.call(Object),y={},E=function(g){return typeof g=="function"&&typeof g.nodeType!="number"&&typeof g.item!="function"},A=function(g){return g!=null&&g===g.window},j=e.document,R={type:!0,src:!0,nonce:!0,noModule:!0};function k(c,g,D){D=D||j;var W,ee,re=D.createElement("script");if(re.text=c,g)for(W in R)ee=g[W]||g.getAttribute&&g.getAttribute(W),ee&&re.setAttribute(W,ee);D.head.appendChild(re).parentNode.removeChild(re)}function B(c){return c==null?c+"":typeof c=="object"||typeof c=="function"?m[S.call(c)]||"object":typeof c}var L="3.7.1",C=/HTML$/i,h=function(c,g){return new h.fn.init(c,g)};h.fn=h.prototype={jquery:L,constructor:h,length:0,toArray:function(){return a.call(this)},get:function(c){return c==null?a.call(this):c<0?this[c+this.length]:this[c]},pushStack:function(c){var g=h.merge(this.constructor(),c);return g.prevObject=this,g},each:function(c){return h.each(this,c)},map:function(c){return this.pushStack(h.map(this,function(g,D){return c.call(g,D,g)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(c,g){return(g+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(c,g){return g%2}))},eq:function(c){var g=this.length,D=+c+(c<0?g:0);return this.pushStack(D>=0&&D<g?[this[D]]:[])},end:function(){return this.prevObject||this.constructor()},push:f,sort:n.sort,splice:n.splice},h.extend=h.fn.extend=function(){var c,g,D,W,ee,re,le=arguments[0]||{},Ee=1,we=arguments.length,Re=!1;for(typeof le=="boolean"&&(Re=le,le=arguments[Ee]||{},Ee++),typeof le!="object"&&!E(le)&&(le={}),Ee===we&&(le=this,Ee--);Ee<we;Ee++)if((c=arguments[Ee])!=null)for(g in c)W=c[g],!(g==="__proto__"||le===W)&&(Re&&W&&(h.isPlainObject(W)||(ee=Array.isArray(W)))?(D=le[g],ee&&!Array.isArray(D)?re=[]:!ee&&!h.isPlainObject(D)?re={}:re=D,ee=!1,le[g]=h.extend(Re,re,W)):W!==void 0&&(le[g]=W));return le},h.extend({expando:"jQuery"+(L+Math.random()).replace(/\D/g,""),isReady:!0,error:function(c){throw new Error(c)},noop:function(){},isPlainObject:function(c){var g,D;return!c||S.call(c)!=="[object Object]"?!1:(g=i(c),g?(D=w.call(g,"constructor")&&g.constructor,typeof D=="function"&&x.call(D)===T):!0)},isEmptyObject:function(c){var g;for(g in c)return!1;return!0},globalEval:function(c,g,D){k(c,{nonce:g&&g.nonce},D)},each:function(c,g){var D,W=0;if(H(c))for(D=c.length;W<D&&g.call(c[W],W,c[W])!==!1;W++);else for(W in c)if(g.call(c[W],W,c[W])===!1)break;return c},text:function(c){var g,D="",W=0,ee=c.nodeType;if(!ee)for(;g=c[W++];)D+=h.text(g);return ee===1||ee===11?c.textContent:ee===9?c.documentElement.textContent:ee===3||ee===4?c.nodeValue:D},makeArray:function(c,g){var D=g||[];return c!=null&&(H(Object(c))?h.merge(D,typeof c=="string"?[c]:c):f.call(D,c)),D},inArray:function(c,g,D){return g==null?-1:u.call(g,c,D)},isXMLDoc:function(c){var g=c&&c.namespaceURI,D=c&&(c.ownerDocument||c).documentElement;return!C.test(g||D&&D.nodeName||"HTML")},merge:function(c,g){for(var D=+g.length,W=0,ee=c.length;W<D;W++)c[ee++]=g[W];return c.length=ee,c},grep:function(c,g,D){for(var W,ee=[],re=0,le=c.length,Ee=!D;re<le;re++)W=!g(c[re],re),W!==Ee&&ee.push(c[re]);return ee},map:function(c,g,D){var W,ee,re=0,le=[];
2if(H(c))for(W=c.length;re<W;re++)ee=g(c[re],re,D),ee!=null&&le.push(ee);else for(re in c)ee=g(c[re],re,D),ee!=null&&le.push(ee);return o(le)},guid:1,support:y}),typeof Symbol=="function"&&(h.fn[Symbol.iterator]=n[Symbol.iterator]),h.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(c,g){m["[object "+g+"]"]=g.toLowerCase()});function H(c){var g=!!c&&"length"in c&&c.length,D=B(c);return E(c)||A(c)?!1:D==="array"||g===0||typeof g=="number"&&g>0&&g-1 in c}function P(c,g){return c.nodeName&&c.nodeName.toLowerCase()===g.toLowerCase()}var N=n.pop,I=n.sort,F=n.splice,l="[\\x20\\t\\r\\n\\f]",d=new RegExp("^"+l+"+|((?:^|[^\\\\])(?:\\\\.)*)"+l+"+$","g");h.contains=function(c,g){var D=g&&g.parentNode;return c===D||!!(D&&D.nodeType===1&&(c.contains?c.contains(D):c.compareDocumentPosition&&c.compareDocumentPosition(D)&16))};var p=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function v(c,g){return g?c==="\0"?"�":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c}h.escapeSelector=function(c){return(c+"").replace(p,v)};var b=j,M=f;(function(){var c,g,D,W,ee,re=M,le,Ee,we,Re,Fe,He=h.expando,Ie=0,De=0,Je=vn(),Ye=vn(),Qe=vn(),xt=vn(),nt=function(Ae,Le){return Ae===Le&&(ee=!0),0},pt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Tt="(?:\\\\[\\da-fA-F]{1,6}"+l+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",tt="\\["+l+"*("+Tt+")(?:"+l+"*([*^$|!~]?=)"+l+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Tt+"))|)"+l+"*\\]",Rt=":("+Tt+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+tt+")*)|.*)\\)|)",at=new RegExp(l+"+","g"),wt=new RegExp("^"+l+"*,"+l+"*"),dt=new RegExp("^"+l+"*([>+~]|"+l+")"+l+"*"),Nt=new RegExp(l+"|>"),zt=new RegExp(Rt),ar=new RegExp("^"+Tt+"$"),ht={ID:new RegExp("^#("+Tt+")"),CLASS:new RegExp("^\\.("+Tt+")"),TAG:new RegExp("^("+Tt+"|[*])"),ATTR:new RegExp("^"+tt),PSEUDO:new RegExp("^"+Rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+l+"*(even|odd|(([+-]|)(\\d*)n|)"+l+"*(?:([+-]|)"+l+"*(\\d+)|))"+l+"*\\)|)","i"),bool:new RegExp("^(?:"+pt+")$","i"),needsContext:new RegExp("^"+l+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+l+"*((?:-\\d)?\\d*)"+l+"*\\)|)(?=[^-]|$)","i")},Ut=/^(?:input|select|textarea|button)$/i,Vt=/^h\d$/i,Yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,or=/[+~]/,gr=new RegExp("\\\\[\\da-fA-F]{1,6}"+l+"?|\\\\([^\\r\\n\\f])","g"),pr=function(Ae,Le){var Ge="0x"+Ae.slice(1)-65536;return Le||(Ge<0?String.fromCharCode(Ge+65536):String.fromCharCode(Ge>>10|55296,Ge&1023|56320))},Qs=function(){lr()},as=er(function(Ae){return Ae.disabled===!0&&P(Ae,"fieldset")},{dir:"parentNode",next:"legend"});function Sa(){try{return le.activeElement}catch{}}try{re.apply(n=a.call(b.childNodes),b.childNodes),n[b.childNodes.length].nodeType}catch{re={apply:function(Le,Ge){M.apply(Le,a.call(Ge))},call:function(Le){M.apply(Le,a.call(arguments,1))}}}function Dt(Ae,Le,Ge,We){var qe,rt,st,gt,ot,It,Ct,jt=Le&&Le.ownerDocument,Ot=Le?Le.nodeType:9;if(Ge=Ge||[],typeof Ae!="string"||!Ae||Ot!==1&&Ot!==9&&Ot!==11)return Ge;if(!We&&(lr(Le),Le=Le||le,we)){if(Ot!==11&&(ot=Yt.exec(Ae)))if(qe=ot[1]){if(Ot===9)if(st=Le.getElementById(qe)){if(st.id===qe)return re.call(Ge,st),Ge}else return Ge;else if(jt&&(st=jt.getElementById(qe))&&Dt.contains(Le,st)&&st.id===qe)return re.call(Ge,st),Ge}else{if(ot[2])return re.apply(Ge,Le.getElementsByTagName(Ae)),Ge;if((qe=ot[3])&&Le.getElementsByClassName)return re.apply(Ge,Le.getElementsByClassName(qe)),Ge}if(!xt[Ae+" "]&&(!Re||!Re.test(Ae))){if(Ct=Ae,jt=Le,Ot===1&&(Nt.test(Ae)||dt.test(Ae))){for(jt=or.test(Ae)&&cs(Le.parentNode)||Le,(jt!=Le||!y.scope)&&((gt=Le.getAttribute("id"))?gt=h.escapeSelector(gt):Le.setAttribute("id",gt=He)),It=Vi(Ae),rt=It.length;rt--;)It[rt]=(gt?"#"+gt:":scope")+" "+mi(It[rt]);Ct=It.join(",")}try{return re.apply(Ge,jt.querySelectorAll(Ct)),Ge}catch{xt(Ae,!0)}finally{gt===He&&Le.removeAttribute("id")}}}return N8(Ae.replace(d,"$1"),Le,Ge,We)}function vn(){var Ae=[];function Le(Ge,We){return Ae.push(Ge+" ")>g.cacheLength&&delete Le[Ae.shift()],Le[Ge+" "]=We}return Le}function _r(Ae){return Ae[He]=!0,Ae}function Jr(Ae){var Le=le.createElement("fieldset");try{return!!Ae(Le)}catch{return!1}finally{Le.parentNode&&Le.parentNode.removeChild(Le),Le=null}}function Sn(Ae){return function(Le){return P(Le,"input")&&Le.type===Ae}}function eo(Ae){return function(Le){return(P(Le,"input")||P(Le,"button"))&&Le.type===Ae}}function ls(Ae){return function(Le){return"form"in Le?Le.parentNode&&Le.disabled===!1?"label"in Le?"label"in Le.parentNode?Le.parentNode.disabled===Ae:Le.disabled===Ae:Le.isDisabled===Ae||Le.isDisabled!==!Ae&&as(Le)===Ae:Le.disabled===Ae:"label"in Le?Le.disabled===Ae:!1}}function fi(Ae){return _r(function(Le){return Le=+Le,_r(function(Ge,We){for(var qe,rt=Ae([],Ge.length,Le),st=rt.length;st--;)Ge[qe=rt[st]]&&(Ge[qe]=!(We[qe]=Ge[qe]))})})}function cs(Ae){return Ae&&typeof Ae.getElementsByTagName<"u"&&Ae}function lr(Ae){var Le,Ge=Ae?Ae.ownerDocument||Ae:b;return Ge==le||Ge.nodeType!==9||!Ge.documentElement||(le=Ge,Ee=le.documentElement,we=!h.isXMLDoc(le),Fe=Ee.matches||Ee.webkitMatchesSelector||Ee.msMatchesSelector,Ee.msMatchesSelector&&b!=le&&(Le=le.defaultView)&&Le.top!==Le&&Le.addEventListener("unload",Qs),y.getById=Jr(function(We){return Ee.appendChild(We).id=h.expando,!le.getElementsByName||!le.getElementsByName(h.expando).length}),y.disconnectedMatch=Jr(function(We){return Fe.call(We,"*")}),y.scope=Jr(function(){return le.querySelectorAll(":scope")}),y.cssHas=Jr(function(){try{return le.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),y.getById?(g.filter.ID=function(We){var qe=We.replace(gr,pr);return function(rt){return rt.getAttribute("id")===qe}},g.find.ID=function(We,qe){if(typeof qe.getElementById<"u"&&we){var rt=qe.getElementById(We);return rt?[rt]:[]}}):(g.filter.ID=function(We){var qe=We.replace(gr,pr);return function(rt){var st=typeof rt.getAttributeNode<"u"&&rt.getAttributeNode("id");return st&&st.value===qe}},g.find.ID=function(We,qe){if(typeof qe.getElementById<"u"&&we){var rt,st,gt,ot=qe.getElementById(We);if(ot){if(rt=ot.getAttributeNode("id"),rt&&rt.value===We)return[ot];for(gt=qe.getElementsByName(We),st=0;ot=gt[st++];)if(rt=ot.getAttributeNode("id"),rt&&rt.value===We)return[ot]}return[]}}),g.find.TAG=function(We,qe){return typeof qe.getElementsByTagName<"u"?qe.getElementsByTagName(We):qe.querySelectorAll(We)},g.find.CLASS=function(We,qe){if(typeof qe.getElementsByClassName<"u"&&we)return qe.getElementsByClassName(We)},Re=[],Jr(function(We){var qe;Ee.appendChild(We).innerHTML="<a id='"+He+"' href='' disabled='disabled'></a><select id='"+He+"-\r\\' disabled='disabled'><option selected=''></option></select>",We.querySelectorAll("[selected]").length||Re.push("\\["+l+"*(?:value|"+pt+")"),We.querySelectorAll("[id~="+He+"-]").length||Re.push("~="),We.querySelectorAll("a#"+He+"+*").length||Re.push(".#.+[+~]"),We.querySelectorAll(":checked").length||Re.push(":checked"),qe=le.createElement("input"),qe.setAttribute("type","hidden"),We.appendChild(qe).setAttribute("name","D"),Ee.appendChild(We).disabled=!0,We.querySelectorAll(":disabled").length!==2&&Re.push(":enabled",":disabled"),qe=le.createElement("input"),qe.setAttribute("name",""),We.appendChild(qe),We.querySelectorAll("[name='']").length||Re.push("\\["+l+"*name"+l+"*="+l+`*(?:''|"")`)}),y.cssHas||Re.push(":has"),Re=Re.length&&new RegExp(Re.join("|")),nt=function(We,qe){if(We===qe)return ee=!0,0;var rt=!We.compareDocumentPosition-!qe.compareDocumentPosition;return rt||(rt=(We.ownerDocument||We)==(qe.ownerDocument||qe)?We.compareDocumentPosition(qe):1,rt&1||!y.sortDetached&&qe.compareDocumentPosition(We)===rt?We===le||We.ownerDocument==b&&Dt.contains(b,We)?-1:qe===le||qe.ownerDocument==b&&Dt.contains(b,qe)?1:W?u.call(W,We)-u.call(W,qe):0:rt&4?-1:1)}),le}Dt.matches=function(Ae,Le){return Dt(Ae,null,null,Le)},Dt.matchesSelector=function(Ae,Le){if(lr(Ae),we&&!xt[Le+" "]&&(!Re||!Re.test(Le)))try{var Ge=Fe.call(Ae,Le);
vendor: 21,286 bytes, line 2
2if(Ge||y.disconnectedMatch||Ae.document&&Ae.document.nodeType!==11)return Ge}catch{xt(Le,!0)}return Dt(Le,le,null,[Ae]).length>0},Dt.contains=function(Ae,Le){return(Ae.ownerDocument||Ae)!=le&&lr(Ae),h.contains(Ae,Le)},Dt.attr=function(Ae,Le){(Ae.ownerDocument||Ae)!=le&&lr(Ae);var Ge=g.attrHandle[Le.toLowerCase()],We=Ge&&w.call(g.attrHandle,Le.toLowerCase())?Ge(Ae,Le,!we):void 0;return We!==void 0?We:Ae.getAttribute(Le)},Dt.error=function(Ae){throw new Error("Syntax error, unrecognized expression: "+Ae)},h.uniqueSort=function(Ae){var Le,Ge=[],We=0,qe=0;if(ee=!y.sortStable,W=!y.sortStable&&a.call(Ae,0),I.call(Ae,nt),ee){for(;Le=Ae[qe++];)Le===Ae[qe]&&(We=Ge.push(qe));for(;We--;)F.call(Ae,Ge[We],1)}return W=null,Ae},h.fn.uniqueSort=function(){return this.pushStack(h.uniqueSort(a.apply(this)))},g=h.expr={cacheLength:50,createPseudo:_r,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Ae){return Ae[1]=Ae[1].replace(gr,pr),Ae[3]=(Ae[3]||Ae[4]||Ae[5]||"").replace(gr,pr),Ae[2]==="~="&&(Ae[3]=" "+Ae[3]+" "),Ae.slice(0,4)},CHILD:function(Ae){return Ae[1]=Ae[1].toLowerCase(),Ae[1].slice(0,3)==="nth"?(Ae[3]||Dt.error(Ae[0]),Ae[4]=+(Ae[4]?Ae[5]+(Ae[6]||1):2*(Ae[3]==="even"||Ae[3]==="odd")),Ae[5]=+(Ae[7]+Ae[8]||Ae[3]==="odd")):Ae[3]&&Dt.error(Ae[0]),Ae},PSEUDO:function(Ae){var Le,Ge=!Ae[6]&&Ae[2];return ht.CHILD.test(Ae[0])?null:(Ae[3]?Ae[2]=Ae[4]||Ae[5]||"":Ge&&zt.test(Ge)&&(Le=Vi(Ge,!0))&&(Le=Ge.indexOf(")",Ge.length-Le)-Ge.length)&&(Ae[0]=Ae[0].slice(0,Le),Ae[2]=Ge.slice(0,Le)),Ae.slice(0,3))}},filter:{TAG:function(Ae){var Le=Ae.replace(gr,pr).toLowerCase();return Ae==="*"?function(){return!0}:function(Ge){return P(Ge,Le)}},CLASS:function(Ae){var Le=Je[Ae+" "];return Le||(Le=new RegExp("(^|"+l+")"+Ae+"("+l+"|$)"))&&Je(Ae,function(Ge){return Le.test(typeof Ge.className=="string"&&Ge.className||typeof Ge.getAttribute<"u"&&Ge.getAttribute("class")||"")})},ATTR:function(Ae,Le,Ge){return function(We){var qe=Dt.attr(We,Ae);return qe==null?Le==="!=":Le?(qe+="",Le==="="?qe===Ge:Le==="!="?qe!==Ge:Le==="^="?Ge&&qe.indexOf(Ge)===0:Le==="*="?Ge&&qe.indexOf(Ge)>-1:Le==="$="?Ge&&qe.slice(-Ge.length)===Ge:Le==="~="?(" "+qe.replace(at," ")+" ").indexOf(Ge)>-1:Le==="|="?qe===Ge||qe.slice(0,Ge.length+1)===Ge+"-":!1):!0}},CHILD:function(Ae,Le,Ge,We,qe){var rt=Ae.slice(0,3)!=="nth",st=Ae.slice(-4)!=="last",gt=Le==="of-type";return We===1&&qe===0?function(ot){return!!ot.parentNode}:function(ot,It,Ct){var jt,Ot,vt,Kt,Ir,Er=rt!==st?"nextSibling":"previousSibling",$r=ot.parentNode,ii=gt&&ot.nodeName.toLowerCase(),kn=!Ct&&!gt,jr=!1;if($r){if(rt){for(;Er;){for(vt=ot;vt=vt[Er];)if(gt?P(vt,ii):vt.nodeType===1)return!1;Ir=Er=Ae==="only"&&!Ir&&"nextSibling"}return!0}if(Ir=[st?$r.firstChild:$r.lastChild],st&&kn){for(Ot=$r[He]||($r[He]={}),jt=Ot[Ae]||[],Kt=jt[0]===Ie&&jt[1],jr=Kt&&jt[2],vt=Kt&&$r.childNodes[Kt];vt=++Kt&&vt&&vt[Er]||(jr=Kt=0)||Ir.pop();)if(vt.nodeType===1&&++jr&&vt===ot){Ot[Ae]=[Ie,Kt,jr];break}}else if(kn&&(Ot=ot[He]||(ot[He]={}),jt=Ot[Ae]||[],Kt=jt[0]===Ie&&jt[1],jr=Kt),jr===!1)for(;(vt=++Kt&&vt&&vt[Er]||(jr=Kt=0)||Ir.pop())&&!((gt?P(vt,ii):vt.nodeType===1)&&++jr&&(kn&&(Ot=vt[He]||(vt[He]={}),Ot[Ae]=[Ie,jr]),vt===ot)););return jr-=qe,jr===We||jr%We===0&&jr/We>=0}}},PSEUDO:function(Ae,Le){var Ge,We=g.pseudos[Ae]||g.setFilters[Ae.toLowerCase()]||Dt.error("unsupported pseudo: "+Ae);return We[He]?We(Le):We.length>1?(Ge=[Ae,Ae,"",Le],g.setFilters.hasOwnProperty(Ae.toLowerCase())?_r(function(qe,rt){for(var st,gt=We(qe,Le),ot=gt.length;ot--;)st=u.call(qe,gt[ot]),qe[st]=!(rt[st]=gt[ot])}):function(qe){return We(qe,0,Ge)}):We}},pseudos:{not:_r(function(Ae){var Le=[],Ge=[],We=Ea(Ae.replace(d,"$1"));return We[He]?_r(function(qe,rt,st,gt){for(var ot,It=We(qe,null,gt,[]),Ct=qe.length;Ct--;)(ot=It[Ct])&&(qe[Ct]=!(rt[Ct]=ot))}):function(qe,rt,st){return Le[0]=qe,We(Le,null,st,Ge),Le[0]=null,!Ge.pop()}}),has:_r(function(Ae){return function(Le){return Dt(Ae,Le).length>0}}),contains:_r(function(Ae){return Ae=Ae.replace(gr,pr),function(Le){return(Le.textContent||h.text(Le)).indexOf(Ae)>-1}}),lang:_r(function(Ae){return ar.test(Ae||"")||Dt.error("unsupported lang: "+Ae),Ae=Ae.replace(gr,pr).toLowerCase(),function(Le){var Ge;do if(Ge=we?Le.lang:Le.getAttribute("xml:lang")||Le.getAttribute("lang"))return Ge=Ge.toLowerCase(),Ge===Ae||Ge.indexOf(Ae+"-")===0;while((Le=Le.parentNode)&&Le.nodeType===1);return!1}}),target:function(Ae){var Le=e.location&&e.location.hash;return Le&&Le.slice(1)===Ae.id},root:function(Ae){return Ae===Ee},focus:function(Ae){return Ae===Sa()&&le.hasFocus()&&!!(Ae.type||Ae.href||~Ae.tabIndex)},enabled:ls(!1),disabled:ls(!0),checked:function(Ae){return P(Ae,"input")&&!!Ae.checked||P(Ae,"option")&&!!Ae.selected},selected:function(Ae){return Ae.parentNode&&Ae.parentNode.selectedIndex,Ae.selected===!0},empty:function(Ae){for(Ae=Ae.firstChild;Ae;Ae=Ae.nextSibling)if(Ae.nodeType<6)return!1;return!0},parent:function(Ae){return!g.pseudos.empty(Ae)},header:function(Ae){return Vt.test(Ae.nodeName)},input:function(Ae){return Ut.test(Ae.nodeName)},button:function(Ae){return P(Ae,"input")&&Ae.type==="button"||P(Ae,"button")},text:function(Ae){var Le;return P(Ae,"input")&&Ae.type==="text"&&((Le=Ae.getAttribute("type"))==null||Le.toLowerCase()==="text")},first:fi(function(){return[0]}),last:fi(function(Ae,Le){return[Le-1]}),eq:fi(function(Ae,Le,Ge){return[Ge<0?Ge+Le:Ge]}),even:fi(function(Ae,Le){for(var Ge=0;Ge<Le;Ge+=2)Ae.push(Ge);return Ae}),odd:fi(function(Ae,Le){for(var Ge=1;Ge<Le;Ge+=2)Ae.push(Ge);return Ae}),lt:fi(function(Ae,Le,Ge){var We;for(Ge<0?We=Ge+Le:Ge>Le?We=Le:We=Ge;--We>=0;)Ae.push(We);return Ae}),gt:fi(function(Ae,Le,Ge){for(var We=Ge<0?Ge+Le:Ge;++We<Le;)Ae.push(We);return Ae})}},g.pseudos.nth=g.pseudos.eq;for(c in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})g.pseudos[c]=Sn(c);for(c in{submit:!0,reset:!0})g.pseudos[c]=eo(c);function wn(){}wn.prototype=g.filters=g.pseudos,g.setFilters=new wn;function Vi(Ae,Le){var Ge,We,qe,rt,st,gt,ot,It=Ye[Ae+" "];if(It)return Le?0:It.slice(0);for(st=Ae,gt=[],ot=g.preFilter;st;){(!Ge||(We=wt.exec(st)))&&(We&&(st=st.slice(We[0].length)||st),gt.push(qe=[])),Ge=!1,(We=dt.exec(st))&&(Ge=We.shift(),qe.push({value:Ge,type:We[0].replace(d," ")}),st=st.slice(Ge.length));for(rt in g.filter)(We=ht[rt].exec(st))&&(!ot[rt]||(We=ot[rt](We)))&&(Ge=We.shift(),qe.push({value:Ge,type:rt,matches:We}),st=st.slice(Ge.length));if(!Ge)break}return Le?st.length:st?Dt.error(Ae):Ye(Ae,gt).slice(0)}function mi(Ae){for(var Le=0,Ge=Ae.length,We="";Le<Ge;Le++)We+=Ae[Le].value;return We}function er(Ae,Le,Ge){var We=Le.dir,qe=Le.next,rt=qe||We,st=Ge&&rt==="parentNode",gt=De++;return Le.first?function(ot,It,Ct){for(;ot=ot[We];)if(ot.nodeType===1||st)return Ae(ot,It,Ct);return!1}:function(ot,It,Ct){var jt,Ot,vt=[Ie,gt];if(Ct){for(;ot=ot[We];)if((ot.nodeType===1||st)&&Ae(ot,It,Ct))return!0}else for(;ot=ot[We];)if(ot.nodeType===1||st)if(Ot=ot[He]||(ot[He]={}),qe&&P(ot,qe))ot=ot[We]||ot;else{if((jt=Ot[rt])&&jt[0]===Ie&&jt[1]===gt)return vt[2]=jt[2];if(Ot[rt]=vt,vt[2]=Ae(ot,It,Ct))return!0}return!1}}function En(Ae){return Ae.length>1?function(Le,Ge,We){for(var qe=Ae.length;qe--;)if(!Ae[qe](Le,Ge,We))return!1;return!0}:Ae[0]}function wa(Ae,Le,Ge){for(var We=0,qe=Le.length;We<qe;We++)Dt(Ae,Le[We],Ge);return Ge}function Cn(Ae,Le,Ge,We,qe){for(var rt,st=[],gt=0,ot=Ae.length,It=Le!=null;gt<ot;gt++)(rt=Ae[gt])&&(!Ge||Ge(rt,We,qe))&&(st.push(rt),It&&Le.push(gt));return st}function Ii(Ae,Le,Ge,We,qe,rt){return We&&!We[He]&&(We=Ii(We)),qe&&!qe[He]&&(qe=Ii(qe,rt)),_r(function(st,gt,ot,It){var Ct,jt,Ot,vt,Kt=[],Ir=[],Er=gt.length,$r=st||wa(Le||"*",ot.nodeType?[ot]:ot,[]),ii=Ae&&(st||!Le)?Cn($r,Kt,Ae,ot,It):$r;if(Ge?(vt=qe||(st?Ae:Er||We)?[]:gt,Ge(ii,vt,ot,It)):vt=ii,We)for(Ct=Cn(vt,Ir),We(Ct,[],ot,It),jt=Ct.length;jt--;)(Ot=Ct[jt])&&(vt[Ir[jt]]=!(ii[Ir[jt]]=Ot));if(st){if(qe||Ae){if(qe){for(Ct=[],jt=vt.length;jt--;)(Ot=vt[jt])&&Ct.push(ii[jt]=Ot);qe(null,vt=[],Ct,It)}for(jt=vt.length;jt--;)(Ot=vt[jt])&&(Ct=qe?u.call(st,Ot):Kt[jt])>-1&&(st[Ct]=!(gt[Ct]=Ot))}}else vt=Cn(vt===gt?vt.splice(Er,vt.length):vt),qe?qe(null,gt,vt,It):re.apply(gt,vt)})}function Yi(Ae){for(var Le,Ge,We,qe=Ae.length,rt=g.relative[Ae[0].type],st=rt||g.relative[" "],gt=rt?1:0,ot=er(function(jt){return jt===Le},st,!0),It=er(function(jt){return u.call(Le,jt)>-1},st,!0),Ct=[function(jt,Ot,vt){var Kt=!rt&&(vt||Ot!=D)||((Le=Ot).nodeType?ot(jt,Ot,vt):It(jt,Ot,vt));return Le=null,Kt}];gt<qe;gt++)if(Ge=g.relative[Ae[gt].type])Ct=[er(En(Ct),Ge)];else{if(Ge=g.filter[Ae[gt].type].apply(null,Ae[gt].matches),Ge[He]){for(We=++gt;We<qe&&!g.relative[Ae[We].type];We++);return Ii(gt>1&&En(Ct),gt>1&&mi(Ae.slice(0,gt-1).concat({value:Ae[gt-2].type===" "?"*":""})).replace(d,"$1"),Ge,gt<We&&Yi(Ae.slice(gt,We)),We<qe&&Yi(Ae=Ae.slice(We)),We<qe&&mi(Ae))}Ct.push(Ge)}return En(Ct)}function to(Ae,Le){var Ge=Le.length>0,We=Ae.length>0,qe=function(rt,st,gt,ot,It){var Ct,jt,Ot,vt=0,Kt="0",Ir=rt&&[],Er=[],$r=D,ii=rt||We&&g.find.TAG("*",It),kn=Ie+=$r==null?1:Math.random()||.1,jr=ii.length;for(It&&(D=st==le||st||It);Kt!==jr&&(Ct=ii[Kt])!=null;Kt++){if(We&&Ct){for(jt=0,!st&&Ct.ownerDocument!=le&&(lr(Ct),gt=!we);Ot=Ae[jt++];)if(Ot(Ct,st||le,gt)){re.call(ot,Ct);break}It&&(Ie=kn)}Ge&&((Ct=!Ot&&Ct)&&vt--,rt&&Ir.push(Ct))}if(vt+=Kt,Ge&&Kt!==vt){for(jt=0;Ot=Le[jt++];)Ot(Ir,Er,st,gt);if(rt){if(vt>0)for(;Kt--;)Ir[Kt]||Er[Kt]||(Er[Kt]=N.call(ot));Er=Cn(Er)}re.apply(ot,Er),It&&!rt&&Er.length>0&&vt+Le.length>1&&h.uniqueSort(ot)}return It&&(Ie=kn,D=$r),Ir};return Ge?_r(qe):qe}function Ea(Ae,Le){var Ge,We=[],qe=[],rt=Qe[Ae+" "];if(!rt){for(Le||(Le=Vi(Ae)),Ge=Le.length;Ge--;)rt=Yi(Le[Ge]),rt[He]?We.push(rt):qe.push(rt);rt=Qe(Ae,to(qe,We)),rt.selector=Ae}return rt}function N8(Ae,Le,Ge,We){var qe,rt,st,gt,ot,It=typeof Ae=="function"&&Ae,Ct=!We&&Vi(Ae=It.selector||Ae);if(Ge=Ge||[],Ct.length===1){if(rt=Ct[0]=Ct[0].slice(0),rt.length>2&&(st=rt[0]).type==="ID"&&Le.nodeType===9&&we&&g.relative[rt[1].type]){if(Le=(g.find.ID(st.matches[0].replace(gr,pr),Le)||[])[0],Le)It&&(Le=Le.parentNode);else return Ge;Ae=Ae.slice(rt.shift().value.length)}for(qe=ht.needsContext.test(Ae)?0:rt.length;qe--&&(st=rt[qe],!g.relative[gt=st.type]);)if((ot=g.find[gt])&&(We=ot(st.matches[0].replace(gr,pr),or.test(rt[0].type)&&cs(Le.parentNode)||Le))){if(rt.splice(qe,1),Ae=We.length&&mi(rt),!Ae)return re.apply(Ge,We),Ge;break}}return(It||Ea(Ae,Ct))(We,Le,!we,Ge,!Le||or.test(Ae)&&cs(Le.parentNode)||Le),Ge}y.sortStable=He.split("").sort(nt).join("")===He,lr(),y.sortDetached=Jr(function(Ae){return Ae.compareDocumentPosition(le.createElement("fieldset"))&1}),h.find=Dt,h.expr[":"]=h.expr.pseudos,h.unique=h.uniqueSort,Dt.compile=Ea,Dt.select=N8,Dt.setDocument=lr,Dt.tokenize=Vi,Dt.escape=h.escapeSelector,Dt.getText=h.text,Dt.isXML=h.isXMLDoc,Dt.selectors=h.expr,Dt.support=h.support,Dt.uniqueSort=h.uniqueSort})();var O=function(c,g,D){for(var W=[],ee=D!==void 0;(c=c[g])&&c.nodeType!==9;)if(c.nodeType===1){if(ee&&h(c).is(D))break;W.push(c)}return W},_=function(c,g){for(var D=[];c;c=c.nextSibling)c.nodeType===1&&c!==g&&D.push(c);return D},U=h.expr.match.needsContext,q=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function z(c,g,D){return E(g)?h.grep(c,function(W,ee){return!!g.call(W,ee,W)!==D}):g.nodeType?h.grep(c,function(W){return W===g!==D}):typeof g!="string"?h.grep(c,function(W){return u.call(g,W)>-1!==D}):h.filter(g,c,D)}h.filter=function(c,g,D){var W=g[0];return D&&(c=":not("+c+")"),g.length===1&&W.nodeType===1?h.find.matchesSelector(W,c)?[W]:[]:h.find.matches(c,h.grep(g,function(ee){return ee.nodeType===1}))},h.fn.extend({find:function(c){var g,D,W=this.length,ee=this;if(typeof c!="string")return this.pushStack(h(c).filter(function(){for(g=0;g<W;g++)if(h.contains(ee[g],this))return!0}));for(D=this.pushStack([]),g=0;g<W;g++)h.find(c,ee[g],D);return W>1?h.uniqueSort(D):D},filter:function(c){return this.pushStack(z(this,c||[],!1))},not:function(c){return this.pushStack(z(this,c||[],!0))},is:function(c){return!!z(this,typeof c=="string"&&U.test(c)?h(c):c||[],!1).length}});var J,te=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ce=h.fn.init=function(c,g,D){var W,ee;if(!c)return this;if(D=D||J,typeof c=="string")if(c[0]==="<"&&c[c.length-1]===">"&&c.length>=3?W=[null,c,null]:W=te.exec(c),W&&(W[1]||!g))if(W[1]){if(g=g instanceof h?g[0]:g,h.merge(this,h.parseHTML(W[1],g&&g.nodeType?g.ownerDocument||g:j,!0)),q.test(W[1])&&h.isPlainObject(g))for(W in g)E(this[W])?this[W](g[W]):this.attr(W,g[W]);return this}else return ee=j.getElementById(W[2]),ee&&(this[0]=ee,this.length=1),this;else return!g||g.jquery?(g||D).find(c):this.constructor(g).find(c);else{if(c.nodeType)return this[0]=c,this.length=1,this;if(E(c))return D.ready!==void 0?D.ready(c):c(h)}return h.makeArray(c,this)};ce.prototype=h.fn,J=h(j);var xe=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(c){var g=h(c,this),D=g.length;return this.filter(function(){for(var W=0;W<D;W++)if(h.contains(this,g[W]))return!0})},closest:function(c,g){var D,W=0,ee=this.length,re=[],le=typeof c!="string"&&h(c);if(!U.test(c)){for(;W<ee;W++)for(D=this[W];D&&D!==g;D=D.parentNode)if(D.nodeType<11&&(le?le.index(D)>-1:D.nodeType===1&&h.find.matchesSelector(D,c))){re.push(D);break}}return this.pushStack(re.length>1?h.uniqueSort(re):re)},index:function(c){return c?typeof c=="string"?u.call(h(c),this[0]):u.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,g){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(c,g))))},addBack:function(c){return this.add(c==null?this.prevObject:this.prevObject.filter(c))}});function Y(c,g){for(;(c=c[g])&&c.nodeType!==1;);return c}h.each({parent:function(c){var g=c.parentNode;return g&&g.nodeType!==11?g:null},parents:function(c){return O(c,"parentNode")},parentsUntil:function(c,g,D){return O(c,"parentNode",D)},next:function(c){return Y(c,"nextSibling")},prev:function(c){return Y(c,"previousSibling")},nextAll:function(c){return O(c,"nextSibling")},prevAll:function(c){return O(c,"previousSibling")},nextUntil:function(c,g,D){return O(c,"nextSibling",D)},prevUntil:function(c,g,D){return O(c,"previousSibling",D)},siblings:function(c){return _((c.parentNode||{}).firstChild,c)},children:function(c){return _(c.firstChild)},contents:function(c){return c.contentDocument!=null&&i(c.contentDocument)?c.contentDocument:(P(c,"template")&&(c=c.content||c),h.merge([],c.childNodes))}},function(c,g){h.fn[c]=function(D,W){var ee=h.map(this,g,D);return c.slice(-5)!=="Until"&&(W=D),W&&typeof W=="string"&&(ee=h.filter(W,ee)),this.length>1&&(V[c]||h.uniqueSort(ee),xe.test(c)&&ee.reverse()),this.pushStack(ee)}});var X=/[^\x20\t\r\n\f]+/g;function ae(c){var g={};return h.each(c.match(X)||[],function(D,W){g[W]=!0}),g}h.Callbacks=function(c){c=typeof c=="string"?ae(c):h.extend({},c);var g,D,W,ee,re=[],le=[],Ee=-1,we=function(){for(ee=ee||c.once,W=g=!0;le.length;Ee=-1)for(D=le.shift();++Ee<re.length;)re[Ee].apply(D[0],D[1])===!1&&c.stopOnFalse&&(Ee=re.length,D=!1);c.memory||(D=!1),g=!1,ee&&(D?re=[]:re="")},Re={add:function(){return re&&(D&&!g&&(Ee=re.length-1,le.push(D)),(function Fe(He){h.each(He,function(Ie,De){E(De)?(!c.unique||!Re.has(De))&&re.push(De):De&&De.length&&B(De)!=="string"&&Fe(De)})})(arguments),D&&!g&&we()),this},remove:function(){return h.each(arguments,function(Fe,He){for(var Ie;(Ie=h.inArray(He,re,Ie))>-1;)re.splice(Ie,1),Ie<=Ee&&Ee--}),this},has:function(Fe){return Fe?h.inArray(Fe,re)>-1:re.length>0},empty:function(){return re&&(re=[]),this},disable:function(){return ee=le=[],re=D="",this},disabled:function(){return!re},lock:function(){return ee=le=[],!D&&!g&&(re=D=""),this},locked:function(){return!!ee},fireWith:function(Fe,He){return ee||(He=He||[],He=[Fe,He.slice?He.slice():He],le.push(He),g||we()),this},fire:function(){return Re.fireWith(this,arguments),this},fired:function(){return!!W}};return Re};function $(c){return c}function K(c){throw c}function Z(c,g,D,W){var ee;try{c&&E(ee=c.promise)?ee.call(c).done(g).fail(D):c&&E(ee=c.then)?ee.call(c,g,D):g.apply(void 0,[c].slice(W))}catch(re){D.apply(void 0,[re])}}h.extend({Deferred:function(c){var g=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],D="pending",W={state:function(){return D},always:function(){return ee.done(arguments).fail(arguments),this},catch:function(re){return W.then(null,re)},pipe:function(){var re=arguments;return h.Deferred(function(le){h.each(g,function(Ee,we){var Re=E(re[we[4]])&&re[we[4]];ee[we[1]](function(){var Fe=Re&&Re.apply(this,arguments);Fe&&E(Fe.promise)?Fe.promise().progress(le.notify).done(le.resolve).fail(le.reject):le[we[0]+"With"](this,Re?[Fe]:arguments)})}),re=null}).promise()},then:function(re,le,Ee){var we=0;function Re(Fe,He,Ie,De){return function(){var Je=this,Ye=arguments,Qe=function(){var nt,pt;if(!(Fe<we)){if(nt=Ie.apply(Je,Ye),nt===He.promise())throw new TypeError("Thenable self-resolution");pt=nt&&(typeof nt=="object"||typeof nt=="function")&&nt.then,E(pt)?De?pt.call(nt,Re(we,He,$,De),Re(we,He,K,De)):(we++,pt.call(nt,Re(we,He,$,De),Re(we,He,K,De),Re(we,He,$,He.notifyWith))):(Ie!==$&&(Je=void 0,Ye=[nt]),(De||He.resolveWith)(Je,Ye))}},xt=De?Qe:function(){try{Qe()}catch(nt){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(nt,xt.error),Fe+1>=we&&(Ie!==K&&(Je=void 0,Ye=[nt]),He.rejectWith(Je,Ye))}};Fe?xt():(h.Deferred.getErrorHook?xt.error=h.Deferred.getErrorHook():h.Deferred.getStackHook&&(xt.error=h.Deferred.getStackHook()),e.setTimeout(xt))}}return h.Deferred(function(Fe){g[0][3].add(Re(0,Fe,E(Ee)?Ee:$,Fe.notifyWith)),g[1][3].add(Re(0,Fe,E(re)?re:$)),g[2][3].add(Re(0,Fe,E(le)?le:K))}).promise()},promise:function(re){return re!=null?h.extend(re,W):W}},ee={};return h.each(g,function(re,le){var Ee=le[2],we=le[5];W[le[1]]=Ee.add,we&&Ee.add(function(){D=we},g[3-re][2].disable,g[3-re][3].disable,g[0][2].lock,g[0][3].lock),Ee.add(le[3].fire),ee[le[0]]=function(){return ee[le[0]+"With"](this===ee?void 0:this,arguments),this},ee[le[0]+"With"]=Ee.fireWith}),W.promise(ee),c&&c.call(ee,ee),ee},when:function(c){var g=arguments.length,D=g,W=Array(D),ee=a.call(arguments),re=h.Deferred(),le=function(Ee){return function(we){W[Ee]=this,ee[Ee]=arguments.length>1?a.call(arguments):we,--g||re.resolveWith(W,ee)}};if(g<=1&&(Z(c,re.done(le(D)).resolve,re.reject,!g),re.state()==="pending"||E(ee[D]&&ee[D].then)))return re.then();for(;D--;)Z(ee[D],le(D),re.reject);return re.promise()}});var se=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(c,g){e.console&&e.console.warn&&c&&se.test(c.name)&&e.console.warn("jQuery.Deferred exception: "+c.message,c.stack,g)},h.readyException=function(c){e.setTimeout(function(){throw c})};var ie=h.Deferred();h.fn.ready=function(c){return ie.then(c).catch(function(g){h.readyException(g)}),this},h.extend({isReady:!1,readyWait:1,ready:function(c){(c===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(c!==!0&&--h.readyWait>0)&&ie.resolveWith(j,[h]))}}),h.ready.then=ie.then;function ne(){j.removeEventListener("DOMContentLoaded",ne),e.removeEventListener("load",ne),h.ready()}j.readyState==="complete"||j.readyState!=="loading"&&!j.documentElement.doScroll?e.setTimeout(h.ready):(j.addEventListener("DOMContentLoaded",ne),e.addEventListener("load",ne));var oe=function(c,g,D,W,ee,re,le){var Ee=0,we=c.length,Re=D==null;if(B(D)==="object"){ee=!0;for(Ee in D)oe(c,g,Ee,D[Ee],!0,re,le)}else if(W!==void 0&&(ee=!0,E(W)||(le=!0),Re&&(le?(g.call(c,W),g=null):(Re=g,g=function(Fe,He,Ie){return Re.call(h(Fe),Ie)})),g))for(;Ee<we;Ee++)g(c[Ee],D,le?W:W.call(c[Ee],Ee,g(c[Ee],D)));return ee?c:Re?g.call(c):we?g(c[0],D):re},ue=/^-ms-/,ye=/-([a-z])/g;function be(c,g){return g.toUpperCase()}function Te(c){return c.replace(ue,"ms-").replace(ye,be)}var fe=function(c){return c.nodeType===1||c.nodeType===9||!+c.nodeType};function de(){this.expando=h.expando+de.uid++}de.uid=1,de.prototype={cache:function(c){var g=c[this.expando];return g||(g={},fe(c)&&(c.nodeType?c[this.expando]=g:Object.defineProperty(c,this.expando,{value:g,configurable:!0}))),g},set:function(c,g,D){var W,ee=this.cache(c);if(typeof g=="string")ee[Te(g)]=D;else for(W in g)ee[Te(W)]=g[W];return ee},get:function(c,g){return g===void 0?this.cache(c):c[this.expando]&&c[this.expando][Te(g)]},access:function(c,g,D){return g===void 0||g&&typeof g=="string"&&D===void 0?this.get(c,g):(this.set(c,g,D),D!==void 0?D:g)},remove:function(c,g){var D,W=c[this.expando];if(W!==void 0){if(g!==void 0)for(Array.isArray(g)?g=g.map(Te):(g=Te(g),g=g in W?[g]:g.match(X)||[]),D=g.length;D--;)delete W[g[D]];(g===void 0||h.isEmptyObject(W))&&(c.nodeType?c[this.expando]=void 0:delete c[this.expando])}},hasData:function(c){var g=c[this.expando];return g!==void 0&&!h.isEmptyObject(g)}};var he=new de,me=new de,ke=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ce=/[A-Z]/g;function Me(c){return c==="true"?!0:c==="false"?!1:c==="null"?null:c===+c+""?+c:ke.test(c)?JSON.parse(c):c}function Pe(c,g,D){var W;if(D===void 0&&c.nodeType===1)if(W="data-"+g.replace(Ce,"-$&").toLowerCase(),D=c.getAttribute(W),typeof D=="str
2ing"){try{D=Me(D)}catch{}me.set(c,g,D)}else D=void 0;return D}h.extend({hasData:function(c){return me.hasData(c)||he.hasData(c)},data:function(c,g,D){return me.access(c,g,D)},removeData:function(c,g){me.remove(c,g)},_data:function(c,g,D){return he.access(c,g,D)},_removeData:function(c,g){he.remove(c,g)}}),h.fn.extend({data:function(c,g){var D,W,ee,re=this[0],le=re&&re.attributes;if(c===void 0){if(this.length&&(ee=me.get(re),re.nodeType===1&&!he.get(re,"hasDataAttrs"))){for(D=le.length;D--;)le[D]&&(W=le[D].name,W.indexOf("data-")===0&&(W=Te(W.slice(5)),Pe(re,W,ee[W])));he.set(re,"hasDataAttrs",!0)}return ee}return typeof c=="object"?this.each(function(){me.set(this,c)}):oe(this,function(Ee){var we;if(re&&Ee===void 0)return we=me.get(re,c),we!==void 0||(we=Pe(re,c),we!==void 0)?we:void 0;this.each(function(){me.set(this,c,Ee)})},null,g,arguments.length>1,null,!0)},removeData:function(c){return this.each(function(){me.remove(this,c)})}}),h.extend({queue:function(c,g,D){var W;if(c)return g=(g||"fx")+"queue",W=he.get(c,g),D&&(!W||Array.isArray(D)?W=he.access(c,g,h.makeArray(D)):W.push(D)),W||[]},dequeue:function(c,g){g=g||"fx";var D=h.queue(c,g),W=D.length,ee=D.shift(),re=h._queueHooks(c,g),le=function(){h.dequeue(c,g)};ee==="inprogress"&&(ee=D.shift(),W--),ee&&(g==="fx"&&D.unshift("inprogress"),delete re.stop,ee.call(c,le,re)),!W&&re&&re.empty.fire()},_queueHooks:function(c,g){var D=g+"queueHooks";return he.get(c,D)||he.access(c,D,{empty:h.Callbacks("once memory").add(function(){he.remove(c,[g+"queue",D])})})}}),h.fn.extend({queue:function(c,g){var D=2;return typeof c!="string"&&(g=c,c="fx",D--),arguments.length<D?h.queue(this[0],c):g===void 0?this:this.each(function(){var W=h.queue(this,c,g);h._queueHooks(this,c),c==="fx"&&W[0]!=="inprogress"&&h.dequeue(this,c)})},dequeue:function(c){return this.each(function(){h.dequeue(this,c)})},clearQueue:function(c){return this.queue(c||"fx",[])},promise:function(c,g){var D,W=1,ee=h.Deferred(),re=this,le=this.length,Ee=function(){--W||ee.resolveWith(re,[re])};for(typeof c!="string"&&(g=c,c=void 0),c=c||"fx";le--;)D=he.get(re[le],c+"queueHooks"),D&&D.empty&&(W++,D.empty.add(Ee));return Ee(),ee.promise(g)}});var Oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Be=new RegExp("^(?:([+-])=|)("+Oe+")([a-z%]*)$","i"),Ue=["Top","Right","Bottom","Left"],ze=j.documentElement,$e=function(c){return h.contains(c.ownerDocument,c)},Ze={composed:!0};ze.getRootNode&&($e=function(c){return h.contains(c.ownerDocument,c)||c.getRootNode(Ze)===c.ownerDocument});var Xe=function(c,g){return c=g||c,c.style.display==="none"||c.style.display===""&&$e(c)&&h.css(c,"display")==="none"};function Ve(c,g,D,W){var ee,re,le=20,Ee=W?function(){return W.cur()}:function(){return h.css(c,g,"")},we=Ee(),Re=D&&D[3]||(h.cssNumber[g]?"":"px"),Fe=c.nodeType&&(h.cssNumber[g]||Re!=="px"&&+we)&&Be.exec(h.css(c,g));if(Fe&&Fe[3]!==Re){for(we=we/2,Re=Re||Fe[3],Fe=+we||1;le--;)h.style(c,g,Fe+Re),(1-re)*(1-(re=Ee()/we||.5))<=0&&(le=0),Fe=Fe/re;Fe=Fe*2,h.style(c,g,Fe+Re),D=D||[]}return D&&(Fe=+Fe||+we||0,ee=D[1]?Fe+(D[1]+1)*D[2]:+D[2],W&&(W.unit=Re,W.start=Fe,W.end=ee)),ee}var ut={};function Et(c){var g,D=c.ownerDocument,W=c.nodeName,ee=ut[W];return ee||(g=D.body.appendChild(D.createElement(W)),ee=h.css(g,"display"),g.parentNode.removeChild(g),ee==="none"&&(ee="block"),ut[W]=ee,ee)}function Mt(c,g){for(var D,W,ee=[],re=0,le=c.length;re<le;re++)W=c[re],W.style&&(D=W.style.display,g?(D==="none"&&(ee[re]=he.get(W,"display")||null,ee[re]||(W.style.display="")),W.style.display===""&&Xe(W)&&(ee[re]=Et(W))):D!=="none"&&(ee[re]="none",he.set(W,"display",D)));for(re=0;re<le;re++)ee[re]!=null&&(c[re].style.display=ee[re]);return c}h.fn.extend({show:function(){return Mt(this,!0)},hide:function(){return Mt(this)},toggle:function(c){return typeof c=="boolean"?c?this.show():this.hide():this.each(function(){Xe(this)?h(this).show():h(this).hide()})}});var Pt=/^(?:checkbox|radio)$/i,qt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Wt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var c=j.createDocumentFragment(),g=c.appendChild(j.createElement("div")),D=j.createElement("input");D.setAttribute("type","radio"),D.setAttribute("checked","checked"),D.setAttribute("name","t"),g.appendChild(D),y.checkClone
vendor: 1,869 bytes, line 2
2=g.cloneNode(!0).cloneNode(!0).lastChild.checked,g.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!g.cloneNode(!0).lastChild.defaultValue,g.innerHTML="<option></option>",y.option=!!g.lastChild})();var At={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,"",""]};At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,y.option||(At.optgroup=At.option=[1,"<select multiple='multiple'>","</select>"]);function kt(c,g){var D;return typeof c.getElementsByTagName<"u"?D=c.getElementsByTagName(g||"*"):typeof c.querySelectorAll<"u"?D=c.querySelectorAll(g||"*"):D=[],g===void 0||g&&P(c,g)?h.merge([c],D):D}function Gt(c,g){for(var D=0,W=c.length;D<W;D++)he.set(c[D],"globalEval",!g||he.get(g[D],"globalEval"))}var ft=/<|&#?\w+;/;function yt(c,g,D,W,ee){for(var re,le,Ee,we,Re,Fe,He=g.createDocumentFragment(),Ie=[],De=0,Je=c.length;De<Je;De++)if(re=c[De],re||re===0)if(B(re)==="object")h.merge(Ie,re.nodeType?[re]:re);else if(!ft.test(re))Ie.push(g.createTextNode(re));else{for(le=le||He.appendChild(g.createElement("div")),Ee=(qt.exec(re)||["",""])[1].toLowerCase(),we=At[Ee]||At._default,le.innerHTML=we[1]+h.htmlPrefilter(re)+we[2],Fe=we[0];Fe--;)le=le.lastChild;h.merge(Ie,le.childNodes),le=He.firstChild,le.textContent=""}for(He.textContent="",De=0;re=Ie[De++];){if(W&&h.inArray(re,W)>-1){ee&&ee.push(re);continue}if(Re=$e(re),le=kt(He.appendChild(re),"script"),Re&&Gt(le),D)for(Fe=0;re=le[Fe++];)Wt.test(re.type||"")&&D.push(re)}return He}var $t=/^([^.]*)(?:\.(.+)|)/;function Xt(){return!0}function et(){return!1}function mt(c,g,D,W,ee,re){var le,Ee;if(typeof g=="object"){typeof D!="string"&&(W=W||D,D=void 0);for(Ee in g)mt(c,Ee,D,W,g[Ee],re);return c}if(W==null&&ee==null?(ee=D,W=D=void 0):ee==null&&(typeof D=="str
2ing"?(ee=W,W=void 0):(ee=W,W=D,D=void 0)),ee===!1)ee=et;else if(!ee)return c;return re===1&&(le=ee,ee=function(we){return h().off(we),le.apply(this,arguments)},ee.guid=le.guid||(le.guid=h.guid++)),c.each(function(){h.event.add(this,g,ee,W,D)})}h.event={global:{},add:function(c,g,D,W,ee){var re,le,Ee,we,Re,Fe,He,Ie,De,Je,Ye,Qe=he.get(c);if(fe(c))for(D.handler&&(re=D,D=re.handler,ee=re.selector),ee&&h.find.matchesSelector(ze,ee),D.guid||(D.guid=h.guid++),(we=Qe.events)||(we=Qe.events=Object.create(null)),(le=Qe.handle)||(le=Qe.handle=function(xt){return typeof h<"u"&&h.event.triggered!==xt.type?h.event.dispatch.apply(c,arguments):void 0}),g=(g||"").match(X)||[""],Re=g.length;Re--;)Ee=$t.exec(g[Re])||[],De=Ye=Ee[1],Je=(Ee[2]||"").split(".").sort(),De&&(He=h.event.special[De]||{},De=(ee?He.delegateType:He.bindType)||De,He=h.event.special[De]||{},Fe=h.extend({type:De,origType:Ye,data:W,handler:D,guid:D.guid,selector:ee,needsContext:ee&&h.expr.match.needsContext.test(ee),namespace:Je.join(".")},re),(Ie=we[De])||(Ie=we[De]=[],Ie.delegateCount=0,(!He.setup||He.setup.call(c,W,Je,le)===!1)&&c.addEventListener&&c.addEventListener(De,le)),He.add&&(He.add.call(c,Fe),Fe.handler.guid||(Fe.handler.guid=D.guid)),ee?Ie.splice(Ie.delegateCount++,0,Fe):Ie.push(Fe),h.event.global[De]=!0)},remove:function(c,g,D,W,ee){var re,le,Ee,we,Re,Fe,He,Ie,De,Je,Ye,Qe=he.hasData(c)&&he.get(c);if(!(!Qe||!(we=Qe.events))){for(g=(g||"").match(X)||[""],Re=g.length;Re--;){if(Ee=$t.exec(g[Re])||[],De=Ye=Ee[1],Je=(Ee[2]||"").split(".").sort(),!De){for(De in we)h.event.remove(c,De+g[Re],D,W,!0);continue}for(He=h.event.special[De]||{},De=(W?He.delegateType:He.bindType)||De,Ie=we[De]||[],Ee=Ee[2]&&new RegExp("(^|\\.)"+Je.join("\\.(?:.*\\.|)")+"(\\.|$)"),le=re=Ie.length;re--;)Fe=Ie[re],(ee||Ye===Fe.origType)&&(!D||D.guid===Fe.guid)&&(!Ee||Ee.test(Fe.namespace))&&(!W||W===Fe.selector||W==="**"&&Fe.selector)&&(Ie.splice(re,1),Fe.selector&&Ie.delegateCount--,He.remove&&He.remove.call(c,Fe));le&&!Ie.length&&((!He.teardown||He.teardown.call(c,Je,Qe.handle)===!1)&&h.removeEvent(c,De,Qe.handle),delete we[De])}h.isEmptyObject(we)&&he.remove(c,"handle events")}},dispatch:function(c){var g,D,W,ee,re,le,Ee=new Array(arguments.length),we=h.event.fix(c),Re=(he.get(this,"events")||Object.create(null))[we.type]||[],Fe=h.event.special[we.type]||{};for(Ee[0]=we,g=1;g<arguments.length;g++)Ee[g]=arguments[g];if(we.delegateTarget=this,!(Fe.preDispatch&&Fe.preDispatch.call(this,we)===!1)){for(le=h.event.handlers.call(this,we,Re),g=0;(ee=le[g++])&&!we.isPropagationStopped();)for(we.currentTarget=ee.elem,D=0;(re=ee.handlers[D++])&&!we.isImmediatePropagationStopped();)(!we.rnamespace||re.namespace===!1||we.rnamespace.test(re.namespace))&&(we.handleObj=re,we.data=re.data,W=((h.event.special[re.origType]||{}).handle||re.handler).apply(ee.elem,Ee),W!==void 0&&(we.result=W)===!1&&(we.preventDefault(),we.stopPropagation()));return Fe.postDispatch&&Fe.postDispatch.call(this,we),we.result}},handlers:function(c,g){var D,W,ee,re,le,Ee=[],we=g.delegateCount,Re=c.target;if(we&&Re.nodeType&&!(c.type==="click"&&c.button>=1)){for(;Re!==this;Re=Re.parentNode||this)if(Re.nodeType===1&&!(c.type==="click"&&Re.disabled===!0)){for(re=[],le={},D=0;D<we;D++)W=g[D],ee=W.selector+" ",le[ee]===void 0&&(le[ee]=W.needsContext?h(ee,this).index(Re)>-1:h.find(ee,this,null,[Re]).length),le[ee]&&re.push(W);re.length&&Ee.push({elem:Re,handlers:re})}}return Re=this,we<g.length&&Ee.push({elem:Re,handlers:g.slice(we)}),Ee},addProp:function(c,g){Object.defineProperty(h.Event.prototype,c,{enumerable:!0,configurable:!0,get:E(g)?function(){if(this.originalEvent)return g(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[c]},set:function(D){Object.defineProperty(this,c,{enumerable:!0,configurable:!0,writable:!0,value:D})}})},fix:function(c){return c[h.expando]?c:new h.Event(c)},special:{load:{noBubble:!0},click:{setup:function(c){var g=this||c;return Pt.test(g.type)&&g.click&&P(g,"input")&&ct(g,"click",!0),!1},trigger:function(c){var g=this||c;return Pt.test(g.type)&&g.click&&P(g,"input")&&ct(g,"click"),!0},_default:function(c){var g=c.target;return Pt.test(g.type)&&g.click&&P(g,"input")&&he.get(g,"click")||P(g,"a")}},beforeunload:{postDispatch:function(c){c.result!==void 0&&c.originalEvent&&(c.originalEvent.returnValue=c.result)}}}};function ct(c,g,D){if(!D){he.get(c,g)===void 0&&h.event.add(c,g,Xt);return}he.set(c,g,!1),h.event.add(c,g,{namespace:!1,handler:function(W){var ee,re=he.get(this,g);
2if(W.isTrigger&1&&this[g]){if(re)(h.event.special[g]||{}).delegateType&&W.stopPropagation();else if(re=a.call(arguments),he.set(this,g,re),this[g](),ee=he.get(this,g),he.set(this,g,!1),re!==ee)return W.stopImmediatePropagation(),W.preventDefault(),ee}else re&&(he.set(this,g,h.event.trigger(re[0],re.slice(1),this)),W.stopPropagation(),W.isImmediatePropagationStopped=Xt)}})}h.removeEvent=function(c,g,D){c.removeEventListener&&c.removeEventListener(g,D)},h.Event=function(c,g){if(!(this instanceof h.Event))return new h.Event(c,g);c&&c.type?(this.originalEvent=c,this.type=c.type,this.isDefaultPrevented=c.defaultPrevented||c.defaultPrevented===void 0&&c.returnValue===!1?Xt:et,this.target=c.target&&c.target.nodeType===3?c.target.parentNode:c.target,this.currentTarget=c.currentTarget,this.relatedTarget=c.relatedTarget):this.type=c,g&&h.extend(this,g),this.timeStamp=c&&c.timeStamp||Date.now(),this[h.expando]=!0},h.Event.prototype={constructor:h.Event,isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et,isSimulated:!1,preventDefault:function(){var c=this.originalEvent;this.isDefaultPrevented=Xt,c&&!this.isSimulated&&c.preventDefault()},stopPropagation:function(){var c=this.originalEvent;this.isPropagationStopped=Xt,c&&!this.isSimulated&&c.stopPropagation()},stopImmediatePropagation:function(){var c=this.originalEvent;this.isImmediatePropagationStopped=Xt,c&&!this.isSimulated&&c.stopImmediatePropagation(),this.stopPropagation()}},h.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:!0},h.event.addProp),h.each({focus:"focusin",blur:"focusout"},function(c,g){function D(W){if(j.documentMode){var ee=he.get(this,"handle"),re=h.event.fix(W);re.type=W.type==="focusin"?"focus":"blur",re.isSimulated=!0,ee(W),re.target===re.currentTarget&&ee(re)}else h.event.simulate(g,W.target,h.event.fix(W))}h.event.special[c]={setup:function(){var W;if(ct(this,c,!0),j.documentMode)W=he.get(this,g),W||this.addEventListener(g,D),he.set(this,g,(W||0)+1);else return!1},trigger:function(){return ct(this,c),!0},teardown:function(){var W;if(j.documentMode)W=he.get(this,g)-1,W?he.set(this,g,W):(this.removeEventListener(g,D),he.remove(this,g));else return!1},_default:function(W){return he.get(W.target,c)},delegateType:g},h.event.special[g]={setup:function(){var W=this.ownerDocument||this.document||this,ee=j.documentMode?this:W,re=he.get(ee,g);re||(j.documentMode?this.addEventListener(g,D):W.addEventListener(c,D,!0)),he.set(ee,g,(re||0)+1)},teardown:function(){var W=this.ownerDocument||this.document||this,ee=j.documentMode?this:W,re=he.get(ee,g)-1;re?he.set(ee,g,re):(j.documentMode?this.removeEventListener(g,D):W.removeEventListener(c,D,!0),he.remove(ee,g))}}}
vendor: 5,694 bytes, line 2
2),h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(c,g){h.event.special[c]={delegateType:g,bindType:g,handle:function(D){var W,ee=this,re=D.relatedTarget,le=D.handleObj;return(!re||re!==ee&&!h.contains(ee,re))&&(D.type=le.origType,W=le.handler.apply(this,arguments),D.type=g),W}}}),h.fn.extend({on:function(c,g,D,W){return mt(this,c,g,D,W)},one:function(c,g,D,W){return mt(this,c,g,D,W,1)},off:function(c,g,D){var W,ee;if(c&&c.preventDefault&&c.handleObj)return W=c.handleObj,h(c.delegateTarget).off(W.namespace?W.origType+"."+W.namespace:W.origType,W.selector,W.handler),this;if(typeof c=="object"){for(ee in c)this.off(ee,g,c[ee]);return this}return(g===!1||typeof g=="function")&&(D=g,g=void 0),D===!1&&(D=et),this.each(function(){h.event.remove(this,c,D,g)})}});var Ft=/<script|<style|<link/i,Qt=/checked\s*(?:[^=]|=\s*.checked.)/i,xr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ur(c,g){return P(c,"table")&&P(g.nodeType!==11?g:g.firstChild,"tr")&&h(c).children("tbody")[0]||c}function sr(c){return c.type=(c.getAttribute("type")!==null)+"/"+c.type,c}function cr(c){return(c.type||"").slice(0,5)==="true/"?c.type=c.type.slice(5):c.removeAttribute("type"),c}function Ht(c,g){var D,W,ee,re,le,Ee,we;if(g.nodeType===1){if(he.hasData(c)&&(re=he.get(c),we=re.events,we)){he.remove(g,"handle events");for(ee in we)for(D=0,W=we[ee].length;D<W;D++)h.event.add(g,ee,we[ee][D])}me.hasData(c)&&(le=me.access(c),Ee=h.extend({},le),me.set(g,Ee))}}function Rr(c,g){var D=g.nodeName.toLowerCase();D==="input"&&Pt.test(c.type)?g.checked=c.checked:(D==="input"||D==="textarea")&&(g.defaultValue=c.defaultValue)}function Sr(c,g,D,W){g=o(g);var ee,re,le,Ee,we,Re,Fe=0,He=c.length,Ie=He-1,De=g[0],Je=E(De);if(Je||He>1&&typeof De=="string"&&!y.checkClone&&Qt.test(De))return c.each(function(Ye){var Qe=c.eq(Ye);Je&&(g[0]=De.call(this,Ye,Qe.html())),Sr(Qe,g,D,W)});if(He&&(ee=yt(g,c[0].ownerDocument,!1,c,W),re=ee.firstChild,ee.childNodes.length===1&&(ee=re),re||W)){for(le=h.map(kt(ee,"script"),sr),Ee=le.length;Fe<He;Fe++)we=ee,Fe!==Ie&&(we=h.clone(we,!0,!0),Ee&&h.merge(le,kt(we,"script"))),D.call(c[Fe],we,Fe);if(Ee)for(Re=le[le.length-1].ownerDocument,h.map(le,cr),Fe=0;Fe<Ee;Fe++)we=le[Fe],Wt.test(we.type||"")&&!he.access(we,"globalEval")&&h.contains(Re,we)&&(we.src&&(we.type||"").toLowerCase()!=="module"?h._evalUrl&&!we.noModule&&h._evalUrl(we.src,{nonce:we.nonce||we.getAttribute("nonce")},Re):k(we.textContent.replace(xr,""),we,Re))}return c}function Hr(c,g,D){for(var W,ee=g?h.filter(g,c):c,re=0;(W=ee[re])!=null;re++)!D&&W.nodeType===1&&h.cleanData(kt(W)),W.parentNode&&(D&&$e(W)&&Gt(kt(W,"script")),W.parentNode.removeChild(W));return c}h.extend({htmlPrefilter:function(c){return c},clone:function(c,g,D){var W,ee,re,le,Ee=c.cloneNode(!0),we=$e(c);if(!y.noCloneChecked&&(c.nodeType===1||c.nodeType===11)&&!h.isXMLDoc(c))for(le=kt(Ee),re=kt(c),W=0,ee=re.length;W<ee;W++)Rr(re[W],le[W]);if(g)if(D)for(re=re||kt(c),le=le||kt(Ee),W=0,ee=re.length;W<ee;W++)Ht(re[W],le[W]);else Ht(c,Ee);return le=kt(Ee,"script"),le.length>0&&Gt(le,!we&&kt(c,"script")),Ee},cleanData:function(c){for(var g,D,W,ee=h.event.special,re=0;(D=c[re])!==void 0;re++)if(fe(D)){if(g=D[he.expando]){if(g.events)for(W in g.events)ee[W]?h.event.remove(D,W):h.removeEvent(D,W,g.handle);D[he.expando]=void 0}D[me.expando]&&(D[me.expando]=void 0)}}}),h.fn.extend({detach:function(c){return Hr(this,c,!0)},remove:function(c){return Hr(this,c)},text:function(c){return oe(this,function(g){return g===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=g)})},null,c,arguments.length)},append:function(){return Sr(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var g=ur(this,c);g.appendChild(c)}})},prepend:function(){return Sr(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var g=ur(this,c);g.insertBefore(c,g.firstChild)}})},before:function(){return Sr(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return Sr(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},empty:function(){for(var c,g=0;(c=this[g])!=null;g++)c.nodeType===1&&(h.cleanData(kt(c,!1)),c.textContent="");return this},clone:function(c,g){return c=c??!1,g=g??c,this.map(function(){return h.clone(this,c,g)})},html:function(c){return oe(this,function(g){var D=this[0]||{},W=0,ee=this.length;if(g===void 0&&D.nodeType===1)return D.innerHTML;if(typeof g=="string"&&!Ft.test(g)&&!At[(qt.exec(g)||["",""])[1].toLowerCase()]){g=h.htmlPrefilter(g);try{for(;W<ee;W++)D=this[W]||{},D.nodeType===1&&(h.cleanData(kt(D,!1)),D.innerHTML=g);D=0}catch{}}D&&this.empty().append(g)},null,c,arguments.length)},replaceWith:function(){var c=[];return Sr(this,arguments,function(g){var D=this.parentNode;h.inArray(this,c)<0&&(h.cleanData(kt(this)),D&&D.replaceChild(g,this))},c)}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,g){h.fn[c]=function(D){for(var W,ee=[],re=h(D),le=re.length-1,Ee=0;Ee<=le;Ee++)W=Ee===le?this:this.clone(!0),h(re[Ee])[g](W),f.apply(ee,W.get());return this.pushStack(ee)}});var Ar=new RegExp("^("+Oe+")(?!px)[a-z%]+$","i"),Pr=/^--/,di=function(c){var g=c.ownerDocument.defaultView;return(!g||!g.opener)&&(g=e),g.getComputedStyle(c)},Pi=function(c,g,D){var W,ee,re={};for(ee in g)re[ee]=c.style[ee],c.style[ee]=g[ee];W=D.call(c);for(ee in g)c.style[ee]=re[ee];return W},un=new RegExp(Ue.join("|"),"i");(function(){function c(){if(Re){we.style.cssText="position:absolute;
2left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Re.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ze.appendChild(we).appendChild(Re);var Fe=e.getComputedStyle(Re);D=Fe.top!=="1%",Ee=g(Fe.marginLeft)===12,Re.style.right="60%",re=g(Fe.right)===36,W=g(Fe.width)===36,Re.style.position="absolute",ee=g(Re.offsetWidth/3)===12,ze.removeChild(we),Re=null}}function g(Fe){return Math.round(parseFloat(Fe))}var D,W,ee,re,le,Ee,we=j.createElement("div"),Re=j.createElement("div");Re.style&&(Re.style.backgroundClip="content-box",Re.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle=Re.style.backgroundClip==="content-box",h.extend(y,{boxSizingReliable:function(){return c(),W},pixelBoxStyles:function(){return c(),re},pixelPosition:function(){return c(),D},reliableMarginLeft:function(){return c(),Ee},scrollboxSize:function(){return c(),ee},reliableTrDimensions:function(){var Fe,He,Ie,De;return le==null&&(Fe=j.createElement("table"),He=j.createElement("tr"),Ie=j.createElement("div"),Fe.style.cssText="position:absolute;left:-11111px;border-collapse:separate",He.style.cssText="box-sizing:content-box;border:1px solid",He.style.height="1px",Ie.style.height="9px",Ie.style.display="block",ze.appendChild(Fe).appendChild(He).appendChild(Ie),De=e.getComputedStyle(He),le=parseInt(De.height,10)+parseInt(De.borderTopWidth,10)+parseInt(De.borderBottomWidth,10)===He.offsetHeight,ze.removeChild(Fe)),le}}))})();function _t(c,g,D){var W,ee,re,le,Ee=Pr.test(g),we=c.style;return D=D||di(c),D&&(le=D.getPropertyValue(g)||D[g],Ee&&le&&(le=le.replace(d,"$1")||void 0),le===""&&!$e(c)&&(le=h.style(c,g)),!y.pixelBoxStyles()&&Ar.test(le)&&un.test(g)&&(W=we.width,ee=we.minWidth,re=we.maxWidth,we.minWidth=we.maxWidth=we.width=le,le=D.width,we.width=W,we.minWidth=ee,we.maxWidth=re)),le!==void 0?le+"":le}function Nr(c,g){return{get:function(){if(c()){delete this.get;return}return(this.get=g).apply(this,arguments)}}}var hi=["Webkit","Moz","ms"],Zr=j.createElement("div").style,pn={};function Wi(c){for(var g=c[0].toUpperCase()+c.slice(1),D=hi.length;D--;)if(c=hi[D]+g,c in Zr)return c}function fn(c){var g=h.cssProps[c]||pn[c];return g||(c in Zr?c:pn[c]=Wi(c)||c)}var Os=/^(none|table(?!-c[ea]).+)/,ua={position:"absolute",visibility:"hidden",display:"block"},Ls={letterSpacing:"0",fontWeight:"400"};function Fs(c,g,D){var W=Be.exec(g);return W?Math.max(0,W[2]-(D||0))+(W[3]||"px"):g}function Yn(c,g,D,W,ee,re){var le=g==="width"?1:0,Ee=0,we=0,Re=0;if(D===(W?"border":"content"))return 0;for(;le<4;le+=2)D==="margin"&&(Re+=h.css(c,D+Ue[le],!0,ee)),W?(D==="content"&&(we-=h.css(c,"padding"+Ue[le],!0,ee)),D!=="margin"&&(we-=h.css(c,"border"+Ue[le]+"Width",!0,ee))):(we+=h.css(c,"padding"+Ue[le],!0,ee),D!=="padding"?we+=h.css(c,"border"+Ue[le]+"Width",!0,ee):Ee+=h.css(c,"border"+Ue[le]+"Width",!0,ee));return!W&&re>=0&&(we+=Math.max(0,Math.ceil(c["offset"+g[0].toUpperCase()+g.slice(1)]-re-we-Ee-.5))||0),we+Re}function Ds(c,g,D){var W=di(c),ee=!y.boxSizingReliable()||D,re=ee&&h.css(c,"boxSizing",!1,W)==="border-box",le=re,Ee=_t(c,g,W),we="offset"+g[0].toUpperCase()+g.slice(1);if(Ar.test(Ee)){if(!D)return Ee;Ee="auto"}return(!y.boxSizingReliable()&&re||!y.reliableTrDimensions()&&P(c,"tr")||Ee==="auto"||!parseFloat(Ee)&&h.css(c,"display",!1,W)==="inline")&&c.getClientRects().length&&(re=h.css(c,"boxSizing",!1,W)==="border-box",le=we in c,le&&(Ee=c[we])),Ee=parseFloat(Ee)||0,Ee+Yn(c,g,D||(re?"border":"content"),le,W,Ee)+"px"}h.extend({cssHooks:{opacity:{get:function(c,g){if(g){var D=_t(c,"opacity");return D===""?"1":D}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(c,g,D,W){if(!(!c||c.nodeType===3||c.nodeType===8||!c.style)){var ee,re,le,Ee=Te(g),we=Pr.test(g),Re=c.style;
vendor: 14,827 bytes, line 2
2if(we||(g=fn(Ee)),le=h.cssHooks[g]||h.cssHooks[Ee],D!==void 0){if(re=typeof D,re==="string"&&(ee=Be.exec(D))&&ee[1]&&(D=Ve(c,g,ee),re="number"),D==null||D!==D)return;re==="number"&&!we&&(D+=ee&&ee[3]||(h.cssNumber[Ee]?"":"px")),!y.clearCloneStyle&&D===""&&g.indexOf("background")===0&&(Re[g]="inherit"),(!le||!("set"in le)||(D=le.set(c,D,W))!==void 0)&&(we?Re.setProperty(g,D):Re[g]=D)}else return le&&"get"in le&&(ee=le.get(c,!1,W))!==void 0?ee:Re[g]}},css:function(c,g,D,W){var ee,re,le,Ee=Te(g),we=Pr.test(g);return we||(g=fn(Ee)),le=h.cssHooks[g]||h.cssHooks[Ee],le&&"get"in le&&(ee=le.get(c,!0,D)),ee===void 0&&(ee=_t(c,g,W)),ee==="normal"&&g in Ls&&(ee=Ls[g]),D===""||D?(re=parseFloat(ee),D===!0||isFinite(re)?re||0:ee):ee}}),h.each(["height","width"],function(c,g){h.cssHooks[g]={get:function(D,W,ee){if(W)return Os.test(h.css(D,"display"))&&(!D.getClientRects().length||!D.getBoundingClientRect().width)?Pi(D,ua,function(){return Ds(D,g,ee)}):Ds(D,g,ee)},set:function(D,W,ee){var re,le=di(D),Ee=!y.scrollboxSize()&&le.position==="absolute",we=Ee||ee,Re=we&&h.css(D,"boxSizing",!1,le)==="border-box",Fe=ee?Yn(D,g,ee,Re,le):0;return Re&&Ee&&(Fe-=Math.ceil(D["offset"+g[0].toUpperCase()+g.slice(1)]-parseFloat(le[g])-Yn(D,g,"border",!1,le)-.5)),Fe&&(re=Be.exec(W))&&(re[3]||"px")!=="px"&&(D.style[g]=W,W=h.css(D,g)),Fs(D,W,Fe)}}}),h.cssHooks.marginLeft=Nr(y.reliableMarginLeft,function(c,g){if(g)return(parseFloat(_t(c,"marginLeft"))||c.getBoundingClientRect().left-Pi(c,{marginLeft:0},function(){return c.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(c,g){h.cssHooks[c+g]={expand:function(D){for(var W=0,ee={},re=typeof D=="string"?D.split(" "):[D];W<4;W++)ee[c+Ue[W]+g]=re[W]||re[W-2]||re[0];return ee}},c!=="margin"&&(h.cssHooks[c+g].set=Fs)}),h.fn.extend({css:function(c,g){return oe(this,function(D,W,ee){var re,le,Ee={},we=0;if(Array.isArray(W)){for(re=di(D),le=W.length;we<le;we++)Ee[W[we]]=h.css(D,W[we],!1,re);return Ee}return ee!==void 0?h.style(D,W,ee):h.css(D,W)},c,g,arguments.length>1)}});function wr(c,g,D,W,ee){return new wr.prototype.init(c,g,D,W,ee)}h.Tween=wr,wr.prototype={constructor:wr,init:function(c,g,D,W,ee,re){this.elem=c,this.prop=D,this.easing=ee||h.easing._default,this.options=g,this.start=this.now=this.cur(),this.end=W,this.unit=re||(h.cssNumber[D]?"":"px")},cur:function(){var c=wr.propHooks[this.prop];return c&&c.get?c.get(this):wr.propHooks._default.get(this)},run:function(c){var g,D=wr.propHooks[this.prop];return this.options.duration?this.pos=g=h.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=g=c,this.now=(this.end-this.start)*g+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),D&&D.set?D.set(this):wr.propHooks._default.set(this),this}},wr.prototype.init.prototype=wr.prototype,wr.propHooks={_default:{get:function(c){var g;return c.elem.nodeType!==1||c.elem[c.prop]!=null&&c.elem.style[c.prop]==null?c.elem[c.prop]:(g=h.css(c.elem,c.prop,""),!g||g==="auto"?0:g)},set:function(c){h.fx.step[c.prop]?h.fx.step[c.prop](c):c.elem.nodeType===1&&(h.cssHooks[c.prop]||c.elem.style[fn(c.prop)]!=null)?h.style(c.elem,c.prop,c.now+c.unit):c.elem[c.prop]=c.now}}},wr.propHooks.scrollTop=wr.propHooks.scrollLeft={set:function(c){c.elem.nodeType&&c.elem.parentNode&&(c.elem[c.prop]=c.now)}},h.easing={linear:function(c){return c},swing:function(c){return .5-Math.cos(c*Math.PI)/2},_default:"swing"},h.fx=wr.prototype.init,h.fx.step={};var Ni,mn,pa=/^(?:toggle|show|hide)$/,fa=/queueHooks$/;function Xn(){mn&&(j.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(Xn):e.setTimeout(Xn,h.fx.interval),h.fx.tick())}function Kn(){return e.setTimeout(function(){Ni=void 0}),Ni=Date.now()}function gn(c,g){var D,W=0,ee={height:c};for(g=g?1:0;W<4;W+=2-g)D=Ue[W],ee["margin"+D]=ee["padding"+D]=c;return g&&(ee.opacity=ee.width=c),ee}function Bs(c,g,D){for(var W,ee=(zr.tweeners[g]||[]).concat(zr.tweeners["*"]),re=0,le=ee.length;re<le;re++)if(W=ee[re].call(D,g,c))return W}function ma(c,g,D){var W,ee,re,le,Ee,we,Re,Fe,He="width"in g||"height"in g,Ie=this,De={},Je=c.style,Ye=c.nodeType&&Xe(c),Qe=he.get(c,"fxshow");D.queue||(le=h._queueHooks(c,"fx"),le.unqueued==null&&(le.unqueued=0,Ee=le.empty.fire,le.empty.fire=function(){le.unqueued||Ee()}),le.unqueued++,Ie.always(function(){Ie.always(function(){le.unqueued--,h.queue(c,"fx").length||le.empty.fire()})}));for(W in g)if(ee=g[W],pa.test(ee)){if(delete g[W],re=re||ee==="toggle",ee===(Ye?"hide":"show"))if(ee==="show"&&Qe&&Qe[W]!==void 0)Ye=!0;else continue;De[W]=Qe&&Qe[W]||h.style(c,W)}if(we=!h.isEmptyObject(g),!(!we&&h.isEmptyObject(De))){He&&c.nodeType===1&&(D.overflow=[Je.overflow,Je.overflowX,Je.overflowY],Re=Qe&&Qe.display,Re==null&&(Re=he.get(c,"display")),Fe=h.css(c,"display"),Fe==="none"&&(Re?Fe=Re:(Mt([c],!0),Re=c.style.display||Re,Fe=h.css(c,"display"),Mt([c]))),(Fe==="inline"||Fe==="inline-block"&&Re!=null)&&h.css(c,"float")==="none"&&(we||(Ie.done(function(){Je.display=Re}),Re==null&&(Fe=Je.display,Re=Fe==="none"?"":Fe)),Je.display="inline-block")),D.overflow&&(Je.overflow="hidden",Ie.always(function(){Je.overflow=D.overflow[0],Je.overflowX=D.overflow[1],Je.overflowY=D.overflow[2]})),we=!1;for(W in De)we||(Qe?"hidden"in Qe&&(Ye=Qe.hidden):Qe=he.access(c,"fxshow",{display:Re}),re&&(Qe.hidden=!Ye),Ye&&Mt([c],!0),Ie.done(function(){Ye||Mt([c]),he.remove(c,"fxshow");for(W in De)h.style(c,W,De[W])})),we=Bs(Ye?Qe[W]:0,W,Ie),W in Qe||(Qe[W]=we.start,Ye&&(we.end=we.start,we.start=0))}}function ga(c,g){var D,W,ee,re,le;for(D in c)if(W=Te(D),ee=g[W],re=c[D],Array.isArray(re)&&(ee=re[1],re=c[D]=re[0]),D!==W&&(c[W]=re,delete c[D]),le=h.cssHooks[W],le&&"expand"in le){re=le.expand(re),delete c[W];for(D in re)D in c||(c[D]=re[D],g[D]=ee)}else g[W]=ee}function zr(c,g,D){var W,ee,re=0,le=zr.prefilters.length,Ee=h.Deferred().always(function(){delete we.elem}),we=function(){if(ee)return!1;for(var He=Ni||Kn(),Ie=Math.max(0,Re.startTime+Re.duration-He),De=Ie/Re.duration||0,Je=1-De,Ye=0,Qe=Re.tweens.length;Ye<Qe;Ye++)Re.tweens[Ye].run(Je);return Ee.notifyWith(c,[Re,Je,Ie]),Je<1&&Qe?Ie:(Qe||Ee.notifyWith(c,[Re,1,0]),Ee.resolveWith(c,[Re]),!1)},Re=Ee.promise({elem:c,props:h.extend({},g),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},D),originalProperties:g,originalOptions:D,startTime:Ni||Kn(),duration:D.duration,tweens:[],createTween:function(He,Ie){var De=h.Tween(c,Re.opts,He,Ie,Re.opts.specialEasing[He]||Re.opts.easing);return Re.tweens.push(De),De},stop:function(He){var Ie=0,De=He?Re.tweens.length:0;if(ee)return this;for(ee=!0;Ie<De;Ie++)Re.tweens[Ie].run(1);return He?(Ee.notifyWith(c,[Re,1,0]),Ee.resolveWith(c,[Re,He])):Ee.rejectWith(c,[Re,He]),this}}),Fe=Re.props;for(ga(Fe,Re.opts.specialEasing);re<le;re++)if(W=zr.prefilters[re].call(Re,c,Fe,Re.opts),W)return E(W.stop)&&(h._queueHooks(Re.elem,Re.opts.queue).stop=W.stop.bind(W)),W;return h.map(Fe,Bs,Re),E(Re.opts.start)&&Re.opts.start.call(c,Re),Re.progress(Re.opts.progress).done(Re.opts.done,Re.opts.complete).fail(Re.opts.fail).always(Re.opts.always),h.fx.timer(h.extend(we,{elem:c,anim:Re,queue:Re.opts.queue})),Re}h.Animation=h.extend(zr,{tweeners:{"*":[function(c,g){var D=this.createTween(c,g);return Ve(D.elem,c,Be.exec(g),D),D}]},tweener:function(c,g){E(c)?(g=c,c=["*"]):c=c.match(X);for(var D,W=0,ee=c.length;W<ee;W++)D=c[W],zr.tweeners[D]=zr.tweeners[D]||[],zr.tweeners[D].unshift(g)},prefilters:[ma],prefilter:function(c,g){g?zr.prefilters.unshift(c):zr.prefilters.push(c)}}),h.speed=function(c,g,D){var W=c&&typeof c=="object"?h.extend({},c):{complete:D||!D&&g||E(c)&&c,duration:c,easing:D&&g||g&&!E(g)&&g};return h.fx.off?W.duration=0:typeof W.duration!="number"&&(W.duration in h.fx.speeds?W.duration=h.fx.speeds[W.duration]:W.duration=h.fx.speeds._default),(W.queue==null||W.queue===!0)&&(W.queue="fx"),W.old=W.complete,W.complete=function(){E(W.old)&&W.old.call(this),W.queue&&h.dequeue(this,W.queue)},W},h.fn.extend({fadeTo:function(c,g,D,W){return this.filter(Xe).css("opacity",0).show().end().animate({opacity:g},c,D,W)},animate:function(c,g,D,W){var ee=h.isEmptyObject(c),re=h.speed(g,D,W),le=function(){var Ee=zr(this,h.extend({},c),re);(ee||he.get(this,"finish"))&&Ee.stop(!0)};return le.finish=le,ee||re.queue===!1?this.each(le):this.queue(re.queue,le)},stop:function(c,g,D){var W=function(ee){var re=ee.stop;delete ee.stop,re(D)};return typeof c!="string"&&(D=g,g=c,c=void 0),g&&this.queue(c||"fx",[]),this.each(function(){var ee=!0,re=c!=null&&c+"queueHooks",le=h.timers,Ee=he.get(this);if(re)Ee[re]&&Ee[re].stop&&W(Ee[re]);else for(re in Ee)Ee[re]&&Ee[re].stop&&fa.test(re)&&W(Ee[re]);for(re=le.length;re--;)le[re].elem===this&&(c==null||le[re].queue===c)&&(le[re].anim.stop(D),ee=!1,le.splice(re,1));(ee||!D)&&h.dequeue(this,c)})},finish:function(c){return c!==!1&&(c=c||"fx"),this.each(function(){var g,D=he.get(this),W=D[c+"queue"],ee=D[c+"queueHooks"],re=h.timers,le=W?W.length:0;for(D.finish=!0,h.queue(this,c,[]),ee&&ee.stop&&ee.stop.call(this,!0),g=re.length;g--;)re[g].elem===this&&re[g].queue===c&&(re[g].anim.stop(!0),re.splice(g,1));for(g=0;g<le;g++)W[g]&&W[g].finish&&W[g].finish.call(this);delete D.finish})}}),h.each(["toggle","show","hide"],function(c,g){var D=h.fn[g];h.fn[g]=function(W,ee,re){return W==null||typeof W=="boolean"?D.apply(this,arguments):this.animate(gn(g,!0),W,ee,re)}}),h.each({slideDown:gn("show"),slideUp:gn("hide"),slideToggle:gn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,g){h.fn[c]=function(D,W,ee){return this.animate(g,D,W,ee)}}),h.timers=[],h.fx.tick=function(){var c,g=0,D=h.timers;for(Ni=Date.now();g<D.length;g++)c=D[g],!c()&&D[g]===c&&D.splice(g--,1);D.length||h.fx.stop(),Ni=void 0},h.fx.timer=function(c){h.timers.push(c),h.fx.start()},h.fx.interval=13,h.fx.start=function(){mn||(mn=!0,Xn())},h.fx.stop=function(){mn=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(c,g){return c=h.fx&&h.fx.speeds[c]||c,g=g||"fx",this.queue(g,function(D,W){var ee=e.setTimeout(D,c);W.stop=function(){e.clearTimeout(ee)}})},(function(){var c=j.createElement("input"),g=j.createElement("select"),D=g.appendChild(j.createElement("option"));c.type="checkbox",y.checkOn=c.value!=="",y.optSelected=D.selected,c=j.createElement("input"),c.value="t",c.type="radio",y.radioValue=c.value==="t"})();var Hs,_i=h.expr.attrHandle;h.fn.extend({attr:function(c,g){return oe(this,h.attr,c,g,arguments.length>1)},removeAttr:function(c){return this.each(function(){h.removeAttr(this,c)})}}),h.extend({attr:function(c,g,D){var W,ee,re=c.nodeType;if(!(re===3||re===8||re===2)){if(typeof c.getAttribute>"u")return h.prop(c,g,D);if((re!==1||!h.isXMLDoc(c))&&(ee=h.attrHooks[g.toLowerCase()]||(h.expr.match.bool.test(g)?Hs:void 0)),D!==void 0){if(D===null){h.removeAttr(c,g);return}return ee&&"set"in ee&&(W=ee.set(c,D,g))!==void 0?W:(c.setAttribute(g,D+""),D)}return ee&&"get"in ee&&(W=ee.get(c,g))!==null?W:(W=h.find.attr(c,g),W??void 0)}},attrHooks:{type:{set:function(c,g){if(!y.radioValue&&g==="radio"&&P(c,"input")){var D=c.value;return c.setAttribute("type",g),D&&(c.value=D),g}}}},removeAttr:function(c,g){var D,W=0,ee=g&&g.match(X);if(ee&&c.nodeType===1)for(;D=ee[W++];)c.removeAttribute(D)}}),Hs={set:function(c,g,D){return g===!1?h.removeAttr(c,D):c.setAttribute(D,D),D}},h.each(h.expr.match.bool.source.match(/\w+/g),function(c,g){var D=_i[g]||h.find.attr;_i[g]=function(W,ee,re){var le,Ee,we=ee.toLowerCase();return re||(Ee=_i[we],_i[we]=le,le=D(W,ee,re)!=null?we:null,_i[we]=Ee),le}});var zs=/^(?:input|select|textarea|button)$/i,Us=/^(?:a|area)$/i;h.fn.extend({prop:function(c,g){return oe(this,h.prop,c,g,arguments.length>1)},removeProp:function(c){return this.each(function(){delete this[h.propFix[c]||c]})}}),h.extend({prop:function(c,g,D){var W,ee,re=c.nodeType;if(!(re===3||re===8||re===2))return(re!==1||!h.isXMLDoc(c))&&(g=h.propFix[g]||g,ee=h.propHooks[g]),D!==void 0?ee&&"set"in ee&&(W=ee.set(c,D,g))!==void 0?W:c[g]=D:ee&&"get"in ee&&(W=ee.get(c,g))!==null?W:c[g]},propHooks:{tabIndex:{get:function(c){var g=h.find.attr(c,"tabindex");return g?parseInt(g,10):zs.test(c.nodeName)||Us.test(c.nodeName)&&c.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(h.propHooks.selected={get:function(c){var g=c.parentNode;return g&&g.parentNode&&g.parentNode.selectedIndex,null},set:function(c){var g=c.parentNode;g&&(g.selectedIndex,g.parentNode&&g.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function ui(c){var g=c.match(X)||[];return g.join(" ")}function pi(c){return c.getAttribute&&c.getAttribute("class")||""}function Zn(c){return Array.isArray(c)?c:typeof c=="string"?c.match(X)||[]:[]}h.fn.extend({addClass:function(c){var g,D,W,ee,re,le;return E(c)?this.each(function(Ee){h(this).addClass(c.call(this,Ee,pi(this)))}):(g=Zn(c),g.length?this.each(function(){if(W=pi(this),D=this.nodeType===1&&" "+ui(W)+" ",D){for(re=0;re<g.length;re++)ee=g[re],D.indexOf(" "+ee+" ")<0&&(D+=ee+" ");le=ui(D),W!==le&&this.setAttribute("class",le)}}):this)},removeClass:function(c){var g,D,W,ee,re,le;return E(c)?this.each(function(Ee){h(this).removeClass(c.call(this,Ee,pi(this)))}):arguments.length?(g=Zn(c),g.length?this.each(function(){if(W=pi(this),D=this.nodeType===1&&" "+ui(W)+" ",D){for(re=0;re<g.length;re++)for(ee=g[re];D.indexOf(" "+ee+" ")>-1;)D=D.replace(" "+ee+" "," ");le=ui(D),W!==le&&this.setAttribute("class",le)}}):this):this.attr("class","")},toggleClass:function(c,g){var D,W,ee,re,le=typeof c,Ee=le==="string"||Array.isArray(c);return E(c)?this.each(function(we){h(this).toggleClass(c.call(this,we,pi(this),g),g)}):typeof g=="boolean"&&Ee?g?this.addClass(c):this.removeClass(c):(D=Zn(c),this.each(function(){if(Ee)for(re=h(this),ee=0;ee<D.length;ee++)W=D[ee],re.hasClass(W)?re.removeClass(W):re.addClass(W);else(c===void 0||le==="boolean")&&(W=pi(this),W&&he.set(this,"__className__",W),this.setAttribute&&this.setAttribute("class",W||c===!1?"":he.get(this,"__className__")||""))}))},hasClass:function(c){var g,D,W=0;for(g=" "+c+" ";D=this[W++];)if(D.nodeType===1&&(" "+ui(pi(D))+" ").indexOf(g)>-1)return!0;return!1}});var Gs=/\r/g;h.fn.extend({val:function(c){var g,D,W,ee=this[0];return arguments.length?(W=E(c),this.each(function(re){var le;this.nodeType===1&&(W?le=c.call(this,re,h(this).val()):le=c,le==null?le="":typeof le=="number"?le+="":Array.isArray(le)&&(le=h.map(le,function(Ee){return Ee==null?"":Ee+""})),g=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!g||!("set"in g)||g.set(this,le,"value")===void 0)&&(this.value=le))})):ee?(g=h.valHooks[ee.type]||h.valHooks[ee.nodeName.toLowerCase()],g&&"get"in g&&(D=g.get(ee,"value"))!==void 0?D:(D=ee.value,typeof D=="str
2ing"?D.replace(Gs,""):D??"")):void 0}}),h.extend({valHooks:{option:{get:function(c){var g=h.find.attr(c,"value");return g??ui(h.text(c))}},select:{get:function(c){var g,D,W,ee=c.options,re=c.selectedIndex,le=c.type==="select-one",Ee=le?null:[],we=le?re+1:ee.length;for(re<0?W=we:W=le?re:0;W<we;W++)if(D=ee[W],(D.selected||W===re)&&!D.disabled&&(!D.parentNode.disabled||!P(D.parentNode,"optgroup"))){if(g=h(D).val(),le)return g;Ee.push(g)}return Ee},set:function(c,g){for(var D,W,ee=c.options,re=h.makeArray(g),le=ee.length;le--;)W=ee[le],(W.selected=h.inArray(h.valHooks.option.get(W),re)>-1)&&(D=!0);return D||(c.selectedIndex=-1),re}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(c,g){if(Array.isArray(g))return c.checked=h.inArray(h(c).val(),g)>-1}},y.checkOn||(h.valHooks[this].get=function(c){return c.getAttribute("value")===null?"on":c.value})});var qi=e.location,$s={guid:Date.now()},Jn=/\?/;h.parseXML=function(c){var g,D;if(!c||typeof c!="string")return null;try{g=new e.DOMParser().parseFromString(c,"text/xml")}catch{}return D=g&&g.getElementsByTagName("parsererror")[0],(!g||D)&&h.error("Invalid XML: "+(D?h.map(D.childNodes,function(W){return W.textContent}).join(` 3`):c)),g};var Qn=/^(?:focusinfocus|focusoutblur)$/,Ws=function(c){c.stopPropagation()};h.extend(h.event,{trigger:function(c,g,D,W){var ee,re,le,Ee,we,Re,Fe,He,Ie=[D||j],De=w.call(c,"type")?c.type:c,Je=w.call(c,"namespace")?c.namespace.split("."):[];if(re=He=le=D=D||j,!(D.nodeType===3||D.nodeType===8)&&!Qn.test(De+h.event.triggered)&&(De.indexOf(".")>-1&&(Je=De.split("."),De=Je.shift(),Je.sort()),we=De.indexOf(":")<0&&"on"+De,c=c[h.expando]?c:new h.Event(De,typeof c=="object"&&c),c.isTrigger=W?2:3,c.namespace=Je.join("."),c.rnamespace=c.namespace?new RegExp("(^|\\.)"+Je.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=D),g=g==null?[c]:h.makeArray(g,[c]),Fe=h.event.special[De]||{},!(!W&&Fe.trigger&&Fe.trigger.apply(D,g)===!1))){if(!W&&!Fe.noBubble&&!A(D)){for(Ee=Fe.delegateType||De,Qn.test(Ee+De)||(re=re.parentNode);re;re=re.parentNode)Ie.push(re),le=re;le===(D.ownerDocument||j)&&Ie.push(le.defaultView||le.parentWindow||e)}for(ee=0;(re=Ie[ee++])&&!c.isPropagationStopped();)He=re,c.type=ee>1?Ee:Fe.bindType||De,Re=(he.get(re,"events")||Object.create(null))[c.type]&&he.get(re,"handle"),Re&&Re.apply(re,g),Re=we&&re[we],Re&&Re.apply&&fe(re)&&(c.result=Re.apply(re,g),c.result===!1&&c.preventDefault());return c.type=De,!W&&!c.isDefaultPrevented()&&(!Fe._default||Fe._default.apply(Ie.pop(),g)===!1)&&fe(D)&&we&&E(D[De])&&!A(D)&&(le=D[we],le&&(D[we]=null),h.event.triggered=De,c.isPropagationStopped()&&He.addEventListener(De,Ws),D[De](),c.isPropagationStopped()&&He.removeEventListener(De,Ws),h.event.triggered=void 0,le&&(D[we]=le)),c.result}},simulate:function(c,g,D){var W=h.extend(new h.Event,D,{type:c,isSimulated:!0});h.event.trigger(W,null,g)}}),h.fn.extend({trigger:function(c,g){return this.each(function(){h.event.trigger(c,g,this)})},triggerHandler:function(c,g){var D=this[0];if(D)return h.event.trigger(c,g,D,!0)}});var ya=/\[\]$/,qs=/\r?\n/g,xa=/^(?:submit|button|image|reset|file)$/i,es=/^(?:input|select|textarea|keygen)/i;function yn(c,g,D,W){var ee;if(Array.isArray(g))h.each(g,function(re,le){D||ya.test(c)?W(c,le):yn(c+"["+(typeof le=="object"&&le!=null?re:"")+"]",le,D,W)});else if(!D&&B(g)==="object")for(ee in g)yn(c+"["+ee+"]",g[ee],D,W);else W(c,g)}h.param=function(c,g){var D,W=[],ee=function(re,le){var Ee=E(le)?le():le;W[W.length]=encodeURIComponent(re)+"="+encodeURIComponent(Ee??"")};if(c==null)return"";if(Array.isArray(c)||c.jquery&&!h.isPlainObject(c))h.each(c,function(){ee(this.name,this.value)});else for(D in c)yn(D,c[D],g,ee);return W.join("&")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var c=h.prop(this,"elements");return c?h.makeArray(c):this}).filter(function(){var c=this.type;return this.name&&!h(this).is(":disabled")&&es.test(this.nodeName)&&!xa.test(c)&&(this.checked||!Pt.test(c))}).map(function(c,g){var D=h(this).val();return D==null?null:Array.isArray(D)?h.map(D,function(W){return{name:g.name,value:W.replace(qs,`\r 4`)}}):{name:g.name,value:D.replace(qs,`\r 5`)}}).get()}});var xn=/%20/g,ts=/#.*$/,rs=/([?&])_=[^&]*/,Vs=/^(.*?):[ \t]*([^\r\n]*)$/mg,Ys=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ba=/^(?:GET|HEAD)$/,is=/^\/\//,Xs={},ns={},Ks="*/".concat("*"),bn=j.createElement("a");bn.href=qi.href;function Zs(c){return function(g,D){typeof g!="string"&&(D=g,g="*");var W,ee=0,re=g.toLowerCase().match(X)||[];
vendor: 4,122 bytes, line 5
5if(E(D))for(;W=re[ee++];)W[0]==="+"?(W=W.slice(1)||"*",(c[W]=c[W]||[]).unshift(D)):(c[W]=c[W]||[]).push(D)}}function Js(c,g,D,W){var ee={},re=c===ns;function le(Ee){var we;return ee[Ee]=!0,h.each(c[Ee]||[],function(Re,Fe){var He=Fe(g,D,W);if(typeof He=="string"&&!re&&!ee[He])return g.dataTypes.unshift(He),le(He),!1;if(re)return!(we=He)}),we}return le(g.dataTypes[0])||!ee["*"]&&le("*")}function ss(c,g){var D,W,ee=h.ajaxSettings.flatOptions||{};for(D in g)g[D]!==void 0&&((ee[D]?c:W||(W={}))[D]=g[D]);return W&&h.extend(!0,c,W),c}function va(c,g,D){for(var W,ee,re,le,Ee=c.contents,we=c.dataTypes;we[0]==="*";)we.shift(),W===void 0&&(W=c.mimeType||g.getResponseHeader("Content-Type"));if(W){for(ee in Ee)if(Ee[ee]&&Ee[ee].test(W)){we.unshift(ee);break}}if(we[0]in D)re=we[0];else{for(ee in D){if(!we[0]||c.converters[ee+" "+we[0]]){re=ee;break}le||(le=ee)}re=re||le}if(re)return re!==we[0]&&we.unshift(re),D[re]}function os(c,g,D,W){var ee,re,le,Ee,we,Re={},Fe=c.dataTypes.slice();if(Fe[1])for(le in c.converters)Re[le.toLowerCase()]=c.converters[le];for(re=Fe.shift();re;)if(c.responseFields[re]&&(D[c.responseFields[re]]=g),!we&&W&&c.dataFilter&&(g=c.dataFilter(g,c.dataType)),we=re,re=Fe.shift(),re){if(re==="*")re=we;else if(we!=="*"&&we!==re){if(le=Re[we+" "+re]||Re["* "+re],!le){for(ee in Re)if(Ee=ee.split(" "),Ee[1]===re&&(le=Re[we+" "+Ee[0]]||Re["* "+Ee[0]],le)){le===!0?le=Re[ee]:Re[ee]!==!0&&(re=Ee[0],Fe.unshift(Ee[1]));break}}if(le!==!0)if(le&&c.throws)g=le(g);else try{g=le(g)}catch(He){return{state:"parsererror",error:le?He:"No conversion from "+we+" to "+re}}}}return{state:"success",data:g}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qi.href,type:"GET",isLocal:Ys.test(qi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ks,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":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(c,g){return g?ss(ss(c,h.ajaxSettings),g):ss(h.ajaxSettings,c)},ajaxPrefilter:Zs(Xs),ajaxTransport:Zs(ns),ajax:function(c,g){typeof c=="object"&&(g=c,c=void 0),g=g||{};var D,W,ee,re,le,Ee,we,Re,Fe,He,Ie=h.ajaxSetup({},g),De=Ie.context||Ie,Je=Ie.context&&(De.nodeType||De.jquery)?h(De):h.event,Ye=h.Deferred(),Qe=h.Callbacks("once memory"),xt=Ie.statusCode||{},nt={},pt={},Tt="canceled",tt={readyState:0,getResponseHeader:function(at){var wt;if(we){if(!re)for(re={};wt=Vs.exec(ee);)re[wt[1].toLowerCase()+" "]=(re[wt[1].toLowerCase()+" "]||[]).concat(wt[2]);wt=re[at.toLowerCase()+" "]}return wt==null?null:wt.join(", ")},getAllResponseHeaders:function(){return we?ee:null},setRequestHeader:function(at,wt){return we==null&&(at=pt[at.toLowerCase()]=pt[at.toLowerCase()]||at,nt[at]=wt),this},overrideMimeType:function(at){return we==null&&(Ie.mimeType=at),this},statusCode:function(at){var wt;if(at)if(we)tt.always(at[tt.status]);else for(wt in at)xt[wt]=[xt[wt],at[wt]];return this},abort:function(at){var wt=at||Tt;return D&&D.abort(wt),Rt(0,wt),this}};if(Ye.promise(tt),Ie.url=((c||Ie.url||qi.href)+"").replace(is,qi.protocol+"//"),Ie.type=g.method||g.type||Ie.method||Ie.type,Ie.dataTypes=(Ie.dataType||"*").toLowerCase().match(X)||[""],Ie.crossDomain==null){Ee=j.createElement("a");try{Ee.href=Ie.url,Ee.href=Ee.href,Ie.crossDomain=bn.protocol+"//"+bn.host!=Ee.protocol+"//"+Ee.host}catch{Ie.crossDomain=!0}}if(Ie.data&&Ie.processData&&typeof Ie.data!="string"&&(Ie.data=h.param(Ie.data,Ie.traditional)),Js(Xs,Ie,g,tt),we)return tt;Re=h.event&&Ie.global,Re&&h.active++===0&&h.event.trigger("ajaxStart"),Ie.type=Ie.type.toUpperCase(),Ie.hasContent=!ba.test(Ie.type),W=Ie.url.replace(ts,""),Ie.hasContent?Ie.data&&Ie.processData&&(Ie.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Ie.data=Ie.data.replace(xn,"+")):(He=Ie.url.slice(W.length),Ie.data&&(Ie.processData||typeof Ie.data=="str
5ing")&&(W+=(Jn.test(W)?"&":"?")+Ie.data,delete Ie.data),Ie.cache===!1&&(W=W.replace(rs,"$1"),He=(Jn.test(W)?"&":"?")+"_="+$s.guid+++He),Ie.url=W+He),Ie.ifModified&&(h.lastModified[W]&&tt.setRequestHeader("If-Modified-Since",h.lastModified[W]),h.etag[W]&&tt.setRequestHeader("If-None-Match",h.etag[W])),(Ie.data&&Ie.hasContent&&Ie.contentType!==!1||g.contentType)&&tt.setRequestHeader("Content-Type",Ie.contentType),tt.setRequestHeader("Accept",Ie.dataTypes[0]&&Ie.accepts[Ie.dataTypes[0]]?Ie.accepts[Ie.dataTypes[0]]+(Ie.dataTypes[0]!=="*"?", "+Ks+"; q=0.01":""):Ie.accepts["*"]);for(Fe in Ie.headers)tt.setRequestHeader(Fe,Ie.headers[Fe]);if(Ie.beforeSend&&(Ie.beforeSend.call(De,tt,Ie)===!1||we))return tt.abort();if(Tt="abort",Qe.add(Ie.complete),tt.done(Ie.success),tt.fail(Ie.error),D=Js(ns,Ie,g,tt),!D)Rt(-1,"No Transport");else{if(tt.readyState=1,Re&&Je.trigger("ajaxSend",[tt,Ie]),we)return tt;Ie.async&&Ie.timeout>0&&(le=e.setTimeout(function(){tt.abort("timeout")},Ie.timeout));try{we=!1,D.send(nt,Rt)}catch(at){if(we)throw at;Rt(-1,at)}}function Rt(at,wt,dt,Nt){var zt,ar,ht,Ut,Vt,Yt=wt;we||(we=!0,le&&e.clearTimeout(le),D=void 0,ee=Nt||"",tt.readyState=at>0?4:0,zt=at>=200&&at<300||at===304,dt&&(Ut=va(Ie,tt,dt)),!zt&&h.inArray("script",Ie.dataTypes)>-1&&h.inArray("json",Ie.dataTypes)<0&&(Ie.converters["text script"]=function(){}),Ut=os(Ie,Ut,tt,zt),zt?(Ie.ifModified&&(Vt=tt.getResponseHeader("Last-Modified"),Vt&&(h.lastModified[W]=Vt),Vt=tt.getResponseHeader("etag"),Vt&&(h.etag[W]=Vt)),at===204||Ie.type==="HEAD"?Yt="nocontent":at===304?Yt="notmodified":(Yt=Ut.state,ar=Ut.data,ht=Ut.error,zt=!ht)):(ht=Yt,(at||!Yt)&&(Yt="error",at<0&&(at=0))),tt.status=at,tt.statusText=(wt||Yt)+"",zt?Ye.resolveWith(De,[ar,Yt,tt]):Ye.rejectWith(De,[tt,Yt,ht]),tt.statusCode(xt),xt=void 0,Re&&Je.trigger(zt?"ajaxSuccess":"ajaxError",[tt,Ie,zt?ar:ht]),Qe.fireWith(De,[tt,Yt]),Re&&(Je.trigger("ajaxComplete",[tt,Ie]),--h.active||h.event.trigger("ajaxStop")))}return tt},getJSON:function(c,g,D){return h.get(c,g,D,"json")},getScript:function(c,g){return h.get(c,void 0,g,"script")}}),h.each(["get","post"],function(c,g){h[g]=function(D,W,ee,re){return E(W)&&(re=re||ee,ee=W,W=void 0),h.ajax(h.extend({url:D,type:g,dataType:re,data:W,success:ee},h.isPlainObject(D)&&D))}}),h.ajaxPrefilter(function(c){var g;for(g in c.headers)g.toLowerCase()==="content-type"&&(c.contentType=c.headers[g]||"")}),h._evalUrl=function(c,g,D){return h.ajax({url:c,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(W){h.globalEval(W,g,D)}})},h.fn.extend({wrapAll:function(c){var g;return this[0]&&(E(c)&&(c=c.call(this[0])),g=h(c,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&g.insertBefore(this[0]),g.map(function(){for(var D=this;D.firstElementChild;)D=D.firstElementChild;return D}).append(this)),this},wrapInner:function(c){return E(c)?this.each(function(g){h(this).wrapInner(c.call(this,g))}):this.each(function(){var g=h(this),D=g.contents();D.length?D.wrapAll(c):g.append(c)})},wrap:function(c){var g=E(c);return this.each(function(D){h(this).wrapAll(g?c.call(this,D):c)})},unwrap:function(c){return this.parent(c).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(c){return!h.expr.pseudos.visible(c)},h.expr.pseudos.visible=function(c){return!!(c.offsetWidth||c.offsetHeight||c.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}};var G={0:200,1223:204},pe=h.ajaxSettings.xhr();y.cors=!!pe&&"withCredentials"in pe,y.ajax=pe=!!pe,h.ajaxTransport(function(c){var g,D;if(y.cors||pe&&!c.crossDomain)return{send:function(W,ee){var re,le=c.xhr();if(le.open(c.type,c.url,c.async,c.username,c.password),c.xhrFields)for(re in c.xhrFields)le[re]=c.xhrFields[re];c.mimeType&&le.overrideMimeType&&le.overrideMimeType(c.mimeType),!c.crossDomain&&!W["X-Requested-With"]&&(W["X-Requested-With"]="XMLHttpRequest");for(re in W)le.setRequestHeader(re,W[re]);g=function(Ee){return function(){g&&(g=D=le.onload=le.onerror=le.onabort=le.ontimeout=le.onreadystatechange=null,Ee==="abort"?le.abort():Ee==="error"?typeof le.status!="number"?ee(0,"error"):ee(le.status,le.statusText):ee(G[le.status]||le.status,le.statusText,(le.responseType||"text")!=="text"||typeof le.responseText!="string"?{binary:le.response}:{text:le.responseText},le.getAllResponseHeaders()))}},le.onload=g(),D=le.onerror=le.ontimeout=g("error"),le.onabort!==void 0?le.onabort=D:le.onreadystatechange=function(){le.readyState===4&&e.setTimeout(function(){g&&D()})},g=g("abort");try{le.send(c.hasContent&&c.data||null)}catch(Ee){if(g)throw Ee}},abort:function(){g&&g()}}}),h.ajaxPrefilter(function(c){c.crossDomain&&(c.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(c){return h.globalEval(c),c}}}),h.ajaxPrefilter("script",function(c){c.cache===void 0&&(c.cache=!1),c.crossDomain&&(c.type="GET")}),h.ajaxTransport("script",function(c){if(c.crossDomain||c.scriptAttrs){var g,D;return{send:function(W,ee){g=h("<script>").attr(c.scriptAttrs||{}
vendor: 4,594 bytes, line 5
5).prop({charset:c.scriptCharset,src:c.url}).on("load error",D=function(re){g.remove(),D=null,re&&ee(re.type==="error"?404:200,re.type)}),j.head.appendChild(g[0])},abort:function(){D&&D()}}}});var ge=[],Se=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var c=ge.pop()||h.expando+"_"+$s.guid++;return this[c]=!0,c}}),h.ajaxPrefilter("json jsonp",function(c,g,D){var W,ee,re,le=c.jsonp!==!1&&(Se.test(c.url)?"url":typeof c.data=="string"&&(c.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Se.test(c.data)&&"data");if(le||c.dataTypes[0]==="jsonp")return W=c.jsonpCallback=E(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,le?c[le]=c[le].replace(Se,"$1"+W):c.jsonp!==!1&&(c.url+=(Jn.test(c.url)?"&":"?")+c.jsonp+"="+W),c.converters["script json"]=function(){return re||h.error(W+" was not called"),re[0]},c.dataTypes[0]="json",ee=e[W],e[W]=function(){re=arguments},D.always(function(){ee===void 0?h(e).removeProp(W):e[W]=ee,c[W]&&(c.jsonpCallback=g.jsonpCallback,ge.push(W)),re&&E(ee)&&ee(re[0]),re=ee=void 0}),"script"}),y.createHTMLDocument=(function(){var c=j.implementation.createHTMLDocument("").body;return c.innerHTML="<form></form><form></form>",c.childNodes.length===2})(),h.parseHTML=function(c,g,D){if(typeof c!="string")return[];typeof g=="boolean"&&(D=g,g=!1);var W,ee,re;return g||(y.createHTMLDocument?(g=j.implementation.createHTMLDocument(""),W=g.createElement("base"),W.href=j.location.href,g.head.appendChild(W)):g=j),ee=q.exec(c),re=!D&&[],ee?[g.createElement(ee[1])]:(ee=yt([c],g,re),re&&re.length&&h(re).remove(),h.merge([],ee.childNodes))},h.fn.load=function(c,g,D){var W,ee,re,le=this,Ee=c.indexOf(" ");return Ee>-1&&(W=ui(c.slice(Ee)),c=c.slice(0,Ee)),E(g)?(D=g,g=void 0):g&&typeof g=="object"&&(ee="POST"),le.length>0&&h.ajax({url:c,type:ee||"GET",dataType:"html",data:g}).done(function(we){re=arguments,le.html(W?h("<div>").append(h.parseHTML(we)).find(W):we)}).always(D&&function(we,Re){le.each(function(){D.apply(this,re||[we.responseText,Re,we])})}),this},h.expr.pseudos.animated=function(c){return h.grep(h.timers,function(g){return c===g.elem}).length},h.offset={setOffset:function(c,g,D){var W,ee,re,le,Ee,we,Re,Fe=h.css(c,"position"),He=h(c),Ie={};Fe==="static"&&(c.style.position="relative"),Ee=He.offset(),re=h.css(c,"top"),we=h.css(c,"left"),Re=(Fe==="absolute"||Fe==="fixed")&&(re+we).indexOf("auto")>-1,Re?(W=He.position(),le=W.top,ee=W.left):(le=parseFloat(re)||0,ee=parseFloat(we)||0),E(g)&&(g=g.call(c,D,h.extend({},Ee))),g.top!=null&&(Ie.top=g.top-Ee.top+le),g.left!=null&&(Ie.left=g.left-Ee.left+ee),"using"in g?g.using.call(c,Ie):He.css(Ie)}},h.fn.extend({offset:function(c){if(arguments.length)return c===void 0?this:this.each(function(ee){h.offset.setOffset(this,c,ee)});var g,D,W=this[0];if(W)return W.getClientRects().length?(g=W.getBoundingClientRect(),D=W.ownerDocument.defaultView,{top:g.top+D.pageYOffset,left:g.left+D.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var c,g,D,W=this[0],ee={top:0,left:0};if(h.css(W,"position")==="fixed")g=W.getBoundingClientRect();else{for(g=this.offset(),D=W.ownerDocument,c=W.offsetParent||D.documentElement;c&&(c===D.body||c===D.documentElement)&&h.css(c,"position")==="static";)c=c.parentNode;c&&c!==W&&c.nodeType===1&&(ee=h(c).offset(),ee.top+=h.css(c,"borderTopWidth",!0),ee.left+=h.css(c,"borderLeftWidth",!0))}return{top:g.top-ee.top-h.css(W,"marginTop",!0),left:g.left-ee.left-h.css(W,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent;c&&h.css(c,"position")==="static";)c=c.offsetParent;return c||ze})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(c,g){var D=g==="pageYOffset";h.fn[c]=function(W){return oe(this,function(ee,re,le){var Ee;if(A(ee)?Ee=ee:ee.nodeType===9&&(Ee=ee.defaultView),le===void 0)return Ee?Ee[g]:ee[re];Ee?Ee.scrollTo(D?Ee.pageXOffset:le,D?le:Ee.pageYOffset):ee[re]=le},c,W,arguments.length)}}),h.each(["top","left"],function(c,g){h.cssHooks[g]=Nr(y.pixelPosition,function(D,W){if(W)return W=_t(D,g),Ar.test(W)?h(D).position()[g]+"px":W})}),h.each({Height:"height",Width:"width"},function(c,g){h.each({padding:"inner"+c,content:g,"":"outer"+c},function(D,W){h.fn[W]=function(ee,re){var le=arguments.length&&(D||typeof ee!="boolean"),Ee=D||(ee===!0||re===!0?"margin":"border");return oe(this,function(we,Re,Fe){var He;return A(we)?W.indexOf("outer")===0?we["inner"+c]:we.document.documentElement["client"+c]:we.nodeType===9?(He=we.documentElement,Math.max(we.body["scroll"+c],He["scroll"+c],we.body["offset"+c],He["offset"+c],He["client"+c])):
5Fe===void 0?h.css(we,Re,Ee):h.style(we,Re,Fe,Ee)},g,le?ee:void 0,le)}})}),h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(c,g){h.fn[g]=function(D){return this.on(g,D)}}),h.fn.extend({bind:function(c,g,D){return this.on(c,null,g,D)},unbind:function(c,g){return this.off(c,null,g)},delegate:function(c,g,D,W){return this.on(g,c,D,W)},undelegate:function(c,g,D){return arguments.length===1?this.off(c,"**"):this.off(g,c||"**",D)},hover:function(c,g){return this.on("mouseenter",c).on("mouseleave",g||c)}}),h.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(c,g){h.fn[g]=function(D,W){return arguments.length>0?this.on(g,null,D,W):this.trigger(g)}});var Ne=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;h.proxy=function(c,g){var D,W,ee;if(typeof g=="string"&&(D=c[g],g=c,c=D),!!E(c))return W=a.call(arguments,2),ee=function(){return c.apply(g||this,W.concat(a.call(arguments)))},ee.guid=c.guid=c.guid||h.guid++,ee},h.holdReady=function(c){c?h.readyWait++:h.ready(!0)},h.isArray=Array.isArray,h.parseJSON=JSON.parse,h.nodeName=P,h.isFunction=E,h.isWindow=A,h.camelCase=Te,h.type=B,h.now=Date.now,h.isNumeric=function(c){var g=h.type(c);return(g==="number"||g==="string")&&!isNaN(c-parseFloat(c))},h.trim=function(c){return c==null?"":(c+"").replace(Ne,"$1")};var je=e.jQuery,_e=e.$;return h.noConflict=function(c){return e.$===h&&(e.$=_e),c&&e.jQuery===h&&(e.jQuery=je),h},typeof r>"u"&&(e.jQuery=e.$=h),h})})(go)),go.exports}var u5=h5();const lt=Ur(u5);function Ol(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}function n6(t,e,r,n){for(var i=t.length,a=r+-1;++a<i;)if(e(t[a],a,t))return a;return-1}function p5(t){return t!==t}function f5(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}function Xo(t,e,r){return e===e?f5(t,e,r):n6(t,p5,r)}function s6(t,e){var r=t==null?0:t.length;return!!r&&Xo(t,e,0)>-1}var L8=H9(function(t,e,r,n){b1(e,Uo(e),t,n)}),m5="[object DOMException]",g5="[object Error]";function o6(t){if(!Go(t))return!1;var e=z9(t);return e==g5||e==m5||typeof t.message=="string"&&typeof t.name=="string"&&!v1(t)}var y5=$o(function(t,e){try{return S1(t,void 0,e)}catch(r){return o6(r)?r:new Error(r)}});function x5(t){return function(e){e=Ci(e);var r=J1(e)?cl(e):void 0,n=r?r[0]:e.charAt(0),i=r?e6(r,1).join(""):e.slice(1);return n[t]()+i}}var b5=x5("toUpperCase");function v5(t){return b5(Ci(t).toLowerCase())}function S5(t,e,r,n){for(var i=-1,a=t==null?0:t.length;++i<a;)r=e(r,t[i],i,t);return r}function a6(t){return function(e){return t?.[e]}}var w5={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"}
5,E5=a6(w5),C5=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,k5="\\u0300-\\u036f",A5="\\ufe20-\\ufe2f",j5="\\u20d0-\\u20ff",T5=k5+A5+j5,M5="["+T5+"]",R5=RegExp(M5,"g");function P5(t){return t=Ci(t),t&&t.replace(C5,E5).replace(R5,"")}var N5=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function _5(t){return t.match(N5)||[]}var I5=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function O5(t){return I5.test(t)}var l6="\\ud800-\\udfff",L5="\\u0300-\\u036f",F5="\\ufe20-\\ufe2f",D5="\\u20d0-\\u20ff",B5=L5+F5+D5,c6="\\u2700-\\u27bf",d6="a-z\\xdf-\\xf6\\xf8-\\xff",H5="\\xac\\xb1\\xd7\\xf7",z5="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",U5="\\u2000-\\u206f",G5=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h6="A-Z\\xc0-\\xd6\\xd8-\\xde",$5="\\ufe0e\\ufe0f",u6=H5+z5+U5+G5,p6="['â]",F8="["+u6+"]",W5="["+B5+"]",f6="\\d+",q5="["+c6+"]",m6="["+d6+"]",g6="[^"+l6+u6+f6+c6+d6+h6+"]",V5="\\ud83c[\\udffb-\\udfff]",Y5="(?:"+W5+"|"+V5+")",X5="[^"+l6+"]",y6="(?:\\ud83c[\\udde6-\\uddff]){2}",x6="[\\ud800-\\udbff][\\udc00-\\udfff]",Tn="["+h6+"]",K5="\\u200d",D8="(?:"+m6+"|"+g6+")",Z5="(?:"+Tn+"|"+g6+")",B8="(?:"+p6+"(?:d|ll|m|re|s|t|ve))?",H8="(?:"+p6+"(?:D|LL|M|RE|S|T|VE))?",b6=Y5+"?",v6="["+$5+"]?",J5="(?:"+K5+"(?:"+[X5,y6,x6].join("|")+")"+v6+b6+")*",Q5="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",e2="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",t2=v6+b6+J5,r2="(?:"+[q5,y6,x6].join("|")+")"+t2,i2=RegExp([Tn+"?"+m6+"+"+B8+"(?="+[F8,Tn,"$"].join("|")+")",Z5+"+"+H8+"(?="+[F8,Tn+D8,"$"].join("|")+")",Tn+"?"+D8+"+"+B8,Tn+"+"+H8,e2,Q5,f6,r2].join("|"),"g");function n2(t){return t.match(i2)||[]}function s2(t,e,r){return t=Ci(t),e=e,e===void 0?O5(t)?n2(t):_5(t):t.match(e)||[]}var o2="['â]",a2=RegExp(o2,"g");function S6(t){return function(e){return S5(s2(P5(e).replace(a2,"")),t,"")}}var l2=S6(function(t,e,r){return e=e.toLowerCase(),t+(r?v5(e):e)}),c2=Object.getOwnPropertySymbols,d2=c2?function(t){for(var e=[];t;)U9(e,E1(t)),t=C1(t);return e}:w1;function h2(t){return k1(t,A1,d2)}var u2=Object.prototype,p2=u2.hasOwnProperty;function f2(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&p2.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function m2(t,e){var r=G9(t.buffer);return new t.constructor(r,t.byteOffset,t.byteLength)}var g2=/\w*$/;function y2(t){var e=new t.constructor(t.source,g2.exec(t));return e.lastIndex=t.lastIndex,e}var z8=_8?_8.prototype:void 0,U8=z8?z8.valueOf:void 0;function x2(t){return U8?Object(U8.call(t)):{}}var b2="[object Boolean]",v2="[object Date]",S2="[object Map]",w2="[object Number]",E2="[object RegExp]",C2="[object Set]",k2="[object String]",A2="[object Symbol]",j2="[object ArrayBuffer]",T2="[object DataView]",M2="[object Float32Array]",R2="[object Float64Array]",P2="[object Int8Array]",N2="[object Int16Array]",_2="[object Int32Array]",I2="[object Uint8Array]",O2="[object Uint8ClampedArray]",L2="[object Uint16Array]",F2="[object Uint32Array]";function D2(t,e,r){var n=t.constructor;switch(e){case j2:return G9(t);case b2:case v2:return new n(+t);case T2:return m2(t);case M2:case R2:case P2:case N2:case _2:case I2:case O2:case L2:case F2:return j1(t,r);case S2:return new n;case w2:case k2:return new n(t);case E2:return y2(t);case C2:return new n;case A2:return x2(t)}}var B2="[object Map]";function H2(t){return Go(t)&&Wo(t)==B2}var G8=Po&&Po.isMap,z2=G8?jl(G8):H2,U2="[object Set]";function G2(t){return Go(t)&&Wo(t)==U2}var $8=Po&&Po.isSet,$2=$8?jl($8):G2,W2=1,w6="[object Arguments]",q2="[object Array]",V2="[object Boolean]",Y2="[object Date]",X2="[object Error]",E6="[object Function]",K2="[object GeneratorFunction]",Z2="[object Map]",J2="[object Number]",C6="[object Object]",Q2="[object RegExp]",e4="[object Set]",t4="[object String]",r4="[object Symbol]",i4="[object WeakMap]",n4="[object ArrayBuffer]",s4="[object DataView]",o4="[object Float32Array]",a4="[object Float64Array]",l4="[object Int8Array]",c4="[object Int16Array]",d4="[object Int32Array]",h4="[object Uint8Array]",u4="[object Uint8ClampedArray]",p4="[object Uint16Array]",f4="[object Uint32Array]",Zt={};Zt[w6]=Zt[q2]=Zt[n4]=Zt[s4]=Zt[V2]=Zt[Y2]=Zt[o4]=Zt[a4]=Zt[l4]=Zt[c4]=Zt[d4]=Zt[Z2]=Zt[J2]=Zt[C6]=Zt[Q2]=Zt[e4]=Zt[t4]=Zt[r4]=Zt[h4]=Zt[u4]=Zt[p4]=Zt[f4]=!0;Zt[X2]=Zt[E6]=Zt[i4]=!1;function yo(t,e,r,n,i,a){var o,f=e&W2;if(o!==void 0)return o;if(!Es(t))return t;var u=Fr(t);if(u)o=f2(t);else{var m=Wo(t),S=m==E6||m==K2;if($9(t))return T1(t,f);if(m==C6||m==w6||S&&!i)o=S?{}:M1(t);else{if(!Zt[m])return i?t:{};o=D2(t,m,f)}}a||(a=new R1);var w=a.get(t);if(w)return w;a.set(t,o),$2(t)?t.forEach(function(y){o.add(yo(y,e,r,y,t,a))}):z2(t)&&t.forEach(function(y,E){o.set(E,yo(y,e,r,E,t,a))});var x=P1,T=u?void 0:x(t);return Ol(T||t,function(y,E){T&&(E=y,y=t[E]),W9(o,E,yo(y,e,r,E,t,a))}),o}var m4=1,g4=4;function No(t){return yo(t,m4|g4)}function Pn(){var t=arguments.length;if(!t)return[];for(var e=Array(t-1),r=arguments[0],n=t;n--;)e[n-1]=arguments[n];return U9(Fr(r)?N1(r):[r],Pl(e))}function y4(t,e,r,n){for(var i=-1,a=t==null?0:t.length;++i<a;){var o=t[i];e(n,o,r(o),t)}return n}function x4(t,e,r,n){return Nl(t,function(i,a,o){e(n,i,r(i),o)}),n}function Ll(t,e){return function(r,n){var i=Fr(r)?y4:x4,a=e?e():{};return i(r,t,ri(n),a)}}var b4=Object.prototype,v4=b4.hasOwnProperty,S4=Ll(function(t,e,r){v4.call(t,r)?++t[r]:qo(t,r,1)}),ka=function(){return _1.Date.now()},w4="Expected a function",E4=Math.max,C4=Math.min;function Fl(t,e,r){var n,i,a,o,f,u,m=0,S=!1,w=!1,x=!0;if(typeof t!="function")throw new TypeError(w4);e=I8(e)||0,Es(r)&&(S=!!r.leading,w="maxWait"in r,a=w?E4(I8(r.maxWait)||0,e):a,x="trailing"in r?!!r.trailing:x);function T(C){var h=n,H=i;return n=i=void 0,m=C,o=t.apply(H,h),o}function y(C){return m=C,f=setTimeout(j,e),S?T(C):o}function E(C){var h=C-u,H=C-m,P=e-h;return w?C4(P,a-H):P}function A(C){var h=C-u,H=C-m;return u===void 0||h>=e||h<0||w&&H>=a}function j(){var C=ka();if(A(C))return R(C);f=setTimeout(j,E(C))}function R(C){return f=void 0,x&&n?T(C):(n=i=void 0,o)}function k(){f!==void 0&&clearTimeout(f),m=0,n=u=i=f=void 0}function B(){return f===void 0?o:R(ka())}function L(){var C=ka(),h=A(C);if(n=arguments,i=this,u=C,h){if(f===void 0)return y(u);if(w)return clearTimeout(f),f=setTimeout(j,e),T(u)}return f===void 0&&(f=setTimeout(j,e)),o}return L.cancel=k,L.flush=B,L}var k6=H9(function(t,e,r,n){I1(t,e,r,n)}),Dl=$o(function(t,e){return Q1(t,1,e)}),k4=200;function A4(t,e,r,n){var i=-1,a=s6,o=!0,f=t.length,u=[],m=e.length;if(!f)return u;e.length>=k4&&(a=V9,o=!1,e=new q9(e));e:for(;++i<f;){var S=t[i],w=S;if(S=S!==0?S:0,o&&w===w){for(var x=m;x--;)if(e[x]===w)continue e;u.push(S)}else a(e,w,n)||u.push(S)}return u}function A6(t){return typeof t=="function"?t:Tl}function qr(t,e){var r=Fr(t)?Ol:Nl;return r(t,A6(e))}var j4={"&":"&","<":"<",">":">",'"':""","'":"'"},T4=a6(j4),j6=/[&<>"']/g,M4=RegExp(j6.source);function R4(t){return t=Ci(t),t&&M4.test(t)?t.replace(j6,T4):t}var T6=/[\\^$.*+?()[\]{}
5|]/g,P4=RegExp(T6.source);function N4(t){return t=Ci(t),t&&P4.test(t)?t.replace(T6,"\\$&"):t}function ki(t,e){var r=Fr(t)?O1:e5;return r(t,ri(e))}function _4(t){return function(e,r,n){var i=Object(e);if(!Ml(e)){var a=ri(r);e=Uo(e),r=function(f){return a(i[f],f,i)}}var o=t(e,r,n);return o>-1?i[a?e[o]:o]:void 0}}var I4=Math.max;function dl(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:Cs(r);return i<0&&(i=I4(n+i,0)),n6(t,ri(e),i)}var Bl=_4(dl);function O4(t,e){return Pl(hr(t,e))}var L4=Object.prototype,F4=L4.hasOwnProperty,M6=Ll(function(t,e,r){F4.call(t,r)?t[r].push(e):qo(t,r,[e])});function D4(t,e){return t>e}var B4="[object String]";function H4(t){return typeof t=="string"||!Fr(t)&&Go(t)&&z9(t)==B4}var z4=Math.max;function Tr(t,e,r,n){t=Ml(t)?t:Rl(t),r=r?Cs(r):0;var i=t.length;return r<0&&(r=z4(i+r,0)),H4(t)?r<=i&&t.indexOf(e,r)>-1:!!i&&Xo(t,e,r)>-1}var U4="[object Map]",G4="[object Set]",$4=Object.prototype,W4=$4.hasOwnProperty;function q4(t){if(t==null)return!0;if(Ml(t)&&(Fr(t)||typeof t=="string"||typeof t.splice=="function"||$9(t)||L1(t)||F1(t)))return!t.length;var e=Wo(t);if(e==U4||e==G4)return!t.size;if(D1(t))return!B1(t).length;for(var r in t)if(W4.call(t,r))return!1;return!0}var V4=S6(function(t,e,r){return t+(r?"-":"")+e.toLowerCase()}),Y4=Ll(function(t,e,r){qo(t,r,e)});function X4(t,e){return t<e}function K4(t,e){var r={};return e=ri(e),H1(t,function(n,i,a){qo(r,e(n,i,a),n)}),r}function R6(t,e,r){for(var n=-1,i=t.length;++n<i;){var a=t[n],o=e(a);if(o!=null&&(f===void 0?o===o&&!al(o):r(o,f)))var f=o,u=a}return u}function P6(t,e){return t&&t.length?R6(t,ri(e),D4):void 0}function N6(t){return t&&t.length?R6(t,Tl,X4):void 0}function Z4(t,e,r,n){if(!Es(t))return t;e=Y9(e,t);for(var i=-1,a=e.length,o=a-1,f=t;f!=null&&++i<a;){var u=z1(e[i]),m=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return t;if(i!=o){var S=f[u];m=void 0,m===void 0&&(m=Es(S)?S:U1(e[i+1])?[]:{})}W9(f,u,m),f=f[u]}return t}function _6(t,e,r){for(var n=-1,i=e.length,a={};++n<i;){var o=e[n],f=X9(t,o);r(f,o)&&Z4(a,Y9(o,t),f)}return a}function J4(t,e){if(t==null)return{};var r=mo(h2(t),function(n){return[n]});return e=ri(e),_6(t,r,function(n,i){return e(n,i[0])})}function Q4(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function ed(t,e){if(t!==e){var r=t!==void 0,n=t===null,i=t===t,a=al(t),o=e!==void 0,f=e===null,u=e===e,m=al(e);if(!f&&!m&&!a&&t>e||a&&o&&u&&!f&&!m||n&&o&&u||!r&&u||!i)return 1;if(!n&&!a&&!m&&t<e||m&&r&&i&&!n&&!a||f&&r&&i||!o&&i||!u)return-1}return 0}function td(t,e,r){for(var n=-1,i=t.criteria,a=e.criteria,o=i.length,f=r.length;++n<o;){var u=ed(i[n],a[n]);if(u){if(n>=f)return u;var m=r[n];return u*(m=="desc"?-1:1)}}return t.index-e.index}function I6(t,e,r){e.length?e=mo(e,function(a){return Fr(a)?function(o){return X9(o,a.length===1?a[0]:a)}:a}):e=[Tl];var n=-1;e=mo(e,jl(ri));var i=t5(t,function(a,o,f){var u=mo(e,function(m){return m(a)});return{criteria:u,index:++n,value:a}});return Q4(i,function(a,o){return td(a,o,r)})}function rd(t,e,r,n){return t==null?[]:(Fr(e)||(e=e==null?[]:[e]),r=r,Fr(r)||(r=r==null?[]:[r]),I6(t,e,r))}function id(t,e){return _6(t,e,function(r,n){return G1(t,n)})}var Hl=r5(function(t,e){return t==null?{}:id(t,e)}),nd=Array.prototype,sd=nd.reverse;function od(t){return t==null?t:sd.call(t)}function O6(t,e,r){var n=t==null?0:t.length;return n?(r&&typeof r!="number"&&ll(t,e,r)?(e=0,r=n):(e=e==null?0:Cs(e),r=r===void 0?n:Cs(r)),i5(t,e,r)):[]}function ad(t,e){var r;return Nl(t,function(n,i,a){return r=e(n,i,a),!r}),!!r}function In(t,e,r){var n=Fr(t)?$1:ad;return n(t,ri(e))}var On=$o(function(t,e){if(t==null)return[];var r=e.length;return r>1&&ll(t,e[0],e[1])?e=[]:r>2&&ll(e[0],e[1],e[2])&&(e=[e[0]]),I6(t,Pl(e),[])});function ks(t,e){return t&&t.length?n5(t,ri(e)):0}var L6=Object.prototype,ld=L6.hasOwnProperty;function W8(t,e,r,n){return t===void 0||W1(t,L6[r])&&!ld.call(n,r)?e:t}var cd={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function dd(t){return"\\"+cd[t]}var F6=/<%=([\s\S]+?)%>/g,hd=/<%-([\s\S]+?)%>/g,ud=/<%([\s\S]+?)%>/g,q8={escape:hd,evaluate:ud,interpolate:F6,variable:"",imports:{_:{escape:R4}}},pd="Invalid `variable` option passed into `_.template`",fd="Invalid `imports` option passed into `_.template`",md=/\b__p \+= '';/g,gd=/\b(__p \+=) '' \+/g,yd=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V8=/[()=,{}\[\]\/\s]/,xd=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ro=/($^)/,bd=/['\n\r\u2028\u2029\\]/g,vd=Object.prototype,Y8=vd.hasOwnProperty;function zl(t,e,r){var n=q8.imports._.templateSettings||q8;t=Ci(t),e=L8({},e,n,W8);var i=L8({},e.imports,n.imports,W8),a=Uo(i),o=q1(i,a);Ol(a,function(A){if(V8.test(A))throw new Error(fd)});var f,u,m=0,S=e.interpolate||ro,w="__p += '",x=RegExp((e.escape||ro).source+"|"+S.source+"|"+(S===F6?xd:ro).source+"|"+(e.evaluate||ro).source+"|$","g"),T=Y8.call(e,"sourceURL")?"//# sourceURL="+(e.s
5ourceURL+"").replace(/\s/g," ")+` 6`:"";t.replace(x,function(A,j,R,k,B,L){return R||(R=k),w+=t.slice(m,L).replace(bd,dd),j&&(f=!0,w+=`' + 7__e(`+j+`) + 8'`),B&&(u=!0,w+=`'; 9`+B+`; 10__p += '`),R&&(w+=`' + 11((__t = (`+R+`)) == null ? '' : __t) + 12'`),m=L+A.length,A}),w+=`'; 13`;var y=Y8.call(e,"variable")&&e.variable;if(!y)w=`with (obj) { 14`+w+` 15} 16`;else if(V8.test(y))throw new Error(pd);w=(u?w.replace(md,""):w).replace(gd,"$1").replace(yd,"$1;"),w="function("+(y||"obj")+`) { 17`+(y?"":`obj || (obj = {}); 18`)+"var __t, __p = ''"+(f?", __e = _.escape":"")+(u?`, __j = Array.prototype.join; 19function print() { __p += __j.call(arguments, '') } 20`:`; 21`)+w+`return __p 22}`;var E=y5(function(){return Function(a,T+"return "+w).apply(void 0,o)});if(E.source=w,o6(E))throw E;return E}var Sd="Expected a function";function D6(t,e,r){var n=!0,i=!0;if(typeof t!="function")throw new TypeError(Sd);return Es(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Fl(t,e,{leading:n,maxWait:e,trailing:i})}var wd=9007199254740991,Aa=4294967295,Ed=Math.min;function B6(t,e){if(t=Cs(t),t<1||t>wd)return[];var r=Aa,n=Ed(t,Aa);e=A6(e),t-=Aa;for(var i=V1(n,e);++r<t;)e(r);return i}function Cd(t,e){for(var r=t.length;r--&&Xo(e,t[r],0)>-1;);return r}function kd(t,e){for(var r=-1,n=t.length;++r<n&&Xo(e,t[r],0)>-1;);return r}function Ad(t,e,r){if(t=Ci(t),t&&e===void 0)return s5(t);if(!t||!(e=Y1(e)))return t;var n=cl(t),i=cl(e),a=kd(n,i),o=Cd(n,i)+1;return e6(n,a,o).join("")}var jd=1/0,Td=Ca&&1/K9(new Ca([,-0]))[1]==jd?function(t){return new Ca(t)}:o5,Md=200;function H6(t,e,r){var n=-1,i=s6,a=t.length,o=!0,f=[],u=f;if(a>=Md){var m=e?null:Td(t);if(m)return K9(m);o=!1,i=V9,u=new q9}else u=e?[]:f;e:for(;++n<a;){var S=t[n],w=e?e(S):S;if(S=S!==0?S:0,o&&w===w){for(var x=u.length;x--;)if(u[x]===w)continue e;e&&u.push(w),f.push(S)}else i(u,w,r)||(u!==f&&u.push(w),f.push(S))}return f}function vi(t){return t&&t.length?H6(t):[]}function Rd(t,e){return t&&t.length?H6(t,ri(e)):[]}var Pd=0;function Nd(t){var e=++Pd;return Ci(t)+e}var _d=$o(function(t,e){return X1(t)?A4(t,e):[]});const Id=()=>{lt.ajaxPrefilter((t,e,r)=>{if(!t.crossDomain){const n=Vo();n&&r.setRequestHeader("X-CSRF-Token",n)}})},Od=(t,e)=>kr({url:`/explorer/awesome/${t}`,data:{q:e},dataType:"json"}),Ld=(t,e)=>kr({url:`/explorer/autocomplete/${t}`,data:{q:e},dataType:"json"}),Fd=t=>kr({method:"post",url:t,dataType:"json"}),Dd=t=>kr({method:"get",url:t,dataType:"html"}),Bd=t=>kr({url:t}),Hd=t=>kr({url:t,dataType:"json"}),zd=t=>kr({method:"get",url:t}),Ud=(t,e)=>kr({method:"patch",url:t,data:{title:e}}),Gd=()=>kr({method:"get",url:"/explorer/saved_searches"}),$d=t=>kr({method:"post",url:"/explorer/identifier_lists",data:{identifier_list:{identifiers:t}}}),Wd=t=>kr({method:"post",url:"/explorer/pubmed_searches",data:{pubmed_search:{query:t}}}),qd=t=>kr({method:"post",url:"/explorer/journal_lists",data:{journal_list:{issns:t}}}),Vd=()=>kr({method:"get",url:"/explorer/admin/csv_integration"}),Yd=t=>lt.Deferred(function(e){(async()=>{try{const r=await kr({method:"post",url:"/explorer/admin/s3_presigned_url",dataType:"json"});if(!r||!r.url)throw new Error("Failed to retrieve S3 presigned URL from backend");const n=await fetch(r.url,{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!n.ok)throw new Error(`S3 upload of ${r.filename} failed: ${n.statusText}`);const i=await kr({method:"post",url:"/explorer/admin/persist_upload_info",dataType:"json",data:{filename:r.filename,byte_size:JSON.stringify(t).length}});e.resolve(i)}catch(r){e.reject(r)}})()}).promise(),Xd=t=>kr({method:"post",url:"/explorer/admin/publish_dataset",dataType:"json",data:{dataset_id:t}}),Kd=t=>z6({method:"get",url:`/explorer/admin/publishing_progress/${t}`}),z6=t=>{switch(t.method&&t.method.toLowerCase()){case"put":case"post":case"delete":t.data||(t.data={}),t.data[a5()]=Vo()}return lt.ajax(t)},kr=t=>z6(t).fail(e=>{let r,n;if(!(e.readyState===0||e.status===0))return e.status===401?window.location.reload():e.status===400?(r=e.responseJSON,r?.errors?(n=Zd(r.errors),window.alert(n)):window.alert(I18n.t("frontend.error"))):window.alert(
22I18n.t("frontend.error"))}),Zd=t=>hr(t,(e,r)=>hr(e,n=>`${r} ${n}`).join(` 23`)).join(` 24`),Si={setup:Id,doAwesomeSearch:Od,doAutocompleteSearch:Ld,saveSearch:Fd,loadResults:Dd,loadMentionTimeline:Bd,loadJournalsAnalysis:Hd,loadAnalysisTab:zd,updateSavedSearchTitle:Ud,updateSavedSearchList:Gd,createIdentifierList:$d,createPubmedSearch:Wd,createJournalList:qd,publishExistingDataset:Xd,saveCSVUpload:Yd,checkPublishingProgress:Kd,getCSVIntegrationPanel:Vd},Jd=()=>{Qd()},Qd=()=>{const t=document.querySelector("a.skip-to-content");t&&t.addEventListener("click",e=>{const r=t.getAttribute("href").replace("#",""),n=document.getElementById(r);n&&(e.preventDefault(),n.focus())})},eh=function(){window.addEventListener("load",()=>{document.querySelector(".main-sidebar .sign-in")?.addEventListener("click",()=>{Analytics.trackEvent("Sidebar: Sign In Clicked")});const t=document.getElementById("ModulesMenu-button");if(!t)return;const e=document.getElementById(t.getAttribute("popovertarget")),r=()=>{const n=e.classList.toggle("is-open");t.setAttribute("aria-expanded",n.toString())};e?.addEventListener("toggle",()=>r()),t?.addEventListener("click",n=>{const i=n.currentTarget,{top:a,right:o}=i.getBoundingClientRect();"showPopover"in e||r(),Object.assign(e.style,{top:`${a}px`,left:`${o}px`})})})},th=t=>{if(t.status>=200&&t.status<300)return t;if(t.status===401)return window.location.reload(),new Promise(()=>{});{let e=new Error(t.statusText);throw e.response=t,e}},Ms=(t,e)=>{const r={credentials:"same-origin",headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/json","X-CSRF-Token":Vo()}};return Z9(r,e),fetch(t,r).then(th)},rh=function(){lt(document).on("submit",".institution-form form",function(){let t=lt(this).find("option:selected").text();Analytics.trackEvent("changeInstitution",{institution:t})}),lt(document).on("submit",".account-settings-form form",()=>Analytics.trackEvent("changePassword")),lt(document).on("click",".api-keys-form .api-documentation-description a",()=>{Analytics.trackEvent("viewAPIDocumentation")}),window.addEventListener("DOMContentLoaded",ih),window.addEventListener("DOMContentLoaded",nh)},ih=function(){let t=lt(".api-keys-form");t.length&&t.find(".copy-button").each((e,r)=>{new i6(r).on("success",()=>X8(lt(r),I18n.t("settings.api.copied"))).on("error",()=>X8(lt(r),I18n.t("settings.api.manual_copy")))})},X8=function(t,e){let r=lt("<div class='mini-tooltip'/>").text(e);t.before(r),Dl(()=>r.addClass("visible")),Dr(()=>{r.removeClass("visible"),Dr(()=>r.remove(),1e3)},1e3)},nh=()=>{document.querySelector(".revoke-button a[data-confirm]")?.addEventListener("click",t=>{t.preventDefault();const e=t.target.dataset.confirm;confirm(e)&&(Analytics.trackEvent("revokeAPIKeys"),Ms(t.target.href,{method:"PATCH"}).then(r=>{r.ok&&r.redirected&&window.location.replace(r.url)}))})},sh=4e3;class oh{constructor(e){this.id=e,this.jobID=null}publish(e){Si.publishExistingDataset(this.id).done(r=>{this.jobID=r.job_id,this.deferProgressCheck(e.onComplete,e.onError,e.onProgress)}).fail(e.onError)}deferProgressCheck(e,r,n){Dr(()=>{this.progressCheck(e,r,n)},sh)}progressCheck(e,r,n){Si.checkPublishingProgress(this.jobID).done((i,a,o)=>{o.status===202?(n&&n(),this.deferProgressCheck(e,r,n)):e&&e(o.status)}).fail(r)}}const ah="modulepreload",lh=function(t){return"/explorer/vite/"+t},K8={},ni=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let u=function(m){return Promise.all(m.map(S=>Promise.resolve(S).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),f=o?.nonce||o?.getAttribute("nonce");i=u(r.map(m=>{if(m=lh(m),m in K8)return;K8[m]=!0;const S=m.endsWith(".css"),w=S?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${w}`))return;const x=document.createElement("link");if(x.rel=S?"stylesheet":ah,S||(x.as="script"),x.crossOrigin="",x.href=m,f&&x.setAttribute("nonce",f),document.head.appendChild(x),S)return new Promise((T,y)=>{x.addEventListener("load",T),x.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${m}`)))})}))}function a(o){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=o,window.dispatchEvent(f),!f.defaultPrevented)throw o}return i.then(o=>{for(const f of o||[])f.status==="rejected"&&a(f.reason);return e().catch(a)})},ch=(t,e,r)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((i,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};window.reactHelperComponents=[];const dh=()=>window.addEventListener("DOMContentLoaded",hh),hh=function(){return window.reactHelperComponents=[],qr(d
24ocument.querySelectorAll("[data-react-component]:not(.installed)"),t=>{let e=new uh(t);e.install(),window.reactHelperComponents.push(e),t.classList.add("installed")})},U6=function(t,e,r={}){e.render(s.jsx(t,{...r}))};class uh{constructor(e){this.element=e,this.componentClassName=this.element.getAttribute("data-react-component"),this.componentProps=JSON.parse(this.element.getAttribute("data-react-props"))}async install(){this.componentClass=await ch(Object.assign({
24"../components/AutocompleteFieldResults.jsx":()=>ni(()=>import("./AutocompleteFieldResults-DDPB-xt4.js"),__vite__mapDeps([0,1,2,3])),
24"../components/AutocompleteSingleField.jsx":()=>ni(()=>import("./AutocompleteSingleField-DCcGCKZm.js"),__vite__mapDeps([4,1,2,0,3])),
24"../components/Badge.jsx":()=>ni(()=>import("./Badge-u9wzrbU_.js"),__vite__mapDeps([5,1,2])),
24"../components/DatasetPublishProgressPanel.jsx":()=>ni(()=>Promise.resolve().then(()=>Mu),void 0),
24"../components/DepartmentHierarchy.jsx":()=>ni(()=>import("./DepartmentHierarchy-CHfU4A_S.js"),__vite__mapDeps([6,1,2])),
24"../components/FooterLinks.jsx":()=>ni(()=>Promise.resolve().then(()=>Wm),void 0),
24"../components/ImageWithFallback.jsx":()=>ni(()=>Promise.resolve().then(()=>Cx),void 0),
24"../components/LoadingSpinner.jsx":()=>ni(()=>Promise.resolve().then(()=>ku),void 0),
24"../components/Sidebar.jsx":()=>ni(()=>import("./Sidebar-CRnLoDbb.js"),__vite__mapDeps([7,1,2,3,8])),
24"../components/withLocation.jsx":()=>ni(()=>Promise.resolve().then(()=>$m),void 0)
24}),`../components/${this.componentClassName}.jsx`,3),this.componentClass.default&&(this.componentClass=this.componentClass.default);const e=Yo.createRoot(this.element);this.component=it.createElement(this.componentClass,this.componentProps),e.render(this.component)}}class ph extends it.Component{render(){return s.jsx("div",{className:"DatasetUploadPopover-ProgressBar",children:hr(I18n.t("dataset_upload.stages"),this.renderStage)})}renderStage=(e,r)=>{const n=["stage",`stage-${r}`];let i=parseInt(r);i===this.props.currentStage&&n.push("active"),i<this.props.currentStage&&n.push("previous"),i>this.props.currentStage&&n.push("future");let a=s.jsxs("button",{type:"button",className:"stage-inner",onClick:()=>this.selectStage(i),children:[s.jsx("span",{className:"status"}),s.jsx("span",{className:"label",children:e})]}),o=s.jsxs("span",{className:"stage-inner",children:[s.jsx("span",{className:"status"}),s.jsx("span",{className:"label",children:e})]});return s.jsx("div",{className:n.join(" "),children:i<this.props.currentStage?a:o},r)};selectStage=e=>this.props.onSelectStage(e)}class fh extends it.Component{render(){return s.jsx("div",{className:"DatasetUploadPopover-IntroPanel DatasetUploadPopover-ContentPanel",children:s.jsxs("div",{className:"DatasetUploadPopover-documentation-panel",children:[s.jsxs("div",{className:"header-icon",children:[s.jsx("h2",{children:"Create your data implementation"}),s.jsx("a",{className:"help",href:"https://help.altmetric.com/support/solutions/articles/6000240718-csv-uploader-tool-preparing-the-data",target:"_blank",rel:"noopener noreferrer",children:"Help"})]}),s.jsx("p",{children:"This wizard will take you through the process of creating a data implementation for your instance of Altmetric Explorer for Institutions."}),s.jsx("p",{children:"First, you will need to upload a CSV spreadsheet file that lists your institution's groups or departments. Afterwards, you will need to upload another CSV spreadsheet that contains a list of research outputs (e.g., articles, books, datasets, etc.) to include in your data implementation and associate with your institution."}),s.jsxs("p",{children:["For details about how dataset uploads work, example spreadsheets, or additional help to create your dataset,"," ",s.jsx("a",{href:"https://help.altmetric.com/support/solutions/articles/6000240718-csv-uploader-tool-preparing-the-data",target:"_blank",rel:"noopener noreferrer",children:"click here to read our support documentation."})]}),s.jsx("p",{children:'Click the "next" button below to continue.'})]})})}}var xo={exports:{}};var mh=xo.exports,Z8;function gh(){return Z8||(Z8=1,(function(t,e){((r,n)=>{t.exports=n()})(mh,function r(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},i=!n.document&&!!n.postMessage,a=n.IS_PAPA_WORKER||!1,o={},f=0,u={};function m(H){return H.charCodeAt(0)===65279?H.slice(1):H}function S(H){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(P){var N=L(P);N.chunkSize=parseInt(N.chunkSize),P.step||P.chunk||(N.chunkSize=null),this._handle=new E(N),(this._handle.streamer=this)._config=N}).call(this,H),this.parseChunk=function(P,N){var I=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<I){let l=this._config.newline;l||(F=this._config.quoteChar||'"',l=this._handle.guessLineEndings(P,F)),P=[...P.split(l).slice(I)].join(l)}this.isFirstChunk&&h(this._config.beforeFirstChunk)&&(F=this._config.beforeFirstChunk(P))!==void 0&&(P=F),this.isFirstChunk=!1,this._halted=!1;var I=this._partialLine+P,F=(this._partialLine="",this._handle.parse(I,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(P=F.meta.cursor,I=(this._finished||(this._partialLine=I.substring(P-this._baseIndex),this._baseIndex=P),F&&F.data&&(this._rowCount+=F.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),a)n.postMessage({results:F,workerId:u.WORKER_ID,finished:I});else if(h(this._config.chunk)&&!N){if(this._config.chunk(F,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=F=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(F.data),this._completeResults.errors=this._completeResults.errors.concat(F.errors),this._completeResults.meta=F.meta),this._completed||!I||!h(this._config.complete)||F&&F.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),I||F&&F.meta.paused||this._nextChunk(),F}this._halted=!0},this._sendError=function(P){h(this._config.error)?this._config.error(P):a&&this._config.error&&n.postMessage({workerId:u.WORKER_ID,error:P,finished:!1})}}function w(H){var P;(H=H||{}).chunkSize||(H.chunkSize=u.RemoteChunkSize),S.call(this,H),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(N){this._input=N,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(P=new XMLHttpRequest,this._config.withCredentials&&(P.withCredentials=this._config.withCredentials),i||(P.onload=C(this._chunkLoaded,this),P.onerror=C(this._chunkError,this)),P.ontimeout=C(this._chunkTimeout,this),P.open(this._config.downloadRequestBody?"POST":"GET",this._input,!i),this._config.downloadTimeout&&!i&&(P.timeout=this._config.downloadTimeout),this._config.downloadRequestHeaders){var N,I=this._config.downloadRequestHeaders;for(N in I)P.setRequestHeader(N,I[N])}var F;this._config.chunkSize&&(F=this._start+this._config.chunkSize-1,P.setRequestHeader("Range","bytes="+this._start+"-"+F));try{P.send(this._config.downloadRequestBody)}catch(l){this._chunkError(l.message)}i&&P.status===0&&this._chunkError()}},this._chunkLoaded=function(){P.readyState===4&&(P.status<200||400<=P.status?this._chunkError():(this._start+=this._config.chunkSize||P.responseText.length,this._finished=!this._config.chunkSize||this._start>=(N=>(N=N.getResponseHeader("Content-Range"))!==null?parseInt(N.substring(N.lastIndexOf("/")+1)):-1)(P),this.parseChunk(P.responseText)))},this._chunkError=function(N){N=P.statusText||N,this._sendError(new Error(N))},this._chunkTimeout=function(){this._chunkError("Request timed out after "+this._config.downloadTimeout+"ms")}}function x(H){(H=H||{}).chunkSize||(H.chunkSize=u.LocalChunkSize),S.call(this,H);var P,N,I=typeof FileReader<"u";this.stream=function(F){this._input=F,N=F.slice||F.webkitSlice||F.mozSlice,I?((P=new FileReader).onload=C(this._chunkLoaded,this),P.onerror=C(this._chunkError,this)):P=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var F=this._input,l=(this._config.chunkSize&&(l=Math.min(this._start+this._config.chunkSize,this._input.size),F=N.call(F,this._start,l)),P.readAsText(F,this._config.encoding));I||this._chunkLoaded({target:{result:l}})},this._chunkLoaded=function(F){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(F.target.result)},this._chunkError=function(){this._sendError(P.error)}}function T(H){var P;S.call(this,H=H||{}),this.stream=function(N){return P=N,this._nextChunk()},this._nextChunk=function(){var N,I;
24if(!this._finished)return N=this._config.chunkSize,P=N?(I=P.substring(0,N),P.substring(N)):(I=P,""),this._finished=!P,this.parseChunk(I)}}function y(H){S.call(this,H=H||{});var P=[],N=!0,I=!1;this.pause=function(){S.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){S.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(F){this._input=F,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){I&&P.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),P.length?this.parseChunk(P.shift()):N=!0},this._streamData=C(function(F){try{P.push(typeof F=="string"?F:F.toString(this._config.encoding)),N&&(N=!1,this._checkIsFinished(),this.parseChunk(P.shift()))}catch(l){this._streamError(l)}},this),this._streamError=C(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=C(function(){this._streamCleanUp(),I=!0,this._streamData("")},this),this._streamCleanUp=C(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function E(H){var P,N,I,F,l=Math.pow(2,53),d=-l,p=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,v=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,b=this,M=0,O=0,_=!1,U=!1,q=[],z={data:[],errors:[],meta:{}};function J(V){return H.skipEmptyLines==="greedy"?V.join("").trim()==="":V.length===1&&V[0].length===0}function te(){if(z&&I&&(xe("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+u.DefaultDelimiter+"'"),I=!1),H.skipEmptyLines&&(z.data=z.data.filter(function(ae){return!J(ae)})),ce()){let ae=function($){q.push($)};if(z)if(Array.isArray(z.data[0])){for(var V=0;ce()&&V<z.data.length;V++)z.data[V].forEach(ae);z.data.splice(0,1)}else z.data.forEach(ae)}function Y(ae,$){for(var K=H.header?{}:[],Z=0;Z<ae.length;Z++){var se=Z,ie=ae[Z],ie=((ne,oe)=>(ue=>(H.dynamicTypingFunction&&H.dynamicTyping[ue]===void 0&&(H.dynamicTyping[ue]=H.dynamicTypingFunction(ue)),(H.dynamicTyping[ue]||H.dynamicTyping)===!0))(ne)?oe==="true"||oe==="TRUE"||oe!=="false"&&oe!=="FALSE"&&((ue=>{if(p.test(ue)&&(ue=parseFloat(ue),d<ue&&ue<l))return 1})(oe)?parseFloat(oe):v.test(oe)?new Date(oe):oe===""?null:oe):oe)(se=H.header?Z>=q.length?"__parsed_extra":q[Z]:se,ie=H.transform?H.transform(ie,se):ie);se==="__parsed_extra"?(K[se]=K[se]||[],K[se].push(ie)):K[se]=ie}return H.header&&(Z>q.length?xe("FieldMismatch","TooManyFields","Too many fields: expected "+q.length+" fields but parsed "+Z,O+$):Z<q.length&&xe("FieldMismatch","TooFewFields","Too few fields: expected "+q.length+" fields but parsed "+Z,O+$)),K}var X;z&&(H.header||H.dynamicTyping||H.transform)&&(X=1,!z.data.length||Array.isArray(z.data[0])?(z.data=z.data.map(Y),X=z.data.length):z.data=Y(z.data,0),H.header&&z.meta&&(z.meta.fields=q),O+=X)}function ce(){return H.header&&q.length===0}function xe(V,Y,X,ae){V={type:V,code:Y,message:X},ae!==void 0&&(V.row=ae),z.errors.push(V)}h(H.step)&&(F=H.step,H.step=function(V){z=V,ce()?te():(te(),z.data.length!==0&&(M+=V.data.length,H.preview&&M>H.preview?N.abort():(z.data=z.data[0],F(z,b))))}),this.parse=function(V,Y,X){var ae=H.quoteChar||'"',ae=(H.newline||(H.newline=this.guessLineEndings(V,ae)),I=!1,H.delimiter?h(H.delimiter)&&(H.delimiter=H.delimiter(V),z.meta.delimiter=H.delimiter):((ae=(($,K,Z,se,ie)=>{var ne,oe,ue,ye;ie=ie||[","," ","|",";",u.RECORD_SEP,u.UNIT_SEP];for(var be=0;be<ie.length;be++){for(var Te,fe=ie[be],de=0,he=0,me=0,ke=(ue=void 0,new j({comments:se,delimiter:fe,newline:K,preview:10}).parse($)),Ce=0;Ce<ke.data.length;Ce++)Z&&J(ke.data[Ce])?me++:(Te=ke.data[Ce].length,he+=Te,ue===void 0?ue=Te:0<Te&&(de+=Math.abs(Te-ue),ue=Te));0<ke.data.length&&(he/=ke.data.length-me),1.99<he&&(oe===void 0||de<oe||de===oe&&ye<he)&&(oe=de,ne=fe,ye=he)}return{successful:!!(H.delimiter=ne),bestDelimiter:ne}})(V,H.newline,H.skipEmptyLines,H.comments,H.delimitersToGuess)).successful?H.delimiter=ae.bestDelimiter:(I=!0,H.delimiter=u.DefaultDelimiter),z.meta.delimiter=H.delimiter),L(H));return ae.header=ce(),H.preview&&H.header&&ae.preview++,P=V,N=new j(ae),z=N.parse(P,Y,X),te(),_?{meta:{paused:!0}}:z||{meta:{paused:!1}}},this.paused=function(){return _},this.pause=function(){_=!0,N.abort(),P=h(H.chunk)?"":P.substring(N.getCharIndex())},this.resume=function(){b.streamer._halted?(_=!1,b.streamer.parseChunk(P,!0)):setTimeout(b.resume,3)},this.aborted=function(){return U},this.abort=function(){U=!0,N.abort(),z.meta.aborted=!0,h(H.complete)&&H.complete(z),P=""}
24,this.guessLineEndings=function($,ae){$=$.substring(0,1048576);var ae=new RegExp(A(ae)+"([^]*?)"+A(ae),"gm"),X=($=$.replace(ae,"")).split("\r"),ae=$.split(` 25`),$=1<ae.length&&ae[0].length<X[0].length;if(X.length===1||$)return` 26`;for(var K=0,Z=0;Z<X.length;Z++)X[Z][0]===` 27`&&K++;return K>=X.length/2?`\r 28`:"\r"}}function A(H){return H.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function j(H){var P=(H=H||{}).delimiter,N=H.newline,I=H.comments,F=H.step,l=H.preview,d=H.fastMode,p=null,v=!1,b=H.quoteChar==null?'"':H.quoteChar,M=b;if(H.escapeChar!==void 0&&(M=H.escapeChar),(typeof P!="string"||-1<u.BAD_DELIMITERS.indexOf(P))&&(P=","),I===P)throw new Error("Comment character same as delimiter");I===!0?I="#":(typeof I!="string"||-1<u.BAD_DELIMITERS.indexOf(I))&&(I=!1),N!==` 29`&&N!=="\r"&&N!==`\r 30`&&(N=` 31`);var O=0,_=!1;this.parse=function(U,q,z){if(typeof U!="string")throw new Error("Input must be a string");var J=U.length,te=P.length,ce=N.length,xe=I.length,V=h(F),Y=[],X=[],ae=[],$=O=0;if(!U)return de();if(d||d!==!1&&U.indexOf(b)===-1){for(var K=U.split(N),Z=0;Z<K.length;Z++){if(ae=K[Z],O+=ae.length,Z!==K.length-1)O+=N.length;else if(z)return de();if(!I||ae.substring(0,xe)!==I){if(V){if(Y=[],ye(ae.split(P)),he(),_)return de()}else ye(ae.split(P));if(l&&l<=Z)return Y=Y.slice(0,l),de(!0)}}return de()}for(var se=U.indexOf(P,O),ie=U.indexOf(N,O),ne=new RegExp(A(M)+A(b),"g"),oe=U.indexOf(b,O);;)if(U[O]===b)for(oe=O,O++;;){if((oe=U.indexOf(b,oe+1))===-1)return z||X.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Y.length,index:O}),Te();if(oe===J-1)return Te(U.substring(O,oe).replace(ne,b));if(b===M&&U[oe+1]===M)oe++;else if(b===M||oe===0||U[oe-1]!==M){se!==-1&&se<oe+1&&(se=U.indexOf(P,oe+1));var ue=be((ie=ie!==-1&&ie<oe+1?U.indexOf(N,oe+1):ie)===-1?se:Math.min(se,ie));if(U.substr(oe+1+ue,te)===P){ae.push(U.substring(O,oe).replace(ne,b)),U[O=oe+1+ue+te]!==b&&(oe=U.indexOf(b,O)),se=U.indexOf(P,O),ie=U.indexOf(N,O);break}if(ue=be(ie),U.substring(oe+1+ue,oe+1+ue+ce)===N){if(ae.push(U.substring(O,oe).replace(ne,b)),fe(oe+1+ue+ce),se=U.indexOf(P,O),oe=U.indexOf(b,O),V&&(he(),_))return de();if(l&&Y.length>=l)return de(!0);break}X.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Y.length,index:O}),oe++}}else if(I&&ae.length===0&&U.substring(O,O+xe)===I){if(ie===-1)return de();O=ie+ce,ie=U.indexOf(N,O),se=U.indexOf(P,O)}else if(se!==-1&&(se<ie||ie===-1))ae.push(U.substring(O,se)),O=se+te,se=U.indexOf(P,O);else{if(ie===-1)break;if(ae.push(U.substring(O,ie)),fe(ie+ce),V&&(he(),_))return de();if(l&&Y.length>=l)return de(!0)}return Te();function ye(me){Y.push(me),$=O}function be(me){var ke=0;return ke=me!==-1&&(me=U.substring(oe+1,me))&&me.trim()===""?me.length:ke}function Te(me){return z||(me===void 0&&(me=U.substring(O)),ae.push(me),O=J,ye(ae),V&&he()),de()}function fe(me){O=me,ye(ae),ae=[],ie=U.indexOf(N,O)}function de(me){if(H.header&&!q&&Y.length&&!v){var ke=Y[0],Ce=Object.create(null),Me=new Set(ke);let Pe=!1;for(let Oe=0;Oe<ke.length;Oe++){let Be=m(ke[Oe]);if(Ce[Be=h(H.transformHeader)?H.transformHeader(Be,Oe):Be]){let Ue,ze=Ce[Be];for(;Ue=Be+"_"+ze,ze++,Me.has(Ue););Me.add(Ue),ke[Oe]=Ue,Ce[Be]++,Pe=!0,(p=p===null?{}:p)[Ue]=Be}else Ce[Be]=1,ke[Oe]=Be;Me.add(Be)}Pe&&console.warn("Duplicate headers found and renamed."),v=!0}return{data:Y,errors:X,meta:{delimiter:P,linebreak:N,aborted:_,truncated:!!me,cursor:$+(q||0),renamedHeaders:p}}}function he(){F(de()),Y=[],X=[]}},this.abort=function(){_=!0},this.getCharIndex=function(){return O}}function R(H){var P=H.data,N=o[P.workerId],I=!1;if(P.error)N.userError(P.error,P.file);else if(P.results&&P.results.data){var F={abort:function(){I=!0,k(P.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:B,resume:B};if(h(N.userStep)){for(var l=0;l<P.results.data.length&&(N.userStep({data:P.results.data[l],errors:P.results.errors,meta:P.results.meta},F),!I);l++);delete P.results}else h(N.userChunk)&&(N.userChunk(P.results,F,P.file),delete P.results)}P.finished&&!I&&k(P.workerId,P.results)}function k(H,P){var N=o[H];h(N.userComplete)&&N.userComplete(P),N.terminate(),delete o[H]}function B(){throw new Error("Not implemented.")}function L(H){if(typeof H!="object"||H===null)return H;var P,N=Array.isArray(H)?[]:{};for(P in H)N[P]=L(H[P]);return N}function C(H,P){return function(){H.apply(P,arguments)}}function h(H){return typeof H=="function"}return u.parse=function(H,P){var N=(P=P||{}).dynamicTyping||!1;if(h(N)&&(P.dynamicTypingFunction=N,N={}),P.dynamicTyping=N,P.transform=!!h(P.transform)&&P.transform,P.downloadTimeout!==void 0){var N=parseInt(P.downloadTimeout);if(isNaN(N))throw new Error("Config downloadTimeout value ("+P.downloadTimeout+") not parsable by parseInt(val).");P.downloadTimeout=N}if(!P.worker||!u.WORKERS_SUPPORTED)return N=null,u.NODE_STREAM_INPUT,typeof H=="string"?(H=m(H),N=new(P.download?w:T)(P)):H.readable===!0&&h(H.read)&&h(H.on)?N=new y(P):(n.File&&H instanceof File||H instanceof Object)&&(N=new x(P)),N.stream(H);(N=(()=>{var I;return!!u.WORKERS_SUPPORTED&&(I=(()=>{var F=n.URL||n.webkitURL||null,l=r.toString();return u.BLOB_URL||(u.BLOB_URL=F.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",l,")();"],{type:"text/javascript"})))})(),(I=new n.Worker(I)).onmessage=R,I.id=f++,o[I.id]=I)})()).userStep=P.step,N.userChunk=P.chunk,N.userComplete=P.complete,N.userError=P.error,P.step=h(P.step),P.chunk=h(P.chunk),P.complete=h(P.complete),P.error=h(P.error),delete P.worker,N.postMessage({input:H,config:P,workerId:N.id})},u.unparse=function(H,P){var N=!1,I=!0,F=",",l=`\r 32`,d='"',p=d+d,v=!1,b=null,M=!1,O=((()=>
32{if(typeof P=="object"){if(typeof P.delimiter!="string"||u.BAD_DELIMITERS.filter(function(q){return P.delimiter.indexOf(q)!==-1}).length||(F=P.delimiter),typeof P.quotes!="boolean"&&typeof P.quotes!="function"&&!Array.isArray(P.quotes)||(N=P.quotes),typeof P.skipEmptyLines!="boolean"&&typeof P.skipEmptyLines!="string"||(v=P.skipEmptyLines),typeof P.newline=="string"&&(l=P.newline),typeof P.quoteChar=="string"&&(d=P.quoteChar,p=d+d),typeof P.header=="boolean"&&(I=P.header),Array.isArray(P.columns)){if(P.columns.length===0)throw new Error("Option columns is empty");b=P.columns}P.escapeChar!==void 0&&(p=P.escapeChar+d),P.escapeFormulae instanceof RegExp?M=P.escapeFormulae:typeof P.escapeFormulae=="boolean"&&P.escapeFormulae&&(M=/^[=+\-@\t\r].*$/)}})(),new RegExp(A(d),"g"));if(typeof H=="string"&&(H=JSON.parse(H)),Array.isArray(H)){if(!H.length||Array.isArray(H[0]))return _(null,H,v);if(typeof H[0]=="object")return _(b||Object.keys(H[0]),H,v)}else if(typeof H=="object")return typeof H.data=="string"&&(H.data=JSON.parse(H.data)),Array.isArray(H.data)&&(H.fields||(H.fields=H.meta&&H.meta.fields||b),H.fields||(H.fields=Array.isArray(H.data[0])?H.fields:typeof H.data[0]=="object"?Object.keys(H.data[0]):[]),Array.isArray(H.data[0])||typeof H.data[0]=="object"||(H.data=[H.data])),_(H.fields||[],H.data||[],v);throw new Error("Unable to serialize unrecognized input");function _(q,z,J){var te="",ce=(typeof q=="string"&&(q=JSON.parse(q)),typeof z=="string"&&(z=JSON.parse(z)),Array.isArray(q)&&0<q.length),xe=!Array.isArray(z[0]);if(ce&&I){for(var V=0;V<q.length;V++)0<V&&(te+=F),te+=U(q[V],V);0<z.length&&(te+=l)}for(var Y=0;Y<z.length;Y++){var X=(ce?q:z[Y]).length,ae=!1,$=ce?Object.keys(z[Y]).length===0:z[Y].length===0;if(J&&!ce&&(ae=J==="greedy"?z[Y].join("").trim()==="":z[Y].length===1&&z[Y][0].length===0),J==="greedy"&&ce){for(var K=[],Z=0;Z<X;Z++){var se=xe?q[Z]:Z;K.push(z[Y][se])}ae=K.join("").trim()===""}if(!ae){for(var ie=0;ie<X;ie++){0<ie&&!$&&(te+=F);var ne=ce&&xe?q[ie]:ie;te+=U(z[Y][ne],ie)}Y<z.length-1&&(!J||0<X&&!$)&&(te+=l)}}return te}function U(q,z){var J,te,ce;return q==null?"":q.constructor===Date?isNaN(q.getTime())?"":q.toISOString():(ce=!1,M&&typeof q=="string"&&M.test(q)&&(q="'"+q,ce=!0),te=(J=q.toString()).replace(O,p),(ce=ce||N===!0||typeof N=="function"&&N(q,z)||Array.isArray(N)&&N[z]||((xe,V)=>{for(var Y=0;Y<V.length;Y++)if(-1<xe.indexOf(V[Y]))return!0;return!1})(te,u.BAD_DELIMITERS)||-1<te.indexOf(F)||-1<J.indexOf(d)||te.charAt(0)===" "||te.charAt(te.length-1)===" ")?d+te+d:te)}},u.RECORD_SEP="�",u.UNIT_SEP="�",u.BYTE_ORDER_MARK="\uFEFF",u.BAD_DELIMITERS=["\r",` 33`,'"',u.BYTE_ORDER_MARK],u.WORKERS_SUPPORTED=!i&&!!n.Worker,u.NODE_STREAM_INPUT=1,u.LocalChunkSize=10485760,u.RemoteChunkSize=5242880,u.DefaultDelimiter=",",u.Parser=j,u.ParserHandle=E,u.NetworkStreamer=w,u.FileStreamer=x,u.StringStreamer=T,u.ReadableStreamStreamer=y,a&&(n.onmessage=function(H){H=H.data,u.WORKER_ID===void 0&&H&&(u.WORKER_ID=H.workerId),typeof H.input=="string"?n.postMessage({workerId:u.WORKER_ID,results:u.parse(H.input,H.config),finished:!0}):(n.File&&H.input instanceof File||H.input instanceof Object)&&(H=u.parse(H.input,H.config))&&n.postMessage({workerId:u.WORKER_ID,results:H,finished:!0})}),(w.prototype=Object.create(S.prototype)).constructor=w,(x.prototype=Object.create(S.prototype)).constructor=x,(T.prototype=Object.create(T.prototype)).constructor=T,(y.prototype=Object.create(S.prototype)).constructor=y,u})})(xo)),xo.exports}var yh=gh();const hl=Ur(yh),ul=t=>String(t).toLowerCase().replace(/^[^\w+]+|[^\w.+]|[^\w+]+$/g,"");class xh{constructor(e){this.file=e,this.onLoad=null,this.results=[],this.header=[],this.hasErroredNodes=!1,this.root=new bh}load(){hl.parse(this.file,{header:!1,skipEmptyLines:!0,beforeFirstChunk:e=>{let r=e.split(/\r\n|\r|\n/);return this.header=r.shift().split(","),r.join(`\r 34`)},chunk:e=>{this.results=this.results.concat(e.data)},complete:()=>{this.trimNames(),this.buildTree(),this.onLoad()}})}trimNames(){this.results=this.results.map(e=>e.map(r=>r.trim()))}buildTree(){this.results.forEach(e=>{this.root.createPath(e,[])}),this.validateNames(),this.root.walk(e=>{e.errors.length>0&&(this.hasErroredNodes=!0)})}validateNames(){let e=[];this.root.walk(n=>e.push(ul(n.name)));let r=S4(e);this.root.walk(n=>{r[ul(n.name)]>1&&n.errors.push(I18n.t("dataset_upload.verify_hierarchy.errors.duplicate"))})}get totalCount(){return this.results.length}get extractedCount(){return this.root.count-1}get valid(){return this.hasValidHeader&&!this.hasErroredNodes}get hasValidHeader(){let e=Li(this.header);return e[0]&&e[0].match(/Top Level/i)&&(!e[1]||e[1].match(/Level 1/i))&&(!e[2]||e[2].match(/Level 2/i))&&(!e[3]||e[3].match(/Level 3/i))}toJSON(){return this.root.toJSON()}}let bh=class G6{constructor(e){this.name=e,this.errors=[],this.children=[]}createPath(e){let r=e[0];if(r&&r.length>0){let n=this.findChild(r);n||(n=this.createChild(r)),n.createPath(e.slice(1))}else In(e,n=>n&&n.length>0)&&this.errors.push(I18n.t("dataset_upload.verify_hierarchy.errors.missing_components"))}findChild(e){return Bl(this.children,r=>r.name===e)}createChild(e){let r=new G6(e);return this.children.push(r),r}
34walk(e){e(this),this.children.forEach(r=>r.walk(e))}get count(){return this.children.length===0?1:1+this.children.reduce((e,r)=>e+=r.count,0)}get valid(){return this.errors.length==0}toJSON(){return{name:this.name,children:this.children.map(e=>e.toJSON())}}};class $6 extends it.Component{render(){return s.jsxs("div",{className:"DatasetUploadPopover-UploadWidget",role:"button",tabIndex:0,onClick:this.didClickButton,onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.didClickButton())},children:[s.jsx("input",{type:"file",accept:"text/csv",onChange:this.handleInputFieldSelection,ref:e=>this.inputField=e}),s.jsx("label",{children:s.jsx("span",{className:"label",children:this.props.children})})]})}didClickButton=()=>{this.inputField&&this.inputField.dispatchEvent(new MouseEvent("click"))};handleInputFieldSelection=e=>{e.persist(),Dr(()=>{this.processFiles(e.target.files)},250)};processFiles(e){if(e.length===0){alert(I18n.t("dataset_upload.upload.error_format"));return}else if(e.length>1){alert(I18n.t("dataset_upload.upload.error_multiple"));return}let r=e[0];if(r.type!=="text/csv"&&!r.name.match(/\.csv$/)){alert(I18n.t("dataset_upload.upload.error_format"));return}this.props.onSelectFile(r)}}class vh extends it.Component{render(){return s.jsxs("div",{className:"DatasetUploadPopover-UploadHierarchyPanel DatasetUploadPopover-ContentPanel",children:[this.documentation,s.jsxs("div",{className:"DatasetUploadPopover-hierarchy-cta-panel",children:[s.jsx($6,{onSelectFile:this.selectFile,children:I18n.t("dataset_upload.upload_hierarchy.upload")}),s.jsx("button",{type:"button",className:"skip",onClick:this.skip,children:I18n.t("dataset_upload.upload_hierarchy.skip")})]})]})}get documentation(){return s.jsxs("div",{className:"DatasetUploadPopover-documentation-panel",children:[s.jsxs("div",{className:"header-icon",children:[s.jsx("h2",{children:I18n.t("dataset_upload.upload_hierarchy.title")}),s.jsx("a",{className:"help",href:I18n.t("dataset_upload.upload_hierarchy.help_uri"),title:I18n.t("dataset_upload.help_title"),target:"_blank",rel:"noopener noreferrer",children:"Help"})]}),s.jsx("p",{children:"First, you need to upload a CSV spreadsheet file that lists your institution's groups or departments. You can submit your groups as either a flat list, or as a hierarchy. To create a hierarchy, follow the format shown below. If you are uploading a flat list of groups, you only need to populate the first column of the spreadsheet."}),s.jsxs("p",{children:["For more details, examples, and help creating your group spreadsheet,"," ",s.jsx("a",{href:I18n.t("dataset_upload.upload_hierarchy.help_uri"),target:"_blank",rel:"noopener noreferrer",children:"click here to read our support documentation."})]}),s.jsx("h3",{children:"Example groups spreadsheet"}),s.jsx("div",{className:"DatasetUploadPopover-csv-example-table",children:s.jsxs("table",{children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"1"}),s.jsx("th",{children:"Top level"}),s.jsx("th",{children:"Level 1"}),s.jsx("th",{children:"Level 2"}),s.jsx("th",{children:"Level 3"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"2"}),s.jsx("td",{children:"Faculty of Arts"}),s.jsx("td",{children:"Department of Dance"}),s.jsx("td",{children:"Breakdance Group"}),s.jsx("td",{})]}),s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"3"}),s.jsx("td",{children:"Faculty of Arts"}),s.jsx("td",{children:"Department of Music"}),s.jsx("td",{children:"Oboe Studies"}),s.jsx("td",{})]}),s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"4"}),s.jsx("td",{children:"Faculty of Arts"}),s.jsx("td",{children:"Department of Music"}),s.jsx("td",{children:"Piano Group"}),s.jsx("td",{children:"Pedagogy"})]})]})]})}),s.jsx("p",{children:"When you have formatted your groups into a CSV spreadsheet that matches this format, click the button below to upload it."})]})}skip=e=>{e.preventDefault();let r=I18n.t("dataset_upload.upload_hierarchy.skip_warning");window.confirm(r)&&this.props.onSkip()};selectFile=e=>{this.props.setLoadingState(!0),Dr(()=>{const r=new xh(e);r.onLoad=()=>{this.props.setLoadingState(!1),this.props.onUpload&&this.props.onUpload(r)},r.load()},500)}}class Sh extends it.Component{render(){return s.jsxs("div",{className:"DatasetUploadPopover-VerifyHierarchyPanel DatasetUploadPopover-ContentPanel",children:[s.jsx("div",{className:"DatasetUploadPopover-documentation-panel",children:s.jsxs("div",{className:"header-icon",children:[s.jsx("h2",{children:I18n.t("dataset_upload.verify_hierarchy.title")}),s.jsx("a",{className:"help",href:I18n.t("dataset_upload.verify_hierarchy.help_uri"),title:I18n.t("dataset_upload.help_title"),"aria-label":I18n.t("dataset_upload.help_title"),target:"_blank",rel:"noopener noreferrer",children:"Help"})]})}),s.jsx("div",{className:"preview-panel",children:this.renderHierarchy()})]})}renderHierarchy(){return this.props.hierarchy.valid?this.renderValidHierarchy():this.renderInvalidHierarchy()}renderValidHierarchy(){return s.jsxs("div",{children:[s.jsxs("div",{className:"panel-abstract good",children:[s.jsxs("p",{children:[I18
34n.htmlSafe("dataset_upload.verify_hierarchy.abstract_total_html",{count:this.props.hierarchy.totalCount,formattedCount:bt.formatNumberWithDelimiter(this.props.hierarchy.totalCount)}),I18n.htmlSafe("dataset_upload.verify_hierarchy.abstract_extracted_html",{count:this.props.hierarchy.extractedCount,formattedCount:bt.formatNumberWithDelimiter(this.props.hierarchy.extractedCount)})]}),s.jsx("p",{children:I18n.htmlSafe("dataset_upload.verify_hierarchy.abstract_next_html")})]}),this.renderCTA(),this.renderHierarchyTree()]})}renderInvalidHierarchy(){return s.jsxs("div",{children:[s.jsx("div",{className:"panel-abstract error",children:this.renderHierarchyError()}),this.renderCTA(),this.renderHierarchyTree()]})}renderCTA(){return s.jsxs("div",{className:"DatasetUploadPopover-hierarchy-cta-panel",children:[s.jsx("button",{type:"button",className:"return-to-upload",onClick:this.props.onReturn,children:I18n.t("dataset_upload.verify_hierarchy.return_to_upload")}),this.props.hierarchy.valid&&s.jsx("button",{type:"button",className:"continue-to-outputs",onClick:this.props.onAdvance,children:I18n.t("dataset_upload.verify_hierarchy.continue_to_outputs")})]})}renderHierarchyError(){if(this.props.hierarchy.hasValidHeader){if(this.props.hierarchy.hasErroredNodes)return I18n.htmlSafe("dataset_upload.verify_hierarchy.abstract_error_html")}else return I18n.htmlSafe("dataset_upload.verify_hierarchy.abstract_header_error_html")}renderHierarchyTree(){if(this.props.hierarchy.hasValidHeader)return s.jsx("div",{className:"hierarchy-tree",children:s.jsx("ol",{children:this.props.hierarchy.root.children.map((e,r)=>s.jsx(wh,{node:e},r))})})}renderEmptyMessage(){return s.jsx("div",{children:s.jsx("div",{className:"panel-abstract",children:I18n.htmlSafe("dataset_upload.verify_hierarchy.empty_html")})})}}let wh=class W6 extends it.Component{render(){return s.jsxs("li",{children:[s.jsx("div",{className:this.getClassName(),children:s.jsxs("div",{className:"title",children:[this.props.node.name,this.renderErrors()]})}),this.renderChildren()]})}renderChildren(){if(this.hasChildren())return s.jsx("ol",{children:this.props.node.children.map((e,r)=>s.jsx(W6,{node:e},r))})}renderErrors(){if(!this.props.node.valid)return s.jsx("div",{className:"errors",children:this.props.node.errors.map((e,r)=>s.jsx("span",{className:"error",children:e},r))})}hasChildren=()=>this.props.node.children.length>0;getClassName(){const e=["department"];return this.hasChildren()?e.push("branch"):e.push("leaf"),this.props.node.valid||e.push("error"),e.join(" ")}};function q6(t){return Eh(t).concat(Ch(t))}function Eh(t){return V6(t,/(?:^|\s|\/)((?:arXiv:)?[a-z-]+(?:\.[A-Z]{2})?\/\d{2}(?:0[1-9]|1[012])\d{3}(?:v\d+)?(?=$|\s))/gi)}function Ch(t){return V6(t,/(?:^|\s|\/)((?:arXiv:)?\d{4}\.\d{4,5}(?:v\d+)?(?=$|\s))/gi)}function V6(t,e){let r=[],n=[];for(;(r=e.exec(t))!==null;)n.push(r[1]);return n.map(kh)}function kh(t){return t.replace(/^arXiv:/i,"")}const Ah=Object.freeze(Object.defineProperty({__proto__:null,extract:q6},Symbol.toStringTag,{value:"Module"}));function Y6(t){const e=String(t).match(/\b\d{4}[a-z][0-9a-z&.]{14}\b/gi);return e||[]}const jh=Object.freeze(Object.defineProperty({__proto__:null,extract:Y6},Symbol.toStringTag,{value:"Module"})),X6="\\b10\\.(?:97[89]\\.\\d{2,8}\\/\\d{1,7}|\\d{4,9}\\/\\S+)",Th=new RegExp(X6,"g"),Mh=new RegExp(X6),Rh=/(?:\w|\([^)]+\)|2-#)$/;function K6(t){const e=String(t).toLowerCase().match(Th);return e?e.map(Z6).filter(Boolean):[]}function Ph(t){const e=String(t).toLowerCase().match(Mh);if(e)return Z6(e[0])}function Z6(t){return Rh.test(t)?t:Ph(t.replace(/\W$/,""))}const Nh=Object.freeze(Object.defineProperty({__proto__:null,extract:K6},Symbol.toStringTag,{value:"Module"}));function J6(t){const e=String(t).match(/\b[0-9.]+\/[^\s]+\b/gi);return e||[]}const _h=Object.freeze(Object.defineProperty({__proto__:null,extract:J6},Symbol.toStringTag,{value:"Module"}));function Q6(t){const e=String(t).match(/\bNCT\d+\b/gi);return e?e.map(Ih):[]}function Ih(t){return t.toUpperCase()}const Oh=Object.freeze(Object.defineProperty({__proto__:null,extract:Q6},Symbol.toStringTag,{value:"Module"}));function e0(t){const e=String(t).match(/(?:^|\s)(\d+)(?=$|\s)/g);
34return e?e.map(Lh).filter(Boolean):[]}function Lh(t){return t.trim().replace(/^0+/,"")}const Fh=Object.freeze(Object.defineProperty({__proto__:null,extract:e0},Symbol.toStringTag,{value:"Module"}));function t0(t){const e=String(t).match(/\brepec:[^\s]+\b/gi);return e?e.map(Dh):[]}function Dh(t){return"RePEc:"+t.substring(6)}const Bh=Object.freeze(Object.defineProperty({__proto__:null,extract:t0},Symbol.toStringTag,{value:"Module"})),Hh=/\burn:((?!urn:)[a-z0-9][a-z0-9-]{1,31}):((?:[a-z0-9()+,-.:=@;$_!*']|%(?:2[1-9a-f]|[3-6][0-9a-f]|7[0-9a-e]))+)/gi;function zh(t){return i0(t,e=>e[0])}function r0(t){return i0(t,e=>Uh(e[1],e[2]))}function i0(t,e){t=String(t);let r;const n=[];for(;(r=Hh.exec(t))!==null;)n.push(e(r));return n}function Uh(t,e){return t=t.toLowerCase(),e=e.replace(/(%[2-9A-F][A-F])/g,r=>r.toLowerCase()),"urn:"+t+":"+e}const Gh=Object.freeze(Object.defineProperty({__proto__:null,extract:r0,scan:zh},Symbol.toStringTag,{value:"Module"}));var ja,J8;function Ko(){return J8||(J8=1,ja={"978-0":{name:"English language",ranges:[["00","19"],["200","227"],["2280","2289"],["229","368"],["3690","3699"],["370","638"],["6390","6397"],["6398000","6399999"],["640","644"],["6450000","6459999"],["646","647"],["6480000","6489999"],["649","654"],["6550","6559"],["656","699"],["7000","8499"],["85000","89999"],["900000","900370"],["9003710","9003719"],["900372","949999"],["9500000","9999999"]]},"978-1":{name:"English language",ranges:[["000","009"],["01","02"],["030","034"],["0350","0399"],["040","045"],["0460","0469"],["047","047"],["0480","0499"],["05","05"],["0665000","0665749"],["0665750","0665999"],["0666000","0669999"],["0670000","0699999"],["0700","0999"],["100","397"],["3980","5499"],["55000","64999"],["6500","6799"],["68000","68599"],["6860","7139"],["714","716"],["7170","7319"],["7320000","7399999"],["74000","76199"],["7620","7634"],["7635000","7649999"],["76500","77499"],["7750000","7753999"],["77540","77639"],["7764000","7764999"],["77650","77699"],["7770000","7782999"],["77830","78999"],["7900","7999"],["80000","80049"],["80050","80499"],["80500","83799"],["8380000","8384999"],["83850","86719"],["8672","8675"],["86760","86979"],["869800","915999"],["9160000","9165059"],["916506","916869"],["9168700","9169079"],["916908","919163"],["9191640","9195649"],["919565","919599"],["9196000","9196549"],["919655","972999"],["9730","9877"],["987800","991149"],["9911500","9911999"],["991200","998989"],["9989900","9999999"]]},"978-2":{name:"French language",ranges:[["00","19"],["200","349"],["35000","39999"],["400","486"],["487000","494999"],["495","495"],["4960","4966"],["49670","49699"],["497","527"],["5280","5299"],["530","699"],["7000","8399"],["84000","89999"],["900000","919799"],["91980","91980"],["919810","919942"],["9199430","9199689"],["919969","949999"],["9500000","9999999"]]},"978-3":{name:"German language",ranges:[["00","02"],["030","033"],["0340","0369"],["03700","03999"],["04","19"],["200","312"],["3130","3139"],["314","389"],["39","39"],["400","675"],["67600","68799"],["688","688"],["68900","69499"],["6950","8499"],["85000","89999"],["900000","949999"],["9500000","9539999"],["95400","96999"],["9700000","9849999"],["98500","99959"],["9996","9999"]]},"978-4":{name:"Japan",ranges:[["00","19"],["200","699"],["7000","8499"],["85000","89999"],["900000","949999"],["9500000","9999999"]]},"978-5":{name:"former U.S.S.R",ranges:[["00000","00499"],["0050","0099"],["01","19"],["200","361"],["3620","3623"],["36240","36299"],["363","420"],["4210","4299"],["430","430"],["4310","4399"],["440","440"],["4410","4499"],["450","602"],["6030000","6049999"],["605","699"],["7000","8499"],["85000","89999"],["900000","909999"],["91000","91999"],["9200","9299"],["93000","94999"],["9500000","9500999"],["9501","9799"],["98000","98999"],["9900000","9909999"],["9910","9999"]]},"978-600":{name:"Iran",ranges:[["00","09"],["100","499"],["5000","8999"],["90000","98679"],["9868","9929"],["993","995"],["99600","99999"]]},"978-601":{name:"Kazakhstan",ranges:[["00","19"],["200","699"],["7000","7999"],["80000","84999"],["85","99"]]},"978-602":{name:"Indonesia",ranges:[["00","06"],["0700","1399"],["14000","14999"],["1500","1699"],["17000","19999"],["200","499"],["50000","53999"],["5400","5999"],["60000","61999"],["6200","6999"],["70000","74999"],["7500","9499"],["95000","99999"]]},"978-603":{name:"Saudi Arabia",ranges:[["00","04"],["05","49"],["500","799"],["8000","8999"],["90000","99999"]]},"978-604":{name:"Vietnam",ranges:[["0","2"],["300","399"],["40","46"],["470","497"],["4980","4999"],["50","89"],["900","979"],["9800","9999"]]},"978-605":{name:"Türkiye",ranges:[["00","02"],["030","039"],["04","05"],["06000","06999"],["07","09"],["100","199"],["2000","2399"],["240","399"],["4000","5999"],["60000","74999"],["7500","7999"],["80000","89999"],["9000","9999"]]},"978-606":{name:"Romania",ranges:[["000","099"],["10","49"],["500","799"],["8000","9099"],["910","919"],["92000","95999"],["9600","9749"],["975","999"]]},"978-607":{name:"Mexico",ranges:[["00","25"],["2600","2649"],["26500","26999"],["27","39"],["400","588"],["5890","5929"],["59300","59999"],["600","691"],["69200","69999"],["700","749"],["7500","9499"],["95000","99999"]]}
34,"978-608":{name:"North Macedonia",ranges:[["0","0"],["10","19"],["200","449"],["4500","6499"],["65000","69999"],["7","9"]]},"978-609":{name:"Lithuania",ranges:[["00","39"],["400","799"],["8000","9499"],["95000","99999"]]},"978-611":{name:"Thailand",ranges:[]},"978-612":{name:"Peru",ranges:[["00","29"],["300","399"],["4000","4499"],["45000","49999"],["5000","5299"],["99000","99999"]]},"978-613":{name:"Mauritius",ranges:[["0","9"]]},"978-614":{name:"Lebanon",ranges:[["00","39"],["400","799"],["8000","9499"],["95000","99999"]]},"978-615":{name:"Hungary",ranges:[["00","09"],["100","499"],["5000","7999"],["80000","89999"]]},"978-616":{name:"Thailand",ranges:[["00","19"],["200","699"],["7000","8999"],["90000","99999"]]},"978-617":{name:"Ukraine",ranges:[["00","49"],["500","699"],["7000","8999"],["9000","9049"],["90500","99999"]]},"978-618":{name:"Greece",ranges:[["00","19"],["200","499"],["5000","7999"],["80000","99999"]]},"978-619":{name:"Bulgaria",ranges:[["00","14"],["150","699"],["7000","8999"],["90000","99999"]]},"978-620":{name:"Mauritius",ranges:[["0","9"]]},"978-621":{name:"Philippines",ranges:[["00","29"],["400","599"],["8000","8999"],["95000","99999"]]},"978-622":{name:"Iran",ranges:[["00","10"],["110","129"],["1300","1799"],["180","182"],["1830","1899"],["190","194"],["19500","19999"],["200","459"],["4600","8749"],["87500","99999"]]},"978-623":{name:"Indonesia",ranges:[["00","10"],["110","524"],["5250","8799"],["88000","99999"]]},"978-624":{name:"Sri Lanka",ranges:[["00","04"],["200","249"],["4850","6899"],["91000","99999"]]},"978-625":{name:"Türkiye",ranges:[["00","01"],["320","442"],["44300","44499"],["445","449"],["5000","7793"],["77940","77949"],["7795","8999"],["90000","99999"]]},"978-626":{name:"Taiwan",ranges:[["00","04"],["300","499"],["6500","7999"],["92500","99999"]]},"978-627":{name:"Pakistan",ranges:[["28","31"],["500","534"],["7400","7999"],["94500","95149"]]},"978-628":{name:"Colombia",ranges:[["00","09"],["500","549"],["7500","8499"],["95000","99999"]]},"978-629":{name:"Malaysia",ranges:[["00","02"],["455","499"],["7100","7999"],["92000","99999"]]},"978-630":{name:"Romania",ranges:[["300","399"],["6500","6849"],["95000","99999"]]},"978-631":{name:"Argentina",ranges:[["00","09"],["300","399"],["6500","7499"],["90000","99999"]]},"978-632":{name:"Vietnam",ranges:[["00","11"],["600","679"]]},"978-633":{name:"Egypt",ranges:[["00","01"],["300","349"],["8250","8999"],["99500","99999"]]},"978-634":{name:"Indonesia",ranges:[["00","05"],["200","349"],["7000","7999"],["96000","99999"]]},"978-635":{name:"Iran",ranges:[["00","04"],["250","324"],["5800","6999"],["96000","99999"]]},"978-65":{name:"Brazil",ranges:[["00","02"],["250","299"],["300","302"],["5000","6349"],["80000","81824"],["82000","89999"],["900000","902449"],["975500","999999"]]},"978-66":{name:"Federated Panel",ranges:[["30","30"]]},"978-69990":{name:"Zambia registration group",ranges:[["50","51"],["990","999"]]},"978-7":{name:"China, People's Republic",ranges:[["00","09"],["100","499"],["5000","7999"],["80000","89999"],["900000","999999"]]},"978-80":{name:"former Czechoslovakia",ranges:[["00","19"],["200","529"],["53000","54999"],["550","689"],["69000","69999"],["7000","8499"],["85000","89999"],["900000","998999"],["99900","99999"]]},"978-81":{name:"India",ranges:[["00","18"],["19000","19999"],["200","647"],["6480","6699"],["6700","6799"],["68000","68499"],["685000","689999"],["69000","69999"],["7000","8499"],["85000","89999"],["900000","999999"]]},"978-82":{name:"Norway",ranges:[["00","19"],["200","689"],["690000","699999"],["7000","8999"],["90000","98999"],["990000","999999"]]},"978-83":{name:"Poland",ranges:[["00","19"],["200","599"],["60000","69999"],["7000","8499"],["85000","89999"],["900000","999999"]]},"978-84":{name:"Spain",ranges:[["00","09"],["10000","10499"],["1050","1199"],["120000","129999"],["1300","1399"],["140","149"],["15000","19999"],["200","699"],["7000","8499"],["85000","89999"],["9000","9199"],["920000","923999"],["92400","92999"],["930000","949999"],["95000","96999"],["9700","9999"]]},"978-85":{name:"Brazil",ranges:[["00","19"],["200","454"],["455000","455299"],["45530","45599"],["456","528"],["52900","53199"],["5320","5339"],["534","539"],["54000","54029"],["54030","54039"],["540400","540499"],["54050","54089"],["540900","540999"],["54100","54399"],["5440","5479"],["54800","54999"],["5500","5999"],["60000","69999"],["7000","8499"],["85000","89999"],["900000","924999"],["92500","94499"],["9450","9599"],["96","97"],["98000","99999"]]},"978-86":{name:"former Yugoslavia",ranges:[["00","29"],["300","599"],["6000","7999"],["80000","89999"],["900000","999999"]]},"978-87":{name:"Denmark",ranges:[["00","29"],["400","649"],["7000","7999"],["85000","94999"],["970000","999999"]]},"978-88":{name:"Italy",ranges:[["00","19"],["200","311"],["31200","31499"],["315","318"],["31900","32299"],["323","326"],["3270","3389"],["339","360"],["3610","3629"],["363","548"],["5490","5549"],["555","599"],["6000","8499"],["85000","89999"],["900000","909999"],["910","926"],["9270","9399"],["940000","947999"],["94800","99999"]]},"978-89":{name:"Korea, Republic",ranges:[["00","24"],["250","549"],["5500","8499"],["85000","94999"],["950000","969999"],["97000","98999"],["990","999"]]},"978-90":{name:"Netherlands",ranges:[["00","19"],["200","499"],["5000","6999"],["70000","79999"],["800000","849999"],["8500","8999"],["90","90"],["94","94"]]},"978-91":{name:"Sweden",ranges:[["0","1"],["20","49"],["500","649"],["6850","8199"],["85000","94999"],["970000","999999"]]},"978-92":{name:"International NGO Publishers and EU Organizations",ranges:[["0","5"],["60","79"],["800","899"],["9000","9499"],["95000","98999"],["990000","999999"]]},"978-93":{name:"India",ranges:[["00","08"],["0900","0999"],["100","469"],["47000","47999"],["48000","49999"],["5000","7999"],["80000","95999"],["960000","999999"]]},"978-94":{name:"Netherlands",ranges:[["000","599"],["6000","6387"],["638800","638809"],["63881","63881"],["638820","638839"],["63884","63885"],["638860","638869"],["63887","63889"],["6389","6395"],["639600","639609"],["63961","63962"],["639630","639639"],["63964","63964"],["639650","639659"],["63966","63969"],["6397","6399"],["640000","640009"],["64001","64004"],["640050","640059"],["64006","64006"],["640070","640089"],["64009","64009"],["6401","6406"],["640700","640739"],["64074","64074"],["640750","640759"],["64076","64077"],["640780","640799"],["6408","6419"],["64200","64201"],["642020","642029"],["64203","64203"],["642040","642049"],["64205","64206"],["642070","642079"],["64208","64208"],["642090","642099"],["6421","6432"],["64330","64331"],["643320","643329"],["64333","64333"],["643340","643359"],["64336","64336"],["643370","643379"],["64338","64339"],["6434","6435"],["643600","643609"],["64361","64363"],["643640","643659"],["64366","64366"],["643670","643679"],["64368","64369"],["6437","6443"],["644400","644409"],["64441","64441"],["644420","644429"],["64443","64443"],["644440","644449"],["64445","64446"],["644470","644489"],["64449","64449"],["6445","6450"],["64510","64512"],["645130","645139"],["64514","64515"],["645160","645199"],["6452","6458"],["645900","645909"],["64591","64592"],["645930","645949"],["64595","64596"],["645970","645989"],["64599","64599"],["6460","6465"],["646600","646609"],["64661","64662"],["646630","646659"],["64666","64666"],["646670","646689"],["64669","64669"],["6467","6474"],["64750","64751"],["647520","647539"],["64754","64754"],["647550","647559"],["64756","64757"],["647580","647589"],["64759","64759"],["6476","6476"],["647700","647708"],["64771","64771"],["647723","647729"],["64773","64773"],["647740","647769"],["64777","64779"],["647800","647809"],["64781","64781"],["647820","647829"],["64783","64786"],["647870","647879"],["64788","64789"],["6479","6493"],["649400","649409"],["64941","64942"],["649430","649449"],["64945","64946"],["649470","649479"],["64948","64948"],["649490","649499"],["6495","6497"],["64980","64980"],["649810","649829"],["64983","64984"],["649850","649869"],["64987","64987"],["649880","649899"],["6499","8999"],["90000","99999"]]},"978-950":{name:"Argentina",ranges:[["00","49"],["500","899"],["9000","9899"],["99000","99999"]]},"978-951":{name:"Finland",ranges:[["0","1"],["20","54"],["550","889"],["8900","9499"],["95000","99999"]]},"978-952":{name:"Finland",ranges:[["00","17"],["180","189"],["19500","19999"],["200","499"],["5000","5999"],["60","64"],["65000","65999"],["6600","6699"],["67000","69999"],["7000","7999"],["80","94"],["9500","9899"],["99000","99999"]]},"978-953":{name:"Croatia",ranges:[["0","0"],["10","14"],["150","459"],["46000","49999"],["500","500"],["50100","50999"],["51","54"],["55000","59999"],["6000","9499"],["95000","99999"]]},"978-954":{name:"Bulgaria",ranges:[["00","28"],["2900","2999"],["300","799"],["8000","8999"],["90000","92999"],["9300","9999"]]},"978-955":{name:"Sri Lanka",ranges:[["0000","1999"],["20","33"],["3400","3549"],["35500","35999"],["3600","3799"],["38000","38999"],["3900","4099"],["41000","44999"],["4500","4999"],["50000","54999"],["550","710"],["71100","71499"],["7150","9499"],["95000","99999"]]},"978-956":{name:"Chile",ranges:[["00","07"],["08000","09999"],["10","19"],["200","599"],["6000","6999"],["7000","9999"]]},"978-957":{name:"Taiwan",ranges:[["00","02"],["0300","0499"],["05","19"],["2000","2099"],["21","27"],["28000","30999"],["31","43"],["440","819"],["8200","9699"],["97000","99999"]]},"978-958":{name:"Colombia",ranges:[["00","49"],["500","509"],["5100","5199"],["52000","53999"],["5400","5599"],["56000","59999"],["600","799"],["8000","9499"],["95000","99999"]]},"978-959":{name:"Cuba",ranges:[["00","19"],["200","699"],["7000","8499"],["85000","99999"]]},"978-960":{name:"Greece",ranges:[["00","19"],["200","659"],["6600","6899"],["690","699"],["7000","8499"],["85000","92999"],["93","93"],["9400","9799"],["98000","99999"]]},"978-961":{name:"Slovenia",ranges:[["00","19"],["200","599"],["6000","8999"],["90000","97999"]]},"978-962":{name:"Hong Kong, China",ranges:[["00","19"],["200","699"],["7000","8499"],["85000","86999"],["8700","8999"],["900","999"]]},"978-963":{name:"Hungary",ranges:[["00","19"],["200","699"],["7000","8499"],["85000","89999"],["9000","9999"]]},"978-964":{name:"Iran",ranges:[["00","14"],["150","249"],["2500","2999"],["300","549"],["5500","8999"],["90000","96999"],["970","989"],["9900","9999"]]},"978-965":{name:"Israel",ranges:[["00","19"],["200","599"],["7000","7999"],["90000","99999"]]},"978-966":{name:"Ukraine",ranges:[["00","12"],["130","139"],["14","14"],["1500","1699"],["170","199"],["2000","2789"],["279","289"],["2900","2999"],["300","699"],["7000","8999"],["90000","90999"],["910","949"],["95000","97999"],["980","999"]]},"978-967":{name:"Malaysia",ranges:[["0000","0999"],["10000","19999"],["2000","2499"],["250","254"],["25500","26999"],["2700","2799"],["2800","2999"],["300","499"],["5000","5999"],["60","89"],["900","989"],["9900","9989"],["99900","99999"]]},"978-968":{name:"Mexico",ranges:[["01","39"],["400","499"],["5000","7999"],["800","899"],["9000","9999"]]},"978-969":{name:"Pakistan",ranges:[["0","1"],["20","20"],["210","219"],["2200","2299"],["23000","23999"],["24","39"],["400","749"],["7500","9999"]]},"978-970":{name:"Mexico",ranges:[["01","59"],["600","899"],["9000","9099"],["91000","96999"],["9700","9999"]]},"978-971":{name:"Philippines",ranges:[["000","015"],["0160","0199"],["02","02"],["0300","0599"],["06","49"],["500","849"],["8500","9099"],["91000","95999"],["9600","9699"],["97","98"],["9900","9999"]]},"978-972":{name:"Portugal",ranges:[["0","1"],["20","54"],["550","799"],["8000","9499"],["95000","99999"]]},"978-973":{name:"Romania",ranges:[["0","0"],["100","169"],["1700","1999"],["20","54"],["550","759"],["7600","8499"],["85000","88999"],["8900","9499"],["95000","99999"]]},"978-974":{name:"Thailand",ranges:[["00","19"],["200","699"],["7000","8499"],["85000","89999"],["90000","94999"],["9500","9999"]]},"978-975":{name:"Türkiye",ranges:[["00000","01999"],["02","23"],["2400","2499"],["250","599"],["6000","9199"],["92000","98999"],["990","999"]]},"978-976":{name:"Caribbean Community",ranges:[["0","3"],["40","59"],["600","799"],["8000","9499"],["95000","99999"]]},"978-977":{name:"Egypt",ranges:[["00","19"],["200","499"],["5000","6999"],["700","849"],["85000","87399"],["8740","8899"],["890","894"],["8950","8999"],["90","95"],["9600","9699"],["970","999"]]},"978-978":{name:"Nigeria",ranges:[["000","199"],["2000","2999"],["30000","66999"],["67","68"],["690","699"],["765","799"],["8000","8999"],["900","999"]]},"978-979":{name:"Indonesia",ranges:[["000","099"],["1000","1499"],["15000","19999"],["20","29"],["3000","3999"],["400","799"],["8000","9499"],["95000","99999"]]},"978-980":{name:"Venezuela",ranges:[["00","19"],["200","599"],["6000","9999"]]},"978-981":{name:"Singapore",ranges:[["00","16"],["17000","17999"],["18","19"],["200","299"],["3000","3099"],["310","399"],["4000","5999"],["92","99"]]},"978-982":{name:"South Pacific",ranges:[["00","09"],["100","699"],["70","89"],["9000","9799"],["98000","99999"]]},"978-983":{name:"Malaysia",ranges:[["00","01"],["020","199"],["2000","3999"],["40000","44999"],["45","49"],["50","79"],["800","899"],["9000","9899"],["99000","99999"]]},"978-984":{name:"Bangladesh",ranges:[["00","21"],["220","224"],["2250","2599"],["26","28"],["29000","29999"],["30","38"],["3900","3999"],["400","799"],["8000","8999"],["90000","99999"]]},"978-985":{name:"Belarus",ranges:[["00","39"],["400","599"],["6000","8799"],["880","899"],["90000","99999"]]},"978-986":{name:"Taiwan",ranges:[["00","05"],["06000","06999"],["0700","0799"],["08","11"],["120","539"],["5400","7999"],["80000","99999"]]},"978-987":{name:"Argentina",ranges:[["00","09"],["1000","1999"],["20000","29999"],["30","35"],["3600","4199"],["42","43"],["4400","4499"],["45000","48999"],["4900","4999"],["500","824"],["8250","8279"],["82800","82999"],["8300","8499"],["85","88"],["8900","9499"],["95000","99999"]]},"978-988":{name:"Hong Kong, China",ranges:[["00","11"],["12000","19999"],["200","699"],["70000","79999"],["8000","9699"],["97000","99999"]]},"978-989":{name:"Portugal",ranges:[["0","0"],["20","34"],["35000","36999"],["37","48"],["49000","49999"],["50","52"],["53000","54999"],["550","799"],["8000","9499"],["95000","99999"]]},"978-9905":{name:"Nepal",ranges:[["0","0"],["20","23"],["600","624"],["9900","9999"]]},"978-9906":{name:"Tajikistan",ranges:[["20","22"],["700","724"],["9900","9999"]]},"978-9907":{name:"Ecuador",ranges:[["0","0"],["50","64"],["800","874"],["9500","9999"]]},"978-9908":{name:"Estonia",ranges:[["0","3"],["40","69"],["825","899"],["9700","9999"]]},"978-9909":{name:"Tunisia",ranges:[["00","19"],["750","849"],["9800","9999"]]},"978-9910":{name:"Uzbekistan",ranges:[["01","18"],["225","374"],["4500","5499"],["550","799"],["8000","9999"]]},"978-9911":{name:"Montenegro",ranges:[["20","24"],["550","749"],["9500","9999"]]},"978-9912":{name:"Tanzania",ranges:[["40","44"],["750","799"],["9800","9999"]]},"978-9913":{name:"Uganda",ranges:[["00","09"],["600","709"],["9500","9999"]]},"978-9914":{name:"Kenya",ranges:[["27","55"],["700","799"],["9200","9999"]]},"978-9915":{name:"Uruguay",ranges:[["40","59"],["650","799"],["9300","9999"]]},"978-9916":{name:"Estonia",ranges:[["0","0"],["10","39"],["4","5"],["600","789"],["79","91"],["9200","9399"],["94","94"],["9500","9999"]]},"978-9917":{name:"Bolivia",ranges:[["0","0"],["30","34"],["600","699"],["9625","9999"]]},"978-9918":{name:"Malta",ranges:[["0","0"],["20","29"],["600","799"],["9500","9999"]]},"978-9919":{name:"Mongolia",ranges:[["0","0"],["20","29"],["500","599"],["9000","9999"]]},"978-9920":{name:"Morocco",ranges:[["00","02"],["130","199"],["200","229"],["23","42"],["430","799"],["8300","8549"],["8550","9999"]]},"978-9921":{name:"Kuwait",ranges:[["0","0"],["30","39"],["700","899"],["9700","9999"]]},"978-9922":{name:"Iraq",ranges:[["15","29"],["500","549"],["5500","5999"],["600","799"],["8000","9999"]]},"978-9923":{name:"Jordan",ranges:[["0","0"],["10","69"],["700","899"],["9400","9999"]]},"978-9924":{name:"Cambodia",ranges:[["28","39"],["500","659"],["8950","9999"]]},"978-9925":{name:"Cyprus",ranges:[["0","2"],["30","54"],["550","734"],["7350","9999"]]},"978-9926":{name:"Bosnia and Herzegovina",ranges:[["0","1"],["20","39"],["400","799"],["8000","9999"]]},"978-9927":{name:"Qatar",ranges:[["00","09"],["100","399"],["4000","4999"]]},"978-9928":{name:"Albania",ranges
34:[["00","09"],["100","399"],["4000","4999"],["800","899"],["90","99"]]},"978-9929":{name:"Guatemala",ranges:[["0","3"],["40","54"],["550","799"],["8000","9799"],["980","999"]]},"978-9930":{name:"Costa Rica",ranges:[["00","49"],["500","939"],["9400","9999"]]},"978-9931":{name:"Algeria",ranges:[["00","23"],["240","899"],["9000","9999"]]},"978-9932":{name:"Lao People's Democratic Republic",ranges:[["00","39"],["400","849"],["8500","9999"]]},"978-9933":{name:"Syria",ranges:[["0","0"],["10","39"],["400","869"],["87","89"],["9000","9999"]]},"978-9934":{name:"Latvia",ranges:[["0","0"],["10","49"],["500","799"],["8000","9999"]]},"978-9935":{name:"Iceland",ranges:[["0","0"],["10","39"],["400","899"],["9000","9999"]]},"978-9936":{name:"Afghanistan",ranges:[["0","1"],["20","39"],["400","799"],["8000","9999"]]},"978-9937":{name:"Nepal",ranges:[["0","2"],["30","49"],["500","799"],["8000","9999"]]},"978-9938":{name:"Tunisia",ranges:[["00","79"],["800","949"],["9500","9749"],["975","990"],["9910","9999"]]},"978-9939":{name:"Armenia",ranges:[["0","3"],["40","47"],["480","499"],["50","79"],["800","899"],["9000","9599"],["960","979"],["98","99"]]},"978-9940":{name:"Montenegro",ranges:[["0","1"],["20","49"],["500","839"],["84","86"],["8700","9999"]]},"978-9941":{name:"Georgia",ranges:[["0","0"],["10","39"],["400","789"],["7900","7999"],["8","8"],["9000","9999"]]},"978-9942":{name:"Ecuador",ranges:[["00","55"],["560","699"],["7000","7499"],["750","849"],["8500","8999"],["900","984"],["9850","9999"]]},"978-9943":{name:"Uzbekistan",ranges:[["00","29"],["300","399"],["4000","9749"],["975","999"]]},"978-9944":{name:"Türkiye",ranges:[["0000","0999"],["100","499"],["5000","5999"],["60","69"],["700","799"],["80","89"],["900","999"]]},"978-9945":{name:"Dominican Republic",ranges:[["00","00"],["010","079"],["08","39"],["400","569"],["57","57"],["580","799"],["80","80"],["810","849"],["8500","9999"]]},"978-9946":{name:"Korea, P.D.R.",ranges:[["0","1"],["20","39"],["400","899"],["9000","9999"]]},"978-9947":{name:"Algeria",ranges:[["0","1"],["20","79"],["800","999"]]},"978-9948":{name:"United Arab Emirates",ranges:[["00","39"],["400","519"],["52","53"],["540","609"],["610","619"],["620","849"],["8500","9949"],["9950","9974"],["9975","9999"]]},"978-9949":{name:"Estonia",ranges:[["00","08"],["090","099"],["10","39"],["400","699"],["70","71"],["7200","7499"],["75","89"],["9000","9999"]]},"978-9950":{name:"Palestine",ranges:[["00","29"],["300","849"],["8500","9999"]]},"978-9951":{name:"Kosova",ranges:[["00","38"],["390","849"],["8500","9799"],["980","999"]]},"978-9952":{name:"Azerbaijan",ranges:[["0","0"],["15","39"],["400","799"],["8000","9999"]]},"978-9953":{name:"Lebanon",ranges:[["0","0"],["10","39"],["400","599"],["60","89"],["9000","9299"],["93","96"],["970","999"]]},"978-9954":{name:"Morocco",ranges:[["0","1"],["20","39"],["400","799"],["8000","9899"],["99","99"]]},"978-9955":{name:"Lithuania",ranges:[["00","39"],["400","929"],["9300","9999"]]},"978-9956":{name:"Cameroon",ranges:[["0","0"],["10","39"],["400","899"],["9000","9999"]]},"978-9957":{name:"Jordan",ranges:[["00","39"],["400","649"],["65","67"],["680","699"],["70","84"],["8500","8799"],["88","99"]]},"978-9958":{name:"Bosnia and Herzegovina",ranges:[["00","01"],["020","029"],["0300","0399"],["040","089"],["0900","0999"],["10","18"],["1900","1999"],["20","49"],["500","899"],["9000","9999"]]},"978-9959":{name:"Libya",ranges:[["0","1"],["20","79"],["800","949"],["9500","9699"],["970","979"],["98","99"]]},"978-9960":{name:"Saudi Arabia",ranges:[["00","59"],["600","899"],["9000","9999"]]},"978-9961":{name:"Algeria",ranges:[["0","2"],["30","69"],["700","949"],["9500","9999"]]},"978-9962":{name:"Panama",ranges:[["00","54"],["5500","5599"],["56","59"],["600","849"],["8500","9999"]]},"978-9963":{name:"Cyprus",ranges:[["0","1"],["2000","2499"],["250","279"],["2800","2999"],["30","54"],["550","734"],["7350","7499"],["7500","9999"]]},"978-9964":{name:"Ghana",ranges:[["0","6"],["70","94"],["950","999"]]},"978-9965":{name:"Kazakhstan",ranges:[["00","39"],["400","899"],["9000","9999"]]},"978-9966":{name:"Kenya",ranges:[["000","139"],["14","14"],["1500","1999"],["20","69"],["7000","7499"],["750","820"],["8210","8249"],["825","825"],["8260","8289"],["829","959"],["9600","9999"]]},"978-9967":{name:"Kyrgyz Republic",ranges:[["00","39"],["400","899"],["9000","9999"]]},"978-9968":{name:"Costa Rica",ranges:[["00","49"],["500","939"],["9400","9999"]]},"978-9969":{name:"Algeria",ranges:[["00","19"],["500","749"],["9300","9999"]]},"978-9970":{name:"Uganda",ranges:[["00","39"],["400","899"],["9000","9999"]]},"978-9971":{name:"Singapore",ranges:[["0","5"],["60","89"],["900","989"],["9900","9999"]]},"978-9972":{name:"Peru",ranges:[["00","09"],["1","1"],["200","249"],["2500","2999"],["30","59"],["600","899"],["9000","9999"]]},"978-9973":{name:"Tunisia",ranges:[["00","05"],["060","089"],["0900","0999"],["10","69"],["700","969"],["9700","9999"]]},"978-9974":{name:"Uruguay",ranges:[["0","2"],["30","54"],["550","749"],["7500","8799"],["880","909"],["91","94"],["95","99"]]},"978-9975":{name:"Moldova",ranges:[["0","0"],["100","299"],["3000","3999"],["4000","4499"],["45","89"],["900","949"],["9500","9999"]]},"978-9976":{name:"Tanzania",ranges:[["0","4"],["5000","5799"],["580","589"],["59","89"],["900","989"],["9900","9999"]]},"978-9977":{name:"Costa Rica",ranges:[["00","89"],["900","989"],["9900","9999"]]},"978-9978":{name:"Ecuador",ranges:[["00","29"],["300","399"],["40","94"],["950","989"],["9900","9999"]]},"978-9979":{name:"Iceland",ranges:[["0","4"],["50","64"],["650","659"],["66","75"],["760","899"],["9000","9999"]]},"978-9980":{name:"Papua New Guinea",ranges:[["0","3"],["40","89"],["900","989"],["9900","9999"]]},"978-9981":{name:"Morocco",ranges:[["00","09"],["100","159"],["1600","1999"],["20","79"],["800","949"],["9500","9999"]]},"978-9982":{name:"Zambia",ranges:[["00","79"],["800","989"],["9900","9999"]]},"978-9983":{name:"Gambia",ranges:[["80","94"],["950","989"],["9900","9999"]]},"978-9984":{name:"Latvia",ranges:[["00","49"],["500","899"],["9000","9999"]]},"978-9985":{name:"Estonia",ranges:[["0","4"],["50","79"],["800","899"],["9000","9999"]]},"978-9986":{name:"Lithuania",ranges:[["00","39"],["400","899"],["9000","9399"],["940","969"],["97","99"]]},"978-9987":{name:"Tanzania",ranges:[["00","39"],["400","879"],["8800","9999"]]},"978-9988":{name:"Ghana",ranges:[["0","3"],["40","54"],["550","749"],["7500","9999"]]},"978-9989":{name:"North Macedonia",ranges:[["0","0"],["100","199"],["2000","2999"],["30","59"],["600","949"],["9500","9999"]]},"978-99901":{name:"Bahrain",ranges:[["00","49"],["500","799"],["80","99"]]},"978-99902":{name:"Reserved Agency",ranges:[]},"978-99903":{name:"Mauritius",ranges:[["0","1"],["20","89"],["900","999"]]},"978-99904":{name:"Curaçao",ranges:[["0","5"],["60","89"],["900","999"]]},"978-99905":{name:"Bolivia",ranges:[["0","3"],["40","79"],["800","999"]]},"978-99906":{name:"Kuwait",ranges:[["0","2"],["30","59"],["600","699"],["70","89"],["90","94"],["950","999"]]},"978-99908":{name:"Malawi",ranges:[["0","0"],["10","89"],["900","999"]]},"978-99909":{name:"Malta",ranges:[["0","3"],["40","94"],["950","999"]]},"978-99910":{name:"Sierra Leone",ranges:[["0","2"],["30","89"],["900","999"]]},"978-99911":{name:"Lesotho",ranges:[["00","46"],["470","479"],["48","59"],["600","999"]]},"978-99912":{name:"Botswana",ranges:[["0","3"],["400","599"],["60","89"],["900","999"]]},"978-99913":{name:"Andorra",ranges:[["0","2"],["30","35"],["600","604"]]},"978-99914":{name:"International NGO Publishers",ranges:[["0","4"],["50","69"],["7","7"],["80","86"],["870","879"],["88","89"],["900","999"]]},"978-99915":{name:"Maldives",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99916":{name:"Namibia",ranges:[["0","2"],["30","69"],["700","999"]]},"978-99917":{name:"Brunei Darussalam",ranges:[["0","2"],["30","88"],["890","999"]]},"978-99918":{name:"Faroe Islands",ranges:[["0","3"],["40","79"],["800","999"]]},"978-99919":{name:"Benin",ranges:[["0","2"],["300","399"],["40","79"],["800","999"]]},"978-99920":{name:"Andorra",ranges:[["0","4"],["50","89"],["900","999"]]},"978-99921":{name:"Qatar",ranges:[["0","1"],["20","69"],["700","799"],["8","8"],["90","99"]]}
34,"978-99922":{name:"Guatemala",ranges:[["0","3"],["40","69"],["700","999"]]},"978-99923":{name:"El Salvador",ranges:[["0","1"],["20","79"],["800","999"]]},"978-99924":{name:"Nicaragua",ranges:[["0","1"],["20","79"],["800","999"]]},"978-99925":{name:"Paraguay",ranges:[["0","0"],["10","19"],["200","299"],["3","3"],["40","79"],["800","999"]]},"978-99926":{name:"Honduras",ranges:[["0","0"],["10","59"],["600","869"],["87","89"],["90","99"]]},"978-99927":{name:"Albania",ranges:[["0","2"],["30","59"],["600","999"]]},"978-99928":{name:"Georgia",ranges:[["0","0"],["10","79"],["800","999"]]},"978-99929":{name:"Mongolia",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99930":{name:"Armenia",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99931":{name:"Seychelles",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99932":{name:"Malta",ranges:[["0","0"],["10","59"],["600","699"],["7","7"],["80","99"]]},"978-99933":{name:"Nepal",ranges:[["0","2"],["30","59"],["600","999"]]},"978-99934":{name:"Dominican Republic",ranges:[["0","1"],["20","79"],["800","999"]]},"978-99935":{name:"Haiti",ranges:[["0","2"],["30","59"],["600","699"],["7","8"],["90","99"]]},"978-99936":{name:"Bhutan",ranges:[["0","0"],["10","59"],["600","999"]]},"978-99937":{name:"Macau",ranges:[["0","1"],["20","59"],["600","999"]]},"978-99938":{name:"Srpska, Republic of",ranges:[["0","1"],["20","59"],["600","899"],["90","99"]]},"978-99939":{name:"Guatemala",ranges:[["0","2"],["30","59"],["60","89"],["900","999"]]},"978-99940":{name:"Georgia",ranges:[["0","0"],["10","69"],["700","999"]]},"978-99941":{name:"Armenia",ranges:[["0","2"],["30","79"],["800","999"]]},"978-99942":{name:"Sudan",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99943":{name:"Albania",ranges:[["0","2"],["30","59"],["600","999"]]},"978-99944":{name:"Ethiopia",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99945":{name:"Namibia",ranges:[["0","4"],["50","89"],["900","979"],["98","99"]]},"978-99946":{name:"Nepal",ranges:[["0","2"],["30","59"],["600","999"]]},"978-99947":{name:"Tajikistan",ranges:[["0","2"],["30","69"],["700","999"]]},"978-99948":{name:"Eritrea",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99949":{name:"Mauritius",ranges:[["0","1"],["20","79"],["8","8"],["900","989"],["99","99"]]},"978-99950":{name:"Cambodia",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99951":{name:"Reserved Agency",ranges:[]},"978-99952":{name:"Mali",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99953":{name:"Paraguay",ranges:[["0","2"],["30","79"],["800","939"],["94","99"]]},"978-99954":{name:"Bolivia",ranges:[["0","2"],["30","69"],["700","879"],["88","99"]]},"978-99955":{name:"Srpska, Republic of",ranges:[["0","1"],["20","59"],["600","799"],["80","99"]]},"978-99956":{name:"Albania",ranges:[["00","59"],["600","859"],["86","99"]]},"978-99957":{name:"Malta",ranges:[["0","1"],["20","79"],["800","949"],["95","99"]]},"978-99958":{name:"Bahrain",ranges:[["0","4"],["50","93"],["940","949"],["950","999"]]},"978-99959":{name:"Luxembourg",ranges:[["0","2"],["30","59"],["600","999"]]},"978-99960":{name:"Malawi",ranges:[["070","099"],["10","94"],["950","999"]]},"978-99961":{name:"El Salvador",ranges:[["0","2"],["300","369"],["37","89"],["900","999"]]},"978-99962":{name:"Mongolia",ranges:[["0","4"],["50","79"],["800","999"]]},"978-99963":{name:"Cambodia",ranges:[["00","49"],["500","919"],["92","99"]]},"978-99964":{name:"Nicaragua",ranges:[["0","1"],["20","79"],["800","999"]]},"978-99965":{name:"Macau",ranges:[["0","2"],["300","359"],["36","62"],["630","999"]]},"978-99966":{name:"Kuwait",ranges:[["0","2"],["30","69"],["700","799"],["80","96"],["970","999"]]},"978-99967":{name:"Paraguay",ranges:[["0","0"],["10","59"],["600","999"]]},"978-99968":{name:"Botswana",ranges:[["0","3"],["400","599"],["60","89"],["900","999"]]},"978-99969":{name:"Oman",ranges:[["0","4"],["50","79"],["800","949"],["95","99"]]},"978-99970":{name:"Haiti",ranges:[["0","4"],["50","89"],["900","999"]]},"978-99971":{name:"Myanmar",ranges:[["0","3"],["40","84"],["850","999"]]},"978-99972":{name:"Faroe Islands",ranges:[["0","4"],["50","89"],["900","999"]]}
34,"978-99973":{name:"Mongolia",ranges:[["0","3"],["40","79"],["800","999"]]},"978-99974":{name:"Bolivia",ranges:[["0","0"],["10","25"],["260","399"],["40","63"],["640","649"],["65","79"],["800","999"]]},"978-99975":{name:"Tajikistan",ranges:[["0","2"],["300","399"],["40","79"],["800","999"]]},"978-99976":{name:"Srpska, Republic of",ranges:[["00","03"],["040","099"],["10","15"],["160","199"],["20","59"],["600","819"],["82","89"],["900","999"]]},"978-99977":{name:"Rwanda",ranges:[["0","1"],["40","69"],["700","799"],["900","924"],["975","999"]]},"978-99978":{name:"Mongolia",ranges:[["0","4"],["50","69"],["700","999"]]},"978-99979":{name:"Honduras",ranges:[["0","3"],["40","79"],["800","999"]]},"978-99980":{name:"Bhutan",ranges:[["0","0"],["25","64"],["670","999"]]},"978-99981":{name:"Macau",ranges:[["0","0"],["10","10"],["110","149"],["15","19"],["200","219"],["22","74"],["750","999"]]},"978-99982":{name:"Benin",ranges:[["0","4"],["50","79"],["845","999"]]},"978-99983":{name:"El Salvador",ranges:[["0","0"],["35","69"],["850","999"]]},"978-99984":{name:"Brunei Darussalam",ranges:[["0","0"],["50","69"],["950","999"]]},"978-99985":{name:"Tajikistan",ranges:[["0","1"],["200","229"],["23","79"],["800","999"]]},"978-99986":{name:"Myanmar",ranges:[["0","0"],["50","69"],["950","999"]]},"978-99987":{name:"Luxembourg",ranges:[["400","999"]]},"978-99988":{name:"Sudan",ranges:[["0","0"],["10","11"],["50","54"],["800","824"]]},"978-99989":{name:"Paraguay",ranges:[["0","1"],["50","79"],["900","999"]]},"978-99990":{name:"Ethiopia",ranges:[["0","1"],["45","57"],["930","999"]]},"978-99991":{name:"Burkina Faso",ranges:[["0","0"],["50","60"],["960","999"]]},"978-99992":{name:"Oman",ranges:[["0","2"],["50","69"],["900","999"]]},"978-99993":{name:"Mauritius",ranges:[["0","4"],["50","54"],["980","999"]]},"978-99994":{name:"Haiti",ranges:[["0","0"],["50","56"],["960","999"]]},"978-99995":{name:"Seychelles",ranges:[["50","55"],["975","999"]]},"978-99996":{name:"Macau",ranges:[["0","1"],["40","59"],["900","999"]]},"978-99997":{name:"Srpska, Republic of",ranges:[["0","0"],["40","61"],["920","999"]]},"978-99998":{name:"Namibia",ranges:[["80","89"]]},"979-10":{name:"France",ranges:[["00","19"],["200","699"],["7000","8999"],["90000","97599"],["976000","999999"]]},"979-11":{name:"Korea, Republic",ranges:[["00","21"],["220000","229999"],["23000","24999"],["250","549"],["5500","8499"],["85000","94999"],["950000","999999"]]},"979-12":{name:"Italy",ranges:[["200","299"],["5450","5999"],["80000","84999"],["985000","999999"]]},"979-13":{name:"Spain",ranges:[["00","00"],["600","604"],["7000","7349"],["87500","89999"],["990000","999999"]]},"979-8":{name:"United States",ranges:[["030","034"],["1700","1799"],["1800","1949"],["1950","1999"],["200","239"],["2400","2599"],["2600","2799"],["2800","2999"],["3000","8849"],["88500","89999"],["90000","90999"],["950000","969999"],["9850000","9929999"],["9930000","9959999"],["9960000","9984999"],["9985000","9999999"]]}}),ja}var Ta,Q8;function n0(){return Q8||(Q8=1,Ta=t=>{let e=0;if(t.length===9){for(let r=0;r<9;r+=1)e+=(10-r)*t.charAt(r);return e=(11-e%11)%11,e===10?"X":String(e)}else if(t.length===12){for(let r=0;r<12;r+=2)e+=Number(t.charAt(r))+3*t.charAt(r+1);return String((10-e%10)%10)}return null}),Ta}var Ma,e7;function $h(){if(e7)return Ma;e7=1;const t=Ko(),e=n0();return Ma=r=>{if(!r)return null;const n=r.prefix||"978",{group:i,publisher:a,article:o}=r,f=t[`${n}-${i}`];if(!f)return null;r.groupname=f.name;const u=`${i}${a}${o}`,m=r.check10=e(u);if(!m)return null;const S=r.check13=e(n+u);return S?(r.isbn13=`${n}${i}${a}${o}${S}`,r.isbn13h=`${n}-${i}-${a}-${o}-${S}`,n==="978"&&(r.isbn10=`${i}${a}${o}${m}`,r.isbn10h=`${i}-${a}-${o}-${m}`),r):null},Ma}var Ra,t7;function s0(){if(t7)return Ra;t7=1;const t=Ko();Ra=r=>{const n=r.substring(0,3),i=r.substring(3),a=e(n,i,5);return a?{group:a.groupId,groupPrefix:a.groupPrefix,ranges:a.groupData.ranges,restAfterGroup:i.slice(a.groupId.length)}:null};function e(r,n,i){let a=0;for(;a<=i;){const o=n.slice(0,a),f=`${r}-${o}`,u=t[f];if(u)return{groupId:o,groupPrefix:f,groupData:u};a++}}return Ra}var Pa,r7;function o0(){if(r7)return Pa;r7=1;const t=s0();Pa=r=>(r.length===10&&(r="978"+r),r.length===13?e(r):null);const e=r=>{const n=t(r);if(!n)return null;const{group:i,ranges:a,restAfterGroup:o}=n;for(let f of a){const[u,m]=f,S=o.substr(0,u.length);if(u<=S&&m>=S){const w=o.substr(S.length),x=w.slice(-1);return{group:i,publisher:S,article:w.slice(0,-1),check:x==="x"?"X":x}}}return null};return Pa}var Na,i7;function a0(){if(i7)return Na;i7=1;const t=$h(),e=o0();return Na=r=>{if(r==null)return null;r=r.toString();const n=r;if(!r)return null;r=r.replace(/\s/g,"").replace(/-/g,"");let i=e(r);return!i||(i.source=n,r.length===13?(i.prefix=r.substring(0,3),i.isIsbn13=!0,i.isIsbn10=!1):(i.isIsbn10=!0,i.isIsbn13=!1),i=t(i),!i)?null:(i.isValid=i.check===(i.isIsbn13?i.check13:i.check10),i.isValid?i:null)},Na}var _a,n7;function Wh(){if(n7)return _a;n7=1;const t=a0(),e=n0(),r=s0(),n=Ko(),i=o0();_a=x=>
34{if(typeof x!="string"||x.length===0)throw Error(`invalid input: ${x}`);const T={source:x},y=t(x);T.validIsbn=y!=null;const E=[],A=S(x);if(!(A.length===13||A.length===10))throw new Error("invalid input length");return y?(T.groupname=y.groupname,A.length===13&&(A.startsWith("978")?o(A,"979",E):A.startsWith("979")&&o(A,"978",E))):a(A,E),T.clues=E,T};function a(x,T){const y=r(x);if(y){const{groupPrefix:E}=y,A=n[E];if(i(x)){const R=x.slice(0,-1),k=e(R),B=t(`${R}${k}`);T.push({message:"Found a matching group and publisher range, but the checksum didn't match. Could the checksum be wrong?",candidate:w(B)})}else T.push({message:"Found a matching group but no matching publisher range",group:{prefix:E,name:A.name}})}else T.push({message:"Could not find a matching ISBN group"});x.length===13?x.startsWith("978")?(f(x,"979",T),u(x,T)):x.startsWith("979")&&f(x,"978",T):x.length===10&&(m(x,"978",T),m(x,"979",T))}const o=(x,T,y)=>{const E=`${T}${x.substring(3,12)}`,A=e(E),j=t(`${E}${A}`);j!=null&&y.push({message:"Possible prefix error",candidate:w(j)})},f=(x,T,y)=>{const E=`${T}${x.substring(3)}`,A=t(E);A!=null&&y.push({message:"Checksum hints different prefix",candidate:w(A)})},u=(x,T)=>{const y=x.substring(3),E=t(y);E!=null&&T.push({message:"Checksum hints that a 978 was added to an ISBN-10 without updating the checksum",candidate:w(E)})},m=(x,T,y)=>{const E=`${T}${x}`,A=t(E);A!=null&&y.push({message:`Checksum hints that it is an ISBN-13 without its ${T} prefix`,candidate:w(A)})},S=x=>x.replace(/[^\dX]/g,"");function w(x){const{isbn13h:T,isbn13:y,isbn10h:E,isbn10:A,groupname:j}=x;return E?{isbn13h:T,isbn13:y,isbn10h:E,isbn10:A,groupname:j}:{isbn13h:T,isbn13:y,groupname:j}}return _a}var Ia,s7;function qh(){if(s7)return Ia;s7=1;const t=a0(),e=Wh();return Ia={parse:t,audit:e,hyphenate:r=>{const n=t(r);return n?n.isIsbn13?n.isbn13h:n.isbn10h:null},asIsbn13:(r,n)=>{const i=t(r);return i?n?i.isbn13h:i.isbn13:null},asIsbn10:(r,n)=>{const i=t(r);return!i||!i.isbn10?null:n?i.isbn10h:i.isbn10},groups:Ko()},Ia}var Vh=qh();const Yh=Ur(Vh),Xh=t=>{const e=Yh.parse(t.replace(/\s+/g,""));return e?[e.isbn13]:[]},l0={extract:Xh};var bo={exports:{}},us={exports:{}};var Kh=us.exports,o7;function Zh(){return o7||(o7=1,(function(t,e){(function(r){var n=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,a=typeof Rn=="object"&&Rn;(a.global===a||a.window===a||a.self===a)&&(r=a);var o,f=2147483647,u=36,m=1,S=26,w=38,x=700,T=72,y=128,E="-",A=/^xn--/,j=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},B=u-m,L=Math.floor,C=String.fromCharCode,h;function H(_){throw new RangeError(k[_])}function P(_,U){for(var q=_.length,z=[];q--;)z[q]=U(_[q]);return z}function N(_,U){var q=_.split("@"),z="";q.length>1&&(z=q[0]+"@",_=q[1]),_=_.replace(R,".");var J=_.split("."),te=P(J,U).join(".");return z+te}function I(_){for(var U=[],q=0,z=_.length,J,te;q<z;)J=_.charCodeAt(q++),J>=55296&&J<=56319&&q<z?(te=_.charCodeAt(q++),(te&64512)==56320?U.push(((J&1023)<<10)+(te&1023)+65536):(U.push(J),q--)):U.push(J);return U}function F(_){return P(_,function(U){var q="";return U>65535&&(U-=65536,q+=C(U>>>10&1023|55296),U=56320|U&1023),q+=C(U),q}).join("")}function l(_){return _-48<10?_-22:_-65<26?_-65:_-97<26?_-97:u}function d(_,U){return _+22+75*(_<26)-((U!=0)<<5)}function p(_,U,q){var z=0;for(_=q?L(_/x):_>>1,_+=L(_/U);_>B*S>>1;z+=u)_=L(_/B);return L(z+(B+1)*_/(_+w))}function v(_){var U=[],q=_.length,z,J=0,te=y,ce=T,xe,V,Y,X,ae,$,K,Z,se;for(xe=_.lastIndexOf(E),xe<0&&(xe=0),V=0;V<xe;++V)_.charCodeAt(V)>=128&&H("not-basic"),U.push(_.charCodeAt(V));for(Y=xe>0?xe+1:0;Y<q;){for(X=J,ae=1,$=u;Y>=q&&H("invalid-input"),K=l(_.charCodeAt(Y++)),(K>=u||K>L((f-J)/ae))&&H("overflow"),J+=K*ae,Z=$<=ce?m:$>=ce+S?S:$-ce,!(K<Z);$+=u)se=u-Z,ae>L(f/se)&&H("overflow"),ae*=se;z=U.length+1,ce=p(J-X,z,X==0),L(J/z)>f-te&&H("overflow"),te+=L(J/z),J%=z,U.splice(J++,0,te)}return F(U)}function b(_){var U,q,z,J,te,ce,xe,V,Y,X,ae,$=[],K,Z,se,ie;for(_=I(_),K=_.length,U=y,q=0,te=T,ce=0;ce<K;++ce)ae=_[ce],ae<128&&$.push(C(ae));for(z=J=$.length,J&&$.push(E);z<K;){for(xe=f,ce=0;ce<K;++ce)ae=_[ce],ae>=U&&ae<xe&&(xe=ae);for(Z=z+1,xe-U>L((f-q)/Z)&&H("overflow"),q+=(xe-U)*Z,U=xe,ce=0;ce<K;++ce)if(ae=_[ce],ae<U&&++q>f&&H("overflow"),ae==U){for(V=q,Y=u;X=Y<=te?m:Y>=te+S?S:Y-te,!(V<X);Y+=u)ie=V-X,se=u-X,$.push(C(d(X+ie%se,0))),V=L(ie/se);$.push(C(d(V,0))),te=p(q,Z,z==J),q=0,++z}++q,++U}return $.join("")}function M(_){return N(_,function(U){return A.test(U)?v(U.slice(4).toLowerCase()):U})}function O(_){return N(_,function(U){return j.test(U)?"xn--"+b(U):U})}if(o={version:"1.3.2",ucs2:{decode:I,encode:F},decode:v,encode:b,toASCII:O,toUnicode:M},n&&i)if(t.exports==n)i.exports=o;else for(h in o)o.hasOwnProperty(h)&&(n[h]=o[h]);
34else r.punycode=o})(Kh)})(us,us.exports)),us.exports}var vo={exports:{}};var Jh=vo.exports,a7;function Qh(){return a7||(a7=1,(function(t){(function(e,r){t.exports?t.exports=r():e.IPv6=r(e)})(Jh,function(e){var r=e&&e.IPv6;function n(a){var o=a.toLowerCase(),f=o.split(":"),u=f.length,m=8;f[0]===""&&f[1]===""&&f[2]===""?(f.shift(),f.shift()):f[0]===""&&f[1]===""?f.shift():f[u-1]===""&&f[u-2]===""&&f.pop(),u=f.length,f[u-1].indexOf(".")!==-1&&(m=7);var S;for(S=0;S<u&&f[S]!=="";S++);if(S<m)for(f.splice(S,1,"0000");f.length<m;)f.splice(S,0,"0000");for(var w,x=0;x<m;x++){w=f[x].split("");for(var T=0;T<3&&(w[0]==="0"&&w.length>1);T++)w.splice(0,1);f[x]=w.join("")}var y=-1,E=0,A=0,j=-1,R=!1;for(x=0;x<m;x++)R?f[x]==="0"?A+=1:(R=!1,A>E&&(y=j,E=A)):f[x]==="0"&&(R=!0,j=x,A=1);A>E&&(y=j,E=A),E>1&&f.splice(y,E,""),u=f.length;var k="";for(f[0]===""&&(k=":"),x=0;x<u&&(k+=f[x],x!==u-1);x++)k+=":";return f[u-1]===""&&(k+=":"),k}function i(){return e.IPv6===this&&(e.IPv6=r),this}return{best:n,noConflict:i}})})(vo)),vo.exports}var So={exports:{}};var eu=So.exports,l7;function tu(){return l7||(l7=1,(function(t){(function(e,r){t.exports?t.exports=r():e.SecondLevelDomains=r(e)})(eu,function(e){var r=e&&e.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" c
34om edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(i){var a=i.lastIndexOf(".");if(a<=0||a>=i.length-1)return!1;var o=i.lastIndexOf(".",a-1);if(o<=0||o>=a-1)return!1;var f=n.list[i.slice(a+1)];return f?f.indexOf(" "+i.slice(o+1,a)+" ")>=0:!1},is:function(i){var a=i.lastIndexOf(".");if(a<=0||a>=i.length-1)return!1;var o=i.lastIndexOf(".",a-1);if(o>=0)return!1;var f=n.list[i.slice(a+1)];return f?f.indexOf(" "+i.slice(0,a)+" ")>=0:!1},get:function(i){var a=i.lastIndexOf(".");if(a<=0||a>=i.length-1)return null;var o=i.lastIndexOf(".",a-1);if(o<=0||o>=a-1)return null;var f=n.list[i.slice(a+1)];return!f||f.indexOf(" "+i.slice(o+1,a)+" ")<0?null:i.slice(o+1)},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=r),this}};return n})})(So)),So.exports}var ru=bo.exports,c7;function iu(){return c7||(c7=1,(function(t){(function(e,r){t.exports?t.exports=r(Zh(),Qh(),tu()):e.URI=r(e.punycode,e.IPv6,e.SecondLevelDomains,e)})(ru,function(e,r,n,i){var a=i&&i.URI;function o(l,d){var p=arguments.length>=1,v=arguments.length>=2;if(!(this instanceof o))return p?v?new o(l,d):new o(l):new o;if(l===void 0){if(p)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?l=location.href+"":l=""}if(l===null&&p)throw new TypeError("null is not a valid argument for URI");return this.href(l),d!==void 0?this.absoluteTo(d):this}function f(l){return/^[0-9]+$/.test(l)}o.version="1.19.11";var u=o.prototype,m=Object.prototype.hasOwnProperty;function S(l){return l.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function w(l){return l===void 0?"Undefined":String(Object.prototype.toString.call(l)).slice(8,-1)}function x(l){return w(l)==="Array"}function T(l,d){var p={},v,b;if(w(d)==="RegExp")p=null;else if(x(d))for(v=0,b=d.length;v<b;v++)p[d[v]]=!0;else p[d]=!0;for(v=0,b=l.length;v<b;v++){var M=p&&p[l[v]]!==void 0||!p&&d.test(l[v]);M&&(l.splice(v,1),b--,v--)}return l}function y(l,d){var p,v;if(x(d)){for(p=0,v=d.length;p<v;p++)if(!y(l,d[p]))return!1;return!0}var b=w(d);for(p=0,v=l.length;p<v;p++)if(b==="RegExp"){if(typeof l[p]=="string"&&l[p].match(d))return!0}else if(l[p]===d)return!0;return!1}function E(l,d){if(!x(l)||!x(d)||l.length!==d.length)return!1;l.sort(),d.sort();for(var p=0,v=l.length;p<v;p++)if(l[p]!==d[p])return!1;return!0}function A(l){var d=/^\/+|\/+$/g;return l.replace(d,"")}o._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:o.preventInvalidHostname,duplicateQueryParameters:o.duplicateQueryParameters,escapeQuerySpace:o.escapeQuerySpace}},o.preventInvalidHostname=!1,o.duplicateQueryParameters=!1,o.escapeQuerySpace=!0,o.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,o.idn_expression=/[^a-z0-9\._-]/i,o.punycode_expression=/(xn--)/i,o.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,o.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,o.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»ââââ]))/ig,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»âââââ]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},o.getDomAttribute=function(l){if(!(!l||!l.nodeName)){var d=l.nodeName.toLowerCase();if(!(d==="input"&&l.type!=="image"))return o.domAttributes[d]}};function j(l){return escape(l)}function R(l){return encodeURIComponent(l).replace(/[!'()*]/g,j).replace(/\*/g,"%2A")}o.encode=R,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=R,o.decode=decodeURIComponent},o.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},o.encodeQuery=function(l,d){var p=o.encode(l+"");return d===void 0&&(d=o.escapeQuerySpace),d?p.replace(/%20/g,"+"):p},o.decodeQuery=function(l,d){l+="",d===void 0&&(d=o.escapeQuerySpace);try{return o.decode(d?l.replace(/\+/g,"%20"):l)}catch{return l}};var k={encode:"encode",decode:"decode"},B,L=function(l,d){return function(p){try{return o[d](p+"").replace(o.characters[l][d].expression,function(v){return o.characters[l][d].map[v]})}catch{return p}}};for(B in k)o[B+"PathSegment"]=L("pathname",k[B]),o[B+"UrnPathSegment"]=L("urnpath",k[B]
34);var C=function(l,d,p){return function(v){var b;p?b=function(U){return o[d](o[p](U))}:b=o[d];for(var M=(v+"").split(l),O=0,_=M.length;O<_;O++)M[O]=b(M[O]);return M.join(l)}};o.decodePath=C("/","decodePathSegment"),o.decodeUrnPath=C(":","decodeUrnPathSegment"),o.recodePath=C("/","encodePathSegment","decode"),o.recodeUrnPath=C(":","encodeUrnPathSegment","decode"),o.encodeReserved=L("reserved","encode"),o.parse=function(l,d){var p;return d||(d={preventInvalidHostname:o.preventInvalidHostname}),l=l.replace(o.leading_whitespace_expression,""),l=l.replace(o.ascii_tab_whitespace,""),p=l.indexOf("#"),p>-1&&(d.fragment=l.substring(p+1)||null,l=l.substring(0,p)),p=l.indexOf("?"),p>-1&&(d.query=l.substring(p+1)||null,l=l.substring(0,p)),l=l.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),l=l.replace(/^[/\\]{2,}/i,"//"),l.substring(0,2)==="//"?(d.protocol=null,l=l.substring(2),l=o.parseAuthority(l,d)):(p=l.indexOf(":"),p>-1&&(d.protocol=l.substring(0,p)||null,d.protocol&&!d.protocol.match(o.protocol_expression)?d.protocol=void 0:l.substring(p+1,p+3).replace(/\\/g,"/")==="//"?(l=l.substring(p+3),l=o.parseAuthority(l,d)):(l=l.substring(p+1),d.urn=!0))),d.path=l,d},o.parseHost=function(l,d){l||(l=""),l=l.replace(/\\/g,"/");var p=l.indexOf("/"),v,b;if(p===-1&&(p=l.length),l.charAt(0)==="[")v=l.indexOf("]"),d.hostname=l.substring(1,v)||null,d.port=l.substring(v+2,p)||null,d.port==="/"&&(d.port=null);else{var M=l.indexOf(":"),O=l.indexOf("/"),_=l.indexOf(":",M+1);_!==-1&&(O===-1||_<O)?(d.hostname=l.substring(0,p)||null,d.port=null):(b=l.substring(0,p).split(":"),d.hostname=b[0]||null,d.port=b[1]||null)}return d.hostname&&l.substring(p).charAt(0)!=="/"&&(p++,l="/"+l),d.preventInvalidHostname&&o.ensureValidHostname(d.hostname,d.protocol),d.port&&o.ensureValidPort(d.port),l.substring(p)||"/"},o.parseAuthority=function(l,d){return l=o.parseUserinfo(l,d),o.parseHost(l,d)},o.parseUserinfo=function(l,d){var p=l,v=l.indexOf("\\");v!==-1&&(l=l.replace(/\\/g,"/"));var b=l.indexOf("/"),M=l.lastIndexOf("@",b>-1?b:l.length-1),O;return M>-1&&(b===-1||M<b)?(O=l.substring(0,M).split(":"),d.username=O[0]?o.decode(O[0]):null,O.shift(),d.password=O[0]?o.decode(O.join(":")):null,l=p.substring(M+1)):(d.username=null,d.password=null),l},o.parseQuery=function(l,d){if(!l)return{};if(l=l.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!l)return{};for(var p={},v=l.split("&"),b=v.length,M,O,_,U=0;U<b;U++)M=v[U].split("="),O=o.decodeQuery(M.shift(),d),_=M.length?o.decodeQuery(M.join("="),d):null,O!=="__proto__"&&(m.call(p,O)?((typeof p[O]=="string"||p[O]===null)&&(p[O]=[p[O]]),p[O].push(_)):p[O]=_);return p},o.build=function(l){var d="",p=!1;return l.protocol&&(d+=l.protocol+":"),!l.urn&&(d||l.hostname)&&(d+="//",p=!0),d+=o.buildAuthority(l)||"",typeof l.path=="string"&&(l.path.charAt(0)!=="/"&&p&&(d+="/"),d+=l.path),typeof l.query=="string"&&l.query&&(d+="?"+l.query),typeof l.fragment=="string"&&l.fragment&&(d+="#"+l.fragment),d},o.buildHost=function(l){var d="";if(l.hostname)o.ip6_expression.test(l.hostname)?d+="["+l.hostname+"]":d+=l.hostname;else return"";return l.port&&(d+=":"+l.port),d},o.buildAuthority=function(l){return o.buildUserinfo(l)+o.buildHost(l)},o.buildUserinfo=function(l){var d="";return l.username&&(d+=o.encode(l.username)),l.password&&(d+=":"+o.encode(l.password)),d&&(d+="@"),d},o.buildQuery=function(l,d,p){var v="",b,M,O,_;for(M in l)if(M!=="__proto__"&&m.call(l,M))if(x(l[M]))for(b={},O=0,_=l[M].length;O<_;O++)l[M][O]!==void 0&&b[l[M][O]+""]===void 0&&(v+="&"+o.buildQueryParameter(M,l[M][O],p),d!==!0&&(b[l[M][O]+""]=!0));else l[M]!==void 0&&(v+="&"+o.buildQueryParameter(M,l[M],p));return v.substring(1)},o.buildQueryParameter=function(l,d,p){return o.encodeQuery(l,p)+(d!==null?"="+o.encodeQuery(d,p):"")},o.addQuery=function(l,d,p){if(typeof d=="object")for(var v in d)m.call(d,v)&&o.addQuery(l,v,d[v]);else if(typeof d=="string"){if(l[d]===void 0){l[d]=p;return}else typeof l[d]=="string"&&(l[d]=[l[d]]);x(p)||(p=[p]),l[d]=(l[d]||[]).concat(p)}else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter")},o.setQuery=function(l,d,p){if(typeof d=="object")for(var v in d)m.call(d,v)&&o.setQuery(l,v,d[v]);
34else if(typeof d=="string")l[d]=p===void 0?null:p;else throw new TypeError("URI.setQuery() accepts an object, string as the name parameter")},o.removeQuery=function(l,d,p){var v,b,M;if(x(d))for(v=0,b=d.length;v<b;v++)l[d[v]]=void 0;else if(w(d)==="RegExp")for(M in l)d.test(M)&&(l[M]=void 0);else if(typeof d=="object")for(M in d)m.call(d,M)&&o.removeQuery(l,M,d[M]);else if(typeof d=="string")p!==void 0?w(p)==="RegExp"?!x(l[d])&&p.test(l[d])?l[d]=void 0:l[d]=T(l[d],p):l[d]===String(p)&&(!x(p)||p.length===1)?l[d]=void 0:x(l[d])&&(l[d]=T(l[d],p)):l[d]=void 0;else throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter")},o.hasQuery=function(l,d,p,v){switch(w(d)){case"String":break;case"RegExp":for(var b in l)if(m.call(l,b)&&d.test(b)&&(p===void 0||o.hasQuery(l,b,p)))return!0;return!1;case"Object":for(var M in d)if(m.call(d,M)&&!o.hasQuery(l,M,d[M]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(w(p)){case"Undefined":return d in l;case"Boolean":var O=!!(x(l[d])?l[d].length:l[d]);return p===O;case"Function":return!!p(l[d],d,l);case"Array":if(!x(l[d]))return!1;var _=v?y:E;return _(l[d],p);case"RegExp":return x(l[d])?v?y(l[d],p):!1:!!(l[d]&&l[d].match(p));case"Number":p=String(p);case"String":return x(l[d])?v?y(l[d],p):!1:l[d]===p;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},o.joinPaths=function(){for(var l=[],d=[],p=0,v=0;v<arguments.length;v++){var b=new o(arguments[v]);l.push(b);for(var M=b.segment(),O=0;O<M.length;O++)typeof M[O]=="string"&&d.push(M[O]),M[O]&&p++}if(!d.length||!p)return new o("");var _=new o("").segment(d);return(l[0].path()===""||l[0].path().slice(0,1)==="/")&&_.path("/"+_.path()),_.normalize()},o.commonPath=function(l,d){var p=Math.min(l.length,d.length),v;for(v=0;v<p;v++)if(l.charAt(v)!==d.charAt(v)){v--;break}return v<1?l.charAt(0)===d.charAt(0)&&l.charAt(0)==="/"?"/":"":((l.charAt(v)!=="/"||d.charAt(v)!=="/")&&(v=l.substring(0,v).lastIndexOf("/")),l.substring(0,v+1))},o.withinString=function(l,d,p){p||(p={});var v=p.start||o.findUri.start,b=p.end||o.findUri.end,M=p.trim||o.findUri.trim,O=p.parens||o.findUri.parens,_=/[a-z0-9-]=["']?$/i;for(v.lastIndex=0;;){var U=v.exec(l);if(!U)break;var q=U.index;if(p.ignoreHtml){var z=l.slice(Math.max(q-3,0),q);if(z&&_.test(z))continue}for(var J=q+l.slice(q).search(b),te=l.slice(q,J),ce=-1;;){var xe=O.exec(te);if(!xe)break;var V=xe.index+xe[0].length;ce=Math.max(ce,V)}if(ce>-1?te=te.slice(0,ce)+te.slice(ce).replace(M,""):te=te.replace(M,""),!(te.length<=U[0].length)&&!(p.ignore&&p.ignore.test(te))){J=q+te.length;var Y=d(te,q,J,l);if(Y===void 0){v.lastIndex=J;continue}Y=String(Y),l=l.slice(0,q)+Y+l.slice(J),v.lastIndex=q+Y.length}}return v.lastIndex=0,l},o.ensureValidHostname=function(l,d){var p=!!l,v=!!d,b=!1;if(v&&(b=y(o.hostProtocols,d)),b&&!p)throw new TypeError("Hostname cannot be empty, if protocol is "+d);if(l&&l.match(o.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+l+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(l).match(o.invalid_hostname_characters))throw new TypeError('Hostname "'+l+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(l){if(l){var d=Number(l);if(!(f(d)&&d>0&&d<65536))throw new TypeError('Port "'+l+'" is not a valid port')}},o.noConflict=function(l){if(l){var d={URI:this.noConflict()};return i.URITemplate&&typeof i.URITemplate.noConflict=="function"&&(d.URITemplate=i.URITemplate.noConflict()),i.IPv6&&typeof i.IPv6.noConflict=="function"&&(d.IPv6=i.IPv6.noConflict()),i.SecondLevelDomains&&typeof i.SecondLevelDomains.noConflict=="function"&&(d.SecondLevelDomains=i.SecondLevelDomains.noConflict()),d}else i.URI===this&&(i.URI=a);return this},u.build=function(l){return l===!0?this._deferred_build=!0:(l===void 0||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},u.clone=function(){return new o(this)},u.valueOf=u.toString=function(){return this.build(!1)._string};function h(l){return function(d,p){return d===void 0?this._parts[l]||"":(this._parts[l]=d||null,this.build(!p),this)}}function H(l,d){return function(p,v){return p===void 0?this._parts[l]||"":(p!==null&&(p=p+"",p.charAt(0)===d&&(p=p.substring(1))),this._parts[l]=p,this.build(!v),this)}}u.protocol=h("protocol"),u.username=h("username"),u.password=h("password"),u.hostname=h("hostname"),u.port=h("port"),u.query=H("query","?"),u.fragment=H("fragment","#"),u.search=function(l,d){var p=this.query(l,d);return typeof p=="string"&&p.length?"?"+p:p},u.hash=function(l,d){var p=this.fragment(l,d);return typeof p=="string"&&p.length?"#"+p:p},u.pathname=function(l,d){if(l===void 0||l===!0){var p=this._parts.path||(this._parts.hostname?"/":"");return l?(this._parts.urn?o.decodeUrnPath:o.decodePath)(p):p}else return this._parts.urn?this._parts.path=l?o.recodeUrnPath(l):"":this._parts.path=l?o.recodePath(l):"/",this.build(!d),this},u.path=u.pathname,u.href=function(l,d){var p;if(l===void 0)return this.toString();this._string="",this._parts=o._parts();var v=l instanceof o,b=typeof l=="object"&&(l.hostname||l.path||l.pathname);if(l.nodeName){var M=o.getDomAttribute(l);l=l[M]||"",b=!1}if(!v&&b&&l.pathname!==void 0&&(l=l.toString()),typeof l=="string"||l instanceof String)this._parts=o.parse(String(l),this._parts);else if(v||b){var O=v?l._parts:l;for(p in O)p!=="query"&&m.call(this._parts,p)&&(this._parts[p]=O[p]);O.query&&this.query(O.query,!1)}else throw new TypeError("invalid input");return this.build(!d),this},u.is=function(l){var d=!1,p=!1,v=!1,b=!1,M=!1,O=!1,_=!1,U=!this._parts.urn;switch(this._parts.hostname&&(U=!1,p=o.ip4_expression.test(this._parts.hostname),v=o.ip6_expression.test(this._parts.hostname),d=p||v,b=!d,M=b&&n&&n.has(this._parts.hostname),O=b&&o.idn_expression.test(this._parts.hostname),_=b&&o.punycode_expression.test(this._parts.hostname)),l.toLowerCase()){case"relative":return U;case"absolute":return!U;case"domain":case"name":return b;case"sld":return M;case"ip":return d;case"ip4":case"ipv4":case"inet4":return p;case"ip6":case"ipv6":case"inet6":return v;case"idn":return O;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return _}return null};var P=u.protocol,N=u.port,I=u.hostname;u.protocol=function(l,d){if(l&&(l=l.replace(/:(\/\/)?$/,""),!l.match(o.protocol_expression)))throw new TypeError('Protocol "'+l+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return P.call(this,l,d)},u.scheme=u.protocol,u.port=function(l,d){return this._parts.urn?l===void 0?"":this:(l!==void 0&&(l===0&&(l=null),l&&(l+="",l.charAt(0)===":"&&(l=l.substring(1)),o.ensureValidPort(l))),N.call(this,l,d))},u.hostname=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l!==void 0){var p={preventInvalidHostname:this._parts.preventInvalidHostname},v=o.parseHost(l,p);if(v!=="/")throw new TypeError('Hostname "'+l+'" contains characters other than [A-Z0-9.-]');l=p.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(l,this._parts.protocol)}return I.call(this,l,d)},u.origin=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l===void 0){var p=this.protocol(),v=this.authority();return v?(p?p+"://":"")+this.authority():""}else{var b=o(l);return this.protocol(b.protocol()).authority(b.authority()).build(!d),this}},u.host=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l===void 0)return this._parts.hostname?o.buildHost(this._parts):"";var p=o.parseHost(l,this._parts);if(p!=="/")throw new TypeError('Hostname "'+l+'" contains characters other than [A-Z0-9.-]');return this.build(!d),this},u.authority=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l===void 0)return this._parts.hostname?o.buildAuthority(this._parts):"";var p=o.parseAuthority(l,this._parts);if(p!=="/")throw new TypeError('Hostname "'+l+'" contains characters other than [A-Z0-9.-]');return this.build(!d),this},u.userinfo=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l===void 0){var p=o.buildUserinfo(this._parts);return p&&p.substring(0,p.length-1)}else return l[l.length-1]!=="@"&&(l+="@"),o.parseUserinfo(l,this._parts),this.build(!d),this},u.resource=function(l,d){var p;return l===void 0?this.path()+this.search()+this.hash():(p=o.parse(l),this._parts.path=p.path,this._parts.query=p.query,this._parts.fragment=p.fragment,this.build(!d),this)},u.subdomain=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l===void 0){if(!this._parts.hostname||this.is("IP"))return"";var p=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,p)||""}else{var v=this._parts.hostname.length-this.domain().length,b=this._parts.hostname.substring(0,v),M=new RegExp("^"+S(b));if(l&&l.charAt(l.length-1)!=="."&&(l+="."),l.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return l&&o.ensureValidHostname(l,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(M,l),this.build(!d),this}},u.domain=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(typeof l=="boolean"&&(d=l,l=void 0),l===void 0){if(!this._parts.hostname||this.is("IP"))return"";var p=this._parts.hostname.match(/\./g);if(p&&p.length<2)return this._parts.hostname;var v=this._parts.hostname.length-this.tld(d).length-1;return v=this._parts.hostname.lastIndexOf(".",v-1)+1,this._parts.hostname.substring(v)||""}else{if(!l)throw new TypeError("cannot set domain empty");if(l.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(o.ensureValidHostname(l,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=l;else{var b=new RegExp(S(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(b,l)}return this.build(!d),this}},u.tld=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(typeof l=="boolean"&&(d=l,l=void 0),l===void 0){if(!this._parts.hostname||this.is("IP"))return"";var p=this._parts.hostname.lastIndexOf("."),v=this._parts.hostname.substring(p+1);return d!==!0&&n&&n.list[v.toLowerCase()]&&n.get(this._parts.hostname)||v}else{var b;if(l)if(l.match(/[^a-zA-Z0-9-]/))if(n&&n.is(l))b=new RegExp(S(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(b,l);else throw new TypeError('TLD "'+l+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");
34b=new RegExp(S(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(b,l)}else throw new TypeError("cannot set TLD empty");return this.build(!d),this}},u.directory=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l===void 0||l===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var p=this._parts.path.length-this.filename().length-1,v=this._parts.path.substring(0,p)||(this._parts.hostname?"/":"");return l?o.decodePath(v):v}else{var b=this._parts.path.length-this.filename().length,M=this._parts.path.substring(0,b),O=new RegExp("^"+S(M));return this.is("relative")||(l||(l="/"),l.charAt(0)!=="/"&&(l="/"+l)),l&&l.charAt(l.length-1)!=="/"&&(l+="/"),l=o.recodePath(l),this._parts.path=this._parts.path.replace(O,l),this.build(!d),this}},u.filename=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(typeof l!="string"){if(!this._parts.path||this._parts.path==="/")return"";var p=this._parts.path.lastIndexOf("/"),v=this._parts.path.substring(p+1);return l?o.decodePathSegment(v):v}else{var b=!1;l.charAt(0)==="/"&&(l=l.substring(1)),l.match(/\.?\//)&&(b=!0);var M=new RegExp(S(this.filename())+"$");return l=o.recodePath(l),this._parts.path=this._parts.path.replace(M,l),b?this.normalizePath(d):this.build(!d),this}},u.suffix=function(l,d){if(this._parts.urn)return l===void 0?"":this;if(l===void 0||l===!0){if(!this._parts.path||this._parts.path==="/")return"";var p=this.filename(),v=p.lastIndexOf("."),b,M;return v===-1?"":(b=p.substring(v+1),M=/^[a-z0-9%]+$/i.test(b)?b:"",l?o.decodePathSegment(M):M)}else{l.charAt(0)==="."&&(l=l.substring(1));var O=this.suffix(),_;if(O)l?_=new RegExp(S(O)+"$"):_=new RegExp(S("."+O)+"$");else{if(!l)return this;this._parts.path+="."+o.recodePath(l)}return _&&(l=o.recodePath(l),this._parts.path=this._parts.path.replace(_,l)),this.build(!d),this}},u.segment=function(l,d,p){var v=this._parts.urn?":":"/",b=this.path(),M=b.substring(0,1)==="/",O=b.split(v);if(l!==void 0&&typeof l!="number"&&(p=d,d=l,l=void 0),l!==void 0&&typeof l!="number")throw new Error('Bad segment "'+l+'", must be 0-based integer');if(M&&O.shift(),l<0&&(l=Math.max(O.length+l,0)),d===void 0)return l===void 0?O:O[l];if(l===null||O[l]===void 0)if(x(d)){O=[];for(var _=0,U=d.length;_<U;_++)!d[_].length&&(!O.length||!O[O.length-1].length)||(O.length&&!O[O.length-1].length&&O.pop(),O.push(A(d[_])))}else(d||typeof d=="string")&&(d=A(d),O[O.length-1]===""?O[O.length-1]=d:O.push(d));else d?O[l]=A(d):O.splice(l,1);return M&&O.unshift(""),this.path(O.join(v),p)},u.segmentCoded=function(l,d,p){var v,b,M;if(typeof l!="number"&&(p=d,d=l,l=void 0),d===void 0){if(v=this.segment(l,d,p),!x(v))v=v!==void 0?o.decode(v):void 0;else for(b=0,M=v.length;b<M;b++)v[b]=o.decode(v[b]);return v}if(!x(d))d=typeof d=="string"||d instanceof String?o.encode(d):d;else for(b=0,M=d.length;b<M;b++)d[b]=o.encode(d[b]);return this.segment(l,d,p)};var F=u.query;return u.query=function(l,d){if(l===!0)return o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof l=="function"){var p=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace),v=l.call(this,p);return this._parts.query=o.buildQuery(v||p,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!d),this}else return l!==void 0&&typeof l!="string"?(this._parts.query=o.buildQuery(l,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!d),this):F.call(this,l,d)},u.setQuery=function(l,d,p){var v=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof l=="string"||l instanceof String)v[l]=d!==void 0?d:null;else if(typeof l=="object")for(var b in l)m.call(l,b)&&(v[b]=l[b]);else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");return this._parts.query=o.buildQuery(v,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof l!="string"&&(p=d),this.build(!p),this},u.addQuery=function(l,d,p){var v=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return o.addQuery(v,l,d===void 0?null:d),this._parts.query=o.buildQuery(v,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof l!="string"&&(p=d),this.build(!p),this},u.removeQuery=function(l,d,p){var v=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return o.removeQuery(v,l,d),this._parts.query=o.buildQuery(v,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof l!="string"&&(p=d),this.build(!p),this},u.hasQuery=function(l,d,p){var v=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return o.hasQuery(v,l,d,p)},u.setSearch=u.setQuery,u.addSearch=u.addQuery,u.removeSearch=u.removeQuery,u.hasSearch=u.hasQuery,u.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},u.normalizeProtocol=function(l){return typeof this._parts.protocol=="string"&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!l)),this},u.normalizeHostname=function(l){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&r&&(this._parts.hostname=r.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!l)),this},u.normalizePort=function(l){return typeof this._parts.protocol=="string"&&this._parts.port===o.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!l)),this},u.normalizePath=function(l){var d=this._parts.path;if(!d)return this;if(this._parts.urn)return this._parts.path=o.recodeUrnPath(this._parts.path),this.build(!l),this;if(this._parts.path==="/")return this;d=o.recodePath(d);var p,v="",b,M;for(d.charAt(0)!=="/"&&(p=!0,d="/"+d),(d.slice(-3)==="/.."||d.slice(-2)==="/.")&&(d+="/"),d=d.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),p&&(v=d.substring(1).match(/^(\.\.\/)+/)||"",v&&(v=v[0]));
34b=d.search(/\/\.\.(\/|$)/),b!==-1;){if(b===0){d=d.substring(3);continue}M=d.substring(0,b).lastIndexOf("/"),M===-1&&(M=b),d=d.substring(0,M)+d.substring(b+3)}return p&&this.is("relative")&&(d=v+d.substring(1)),this._parts.path=d,this.build(!l),this},u.normalizePathname=u.normalizePath,u.normalizeQuery=function(l){return typeof this._parts.query=="string"&&(this._parts.query.length?this.query(o.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!l)),this},u.normalizeFragment=function(l){return this._parts.fragment||(this._parts.fragment=null,this.build(!l)),this},u.normalizeSearch=u.normalizeQuery,u.normalizeHash=u.normalizeFragment,u.iso8859=function(){var l=o.encode,d=o.decode;o.encode=escape,o.decode=decodeURIComponent;try{this.normalize()}finally{o.encode=l,o.decode=d}return this},u.unicode=function(){var l=o.encode,d=o.decode;o.encode=R,o.decode=unescape;try{this.normalize()}finally{o.encode=l,o.decode=d}return this},u.readable=function(){var l=this.clone();l.username("").password("").normalize();var d="";if(l._parts.protocol&&(d+=l._parts.protocol+"://"),l._parts.hostname&&(l.is("punycode")&&e?(d+=e.toUnicode(l._parts.hostname),l._parts.port&&(d+=":"+l._parts.port)):d+=l.host()),l._parts.hostname&&l._parts.path&&l._parts.path.charAt(0)!=="/"&&(d+="/"),d+=l.path(!0),l._parts.query){for(var p="",v=0,b=l._parts.query.split("&"),M=b.length;v<M;v++){var O=(b[v]||"").split("=");p+="&"+o.decodeQuery(O[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),O[1]!==void 0&&(p+="="+o.decodeQuery(O[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}d+="?"+p.substring(1)}return d+=o.decodeQuery(l.hash(),!0),d},u.absoluteTo=function(l){var d=this.clone(),p=["protocol","username","password","hostname","port"],v,b,M;if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(l instanceof o||(l=new o(l)),d._parts.protocol||(d._parts.protocol=l._parts.protocol,this._parts.hostname))return d;for(b=0;M=p[b];b++)d._parts[M]=l._parts[M];return d._parts.path?(d._parts.path.substring(-2)===".."&&(d._parts.path+="/"),d.path().charAt(0)!=="/"&&(v=l.directory(),v=v||(l.path().indexOf("/")===0?"/":""),d._parts.path=(v?v+"/":"")+d._parts.path,d.normalizePath())):(d._parts.path=l._parts.path,d._parts.query||(d._parts.query=l._parts.query)),d.build(),d},u.relativeTo=function(l){var d=this.clone().normalize(),p,v,b,M,O;if(d._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(l=new o(l).normalize(),p=d._parts,v=l._parts,M=d.path(),O=l.path(),M.charAt(0)!=="/")throw new Error("URI is already relative");if(O.charAt(0)!=="/")throw new Error("Cannot calculate a URI relative to another relative URI");if(p.protocol===v.protocol&&(p.protocol=null),p.username!==v.username||p.password!==v.password||p.protocol!==null||p.username!==null||p.password!==null)return d.build();if(p.hostname===v.hostname&&p.port===v.port)p.hostname=null,p.port=null;else return d.build();if(M===O)return p.path="",d.build();if(b=o.commonPath(M,O),!b)return d.build();var _=v.path.substring(b.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return p.path=_+p.path.substring(b.length)||"./",d.build()},u.equals=function(l){var d=this.clone(),p=new o(l),v={},b={},M={},O,_,U;if(d.normalize(),p.normalize(),d.toString()===p.toString())return!0;if(O=d.query(),_=p.query(),d.query(""),p.query(""),d.toString()!==p.toString()||O.length!==_.length)return!1;v=o.parseQuery(O,this._parts.escapeQuerySpace),b=o.parseQuery(_,this._parts.escapeQuerySpace);for(U in v)if(m.call(v,U)){if(x(v[U])){if(!E(v[U],b[U]))return!1}else if(v[U]!==b[U])return!1;M[U]=!0}for(U in b)if(m.call(b,U)&&!M[U])return!1;return!0},u.preventInvalidHostname=function(l){return this._parts.preventInvalidHostname=!!l,this},u.duplicateQueryParameters=function(l){return this._parts.duplicateQueryParameters=!!l,this},u.escapeQuerySpace=function(l){return this._parts.escapeQuerySpace=!!l,this},o})})(bo)),bo.exports}var nu=iu();const d7=Ur(nu),su=t=>{const e=[];return d7.withinString(t,r=>e.push(d7(r).normalize().toString())),e},c0={extract:su},d0={doi:Nh,pmid:Fh,nct_id:Oh,repec_id:Bh,arxiv_id:Ah,ads_bibcode:jh,handle:_h,urn:Gh,isbn:l0,uri:c0},h0=Object.keys(d0),u0=(t,e)=>au(t,e)?d0[t].extract(e):[],ou=(t,e)=>u0(t,e)[0]||"",au=(t,e)=>h0.includes(t)&&e,lu=t=>{if(K6(t).length)return"doi";if(l0.extract(t).length)return"isbn";if(e0(t).length)return"pmid";if(Q6(t).length)return"nct_id";if(t0(t).length)return"repec_id";if(q6(t).length)return"arxiv_id";if(Y6(t).length)return"ads_bibcode";if(c0.extract(t).length)return"uri";if(J6(t).length)return"handle";if(r0(t).length)return"urn"},nn={extract:u0,normalize:ou,typeOf:lu,TYPES:h0};let cu=class{constructor(e,r){this.data=e,this.errors=[],this.rowIndexes=[r]}canMergeWith(e){return!In(e,(n,i)=>this.data[i]&&!Fr(this.data[i])&&this.data[i]!=n)}merge(e,r){this.rowIndexes.push(r),k6(this.data,e,(n,i)=>Fr(n)?vr(Li,vi)(n.concat(i)):n||i)}addError(e){this.errors.push(e)}get valid(){return this.errors.length===0}get hasAnyIdentifiers(){return In(nn.TYPES,e=>this.data[e])}asJSON(){return this.data}};class du{constructor(e){this.columns=e,this.researchOutputs=[],this.researchOutputsByIdentifier={},this.affiliationMap={},this.populateResearchOutputs()}populateResearchOutputs(){let e=this.columns[0].rows.length,r=B6(e,n=>this.fieldDataForRowIndex(n));this.affiliationMap=this.buildAffiliationMap(r),qr(r,(n,i)=>{let a=this.existingResearchOutputsFor(n);if(a.length===0)this.addNewResearchOutput(n,i);else if(a.length===1&&a[0].canMergeWith(n))this.mergeDataIntoExistingResearchOutput(n,a[0],i);else{let o=this.addNewResearchOutput(n,i);this.addConflictErrorsToResearchOutputs(Pn(a,o))}})}addNewResearchOutput(e,r){let n=new cu(e,r);
34return this.researchOutputs.push(n),n.hasAnyIdentifiers?this.updateIdentifierMap(n):this.addNoIdentifiersError(n),n}mergeDataIntoExistingResearchOutput(e,r,n){return r.merge(e,n),this.updateIdentifierMap(r),r}addConflictErrorsToResearchOutputs(e){let r=vr(a=>hr(a,o=>o.rowIndexes),bs,a=>hr(a,o=>o+2))(e),n;if(r.length===2)n=r.join(" and ");else{let a=r.pop();r.push(`and ${a}`),n=r.join(", ")}let i=I18n.t("dataset_upload.outputs_check.errors.conflict",{rows:n});e.forEach(a=>a.addError(i))}addNoIdentifiersError(e){let r=I18n.t("dataset_upload.outputs_check.errors.no_identifiers");e.addError(r)}updateIdentifierMap(e){qr(e.data,(r,n)=>{if(!Tr(nn.TYPES,n))return;this.researchOutputsByIdentifier[n]||(this.researchOutputsByIdentifier[n]={}),this.researchOutputsByIdentifier[n][r]||(this.researchOutputsByIdentifier[n][r]=[]);let i=vi(Pn(this.researchOutputsByIdentifier[n][r],e));this.researchOutputsByIdentifier[n][r]=i})}buildAffiliationMap(e){let r={};return e.forEach(n=>{!n.authors||!n.departments||n.authors.forEach(i=>{r[i]||(r[i]=[]),r[i].push(n.departments)})}),J9(r,n=>vr(bs,Li,i=>Rd(i,ul))(n))}existingResearchOutputsFor(e){let r=[];return qr(e,(n,i)=>{let o=(this.researchOutputsByIdentifier[i]||{})[n]||[];r.push(o)}),vr(bs,vi)(r)}fieldDataForRowIndex(e){let r={};return this.columns.forEach(n=>{if(!n.fieldType)return;let i=n.normalizedRow(e);!i||i.length===0||(n.isIdentifierColumn?r[n.fieldType]=i:r[n.fieldType]=Pn(r[n.fieldType]||[],i))}),r}}const hu=1e3;class uu{constructor(e,r){this.id=Nd(),this.header=e,this.rows=r;let{guessedFieldType:n,guessedFieldTypeConfidence:i}=this.guessedFieldType();this.interimGuessedFieldType=n,this.interimGuessedFieldTypeConfidence=i,this.fieldType=null}guessedFieldType(){let e=this.guessTypeByHeader();if(e)return{guessedFieldType:e,guessedFieldTypeConfidence:1};let{contentSniffedGuess:r,contentSniffedGuessConfidence:n}=this.guessTypeByContentSniffing();return r?{guessedFieldType:r,guessedFieldTypeConfidence:n}:{guessedFieldType:null,guessedFieldTypeConfidence:void 0}}guessTypeByHeader(){return this.headerLooksLikeAuthors?"authors":this.headerLooksLikeDepartments?"departments":this.headerLooksLikeDoi?"doi":this.headerLooksLikePubmed?"pmid":this.headerLooksLikeNctId?"nct_id":this.headerLooksLikeRepecId?"repec_id":this.headerLooksLikeArxivId?"arxiv_id":this.headerLooksLikeAdsBibcode?"ads_bibcode":this.headerLooksLikeHandle?"handle":this.headerLooksLikeUrn?"urn":this.headerLooksLikeUri?"uri":this.headerLooksLikeIsbn?"isbn":null}get headerLooksLikeAuthors(){return/author|person|people/i.test(this.header)}get headerLooksLikeDepartments(){return/department|group|grant/i.test(this.header)}get headerLooksLikeDoi(){return/\bdoi\b/i.test(this.header)}get headerLooksLikePubmed(){return/\bpubmed\b|pmid/i.test(this.header)}get headerLooksLikeNctId(){return/clinical trial|nct id/i.test(this.header)}get headerLooksLikeRepecId(){return/repec/i.test(this.header)}get headerLooksLikeArxivId(){return/arxiv/i.test(this.header)}get headerLooksLikeAdsBibcode(){return/bibcode|\bads\b/i.test(this.header)}get headerLooksLikeHandle(){return/handle/i.test(this.header)}get headerLooksLikeUrn(){return/\burn\b/i.test(this.header)}get headerLooksLikeUri(){return/\bur(l|i)\b/i.test(this.header)}get headerLooksLikeIsbn(){return/isbn/i.test(this.header)}guessTypeByContentSniffing(){let e=this.sampleRows.map(n=>nn.typeOf(n)),r=vr(Li,vi)(e);if(r.length===1)return{contentSniffedGuess:r[0],contentSniffedGuessConfidence:.9};if(r.length<=3){let n={};return e.forEach(a=>n[a]?n[a]++:n[a]=1),{contentSniffedGuess:vr(a=>On(a,r,o=>n[o]),t6)(r),contentSniffedGuessConfidence:.5}}else return{contentSniffedGuess:null}}preview(e){return this.rows[e]}get sampleRows(){return Li(this.rows.slice(0,hu))}get isIdentifierColumn(){return this.fieldType&&Tr(nn.TYPES,this.fieldType)}get isInstitutionalColumn(){return this.fieldType&&!this.isIdentifierColumn}normalizedRow(e){return this.normalizedRows||this.normalizeContent(),this.normalizedRows[e]}normalizeContent(){this.isIdentifierColumn?this.normalizedRows=this.rows.map(e=>nn.extract(this.fieldType,e)[0]):this.normalizedRows=this.rows.map(e=>Li(e.trim().split(/;\s*/).map(r=>r.trim())))}get warning(){return this.fieldType?!!(!In(this.rows,e=>
34e&&e.length)||this.hasPossiblyInvalidType):!1}get warningMessage(){if(this.fieldType){if(!In(this.rows,e=>e&&e.length))return I18n.t("dataset_upload.outputs_configuration.warnings.empty_column");if(this.hasPossiblyInvalidType){let e=I18n.t(this.interimGuessedFieldType,{scope:"dataset_upload.outputs_configuration.types"}),r=I18n.t(this.fieldType,{scope:"dataset_upload.outputs_configuration.types"});return I18n.t("dataset_upload.outputs_configuration.warnings.wrong_type",{detectedType:e,selectedType:r})}}}get hasPossiblyInvalidType(){return this.interimGuessedFieldType&&this.interimGuessedFieldType!==this.fieldType}}class pu{constructor(e){this.results=e}get columns(){let r=Uo(this.results[0]||{}).map(n=>new uu(n,this.results.map(i=>i[n])));return vr(n=>ki(n,"interimGuessedFieldType"),n=>M6(n,"interimGuessedFieldType"),n=>qr(n,(i,a)=>{Tr(nn.TYPES,a)?vr(o=>On(o,"interimGuessedFieldTypeConfidence"),t6)(i).fieldType=a:qr(i,o=>o.fieldType=a)}))(r),r}}const fu=5e3,Ul=nn.TYPES,p0=["authors","departments"];class mu{constructor(e,r){this.file=e,this.departments=r,this.results=[],this.columns=[],this.onLoad=null}load(){hl.parse(this.file,{header:!0,skipEmptyLines:!0,chunk:e=>{this.results=this.results.concat(e.data)},complete:()=>{this.columns=new pu(this.results).columns,this.onLoad&&this.onLoad()}})}buildResearchOutputs(){this.columns.forEach(r=>r.normalizeContent());let e=new du(this.columns);this.researchOutputs=e.researchOutputs,this.affiliations=e.affiliationMap}get totalRows(){return this.results.length}get totalResearchOutputs(){return this.researchOutputs.length}get totalValidResearchOutputs(){return this.validResearchOutputs.length}get totalInvalidResearchOutputs(){return this.totalResearchOutputs-this.totalValidResearchOutputs}get valid(){return this.totalValidResearchOutputs>0}get perfect(){return this.totalInvalidResearchOutputs===0}get validResearchOutputs(){return ki(this.researchOutputs,"valid")}save(e){let r=JSON.stringify(this.validResearchOutputs.map(o=>o.asJSON())),n=JSON.stringify(e.hierarchy?e.hierarchy.toJSON():{}),i=JSON.stringify(this.affiliations),a={outputs:r,hierarchy:n,affiliation:i,totalCount:this.totalResearchOutputs};Si.saveCSVUpload(a).done(o=>{this.jobID=o.job_id,e.onSubmitted&&e.onSubmitted(),this.deferProgressCheck(e.onComplete,e.onError,e.onProgress)}).fail(e.onError)}deferProgressCheck(e,r,n){Dr(()=>{this.progressCheck(e,r,n)},fu)}progressCheck(e,r,n){Si.checkPublishingProgress(this.jobID).done((i,a,o)=>{o.status===202?(n&&n(),this.deferProgressCheck(e,r,n)):e&&e(o.status)}).fail(r)}get validationReport(){let e=this.researchOutputs.map(r=>{let n={};return Ul.forEach(i=>{n[i]=r.data[i]}),p0.forEach(i=>{n[i]=(r.data[i]||[]).join("; ")}),n.row_sources=r.rowIndexes.map(i=>i+2).join("; "),n.valid=r.valid?"Valid":"Invalid",n.errors=r.errors.join(" "),n});return hl.unparse(e)}}class gu extends it.Component{render(){return s.jsxs("div",{className:"DatasetUploadPopover-OutputsUploadPanel DatasetUploadPopover-ContentPanel",children:[this.documentation,s.jsx("div",{className:"DatasetUploadPopover-outputs-cta-panel",children:s.jsx($6,{onSelectFile:this.selectFile,children:I18n.t("dataset_upload.upload_outputs.upload")})})]})}get documentation(){return s.jsxs("div",{className:"DatasetUploadPopover-documentation-panel",children:[s.jsxs("div",{className:"header-icon",children:[s.jsx("h2",{children:I18n.t("dataset_upload.upload_outputs.title")}),s.jsx("a",{className:"help",href:I18n.t("dataset_upload.upload_outputs.help_uri"),title:I18n.t("dataset_upload.help_title"),target:"_blank",rel:"noopener noreferrer",children:"Help"})]}),s.jsx("p",{children:"Next, you need to upload a CSV spreadsheet file that lists all of your institution's research outputs. This spreadsheet should include a list of research output identifiers (such as DOIs or PubMed IDs), as well as the names of groups/departments, and authors at your institution that are associated with each output."}),s.jsx("p",{children:"You can use a single row for each output, and separate authors and groups using semicolons. Alternatively, you can list each individual author and their associated departments on separate rows with the same research output identifier, and these rows will be merged together for you."}),s.jsxs("p",{children:["For more details, examples, and help creating your research output spreadsheet,"," ",s.jsx("a",{href:I18n.t("dataset_upload.upload_outputs.help_uri"),target:"_blank",rel:"noopener noreferrer",children:"click here to read our support documentation."})]}),s.jsx("h3",{children:"Example research output spreadsheet"}),s.jsx("div",{className:"DatasetUploadPopover-csv-example-table",children:s.jsxs("table",{children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"1"}),s.jsx("th",{children:"DOI"}),s.jsx("th",{children:"PubMed ID"}),s.jsx("th",{children:"Department"}),s.jsx("th",{children:"Author"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"2"}),s.jsx("td",{children:"10.1038/nplants.2007.05"}),s.jsx("td",{children:"884472"}),s.jsx("td",{children:"Extraterrestrial Studies"}),s.jsx("td",{children:"Mulder, Fox; Scully, Dana"})]}),s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"3"}),s.jsx("td",{children:"10.1038/nplants.2007.05"}),s.jsx("td",{children:"884472"}),s.jsx("td",{children:"Exolinguistics"}),s.jsx("td",{children:"Picard, Jean-Luc; Janeway, Kathryn"})]}),s.jsxs("tr",{children:[s.jsx("th",{className:"row",children:"4"}),s.jsx("td",{children:"10.1038/cc7.2017.SRGB.12"}),s.jsx("td",{}),s.jsx("td",{children:"School of Engineering"}),s.jsx("td",{children:"Lovelace, Ada"})]})]})]})}),s.jsx("p",{children:"When you have formatted your groups into a CSV spreadsheet that matches this format, click the button below to upload it."})]})}selectFile=e=>{this.props.setLoadingState(!0),Dr(()=>{let r=[];this.props.hierarchy&&this.props.hierarchy.results&&(r=vr(vi,bs)(this.props.hierarchy.results));const n=new mu(e,r);n.onLoad=()=>{this.props.setLoadingState(!1),this.props.onNewDataset(n)},n.load()},500)}}class yu extends it.Component{constructor(){super(),this.state={previewingRow:0}}render(){return s.jsxs("div",{className:"DatasetUploadPopover-OutputsConfigurationPanel DatasetUploadPopover-ContentPanel",children:[this.documentation,this.renderFieldSelector()]})}get documentation(){return s.jsxs("div",{className:"DatasetUploadPopover-documentation-panel",children:[s.jsxs("div",{className:"header-icon",children:[s.jsx("h2",{children:I18n.t("dataset_upload.outputs_configuration.title")}),s.jsx("a",{className:"help",href:I18n.t("dataset_upload.outputs_configuration.help_uri"),title:I18n.t("dataset_upload.help_title"),"aria-label":I18n.t("dataset_upload.help_title"),target:"_blank",rel:"noopener noreferrer",children:"Help"})]}),s.jsxs("p",{children:["We have used the headers and content of your CSV file to guess what type of data is in each column. Please check the results below and adjust as required, before clicking the ",s.jsx("strong",{children:"Next"})," button to continue."]}),s.jsxs("p",{children:["For more details, examples, or help to select the correct columns,"," ",s.jsx("a",{href:I18n.t("dataset_upload.outputs_configuration.help_uri"),target:"_blank",rel:"noopener noreferrer",children:"click here to read our support documentation."}),"."]})]})}renderFieldSelector(){return s.jsx("div",{className:"panel-field-selector",children:s.jsxs("table",{className:"table-field-selector",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{className:"column",children:I18n.t("dataset_upload.outputs_configuration.headers.column")}),s.jsx("th",{className:"type",children:I18n.t("dataset_upload.outputs_configuration.headers.type")}
34),s.jsxs("th",{className:"preview",children:[I18n.t("dataset_upload.outputs_configuration.headers.preview"),s.jsx(bu,{currentRow:this.state.previewingRow,totalRows:this.props.dataset.totalRows,onSelectPreviewRow:e=>this.setState({previewingRow:e}),onRevert:this.revertPreviewRow})]}),s.jsx("th",{className:"warning"})]})}),s.jsx("tbody",{children:this.renderFieldSelectorRows()})]})})}renderFieldSelectorRows(){return this.props.dataset.columns.map(e=>s.jsxs("tr",{children:[s.jsx("td",{className:"column",children:e.header}),s.jsx("td",{className:"type",children:s.jsx(xu,{value:e.fieldType,onChange:r=>this.remapColumnFieldTypes(e,r)})}),s.jsx("td",{className:"preview",children:e.preview(this.state.previewingRow)}),s.jsx("td",{className:"warning",children:this.renderWarning(e)})]},e.id))}remapColumnFieldTypes=(e,r)=>{Tr(Ul,r)&&ki(this.props.dataset.columns,a=>a.fieldType===r).forEach(a=>a.fieldType=null),e.fieldType=r,this.forceUpdate()};renderWarning(e){if(e.fieldType)return e.warning?s.jsx("span",{className:"icon warning",title:e.warningMessage}):s.jsx("span",{className:"icon ok",title:I18n.t("dataset_upload.outputs_configuration.warnings.none")})}}class xu extends it.Component{render(){return s.jsxs("select",{value:this.value,onChange:this.onChange,className:`TypeSelector ${this.value===""?"deselected":"selected"}`,children:[s.jsx("option",{value:"",children:I18n.t("dataset_upload.outputs_configuration.types.ignored")}),s.jsx("optgroup",{label:I18n.t("dataset_upload.outputs_configuration.types.institutional"),children:this.renderOptions(p0)}),s.jsx("optgroup",{label:I18n.t("dataset_upload.outputs_configuration.types.identifiers"),children:this.renderOptions(Ul)})]})}renderOptions(e){return e.map(r=>s.jsx("option",{value:r,children:I18n.t(r,{scope:"dataset_upload.outputs_configuration.types"})},r))}get value(){return this.props.value?this.props.value:""}onChange=e=>{let r=e.target.value;this.props.onChange(r)}}class bu extends it.Component{render(){return s.jsxs("div",{className:"PreviewRowSelector",children:[s.jsx("span",{className:"PreviewRowSelector-count",children:I18n.t("dataset_upload.outputs_configuration.preview.count",{current:bt.formatNumberWithDelimiter(this.props.currentRow+1),total:bt.formatNumberWithDelimiter(this.props.totalRows)})}),s.jsx("button",{type:"button",className:"PreviewRowSelector-advance",onClick:this.advanceRow,children:I18n.t("dataset_upload.outputs_configuration.preview.advance")}),s.jsx("button",{type:"button",className:"PreviewRowSelector-revert",onClick:this.revertRow,children:I18n.t("dataset_upload.outputs_configuration.preview.revert")})]})}advanceRow=()=>{this.props.currentRow<this.props.totalRows-1?this.props.onSelectPreviewRow(this.props.currentRow+1):this.props.onSelectPreviewRow(0)};revertRow=()=>{this.props.currentRow>0?this.props.onSelectPreviewRow(this.props.currentRow-1):this.props.onSelectPreviewRow(this.props.totalRows-1)}}var wo={exports:{}},vu=wo.exports,h7;function Su(){return h7||(h7=1,(function(t,e){(function(r,n){n()})(vu,function(){function r(m,S){return typeof S>"u"?S={autoBom:!1}:typeof S!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),S={autoBom:!S}),S.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(m.type)?new Blob(["\uFEFF",m],{type:m.type}):m}function n(m,S,w){var x=new XMLHttpRequest;x.open("GET",m),x.responseType="blob",x.onload=function(){u(x.response,S,w)},x.onerror=function(){console.error("could not download file")},x.send()}function i(m){var S=new XMLHttpRequest;S.open("HEAD",m,!1);try{S.send()}catch{}return 200<=S.status&&299>=S.status}function a(m){try{m.dispatchEvent(new MouseEvent("click"))}catch{var S=document.createEvent("MouseEvents");
34S.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),m.dispatchEvent(S)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Rn=="object"&&Rn.global===Rn?Rn:void 0,f=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),u=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!f?function(m,S,w){var x=o.URL||o.webkitURL,T=document.createElement("a");S=S||m.name||"download",T.download=S,T.rel="noopener",typeof m=="string"?(T.href=m,T.origin===location.origin?a(T):i(T.href)?n(m,S,w):a(T,T.target="_blank")):(T.href=x.createObjectURL(m),setTimeout(function(){x.revokeObjectURL(T.href)},4e4),setTimeout(function(){a(T)},0))}:"msSaveOrOpenBlob"in navigator?function(m,S,w){if(S=S||m.name||"download",typeof m!="string")navigator.msSaveOrOpenBlob(r(m,w),S);else if(i(m))n(m,S,w);else{var x=document.createElement("a");x.href=m,x.target="_blank",setTimeout(function(){a(x)})}}:function(m,S,w,x){if(x=x||open("","_blank"),x&&(x.document.title=x.document.body.innerText="downloading..."),typeof m=="string")return n(m,S,w);var T=m.type==="application/octet-stream",y=/constructor/i.test(o.HTMLElement)||o.safari,E=/CriOS\/[\d]+/.test(navigator.userAgent);if((E||T&&y||f)&&typeof FileReader<"u"){var A=new FileReader;A.onloadend=function(){var k=A.result;k=E?k:k.replace(/^data:[^;]*;/,"data:attachment/file;"),x?x.location.href=k:location=k,x=null},A.readAsDataURL(m)}else{var j=o.URL||o.webkitURL,R=j.createObjectURL(m);x?x.location=R:location.href=R,x=null,setTimeout(function(){j.revokeObjectURL(R)},4e4)}});o.saveAs=u.saveAs=u,t.exports=u})})(wo)),wo.exports}var wu=Su();const Eu=Ur(wu);class Cu extends it.Component{render(){return s.jsxs("div",{className:"DatasetUploadPopover-OutputsCheckPanel DatasetUploadPopover-ContentPanel",children:[this.documentation,s.jsxs("div",{className:"DatasetUploadPopover-check-outputs-content",children:[s.jsxs("div",{className:"DatasetUploadPopover-check-outputs-table",children:[s.jsx("h3",{children:I18n.t("dataset_upload.outputs_check.extract_title")}),this.renderTable()]}),s.jsxs("div",{className:"DatasetUploadPopover-check-outputs-next-steps",children:[s.jsx("h3",{children:I18n.t("dataset_upload.outputs_check.check_title")}),this.renderOverview()]})]})]})}get documentation(){return s.jsx("div",{className:"DatasetUploadPopover-documentation-panel",children:s.jsxs("div",{className:"header-icon",children:[s.jsx("h2",{children:I18n.t("dataset_upload.outputs_check.title")}),s.jsx("a",{className:"help",href:I18n.t("dataset_upload.outputs_check.help_uri"),title:I18n.t("dataset_upload.help_title"),"aria-label":I18n.t("dataset_upload.help_title"),target:"_blank",rel:"noopener noreferrer",children:"Help"})]})})}renderTable(){return s.jsx("table",{className:"table-outputs-check",children:s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsxs("th",{className:"label",children:[s.jsx("span",{className:"label-content",children:I18n.t("dataset_upload.outputs_check.total_rows.label")}),s.jsx("span",{className:"label-description",children:I18n.t("dataset_upload.outputs_check.total_rows.caption")})]}),s.jsx("td",{className:"number",children:bt.formatNumberWithDelimiter(this.props.dataset.totalRows)})]}),s.jsxs("tr",{children:[s.jsxs("th",{className:"label",children:[s.jsx("span",{className:"label-content",children:I18n.t("dataset_upload.outputs_check.total_outputs.label")}),s.jsx("span",{className:"label-description",children:I18n.t("dataset_upload.outputs_check.total_outputs.caption")})]}),s.jsx("td",{className:"number",children:bt.formatNumberWithDelimiter(this.props.dataset.totalResearchOutputs)})]}),s.jsxs("tr",{children:[s.jsxs("th",{className:"label",children:[s.jsx("span",{className:"label-content",children:I18n.t("dataset_upload.outputs_check.outputs_invalid.label")}),s.jsx("span",{className:"label-description",children:I18n.t("dataset_upload.outputs_check.outputs_invalid.caption")})]}),s.jsx("td",{className:"number",children:bt.formatNumberWithDelimiter(this.props.dataset.totalInvalidResearchOutputs)})]}),s.jsxs("tr",{children:[s.jsxs("th",{className:"label",children:[s.jsx("span",{className:"label-content",children:I18n.t("dataset_upload.outputs_check.outputs_valid.label")}),s.jsx("span",{className:"label-description",children:I18n.t("dataset_upload.outputs_check.outputs_valid.caption")})]}),s.jsx("td",{className:"number",children:bt.formatNumberWithDelimiter(this.props.dataset.totalValidResearchOutputs)})]})]})})}renderOverview(){return s.jsxs("div",{className:`content-status-overview ${this.overviewClass}`,children:[s.jsxs("div",{className:"alert-block",children:[s.jsx("span",{className:"alert-block-icon"}),s.jsx("span",{className:"alert-block-message",children:this.overviewMessage()})]}),s.jsx("div",{className:"report-block",children:this.reportMessage()}),s.jsx("div",{className:"report-button",children:s.jsx("button",{type:"button",onClick:this.sendValidationReport,children:I18n.t("dataset_upload.outputs_check.results.report_button")})}),s.jsx("h3",{children:I18n.t("dataset_upload.outputs_check.next_steps_title")}),s.jsx("div",{className:"next-step-block",children:this.nextStepMessage()}),this.renderPublishButton()]})}overviewMessage(){return this.props.dataset.valid?this.props.dataset.perfect?I18n.t("dataset_upload.outputs_check.results.perfect_overview"):I18n.t("dataset_upload.outputs_check.results.some_errors_overview"):I18n.t("dataset_upload.outputs_check.results.failed_overview")}nextStepMessage(){return this.props.dataset.valid?this.props.dataset.perfect?I18n.htmlSafe("dataset_upload.outputs_check.results.perfect_next_step_html"):I18n.htmlSafe("dataset_upload.outputs_check.results.some_errors_next_step_html"):I18n.htmlSafe("dataset_upload.outputs_check.results.failed_next_step_html")}reportMessage(){return this.props.dataset.valid?this.props.dataset.perfect?I18n.t("dataset_upload.outputs_check.results.perfect_report"):I18n.t("dataset_upload.outputs_check.results.some_errors_report"):I18n.t("dataset_upload.outputs_check.results.failed_report")}renderPublishButton(){return s.jsxs("div",{className:"next-step-button",children:[s.jsx("button",{type:"button",className:"button re-upload",onClick:this.props.onReUpload,children:I18n.t("dataset_upload.outputs_check.results.re_upload_button")}),this.props.dataset.valid&&s.jsx("button",{type:"button",className:"button publish",onClick:this.props.onSave,children:I18n.t("dataset_upload.outputs_check.results.publish_button")})]})}get overviewClass(){return this.props.dataset.valid?this.props.dataset.perfect?"good":"warning":"error"}sendValidationReport=()=>{let e=this.props.dataset.validationReport;Eu.saveAs(new Blob([e],{type:"text/csv"}),"Validation Report.csv")}}const Zo=t=>{const e=t.hidden?"hidden":"not-hidden";return s.jsxs("div",{className:`LoadingSpinner ${e}`,children:[s.jsx("div",{className:"LoadingSpinner-spinner"}),s.jsx("div",{className:"LoadingSpinner-message",children:t.message})]})};Zo.propTypes={hidden:ve.bool,message:ve.string};const ku=Object.freeze(Object.defineProperty({__proto__:null,default:Zo},Symbol.toStringTag,{value:"Module"}));class Au extends it.Component{render(){return s.jsxs("div",{className:"DatasetUploadPopover-SavingMessage DatasetUploadPopover-ContentPanel",children:[s.jsx(Zo,{hidden:this.props.completed}),this.props.completed?this.renderCompleted():this.renderWaiting()]})}renderCompleted(){return s.jsxs("div",{className:"completed-message",children:[s.jsx(ju,{}
34),I18n.t("dataset_upload.saving.completed_message")]})}renderWaiting(){return s.jsx("div",{className:"waiting-message",children:this.props.extraMessage||I18n.t("dataset_upload.saving.message")})}}class ju extends it.Component{render(){return s.jsxs("svg",{className:"Tick",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 52",children:[s.jsx("circle",{className:"Tick-Circle",cx:"26",cy:"26",r:"25",fill:"none"}),s.jsx("path",{className:"Tick-Tick",fill:"none",d:"M14.1 27.2l7.1 7.2 16.7-16.8"})]})}}const Tu=4e3;class Gl extends it.Component{constructor(){super(),this.state={extraSaveMessages:[],messageIndex:0,extraSaveMessage:null}}render(){return s.jsxs("div",{className:"DatasetUploadPopover",children:[s.jsx("div",{className:"DatasetUploadPopover-overlay"}),s.jsx("div",{className:"DatasetUploadPopover-popover forced-small",children:s.jsxs("div",{className:"DatasetUploadPopover-content Popover-content",children:[s.jsx(Au,{extraMessage:this.state.extraSaveMessage}),this.props.showCloseButton?s.jsx("button",{className:"DatasetUploadPopover-close-button",onClick:this.refreshAndClose,children:"Close"}):null]})})]})}componentDidMount(){const e=I18n.t("dataset_upload.saving.extra_messages");this.setState({extraSaveMessages:e}),this.props.dataset?this.props.dataset.publish({onProgress:()=>{this.updateExtraSaveMessage()}}):this.messageInterval=setInterval(this.updateExtraSaveMessage.bind(this),Tu)}componentWillUnmount(){clearInterval(this.messageInterval)}updateExtraSaveMessage(){const{extraSaveMessages:e,messageIndex:r}=this.state,n=(r+1)%e.length,i=e[n];this.setState({extraSaveMessage:i,messageIndex:n})}close=()=>{f0()};refreshAndClose=()=>{m0(),Dr(this.close,1500)}}const Mu=Object.freeze(Object.defineProperty({__proto__:null,DatasetPublishProgressPanel:Gl},Symbol.toStringTag,{value:"Module"}));class Ru extends it.Component{render(){return s.jsx("div",{className:"DatasetUploadPopover-LoadingScreen",children:s.jsx(Zo,{message:this.props.children})})}}const yr={INTRO:0,UPLOAD_HIERARCHY:1,VERIFY_HIERARCHY:2,UPLOAD_OUTPUTS:3,IDENTIFY_COLUMNS:4,CHECK_RESULTS:5,PUBLISH:6};class Pu extends it.Component{constructor(){super(),this.state={stage:0,dataset:null,hierarchy:null,extraSaveMessage:null,extraSaveMessages:[],messageIndex:0,saveCompleted:!1,loading:!1,showCloseButton:!1}}render(){return s.jsxs("div",{className:"DatasetUploadPopover",children:[s.jsx("div",{className:"DatasetUploadPopover-overlay"}),s.jsxs("div",{className:"DatasetUploadPopover-popover",children:[this.renderSidebar(),s.jsxs("div",{className:"DatasetUploadPopover-main",children:[this.state.loading&&s.jsx(Ru,{children:"Processing research outputsâ¦"}),s.jsx("div",{className:"DatasetUploadPopover-content",ref:this.storeScrollablePanel,children:this.renderContent()}),this.renderFooter()]})]})]})}renderSidebar(){if(!this.isSaving)return s.jsxs("div",{className:"DatasetUploadPopover-sidebar",children:[s.jsx(ph,{currentStage:this.state.stage,onSelectStage:this.selectStage}),";",s.jsx("div",{className:"DatasetUploadPopover-cancel-button",children:s.jsx("button",{className:"cancel",onClick:this.close,children:I18n.t("dataset_upload.cancel")})})]})}renderContent(){switch(this.state.stage){case yr.INTRO:return s.jsx(fh,{});case yr.UPLOAD_HIERARCHY:return s.jsx(vh,{onUpload:this.updateHierarchy,onSkip:this.skipHierarchy,setLoadingState:this.setLoading});case yr.VERIFY_HIERARCHY:return s.jsx(Sh,{hierarchy:this.state.hierarchy,onReturn:this.revertStage,onAdvance:this.advanceStage});case yr.UPLOAD_OUTPUTS:return s.jsx(gu,{hierarchy:this.state.hierarchy,onNewDataset:this.updateDataset,setLoadingState:this.setLoading});case yr.IDENTIFY_COLUMNS:return s.jsx(yu,{dataset:this.state.dataset});case yr.CHECK_RESULTS:return s.jsx(Cu,{dataset:this.state.dataset,onSave:this.saveDataset,onReUpload:this.returnToOutputsUpload});case yr.PUBLISH:return s.jsx(Gl,{showCloseButton:this.state.showCloseButton})}}renderFooter(){if(!this.isSaving)return s.jsxs("div",{className:"DatasetUploadPopover-footer",children:[s.jsx("div",{className:"DatasetUploadPopover-buttons left buttons",children:s.jsx("button",{disabled:!this.canRevert,className:"back",onClick:this.revertStage,children:I18n.t("dataset_upload.back")})}),s.jsx("div",{className:"DatasetUploadPopover-buttons right buttons",children:s.jsx("button",{disabled:!this.canAdvance,className:"next",onClick:this.advanceStage,children:I18n.t("dataset_upload.next")})})]})}get canAdvance(){switch(this.state.stage){case yr.INTRO:case yr.IDENTIFY_COLUMNS:return!0;case yr.VERIFY_HIERARCHY:return this.state.hierarchy&&this.state.hierarchy.valid;default:return!1}}get canRevert(){return this.state.stage>yr.INTRO}get isSaving(){return this.state.stage===yr.PUBLISH}updateDataset=e=>{this.setState({dataset:e},()=>this.advanceStage())};updateHierarchy=e=>{this.setState({hierarchy:e,stage:yr.VERIFY_HIERARCHY})};
34skipHierarchy=()=>{this.setState({hierarchy:null,stage:yr.UPLOAD_OUTPUTS})};returnToOutputsUpload=()=>{this.setState({dataset:null,stage:yr.UPLOAD_OUTPUTS})};selectStage=e=>this.setState({stage:e});revertStage=()=>{let e=this.state.stage-1;e===yr.VERIFY_HIERARCHY&&!this.state.hierarchy&&(e=yr.UPLOAD_HIERARCHY),this.setState({stage:e})};advanceStage=()=>{let e=this.state.stage+1;e===yr.CHECK_RESULTS&&this.state.dataset.buildResearchOutputs(),this.setState({stage:e})};saveDataset=()=>{let e=()=>{this.advanceStage();const r=I18n.t("dataset_upload.saving.extra_messages");this.setState({extraSaveMessages:r}),this.state.dataset.save({hierarchy:this.state.hierarchy,onSubmitted:()=>{this.updateExtraSaveMessage(),this.setState({showCloseButton:!0})},onProgress:()=>{this.updateExtraSaveMessage()},onComplete:()=>{this.setState({completed:!0}),this.refreshAndClose()},onError:n=>{alert(I18n.t("dataset_upload.saving.error")),this.setState({extraSaveMessage:null}),this.revertStage()}})};this.setState({saving:!0},e)};close(){f0()}updateExtraSaveMessage=()=>{const{extraSaveMessages:e,messageIndex:r}=this.state,n=(r+1)%e.length,i=e[n];this.setState({extraSaveMessage:i,messageIndex:n})};refreshAndClose=()=>{m0(),Dr(()=>{this.close()},2e3)};setLoading=e=>{this.setState({loading:e})};storeScrollablePanel=e=>{this.scrollablePanel=e};UNSAFE_componentWillUpdate(e,r){this.state.stage!==r.stage&&this.scrollablePanel&&(this.scrollablePanel.scrollTop=0)}}const Nu=function(){lt(document).on("click",".invite-form .copy-button",()=>Analytics.trackEvent("shareSignupURL")),lt(document).on("click",".csv-upload-form .upload-csv-cta",()=>{Analytics.trackEvent("uploadCSV"),Iu()}),lt(document).on("click",".csv-upload-form .publish_existing_dataset",function(){Analytics.trackEvent("publishExistingDataset"),Ou(lt(this).data("id"))}),window.addEventListener("DOMContentLoaded",_u)},_u=function(){let t=lt(".invite-form");if(!t.length)return;let e=t.find(".copy-button");new i6(e[0]).on("success",()=>u7(e,I18n.t("admin_panel.invite.copied"))).on("error",()=>u7(e,I18n.t("admin_panel.invite.manual_copy")))},u7=function(t,e){let r=lt('<div class="mini-tooltip"/>').text(e);t.before(r),Dl(()=>r.addClass("visible")),Dr(()=>{r.removeClass("visible"),Dr(()=>r.remove(),1e3)},1e3)};let vs=null,Ss=null,pl=null;const f0=function(){vs&&(vs.unmount(),vs=null),Ss&&(Ss.unmount(),Ss=null,pl=null)},Iu=function(){vs=Yo.createRoot(document.querySelector(".dataset-upload-panel-wrapper")),U6(Pu,vs)},Ou=function(t){pl=new oh(t),Ss=Yo.createRoot(document.querySelector(".dataset-publish-existing-panel-wrapper")),U6(Gl,Ss,{dataset:pl,showCloseButton:!0})},m0=()=>{Si.getCSVIntegrationPanel().done(t=>lt(".csv-upload-form").replaceWith(t))},Lu=()=>{window.addEventListener("DOMContentLoaded",()=>{Fu(),Du(),Bu()})},Fu=()=>{const t=lt(".password-reset-link a");t.on("click",e=>{e.preventDefault(),window.Analytics.trackEvent("resetPassword"),window.location=t.attr("href")})},Du=()=>{lt('a[data-analytics="login-marketing-link"]').on("click",()=>{window.Analytics.trackEvent("Log In: Marketing Link Clicked")})},Bu=()=>{const t=lt("#user_country"),e=lt("#user_state"),r=e.parent();p7(t,e,r),t.change(()=>p7(t,e,r))},p7=(t,e,r)=>{t.val()=="United States of America"?r.hasClass("hidden")&&r.removeClass("hidden"):(r.hasClass("hidden")||r.addClass("hidden"),e.val(""))},io=8,Hu=()=>{lt(document).on("mouseenter","[title]",t=>{const e=lt(t.currentTarget),r=lt(t.currentTarget).attr("title");t.currentTarget.getAttribute("aria-expanded")!=="true"&&new zu(r,e).show()})};class zu{constructor(e,r){this.content=e,this.target=r,this.element=lt('<div class="hovering-tool-tip"/>').html(this.content),this.target.data("tooltip-element",this.element)}show(){lt("body").append(this.element),lt(this.target).attr("title",""),lt(this.target).on("mouseleave click",this.hide.bind(this)),lt(window).on("scroll",this.hideIfRequired.bind(this)),Dl(()=>{this.reposition(),this.makeVisible()})}hideIfRequired(){this.target.is(":hover")||this.hide()}hide(){this.element.remove(),lt(this.target).attr("title",this.content),this.target.off("mouseleave click",this.hide),lt(window).off("scroll",this.hideIfRequired)}reposition(){const e=this.getPotentialPositions(),r=P6(e,"score");this.setElementPosition(r)}makeVisible(){this.element.addClass("visible")}setElementPosition(e){this.element.addClass(e.arrow).css({top:e.top,left
34:e.left})}getPotentialPositions(){return["top","right","bottom","left"].map(e=>new Uu(e,this.element,this.target))}}class Uu{constructor(e,r,n){this.direction=e,this.element=r,this.target=n,this.calculatePosition(),this.calculateScore()}calculatePosition(){const e=this.target.offset(),r=e.top,n=e.left+this.target.outerWidth(),i=e.top+this.target.outerHeight(),a=e.left,o=(a+n)/2,f=(r+i)/2,u=this.element.outerWidth(),m=this.element.outerHeight();switch(this.direction){case"top":this.top=r-io-m,this.left=o-u/2,this.arrow="bottom";break;case"right":this.top=f-m/2,this.left=n+io,this.arrow="left";break;case"bottom":this.top=i+io,this.left=o-u/2,this.arrow="top";break;case"left":this.top=f-m/2,this.left=a-io-u,this.arrow="right";break}}calculateScore(){const e=lt(window).scrollTop(),r=this.top-e,n=lt(window).width()-(this.left+this.element.width()),i=lt(window).height()-(r+this.element.height()),a=this.left;this.score=N6([r,i,a,n])}}const f7=1200,m7=800,Gu=()=>{$u(),Wu(),Vu(),Yu(),Ku(),Zu(),Qu(),qu(),e3(),t3()},$u=()=>lt(document).on("click",".unsupported-saved-searches-content .unsupported-header",function(t){return t.preventDefault(),Analytics.trackEvent("showUnsupportedSavedSearches"),lt(this).hide(),lt(".unsupported-saved-searches-inner-content").show()}),Wu=()=>{lt(document).on("click",".saved-search-list .delete",t=>{Vr("Icon Clicked","Delete Report")}).on("click",".saved-search-list .restore",t=>{Vr("Icon Clicked","Restore Report")})},qu=()=>{lt(document).on("click",".saved-search-list .default-toggle.not_selected",t=>{Vr("Field Item Selected","Set Default")}).on("click",".saved-search-list .default-toggle.selected",t=>{Vr("Field Item Deselected","Set Default")})},Vu=()=>{lt(document).on("click",".saved-search-list input.send-test",function(t){const e=lt(this);e.addClass("loading"),Vr("Icon Clicked","Send Example Report"),Dr(()=>e.removeClass("loading"),1e3)})},Yu=()=>{lt(document).on("click",".saved-search-list .report button",Xu)},Xu=function(t){const e=lt(this),r=e.hasClass("subscribed"),i=`${(a=>a&&a[0].toUpperCase()+a.slice(1))(lt(this).data("frequency"))} Email`;r?(e.addClass("unsubscribing"),Vr("Field Item Deselected",i)):(e.addClass("subscribing"),Vr("Field Item Selected",i))},Ku=()=>{lt(document).on("submit",".saved-search-list .rename form",function(t){t.preventDefault();const e=lt(this).attr("action"),r=lt(this).find("textarea").val();Si.updateSavedSearchTitle(e,r).done(n=>{lt(this).closest("tr").find("a.title").text(n.title),lt(this).closest("tr").removeClass("renaming"),Vr("Section Saved","Rename Report")})}),lt(document).on("click",".saved-search-list .rename-action",function(t){t.preventDefault(),Vr("Icon Clicked","Rename Report");const e=lt(this).closest("tr");e.toggleClass("renaming");const r=e.find(".rename textarea");r.focus()[0].setSelectionRange(0,r.val().length),lt(".saved-search-list > table > tbody > tr.renaming").not(e).each((i,a)=>{lt(a).removeClass("renaming"),Oa(lt(a))})}),lt(document).on("click",".saved-search-list .rename .cancel",function(t){t.preventDefault(),Vr("Section Edit Cancelled","Rename Report"),lt(this).closest("tr").removeClass("renaming"),Oa(lt(this))}),lt(document).on("keydown",".saved-search-list .rename textarea",function(t){t.keyCode===13&&!t.ctrlKey&&(t.preventDefault(),lt(this).closest("form").submit()),t.keyCode===27&&(lt(this).closest("tr").removeClass("renaming"),Oa(lt(this)))})},Zu=()=>{lt(document).on("click",".saved-search-list .report.custom a",function(t){t.preventDefault();const e=lt(t.target).attr("href"),r=window.screen.width/2-f7/2,n=window.screen.height/2-m7/2;window.open(e,"reportPopover",`toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, copyhistory=no, width=${f7}, height=${m7}, top=${n}, left=${r}`)})},Ju=()=>{const t=lt(".saved-search-list");t.length&&Si.updateSavedSearchList().done(e=>t.html(e))},Qu=()=>{window.updateSavedSearches=Ju},e3=()=>{lt(document).on("click",".main .title",()=>{Vr("Link Clicked","Search Title")})},t3=()=>{lt(document).on("click",".report.custom .share",()=>{Vr("Icon Clicked","Create/Edit Report")})},Oa=function(t){const e=t.closest("tr").find("a.title").text().replace(/^Search for\s/,"");t.closest("tr").find(".rename textarea").val(e)},Vr=(t,e)=>{Analytics.trackEvent(`Saved Search: ${t}`,{name:e})},g0=async(t,e={})=>{const{signal:r,...n}=typeof __JEST__<"u"?{...e,signal:void 0}:e,i=await fetch(t,{headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/json",Accept:"application/json"},...n,...r?{signal:r}:{}});if(!i.ok){if(i.status===401)return window.location.reload(),new Promise(()=>{});throw new Error(`HTTP Error: ${i.status}`)}return i.json()},r3=1440*60*1e3,i3=()=>{window.addEventListener("focus",()=>{s3()})},n3=()=>{sessionStorage.setItem("last_release_check",Date.now())},s3=async()=>
34{if(!window.current_user)return;const t=sessionStorage.getItem("last_release_check");if(Date.now()-t>r3)try{(await g0("/explorer/release_check")).refresh_mixpanel_identity&&await o3(),n3()}catch(e){console.log("Error while checking current release: "+e.message)}};async function o3(){return fetch("/explorer/identify",{method:"POST",headers:{"X-CSRF-Token":Vo()}})}var $l=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,y0=/^[\\/]{2}/;function a3(t,e){return e+t.replace(/\\/g,"/")}var g7="popstate";function y7(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function l3(t={}){function e(n,i){let a=i.state?.masked,{pathname:o,search:f,hash:u}=a||n.location;return fl("",{pathname:o,search:f,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default",a?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function r(n,i){return typeof i=="string"?i:Ln(i)}return d3(e,r,null,t)}function rr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function ei(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function c3(){return Math.random().toString(36).substring(2,10)}function x7(t,e){return{usr:t.state,key:t.key,idx:e,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function fl(t,e,r=null,n,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?Hn(e):e,state:r,key:e&&e.key||n||c3(),mask:i}}function Ln({pathname:t="/",search:e="",hash:r=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Hn(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substring(r),t=t.substring(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substring(n),t=t.substring(0,n)),t&&(e.pathname=t)}return e}function d3(t,e,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,f="POP",u=null,m=S();m==null&&(m=0,o.replaceState({...o.state,idx:m},""));function S(){return(o.state||{idx:null}).idx}function w(){f="POP";let A=S(),j=A==null?null:A-m;m=A,u&&u({action:f,location:E.location,delta:j})}function x(A,j){f="PUSH";let R=y7(A)?A:fl(E.location,A,j);m=S()+1;let k=x7(R,m),B=E.createHref(R.mask||R);try{o.pushState(k,"",B)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;i.location.assign(B)}a&&u&&u({action:f,location:E.location,delta:1})}function T(A,j){f="REPLACE";let R=y7(A)?A:fl(E.location,A,j);m=S();let k=x7(R,m),B=E.createHref(R.mask||R);o.replaceState(k,"",B),a&&u&&u({action:f,location:E.location,delta:0})}function y(A){return h3(i,A)}let E={get action(){return f},get location(){return t(i,o)},listen(A){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(g7,w),u=A,()=>{i.removeEventListener(g7,w),u=null}},createHref(A){return e(i,A)},createURL:y,encodeLocation(A){let j=y(A);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:x,replace:T,go(A){return o.go(A)}};return E}function h3(t,e,r=!1){let n="http://localhost";t&&(n=t.location.origin!=="null"?t.location.origin:t.location.href),rr(n,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Ln(e);return i=i.replace(/ $/,"%20"),!r&&y0.test(i)&&(i=n+i),new URL(i,n)}function x0(t,e,r="/"){return u3(t,e,r,!1)}function u3(t,e,r,n,i){let a=typeof e=="string"?Hn(e):e,o=wi(a.pathname||"/",r);if(o==null)return null;let f=p3(t),u=null,m=C3(o);for(let S=0;u==null&&S<f.length;++S)u=E3(f[S],m,n);return u}function p3(t){let e=b0(t);return f3(e),e}function b0(t,e=[],r=[],n="",i=!1){let a=(o,f,u=i,m)=>{let S={relativePath:m===void 0?o.path||"":m,caseSensitive:o.caseSensitive===!0,childrenIndex:f,route:o};if(S.relativePath.startsWith("/")){if(!S.relativePath.startsWith(n)&&u)return;rr(S.relativePath.startsWith(n),`Absolute route path "${S.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(n.length)}let w=Qr([n,S.relativePath]),x=r.concat(S);o.children&&o.children.length>0&&(rr(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${w}".`),b0(o.children,e,x,w,u)),!(o.path==null&&!o.index)&&e.push({path:w,score:S3(w,o.index),routesMeta:x.map((T,y)=>{let[E,A]=w0(T.relativePath,T.caseSensitive,y===x.length-1);return{...T,matcher:E,compiledParams:A}})})};return t.forEach((o,f)=>{if(o.path===""||!o.path?.includes("?"))a(o,f);else for(let u of v0(o.path))a(o,f,!0,u)}),e}function v0(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=v0(n.join("/")),f=[];return f.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&f.push(...o),f.map(u=>t.startsWith("/")&&u===""?"/":u)}function f3(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:w3(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var m3=/^:[\w-]+$/,g3=3,y3=2,x3=1,b3=10,v3=-2,b7=t=>t==="*";function S3(t,e){let r=t.split("/"),n=r.length;return r.some(b7)&&(n+=v3),e&&(n+=y3),r.filter(i=>!b7(i)).reduce((i,a)=>i+(m3.test(a)?g3:a===""?x3:b3),n)}function w3(t,e){return t.length===e.length&&t.slice(0,-1).every((n,i)=>n===e[i])?t[t.length-1]-e[e.length-1]:0}function E3(t,e,r=!1){let{routesMeta:n}=t,i={},a="/",o=[];for(let f=0;f<n.length;++f){let u=n[f],m=f===n.length-1,S=a==="/"?e:e.slice(a.length)||"/",w={path:u.relativePath,caseSensitive:u.caseSensitive,end:m},x=u.matcher&&u.compiledParams?S0(w,S,u.matcher,u.compiledParams):_o(w,S),T=u.route;if(!x&&m&&r&&!n[n.length-1].route.index&&(x=_o({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},S)),!x)return null;
34Object.assign(i,x.params),o.push({params:i,pathname:Qr([a,x.pathname]),pathnameBase:j3(Qr([a,x.pathnameBase])),route:T}),x.pathnameBase!=="/"&&(a=Qr([a,x.pathnameBase]))}return o}function _o(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=w0(t.path,t.caseSensitive,t.end);return S0(t,e,r,n)}function S0(t,e,r,n){let i=e.match(r);if(!i)return null;let a=i[0],o=Fn(a,1),f=i.slice(1);return{params:n.reduce((m,{paramName:S,isOptional:w},x)=>{if(S==="*"){let y=f[x]||"";o=Fn(a.slice(0,a.length-y.length),1)}const T=f[x];return w&&!T?m[S]=void 0:m[S]=(T||"").replace(/%2F/g,"/"),m},{}),pathname:a,pathnameBase:o,pattern:t}}function w0(t,e=!1,r=!0){ei(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let n=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,f,u,m,S)=>{if(n.push({paramName:f,isOptional:u!=null}),u){let w=S.charAt(m+o.length);return w&&w!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(n.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function C3(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return ei(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function wi(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}function k3(t,e="/"){let{pathname:r,search:n="",hash:i=""}=typeof t=="string"?Hn(t):t,a;return r?(r=C0(r),r.startsWith("/")||r.startsWith("\\")?a=v7(r.substring(1),"/"):a=v7(r,e)):a=e,{pathname:a,search:T3(n),hash:M3(i)}}function v7(t,e){let r=Fn(e).split("/");return t.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function La(t,e,r,n){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function A3(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function E0(t){let e=A3(t);return e.map((r,n)=>n===e.length-1?r.pathname:r.pathnameBase)}function Wl(t,e,r,n=!1){let i;typeof t=="string"?i=Hn(t):(i={...t},rr(!i.pathname||!i.pathname.includes("?"),La("?","pathname","search",i)),rr(!i.pathname||!i.pathname.includes("#"),La("#","pathname","hash",i)),rr(!i.search||!i.search.includes("#"),La("#","search","hash",i)));let a=t===""||i.pathname==="",o=a?"/":i.pathname,f;if(o==null)f=r;else{let w=e.length-1;if(!n&&o.startsWith("..")){let x=o.split("/");for(;x[0]==="..";)x.shift(),w-=1;i.pathname=x.join("/")}f=w>=0?e[w]:"/"}let u=k3(i,f),m=o&&o!=="/"&&o.endsWith("/"),S=(a||o===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(m||S)&&(u.pathname+="/"),u}var C0=t=>t.replace(/[\\/]{2,}/g,"/"),Qr=t=>C0(t.join("/"));function Fn(t,e=0){let r=t.length;for(;r>e&&t.charCodeAt(r-1)===47;)r--;return r===t.length?t:t.slice(0,r)}var j3=t=>Fn(t).replace(/^\/*/,"/"),T3=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,M3=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,R3=class{constructor(t,e,r,n=!1){this.status=t,this.statusText=e||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function P3(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function N3(t){let e=t.map(r=>r.route.path).filter(Boolean);return Qr(e)||"/"}var k0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function A0(t,e){let r=t;if(typeof r!="string"||!$l.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,i=!1;if(k0)try{let a=new URL(window.location.href),o=y0.test(r)?new URL(a3(r,a.protocol)):new URL(r),f=wi(o.pathname,e);o.origin===a.origin&&f!=null?r=f+o.search+o.hash:i=!0}catch{ei(!1,`<Link to="${r}">
34 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:i,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var S7=new URL("http://localhost");function j0(t){if(t.createURL)return t.createURL("/");try{return new URL(t.createHref("/"),S7)}catch{return S7}}function Fa(t,e){return t.origin===e.origin&&(t.origin!=="null"||t.protocol===e.protocol&&t.host===e.host)}function _3(t,e){if(t.startsWith("//"))return!0;let r=e.protocol.toLowerCase();return t.toLowerCase().startsWith(r)?e.host===""||t.slice(r.length).startsWith("//"):!1}function T0(t,e,r,n){let i=null;try{i=t==null?null:new URL(t,r)}catch{}let a=new URL(e,r),o=i!=null&&!Fa(i,r),f=!Fa(a,r);if(n==="reject"){if(o||f)throw new Error("External navigation is not allowed")}else if(f&&(i==null||!_3(t,i)||!Fa(i,a)))throw new Error("External navigation is not allowed")}var M0=["POST","PUT","PATCH","DELETE"];new Set(M0);var I3=["GET",...M0];new Set(I3);var O3=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function L3(t){try{return O3.includes(new URL(t).protocol)}catch{return!1}}var zn=Q.createContext(null);zn.displayName="DataRouter";var Jo=Q.createContext(null);Jo.displayName="DataRouterState";var R0=Q.createContext(!1);function F3(){return Q.useContext(R0)}var P0=Q.createContext({isTransitioning:!1});P0.displayName="ViewTransition";var D3=Q.createContext(new Map);D3.displayName="Fetchers";var B3=Q.createContext(null);B3.displayName="Await";var Xr=Q.createContext(null);Xr.displayName="Navigation";var Rs=Q.createContext(null);Rs.displayName="Location";var Ai=Q.createContext({outlet:null,matches:[],isDataRoute:!1});Ai.displayName="Route";var ql=Q.createContext(null);ql.displayName="RouteError";var N0="REACT_ROUTER_ERROR",H3="REDIRECT",z3="ROUTE_ERROR_RESPONSE";function U3(t){if(t.startsWith(`${N0}:${H3}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function G3(t){if(t.startsWith(`${N0}:${z3}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new R3(e.status,e.statusText,e.data)}catch{}}function $3(t,{relative:e}={}){rr(Ps(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=Q.useContext(Xr),{hash:i,pathname:a,search:o}=Ns(t,{relative:e}),f=a;return r!=="/"&&(f=a==="/"?r:Qr([r,a])),n.createHref({pathname:f,search:o,hash:i})}function Ps(){return Q.useContext(Rs)!=null}function Br(){return rr(Ps(),"useLocation() may be used only in the context of a <Router> component."),Q.useContext(Rs).location}var _0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function I0(t){Q.useContext(Xr).static||Q.useLayoutEffect(t)}function Qo(){let{isDataRoute:t}=Q.useContext(Ai);return t?ip():W3()}function W3(){rr(Ps(),"useNavigate() may be used only in the context of a <Router> component.");let t=Q.useContext(zn),{basename:e,navigator:r}=Q.useContext(Xr),{matches:n}=Q.useContext(Ai),{pathname:i}=Br(),a=JSON.stringify(E0(n)),o=Q.useRef(!1);return I0(()=>{o.current=!0}),Q.useCallback((u,m={})=>{if(ei(o.current,_0),!o.current)return;if(typeof u=="number"){r.go(u);return}let S=Wl(u,JSON.parse(a),i,m.relative==="path");t==null&&e!=="/"&&(S.pathname=S.pathname==="/"?e:Qr([e,S.pathname])),T0(typeof u=="string"?u:Ln(u),r.createHref(S),j0(r),"reject"),(m.replace?r.replace:r.push)(S,m.state,m)},[e,r,a,i,t])}Q.createContext(null);function Ns(t,{relative:e}={}){let{matches:r}=Q.useContext(Ai),{pathname:n}=Br(),i=JSON.stringify(E0(r));return Q.useMemo(()=>Wl(t,JSON.parse(i),n,e==="path"),[t,i,n,e])}function q3(t,e){return O0(t,e)}function O0(t,e,r){rr(Ps(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=Q.useContext(Xr),{matches:i}=Q.useContext(Ai),a=i[i.length-1],o=a?a.params:{},f=a?a.pathname:"/",u=a?a.pathnameBase:"/",m=a&&a.route;{let A=m&&m.path||"";F0(f,!m||A.endsWith("*")||A.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${A}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 35 36Please change the parent <Route path="${A}"> to <Route path="${A==="/"?"*":`${A}/*`}">.`)}let S=Br(),w;if(e){let A=typeof e=="string"?Hn(e):e;rr(u==="/"||A.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${A.pathname}" was given in the \`location\` prop.`),w=A}else w=S;let x=w.pathname||"/",T=x;if(u!=="/"){let A=u.replace(/^\//,"").split("/");T="/"+x.replace(/^\//,"").split("/").slice(A.length).join("/")}let y=r&&r.state.matches.length?r.state.matches.map(A=>Object.assign(A,{route:r.manifest[A.route.id]||A.route})):x0(t,{pathname:T});ei(m||y!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),ei(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let E=Z3(y&&y.map(A=>Object.assign({},A,{params:Object.assign({},o,A.params),pathname:Qr([u,n.encodeLocation?n.encodeLocation(A.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?u:Qr([u,n.encodeLocation?n.encodeLocation(A.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathnameBase])})),i,r);return e&&E?Q.createElement(Rs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...w},navigationType:"POP"}},E):E}function V3(){let t=rp(),e=P3(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",t),o=Q.createElement(Q.Fragment,null,Q.createElement("p",null,"ð¿ Hey developer ð"),Q.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",Q.createElement("code",{style:a},"ErrorBoundary")," or"," ",Q.createElement("code",{style:a},"errorElement")," prop on your route.")),Q.createElement(Q.Fragment,null,Q.createElement("h2",null,"Unexpected Application
36Error!"),Q.createElement("h3",{style:{fontStyle:"italic"}},e),r?Q.createElement("pre",{style:i},r):null,o)}var Y3=Q.createElement(V3,null),L0=class extends Q.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const r=G3(t.digest);r&&(t=r)}let e=t!==void 0?Q.createElement(Ai.Provider,{value:this.props.routeContext},Q.createElement(ql.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?Q.createElement(X3,{error:t},e):e}};L0.contextType=R0;var Da=new WeakMap;function X3({children:t,error:e}){let{basename:r,navigator:n}=Q.useContext(Xr);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let i=U3(e.digest);if(i){let a=Da.get(e);if(a)throw a;let o=A0(i.location,r),f=o.absoluteURL||o.to;if(T0(i.location,f,j0(n),"allow-explicit"),L3(f))throw new Error("Invalid redirect location");if(k0&&!Da.get(e))if(o.isExternal||i.reloadDocument)window.location.href=f;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:i.replace}));throw Da.set(e,u),u}return Q.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f}`})}}return t}function K3({routeContext:t,match:e,children:r}){let n=Q.useContext(zn);return n&&n.static&&n.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=e.route.id),Q.createElement(Ai.Provider,{value:t},r)}function Z3(t,e=[],r){let n=r?.state;if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let i=t,a=n?.errors;if(a!=null){let S=i.findIndex(w=>w.route.id&&a?.[w.route.id]!==void 0);rr(S>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,S+1))}let o=!1,f=-1;if(r&&n){o=n.renderFallback;for(let S=0;S<i.length;S++){let w=i[S];if((w.route.HydrateFallback||w.route.hydrateFallbackElement)&&(f=S),w.route.id){let{loaderData:x,errors:T}=n,y=w.route.loader&&!x.hasOwnProperty(w.route.id)&&(!T||T[w.route.id]===void 0);if(w.route.lazy||y){r.isStatic&&(o=!0),f>=0?i=i.slice(0,f+1):i=[i[0]];break}}}}let u=r?.onError,m=n&&u?(S,w)=>{u(S,{location:n.location,params:n.matches?.[0]?.params??{},pattern:N3(n.matches),errorInfo:w})}:void 0;return i.reduceRight((S,w,x)=>{let T,y=!1,E=null,A=null;n&&(T=a&&w.route.id?a[w.route.id]:void 0,E=w.route.errorElement||Y3,o&&(f<0&&x===0?(F0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,A=null):f===x&&(y=!0,A=w.route.hydrateFallbackElement||null)));let j=e.concat(i.slice(0,x+1)),R=()=>{let k;return T?k=E:y?k=A:w.route.Component?k=Q.createElement(w.route.Component,null):w.route.element?k=w.route.element:k=S,Q.createElement(K3,{match:w,routeContext:{outlet:S,matches:j,isDataRoute:n!=null},children:k})};return n&&(w.route.ErrorBoundary||w.route.errorElement||x===0)?Q.createElement(L0,{location:n.location,revalidation:n.revalidation,component:E,error:T,children:R(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:m}):R()},null)}function Vl(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function J3(t){let e=Q.useContext(zn);return rr(e,Vl(t)),e}function Q3(t){let e=Q.useContext(Jo);return rr(e,Vl(t)),e}function ep(t){let e=Q.useContext(Ai);return rr(e,Vl(t)),e}function Yl(t){let e=ep(t),r=e.matches[e.matches.length-1];return rr(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}function tp(){return Yl("useRouteId")}function rp(){let t=Q.useContext(ql),e=Q3("useRouteError"),r=Yl("useRouteError");return t!==void 0?t:e.errors?.[r]}function ip(){let{router:t}=J3("useNavigate"),e=Yl("useNavigate"),r=Q.useRef(!1);return I0(()=>{r.current=!0}),Q.useCallback(async(i,a={})=>{ei(r.current,_0),r.current&&(typeof i=="number"?await t.navigate(i):await t.navigate(i,{fromRouteId:e,...a}))},[t,e])}var w7={};function F0(t,e,r){!e&&!w7[t]&&(w7[t]=!0,ei(!1,r))}Q.memo(np);function np({routes:t,manifest:e,future:r,state:n,isStatic:i,onError:a}){return O0(t,void 0,{manifest:e,state:n,isStatic:i,onError:a})}function gi(t){rr(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function sp({basename:t="/",children:e=null,location:r,navigationType:n="POP",navigator:i,static:a=!1,useTransitions:o}){rr(!Ps(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),u=Q.useMemo(()=>({basename:f,navigator:i,static:a,useTransitions:o,future:{}}),[f,i,a,o]);typeof r=="string"&&(r=Hn(r));
36let{pathname:m="/",search:S="",hash:w="",state:x=null,key:T="default",mask:y}=r,E=Q.useMemo(()=>{let A=wi(m,f);return A==null?null:{location:{pathname:A,search:S,hash:w,state:x,key:T,mask:y},navigationType:n}},[f,m,S,w,x,T,n,y]);return ei(E!=null,`<Router basename="${f}"> is not able to match the URL "${m}${S}${w}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:Q.createElement(Xr.Provider,{value:u},Q.createElement(Rs.Provider,{children:e,value:E}))}function op({children:t,location:e}){return q3(ml(t),e)}function ml(t,e=[]){let r=[];return Q.Children.forEach(t,(n,i)=>{if(!Q.isValidElement(n))return;let a=[...e,i];if(n.type===Q.Fragment){r.push.apply(r,ml(n.props.children,a));return}rr(n.type===gi,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),rr(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=ml(n.props.children,a)),r.push(o)}),r}var Eo="get",Co="application/x-www-form-urlencoded";function ea(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function ap(t){return ea(t)&&t.tagName.toLowerCase()==="button"}function lp(t){return ea(t)&&t.tagName.toLowerCase()==="form"}function cp(t){return ea(t)&&t.tagName.toLowerCase()==="input"}function dp(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function hp(t,e){return t.button===0&&(!e||e==="_self")&&!dp(t)}function gl(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function up(t,e){let r=gl(t);return e&&e.forEach((n,i)=>{r.has(i)||e.getAll(i).forEach(a=>{r.append(i,a)})}),r}var no=null;function pp(){if(no===null)try{new FormData(document.createElement("form"),0),no=!1}catch{no=!0}return no}var fp=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ba(t){return t!=null&&!fp.has(t)?(ei(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Co}"`),null):t}function mp(t,e){let r,n,i,a,o;if(lp(t)){let f=t.getAttribute("action");n=f?wi(f,e):null,r=t.getAttribute("method")||Eo,i=Ba(t.getAttribute("enctype"))||Co,a=new FormData(t)}else if(ap(t)||cp(t)&&(t.type==="submit"||t.type==="image")){let f=t.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=t.getAttribute("formaction")||f.getAttribute("action");if(n=u?wi(u,e):null,r=t.getAttribute("formmethod")||f.getAttribute("method")||Eo,i=Ba(t.getAttribute("formenctype"))||Ba(f.getAttribute("enctype"))||Co,a=new FormData(f,t),!pp()){let{name:m,type:S,value:w}=t;if(S==="image"){let x=m?`${m}.`:"";a.append(`${x}x`,"0"),a.append(`${x}y`,"0")}else m&&a.append(m,w)}}else{if(ea(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Eo,n=null,i=Co,o=t}return a&&i==="text/plain"&&(o=a,a=void 0),{action:n,method:r.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Xl(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function D0(t,e,r,n){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return r?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${n}`:i.pathname=`${i.pathname}.${n}`:i.pathname==="/"?i.pathname=`_root.${n}`:e&&wi(i.pathname,e)==="/"?i.pathname=`${Fn(e)}/_root.${n}`:i.pathname=`${Fn(i.pathname)}.${n}`,i}async function gp(t,e){if(t.id in e)return e[t.id];try{let r=await import(t.module);return e[t.id]=r,r}catch(r){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.
36isSpaMode,window.location.reload(),new Promise(()=>{})}}function yp(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function xp(t,e,r){let n=await Promise.all(t.map(async i=>{let a=e.routes[i.route.id];if(a){let o=await gp(a,r);return o.links?o.links():[]}return[]}));return wp(n.flat(1).filter(yp).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function E7(t,e,r,n,i,a){let o=(u,m)=>r[m]?u.route.id!==r[m].route.id:!0,f=(u,m)=>r[m].pathname!==u.pathname||r[m].route.path?.endsWith("*")&&r[m].params["*"]!==u.params["*"];return a==="assets"?e.filter((u,m)=>o(u,m)||f(u,m)):a==="data"?e.filter((u,m)=>{let S=n.routes[u.route.id];if(!S||!S.hasLoader)return!1;if(o(u,m)||f(u,m))return!0;if(u.route.shouldRevalidate){let w=u.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function bp(t,e,{includeHydrateFallback:r}={}){return vp(t.map(n=>{let i=e.routes[n.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function vp(t){return[...new Set(t)]}function Sp(t){let e={},r=Object.keys(t).sort();for(let n of r)e[n]=t[n];return e}function wp(t,e){let r=new Set;return new Set(e),t.reduce((n,i)=>{let a=JSON.stringify(Sp(i));return r.has(a)||(r.add(a),n.push({key:a,link:i})),n},[])}function Kl(){let t=Q.useContext(zn);return Xl(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function Ep(){let t=Q.useContext(Jo);return Xl(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Zl=Q.createContext(void 0);Zl.displayName="FrameworkContext";function ta(){let t=Q.useContext(Zl);return Xl(t,"You must render this element inside a <HydratedRouter> element"),t}function Cp(t,e){let r=Q.useContext(Zl),[n,i]=Q.useState(!1),[a,o]=Q.useState(!1),{onFocus:f,onBlur:u,onMouseEnter:m,onMouseLeave:S,onTouchStart:w}=e,x=Q.useRef(null);Q.useEffect(()=>{if(t==="render"&&o(!0),t==="viewport"){let E=j=>{j.forEach(R=>{o(R.isIntersecting)})},A=new IntersectionObserver(E,{threshold:.5});return x.current&&A.observe(x.current),()=>{A.disconnect()}}},[t]),Q.useEffect(()=>{if(n){let E=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(E)}}},[n]);let T=()=>{i(!0)},y=()=>{i(!1),o(!1)};return r?t!=="intent"?[a,x,{}]:[a,x,{onFocus:ds(f,T),onBlur:ds(u,y),onMouseEnter:ds(m,T),onMouseLeave:ds(S,y),onTouchStart:ds(w,T)}]:[!1,x,{}]}function ds(t,e){return r=>{t&&t(r),r.defaultPrevented||e(r)}}function kp({page:t,...e}){let r=F3(),{nonce:n}=ta(),{router:i}=Kl(),a=Q.useMemo(()=>x0(i.routes,t,i.basename),[i.routes,t,i.basename]);return a?(e.nonce==null&&n&&(e={...e,nonce:n}),r?Q.createElement(jp,{page:t,matches:a,...e}):Q.createElement(Tp,{page:t,matches:a,...e})):null}function Ap(t){let{manifest:e,routeModules:r}=ta(),[n,i]=Q.useState([]);return Q.useEffect(()=>{let a=!1;return xp(t,e,r).then(o=>{a||i(o)}),()=>{a=!0}},[t,e,r]),n}function jp({page:t,matches:e,...r}){let n=Br(),{future:i}=ta(),{basename:a}=Kl(),o=Q.useMemo(()=>{if(t===n.pathname+n.search+n.hash)return[];let f=D0(t,a,i.v8_trailingSlashAwareDataRequests,"rsc"),u=!1,m=[];for(let S of e)typeof S.route.shouldRevalidate=="function"?u=!0:m.push(S.route.id);return u&&m.length>0&&f.searchParams.set("_routes",m.join(",")),[f.pathname+f.search]},[a,i.v8_trailingSlashAwareDataRequests,t,n,e]);return Q.createElement(Q.Fragment,null,o.map(f=>Q.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...r})))}function Tp({page:t,matches:e,...r}){let n=Br(),{future:i,manifest:a,routeModules:o}=ta(),{basename:f}=Kl(),{loaderData:u,matches:m}=Ep(),S=Q.useMemo(()=>E7(t,e,m,a,n,"data"),[t,e,m,a,n]),w=Q.useMemo(()=>E7(t,e,m,a,n,"assets"),[t,e,m,a,n]),x=Q.useMemo(()=>
36{if(t===n.pathname+n.search+n.hash)return[];let E=new Set,A=!1;if(e.forEach(R=>{let k=a.routes[R.route.id];!k||!k.hasLoader||(!S.some(B=>B.route.id===R.route.id)&&R.route.id in u&&o[R.route.id]?.shouldRevalidate||k.hasClientLoader?A=!0:E.add(R.route.id))}),E.size===0)return[];let j=D0(t,f,i.v8_trailingSlashAwareDataRequests,"data");return A&&E.size>0&&j.searchParams.set("_routes",e.filter(R=>E.has(R.route.id)).map(R=>R.route.id).join(",")),[j.pathname+j.search]},[f,i.v8_trailingSlashAwareDataRequests,u,n,a,S,e,t,o]),T=Q.useMemo(()=>bp(w,a),[w,a]),y=Ap(w);return Q.createElement(Q.Fragment,null,x.map(E=>Q.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),T.map(E=>Q.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),y.map(({key:E,link:A})=>Q.createElement("link",{key:E,nonce:r.nonce,...A,crossOrigin:A.crossOrigin??r.crossOrigin})))}function Mp(...t){return e=>{t.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}var Rp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Rp&&(window.__reactRouterVersion="7.18.3")}catch{}function Pp({basename:t,children:e,useTransitions:r,window:n}){let i=Q.useRef();i.current==null&&(i.current=l3({window:n,v5Compat:!0}));let a=i.current,[o,f]=Q.useState({action:a.action,location:a.location}),u=Q.useCallback(m=>{r===!1?f(m):Q.startTransition(()=>f(m))},[r]);return Q.useLayoutEffect(()=>a.listen(u),[a,u]),Q.createElement(sp,{basename:t,children:e,location:o.location,navigationType:o.action,navigator:a,useTransitions:r})}var Bt=Q.forwardRef(function({onClick:e,discover:r="render",prefetch:n="none",relative:i,reloadDocument:a,replace:o,mask:f,state:u,target:m,to:S,preventScrollReset:w,viewTransition:x,defaultShouldRevalidate:T,...y},E){let{basename:A,navigator:j,useTransitions:R}=Q.useContext(Xr),k=typeof S=="string"&&$l.test(S),B=A0(S,A);S=B.to;let L=$3(S,{relative:i}),C=Br(),h=null;if(f){let p=Wl(f,[],C.mask?C.mask.pathname:"/",!0);A!=="/"&&(p.pathname=p.pathname==="/"?A:Qr([A,p.pathname])),h=j.createHref(p)}let[H,P,N]=Cp(n,y),I=Ip(S,{replace:o,mask:f,state:u,target:m,preventScrollReset:w,relative:i,viewTransition:x,defaultShouldRevalidate:T,useTransitions:R});function F(p){e&&e(p),p.defaultPrevented||I(p)}let l=!(B.isExternal||a),d=Q.createElement("a",{...y,...N,href:(l?h:void 0)||B.absoluteURL||L,onClick:l?F:e,ref:Mp(E,P),target:m,"data-discover":!k&&r==="render"?"true":void 0});return H&&!k?Q.createElement(Q.Fragment,null,d,Q.createElement(kp,{page:L})):d});Bt.displayName="Link";var B0=Q.forwardRef(function({"aria-current":e="page",caseSensitive:r=!1,className:n="",end:i=!1,style:a,to:o,viewTransition:f,children:u,...m},S){let w=Ns(o,{relative:m.relative}),x=Br(),T=Q.useContext(Jo),{navigator:y,basename:E}=Q.useContext(Xr),A=T!=null&&Hp(w)&&f===!0,j=y.encodeLocation?y.encodeLocation(w).pathname:w.pathname,R=x.pathname,k=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;r||(R=R.toLowerCase(),k=k?k.toLowerCase():null,j=j.toLowerCase()),k&&E&&(k=wi(k,E)||k);const B=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let L=R===j||!i&&R.startsWith(j)&&R.charAt(B)==="/",C=k!=null&&(k===j||!i&&k.startsWith(j)&&k.charAt(j.length)==="/"),h={isActive:L,isPending:C,isTransitioning:A},H=L?e:void 0,P;typeof n=="function"?P=n(h):P=[n,L?"active":null,C?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let N=typeof a=="function"?a(h):a;return Q.createElement(Bt,{...m,"aria-current":H,className:P,ref:S,style:N,to:o,viewTransition:f},typeof u=="function"?u(h):u)});B0.displayName="NavLink";var Np=Q.forwardRef(({discover:t="render",fetcherKey:e,navigate:r,reloadDocument:n,replace:i,state:a,method:o=Eo,action:f,onSubmit:u,relative:m,preventScrollReset:S,viewTransition:w,defaultShouldRevalidate:x,...T},y)=>{let{useTransitions:E}=Q.useContext(Xr),A=Dp(),j=Bp(f,{relative:m}),R=o.toLowerCase()==="get"?"get":"post",k=typeof f=="string"&&$l.test(f),B=L=>{if(u&&u(L),L.defaultPrevented)return;L.preventDefault();let C=L.nativeEvent.submitter,h=C?.getAttribute("formmethod")||o,H=()=>A(C||L.currentTarget,{fetcherKey:e,method:h,navigate:r,replace:i,state:a,relative:m,preventScrollReset:S,viewTransition:w,defaultShouldRevalidate:x});E&&r!==!1?Q.startTransition(()=>H()):H()};return Q.createElement("form",{ref:y,method:R,action:j,onSubmit:n?u:B,...T,"data-discover":!k&&t==="render"?"true":void 0})});Np.displayName="Form";function _p(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function H0(t){let e=Q.useContext(zn);return rr(e,_p(t)),e}function Ip(t,{target:e,replace:r,mask:n,state:i,preventScrollReset:a,relative:o,viewTransition:f,defaultShouldRevalidate:u,useTransitions:m}={}){let S=Qo(),w=Br(),x=Ns(t,{relative:o});return Q.useCallback(T=>{if(hp(T,e)){T.preventDefault();let y=r!==void 0?r:Ln(w)===Ln(x),E=()=>S(t,{replace:y,mask:n,state:i,preventScrollReset:a,relative:o,viewTransition:f,defaultShouldRevalidate:u});m?Q.startTransition(()=>E()):E()}},[w,S,x,r,n,i,e,t,a,o,f,u,m])}function Op(t){ei(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let e=Q.useRef(gl(t)),r=Q.useRef(!1),n=Br(),i=Q.useMemo(()=>up(n.search,r.current?null:e.current),[n.search]),a=Qo(),o=Q.useCallback((f,u)=>{const m=gl(typeof f=="function"?f(new URLSearchParams(i)):f);r.current=!0,a("?"+m,u)},[a,i]);return[i,o]}var Lp=0,Fp=()=>`__${String(++Lp)}__`;function Dp(){let{router:t}=H0("useSubmit"),{basename:e}=Q.useContext(Xr),r=tp(),n=t.fetch,i=t.navigate;return Q.useCallback(async(a,o={})=>{let{action:f,method:u,encType:m,formData:S,body:w}=mp(a,e);if(o.navigate===!1){let x=o.fetcherKey||Fp();await n(x,r,o.action||f,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:S,body:w,formMethod:o.method||u,formEncType:o.encType||m,flushSync:o.flushSync})}else await i(o.action||f,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:S,body:w,formMethod:o.method||u,formEncType:o.encType||m,replace:o.replace,state:o.state,fromRouteId:r,flushSync:o.flushSync,viewTransition:o.viewTransition})},[n,i,e,r])}function Bp(t,{relative:e}={}){let{basename:r}=Q.useContext(Xr),n=Q.useContext(Ai);rr(n,"useFormAction must be used inside a RouteContext");let[i]=n.matches.slice(-1),a={...Ns(t||".",{relative:e})},o=Br();if(t==null){a.search=o.search;let f=new URLSearchParams(a.search),u=f.getAll("index");if(u.some(S=>S==="")){f.delete("index"),u.filter(w=>
36w).forEach(w=>f.append("index",w));let S=f.toString();a.search=S?`?${S}`:""}}return(!t||t===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:Qr([r,a.pathname])),Ln(a)}function Hp(t,{relative:e}={}){let r=Q.useContext(P0);rr(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=H0("useViewTransitionState"),i=Ns(t,{relative:e});if(!r.isTransitioning)return!1;let a=wi(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=wi(r.nextLocation.pathname,n)||r.nextLocation.pathname;return _o(i.pathname,o)!=null||_o(i.pathname,a)!=null}var zp=l5();const so=Ur(zp),z0=Q.createContext([]),Up="%[a-f0-9]{2}",C7=new RegExp(`(${Up})+`,"gi"),Gp=/^[a-f\d]{2}$/i;function k7(t,e){if(t.codePointAt(e)!==37||e+3>t.length)return;const r=t.slice(e+1,e+3);if(Gp.test(r))return{byte:Number.parseInt(r,16),next:e+3}}function $p(t){return t<=127?1:t>=194&&t<=223?2:t>=224&&t<=239?3:t>=240&&t<=244?4:0}function Wp(t){return t>=128&&t<=191}function qp(t){try{return decodeURIComponent(t)}catch{let e="",r=0;for(;r<t.length;){if(t.codePointAt(r)!==37){e+=t.charAt(r),r++;continue}const n=k7(t,r);if(!n){e+=t.charAt(r),r++;continue}const i=$p(n.byte);if(i===0){e+=t.slice(r,r+3),r+=3;continue}let a=n.next,o=!0;for(let f=1;f<i;f++){const u=k7(t,a);if(!u||!Wp(u.byte)){o=!1;break}a=u.next}if(o){const f=t.slice(r,a);try{e+=decodeURIComponent(f),r=a;continue}catch{}}e+=t.slice(r,r+3),r+=3}return e}}function Vp(t){const e={"%FE%FF":"��","%FF%FE":"��"};let r=C7.exec(t);for(;r;){try{e[r[0]]=decodeURIComponent(r[0])}catch{const i=qp(r[0]);i!==r[0]&&(e[r[0]]=i)}r=C7.exec(t)}e["%C2"]="�";const n=Object.keys(e);for(const i of n)t=t.replace(new RegExp(i,"g"),e[i]);return t}function Yp(t){if(typeof t!="string")throw new TypeError(`Expected \`encodedURI\` to be of type \`string\`, got \`${typeof t}\``);try{return decodeURIComponent(t)}catch{return Vp(t)}}function Xp(t,e){const r={};if(Array.isArray(e))for(const n of e){const i=Object.getOwnPropertyDescriptor(t,n);i?.enumerable&&Object.defineProperty(r,n,i)}else for(const n of Reflect.ownKeys(t)){const i=Object.getOwnPropertyDescriptor(t,n);if(i.enumerable){const a=t[n];e(n,a,t)&&Object.defineProperty(r,n,i)}}return r}function U0(t,e){if(!(typeof t=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t===""||e==="")return[];const r=t.indexOf(e);return r===-1?[]:[t.slice(0,r),t.slice(r+e.length)]}const Kp=t=>t==null,Zp=t=>encodeURIComponent(t).replaceAll(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),yl=Symbol("encodeFragmentIdentifier");function Jp(t){switch(t.arrayFormat){case"index":return e=>(r,n)=>{const i=r.length;return n===void 0||t.skipNull&&n===null||t.skipEmptyString&&n===""?r:n===null?(r.push([dr(e,t),"[",i,"]"].join("")),r):(r.push([dr(e,t),"[",dr(i,t),"]=",dr(n,t)].join("")),r)};case"bracket":return e=>(r,n)=>n===void 0||t.skipNull&&n===null||t.skipEmptyString&&n===""?r:n===null?(r.push([dr(e,t),"[]"].join("")),r):(r.push([dr(e,t),"[]=",dr(n,t)].join("")),r);case"colon-list-separator":return e=>(r,n)=>n===void 0||t.skipNull&&n===null||t.skipEmptyString&&n===""?r:n===null?(r.push([dr(e,t),":list="].join("")),r):(r.push([dr(e,t),":list=",dr(n,t)].join("")),r);case"comma":case"separator":case"bracket-separator":{const e=t.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,i)=>i===void 0||t.skipNull&&i===null||t.skipEmptyString&&i===""?n:(i=i===null?"":i,n.length===0?(n.push([dr(r,t),e,dr(i,t)].join("")),n):(n.push(dr(i,t)),n))}default:return e=>(r,n)=>n===void 0||t.skipNull&&n===null||t.skipEmptyString&&n===""?r:n===null?(r.push(dr(e,t)),r):(r.push([dr(e,t),"=",dr(n,t)].join("")),r)}}function Qp(t){let e;switch(t.arrayFormat){case"index":return(r,n,i)=>{if(e=/\[(\d*)]$/.exec(r),r=r.replace(/\[\d*]$/,""),!e){i[r]=n;return}i[r]===void 0&&(i[r]={}),i[r][e[1]]=n};case"bracket":return(r,n,i)=>{if(e=/(\[])$/.exec(r),r=r.replace(/\[]$/,""),!e){i[r]=n;return}if(i[r]===void 0){i[r]=[n];return}if(!Array.isArray(i[r])){i[r]=[i[r],n];return}i[r].push(n)};case"colon-list-separator":return(r,n,i)=>{if(e=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!e){i[r]=n;return}if(i[r]===void 0){i[r]=[n];return}if(!Array.isArray(i[r])){i[r]=[i[r],n];return}i[r].push(n)};case"comma":case"separator":return(r,n,i)=>{const o=typeof n=="string"&&n.includes(t.arrayFormatSeparator)?n.split(t.arrayFormatSeparator).map(f=>tn(f,t)):n===null?n:tn(n,t);i[r]=o};case"bracket-separator":return(r,n,i)=>{const a=/(\[])$/.test(r);if(r=r.replace(/\[]$/,""),!a){i[r]=n&&tn(n,t);return}const o=n===null?[]:tn(n,t).split(t.arrayFormatSeparator);if(i[r]===void 0){i[r]=o;return}Array.isArray(i[r])||(i[r]=[i[r]]);for(const f of o)i[r].push(f)};default:return(r,n,i)=>{if(i[r]===void 0){i[r]=n;return}if(Array.isArray(i[r])){i[r].push(n);return}i[r]=[i[r],n]}}}function G0(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function dr(t,e){return e.encode?e.strict?Zp(t):encodeURIComponent(t):t}function tn(t,e){return e.decode?Yp(t):t}function $0(t){return Array.isArray(t)?t.sort():typeof t=="object"?$0(Object.keys(t)).sort((e,r)=>Number(e)-Number(r)).map(e=>t[e]):t}function W0(t){const e=t.indexOf("#");
36return e!==-1&&(t=t.slice(0,e)),t}function ef(t){let e="";const r=t.indexOf("#");return r!==-1&&(e=t.slice(r)),e}function q0(t){const e=t.indexOf("?");return e===-1?t:t.slice(0,e)}function A7(t,e,r){return r==="string"&&typeof t=="string"?t:typeof r=="function"&&typeof t=="string"?r(t):r==="boolean"&&t===null?!0:r==="boolean"&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")?t.toLowerCase()==="true":r==="boolean"&&t!==null&&(t.toLowerCase()==="1"||t.toLowerCase()==="0")?t.toLowerCase()==="1":r==="string[]"&&e.arrayFormat!=="none"&&typeof t=="string"?[t]:r==="number[]"&&e.arrayFormat!=="none"&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?[Number(t)]:r==="number"&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?Number(t):e.parseBooleans&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")?t.toLowerCase()==="true":e.parseNumbers&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?Number(t):t}function Jl(t){t=W0(t);const e=t.indexOf("?");return e===-1?"":t.slice(e+1)}function Ql(t,e){e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...e},G0(e.arrayFormatSeparator);const r=Qp(e),n=Object.create(null);if(typeof t!="string"||(t=t.trim().replace(/^[?#&]/,""),!t)||/^&+$/.test(t))return n;let i=0,a=t.indexOf("&");a===-1&&(a=t.length);for(let o=a;o<=t.length;o++){if(o<t.length&&t[o]!=="&")continue;if(o===i){i=o+1;continue}const f=t.slice(i,o),u=e.decode?f.replaceAll("+"," "):f;let[m,S]=U0(u,"=");m===void 0&&(m=u),S=S===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?S:tn(S,e),r(tn(m,e),S,n),i=o+1}for(const[o,f]of Object.entries(n))if(typeof f=="object"&&f!==null&&e.types[o]!=="string")for(const[u,m]of Object.entries(f)){const S=e.types[o],w=typeof S=="function"?S:S?S.replace("[]",""):void 0;f[u]=A7(m,e,w)}else typeof f=="object"&&f!==null&&e.types[o]==="string"?n[o]=Object.values(f).join(e.arrayFormatSeparator):n[o]=A7(f,e,e.types[o]);return e.sort===!1?n:(e.sort===!0?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce((o,f)=>{const u=n[f];return o[f]=u&&typeof u=="object"&&!Array.isArray(u)?$0(u):u,o},Object.create(null))}function V0(t,e){if(!t)return"";e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e},G0(e.arrayFormatSeparator);const r=o=>e.skipNull&&Kp(t[o])||e.skipEmptyString&&t[o]==="",n=Jp(e),i={};for(const[o,f]of Object.entries(t))r(o)||(i[o]=f);const a=Object.keys(i);return e.sort!==!1&&a.sort(e.sort),a.map(o=>{let f=t[o];if(e.replacer&&(f=e.replacer(o,f),f===void 0)||f===void 0)return"";if(f===null)return dr(o,e);if(Array.isArray(f)){if(f.length===0&&e.arrayFormat==="bracket-separator")return dr(o,e)+"[]";let u=f;e.replacer&&(u=f.map((w,x)=>e.replacer(`${o}[${x}]`,w)).filter(w=>w!==void 0));const m=u.reduce(n(o),[]),S=["comma","separator","bracket-separator"].includes(e.arrayFormat)?e.arrayFormatSeparator:"&";return m.join(S)}return dr(o,e)+"="+dr(f,e)}).filter(o=>o.length>0).join("&")}function Y0(t,e){e={decode:!0,...e};let[r,n]=U0(t,"#");return r===void 0&&(r=t),{url:q0(r??""),query:Ql(Jl(t),e),...e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:tn(n,e)}:{}}}function X0(t,e){e={encode:!0,strict:!0,[yl]:!0,...e};const r=q0(W0(t.url))||"",n=Jl(t.url),i={...Ql(n,{sort:!1,...e}),...t.query};let a=V0(i,e);a&&=`?${a}`;let o=ef(t.url);if(typeof t.fragmentIdentifier=="string"&&(o=`#${t.fragmentIdentifier}`,e[yl])){const f=new URL("https://query-string.invalid");f.hash=o,o=f.hash}return`${r}${a}${o}`}function xl(t,e,r){r={parseFragmentIdentifier:!0,[yl]:!1,...r};const{url:n,query:i,fragmentIdentifier:a}=Y0(t,r);return X0({url:n,query:Xp(i,e),fragmentIdentifier:a},r)}function tf(t,e,r){if(Array.isArray(e)){const n=new Set(e);return xl(t,i=>!n.has(i),r)}return xl(t,(n,i)=>!e(n,i),r)}const e8=Object.freeze(Object.defineProperty({__proto__:null,exclude:tf,extract:Jl,parse:Ql,parseUrl:Y0,pick:xl,stringify:V0,stringifyUrl:X0},Symbol.toStringTag,{value:"Module"})),ir=window.site_config||{},K0="score",As="mentions_count_desc",Z0="grid",J0="/explorer",Q0=`${J0}/json_data`,rf=["order","view","mention_source_order","per_page"],nf=vr(t=>ki(t,e=>!rf.includes(e)),t=>O4(t,e=>[e,`${e}[]`]))(ir.queryFilterParams);function sf(t=""){const e=e8.parse((t||"").replace(/^\?/,""));return{page:Number.parseInt(e.page,10)||1,perPage:Number.parseInt(e.per_page,10)||void 0,sortOrder:e.order||K0,mentionSourceOrder:e.mention_source_order||As,showDetail
36s:Number.parseInt(e.show_details,10)||void 0,view:e.view||Z0,filters:Hl(e,nf)}}function ec(t,e){return e.page!==1&&(t.page=e.page),e.sortOrder!==K0&&(t.order=e.sortOrder),e.mentionSourceOrder!==As&&(t.mention_source_order=e.mentionSourceOrder),e.view!==Z0&&(t.view=e.view),e.showDetails&&(t.show_details=e.showDetails),e.perPage&&(t.per_page=e.perPage),t}function t8(t){const e=No(t.filters||{});return ec(e,t)}function r8(t){return e8.stringify(t8(t))}function cn(t){const e=r8(t);return e?`?${e}`:""}function of(t){const e=vr(n=>J9(n,(i,a)=>a.endsWith("[]")&&!Fr(i)?[i]:i),n=>K4(n,(i,a)=>a.replace("[]","")))(t.filters||{}),r=ec(e,t);return delete r.page,delete r.show_details,r}function mr(t,e){const r=t8(t);delete r.page;const n=e8.stringify(r);return{search:n?`?${n}`:"",pathname:e}}function af(t,e){return{...t,page:e}}function lf(t,e){return{...t,perPage:e}}function nr(t,e){return{...t,filters:e,page:1}}function ps(t,e){return{...t,sortOrder:e,page:1}}function i8(t,e){const r={...t,mentionSourceOrder:e,page:1,filters:{...t.filters||{}}};return e==="followers_desc"&&(r.filters["mention_sources_types[]"]=["type:tw"]),r}function Un(t,e){return{...t,showDetails:e}}function cf(t,e){return{...t,view:e}}const df=({children:t})=>{const e=Br(),[r,n]=Q.useState([]);return Q.useEffect(()=>{const i=new AbortController;return(async()=>{try{const o=await g0(`${Q0}/features`,{signal:i.signal});if(!Array.isArray(o))throw new Error(`Bad response from Flipper: ${JSON.stringify(o)}`);n(o)}catch(o){if(o?.name==="AbortError")return;console.error("Failed to load feature flags",o)}})(),()=>i.abort()},[e]),s.jsx(z0.Provider,{value:r,children:t})},tc=Q.createContext({});class fr{static TYPES={authors:"authors",departments:"departments",journals:"journals",publishers:"publishers",doi_prefixes:"doi_prefixes",affiliations:"affiliations",fields_of_research:"fields_of_research",funders:"funders",grants:"grants",sustainable_development_goals:"sustainable_development_goals"};static empty(){return new fr(null,null)}constructor(e,r){this.type=e,this.term=r}termFor(e){if(this.type==e)return this.term}termForDoiPrefix(){return this.termFor(fr.TYPES.doi_prefixes)}termForJournal(){return this.termFor(fr.TYPES.journals)}termForAuthor(){return this.termFor(fr.TYPES.authors)}termForDepartment(){return this.termFor(fr.TYPES.departments)}termForPublisher(){return this.termFor(fr.TYPES.publishers)}termForAffiliation(){return this.termFor(fr.TYPES.affiliations)}termForFieldOfResearch(){return this.termFor(fr.TYPES.fields_of_research)}termForFunder(){return this.termFor(fr.TYPES.funders)}termForGrants(){return this.termFor(fr.TYPES.grants)}termForSustainableDevelopmentGoals(){return this.termFor(fr.TYPES.sustainable_development_goals)}}class Yr{constructor(e){Object.assign(this,e)}get meta(){const e={scope:"research_outputs.results.meta"};return this.journal&&this.publicationDate?I18n.htmlSafe("journal_and_date_html",{...e,type:this.type,journal:this.journal,date:this.publicationDate}):this.journal?I18n.htmlSafe("journal_only_html",{...e,type:this.type,journal:this.journal}):this.publicationDate?I18n.htmlSafe("date_only_html",{...e,type:this.type,date:this.publicationDate}):this.type}get publicationDate(){try{return this.pubdate?Mr(this.pubdate).utc().format("MMMM YYYY"):void 0}catch{return}}get type(){return I18n.t(`research_outputs.results.types.${this.outputType}`)}}const hf=["top","right","bottom","left"],Bi=Math.min,yi=Math.max,Io=Math.round,oo=Math.floor,xi=t=>({x:t,y:t}
36),uf={left:"right",right:"left",bottom:"top",top:"bottom"};function rc(t,e,r){return yi(t,Bi(e,r))}function Ei(t,e){return typeof t=="function"?t(e):t}function Hi(t){return t.split("-")[0]}function Gn(t){return t.split("-")[1]}function n8(t){return t==="x"?"y":"x"}function s8(t){return t==="y"?"height":"width"}function ai(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function o8(t){return n8(ai(t))}function pf(t,e,r){r===void 0&&(r=!1);const n=Gn(t),i=o8(t),a=s8(i);let o=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(o=Oo(o)),[o,Oo(o)]}function ff(t){const e=Oo(t);return[bl(t),e,bl(e)]}function bl(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const j7=["left","right"],T7=["right","left"],mf=["top","bottom"],gf=["bottom","top"];function yf(t,e,r){switch(t){case"top":case"bottom":return r?e?T7:j7:e?j7:T7;case"left":case"right":return e?mf:gf;default:return[]}}function xf(t,e,r,n){const i=Gn(t);let a=yf(Hi(t),r==="start",n);return i&&(a=a.map(o=>o+"-"+i),e&&(a=a.concat(a.map(bl)))),a}function Oo(t){const e=Hi(t);return uf[e]+t.slice(e.length)}function bf(t){var e,r,n,i;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function ic(t){return typeof t!="number"?bf(t):{top:t,right:t,bottom:t,left:t}}function Lo(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function M7(t,e,r){let{reference:n,floating:i}=t;const a=ai(e),o=o8(e),f=s8(o),u=Hi(e),m=a==="y",S=n.x+n.width/2-i.width/2,w=n.y+n.height/2-i.height/2,x=n[f]/2-i[f]/2;let T;switch(u){case"top":T={x:S,y:n.y-i.height};break;case"bottom":T={x:S,y:n.y+n.height};break;case"right":T={x:n.x+n.width,y:w};break;case"left":T={x:n.x-i.width,y:w};break;default:T={x:n.x,y:n.y}}const y=Gn(e);return y&&(T[o]+=x*(y==="end"?1:-1)*(r&&m?-1:1)),T}async function vf(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:a,rects:o,elements:f,strategy:u}=t,{boundary:m="clippingAncestors",rootBoundary:S="viewport",elementContext:w="floating",altBoundary:x=!1,padding:T=0}=Ei(e,t),y=ic(T),A=f[x?w==="floating"?"reference":"floating":w],j=Lo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(A)))==null||r?A:A.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(f.floating)),boundary:m,rootBoundary:S,strategy:u})),R=w==="floating"?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(f.floating)),B=await(a.isElement==null?void 0:a.isElement(k))&&await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1},L=Lo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:R,offsetParent:k,strategy:u}):R);return{top:(j.top-L.top+y.top)/B.y,bottom:(L.bottom-j.bottom+y.bottom)/B.y,left:(j.left-L.left+y.left)/B.x,right:(L.right-j.right+y.right)/B.x}}const Sf=50,wf=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:o}=r,f=o.detectOverflow?o:{...o,detectOverflow:vf},u=await(o.isRTL==null?void 0:o.isRTL(e));let m=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:S,y:w}=M7(m,n,u),x=n,T=0;const y={};for(let E=0;E<a.length;E++){const A=a[E];if(!A)continue;const{name:j,fn:R}=A,{x:k,y:B,data:L,reset:C}=await R({x:S,y:w,initialPlacement:n,placement:x,strategy:i,middlewareData:y,rects:m,platform:f,elements:{reference:t,floating:e}});S=k??S,w=B??w,y[j]={...y[j],...L},C&&T<Sf&&(T++,typeof C=="object"&&(C.placement&&(x=C.placement),C.rects&&(m=C.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):C.rects),{x:S,y:w}=M7(m,x,u)),E=-1)}return{x:S,y:w,placement:x,strategy:i,middlewareData:y}},Ef=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:i,rects:a,platform:o,elements:f,middlewareData:u}=e,{element:m,padding:S=0}=Ei(t,e)||{};if(m==null)return{};const w=ic(S),x={x:r,y:n},T=o8(i),y=s8(T),E=await o.getDimensions(m),A=T==="y",j=A?"top":"left",R=A?"bottom":"right",k=A?"clientHeight":"clientWidth",B=a.reference[y]+a.reference[T]-x[T]-a.floating[y],L=x[T]-a.reference[T],C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(m));let h=C?C[k]:0;
36(!h||!await(o.isElement==null?void 0:o.isElement(C)))&&(h=f.floating[k]||a.floating[y]);const H=B/2-L/2,P=h/2-E[y]/2-1,N=Bi(w[j],P),I=Bi(w[R],P),F=h-E[y]-I,l=h/2-E[y]/2+H,d=rc(N,l,F),p=!u.arrow&&Gn(i)!=null&&l!==d&&a.reference[y]/2-(l<N?N:I)-E[y]/2<0,v=p?l<N?l-N:l-F:0;return{[T]:x[T]+v,data:{[T]:d,centerOffset:l-d-v,...p&&{alignmentOffset:v}},reset:p}}}),Cf=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:a,rects:o,initialPlacement:f,platform:u,elements:m}=e,{mainAxis:S=!0,crossAxis:w=!0,fallbackPlacements:x,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:E=!0,...A}=Ei(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const j=Hi(i),R=ai(f),k=Hi(f)===f,B=await(u.isRTL==null?void 0:u.isRTL(m.floating)),L=x||(k||!E?[Oo(f)]:ff(f)),C=y!=="none";!x&&C&&L.push(...xf(f,E,y,B));const h=[f,...L],H=await u.detectOverflow(e,A),P=[];let N=((n=a.flip)==null?void 0:n.overflows)||[];if(S&&P.push(H[j]),w){const d=pf(i,o,B);P.push(H[d[0]],H[d[1]])}if(N=[...N,{placement:i,overflows:P}],!P.every(d=>d<=0)){var I,F;const d=(((I=a.flip)==null?void 0:I.index)||0)+1,p=h[d];if(p&&(!(w==="alignment"?R!==ai(p):!1)||N.every(M=>ai(M.placement)===R?M.overflows[0]>0:!0)))return{data:{index:d,overflows:N},reset:{placement:p}};let v=(F=N.filter(b=>b.overflows[0]<=0).sort((b,M)=>b.overflows[1]-M.overflows[1])[0])==null?void 0:F.placement;if(!v)switch(T){case"bestFit":{var l;const b=(l=N.filter(M=>{if(C){const O=ai(M.placement);return O===R||O==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(O=>O>0).reduce((O,_)=>O+_,0)]).sort((M,O)=>M[1]-O[1])[0])==null?void 0:l[0];b&&(v=b);break}case"initialPlacement":v=f;break}if(i!==v)return{reset:{placement:v}}}return{}}}};function R7(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function P7(t){return hf.some(e=>t[e]>=0)}const kf=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r,platform:n}=e,{strategy:i="referenceHidden",...a}=Ei(t,e);switch(i){case"referenceHidden":{const o=await n.detectOverflow(e,{...a,elementContext:"reference"}),f=R7(o,r.reference);return{data:{referenceHiddenOffsets:f,referenceHidden:P7(f)}}}case"escaped":{const o=await n.detectOverflow(e,{...a,altBoundary:!0}),f=R7(o,r.floating);return{data:{escapedOffsets:f,escaped:P7(f)}}}default:return{}}}}},nc=new Set(["left","top"]);async function Af(t,e){const{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),o=Hi(r),f=Gn(r),u=ai(r)==="y",m=nc.has(o)?-1:1,S=a&&u?-1:1,w=Ei(e,t);let{mainAxis:x,crossAxis:T,alignmentAxis:y}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:w.mainAxis||0,crossAxis:w.crossAxis||0,alignmentAxis:w.alignmentAxis};return f&&typeof y=="number"&&(T=f==="end"?y*-1:y),u?{x:T*S,y:x*m}:{x:x*m,y:T*S}}const jf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:i,y:a,placement:o,middlewareData:f}=e,u=await Af(e,t);return o===((r=f.offset)==null?void 0:r.placement)&&(n=f.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:o}}}}},Tf=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:i,platform:a}=e,{mainAxis:o=!0,crossAxis:f=!1,limiter:u={fn:R=>{let{x:k,y:B}=R;return{x:k,y:B}}},...m}=Ei(t,e),S={x:r,y:n},w=await a.detectOverflow(e,m),x=ai(i),T=n8(x);let y=S[T],E=S[x];const A=(R,k)=>rc(k+w[R==="y"?"top":"left"],k,k-w[R==="y"?"bottom":"right"]);o&&(y=A(T,y)),f&&(E=A(x,E));const j=u.fn({...e,[T]:y,[x]:E});return{...j,data:{x:j.x-r,y:j.y-n,enabled:{[T]:o,[x]:f}}}}}},Mf=function(t){return t===void 0&&(t={}),{options:t,fn(e){var r,n;const{x:i,y:a,placement:o,rects:f,middlewareData:u}=e,{offset:m=0,mainAxis:S=!0,crossAxis:w=!0}=Ei(t,e),x={x:i,y:a},T=ai(o),y=n8(T);let E=x[y],A=x[T];const j=Ei(m,e),R=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:(r=j.mainAxis)!=null?r:0,crossAxis:(n=j.crossAxis)!=null?n:0};if(S){const L=y==="y"?"height":"width",C=f.reference[y]-f.floating[L]+R.mainAxis,h=f.reference[y]+f.reference[L]-R.mainAxis;E<C?E=C:E>h&&(E=h)}if(w){var k,B;const L=y==="y"?"width":"height",C=nc.has(Hi(o)),h=f.reference[T]-f.floating[L]+(C&&((k=u.offset)==null?void 0:k[T])||0)+(C?0:R.crossAxis),H=f.reference[T]+f.reference[L]+(C?0:((B=u.offset)==null?void 0:B[T])||0)-(C?R.crossAxis:0);A<h?A=h:A>H&&(A=H)}return{[y]:E,[T]:A}}}},Rf=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:r,rects:n,platform:i,elements:a}=e,{apply:o=()=>{},...f}=Ei(t,e),u=await i.detectOverflow(e,f),m=Hi(r),S=Gn(r),w=ai(r)==="y",{width:x,height:T}=n.floating;let y,E;m==="top"||m==="bottom"?(y=m,E=S===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(E=m,y=S==="end"?"top":"bottom");const A=T-u.top-u.bottom,j=x-u.left-u.right,R=Bi(T-u[y],A),k=Bi(x-u[E],j),B=e.middlewareData.shift,L=!B;let C=R,h=k;B!=null&&B.enabled.x&&(h=j),B!=null&&B.enabled.y&&(C=A),L&&!S&&(w?h=x-2*yi(u.left,u.right):C=T-2*yi(u.top,u.bottom)),await o({...e,availableWidth:h,availableHeight:C});const H=await i.getDimensions(a.floating);return x!==H.width||T!==H.height?{reset:{rects:!0}}:{}}}};function ra(){return typeof window<"u"}function $n(t){return sc(t)?(t.nodeName||"").toLowerCase():"#document"}function Lr(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ji(t){var e;return(e=(sc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function sc(t){return ra()?t instanceof Node||t instanceof Lr(t).Node:!1}function li(t){return ra()?t instanceof Element||t instanceof Lr(t).Element:!1}function zi(t){return ra()?t instanceof HTMLElement||t instanceof Lr(t).HTMLElement:!1}function N7(t){return!ra()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Lr(t).ShadowRoot}function ia(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=ci(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function Pf(t){return/^(table|td|th)$/.test($n(t))}function na(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const Nf=/transform|translate|scale|rotate|perspective|filter/,_f=/paint|layout|strict|content/,Xi=t=>!!t&&t!=="none";let Ha;function a8(t){const e=li(t)?ci(t):t;return Xi(e.transform)||Xi(e.translate)||Xi(e.scale)||Xi(e.rotate)||Xi(e.perspective)||!l8()&&
36(Xi(e.backdropFilter)||Xi(e.filter))||Nf.test(e.willChange||"")||_f.test(e.contain||"")}function If(t){let e=sn(t);for(;zi(e)&&!js(e);){if(a8(e))return e;if(na(e))return null;e=sn(e)}return null}function l8(){return Ha==null&&(Ha=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ha}function js(t){return/^(html|body|#document)$/.test($n(t))}function ci(t){return Lr(t).getComputedStyle(t)}function sa(t){return li(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function sn(t){if($n(t)==="html")return t;const e=t.assignedSlot||t.parentNode||N7(t)&&t.host||ji(t);return N7(e)?e.host:e}function oc(t){const e=sn(t);return js(e)?(t.ownerDocument||t).body:zi(e)&&ia(e)?e:oc(e)}function Ts(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=oc(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),o=Lr(i);if(a){const f=vl(o);return e.concat(o,o.visualViewport||[],ia(i)?i:[],f&&r?Ts(f):[])}else return e.concat(i,Ts(i,[],r))}function vl(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ac(t){const e=ci(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=zi(t),a=i?t.offsetWidth:r,o=i?t.offsetHeight:n,f=Io(r)!==a||Io(n)!==o;return f&&(r=a,n=o),{width:r,height:n,$:f}}function c8(t){return li(t)?t:t.contextElement}function Nn(t){const e=c8(t);if(!zi(e))return xi(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:a}=ac(e);let o=(a?Io(r.width):r.width)/n,f=(a?Io(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!f||!Number.isFinite(f))&&(f=1),{x:o,y:f}}const Of=xi(0);function lc(t){const e=Lr(t);
36return!l8()||!e.visualViewport?Of:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Lf(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Lr(t)}function on(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),a=c8(t);let o=xi(1);e&&(n?li(n)&&(o=Nn(n)):o=Nn(t));const f=Lf(a,r,n)?lc(a):xi(0);let u=(i.left+f.x)/o.x,m=(i.top+f.y)/o.y,S=i.width/o.x,w=i.height/o.y;if(a&&n){const x=Lr(a),T=li(n)?Lr(n):n;let y=x,E=vl(y);for(;E&&T!==y;){const A=Nn(E),j=E.getBoundingClientRect(),R=ci(E),k=j.left+(E.clientLeft+parseFloat(R.paddingLeft))*A.x,B=j.top+(E.clientTop+parseFloat(R.paddingTop))*A.y;u*=A.x,m*=A.y,S*=A.x,w*=A.y,u+=k,m+=B,y=Lr(E),E=vl(y)}}return Lo({width:S,height:w,x:u,y:m})}function oa(t,e){const r=sa(t).scrollLeft;return e?e.left+r:on(ji(t)).left+r}function cc(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-oa(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function Ff(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const a=i==="fixed",o=ji(n),f=e?na(e.floating):!1;if(n===o||f&&a)return r;let u={scrollLeft:0,scrollTop:0},m=xi(1);const S=xi(0),w=zi(n);if((w||!a)&&(($n(n)!=="body"||ia(o))&&(u=sa(n)),w)){const T=on(n);m=Nn(n),S.x=T.x+n.clientLeft,S.y=T.y+n.clientTop}const x=o&&!w&&!a?cc(o,u):xi(0);return{width:r.width*m.x,height:r.height*m.y,x:r.x*m.x-u.scrollLeft*m.x+S.x+x.x,y:r.y*m.y-u.scrollTop*m.y+S.y+x.y}}function Df(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Bf(t){const e=sa(t),r=t.ownerDocument.body,n=yi(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=yi(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+oa(t);const o=-e.scrollTop;return ci(r).direction==="rtl"&&(a+=yi(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:o}}const Hf=25;function zf(t,e,r){r===void 0&&(r="viewport");const n=r==="layoutViewport",i=Lr(t),a=ji(t),o=i.visualViewport;let f=a.clientWidth,u=a.clientHeight,m=0,S=0;if(o){const x=!l8()||e==="fixed";n?x||(m=-o.offsetLeft,S=-o.offsetTop):(f=o.width,u=o.height,x&&(m=o.offsetLeft,S=o.offsetTop))}if(oa(a)<=0){const x=a.ownerDocument,T=x.body,y=getComputedStyle(T),E=x.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,A=Math.abs(a.clientWidth-T.clientWidth-E),j=getComputedStyle(a).scrollbarGutter==="stable both-edges"?A/2:A;j<=Hf&&(f-=j)}return{width:f,height:u,x:m,y:S}}function Uf(t,e){const r=on(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Nn(t),o=t.clientWidth*a.x,f=t.clientHeight*a.y,u=i*a.x,m=n*a.y;return{width:o,height:f,x:u,y:m}}function _7(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=zf(t,r,e);else if(e==="document")n=Bf(ji(t));else if(li(e))n=Uf(e,r);else{const i=lc(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Lo(n)}function Gf(t,e){const r=e.get(t);if(r)return r;let n=Ts(t,[],!1).filter(f=>li(f)&&$n(f)!=="body"),i=null;const a=ci(t).position==="fixed";let o=a?sn(t):t;for(;li(o)&&!js(o);){const f=ci(o),u=a8(o),m=i?i.position:a?"fixed":"";!u&&(m==="fixed"||m==="absolute"&&f.position==="static")?n=n.filter(w=>w!==o):i=f,o=sn(o)}return e.set(t,n),n}function $f(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const o=[...r==="clippingAncestors"?na(e)?[]:Gf(e,this._c):[].concat(r),n],f=_7(e,o[0],i);let u=f.top,m=f.right,S=f.bottom,w=f.left;for(let x=1;x<o.length;x++){const T=_7(e,o[x],i);u=yi(T.top,u),m=Bi(T.right,m),S=Bi(T.bottom,S),w=yi(T.left,w)}return{width:m-w,height:S-u,x:w,y:u}}function Wf(t){const{width:e,height:r}=ac(t);return{width:e,height:r}}function qf(t,e,r){const n=zi(e),i=ji(e),a=r==="fixed",o=on(t,!0,a,e);let f={scrollLeft:0,scrollTop:0};const u=xi(0);if((n||!a)&&(($n(e)!=="body"||ia(i))&&(f=sa(e)),n)){const x=on(e,!0,a,e);u.x=x.x+e.clientLeft,u.y=x.y+e.clientTop}!n&&i&&(u.x=oa(i));const m=i&&!n&&!a?cc(i,f):xi(0),S=o.left+f.scrollLeft-u.x-m.x,w=o.top+f.scrollTop-u.y-m.
36y;return{x:S,y:w,width:o.width,height:o.height}}function za(t){return ci(t).position==="static"}function I7(t,e){if(!zi(t)||ci(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return ji(t)===r&&(r=r.ownerDocument.body),r}function dc(t,e){const r=Lr(t);if(na(t))return r;if(!zi(t)){let i=sn(t);for(;i&&!js(i);){if(li(i)&&!za(i))return i;i=sn(i)}return r}let n=I7(t,e);for(;n&&Pf(n)&&za(n);)n=I7(n,e);return n&&js(n)&&za(n)&&!a8(n)?r:n||If(t)||r}const Vf=async function(t){const e=this.getOffsetParent||dc,r=this.getDimensions,n=await r(t.floating);return{reference:qf(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Yf(t){return ci(t).direction==="rtl"}const Xf={convertOffsetParentRelativeRectToViewportRelativeRect:Ff,getDocumentElement:ji,getClippingRect:$f,getOffsetParent:dc,getElementRects:Vf,getClientRects:Df,getDimensions:Wf,getScale:Nn,isElement:li,isRTL:Yf};function hc(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Kf(t,e,r){let n=null,i;const a=ji(t);function o(){var S;clearTimeout(i),(S=n)==null||S.disconnect(),n=null}function f(S,w){S===void 0&&(S=!1),w===void 0&&(w=1),o();const x=t.getBoundingClientRect(),{left:T,top:y,width:E,height:A}=x;if(S||e(),!E||!A)return;const j=oo(y),R=oo(a.clientWidth-(T+E)),k=oo(a.clientHeight-(y+A)),B=oo(T),C={rootMargin:-j+"px "+-R+"px "+-k+"px "+-B+"px",threshold:yi(0,Bi(1,w))||1};let h=!0;function H(P){const N=P[0].intersectionRatio;if(!hc(x,t.getBoundingClientRect()))return f();if(N!==w){if(!h)return f();N?f(!1,N):i=setTimeout(()=>{f(!1,1e-7)},1e3)}h=!1}try{n=new IntersectionObserver(H,{...C,root:a.ownerDocument})}catch{n=new IntersectionObserver(H,C)}n.observe(t)}const u=Lr(t),m=()=>f(r);return u.addEventListener("resize",m),f(!0),()=>{u.removeEventListener("resize",m),o()}}function Zf(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,m=c8(t),S=i||a?[...m?Ts(m):[],...e?Ts(e):[]]:[];S.forEach(j=>{i&&j.addEventListener("scroll",r),a&&j.addEventListener("resize",r)});const w=m&&f?Kf(m,r,a):null;let x=-1,T=null;o&&(T=new ResizeObserver(j=>{let[R]=j;R&&R.target===m&&T&&e&&(T.unobserve(e),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var k;(k=T)==null||k.observe(e)})),r()}),m&&!u&&T.observe(m),e&&T.observe(e));let y,E=u?on(t):null;u&&A();function A(){const j=on(t);E&&!hc(E,j)&&r(),E=j,y=requestAnimationFrame(A)}return r(),()=>{var j;S.forEach(R=>{i&&R.removeEventListener("scroll",r),a&&R.removeEventListener("resize",r)}),w?.(),(j=T)==null||j.disconnect(),T=null,u&&cancelAnimationFrame(y)}}const Jf=jf,Qf=Tf,em=Cf,Cv=Rf,kv=kf,tm=Ef,Av=Mf,O7=(t,e,r)=>{const n=new Map,i=r??{},a={...Xf,...i.platform,_c:n};return wf(t,e,{...i,platform:a})};var Ua={exports:{}};var L7;function rm(){return L7||(L7=1,(function(t){(function(){var e={}.hasOwnProperty;function r(){for(var a="",o=0;o<arguments.length;o++){var f=arguments[o];f&&(a=i(a,n(f)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;
36if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var f in a)e.call(a,f)&&a[f]&&(o=i(o,f));return o}function i(a,o){return o?a?a+" "+o:a+o:a}t.exports?(r.default=r,t.exports=r):window.classNames=r})()})(Ua)),Ua.exports}var im=rm();const Fi=Ur(im);var F7={};const nm="react-tooltip-core-styles",sm="react-tooltip-base-styles",D7={core:!1,base:!1};function B7({css:t,id:e=sm,type:r="base",ref:n}){var i,a;if(!t||typeof document>"u"||D7[r]||r==="core"&&typeof process<"u"&&(!((i=process==null?void 0:F7)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((a=process==null?void 0:F7)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(e=nm),n||(n={});const{insertAt:o}=n;if(document.getElementById(e))return;const f=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=e,u.type="text/css",o==="top"&&f.firstChild?f.insertBefore(u,f.firstChild):f.appendChild(u),u.styleSheet?u.styleSheet.cssText=t:u.appendChild(document.createTextNode(t)),D7[r]=!0}const H7=async({elementReference:t=null,tooltipReference:e=null,tooltipArrowReference:r=null,place:n="top",offset:i=10,strategy:a="absolute",middlewares:o=[Jf(Number(i)),em({fallbackAxisSideDirection:"start"}),Qf({padding:5})],border:f,arrowSize:u=8})=>{if(!t)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(e===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const m=o;return r?(m.push(tm({element:r,padding:5})),O7(t,e,{placement:n,strategy:a,middleware:m}).then((({x:S,y:w,placement:x,middlewareData:T})=>{var y,E;const A={left:`${S}px`,top:`${w}px`,border:f},{x:j,y:R}=(y=T.arrow)!==null&&y!==void 0?y:{x:0,y:0},k=(E={top:"bottom",right:"left",bottom:"top",left:"right"}[x.split("-")[0]])!==null&&E!==void 0?E:"bottom",B=f&&{borderBottom:f,borderRight:f};let L=0;if(f){const C=`${f}`.match(/(\d+)px/);L=C?.[1]?Number(C[1]):1}return{tooltipStyles:A,tooltipArrowStyles:{left:j!=null?`${j}px`:"",top:R!=null?`${R}px`:"",right:"",bottom:"",...B,[k]:`-${u/2+L-1}px`},place:x}}))):O7(t,e,{placement:"bottom",strategy:a,middleware:m}).then((({x:S,y:w,placement:x})=>({tooltipStyles:{left:`${S}px`,top:`${w}px`},tooltipArrowStyles:{},place:x})))},z7=(t,e)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(t,e),U7=(t,e,r)=>{let n=null;const i=function(...a){const o=()=>{n=null};!n&&(t.apply(this,a),n=setTimeout(o,e))};return i.cancel=()=>{n&&(clearTimeout(n),n=null)},i},G7=t=>t!==null&&!Array.isArray(t)&&typeof t=="object",Sl=(t,e)=>{if(t===e)return!0;if(Array.isArray(t)&&Array.isArray(e))return t.length===e.length&&t.every(((i,a)=>Sl(i,e[a])));if(Array.isArray(t)!==Array.isArray(e))return!1;if(!G7(t)||!G7(e))return t===e;const r=Object.keys(t),n=Object.keys(e);return r.length===n.length&&r.every((i=>Sl(t[i],e[i])))},om=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some((r=>{const n=e.getPropertyValue(r);return n==="auto"||n==="scroll"}))},$7=t=>{if(!t)return null;let e=t.parentElement;for(;e;){if(om(e))return e;e=e.parentElement}return document.scrollingElement||document.documentElement},am=typeof window<"u"?Q.useLayoutEffect:Q.useEffect,Wr=t=>{t.current&&(clearTimeout(t.current),t.current=null)},lm="DEFAULT_TOOLTIP_ID",cm={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},dm=Q.createContext({getTooltipData:()=>cm});function uc(t=lm){return Q.useContext(dm).getTooltipData(t)}var Ki={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",content:"core-styles-module_content__BRKdB",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},ao={tooltip:"styles-module_tooltip__mnnfp",content:"styles-module_content__ydYdI",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const hm=({forwardRef:t,id:e,className:r,classNameArrow:n,variant:i="dark",anchorId:a,anchorSelect:o,place:f="top",offset:u=10,events:m=["hover"],openOnClick:S=!1,positionStrategy:w="absolute",middlewares:x,wrapper:T,delayShow:y=0,delayHide:E=0,float:A=!1,hidden:j=!1,noArrow:R=!1,clickable:k=!1,closeOnEsc:B=!1,closeOnScroll:L=!1,closeOnResize:C=!1,openEvents:h,closeEvents:H,globalCloseEvents:P,imperativeModeOnly:N,style:I,position:F,afterShow:l,afterHide:d,disableTooltip:p,content:v,contentWrapperRef:b,
36isOpen:M,defaultIsOpen:O=!1,setIsOpen:_,previousActiveAnchor:U,activeAnchor:q,setActiveAnchor:z,border:J,opacity:te,arrowColor:ce,arrowSize:xe=8,role:V="tooltip"})=>{var Y;const X=Q.useRef(null),ae=Q.useRef(null),$=Q.useRef(null),K=Q.useRef(null),Z=Q.useRef(null),[se,ie]=Q.useState({tooltipStyles:{},tooltipArrowStyles:{},place:f}),[ne,oe]=Q.useState(!1),[ue,ye]=Q.useState(!1),[be,Te]=Q.useState(null),fe=Q.useRef(!1),de=Q.useRef(null),{anchorRefs:he,setActiveAnchor:me}=uc(e),ke=Q.useRef(!1),[Ce,Me]=Q.useState([]),Pe=Q.useRef(!1),Oe=S||m.includes("click"),Be=Oe||h?.click||h?.dblclick||h?.mousedown,Ue=h?{...h}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!h&&Oe&&Object.assign(Ue,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const ze=H?{...H}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!H&&Oe&&Object.assign(ze,{mouseleave:!1,blur:!1,mouseout:!1});const $e=P?{...P}:{escape:B||!1,scroll:L||!1,resize:C||!1,clickOutsideAnchor:Be||!1};N&&(Object.assign(Ue,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}
36),Object.assign(ze,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign($e,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),am((()=>(Pe.current=!0,()=>{Pe.current=!1})),[]);const Ze=et=>{Pe.current&&(et&&ye(!0),setTimeout((()=>{Pe.current&&(_?.(et),M===void 0&&oe(et))}),10))};Q.useEffect((()=>{if(e){if(ne){mt(U);const ct=et(q),Ft=[...new Set([...ct,e])].filter(Boolean).join(" ");q?.setAttribute("aria-describedby",Ft)}else mt(q);return()=>{mt(q),mt(U)}}function et(ct){var Ft;return((Ft=ct?.getAttribute("aria-describedby"))===null||Ft===void 0?void 0:Ft.split(" "))||[]}function mt(ct){const Ft=et(ct).filter((Qt=>Qt!==e));Ft.length?ct?.setAttribute("aria-describedby",Ft.join(" ")):ct?.removeAttribute("aria-describedby")}}),[q,ne,e,U]),Q.useEffect((()=>{if(M===void 0)return()=>null;M&&ye(!0);const et=setTimeout((()=>{oe(M)}),10);return()=>{clearTimeout(et)}}),[M]),Q.useEffect((()=>{if(ne!==fe.current)if(Wr(Z),fe.current=ne,ne)l?.();else{const et=(mt=>{const ct=mt.match(/^([\d.]+)(ms|s)$/);if(!ct)return 0;const[,Ft,Qt]=ct;return Number(Ft)*(Qt==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Z.current=setTimeout((()=>{ye(!1),Te(null),d?.()}),et+25)}}),[ne]);const Xe=et=>{ie((mt=>Sl(mt,et)?mt:et))},Ve=(et=y)=>{Wr($),ue?Ze(!0):$.current=setTimeout((()=>{Ze(!0)}),et)},ut=(et=E)=>{Wr(K),K.current=setTimeout((()=>{ke.current||Ze(!1)}),et)},Et=et=>{var mt;if(!et)return;const ct=(mt=et.currentTarget)!==null&&mt!==void 0?mt:et.target;if(!ct?.isConnected)return z(null),void me({current:null});y?Ve():Ze(!0),z(ct),me({current:ct}),Wr(K)},Mt=()=>{k?ut(E||100):E?ut():Ze(!1),Wr($)},Pt=({x:et,y:mt})=>{var ct;const Ft={getBoundingClientRect:()=>({x:et,y:mt,width:0,height:0,top:mt,left:et,right:et,bottom:mt})};H7({place:(ct=be?.place)!==null&&ct!==void 0?ct:f,offset:u,elementReference:Ft,tooltipReference:X.current,tooltipArrowReference:ae.current,strategy:w,middlewares:x,border:J,arrowSize:xe}).then((Qt=>{Xe(Qt)}))},qt=et=>{if(!et)return;const mt=et,ct={x:mt.clientX,y:mt.clientY};Pt(ct),de.current=ct},Wt=et=>{var mt;if(!ne)return;const ct=et.target;ct.isConnected&&(!((mt=X.current)===null||mt===void 0)&&mt.contains(ct)||[document.querySelector(`[id='${a}']`),...Ce].some((Ft=>Ft?.contains(ct)))||(Ze(!1),Wr($)))},At=U7(Et,50),kt=U7(Mt,50),Gt=et=>{kt.cancel(),At(et)},ft=()=>{At.cancel(),kt()},yt=Q.useCallback((()=>{var et,mt;const ct=(et=be?.position)!==null&&et!==void 0?et:F;ct?Pt(ct):A?de.current&&Pt(de.current):q?.isConnected&&H7({place:(mt=be?.place)!==null&&mt!==void 0?mt:f,offset:u,elementReference:q,tooltipReference:X.current,tooltipArrowReference:ae.current,strategy:w,middlewares:x,border:J,arrowSize:xe}).then((Ft=>{Pe.current&&Xe(Ft)}))}),[ne,q,v,I,f,be?.place,u,w,F,be?.position,A,xe]);Q.useEffect((()=>{var et,mt;const ct=new Set(he);Ce.forEach((_t=>{p?.(_t)||ct.add({current:_t})}));const Ft=document.querySelector(`[id='${a}']`);Ft&&!p?.(Ft)&&ct.add({current:Ft});const Qt=()=>{Ze(!1)},xr=$7(q),ur=$7(X.current);$e.scroll&&(window.addEventListener("scroll",Qt),xr?.addEventListener("scroll",Qt),ur?.addEventListener("scroll",Qt));let sr=null;$e.resize?window.addEventListener("resize",Qt):q&&X.current&&(sr=Zf(q,X.current,yt,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const cr=_t=>{_t.key==="Escape"&&Ze(!1)};$e.escape&&window.addEventListener("keydown",cr),$e.clickOutsideAnchor&&window.addEventListener("click",Wt);const Ht=[],Rr=_t=>!!(_t?.target&&q?.contains(_t.target)),Sr=_t=>{ne&&Rr(_t)||Et(_t)},Hr=_t=>{ne&&Rr(_t)&&Mt()},Ar=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Pr=["click","dblclick","mousedown","mouseup"];Object.entries(Ue).forEach((([_t,Nr])=>{Nr&&(Ar.includes(_t)?Ht.push({event:_t,listener:Gt}):Pr.includes(_t)&&Ht.push({event:_t,listener:Sr}))})),Object.entries(ze).forEach((([_t,Nr])=>{Nr&&(Ar.includes(_t)?Ht.push({event:_t,listener:ft}):Pr.includes(_t)&&Ht.push({event:_t,listener:Hr}))})),A&&Ht.push({event:"pointermove",listener:qt});const di=()=>{ke.current=!0},Pi=()=>{ke.current=!1,Mt()},un=k&&(ze.mouseout||ze.mouseleave);return un&&((et=X.current)===null||et===void 0||et.addEventListener("mouseover",di),(mt=X.current)===null||mt===void 0||mt.addEventListener("mouseout",Pi)),Ht.forEach((({event:_t,listener:Nr})=>{ct.forEach((hi=>{var Zr;(Zr=hi.current)===null||Zr===void 0||Zr.addEventListener(_t,Nr)}))})),()=>{var _t,Nr;$e.scroll&&(window.removeEventListener("scroll",Qt),xr?.removeEventListener("scroll",Qt),ur?.removeEventListener("scroll",Qt)),$e.resize?window.removeEventListener("resize",Qt):sr?.(),$e.clickOutsideAnchor&&window.removeEventListener("click",Wt),$e.escape&&window.removeEventListener("keydown",cr),un&&((_t=X.current)===null||_t===void 0||_t.removeEventListener("mouseover",di),(Nr=X.current)===null||Nr===void 0||Nr.removeEventListener("mouseout",Pi)),Ht.forEach((({event:hi,listener:Zr})=>{ct.forEach((pn=>{var Wi;(Wi=pn.current)===null||Wi===void 0||Wi.removeEventListener(hi,Zr)}))}
36))}}),[q,yt,ue,he,Ce,h,H,P,Oe,y,E]),Q.useEffect((()=>{var et,mt;let ct=(mt=(et=be?.anchorSelect)!==null&&et!==void 0?et:o)!==null&&mt!==void 0?mt:"";!ct&&e&&(ct=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`);const Ft=new MutationObserver((Qt=>{const xr=[],ur=[];Qt.forEach((sr=>{if(sr.type==="attributes"&&sr.attributeName==="data-tooltip-id"&&(sr.target.getAttribute("data-tooltip-id")===e?xr.push(sr.target):sr.oldValue===e&&ur.push(sr.target)),sr.type==="childList"){if(q){const cr=[...sr.removedNodes].filter((Ht=>Ht.nodeType===1));if(ct)try{ur.push(...cr.filter((Ht=>Ht.matches(ct)))),ur.push(...cr.flatMap((Ht=>[...Ht.querySelectorAll(ct)])))}catch{}cr.some((Ht=>{var Rr;return!!(!((Rr=Ht?.contains)===null||Rr===void 0)&&Rr.call(Ht,q))&&(ye(!1),Ze(!1),z(null),Wr($),Wr(K),!0)}))}if(ct)try{const cr=[...sr.addedNodes].filter((Ht=>Ht.nodeType===1));xr.push(...cr.filter((Ht=>Ht.matches(ct)))),xr.push(...cr.flatMap((Ht=>[...Ht.querySelectorAll(ct)])))}catch{}}})),(xr.length||ur.length)&&Me((sr=>[...sr.filter((cr=>!ur.includes(cr))),...xr]))}));return Ft.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ft.disconnect()}}),[e,o,be?.anchorSelect,q]),Q.useEffect((()=>{yt()}),[yt]),Q.useEffect((()=>{if(!b?.current)return()=>null;const et=new ResizeObserver((()=>{setTimeout((()=>yt()))}));return et.observe(b.current),()=>{et.disconnect()}}),[v,b?.current]),Q.useEffect((()=>{var et;const mt=document.querySelector(`[id='${a}']`),ct=[...Ce,mt];q&&ct.includes(q)||z((et=Ce[0])!==null&&et!==void 0?et:mt)}),[a,Ce,q]),Q.useEffect((()=>(O&&Ze(!0),()=>{Wr($),Wr(K)})),[]),Q.useEffect((()=>{var et;let mt=(et=be?.anchorSelect)!==null&&et!==void 0?et:o;if(!mt&&e&&(mt=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),mt)try{const ct=Array.from(document.querySelectorAll(mt));Me(ct)}catch{Me([])}}),[e,o,be?.anchorSelect]),Q.useEffect((()=>{$.current&&(Wr($),Ve(y))}),[y]);const $t=(Y=be?.content)!==null&&Y!==void 0?Y:v,Xt=ne&&Object.keys(se.tooltipStyles).length>0;return Q.useImperativeHandle(t,(()=>({open:et=>{if(et?.anchorSelect)try{document.querySelector(et.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${et.anchorSelect}" is not a valid CSS selector`)}Te(et??null),et?.delay?Ve(et.delay):Ze(!0)},close:et=>{et?.delay?ut(et.delay):Ze(!1)},activeAnchor:q,place:se.place,isOpen:!!(ue&&!j&&$t&&Xt)}))),ue&&!j&&$t?it.createElement(T,{id:e,role:V,className:Fi("react-tooltip",Ki.tooltip,ao.tooltip,ao[i],r,`react-tooltip__place-${se.place}`,Ki[Xt?"show":"closing"],Xt?"react-tooltip__show":"react-tooltip__closing",w==="fixed"&&Ki.fixed,k&&Ki.clickable),onTransitionEnd:et=>{Wr(Z),ne||et.propertyName!=="opacity"||(ye(!1),Te(null),d?.())},style:{...I,...se.tooltipStyles,opacity:te!==void 0&&Xt?te:void 0},ref:X},it.createElement(T,{className:Fi("react-tooltip-content-wrapper",Ki.content,ao.content)},$t),it.createElement(T,{className:Fi("react-tooltip-arrow",Ki.arrow,ao.arrow,n,R&&Ki.noArrow),style:{...se.tooltipArrowStyles,background:ce?`linear-gradient(to right bottom, transparent 50%, ${ce} 50%)`:void 0,"--rt-arrow-size":`${xe}px`},ref:ae})):null},um=({content:t})=>it.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),Wn=it.forwardRef((({id:t,anchorId:e,anchorSelect:r,content:n,html:i,render:a,className:o,classNameArrow:f,variant:u="dark",place:m="top",offset:S=10,wrapper:w="div",children:x=null,events:T=["hover"],openOnClick:y=!1,positionStrategy:E="absolute",middlewares:A,delayShow:j=0,delayHide:R=0,float:k=!1,hidden:B=!1,noArrow:L=!1,clickable:C=!1,closeOnEsc:h=!1,closeOnScroll:H=!1,closeOnResize:P=!1,openEvents:N,closeEvents:I,globalCloseEvents:F,imperativeModeOnly:l=!1,style:d,position:p,isOpen:v,defaultIsOpen:b=!1,disableStyleInjection:M=!1,border:O,opacity:_,arrowColor:U,arrowSize:q,setIsOpen:z,afterShow:J,afterHide:te,disableTooltip:ce,role:xe="tooltip"},V)=>{const[Y,X]=Q.useState(n),[ae,$]=Q.useState(i),[K,Z]=Q.useState(m),[se,ie]=Q.useState(u),[ne,oe]=Q.useState(S),[ue,ye]=Q.useState(j),[be,Te]=Q.useState(R),[fe,de]=Q.useState(k),[he,me]=Q.useState(B),[ke,Ce]=Q.useState(w),[Me,Pe]=Q.useState(T),[Oe,Be]=Q.useState(E),[Ue,ze]=Q.useState(null),[$e,Ze]=Q.useState(null),Xe=Q.useRef(null),Ve=Q.useRef(M),{anchorRefs:ut,activeAnchor:Et}=uc(t),Mt=kt=>kt?.getAttributeNames().reduce(((Gt,ft)=>{var yt;return ft.startsWith("data-tooltip-")&&(Gt[ft.replace(/^data-tooltip-/,"")]=(yt=kt?.getAttribute(ft))!==null&&yt!==void 0?yt:null),Gt}),{}),Pt=kt=>{const Gt={place:ft=>{var yt;Z((yt=ft)!==null&&yt!==void 0?yt:m)},content:ft=>{X(ft??n)},html:ft=>{$(ft??i)},variant:ft=>{var yt;ie((yt=ft)!==null&&yt!==void 0?yt:u)},offset:ft=>{oe(ft===null?S:Number(ft))},wrapper:ft=>{var yt;Ce((yt=ft)!==null&&yt!==void 0?yt:w)},events:ft=>{const yt=ft?.split(" ");Pe(yt??T)},"position-strategy":ft=>{var yt;Be((yt=ft)!==null&&yt!==void 0?yt:E)},"delay-show":ft=>{ye(ft===null?j:Number(ft))},"delay-hide":ft=>{Te(ft===null?R:Number(ft))},float:ft=>{de(ft===null?k:ft==="true")},hidden:ft=>{me(ft===null?B:ft==="true")},"class-name":ft=>{ze(ft)}};Object.values(Gt).forEach((ft=>ft(null))),Object.entries(kt).forEach((([ft,yt])=>{var $t;($t=Gt[ft])===null||$t===void 0||$t.call(Gt,yt)}))};Q.useEffect((()=>{X(n)}),[n]),Q.useEffect((()=>{$(i)}),[i]),Q.useEffect((()=>{Z(m)}),[m]),Q.useEffect((()=>{ie(u)}
36),[u]),Q.useEffect((()=>{oe(S)}),[S]),Q.useEffect((()=>{ye(j)}),[j]),Q.useEffect((()=>{Te(R)}),[R]),Q.useEffect((()=>{de(k)}),[k]),Q.useEffect((()=>{me(B)}),[B]),Q.useEffect((()=>{Be(E)}),[E]),Q.useEffect((()=>{Ve.current!==M&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[M]),Q.useEffect((()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:M==="core",disableBase:M}}))}),[]),Q.useEffect((()=>{var kt;const Gt=new Set(ut);let ft=r;if(!ft&&t&&(ft=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),ft)try{document.querySelectorAll(ft).forEach((mt=>{Gt.add({current:mt})}))}catch{console.warn(`[react-tooltip] "${ft}" is not a valid CSS selector`)}const yt=document.querySelector(`[id='${e}']`);if(yt&&Gt.add({current:yt}),!Gt.size)return()=>null;const $t=(kt=$e??yt)!==null&&kt!==void 0?kt:Et.current,Xt=new MutationObserver((mt=>{mt.forEach((ct=>{var Ft;if(!$t||ct.type!=="attributes"||!(!((Ft=ct.attributeName)===null||Ft===void 0)&&Ft.startsWith("data-tooltip-")))return;const Qt=Mt($t);Pt(Qt)}))})),et={attributes:!0,childList:!1,subtree:!1};if($t){const mt=Mt($t);Pt(mt),Xt.observe($t,et)}return()=>{Xt.disconnect()}}),[ut,Et,$e,e,r]),Q.useEffect((()=>{d?.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),O&&!z7("border",`${O}`)&&console.warn(`[react-tooltip] "${O}" is not a valid \`border\`.`),d?.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),_&&!z7("opacity",`${_}`)&&console.warn(`[react-tooltip] "${_}" is not a valid \`opacity\`.`)}),[]);let qt=x;const Wt=Q.useRef(null);if(a){const kt=a({content:$e?.getAttribute("data-tooltip-content")||Y||null,activeAnchor:$e});qt=kt?it.createElement("div",{ref:Wt,className:"react-tooltip-content-wrapper"},kt):null}else Y&&(qt=Y);ae&&(qt=it.createElement(um,{content:ae}));const At={forwardRef:V,id:t,anchorId:e,anchorSelect:r,className:Fi(o,Ue),classNameArrow:f,content:qt,contentWrapperRef:Wt,place:K,variant:se,offset:ne,wrapper:ke,events:Me,openOnClick:y,positionStrategy:Oe,middlewares:A,delayShow:ue,delayHide:be,float:fe,hidden:he,noArrow:L,clickable:C,closeOnEsc:h,closeOnScroll:H,closeOnResize:P,openEvents:N,closeEvents:I,globalCloseEvents:F,imperativeModeOnly:l,style:d,position:p,isOpen:v,defaultIsOpen:b,border:O,opacity:_,arrowColor:U,arrowSize:q,setIsOpen:z,afterShow:J,afterHide:te,disableTooltip:ce,activeAnchor:$e,previousActiveAnchor:Xe.current,setActiveAnchor:kt=>{Ze((Gt=>(kt?.isSameNode(Gt)||(Xe.current=Gt),kt)))},role:xe};return it.createElement(hm,{...At})}));typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",(t=>{t.detail.disableCore||B7({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.core-styles-module_content__BRKdB{position:relative;z-index:1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),t.detail.disableBase||B7({css:` 37.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;width:max-content}.styles-module_content__ydYdI{background:inherit;border-radius:inherit;padding:8px 16px}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}
37[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})}));class d8{constructor(e,r){this.controller=new AbortController;const n=typeof __JEST__>"u";this.request=fetch(e,{...r,...n?{signal:this.controller.signal}:{}})}abort(){this.controller.abort()}async then(e){try{const r=await this.request;if(r.status===401)return window.location.reload(),new Promise(()=>{});const n=r.ok?null:new Error(`Error: ${r.status} error`),i=await r.text(),a=i.length?JSON.parse(i):void 0;return e(n,{body:a,status:r.status})}catch(r){return e(r,null)}}}function Ui(t,e){const r=`${Q0}/${t}${cn(e)}`;return new d8(r,{headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/json",Accept:"application/json"}})}function pm(t,e="outputs"){const r=`${J0}/saved_searches`,n={...of(t),action_path:e};return Ms(r,{method:"POST",body:JSON.stringify(n)})}const Ke={NOT_STARTED:"not-started",IN_PROGRESS:"in-progress",ERROR:"error",EMPTY_RESPONSE:"empty-response",SUCCESS:"success"},Jt=(t,e,{reloadOn:r=[],enabled:n=!0}={})=>{const[i,a]=Q.useState(null),[o,f]=Q.useState(Ke.NOT_STARTED),[u,m]=Q.useState(null),S=Q.useRef(e);S.current=e;const w=Q.useRef(0),x=r.join("|"),T=Q.useMemo(()=>JSON.stringify(Hl(e,r)),[e,x]);return Q.useEffect(()=>{if(!n){a(null),f(Ke.NOT_STARTED),m(null);return}const y=++w.current;f(Ke.IN_PROGRESS);const E=Ui(t,S.current);return E.then((A,j)=>{if(y===w.current&&A?.name!=="AbortError"){if(m(j?.status??null),A||typeof j?.body>"u"){a(null),f(Ke.ERROR);return}if(Array.isArray(j.body)&&j.body.length===0){a(j.body),f(Ke.EMPTY_RESPONSE);return}a(j.body),f(Ke.SUCCESS)}}),()=>E.abort()},[t,T,n]),{data:i,loading:o,status:u}},St=()=>{const[t]=Op();return Q.useMemo(()=>sf(t.toString()),[t])},Gr=()=>{const t=Qo();return Q.useCallback((e,{pathname:r,replace:n=!1}={})=>{const i=r?mr(e,r):{search:cn(e)};t(i,{replace:n})},[t])},fm=/\b10\.\d{3,}\/\S+\b/,mm=/^\s*\d+\s*$/,gm=/^\s*NCT\d+\s*$/i,ym=/(\d{4}-\d{4}-\d{4}-\d{3}[\dx])/i,xm=class{constructor(t){this.id="keyword",this.text=I18n.htmlSafe("awesome_bar.types.keyword.result",{text:t}),this.meta="",this.filters={q:t}}},bm=class{constructor(t){this.id="title",this.text=I18n.htmlSafe("awesome_bar.types.title.result",{text:t}),this.meta="",this.filters={title:t}}},ko=class{static fromString(t){const e=t.match(fm);if(e&&e[0])return new ko({type:"dois",text:e[0]});const r=t.match(mm);if(r&&r[0])return new ko({type:"pmids",text:r[0]});const n=t.match(gm);if(n&&n[0])return new ko({type:"nct_ids",text:n[0]})}constructor(t){this.id="identifier",this.text=I18n.htmlSafe("awesome_bar.types.identifier.result",{type:this.translatedType(t.type),text:t.text}),this.meta="",this.filters={identifier:Ad(t.text)}}translatedType(t){return I18n.t(t,{scope:"awesome_bar.types.identifier.types"})}},vm=class{constructor(e){this.id=e.id,this.text=I18n.htmlSafe("awesome_bar.types.authors.result",{text:this.formatName(e)}),this.meta=this.formatDepartments(e.departments),this.filters={"author_id[]":e.id}}formatDepartments(e){const r=e.length,n=O6(e,0,2),i=n.join(", ");return n.length<r-1?I18n.t("awesome_bar.author_departments_more",{departments:i,more:r-n.length}):e.join(", ")}formatName(e){return Li([e.first_name,e.last_name]).join(" ")}},Sm=class{constructor(t){this.id=t.id,this.text=I18n.htmlSafe("awesome_bar.types.departments.result",{text:t.name}),this.meta="",this.filters={"department_id[]":t.id}}},wm=class{constructor(t){this.id=t.id,this.text=I18n.htmlSafe("awesome_bar.types.publishers.result",{text:t.name}
37),this.meta="",this.filters={"publisher_id[]":t.id}}},Em=class{constructor(e){this.id=e.id,this.text=I18n.htmlSafe("awesome_bar.types.journals.result",{text:e.title}),this.meta=this.formatISSNs(e.issns),this.filters={"journal_id[]":e.id}}formatISSNs(e){return e.length?I18n.htmlSafe("awesome_bar.types.journals.meta",{issns:e.join(", ")}):""}},Cm=class{constructor(e){this.id=e.id,this.text=I18n.htmlSafe("awesome_bar.types.doi_prefixes.result",{prefix:e.id}),this.meta="",this.filters={"doi_prefix[]":e.id}}},km=class{constructor(t){const e=I18n.t(t,{scope:"awesome_bar.types.output_type.type"});this.id=t,this.text=I18n.htmlSafe("awesome_bar.types.output_type.result",{text:e}),this.meta="",this.filters={"type[]":t}}},Am=class{constructor(t,e){this.id=`${t}_more`,this.isLinkToMore=t,this.text=I18n.htmlSafe(t,{scope:"awesome_bar.more_results",additional:e}),this.meta="",this.filters={}}},pc=class{static fromString(t){const e=t.match(ym);if(e&&e[0])return new pc(e[0])}constructor(t){this.id=t,this.text=I18n.htmlSafe("awesome_bar.types.orcid.result",{id:this.id}),this.meta="",this.filters={orcid:this.id}}},jm=class{constructor(t){this.id=t.id,this.text=I18n.htmlSafe("awesome_bar.types.affiliations.result",{text:t.name}),this.meta="",this.filters={"affiliations[]":t.id}}},Tm=class{constructor(t){this.id=t.id,this.text=I18n.htmlSafe("awesome_bar.types.funders.result",{text:t.name}),this.meta="",this.filters={"funders[]":t.id}}},Mm=class{constructor(t){this.id=t.id,this.text=I18n.htmlSafe("awesome_bar.types.fields_of_research.result",{code:t.id,name:t.name}),this.meta="",this.filters={"field_of_research_codes[]":t.id}}},Rm=class{constructor(t){const e=t.altmetric_outputs_count,r=`${e} ${e===1?"research output":"research outputs"}`;this.id=t.id,this.text=t.affiliation?I18n.htmlSafe("awesome_bar.types.researchers.result_with_affiliation",{name:t.name,affiliation:t.affiliation,outputs:r}):I18n.htmlSafe("awesome_bar.types.researchers.result",{name:t.name,outputs:r}),this.meta="",this.filters={"researcher_id[]":t.id}}},Pm=class{constructor(e){this.id=e.id,this.text=I18n.htmlSafe("awesome_bar.types.sustainable_development_goals.result",{code:e.id,name:e.name}),this.meta="",this.filters={"sustainable_development_goals[]":e.id}}},Nm=class{constructor(e){this.id=e.id,this.text=I18n.htmlSafe("awesome_bar.types.grants.result",{project_number:e.name,title:e.project_name}),this.filters={"grant_id[]":e.id}}},tr={Keyword:xm,Title:bm,Identifier:ko,Author:vm,Department:Sm,Publisher:wm,Journal:Em,OutputType:km,More:Am,Orcid:pc,DoiPrefix:Cm,Affiliation:jm,FieldOfResearch:Mm,Funder:Tm,Researcher:Rm,SustainableDevelopmentGoal:Pm,Grant:Nm},_m=300,W7=4,Im=["authors","researchers","departments","publishers","journals","identifier","doi_prefixes","affiliations","fields_of_research","funders","sustainable_development_goals","grants"],Om=["journal","article","book","chapter","clinical","data","news"];class Lm{constructor(e,{updateCallback:r,completeCallback:n}){this.text=e,this.updateCallback=r,this.completeCallback=n,this.inFlightAjaxRequests=[],this.results=[],this.timer=null}startLoading(){this.buildLocalResults(),this.fetchRemoteResults()}buildLocalResults(){this.results.push({type:"keyword",results:[new tr.Keyword(this.text)]}),this.results.push({type:"title",results:[new tr.Title(this.text)]}),this.addIdentifierResultsIfRequired(),this.addOutputTypeResultsIfRequired(),this.addOrcidResultsIfRequired(),this.notifyComponent()}addOutputTypeResultsIfRequired(){const e=r=>{const n=N6([r.length,this.text.length]);return this.text.slice(0,n)===r.slice(0,n)};Om.forEach(r=>{if(e(r))switch(r){case"journal":case"article":this.results.push({type:"output_type",results:[new tr.OutputType("article")]});break;case"book":if(!window.current_user.books)return;this.results.push({type:"output_type",results:[new tr.OutputType("book"),new tr.OutputType("chapter")]});break;case"chapter":if(!window.current_user.books)return;this.results.push({type:"output_type",results:[new tr.OutputType("chapter")]});break;case"clinical":this.results.push({type:"output_type",results:[new tr.OutputType("clinical_trial_study_record")]});break;case"data":this.results.push({type:"output_type",results:[new tr.OutputType("dataset")]});break;case"news":this.results.push({type:"output_type",results:[new tr.OutputType("news")]});break}})}addIdentifierResultsIfRequired(){const e=tr.Identifier.fromString(this.text);e&&this.results.push({type:"identifier",results:[e]})}addOrcidResultsIfRequired(){const e=tr.Orcid.fromString(this.text);if(e)return this.results.push({type:"orcid",results:[e]})}fetchRemoteResults(){this.timer=Dr(()=>
37this.launchRemoteRequests(),_m)}terminate(){this.timer&&clearTimeout(this.timer),this.inFlightAjaxRequests.forEach(e=>e.abort()),this.inFlightAjaxRequests=[]}notifyComponent(){this.updateCallback(this.results)}launchRemoteRequests(){Im.forEach(e=>{const r=Si.doAwesomeSearch(e,this.text).done(n=>{if(n.length)return this.updateWithRemoteResults(e,n)});this.inFlightAjaxRequests.push(r)}),this.inFlightAjaxRequests.length&<.when(...this.inFlightAjaxRequests).always(this.completeCallback)}updateWithRemoteResults(e,r){const n=this.buildRemoteResultSet(e,r);this.appendOrReplaceResultSet(n),this.notifyComponent()}appendOrReplaceResultSet(e){const r=Bl(this.results,n=>n.type===e.type);r?r.results=e.results:this.results.push(e)}buildRemoteResultSet(e,r){let n;switch(e){case"authors":n=tr.Author;break;case"researchers":n=tr.Researcher;break;case"departments":n=tr.Department;break;case"publishers":n=tr.Publisher;break;case"journals":n=tr.Journal;break;case"identifier":n=tr.Identifier;break;case"doi_prefixes":n=tr.DoiPrefix;break;case"affiliations":n=tr.Affiliation;break;case"fields_of_research":n=tr.FieldOfResearch;break;case"funders":n=tr.Funder;break;case"sustainable_development_goals":n=tr.SustainableDevelopmentGoal;break;case"grants":n=tr.Grant;break}const i=[];let a=0;return r.forEach(o=>{a=o.total,i.push(new n(o))}),a===i.length+1?i.push(new n(r[W7])):a>i.length&&i.push(new tr.More(e,a-W7)),{type:e,results:i}}}const aa=t=>{const e=t.loading?"loading":"not-loading";return s.jsxs("svg",{className:`SearchLoadingIcon ${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 1000",children:[s.jsx("g",{className:"SearchLoadingIcon-ring-wrapper",children:s.jsx("path",{className:"SearchLoadingIcon-ring",fill:"#34373E",d:"M396.8 209.3c49.8 0 96.7 19.4 131.9 54.6s54.6 82.1 54.6 131.9-19.4 96.7-54.6 131.9-82.1 54.6-131.9 54.6-96.7-19.4-131.9-54.6-54.6-82.1-54.6-131.9 19.4-96.7 54.6-131.9 82-54.6 131.9-54.6m0-84c-149.4 0-270.6 121.1-270.6 270.6s121.1 270.6 270.6 270.6 270.6-121.1 270.6-270.6-121.2-270.6-270.6-270.6z"})}),s.jsx("g",{className:"SearchLoadingIcon-handle-wrapper",children:s.jsx("path",{className:"SearchLoadingIcon-handle",fill:"#34373E",d:"M552.674 615.244l64.346-64.346 246.637 246.636-64.346 64.346z"})})]})};aa.propTypes={loading:ve.bool.isRequired};const fc=t=>s.jsxs("div",{className:"Explorer-QuickSearch-ResultView",children:[t.resultSets.map(e=>s.jsx(mc,{selectedResult:t.selectedResult,onSelectResult:t.onSelectResult,...e},e.type)),t.loading?s.jsx("div",{className:"loading-message",children:I18n.t("Explorer.QuickSearch.loading")}):null]}),mc=t=>{let e=I18n.t(`Explorer.QuickSearch.types.${t.type}.title`,{institutionName:window.current_user.institution_name});return s.jsxs("div",{className:"Explorer-QuickSearch-ResultSet",children:[s.jsx("div",{className:"Explorer-QuickSearch-ResultSet-title",children:e}),s.jsx("div",{className:"Explorer-QuickSearch-ResultSet-content",children:t.results.map((r,n)=>s.jsx(gc,{selected:r===t.selectedResult,onSelectResult:()=>t.onSelectResult(r),...r},`${r.id}-${n}`))})]})},gc=t=>{const e=["Explorer-QuickSearch-Result"];return t.selected&&e.push("selected"),t.isLinkToMore&&e.push("link-to-more"),e.push(t.type),s.jsxs("button",{type:"button",className:e.join(" "),onMouseDown:t.onSelectResult,children:[s.jsx("span",{className:"title",children:t.text}),s.jsx("span",{className:"meta",children:t.meta})]})};fc.propTypes={resultSets:ve.arrayOf(ve.object).isRequired,selectedResult:ve.object,onSelectResult:ve.func.isRequired,loading:ve.bool.isRequired};mc.propTypes={type:ve.string.isRequired,results:ve.arrayOf(ve.object).isRequired,selectedResult:ve.object,onSelectResult:ve.func.isRequired};gc.propTypes={id:ve.string.isRequired,type:ve.string,selected:ve.bool.isRequired,isLinkToMore:ve.string,text:ve.oneOfType([ve.element,ve.string]),meta:ve.oneOfType([ve.element,ve.string]),onSelectResult:ve.func.isRequired};const Fm=t=>t.addEventListener("keydown",yc),Dm=t=>t.removeEventListener("keydown",yc);function yc(t){const e=this.querySelectorAll("input:not([disabled]), button:not([disabled]), textarea:not([disabled]), a[href]"),r=e[0],n=e[e.length-1];t.key==="Tab"&&(t.shiftKey?document.activeElement===r&&(n.focus(),t.preventDefault()):document.activeElement===n&&(r.focus(),t.preventDefault()))}const Bm=()=>
37{Array.from(document.querySelectorAll("[popover]")).forEach(t=>{typeof t.hidePopover=="function"&&t.hidePopover()})},xc=({onSelectResult:t,onSelectShowMore:e})=>{const r=St(),[n,i]=Q.useState(!1),[a,o]=Q.useState(!1),[f,u]=Q.useState(""),[m,S]=Q.useState([]),[w,x]=Q.useState([0,0]),[T,y]=Q.useState("all"),E=Q.useRef(null),A=Q.useRef(null),j=Q.useRef(null),R=Q.useRef(!1),k=()=>r.filters?.scope==="all"?"all":"institution",B=n?0:-1,L=()=>{j.current&&j.current.terminate(),S([]),x([0,0])},C=q=>{j.current=new Lm(q,{updateCallback:h,completeCallback:()=>o(!1)}),o(!0),j.current.startLoading()},h=q=>{S(q);const z=dl(q,te=>te.type=="identifier");z>=0&&x([z,0]);const J=dl(q,te=>te.type=="orcid");J>=0&&x([J,0])},H=()=>{Bm(),i(!0),y(k()),Fm(E.current)},P=({trackClosed:q=!1}={})=>{L(),A.current?.focus(),i(!1),u(""),o(!1),Dm(E.current),q&&Analytics.trackEvent("Quick Search: Dialogue Closed")},N=q=>{!R.current&&q.trim().length>f.length&&(R.current=!0,Analytics.trackEvent("Quick Search: Field Filled")),R.current&&q.trim()===""&&(Analytics.trackEvent("Quick Search: Field Manually Cleared"),R.current=!1)},I=q=>{n||i(!0),L(),N(q),u(q),q.trim()===""?o(!1):C(q)},F=()=>{const q=m[w[0]];if(q)return q.results[w[1]]},l=q=>{P(),Analytics.trackEvent("Quick Search: Search Applied",{value:f});const z=q?q.filters:{};if(window.current_user.institution_integrated&&(z.scope=T),q&&q.isLinkToMore){if(e){const J=new fr(q.isLinkToMore,f);A.current?.blur(),e(J)}}else t&&t(z)},d=()=>{const q=w,z=m;if(z.length===0||!z[q[0]])return;const J=q[1]>0,te=q[0]>0;if(J)x([q[0],q[1]-1]);else if(te){const ce=z[q[0]-1];x([q[0]-1,ce.results.length-1])}else{const ce=z[z.length-1];x([z.length-1,ce.results.length-1])}},p=()=>{const q=w,z=m;if(z.length===0||!z[q[0]])return;const J=z[q[0]].results.length>q[1]+1,te=z.length>q[0]+1;x(J?[q[0],q[1]+1]:te?[q[0]+1,0]:[0,0])},v=q=>{switch(q.key){case"Escape":q.preventDefault(),P(),Analytics.trackEvent("Quick Search: Dialogue Cancelled");break;case"Enter":q.preventDefault(),l(F());break;case"ArrowUp":q.preventDefault(),d();break;case"ArrowDown":q.preventDefault(),p();break}},b=q=>{q.key==="Escape"&&(P(),Analytics.trackEvent("Quick Search: Dialogue Cancelled"))},M=()=>{n||(H(),Analytics.trackEvent("Quick Search: Field Selected"))},O=()=>{P({trackClosed:!0})},_=q=>{q.preventDefault(),y("all"),Analytics.trackEvent("Quick Search: Scope Changed",{scope:"full"})},U=q=>{q.preventDefault(),y("institution"),Analytics.trackEvent("Quick Search: Scope Changed",{scope:"institution"})};return Q.useEffect(()=>()=>{j.current&&j.current.terminate()},[]),s.jsxs("search",{ref:E,className:`Explorer-QuickSearch ${n?"expanded":"not-expanded"}`,role:"search","aria-label":I18n.t("Explorer.QuickSearch.aria_label"),children:[s.jsx("button",{className:"Explorer-QuickSearch-close-button",onClick:O,tabIndex:B,onKeyUp:b,children:I18n.t("Explorer.QuickSearch.close")}),s.jsxs("div",{className:"Explorer-QuickSearch-field-wrapper",children:[s.jsx(aa,{loading:a}),s.jsx("input",{ref:A,className:"Explorer-QuickSearch-field",placeholder:I18n.t("Explorer.QuickSearch.placeholder"),value:f,onFocus:M,onChange:q=>I(q.target.value),onKeyUp:v,"aria-label":I18n.t("Explorer.QuickSearch.placeholder")}),window.current_user.institution_integrated&&s.jsxs("div",{className:"Explorer-Quicksearch-institutional-toggle",children:[s.jsx("button",{onClick:_,className:`full ${T=="all"?"active":"not-active"}`,tabIndex:B,onKeyUp:b,children:I18n.t("Explorer.QuickSearch.institution_toggle.full")}),s.jsx("button",{onClick:U,className:`institution ${T=="institution"?"active":"not-active"}`,tabIndex:B,onKeyUp:b,children:I18n.t("Explorer.QuickSearch.institution_toggle.institution")})]})]}),m.length?s.jsx("div",{className:"Explorer-QuickSearch-results",children:s.jsx(fc,{resultSets:m,selectedResult:F(),onSelectResult:l,loading:a})}):null]})};xc.propTypes={onSelectResult:ve.func,onSelectShowMore:ve.func};const bc=({onShowAdvancedSearch:t,logo:e,instanceName:r,onSelectShowMore:n})=>{const i=St(),a=Gr(),{data:o,loading:f}=Jt("metadata/query_description",i,{reloadOn:["filters"]}),u=f===Ke.NOT_STARTED||f===Ke.IN_PROGRESS,m=o?.title??null,S={__html:I18n.t("Explorer.Header.title",{title:m})},w=x=>{let T=nr(i,x);
37i.mentionSourceOrder!==As&&(T=i8(T,As)),a(T)};return s.jsxs(s.Fragment,{children:[s.jsxs("header",{className:"Explorer-Header",children:[s.jsx(Wn,{id:"book-warning",effect:"solid"}),s.jsx("div",{className:"Explorer-Header-logo",children:s.jsx("img",{src:e,alt:r})}),s.jsxs("div",{className:"Explorer-Header-title",children:[window.current_user.books?null:s.jsx("span",{className:"Explorer-Header-book-warning","data-tooltip-id":"book-warning","data-tooltip-content":I18n.t("Explorer.Header.book_warning")}),u?s.jsx("span",{className:"loading-message",children:I18n.t("Explorer.Header.loading")}):s.jsx("h1",{className:"description",dangerouslySetInnerHTML:S})]}),s.jsx("div",{className:"Explorer-Header-edit-button",children:!u&&s.jsx("button",{className:"edit-button",onClick:t,children:I18n.t("Explorer.Header.edit")})})]}),s.jsx(xc,{onSelectResult:w,onSelectShowMore:n})]})};bc.propTypes={onShowAdvancedSearch:ve.func.isRequired,logo:ve.string.isRequired,instanceName:ve.string.isRequired,onSelectShowMore:ve.func};const Hm=()=>Q.useContext(z0),_s=t=>{const e=(r,n)=>{const i=Hm();return s.jsx(t,{featureFlags:i,ref:n,...r})};return it.forwardRef(e)},zm=["currents","highlights","outputs","timeline","demographics","mentions","mention_sources","journals"],Um=({featureFlags:t})=>{const e=St();return s.jsx("nav",{className:"Explorer-TabBar","aria-label":I18n.t("Explorer.accessibility.TabBar"),children:zm.filter(r=>r!="mention_sources"||window.current_user.mention_sources_access).filter(r=>r!="currents"||t?.includes("currents")).map(r=>s.jsx(B0,{to:mr(e,`/${r}`),className:({isActive:n})=>n?"active":"",children:I18n.t(r,{scope:"Explorer.TabBar"})},r))})},Gm=_s(Um),vc=t=>r=>{const n=Br();return s.jsx(t,{location:n,...r})},$m=Object.freeze(Object.defineProperty({__proto__:null,default:vc},Symbol.toStringTag,{value:"Module"}));class Sc extends it.Component{render(){return s.jsxs("ul",{className:"footer-links",children:[s.jsx("li",{children:s.jsx("a",{href:"https://www.altmetric.com/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:I18n.t("footer.privacy_policy")})}),s.jsx("li",{children:s.jsx("a",{href:"https://www.altmetric.com/terms-of-use/",target:"_blank",rel:"noopener noreferrer",children:I18n.t("footer.terms_of_use")})}),s.jsx("li",{children:s.jsx("a",{href:"https://www.altmetric.com/cookie-policy/",target:"_blank",rel:"noopener noreferrer",children:I18n.t("footer.cookie_policy")})}),s.jsx("li",{children:s.jsx("a",{href:"https://www.altmetric.com/contact-us/",target:"_blank",rel:"noopener noreferrer",children:I18n.t("footer.contact_us")})})]})}}const Wm=Object.freeze(Object.defineProperty({__proto__:null,default:Sc},Symbol.toStringTag,{value:"Module"})),Ti=({metaTitle:t})=>(Q.useEffect(()=>(document.title=t+" - "+I18n.t("site.default_meta_title"),window.altmetric.page_name=t,()=>{document.title=I18n.t("site.default_meta_title"),window.altmetric.page_name=document.title}),[]),null);Ti.propTypes={metaTitle:ve.string.isRequired};const qm=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{fill:"#FFFFFF",height:48,viewBox:"0 0 24 24",width:48,xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),Q.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})),Vm=Q.forwardRef(qm),dn=({children:t,variant:e=null,hasWarning:r=!1})=>s.jsxs("div",{className:Fi("SummaryBlock",{"SummaryBlock--alt":e==="alt"}),children:[s.jsx("div",{className:Fi("SummaryBlock-IconWrapper",{"SummaryBlock-IconWrapper--warning":r}),children:s.jsx(Vm,{width:"24px",height:"24px"})}),s.jsx("div",{className:"SummaryBlock-SummaryWrapper",children:t})]});class la{static colors={blog:"#e89500",f1000:"#CB2D2D",fbwall:"#071D70",gplus:"#912470",linkedin:"#00BFFF",msm:"#B60000",peer_review:"#bdbdbd",pinterest:"#CC3300",policy:"#270a63",qna:"#EFEFEF",rdt:"#B9DDEB",tweet:"#2F90B9",video:"#98C973",weibo:"#df931b",wikipedia:"#3b2a3d",patent:"#d45029"};constructor(e,r){this.name=e,this.mentionCount=r}get color(){return la.colors[this.name]}}class Di{static COLORS={social:"#42A5F5",academic:"#757575",news:"#e53935",grey:"#673AB7",other:"#FFB300"};static SOURCE_CATEGORIES={social:["tweet","fbwall","bluesky","gplus","linkedin","weibo","rdt","pinterest"],academic:["f1000","peer_review","seminar"],news:["msm","blog","podcast"],grey:["policy","patent","guideline"],other:["wikipedia","qna","video"]};static buildFromData=e=>{const r=e.map(i=>new la(i.post_type,i.mention_count)),n=hr(Di.SOURCE_CATEGORIES,(i,a)=>{const o=ki(r,f=>Tr(i,f.name));return new Di(a,On(o,f=>-f.mentionCount))});return On(n,i=>-i.mentionCount)};constructor(e,r){this.name=e,this.sources=r}get mentionCount(){return ks(this.sources,"mentionCount")}get scaledMentionCount(){return Math.sqrt(ks(this.sources,"mentionCount"))}get color(){return Di.COLORS[this.name]}}const wc=({mentionCounts:t})=>{if(!t)return null;const e=Object.entries(t).filter(([,i])=>i>0).map(([i,a])=>({post_type:i,mention_count:a})),r=Di.buildFromData(e).filter(i=>i.mentionCount>0),n=r.reduce((i,a)=>i+a.mentionCount,0);return n===0?null:s.jsx("span",{className:"CurrentsCard-breakdown-bar","aria-hidden":"false",children:r.map(i=>{const a=i.mentionCount/n*100,o=I18n.t(i.name,{scope:"Explorer.Highlights.Breakdown.categories",defaultValue:i.name});return s.jsx("span",{className:"CurrentsCard-breakdown-segment",style:{width:`${a}%`,backgroundColor:i.color},title:`${o}
37: ${i.mentionCount.toLocaleString()}`},i.name)})})};wc.propTypes={mentionCounts:ve.object};const Ym=[{key:"engagement",label:"Engagement",sublabel:"Social",sources:["tweet","fbwall","rdt","bluesky"],color:"#42A5F5"},{key:"reach",label:"Reach",sublabel:"Media",sources:["msm","blog","wikipedia"],color:"#e53935"},{key:"impact",label:"Impact",sublabel:"Policy / Patents / Guidelines",sources:["policy","patent","guideline"],color:"#673AB7"}],Ec=({mentionCounts:t})=>{if(!t)return null;const e=Ym.map(i=>({...i,count:i.sources.reduce((a,o)=>a+(t[o]||0),0)})),r=e.reduce((i,a)=>i+a.count,0);if(r===0)return null;const n=e.reduce((i,a)=>a.count>i.count?a:i,e[0]).key;return s.jsx("div",{className:"CurrentsCard-metrics","aria-label":"Mention type breakdown",children:e.map(i=>{const a=Math.round(i.count/r*100),o=i.key===n&&i.count>0;return s.jsxs("div",{className:`CurrentsCard-metric${o?" is-dominant":""}`,title:`${i.label} (${i.sublabel}): ${i.count.toLocaleString()} mentions, ${a}% of total`,children:[s.jsx("span",{className:"CurrentsCard-metric-swatch",style:{background:i.color},"aria-hidden":"true"}),s.jsx("span",{className:"CurrentsCard-metric-label",children:i.label}),s.jsx("span",{className:"CurrentsCard-metric-count",children:i.count.toLocaleString()}),s.jsxs("span",{className:"CurrentsCard-metric-pct",children:[a,"%"]})]},i.key)})})};Ec.propTypes={mentionCounts:ve.object};const Xm={30:"ð¾",31:"ð§¬",32:"ð¥",33:"ð",34:"ð§ª",35:"ð",36:"ð¨",37:"ð",38:"ð°",39:"ð",40:"âï¸",41:"ð¿",42:"ð",43:"ð",44:"ð¥",45:"ð",46:"ð»",47:"ð£",48:"âï¸",49:"â",50:"ð¤",51:"âï¸",52:"ð§ "};function Km(t){const e=t.substring(0,2);return Xm[e]||""}function Zm(t){if(!t)return null;const e=Mr(t).utc(),n=Mr().diff(e,"day");return n===0?"today":n===1?"yesterday":n<7?`${n}d ago`:n<30?`${Math.floor(n/7)}w ago`:n<365?`${Math.floor(n/30)}mo ago`:`${Math.floor(n/365)}y ago`}const Oi=["strong_negative","negative","neutral_negative","neutral","neutral_positive","positive","strong_positive"];function Jm(t){if(!t)return null;const e=Oi.reduce((i,a)=>i+(t[a]||0),0);if(e===0)return null;const r={};Oi.forEach(i=>r[i]=Math.round((t[i]||0)/e*100));const n=r.neutral_positive+r.positive+r.strong_positive;return{pcts:r,positivePct:n}}const Cc=({output:t,rank:e,onClick:r,mentionContext:n,mentionColor:i,timeframe:a})=>{const o=S=>{S.preventDefault(),r(t)},f=t.pubdate?Mr(t.pubdate).utc().format("D MMMM YYYY"):null,u=Zm(t.pubdate),m=Jm(t.sentiment);return s.jsxs("button",{type:"button",className:"CurrentsCard",onClick:o,children:[e!=null&&s.jsx("span",{className:"CurrentsCard-rank",children:e}),s.jsx("div",{className:"CurrentsCard-badge",children:s.jsx("img",{className:"CurrentsCard-badge-img",loading:"lazy",src:t.badgeURL,alt:I18n.t("Explorer.Currents.card.badge_alt",{score:t.score}),width:"64",height:"64"})}),s.jsxs("div",{className:"CurrentsCard-content",children:[s.jsx("h3",{className:"CurrentsCard-title",children:ln(t.title,{length:160,separator:/\W/,omission:"â¦"})}),s.jsxs("div",{className:"CurrentsCard-meta",children:[s.jsx("span",{className:"CurrentsCard-type",children:t.type}),t.journal&&s.jsxs(s.Fragment,{children:[" in ",s.jsx("span",{className:"CurrentsCard-journal",children:t.journal})]}),f&&s.jsxs("span",{className:"CurrentsCard-pubdate",children:[" ","· Published ",f,u?` (${u})`:""]})]}),m&&s.jsxs("div",{className:"CurrentsCard-sentiment",children:[s.jsx("span",{className:"CurrentsCard-sentiment-bar",children:Oi.map(S=>m.pcts[S]>0?s.jsx("span",{className:`sentiment-segment sentiment-${S}`,style:{width:`${m.pcts[S]}%`}},S):null)}),s.jsxs("span",{className:"CurrentsCard-sentiment-pct",children:[m.positivePct,"%+"]}),s.jsx("span",{className:"CurrentsCard-sentiment-label",children:I18n.t("Explorer.Currents.sentiment.card_label")})]}),n&&t.countForSort>0&&s.jsxs("div",{className:"CurrentsCard-mentions",style:i?{color:i}:void 0,children:[s.jsx("svg",{className:"CurrentsCard-mentions-icon",viewBox:"0 0 24 24",width:"14",height:"14",fill:"currentColor",children:s.jsx("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})}),s.jsx("span",{className:"CurrentsCard-mentions-count",children:t.countForSort.toLocaleStr
37ing()})," ",s.jsx("span",{className:"CurrentsCard-mentions-label",children:n}),t.timeframeMentions!=null&&t.timeframeMentions!==t.countForSort&&t.timeframeMentions>0&&s.jsxs("span",{className:"CurrentsCard-mentions-timeframe",children:["(",t.timeframeMentions.toLocaleString()," ",I18n.t(`Explorer.Currents.timeframes.${a}`),")"]}),t.totalMentions!=null&&t.totalMentions!==t.countForSort&&t.totalMentions>0&&s.jsxs("span",{className:"CurrentsCard-mentions-total",children:["(",t.totalMentions.toLocaleString()," ",I18n.t("Explorer.Currents.total_mentions"),")"]})]}),s.jsx(wc,{mentionCounts:t.mentionCounts}),t.fieldsOfResearch&&t.fieldsOfResearch.length>0&&s.jsxs("div",{className:"CurrentsCard-fields",children:[t.fieldsOfResearch.slice(0,3).map(S=>s.jsxs("span",{className:"CurrentsCard-field-chip",children:[Km(S.code)," ",S.name]},S.code)),t.fieldsOfResearch.length>3&&s.jsxs("span",{className:"CurrentsCard-field-chip CurrentsCard-field-chip-more",children:["+",t.fieldsOfResearch.length-3]})]})]}),s.jsx(Ec,{mentionCounts:t.mentionCounts})]})};Cc.propTypes={output:ve.instanceOf(Yr).isRequired,rank:ve.number,onClick:ve.func.isRequired,mentionContext:ve.string,mentionColor:ve.string,timeframe:ve.string};const Qm=96,hs="1w",eg=["1d","1w","1m","3m","6m","1y"],tg={"1d":"mentions_1d","1w":"mentions_1w","1m":"mentions_1m","3m":"mentions_3m","6m":"mentions_6m","1y":"mentions_1y"},rg=[{key:"mentions"},{key:"score"},{key:"publication_date"}],wl="mention_sources_types[]",Fo=[{key:"all",types:null,primarySort:null,color:"#1565c0"},{key:"social",types:["type:tw","type:bsk","type:rdt"],primarySort:"twitter",color:"#2F90B9"},{key:"news",types:["type:msm"],primarySort:"msm",color:"#B60000"},{key:"policy",types:["type:policy","type:guideline"],primarySort:"policy",color:"#270a63"},{key:"blogs",types:["type:blog"],primarySort:"blogs",color:"#e89500"},{key:"podcasts",types:["type:podcast"],primarySort:"podcasts",color:"#90089C"}];function lo(t,e){const r=Fo.find(n=>n.key===t);return r?.primarySort?r.primarySort:tg[e]||"mentions_1w"}function co(t){const e=t?.[wl];if(!e)return"all";const r=Array.isArray(e)?e:[e],n=Fo.find(i=>i.types&&i.types.length===r.length&&i.types.every(a=>r.includes(a)));return n?n.key:"custom"}const ig=()=>{const t=St(),e=Gr(),r=Q.useRef(null);Q.useEffect(()=>{const k=!t.filters.timeframe,B=!t.sortOrder||t.sortOrder==="score";if(!k&&!B)return;let L=t;if(k&&(L=nr(L,{...L.filters,timeframe:hs})),B){const C=co(L.filters);L=ps(L,lo(C,hs))}e(L,{pathname:"/currents",replace:!0})},[]);const{data:n,loading:i}=Jt("research_outputs",t,{reloadOn:["filters","sortOrder"]});Q.useEffect(()=>{if(i===Ke.IN_PROGRESS){const k=r.current?.closest(".Explorer-ContentPanel");k&&(k.scrollTop=0)}},[i]);const a=Q.useMemo(()=>n?.outputs?n.outputs.slice(0,Qm).map(k=>new Yr(k)):[],[n]),o=i===Ke.NOT_STARTED||i===Ke.IN_PROGRESS,f=i===Ke.ERROR,u=t.filters?.timeframe||hs,m=co(t.filters),S=(()=>{const k=t.sortOrder||"score";return k==="publication_date"?"publication_date":k==="score"?"score":"mentions"})(),w=k=>e(k,{pathname:"/currents"}),x=k=>{Analytics.trackEvent("currents-change-timeframe",{timeframe:k});let B=nr(t,{...t.filters,timeframe:k});if(S==="mentions"){const L=co(t.filters);B=ps(B,lo(L,k))}w(B)},T=k=>{Analytics.trackEvent("currents-open-details-page",{outputId:k.id}),e(Un(t,k.id))},y=k=>{Analytics.trackEvent("currents-change-source",{source:k.key});const B={...t.filters};k.types?B[wl]=k.types:delete B[wl];let L=nr(t,B);if(S==="mentions"){const C=t.filters.timeframe||hs;L=ps(L,lo(k.key,C))}w(L)},E=k=>{let B;if(k.key==="mentions"){const L=co(t.filters),C=t.filters.timeframe||hs;B=lo(L,C)}else B=k.key;Analytics.trackEvent("currents-change-sort",{sort:B}),w(ps(t,B))},A=Fo.find(k=>k.key===m),j=S==="mentions"?I18n.t(`Explorer.Currents.mention_labels.${m}`):null,R=S==="mentions"?A?.color:null;return s.jsxs("div",{className:"Explorer-Currents",ref:r,children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.currents")}),s.jsx(dn,{children:s.jsxs("div",{className:"Explorer-Currents-intro",children:[s.jsxs("h2",{className:"Explorer-Currents-title",children:[s.jsx("span",{className:"Explorer-Currents-title-icon","aria-hidden":"true",children:I18n.t("Explorer.Currents.title_icon")}),I18n.t("Explorer.Currents.title")]}),s.jsx("p",{className:"Explorer-Currents-subtitle",children:I18n.t("Explorer.Currents.subtitle")})]})}),s.jsxs("div",{className:"Explorer-Currents-controls",children:[s.jsx("div",{className:"Explorer-Currents-timeframes",role:"group","aria-label":I18n.t("Explorer.Currents.timeframe_label"),children:eg.map(k=>s.jsx("button",{className:`Explorer-Currents-filter-btn ${k===u?"active":""}`,onClick:()=>x(k),"aria-pressed":k===u,children:I18n.t(`Explorer.Currents.timeframes.${k}`)},k))}),s.jsx("div",{className:"Explorer-Currents-sources",role:"group","aria-label":I18n.t("Explorer.Currents.source_label"),children:Fo.map(k=>s.jsx("button",{className:`Explorer-Currents-filter-btn ${k.key===m?"active":""}`,onClick:()=>y(k),"aria-pressed":k.key===m,children:I18n.t(`Explorer.Currents.sources.${k.key}`)},k.key))}),s.jsxs("div",{className:"Explorer-Outputs-SortBy",children:[s.jsxs("label",{className:"label",htmlFor:"currents-sort-select",children:[I18
37n.t("research_outputs.sort_by"),":"]})," ",s.jsx("select",{id:"currents-sort-select",value:S,onChange:k=>E({key:k.target.value}),children:rg.map(k=>s.jsx("option",{value:k.key,children:I18n.t(`Explorer.Currents.sorts.${k.key}`)},k.key))})]})]}),!o&&a.length>0&&(()=>{const k={};Oi.forEach(h=>k[h]=0),a.forEach(h=>{h.sentiment&&Oi.forEach(H=>k[H]+=h.sentiment[H]||0)});const B=Oi.reduce((h,H)=>h+k[H],0);if(B===0)return null;const L={};Oi.forEach(h=>L[h]=Math.round(k[h]/B*100));const C=L.neutral_positive+L.positive+L.strong_positive;return s.jsxs("div",{className:"Explorer-Currents-sentiment",children:[s.jsx("span",{className:"Explorer-Currents-sentiment-label",children:I18n.t("Explorer.Currents.sentiment.title")}),s.jsx("span",{className:"Explorer-Currents-sentiment-bar",children:Oi.map(h=>L[h]>0?s.jsx("span",{className:`sentiment-segment sentiment-${h}`,style:{width:`${L[h]}%`}},h):null)}),s.jsxs("span",{className:"Explorer-Currents-sentiment-summary",children:[C,"% ",I18n.t("Explorer.Currents.sentiment.positive")]})]})})(),s.jsxs("div",{className:"Explorer-Currents-feed",children:[o&&s.jsx("div",{className:"Explorer-Currents-loading-spinner"}),!o&&f&&s.jsx("div",{className:"Explorer-Currents-error",children:I18n.t("Explorer.Currents.error")}),!o&&!f&&a.length===0&&s.jsx("div",{className:"Explorer-Currents-empty",children:I18n.t("Explorer.Currents.empty")}),!o&&!f&&a.length>0&&s.jsx("div",{className:"Explorer-Currents-cards",children:a.map((k,B)=>s.jsx(Cc,{rank:B+1,output:k,onClick:T,mentionContext:j,mentionColor:R,timeframe:u},k.id))})]})]})},h8=()=>!window.current_user?.ai_features_restricted;function Do(){return Do=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Do.apply(null,arguments)}function u8(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function El(t,e){return El=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},El(t,e)}function p8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,El(t,e)}function ng(t,e){return t.classList?!!e&&t.classList.contains(e):(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")!==-1}function sg(t,e){t.classList?t.classList.add(e):ng(t,e)||(typeof t.className=="string"?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}function q7(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function og(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=q7(t.className,e):t.setAttribute("class",q7(t.className&&t.className.baseVal||"",e))}const V7={disabled:!1},Bo=it.createContext(null);var kc=function(e){return e.scrollTop},fs="unmounted",Qi="exited",en="entering",Mn="entered",Cl="exiting",Mi=(function(t){p8(e,t);function e(n,i){var a;a=t.call(this,n,i)||this;var o=i,f=o&&!o.isMounting?n.enter:n.appear,u;return a.appearStatus=null,n.in?f?(u=Qi,a.appearStatus=en):u=Mn:n.unmountOnExit||n.mountOnEnter?u=fs:u=Qi,a.state={status:u},a.nextCallback=null,a}e.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===fs?{status:Qi}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==en&&o!==Mn&&(a=en):(o===en||o===Mn)&&(a=Cl)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,f;return a=o=f=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,f=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:f}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===en){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:so.findDOMNode(this);o&&kc(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Qi&&this.setState({status:fs})},r.performEnter=function(i){var a=this,o=this.props.enter,f=this.context?this.context.
vendor: 4,310 bytes, line 37
37isMounting:i,u=this.props.nodeRef?[f]:[so.findDOMNode(this),f],m=u[0],S=u[1],w=this.getTimeouts(),x=f?w.appear:w.enter;if(!i&&!o||V7.disabled){this.safeSetState({status:Mn},function(){a.props.onEntered(m)});return}this.props.onEnter(m,S),this.safeSetState({status:en},function(){a.props.onEntering(m,S),a.onTransitionEnd(x,function(){a.safeSetState({status:Mn},function(){a.props.onEntered(m,S)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),f=this.props.nodeRef?void 0:so.findDOMNode(this);if(!a||V7.disabled){this.safeSetState({status:Qi},function(){i.props.onExited(f)});return}this.props.onExit(f),this.safeSetState({status:Cl},function(){i.props.onExiting(f),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Qi},function(){i.props.onExited(f)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(f){o&&(o=!1,a.nextCallback=null,i(f))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:so.findDOMNode(this),f=i==null&&!this.props.addEndListener;if(!o||f){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],m=u[0],S=u[1];this.props.addEndListener(m,S)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===fs)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var f=u8(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return it.createElement(Bo.Provider,{value:null},typeof o=="function"?o(i,f):it.cloneElement(it.Children.only(o),f))},e})(it.Component);Mi.contextType=Bo;Mi.propTypes={};function An(){}Mi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:An,onEntering:An,onEntered:An,onExit:An,onExiting:An,onExited:An};Mi.UNMOUNTED=fs;Mi.EXITED=Qi;Mi.ENTERING=en;Mi.ENTERED=Mn;Mi.EXITING=Cl;var ag=function(e,r){return e&&r&&r.split(" ").forEach(function(n){return sg(e,n)})},Ga=function(e,r){return e&&r&&r.split(" ").forEach(function(n){return og(e,n)})},f8=(function(t){p8(e,t);function e(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=t.call.apply(t,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(f,u){var m=n.resolveArguments(f,u),S=m[0],w=m[1];n.removeClasses(S,"exit"),n.addClass(S,w?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(f,u)},n.onEntering=function(f,u){var m=n.resolveArguments(f,u),S=m[0],w=m[1],x=w?"appear":"enter";n.addClass(S,x,"active"),n.props.onEntering&&n.props.onEntering(f,u)},n.onEntered=function(f,u){var m=n.resolveArguments(f,u),S=m[0],w=m[1],x=w?"appear":"enter";n.removeClasses(S,x),n.addClass(S,x,"done"),n.props.onEntered&&n.props.onEntered(f,u)},n.onExit=function(f){var u=n.resolveArguments(f),m=u[0];n.removeClasses(m,"appear"),n.removeClasses(m,"enter"),n.addClass(m,"exit","base"),n.props.onExit&&n.props.onExit(f)},n.onExiting=function(f){var u=n.resolveArguments(f),m=u[0];n.addClass(m,"exit","active"),n.props.onExiting&&n.props.onExiting(f)},n.onExited=function(f){var u=n.resolveArguments(f),m=u[0];n.removeClasses(m,"exit"),n.addClass(m,"exit","done"),n.props.onExited&&n.props.onExited(f)},n.resolveArguments=function(f,u){return n.props.nodeRef?[n.props.nodeRef.current,f]:[f,u]},n.getClassNames=function(f){var u=n.props.classNames,m=typeof u=="string",S=m&&u?u+"-":"",w=m?""+S+f:u[f],x=m?w+"-active":u[f+"Active"],T=m?w+"-done":u[f+"Done"];return{baseClassName:w,activeClassName:x,doneClassName:T}},n}var r=e.prototype;return r.addClass=function(i,a,o){var f=this.getClassNames(a)[o+"ClassName"],u=this.getClassNames("enter"),m=u.doneClassName;a==="appear"&&o==="done"&&m&&(f+=" "+m),o==="active"&&i&&kc(i),f&&(this.appliedClasse
vendor: 1,384 bytes, line 37
37s[a][o]=f,ag(i,f))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],f=o.base,u=o.active,m=o.done;this.appliedClasses[a]={},f&&Ga(i,f),u&&Ga(i,u),m&&Ga(i,m)},r.render=function(){var i=this.props;i.classNames;var a=u8(i,["classNames"]);return it.createElement(Mi,Do({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e})(it.Component);f8.defaultProps={classNames:""};f8.propTypes={};function lg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m8(t,e){var r=function(a){return e&&Q.isValidElement(a)?e(a):a},n=Object.create(null);return t&&Q.Children.map(t,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function cg(t,e){t=t||{},e=e||{};function r(S){return S in e?e[S]:t[S]}var n=Object.create(null),i=[];for(var a in t)a in e?i.length&&(n[a]=i,i=[]):i.push(a);var o,f={};for(var u in e){if(n[u])for(o=0;o<n[u].length;o++){var m=n[u][o];f[n[u][o]]=r(m)}f[u]=r(u)}for(o=0;o<i.length;o++)f[i[o]]=r(i[o]);return f}function rn(t,e,r){return r[e]!=null?r[e]:t.props[e]}function dg(t,e){return m8(t.children,function(r){return Q.cloneElement(r,{onExited:e.bind(null,r),in:!0,appear:rn(r,"appear",t),enter:rn(r,"enter",t),exit:rn(r,"exit",t)})})}function hg(t,e,r){var n=m8(t.children),i=cg(e,n);
37return Object.keys(i).forEach(function(a){var o=i[a];if(Q.isValidElement(o)){var f=a in e,u=a in n,m=e[a],S=Q.isValidElement(m)&&!m.props.in;u&&(!f||S)?i[a]=Q.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:rn(o,"exit",t),enter:rn(o,"enter",t)}):!u&&f&&!S?i[a]=Q.cloneElement(o,{in:!1}):u&&f&&Q.isValidElement(m)&&(i[a]=Q.cloneElement(o,{onExited:r.bind(null,o),in:m.props.in,exit:rn(o,"exit",t),enter:rn(o,"enter",t)}))}}),i}var ug=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},pg={component:"div",childFactory:function(e){return e}},g8=(function(t){p8(e,t);function e(n,i){var a;a=t.call(this,n,i)||this;var o=a.handleExited.bind(lg(a));return a.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},a}var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(i,a){var o=a.children,f=a.handleExited,u=a.firstRender;return{children:u?dg(i,f):hg(i,o,f),firstRender:!1}},r.handleExited=function(i,a){var o=m8(this.props.children);i.key in o||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(f){var u=Do({},f.children);return delete u[i.key],{children:u}}))},r.render=function(){var i=this.props,a=i.component,o=i.childFactory,f=u8(i,["component","childFactory"]),u=this.state.contextValue,m=ug(this.state.children).map(o);return delete f.appear,delete f.enter,delete f.exit,a===null?it.createElement(Bo.Provider,{value:u},m):it.createElement(Bo.Provider,{value:u},it.createElement(a,f,m))},e})(it.Component);g8.propTypes={};g8.defaultProps=pg;const Kr=({children:t,component:e="div",classNames:r="fade",timeout:n=250})=>{const i=it.createRef();return s.jsx(g8,{component:e,children:t&&s.jsx(f8,{nodeRef:i,classNames:r,timeout:n,children:s.jsx("div",{ref:i,className:"Transition",style:{"--transition-duration":`${n}ms`},children:t})},t.key)})},y8=Q.forwardRef(({category:t,onClick:e},r)=>{const n={backgroundColor:t.color};return s.jsxs("button",{className:"label",onClick:e,ref:r,children:[s.jsx("div",{className:"swatch",style:n}),s.jsxs("div",{children:[s.jsx("strong",{children:I18n.t(t.name,{scope:"Explorer.Highlights.Breakdown.categories"})}),s.jsx("p",{className:"count",children:I18n.t("Explorer.Highlights.Breakdown.mentions",{count:t.mentionCount,formattedCount:bt.formatNumberWithDelimiter(t.mentionCount)})})]})]})});y8.displayName="LabelCategory";
37y8.propTypes={category:ve.instanceOf(Di).isRequired,onClick:ve.func.isRequired};const Ac=t=>{const e=t.category,r=t.totalMentions,i={width:`${e.scaledMentionCount/r*100}%`,backgroundColor:e.color};return s.jsx("div",{className:`category ${t.inspecting?"inspecting":"not-inspecting"}`,style:i,onMouseOver:t.onInspect,onFocus:t.onInspect,"data-testid":e.name},e.name)};Ac.propTypes={category:ve.instanceOf(Di).isRequired,totalMentions:ve.number.isRequired,inspecting:ve.bool.isRequired,onInspect:ve.func.isRequired};const jc=({source:t,isFocused:e})=>{const r=St(),n=Q.useRef(),i={...r.filters||{},"mention_sources[]":[`type:${t.name}`]},a=mr(nr(r,i),"/mentions");return Q.useEffect(()=>{e&&n.current.focus()},[e]),s.jsx("div",{className:`source ${t.name}`,children:s.jsxs(Bt,{to:a,ref:n,children:[s.jsxs("div",{className:"title",children:[s.jsx("div",{className:"swatch",style:{backgroundColor:t.color}}),I18n.t(t.name,{scope:"Explorer.Highlights.Breakdown.sources"})]}),s.jsx("div",{className:"count",children:I18n.t("Explorer.Highlights.Breakdown.mentions",{count:t.mentionCount,formattedCount:bt.formatNumberWithDelimiter(t.mentionCount)})})]})})};jc.propTypes={source:ve.instanceOf(la).isRequired,isFocused:ve.bool};const Tc=({categoryName:t,categoryMentionCount:e,categorySources:r=[],totalMentions:n,onCloseInspector:i})=>{const a=Q.useRef(null);Q.useEffect(()=>{a.current.addEventListener("keydown",o)},[]);function o(u){const m=this.querySelectorAll("a"),S=m[0],w=m[m.length-1];u.key==="Tab"&&(u.shiftKey?u.target===S&&(i(),u.preventDefault()):u.target===w&&(i(),u.preventDefault()))}const f=()=>{let u=e/n;return u<.01?u="< 1":u=Math.round(u*100),u};return s.jsxs("div",{children:[s.jsxs("h3",{className:"title",children:[s.jsx("span",{className:"name",children:t}),s.jsx("span",{className:"share",children:I18n.t("Explorer.Highlights.Breakdown.category_percentage",{count:n,percentage:f(),formattedCount:bt.formatNumberWithDelimiter(n)})})]}),s.jsx("div",{className:"sources",ref:a,children:r.map((u,m)=>u.mentionCount>0?s.jsx(jc,{source:u,isFocused:m===0},u.name):null)})]})};Tc.propTypes={categoryName:ve.string.isRequired,categoryMentionCount:ve.number.isRequired,categorySources:ve.array,totalMentions:ve.number.isRequired,onCloseInspector:ve.func.isRequired};const fg="#eceff1",mg=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/breakdown",t,{reloadOn:["filters"]}),[n,i]=Q.useState(null),[a,o]=Q.useState(!1),{categories:f,categoryRefs:u}=Q.useMemo(()=>{if(!e)return{categories:[],categoryRefs:[]};const B=Di.buildFromData(e);return{categories:B,categoryRefs:B.map(L=>({name:L.name,ref:it.createRef()}))}},[e]),m=Q.useRef(n);m.current=n;const S=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,w=In(f,"mentionCount"),x=(B,L=!1)=>{Analytics.trackEvent("highlights-breakdown-inspect-category",{category:B.name}),i(B),o(L)},T=()=>{i(null),o(!1)},y=()=>{const B=m.current;T(),u.find(L=>L.name===B.name).ref.current.focus()},E=()=>{const B=ks(f,"mentionCount"),{name:L,mentionCount:C,sources:h}=n;return s.jsx("div",{className:"Highlights-Breakdown-inspector",children:s.jsx(Tc,{categoryName:I18n.t(L,{scope:"Explorer.Highlights.Breakdown.categories"}),categoryMentionCount:C,categorySources:h,totalMentions:B,onCloseInspector:y})})},A=()=>{const B=ks(f,"scaledMentionCount");return s.jsx("div",{className:"categories",children:f.map(L=>L.mentionCount>0&&s.jsx(Ac,{category:L,totalMentions:B,inspecting:n===L,onInspect:()=>x(L,!0)},L.name))})},j=()=>{const B={backgroundColor:n?n.color:fg};return s.jsxs("div",{className:"Highlights-Breakdown-chart",children:[s.jsx("div",{className:`background ${n?"inspecting":"not-inspecting"}`,style:B}),n?E():null,A()]})},R=()=>s.jsx("div",{className:"Highlights-Breakdown-labels",children:f.map(B=>{const L=u.find(C=>C.name===B.name).ref;return s.jsx(y8,{category:B,onClick:()=>x(B),ref:L},B.name)})}),k=()=>r===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):s.jsx("div",{className:`Highlights-content Highlights-Breakdown-content ${a?"hide-focus-outline":""}`,"data-testid":"content",onMouseLeave:T,children:w?s.jsxs("div",{children:[j(),R()]}):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.Breakdown.empty")})},"content");return s.jsxs("div",{className:"Highlights-Breakdown Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.Breakdown.title")}),s.jsx("div",{className:"Highlights-content-wrapper",children:s.jsx(Kr,{children:S?s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"):k()})})]})};function Ao(t){return t?t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase():""}function gg(t,e){return{strongNegative:{...t.strongNegative,...e.strong_negative},negative:{...t.negative,...e.negative},neutralNegative:{...t.neutralNegative,...e.neutral_negative},neutral:{...t.neutral,...e.neutral},neutralPositive:{...t.neutralPositive,...e.neutral_positive},positive:{...t.positive,...e.positive},strongPositive:{...t.strongPositive,...e.strong_positive}}}function yg(t,e){return{...t,withSentiment:e.with_sentiment}}const xg=()=>Q.useContext(tc),bg=({isLoading:t,mentionCounts:e,didFail:r,searchParamsPresent:n})=>{if(t)return s.jsx(vg,{});if(r)return s.jsx(wg,{});if(n){if(e.withSentiment===0)return s.jsx(Sg,{})}else return s.jsx(Eg,{});return s.jsx(s.Fragment,{})},vg=()=>s.jsx("div",{className:"Highlights-loading-message"}),Sg=()=>s.jsx("p",{className:"Sentiment-fallback","data-testid":"no-sentiment",children:"There are no X/Bluesky mentions with Sentiment Analysis for this search. Some mentions may still exist without sentiment analysis."}),wg=()=>s.jsx("p",{className:"Sentiment-fallback",children:"There was a problem loading the content. Please try again later."}),Eg=()=>{const{showAdvancedSearch:t}=xg(),e=()=>{Analytics.trackEvent("Sentiment Summary: Edit search link clicked",{})},r=()=>{e(),t()};return s.jsxs("p",{className:"Sentiment-fallback","data-testid":"no-search-params",children:[s.jsx("button",{className:"action",onClick:r,children:"Edit your search"})," ","to see the related Sentiment Analysis."]})},Cg=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M5.6615 4.80129C5.78793 4.502 6.21207 4.502 6.3385 4.80129L7.72385 8.08065C7.76108 8.16878 7.83122 8.23892 7.91935 8.27615L11.1987 9.6615C11.498 9.78793 11.498 10.2121 11.1987 10.3385L7.91935 11.7238C7.83122 11.7611 7.76108 11.8312 7.72385 11.9194L6.3385 15.1987C6.21207 15.498 5.78793 15.498 5.6615 15.1987L4.27615 11.9193C4.23892 11.8312 4.16878 11.7611 4.08065 11.7238L0.801287 10.3385C0.501998 10.2121 0.501998 9.78793 0.801287 9.6615L4.08065 8.27615C4.16878 8.23892 4.23892 8.16878 4.27615 8.08065L5.6615 4.80129Z",fill:"#632FBC"}),Q.createElement("path",{d:"M15.7884 1.5008C15.8675 1.31375 16.1325 1.31375 16.2116 1.5008
37L17.1517 3.72616C17.1749 3.78124 17.2188 3.82508 17.2738 3.84835L19.4992 4.78844C19.6863 4.86746 19.6863 5.13254 19.4992 5.21156L17.2738 6.15165C17.2188 6.17492 17.1749 6.21876 17.1517 6.27384L16.2116 8.4992C16.1325 8.68625 15.8675 8.68625 15.7884 8.4992L14.8483 6.27384C14.8251 6.21876 14.7812 6.17492 14.7262 6.15165L12.5008 5.21156C12.3137 5.13254 12.3137 4.86746 12.5008 4.78844L14.7262 3.84835C14.7812 3.82508 14.8251 3.78124 14.8483 3.72616L15.7884 1.5008Z",fill:"#632FBC"}),Q.createElement("path",{d:"M15.7884 11.5008C15.8675 11.3137 16.1325 11.3137 16.2116 11.5008L17.1517 13.7262C17.1749 13.7812 17.2188 13.8251 17.2738 13.8483L19.4992 14.7884C19.6863 14.8675 19.6863 15.1325 19.4992 15.2116L17.2738 16.1517C17.2188 16.1749 17.1749 16.2188 17.1517 16.2738L16.2116 18.4992C16.1325 18.6863 15.8675 18.6863 15.7884 18.4992L14.8483 16.2738C14.8251 16.2188 14.7812 16.1749 14.7262 16.1517L12.5008 15.2116C12.3137 15.1325 12.3137 14.8675 12.5008 14.7884L14.7262 13.8483C14.7812 13.8251 14.8251 13.7812 14.8483 13.7262L15.7884 11.5008Z",fill:"#632FBC"})),x8=Q.forwardRef(Cg),kg=({isOpen:t,onLinkClicked:e,onCloseClicked:r})=>s.jsxs("div",{id:"infoPopover",popover:"auto",className:t?"is-open":void 0,"data-testid":"popover",children:[s.jsx("div",{className:"infoPopover-title",children:"What is Sentiment Analysis?"}),s.jsxs("div",{className:"infoPopover-inner",children:[s.jsxs("div",{className:"infoPopover-note",children:[s.jsx("div",{children:s.jsx(x8,{})}),s.jsxs("div",{children:[s.jsx("p",{children:"This feature uses AI to assign sentiment scoring to posts that mention research. Although the quality of AI outputs is often high, they may contain incorrect information. The validity of the output should be verified by reviewing the referenced documents."}),s.jsx("a",{onClick:e,href:"https://help.altmetric.com/en/articles/10026177",target:"_blank",rel:"noreferrer",children:"Learn more about Sentiment Analysis"})]})]}),s.jsx("div",{className:"infoPopover-body",children:s.jsx("p",{children:"We use Sentiment Analysis to provide insight into the kind of attention your research has accrued. Using an AI model we can apply a sentiment rating to each mention on a scale from strong positive to strong negative depending on the content and context of the post. This gives you a better understanding of what people are saying about your research."})}),s.jsx("div",{className:"infoPopover-footer",children:s.jsx("div",{className:"infoPopover-buttons",children:s.jsx("button",{type:"button",className:"close",onClick:r,popovertarget:"infoPopover",popovertargetaction:"close",children:"Close"})})})]})]}),Ag=({mentionCount:t,onInfoClicked:e,onLinkClicked:r,onCloseClicked:n,loading:i})=>{const[a,o]=Q.useState(!1);let f="";!i&&t>0&&(f=s.jsx("span",{className:"mention-count","data-testid":"mention-count",children:bt.formatStatistic(t)}));const u=()=>{e(),o(!0)},m=()=>{n(),o(!1)};return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"ai-sparkles",children:s.jsx(x8,{})}),s.jsxs("h2",{children:["Sentiment Analysis for ",f," Bluesky and X ",t===1?"mention":"mentions"]}),s.jsxs("button",{className:"help",onClick:u,popovertarget:"infoPopover",popovertargetaction:"show",children:[s.jsx("span",{"aria-hidden":!0,children:"î¤"}),s.jsx("span",{className:"visually-hidden",children:"Learn more about Sentiment Analysis"})]}),s.jsx(kg,{isOpen:a,onLinkClicked:r,onCloseClicked:m})]})},Mc=()=>Object.entries(ir.sentimentMappings).sort((t,e)=>t[0]-e[0]),jg=()=>Mc().map(([t,e])=>e);function Tg(t){const e=ir.sentimentMappings[t];if(!e)throw new Error(`Unexpected sentiment score: "${t}"`);return e}function Mg(t){const e=Object.keys(ir.sentimentMappings).find(r=>ir.sentimentMappings[r].toLowerCase()===t.toLowerCase());if(!e)throw new Error(`Unexpected sentiment: "${t}"`);return e}const Rg=(t,e)=>{const r={...t.filters||{},"sentiment[]":Mg(e)};return mr(nr(t,r),"/mentions")},Pg=t=>()=>{Analytics.trackEvent("Sentiment Summary: Sentiment Percentage link clicked",{sentimentValue:t})},Zi=({value:{sentimentName:t,percentage:e}})=>{if(e===0)return s.jsx(s.Fragment,{});const r=Ao(t),n=Math.ceil(e||0);return s.jsx("div",{className:`bar ${r}`,style:{width:`${e}%`},"data-tooltip-id":`${r}-bar`,"data-tooltip-content":`${t} (${n}% of mentions)`,"data-testid":`sentiment-bar:${r}:${e}%`,children:s.jsx(Wn,{id:`${r}-bar`,effect:"solid"})})},Ng=({summary:{strongNegative:t,negative:e,neutralNegative:r,neutral:n,neutralPositive:i,positive:a,strongPositive:o}})=>s.jsxs("div",{className:"Sentiment-Summary-chart","aria-hidden":!0,
37children:[s.jsx(Zi,{value:t}),s.jsx(Zi,{value:e}),s.jsx(Zi,{value:r}),s.jsx(Zi,{value:n}),s.jsx(Zi,{value:i}),s.jsx(Zi,{value:a}),s.jsx(Zi,{value:o})]}),Ji=({value:{sentimentName:t,percentage:e},params:r})=>{const n=e>0,i=e||0,a=s.jsxs("div",{"data-testid":`sentiment-label:${Ao(t)}`,children:[s.jsx("strong",{children:t}),s.jsxs("p",{children:[i,"% of mentions"]})]});return s.jsxs("div",{className:"sentiment-label",children:[s.jsx("div",{className:`swatch ${Ao(t)}`}),n?s.jsx(Bt,{"data-testid":`sentiment-link:${Ao(t)}`,to:Rg(r,t),onClick:Pg(t),children:a}):a]})},_g=({summary:t,params:e})=>{const{strongNegative:r,negative:n,neutralNegative:i,neutral:a,neutralPositive:o,positive:f,strongPositive:u}=t;return s.jsxs("ul",{className:"Sentiment-Summary-labels",children:[s.jsx("li",{children:s.jsx(Ji,{value:r,params:e})}),s.jsx("li",{children:s.jsx(Ji,{value:n,params:e})}),s.jsx("li",{children:s.jsx(Ji,{value:i,params:e})}),s.jsx("li",{children:s.jsx(Ji,{value:a,params:e})}),s.jsx("li",{children:s.jsx(Ji,{value:o,params:e})}),s.jsx("li",{children:s.jsx(Ji,{value:f,params:e})}),s.jsx("li",{children:s.jsx(Ji,{value:u,params:e})})]})},Ig=({sentimentSummary:t})=>{const e=St();return s.jsxs(s.Fragment,{children:[s.jsx(Ng,{summary:t}),s.jsx(_g,{summary:t,params:e})]})},Og=["scope","mention_sources[]","countries[]","mentioned_after","mentioned_before","sentiment[]","mention_sources_countries[]","mention_sources_mentioned_after","mention_sources_mentioned_before","mention_sources_types[]"],Y7=()=>jg().reduce((t,e)=>(t[l2(e)]={sentimentName:e,count:0,percentage:0},t),{}),Lg=()=>{const t=St(),r=Object.keys(t.filters||{}).filter(w=>!Og.includes(w)).length>0,{data:n,loading:i}=Jt("highlights/sentiments",t,{reloadOn:["filters"],enabled:r}),a=i===Ke.IN_PROGRESS||i===Ke.NOT_STARTED,o=i===Ke.ERROR,f=n?yg({withSentiment:0},n.mention_counts):{withSentiment:0},u=n?gg(Y7(),n.summary):Y7(),m=!r,S=!m&&!a&&!o&&f.withSentiment>0&&r;return s.jsxs("div",{className:"Highlights-Sentiment-Summary Highlights-block",children:[s.jsx("div",{className:"Highlights-title",children:s.jsx(Ag,{mentionCount:f.withSentiment,onInfoClicked:()=>Analytics.trackEvent("Sentiment Summary: Open-Popover-Button clicked",{}),onLinkClicked:()=>Analytics.trackEvent("Sentiment Summary: Learn-More-Link clicked",{}),onCloseClicked:()=>Analytics.trackEvent("Sentiment Summary: Close-Popover-Button clicked",{}),loading:!m&&a})}),s.jsx("div",{className:"Highlights-content-wrapper",children:s.jsx(Kr,{classNames:"fade-in",timeout:250,children:s.jsx("div",{className:"fade-in",children:S?s.jsx(Ig,{sentimentSummary:u}):s.jsx(bg,{isLoading:!m&&a,mentionCounts:f,didFail:o,searchParamsPresent:r})})})})]})},Fg=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{viewBox:"0 0 24 24",height:24,width:24,xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"}),Q.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),Dg=Q.forwardRef(Fg),Bg=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:24,height:24,ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M13 9V3.5L18.5 9M6 2c-1.11 0-2 .89-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6H6z"})),Hg=Q.forwardRef(Bg),zg=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{viewBox:"0 0 18 16",xmlns:"http://www.w3.org/2000/svg",width:18,height:16,ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M7.5 2a7 7 0 0 0-2.272.369 5.79 5.79 0 0 0-1.773.963C2.517 4.091 2 5.063 2 6.069c0 .562.157 1.109.467 1.623.323.537.811 1.028 1.41 1.421a2 2 0 0 1 .881 1.374c.014.094.025.188.034.282a3.62 3.62 0 0 0 .127-.122 1.999 1.999 0 0 1 1.662-.567c.303.038.611.058.918.058a7 7 0 0 0 2.272-.369 5.807 5.807 0 0 0 1.774-.963C12.483 8.047 13 7.075 13 6.069s-.517-1.978-1.455-2.737a5.753 5.753 0 0 0-1.774-.963A7 7 0 0 0 7.499 2zm0-2C11.642 0 15 2.717 15 6.069s-3.358 6.069-7.5 6.069a9.16 9.16 0 0 1-1.169-.074C4.72 13.669 2.86 13.956 1 13.999v-.393c1.004-.49 1.813-1.382 1.813-2.402 0-.142-.011-.282-.032-.419C1.085 9.672 0 7.973 0 6.068 0 2.716 3.358-.001 7.5-.001zm8.063 13.604c0 .874.567 1.639 1.438 2.059V16c-1.611-.036-3.09-.283-4.487-1.658-.33.041-.669.063-1.013.063-1.492 0-2.866-.402-3.963-1.079 2.261-.008 4.395-.732 6.013-2.042a7.346 7.346 0 0 0 1.913-2.302 6.23 6.23 0 0 0 .704-3.4C17.302 6.518 18 7.795 18 9.202c0 1.633-.94 3.089-2.41 4.043a2.361 2.361 0 0 0-.027.359z"})),Ug=Q.forwardRef(zg),Gi=({endpoint:t,analyticsName:e})=>{const r=St(),n=JSON.stringify(r.filters),i=Q.useRef(n);i.current=n;const[a,o]=Q.useState(!1),[f,u]=Q.useState(!1),[m,S]=Q.useState(!1);Q.useEffect(()=>{o(!1),u(!1),S(!1)},[n]);const w=()=>{Analytics.trackEvent("Search Saved",{location:e}),u(!0);const x=n;pm(r,t).then(()=>{i.current===x&&(o(!0),u(!1))}).catch(()=>{i.current===x&&(S(!0),u(!1))})};return window.current_user.librarian||window.current_user.ip_user?null:m?s.jsx("button",{onClick:w,disabled:!0,className:"SaveSearch failed",children:I18n.t("Explorer.SaveSearch.failed")}):a?s.jsx("button",{onClick:w,disabled:!0,className:"SaveSearch saved",children:I18n.t("Explorer.SaveSearch.complete")}
37):f?s.jsx("button",{onClick:w,disabled:!0,className:"SaveSearch saving",children:I18n.t("Explorer.SaveSearch.progress")}):s.jsx("button",{onClick:w,className:"SaveSearch save",children:I18n.t("Explorer.SaveSearch.action")})};Gi.propTypes={endpoint:ve.string.isRequired,analyticsName:ve.string.isRequired};const Gg=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/summary",t,{reloadOn:["filters"]});if(r===Ke.ERROR)return s.jsx("div",{className:"Highlights-Summary",children:s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")})});const n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=a=>n?s.jsx("div",{className:"Highlights-loading-message"}):bt.formatStatistic(a);return s.jsx("div",{className:"Highlights-Summary",children:s.jsxs("div",{className:"Highlights-content Highlights-Summary-content",children:[s.jsxs("div",{className:"stats",children:[s.jsxs("div",{className:"stat mentions",children:[s.jsx("div",{className:"icon",children:s.jsx(Ug,{})}),s.jsxs("div",{className:"content",children:[s.jsx("div",{className:"title",children:I18n.t("Explorer.Highlights.Summary.total_mentions")}),s.jsx("div",{className:"count",children:i(e?.mentions)})]})]}),s.jsxs("div",{className:"stat mentioned_outputs",children:[s.jsx("div",{className:"icon",children:s.jsx(Dg,{})}),s.jsxs("div",{className:"content",children:[s.jsx("div",{className:"title",children:I18n.t("Explorer.Highlights.Summary.mentioned_outputs")}),s.jsx("div",{className:"count",children:i(e?.research_outputs)})]})]}),s.jsxs("div",{className:"stat total_outputs",children:[s.jsx("div",{className:"icon",children:s.jsx(Hg,{})}),s.jsxs("div",{className:"content",children:[s.jsx("div",{className:"title",children:I18n.t("Explorer.Highlights.Summary.outputs")}),s.jsx("div",{className:"count",children:i(e?.total_research_outputs)})]})]})]}),s.jsx("div",{className:"tools",children:s.jsx(Gi,{endpoint:"highlights",analyticsName:"Highlights"})})]})})},ti=({children:t})=>s.jsx("ol",{className:"TopItemList",children:t}),$g=({children:t,...e})=>s.jsx("li",{className:"TopItemList-item",...e,children:t});ti.Item=$g;const X7=()=>{const t=St(),e=Gr(),{data:r,loading:n}=Jt("highlights/top_outputs",t,{reloadOn:["filters"]}),i=(o,f)=>{o.preventDefault(),Analytics.trackEvent("highlights-open-details-page",{outputId:f.id}),e(Un(t,f.id))},a=()=>{Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"top-outputs"})};return s.jsxs("div",{className:"Highlights-TopOutputs Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.TopOutputs.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[(n===Ke.NOT_STARTED||n===Ke.IN_PROGRESS)&&s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"),n===Ke.ERROR&&s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}),n===Ke.EMPTY_RESPONSE&&s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.TopOutputs.empty")}),n===Ke.SUCCESS&&s.jsxs("div",{className:"Highlights-content Highlights-TopOutputs-content",children:[s.jsx(ti,{children:r.map(o=>{const f=new Yr(o);return s.jsxs(ti.Item,{children:[s.jsx("img",{className:"Highlights-TopOutputs-Badge",src:`https://api.altmetric.com/v1/donut/${f.id}_64.png`,alt:`Altmetric score ${f.score}`,width:"64",height:"64"}),s.jsxs("div",{children:[s.jsx("a",{href:`https://www.altmetric.com/details/${f.id}`,className:"Highlights-TopOutputs-link",onClick:u=>i(u,f),children:ln(f.title,{length:120,separator:/\W/})}),s.jsx("div",{className:"Highlights-TopOutputs-meta",children:f.meta}),t.filters.timeframe&&t.filters.timeframe!=="at"&&s.jsx("span",{className:"Highlights-TopOutputs-mentions",children:I18n.htmlSafe("Explorer.Highlights.TopOutputs.mentions_"+t.filters.timeframe,{count:f.total_mentions})})]})]},f.id)})}),s.jsx(Bt,{onClick:a,to:mr(t,"/outputs"),className:"Highlights-jump-link","aria-label":I18n.t("Explorer.Highlights.TopOutputs.title")+" â "+I18n.t("Explorer.Highlights.TopOutputs.more"),children:I18n.t("Explorer.Highlights.TopOutputs.more")})]},"content")]})]})},Wg=["blog","bluesky","f1000","fbwall","gplus","guideline","linkedin","msm","other","patent","peer_review","pinterest","podcast","policy","qna","rdt","seminar","tweet","video","weibo","wikipedia"],K7={tw:"tweet",sw:"weibo",fb:"fbwall",bsk:"bluesky",seminar_series:"seminar"};class b8 extends it.Component{static propTypes={profileType:ve.oneOf([...Wg,...Object.keys(K7)]).isRequired};render(){const{profileType:e}=this.props,r=K7[e]||e;return s.jsx("div",{className:`MentionSourceProfileIcon ${r}`,"aria-hidden":"true"})}}const qg=(t,e)=>{const r={...t.filters||{},"mention_sources[]":[e.id]};return mr(nr(t,r),"/mentions")},Vg=()=>{Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"top-mentioners"})},Z7=()=>{const t=St(),e=Qo(),{data:r,loading:n}=Jt("highlights/top_mention_sources",t,{reloadOn:["filters"]}),i=n===Ke.NOT_STARTED||n===Ke.IN_PROGRESS,a=Array.isArray(r)&&r.length>0,o=m=>{const S=I18n.t(`Explorer.Highlights.TopMentionSources.mention_source_types.${m.profileType}`),w=qg(t,m),x=T=>{T.target.closest("a, button")||e(w)};return s.jsxs(ti.Item,{onClick:x,children:[s.jsx("div",{children:s.jsx(b8,{profileType:m.profileType})}),s.jsxs("div",{className:"mention-source-data",children:[s.jsx("span",{className:"name",children:s.jsx(Bt,{to:w,children:m.name})}),s.jsx("span",{className:"meta",children:I18n.htmlSafe("Explorer.Highlights.TopMentionSources.meta",{count:m.mentions,formattedCount:bt.formatNumberWithDelimiter(m.mentions),source:S})})]})]},m.id)},f=()=>n===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):s.jsx("div",{className:"Highlights-content Highlights-TopMentionSources-content",children:a?s.jsx(ti,{children:r.map(o)}):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.TopMentionSources.empty")})},"content"),u=a&&window.current_user.mention_sources_access?s.jsx(Bt,{onClick:Vg,to:mr(t,"/mention_sources"),className:"Highlights-jump-link",children:I18n.t("Explorer.Highlights.TopMentionSources.more")}):null;return s.jsxs("div",{className:"Highlights-TopMentionSources Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.TopMentionSources.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[s.jsx(Kr,{children:i?s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"):f()}),u]})]})};function ho(t){const e=new Date(t);if(!Number.isNaN(e.valueOf()))return e;const r=String(t).match(/\d+/g);if(r==null||r.length<=2)return e;{const[n,i,...a]=r.map(u=>parseInt(u)),o=[n,i-1,...a];return new Date(Date.UTC(...o))}}function J7(t,e,r){const n=t!==1?e+"s":e;return t+" "+n+" "+r}function kl(){return kl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
37for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},kl.apply(this,arguments)}const ms=60,gs=ms*60,_n=gs*24,uo=_n*7,Q7=_n*30,e9=_n*365,Yg=()=>Date.now();function Rc({date:t,formatter:e=J7,component:r="time",live:n=!0,minPeriod:i=0,maxPeriod:a=uo,title:o,now:f=Yg,...u}){const[m,S]=Q.useState(f());Q.useEffect(()=>{if(!n)return;const L=(()=>{const C=ho(t).valueOf();if(!C)return console.warn("[react-timeago] Invalid Date provided"),0;const h=Math.round(Math.abs(m-C)/1e3),H=h<ms?1e3:h<gs?1e3*ms:h<_n?1e3*gs:1e3*uo,P=Math.min(Math.max(H,i*1e3),a*1e3);return P?setTimeout(()=>{S(f())},P):0})();return()=>{L&&clearTimeout(L)}},[t,n,a,i,f,m]);const w=r,x=ho(t).valueOf();if(!x)return null;const T=Math.round(Math.abs(m-x)/1e3),y=x<m?"ago":"from now",[E,A]=T<ms?[Math.round(T),"second"]:T<gs?[Math.round(T/ms),"minute"]:T<_n?[Math.round(T/gs),"hour"]:T<uo?[Math.round(T/_n),"day"]:T<Q7?[Math.round(T/uo),"week"]:T<e9?[Math.round(T/Q7),"month"]:[Math.round(T/e9),"year"],j=typeof o>"u"?typeof t=="string"?t:ho(t).toISOString().substr(0,16).replace("T"," "):o,R=w==="time"?{...u,dateTime:ho(t).toISOString()}:u,k=J7.bind(null,E,A,y);return Q.createElement(w,kl({},R,{title:j}),e(E,A,y,x,k,f))}var $a={exports:{}},Wa,t9;function Pc(){return t9||(t9=1,Wa={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
vendor: 4,378 bytes, line 37
37],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]}),Wa}var qa={exports:{}},Va,r9;function Xg(){return r9||(r9=1,Va=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")}),Va}var i9;function Kg(){if(i9)return qa.exports;i9=1;var t=Xg(),e=Array.prototype.concat,r=Array.prototype.slice,n=qa.exports=function(a){for(var o=[],f=0,u=a.length;f<u;f++){var m=a[f];t(m)?o=e.call(o,r.call(m)):o.push(m)}return o};return n.wrap=function(i){return function(){return i(n(arguments))}},qa.exports}var n9;function Zg(){if(n9)return $a.exports;n9=1;var t=Pc(),e=Kg(),r=Object.hasOwnProperty,n=Object.create(null);for(var i in t)r.call(t,i)&&(n[t[i]]=i);var a=$a.exports={to:{},get:{}};a.get=function(u){var m=u.substring(0,3).toLowerCase(),S,w;switch(m){case"hsl":S=a.get.hsl(u),w="hsl";break;case"hwb":S=a.get.hwb(u),w="hwb";break;default:S=a.get.rgb(u),w="rgb";break}return S?{model:w,value:S}:null},a.get.rgb=function(u){if(!u)return null;var m=/^#([a-f0-9]{3,4})$/i,S=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,w=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,x=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,T=/^(\w+)$/,y=[0,0,0,1],E,A,j;if(E=u.match(S)){for(j=E[2],E=E[1],A=0;A<3;A++){var R=A*2;y[A]=parseInt(E.slice(R,R+2),16)}j&&(y[3]=parseInt(j,16)/255)}else if(E=u.match(m)){for(E=E[1],j=E[3],A=0;A<3;A++)y[A]=parseInt(E[A]+E[A],16);j&&(y[3]=parseInt(j+j,16)/255)}else if(E=u.match(w)){for(A=0;A<3;A++)y[A]=parseInt(E[A+1],0);E[4]&&(E[5]?y[3]=parseFloat(E[4])*.01:y[3]=parseFloat(E[4]))}else if(E=u.match(x)){for(A=0;A<3;A++)y[A]=Math.round(parseFloat(E[A+1])*2.55);E[4]&&(E[5]?y[3]=parseFloat(E[4])*.01:y[3]=parseFloat(E[4]))}else return(E=u.match(T))?E[1]==="transparent"?[0,0,0,0]:r.call(t,E[1])?(y=t[E[1]],y[3]=1,y):null:null;for(A=0;A<3;A++)y[A]=o(y[A],0,255);return y[3]=o(y[3],0,1),y},a.get.hsl=function(u){if(!u)return null;var m=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,S=u.match(m);if(S){var w=parseFloat(S[4]),x=(parseFloat(S[1])%360+360)%360,T=o(parseFloat(S[2]),0,100),y=o(parseFloat(S[3]),0,100),E=o(isNaN(w)?1:w,0,1);return[x,T,y,E]}return null},a.get.hwb=function(u){if(!u)return null;var m=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,S=u.match(m);if(S){var w=parseFloat(S[4]),x=(parseFloat(S[1])%360+360)%360,T=o(parseFloat(S[2]),0,100),y=o(parseFloat(S[3]),0,100),E=o(isNaN(w)?1:w,0,1);return[x,T,y,E]}return null},a.to.hex=function(){var u=e(arguments);return"#"+f(u[0])+f(u[1])+f(u[2])+(u[3]<1?f(Math.round(u[3]*255)):"")},a.to.rgb=function(){var u=e(arguments);return u.length<4||u[3]===1?"rgb("+Math.round(u[0])+", "+Math.round(u[1])+", "+Math.round(u[2])+")":"rgba("+Math.round(u[0])+", "+Math.round(u[1])+", "+Math.round(u[2])+", "+u[3]+")"},a.to.rgb.percent=function(){var u=e(arguments),m=Math.round(u[0]/255*100),S=Math.round(u[1]/255*100),w=Math.round(u[2]/255*100);return u.length<4||u[3]===1?"rgb("+m+"%, "+S+"%, "+w+"%)":"rgba("+m+"%, "+S+"%, "+w+"%, "+u[3]+")"},a.to.hsl=function(){var u=e(arguments);return u.length<4||u[3]===1?"hsl("+u[0]+", "+u[1]+"%, "+u[2]+"%)":"hsla("+u[0]+", "+u[1]+"%, "+u[2]+"%, "+u[3]+")"},a.to.hwb=function(){var u=e(arguments),m="";return u.length>=4&&u[3]!==1&&(m=", "+u[3]),"hwb("+u[0]+", "+u[1]+"%, "+u[2]+"%"+m+")"},a.to.keyword=function(u){return n[u.slice(0,3)]};function o(u,m,S){return Math.min(Math.max(m,u),S)}function f(u){var m=Math.round(u).toString(16).toUpperCase();return m.length<2?"0"+m:m}return $a.exports}var Ya,s9;function Nc(){if(s9)return Ya;s9=1;
37const t=Pc(),e={};for(const i of Object.keys(t))e[t[i]]=i;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Ya=r;for(const i of Object.keys(r)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);const{channels:a,labels:o}=r[i];delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:a}),Object.defineProperty(r[i],"labels",{value:o})}r.rgb.hsl=function(i){const a=i[0]/255,o=i[1]/255,f=i[2]/255,u=Math.min(a,o,f),m=Math.max(a,o,f),S=m-u;let w,x;m===u?w=0:a===m?w=(o-f)/S:o===m?w=2+(f-a)/S:f===m&&(w=4+(a-o)/S),w=Math.min(w*60,360),w<0&&(w+=360);const T=(u+m)/2;return m===u?x=0:T<=.5?x=S/(m+u):x=S/(2-m-u),[w,x*100,T*100]},r.rgb.hsv=function(i){let a,o,f,u,m;const S=i[0]/255,w=i[1]/255,x=i[2]/255,T=Math.max(S,w,x),y=T-Math.min(S,w,x),E=function(A){return(T-A)/6/y+1/2};return y===0?(u=0,m=0):(m=y/T,a=E(S),o=E(w),f=E(x),S===T?u=f-o:w===T?u=1/3+a-f:x===T&&(u=2/3+o-a),u<0?u+=1:u>1&&(u-=1)),[u*360,m*100,T*100]},r.rgb.hwb=function(i){const a=i[0],o=i[1];let f=i[2];const u=r.rgb.hsl(i)[0],m=1/255*Math.min(a,Math.min(o,f));return f=1-1/255*Math.max(a,Math.max(o,f)),[u,m*100,f*100]},r.rgb.cmyk=function(i){const a=i[0]/255,o=i[1]/255,f=i[2]/255,u=Math.min(1-a,1-o,1-f),m=(1-a-u)/(1-u)||0,S=(1-o-u)/(1-u)||0,w=(1-f-u)/(1-u)||0;return[m*100,S*100,w*100,u*100]};function n(i,a){return(i[0]-a[0])**2+(i[1]-a[1])**2+(i[2]-a[2])**2}return r.rgb.keyword=function(i){const a=e[i];if(a)return a;let o=1/0,f;for(const u of Object.keys(t)){const m=t[u],S=n(i,m);S<o&&(o=S,f=u)}return f},r.keyword.rgb=function(i){return t[i]},r.rgb.xyz=function(i){let a=i[0]/255,o=i[1]/255,f=i[2]/255;a=a>.04045?((a+.055)/1.055)**2.4:a/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,f=f>.04045?((f+.055)/1.055)**2.4:f/12.92;const u=a*.4124+o*.3576+f*.1805,m=a*.2126+o*.7152+f*.0722,S=a*.0193+o*.1192+f*.9505;return[u*100,m*100,S*100]},r.rgb.lab=function(i){const a=r.rgb.xyz(i);let o=a[0],f=a[1],u=a[2];o/=95.047,f/=100,u/=108.883,o=o>.008856?o**(1/3):7.787*o+16/116,f=f>.008856?f**(1/3):7.787*f+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;const m=116*f-16,S=500*(o-f),w=200*(f-u);return[m,S,w]},r.hsl.rgb=function(i){const a=i[0]/360,o=i[1]/100,f=i[2]/100;let u,m,S;if(o===0)return S=f*255,[S,S,S];f<.5?u=f*(1+o):u=f+o-f*o;const w=2*f-u,x=[0,0,0];for(let T=0;T<3;T++)m=a+1/3*-(T-1),m<0&&m++,m>1&&m--,6*m<1?S=w+(u-w)*6*m:2*m<1?S=u:3*m<2?S=w+(u-w)*(2/3-m)*6:S=w,x[T]=S*255;return x},r.hsl.hsv=function(i){const a=i[0];let o=i[1]/100,f=i[2]/100,u=o;const m=Math.max(f,.01);f*=2,o*=f<=1?f:2-f,u*=m<=1?m:2-m;const S=(f+o)/2,w=f===0?2*u/(m+u):2*o/(f+o);return[a,w*100,S*100]},r.hsv.rgb=function(i){const a=i[0]/60,o=i[1]/100;let f=i[2]/100;const u=Math.floor(a)%6,m=a-Math.floor(a),S=255*f*(1-o),w=255*f*(1-o*m),x=255*f*(1-o*(1-m));switch(f*=255,u){case 0:return[f,x,S];case 1:return[w,f,S];case 2:return[S,f,x];case 3:return[S,w,f];case 4:return[x,S,f];case 5:return[f,S,w]}},r.hsv.hsl=function(i){const a=i[0],o=i[1]/100,f=i[2]/100,u=Math.max(f,.01);let m,S;S=(2-o)*f;const w=(2-o)*u;return m=o*u,m/=w<=1?w:2-w,m=m||0,S/=2,[a,m*100,S*100]},r.hwb.rgb=function(i){const a=i[0]/360;let o=i[1]/100,f=i[2]/100;const u=o+f;let m;u>1&&(o/=u,f/=u);const S=Math.floor(6*a),w=1-f;m=6*a-S,(S&1)!==0&&(m=1-m);const x=o+m*(w-o);let T,y,E;switch(S){default:case 6:case 0:T=w,y=x,E=o;break;case 1:T=x,y=w,E=o;break;case 2:T=o,y=w,E=x;break;case 3:T=o,y=x,E=w;break;case 4:T=x,y=o,E=w;break;case 5:T=w,y=o,E=x;break}return[T*255,y*255,E*255]},r.cmyk.rgb=function(i){const a=i[0]/100,o=i[1]/100,f=i[2]/100,u=i[3]/100,m=1-Math.min(1,a*(1-u)+u),S=1-Math.min(1,o*(1-u)+u),w=1-Math.min(1,f*(1-u)+u);return[m*255,S*255,w*255]},r.xyz.rgb=function(i){const a=i[0]/100,o=i[1]/100,f=i[2]/100;let u,m,S;return u=a*3.2406+o*-1.5372+f*-.4986,m=a*-.9689+o*1.8758+f*.0415,S=a*.0557+o*-.204+f*1.057,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,m=m>.0031308?1.055*m**(1/2.4)-.055:m*12.92,S=S>.0031308?1.055*S**(1/2.4)-.055:S*12.92,u=Math.min(Math.max(0,u),1),m=Math.min(Math.max(0,m),
371),S=Math.min(Math.max(0,S),1),[u*255,m*255,S*255]},r.xyz.lab=function(i){let a=i[0],o=i[1],f=i[2];a/=95.047,o/=100,f/=108.883,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,f=f>.008856?f**(1/3):7.787*f+16/116;const u=116*o-16,m=500*(a-o),S=200*(o-f);return[u,m,S]},r.lab.xyz=function(i){const a=i[0],o=i[1],f=i[2];let u,m,S;m=(a+16)/116,u=o/500+m,S=m-f/200;const w=m**3,x=u**3,T=S**3;return m=w>.008856?w:(m-16/116)/7.787,u=x>.008856?x:(u-16/116)/7.787,S=T>.008856?T:(S-16/116)/7.787,u*=95.047,m*=100,S*=108.883,[u,m,S]},r.lab.lch=function(i){const a=i[0],o=i[1],f=i[2];let u;u=Math.atan2(f,o)*360/2/Math.PI,u<0&&(u+=360);const S=Math.sqrt(o*o+f*f);return[a,S,u]},r.lch.lab=function(i){const a=i[0],o=i[1],u=i[2]/360*2*Math.PI,m=o*Math.cos(u),S=o*Math.sin(u);return[a,m,S]},r.rgb.ansi16=function(i,a=null){const[o,f,u]=i;let m=a===null?r.rgb.hsv(i)[2]:a;if(m=Math.round(m/50),m===0)return 30;let S=30+(Math.round(u/255)<<2|Math.round(f/255)<<1|Math.round(o/255));return m===2&&(S+=60),S},r.hsv.ansi16=function(i){return r.rgb.ansi16(r.hsv.rgb(i),i[2])},r.rgb.ansi256=function(i){const a=i[0],o=i[1],f=i[2];return a===o&&o===f?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(o/255*5)+Math.round(f/255*5)},r.ansi16.rgb=function(i){let a=i%10;if(a===0||a===7)return i>50&&(a+=3.5),a=a/10.5*255,[a,a,a];const o=(~~(i>50)+1)*.5,f=(a&1)*o*255,u=(a>>1&1)*o*255,m=(a>>2&1)*o*255;return[f,u,m]},r.ansi256.rgb=function(i){if(i>=232){const m=(i-232)*10+8;return[m,m,m]}i-=16;let a;const o=Math.floor(i/36)/5*255,f=Math.floor((a=i%36)/6)/5*255,u=a%6/5*255;return[o,f,u]},r.rgb.hex=function(i){const o=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(o.length)+o},r.hex.rgb=function(i){const a=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];let o=a[0];a[0].length===3&&(o=o.split("").map(w=>w+w).join(""));const f=parseInt(o,16),u=f>>16&255,m=f>>8&255,S=f&255;return[u,m,S]},r.rgb.hcg=function(i){const a=i[0]/255,o=i[1]/255,f=i[2]/255,u=Math.max(Math.max(a,o),f),m=Math.min(Math.min(a,o),f),S=u-m;let w,x;return S<1?w=m/(1-S):w=0,S<=0?x=0:u===a?x=(o-f)/S%6:u===o?x=2+(f-a)/S:x=4+(a-o)/S,x/=6,x%=1,[x*360,S*100,w*100]},r.hsl.hcg=function(i){const a=i[1]/100,o=i[2]/100,f=o<.5?2*a*o:2*a*(1-o);let u=0;return f<1&&(u=(o-.5*f)/(1-f)),[i[0],f*100,u*100]},r.hsv.hcg=function(i){const a=i[1]/100,o=i[2]/100,f=a*o;let u=0;return f<1&&(u=(o-f)/(1-f)),[i[0],f*100,u*100]},r.hcg.rgb=function(i){const a=i[0]/360,o=i[1]/100,f=i[2]/100;if(o===0)return[f*255,f*255,f*255];const u=[0,0,0],m=a%1*6,S=m%1,w=1-S;let x=0;switch(Math.floor(m)){case 0:u[0]=1,u[1]=S,u[2]=0;break;case 1:u[0]=w,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=S;break;case 3:u[0]=0,u[1]=w,u[2]=1;break;case 4:u[0]=S,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=w}return x=(1-o)*f,[(o*u[0]+x)*255,(o*u[1]+x)*255,(o*u[2]+x)*255]},r.hcg.hsv=function(i){const a=i[1]/100,o=i[2]/100,f=a+o*(1-a);let u=0;return f>0&&(u=a/f),[i[0],u*100,f*100]},r.hcg.hsl=function(i){const a=i[1]/100,f=i[2]/100*(1-a)+.5*a;let u=0;return f>0&&f<.5?u=a/(2*f):f>=.5&&f<1&&(u=a/(2*(1-f))),[i[0],u*100,f*100]},r.hcg.hwb=function(i){const a=i[1]/100,o=i[2]/100,f=a+o*(1-a);return[i[0],(f-a)*100,(1-f)*100]},r.hwb.hcg=function(i){const a=i[1]/100,f=1-i[2]/100,u=f-a;let m=0;return u<1&&(m=(f-u)/(1-u)),[i[0],u*100,m*100]},r.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},r.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},r.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},r.gray.hsl=function(i){return[0,0,i[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(i){return[0,100,i[0]]},r.gray.cmyk=function(i){return[0,0,0,i[0]]},r.gray.lab=function(i){return[i[0],0,0]},r.gray.hex=function(i){const a=Math.round(i[0]/100*255)&255,f=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".substring(f.length)+f},r.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]},Ya}var Xa,o9;function Jg(){if(o9)return Xa;o9=1;const t=Nc();function e(){const a={},o=Object.keys(t);for(let f=o.length,u=0;u<f;u++)a[o[u]]={distance:-1,parent:null};return a}function r(a){const o=e(),f=[a];for(o[a].distance=0;f.length;){const u=f.pop(),m=Object.keys(t[u]);for(let S=m.length,w=0;w<S;w++){const x=m[w],T=o[x];T.distance===-1&&(T.distance=o[u].distance+1,T.parent=u,f.unshift(x))}}return o}function n(a,o){return function(f){return o(a(f))}}function i(a,o){const f=[o[a].parent,a];let u=t[o[a].parent][a],m=o[a].parent;for(;o[m].parent;)f.unshift(o[m].parent),u=n(t[o[m].parent][m],u),m=o[m].parent;return u.conversion=f,u}return Xa=function(a){const o=r(a),f={},u=Object.keys(o);for(let m=u.length,S=0;S<m;S++){const w=u[S];o[w].parent!==null&&(f[w]=i(w,o))}return f},Xa}var Ka,a9;function Qg(){if(a9)return Ka;a9=1;const t=Nc(),e=Jg(),r={},n=Object.keys(t);function i(o){const f=function(...u){const m=u[0];return m==null?m:(m.length>1&&(u=m),o(u))};return"conversion"in o&&(f.conversion=o.conversion),f}function a(o){const f=function(...u){const m=u[0];if(m==null)return m;m.length>1&&(u=m);const S=o(u);if(typeof S=="object")for(let w=S.length,x=0;x<w;x++)S[x]=Math.round(S[x]);return S};return"conversion"in o&&(f.conversion=o.conversion),f}
37return n.forEach(o=>{r[o]={},Object.defineProperty(r[o],"channels",{value:t[o].channels}),Object.defineProperty(r[o],"labels",{value:t[o].labels});const f=e(o);Object.keys(f).forEach(m=>{const S=f[m];r[o][m]=a(S),r[o][m].raw=i(S)})}),Ka=r,Ka}var Za,l9;function ey(){if(l9)return Za;l9=1;const t=Zg(),e=Qg(),r=["keyword","gray","hex"],n={};for(const x of Object.keys(e))n[[...e[x].labels].sort().join("")]=x;const i={};function a(x,T){if(!(this instanceof a))return new a(x,T);if(T&&T in r&&(T=null),T&&!(T in e))throw new Error("Unknown model: "+T);let y,E;if(x==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(x instanceof a)this.model=x.model,this.color=[...x.color],this.valpha=x.valpha;else if(typeof x=="string"){const A=t.get(x);if(A===null)throw new Error("Unable to parse color from string: "+x);this.model=A.model,E=e[this.model].channels,this.color=A.value.slice(0,E),this.valpha=typeof A.value[E]=="number"?A.value[E]:1}else if(x.length>0){this.model=T||"rgb",E=e[this.model].channels;const A=Array.prototype.slice.call(x,0,E);this.color=w(A,E),this.valpha=typeof x[E]=="number"?x[E]:1}else if(typeof x=="number")this.model="rgb",this.color=[x>>16&255,x>>
378&255,x&255],this.valpha=1;else{this.valpha=1;const A=Object.keys(x);"alpha"in x&&(A.splice(A.indexOf("alpha"),1),this.valpha=typeof x.alpha=="number"?x.alpha:0);const j=A.sort().join("");if(!(j in n))throw new Error("Unable to parse color from object: "+JSON.stringify(x));this.model=n[j];const{labels:R}=e[this.model],k=[];for(y=0;y<R.length;y++)k.push(x[R[y]]);this.color=w(k)}if(i[this.model])for(E=e[this.model].channels,y=0;y<E;y++){const A=i[this.model][y];A&&(this.color[y]=A(this.color[y]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}a.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(x){let T=this.model in t.to?this:this.rgb();T=T.round(typeof x=="number"?x:1);const y=T.valpha===1?T.color:[...T.color,this.valpha];return t.to[T.model](y)},percentString(x){const T=this.rgb().round(typeof x=="number"?x:1),y=T.valpha===1?T.color:[...T.color,this.valpha];return t.to.rgb.percent(y)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const x={},{channels:T}=e[this.model],{labels:y}=e[this.model];for(let E=0;E<T;E++)x[y[E]]=this.color[E];return this.valpha!==1&&(x.alpha=this.valpha),x},unitArray(){const x=this.rgb().color;return x[0]/=255,x[1]/=255,x[2]/=255,this.valpha!==1&&x.push(this.valpha),x},unitObject(){const x=this.rgb().object();return x.r/=255,x.g/=255,x.b/=255,this.valpha!==1&&(x.alpha=this.valpha),x},round(x){return x=Math.max(x||0,0),new a([...this.color.map(f(x)),this.valpha],this.model)},alpha(x){return x!==void 0?new a([...this.color,Math.max(0,Math.min(1,x))],this.model):this.valpha},red:u("rgb",0,m(255)),green:u("rgb",1,m(255)),blue:u("rgb",2,m(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,x=>(x%360+360)%360),saturationl:u("hsl",1,m(100)),lightness:u("hsl",2,m(100)),saturationv:u("hsv",1,m(100)),value:u("hsv",2,m(100)),chroma:u("hcg",1,m(100)),gray:u("hcg",2,m(100)),white:u("hwb",1,m(100)),wblack:u("hwb",2,m(100)),cyan:u("cmyk",0,m(100)),magenta:u("cmyk",1,m(100)),yellow:u("cmyk",2,m(100)),black:u("cmyk",3,m(100)),x:u("xyz",0,m(95.047)),y:u("xyz",1,m(100)),z:u("xyz",2,m(108.833)),l:u("lab",0,m(100)),a:u("lab",1),b:u("lab",2),keyword(x){return x!==void 0?new a(x):e[this.model].keyword(this.color)},hex(x){return x!==void 0?new a(x):t.to.hex(this.rgb().round().color)}
37,hexa(x){if(x!==void 0)return new a(x);const T=this.rgb().round().color;let y=Math.round(this.valpha*255).toString(16).toUpperCase();return y.length===1&&(y="0"+y),t.to.hex(T)+y},rgbNumber(){const x=this.rgb().color;return(x[0]&255)<<16|(x[1]&255)<<8|x[2]&255},luminosity(){const x=this.rgb().color,T=[];for(const[y,E]of x.entries()){const A=E/255;T[y]=A<=.04045?A/12.92:((A+.055)/1.055)**2.4}return .2126*T[0]+.7152*T[1]+.0722*T[2]},contrast(x){const T=this.luminosity(),y=x.luminosity();return T>y?(T+.05)/(y+.05):(y+.05)/(T+.05)},level(x){const T=this.contrast(x);return T>=7?"AAA":T>=4.5?"AA":""},isDark(){const x=this.rgb().color;return(x[0]*2126+x[1]*7152+x[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const x=this.rgb();for(let T=0;T<3;T++)x.color[T]=255-x.color[T];return x},lighten(x){const T=this.hsl();return T.color[2]+=T.color[2]*x,T},darken(x){const T=this.hsl();return T.color[2]-=T.color[2]*x,T},saturate(x){const T=this.hsl();return T.color[1]+=T.color[1]*x,T},desaturate(x){const T=this.hsl();return T.color[1]-=T.color[1]*x,T},whiten(x){const T=this.hwb();return T.color[1]+=T.color[1]*x,T},blacken(x){const T=this.hwb();return T.color[2]+=T.color[2]*x,T},grayscale(){const x=this.rgb().color,T=x[0]*.3+x[1]*.59+x[2]*.11;return a.rgb(T,T,T)},fade(x){return this.alpha(this.valpha-this.valpha*x)},opaquer(x){return this.alpha(this.valpha+this.valpha*x)},rotate(x){const T=this.hsl();let y=T.color[0];return y=(y+x)%360,y=y<0?360+y:y,T.color[0]=y,T},mix(x,T){if(!x||!x.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof x);const y=x.rgb(),E=this.rgb(),A=T===void 0?.5:T,j=2*A-1,R=y.alpha()-E.alpha(),k=((j*R===-1?j:(j+R)/(1+j*R))+1)/2,B=1-k;return a.rgb(k*y.red()+B*E.red(),k*y.green()+B*E.green(),k*y.blue()+B*E.blue(),y.alpha()*A+E.alpha()*(1-A))}};for(const x of Object.keys(e)){if(r.includes(x))continue;const{channels:T}=e[x];a.prototype[x]=function(...y){return this.model===x?new a(this):y.length>0?new a(y,x):new a([...S(e[this.model][x].raw(this.color)),this.valpha],x)},a[x]=function(...y){let E=y[0];return typeof E=="number"&&(E=w(y,T)),new a(E,x)}}function o(x,T){return Number(x.toFixed(T))}function f(x){return function(T){return o(T,x)}}function u(x,T,y){x=Array.isArray(x)?x:[x];for(const E of x)(i[E]||(i[E]=[]))[T]=y;return x=x[0],function(E){let A;return E!==void 0?(y&&(E=y(E)),A=this[x](),A.color[T]=E,A):(A=this[x]().color[T],y&&(A=y(A)),A)}}function m(x){return function(T){return Math.max(0,Math.min(x,T))}}function S(x){return Array.isArray(x)?x:[x]}function w(x,T){for(let y=0;y<T;y++)typeof x[y]!="number"&&(x[y]=0);return x}return Za=a,Za}var ty=ey();const _c=Ur(ty);class c9{constructor(e,r){this.segmentCount=r,this.postCounts=e}get segments(){return this.selectedSources.map(n=>new Ho(n.type,n.width)).sort((n,i)=>{const a=n.sortColor.hsl().array(),o=i.sortColor.hsl().array();return a[0]-o[0]+a[1]-o[1]+a[2]-o[2]})}get selectedSources(){const e=ki(this.sourcesWithPercentages,i=>i.count>0),r=vr(i=>On(i,"count"),od,i=>O6(i,0,this.segmentCount))(e);if(r.length===0)return[{type:"unknown",width:this.segmentCount}];if(r.length===this.segmentCount)return r;const n=this.segmentCount-r.length;return B6(n,()=>{const i=P6(r,a=>a.count/a.width);i.width+=1}),r}get sourcesWithPercentages(){const e=this.totalPosts;return hr(this.postCounts,(r,n)=>({type:n,count:r,percentage:r/e,width:1}))}get totalPosts(){return r6(Rl(this.postCounts))}}class Ho{static COLORS={tweet:["#74CFED","#2F90B9"],blog:["#ffd140","#e89500"],fbwall:["#2445bd","#0b2ca4"],gplus:["#E065BB","#912470"],msm:["#FF0000","#B60000"],linkedin:["#1E90FF","#00BFFF"],rdt:["#D5E8F0","#B9DDEB"],f1000:["#F4006E","#CB2D2D"],pinterest:["#cc6600","#9c4e00"],qna:["#DEDEDE","#EFEFEF"],video:["#94DB5E","#98C973"],unknown:["#DEDEDE","#EFEFEF"],wikipedia:["#958899","#3b2a3d"],peer_review:["#efefef","#bdbdbd"],weibo:["#e1a400","#df931b"],policy:["#9f79f2","#5b17e8"],book_review:["#5fb441","#33741c"],syllabus:["#a6e8bc","#7cad8d"],patent:["#f27700","#d45029"],guideline:["#A1E3E4","#15BABC"],bluesky:["#70B1FF","#1185FE"],podcast:["#E368EE","#90089C"],seminar:["#FAB7BD","#f24c5b"]};constructor(e,r){this.type=e,this.width=r}get darkColor(){return Ho.COLORS[this.type][1]}get lightColor(){return Ho.COLORS[this.type][0]}get sortColor(){return _c(this.lightColor)}}const Ja=8;class ry extends it.Component{static propTypes={output:ve.instanceOf(Yr).isRequired};constructor(e){super(e),this.state={segmentList:new c9(e.output.counts,Ja)}}render(){return s.jsxs("div",{className:"badge-with-verified-checkbox",children:[this.verifiedTick,s.jsx("div",{className:"Explorer-BarVisualisation",children:s.jsx("svg",{viewBox:"0 0 100 20",children:this.segments})})]})}get segments(){const e=100/Ja;let r=0;return hr(this.state.segmentList.segments,n=>{const i=r*e,a=n.width*e;r+=n.width;const o=I18n.t(n.type,{scope:"Explorer.Highlights.Breakdown.sources",defaultValue:n.type});return s.jsxs("g",{transform:`translate(${i}, 0)`,"data-testid":"bar-visualisation-segment",children:[s.jsx("title",{children:o}),s.jsx("rect",{width:a,height:"20",fill:n.lightColor}),s.jsx("rect",{width:a,height:"4",y:"16",fill:n.darkColor})]},n.type)})}get verifiedTick(){if(this.props.output.verified)return s.jsx("div",{className:"verified-badge",children:s.jsx("div",{className:"icon",role:"img","aria-label":I18n.t("Explorer.Outputs.ResearchOutputItem.verified",{name:window.current_user.institution_name}),title:I18n.t("Explorer.Outputs.ResearchOutputItem.verified",{name:window.current_user.institution_name})})})}UNSAFE_componentWillReceiveProps(e){this.setState({segmentList:new c9(e.output.counts,Ja)})}}const iy=70,ny=2,sy=t=>{Analytics.trackEvent("highlights-open-details-page",{outputId:t.id})},v8=({post:t,outputs:e,visible:r=!1,visibleOutputsCount:n=ny,titleLength:i=iy})=>{const a=St();if(!e.length)return null;const o=u=>({search:cn(Un(a,u))}),f=r?e:e.slice(0,n);return s.jsxs("table",{className:"OutputsList",children:[s.jsx("caption",{className:"visually-hidden",children:I18n.t("Explorer.OutputsList.caption")}),s.jsx("thead",{className:"visually-hidden",children:s.jsxs("tr",{children:[s.jsx("th",{scope:"col",children:I18n.t("Explorer.OutputsList.attention_header")}),s.jsx("th",{scope:"col",children:I18n.t("Explorer.OutputsList.title_header")})]})}),s.jsx("tbody",{children:f.map(u=>{const m=new Yr(u),S=ln(m.title,{length:i,separator:/\W/}),w=()=>sy(m);return s.jsxs("tr",{children:[s.jsx("td",{className:"visualisation",children:s.jsx(Bt,{onClick:w,to:o(m.id),"aria-label":I18n.t("Explorer.OutputsList.view_details",{title:S}),children:s.jsx(ry,{output:m})})}),s.jsx("td",{className:"output",children:s.jsx(Bt,{onClick:w,to:o(m.id),children:S})})]},`${t.id}-${m.id}`)})})]})};v8.propTypes={post:ve.object.isRequired,outputs:ve.array.isRequired,visible:ve.bool,visibleOutputsCount:ve.number,titleLength:ve.
37number};const oy=70,Qa=2;class ay extends it.Component{state={visible:!1};static propTypes={highlight:ve.object};toggleOutputsVisibility=()=>{this.setState({visible:!this.state.visible})};toggleOutputsVisibilityButtonText=e=>this.state.visible?I18n.t("Explorer.Highlights.LatestMentions.show_fewer"):I18n.t("Explorer.Highlights.LatestMentions.cites_more",{count:Math.max(e-Qa,0)});render(){const e=ln(this.props.highlight.title,{length:oy,separator:/\W/}),r=Mr(this.props.highlight.posted_at).utc().format("D MMM YYYY"),n=this.props.highlight.outputs.length;return s.jsxs("div",{className:"NewsHighlight",children:[s.jsx("div",{className:"NewsHighlight-logo",children:s.jsx("img",{src:this.props.highlight.source.logo,alt:this.props.highlight.source.title})}),s.jsxs("a",{className:"NewsHighlight-link",href:this.props.highlight.url,target:"_blank",rel:"noreferrer",children:["Mentioned ",s.jsx(Rc,{date:Mr(r).format("YYYY-MM-DD h:mm A UTC")})," by"," ",this.props.highlight.source.title]}),s.jsx("div",{className:"NewsHighlight-title",children:e}),s.jsxs("div",{className:"NewsHighlight-cites",children:[s.jsx("strong",{children:I18n.t("Explorer.Highlights.NewsHighlights.cites",{count:n})}),n>Qa&&s.jsx("button",{onClick:this.toggleOutputsVisibility,className:"NewsHighlight-toggle",children:this.toggleOutputsVisibilityButtonText(n)}),":",s.jsx(v8,{post:this.props.highlight,outputs:this.props.highlight.outputs,visible:this.state.visible,visibleOutputsCount:Qa})]})]},`${this.props.highlight.id}-highlight`)}}const ly=t=>{const e={...t.filters||{},highlights:!0};return mr(nr(t,e),"/mentions")},cy=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/news_highlights",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=Array.isArray(e)&&e.length>0,a=()=>r===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):s.jsx("div",{className:"Highlights-content Highlights-NewsHighlights-content",children:i?e.map(o=>s.jsx(ay,{highlight:o},`${o.id}-highlight`)):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.NewsHighlights.empty")})},"content");return s.jsxs("div",{className:"Highlights-NewsHighlights Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.NewsHighlights.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[s.jsx(Kr,{children:n?s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"):a()}),i&&s.jsx(Bt,{onClick:()=>Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"news-highlights"}),to:ly(t),className:"Highlights-jump-link","aria-label":I18n.t("Explorer.Highlights.NewsHighlights.title")+" â "+I18n.t("Explorer.Highlights.NewsHighlights.more"),children:I18n.t("Explorer.Highlights.NewsHighlights.more")})]})]})};class S8 extends it.Component{static propTypes={color:ve.string.isRequired,percentage:ve.number.isRequired};render(){const e=this.getPath(0,1),r=this.getPath(0,this.props.percentage),n=new _c(this.props.color).alpha(.2).rgb().string();return s.jsxs("div",{className:"Gauge",children:[s.jsxs("svg",{className:"Gauge-image",viewBox:"-10 -10 120 120",children:[s.jsx("path",{d:e,fill:"none",strokeWidth:"15",stroke:n}),s.jsx("path",{d:r,fill:"none",strokeWidth:"15",stroke:this.props.color})]}),s.jsxs("span",{className:"Gauge-number",children:[bt.formatPercentage(this.props.percentage),s.jsx("sup",{children:"%"})]})]})}getPath(e,r){let i=Math.PI*2*.99,a=i-e*i,o=i-r*i,f,u,m,S;[f,m]=this.angleToCoordinates(a),[u,S]=this.angleToCoordinates(o);let w=a-o>=Math.PI?1:0;return`M ${f} ${m} A 50 50 0 ${w} 1 ${u} ${S}`}angleToCoordinates(e){e=e+Math.PI*.5||0,e=e+.001*Math.PI;let r=50+Math.cos(e)*-50,n=50+Math.sin(e)*50;return[r,n]}}const d9=["#03A9F4","#E91E63","#FFA000","#4CAF50","#673AB7"],dy=(t,e)=>{const r={...t.filters||{},"journal_id[]":[e.id]};return mr(nr(t,r),"/mentions")},hy=()=>{Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"top-journals"})},uy=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/top_journals",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=Array.isArray(e)&&e.length>0,a=(f,u)=>s.jsxs(ti.Item,{children:[s.jsx(S8,{percentage:f.percent,color:d9[u%d9.length]}),s.jsxs("div",{className:"description",children:[s.jsx("div",{className:"title",children:s.jsx(Bt,{to:dy(t,f.journal),children:f.journal.title})}
37),s.jsxs("div",{className:"meta",children:[I18n.htmlSafe("Explorer.Highlights.TopJournals.meta.mentions",{count:f.count,formattedCount:bt.formatStatistic(f.count)}),s.jsx("span",{children:"Â "}),I18n.htmlSafe("Explorer.Highlights.TopJournals.meta.outputs",{count:f.output_count,formattedCount:bt.formatStatistic(f.output_count)})]})]})]},f.journal.id),o=()=>r===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):s.jsx("div",{className:"Highlights-content Highlights-TopJournals-content",children:i?s.jsx(ti,{children:e.map(a)}):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.TopJournals.empty")})},"content");return s.jsxs("div",{className:"Highlights-TopJournals Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.TopJournals.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[s.jsx(Kr,{children:n?s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"):o()}),i&&s.jsx(Bt,{onClick:hy,to:mr(t,"/journals"),className:"Highlights-jump-link",children:I18n.t("Explorer.Highlights.TopJournals.more")})]})]})};var jo={exports:{}},py=jo.exports,h9;function fy(){return h9||(h9=1,(function(t){(function(e,r){t.exports?(r.default=r,t.exports=e&&e.document?r(e):r):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=r(e))})(typeof window<"u"?window:py,function(e){var r={};function n(i,a,o,f){!i.hasOwnProperty(a)&&(i[a]=f.apply(null,o),e&&typeof CustomEvent=="function"&&e.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:a,module:i[a]}})))}return n(r,"Core/Globals.js",[],function(){var i,a;return(a=i||(i={})).SVG_NS="http://www.w3.org/2000/svg",a.product="Highcharts",a.version="11.4.8",a.win=e!==void 0?e:{},a.doc=a.win.document,a.svg=a.doc&&a.doc.createElementNS&&!!a.doc.createElementNS(a.SVG_NS,"svg").createSVGRect,a.userAgent=a.win.navigator&&a.win.navigator.userAgent||"",a.isChrome=a.win.chrome,a.isFirefox=a.userAgent.indexOf("Firefox")!==-1,a.isMS=/(edge|msie|trident)/i.test(a.userAgent)&&!a.win.opera,a.isSafari=!a.isChrome&&a.userAgent.indexOf("Safari")!==-1,a.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(a.userAgent),a.isWebKit=a.userAgent.indexOf("AppleWebKit")!==-1,a.deg2rad=2*Math.PI/360,a.hasBidiBug=a.isFirefox&&4>parseInt(a.userAgent.split("Firefox/")[1],10),a.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],a.noop=function(){},a.supportsPassiveEvents=(function(){let o=!1;if(!a.isMS){let f=Object.defineProperty({},"passive",{get:function(){o=!0}});a.win.addEventListener&&a.win.removeEventListener&&(a.win.addEventListener("testPassive",a.noop,f),a.win.removeEventListener("testPassive",a.noop,f))}return o})(),a.charts=[],a.composed=[],a.dateFormats={},a.seriesTypes={},a.symbolSizes={},a.chartCount=0,i}),n(r,"Core/Utilities.js",[r["Core/Globals.js"]],function(i){let a,{charts:o,doc:f,win:u}=i;function m(d,p,v,b){let M=p?"Highcharts error":"Highcharts warning";d===32&&(d=`${M}: Deprecated member`);let O=A(d),_=O?`${M} #${d}: www.highcharts.com/errors/${d}/`:d.toString();if(b!==void 0){let U="";O&&(_+="?"),N(b,function(q,z){U+=` 38 - ${z}: ${q}`,O&&(_+=encodeURI(z)+"="+encodeURI(q))}),_+=U}F(i,"displayError",{chart:v,code:d,message:_,params:b},function(){if(p)throw Error(_);u.console&&m.messages.indexOf(_)===-1&&console.warn(_)}),m.messages.push(_)}function S(d,p){return parseInt(d,p||10)}function w(d){return typeof d=="string"}function x(d){let p=Object.prototype.toString.call(d);return p==="[object Array]"||p==="[object Array Iterator]"}function T(d,p){return!!d&&typeof d=="object"&&(!p||!x(d))}function y(d){return T(d)&&typeof d.nodeType=="number"}function E(d){let p=d&&d.constructor;return!!(T(d,!0)&&!y(d)&&p&&p.name&&p.name!=="Object")}function A(d){return typeof d=="number"&&!isNaN(d)&&d<1/0&&d>-1/0}function j(d){return d!=null}function R(d,p,v){let b,M=w(p)&&!j(v),O=(_,U)=>{j(_)?d.setAttribute(U,_):M?(b=d.getAttribute(U))||U!=="class"||(b=d.getAttribute(U+"Name")):d.removeAttribute(U)};return w(p)?O(v,p):N(p,O),b}function k(d){return x(d)?d:[d]}function B(d,p){let v;for(v in d||(d={}),p)d[v]=p[v];return d}function L(){let d=arguments,p=d.length;for(let v=0;v<p;v++){let b=d[v];if(b!=null)return b}}function C(d,p){B(d.style,p)}function h(d){return Math.pow(10,Math.floor(Math.log(d)/Math.LN10))}function H(d,p){return d>1e14?d:parseFloat(d.toPrecision(p||14))}(m||(m={})).messages=[],Math.easeInOutSine=function(d){return-.5*(Math.cos(Math.PI*d)-1)};let P=Array.prototype.find?function(d,p){return d.find(p)}:function(d,p){let v,b=d.length;for(v=0;v<b;v++)if(p(d[v],v))return d[v]};function N(d,p,v){for(let b in d)Object.hasOwnProperty.call(d,b)&&p.call(v||d[b],d[b],b,d)}function I(d,p,v){function b(_,U){let q=d.removeEventListener;q&&q.call(d,_,U,!1)}function M(_){let U,q;d.nodeName&&(p?(U={})[p]=!0:U=_,N(U,function(z,J){if(_[J])for(q=_[J].length;q--;)b(J,_[J][q].fn)}))}let O=typeof d=="function"&&d.prototype||d;if(Object.hasOwnProperty.call(O,"hcEvents")){let _=O.hcEvents;if(p){let U=_[p]||[];v?(_[p]=U.filter(function(q){return v!==q.fn}),b(p,v)):(M(_),_[p]=[])}else M(_),delete O.hcEvents}}function F(d,p,v,b){if(v=v||{},f.createEvent&&(d.dispatchEvent||d.fireEvent&&d!==i)){let M=f.createEvent("Events");M.initEvent(p,!0,!0),v=B(M,v),d.dispatchEvent?d.dispatchEvent(v):d.fireEvent(p,v)}else if(d.hcEvents){v.target||B(v,{preventDefault:function(){v.defaultPrevented=!0},target:d,type:p});let M=[],O=d,_=!1;for(;O.hcEvents;)Object.hasOwnProperty.call(O,"hcEvents")&&O.hcEvents[p]&&(M.length&&(_=!0),M.unshift.apply(M,O.hcEvents[p])),O=Object.getPrototypeOf(O);_&&M.sort((U,q)=>U.order-q.order),M.forEach(U=>{U.fn.call(d,v)===!1&&v.preventDefault()})}b&&!v.defaultPrevented&&b.call(d,v)}
38N({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(d,p){i[p]=function(v){return m(32,!1,void 0,{[`Highcharts.${p}`]:`use Array.${d}`}),Array.prototype[d].apply(v,[].slice.call(arguments,1))}});let l=(function(){let d=Math.random().toString(36).substring(2,9)+"-",p=0;return function(){return"highcharts-"+(a?"":d)+p++}})();return u.jQuery&&(u.jQuery.fn.highcharts=function(){let d=[].slice.call(arguments);if(this[0])return d[0]?(new i[w(d[0])?d.shift():"Chart"](this[0],d[0],d[1]),this):o[R(this[0],"data-highcharts-chart")]}),{addEvent:function(d,p,v,b={}){let M=typeof d=="function"&&d.prototype||d;Object.hasOwnProperty.call(M,"hcEvents")||(M.hcEvents={});let O=M.hcEvents;i.Point&&d instanceof i.Point&&d.series&&d.series.chart&&(d.series.chart.runTrackerClick=!0);let _=d.addEventListener;_&&_.call(d,p,v,!!i.supportsPassiveEvents&&{passive:b.passive===void 0?p.indexOf("touch")!==-1:b.passive,capture:!1}),O[p]||(O[p]=[]);let U={fn:v,order:typeof b.order=="number"?b.order:1/0};return O[p].push(U),O[p].sort((q,z)=>q.order-z.order),function(){I(d,p,v)}},arrayMax:function(d){let p=d.length,v=d[0];for(;p--;)d[p]>v&&(v=d[p]);return v},arrayMin:function(d){let p=d.length,v=d[0];for(;p--;)d[p]<v&&(v=d[p]);return v},attr:R,clamp:function(d,p,v){return d>p?d<v?d:v:p},clearTimeout:function(d){j(d)&&clearTimeout(d)},correctFloat:H,createElement:function(d,p,v,b,M){let O=f.createElement(d);return p&&B(O,p),M&&C(O,{padding:"0",border:"none",margin:"0"}),v&&C(O,v),b&&b.appendChild(O),O},crisp:(d,p=0,v)=>{let b=p%2/2,M=v?-1:1;return(Math.round(d*M-b)+b)*M},css:C,defined:j,destroyObjectProperties:function(d,p,v){N(d,function(b,M){b!==p&&b?.destroy&&b.destroy(),(b?.destroy||!v)&&delete d[M]})},diffObjects:function(d,p,v,b){let M={};return(function O(_,U,q,z){let J=v?U:_;N(_,function(te,ce){if(!z&&b&&b.indexOf(ce)>-1&&U[ce]){te=k(te),q[ce]=[];for(let xe=0;xe<Math.max(te.length,U[ce].length);xe++)U[ce][xe]&&(te[xe]===void 0?q[ce][xe]=U[ce][xe]:(q[ce][xe]={},O(te[xe],U[ce][xe],q[ce][xe],z+1)))}else T(te,!0)&&!te.nodeType?(q[ce]=x(te)?[]:{},O(te,U[ce]||{},q[ce],z+1),Object.keys(q[ce]).length!==0||ce==="colorAxis"&&z===0||delete q[ce]):(_[ce]!==U[ce]||ce in _&&!(ce in U))&&ce!=="__proto__"&&ce!=="constructor"&&(q[ce]=J[ce])})})(d,p,M,0),M},discardElement:function(d){d&&d.parentElement&&d.parentElement.removeChild(d)},erase:function(d,p){let v=d.length;for(;v--;)if(d[v]===p){d.splice(v,1);break}},error:m,extend:B,extendClass:function(d,p){let v=function(){};return v.prototype=new d,B(v.prototype,p),v},find:P,fireEvent:F,getClosestDistance:function(d,p){let v,b,M,O=!p;return d.forEach(_=>{if(_.length>1)for(M=_.length-1;M>0;M--)(b=_[M]-_[M-1])<0&&!O?(p?.(),p=void 0):b&&(v===void 0||b<v)&&(v=b)}),v},getMagnitude:h,getNestedProperty:function(d,p){let v=d.split(".");for(;v.length&&j(p);){let b=v.shift();if(b===void 0||b==="__proto__")return;if(b==="this"){let O;return T(p)&&(O=p["@this"]),O??p}let M=p[b];if(!j(M)||typeof M=="function"||typeof M.nodeType=="number"||M===u)return;p=M}return p},getStyle:function d(p,v,b){let M;if(v==="width"){let _=Math.min(p.offsetWidth,p.scrollWidth),U=p.getBoundingClientRect&&p.getBoundingClientRect().width;return U<_&&U>=_-1&&(_=Math.floor(U)),Math.max(0,_-(d(p,"padding-left",!0)||0)-(d(p,"padding-right",!0)||0))}if(v==="height")return Math.max(0,Math.min(p.offsetHeight,p.scrollHeight)-(d(p,"padding-top",!0)||0)-(d(p,"padding-bottom",!0)||0));let O=u.getComputedStyle(p,void 0);return O&&(M=O.getPropertyValue(v),L(b,v!=="opacity")&&(M=S(M))),M},inArray:function(d,p,v){return m(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),p.indexOf(d,v)},insertItem:function(d,p){let v,b=d.options.index,M=p.length;for(v=d.options.isInternal?M:0;v<M+1;v++)if(!p[v]||A(b)&&b<L(p[v].options.index,p[v]._i)||p[v].options.isInternal){p.splice(v,0,d);break}return v},isArray:x,isClass:E,isDOMElement:y,isFunction:function(d){return typeof d=="function"},isNumber:A,isObject:T,isString:w,keys:function(d){return m(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(d)},merge:function(){let d,p=arguments,v={},b=function(O,_){return typeof O!="object"&&(O={}),N(_,function(U,q){q!=="__proto__"&&q!=="constructor"&&(!T(U,!0)||E(U)||y(U)?O[q]=_[q]:O[q]=b(O[q]||{},U))}),O};p[0]===!0&&(v=p[1],p=Array.prototype.slice.call(p,2));let M=p.length;for(d=0;d<M;d++)v=b(v,p[d]);return v},normalizeTickInterval:function(d,p,v,b,M){let O,_=d;v=L(v,h(d));let U=d/v;for(!p&&(p=M?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],b===!1&&(v===1?p=p.filter(function(q){return q%1==0}):v<=.1&&(p=[1/v]))),O=0;O<p.length&&(_=p[O],(!M||!(_*v>=d))&&(M||!(U<=(p[O]+(p[O+1]||p[O]))/2)));O++);return H(_*v,-Math.round(Math.log(.001)/Math.LN10))},objectEach:N,offset:function(d){let p=f.documentElement,v=d.parentElement||d.parentNode?d.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:v.top+(u.pageYOffset||p.scrollTop)-(p.clientTop||0),left
38:v.left+(u.pageXOffset||p.scrollLeft)-(p.clientLeft||0),width:v.width,height:v.height}},pad:function(d,p,v){return Array((p||2)+1-String(d).replace("-","").length).join(v||"0")+d},pick:L,pInt:S,pushUnique:function(d,p){return 0>d.indexOf(p)&&!!d.push(p)},relativeLength:function(d,p,v){return/%$/.test(d)?p*parseFloat(d)/100+(v||0):parseFloat(d)},removeEvent:I,replaceNested:function(d,...p){let v,b;do for(b of(v=d,p))d=d.replace(b[0],b[1]);while(d!==v);return d},splat:k,stableSort:function(d,p){let v,b,M=d.length;for(b=0;b<M;b++)d[b].safeI=b;for(d.sort(function(O,_){return(v=p(O,_))===0?O.safeI-_.safeI:v}),b=0;b<M;b++)delete d[b].safeI},syncTimeout:function(d,p,v){return p>0?setTimeout(d,p,v):(d.call(0,v),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:l,useSerialIds:function(d){return a=L(d,a)},wrap:function(d,p,v){let b=d[p];d[p]=function(){let M=arguments,O=this;return v.apply(this,[function(){return b.apply(O,arguments.length?arguments:M)}].concat([].slice.call(arguments)))}}}}),n(r,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),n(r,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),n(r,"Core/Time.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a){let{win:o}=i,{defined:f,error:u,extend:m,isNumber:S,isObject:w,merge:x,objectEach:T,pad:y,pick:E,splat:A,timeUnits:j}=a,R=i.isSafari&&o.Intl&&o.Intl.DateTimeFormat.prototype.formatRange,k=i.isSafari&&o.Intl&&!o.Intl.DateTimeFormat.prototype.formatRange;class B{constructor(C){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=o.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(C)}get(C,h){if(this.variableTimezone||this.timezoneOffset){let H=h.getTime(),P=H-this.getTimezoneOffset(h);h.setTime(P);let N=h["getUTC"+C]();return h.setTime(H),N}return this.useUTC?h["getUTC"+C]():h["get"+C]()}set(C,h,H){if(this.variableTimezone||this.timezoneOffset){if(C==="Milliseconds"||C==="Seconds"||C==="Minutes"&&this.getTimezoneOffset(h)%36e5==0)return h["setUTC"+C](H);let P=this.getTimezoneOffset(h),N=h.getTime()-P;h.setTime(N),h["setUTC"+C](H);let I=this.getTimezoneOffset(h);return N=h.getTime()+I,h.setTime(N)}return this.useUTC||R&&C==="FullYear"?h["setUTC"+C](H):h["set"+C](H)}update(C={}){let h=E(C.useUTC,!0);this.options=C=x(!0,this.options,C),this.Date=C.Date||o.Date||Date,this.useUTC=h,this.timezoneOffset=h&&C.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=h&&!!(C.getTimezoneOffset||C.timezone)}makeTime(C,h,H,P,N,I){let F,l,d;return this.useUTC?(F=this.Date.UTC.apply(0,arguments),l=this.getTimezoneOffset(F),F+=l,l!==(d=this.getTimezoneOffset(F))?F+=d-l:l-36e5!==this.getTimezoneOffset(F-36e5)||k||(F-=36e5)):F=new this.Date(C,h,E(H,1),E(P,0),E(N,0),E(I,0)).getTime(),F}timezoneOffsetFunction(){let C=this,h=this.options,H=h.getTimezoneOffset;return this.useUTC?h.timezone?P=>{try{let N=`shortOffset,${h.timezone||""}`,[I,F,l,d,p=0]=(B.formatCache[N]=B.formatCache[N]||Intl.DateTimeFormat("en",{timeZone:h.timezone,timeZoneName:"shortOffset"})).format(P).split(/(GMT|:)/).map(Number),v=-(36e5*(l+p/60));if(S(v))return v}catch{u(34)}return 0}:this.useUTC&&H?P=>6e4*H(P.valueOf()):()=>6e4*(C.timezoneOffset||0):P=>6e4*new Date(P.toString()).getTimezoneOffset()}dateFormat(C,h,H){if(!f(h)||isNaN(h))return i.defaultOptions.lang&&i.defaultOptions.lang.invalidDate||"";C=E(C,"%Y-%m-%d %H:%M:%S");let P=this,N=new this.Date(h),I=this.get("Hours",N),F=this.get("Day",N),l=this.get("Date",N),d=this.get("Month",N),p=this.get("FullYear",N),v=i.defaultOptions.lang,b=v&&v.
38weekdays,M=v&&v.shortWeekdays;return T(m({a:M?M[F]:b[F].substr(0,3),A:b[F],d:y(l),e:y(l,2," "),w:F,b:v.shortMonths[d],B:v.months[d],m:y(d+1),o:d+1,y:p.toString().substr(2,2),Y:p,H:y(I),k:I,I:y(I%12||12),l:I%12||12,M:y(this.get("Minutes",N)),p:I<12?"AM":"PM",P:I<12?"am":"pm",S:y(this.get("Seconds",N)),L:y(Math.floor(h%1e3),3)},i.dateFormats),function(O,_){for(;C.indexOf("%"+_)!==-1;)C=C.replace("%"+_,typeof O=="function"?O.call(P,h):O)}),H?C.substr(0,1).toUpperCase()+C.substr(1):C}resolveDTLFormat(C){return w(C,!0)?C:{main:(C=A(C))[0],from:C[1],to:C[2]}}getTimeTicks(C,h,H,P){let N,I,F,l,d=this,p=d.Date,v=[],b={},M=new p(h),O=C.unitRange,_=C.count||1;if(P=E(P,1),f(h)){d.set("Milliseconds",M,O>=j.second?0:_*Math.floor(d.get("Milliseconds",M)/_)),O>=j.second&&d.set("Seconds",M,O>=j.minute?0:_*Math.floor(d.get("Seconds",M)/_)),O>=j.minute&&d.set("Minutes",M,O>=j.hour?0:_*Math.floor(d.get("Minutes",M)/_)),O>=j.hour&&d.set("Hours",M,O>=j.day?0:_*Math.floor(d.get("Hours",M)/_)),O>=j.day&&d.set("Date",M,O>=j.month?1:Math.max(1,_*Math.floor(d.get("Date",M)/_))),O>=j.month&&(d.set("Month",M,O>=j.year?0:_*Math.floor(d.get("Month",M)/_)),I=d.get("FullYear",M)),O>=j.year&&(I-=I%_,d.set("FullYear",M,I)),O===j.week&&(l=d.get("Day",M),d.set("Date",M,d.get("Date",M)-l+P+(l<P?-7:0))),I=d.get("FullYear",M);let U=d.get("Month",M),q=d.get("Date",M),z=d.get("Hours",M);h=M.getTime(),(d.variableTimezone||!d.useUTC)&&f(H)&&(F=H-h>4*j.month||d.getTimezoneOffset(h)!==d.getTimezoneOffset(H));let J=M.getTime();for(N=1;J<H;)v.push(J),O===j.year?J=d.makeTime(I+N*_,0):O===j.month?J=d.makeTime(I,U+N*_):F&&(O===j.day||O===j.week)?J=d.makeTime(I,U,q+N*_*(O===j.day?1:7)):F&&O===j.hour&&_>1?J=d.makeTime(I,U,q,z+N*_):J+=O*_,N++;v.push(J),O<=j.hour&&v.length<1e4&&v.forEach(function(te){te%18e5==0&&d.dateFormat("%H%M%S%L",te)==="000000000"&&(b[te]="day")})}return v.info=m(C,{higherRanks:b,totalRange:O*_}),v}getDateFormat(C,h,H,P){let N=this.dateFormat("%m-%d %H:%M:%S.%L",h),I="01-01 00:00:00.000",F={millisecond:15,second:12,minute:9,hour:6,day:3},l="millisecond",d=l;for(l in j){if(C===j.week&&+this.dateFormat("%w",h)===H&&N.substr(6)===I.substr(6)){l="week";break}if(j[l]>C){l=d;break}if(F[l]&&N.substr(F[l])!==I.substr(F[l]))break;l!=="week"&&(d=l)}return this.resolveDTLFormat(P[l]).main}}return B.formatCache={},B}),n(r,"Core/Defaults.js",[r["Core/Chart/ChartDefaults.js"],r["Core/Globals.js"],r["Core/Color/Palettes.js"],r["Core/Time.js"],r["Core/Utilities.js"]],function(i,a,o,f,u){let{isTouchDevice:m}=a,{fireEvent:S,merge:w}=u,x={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",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"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:i,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:y=>Math.sqrt(1-Math.pow(y-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:m?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">â</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};x.chart.styledMode=!1;let T=new f(x.time);return{defaultOptions:x,defaultTime:T,getOptions:function(){return x},setOptions:function(y){return S(a,"setOptions",{options:y}),w(!0,x,y),(y.time||y.global)&&(a.time?a.time.update(w(x.global,x.time,y.global,y.time)):a.time=T),x}}}),n(r,"Core/Color/Color.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a){let{isNumber:o,merge:f,pInt:u}=a;class m{static parse(w){return w?new m(w):m.None}constructor(w){let x,T,y,E;this.rgba=[NaN,NaN,NaN,NaN],this.input=w;let A=i.Color;if(A&&A!==m)return new A(w);if(typeof w=="object"&&w.stops!==void 0)this.stops=w.stops.map(j=>new m(j[1]));else if(typeof w=="string"){if(this.input=w=m.names[w.toLowerCase()]||w,w.charAt(0)==="#"){let j=w.length,R=parseInt(w.substr(1),16);j===7?T=[(16711680&R)>>16,(65280&R)>>8,255&R,1]:j===4&&(T=[(3840&R)>>4|(3840&R)>>8,(240&R)>>4|240&R,(15&R)<<4|15&R,1])}if(!T)for(y=m.parsers.length;y--&&!T;)(x=(E=m.parsers[y]).regex.exec(w))&&(T=E.parse(x))}T&&(this.rgba=T)}get(w){let x=this.input,T=this.rgba;if(typeof x=="object"&&this.stops!==void 0){let y=f(x);return y.stops=[].slice.call(y.stops),this.stops.forEach((E,A)=>{y.stops[A]=[y.stops[A][0],E.get(w)]}),y}return T&&o(T[0])?w!=="rgb"&&(w||T[3]!==1)?w==="a"?`${T[3]}`:"rgba("+T.join(",")+")":"rgb("+T[0]+","+T[1]+","+T[2]+")":x}brighten(w){let x=this.rgba;if(this.stops)this.stops.forEach(function(T){T.brighten(w)});else if(o(w)&&w!==0)for(let T=0;T<3;T++)x[T]+=u(255*w),x[T]<0&&(x[T]=0),x[T]>255&&(x[T]=255);return this}setOpacity(w){return this.rgba[3]=w,this}tweenTo(w,x){let T=this.rgba,y=w.rgba;if(!o(T[0])||!o(y[0]))return w.input||"none";let E=y[3]!==1||T[3]!==1;return(E?"rgba(":"rgb(")+Math.round(y[0]+(T[0]-y[0])*(1-x))+","+Math.round(y[1]+(T[1]-y[1])*(1-x))+","+Math.round(y[2]+(T[2]-y[2])*(1-x))+(E?","+(y[3]+(T[3]-y[3])*(1-x)):"")+")"}}return m.names={white:"#ffffff",black:"#000000"},m.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(S){return[u(S[1]),u(S[2]),u(S[3]),parseFloat(S[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(S){return[u(S[1]),u(S[2]),u(S[3]),1]}}],m.None=new m(""),m}
38),n(r,"Core/Animation/Fx.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o){let{parse:f}=i,{win:u}=a,{isNumber:m,objectEach:S}=o;class w{constructor(T,y,E){this.pos=NaN,this.options=y,this.elem=T,this.prop=E}dSetter(){let T=this.paths,y=T&&T[0],E=T&&T[1],A=this.now||0,j=[];if(A!==1&&y&&E)if(y.length===E.length&&A<1)for(let R=0;R<E.length;R++){let k=y[R],B=E[R],L=[];for(let C=0;C<B.length;C++){let h=k[C],H=B[C];m(h)&&m(H)&&!(B[0]==="A"&&(C===4||C===5))?L[C]=h+A*(H-h):L[C]=H}j.push(L)}else j=E;else j=this.toD||[];this.elem.attr("d",j,void 0,!0)}update(){let T=this.elem,y=this.prop,E=this.now,A=this.options.step;this[y+"Setter"]?this[y+"Setter"]():T.attr?T.element&&T.attr(y,E,null,!0):T.style[y]=E+this.unit,A&&A.call(T,E,this)}run(T,y,E){let A=this,j=A.options,R=function(L){return!R.stopped&&A.step(L)},k=u.requestAnimationFrame||function(L){setTimeout(L,13)},B=function(){for(let L=0;L<w.timers.length;L++)w.timers[L]()||w.timers.splice(L--,1);w.timers.length&&k(B)};T!==y||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=T,this.end=y,this.unit=E,this.now=this.start,this.pos=0,R.elem=this.elem,R.prop=this.prop,R()&&w.timers.push(R)===1&&k(B)):(delete j.curAnim[this.prop],j.complete&&Object.keys(j.curAnim).length===0&&j.complete.call(this.elem))}step(T){let y,E,A=+new Date,j=this.options,R=this.elem,k=j.complete,B=j.duration,L=j.curAnim;return R.attr&&!R.element?y=!1:T||A>=B+this.startTime?(this.now=this.end,this.pos=1,this.update(),L[this.prop]=!0,E=!0,S(L,function(C){C!==!0&&(E=!1)}),E&&k&&k.call(R),y=!1):(this.pos=j.easing((A-this.startTime)/B),this.now=this.start+(this.end-this.start)*this.pos,this.update(),y=!0),y}initPath(T,y,E){let A=T.startX,j=T.endX,R=E.slice(),k=T.isArea,B=k?2:1,L=y&&E.length>y.length&&E.hasStackedCliffs,C,h,H,P,N=y&&y.slice();if(!N||L)return[R,R];function I(l,d){for(;l.length<h;){let p=l[0],v=d[h-l.length];if(v&&p[0]==="M"&&(v[0]==="C"?l[0]=["C",p[1],p[2],p[1],p[2],p[1],p[2]]:l[0]=["L",p[1],p[2]]),l.unshift(p),k){let b=l.pop();l.push(l[l.length-1],b)}}}function F(l){for(;l.length<h;){let d=l[Math.floor(l.length/B)-1].slice();if(d[0]==="C"&&(d[1]=d[5],d[2]=d[6]),k){let p=l[Math.floor(l.length/B)].slice();l.splice(l.length/2,0,d,p)}else l.push(d)}}if(A&&j&&j.length){for(H=0;H<A.length;H++){if(A[H]===j[0]){C=H;break}if(A[0]===j[j.length-A.length+H]){C=H,P=!0;break}if(A[A.length-1]===j[j.length-A.length+H]){C=A.length-H;break}}C===void 0&&(N=[])}return N.length&&m(C)&&(h=R.length+C*B,P?(I(N,R),F(R)):(I(R,N),F(N))),[N,R]}fillSetter(){w.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,f(this.start).tweenTo(f(this.end),this.pos),void 0,!0)}}return w.timers=[],w}),n(r,"Core/Animation/AnimationUtilities.js",[r["Core/Animation/Fx.js"],r["Core/Utilities.js"]],function(i,a){let{defined:o,getStyle:f,isArray:u,isNumber:m,isObject:S,merge:w,objectEach:x,pick:T}=a;function y(A){return S(A)?w({duration:500,defer:0},A):{duration:A?500:0,defer:0}}function E(A,j){let R=i.timers.length;for(;R--;)i.timers[R].elem!==A||j&&j!==i.timers[R].prop||(i.timers[R].stopped=!0)}return{animate:function(A,j,R){let k,B="",L,C,h;S(R)||(h=arguments,R={duration:h[2],easing:h[3],complete:h[4]}),m(R.duration)||(R.duration=400),R.easing=typeof R.easing=="function"?R.easing:Math[R.easing]||Math.easeInOutSine,R.curAnim=w(j),x(j,function(H,P){E(A,P),C=new i(A,R,P),L=void 0,P==="d"&&u(j.d)?(C.paths=C.initPath(A,A.pathArray,j.d),C.toD=j.d,k=0,L=1):A.attr?k=A.attr(P):(k=parseFloat(f(A,P))||0,P!=="opacity"&&(B="px")),L||(L=H),typeof L=="string"&&L.match("px")&&(L=L.replace(/px/g,"")),C.run(k,L,B)})},animObject:y,getDeferredAnimation:function(A,j,R){let k=y(j),B=R?[R]:A.series,L=0,C=0;return B.forEach(h=>{let H=y(h.options.animation);L=S(j)&&o(j.defer)?k.defer:Math.max(L,H.duration+H.defer),C=Math.min(k.duration,H.duration)}),A.renderer.forExport&&(L=0),{defer:Math.max(0,L-C),duration:Math.min(L,C)}},setAnimation:function(A,j){j.renderer.globalAnimation=T(A,j.options.chart.animation,!0)},stop:E}}),n(r,"Core/Renderer/HTML/AST.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a){let{SVG_NS:o,win:f}=i,{attr:u,createElement:m,css:S,error:w,isFunction:x,isString:T,objectEach:y,splat:E}=a,{trustedTypes:A}=f,j=A&&x(A.createPolicy)&&A.createPolicy("highcharts",{createHTML:L=>L}),R=j?j.createHTML(""):"",k=(function(){try{return!!new DOMParser().parseFromString(R,"text/html")}catch{return!1}})();class B{static filterUserAttributes(C){return y(C,(h,H)=>{let P=!0;B.allowedAttributes.indexOf(H)===-1&&(P=!1),["background","dynsrc","href","lowsrc","src"].indexOf(H)!==-1&&(P=T(h)&&B.allowedReferences.some(N=>h.indexOf(N)===0)),P||(w(33,!1,void 0,{"Invalid attribute in config":`${H}`}),delete C[H]),T(h)&&C[H]&&(C[H]=h.replace(/</g,"<"))}),C}static parseStyle(C){return C.split(";").reduce((h,H)=>{let P=H.split(":").map(I=>I.trim()),N=P.shift();return N&&P.length&&(h[N.replace(/-([a-z])/g,I=>I[1].toUpperCase())]=P.join(":")),h},{})}static setElementHTML(C,h){C.innerHTML=B.emptyHTML,h&&new B(h).addToDOM(C)}constructor(C){this.nodes=typeof C=="string"?this.parseMarkup(C):C}
38addToDOM(C){return(function h(H,P){let N;return E(H).forEach(function(I){let F,l=I.tagName,d=I.textContent?i.doc.createTextNode(I.textContent):void 0,p=B.bypassHTMLFiltering;if(l)if(l==="#text")F=d;else if(B.allowedTags.indexOf(l)!==-1||p){let v=l==="svg"?o:P.namespaceURI||o,b=i.doc.createElementNS(v,l),M=I.attributes||{};y(I,function(O,_){_!=="tagName"&&_!=="attributes"&&_!=="children"&&_!=="style"&&_!=="textContent"&&(M[_]=O)}),u(b,p?M:B.filterUserAttributes(M)),I.style&&S(b,I.style),d&&b.appendChild(d),h(I.children||[],b),F=b}else w(33,!1,void 0,{"Invalid tagName in config":l});F&&P.appendChild(F),N=F}),N})(this.nodes,C)}parseMarkup(C){let h,H=[];if(C=C.trim().replace(/ style=(["'])/g," data-style=$1"),k)h=new DOMParser().parseFromString(j?j.createHTML(C):C,"text/html");else{let N=m("div");N.innerHTML=C,h={body:N}}let P=(N,I)=>{let F=N.nodeName.toLowerCase(),l={tagName:F};F==="#text"&&(l.textContent=N.textContent||"");let d=N.attributes;if(d){let p={};[].forEach.call(d,v=>{v.name==="data-style"?l.style=B.parseStyle(v.value):p[v.name]=v.value}),l.attributes=p}if(N.childNodes.length){let p=[];[].forEach.call(N.childNodes,v=>{P(v,p)}),p.length&&(l.children=p)}I.push(l)};return[].forEach.call(h.body.childNodes,N=>P(N,H)),H}}return B.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],B.allowedReferences=["https://","http://","mailto:","/","../","./","#"],B.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],B.emptyHTML=R,B.bypassHTMLFiltering=!1,B}),n(r,"Core/Templating.js",[r["Core/Defaults.js"],r["Core/Utilities.js"]],function(i,a){let{defaultOptions:o,defaultTime:f}=i,{extend:u,getNestedProperty:m,isArray:S,isNumber:w,isObject:x,pick:T,pInt:y}=a,E={add:(R,k)=>R+k,divide:(R,k)=>k!==0?R/k:"",eq:(R,k)=>R==k,each:function(R){let k=arguments[arguments.length-1];return!!S(R)&&R.map((B,L)=>A(k.body,u(x(B)?B:{"@this":B},{"@index":L,"@first":L===0,"@last":L===R.length-1}))).join("")},ge:(R,k)=>R>=k,gt:(R,k)=>R>k,if:R=>!!R,le:(R,k)=>R<=k,lt:(R,k)=>R<k,multiply:(R,k)=>R*k,ne:(R,k)=>R!=k,subtract:(R,k)=>R-k,unless:R=>!R};function A(R="",k,B){let L=/\{([\w\:\.\,;\-\/<>%@"'â= #\(\)]+)\}/g,C=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,h=[],H=/f$/,P=/\.(\d)/,N=o.lang,I=B&&B.time||f,F=B&&B.numberFormatter||j,l=(M="")=>{let O;return M==="true"||M!=="false"&&((O=Number(M)).toString()===M?O:m(M,k))},d,p,v=0,b;for(;(d=L.exec(R))!==null;){let M=C.exec(d[1]);M&&(d=M,b=!0),p&&p.isBlock||(p={ctx:k,expression:d[1],find:d[0],isBlock:d[1].charAt(0)==="#",start:d.index,startInner:d.index+d[0].length,length:d[0].length});let O=d[1].split(" ")[0].replace("#","");E[O]&&(p.isBlock&&O===p.fn&&v++,p.fn||(p.fn=O));let _=d[1]==="else";if(p.isBlock&&p.fn&&(d[1]===`/${p.fn}`||_))if(v)!_&&v--;else{let U=p.startInner,q=R.substr(U,d.index-U);p.body===void 0?(p.body=q,p.startInner=d.index+d[0].length):p.elseBody=q,p.find+=q+d[0],_||(h.push(p),p=void 0)}else p.isBlock||h.push(p);if(M&&!p?.isBlock)break}return h.forEach(M=>{let O,_,{body:U,elseBody:q,expression:z,fn:J}=M;
38if(J){let te=[M],ce=z.split(" ");for(_=E[J].length;_--;)te.unshift(l(ce[_+1]));O=E[J].apply(k,te),M.isBlock&&typeof O=="boolean"&&(O=A(O?U:q,k,B))}else{let te=z.split(":");if(O=l(te.shift()||""),te.length&&typeof O=="number"){let ce=te.join(":");if(H.test(ce)){let xe=parseInt((ce.match(P)||["","-1"])[1],10);O!==null&&(O=F(O,xe,N.decimalPoint,ce.indexOf(",")>-1?N.thousandsSep:""))}else O=I.dateFormat(ce,O)}}R=R.replace(M.find,T(O,""))}),b?A(R,k,B):R}function j(R,k,B,L){let C,h;R=+R||0,k=+k;let H=o.lang,P=(R.toString().split(".")[1]||"").split("e")[0].length,N=R.toString().split("e"),I=k;k===-1?k=Math.min(P,20):w(k)?k&&N[1]&&N[1]<0&&((h=k+ +N[1])>=0?(N[0]=(+N[0]).toExponential(h).split("e")[0],k=h):(N[0]=N[0].split(".")[0]||0,R=k<20?(N[0]*Math.pow(10,N[1])).toFixed(k):0,N[1]=0)):k=2;let F=(Math.abs(N[1]?N[0]:R)+Math.pow(10,-Math.max(k,P)-1)).toFixed(k),l=String(y(F)),d=l.length>3?l.length%3:0;return B=T(B,H.decimalPoint),L=T(L,H.thousandsSep),C=(R<0?"-":"")+(d?l.substr(0,d)+L:""),0>+N[1]&&!I?C="0":C+=l.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+L),k?C+=B+F.slice(-k):+C==0&&(C="0"),N[1]&&+C!=0&&(C+="e"+N[1]),C}return{dateFormat:function(R,k,B){return f.dateFormat(R,k,B)},format:A,helpers:E,numberFormat:j}}),n(r,"Core/Renderer/RendererRegistry.js",[r["Core/Globals.js"]],function(i){var a,o;let f;return(o=a||(a={})).rendererTypes={},o.getRendererType=function(u=f){return o.rendererTypes[u]||o.rendererTypes[f]},o.registerRendererType=function(u,m,S){o.rendererTypes[u]=m,(!f||S)&&(f=u,i.Renderer=m)},a}),n(r,"Core/Renderer/RendererUtilities.js",[r["Core/Utilities.js"]],function(i){var a;let{clamp:o,pick:f,pushUnique:u,stableSort:m}=i;return(a||(a={})).distribute=function S(w,x,T){let y=w,E=y.reducedLen||x,A=(l,d)=>l.target-d.target,j=[],R=w.length,k=[],B=j.push,L,C,h,H=!0,P,N,I=0,F;for(L=R;L--;)I+=w[L].size;if(I>E){for(m(w,(l,d)=>(d.rank||0)-(l.rank||0)),h=(F=w[0].rank===w[w.length-1].rank)?R/2:-1,C=F?h:R-1;h&&I>E;)P=w[L=Math.floor(C)],u(k,L)&&(I-=P.size),C+=h,F&&C>=w.length&&(h/=2,C=h);k.sort((l,d)=>d-l).forEach(l=>B.apply(j,w.splice(l,1)))}for(m(w,A),w=w.map(l=>({size:l.size,targets:[l.target],align:f(l.align,.5)}));H;){for(L=w.length;L--;)P=w[L],N=(Math.min.apply(0,P.targets)+Math.max.apply(0,P.targets))/2,P.pos=o(N-P.size*P.align,0,x-P.size);for(L=w.length,H=!1;L--;)L>0&&w[L-1].pos+w[L-1].size>w[L].pos&&(w[L-1].size+=w[L].size,w[L-1].targets=w[L-1].targets.concat(w[L].targets),w[L-1].align=.5,w[L-1].pos+w[L-1].size>x&&(w[L-1].pos=x-w[L-1].size),w.splice(L,1),H=!0)}return B.apply(y,j),L=0,w.some(l=>{let d=0;return(l.targets||[]).some(()=>(y[L].pos=l.pos+d,T!==void 0&&Math.abs(y[L].pos-y[L].target)>T?(y.slice(0,L+1).forEach(p=>delete p.pos),y.reducedLen=(y.reducedLen||x)-.1*x,y.reducedLen>.1*x&&S(y,x,T),!0):(d+=y[L].size,L++,!1)))}),m(y,A),y},a}),n(r,"Core/Renderer/SVG/SVGElement.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o,f){let{animate:u,animObject:m,stop:S}=i,{deg2rad:w,doc:x,svg:T,SVG_NS:y,win:E}=o,{addEvent:A,attr:j,createElement:R,crisp:k,css:B,defined:L,erase:C,extend:h,fireEvent:H,isArray:P,isFunction:N,isObject:I,isString:F,merge:l,objectEach:d,pick:p,pInt:v,pushUnique:b,replaceNested:M,syncTimeout:O,uniqueKey:_}=f;class U{_defaultGetter(z){let J=p(this[z+"Value"],this[z],this.element?this.element.getAttribute(z):null,0);return/^-?[\d\.]+$/.test(J)&&(J=parseFloat(J)),J}_defaultSetter(z,J,te){te.setAttribute(J,z)}add(z){let J,te=this.renderer,ce=this.element;return z&&(this.parentGroup=z),this.textStr!==void 0&&this.element.nodeName==="text"&&te.buildText(this),this.added=!0,(!z||z.handleZ||this.zIndex)&&(J=this.zIndexSetter()),J||(z?z.element:te.box).appendChild(ce),this.onAdd&&this.onAdd(),this}addClass(z,J){let te=J?"":this.attr("class")||"";return(z=(z||"").split(/ /g).reduce(function(ce,xe){return te.indexOf(xe)===-1&&ce.push(xe),ce},te?[te]:[]).join(" "))!==te&&this.attr("class",z),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(z,J,te,ce=!0){let xe,V,Y,X,ae={},$=this.renderer,K=$.alignedObjects,Z=!!z;z?(this.alignOptions=z,this.alignByTranslate=J,this.alignTo=te):(z=this.alignOptions||{},J=this.alignByTranslate,te=this.alignTo);let se=!te||F(te)?te||"renderer":void 0;se&&(Z&&b(K,this),te=void 0);let ie=p(te,$[se],$),ne=z.align,oe=z.verticalAlign;return xe=(ie.x||0)+(z.x||0),V=(ie.y||0)+(z.y||0),ne==="right"?Y=1:ne==="center"&&(Y=2),Y&&(xe+=((ie.width||0)-(z.width||0))/Y),ae[J?"translateX":"x"]=Math.round(xe),oe==="bottom"?X=1:oe==="middle"&&(X=2),X&&(V+=((ie.height||0)-(z.height||0))/X),ae[J?"translateY":"y"]=Math.round(V),ce&&(this[this.placed?"animate":"attr"](ae),this.placed=!0),this.alignAttr=ae,this}alignSetter(z){let J={left:"start",center:"middle",right:"end"};J[z]&&(this.alignValue=z,this.element.setAttribute("text-anchor",J[z]))}animate(z,J,te){let ce=m(p(J,this.renderer.globalAnimation,!0)),xe=ce.defer;return x.hidden&&(ce.duration=0),ce.duration!==0?(te&&(ce.complete=te),O(()=>{this.element&&u(this,z,ce)},xe)):(this.attr(z,void 0,te||ce.complete),d(z,function(V,Y){ce.step&&ce.step.call(this,V,{prop:Y,pos:1,elem:this})},this)),this}applyTextOutline(z){let J=this.element;z.indexOf("contrast")!==-1&&(z=z.replace(/contrast/g,this.renderer.getContrast(J.style.fill)));let te=z.split(" "),ce=te[te.length-1],xe=te[0];if(xe&&xe!=="none"&&o.svg){this.fakeTS=!0,xe=xe.replace(/(^[\d\.]+)(.*?)$/g,function($,K,Z){return 2*Number(K)+Z}),this.removeTextOutline();let V=x.createElementNS(y,"tspan");j(V,{class:"highcharts-text-outline",fill:ce,stroke:ce,"stroke-width":xe,"stroke-linejoin":"round"});let Y=J.querySelector("textPath")||J;[].forEach.call(Y.childNodes,$=>{let K=$.cloneNode(!0);K.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(Z=>K.removeAttribute(Z)),V.appendChild(K)});let X=0;[].forEach.call(Y.querySelectorAll("text tspan"),$=>{X+=Number($.getAttribute("dy"))});let ae=x.createElementNS(y,"tspan");ae.textContent="â",j(ae,{x:Number(J.getAttribute("x")),dy:-X}),V.appendChild(ae),Y.insertBefore(V,Y.firstChild)}}attr(z,J,te,ce){let{element:xe}=this,V=U.symbolCustomAttribs,Y,X,ae=this,$;return typeof z=="string"&&J!==void 0&&(Y=z,(z={})[Y]=J),typeof z=="string"?ae=(this[z+"Getter"]||this._defaultGetter).call(this,z,xe):(d(z,function(K,Z){$=!1,ce||S(this,Z),this.symbolName&&V.indexOf(Z)!==-1&&(X||(this.symbolAttr(z),X=!0),$=!0),this.rotation&&(Z==="x"||Z==="y")&&(this.doTransform=!0),$||(this[Z+"Setter"]||this._defaultSetter).call(this,K,Z,xe)},this),this.afterSetters()),te&&te.call(this),ae}clip(z){if(z&&!z.clipPath){let J=_()+"-",te=this.renderer.createElement("clipPath").attr({id:J}).add(this.renderer.defs);h(z,{clipPath:te,id:J,count:0}),z.add(te)}return this.attr("clip-path",z?`url(${this.renderer.url}#${z.id})`:"none")}crisp(z,J){J=Math.round(J||z.strokeWidth||0);let te=z.x||this.x||0,ce=z.y||this.y||0,xe=(z.width||this.width||0)+te,V=(z.height||this.height||0)+ce,Y=k(te,J),X=k(ce,J);return h(z,{x:Y,y:X,width:k(xe,J)-Y,height:k(V,J)-X}),L(z.strokeWidth)&&(z.strokeWidth=J),z}complexColor(z,J,te){let ce=this.renderer,xe,V,Y,X,ae,$,K,Z,se,ie,ne=[],oe;H(this.renderer,"complexColor",{args:arguments},function(){if(z.radialGradient?V="radialGradient":z.linearGradient&&(V="linearGradient"),V){if(Y=z[V],ae=ce.gradients,$=z.stops,se=te.radialReference,P(Y)&&(z[V]=Y={x1:Y[0],y1:Y[1],x2:Y[2],y2:Y[3],gradientUnits:"userSpaceOnUse"}),V==="radialGradient"&&se&&!L(Y.gradientUnits)&&(X=Y,Y=l(Y,ce.getRadialAttr(se,X),{gradientUnits:"userSpaceOnUse"})),d(Y,function(ue,ye){ye!=="id"&&ne.push(ye,ue)}),d($,function(ue){ne.push(ue)}),ae[ne=ne.join(",")])ie=ae[ne].attr("id");else{Y.id=ie=_();let ue=ae[ne]=ce.createElement(V).attr(Y).add(ce.defs);ue.radAttr=X,ue.stops=[],$.forEach(function(ye){ye[1].indexOf("rgba")===0?(K=(xe=a.parse(ye[1])).get("rgb"),Z=xe.get("a")):(K=ye[1],Z=1);let be=ce.createElement("stop").attr({offset:ye[0],"stop-color":K,"stop-opacity":Z}).add(ue);ue.stops.push(be)})}oe="url("+ce.url+"#"+ie+")",te.setAttribute(J,oe),te.gradient=ne,z.toString=function(){return oe}}})}css(z){let J=this.styles,te={},ce=this.element,xe,V=!J;if(J&&d(z,function(Y,X){J&&J[X]!==Y&&(te[X]=Y,V=!0)}),V){J&&(z=h(J,te)),z.width===null||z.width==="auto"?delete this.textWidth:ce.nodeName.toLowerCase()==="text"&&z.width&&(xe=this.textWidth=v(z.width)),h(this.styles,z),xe&&!T&&this.renderer.forExport&&delete z.width;let Y=l(z);ce.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(X=>Y&&delete Y[X]),Y.color&&(Y.fill=Y.color)),B(ce,Y)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),z.textOutline&&this.applyTextOutline(z.textOutline)),this}dashstyleSetter(z){let J,te=this["stroke-width"];if(te==="inherit"&&(te=1),z=z&&z.toLowerCase()){let ce=z.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(J=ce.length;J--;)ce[J]=""+v(ce[J])*p(te,NaN);z=ce.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",z)}}destroy(){let z=this,J=z.element||{},te=z.renderer,ce=J.ownerSVGElement,xe=J.nodeName==="SPAN"&&z.parentGroup||void 0,V,Y;if(J.onclick=J.onmouseout=J.onmouseover=J.onmousemove=J.point=null,S(z),z.clipPath&&ce){let X=z.clipPath;[].forEach.call(ce.querySelectorAll("[clip-path],[CLIP-PATH]"),function(ae){ae.getAttribute("clip-path").indexOf(X.element.i
38d)>-1&&ae.removeAttribute("clip-path")}),z.clipPath=X.destroy()}if(z.connector=z.connector?.destroy(),z.stops){for(Y=0;Y<z.stops.length;Y++)z.stops[Y].destroy();z.stops.length=0,z.stops=void 0}for(z.safeRemoveChild(J);xe&&xe.div&&xe.div.childNodes.length===0;)V=xe.parentGroup,z.safeRemoveChild(xe.div),delete xe.div,xe=V;z.alignOptions&&C(te.alignedObjects,z),d(z,function(X,ae){z[ae]&&z[ae].parentGroup===z&&z[ae].destroy&&z[ae].destroy(),delete z[ae]})}dSetter(z,J,te){P(z)&&(typeof z[0]=="string"&&(z=this.renderer.pathToSegments(z)),this.pathArray=z,z=z.reduce((ce,xe,V)=>xe&&xe.join?(V?ce+" ":"")+xe.join(" "):(xe||"").toString(),"")),/(NaN| {2}|^$)/.test(z)&&(z="M 0 0"),this[J]!==z&&(te.setAttribute(J,z),this[J]=z)}fillSetter(z,J,te){typeof z=="string"?te.setAttribute(J,z):z&&this.complexColor(z,J,te)}hrefSetter(z,J,te){te.setAttributeNS("http://www.w3.org/1999/xlink",J,z)}getBBox(z,J){let te,ce,xe,V,{alignValue:Y,element:X,renderer:ae,styles:$,textStr:K}=this,{cache:Z,cacheKeys:se}=ae,ie=X.namespaceURI===this.SVG_NS,ne=p(J,this.rotation,0),oe=ae.styledMode?X&&U.prototype.getStyle.call(X,"font-size"):$.fontSize;if(L(K)&&((V=K.toString()).indexOf("<")===-1&&(V=V.replace(/\d/g,"0")),V+=["",ae.rootFontSize,oe,ne,this.textWidth,Y,$.textOverflow,$.fontWeight].join(",")),V&&!z&&(te=Z[V]),!te||te.polygon){if(ie||ae.forExport){try{xe=this.fakeTS&&function(ye){let be=X.querySelector(".highcharts-text-outline");be&&B(be,{display:ye})},N(xe)&&xe("none"),te=X.getBBox?h({},X.getBBox()):{width:X.offsetWidth,height:X.offsetHeight,x:0,y:0},N(xe)&&xe("")}catch{}(!te||te.width<0)&&(te={x:0,y:0,width:0,height:0})}else te=this.htmlGetBBox();ce=te.height,ie&&(te.height=ce={"11px,17":14,"13px,20":16}[`${oe||""},${Math.round(ce)}`]||ce),ne&&(te=this.getRotatedBox(te,ne));let ue={bBox:te};H(this,"afterGetBBox",ue),te=ue.bBox}if(V&&(K===""||te.height>0)){for(;se.length>250;)delete Z[se.shift()];Z[V]||se.push(V),Z[V]=te}return te}getRotatedBox(z,J){let{x:te,y:ce,width:xe,height:V}=z,{alignValue:Y,translateY:X,rotationOriginX:ae=0,rotationOriginY:$=0}=this,K={right:1,center:.5}[Y||0]||0,Z=Number(this.element.getAttribute("y")||0)-(X?0:ce),se=J*w,ie=(J-90)*w,ne=Math.cos(se),oe=Math.sin(se),ue=xe*ne,ye=xe*oe,be=Math.cos(ie),Te=Math.sin(ie),[[fe,de],[he,me]]=[ae,$].map(ut=>[ut-ut*ne,ut*oe]),ke=te+K*(xe-ue)+fe+me+Z*be,Ce=ke+ue,Me=Ce-V*be,Pe=Me-ue,Oe=ce+Z-K*ye-de+he+Z*Te,Be=Oe+ye,Ue=Be-V*Te,ze=Ue-ye,$e=Math.min(ke,Ce,Me,Pe),Ze=Math.min(Oe,Be,Ue,ze),Xe=Math.max(ke,Ce,Me,Pe)-$e,Ve=Math.max(Oe,Be,Ue,ze)-Ze;return{x:$e,y:Ze,width:Xe,height:Ve,polygon:[[ke,Oe],[Ce,Be],[Me,Ue],[Pe,ze]]}}getStyle(z){return E.getComputedStyle(this.element||this,"").getPropertyValue(z)}hasClass(z){return(""+this.attr("class")).split(" ").indexOf(z)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(z,J){this.onEvents={},this.opacity=1,this.SVG_NS=y,this.element=J==="span"||J==="body"?R(J):x.createElementNS(this.SVG_NS,J),this.renderer=z,this.styles={},H(this,"afterInit")}on(z,J){let{onEvents:te}=this;return te[z]&&te[z](),te[z]=A(this.element,z,J),this}opacitySetter(z,J,te){let ce=Number(Number(z).toFixed(3));this.opacity=ce,te.setAttribute(J,ce)}reAlign(){this.alignOptions?.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(z){return this.attr("class",(""+this.attr("class")).replace(F(z)?RegExp(`(^| )${z}( |$)`):z," ").replace(/ +/g," ").trim())}removeTextOutline(){let z=this.element.querySelector("tspan.highcharts-text-outline");z&&this.safeRemoveChild(z)}safeRemoveChild(z){let J=z.parentNode;J&&J.removeChild(z)}setRadialReference(z){let J=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=z,J&&J.radAttr&&J.animate(this.renderer.getRadialAttr(z,J.radAttr)),this}shadow(z){let{renderer:J}=this,te=l(this.parentGroup?.rotation===90?{offsetX:-1,offsetY:-1}:{},I(z)?z:{}),ce=J.shadowDefinition(te);return this.attr({filter:z?`url(${J.url}#${ce})`:"none"})}show(z=!0){return this.attr({visibility:z?"inherit":"visible"})}"stroke-widthSetter"(z,J,te){this[J]=z,te.setAttribute(J,z)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let z=this.getStyle("stroke-width"),J=0,te;return/px$/.test(z)?J=v(z):z!==""&&(j(te=x.createElementNS(y,"rect"),{width:z,"stroke-width":0}),this.element.parentNode.appendChild(te),J=te.getBBox().width,te.parentNode.removeChild(te)),J}symbolAttr(z){let J=this;
38U.symbolCustomAttribs.forEach(function(te){J[te]=p(z[te],J[te])}),J.attr({d:J.renderer.symbols[J.symbolName](J.x,J.y,J.width,J.height,J)})}textSetter(z){z!==this.textStr&&(delete this.textPxLength,this.textStr=z,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(z){let J=this.element,te=J.getElementsByTagName("title")[0]||x.createElementNS(this.SVG_NS,"title");J.insertBefore?J.insertBefore(te,J.firstChild):J.appendChild(te),te.textContent=M(p(z,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let z=this.element;return z.parentNode.appendChild(z),this}translate(z,J){return this.attr({translateX:z,translateY:J})}updateTransform(z="transform"){let{element:J,matrix:te,rotation:ce=0,rotationOriginX:xe,rotationOriginY:V,scaleX:Y,scaleY:X,translateX:ae=0,translateY:$=0}=this,K=["translate("+ae+","+$+")"];L(te)&&K.push("matrix("+te.join(",")+")"),ce&&(K.push("rotate("+ce+" "+p(xe,J.getAttribute("x"),0)+" "+p(V,J.getAttribute("y")||0)+")"),this.text?.element.tagName==="SPAN"&&this.text.attr({rotation:ce,rotationOriginX:(xe||0)-this.padding,rotationOriginY:(V||0)-this.padding})),(L(Y)||L(X))&&K.push("scale("+p(Y,1)+" "+p(X,1)+")"),K.length&&!(this.text||this).textPath&&J.setAttribute(z,K.join(" "))}visibilitySetter(z,J,te){z==="inherit"?te.removeAttribute(J):this[J]!==z&&te.setAttribute(J,z),this[J]=z}xGetter(z){return this.element.nodeName==="circle"&&(z==="x"?z="cx":z==="y"&&(z="cy")),this._defaultGetter(z)}zIndexSetter(z,J){let te=this.renderer,ce=this.parentGroup,xe=(ce||te).element||te.box,V=this.element,Y=xe===te.box,X,ae,$,K=!1,Z,se=this.added,ie;if(L(z)?(V.setAttribute("data-z-index",z),z=+z,this[J]===z&&(se=!1)):L(this[J])&&V.removeAttribute("data-z-index"),this[J]=z,se){for((z=this.zIndex)&&ce&&(ce.handleZ=!0),ie=(X=xe.childNodes).length-1;ie>=0&&!K;ie--)Z=!L($=(ae=X[ie]).getAttribute("data-z-index")),ae!==V&&(z<0&&Z&&!Y&&!ie?(xe.insertBefore(V,X[ie]),K=!0):(v($)<=z||Z&&(!L(z)||z>=0))&&(xe.insertBefore(V,X[ie+1]),K=!0));K||(xe.insertBefore(V,X[Y?3:0]),K=!0)}return K}}return U.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],U.prototype.strokeSetter=U.prototype.fillSetter,U.prototype.yGetter=U.prototype.xGetter,U.prototype.matrixSetter=U.prototype.rotationOriginXSetter=U.prototype.rotationOriginYSetter=U.prototype.rotationSetter=U.prototype.scaleXSetter=U.prototype.scaleYSetter=U.prototype.translateXSetter=U.prototype.translateYSetter=U.prototype.verticalAlignSetter=function(q,z){this[z]=q,this.doTransform=!0},U}),n(r,"Core/Renderer/SVG/SVGLabel.js",[r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],function(i,a){let{defined:o,extend:f,isNumber:u,merge:m,pick:S,removeEvent:w}=a;class x extends i{constructor(y,E,A,j,R,k,B,L,C,h){let H;super(y,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=E,this.x=A,this.y=j,this.anchorX=k,this.anchorY=B,this.baseline=C,this.className=h,this.addClass(h==="button"?"highcharts-no-tooltip":"highcharts-label"),h&&this.addClass("highcharts-"+h),this.text=y.text(void 0,0,0,L).attr({zIndex:1}),typeof R=="string"&&((H=/^url\((.*?)\)$/.test(R))||this.renderer.symbols[R])&&(this.symbolKey=R),this.bBox=x.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=y.styledMode||H,this.deferredAttr={},this.alignFactor=0}alignSetter(y){let E={left:0,center:.5,right:1}[y];E!==this.alignFactor&&(this.alignFactor=E,this.bBox&&u(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(y,E){this.anchorX=y,this.boxAttr(E,Math.round(y)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(y,E){this.anchorY=y,this.boxAttr(E,y-this.ySetting)}boxAttr(y,E){this.box?this.box.attr(y,E):this.deferredAttr[y]=E}
38css(y){if(y){let E={};y=m(y),x.textProps.forEach(A=>{y[A]!==void 0&&(E[A]=y[A],delete y[A])}),this.text.css(E),"fontSize"in E||"fontWeight"in E?this.updateTextPadding():("width"in E||"textOverflow"in E)&&this.updateBoxSize()}return i.prototype.css.call(this,y)}destroy(){w(this.element,"mouseenter"),w(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),i.prototype.destroy.call(this)}fillSetter(y,E){y&&(this.needsBox=!0),this.fill=y,this.boxAttr(E,y)}getBBox(y,E){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:A,height:j=0,translateX:R=0,translateY:k=0,width:B=0}=this,L=S(this.paddingLeft,A),C=E??(this.rotation||0),h={width:B,height:j,x:R+this.bBox.x-L,y:k+this.bBox.y-A+this.baselineOffset};return C&&(h=this.getRotatedBox(h,C)),h}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(y){this.heightSetting=y,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:S(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&o(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(y,E){u(y)?y!==this[E]&&(this[E]=y,this.updateTextPadding()):this[E]=void 0}rSetter(y,E){this.boxAttr(E,y)}strokeSetter(y,E){this.stroke=y,this.boxAttr(E,y)}"stroke-widthSetter"(y,E){y&&(this.needsBox=!0),this["stroke-width"]=y,this.boxAttr(E,y)}"text-alignSetter"(y){this.textAlign=y}textSetter(y){y!==void 0&&this.text.attr({text:y}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let y,E=this.text,A={},j=this.padding,R=this.bBox=(!u(this.widthSetting)||!u(this.heightSetting)||this.textAlign)&&o(E.textStr)?E.getBBox(void 0,0):x.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||R.height||0)+2*j;let k=this.renderer.fontMetrics(E);if(this.baselineOffset=j+Math.min((this.text.firstLineMetrics||k).b,R.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-k.h)/2),this.needsBox&&!E.textPath){if(!this.box){let B=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();B.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),B.add(this)}y=this.getCrispAdjust(),A.x=y,A.y=(this.baseline?-this.baselineOffset:0)+y,A.width=Math.round(this.width),A.height=Math.round(this.height),this.box.attr(f(A,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let y=this.text;if(!y.textPath){this.updateBoxSize();let E=this.baseline?0:this.baselineOffset,A=S(this.paddingLeft,this.padding);o(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(A+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(A!==y.x||E!==y.y)&&(y.attr("x",A),y.hasBoxWidthChanged&&(this.bBox=y.getBBox(!0)),E!==void 0&&y.attr("y",E)),y.x=A,y.y=E}}widthSetter(y){this.widthSetting=u(y)?y:void 0,this.doUpdate=!0}getPaddedWidth(){let y=this.padding,E=S(this.paddingLeft,y),A=S(this.paddingRight,y);return(this.widthSetting||this.bBox.width||0)+E+A}xSetter(y){this.x=y,this.alignFactor&&(y-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(y),this.attr("translateX",this.xSetting)}ySetter(y){this.ySetting=this.y=Math.round(y),this.attr("translateY",this.ySetting)}}return x.emptyBBox={width:0,height:0,x:0,y:0},x.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],x}),n(r,"Core/Renderer/SVG/Symbols.js",[r["Core/Utilities.js"]],function(i){let{defined:a,isNumber:o,pick:f}=i;function u(w,x,T,y,E){let A=[];if(E){let j=E.start||0,R=f(E.r,T),k=f(E.r,y||T),B=2e-4/(E.borderRadius?1:Math.max(R,1)),L=Math.abs((E.end||0)-j-2*Math.PI)<B,C=(E.end||0)-(L?B:0),h=E.innerR,H=f(E.open,L),P=Math.cos(j),N=Math.sin(j),I=Math.cos(C),F=Math.sin(C),l=f(E.longArc,C-j-Math.PI<B?0:1),d=["A",R,k,0,l,f(E.clockwise,1),w+R*I,x+k*F];d.params={start:j,end:C,cx:w,cy:x}
38,A.push(["M",w+R*P,x+k*N],d),a(h)&&((d=["A",h,h,0,l,a(E.clockwise)?1-E.clockwise:0,w+h*P,x+h*N]).params={start:C,end:j,cx:w,cy:x},A.push(H?["M",w+h*I,x+h*F]:["L",w+h*I,x+h*F],d)),H||A.push(["Z"])}return A}function m(w,x,T,y,E){return E&&E.r?S(w,x,T,y,E):[["M",w,x],["L",w+T,x],["L",w+T,x+y],["L",w,x+y],["Z"]]}function S(w,x,T,y,E){let A=E?.r||0;return[["M",w+A,x],["L",w+T-A,x],["A",A,A,0,0,1,w+T,x+A],["L",w+T,x+y-A],["A",A,A,0,0,1,w+T-A,x+y],["L",w+A,x+y],["A",A,A,0,0,1,w,x+y-A],["L",w,x+A],["A",A,A,0,0,1,w+A,x],["Z"]]}return{arc:u,callout:function(w,x,T,y,E){let A=Math.min(E&&E.r||0,T,y),j=A+6,R=E&&E.anchorX,k=E&&E.anchorY||0,B=S(w,x,T,y,{r:A});if(!o(R)||R<T&&R>0&&k<y&&k>0)return B;if(w+R>T-j)if(k>x+j&&k<x+y-j)B.splice(3,1,["L",w+T,k-6],["L",w+T+6,k],["L",w+T,k+6],["L",w+T,x+y-A]);else if(R<T){let L=k<x+j,C=L?x:x+y;B.splice(L?2:5,0,["L",R,k],["L",w+T-A,C])}else B.splice(3,1,["L",w+T,y/2],["L",R,k],["L",w+T,y/2],["L",w+T,x+y-A]);else if(w+R<j)if(k>x+j&&k<x+y-j)B.splice(7,1,["L",w,k+6],["L",w-6,k],["L",w,k-6],["L",w,x+A]);else if(R>0){let L=k<x+j,C=L?x:x+y;B.splice(L?1:6,0,["L",R,k],["L",w+A,C])}else B.splice(7,1,["L",w,y/2],["L",R,k],["L",w,y/2],["L",w,x+A]);else k>y&&R<T-j?B.splice(5,1,["L",R+6,x+y],["L",R,x+y+6],["L",R-6,x+y],["L",w+A,x+y]):k<0&&R>j&&B.splice(1,1,["L",R-6,x],["L",R,x-6],["L",R+6,x],["L",T-A,x]);return B},circle:function(w,x,T,y){return u(w+T/2,x+y/2,T/2,y/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(w,x,T,y){return[["M",w+T/2,x],["L",w+T,x+y/2],["L",w+T/2,x+y],["L",w,x+y/2],["Z"]]},rect:m,roundedRect:S,square:m,triangle:function(w,x,T,y){return[["M",w+T/2,x],["L",w+T,x+y],["L",w,x+y],["Z"]]},"triangle-down":function(w,x,T,y){return[["M",w,x],["L",w+T,x],["L",w+T/2,x+y],["Z"]]}}}),n(r,"Core/Renderer/SVG/TextBuilder.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o){let{doc:f,SVG_NS:u,win:m}=a,{attr:S,extend:w,fireEvent:x,isString:T,objectEach:y,pick:E}=o;return class{constructor(A){let j=A.styles;this.renderer=A.renderer,this.svgElement=A,this.width=A.textWidth,this.textLineHeight=j&&j.lineHeight,this.textOutline=j&&j.textOutline,this.ellipsis=!!(j&&j.textOverflow==="ellipsis"),this.noWrap=!!(j&&j.whiteSpace==="nowrap")}buildSVG(){let A=this.svgElement,j=A.element,R=A.renderer,k=E(A.textStr,"").toString(),B=k.indexOf("<")!==-1,L=j.childNodes,C=!A.added&&R.box,h=[k,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,A.getStyle("font-size"),this.width].join(",");if(h!==A.textCache){A.textCache=h,delete A.actualWidth;for(let H=L.length;H--;)j.removeChild(L[H]);if(B||this.ellipsis||this.width||A.textPath||k.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(k))){if(k!==""){C&&C.appendChild(j);let H=new i(k);this.modifyTree(H.nodes),H.addToDOM(j),this.modifyDOM(),this.ellipsis&&(j.textContent||"").indexOf("â¦")!==-1&&A.attr("title",this.unescapeEntities(A.textStr||"",["<",">"])),C&&C.removeChild(j)}}else j.appendChild(f.createTextNode(this.unescapeEntities(k)));T(this.textOutline)&&A.applyTextOutline&&A.applyTextOutline(this.textOutline)}}modifyDOM(){let A,j=this.svgElement,R=S(j.element,"x");for(j.firstLineMetrics=void 0;(A=j.element.firstChild)&&/^[\s\u200B]*$/.test(A.textContent||" ");)j.element.removeChild(A);[].forEach.call(j.element.querySelectorAll("tspan.highcharts-br"),(C,h)=>{C.nextSibling&&C.previousSibling&&(h===0&&C.previousSibling.nodeType===1&&(j.firstLineMetrics=j.renderer.fontMetrics(C.previousSibling)),S(C,{dy:this.getLineHeight(C.nextSibling),x:R}))});let k=this.width||0;if(!k)return;let B=(C,h)=>{let H=C.textContent||"",P=H.replace(/([^\^])-/g,"$1- ").split(" "),N=!this.noWrap&&(P.length>1||j.element.childNodes.length>1),I=this.getLineHeight(h),F=0,l=j.actualWidth;if(this.ellipsis)H&&this.truncate(C,H,void 0,0,Math.max(0,k-.8*I),(d,p)=>d.substring(0,p)+"â¦");else if(N){let d=[],p=[];for(;h.firstChild&&h.firstChild!==C;)p.push(h.firstChild),h.removeChild(h.firstChild);for(;P.length;)P.length&&!this.noWrap&&F>0&&(d.push(C.textContent||""),C.textContent=P.join(" ").replace(/- /g,"-")),this.truncate(C,void 0,P,F===0&&l||0,k,(v,b)=>P.slice(0,b).join(" ").replace(/- /g,"-")),l=j.actualWidth,F++;p.forEach(v=>{h.insertBefore(v,C)}),d.forEach(v=>{h.insertBefore(f.createTextNode(v),C);let b=f.createElementNS(u,"tspan");b.textContent="â",S(b,{dy:I,x:R}),h.insertBefore(b,C)})}},L=C=>
38{[].slice.call(C.childNodes).forEach(h=>{h.nodeType===m.Node.TEXT_NODE?B(h,C):(h.className.baseVal.indexOf("highcharts-br")!==-1&&(j.actualWidth=0),L(h))})};L(j.element)}getLineHeight(A){let j=A.nodeType===m.Node.TEXT_NODE?A.parentElement:A;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(j||this.svgElement.element).h}modifyTree(A){let j=(R,k)=>{let{attributes:B={},children:L,style:C={},tagName:h}=R,H=this.renderer.styledMode;if(h==="b"||h==="strong"?H?B.class="highcharts-strong":C.fontWeight="bold":(h==="i"||h==="em")&&(H?B.class="highcharts-emphasized":C.fontStyle="italic"),C&&C.color&&(C.fill=C.color),h==="br"){B.class="highcharts-br",R.textContent="â";let P=A[k+1];P&&P.textContent&&(P.textContent=P.textContent.replace(/^ +/gm,""))}else h==="a"&&L&&L.some(P=>P.tagName==="#text")&&(R.children=[{children:L,tagName:"tspan"}]);h!=="#text"&&h!=="a"&&(R.tagName="tspan"),w(R,{attributes:B,style:C}),L&&L.filter(P=>P.tagName!=="#text").forEach(j)};A.forEach(j),x(this.svgElement,"afterModifyTree",{nodes:A})}truncate(A,j,R,k,B,L){let C,h,H=this.svgElement,{rotation:P}=H,N=[],I=R?1:0,F=(j||R||"").length,l=F,d=function(p,v){let b=v||p,M=A.parentNode;if(M&&N[b]===void 0&&M.getSubStringLength)try{N[b]=k+M.getSubStringLength(0,R?b+1:b)}catch{}return N[b]};if(H.rotation=0,k+(h=d(A.textContent.length))>B){for(;I<=F;)l=Math.ceil((I+F)/2),R&&(C=L(R,l)),h=d(l,C&&C.length-1),I===F?I=F+1:h>B?F=l-1:I=l;F===0?A.textContent="":j&&F===j.length-1||(A.textContent=C||L(j||R,l))}R&&R.splice(0,l),H.actualWidth=h,H.rotation=P}unescapeEntities(A,j){return y(this.renderer.escapes,function(R,k){j&&j.indexOf(R)!==-1||(A=A.toString().replace(RegExp(R,"g"),k))}),A}}}),n(r,"Core/Renderer/SVG/SVGRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Defaults.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGLabel.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Renderer/SVG/TextBuilder.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w,x,T){let y,{defaultOptions:E}=a,{charts:A,deg2rad:j,doc:R,isFirefox:k,isMS:B,isWebKit:L,noop:C,SVG_NS:h,symbolSizes:H,win:P}=f,{addEvent:N,attr:I,createElement:F,crisp:l,css:d,defined:p,destroyObjectProperties:v,extend:b,isArray:M,isNumber:O,isObject:_,isString:U,merge:q,pick:z,pInt:J,replaceNested:te,uniqueKey:ce}=T;class xe{constructor(Y,X,ae,$,K,Z,se){let ie,ne,oe=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),ue=oe.element;se||oe.css(this.getStyle($||{})),Y.appendChild(ue),I(Y,"dir","ltr"),Y.innerHTML.indexOf("xmlns")===-1&&I(ue,"xmlns",this.SVG_NS),this.box=ue,this.boxWrapper=oe,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(R.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=Z,this.forExport=K,this.styledMode=se,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=oe.getStyle("font-size"),this.setSize(X,ae,!1),k&&Y.getBoundingClientRect&&((ie=function(){d(Y,{left:0,top:0}),ne=Y.getBoundingClientRect(),d(Y,{left:Math.ceil(ne.left)-ne.left+"px",top:Math.ceil(ne.top)-ne.top+"px"})})(),this.unSubPixelFix=N(P,"resize",ie))}definition(Y){return new i([Y]).addToDOM(this.defs.element)}getReferenceURL(){if((k||L)&&R.getElementsByTagName("base").length){if(!p(y)){let Y=ce(),X=new i([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:Y},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${Y})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(R.body);d(X,{position:"fixed",top:0,left:0,zIndex:9e5});let ae=R.elementFromPoint(6,6);y=(ae&&ae.id)==="hitme",R.body.removeChild(X)}if(y)return te(P.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(Y){return this.style=b({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},Y),this.style}setStyle(Y){this.boxWrapper.css(this.getStyle(Y))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let Y=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),v(this.gradients||{}),this.gradients=null,this.defs=Y.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(Y){return new this.Element(this,Y)}getRadialAttr(Y,X){return{cx:Y[0]-Y[2]/2+(X.cx||0)*Y[2],cy:Y[1]-Y[2]/2+(X.cy||0)*Y[2],r:(X.r||0)*Y[2]}}shadowDefinition(Y){let X=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(Y).map($=>`${$}-${Y[$]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),ae=q({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},Y);return this.defs.element.querySelector(`#${X}`)||this.definition({tagName:"filter",attributes:{id:X,filterUnits:ae.filterUnits},children:this.getShadowFilterContent(ae)}),X}getShadowFilterContent(Y){return[{tagName:"feDropShadow",attributes:{dx:Y.offsetX,dy:Y.offsetY,"flood-color":Y.color,"flood-opacity":Math.min(5*Y.opacity,1),stdDeviation:Y.width/2}}]}buildText(Y){new x(Y).buildSVG()}getContrast(Y){let X=o.parse(Y).rgba.map($=>{let K=$/255;return K<=.03928?K/12.92:Math.pow((K+.055)/1.055,2.4)}
vendor: 4,270 bytes, line 38
38),ae=.2126*X[0]+.7152*X[1]+.0722*X[2];return 1.05/(ae+.05)>(ae+.05)/.05?"#FFFFFF":"#000000"}button(Y,X,ae,$,K={},Z,se,ie,ne,oe){let ue=this.label(Y,X,ae,ne,void 0,void 0,oe,void 0,"button"),ye=this.styledMode,be=arguments,Te=0;K=q(E.global.buttonTheme,K),ye&&(delete K.fill,delete K.stroke,delete K["stroke-width"]);let fe=K.states||{},de=K.style||{};delete K.states,delete K.style;let he=[i.filterUserAttributes(K)],me=[de];return ye||["hover","select","disabled"].forEach((ke,Ce)=>{he.push(q(he[0],i.filterUserAttributes(be[Ce+5]||fe[ke]||{}))),me.push(he[Ce+1].style),delete he[Ce+1].style}),N(ue.element,B?"mouseover":"mouseenter",function(){Te!==3&&ue.setState(1)}),N(ue.element,B?"mouseout":"mouseleave",function(){Te!==3&&ue.setState(Te)}),ue.setState=(ke=0)=>{if(ke!==1&&(ue.state=Te=ke),ue.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][ke]),!ye){ue.attr(he[ke]);let Ce=me[ke];_(Ce)&&ue.css(Ce)}},ue.attr(he[0]),!ye&&(ue.css(b({cursor:"default"},de)),oe&&ue.text.css({pointerEvents:"none"})),ue.on("touchstart",ke=>ke.stopPropagation()).on("click",function(ke){Te!==3&&$.call(ue,ke)})}crispLine(Y,X){let[ae,$]=Y;return p(ae[1])&&ae[1]===$[1]&&(ae[1]=$[1]=l(ae[1],X)),p(ae[2])&&ae[2]===$[2]&&(ae[2]=$[2]=l(ae[2],X)),Y}path(Y){let X=this.styledMode?{}:{fill:"none"};return M(Y)?X.d=Y:_(Y)&&b(X,Y),this.createElement("path").attr(X)}circle(Y,X,ae){let $=_(Y)?Y:Y===void 0?{}:{x:Y,y:X,r:ae},K=this.createElement("circle");return K.xSetter=K.ySetter=function(Z,se,ie){ie.setAttribute("c"+se,Z)},K.attr($)}arc(Y,X,ae,$,K,Z){let se;_(Y)?(X=(se=Y).y,ae=se.r,$=se.innerR,K=se.start,Z=se.end,Y=se.x):se={innerR:$,start:K,end:Z};let ie=this.symbol("arc",Y,X,ae,ae,se);return ie.r=ae,ie}rect(Y,X,ae,$,K,Z){let se=_(Y)?Y:Y===void 0?{}:{x:Y,y:X,r:K,width:Math.max(ae||0,0),height:Math.max($||0,0)},ie=this.createElement("rect");return this.styledMode||(Z!==void 0&&(se["stroke-width"]=Z,b(se,ie.crisp(se))),se.fill="none"),ie.rSetter=function(ne,oe,ue){ie.r=ne,I(ue,{rx:ne,ry:ne})},ie.rGetter=function(){return ie.r||0},ie.attr(se)}roundedRect(Y){return this.symbol("roundedRect").attr(Y)}setSize(Y,X,ae){this.width=Y,this.height=X,this.boxWrapper.animate({width:Y,height:X},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:z(ae,!0)?void 0:0}),this.alignElements()}g(Y){let X=this.createElement("g");return Y?X.attr({class:"highcharts-"+Y}):X}image(Y,X,ae,$,K,Z){let se={preserveAspectRatio:"none"};O(X)&&(se.x=X),O(ae)&&(se.y=ae),O($)&&(se.width=$),O(K)&&(se.height=K);let ie=this.createElement("image").attr(se),ne=function(oe){ie.attr({href:Y}),Z.call(ie,oe)};if(Z){ie.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let oe=new P.Image;N(oe,"load",ne),oe.src=Y,oe.complete&&ne({})}else ie.attr({href:Y});return ie}symbol(Y,X,ae,$,K,Z){let se,ie,ne,oe,ue=this,ye=/^url\((.*?)\)$/,be=ye.test(Y),Te=!be&&(this.symbols[Y]?Y:"circle"),fe=Te&&this.symbols[Te];if(fe)typeof X=="number"&&(ie=fe.call(this.symbols,X||0,ae||0,$||0,K||0,Z)),se=this.path(ie),ue.styledMode||se.attr("fill","none"),b(se,{symbolName:Te||void 0,x:X,y:ae,width:$,height:K}),Z&&b(se,Z);else if(be){ne=Y.match(ye)[1];let de=se=this.image(ne);de.imgwidth=z(Z&&Z.width,H[ne]&&H[ne].width),de.imgheight=z(Z&&Z.height,H[ne]&&H[ne].height),oe=he=>he.attr({width:he.width,height:he.height}),["width","height"].forEach(he=>{de[`${he}Setter`]=function(me,ke){this[ke]=me;let{alignByTranslate:Ce,element:Me,width:Pe,height:Oe,imgwidth:Be,imgheight:Ue}=this,ze=ke==="width"?Be:Ue,$e=1;Z&&Z.backgroundSize==="within"&&Pe&&Oe&&Be&&Ue?($e=Math.min(Pe/Be,Oe/Ue),I(Me,{width:Math.round(Be*$e),height:Math.round(Ue*$e)})):Me&&ze&&Me.setAttribute(ke,ze),!Ce&&Be&&Ue&&this.translate(((Pe||0)-Be*$e)/2,((Oe||0)-Ue*$e)/2)}}),p(X)&&de.attr({x:X,y:ae}),de.isImg=!0,de.symbolUrl=Y,p(de.imgwidth)&&p(de.imgheight)?oe(de):(de.attr({width:0,height:0}),F("img",{onload:function(){let he=A[ue.chartIndex];this.width===0&&(d(this,{position:"absolute",top:"-999em"}),R.body.appendChild(this)),H[ne]={width:this.width,height:this.height},de.imgwidth=this.width,de.imgheight=this.height,de.element&&oe(de),this.parentNode&&this.parentNode.removeChild(this),ue.
38imgCount--,ue.imgCount||!he||he.hasLoaded||he.onload()},src:ne}),this.imgCount++)}return se}clipRect(Y,X,ae,$){return this.rect(Y,X,ae,$,0)}text(Y,X,ae,$){let K={};if($&&(this.allowHTML||!this.forExport))return this.html(Y,X,ae);K.x=Math.round(X||0),ae&&(K.y=Math.round(ae)),p(Y)&&(K.text=Y);let Z=this.createElement("text").attr(K);return $&&(!this.forExport||this.allowHTML)||(Z.xSetter=function(se,ie,ne){let oe=ne.getElementsByTagName("tspan"),ue=ne.getAttribute(ie);for(let ye=0,be;ye<oe.length;ye++)(be=oe[ye]).getAttribute(ie)===ue&&be.setAttribute(ie,se);ne.setAttribute(ie,se)}),Z}fontMetrics(Y){let X=J(m.prototype.getStyle.call(Y,"font-size")||0),ae=X<24?X+3:Math.round(1.2*X),$=Math.round(.8*ae);return{h:ae,b:$,f:X}}rotCorr(Y,X,ae){let $=Y;return X&&ae&&($=Math.max($*Math.cos(X*j),4)),{x:-Y/3*Math.sin(X*j),y:$}}pathToSegments(Y){let X=[],ae=[],$={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let K=0;K<Y.length;K++)U(ae[0])&&O(Y[K])&&ae.length===$[ae[0].toUpperCase()]&&Y.splice(K,0,ae[0].replace("M","L").replace("m","l")),typeof Y[K]=="string"&&(ae.length&&X.push(ae.slice(0)),ae.length=0),ae.push(Y[K]);return X.push(ae.slice(0)),X}label(Y,X,ae,$,K,Z,se,ie,ne){return new S(this,Y,X,ae,$,K,Z,se,ie,ne)}alignElements(){this.alignedObjects.forEach(Y=>Y.align())}}return b(xe.prototype,{Element:m,SVG_NS:h,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:w,draw:C}),u.registerRendererType("svg",xe,!0),xe}),n(r,"Core/Renderer/HTML/HTMLElement.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Globals.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],function(i,a,o,f){let{composed:u}=a,{attr:m,css:S,createElement:w,defined:x,extend:T,pInt:y,pushUnique:E}=f;function A(B,L,C){let h=this.div?.style||C.style;o.prototype[`${L}Setter`].call(this,B,L,C),h&&(h[L]=B)}let j=(B,L)=>{if(!B.div){let C=m(B.element,"class"),h=B.css,H=w("div",C?{className:C}:void 0,{position:"absolute",left:`${B.translateX||0}px`,top:`${B.translateY||0}px`,...B.styles,display:B.display,opacity:B.opacity,visibility:B.visibility},B.parentGroup?.div||L);B.classSetter=(P,N,I)=>{I.setAttribute("class",P),H.className=P},B.translateXSetter=B.translateYSetter=(P,N)=>{B[N]=P,H.style[N==="translateX"?"left":"top"]=`${P}px`,B.doTransform=!0},B.opacitySetter=B.visibilitySetter=A,B.css=P=>(h.call(B,P),P.cursor&&(H.style.cursor=P.cursor),P.pointerEvents&&(H.style.pointerEvents=P.pointerEvents),B),B.on=function(){return o.prototype.on.apply({element:H,onEvents:B.onEvents},arguments),B},B.div=H}return B.div};class R extends o{static compose(L){E(u,this.compose)&&(L.prototype.html=function(C,h,H){return new R(this,"span").attr({text:C,x:Math.round(h),y:Math.round(H)})})}
38constructor(L,C){super(L,C),this.css({position:"absolute",...L.styledMode?{}:{fontFamily:L.style.fontFamily,fontSize:L.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(L,C,h){this.xCorr=-L*h,this.yCorr=-C}css(L){let C,{element:h}=this,H=h.tagName==="SPAN"&&L&&"width"in L,P=H&&L.width;return H&&(delete L.width,this.textWidth=y(P)||void 0,C=!0),L?.textOverflow==="ellipsis"&&(L.whiteSpace="nowrap",L.overflow="hidden"),T(this.styles,L),S(h,L),C&&this.updateTransform(),this}htmlGetBBox(){let{element:L}=this;return{x:L.offsetLeft,y:L.offsetTop,width:L.offsetWidth,height:L.offsetHeight}}updateTransform(){if(!this.added){this.alignOnAdd=!0;return}let{element:L,renderer:C,rotation:h,rotationOriginX:H,rotationOriginY:P,styles:N,textAlign:I="left",textWidth:F,translateX:l=0,translateY:d=0,x:p=0,y:v=0}=this,b={left:0,center:.5,right:1}[I],M=N.whiteSpace;if(S(L,{marginLeft:`${l}px`,marginTop:`${d}px`}),L.tagName==="SPAN"){let O=[h,I,L.innerHTML,F,this.textAlign].join(","),_=-(this.parentGroup?.padding*1)||0,U,q=!1;if(F!==this.oldTextWidth){let xe=this.textPxLength?this.textPxLength:(S(L,{width:"",whiteSpace:M||"nowrap"}),L.offsetWidth),V=F||0;(V>this.oldTextWidth||xe>V)&&(/[ \-]/.test(L.textContent||L.innerText)||L.style.textOverflow==="ellipsis")&&(S(L,{width:xe>V||h?F+"px":"auto",display:"block",whiteSpace:M||"normal"}),this.oldTextWidth=F,q=!0)}this.hasBoxWidthChanged=q,O!==this.cTT&&(U=C.fontMetrics(L).b,x(h)&&(h!==(this.oldRotation||0)||I!==this.oldAlign)&&this.setSpanRotation(h,_,_),this.getSpanCorrection(!x(h)&&this.textPxLength||L.offsetWidth,U,b));let{xCorr:z=0,yCorr:J=0}=this,te=(H??p)-z-p-_,ce=(P??v)-J-v-_;S(L,{left:`${p+z}px`,top:`${v+J}px`,transformOrigin:`${te}px ${ce}px`}),this.cTT=O,this.oldRotation=h,this.oldAlign=I}}setSpanRotation(L,C,h){S(this.element,{transform:`rotate(${L}deg)`,transformOrigin:`${C}% ${h}px`})}add(L){let C,h=this.renderer.box.parentNode,H=[];if(this.parentGroup=L,L&&!(C=L.div)){let P=L;for(;P;)H.push(P),P=P.parentGroup;for(let N of H.reverse())C=j(N,h)}return(C||h).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(L){L!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,i.setElementHTML(this.element,L??""),this.textStr=L,this.doTransform=!0)}alignSetter(L){this.alignValue=this.textAlign=L,this.doTransform=!0}xSetter(L,C){this[C]=L,this.doTransform=!0}}let k=R.prototype;return k.visibilitySetter=k.opacitySetter=A,k.ySetter=k.rotationSetter=k.rotationOriginXSetter=k.rotationOriginYSetter=k.xSetter,R}),n(r,"Core/Axis/AxisDefaults.js",[],function(){var i,a;return(a=i||(i={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},a.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:o}=this.axis.chart;return o(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},i}),n(r,"Core/Foundation.js",[r["Core/Utilities.js"]],function(i){var a;let{addEvent:o,isFunction:f,objectEach:u,removeEvent:m}=i;return(a||(a={})).registerEventOptions=function(S,w){S.eventOptions=S.eventOptions||{},u(w.events,function(x,T){S.eventOptions[T]!==x&&(S.eventOptions[T]&&(m(S,T,S.eventOptions[T]),delete S.eventOptions[T]),f(x)&&(S.eventOptions[T]=x,o(S,T,x,{order:0})))})},a}),n(r,"Core/Axis/Tick.js",[r["Core/Templating.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o){let{deg2rad:f}=a,{clamp:u,correctFloat:m,defined:S,destroyObjectProperties:w,extend:x,fireEvent:T,isNumber:y,merge:E,objectEach:A,pick:j}=o;return class{constructor(R,k,B,L,C){this.isNew=!0,this.isNewLabel=!0,this.axis=R,this.pos=k,this.type=B||"",this.parameters=C||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,T(this,"init"),B||L||this.addLabel()}addLabel(){let R=this,k=R.axis,B=k.options,L=k.chart,C=k.categories,h=k.logarithmic,H=k.names,P=R.pos,N=j(R.options&&R.options.labels,B.labels),I=k.tickPositions,F=P===I[0],l=P===I[I.length-1],d=(!N.step||N.step===1)&&k.tickInterval===1,p=I.info,v=R.label,b,M,O,_=this.parameters.category||(C?j(C[P],H[P],P):P);h&&y(_)&&(_=m(h.lin2log(_))),k.dateTime&&(p?b=(M=L.time.resolveDTLFormat(B.dateTimeLabelFormats[!B.grid&&p.higherRanks[P]||p.unitName])).main:y(_)&&(b=k.dateTime.getXDateFormat(_,B.dateTimeLabelFormats||{}))),R.isFirst=F,R.isLast=l;let U={axis:k,chart:L,dateTimeLabelFormat:b,isFirst:F,isLast:l,pos:P,tick:R,tickPositionInfo:p,value:_};T(this,"labelFormat",U);let q=te=>N.formatter?N.formatter.call(te,te):N.format?(te.text=k.defaultLabelFormatter.call(te),i.format(N.format,te,L)):k.defaultLabelFormatter.call(te),z=q.call(U,U),J=M&&M.list;J?R.shortenLabel=function(){for(O=0;O<J.length;O++)if(x(U,{dateTimeLabelFormat:J[O]}),v.attr({text:q.call(U,U)}),v.getBBox().width<k.getSlotWidth(R)-2*(N.padding||0))return;v.attr({text:""})}:R.shortenLabel=void 0,d&&k._addedPlotLB&&R.moveLabel(z,N),S(v)||R.movedLabel?v&&v.textStr!==z&&!d&&(!v.textWidth||N.style.width||v.styles.width||v.css({width:null}),v.attr({text:z}),v.textPxLength=v.getBBox().width):(R.label=v=R.createLabel(z,N),R.rotation=0)}createLabel(R,k,B){let L=this.axis,C=L.chart,h=S(R)&&k.enabled?C.renderer.text(R,B?.x,B?.y,k.useHTML).add(L.labelGroup):void 0;return h&&(C.styledMode||h.css(E(k.style)),h.textPxLength=h.getBBox().width),h}destroy(){w(this,this.axis)}getPosition(R,k,B,L){let C=this.axis,h=C.chart,H=L&&h.oldChartHeight||h.chartHe
38ight,P={x:R?m(C.translate(k+B,void 0,void 0,L)+C.transB):C.left+C.offset+(C.opposite?(L&&h.oldChartWidth||h.chartWidth)-C.right-C.left:0),y:R?H-C.bottom+C.offset-(C.opposite?C.height:0):m(H-C.translate(k+B,void 0,void 0,L)-C.transB)};return P.y=u(P.y,-1e9,1e9),T(this,"afterGetPosition",{pos:P}),P}getLabelPosition(R,k,B,L,C,h,H,P){let N,I,F=this.axis,l=F.transA,d=F.isLinked&&F.linkedParent?F.linkedParent.reversed:F.reversed,p=F.staggerLines,v=F.tickRotCorr||{x:0,y:0},b=L||F.reserveSpaceDefault?0:-F.labelOffset*(F.labelAlign==="center"?.5:1),M=C.distance,O={};return N=F.side===0?B.rotation?-M:-B.getBBox().height:F.side===2?v.y+M:Math.cos(B.rotation*f)*(v.y-B.getBBox(!1,0).height/2),S(C.y)&&(N=F.side===0&&F.horiz?C.y+N:C.y),R=R+j(C.x,[0,1,0,-1][F.side]*M)+b+v.x-(h&&L?h*l*(d?-1:1):0),k=k+N-(h&&!L?h*l*(d?1:-1):0),p&&(I=H/(P||1)%p,F.opposite&&(I=p-I-1),k+=I*(F.labelOffset/p)),O.x=R,O.y=Math.round(k),T(this,"afterGetLabelPosition",{pos:O,tickmarkOffset:h,index:H}),O}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(R,k,B,L,C=!1,h){return h.crispLine([["M",R,k],["L",R+(C?0:-B),k+(C?B:0)]],L)}handleOverflow(R){let k=this.axis,B=k.options.labels,L=R.x,C=k.chart.chartWidth,h=k.chart.spacing,H=j(k.labelLeft,Math.min(k.pos,h[3])),P=j(k.labelRight,Math.max(k.isRadial?0:k.pos+k.len,C-h[1])),N=this.label,I=this.rotation,F={left:0,center:.5,right:1}[k.labelAlign||N.attr("align")],l=N.getBBox().width,d=k.getSlotWidth(this),p={},v=d,b=1,M,O,_;I||B.overflow!=="justify"?I<0&&L-F*l<H?_=Math.round(L/Math.cos(I*f)-H):I>0&&L+F*l>P&&(_=Math.round((C-L)/Math.cos(I*f))):(M=L-F*l,O=L+(1-F)*l,M<H?v=R.x+v*(1-F)-H:O>P&&(v=P-R.x+v*F,b=-1),(v=Math.min(d,v))<d&&k.labelAlign==="center"&&(R.x+=b*(d-v-F*(d-Math.min(l,v)))),(l>v||k.autoRotation&&(N.styles||{}).width)&&(_=v)),_&&(this.shortenLabel?this.shortenLabel():(p.width=Math.floor(_)+"px",(B.style||{}).textOverflow||(p.textOverflow="ellipsis"),N.css(p)))}moveLabel(R,k){let B=this,L=B.label,C=B.axis,h=!1,H;L&&L.textStr===R?(B.movedLabel=L,h=!0,delete B.label):A(C.ticks,function(P){h||P.isNew||P===B||!P.label||P.label.textStr!==R||(B.movedLabel=P.label,h=!0,P.labelPos=B.movedLabel.xy,delete P.label)}),!h&&(B.labelPos||L)&&(H=B.labelPos||L.xy,B.movedLabel=B.createLabel(R,k,H),B.movedLabel&&B.movedLabel.attr({opacity:0}))}render(R,k,B){let L=this.axis,C=L.horiz,h=this.pos,H=j(this.tickmarkOffset,L.tickmarkOffset),P=this.getPosition(C,h,H,k),N=P.x,I=P.y,F=L.pos,l=F+L.len,d=C?N:I;!L.chart.polar&&this.isNew&&(m(d)<F||d>l)&&(B=0);let p=j(B,this.label&&this.label.newOpacity,1);B=j(B,1),this.isActive=!0,this.renderGridLine(k,B),this.renderMark(P,B),this.renderLabel(P,k,p,R),this.isNew=!1,T(this,"afterRender")}renderGridLine(R,k){let B=this.axis,L=B.options,C={},h=this.pos,H=this.type,P=j(this.tickmarkOffset,B.tickmarkOffset),N=B.chart.renderer,I=this.gridLine,F,l=L.gridLineWidth,d=L.gridLineColor,p=L.gridLineDashStyle;this.type==="minor"&&(l=L.minorGridLineWidth,d=L.minorGridLineColor,p=L.minorGridLineDashStyle),I||(B.chart.styledMode||(C.stroke=d,C["stroke-width"]=l||0,C.dashstyle=p),H||(C.zIndex=1),R&&(k=0),this.gridLine=I=N.path().attr(C).addClass("highcharts-"+(H?H+"-":"")+"grid-line").add(B.gridGroup)),I&&(F=B.getPlotLinePath({value:h+P,lineWidth:I.strokeWidth(),force:"pass",old:R,acrossPanes:!1}))&&I[R||this.isNew?"attr":"animate"]({d:F,opacity:k})}renderMark(R,k){let B=this.axis,L=B.options,C=B.chart.renderer,h=this.type,H=B.tickSize(h?h+"Tick":"tick"),P=R.x,N=R.y,I=j(L[h!=="minor"?"tickWidth":"minorTickWidth"],!h&&B.isXAxis?1:0),F=L[h!=="minor"?"tickColor":"minorTickColor"],l=this.mark,d=!l;H&&(B.opposite&&(H[0]=-H[0]),l||(this.mark=l=C.path().addClass("highcharts-"+(h?h+"-":"")+"tick").add(B.axisGroup),B.chart.styledMode||l.attr({stroke:F,"stroke-width":I})),l[d?"attr":"animate"]({d:this.getMarkPath(P,N,H[0],l.strokeWidth(),B.horiz,C),opacity:k}))}renderLabel(R,k,B,L){let C=this.axis,h=C.horiz,H=C.options,P=this.label,N=H.labels,I=N.step,F=j(this.tickmarkOffset,C.tickmarkOffset),l=R.x,d=R.y,p=!0;P&&y(l)&&(P.xy=R=this.getLabelPosition(l,d,P,h,N,F,L,I),(!this.isFirst||this.isLast||H.show
38FirstLabel)&&(!this.isLast||this.isFirst||H.showLastLabel)?!h||N.step||N.rotation||k||B===0||this.handleOverflow(R):p=!1,I&&L%I&&(p=!1),p&&y(R.y)?(R.opacity=B,P[this.isNewLabel?"attr":"animate"](R).show(!0),this.isNewLabel=!1):(P.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let R=this.label,k=this.axis;R&&!this.isNew&&(R.animate({opacity:0},void 0,R.destroy),delete this.label),k.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),n(r,"Core/Axis/Axis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/AxisDefaults.js"],r["Core/Color/Color.js"],r["Core/Defaults.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Axis/Tick.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w){let{animObject:x}=i,{xAxis:T,yAxis:y}=a,{defaultOptions:E}=f,{registerEventOptions:A}=u,{deg2rad:j}=m,{arrayMax:R,arrayMin:k,clamp:B,correctFloat:L,defined:C,destroyObjectProperties:h,erase:H,error:P,extend:N,fireEvent:I,getClosestDistance:F,insertItem:l,isArray:d,isNumber:p,isString:v,merge:b,normalizeTickInterval:M,objectEach:O,pick:_,relativeLength:U,removeEvent:q,splat:z,syncTimeout:J}=w,te=(xe,V)=>M(V,void 0,void 0,_(xe.options.allowDecimals,V<.5||xe.tickAmount!==void 0),!!xe.tickAmount);N(E,{xAxis:T,yAxis:b(T,y)});class ce{constructor(V,Y,X){this.init(V,Y,X)}init(V,Y,X=this.coll){let ae=X==="xAxis",$=this.isZAxis||(V.inverted?!ae:ae);this.chart=V,this.horiz=$,this.isXAxis=ae,this.coll=X,I(this,"init",{userOptions:Y}),this.opposite=_(Y.opposite,this.opposite),this.side=_(Y.side,this.side,$?this.opposite?0:2:this.opposite?1:3),this.setOptions(Y);let K=this.options,Z=K.labels;this.type??(this.type=K.type||"linear"),this.uniqueNames??(this.uniqueNames=K.uniqueNames??!0),I(this,"afterSetType"),this.userOptions=Y,this.minPixelPadding=0,this.reversed=_(K.reversed,this.reversed),this.visible=K.visible,this.zoomEnabled=K.zoomEnabled,this.hasNames=this.type==="category"||K.categories===!0,this.categories=d(K.categories)&&K.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=C(K.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=K.minRange||K.maxZoom,this.range=K.range,this.offset=K.offset||0,this.max=void 0,this.min=void 0;let se=_(K.crosshair,z(V.options.tooltip.crosshairs)[ae?0:1]);this.crosshair=se===!0?{}:se,V.axes.indexOf(this)===-1&&(ae?V.axes.splice(V.xAxis.length,0,this):V.axes.push(this),l(this,V[this.coll])),V.orderItems(this.coll),this.series=this.series||[],V.inverted&&!this.isZAxis&&ae&&!C(this.reversed)&&(this.reversed=!0),this.labelRotation=p(Z.rotation)?Z.rotation:void 0,A(this,K),I(this,"afterInit")}setOptions(V){let Y=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=b(Y,E[this.coll],V),I(this,"afterSetOptions",{userOptions:V})}defaultLabelFormatter(){let V=this.axis,{numberFormatter:Y}=this.chart,X=p(this.value)?this.value:NaN,ae=V.chart.time,$=V.categories,K=this.dateTimeLabelFormat,Z=E.lang,se=Z.numericSymbols,ie=Z.numericSymbolMagnitude||1e3,ne=V.logarithmic?Math.abs(X):V.tickInterval,oe=se&&se.length,ue,ye;if($)ye=`${this.value}`;else if(K)ye=ae.dateFormat(K,X);else if(oe&&se&&ne>=1e3)for(;oe--&&ye===void 0;)ne>=(ue=Math.pow(ie,oe+1))&&10*X%ue==0&&se[oe]!==null&&X!==0&&(ye=Y(X/ue,-1)+se[oe]);return ye===void 0&&(ye=Math.abs(X)>=1e4?Y(X,-1):Y(X,-1,void 0,"")),ye}getSeriesExtremes(){let V,Y=this;I(this,"getSeriesExtremes",null,function(){Y.hasVisibleSeries=!1,Y.dataMin=Y.dataMax=Y.threshold=void 0,Y.softThreshold=!Y.isXAxis,Y.series.forEach(X=>{if(X.reserveSpace()){let ae=X.options,$,K=ae.threshold,Z,se;if(Y.hasVisibleSeries=!0,Y.positiveValuesOnly&&0>=(K||0)&&(K=void 0),Y.isXAxis)($=X.xData)&&$.length&&($=Y.logarithmic?$.filter(ie=>ie>0):$,Z=(V=X.getXExtremes($)).min,se=V.max,p(Z)||Z instanceof Date||($=$.filter(p),Z=(V=X.getXExtremes($)).min,se=V.max),$.length&&(Y.dataMin=Math.min(_(Y.dataMin,Z),Z),Y.dataMax=Math.max(_(Y.dataMax,se),se)));else{let ie=X.applyExtremes();p(ie.dataMin)&&(Z=ie.dataMin,Y.dataMin=Math.min(_(Y.dataMin,Z),Z)),p(ie.dataMax)&&(se=ie.dataMax,Y.dataMax=Math.max(_(Y.dataMax,se),se)),C(K)&&(Y.threshold=K),(!ae.softThreshold||Y.positiveValuesOnly)&&
38(Y.softThreshold=!1)}}})}),I(this,"afterGetSeriesExtremes")}translate(V,Y,X,ae,$,K){let Z=this.linkedParent||this,se=ae&&Z.old?Z.old.min:Z.min;if(!p(se))return NaN;let ie=Z.minPixelPadding,ne=(Z.isOrdinal||Z.brokenAxis?.hasBreaks||Z.logarithmic&&$)&&Z.lin2val,oe=1,ue=0,ye=ae&&Z.old?Z.old.transA:Z.transA,be=0;return ye||(ye=Z.transA),X&&(oe*=-1,ue=Z.len),Z.reversed&&(oe*=-1,ue-=oe*(Z.sector||Z.len)),Y?(be=(V=V*oe+ue-ie)/ye+se,ne&&(be=Z.lin2val(be))):(ne&&(V=Z.val2lin(V)),be=oe*(V-se)*ye+ue+oe*ie+(p(K)?ye*K:0),Z.isRadial||(be=L(be))),be}toPixels(V,Y){return this.translate(V,!1,!this.horiz,void 0,!0)+(Y?0:this.pos)}toValue(V,Y){return this.translate(V-(Y?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(V){let Y=this,X=Y.chart,ae=Y.left,$=Y.top,K=V.old,Z=V.value,se=V.lineWidth,ie=K&&X.oldChartHeight||X.chartHeight,ne=K&&X.oldChartWidth||X.chartWidth,oe=Y.transB,ue=V.translatedValue,ye=V.force,be,Te,fe,de,he;function me(Ce,Me,Pe){return ye!=="pass"&&(Ce<Me||Ce>Pe)&&(ye?Ce=B(Ce,Me,Pe):he=!0),Ce}let ke={value:Z,lineWidth:se,old:K,force:ye,acrossPanes:V.acrossPanes,translatedValue:ue};return I(this,"getPlotLinePath",ke,function(Ce){be=fe=(ue=B(ue=_(ue,Y.translate(Z,void 0,void 0,K)),-1e9,1e9))+oe,Te=de=ie-ue-oe,p(ue)?Y.horiz?(Te=$,de=ie-Y.bottom+(Y.options.isInternal?0:X.scrollablePixelsY||0),be=fe=me(be,ae,ae+Y.width)):(be=ae,fe=ne-Y.right+(X.scrollablePixelsX||0),Te=de=me(Te,$,$+Y.height)):(he=!0,ye=!1),Ce.path=he&&!ye?void 0:X.renderer.crispLine([["M",be,Te],["L",fe,de]],se||1)}),ke.path}getLinearTickPositions(V,Y,X){let ae,$,K,Z=L(Math.floor(Y/V)*V),se=L(Math.ceil(X/V)*V),ie=[];if(L(Z+V)===Z&&(K=20),this.single)return[Y];for(ae=Z;ae<=se&&(ie.push(ae),(ae=L(ae+V,K))!==$);)$=ae;return ie}getMinorTickInterval(){let{minorTicks:V,minorTickInterval:Y}=this.options;return V===!0?_(Y,"auto"):V!==!1?Y:void 0}getMinorTickPositions(){let V=this.options,Y=this.tickPositions,X=this.minorTickInterval,ae=this.pointRangePadding||0,$=(this.min||0)-ae,K=(this.max||0)+ae,Z=K-$,se=[],ie;if(Z&&Z/X<this.len/3){let ne=this.logarithmic;if(ne)this.paddedTicks.forEach(function(oe,ue,ye){ue&&se.push.apply(se,ne.getLogTickPositions(X,ye[ue-1],ye[ue],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")se=se.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(X),$,K,V.startOfWeek));else for(ie=$+(Y[0]-$)%X;ie<=K&&ie!==se[0];ie+=X)se.push(ie)}return se.length!==0&&this.trimTicks(se),se}adjustForMinRange(){let V=this.options,Y=this.logarithmic,{max:X,min:ae,minRange:$}=this,K,Z,se,ie;this.isXAxis&&$===void 0&&!Y&&($=C(V.min)||C(V.max)||C(V.floor)||C(V.ceiling)?null:Math.min(5*(F(this.series.map(ne=>(ne.xIncrement?ne.xData?.slice(0,2):ne.xData)||[]))||0),this.dataMax-this.dataMin)),p(X)&&p(ae)&&p($)&&X-ae<$&&(Z=this.dataMax-this.dataMin>=$,K=($-X+ae)/2,se=[ae-K,_(V.min,ae-K)],Z&&(se[2]=Y?Y.log2lin(this.dataMin):this.dataMin),ie=[(ae=R(se))+$,_(V.max,ae+$)],Z&&(ie[2]=Y?Y.log2lin(this.dataMax):this.dataMax),(X=k(ie))-ae<$&&(se[0]=X-$,se[1]=_(V.min,X-$),ae=R(se))),this.minRange=$,this.min=ae,this.max=X}getClosest(){let V,Y;if(this.categories)Y=1;else{let X=[];this.series.forEach(function(ae){let $=ae.closestPointRange;ae.xData?.length===1?X.push(ae.xData[0]):!ae.noSharedTooltip&&C($)&&ae.reserveSpace()&&(Y=C(Y)?Math.min(Y,$):$)}),X.length&&(X.sort((ae,$)=>ae-$),V=F([X]))}return V&&Y?Math.min(V,Y):V||Y}nameToX(V){let Y=d(this.options.categories),X=Y?this.categories:this.names,ae=V.options.x,$;return V.series.requireSorting=!1,C(ae)||(ae=this.uniqueNames&&X?Y?X.indexOf(V.name):_(X.keys[V.name],-1):V.series.autoIncrement()),ae===-1?!Y&&X&&($=X.length):$=ae,$!==void 0?(this.names[$]=V.name,this.names.keys[V.name]=$):V.x&&($=V.x),$}updateNames(){let V=this,Y=this.names;Y.length>0&&(Object.keys(Y.keys).forEach(function(X){delete Y.keys[X]}),Y.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(X=>{X.xIncrement=null,(!X.points||X.isDirtyData)&&(V.max=Math.max(V.max,X.xData.length-1),X.processData(),X.generatePoints()),X.data.forEach(function(ae,$){let K;ae?.options&&ae.name!==void 0&&(K=V.nameToX(ae))!==void 0&&K!==ae.x&&(ae.x=K,X.xData[$]=K)})}))}setAxisTranslation(){let V=this,Y=V.max-V.min,X=V.linkedParent,ae=!!V.categories,$=V.isXAxis,K=V.axisPointRange||0,Z,se=0,ie=0,ne,oe=V.transA;($||ae||K)&&(Z=V.getClosest(),X?(se=X.minPointOffset,ie=X.pointRangePadding):V.series.forEac
38h(function(ue){let ye=ae?1:$?_(ue.options.pointRange,Z,0):V.axisPointRange||0,be=ue.options.pointPlacement;if(K=Math.max(K,ye),!V.single||ae){let Te=ue.is("xrange")?!$:$;se=Math.max(se,Te&&v(be)?0:ye/2),ie=Math.max(ie,Te&&be==="on"?0:ye)}}),ne=V.ordinal&&V.ordinal.slope&&Z?V.ordinal.slope/Z:1,V.minPointOffset=se*=ne,V.pointRangePadding=ie*=ne,V.pointRange=Math.min(K,V.single&&ae?1:Y),$&&Z&&(V.closestPointRange=Z)),V.translationSlope=V.transA=oe=V.staticScale||V.len/(Y+ie||1),V.transB=V.horiz?V.left:V.bottom,V.minPixelPadding=oe*se,I(this,"afterSetAxisTranslation")}minFromRange(){let{max:V,min:Y}=this;return p(V)&&p(Y)&&V-Y||void 0}setTickInterval(V){let{categories:Y,chart:X,dataMax:ae,dataMin:$,dateTime:K,isXAxis:Z,logarithmic:se,options:ie,softThreshold:ne}=this,oe=p(this.threshold)?this.threshold:void 0,ue=this.minRange||0,{ceiling:ye,floor:be,linkedTo:Te,softMax:fe,softMin:de}=ie,he=p(Te)&&X[this.coll]?.[Te],me=ie.tickPixelInterval,ke=ie.maxPadding,Ce=ie.minPadding,Me=0,Pe,Oe=p(ie.tickInterval)&&ie.tickInterval>=0?ie.tickInterval:void 0,Be,Ue,ze,$e;if(K||Y||he||this.getTickAmount(),ze=_(this.userMin,ie.min),$e=_(this.userMax,ie.max),he?(this.linkedParent=he,Pe=he.getExtremes(),this.min=_(Pe.min,Pe.dataMin),this.max=_(Pe.max,Pe.dataMax),this.type!==he.type&&P(11,!0,X)):(ne&&C(oe)&&p(ae)&&p($)&&($>=oe?(Be=oe,Ce=0):ae<=oe&&(Ue=oe,ke=0)),this.min=_(ze,Be,$),this.max=_($e,Ue,ae)),p(this.max)&&p(this.min)&&(se&&(this.positiveValuesOnly&&!V&&0>=Math.min(this.min,_($,this.min))&&P(10,!0,X),this.min=L(se.log2lin(this.min),16),this.max=L(se.log2lin(this.max),16)),this.range&&p($)&&(this.userMin=this.min=ze=Math.max($,this.minFromRange()||0),this.userMax=$e=this.max,this.range=void 0)),I(this,"foundExtremes"),this.adjustForMinRange(),p(this.min)&&p(this.max)){if(!p(this.userMin)&&p(de)&&de<this.min&&(this.min=ze=de),!p(this.userMax)&&p(fe)&&fe>this.max&&(this.max=$e=fe),Y||this.axisPointRange||this.stacking?.usePercentage||he||!(Me=this.max-this.min)||(!C(ze)&&Ce&&(this.min-=Me*Ce),C($e)||!ke||(this.max+=Me*ke)),!p(this.userMin)&&p(be)&&(this.min=Math.max(this.min,be)),!p(this.userMax)&&p(ye)&&(this.max=Math.min(this.max,ye)),ne&&p($)&&p(ae)){let Xe=oe||0;!C(ze)&&this.min<Xe&&$>=Xe?this.min=ie.minRange?Math.min(Xe,this.max-ue):Xe:!C($e)&&this.max>Xe&&ae<=Xe&&(this.max=ie.minRange?Math.max(Xe,this.min+ue):Xe)}!X.polar&&this.min>this.max&&(C(ie.min)?this.max=this.min:C(ie.max)&&(this.min=this.max)),Me=this.max-this.min}if(this.min!==this.max&&p(this.min)&&p(this.max)?he&&!Oe&&me===he.options.tickPixelInterval?this.tickInterval=Oe=he.tickInterval:this.tickInterval=_(Oe,this.tickAmount?Me/Math.max(this.tickAmount-1,1):void 0,Y?1:Me*me/Math.max(this.len,me)):this.tickInterval=1,Z&&!V){let Xe=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach(function(Ve){Ve.forceCrop=Ve.forceCropping?.(),Ve.processData(Xe)}),I(this,"postProcessData",{hasExtremesChanged:Xe})}this.setAxisTranslation(),I(this,"initialAxisTranslation"),this.pointRange&&!Oe&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Ze=_(ie.minTickInterval,K&&!this.series.some(Xe=>Xe.noSharedTooltip)?this.closestPointRange:0);!Oe&&this.tickInterval<Ze&&(this.tickInterval=Ze),K||se||Oe||(this.tickInterval=te(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let V=this.options,Y=V.tickPositions,X=V.tickPositioner,ae=this.getMinorTickInterval(),$=!this.isPanning,K=$&&V.startOnTick,Z=$&&V.endOnTick,se=[],ie;if(this.tickmarkOffset=this.categories&&V.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&C(this.min)&&!this.tickAmount&&(this.min%1==0||V.allowDecimals!==!1),Y)se=Y.slice();else if(p(this.min)&&p(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))se=[this.min,this.max],P(19,!1,this.chart);else if(this.dateTime)se=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,V.units),this.min,this.max,V.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)se=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let ne=this.tickInterval,oe=ne;for(;oe<=2*ne&&(se=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&se.length>this.tickAmount);)this.tickInterval=te(this,oe*=1.1)}se.length>this.len&&(se=[se[0],se[se.length-1]])[0]===se[1]&&(se.length=1),X&&(this.tickPositions=se,(ie=X.apply(this,[this.min,this.max]))&&(se=ie))}this.tickPositions=se,this.minorTickInterval=ae==="auto"&&this.tickInterval?this.tickInterval/V.minorTicksPerMajor:ae,this.paddedTicks=se.slice(0),this.trimTicks(se,K,Z),!this.isLinked&&p(this.min)&&p(this.max)&&(this.single&&se.length<2&&!this.categories&&!this.series.some(ne=>ne.is("heatmap")&&ne.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),Y||ie||this.adjustTickAmount()),I(this,"afterSetTickPositions")}trimTicks(V,Y,X){let ae=V[0],$=V[V.length-1],K=!this.isOrdinal&&this.minPointOffset||0;if(I(this,"trimTicks"),!this.isLinked){if(Y&&ae!==-1/0)this.min=ae;else for(;this.min-K>V[0];)V.shift();if(X)this.max=$;else for(;this.max+K<V[V.length-1];)V.pop();V.length===0&&C(ae)&&!this.options.tickPositions&&V.push(($+ae)/2)}}alignToOthers(){let V,Y=this,X=Y.chart,ae=[this],$=Y.options,K=X.options.chart,Z=this.coll==="yAxis"&&K.alignThresholds,se=[];if(Y.thresholdAlignment=void 0,(K.alignTicks!==!1&&$.alignTicks||Z)&&$.startOnTick!==!1&&$.endOnTick!==!1&&!Y.logarithmic){let ie=oe=>{let{horiz:ue,options:ye}=oe;return[ue?ye.left:ye.top,ye.width,ye.height,ye.pane].join(",")},ne=ie(this);X[this.coll].forEach(function(oe){let{series:ue}=oe;ue.length&&ue.some(ye=>ye.visible)&&oe!==Y&&ie(oe)===ne&&(V=!0,ae.push(oe))})}if(V&&Z){ae.forEach(ne=>{let oe=ne.getThresholdAlignment(Y);p(oe)&&se.push(oe)});let ie=se.length>1?se.reduce((ne,oe)=>ne+=oe,0)/se.length:void 0;ae.forEach(ne=>{ne.thresholdAlignment=ie})}return V}
38getThresholdAlignment(V){if((!p(this.dataMin)||this!==V&&this.series.some(Y=>Y.isDirty||Y.isDirtyData))&&this.getSeriesExtremes(),p(this.threshold)){let Y=B((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(Y=1-Y),Y}}getTickAmount(){let V=this.options,Y=V.tickPixelInterval,X=V.tickAmount;C(V.tickInterval)||X||!(this.len<Y)||this.isRadial||this.logarithmic||!V.startOnTick||!V.endOnTick||(X=2),!X&&this.alignToOthers()&&(X=Math.ceil(this.len/Y)+1),X<4&&(this.finalTickAmt=X,X=5),this.tickAmount=X}adjustTickAmount(){let V=this,{finalTickAmt:Y,max:X,min:ae,options:$,tickPositions:K,tickAmount:Z,thresholdAlignment:se}=V,ie=K?.length,ne=_(V.threshold,V.softThreshold?0:null),oe,ue,ye=V.tickInterval,be,Te=()=>K.push(L(K[K.length-1]+ye)),fe=()=>K.unshift(L(K[0]-ye));if(p(se)&&(be=se<.5?Math.ceil(se*(Z-1)):Math.floor(se*(Z-1)),$.reversed&&(be=Z-1-be)),V.hasData()&&p(ae)&&p(X)){let de=()=>{V.transA*=(ie-1)/(Z-1),V.min=$.startOnTick?K[0]:Math.min(ae,K[0]),V.max=$.endOnTick?K[K.length-1]:Math.max(X,K[K.length-1])};if(p(be)&&p(V.threshold)){for(;K[be]!==ne||K.length!==Z||K[0]>ae||K[K.length-1]<X;){for(K.length=0,K.push(V.threshold);K.length<Z;)K[be]===void 0||K[be]>V.threshold?fe():Te();if(ye>8*V.tickInterval)break;ye*=2}de()}else if(ie<Z){for(;K.length<Z;)K.length%2||ae===ne?Te():fe();de()}if(C(Y)){for(ue=oe=K.length;ue--;)(Y===3&&ue%2==1||Y<=2&&ue>0&&ue<oe-1)&&K.splice(ue,1);V.finalTickAmt=void 0}}}setScale(){let{coll:V,stacking:Y}=this,X=!1,ae=!1;this.series.forEach(K=>{X=X||K.isDirtyData||K.isDirty,ae=ae||K.xAxis&&K.xAxis.isDirty||!1}),this.setAxisSize();let $=this.len!==(this.old&&this.old.len);$||X||ae||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(Y&&V==="yAxis"&&Y.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),Y&&V==="xAxis"&&Y.buildStacks(),this.isDirty||(this.isDirty=$||this.min!==this.old?.min||this.max!==this.old?.max)):Y&&Y.cleanStacks(),X&&delete this.allExtremes,I(this,"afterSetScale")}setExtremes(V,Y,X=!0,ae,$){this.series.forEach(K=>{delete K.kdTree}),I(this,"setExtremes",$=N($,{min:V,max:Y}),K=>{this.userMin=K.min,this.userMax=K.max,this.eventArgs=K,X&&this.chart.redraw(ae)})}setAxisSize(){let V=this.chart,Y=this.options,X=Y.offsets||[0,0,0,0],ae=this.horiz,$=this.width=Math.round(U(_(Y.width,V.plotWidth-X[3]+X[1]),V.plotWidth)),K=this.height=Math.round(U(_(Y.height,V.plotHeight-X[0]+X[2]),V.plotHeight)),Z=this.top=Math.round(U(_(Y.top,V.plotTop+X[0]),V.plotHeight,V.plotTop)),se=this.left=Math.round(U(_(Y.left,V.plotLeft+X[3]),V.plotWidth,V.plotLeft));this.bottom=V.chartHeight-K-Z,this.right=V.chartWidth-$-se,this.len=Math.max(ae?$:K,0),this.pos=ae?se:Z}getExtremes(){let V=this.logarithmic;return{min:V?L(V.lin2log(this.min)):this.min,max:V?L(V.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(V){let Y=this.logarithmic,X=Y?Y.lin2log(this.min):this.min,ae=Y?Y.lin2log(this.max):this.max;return V===null||V===-1/0?V=X:V===1/0?V=ae:X>V?V=X:ae<V&&(V=ae),this.translate(V,0,1,0,1)}autoLabelAlign(V){let Y=(_(V,0)-90*this.side+720)%360,X={align:"center"};return I(this,"autoLabelAlign",X,function(ae){Y>15&&Y<165?ae.align="right":Y>195&&Y<345&&(ae.align="left")}),X.align}tickSize(V){let Y=this.options,X=_(Y[V==="tick"?"tickWidth":"minorTickWidth"],V==="tick"&&this.isXAxis&&!this.categories?1:0),ae=Y[V==="tick"?"tickLength":"minorTickLength"],$;X&&ae&&(Y[V+"Position"]==="inside"&&(ae=-ae),$=[ae,X]);let K={tickSize:$};return I(this,"afterTickSize",K),K.tickSize}labelMetrics(){let V=this.chart.renderer,Y=this.ticks,X=Y[Object.keys(Y)[0]]||{};return this.chart.renderer.fontMetrics(X.label||X.movedLabel||V.box)}unsquish(){let V=this.options.labels,Y=V.padding||0,X=this.horiz,ae=this.tickInterval,$=this.len/(((this.categories?1:0)+this.max-this.min)/ae),K=V.rotation,Z=L(.8*this.labelMetrics().h),se=Math.max(this.max-this.min,0),ie=function(be){let Te=(be+2*Y)/($||1);return(Te=Te>1?Math.ceil(Te):1)*ae>se&&be!==1/0&&$!==1/0&&se&&(Te=Math.ceil(se/ae)),L(Te*ae)},ne=ae,oe,ue=Number.MAX_VALUE,ye;
38if(X){if(!V.staggerLines&&(p(K)?ye=[K]:$<V.autoRotationLimit&&(ye=V.autoRotation)),ye){let be,Te;for(let fe of ye)(fe===K||fe&&fe>=-90&&fe<=90)&&(Te=(be=ie(Math.abs(Z/Math.sin(j*fe))))+Math.abs(fe/360))<ue&&(ue=Te,oe=fe,ne=be)}}else ne=ie(.75*Z);return this.autoRotation=ye,this.labelRotation=_(oe,p(K)?K:0),V.step?ae:ne}getSlotWidth(V){let Y=this.chart,X=this.horiz,ae=this.options.labels,$=Math.max(this.tickPositions.length-(this.categories?0:1),1),K=Y.margin[3];if(V&&p(V.slotWidth))return V.slotWidth;if(X&&ae.step<2)return ae.rotation?0:(this.staggerLines||1)*this.len/$;if(!X){let Z=ae.style.width;if(Z!==void 0)return parseInt(String(Z),10);if(K)return K-Y.spacing[3]}return .33*Y.chartWidth}renderUnsquish(){let V=this.chart,Y=V.renderer,X=this.tickPositions,ae=this.ticks,$=this.options.labels,K=$.style,Z=this.horiz,se=this.getSlotWidth(),ie=Math.max(1,Math.round(se-(Z?2*($.padding||0):$.distance||0))),ne={},oe=this.labelMetrics(),ue=K.textOverflow,ye,be,Te=0,fe,de;if(v($.rotation)||(ne.rotation=$.rotation||0),X.forEach(function(he){let me=ae[he];me.movedLabel&&me.replaceMovedLabel(),me&&me.label&&me.label.textPxLength>Te&&(Te=me.label.textPxLength)}),this.maxLabelLength=Te,this.autoRotation)Te>ie&&Te>oe.h?ne.rotation=this.labelRotation:this.labelRotation=0;else if(se&&(ye=ie,!ue))for(be="clip",de=X.length;!Z&&de--;)(fe=ae[X[de]].label)&&(fe.styles.textOverflow==="ellipsis"?fe.css({textOverflow:"clip"}):fe.textPxLength>se&&fe.css({width:se+"px"}),fe.getBBox().height>this.len/X.length-(oe.h-oe.f)&&(fe.specificTextOverflow="ellipsis"));ne.rotation&&(ye=Te>.5*V.chartHeight?.33*V.chartHeight:Te,ue||(be="ellipsis")),this.labelAlign=$.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(ne.align=this.labelAlign),X.forEach(function(he){let me=ae[he],ke=me&&me.label,Ce=K.width,Me={};ke&&(ke.attr(ne),me.shortenLabel?me.shortenLabel():ye&&!Ce&&K.whiteSpace!=="nowrap"&&(ye<ke.textPxLength||ke.element.tagName==="SPAN")?(Me.width=ye+"px",ue||(Me.textOverflow=ke.specificTextOverflow||be),ke.css(Me)):!ke.styles.width||Me.width||Ce||ke.css({width:null}),delete ke.specificTextOverflow,me.rotation=ne.rotation)},this),this.tickRotCorr=Y.rotCorr(oe.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(V){return V.hasData()})||this.options.showEmpty&&C(this.min)&&C(this.max)}addTitle(V){let Y,X=this.chart.renderer,ae=this.horiz,$=this.opposite,K=this.options.title,Z=this.chart.styledMode;this.axisTitle||((Y=K.textAlign)||(Y=(ae?{low:"left",middle:"center",high:"right"}:{low:$?"right":"left",middle:"center",high:$?"left":"right"})[K.align]),this.axisTitle=X.text(K.text||"",0,0,K.useHTML).attr({zIndex:7,rotation:K.rotation||0,align:Y}).addClass("highcharts-axis-title"),Z||this.axisTitle.css(b(K.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),Z||K.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[V?"show":"hide"](V)}generateTick(V){let Y=this.ticks;Y[V]?Y[V].addLabel():Y[V]=new S(this,V)}createGroups(){let{axisParent:V,chart:Y,coll:X,options:ae}=this,$=Y.renderer,K=(Z,se,ie)=>$.g(Z).attr({zIndex:ie}).addClass(`highcharts-${X.toLowerCase()}${se} `+(this.isRadial?`highcharts-radial-axis${se} `:"")+(ae.className||"")).add(V);this.axisGroup||(this.gridGroup=K("grid","-grid",ae.gridZIndex),this.axisGroup=K("axis","",ae.zIndex),this.labelGroup=K("axis-labels","-labels",ae.labels.zIndex))}getOffset(){let V=this,{chart:Y,horiz:X,options:ae,side:$,ticks:K,tickPositions:Z,coll:se}=V,ie=Y.inverted&&!V.isZAxis?[1,0,3,2][$]:$,ne=V.hasData(),oe=ae.title,ue=ae.labels,ye=p(ae.crossing),be=Y.axisOffset,Te=Y.clipOffset,fe=[-1,1,1,-1][$],de,he=0,me,ke=0,Ce=0,Me,Pe;if(V.showAxis=de=ne||ae.showEmpty,V.staggerLines=V.horiz&&ue.staggerLines||void 0,V.createGroups(),ne||V.isLinked?(Z.forEach(function(Oe){V.generateTick(Oe)}),V.renderUnsquish(),V.reserveSpaceDefault=$===0||$===2||{1:"left",3:"right"}[$]===V.labelAlign,_(ue.reserveSpace,!ye&&null,V.labelAlign==="center"||null,V.reserveSpaceDefault)&&Z.forEach(function(Oe){Ce=Math.max(K[Oe].getLabelSize(),Ce)}),V.staggerLines&&(Ce*=V.staggerLines),V.labelOffset=Ce*(V.opposite?-1:1)):O(K,function(Oe,Be){Oe.destroy(),delete K[Be]}),oe?.text&&oe.enabled!==!1&&(V.addTitle(de),de&&!ye&&oe.reserveSpace!==!1&&(V.titleOffset=he=V.axisTitle.getBBox()[X?"height":"width"],ke=C(me=oe.offset)?0:_(oe.margin,X?5:10))),V.renderLine(),V.offset=fe*_(ae.offset,be[$]?be[$]+(ae.margin||0):0),V.tickRotCorr=V.tickRotCorr||{x:0,y:0},Pe=$===0?-V.labelMetrics().h:$===2?V.tickRotCorr.y:0,Me=Math.abs(Ce)+ke,Ce&&(Me-=Pe,Me+=fe*(X?_(ue.y,V.tickRotCorr.y+fe*ue.distance):_(ue.x,fe*ue.distance))),V.axisTitleMargin=_(me,Me),V.getMaxLabelDimensions&&(V.maxLabelDimensions=V.getMaxLabelDimensions(K,Z)),se!=="colorAxis"&&Te){let Oe=this.tickSize("tick");be[$]=Math.max(be[$],(V.axisTitleMargin||0)+he+fe*V.offset,Me,Z&&Z.length&&Oe?Oe[0]+fe*V.offset:0);let Be=!V.axisLine||ae.offset?0:V.axisLine.strokeWidth()/2;Te[ie]=Math.max(Te[ie],Be)}I(this,"afterGetOffset")}getLinePath(V){let Y=this.chart,X=this.opposite,ae=this.offset,$=this.horiz,K=this.left+(X?this.width:0)+ae,Z=Y.chartHeight-this.bottom-(X?this.height:0)+ae;return X&&(V*=-1),Y.renderer.crispLine([["M",$?this.left:K,$?Z:this.top],["L",$?Y.chartWidth-this.right:K,$?Z:Y.chartHeight-this.bottom]],V)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(V){let Y=this.horiz,X=this.left,ae=this.top,$=this.len,K=this.options.title,Z=Y?X:ae,se=this.opposite,ie=this.offset,ne=K.x,oe=K.y,ue=this.chart.renderer.fontMetrics(V),ye=V?Math.max(V.getBBox(!1,0).height-ue.h-1,0):0,be={low:Z+(Y?0:$),middle:Z+$/2,high:Z+(Y?$:0)}[K.align],Te=(Y?ae+this.height:X)+(Y?1:-1)*(se?-1:1)*(this.axisTitleMargin||0)+[-ye,ye,ue.f,-ye][this.side],fe={x:Y?be+ne:Te+(se?this.width:0)+ie+ne,y:Y?Te+oe-(se?this.height:0)+ie:be+oe};return I(this,"afterGetTitlePosition",{titlePosition:fe}),fe}renderMinorTick(V,Y){let X=this.minorTicks;X[V]||(X[V]=new S(this,V,"minor")),Y&&X[V].isNew&&X[V].render(null,!0),X[V].render(null,!1,1)}renderTick(V,Y,X){let ae=this.isLinked,$=this.ticks;(!ae||V>=this.min&&V<=this.max||this.grid&&this.grid.isColumn)&&($[V]||($[V]=new S(this,V)),X&&$[V].isNew&&$[V].render(Y,!0,-1),$[V].render(Y))}render(){let V,Y,X=this,ae=X.chart,$=X.logarithmic,K=ae.renderer,Z=X.options,se=X.isLinked,ie=X.tickPositions,ne=X.axisTitle,oe=X.ticks,ue=X.minorTicks,ye=X.alternateBands,be=Z.stackLabels,Te=Z.alternateGridColor,fe=Z.crossing,de=X.tickmarkOffset,he=X.axisLine,me=X.showAxis,ke=x(K.globalAnimation);if(X.labelEdge.length=0,X.overlap=!1,[oe,ue,ye].forEach(function(Ce){O(Ce,function(Me){Me.isActive=!1})}),p(fe)){let Ce=this.isXAxis?ae.yAxis[0]:ae.xAxis[0],Me=[1,-1,-1,1][this.side];if(Ce){let Pe=Ce.toPixels(fe,!0);X.horiz&&(Pe=Ce.len-Pe),X.offset=Me*Pe}}if(X.hasData()||se){let Ce=X.chart.hasRendered&&X.old&&p(X.old.min);X.minorTickInterval&&!X.categories&&X.getMinorTickPositions().forEac
38h(function(Me){X.renderMinorTick(Me,Ce)}),ie.length&&(ie.forEach(function(Me,Pe){X.renderTick(Me,Pe,Ce)}),de&&(X.min===0||X.single)&&(oe[-1]||(oe[-1]=new S(X,-1,null,!0)),oe[-1].render(-1))),Te&&ie.forEach(function(Me,Pe){Y=ie[Pe+1]!==void 0?ie[Pe+1]+de:X.max-de,Pe%2==0&&Me<X.max&&Y<=X.max+(ae.polar?-de:de)&&(ye[Me]||(ye[Me]=new m.PlotLineOrBand(X,{})),V=Me+de,ye[Me].options={from:$?$.lin2log(V):V,to:$?$.lin2log(Y):Y,color:Te,className:"highcharts-alternate-grid"},ye[Me].render(),ye[Me].isActive=!0)}),X._addedPlotLB||(X._addedPlotLB=!0,(Z.plotLines||[]).concat(Z.plotBands||[]).forEach(function(Me){X.addPlotBandOrLine(Me)}))}[oe,ue,ye].forEach(function(Ce){let Me=[],Pe=ke.duration;O(Ce,function(Oe,Be){Oe.isActive||(Oe.render(Be,!1,0),Oe.isActive=!1,Me.push(Be))}),J(function(){let Oe=Me.length;for(;Oe--;)Ce[Me[Oe]]&&!Ce[Me[Oe]].isActive&&(Ce[Me[Oe]].destroy(),delete Ce[Me[Oe]])},Ce!==ye&&ae.hasRendered&&Pe?Pe:0)}),he&&(he[he.isPlaced?"animate":"attr"]({d:this.getLinePath(he.strokeWidth())}),he.isPlaced=!0,he[me?"show":"hide"](me)),ne&&me&&(ne[ne.isNew?"attr":"animate"](X.getTitlePosition(ne)),ne.isNew=!1),be&&be.enabled&&X.stacking&&X.stacking.renderStackTotals(),X.old={len:X.len,max:X.max,min:X.min,transA:X.transA,userMax:X.userMax,userMin:X.userMin},X.isDirty=!1,I(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(V){V.render()})),this.series.forEach(function(V){V.isDirty=!0})}getKeepProps(){return this.keepProps||ce.keepProps}destroy(V){let Y=this,X=Y.plotLinesAndBands,ae=this.eventOptions;if(I(this,"destroy",{keepEvents:V}),V||q(Y),[Y.ticks,Y.minorTicks,Y.alternateBands].forEach(function($){h($)}),X){let $=X.length;for(;$--;)X[$].destroy()}for(let $ in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(K){Y[K]&&(Y[K]=Y[K].destroy())}),Y.plotLinesAndBandsGroups)Y.plotLinesAndBandsGroups[$]=Y.plotLinesAndBandsGroups[$].destroy();O(Y,function($,K){Y.getKeepProps().indexOf(K)===-1&&delete Y[K]}),this.eventOptions=ae}drawCrosshair(V,Y){let X=this.crosshair,ae=_(X&&X.snap,!0),$=this.chart,K,Z,se,ie=this.cross,ne;if(I(this,"drawCrosshair",{e:V,point:Y}),V||(V=this.cross&&this.cross.e),X&&(C(Y)||!ae)!==!1){if(ae?C(Y)&&(Z=_(this.coll!=="colorAxis"?Y.crosshairPos:null,this.isXAxis?Y.plotX:this.len-Y.plotY)):Z=V&&(this.horiz?V.chartX-this.pos:this.len-V.chartY+this.pos),C(Z)&&(ne={value:Y&&(this.isXAxis?Y.x:_(Y.stackY,Y.y)),translatedValue:Z},$.polar&&N(ne,{isCrosshair:!0,chartX:V&&V.chartX,chartY:V&&V.chartY,point:Y}),K=this.getPlotLinePath(ne)||null),!C(K)){this.hideCrosshair();return}se=this.categories&&!this.isRadial,ie||(this.cross=ie=$.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(se?"category ":"thin ")+(X.className||"")).attr({zIndex:_(X.zIndex,2)}).add(),!$.styledMode&&(ie.attr({stroke:X.color||(se?o.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":_(X.width,1)}).css({"pointer-events":"none"}),X.dashStyle&&ie.attr({dashstyle:X.dashStyle}))),ie.show().attr({d:K}),se&&!X.width&&ie.attr({"stroke-width":this.transA}),this.cross.e=V}else this.hideCrosshair();I(this,"afterDrawCrosshair",{e:V,point:Y})}hideCrosshair(){this.cross&&this.cross.hide(),I(this,"afterHideCrosshair")}update(V,Y){let X=this.chart;V=b(this.userOptions,V),this.destroy(!0),this.init(X,V),X.isDirtyBox=!0,_(Y,!0)&&X.redraw()}remove(V){let Y=this.chart,X=this.coll,ae=this.series,$=ae.length;for(;$--;)ae[$]&&ae[$].remove(!1);H(Y.axes,this),H(Y[X]||[],this),Y.orderItems(X),this.destroy(),Y.isDirtyBox=!0,_(V,!0)&&Y.redraw()}setTitle(V,Y){this.update({title:V},Y)}setCategories(V,Y){this.update({categories:V},Y)}}return ce.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],ce}),n(r,"Core/Axis/DateTimeAxis.js",[r["Core/Utilities.js"]],function(i){var a;let{addEvent:o,getMagnitude:f,normalizeTickInterval:u,timeUnits:m}=i;return(function(S){function w(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function x(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new T(this))}S.compose=function(y){return y.keepProps.includes("dateTime")||(y.keepProps.push("dateTime"),y.prototype.getTimeTicks=w,o(y,"afterSetType",x)),y};class T{constructor(E){this.axis=E}normalizeTimeTickInterval(E,A){let j=A||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],R=j[j.length-1],k=m[R[0]],B=R[1],L;for(L=0;L<j.length&&(k=m[(R=j[L])[0]],B=R[1],!j[L+1]||!(E<=(k*B[B.length-1]+m[j[L+1][0]])/2));L++);k===m.year&&E<5*k&&(B=[1,2,5]);let C=u(E/k,B,R[0]==="year"?Math.max(f(E/k),1):1);return{unitRange:k,count:C,unitName:R[0]}}getXDateFormat(E,A){let{axis:j}=this,R=j.chart.time;return j.closestPointRange?R.getDateFormat(j.closestPointRange,E,j.options.startOfWeek,A)||R.resolveDTLFormat(A.year).main:R.resolveDTLFormat(A.day).main}}S.Additions=T})(a||(a={})),a}),n(r,"Core/Axis/LogarithmicAxis.js",[r["Core/Utilities.js"]],function(i){var a;let{addEvent:o,normalizeTickInterval:f,pick:u}=i;return(function(m){function S(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new x(this))}function w(){let T=this.logarithmic;T&&(this.lin2val=function(y){return T.lin2log(y)},this.val2lin=function(y){return T.log2lin(y)})}m.compose=function(T){return T.keepProps.includes("logarithmic")||(T.keepProps.push("logarithmic"),o(T,"afterSetType",S),o(T,"afterInit",w
38)),T};class x{constructor(y){this.axis=y}getLogTickPositions(y,E,A,j){let R=this.axis,k=R.len,B=R.options,L=[];if(j||(this.minorAutoInterval=void 0),y>=.5)y=Math.round(y),L=R.getLinearTickPositions(y,E,A);else if(y>=.08){let C,h,H,P,N,I,F,l=Math.floor(E);for(C=y>.3?[1,2,4]:y>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],h=l;h<A+1&&!F;h++)for(H=0,P=C.length;H<P&&!F;H++)(N=this.log2lin(this.lin2log(h)*C[H]))>E&&(!j||I<=A)&&I!==void 0&&L.push(I),I>A&&(F=!0),I=N}else{let C=this.lin2log(E),h=this.lin2log(A),H=j?R.getMinorTickInterval():B.tickInterval,P=B.tickPixelInterval/(j?5:1),N=j?k/R.tickPositions.length:k;y=f(y=u(H==="auto"?null:H,this.minorAutoInterval,(h-C)*P/(N||1))),L=R.getLinearTickPositions(y,C,h).map(this.log2lin),j||(this.minorAutoInterval=y/5)}return j||(R.tickInterval=y),L}lin2log(y){return Math.pow(10,y)}log2lin(y){return Math.log(y)/Math.LN10}}m.Additions=x})(a||(a={})),a}),n(r,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[r["Core/Utilities.js"]],function(i){var a;let{erase:o,extend:f,isNumber:u}=i;return(function(m){let S;function w(R){return this.addPlotBandOrLine(R,"plotBands")}function x(R,k){let B=this.userOptions,L=new S(this,R);if(this.visible&&(L=L.render()),L){if(this._addedPlotLB||(this._addedPlotLB=!0,(B.plotLines||[]).concat(B.plotBands||[]).forEach(C=>{this.addPlotBandOrLine(C)})),k){let C=B[k]||[];C.push(R),B[k]=C}this.plotLinesAndBands.push(L)}return L}function T(R){return this.addPlotBandOrLine(R,"plotLines")}function y(R,k,B){B=B||this.options;let L=this.getPlotLinePath({value:k,force:!0,acrossPanes:B.acrossPanes}),C=[],h=this.horiz,H=!u(this.min)||!u(this.max)||R<this.min&&k<this.min||R>this.max&&k>this.max,P=this.getPlotLinePath({value:R,force:!0,acrossPanes:B.acrossPanes}),N,I=1,F;if(P&&L)for(H&&(F=P.toString()===L.toString(),I=0),N=0;N<P.length;N+=2){let l=P[N],d=P[N+1],p=L[N],v=L[N+1];(l[0]==="M"||l[0]==="L")&&(d[0]==="M"||d[0]==="L")&&(p[0]==="M"||p[0]==="L")&&(v[0]==="M"||v[0]==="L")&&(h&&p[1]===l[1]?(p[1]+=I,v[1]+=I):h||p[2]!==l[2]||(p[2]+=I,v[2]+=I),C.push(["M",l[1],l[2]],["L",d[1],d[2]],["L",v[1],v[2]],["L",p[1],p[2]],["Z"])),C.isFlat=F}return C}function E(R){this.removePlotBandOrLine(R)}function A(R){let k=this.plotLinesAndBands,B=this.options,L=this.userOptions;if(k){let C=k.length;for(;C--;)k[C].id===R&&k[C].destroy();[B.plotLines||[],L.plotLines||[],B.plotBands||[],L.plotBands||[]].forEach(function(h){for(C=h.length;C--;)(h[C]||{}).id===R&&o(h,h[C])})}}function j(R){this.removePlotBandOrLine(R)}m.compose=function(R,k){let B=k.prototype;return B.addPlotBand||(S=R,f(B,{addPlotBand:w,addPlotLine:T,addPlotBandOrLine:x,getPlotBandPath:y,removePlotBand:E,removePlotLine:j,removePlotBandOrLine:A})),k}})(a||(a={})),a}),n(r,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[r["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],r["Core/Utilities.js"]],function(i,a){let{addEvent:o,arrayMax:f,arrayMin:u,defined:m,destroyObjectProperties:S,erase:w,fireEvent:x,merge:T,objectEach:y,pick:E}=a;class A{static compose(R,k){return o(R,"afterInit",function(){this.labelCollectors.push(()=>{let B=[];for(let L of this.axes)for(let{label:C,options:h}of L.plotLinesAndBands)C&&!h?.label?.allowOverlap&&B.push(C);return B})}),i.compose(A,k)}constructor(R,k){this.axis=R,this.options=k,this.id=k.id}render(){x(this,"render");let{axis:R,options:k}=this,{horiz:B,logarithmic:L}=R,{color:C,events:h,zIndex:H=0}=k,P={},N=R.chart.renderer,I=k.to,F=k.from,l=k.value,d=k.borderWidth,p=k.label,{label:v,svgElem:b}=this,M=[],O,_=m(F)&&m(I),U=m(l),q=!b,z={class:"highcharts-plot-"+(_?"band ":"line ")+(k.className||"")},J=_?"bands":"lines";if(!R.chart.styledMode&&(U?(z.stroke=C||"#999999",z["stroke-width"]=E(k.width,1),k.dashStyle&&(z.dashstyle=k.dashStyle)):_&&(z.fill=C||"#e6e9ff",d&&(z.stroke=k.borderColor,z["stroke-width"]=d))),P.zIndex=H,J+="-"+H,(O=R.plotLinesAndBandsGroups[J])||(R.plotLinesAndBandsGroups[J]=O=N.g("plot-"+J).attr(P).add()),b||(this.svgElem=b=N.path().attr(z).add(O)),m(l))M=R.getPlotLinePath({value:L?.log2lin(l)??l,lineWidth:b.strokeWidth(),acrossPanes:k.acrossPanes});else{if(!(m(F)&&m(I)))return;M=R.getPlotBandPath(L?.log2lin(F)??F,L?.log2lin(I)??I,k)}return!this.eventsAdded&&h&&(y(h,(te,ce)=>{b?.on(ce,xe=>{h[ce].apply(this,[xe])})}),this.eventsAdded=!0),(q||!b.d)&&M?.length?b.attr({d:M}):b&&(M?(b.show(),b.animate({d:M})):b.d&&(b.hide(),v&&(this.label=v=v.destroy()))),p&&(m(p.text)||m(p.formatter))&&M?.length&&R.width>0&&R.height>0&&!M.isFlat?(p=T({align:B&&_?"center":void 0,x:B?!_&&4:10,verticalAlign:!B&&_?"middle":void 0,y:B?_?16:10:_?6:-4,rotation:B&&
38!_?90:0,..._?{inside:!0}:{}},p),this.renderLabel(p,M,_,H)):v&&v.hide(),this}renderLabel(R,k,B,L){let C=this.axis,h=C.chart.renderer,H=R.inside,P=this.label;P||(this.label=P=h.text(this.getLabelText(R),0,0,R.useHTML).attr({align:R.textAlign||R.align,rotation:R.rotation,class:"highcharts-plot-"+(B?"band":"line")+"-label "+(R.className||""),zIndex:L}),C.chart.styledMode||P.css(T({fontSize:"0.8em",textOverflow:B&&!H?"":"ellipsis"},R.style)),P.add());let N=k.xBounds||[k[0][1],k[1][1],B?k[2][1]:k[0][1]],I=k.yBounds||[k[0][2],k[1][2],B?k[2][2]:k[0][2]],F=u(N),l=u(I),d=f(N)-F;P.align(R,!1,{x:F,y:l,width:d,height:f(I)-l}),(!P.alignValue||P.alignValue==="left"||m(H))&&P.css({width:(R.style?.width||(B&&H?d:P.rotation===90?C.height-(P.alignAttr.y-C.top):(R.clip?C.width:C.chart.chartWidth)-(P.alignAttr.x-C.left)))+"px"}),P.show(!0)}getLabelText(R){return m(R.formatter)?R.formatter.call(this):R.text}destroy(){w(this.axis.plotLinesAndBands,this),delete this.axis,S(this)}}return A}),n(r,"Core/Tooltip.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Templating.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m){var S;let{animObject:w}=i,{format:x}=a,{composed:T,doc:y,isSafari:E}=o,{distribute:A}=f,{addEvent:j,clamp:R,css:k,discardElement:B,extend:L,fireEvent:C,isArray:h,isNumber:H,isString:P,merge:N,pick:I,pushUnique:F,splat:l,syncTimeout:d}=m;class p{constructor(b,M,O){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=b,this.init(b,M),this.pointer=O}bodyFormatter(b){return b.map(function(M){let O=M.series.tooltipOptions;return(O[(M.point.formatPrefix||"point")+"Formatter"]||M.point.tooltipFormatter).call(M.point,O[(M.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(b){this.chart.series.forEach(function(M){let O=M&&M.tt;O&&(!O.isActive||b?M.tt=O.destroy():O.isActive=!1)})}defaultFormatter(b){let M,O=this.points||l(this);return(M=(M=[b.tooltipFooterHeaderFormatter(O[0])]).concat(b.bodyFormatter(O))).push(b.tooltipFooterHeaderFormatter(O[0],!0)),M}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),B(this.container)),m.clearTimeout(this.hideTimer)}getAnchor(b,M){let O,{chart:_,pointer:U}=this,q=_.inverted,z=_.plotTop,J=_.plotLeft;if((b=l(b))[0].series&&b[0].series.yAxis&&!b[0].series.yAxis.options.reversedStacks&&(b=b.slice().reverse()),this.followPointer&&M)M.chartX===void 0&&(M=U.normalize(M)),O=[M.chartX-J,M.chartY-z];else if(b[0].tooltipPos)O=b[0].tooltipPos;else{let te=0,ce=0;b.forEach(function(xe){let V=xe.pos(!0);V&&(te+=V[0],ce+=V[1])}),te/=b.length,ce/=b.length,this.shared&&b.length>1&&M&&(q?te=M.chartX:ce=M.chartY),O=[te-J,ce-z]}return O.map(Math.round)}getClassName(b,M,O){let _=this.options,U=b.series,q=U.options;return[_.className,"highcharts-label",O&&"highcharts-tooltip-header",M?"highcharts-tooltip-box":"highcharts-tooltip",!O&&"highcharts-color-"+I(b.colorIndex,U.colorIndex),q&&q.className].filter(P).join(" ")}getLabel({anchorX:b,anchorY:M}={anchorX:0,anchorY:0}){let O=this,_=this.chart.styledMode,U=this.options,q=this.split&&this.allowShared,z=this.container,J=this.chart.renderer;if(this.label){let te=!this.label.hasClass("highcharts-label");(!q&&te||q&&!te)&&this.destroy()}if(!this.label){if(this.outside){let te=this.chart.options.chart.style,ce=u.getRendererType();this.container=z=o.doc.createElement("div"),z.className="highcharts-tooltip-container",k(z,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(te&&te.zIndex||0)+3)}),this.renderer=J=new ce(z,0,0,te,void 0,void 0,J.styledMode)}if(q?this.label=J.g("tooltip"):(this.label=J.label("",b,M,U.shape,void 0,void 0,U.useHTML,void 0,"tooltip").attr({padding:U.padding,r:U.borderRadius}),_||this.label.attr({fill:U.backgroundColor,"stroke-width":U.borderWidth||0}).css(U.style).css({pointerEvents:U.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),O.outside){let te=this.label;[te.xSetter,te.ySetter].forEach((ce,xe)=>{te[xe?"ySetter":"xSetter"]=V=>{ce.call(te,O.distance),te[xe?"y":"x"]=V,z&&(z.style[xe?"top":"left"]=`${V}px`)}})}this.label.attr({zIndex:8}).shadow(U.shadow).add()}return z&&!z.parentElement&&o.doc.body.appendChild(z),this.label}getPlayingField(){let{body:b,documentElement:M}=y,{chart:O,distance:_,outside:U}=this;return{width:U?Math.max(b.scrollWidth,M.scrollWidth,b.offsetWidth,M.offsetWidth,M.clientWidth)-2*_:O.chartWidth,height:U?Math.max(b.scrollHeight,M.scrollHeight,b.offsetHeight,M.offsetHeight,M.clientHeight):O.chartHeight}}getPosition(b,M,O){let{distance:_,chart:U,outside:q,pointer:z}=this,{inverted:J,plotLeft:te,plotTop:ce,polar:xe}=U,{plotX:V=0,plotY:Y=0}=O,X={},ae=J&&O.h||0,{height:$,width:K}=this.getPlayingField(),Z=z.getChartPosition(),se=ke=>ke*Z.scaleX,ie=ke=>ke*Z.scaleY,ne=ke=>{let Ce=ke==="x";return[ke,Ce?K:$,Ce?b:M].concat(q?[Ce?se(b):ie(M),Ce?Z.left-_+se(V+te):Z.top-_+ie(Y+ce),0,Ce?K:$]:[Ce?b:M,Ce?V+te:Y+ce,Ce?te:ce,Ce?te+U.plotWidth:ce+U.plotHeight])},oe=ne("y"),ue=ne("x"),ye,be=!!O.negative;!xe&&U.hoverSeries?.yAxis?.reversed&&(be=!be);let Te=!this.followPointer&&I(O.ttBelow,!xe&&!J===be),fe=function(ke,Ce,Me,Pe,Oe,Be,Ue){let ze=q?ke==="y"?ie(_):se(_):_,$e=(Me-Pe)/2,Ze=Pe<Oe-_,Xe=Oe+_+Pe<Ce,Ve=Oe-ze-Me+$e,ut=Oe+ze-$e;if(Te&&Xe)X[ke]=ut;else if(!Te&&Ze)X[ke]=Ve;else if(Ze)X[ke]=Math.min(Ue-Pe,Ve-ae<0?Ve:Ve-ae);else{if(!Xe)return!1;X[ke]=Math.max(Be,ut+ae+Me>Ce?ut:ut+ae)}},de=function(ke,Ce,Me,Pe,Oe){if(Oe<_||Oe>Ce-_)return!1;Oe<Me/2?X[ke]=1:Oe>Ce-Pe/2?X[ke]=Ce-Pe-2:X[ke]=Oe-Me/2},he=function(ke){[oe,ue]=[ue,oe],ye=ke},me=()=>{fe.apply(0,oe)!==!1?de.apply(0,ue)!==!1||ye||(he(!0),me()):ye?X.x=X.y=0:(he(!0),me())};return(J&&!xe||this.len>1)&&he(),me(),X}hide(b){let M=this;m.clearTimeout(this.hideTimer),b=I(b,this.options.hideDelay),this.isHidden||(this.hideTimer=d(function(){let O=M.getLabel();M.getLabel().animate({opacity:0}
38,{duration:b&&150,complete:()=>{O.hide(),M.container&&M.container.remove()}}),M.isHidden=!0},b))}init(b,M){this.chart=b,this.options=M,this.crosshairs=[],this.isHidden=!0,this.split=M.split&&!b.inverted&&!b.polar,this.shared=M.shared||this.split,this.outside=I(M.outside,!!(b.scrollablePixelsX||b.scrollablePixelsY))}shouldStickOnContact(b){return!!(!this.followPointer&&this.options.stickOnContact&&(!b||this.pointer.inClass(b.target,"highcharts-tooltip")))}move(b,M,O,_){let U=this,q=w(!U.isHidden&&U.options.animation),z=U.followPointer||(U.len||0)>1,J={x:b,y:M};z||(J.anchorX=O,J.anchorY=_),q.step=()=>U.drawTracker(),U.getLabel().animate(J,q)}refresh(b,M){let{chart:O,options:_,pointer:U,shared:q}=this,z=l(b),J=z[0],te=[],ce=_.format,xe=_.formatter||this.defaultFormatter,V=O.styledMode,Y={},X=this.allowShared;if(!_.enabled||!J.series)return;m.clearTimeout(this.hideTimer),this.allowShared=!(!h(b)&&b.series&&b.series.noSharedTooltip),X=X&&!this.allowShared,this.followPointer=!this.split&&J.series.tooltipOptions.followPointer;let ae=this.getAnchor(b,M),$=ae[0],K=ae[1];q&&this.allowShared?(U.applyInactiveState(z),z.forEach(function(ie){ie.setState("hover"),te.push(ie.getLabelConfig())}),(Y=J.getLabelConfig()).points=te):Y=J.getLabelConfig(),this.len=te.length;let Z=P(ce)?x(ce,Y,O):xe.call(Y,this),se=J.series;if(this.distance=I(se.tooltipOptions.distance,16),Z===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(Z,z);else{let ie=$,ne=K;if(M&&U.isDirectTouch&&(ie=M.chartX-O.plotLeft,ne=M.chartY-O.plotTop),O.polar||se.options.clip===!1||z.some(oe=>U.isDirectTouch||oe.series.shouldShowTooltip(ie,ne))){let oe=this.getLabel(X&&this.tt||{});(!_.style.width||V)&&oe.css({width:(this.outside?this.getPlayingField():O.spacingBox).width+"px"}),oe.attr({class:this.getClassName(J),text:Z&&Z.join?Z.join(""):Z}),this.outside&&oe.attr({x:R(oe.x||0,0,this.getPlayingField().width-(oe.width||0))}),V||oe.attr({stroke:_.borderColor||J.color||se.color||"#666666"}),this.updatePosition({plotX:$,plotY:K,negative:J.negative,ttBelow:J.ttBelow,h:ae[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}C(this,"refresh")}renderSplit(b,M){let O=this,{chart:_,chart:{chartWidth:U,chartHeight:q,plotHeight:z,plotLeft:J,plotTop:te,scrollablePixelsY:ce=0,scrollablePixelsX:xe,styledMode:V},distance:Y,options:X,options:{positioner:ae},pointer:$}=O,{scrollLeft:K=0,scrollTop:Z=0}=_.scrollablePlotArea?.scrollingContainer||{},se=O.outside&&typeof xe!="number"?y.documentElement.getBoundingClientRect():{left:K,right:K+U},ie=O.getLabel(),ne=this.renderer||_.renderer,oe=!!(_.xAxis[0]&&_.xAxis[0].opposite),{left:ue,top:ye}=$.getChartPosition(),be=te+Z,Te=0,fe=z-ce;function de(Pe,Oe,Be,Ue,ze=!0){let $e,Ze;return Be?($e=oe?0:fe,Ze=R(Pe-Ue/2,se.left,se.right-Ue-(O.outside?ue:0))):($e=Oe-be,Ze=R(Ze=ze?Pe-Ue-Y:Pe+Y,ze?Ze:se.left,se.right)),{x:Ze,y:$e}}P(b)&&(b=[!1,b]);let he=b.slice(0,M.length+1).reduce(function(Pe,Oe,Be){if(Oe!==!1&&Oe!==""){let Ue=M[Be-1]||{isHeader:!0,plotX:M[0].plotX,plotY:z,series:{}},ze=Ue.isHeader,$e=ze?O:Ue.series,Ze=$e.tt=(function(Mt,Pt,qt){let Wt=Mt,{isHeader:At,series:kt}=Pt;if(!Wt){let Gt={padding:X.padding,r:X.borderRadius};V||(Gt.fill=X.backgroundColor,Gt["stroke-width"]=X.borderWidth??1),Wt=ne.label("",0,0,X[At?"headerShape":"shape"],void 0,void 0,X.useHTML).addClass(O.getClassName(Pt,!0,At)).attr(Gt).add(ie)}return Wt.isActive=!0,Wt.attr({text:qt}),V||Wt.css(X.style).attr({stroke:X.borderColor||Pt.color||kt.color||"#333333"}),Wt})($e.tt,Ue,Oe.toString()),Xe=Ze.getBBox(),Ve=Xe.width+Ze.strokeWidth();ze&&(Te=Xe.height,fe+=Te,oe&&(be-=Te));let{anchorX:ut,anchorY:Et}=(function(Mt){let Pt,qt,{isHeader:Wt,plotX:At=0,plotY:kt=0,series:Gt}=Mt;if(Wt)Pt=Math.max(J+At,J),qt=te+z/2;else{let{xAxis:ft,yAxis:yt}=Gt;Pt=ft.pos+R(At,-Y,ft.len+Y),Gt.shouldShowTooltip(0,yt.pos-te+kt,{ignoreX:!0})&&(qt=yt.pos+kt)}return{anchorX:Pt=R(Pt,se.left-Y,se.right+Y),anchorY:qt}})(Ue);if(typeof Et=="number"){let Mt=Xe.height+1,Pt=ae?ae.call(O,Ve,Mt,Ue):de(ut,Et,ze,Ve);Pe.push({align:ae?0:void 0,anchorX:ut,anchorY:Et,boxWidth:Ve,point:Ue,rank:I(Pt.rank,ze?1:0),size:Mt,target:Pt.y,tt:Ze,x:Pt.x})}else Ze.isActive=!1}return Pe},[]);!ae&&he.some(Pe=>{let{outside:Oe}=O,Be=(Oe?ue:0)+Pe.anchorX;return Be<se.left&&Be+Pe.boxWidth<se.right||Be<ue-se.left+Pe.boxWidth&&se.right-Be>Be})&&(he=he.map(Pe=>{let{x:Oe,y:Be}=de(Pe.anchorX,Pe.anchorY,Pe.point.isHeader,Pe.boxWidth,!1);return L(Pe,{target:Be,x:Oe})})),O.cleanSplit(),A(he,fe);let me={left:ue,right:ue};he.forEach(function(Pe){let{x:Oe,boxWidth:Be,isHeader:Ue}=Pe;!Ue&&(O.outside&&ue+Oe<me.left&&(me.left=ue+Oe),!Ue&&O.outside&&me.left+Be>me.right&&(me.right=ue+Oe))}),he.forEach(function(Pe){let{x:Oe,anchorX:Be,anchorY:Ue,pos:ze,point:{isHeader:$e}}=Pe,Ze={visibility:ze===void 0?"hidden":"inherit",x:Oe,y:(ze||0)+be,anchorX:Be,anchorY:Ue};
38if(O.outside&&Oe<Be){let Xe=ue-me.left;Xe>0&&($e||(Ze.x=Oe+Xe,Ze.anchorX=Be+Xe),$e&&(Ze.x=(me.right-me.left)/2,Ze.anchorX=Be+Xe))}Pe.tt.attr(Ze)});let{container:ke,outside:Ce,renderer:Me}=O;if(Ce&&ke&&Me){let{width:Pe,height:Oe,x:Be,y:Ue}=ie.getBBox();Me.setSize(Pe+Be,Oe+Ue,!1),ke.style.left=me.left+"px",ke.style.top=ye+"px"}E&&ie.attr({opacity:ie.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let b=this.chart,M=this.label,O=this.shared?b.hoverPoints:b.hoverPoint;if(!M||!O)return;let _={x:0,y:0,width:0,height:0},U=this.getAnchor(O),q=M.getBBox();U[0]+=b.plotLeft-(M.translateX||0),U[1]+=b.plotTop-(M.translateY||0),_.x=Math.min(0,U[0]),_.y=Math.min(0,U[1]),_.width=U[0]<0?Math.max(Math.abs(U[0]),q.width-U[0]):Math.max(Math.abs(U[0]),q.width),_.height=U[1]<0?Math.max(Math.abs(U[1]),q.height-Math.abs(U[1])):Math.max(Math.abs(U[1]),q.height),this.tracker?this.tracker.attr(_):(this.tracker=M.renderer.rect(_).addClass("highcharts-tracker").add(M),b.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(b){return b.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(b,M){let O=b.series,_=O.tooltipOptions,U=O.xAxis,q=U&&U.dateTime,z={isFooter:M,labelConfig:b},J=_.xDateFormat,te=_[M?"footerFormat":"headerFormat"];return C(this,"headerFormatter",z,function(ce){q&&!J&&H(b.key)&&(J=q.getXDateFormat(b.key,_.dateTimeLabelFormats)),q&&J&&(b.point&&b.point.tooltipDateKeys||["key"]).forEac
38h(function(xe){te=te.replace("{point."+xe+"}","{point."+xe+":"+J+"}")}),O.chart.styledMode&&(te=this.styledModeFormat(te)),ce.text=x(te,{point:b,series:O},this.chart)}),z.text}update(b){this.destroy(),this.init(this.chart,N(!0,this.options,b))}updatePosition(b){let{chart:M,container:O,distance:_,options:U,pointer:q,renderer:z}=this,{height:J=0,width:te=0}=this.getLabel(),{left:ce,top:xe,scaleX:V,scaleY:Y}=q.getChartPosition(),X=(U.positioner||this.getPosition).call(this,te,J,b),ae=(b.plotX||0)+M.plotLeft,$=(b.plotY||0)+M.plotTop,K;z&&O&&(U.positioner&&(X.x+=ce-_,X.y+=xe-_),K=(U.borderWidth||0)+2*_+2,z.setSize(te+K,J+K,!1),(V!==1||Y!==1)&&(k(O,{transform:`scale(${V}, ${Y})`}),ae*=V,$*=Y),ae+=ce-X.x,$+=xe-X.y),this.move(Math.round(X.x),Math.round(X.y||0),ae,$)}}return(S=p||(p={})).compose=function(v){F(T,"Core.Tooltip")&&j(v,"afterInit",function(){let b=this.chart;b.options.tooltip&&(b.tooltip=new S(b,b.options.tooltip,this))})},p}),n(r,"Core/Series/Point.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/Defaults.js"],r["Core/Templating.js"],r["Core/Utilities.js"]],function(i,a,o,f,u){let{animObject:m}=a,{defaultOptions:S}=o,{format:w}=f,{addEvent:x,crisp:T,erase:y,extend:E,fireEvent:A,getNestedProperty:j,isArray:R,isFunction:k,isNumber:B,isObject:L,merge:C,pick:h,syncTimeout:H,removeEvent:P,uniqueKey:N}=u;class I{animateBeforeDestroy(){let l=this,d={x:l.startXPos,opacity:0},p=l.getGraphicalProps();p.singular.forEach(function(v){l[v]=l[v].animate(v==="dataLabel"?{x:l[v].startXPos,y:l[v].startYPos,opacity:0}:d)}),p.plural.forEach(function(v){l[v].forEach(function(b){b.element&&b.animate(E({x:l.startXPos},b.startYPos?{x:b.startXPos,y:b.startYPos}:{}))})})}applyOptions(l,d){let p=this.series,v=p.options.pointValKey||p.pointValKey;return E(this,l=I.prototype.optionsToObject.call(this,l)),this.options=this.options?E(this.options,l):l,l.group&&delete this.group,l.dataLabels&&delete this.dataLabels,v&&(this.y=I.prototype.getNestedProperty.call(this,v)),this.selected&&(this.state="select"),"name"in this&&d===void 0&&p.xAxis&&p.xAxis.hasNames&&(this.x=p.xAxis.nameToX(this)),this.x===void 0&&p?this.x=d??p.autoIncrement():B(l.x)&&p.options.relativeXValue&&(this.x=p.autoIncrement(l.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let l=this,d=l.series,p=d.chart,v=d.options.dataSorting,b=p.hoverPoints,M=m(l.series.chart.renderer.globalAnimation),O=()=>{for(let _ in(l.graphic||l.graphics||l.dataLabel||l.dataLabels)&&(P(l),l.destroyElements()),l)delete l[_]};l.legendItem&&p.legend.destroyItem(l),b&&(l.setState(),y(b,l),b.length||(p.hoverPoints=null)),l===p.hoverPoint&&l.onMouseOut(),v&&v.enabled?(this.animateBeforeDestroy(),H(O,M.duration)):O(),p.pointCount--}this.destroyed=!0}destroyElements(l){let d=this,p=d.getGraphicalProps(l);p.singular.forEach(function(v){d[v]=d[v].destroy()}),p.plural.forEach(function(v){d[v].forEach(function(b){b&&b.element&&b.destroy()}),delete d[v]})}firePointEvent(l,d,p){let v=this,b=this.series.options;v.manageEvent(l),l==="click"&&b.allowPointSelect&&(p=function(M){!v.destroyed&&v.select&&v.select(null,M.ctrlKey||M.metaKey||M.shiftKey)}),A(v,l,d,p)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(l){let d,p,v=this,b=[],M={singular:[],plural:[]};for((l=l||{graphic:1,dataLabel:1}).graphic&&b.push("graphic","connector"),l.dataLabel&&b.push("dataLabel","dataLabelPath","dataLabelUpper"),p=b.length;p--;)v[d=b[p]]&&M.singular.push(d);return["graphic","dataLabel"].forEach(function(O){let _=O+"s";l[O]&&v[_]&&M.plural.push(_)}),M}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(l){return l?l.indexOf("custom.")===0?j(l,this.options):this[l]:void 0}getZone(){let l=this.series,d=l.zones,p=l.zoneAxis||"y",v,b=0;for(v=d[0];this[p]>=v.value;)v=d[++b];return this.nonZonedColor||(this.nonZonedColor=this.color),v&&v.color&&!this.options.color?this.color=v.color:this.color=this.nonZonedColor,v}
38hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(l,d,p){this.formatPrefix="point",this.visible=!0,this.series=l,this.applyOptions(d,p),this.id??(this.id=N()),this.resolveColor(),l.chart.pointCount++,A(this,"afterInit")}isValid(){return(B(this.x)||this.x instanceof Date)&&B(this.y)}optionsToObject(l){let d=this.series,p=d.options.keys,v=p||d.pointArrayMap||["y"],b=v.length,M={},O,_=0,U=0;if(B(l)||l===null)M[v[0]]=l;else if(R(l))for(!p&&l.length>b&&((O=typeof l[0])=="string"?M.name=l[0]:O==="number"&&(M.x=l[0]),_++);U<b;)p&&l[_]===void 0||(v[U].indexOf(".")>0?I.prototype.setNestedProperty(M,l[_],v[U]):M[v[U]]=l[_]),_++,U++;else typeof l=="object"&&(M=l,l.dataLabels&&(d.hasDataLabels=()=>!0),l.marker&&(d._hasPointMarkers=!0));return M}pos(l,d=this.plotY){if(!this.destroyed){let{plotX:p,series:v}=this,{chart:b,xAxis:M,yAxis:O}=v,_=0,U=0;if(B(p)&&B(d))return l&&(_=M?M.pos:b.plotLeft,U=O?O.pos:b.plotTop),b.inverted&&M&&O?[O.len-d+U,M.len-p+_]:[p+_,d+U]}}resolveColor(){let l=this.series,d=l.chart.options.chart,p=l.chart.styledMode,v,b,M=d.colorCount,O;delete this.nonZonedColor,l.options.colorByPoint?(p||(v=(b=l.options.colors||l.chart.options.colors)[l.colorCounter],M=b.length),O=l.colorCounter,l.colorCounter++,l.colorCounter===M&&(l.colorCounter=0)):(p||(v=l.color),O=l.colorIndex),this.colorIndex=h(this.options.colorIndex,O),this.color=h(this.options.color,v)}setNestedProperty(l,d,p){return p.split(".").reduce(function(v,b,M,O){let _=O.length-1===M;return v[b]=_?d:L(v[b],!0)?v[b]:{},v[b]},l),l}shouldDraw(){return!this.isNull}tooltipFormatter(l){let d=this.series,p=d.tooltipOptions,v=h(p.valueDecimals,""),b=p.valuePrefix||"",M=p.valueSuffix||"";return d.chart.styledMode&&(l=d.chart.tooltip.styledModeFormat(l)),(d.pointArrayMap||["y"]).forEac
38h(function(O){O="{point."+O,(b||M)&&(l=l.replace(RegExp(O+"}","g"),b+O+"}"+M)),l=l.replace(RegExp(O+"}","g"),O+":,."+v+"f}")}),w(l,{point:this,series:this.series},d.chart)}update(l,d,p,v){let b,M=this,O=M.series,_=M.graphic,U=O.chart,q=O.options;function z(){M.applyOptions(l);let J=_&&M.hasMockGraphic,te=M.y===null?!J:J;_&&te&&(M.graphic=_.destroy(),delete M.hasMockGraphic),L(l,!0)&&(_&&_.element&&l&&l.marker&&l.marker.symbol!==void 0&&(M.graphic=_.destroy()),l?.dataLabels&&M.dataLabel&&(M.dataLabel=M.dataLabel.destroy())),b=M.index,O.updateParallelArrays(M,b),q.data[b]=L(q.data[b],!0)||L(l,!0)?M.options:h(l,q.data[b]),O.isDirty=O.isDirtyData=!0,!O.fixedBox&&O.hasCartesianSeries&&(U.isDirtyBox=!0),q.legendType==="point"&&(U.isDirtyLegend=!0),d&&U.redraw(p)}d=h(d,!0),v===!1?z():M.firePointEvent("update",{options:l},z)}remove(l,d){this.series.removePoint(this.series.data.indexOf(this),l,d)}select(l,d){let p=this,v=p.series,b=v.chart;l=h(l,!p.selected),this.selectedStaging=l,p.firePointEvent(l?"select":"unselect",{accumulate:d},function(){p.selected=p.options.selected=l,v.options.data[v.data.indexOf(p)]=p.options,p.setState(l&&"select"),d||b.getSelectedPoints().forEac
38h(function(M){let O=M.series;M.selected&&M!==p&&(M.selected=M.options.selected=!1,O.options.data[O.data.indexOf(M)]=M.options,M.setState(b.hoverPoints&&O.options.inactiveOtherPoints?"inactive":""),M.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(l){let{inverted:d,pointer:p}=this.series.chart;p&&(l=l?p.normalize(l):p.getChartCoordinatesFromPoint(this,d),p.runPointActions(l,this))}onMouseOut(){let l=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(l.hoverPoints||[]).forEach(function(d){d.setState()}),l.hoverPoints=l.hoverPoint=null}manageEvent(l){let d=C(this.series.options.point,this.options),p=d.events?.[l];k(p)&&(!this.hcEvents?.[l]||this.hcEvents?.[l]?.map(v=>v.fn).indexOf(p)===-1)?(this.importedUserEvent?.(),this.importedUserEvent=x(this,l,p)):this.importedUserEvent&&!p&&this.hcEvents?.[l]&&(P(this,l),delete this.hcEvents[l],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(l,d){let p=this.series,v=this.state,b=p.options.states[l||"normal"]||{},M=S.plotOptions[p.type].marker&&p.options.marker,O=M&&M.enabled===!1,_=M&&M.states&&M.states[l||"normal"]||{},U=_.enabled===!1,q=this.marker||{},z=p.chart,J=M&&p.markerAttribs,te=p.halo,ce,xe,V,Y=p.stateMarkerGraphic,X;if((l=l||"")===this.state&&!d||this.selected&&l!=="select"||b.enabled===!1||l&&(U||O&&_.enabled===!1)||l&&q.states&&q.states[l]&&q.states[l].enabled===!1)return;if(this.state=l,J&&(ce=p.markerAttribs(this,l)),this.graphic&&!this.hasMockGraphic){if(v&&this.graphic.removeClass("highcharts-point-"+v),l&&this.graphic.addClass("highcharts-point-"+l),!z.styledMode){xe=p.pointAttribs(this,l),V=h(z.options.chart.animation,b.animation);let Z=xe.opacity;p.options.inactiveOtherPoints&&B(Z)&&(this.dataLabels||[]).forEach(function(se){se&&!se.hasClass("highcharts-data-label-hidden")&&(se.animate({opacity:Z},V),se.connector&&se.connector.animate({opacity:Z},V))}),this.graphic.animate(xe,V)}ce&&this.graphic.animate(ce,h(z.options.chart.animation,_.animation,M.animation)),Y&&Y.hide()}else l&&_&&(X=q.symbol||p.symbol,Y&&Y.currentSymbol!==X&&(Y=Y.destroy()),ce&&(Y?Y[d?"animate":"attr"]({x:ce.x,y:ce.y}):X&&(p.stateMarkerGraphic=Y=z.renderer.symbol(X,ce.x,ce.y,ce.width,ce.height).add(p.markerGroup),Y.currentSymbol=X)),!z.styledMode&&Y&&this.state!=="inactive"&&Y.attr(p.pointAttribs(this,l))),Y&&(Y[l&&this.isInside?"show":"hide"](),Y.element.point=this,Y.addClass(this.getClassName(),!0));let ae=b.halo,$=this.graphic||Y,K=$&&$.visibility||"inherit";ae&&ae.size&&$&&K!=="hidden"&&!this.isCluster?(te||(p.halo=te=z.renderer.path().add($.parentGroup)),te.show()[d?"animate":"attr"]({d:this.haloPath(ae.size)}),te.attr({class:"highcharts-halo highcharts-color-"+h(this.colorIndex,p.colorIndex)+(this.className?" "+this.className:""),visibility:K,zIndex:-1}),te.point=this,z.styledMode||te.attr(E({fill:this.color||p.color,"fill-opacity":ae.opacity},i.filterUserAttributes(ae.attributes||{})))):te?.point?.haloPath&&!te.point.destroyed&&te.animate({d:te.point.haloPath(0)},null,te.hide),A(this,"afterSetState",{state:l})}haloPath(l){let d=this.pos();return d?this.series.chart.renderer.symbols.circle(T(d[0],1)-l,d[1]-l,2*l,2*l):[]}}return I}),n(r,"Core/Pointer.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o){var f;let{parse:u}=i,{charts:m,composed:S,isTouchDevice:w}=a,{addEvent:x,attr:T,css:y,extend:E,find:A,fireEvent:j,isNumber:R,isObject:k,objectEach:B,offset:L,pick:C,pushUnique:h,splat:H}=o;class P{applyInactiveState(I){let F=[],l;(I||[]).forEach(function(d){l=d.series,F.push(l),l.linkedParent&&F.push(l.linkedParent),l.linkedSeries&&(F=F.concat(l.linkedSeries)),l.navigatorSeries&&F.push(l.navigatorSeries)}),this.chart.series.forEach(function(d){F.indexOf(d)===-1?d.setState("inactive",!0):d.options.inactiveOtherPoints&&d.setAllPointsToState("inactive")})}destroy(){let I=this;this.eventsToUnbind.forEach(F=>F()),this.eventsToUnbind=[],!a.chartCount&&(P.unbindDocumentMouseUp&&P.unbindDocumentMouseUp.forEach(F=>F()),P.unbindDocumentTouchEnd&&(P.unbindDocumentTouchEnd=P.unbindDocumentTouchEnd())),clearInterval(I.tooltipTimeout),B(I,function(F,l){I[l]=void 0})}getSelectionMarkerAttrs(I,F){let l={args:{chartX:I,chartY:F},attrs:{},shapeType:"rect"};return j(this,"getSelectionMarkerAttrs",l,d=>
38{let p,{chart:v,zoomHor:b,zoomVert:M}=this,{mouseDownX:O=0,mouseDownY:_=0}=v,U=d.attrs;U.x=v.plotLeft,U.y=v.plotTop,U.width=b?1:v.plotWidth,U.height=M?1:v.plotHeight,b&&(p=I-O,U.width=Math.max(1,Math.abs(p)),U.x=(p>0?0:p)+O),M&&(p=F-_,U.height=Math.max(1,Math.abs(p)),U.y=(p>0?0:p)+_)}),l}drag(I){let{chart:F}=this,{mouseDownX:l=0,mouseDownY:d=0}=F,{panning:p,panKey:v,selectionMarkerFill:b}=F.options.chart,M=F.plotLeft,O=F.plotTop,_=F.plotWidth,U=F.plotHeight,q=k(p)?p.enabled:p,z=v&&I[`${v}Key`],J=I.chartX,te=I.chartY,ce,xe=this.selectionMarker;if((!xe||!xe.touch)&&(J<M?J=M:J>M+_&&(J=M+_),te<O?te=O:te>O+U&&(te=O+U),this.hasDragged=Math.sqrt(Math.pow(l-J,2)+Math.pow(d-te,2)),this.hasDragged>10)){ce=F.isInsidePlot(l-M,d-O,{visiblePlotOnly:!0});let{shapeType:V,attrs:Y}=this.getSelectionMarkerAttrs(J,te);(F.hasCartesianSeries||F.mapView)&&this.hasZoom&&ce&&!z&&!xe&&(this.selectionMarker=xe=F.renderer[V](),xe.attr({class:"highcharts-selection-marker",zIndex:7}).add(),F.styledMode||xe.attr({fill:b||u("#334eff").setOpacity(.25).get()})),xe&&xe.attr(Y),ce&&!xe&&q&&F.pan(I,p)}}dragStart(I){let F=this.chart;F.mouseIsDown=I.type,F.cancelClick=!1,F.mouseDownX=I.chartX,F.mouseDownY=I.chartY}getSelectionBox(I){let F={args:{marker:I},result:I.getBBox()};return j(this,"getSelectionBox",F),F.result}drop(I){let F,{chart:l,selectionMarker:d}=this;for(let p of l.axes)p.isPanning&&(p.isPanning=!1,(p.options.startOnTick||p.options.endOnTick||p.series.some(v=>v.boosted))&&(p.forceRedraw=!0,p.setExtremes(p.userMin,p.userMax,!1),F=!0));if(F&&l.redraw(),d&&I){if(this.hasDragged){let p=this.getSelectionBox(d);l.transform({axes:l.axes.filter(v=>v.zoomEnabled&&(v.coll==="xAxis"&&this.zoomX||v.coll==="yAxis"&&this.zoomY)),selection:{originalEvent:I,xAxis:[],yAxis:[],...p},from:p})}R(l.index)&&(this.selectionMarker=d.destroy())}l&&R(l.index)&&(y(l.container,{cursor:l._cursor}),l.cancelClick=this.hasDragged>10,l.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(I,F,l){let d;return I.forEach(function(p){let v=!(p.noSharedTooltip&&F)&&0>p.options.findNearestPointBy.indexOf("y"),b=p.searchPoint(l,v);k(b,!0)&&b.series&&(!k(d,!0)||(function(M,O){let _=M.distX-O.distX,U=M.dist-O.dist,q=O.series.group?.zIndex-M.series.group?.zIndex;return _!==0&&F?_:U!==0?U:q!==0?q:M.series.index>O.series.index?-1:1})(d,b)>0)&&(d=b)}),d}getChartCoordinatesFromPoint(I,F){let{xAxis:l,yAxis:d}=I.series,p=I.shapeArgs;if(l&&d){let v=I.clientX??I.plotX??0,b=I.plotY||0;return I.isNode&&p&&R(p.x)&&R(p.y)&&(v=p.x,b=p.y),F?{chartX:d.len+d.pos-b,chartY:l.len+l.pos-v}:{chartX:v+l.pos,chartY:b+d.pos}}if(p&&p.x&&p.y)return{chartX:p.x,chartY:p.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:I}=this.chart,F=L(I);this.chartPosition={left:F.left,top:F.top,scaleX:1,scaleY:1};let{offsetHeight:l,offsetWidth:d}=I;return d>2&&l>2&&(this.chartPosition.scaleX=F.width/d,this.chartPosition.scaleY=F.height/l),this.chartPosition}getCoordinates(I){let F={xAxis:[],yAxis:[]};for(let l of this.chart.axes)F[l.isXAxis?"xAxis":"yAxis"].push({axis:l,value:l.toValue(I[l.horiz?"chartX":"chartY"])});return F}getHoverData(I,F,l,d,p,v){let b=[],M=function(z){return z.visible&&!(!p&&z.directTouch)&&C(z.options.enableMouseTracking,!0)},O=F,_,U={chartX:v?v.chartX:void 0,chartY:v?v.chartY:void 0,shared:p};j(this,"beforeGetHoverData",U),_=O&&!O.stickyTracking?[O]:l.filter(z=>z.stickyTracking&&(U.filter||M)(z));let q=d&&I||!v?I:this.findNearestKDPoint(_,p,v);return O=q&&q.series,q&&(p&&!O.noSharedTooltip?(_=l.filter(function(z){return U.filter?U.filter(z):M(z)&&!z.noSharedTooltip})).forEach(function(z){let J=A(z.points,function(te){return te.x===q.x&&!te.isNull});k(J)&&(z.boosted&&z.boost&&(J=z.boost.getPoint(J)),b.push(J))}):b.push(q)),j(this,"afterGetHoverData",U={hoverPoint:q}),{hoverPoint:U.hoverPoint,hoverSeries:O,hoverPoints:b}}getPointFromEvent(I){let F=I.target,l;for(;F&&!l;)l=F.point,F=F.parentNode;return l}onTrackerMouseOut(I){let F=this.chart,l=I.relatedTarget,d=F.hoverSeries;this.isDirectTouch=!1,!d||!l||d.stickyTracking||this.inClass(l,"highcharts-tooltip")||this.inClass(l,"highcharts-series-"+d.index)&&this.inClass(l,"highcharts-tracker")||d.onMouseOut()}inClass(I,F){let l=I,d;for(;l;){if(d=T(l,"class")){if(d.indexOf(F)!==-1)return!0;
38if(d.indexOf("highcharts-container")!==-1)return!1}l=l.parentElement}}constructor(I,F){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=F,this.chart=I,this.runChartClick=!!F.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),j(this,"afterInit")}normalize(I,F){let l=I.touches,d=l?l.length?l.item(0):C(l.changedTouches,I.changedTouches)[0]:I;F||(F=this.getChartPosition());let p=d.pageX-F.left,v=d.pageY-F.top;return E(I,{chartX:Math.round(p/=F.scaleX),chartY:Math.round(v/=F.scaleY)})}onContainerClick(I){let F=this.chart,l=F.hoverPoint,d=this.normalize(I),p=F.plotLeft,v=F.plotTop;!F.cancelClick&&(l&&this.inClass(d.target,"highcharts-tracker")?(j(l.series,"click",E(d,{point:l})),F.hoverPoint&&l.firePointEvent("click",d)):(E(d,this.getCoordinates(d)),F.isInsidePlot(d.chartX-p,d.chartY-v,{visiblePlotOnly:!0})&&j(F,"click",d)))}onContainerMouseDown(I){let F=(1&(I.buttons||I.button))==1;I=this.normalize(I),a.isFirefox&&I.button!==0&&this.onContainerMouseMove(I),(I.button===void 0||F)&&(this.zoomOption(I),F&&I.preventDefault?.(),this.dragStart(I))}onContainerMouseLeave(I){let{pointer:F}=m[C(P.hoverChartIndex,-1)]||{};I=this.normalize(I),this.onContainerMouseMove(I),F&&!this.inClass(I.relatedTarget,"highcharts-tooltip")&&(F.reset(),F.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(I){let F=this.chart,l=F.tooltip,d=this.normalize(I);this.setHoverChartIndex(I),(F.mouseIsDown==="mousedown"||this.touchSelect(d))&&this.drag(d),!F.openMenu&&(this.inClass(d.target,"highcharts-tracker")||F.isInsidePlot(d.chartX-F.plotLeft,d.chartY-F.plotTop,{visiblePlotOnly:!0}))&&!(l&&l.shouldStickOnContact(d))&&(this.inClass(d.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(d))}onDocumentTouchEnd(I){this.onDocumentMouseUp(I)}onContainerTouchMove(I){this.touchSelect(I)?this.onContainerMouseMove(I):this.touch(I)}onContainerTouchStart(I){this.touchSelect(I)?this.onContainerMouseDown(I):(this.zoomOption(I),this.touch(I,!0))}onDocumentMouseMove(I){let F=this.chart,l=F.tooltip,d=this.chartPosition,p=this.normalize(I,d);!d||F.isInsidePlot(p.chartX-F.plotLeft,p.chartY-F.plotTop,{visiblePlotOnly:!0})||l&&l.shouldStickOnContact(p)||p.target!==F.container.ownerDocument&&this.inClass(p.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(I){m[C(P.hoverChartIndex,-1)]?.pointer?.drop(I)}pinch(I){let F=this,{chart:l,hasZoom:d,lastTouches:p}=F,v=[].map.call(I.touches||[],U=>F.normalize(U)),b=v.length,M=b===1&&(F.inClass(I.target,"highcharts-tracker")&&l.runTrackerClick||F.runChartClick),O=l.tooltip,_=b===1&&C(O?.options.followTouchMove,!0);b>1?F.initiated=!0:_&&(F.initiated=!1),d&&F.initiated&&!M&&I.cancelable!==!1&&I.preventDefault(),I.type==="touchstart"?(F.pinchDown=v,F.res=!0,l.mouseDownX=I.chartX):_?this.runPointActions(F.normalize(I)):p&&(j(l,"touchpan",{originalEvent:I,touches:v},()=>{let U=q=>{let z=q[0],J=q[1]||z;return{x:z.chartX,y:z.chartY,width:J.chartX-z.chartX,height:J.chartY-z.chartY}};l.transform({axes:l.axes.filter(q=>q.zoomEnabled&&(this.zoomHor&&q.horiz||this.zoomVert&&!q.horiz)),to:U(v),from:U(p),trigger:I.type})}),F.res&&(F.res=!1,this.reset(!1,0))),F.lastTouches=v}reset(I,F){let l=this.chart,d=l.hoverSeries,p=l.hoverPoint,v=l.hoverPoints,b=l.tooltip,M=b&&b.shared?v:p;I&&M&&H(M).forEach(function(O){O.series.isCartesian&&O.plotX===void 0&&(I=!1)}),I?b&&M&&H(M).length&&(b.refresh(M),b.shared&&v?v.forEach(function(O){O.setState(O.state,!0),O.series.isCartesian&&(O.series.xAxis.crosshair&&O.series.xAxis.drawCrosshair(null,O),O.series.yAxis.crosshair&&O.series.yAxis.drawCrosshair(null,O))}):p&&(p.setState(p.state,!0),l.axes.forEach(function(O){O.crosshair&&p.series[O.coll]===O&&O.drawCrosshair(null,p)}))):(p&&p.onMouseOut(),v&&v.forEach(function(O){O.setState()}),d&&d.onMouseOut(),b&&b.hide(F),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),l.axes.forEach(function(O){O.hideCrosshair()}),l.hoverPoints=l.hoverPoint=void 0)}runPointActions(I,F,l){let d=this.chart,p=d.series,v=d.tooltip&&d.tooltip.options.enabled?d.tooltip:void 0,b=!!v&&v.shared,M=F||d.hoverPoint,O=M&&M.series||d.hoverSeries,_=(!I||I.type!=="touchmove")&&(!!F||O&&O.directTouch&&this.isDirectTouch),U=this.getHoverData(M,O,p,_,b,I);M=U.hoverPoint,O=U.hoverSeries;let q=U.hoverPoints,z=O&&O.tooltipOptions.followPointer&&!O.tooltipOptions.split,J=b&&O&&!O.noSharedTooltip;if(M&&(l||M!==d.hoverPoint||v&&v.isHidden)){if((d.hoverPoints||[]).forEac
38h(function(te){q.indexOf(te)===-1&&te.setState()}),d.hoverSeries!==O&&O.onMouseOver(),this.applyInactiveState(q),(q||[]).forEach(function(te){te.setState("hover")}),d.hoverPoint&&d.hoverPoint.firePointEvent("mouseOut"),!M.series)return;d.hoverPoints=q,d.hoverPoint=M,M.firePointEvent("mouseOver",void 0,()=>{v&&M&&v.refresh(J?q:M,I)})}else if(z&&v&&!v.isHidden){let te=v.getAnchor([{}],I);d.isInsidePlot(te[0],te[1],{visiblePlotOnly:!0})&&v.updatePosition({plotX:te[0],plotY:te[1]})}this.unDocMouseMove||(this.unDocMouseMove=x(d.container.ownerDocument,"mousemove",te=>m[P.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(te)),this.eventsToUnbind.push(this.unDocMouseMove)),d.axes.forEach(function(te){let ce,xe=C((te.crosshair||{}).snap,!0);!xe||(ce=d.hoverPoint)&&ce.series[te.coll]===te||(ce=A(q,V=>V.series&&V.series[te.coll]===te)),ce||!xe?te.drawCrosshair(I,ce):te.hideCrosshair()})}setDOMEvents(){let I=this.chart.container,F=I.ownerDocument;I.onmousedown=this.onContainerMouseDown.bind(this),I.onmousemove=this.onContainerMouseMove.bind(this),I.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(x(I,"mouseenter",this.onContainerMouseEnter.bind(this)),x(I,"mouseleave",this.onContainerMouseLeave.bind(this))),P.unbindDocumentMouseUp||(P.unbindDocumentMouseUp=[]),P.unbindDocumentMouseUp.push(x(F,"mouseup",this.onDocumentMouseUp.bind(this)));let l=this.chart.renderTo.parentElement;for(;l&&l.tagName!=="BODY";)this.eventsToUnbind.push(x(l,"scroll",()=>{delete this.chartPosition})),l=l.parentElement;this.eventsToUnbind.push(x(I,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),x(I,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),P.unbindDocumentTouchEnd||(P.unbindDocumentTouchEnd=x(F,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),x(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!w)return;let I=this.pointerCaptureEventsToUnbind,F=this.chart,l=F.container,d=C(F.options.tooltip?.followTouchMove,!0)&&F.series.some(p=>p.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&d?(I.push(x(l,"pointerdown",p=>{p.target?.hasPointerCapture(p.pointerId)&&p.target?.releasePointerCapture(p.pointerId)}),x(l,"pointermove",p=>{F.pointer?.getPointFromEvent(p)?.onMouseOver(p)})),F.styledMode||y(l,{"touch-action":"none"}),l.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!d&&(I.forEach(p=>p()),I.length=0,F.styledMode||y(l,{"touch-action":C(F.options.chart.style?.["touch-action"],"manipulation")}),l.className=l.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(I){let F=this.chart,l=a.charts[C(P.hoverChartIndex,-1)];if(l&&l!==F){let d={relatedTarget:F.container};I&&!I?.relatedTarget&&(I={...d,...I}),l.pointer?.onContainerMouseLeave(I||d)}l&&l.mouseIsDown||(P.hoverChartIndex=F.index)}touch(I,F){let l,{chart:d,pinchDown:p=[]}=this;this.setHoverChartIndex(),(I=this.normalize(I)).touches.length===1?d.isInsidePlot(I.chartX-d.plotLeft,I.chartY-d.plotTop,{visiblePlotOnly:!0})&&!d.openMenu?(F&&this.runPointActions(I),I.type==="touchmove"&&(l=!!p[0]&&Math.pow(p[0].chartX-I.chartX,2)+Math.pow(p[0].chartY-I.chartY,2)>=16),C(l,!0)&&this.pinch(I)):F&&this.reset():I.touches.length===2&&this.pinch(I)}touchSelect(I){return!!(this.chart.zooming.singleTouch&&I.touches&&I.touches.length===1)}zoomOption(I){let F=this.chart,l=F.inverted,d=F.zooming.type||"",p,v;/touch/.test(I.type)&&(d=C(F.zooming.pinchType,d)),this.zoomX=p=/x/.test(d),this.zoomY=v=/y/.test(d),this.zoomHor=p&&!l||v&&l,this.zoomVert=v&&!l||p&&l,this.hasZoom=p||v}}return(f=P||(P={})).compose=function(N){h(S,"Core.Pointer")&&x(N,"beforeRender",function(){this.pointer=new f(this,this.options)})},P}),n(r,"Core/Legend/LegendSymbol.js",[r["Core/Utilities.js"]],function(i){var a;let{extend:o,merge:f,pick:u}=i;return(function(m){function S(w,x,T){let y=this.legendItem=this.legendItem||{},{chart:E,options:A}=this,{baseline:j=0,symbolWidth:R,symbolHeight:k}=w,B=this.symbol||"circle",L=k/2,C=E.renderer,h=y.group,H=j-Math.round((w.fontMetrics?.b||k)*(T?.4:.3)),P={},N,I=A.marker,F=0;if(E.styledMode||(P["stroke-width"]=Math.min(A.lineWidth||0,24),A.dashStyle?P.dashstyle=A.dashStyle:A.linecap==="square"||(P["stroke-linecap"]="round")),y.line=C.path().addClass("highcharts-graph").attr(P).add(h),T&&(y.area=C.path().addClass("highcharts-area").add(h)),P["stroke-linecap"]&&(F=Math.min(y.line.strokeWidth(),R)/2),R){let l=[["M",F,H],["L",R-F,H]];y.line.attr({d:l}),y.area?.attr({d:[...l,["L",R-F,j],["L",F,j]]})}if(I&&I.enabled!==!1&&R){let l=Math.min(u(I.radius,L),L);B.indexOf("url")===0&&(I=f(I,{width:k,height:k}),l=0),y.symbol=N=C.symbol(B,R/2-l,H-l,2*l,2*l,o({context:"legend"},I)).addClass("highcharts-point").add(h),N.isMarker=!0}}m.areaMarker=function(w,x){S.call(this,w,x,!0)}
38,m.lineMarker=S,m.rectangle=function(w,x){let T=x.legendItem||{},y=w.options,E=w.symbolHeight,A=y.squareSymbol,j=A?E:w.symbolWidth;T.symbol=this.chart.renderer.rect(A?(w.symbolWidth-E)/2:0,w.baseline-E+1,j,E,u(w.options.symbolRadius,E/2)).addClass("highcharts-point").attr({zIndex:3}).add(T.group)}})(a||(a={})),a}),n(r,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:i}=this.series.chart;return typeof this.y!="number"?"":i(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),n(r,"Core/Series/SeriesRegistry.js",[r["Core/Globals.js"],r["Core/Defaults.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],function(i,a,o,f){var u;let{defaultOptions:m}=a,{extend:S,extendClass:w,merge:x}=f;return(function(T){function y(E,A){let j=m.plotOptions||{},R=A.defaultOptions,k=A.prototype;return k.type=E,k.pointClass||(k.pointClass=o),!T.seriesTypes[E]&&(R&&(j[E]=R),T.seriesTypes[E]=A,!0)}T.seriesTypes=i.seriesTypes,T.registerSeriesType=y,T.seriesType=function(E,A,j,R,k){let B=m.plotOptions||{};if(A=A||"",B[E]=x(B[A],j),delete T.seriesTypes[E],y(E,w(T.seriesTypes[A]||function(){},R)),T.seriesTypes[E].prototype.type=E,k){class L extends o{}S(L.prototype,k),T.seriesTypes[E].prototype.pointClass=L}return T.seriesTypes[E]}})(u||(u={})),u}),n(r,"Core/Series/Series.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Defaults.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Point.js"],r["Core/Series/SeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w,x,T){let{animObject:y,setAnimation:E}=i,{defaultOptions:A}=a,{registerEventOptions:j}=o,{svg:R,win:k}=f,{seriesTypes:B}=w,{arrayMax:L,arrayMin:C,clamp:h,correctFloat:H,crisp:P,defined:N,destroyObjectProperties:I,diffObjects:F,erase:l,error:d,extend:p,find:v,fireEvent:b,getClosestDistance:M,getNestedProperty:O,insertItem:_,isArray:U,isNumber:q,isString:z,merge:J,objectEach:te,pick:ce,removeEvent:xe,splat:V,syncTimeout:Y}=T;class X{constructor(){this.zoneAxis="y"}init($,K){let Z;b(this,"init",{options:K});let se=this,ie=$.series;this.eventsToUnbind=[],se.chart=$,se.options=se.setOptions(K);let ne=se.options,oe=ne.visible!==!1;se.linkedSeries=[],se.bindAxes(),p(se,{name:ne.name,state:"",visible:oe,selected:ne.selected===!0}),j(this,ne);let ue=ne.events;(ue&&ue.click||ne.point&&ne.point.events&&ne.point.events.click||ne.allowPointSelect)&&($.runTrackerClick=!0),se.getColor(),se.getSymbol(),se.parallelArrays.forEach(function(ye){se[ye+"Data"]||(se[ye+"Data"]=[])}),se.isCartesian&&($.hasCartesianSeries=!0),ie.length&&(Z=ie[ie.length-1]),se._i=ce(Z&&Z._i,-1)+1,se.opacity=se.options.opacity,$.orderItems("series",_(this,ie)),ne.dataSorting&&ne.dataSorting.enabled?se.setDataSortingOptions():se.points||se.data||se.setData(ne.data,!1),b(this,"afterInit")}is($){return B[$]&&this instanceof B[$]}bindAxes(){let $,K=this,Z=K.options,se=K.chart;b(this,"bindAxes",null,function(){(K.axisTypes||[]).forEach(function(ie){(se[ie]||[]).forEach(function(ne){$=ne.options,(ce(Z[ie],0)===ne.index||Z[ie]!==void 0&&Z[ie]===$.id)&&(_(K,ne.series),K[ie]=ne,ne.isDirty=!0)}),K[ie]||K.optionalAxis===ie||d(18,!0,se)})}),b(this,"afterBindAxes")}updateParallelArrays($,K,Z){let se=$.series,ie=q(K)?function(ne){let oe=ne==="y"&&se.toYData?se.toYData($):$[ne];se[ne+"Data"][K]=oe}:function(ne){Array.prototype[K].apply(se[ne+"Data"],Z)};se.parallelArrays.forEach(ie)}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged($,K){let Z=$.marker,se=K.marker||{};return Z&&(se.enabled&&!Z.enabled||se.symbol!==Z.symbol||se.height!==Z.height||se.width!==Z.width)}autoIncrement($){let K=this.options,Z=K.pointIntervalUnit,se=K.relativeXValue,ie=this.chart.time,ne=this.xIncrement,oe,ue;return ne=ce(ne,K.pointStart,0),this.pointInterval=ue=ce(this.pointInterval,K.pointInterval,1),se&&q($)&&(ue*=$),Z&&(oe=new ie.Date(ne),Z==="day"?ie.set("Date",oe,ie.get("Date",oe)+ue):Z==="month"?ie.set("Month",oe,ie.get("Month",oe)+ue):Z==="year"&&ie.set("FullYear",oe,ie.get("FullYear",oe)+ue),ue=oe.getTime()-ne),se&&q($)?ne+ue:(this.xIncrement=ne+ue,ne)}setDataSortingOptions(){let $=this.options;p(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),N($.pointRange)||($.pointRange=1)}setOptions($){let K,Z=this.chart,se=Z.options.plotOptions,ie=Z.userOptions||{},ne=J($),oe=Z.styledMode,ue={plotOptions:se,userOptions:ne};b(this,"setOptions",ue);let ye=ue.plotOptions[this.type],be=ie.plotOptions||{},Te=be.series||{},fe=A.plotOptions[this.type]||{},de=be[this.type]||{};this.userOptions=ue.userOptions;let he=J(ye,se.series,de,ne);this.tooltipOptions=J(A.tooltip,A.plotOptions.series?.tooltip,fe?.tooltip,Z.userOptions.tooltip,be.series?.tooltip,de.tooltip,ne.tooltip),this.stickyTracking=ce(ne.stickyTracking,de.stickyTracking,Te.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||he.stickyTracking),ye.marker===null&&delete he.marker,this.zoneAxis=he.zoneAxis||"y";
38let me=this.zones=(he.zones||[]).map(ke=>({...ke}));return(he.negativeColor||he.negativeFillColor)&&!he.zones&&(K={value:he[this.zoneAxis+"Threshold"]||he.threshold||0,className:"highcharts-negative"},oe||(K.color=he.negativeColor,K.fillColor=he.negativeFillColor),me.push(K)),me.length&&N(me[me.length-1].value)&&me.push(oe?{}:{color:this.color,fillColor:this.fillColor}),b(this,"afterSetOptions",{options:he}),he}getName(){return ce(this.options.name,"Series "+(this.index+1))}getCyclic($,K,Z){let se,ie,ne=this.chart,oe=`${$}Index`,ue=`${$}Counter`,ye=Z?.length||ne.options.chart.colorCount;!K&&(N(ie=ce($==="color"?this.options.colorIndex:void 0,this[oe]))?se=ie:(ne.series.length||(ne[ue]=0),se=ne[ue]%ye,ne[ue]+=1),Z&&(K=Z[se])),se!==void 0&&(this[oe]=se),this[$]=K}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||A.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let $=this.options.marker;this.getCyclic("symbol",$.symbol,this.chart.options.symbols)}findPointIndex($,K){let Z,se,ie,ne=$.id,oe=$.x,ue=this.points,ye=this.options.dataSorting;if(ne){let be=this.chart.get(ne);be instanceof m&&(Z=be)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let be=Te=>!Te.touched&&Te.index===$.index;if(ye&&ye.matchByName?be=Te=>!Te.touched&&Te.name===$.name:this.options.relativeXValue&&(be=Te=>!Te.touched&&Te.options.x===$.x),!(Z=v(ue,be)))return}return Z&&(ie=Z&&Z.index)!==void 0&&(se=!0),ie===void 0&&q(oe)&&(ie=this.xData.indexOf(oe,K)),ie!==-1&&ie!==void 0&&this.cropped&&(ie=ie>=this.cropStart?ie-this.cropStart:ie),!se&&q(ie)&&ue[ie]&&ue[ie].touched&&(ie=void 0),ie}updateData($,K){let Z=this.options,se=Z.dataSorting,ie=this.points,ne=[],oe=this.requireSorting,ue=$.length===ie.length,ye,be,Te,fe,de=!0;if(this.xIncrement=null,$.forEach(function(he,me){let ke,Ce=N(he)&&this.pointClass.prototype.optionsToObject.call({series:this},he)||{},Me=Ce.x;Ce.id||q(Me)?((ke=this.findPointIndex(Ce,fe))===-1||ke===void 0?ne.push(he):ie[ke]&&he!==Z.data[ke]?(ie[ke].update(he,!1,null,!1),ie[ke].touched=!0,oe&&(fe=ke+1)):ie[ke]&&(ie[ke].touched=!0),(!ue||me!==ke||se&&se.enabled||this.hasDerivedData)&&(ye=!0)):ne.push(he)},this),ye)for(be=ie.length;be--;)(Te=ie[be])&&!Te.touched&&Te.remove&&Te.remove(!1,K);else!ue||se&&se.enabled?de=!1:($.forEach(function(he,me){he===ie[me].y||ie[me].destroyed||ie[me].update(he,!1,null,!1)}),ne.length=0);return ie.forEach(function(he){he&&(he.touched=!1)}),!!de&&(ne.forEach(function(he){this.addPoint(he,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=L(this.xData),this.autoIncrement()),!0)}setData($,K=!0,Z,se){let ie=this,ne=ie.points,oe=ne&&ne.length||0,ue=ie.options,ye=ie.chart,be=ue.dataSorting,Te=ie.xAxis,fe=ue.turboThreshold,de=this.xData,he=this.yData,me=ie.pointArrayMap,ke=me&&me.length,Ce=ue.keys,Me,Pe,Oe,Be=0,Ue=1,ze;ye.options.chart.allowMutatingData||(ue.data&&delete ie.options.data,ie.userOptions.data&&delete ie.userOptions.data,ze=J(!0,$));let $e=($=ze||$||[]).length;if(be&&be.enabled&&($=this.sortData($)),ye.options.chart.allowMutatingData&&se!==!1&&$e&&oe&&!ie.cropped&&!ie.hasGroupedData&&ie.visible&&!ie.boosted&&(Oe=this.updateData($,Z)),!Oe){ie.xIncrement=null,ie.colorCounter=0,this.parallelArrays.forEach(function(Xe){ie[Xe+"Data"].length=0});let Ze=fe&&$e>fe;if(Ze){let Xe=ie.getFirstValidPoint($),Ve=ie.getFirstValidPoint($,$e-1,-1),ut=Et=>!!(U(Et)&&(Ce||q(Et[0])));if(q(Xe)&&q(Ve))for(Me=0;Me<$e;Me++)de[Me]=this.autoIncrement(),he[Me]=$[Me];else if(ut(Xe)&&ut(Ve))if(ke)if(Xe.length===ke)for(Me=0;Me<$e;Me++)de[Me]=this.autoIncrement(),he[Me]=$[Me];else for(Me=0;Me<$e;Me++)Pe=$[Me],de[Me]=Pe[0],he[Me]=Pe.slice(1,ke+1);else if(Ce&&(Be=Ce.indexOf("x"),Ue=Ce.indexOf("y"),Be=Be>=0?Be:0,Ue=Ue>=0?Ue:1),Xe.length===1&&(Ue=0),Be===Ue)for(Me=0;Me<$e;Me++)de[Me]=this.autoIncrement(),he[Me]=$[Me][Ue];else for(Me=0;Me<$e;Me++)Pe=$[Me],de[Me]=Pe[Be],he[Me]=Pe[Ue];else Ze=!1}if(!Ze)for(Me=0;Me<$e;Me++)Pe={series:ie},ie.pointClass.prototype.applyOptions.apply(Pe,[$[Me]]),ie.updateParallelArrays(Pe,Me);for(he&&z(he[0])&&d(14,!0,ye),ie.data=[],ie.options.data=ie.userOptions.data=$,Me=oe;Me--;)ne[Me]?.destroy();Te&&(Te.minRange=Te.userMinRange),ie.isDirty=ye.isDirtyBox=!0,ie.isDirtyData=!!ne,Z=!1}ue.legendType==="point"&&(this.processData(),this.generatePoints()),K&&ye.redraw(Z)}sortData($){let K=this,Z=K.options.dataSorting.sortKey||"y",se=function(ie,ne){return N(ne)&&ie.pointClass.prototype.optionsToObject.call({series:ie},ne)||{}};return $.forEach(function(ie,ne){$[ne]=se(K,ie),$[ne].index=ne},this),$.concat().sort((ie,ne)=>{let oe=O(Z,ie),ue=O(Z,ne);return ue<oe?-1:ue>oe?1:0}
38).forEach(function(ie,ne){ie.x=ne},this),K.linkedSeries&&K.linkedSeries.forEach(function(ie){let ne=ie.options,oe=ne.data;ne.dataSorting&&ne.dataSorting.enabled||!oe||(oe.forEach(function(ue,ye){oe[ye]=se(ie,ue),$[ye]&&(oe[ye].x=$[ye].x,oe[ye].index=ye)}),ie.setData(oe,!1))}),$}getProcessedData($){let K=this,Z=K.xAxis,se=K.options.cropThreshold,ie=Z?.logarithmic,ne=K.isCartesian,oe,ue,ye=0,be,Te,fe,de=K.xData,he=K.yData,me=!1,ke=de.length;Z&&(Te=(be=Z.getExtremes()).min,fe=be.max,me=!!(Z.categories&&!Z.names.length)),ne&&K.sorted&&!$&&(!se||ke>se||K.forceCrop)&&(de[ke-1]<Te||de[0]>fe?(de=[],he=[]):K.yData&&(de[0]<Te||de[ke-1]>fe)&&(de=(oe=this.cropData(K.xData,K.yData,Te,fe)).xData,he=oe.yData,ye=oe.start,ue=!0));let Ce=M([ie?de.map(ie.log2lin):de],()=>K.requireSorting&&!me&&d(15,!1,K.chart));return{xData:de,yData:he,cropped:ue,cropStart:ye,closestPointRange:Ce}}processData($){let K=this.xAxis;if(this.isCartesian&&!this.isDirty&&!K.isDirty&&!this.yAxis.isDirty&&!$)return!1;let Z=this.getProcessedData();this.cropped=Z.cropped,this.cropStart=Z.cropStart,this.processedXData=Z.xData,this.processedYData=Z.yData,this.closestPointRange=this.basePointRange=Z.closestPointRange,b(this,"afterProcessData")}cropData($,K,Z,se){let ie=$.length,ne,oe,ue=0,ye=ie;for(ne=0;ne<ie;ne++)if($[ne]>=Z){ue=Math.max(0,ne-1);break}for(oe=ne;oe<ie;oe++)if($[oe]>se){ye=oe+1;break}return{xData:$.slice(ue,ye),yData:K.slice(ue,ye),start:ue,end:ye}}generatePoints(){let $=this.options,K=this.processedData||$.data,Z=this.processedXData,se=this.processedYData,ie=this.pointClass,ne=Z.length,oe=this.cropStart||0,ue=this.hasGroupedData,ye=$.keys,be=[],Te=$.dataGrouping&&$.dataGrouping.groupAll?oe:0,fe,de,he,me,ke=this.data;if(!ke&&!ue){let Ce=[];Ce.length=K.length,ke=this.data=Ce}for(ye&&ue&&(this.options.keys=!1),me=0;me<ne;me++)de=oe+me,ue?((he=new ie(this,[Z[me]].concat(V(se[me])))).dataGroup=this.groupMap[Te+me],he.dataGroup.options&&(he.options=he.dataGroup.options,p(he,he.dataGroup.options),delete he.dataLabels)):(he=ke[de])||K[de]===void 0||(ke[de]=he=new ie(this,K[de],Z[me])),he&&(he.index=ue?Te+me:de,be[me]=he);if(this.options.keys=ye,ke&&(ne!==(fe=ke.length)||ue))for(me=0;me<fe;me++)me!==oe||ue||(me+=ne),ke[me]&&(ke[me].destroyElements(),ke[me].plotX=void 0);this.data=ke,this.points=be,b(this,"afterGeneratePoints")}getXExtremes($){return{min:C($),max:L($)}}getExtremes($,K){let Z=this.xAxis,se=this.yAxis,ie=[],ne=this.requireSorting&&!this.is("column")?1:0,oe=!!se&&se.positiveValuesOnly,ue=K||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:ye,processedYData:be}=this,Te,fe,de,he,me,ke,Ce,Me=0,Pe=0,Oe=0;if(this.cropped&&ue){let $e=this.getProcessedData(!0);ye=$e.xData,be=$e.yData}let Be=($=$||this.stackedYData||be||[]).length,Ue=ye||this.xData;for(Z&&(Me=(Te=Z.getExtremes()).min,Pe=Te.max),ke=0;ke<Be;ke++)if(he=Ue[ke],fe=(q(me=$[ke])||U(me))&&((q(me)?me>0:me.length)||!oe),de=K||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!Z||(Ue[ke+ne]||he)>=Me&&(Ue[ke-ne]||he)<=Pe,fe&&de)if(Ce=me.length)for(;Ce--;)q(me[Ce])&&(ie[Oe++]=me[Ce]);else ie[Oe++]=me;let ze={activeYData:ie,dataMin:C(ie),dataMax:L(ie)};return b(this,"afterGetExtremes",{dataExtremes:ze}),ze}applyExtremes(){let $=this.getExtremes();return this.dataMin=$.dataMin,this.dataMax=$.dataMax,$}getFirstValidPoint($,K=0,Z=1){let se=$.length,ie=K;for(;ie>=0&&ie<se;){if(N($[ie]))return $[ie];ie+=Z}}translate(){this.processedXData||this.processData(),this.generatePoints();let $=this.options,K=$.stacking,Z=this.xAxis,se=Z.categories,ie=this.enabledDataSorting,ne=this.yAxis,oe=this.points,ue=oe.length,ye=this.pointPlacementToXValue(),be=!!ye,Te=$.threshold,fe=$.startFromThreshold?Te:0,de,he,me,ke,Ce=Number.MAX_VALUE;function Me(Pe){return h(Pe,-1e9,1e9)}for(de=0;de<ue;de++){let Pe,Oe=oe[de],Be=Oe.x,Ue,ze,$e=Oe.y,Ze=Oe.low,Xe=K&&ne.stacking?.stacks[(this.negStacks&&$e<(fe?0:Te)?"-":"")+this.stackKey];he=Z.translate(Be,!1,!1,!1,!0,ye),Oe.plotX=q(he)?H(Me(he)):void 0,K&&this.visible&&Xe&&Xe[Be]&&(ke=this.getStackIndicator(ke,Be,this.index),!Oe.isNull&&ke.key&&(ze=(Ue=Xe[Be]).points[ke.key]),Ue&&U(ze)&&(Ze=ze[0],$e=ze[1],Ze===fe&&ke.key===Xe[Be].base&&(Ze=ce(q(Te)?Te:ne.min)),ne.positiveValuesOnly&&N(Ze)&&Ze<=0&&(Ze=void 0),Oe.total=Oe.stackTotal=ce(Ue.total),Oe.percentage=N(Oe.y)&&Ue.total?Oe.y/Ue.total*100:void 0,Oe.stackY=$e,this.irregularWidths||Ue.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),Oe.yBottom=N(Ze)?Me(ne.translate(Ze,!1,!0,!1,!0)):void 0,this.dataModify&&($e=this.dataModify.modifyValue($e,de)),q($e)&&Oe.plotX!==void 0&&(Pe=q(Pe=ne.translate($e,!1,!0,!1,!0))?Me(Pe):void 0),Oe.plotY=Pe,Oe.isInside=this.isPointInside(Oe),Oe.clientX=be?H(Z.translate(Be,!1,!1,!1,!0,ye)):he,Oe.negative=(Oe.y||0)<(Te||0),Oe.category=ce(se&&se[Oe.x],Oe.x),Oe.isNull||Oe.visible===!1||(me!==void 0&&(Ce=M
38ath.min(Ce,Math.abs(he-me))),me=he),Oe.zone=this.zones.length?Oe.getZone():void 0,!Oe.graphic&&this.group&&ie&&(Oe.isNew=!0)}this.closestPointRangePx=Ce,b(this,"afterTranslate")}getValidPoints($,K,Z){let se=this.chart;return($||this.points||[]).filter(function(ie){let{plotX:ne,plotY:oe}=ie;return!!((Z||!ie.isNull&&q(oe))&&(!K||se.isInsidePlot(ne,oe,{inverted:se.inverted})))&&ie.visible!==!1})}getClipBox(){let{chart:$,xAxis:K,yAxis:Z}=this,{x:se,y:ie,width:ne,height:oe}=J($.clipBox);return K&&K.len!==$.plotSizeX&&(ne=K.len),Z&&Z.len!==$.plotSizeY&&(oe=Z.len),$.inverted&&!this.invertible&&([ne,oe]=[oe,ne]),{x:se,y:ie,width:ne,height:oe}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:$,group:K,markerGroup:Z}=this,se=$.sharedClips,ie=$.renderer,ne=this.getClipBox(),oe=this.getSharedClipKey(),ue=se[oe];ue?ue.animate(ne):se[oe]=ue=ie.clipRect(ne),K&&K.clip(this.options.clip===!1?void 0:ue),Z&&Z.clip()}animate($){let{chart:K,group:Z,markerGroup:se}=this,ie=K.inverted,ne=y(this.options.animation),oe=[this.getSharedClipKey(),ne.duration,ne.easing,ne.defer].join(","),ue=K.sharedClips[oe],ye=K.sharedClips[oe+"m"];if($&&Z){let be=this.getClipBox();if(ue)ue.attr("height",be.height);else{be.width=0,ie&&(be.x=K.plotHeight),ue=K.renderer.clipRect(be),K.sharedClips[oe]=ue;let Te={x:-99,y:-99,width:ie?K.plotWidth+199:99,height:ie?99:K.plotHeight+199};ye=K.renderer.clipRect(Te),K.sharedClips[oe+"m"]=ye}Z.clip(ue),se?.clip(ye)}else if(ue&&!ue.hasClass("highcharts-animating")){let be=this.getClipBox(),Te=ne.step;(se?.element.childNodes.length||K.series.length>1)&&(ne.step=function(fe,de){Te&&Te.apply(de,arguments),de.prop==="width"&&ye?.element&&ye.attr(ie?"height":"width",fe+99)}),ue.addClass("highcharts-animating").animate(be,ne)}}afterAnimate(){this.setClip(),te(this.chart.sharedClips,($,K,Z)=>{$&&!this.chart.container.querySelector(`[clip-path="url(#${$.id})"]`)&&($.destroy(),delete Z[K])}),this.finishedAnimating=!0,b(this,"afterAnimate")}drawPoints($=this.points){let K,Z,se,ie,ne,oe,ue,ye=this.chart,be=ye.styledMode,{colorAxis:Te,options:fe}=this,de=fe.marker,he=this[this.specialGroup||"markerGroup"],me=this.xAxis,ke=ce(de.enabled,!me||!!me.isRadial||null,this.closestPointRangePx>=de.enabledThreshold*de.radius);if(de.enabled!==!1||this._hasPointMarkers)for(K=0;K<$.length;K++)if(ie=(se=(Z=$[K]).graphic)?"animate":"attr",ne=Z.marker||{},oe=!!Z.marker,(ke&&ne.enabled===void 0||ne.enabled)&&!Z.isNull&&Z.visible!==!1){let Ce=ce(ne.symbol,this.symbol,"rect");ue=this.markerAttribs(Z,Z.selected&&"select"),this.enabledDataSorting&&(Z.startXPos=me.reversed?-(ue.width||0):me.width);let Me=Z.isInside!==!1;if(!se&&Me&&((ue.width||0)>0||Z.hasImage)&&(Z.graphic=se=ye.renderer.symbol(Ce,ue.x,ue.y,ue.width,ue.height,oe?ne:de).add(he),this.enabledDataSorting&&ye.hasRendered&&(se.attr({x:Z.startXPos}),ie="animate")),se&&ie==="animate"&&se[Me?"show":"hide"](Me).animate(ue),se){let Pe=this.pointAttribs(Z,be||!Z.selected?void 0:"select");be?Te&&se.css({fill:Pe.fill}):se[ie](Pe)}se&&se.addClass(Z.getClassName(),!0)}else se&&(Z.graphic=se.destroy())}markerAttribs($,K){let Z=this.options,se=Z.marker,ie=$.marker||{},ne=ie.symbol||se.symbol,oe={},ue,ye,be=ce(ie.radius,se&&se.radius);K&&(ue=se.states[K],be=ce((ye=ie.states&&ie.states[K])&&ye.radius,ue&&ue.radius,be&&be+(ue&&ue.radiusPlus||0))),$.hasImage=ne&&ne.indexOf("url")===0,$.hasImage&&(be=0);let Te=$.pos();return q(be)&&Te&&(Z.crisp&&(Te[0]=P(Te[0],$.hasImage?0:ne==="rect"?se?.lineWidth||0:1)),oe.x=Te[0]-be,oe.y=Te[1]-be),be&&(oe.width=oe.height=2*be),oe}pointAttribs($,K){let Z=this.options.marker,se=$&&$.options,ie=se&&se.marker||{},ne=se&&se.color,oe=$&&$.color,ue=$&&$.zone&&$.zone.color,ye,be,Te=this.color,fe,de,he=ce(ie.lineWidth,Z.lineWidth),me=1;return Te=ne||ue||oe||Te,fe=ie.fillColor||Z.fillColor||Te,de=ie.lineColor||Z.lineColor||Te,K=K||"normal",ye=Z.states[K]||{},he=ce((be=ie.states&&ie.states[K]||{}).lineWidth,ye.lineWidth,he+ce(be.lineWidthPlus,ye.lineWidthPlus,0)),fe=be.fillColor||ye.fillColor||fe,{stroke:de=be.lineColor||ye.lineColor||de,"stroke-width":he,fill:fe,opacity:me=ce(be.opacity,ye.opacity,me)}}
38destroy($){let K,Z,se,ie=this,ne=ie.chart,oe=/AppleWebKit\/533/.test(k.navigator.userAgent),ue=ie.data||[];for(b(ie,"destroy",{keepEventsForUpdate:$}),this.removeEvents($),(ie.axisTypes||[]).forEach(function(ye){(se=ie[ye])&&se.series&&(l(se.series,ie),se.isDirty=se.forceRedraw=!0)}),ie.legendItem&&ie.chart.legend.destroyItem(ie),K=ue.length;K--;)(Z=ue[K])&&Z.destroy&&Z.destroy();for(let ye of ie.zones)I(ye,void 0,!0);T.clearTimeout(ie.animationTimeout),te(ie,function(ye,be){ye instanceof x&&!ye.survive&&ye[oe&&be==="group"?"hide":"destroy"]()}),ne.hoverSeries===ie&&(ne.hoverSeries=void 0),l(ne.series,ie),ne.orderItems("series"),te(ie,function(ye,be){$&&be==="hcEvents"||delete ie[be]})}applyZones(){let{area:$,chart:K,graph:Z,zones:se,points:ie,xAxis:ne,yAxis:oe,zoneAxis:ue}=this,{inverted:ye,renderer:be}=K,Te=this[`${ue}Axis`],{isXAxis:fe,len:de=0}=Te||{},he=(Z?.strokeWidth()||0)/2+1,me=(ke,Ce=0,Me=0)=>{ye&&(Me=de-Me);let{translated:Pe=0,lineClip:Oe}=ke,Be=Me-Pe;Oe?.push(["L",Ce,Math.abs(Be)<he?Me-he*(Be<=0?-1:1):Pe])};if(se.length&&(Z||$)&&Te&&q(Te.min)){let ke=Te.getExtremes().max,Ce=Oe=>{Oe.forEach((Be,Ue)=>{(Be[0]==="M"||Be[0]==="L")&&(Oe[Ue]=[Be[0],fe?de-Be[1]:Be[1],fe?Be[2]:de-Be[2]])})};if(se.forEach(Oe=>{Oe.lineClip=[],Oe.translated=h(Te.toPixels(ce(Oe.value,ke),!0)||0,0,de)}),Z&&!this.showLine&&Z.hide(),$&&$.hide(),ue==="y"&&ie.length<ne.len)for(let Oe of ie){let{plotX:Be,plotY:Ue,zone:ze}=Oe,$e=ze&&se[se.indexOf(ze)-1];ze&&me(ze,Be,Ue),$e&&me($e,Be,Ue)}let Me=[],Pe=Te.toPixels(Te.getExtremes().min,!0);se.forEach(Oe=>{let Be=Oe.lineClip||[],Ue=Math.round(Oe.translated||0);ne.reversed&&Be.reverse();let{clip:ze,simpleClip:$e}=Oe,Ze=0,Xe=0,Ve=ne.len,ut=oe.len;fe?(Ze=Ue,Ve=Pe):(Xe=Ue,ut=Pe);let Et=[["M",Ze,Xe],["L",Ve,Xe],["L",Ve,ut],["L",Ze,ut],["Z"]],Mt=[Et[0],...Be,Et[1],Et[2],...Me,Et[3],Et[4]];Me=Be.reverse(),Pe=Ue,ye&&(Ce(Mt),$&&Ce(Et)),ze?(ze.animate({d:Mt}),$e?.animate({d:Et})):(ze=Oe.clip=be.path(Mt),$&&($e=Oe.simpleClip=be.path(Et))),Z&&Oe.graph?.clip(ze),$&&Oe.area?.clip($e)})}else this.visible&&(Z&&Z.show(),$&&$.show())}plotGroup($,K,Z,se,ie){let ne=this[$],oe=!ne,ue={visibility:Z,zIndex:se||.1};return N(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(ue.opacity=this.opacity),ne||(this[$]=ne=this.chart.renderer.g().add(ie)),ne.addClass("highcharts-"+K+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(N(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(ne.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),ne.attr(ue)[oe?"attr":"animate"](this.getPlotBox(K)),ne}getPlotBox($){let K=this.xAxis,Z=this.yAxis,se=this.chart,ie=se.inverted&&!se.polar&&K&&this.invertible&&$==="series";return se.inverted&&(K=Z,Z=this.xAxis),{translateX:K?K.left:se.plotLeft,translateY:Z?Z.top:se.plotTop,rotation:ie?90:0,rotationOriginX:ie?(K.len-Z.len)/2:0,rotationOriginY:ie?(K.len+Z.len)/2:0,scaleX:ie?-1:1,scaleY:1}}removeEvents($){let{eventsToUnbind:K}=this;$||xe(this),K.length&&(K.forEach(Z=>{Z()}),K.length=0)}render(){let $=this,{chart:K,options:Z,hasRendered:se}=$,ie=y(Z.animation),ne=$.visible?"inherit":"hidden",oe=Z.zIndex,ue=K.seriesGroup,ye=$.finishedAnimating?0:ie.duration;b(this,"render"),$.plotGroup("group","series",ne,oe,ue),$.markerGroup=$.plotGroup("markerGroup","markers",ne,oe,ue),Z.clip!==!1&&$.setClip(),ye&&$.animate?.(!0),$.drawGraph&&($.drawGraph(),$.applyZones()),$.visible&&$.drawPoints(),$.drawDataLabels?.(),$.redrawPoints?.(),Z.enableMouseTracking&&$.drawTracker?.(),ye&&$.animate?.(),se||(ye&&ie.defer&&(ye+=ie.defer),$.animationTimeout=Y(()=>{$.afterAnimate()},ye||0)),$.isDirty=!1,$.hasRendered=!0,b($,"afterRender")}redraw(){let $=this.isDirty||this.isDirtyData;this.translate(),this.render(),$&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint($,K){let{xAxis:Z,yAxis:se}=this,ie=this.chart.inverted;return this.searchKDTree({clientX:ie?Z.len-$.chartY+Z.pos:$.chartX-Z.pos,plotY:ie?se.len-$.chartX+se.pos:$.chartY-se.pos},K,$)}buildKDTree($){this.buildingKdTree=!0;let K=this,Z=K.options.findNearestPointBy.indexOf("y")>-1?2:1;delete K.kdTree,Y(function(){K.kdTree=(function se(ie,ne,oe){let ue,ye,be=ie?.length;if(be)return ue=K.kdAxisArray[ne%oe],ie.sort((Te,fe)=>(Te[ue]||0)-(fe[ue]||0)),{point:ie[ye=Math.floor(be/2)],left:se(ie.slice(0,ye),ne+1,oe),right:se(ie.slice(ye+1),ne+1,oe)}})(K.getValidPoints(void 0,!K.directTouch),Z,Z),K.buildingKdTree=!1},K.options.kdNow||$?.type==="touchstart"?0:1)}searchKDTree($,K,Z){let se=this,[ie,ne]=this.kdAxisArray,oe=K?"distX":"dist",ue=(se.options.findNearestPointBy||"").indexOf("y")>-1?2:1,ye=!!se.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(Z),this.kdTree)return(function be(Te,fe,de,he){let me=fe.point,ke=se.kdAxisArray[de%he],Ce,Me,Pe=me;(function(ze,$e){let Ze=ze[ie],Xe=$e[ie],Ve=N(Ze)&&N(Xe)?Ze-Xe:null,ut=ze[ne],Et=$e[ne],Mt=N(ut)&&N(Et)?ut-Et:0,Pt=ye&&$e.marker?.radius||0;$e.dist=Math.sqrt((Ve&&Ve*Ve||0)+Mt*Mt)-Pt,$e.distX=N(Ve)?Math.abs(Ve)-Pt:Number.MAX_VALUE})(Te,me);let Oe=(Te[ke]||0)-(me[ke]||0)+(ye&&me.marker?.radius||0),Be=Oe<0?"left":"right",Ue=Oe<0?"right":"left";return fe[Be]&&(Pe=(Ce=be(Te,fe[Be],de+1,he))[oe]<Pe[oe]?Ce:me),fe[Ue]&&Math.sqrt(Oe*Oe)<Pe[oe]&&(Pe=(Me=be(Te,fe[Ue],de+1,he))[oe]<Pe[oe]?Me:Pe),Pe})($,this.kdTree,ue,ue)}pointPlacementToXValue(){let{options:$,xAxis:K}=this,Z=$.pointPlacement;return Z==="between"&&(Z=K.reversed?-.5:.5),q(Z)?Z*($.pointRange||K.pointRange):0}isPointInside($){let{chart:K,xAxis:Z,yAxis:se}=this,{plotX:ie=-1,plotY:ne=-1}=$;return ne>=0&&ne<=(se?se.len:K.plotHeight)&&ie>=0&&ie<=(Z?Z.len:K.plotWidth)}
38drawTracker(){let $=this,K=$.options,Z=K.trackByArea,se=[].concat((Z?$.areaPath:$.graphPath)||[]),ie=$.chart,ne=ie.pointer,oe=ie.renderer,ue=ie.options.tooltip?.snap||0,ye=()=>{K.enableMouseTracking&&ie.hoverSeries!==$&&$.onMouseOver()},be="rgba(192,192,192,"+(R?1e-4:.002)+")",Te=$.tracker;Te?Te.attr({d:se}):$.graph&&($.tracker=Te=oe.path(se).attr({visibility:$.visible?"inherit":"hidden",zIndex:2}).addClass(Z?"highcharts-tracker-area":"highcharts-tracker-line").add($.group),ie.styledMode||Te.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:be,fill:Z?be:"none","stroke-width":$.graph.strokeWidth()+(Z?0:2*ue)}),[$.tracker,$.markerGroup,$.dataLabelsGroup].forEach(fe=>{fe&&(fe.addClass("highcharts-tracker").on("mouseover",ye).on("mouseout",de=>{ne?.onTrackerMouseOut(de)}),K.cursor&&!ie.styledMode&&fe.css({cursor:K.cursor}),fe.on("touchstart",ye))})),b(this,"afterDrawTracker")}addPoint($,K,Z,se,ie){let ne,oe,ue=this.options,ye=this.data,be=this.chart,Te=this.xAxis,fe=Te&&Te.hasNames&&Te.names,de=ue.data,he=this.xData;K=ce(K,!0);let me={series:this};this.pointClass.prototype.applyOptions.apply(me,[$]);let ke=me.x;if(oe=he.length,this.requireSorting&&ke<he[oe-1])for(ne=!0;oe&&he[oe-1]>ke;)oe--;this.updateParallelArrays(me,"splice",[oe,0,0]),this.updateParallelArrays(me,oe),fe&&me.name&&(fe[ke]=me.name),de.splice(oe,0,$),(ne||this.processedData)&&(this.data.splice(oe,0,null),this.processData()),ue.legendType==="point"&&this.generatePoints(),Z&&(ye[0]&&ye[0].remove?ye[0].remove(!1):(ye.shift(),this.updateParallelArrays(me,"shift"),de.shift())),ie!==!1&&b(this,"addPoint",{point:me}),this.isDirty=!0,this.isDirtyData=!0,K&&be.redraw(se)}removePoint($,K,Z){let se=this,ie=se.data,ne=ie[$],oe=se.points,ue=se.chart,ye=function(){oe&&oe.length===ie.length&&oe.splice($,1),ie.splice($,1),se.options.data.splice($,1),se.updateParallelArrays(ne||{series:se},"splice",[$,1]),ne&&ne.destroy(),se.isDirty=!0,se.isDirtyData=!0,K&&ue.redraw()};E(Z,ue),K=ce(K,!0),ne?ne.firePointEvent("remove",null,ye):ye()}remove($,K,Z,se){let ie=this,ne=ie.chart;function oe(){ie.destroy(se),ne.isDirtyLegend=ne.isDirtyBox=!0,ne.linkSeries(se),ce($,!0)&&ne.redraw(K)}Z!==!1?b(ie,"remove",null,oe):oe()}update($,K){b(this,"update",{options:$=F($,this.userOptions)});let Z=this,se=Z.chart,ie=Z.userOptions,ne=Z.initialType||Z.type,oe=se.options.plotOptions,ue=B[ne].prototype,ye=Z.finishedAnimating&&{animation:!1},be={},Te,fe,de=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],he=$.type||ie.type||se.options.chart.type,me=!(this.hasDerivedData||he&&he!==this.type||$.pointStart!==void 0||$.pointInterval!==void 0||$.relativeXValue!==void 0||$.joinBy||$.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(Ce=>Z.hasOptionChanged(Ce)));he=he||ne,me&&(de.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),$.visible!==!1&&de.push("area","graph"),Z.parallelArrays.forEach(function(Ce){de.push(Ce+"Data")}),$.data&&($.dataSorting&&p(Z.options.dataSorting,$.dataSorting),this.setData($.data,!1))),$=J(ie,{index:ie.index===void 0?Z.index:ie.index,pointStart:oe?.series?.pointStart??ie.pointStart??Z.xData?.[0]},!me&&{data:Z.options.data},$,ye),me&&$.data&&($.data=Z.options.data),(de=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(de)).forEac
38h(function(Ce){de[Ce]=Z[Ce],delete Z[Ce]});let ke=!1;if(B[he]){if(ke=he!==Z.type,Z.remove(!1,!1,!1,!0),ke)if(se.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(Z,B[he].prototype);else{let Ce=Object.hasOwnProperty.call(Z,"hcEvents")&&Z.hcEvents;for(fe in ue)Z[fe]=void 0;p(Z,B[he].prototype),Ce?Z.hcEvents=Ce:delete Z.hcEvents}}else d(17,!0,se,{missingModuleFor:he});if(de.forEach(function(Ce){Z[Ce]=de[Ce]}),Z.init(se,$),me&&this.points)for(let Ce of((Te=Z.options).visible===!1?(be.graphic=1,be.dataLabel=1):(this.hasMarkerChanged(Te,ie)&&(be.graphic=1),Z.hasDataLabels?.()||(be.dataLabel=1)),this.points))Ce&&Ce.series&&(Ce.resolveColor(),Object.keys(be).length&&Ce.destroyElements(be),Te.showInLegend===!1&&Ce.legendItem&&se.legend.destroyItem(Ce));Z.initialType=ne,se.linkSeries(),se.setSortedData(),ke&&Z.linkedSeries.length&&(Z.isDirtyData=!0),b(this,"afterUpdate"),ce(K,!0)&&se.redraw(!!me&&void 0)}setName($){this.name=this.options.name=this.userOptions.name=$,this.chart.isDirtyLegend=!0}hasOptionChanged($){let K=this.chart,Z=this.options[$],se=K.options.plotOptions,ie=this.userOptions[$],ne=ce(se?.[this.type]?.[$],se?.series?.[$]);return ie&&!N(ne)?Z!==ie:Z!==ce(ne,Z)}onMouseOver(){let $=this.chart,K=$.hoverSeries;$.pointer?.setHoverChartIndex(),K&&K!==this&&K.onMouseOut(),this.options.events.mouseOver&&b(this,"mouseOver"),this.setState("hover"),$.hoverSeries=this}onMouseOut(){let $=this.options,K=this.chart,Z=K.tooltip,se=K.hoverPoint;K.hoverSeries=null,se&&se.onMouseOut(),this&&$.events.mouseOut&&b(this,"mouseOut"),Z&&!this.stickyTracking&&(!Z.shared||this.noSharedTooltip)&&Z.hide(),K.series.forEach(function(ie){ie.setState("",!0)})}setState($,K){let Z=this,se=Z.options,ie=Z.graph,ne=se.inactiveOtherPoints,oe=se.states,ue=ce(oe[$||"normal"]&&oe[$||"normal"].animation,Z.chart.options.chart.animation),ye=se.lineWidth,be=se.opacity;if($=$||"",Z.state!==$&&([Z.group,Z.markerGroup,Z.dataLabelsGroup].forEach(function(Te){Te&&(Z.state&&Te.removeClass("highcharts-series-"+Z.state),$&&Te.addClass("highcharts-series-"+$))}),Z.state=$,!Z.chart.styledMode)){if(oe[$]&&oe[$].enabled===!1)return;if($&&(ye=oe[$].lineWidth||ye+(oe[$].lineWidthPlus||0),be=ce(oe[$].opacity,be)),ie&&!ie.dashstyle&&q(ye))for(let Te of[ie,...this.zones.map(fe=>fe.graph)])Te?.animate({"stroke-width":ye},ue);ne||[Z.group,Z.markerGroup,Z.dataLabelsGroup,Z.labelBySeries].forEach(function(Te){Te&&Te.animate({opacity:be},ue)})}K&&ne&&Z.points&&Z.setAllPointsToState($||void 0)}setAllPointsToState($){this.points.forEach(function(K){K.setState&&K.setState($)})}setVisible($,K){let Z=this,se=Z.chart,ie=se.options.chart.ignoreHiddenSeries,ne=Z.visible;Z.visible=$=Z.options.visible=Z.userOptions.visible=$===void 0?!ne:$;let oe=$?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(ue=>{Z[ue]?.[oe]()}),(se.hoverSeries===Z||se.hoverPoint?.series===Z)&&Z.onMouseOut(),Z.legendItem&&se.legend.colorizeItem(Z,$),Z.isDirty=!0,Z.options.stacking&&se.series.forEach(ue=>{ue.options.stacking&&ue.visible&&(ue.isDirty=!0)}),Z.linkedSeries.forEach(ue=>{ue.setVisible($,!1)}),ie&&(se.isDirtyBox=!0),b(Z,oe),K!==!1&&se.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select($){this.selected=$=this.options.selected=$===void 0?!this.selected:$,this.checkbox&&(this.checkbox.checked=$),b(this,$?"select":"unselect")}shouldShowTooltip($,K,Z={}){return Z.series=this,Z.visiblePlotOnly=!0,this.chart.isInsidePlot($,K,Z)}drawLegendSymbol($,K){u[this.options.legendSymbol||"rectangle"]?.call(this,$,K)}}return X.defaultOptions=S,X.types=w.seriesTypes,X.registerType=w.registerSeriesType,p(X.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:m,requireSorting:!0,sorted:!0}),w.series=X,X}),n(r,"Core/Legend/Legend.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Series/Point.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Templating.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w){var x;let{animObject:T,setAnimation:y}=i,{registerEventOptions:E}=a,{composed:A,marginNames:j}=o,{distribute:R}=m,{format:k}=S,{addEvent:B,createElement:L,css:C,defined:h,discardElement:H,find:P,fireEvent:N,isNumber:I,merge:F,pick:l,pushUnique:d,relativeLength:p,stableSort:v,syncTimeout:b}=w;class M{constructor(_,U){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWi
38dth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=_,this.setOptions(U),U.enabled&&(this.render(),E(this,U),B(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),B(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(_){let U=l(_.padding,8);this.options=_,this.chart.styledMode||(this.itemStyle=_.itemStyle,this.itemHiddenStyle=F(this.itemStyle,_.itemHiddenStyle)),this.itemMarginTop=_.itemMarginTop,this.itemMarginBottom=_.itemMarginBottom,this.padding=U,this.initialItemY=U-5,this.symbolWidth=l(_.symbolWidth,16),this.pages=[],this.proximate=_.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(_,U){let q=this.chart;this.setOptions(F(!0,this.options,_)),"events"in this.options&&E(this,this.options),this.destroy(),q.isDirtyLegend=q.isDirtyBox=!0,l(U,!0)&&q.redraw(),N(this,"afterUpdate",{redraw:U})}colorizeItem(_,U){let{area:q,group:z,label:J,line:te,symbol:ce}=_.legendItem||{};if(z?.[U?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:xe={}}=this,V=xe.color,{fillColor:Y,fillOpacity:X,lineColor:ae,marker:$}=_.options,K=Z=>(!U&&(Z.fill&&(Z.fill=V),Z.stroke&&(Z.stroke=V)),Z);J?.css(F(U?this.itemStyle:xe)),te?.attr(K({stroke:ae||_.color})),ce&&ce.attr(K($&&ce.isMarker?_.pointAttribs():{fill:_.color})),q?.attr(K({fill:Y||_.color,"fill-opacity":Y?1:X??.75}
vendor: 4,114 bytes, line 38
38))}N(this,"afterColorizeItem",{item:_,visible:U})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(_){let{group:U,x:q=0,y:z=0}=_.legendItem||{},J=this.options,te=J.symbolPadding,ce=!J.rtl,xe=_.checkbox;if(U&&U.element){let V={translateX:ce?q:this.legendWidth-q-2*te-4,translateY:z};U[h(U.translateY)?"animate":"attr"](V,void 0,()=>{N(this,"afterPositionItem",{item:_})})}xe&&(xe.x=q,xe.y=z)}destroyItem(_){let U=_.checkbox,q=_.legendItem||{};for(let z of["group","label","line","symbol"])q[z]&&(q[z]=q[z].destroy());U&&H(U),_.legendItem=void 0}destroy(){for(let _ of this.getAllItems())this.destroyItem(_);for(let _ of["clipRect","up","down","pager","nav","box","title","group"])this[_]&&(this[_]=this[_].destroy());this.display=null}positionCheckboxes(){let _,U=this.group&&this.group.alignAttr,q=this.clipHeight||this.legendHeight,z=this.titleHeight;U&&(_=U.translateY,this.allItems.forEach(function(J){let te,ce=J.checkbox;ce&&(te=_+z+ce.y+(this.scrollOffset||0)+3,C(ce,{left:U.translateX+J.checkboxOffset+ce.x-20+"px",top:te+"px",display:this.proximate||te>_-6&&te<_+q-6?"":"none"}))},this))}renderTitle(){let _=this.options,U=this.padding,q=_.title,z,J=0;q.text&&(this.title||(this.title=this.chart.renderer.label(q.text,U-3,U-4,void 0,void 0,void 0,_.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(q.style),this.title.add(this.group)),q.width||this.title.css({width:this.maxLegendWidth+"px"}),J=(z=this.title.getBBox()).height,this.offsetWidth=z.width,this.contentGroup.attr({translateY:J})),this.titleHeight=J}setText(_){let U=this.options;_.legendItem.label.attr({text:U.labelFormat?k(U.labelFormat,_,this.chart):U.labelFormatter.call(_)})}renderItem(_){let U=_.legendItem=_.legendItem||{},q=this.chart,z=q.renderer,J=this.options,te=J.layout==="horizontal",ce=this.symbolWidth,xe=J.symbolPadding||0,V=this.itemStyle,Y=this.itemHiddenStyle,X=te?l(J.itemDistance,20):0,ae=!J.rtl,$=!_.series,K=!$&&_.series.drawLegendSymbol?_.series:_,Z=K.options,se=!!this.createCheckboxForItem&&Z&&Z.showCheckbox,ie=J.useHTML,ne=_.options.className,oe=U.label,ue=ce+xe+X+(se?20:0);!oe&&(U.group=z.g("legend-item").addClass("highcharts-"+K.type+"-series highcharts-color-"+_.colorIndex+(ne?" "+ne:"")+($?" highcharts-series-"+_.index:"")).attr({zIndex:1}).add(this.scrollGroup),U.label=oe=z.text("",ae?ce+xe:-xe,this.baseline||0,ie),q.styledMode||oe.css(F(_.visible?V:Y)),oe.attr({align:ae?"left":"right",zIndex:2}).add(U.group),!this.baseline&&(this.fontMetrics=z.fontMetrics(oe),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,oe.attr("y",this.baseline),this.symbolHeight=l(J.symbolHeight,this.fontMetrics.f),J.squareSymbol&&(this.symbolWidth=l(J.symbolWidth,Math.max(this.symbolHeight,16)),ue=this.symbolWidth+xe+X+(se?20:0),ae&&oe.attr("x",this.symbolWidth+xe))),K.drawLegendSymbol(this,_),this.setItemEvents&&this.setItemEvents(_,oe,ie)),se&&!_.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(_),this.colorizeItem(_,_.visible),(q.styledMode||!V.width)&&oe.css({width:(J.itemWidth||this.widthOption||q.spacingBox.width)-ue+"px"}),this.setText(_);let ye=oe.getBBox(),be=this.fontMetrics&&this.fontMetrics.h||0;_.itemWidth=_.checkboxOffset=J.itemWidth||U.labelWidth||ye.width+ue,this.maxItemWidth=Math.max(this.maxItemWidth,_.itemWidth),this.totalItemWidth+=_.itemWidth,this.itemHeight=_.itemHeight=Math.round(U.labelHeight||(ye.height>1.5*be?ye.height:be))}layoutItem(_){let U=this.options,q=this.padding,z=U.layout==="horizontal",J=_.itemHeight,te=this.itemMarginBottom,ce=this.itemMarginTop,xe=z?l(U.itemDistance,20):0,V=this.maxLegendWidth,Y=U.alignColumns&&this.totalItemWidth>V?this.maxItemWidth:_.itemWidth,X=_.legendItem||{};z&&this.itemX-q+Y>V&&(this.itemX=q,this.lastLineHeight&&(this.itemY+=ce+this.lastLineHeight+te),this.lastLineHeight=0),this.lastItemY=ce+this.itemY+te,this.lastLineHeight=Math.max(J,this.lastLineHeight),X.x=this.itemX,X.y=this.itemY,z?this.itemX+=Y:(this.itemY+=ce+J+te,this.lastLineHeight=J),this.offsetWidth=this.widthOption||Math.max((z?this.itemX-q
38-(_.checkbox?0:xe):Y)+q,this.offsetWidth)}getAllItems(){let _=[];return this.chart.series.forEach(function(U){let q=U&&U.options;U&&l(q.showInLegend,!h(q.linkedTo)&&void 0,!0)&&(_=_.concat((U.legendItem||{}).labels||(q.legendType==="point"?U.data:U)))}),N(this,"afterGetAllItems",{allItems:_}),_}getAlignment(){let _=this.options;return this.proximate?_.align.charAt(0)+"tv":_.floating?"":_.align.charAt(0)+_.verticalAlign.charAt(0)+_.layout.charAt(0)}adjustMargins(_,U){let q=this.chart,z=this.options,J=this.getAlignment();J&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(te,ce){te.test(J)&&!h(_[ce])&&(q[j[ce]]=Math.max(q[j[ce]],q.legend[(ce+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][ce]*z[ce%2?"x":"y"]+l(z.margin,12)+U[ce]+(q.titleOffset[ce]||0)))})}proximatePositions(){let _,U=this.chart,q=[],z=this.options.align==="left";for(let J of(this.allItems.forEach(function(te){let ce,xe,V=z,Y,X;te.yAxis&&(te.xAxis.options.reversed&&(V=!V),te.points&&(ce=P(V?te.points:te.points.slice(0).reverse(),function(ae){return I(ae.plotY)})),xe=this.itemMarginTop+te.legendItem.label.getBBox().height+this.itemMarginBottom,X=te.yAxis.top-U.plotTop,Y=te.visible?(ce?ce.plotY:te.yAxis.height)+(X-.3*xe):X+te.yAxis.height,q.push({target:Y,size:xe,item:te}))},this),R(q,U.plotHeight)))_=J.item.legendItem||{},I(J.pos)&&(_.y=U.plotTop-U.spacing[0]+J.pos)}render(){let _=this.chart,U=_.renderer,q=this.options,z=this.padding,J=this.getAllItems(),te,ce,xe,V=this.group,Y,X=this.box;this.itemX=z,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=p(q.width,_.spacingBox.width-z),Y=_.spacingBox.width-2*z-q.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(Y/=2),this.maxLegendWidth=this.widthOption||Y,V||(this.group=V=U.g("legend").addClass(q.className||"").attr({zIndex:7}).add(),this.contentGroup=U.g().attr({zIndex:1}).add(V),this.scrollGroup=U.g().add(this.contentGroup)),this.renderTitle(),v(J,(ae,$)=>(ae.options&&ae.options.legendIndex||0)-($.options&&$.options.legendIndex||0)),q.reversed&&J.reverse(),this.allItems=J,this.display=te=!!J.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,J.forEach(this.renderItem,this),J.forEach(this.layoutItem,this),ce=(this.widthOption||this.offsetWidth)+z,xe=this.lastItemY+this.lastLineHeight+this.titleHeight,xe=this.handleOverflow(xe)+z,X||(this.box=X=U.rect().addClass("highcharts-legend-box").attr({r:q.borderRadius}).add(V)),_.styledMode||X.attr({stroke:q.borderColor,"stroke-width":q.borderWidth||0,fill:q.backgroundColor||"none"}).shadow(q.shadow),ce>0&&xe>0&&X[X.placed?"animate":"attr"](X.crisp.call({},{x:0,y:0,width:ce,height:xe},X.strokeWidth())),V[te?"show":"hide"](),_.styledMode&&V.getStyle("display")==="none"&&(ce=xe=0),this.legendWidth=ce,this.legendHeight=xe,te&&this.align(),this.proximate||this.positionItems(),N(this,"afterRender")}align(_=this.chart.spacingBox){let U=this.chart,q=this.options,z=_.y;/(lth|ct|rth)/.test(this.getAlignment())&&U.titleOffset[0]>0?z+=U.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&U.titleOffset[2]>0&&(z-=U.titleOffset[2]),z!==_.y&&(_=F(_,{y:z})),U.hasRendered||(this.group.placed=!1),this.group.align(F(q,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":q.verticalAlign}),!0,_)}handleOverflow(_){let U=this,q=this.chart,z=q.renderer,J=this.options,te=J.y,ce=J.verticalAlign==="top",xe=this.padding,V=J.maxHeight,Y=J.navigation,X=l(Y.animation,!0),ae=Y.arrowSize||12,$=this.pages,K=this.allItems,Z=function(Te){typeof Te=="number"?be.attr({height:Te}):be&&(U.clipRect=be.destroy(),U.contentGroup.clip()),U.contentGroup.div&&(U.contentGroup.div.style.clip=Te?"rect("+xe+"px,9999px,"+(xe+Te)+"px,0)":"auto")},se=function(Te){return U[Te]=z.circle(0,0,1.3*ae).translate(ae/2,ae/2).add(ye),q.styledMode||U[Te].attr("fill","rgba(0,0,0,0.0001)"),U[Te]},ie,ne,oe,ue=q.spacingBox.height+(ce?-te:te)-xe,ye=this.nav,be=this.clipRect;return J.layout!=="horizontal"||J.verticalAlign==="middle"||J.floating||(ue/=2),V&&(ue=Math.min(ue,V)),$.length=0,_&&ue>0&&_>ue&&Y.enabled!==!1?(this.clipHeight=ie=Math.max(ue-20-this.titleHeight-xe,0),this.currentPage=l(this.currentPage,1),this.fullHeight=_,K.forEac
vendor: 4,355 bytes, line 38
38h((Te,fe)=>{let de=(oe=Te.legendItem||{}).y||0,he=Math.round(oe.label.getBBox().height),me=$.length;(!me||de-$[me-1]>ie&&(ne||de)!==$[me-1])&&($.push(ne||de),me++),oe.pageIx=me-1,ne&&((K[fe-1].legendItem||{}).pageIx=me-1),fe===K.length-1&&de+he-$[me-1]>ie&&de>$[me-1]&&($.push(de),oe.pageIx=me),de!==ne&&(ne=de)}),be||(be=U.clipRect=z.clipRect(0,xe-2,9999,0),U.contentGroup.clip(be)),Z(ie),ye||(this.nav=ye=z.g().attr({zIndex:1}).add(this.group),this.up=z.symbol("triangle",0,0,ae,ae).add(ye),se("upTracker").on("click",function(){U.scroll(-1,X)}),this.pager=z.text("",15,10).addClass("highcharts-legend-navigation"),!q.styledMode&&Y.style&&this.pager.css(Y.style),this.pager.add(ye),this.down=z.symbol("triangle-down",0,0,ae,ae).add(ye),se("downTracker").on("click",function(){U.scroll(1,X)})),U.scroll(0),_=ue):ye&&(Z(),this.nav=ye.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),_}scroll(_,U){let q=this.chart,z=this.pages,J=z.length,te=this.clipHeight,ce=this.options.navigation,xe=this.pager,V=this.padding,Y=this.currentPage+_;Y>J&&(Y=J),Y>0&&(U!==void 0&&y(U,q),this.nav.attr({translateX:V,translateY:te+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(X){X.attr({class:Y===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),xe.attr({text:Y+"/"+J}),[this.down,this.downTracker].forEach(function(X){X.attr({x:18+this.pager.getBBox().width,class:Y===J?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),q.styledMode||(this.up.attr({fill:Y===1?ce.inactiveColor:ce.activeColor}),this.upTracker.css({cursor:Y===1?"default":"pointer"}),this.down.attr({fill:Y===J?ce.inactiveColor:ce.activeColor}),this.downTracker.css({cursor:Y===J?"default":"pointer"})),this.scrollOffset=-z[Y-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=Y,this.positionCheckboxes(),b(()=>{N(this,"afterScroll",{currentPage:Y})},T(l(U,q.renderer.globalAnimation,!0)).duration))}setItemEvents(_,U,q){let z=this,J=_.legendItem||{},te=z.chart.renderer.boxWrapper,ce=_ instanceof u,xe=_ instanceof f,V="highcharts-legend-"+(ce?"point":"series")+"-active",Y=z.chart.styledMode,X=q?[U,J.symbol]:[J.group],ae=$=>{z.allItems.forEach(K=>{_!==K&&[K].concat(K.linkedSeries||[]).forEach(Z=>{Z.setState($,!ce)})})};for(let $ of X)$&&$.on("mouseover",function(){_.visible&&ae("inactive"),_.setState("hover"),_.visible&&te.addClass(V),Y||U.css(z.options.itemHoverStyle)}).on("mouseout",function(){z.chart.styledMode||U.css(F(_.visible?z.itemStyle:z.itemHiddenStyle)),ae(""),te.removeClass(V),_.setState()}).on("click",function(K){let Z=function(){_.setVisible&&_.setVisible(),ae(_.visible?"inactive":"")};te.removeClass(V),N(z,"itemClick",{browserEvent:K,legendItem:_},Z),ce?_.firePointEvent("legendItemClick",{browserEvent:K}):xe&&N(_,"legendItemClick",{browserEvent:K})})}createCheckboxForItem(_){_.checkbox=L("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:_.selected,defaultChecked:_.selected},this.options.itemCheckboxStyle,this.chart.container),B(_.checkbox,"click",function(U){let q=U.target;N(_.series||_,"checkboxClick",{checked:q.checked,item:_},function(){_.select()})})}}return(x=M||(M={})).compose=function(O){d(A,"Core.Legend")&&B(O,"beforeMargins",function(){this.legend=new x(this,this.options.legend)})},M}),n(r,"Core/Chart/Chart.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Defaults.js"],r["Core/Templating.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Time.js"],r["Core/Utilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/Axis/Tick.js"]],function(i,a,o,f,u,m,S,w,x,T,y,E,A,j){let{animate:R,animObject:k,setAnimation:B}=i,{defaultOptions:L,defaultTime:C}=o,{numberFormat:h}=f,{registerEventOptions:H}=u,{charts:P,doc:N,marginNames:I,svg:F,win:l}=m,{seriesTypes:d}=x,{addEvent:p,attr:v,createElement:b,css:M,defined:O,diffObjects:_,discardElement:U,erase:q,error:z,extend:J,find:te,fireEvent:ce,getStyle:xe,isArray:V,isNumber:Y,isObject:X,isString:ae,merge:$,objectEach:K,pick:Z,pInt:se,relativeLength:ie,removeEvent:ne,splat:oe,syncTimeout:ue,uniqueKey:ye}=E;class be{static chart(fe,de,he){return new be(fe,de,he)}
vendor: 4,737 bytes, line 38
38constructor(fe,de,he){this.sharedClips={};let me=[...arguments];(ae(fe)||fe.nodeName)&&(this.renderTo=me.shift()),this.init(me[0],me[1])}setZoomOptions(){let fe=this.options.chart,de=fe.zooming;this.zooming={...de,type:Z(fe.zoomType,de.type),key:Z(fe.zoomKey,de.key),pinchType:Z(fe.pinchType,de.pinchType),singleTouch:Z(fe.zoomBySingleTouch,de.singleTouch,!1),resetButton:$(de.resetButton,fe.resetZoomButton)}}init(fe,de){ce(this,"init",{args:arguments},function(){let he=$(L,fe),me=he.chart;this.userOptions=J({},fe),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=de,this.isResizing=0,this.options=he,this.axes=[],this.series=[],this.time=fe.time&&Object.keys(fe.time).length?new y(fe.time):m.time,this.numberFormatter=me.numberFormatter||h,this.styledMode=me.styledMode,this.hasCartesianSeries=me.showAxes,this.index=P.length,P.push(this),m.chartCount++,H(this,me),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),ce(this,"afterInit"),this.firstRender()})}initSeries(fe){let de=this.options.chart,he=fe.type||de.type,me=d[he];me||z(17,!0,this,{missingModuleFor:he});let ke=new me;return typeof ke.init=="function"&&ke.init(this,fe),ke}setSortedData(){this.getSeriesOrderByLinks().forEach(function(fe){fe.points||fe.data||!fe.enabledDataSorting||fe.setData(fe.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(fe,de){return fe.linkedSeries.length||de.linkedSeries.length?de.linkedSeries.length-fe.linkedSeries.length:0})}orderItems(fe,de=0){let he=this[fe],me=this.options[fe]=oe(this.options[fe]).slice(),ke=this.userOptions[fe]=this.userOptions[fe]?oe(this.userOptions[fe]).slice():[];if(this.hasRendered&&(me.splice(de),ke.splice(de)),he)for(let Ce=de,Me=he.length;Ce<Me;++Ce){let Pe=he[Ce];Pe&&(Pe.index=Ce,Pe instanceof w&&(Pe.name=Pe.getName()),Pe.options.isInternal||(me[Ce]=Pe.options,ke[Ce]=Pe.userOptions))}}isInsidePlot(fe,de,he={}){let{inverted:me,plotBox:ke,plotLeft:Ce,plotTop:Me,scrollablePlotBox:Pe}=this,{scrollLeft:Oe=0,scrollTop:Be=0}=he.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},Ue=he.series,ze=he.visiblePlotOnly&&Pe||ke,$e=he.inverted?de:fe,Ze=he.inverted?fe:de,Xe={x:$e,y:Ze,isInsidePlot:!0,options:he};if(!he.ignoreX){let Ve=Ue&&(me&&!this.polar?Ue.yAxis:Ue.xAxis)||{pos:Ce,len:1/0},ut=he.paneCoordinates?Ve.pos+$e:Ce+$e;ut>=Math.max(Oe+Ce,Ve.pos)&&ut<=Math.min(Oe+Ce+ze.width,Ve.pos+Ve.len)||(Xe.isInsidePlot=!1)}if(!he.ignoreY&&Xe.isInsidePlot){let Ve=!me&&he.axis&&!he.axis.isXAxis&&he.axis||Ue&&(me?Ue.xAxis:Ue.yAxis)||{pos:Me,len:1/0},ut=he.paneCoordinates?Ve.pos+Ze:Me+Ze;ut>=Math.max(Be+Me,Ve.pos)&&ut<=Math.min(Be+Me+ze.height,Ve.pos+Ve.len)||(Xe.isInsidePlot=!1)}return ce(this,"afterIsInsidePlot",Xe),Xe.isInsidePlot}redraw(fe){ce(this,"beforeRedraw");let de=this.hasCartesianSeries?this.axes:this.colorAxis||[],he=this.series,me=this.pointer,ke=this.legend,Ce=this.userOptions.legend,Me=this.renderer,Pe=Me.isHidden(),Oe=[],Be,Ue,ze,$e=this.isDirtyBox,Ze=this.isDirtyLegend,Xe;for(Me.rootFontSize=Me.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),B(!!this.hasRendered&&fe,this),Pe&&this.temporaryDisplay(),this.layOutTitles(!1),ze=he.length;ze--;)if(((Xe=he[ze]).options.stacking||Xe.options.centerInCategory)&&(Ue=!0,Xe.isDirty)){Be=!0;break}if(Be)for(ze=he.length;ze--;)(Xe=he[ze]).options.stacking&&(Xe.isDirty=!0);he.forEach(function(Ve){Ve.isDirty&&(Ve.options.legendType==="point"?(typeof Ve.updateTotals=="function"&&Ve.updateTotals(),Ze=!0):Ce&&(Ce.labelFormatter||Ce.labelFormat)&&(Ze=!0)),Ve.isDirtyData&&ce(Ve,"updatedData")}),Ze&&ke&&ke.options.enabled&&(ke.render(),this.isDirtyLegend=!1),Ue&&this.getStacks(),de.forEach(function(Ve){Ve.updateNames(),Ve.setScale()}),this.getMargins(),de.forEach(function(Ve){Ve.isDirty&&($e=!0)}),de.forEach(function(Ve){let ut=Ve.min+","+Ve.max;Ve.extKey!==ut&&(Ve.extKey=ut,Oe.push(function(){ce(Ve,"afterSetExtremes",J(Ve.eventArgs,Ve.getExtremes())),delete Ve.eventArgs})),($e||Ue)&&Ve.redraw()}),$e&&this.drawChartBox(),ce(this,"predraw"),he.forEach(function(Ve){($e||Ve.isDirty)&&Ve.visible&&Ve.redraw(),Ve.isDirtyData=!1}),me&&me.reset(!0),Me.draw(),ce(this,"redraw"),ce(this,"render"),Pe&&this.temporaryDisplay(!0),Oe.forEach(function(Ve){Ve.call()})}get(fe){let de=this.series;function he(ke){return ke.id===fe||ke.options&&ke.options.id===fe}let me=te(this.axes,he)||te(this.series,he);for(let ke=0;!me&&ke<de.length;ke++)me=te(de[ke].points||[],he);return me}getAxes(){let fe=this.userOptions;for(let de of(ce(this,"getAxes"),["xAxis","yAxis"]))for(let he of fe[de]=oe(fe[de]||{}))new a(this,he,de);ce(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((fe,de)=>
38(de.getPointsCollection().forEach(he=>{Z(he.selectedStaging,he.selected)&&fe.push(he)}),fe),[])}getSelectedSeries(){return this.series.filter(function(fe){return fe.selected})}setTitle(fe,de,he){this.applyDescription("title",fe),this.applyDescription("subtitle",de),this.applyDescription("caption",void 0),this.layOutTitles(he)}applyDescription(fe,de){let he=this,me=this.options[fe]=$(this.options[fe],de),ke=this[fe];ke&&de&&(this[fe]=ke=ke.destroy()),me&&!ke&&((ke=this.renderer.text(me.text,0,0,me.useHTML).attr({align:me.align,class:"highcharts-"+fe,zIndex:me.zIndex||4}).add()).update=function(Ce,Me){he.applyDescription(fe,Ce),he.layOutTitles(Me)},this.styledMode||ke.css(J(fe==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},me.style)),this[fe]=ke)}layOutTitles(fe=!0){let de=[0,0,0],he=this.renderer,me=this.spacingBox;["title","subtitle","caption"].forEach(function(Ce){let Me=this[Ce],Pe=this.options[Ce],Oe=Pe.verticalAlign||"top",Be=Ce==="title"?Oe==="top"?-3:0:Oe==="top"?de[0]+2:0;if(Me){Me.css({width:(Pe.width||me.width+(Pe.widthAdjust||0))+"px"});let Ue=he.fontMetrics(Me).b,ze=Math.round(Me.getBBox(Pe.useHTML).height);Me.align(J({y:Oe==="bottom"?Ue:Be+Ue,height:ze},Pe),!1,"spacingBox"),Pe.floating||(Oe==="top"?de[0]=Math.ceil(de[0]+ze):Oe==="bottom"&&(de[2]=Math.ceil(de[2]+ze)))}},this),de[0]&&(this.options.title.verticalAlign||"top")==="top"&&(de[0]+=this.options.title.margin),de[2]&&this.options.caption.verticalAlign==="bottom"&&(de[2]+=this.options.caption.margin);let ke=!this.titleOffset||this.titleOffset.join(",")!==de.join(",");this.titleOffset=de,ce(this,"afterLayOutTitles"),!this.isDirtyBox&&ke&&(this.isDirtyBox=this.isDirtyLegend=ke,this.hasRendered&&fe&&this.isDirtyBox&&this.redraw())}getContainerBox(){let fe=[].map.call(this.renderTo.children,he=>{if(he!==this.container){let me=he.style.display;return he.style.display="none",[he,me]}}),de={width:xe(this.renderTo,"width",!0)||0,height:xe(this.renderTo,"height",!0)||0};return fe.filter(Boolean).forEach(([he,me])=>{he.style.display=me}),de}getChartSize(){let fe=this.options.chart,de=fe.width,he=fe.height,me=this.getContainerBox(),ke=me.height>1&&!(!this.renderTo.parentElement?.style.height&&this.renderTo.style.height==="100%");this.chartWidth=Math.max(0,de||me.width||600),this.chartHeight=Math.max(0,ie(he,this.chartWidth)||(ke?me.height:400)),this.containerBox=me}temporaryDisplay(fe){let de=this.renderTo,he;if(fe)for(;de&&de.style;)de.hcOrigStyle&&(M(de,de.hcOrigStyle),delete de.hcOrigStyle),de.hcOrigDetached&&(N.body.removeChild(de),de.hcOrigDetached=!1),de=de.parentNode;else for(;de&&de.style&&(N.body.contains(de)||de.parentNode||(de.hcOrigDetached=!0,N.body.appendChild(de)),(xe(de,"display",!1)==="none"||de.hcOricDetached)&&(de.hcOrigStyle={display:de.style.display,height:de.style.height,overflow:de.style.overflow},he={display:"block",overflow:"hidden"},de!==this.renderTo&&(he.height=0),M(de,he),de.offsetWidth||de.style.setProperty("display","block","important")),(de=de.parentNode)!==N.body););}setClassName(fe){this.container.className="highcharts-container "+(fe||"")}getContainer(){let fe=this.options,de=fe.chart,he="data-highcharts-chart",me=ye(),ke,Ce=this.renderTo;Ce||(this.renderTo=Ce=de.renderTo),ae(Ce)&&(this.renderTo=Ce=N.getElementById(Ce)),Ce||z(13,!0,this);let Me=se(v(Ce,he));Y(Me)&&P[Me]&&P[Me].hasRendered&&P[Me].destroy(),v(Ce,he,this.index),Ce.innerHTML=A.emptyHTML,de.skipClone||Ce.offsetWidth||this.temporaryDisplay(),this.getChartSize();let Pe=this.chartHeight,Oe=this.chartWidth;M(Ce,{overflow:"hidden"}),this.styledMode||(ke=J({position:"relative",overflow:"hidden",width:Oe+"px",height:Pe+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},de.style||{}));let Be=b("div",{id:me},ke,Ce);this.container=Be,this.getChartSize(),Oe===this.chartWidth||(Oe=this.chartWidth,this.styledMode||M(Be,{width:Z(de.style?.width,Oe+"px")})),this.containerBox=this.getContainerBox(),this._cursor=Be.style.cursor;let Ue=de.renderer||!F?S.getRendererType(de.renderer):T;if(this.renderer=new Ue(Be,Oe,Pe,void 0,de.forExport,fe.exporting&&fe.exporting.allowHTML,this.styledMode),B(void 0,this),this.setClassName(
38de.className),this.styledMode)for(let ze in fe.defs)this.renderer.definition(fe.defs[ze]);else this.renderer.setStyle(de.style);this.renderer.chartIndex=this.index,ce(this,"afterGetContainer")}getMargins(fe){let{spacing:de,margin:he,titleOffset:me}=this;this.resetMargins(),me[0]&&!O(he[0])&&(this.plotTop=Math.max(this.plotTop,me[0]+de[0])),me[2]&&!O(he[2])&&(this.marginBottom=Math.max(this.marginBottom,me[2]+de[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(he,de),ce(this,"getMargins"),fe||this.getAxisMargins()}getAxisMargins(){let fe=this,de=fe.axisOffset=[0,0,0,0],he=fe.colorAxis,me=fe.margin,ke=function(Ce){Ce.forEach(function(Me){Me.visible&&Me.getOffset()})};fe.hasCartesianSeries?ke(fe.axes):he&&he.length&&ke(he),I.forEach(function(Ce,Me){O(me[Me])||(fe[Ce]+=de[Me])}),fe.setChartSize()}getOptions(){return _(this.userOptions,L)}reflow(fe){let de=this,he=de.containerBox,me=de.getContainerBox();delete de.pointer?.chartPosition,!de.isPrinting&&!de.isResizing&&he&&me.width&&((me.width!==he.width||me.height!==he.height)&&(E.clearTimeout(de.reflowTimeout),de.reflowTimeout=ue(function(){de.container&&de.setSize(void 0,void 0,!1)},fe?100:0)),de.containerBox=me)}setReflow(){let fe=this,de=he=>{fe.options?.chart.reflow&&fe.hasLoaded&&fe.reflow(he)};if(typeof ResizeObserver=="function")new ResizeObserver(de).observe(fe.renderTo);else{let he=p(l,"resize",de);p(this,"destroy",he)}}setSize(fe,de,he){let me=this,ke=me.renderer;me.isResizing+=1,B(he,me);let Ce=ke.globalAnimation;me.oldChartHeight=me.chartHeight,me.oldChartWidth=me.chartWidth,fe!==void 0&&(me.options.chart.width=fe),de!==void 0&&(me.options.chart.height=de),me.getChartSize();let{chartWidth:Me,chartHeight:Pe,scrollablePixelsX:Oe=0,scrollablePixelsY:Be=0}=me;(me.isDirtyBox||Me!==me.oldChartWidth||Pe!==me.oldChartHeight)&&(me.styledMode||(Ce?R:M)(me.container,{width:`${Me+Oe}px`,height:`${Pe+Be}px`},Ce),me.setChartSize(!0),ke.setSize(Me,Pe,Ce),me.axes.forEach(function(Ue){Ue.isDirty=!0,Ue.setScale()}),me.isDirtyLegend=!0,me.isDirtyBox=!0,me.layOutTitles(),me.getMargins(),me.redraw(Ce),me.oldChartHeight=void 0,ce(me,"resize"),setTimeout(()=>{me&&ce(me,"endResize")},k(Ce).duration)),me.isResizing-=1}setChartSize(fe){let de,he,me,ke,{chartHeight:Ce,chartWidth:Me,inverted:Pe,spacing:Oe,renderer:Be}=this,Ue=this.clipOffset,ze=Math[Pe?"floor":"round"];this.plotLeft=de=Math.round(this.plotLeft),this.plotTop=he=Math.round(this.plotTop),this.plotWidth=me=Math.max(0,Math.round(Me-de-this.marginRight)),this.plotHeight=ke=Math.max(0,Math.round(Ce-he-this.marginBottom)),this.plotSizeX=Pe?ke:me,this.plotSizeY=Pe?me:ke,this.spacingBox=Be.spacingBox={x:Oe[3],y:Oe[0],width:Me-Oe[3]-Oe[1],height:Ce-Oe[0]-Oe[2]},this.plotBox=Be.plotBox={x:de,y:he,width:me,height:ke},Ue&&(this.clipBox={x:ze(Ue[3]),y:ze(Ue[0]),width:ze(this.plotSizeX-Ue[1]-Ue[3]),height:ze(this.plotSizeY-Ue[0]-Ue[2])}),fe||(this.axes.forEach(function($e){$e.setAxisSize(),$e.setAxisTranslation()}),Be.alignElements()),ce(this,"afterSetChartSize",{skipAxes:fe})}resetMargins(){ce(this,"resetMargins");let fe=this,de=fe.options.chart,he=de.plotBorderWidth||0,me=he/2;["margin","spacing"].forEach(function(ke){let Ce=de[ke],Me=X(Ce)?Ce:[Ce,Ce,Ce,Ce];["Top","Right","Bottom","Left"].forEach(function(Pe,Oe){fe[ke][Oe]=Z(de[ke+Pe],Me[Oe])})}),I.forEach(function(ke,Ce){fe[ke]=Z(fe.margin[Ce],fe.spacing[Ce])}),fe.axisOffset=[0,0,0,0],fe.clipOffset=[me,me,me,me],fe.plotBorderWidth=he}drawChartBox(){let fe=this.options.chart,de=this.renderer,he=this.chartWidth,me=this.chartHeight,ke=this.styledMode,Ce=this.plotBGImage,Me=fe.backgroundColor,Pe=fe.plotBackgroun
38dColor,Oe=fe.plotBackgroundImage,Be=this.plotLeft,Ue=this.plotTop,ze=this.plotWidth,$e=this.plotHeight,Ze=this.plotBox,Xe=this.clipRect,Ve=this.clipBox,ut=this.chartBackground,Et=this.plotBackground,Mt=this.plotBorder,Pt,qt,Wt,At="animate";ut||(this.chartBackground=ut=de.rect().addClass("highcharts-background").add(),At="attr"),ke?Pt=qt=ut.strokeWidth():(qt=(Pt=fe.borderWidth||0)+(fe.shadow?8:0),Wt={fill:Me||"none"},(Pt||ut["stroke-width"])&&(Wt.stroke=fe.borderColor,Wt["stroke-width"]=Pt),ut.attr(Wt).shadow(fe.shadow)),ut[At]({x:qt/2,y:qt/2,width:he-qt-Pt%2,height:me-qt-Pt%2,r:fe.borderRadius}),At="animate",Et||(At="attr",this.plotBackground=Et=de.rect().addClass("highcharts-plot-background").add()),Et[At](Ze),!ke&&(Et.attr({fill:Pe||"none"}).shadow(fe.plotShadow),Oe&&(Ce?(Oe!==Ce.attr("href")&&Ce.attr("href",Oe),Ce.animate(Ze)):this.plotBGImage=de.image(Oe,Be,Ue,ze,$e).add())),Xe?Xe.animate({width:Ve.width,height:Ve.height}):this.clipRect=de.clipRect(Ve),At="animate",Mt||(At="attr",this.plotBorder=Mt=de.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),ke||Mt.attr({stroke:fe.plotBorderColor,"stroke-width":fe.plotBorderWidth||0,fill:"none"}),Mt[At](Mt.crisp({x:Be,y:Ue,width:ze,height:$e},-Mt.strokeWidth())),this.isDirtyBox=!1,ce(this,"afterDrawChartBox")}propFromSeries(){let fe,de,he,me=this,ke=me.options.chart,Ce=me.options.series;["inverted","angular","polar"].forEach(function(Me){for(de=d[ke.type],he=ke[Me]||de&&de.prototype[Me],fe=Ce&&Ce.length;!he&&fe--;)(de=d[Ce[fe].type])&&de.prototype[Me]&&(he=!0);me[Me]=he})}linkSeries(fe){let de=this,he=de.series;he.forEach(function(me){me.linkedSeries.length=0}),he.forEach(function(me){let{linkedTo:ke}=me.options;if(ae(ke)){let Ce;(Ce=ke===":previous"?de.series[me.index-1]:de.get(ke))&&Ce.linkedParent!==me&&(Ce.linkedSeries.push(me),me.linkedParent=Ce,Ce.enabledDataSorting&&me.setDataSortingOptions(),me.visible=Z(me.options.visible,Ce.options.visible,me.visible))}}),ce(this,"afterLinkSeries",{isUpdating:fe})}renderSeries(){this.series.forEach(function(fe){fe.translate(),fe.render()})}render(){let fe=this.axes,de=this.colorAxis,he=this.renderer,me=this.options.chart.axisLayoutRuns||2,ke=Be=>{Be.forEach(Ue=>{Ue.visible&&Ue.render()})},Ce=0,Me=!0,Pe,Oe=0;for(let Be of(this.setTitle(),ce(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),fe)){let{options:Ue}=Be,{labels:ze}=Ue;if(this.hasCartesianSeries&&Be.horiz&&Be.visible&&ze.enabled&&Be.series.length&&Be.coll!=="colorAxis"&&!this.polar){Ce=Ue.tickLength,Be.createGroups();let $e=new j(Be,0,"",!0),Ze=$e.createLabel("x",ze);if($e.destroy(),Ze&&Z(ze.reserveSpace,!Y(Ue.crossing))&&(Ce=Ze.getBBox().height+ze.distance+Math.max(Ue.offset||0,0)),Ce){Ze?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-Ce,0);(Me||Pe||me>1)&&Oe<me;){let Be=this.plotWidth,Ue=this.plotHeight;for(let ze of fe)Oe===0?ze.setScale():(ze.horiz&&Me||!ze.horiz&&Pe)&&ze.setTickInterval(!0);Oe===0?this.getAxisMargins():this.getMargins(),Me=Be/this.plotWidth>(Oe?1:1.1),Pe=Ue/this.plotHeight>(Oe?1:1.05),Oe++}this.drawChartBox(),this.hasCartesianSeries?ke(fe):de&&de.length&&ke(de),this.seriesGroup||(this.seriesGroup=he.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(fe){let de=this,he=$(!0,this.options.credits,fe);he.enabled&&!this.credits&&(this.credits=this.renderer.text(he.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){he.href&&(l.location.href=he.href)}).attr({align:he.position.align,zIndex:8}),de.styledMode||this.credits.css(he.style),this.credits.add().align(he.position),this.credits.update=function(me){de.credits=de.credits.destroy(),de.addCredits(me)})}destroy(){let fe,de=this,he=de.axes,me=de.series,ke=de.container,Ce=ke&&ke.parentNode;for(ce(de,"destroy"),de.renderer.forExport?q(P,de):P[de.index]=void 0,m.chartCount--,de.renderTo.removeAttribute("data-highcharts-chart"),ne(de),fe=he.length;fe--;)he[fe]=he[fe].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),fe=me.length;fe--;)me[fe]=me[fe].destroy();
38["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(Me){let Pe=de[Me];Pe&&Pe.destroy&&(de[Me]=Pe.destroy())}),ke&&(ke.innerHTML=A.emptyHTML,ne(ke),Ce&&U(ke)),K(de,function(Me,Pe){delete de[Pe]})}firstRender(){let fe=this,de=fe.options;fe.getContainer(),fe.resetMargins(),fe.setChartSize(),fe.propFromSeries(),fe.getAxes();let he=V(de.series)?de.series:[];de.series=[],he.forEach(function(me){fe.initSeries(me)}),fe.linkSeries(),fe.setSortedData(),ce(fe,"beforeRender"),fe.render(),fe.pointer?.getChartPosition(),fe.renderer.imgCount||fe.hasLoaded||fe.onload(),fe.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(fe){fe&&this.index!==void 0&&fe.apply(this,[this])},this),ce(this,"load"),ce(this,"render"),O(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:fe,title:de}=this;!fe||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(de&&de.element.textContent||"").replace(/</g,"<")}),fe.accessibility&&fe.accessibility.enabled===!1||z('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(fe,de,he){let me,ke=this;return fe&&(de=Z(de,!0),ce(ke,"addSeries",{options:fe},function(){me=ke.initSeries(fe),ke.isDirtyLegend=!0,ke.linkSeries(),me.enabledDataSorting&&me.setData(fe.data,!1),ce(ke,"afterAddSeries",{series:me}),de&&ke.redraw(he)})),me}addAxis(fe,de,he,me){return this.createAxis(de?"xAxis":"yAxis",{axis:fe,redraw:he,animation:me})}addColorAxis(fe,de,he){return this.createAxis("colorAxis",{axis:fe,redraw:de,animation:he})}createAxis(fe,de){let he=new a(this,de.axis,fe);return Z(de.redraw,!0)&&this.redraw(de.animation),he}showLoading(fe){let de=this,he=de.options,me=he.loading,ke=function(){Ce&&M(Ce,{left:de.plotLeft+"px",top:de.plotTop+"px",width:de.plotWidth+"px",height:de.plotHeight+"px"})},Ce=de.loadingDiv,Me=de.loadingSpan;Ce||(de.loadingDiv=Ce=b("div",{className:"highcharts-loading highcharts-loading-hidden"},null,de.container)),Me||(de.loadingSpan=Me=b("span",{className:"highcharts-loading-inner"},null,Ce),p(de,"redraw",ke)),Ce.className="highcharts-loading",A.setElementHTML(Me,Z(fe,he.lang.loading,"")),de.styledMode||(M(Ce,J(me.style,{zIndex:10})),M(Me,me.labelStyle),de.loadingShown||(M(Ce,{opacity:0,display:""}),R(Ce,{opacity:me.style.opacity||.5},{duration:me.showDuration||0}))),de.loadingShown=!0,ke()}hideLoading(){let fe=this.options,de=this.loadingDiv;de&&(de.className="highcharts-loading highcharts-loading-hidden",this.styledMode||R(de,{opacity:0},{duration:fe.loading.hideDuration||100,complete:function(){M(de,{display:"none"})}})),this.loadingShown=!1}update(fe,de,he,me){let ke,Ce,Me,Pe=this,Oe={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},Be=fe.isResponsiveOptions,Ue=[];ce(Pe,"update",{options:fe}),Be||Pe.setResponsive(!1,!0),fe=_(fe,Pe.options),Pe.userOptions=$(Pe.userOptions,fe);let ze=fe.chart;ze&&($(!0,Pe.options.chart,ze),this.setZoomOptions(),"className"in ze&&Pe.setClassName(ze.className),("inverted"in ze||"polar"in ze||"type"in ze)&&(Pe.propFromSeries(),ke=!0),"alignTicks"in ze&&(ke=!0),"events"in ze&&H(this,ze),K(ze,function(Xe,Ve){Pe.propsRequireUpdateSeries.indexOf("chart."+Ve)!==-1&&(Ce=!0),Pe.propsRequireDirtyBox.indexOf(Ve)!==-1&&(Pe.isDirtyBox=!0),Pe.propsRequireReflow.indexOf(Ve)===-1||(Pe.isDirtyBox=!0,Be||(Me=!0))}),!Pe.styledMode&&ze.style&&Pe.renderer.setStyle(Pe.options.chart.style||{})),!Pe.styledMode&&fe.colors&&(this.options.colors=fe.colors),fe.time&&(this.time===C&&(this.time=new y(fe.time)),$(!0,Pe.options.time,fe.time)),K(fe,function(Xe,Ve){Pe[Ve]&&typeof Pe[Ve].update=="function"?Pe[Ve].update(Xe,!1):typeof Pe[Oe[Ve]]=="function"?Pe[Oe[Ve]](Xe):Ve!=="colors"&&Pe.collectionsWithUpdate.indexOf(Ve)===-1&&$(!0,Pe.options[Ve],fe[Ve]),Ve!=="chart"&&Pe.propsRequireUpdateSeries.indexOf(Ve)!==-1&&(Ce=!0)}),this.collectionsWithUpdate.forEach(function(Xe){fe[Xe]&&(oe(fe[Xe]).forEac
38h(function(Ve,ut){let Et,Mt=O(Ve.id);Mt&&(Et=Pe.get(Ve.id)),!Et&&Pe[Xe]&&(Et=Pe[Xe][Z(Ve.index,ut)])&&(Mt&&O(Et.options.id)||Et.options.isInternal)&&(Et=void 0),Et&&Et.coll===Xe&&(Et.update(Ve,!1),he&&(Et.touched=!0)),!Et&&he&&Pe.collectionsWithInit[Xe]&&(Pe.collectionsWithInit[Xe][0].apply(Pe,[Ve].concat(Pe.collectionsWithInit[Xe][1]||[]).concat([!1])).touched=!0)}),he&&Pe[Xe].forEach(function(Ve){Ve.touched||Ve.options.isInternal?delete Ve.touched:Ue.push(Ve)}))}),Ue.forEach(function(Xe){Xe.chart&&Xe.remove&&Xe.remove(!1)}),ke&&Pe.axes.forEach(function(Xe){Xe.update({},!1)}),Ce&&Pe.getSeriesOrderByLinks().forEach(function(Xe){Xe.chart&&Xe.update({},!1)},this);let $e=ze&&ze.width,Ze=ze&&(ae(ze.height)?ie(ze.height,$e||Pe.chartWidth):ze.height);Me||Y($e)&&$e!==Pe.chartWidth||Y(Ze)&&Ze!==Pe.chartHeight?Pe.setSize($e,Ze,me):Z(de,!0)&&Pe.redraw(me),ce(Pe,"afterUpdate",{options:fe,redraw:de,animation:me})}setSubtitle(fe,de){this.applyDescription("subtitle",fe),this.layOutTitles(de)}setCaption(fe,de){this.applyDescription("caption",fe),this.layOutTitles(de)}showResetZoom(){let fe=this,de=L.lang,he=fe.zooming.resetButton,me=he.theme,ke=he.relativeTo==="chart"||he.relativeTo==="spacingBox"?null:"plotBox";function Ce(){fe.zoomOut()}ce(this,"beforeShowResetZoom",null,function(){fe.resetZoomButton=fe.renderer.button(de.resetZoom,null,null,Ce,me).attr({align:he.position.align,title:de.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(he.position,!1,ke)}),ce(this,"afterShowResetZoom")}zoomOut(){ce(this,"selection",{resetSelection:!0}
38,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(fe,de){let he=this,me=typeof de=="object"?de:{enabled:de,type:"x"},ke=me.type,Ce=ke&&he[{x:"xAxis",xy:"axes",y:"yAxis"}[ke]].filter(Pe=>Pe.options.panningEnabled&&!Pe.options.isInternal),Me=he.options.chart;Me?.panning&&(Me.panning=me),ce(this,"pan",{originalEvent:fe},()=>{he.transform({axes:Ce,event:fe,to:{x:fe.chartX-(he.mouseDownX||0),y:fe.chartY-(he.mouseDownY||0)},trigger:"pan"}),M(he.container,{cursor:"move"})})}transform(fe){let{axes:de=this.axes,event:he,from:me={},reset:ke,selection:Ce,to:Me={},trigger:Pe}=fe,{inverted:Oe}=this,Be=!1,Ue,ze;for(let $e of(this.hoverPoints?.forEach(Ze=>Ze.setState()),de)){let{horiz:Ze,len:Xe,minPointOffset:Ve=0,options:ut,reversed:Et}=$e,Mt=Ze?"width":"height",Pt=Ze?"x":"y",qt=Z(Me[Mt],$e.len),Wt=Z(me[Mt],$e.len),At=10>Math.abs(qt)?1:qt/Wt,kt=(me[Pt]||0)+Wt/2-$e.pos,Gt=kt-((Me[Pt]??$e.pos)+qt/2-$e.pos)/At,ft=Et&&!Oe||!Et&&Oe?-1:1;if(!ke&&(kt<0||kt>$e.len))continue;let yt=$e.toValue(Gt,!0)+(Ce||$e.isOrdinal?0:Ve*ft),$t=$e.toValue(Gt+Xe/At,!0)-(Ce||$e.isOrdinal?0:Ve*ft||0),Xt=$e.allExtremes;if(yt>$t&&([yt,$t]=[$t,yt]),At===1&&!ke&&$e.coll==="yAxis"&&!Xt){for(let Ar of $e.series){let Pr=Ar.getExtremes(Ar.getProcessedData(!0).yData,!0);Xt??(Xt={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),Y(Pr.dataMin)&&Y(Pr.dataMax)&&(Xt.dataMin=Math.min(Pr.dataMin,Xt.dataMin),Xt.dataMax=Math.max(Pr.dataMax,Xt.dataMax))}$e.allExtremes=Xt}let{dataMin:et,dataMax:mt,min:ct,max:Ft}=J($e.getExtremes(),Xt||{}),Qt=et??ut.min,xr=mt??ut.max,ur=$t-yt,sr=$e.categories?0:Math.min(ur,xr-Qt),cr=Qt-sr*(O(ut.min)?0:ut.minPadding),Ht=xr+sr*(O(ut.max)?0:ut.maxPadding),Rr=$e.allowZoomOutside||At===1||Pe!=="zoom"&&At>1,Sr=Math.min(ut.min??cr,cr,Rr?ct:cr),Hr=Math.max(ut.max??Ht,Ht,Rr?Ft:Ht);(!$e.isOrdinal||$e.options.overscroll||At!==1||ke)&&(yt<Sr&&(yt=Sr,At>=1&&($t=yt+ur)),$t>Hr&&($t=Hr,At>=1&&(yt=$t-ur)),(ke||$e.series.length&&(yt!==ct||$t!==Ft)&&yt>=Sr&&$t<=Hr)&&(Ce?Ce[$e.coll].push({axis:$e,min:yt,max:$t}):($e.isPanning=Pe!=="zoom",$e.isPanning&&(ze=!0),$e.setExtremes(ke?void 0:yt,ke?void 0:$t,!1,!1,{move:Gt,trigger:Pe,scale:At}),!ke&&(yt>Sr||$t<Hr)&&Pe!=="mousewheel"&&(Ue=!0)),Be=!0),he&&(this[Ze?"mouseDownX":"mouseDownY"]=he[Ze?"chartX":"chartY"]))}return Be&&(Ce?ce(this,"selection",Ce,()=>{delete fe.selection,fe.trigger="zoom",this.transform(fe)}):(!Ue||ze||this.resetZoomButton?!Ue&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(Pe==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),Be}}return J(be.prototype,{callbacks:[],collectionsWithInit:{xAxis:[be.prototype.addAxis,[!0]],yAxis:[be.prototype.addAxis,[!1]],series:[be.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
38dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),be}),n(r,"Extensions/ScrollablePlotArea.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f){let{stop:u}=i,{composed:m}=a,{addEvent:S,createElement:w,css:x,defined:T,merge:y,pushUnique:E}=f;function A(){let k=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!k&&(this.scrollablePlotArea=k=new R(this)),k?.applyFixed()}function j(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class R{static compose(B,L,C){E(m,this.compose)&&(S(B,"afterInit",j),S(L,"afterSetChartSize",h=>this.afterSetSize(h.target,h)),S(L,"render",A),S(C,"show",j))}static afterSetSize(B,L){let C,h,H,{minWidth:P,minHeight:N}=B.options.chart.scrollablePlotArea||{},{clipBox:I,plotBox:F,inverted:l,renderer:d}=B;if(!d.forExport&&(P?(B.scrollablePixelsX=C=Math.max(0,P-B.chartWidth),C&&(B.scrollablePlotBox=y(B.plotBox),F.width=B.plotWidth+=C,I[l?"height":"width"]+=C,H=!0)):N&&(B.scrollablePixelsY=h=Math.max(0,N-B.chartHeight),T(h)&&(B.scrollablePlotBox=y(B.plotBox),F.height=B.plotHeight+=h,I[l?"width":"height"]+=h,H=!1)),T(H)&&!L.skipAxes))for(let p of B.axes)p.horiz===H&&(p.setAxisSize(),p.setAxisTranslation())}constructor(B){let L,C=B.options.chart,h=o.getRendererType(),H=C.scrollablePlotArea||{},P=this.moveFixedElements.bind(this),N={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};B.scrollablePixelsX&&(N.overflowX="auto"),B.scrollablePixelsY&&(N.overflowY="auto"),this.chart=B;let I=this.parentDiv=w("div",{className:"highcharts-scrolling-parent"},{position:"relative"},B.renderTo),F=this.scrollingContainer=w("div",{className:"highcharts-scrolling"},N,I),l=this.innerContainer=w("div",{className:"highcharts-inner-container"},void 0,F),d=this.fixedDiv=w("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(C.style?.zIndex||0)+2,top:0},void 0,!0),p=this.fixedRenderer=new h(d,B.chartWidth,B.chartHeight,C.style);this.mask=p.path().attr({fill:C.backgroundColor||"#fff","fill-opacity":H.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),F.parentNode.insertBefore(d,F),x(B.renderTo,{overflow:"visible"}),S(B,"afterShowResetZoom",P),S(B,"afterApplyDrilldown",P),S(B,"afterLayOutTitles",P),S(F,"scroll",()=>{let{pointer:v,hoverPoint:b}=B;v&&(delete v.chartPosition,b&&(L=b),v.runPointActions(void 0,L,!0))}),l.appendChild(B.container)}applyFixed(){let{chart:B,fixedRenderer:L,isDirty:C,scrollingContainer:h}=this,{axisOffset:H,chartWidth:P,chartHeight:N,container:I,plotHeight:F,plotLeft:l,plotTop:d,plotWidth:p,scrollablePixelsX:v=0,scrollablePixelsY:b=0}=B,{scrollPositionX:M=0,scrollPositionY:O=0}=B.options.chart.scrollablePlotArea||{},_=P+v,U=N+b;L.setSize(P,N),(C??!0)&&(this.isDirty=!1,this.moveFixedElements()),u(B.container),x(I,{width:`${_}px`,height:`${U}px`}),B.renderer.boxWrapper.attr({width:_,height:U,viewBox:[0,0,_,U].join(" ")}),B.chartBackground?.attr({width:_,height:U}),x(h,{width:`${P}px`,height:`${N}px`}),T(C)||(h.scrollLeft=v*M,h.scrollTop=b*O);let q=d-H[0]-1,z=l-H[3]-1,J=d+F+H[2]+1,te=l+p+H[1]+1,ce=l+p-v,xe=d+F-b,V=[["M",0,0]];v?V=[["M",0,q],["L",l-1,q],["L",l-1,J],["L",0,J],["Z"],["M",ce,q],["L",P,q],["L",P,J],["L",ce,J],["Z"]]:b&&(V=[["M",z,0],["L",z,d-1],["L",te,d-1],["L",te,0],["Z"],["M",z,xe],["L",z,
38N],["L",te,N],["L",te,xe],["Z"]]),B.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:V})}moveFixedElements(){let B,{container:L,inverted:C,scrollablePixelsX:h,scrollablePixelsY:H}=this.chart,P=this.fixedRenderer,N=R.fixedSelectors;for(let I of(h&&!C?B=".highcharts-yaxis":h&&C||H&&!C?B=".highcharts-xaxis":H&&C&&(B=".highcharts-yaxis"),B&&N.push(`${B}:not(.highcharts-radial-axis)`,`${B}-labels:not(.highcharts-radial-axis-labels)`),N))[].forEach.call(L.querySelectorAll(I),F=>{(F.namespaceURI===P.SVG_NS?P.box:P.box.parentNode).appendChild(F),F.style.pointerEvents="auto"})}}return R.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],R}),n(r,"Core/Axis/Stacking/StackItem.js",[r["Core/Templating.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{format:f}=i,{series:u}=a,{destroyObjectProperties:m,fireEvent:S,isNumber:w,pick:x}=o;return class{constructor(T,y,E,A,j){let R=T.chart.inverted,k=T.reversed;this.axis=T;let B=this.isNegative=!!E!=!!k;this.options=y=y||{},this.x=A,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=j,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:y.align||(R?B?"left":"right":"center"),verticalAlign:y.verticalAlign||(R?"middle":B?"bottom":"top"),y:y.y,x:y.x},this.textAlign=y.textAlign||(R?B?"right":"left":"center")}destroy(){m(this,this.axis)}render(T){let y=this.axis.chart,E=this.options,A=E.format,j=A?f(A,this,y):E.formatter.call(this);if(this.label)this.label.attr({text:j,visibility:"hidden"});else{this.label=y.renderer.label(j,null,void 0,E.shape,void 0,void 0,E.useHTML,!1,"stack-labels");let R={r:E.borderRadius||0,text:j,padding:x(E.padding,5),visibility:"hidden"};y.styledMode||(R.fill=E.backgroundColor,R.stroke=E.borderColor,R["stroke-width"]=E.borderWidth,this.label.css(E.style||{})),this.label.attr(R),this.label.added||this.label.add(T)}this.label.labelrank=y.plotSizeY,S(this,"afterRender")}
38setOffset(T,y,E,A,j,R){let{alignOptions:k,axis:B,label:L,options:C,textAlign:h}=this,H=B.chart,P=this.getStackBox({xOffset:T,width:y,boxBottom:E,boxTop:A,defaultX:j,xAxis:R}),{verticalAlign:N}=k;if(L&&P){let I=L.getBBox(void 0,0),F=L.padding,l=x(C.overflow,"justify")==="justify",d;k.x=C.x||0,k.y=C.y||0;let{x:p,y:v}=this.adjustStackPosition({labelBox:I,verticalAlign:N,textAlign:h});P.x-=p,P.y-=v,L.align(k,!1,P),(d=H.isInsidePlot(L.alignAttr.x+k.x+p,L.alignAttr.y+k.y+v))||(l=!1),l&&u.prototype.justifyDataLabel.call(B,L,k,L.alignAttr,I,P),L.attr({x:L.alignAttr.x,y:L.alignAttr.y,rotation:C.rotation,rotationOriginX:I.width*{left:0,center:.5,right:1}[C.textAlign||"center"],rotationOriginY:I.height/2}),x(!l&&C.crop,!0)&&(d=w(L.x)&&w(L.y)&&H.isInsidePlot(L.x-F+(L.width||0),L.y)&&H.isInsidePlot(L.x+F,L.y)),L[d?"show":"hide"]()}S(this,"afterSetOffset",{xOffset:T,width:y})}adjustStackPosition({labelBox:T,verticalAlign:y,textAlign:E}){let A={bottom:0,middle:1,top:2,right:1,center:0,left:-1},j=A[y],R=A[E];return{x:T.width/2+T.width/2*R,y:T.height/2*j}}getStackBox(T){let y=this.axis,E=y.chart,{boxTop:A,defaultX:j,xOffset:R,width:k,boxBottom:B}=T,L=y.stacking.usePercentage?100:x(A,this.total,0),C=y.toPixels(L),h=T.xAxis||E.xAxis[0],H=x(j,h.translate(this.x))+R,P=Math.abs(C-y.toPixels(B||w(y.min)&&y.logarithmic&&y.logarithmic.lin2log(y.min)||0)),N=E.inverted,I=this.isNegative;return N?{x:(I?C:C-P)-E.plotLeft,y:h.height-H-k+h.top-E.plotTop,width:P,height:k}:{x:H+h.transB-E.plotLeft,y:(I?C-P:C)-E.plotTop,width:k,height:P}}}}),n(r,"Core/Axis/Stacking/StackingAxis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Axis/Stacking/StackItem.js"],r["Core/Utilities.js"]],function(i,a,o,f,u){var m;let{getDeferredAnimation:S}=i,{series:{prototype:w}}=o,{addEvent:x,correctFloat:T,defined:y,destroyObjectProperties:E,fireEvent:A,isArray:j,isNumber:R,objectEach:k,pick:B}=u;function L(){let d=this.inverted;this.axes.forEach(p=>{p.stacking&&p.stacking.stacks&&p.hasVisibleSeries&&(p.stacking.oldStacks=p.stacking.stacks)}),this.series.forEach(p=>{let v=p.xAxis&&p.xAxis.options||{};p.options.stacking&&p.reserveSpace()&&(p.stackKey=[p.type,B(p.options.stack,""),d?v.top:v.left,d?v.height:v.width].join(","))})}function C(){let d=this.stacking;if(d){let p=d.stacks;k(p,(v,b)=>{E(v),delete p[b]}),d.stackTotalGroup?.destroy()}}function h(){this.stacking||(this.stacking=new l(this))}function H(d,p,v,b){return!y(d)||d.x!==p||b&&d.stackKey!==b?d={x:p,index:0,key:b,stackKey:b}:d.index++,d.key=[v,p,d.index].join(","),d}function P(){let d,p=this,v=p.yAxis,b=p.stackKey||"",M=v.stacking.stacks,O=p.processedXData,_=p.options.stacking,U=p[_+"Stacker"];U&&[b,"-"+b].forEach(q=>{let z=O.length,J,te,ce;for(;z--;)J=O[z],d=p.getStackIndicator(d,J,p.index,q),te=M[q]?.[J],(ce=te?.points[d.key||""])&&U.call(p,ce,te,z)})}function N(d,p,v){let b=p.total?100/p.total:0;d[0]=T(d[0]*b),d[1]=T(d[1]*b),this.stackedYData[v]=d[1]}function I(d){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?w.setStackedPoints.call(this,d,"group"):d.stacking.resetStacks())}function F(d,p){let v,b,M,O,_,U,q,z,J,te=p||this.options.stacking;if(!te||!this.reserveSpace()||({group:"xAxis"}[te]||"yAxis")!==d.coll)return;let ce=this.processedXData,xe=this.processedYData,V=[],Y=xe.length,X=this.options,ae=X.threshold||0,$=X.startFromThreshold?ae:0,K=X.stack,Z=p?`${this.type},${te}`:this.stackKey||"",se="-"+Z,ie=this.negStacks,ne=d.stacking,oe=ne.stacks,ue=ne.oldStacks;for(ne.stacksTouched+=1,q=0;q<Y;q++){z=ce[q],J=xe[q],U=(v=this.getStackIndicator(v,z,this.index)).key||"",oe[_=(b=ie&&J<($?0:ae))?se:Z]||(oe[_]={}),oe[_][z]||(ue[_]?.[z]?(oe[_][z]=ue[_][z],oe[_][z].total=null):oe[_][z]=new f(d,d.options.stackLabels,!!b,z,K)),M=oe[_][z],J!==null?(M.points[U]=M.points[this.index]=[B(M.cumulative,$)],y(M.cumulative)||(M.base=U),M.touched=ne.stacksTouched,v.index>0&&this.singleStacks===!1&&(M.points[U][0]=M.points[this.index+","+z+",0"][0])):(delete M.points[U],delete M.points[this.index]);let ye=M.total||0;te==="percent"?(O=b?Z:se,ye=ie&&oe[O]?.[z]?(O=oe[O][z]).total=Math.max(O.total||0,ye)+Math.abs(J)||0:T(ye+(Math.abs(J)||0))):te==="group"?(j(J)&&(J=J[0]),J!==null&&ye++):ye=T(ye+(J||0)),te==="group"?M.cumulative=(ye||1)-1:M.cumulative=T(B(M.cumulative,$)+(J||0)),M.total=ye,J!==null&&(M.points[U].push(M.cumulative),V[q]=M.cumulative,M.hasValidPoints=!0)}te==="percent"&&(ne.usePercentage=!0),te!=="group"&&(this.stackedYData=V),ne.oldStacks={}}class l{constructor(p){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=p}buildStacks(){let p,v,b=this.axis,M=b.series,O=b.coll==="xAxis",_=b.options.reversedStacks,U=M.length;for(this.resetStacks(),this.usePercentage=!1,v=U;v--;)p=M[_?v:U-v-1],O&&p.setGroupedPoints(b),p.setStackedPoints(b);
38if(!O)for(v=0;v<U;v++)M[v].modifyStacks();A(b,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,k(this.stacks,p=>{k(p,v=>{v.cumulative=v.total})}))}resetStacks(){k(this.stacks,p=>{k(p,(v,b)=>{R(v.touched)&&v.touched<this.stacksTouched?(v.destroy(),delete p[b]):(v.total=null,v.cumulative=null)})})}renderStackTotals(){let p=this.axis,v=p.chart,b=v.renderer,M=this.stacks,O=S(v,p.options.stackLabels?.animation||!1),_=this.stackTotalGroup=this.stackTotalGroup||b.g("stack-labels").attr({zIndex:6,opacity:0}).add();_.translate(v.plotLeft,v.plotTop),k(M,U=>{k(U,q=>{q.render(_)})}),_.animate({opacity:1},O)}}return(m||(m={})).compose=function(d,p,v){let b=p.prototype,M=v.prototype;b.getStacks||(x(d,"init",h),x(d,"destroy",C),b.getStacks=L,M.getStackIndicator=H,M.modifyStacks=P,M.percentStacker=N,M.setGroupedPoints=I,M.setStackedPoints=F)},m}),n(r,"Series/Line/LineSeries.js",[r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{defined:f,merge:u,isObject:m}=o;class S extends i{drawGraph(){let x=this.options,T=(this.gappedPath||this.getGraphPath).call(this),y=this.chart.styledMode;[this,...this.zones].forEach((E,A)=>{let j,R=E.graph,k=R?"animate":"attr",B=E.dashStyle||x.dashStyle;R?(R.endX=this.preventGraphAnimation?null:T.xMap,R.animate({d:T})):T.length&&(E.graph=R=this.chart.renderer.path(T).addClass("highcharts-graph"+(A?` highcharts-zone-graph-${A-1} `:" ")+(A&&E.className||"")).attr({zIndex:1}).add(this.group)),R&&!y&&(j={stroke:!A&&x.lineColor||E.color||this.color||"#cccccc","stroke-width":x.lineWidth||0,fill:this.fillGraph&&this.color||"none"},B?j.dashstyle=B:x.linecap!=="square"&&(j["stroke-linecap"]=j["stroke-linejoin"]="round"),R[k](j).shadow(A<2&&x.shadow&&u({filterUnits:"userSpaceOnUse"},m(x.shadow)?x.shadow:{}))),R&&(R.startX=T.xMap,R.isArea=T.isArea)})}getGraphPath(x,T,y){let E=this,A=E.options,j=[],R=[],k,B=A.step,L=(x=x||E.points).reversed;return L&&x.reverse(),(B={right:1,center:2}[B]||B&&3)&&L&&(B=4-B),(x=this.getValidPoints(x,!1,!(A.connectNulls&&!T&&!y))).forEach(function(C,h){let H,P=C.plotX,N=C.plotY,I=x[h-1],F=C.isNull||typeof N!="number";(C.leftCliff||I&&I.rightCliff)&&!y&&(k=!0),F&&!f(T)&&h>0?k=!A.connectNulls:F&&!T?k=!0:(h===0||k?H=[["M",C.plotX,C.plotY]]:E.getPointSpline?H=[E.getPointSpline(x,C,h)]:B?(H=B===1?[["L",I.plotX,N]]:B===2?[["L",(I.plotX+P)/2,I.plotY],["L",(I.plotX+P)/2,N]]:[["L",P,I.plotY]]).push(["L",P,N]):H=[["L",P,N]],R.push(C.x),B&&(R.push(C.x),B===2&&R.push(C.x)),j.push.apply(j,H),k=!1)}),j.xMap=R,E.graphPath=j,j}}return S.defaultOptions=u(i.defaultOptions,{legendSymbol:"lineMarker"}),a.registerSeriesType("line",S),S}),n(r,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),n(r,"Series/Area/AreaSeries.js",[r["Series/Area/AreaSeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{seriesTypes:{line:f}}=a,{extend:u,merge:m,objectEach:S,pick:w}=o;class x extends f{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:y,options:E}=this;[this,...this.zones].forEach((A,j)=>{let R={},k=A.fillColor||E.fillColor,B=A.area,L=B?"animate":"attr";B?(B.endX=this.preventGraphAnimation?null:y.xMap,B.animate({d:y})):(R.zIndex=0,(B=A.area=this.chart.renderer.path(y).addClass("highcharts-area"+(j?` highcharts-zone-area-${j-1} `:" ")+(j&&A.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(R.fill=k||A.color||this.color,R["fill-opacity"]=k?1:E.fillOpacity??.75,B.css({pointerEvents:this.stickyTracking?"none":"auto"})),B[L](R),B.startX=y.xMap,B.shiftUnit=E.step?2:1})}getGraphPath(y){let E,A,j,R=f.prototype.getGraphPath,k=this.options,B=k.stacking,L=this.yAxis,C=[],h=[],H=this.index,P=L.stacking.stacks[this.stackKey],N=k.threshold,I=Math.round(L.getThreshold(k.threshold)),F=w(k.connectNulls,B==="percent"),l=function(O,_,U){let q=y[O],z=B&&P[q.x].points[H],J=q[U+"Null"]||0,te=q[U+"Cliff"]||0,ce,xe,V=!0;te||J?(ce=(J?z[0]:z[1])+te,xe=z[0]+te,V=!!J):!B&&y[_]&&y[_].isNull&&(ce=xe=N),ce!==void 0&&(h.push({plotX:E,plotY:ce===null?I:L.getThreshold(ce),isNull:V,isCliff:!0}),C.push({plotX:E,plotY:xe===null?I:L.getThreshold(xe),doCurve:!1}))};y=y||this.points,B&&(y=this.getStackPoints(y));for(let O=0,_=y.length;O<_;
38++O)B||(y[O].leftCliff=y[O].rightCliff=y[O].leftNull=y[O].rightNull=void 0),A=y[O].isNull,E=w(y[O].rectPlotX,y[O].plotX),j=B?w(y[O].yBottom,I):I,A&&!F||(F||l(O,O-1,"left"),A&&!B&&F||(h.push(y[O]),C.push({x:O,plotX:E,plotY:j})),F||l(O,O+1,"right"));let d=R.call(this,h,!0,!0);C.reversed=!0;let p=R.call(this,C,!0,!0),v=p[0];v&&v[0]==="M"&&(p[0]=["L",v[1],v[2]]);let b=d.concat(p);b.length&&b.push(["Z"]);let M=R.call(this,h,!1,F);return this.chart.series.length>1&&B&&h.some(O=>O.isCliff)&&(b.hasStackedCliffs=M.hasStackedCliffs=!0),b.xMap=d.xMap,this.areaPath=b,M}getStackPoints(y){let E=this,A=[],j=[],R=this.xAxis,k=this.yAxis,B=k.stacking.stacks[this.stackKey],L={},C=k.series,h=C.length,H=k.options.reversedStacks?1:-1,P=C.indexOf(E);if(y=y||this.points,this.options.stacking){for(let I=0;I<y.length;I++)y[I].leftNull=y[I].rightNull=void 0,L[y[I].x]=y[I];S(B,function(I,F){I.total!==null&&j.push(F)}),j.sort(function(I,F){return I-F});let N=C.map(I=>I.visible);j.forEach(function(I,F){let l=0,d,p;if(L[I]&&!L[I].isNull)A.push(L[I]),[-1,1].forEach(function(v){let b=v===1?"rightNull":"leftNull",M=B[j[F+v]],O=0;if(M){let _=P;for(;_>=0&&_<h;){let U=C[_].index;!(d=M.points[U])&&(U===E.index?L[I][b]=!0:N[_]&&(p=B[I].points[U])&&(O-=p[1]-p[0])),_+=H}}L[I][v===1?"rightCliff":"leftCliff"]=O});else{let v=P;for(;v>=0&&v<h;){let b=C[v].index;if(d=B[I].points[b]){l=d[1];break}v+=H}l=w(l,0),l=k.translate(l,0,1,0,1),A.push({isNull:!0,plotX:R.translate(I,0,0,0,1),x:I,plotY:l,yBottom:l})}})}return A}}return x.defaultOptions=m(f.defaultOptions,i),u(x.prototype,{singleStacks:!1}),a.registerSeriesType("area",x),x}),n(r,"Series/Spline/SplineSeries.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a){let{line:o}=i.seriesTypes,{merge:f,pick:u}=a;class m extends o{getPointSpline(w,x,T){let y,E,A,j,R=x.plotX||0,k=x.plotY||0,B=w[T-1],L=w[T+1];function C(H){return H&&!H.isNull&&H.doCurve!==!1&&!x.isCliff}if(C(B)&&C(L)){let H=B.plotX||0,P=B.plotY||0,N=L.plotX||0,I=L.plotY||0,F=0;y=(1.5*R+H)/2.5,E=(1.5*k+P)/2.5,A=(1.5*R+N)/2.5,j=(1.5*k+I)/2.5,A!==y&&(F=(j-E)*(A-R)/(A-y)+k-j),E+=F,j+=F,E>P&&E>k?(E=Math.max(P,k),j=2*k-E):E<P&&E<k&&(E=Math.min(P,k),j=2*k-E),j>I&&j>k?(j=Math.max(I,k),E=2*k-j):j<I&&j<k&&(j=Math.min(I,k),E=2*k-j),x.rightContX=A,x.rightContY=j,x.controlPoints={low:[y,E],high:[A,j]}}let h=["C",u(B.rightContX,B.plotX,0),u(B.rightContY,B.plotY,0),u(y,R,0),u(E,k,0),R,k];return B.rightContX=B.rightContY=void 0,h}}return m.defaultOptions=f(o.defaultOptions),i.registerSeriesType("spline",m),m}),n(r,"Series/AreaSpline/AreaSplineSeries.js",[r["Series/Spline/SplineSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{area:f,area:{prototype:u}}=a.seriesTypes,{extend:m,merge:S}=o;class w extends i{}return w.defaultOptions=S(i.defaultOptions,f.defaultOptions),m(w.prototype,{getGraphPath:u.getGraphPath,getStackPoints:u.getStackPoints,drawGraph:u.drawGraph}),a.registerSeriesType("areaspline",w),w}),n(r,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),n(r,"Series/Column/ColumnSeries.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Color/Color.js"],r["Series/Column/ColumnSeriesDefaults.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S){let{animObject:w}=i,{parse:x}=a,{noop:T}=f,{clamp:y,crisp:E,defined:A,extend:j,fireEvent:R,isArray:k,isNumber:B,merge:L,pick:C,objectEach:h}=S;class H extends u{animate(N){let I,F,l=this,d=this.yAxis,p=d.pos,v=d.reversed,b=l.options,{clipOffset:M,inverted:O}=this.chart,_={},U=O?"translateX":"translateY";N&&M?(_.scaleY=.001,F=y(d.toPixels(b.threshold),p,p+d.len),O?(F+=v?-Math.floor(M[0]):Math.ceil(M[2]),_.translateX=F-d.len):(F+=v?Math.ceil(M[0]):-Math.floor(M[2]),_.translateY=F),l.clipBox&&l.setClip(),l.group.attr(_)):(I=Number(l.group.attr(U)),l.group.animate({scaleY:1},j(w(l.options.animation),{step:function(q,z){l.group&&(_[U]=I+z.pos*(p-I),l.group.attr(_))}})))}
38init(N,I){super.init.apply(this,arguments);let F=this;(N=F.chart).hasRendered&&N.series.forEach(function(l){l.type===F.type&&(l.isDirty=!0)})}getColumnMetrics(){let N=this,I=N.options,F=N.xAxis,l=N.yAxis,d=F.options.reversedStacks,p=F.reversed&&!d||!F.reversed&&d,v={},b,M=0;I.grouping===!1?M=1:N.chart.series.forEach(function(J){let te,ce=J.yAxis,xe=J.options;J.type===N.type&&J.reserveSpace()&&l.len===ce.len&&l.pos===ce.pos&&(xe.stacking&&xe.stacking!=="group"?(v[b=J.stackKey]===void 0&&(v[b]=M++),te=v[b]):xe.grouping!==!1&&(te=M++),J.columnIndex=te)});let O=Math.min(Math.abs(F.transA)*(!F.brokenAxis?.hasBreaks&&F.ordinal?.slope||I.pointRange||F.closestPointRange||F.tickInterval||1),F.len),_=O*I.groupPadding,U=(O-2*_)/(M||1),q=Math.min(I.maxPointWidth||F.len,C(I.pointWidth,U*(1-2*I.pointPadding))),z=(N.columnIndex||0)+(p?1:0);return N.columnMetrics={width:q,offset:(U-q)/2+(_+z*U-O/2)*(p?-1:1),paddedWidth:U,columnCount:M},N.columnMetrics}crispCol(N,I,F,l){let d=this.borderWidth,p=this.chart.inverted;return l=E(I+l,d,p)-(I=E(I,d,p)),this.options.crisp&&(F=E(N+F,d)-(N=E(N,d))),{x:N,y:I,width:F,height:l}}adjustForMissingColumns(N,I,F,l){if(!F.isNull&&l.columnCount>1){let d=this.xAxis.series.filter(M=>M.visible).map(M=>M.index),p=0,v=0;h(this.xAxis.stacking?.stacks,M=>{if(typeof F.x=="number"){let O=M[F.x.toString()];if(O&&k(O.points[this.index])){let _=Object.keys(O.points).filter(U=>!U.match(",")&&O.points[U]&&O.points[U].length>1).map(parseFloat).filter(U=>d.indexOf(U)!==-1).sort((U,q)=>q-U);p=_.indexOf(this.index),v=_.length}}}),p=this.xAxis.reversed?v-1-p:p;let b=(v-1)*l.paddedWidth+I;N=(F.plotX||0)+b/2-I-p*l.paddedWidth}return N}translate(){let N=this,I=N.chart,F=N.options,l=N.dense=N.closestPointRange*N.xAxis.transA<2,d=N.borderWidth=C(F.borderWidth,l?0:1),p=N.xAxis,v=N.yAxis,b=F.threshold,M=C(F.minPointLength,5),O=N.getColumnMetrics(),_=O.width,U=N.pointXOffset=O.offset,q=N.dataMin,z=N.dataMax,J=N.translatedThreshold=v.getThreshold(b),te=N.barW=Math.max(_,1+2*d);F.pointPadding&&(te=Math.ceil(te)),u.prototype.translate.apply(N),N.points.forEach(function(ce){let xe=C(ce.yBottom,J),V=999+Math.abs(xe),Y=ce.plotX||0,X=y(ce.plotY,-V,v.len+V),ae,$=Math.min(X,xe),K=Math.max(X,xe)-$,Z=_,se=Y+U,ie=te;M&&Math.abs(K)<M&&(K=M,ae=!v.reversed&&!ce.negative||v.reversed&&ce.negative,B(b)&&B(z)&&ce.y===b&&z<=b&&(v.min||0)<b&&(q!==z||(v.max||0)<=b)&&(ae=!ae,ce.negative=!ce.negative),$=Math.abs($-J)>M?xe-M:J-(ae?M:0)),A(ce.options.pointWidth)&&(se-=Math.round(((Z=ie=Math.ceil(ce.options.pointWidth))-_)/2)),F.centerInCategory&&!F.stacking&&(se=N.adjustForMissingColumns(se,Z,ce,O)),ce.barX=se,ce.pointWidth=Z,ce.tooltipPos=I.inverted?[y(v.len+v.pos-I.plotLeft-X,v.pos-I.plotLeft,v.len+v.pos-I.plotLeft),p.len+p.pos-I.plotTop-se-ie/2,K]:[p.left-I.plotLeft+se+ie/2,y(X+v.pos-I.plotTop,v.pos-I.plotTop,v.len+v.pos-I.plotTop),K],ce.shapeType=N.pointClass.prototype.shapeType||"roundedRect",ce.shapeArgs=N.crispCol(se,ce.isNull?J:$,ie,ce.isNull?0:K)}),R(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(N,I){let F=this.options,l=this.pointAttrToOptions||{},d=l.stroke||"borderColor",p=l["stroke-width"]||"borderWidth",v,b,M,O=N&&N.color||this.color,_=N&&N[d]||F[d]||O,U=N&&N.options.dashStyle||F.dashStyle,q=N&&N[p]||F[p]||this[p]||0,z=C(N&&N.opacity,F.opacity,1);N&&this.zones.length&&(b=N.getZone(),O=N.options.color||b&&(b.color||N.nonZonedColor)||this.color,b&&(_=b.borderColor||_,U=b.dashStyle||U,q=b.borderWidth||q)),I&&N&&(M=(v=L(F.states[I],N.options.states&&N.options.states[I]||{})).brightness,O=v.color||M!==void 0&&x(O).brighten(v.brightness).get()||O,_=v[d]||_,q=v[p]||q,U=v.dashStyle||U,z=C(v.opacity,z));let J={fill:O,stroke:_,"stroke-width":q,opacity:z};return U&&(J.dashstyle=U),J}drawPoints(N=this.points){let I,F=this,l=this.chart,d=F.options,p=l.renderer,v=d.animationLimit||250;N.forEach(function(b){let M=b.plotY,O=b.graphic,_=!!O,U=O&&l.pointCount<v?"animate":"attr";B(M)&&b.y!==null?(I=b.shapeArgs,O&&b.hasNewShapeType()&&(O=O.destroy()),F.enabledDataSorting&&(b.startXPos=F.xAxis.reversed?-(I&&I.width||0):F.xAxis.width),!O&&(b.graphic=O=p[b.shapeType](I).add(b.group||F.group),O&&F.enabledDataSorting&&l.hasRendered&&l.pointCount<v&&(O.attr({x:b.startXPos}),_=!0,U="animate")),O&&_&&O[U](L(I)),l.styledMode||O[U](F.pointAttribs(b,b.selected&&"select")).shadow(b.allowShadow!==!1&&d.shadow),O&&(O.addClass(b.getClassName(),!0),O.attr({visibility:b.visible?"inherit":"hidden"}))):O&&(b.graphic=O.destroy())})}drawTracker(N=this.points){let I,F=this,l=F.chart,d=l.pointer,p=function(v){let b=d?.getPointFromEvent(v);d&&b&&F.options.enableMouseTracking&&(d.isDirectTouch=!0,b.onMouseOver(v))};
38N.forEach(function(v){I=k(v.dataLabels)?v.dataLabels:v.dataLabel?[v.dataLabel]:[],v.graphic&&(v.graphic.element.point=v),I.forEach(function(b){(b.div||b.element).point=v})}),F._hasTracking||(F.trackerGroups.forEach(function(v){F[v]&&(F[v].addClass("highcharts-tracker").on("mouseover",p).on("mouseout",function(b){d?.onTrackerMouseOut(b)}).on("touchstart",p),!l.styledMode&&F.options.cursor&&F[v].css({cursor:F.options.cursor}))}),F._hasTracking=!0),R(this,"afterDrawTracker")}remove(){let N=this,I=N.chart;I.hasRendered&&I.series.forEach(function(F){F.type===N.type&&(F.isDirty=!0)}),u.prototype.remove.apply(N,arguments)}}return H.defaultOptions=L(u.defaultOptions,o),j(H.prototype,{directTouch:!0,getSymbol:T,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),m.registerSeriesType("column",H),H}),n(r,"Core/Series/DataLabel.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Templating.js"],r["Core/Utilities.js"]],function(i,a,o){var f;let{getDeferredAnimation:u}=i,{format:m}=a,{defined:S,extend:w,fireEvent:x,isArray:T,isString:y,merge:E,objectEach:A,pick:j,pInt:R,splat:k}=o;return(function(B){function L(){return F(this).some(d=>d?.enabled)}function C(d,p,v,b,M){let{chart:O,enabledDataSorting:_}=this,U=this.isCartesian&&O.inverted,q=d.plotX,z=d.plotY,J=v.rotation||0,te=S(q)&&S(z)&&O.isInsidePlot(q,Math.round(z),{inverted:U,paneCoordinates:!0,series:this}),ce=J===0&&j(v.overflow,_?"none":"justify")==="justify",xe=this.visible&&d.visible!==!1&&S(q)&&(d.series.forceDL||_&&!ce||te||j(v.inside,!!this.options.stacking)&&b&&O.isInsidePlot(q,U?b.x+1:b.y+b.height-1,{inverted:U,paneCoordinates:!0,series:this})),V=d.pos();if(xe&&V){var Y;let X=p.getBBox(),ae=p.getBBox(void 0,0),$={right:1,center:.5}[v.align||0]||0,K={bottom:1,middle:.5}[v.verticalAlign||0]||0;if(b=w({x:V[0],y:Math.round(V[1]),width:0,height:0},b||{}),v.alignTo==="plotEdges"&&this.isCartesian&&(b[U?"x":"y"]=0,b[U?"width":"height"]=this.yAxis?.len||0),w(v,{width:X.width,height:X.height}),Y=b,_&&this.xAxis&&!ce&&this.setDataLabelStartPos(d,p,M,te,Y),p.align(E(v,{width:ae.width,height:ae.height}),!1,b,!1),p.alignAttr.x+=$*(ae.width-X.width),p.alignAttr.y+=K*(ae.height-X.height),p[p.placed?"animate":"attr"]({x:p.alignAttr.x+(X.width-ae.width)/2,y:p.alignAttr.y+(X.height-ae.height)/2,rotationOriginX:(p.width||0)/2,rotationOriginY:(p.height||0)/2}),ce&&b.height>=0)this.justifyDataLabel(p,v,p.alignAttr,X,b,M);else if(j(v.crop,!0)){let{x:Z,y:se}=p.alignAttr;xe=O.isInsidePlot(Z,se,{paneCoordinates:!0,series:this})&&O.isInsidePlot(Z+X.width-1,se+X.height-1,{paneCoordinates:!0,series:this})}v.shape&&!J&&p[M?"attr":"animate"]({anchorX:V[0],anchorY:V[1]})}M&&_&&(p.placed=!1),xe||_&&!ce?(p.show(),p.placed=!0):(p.hide(),p.placed=!1)}function h(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function H(d){let p=this.hasRendered||0,v=this.initDataLabelsGroup().attr({opacity:+p});return!p&&v&&(this.visible&&v.show(),this.options.animation?v.animate({opacity:1},d):v.attr({opacity:1})),v}function P(d){let p;d=d||this.points;let v=this,b=v.chart,M=v.options,O=b.renderer,{backgroundColor:_,plotBackgroun
38dColor:U}=b.options.chart,q=O.getContrast(y(U)&&U||y(_)&&_||"#000000"),z=F(v),{animation:J,defer:te}=z[0],ce=te?u(b,J,v):{defer:0,duration:0};x(this,"drawDataLabels"),v.hasDataLabels?.()&&(p=this.initDataLabels(ce),d.forEach(xe=>{let V=xe.dataLabels||[];k(I(z,xe.dlOptions||xe.options?.dataLabels)).forEach((X,ae)=>{let $=X.enabled&&(xe.visible||xe.dataLabelOnHidden)&&(!xe.isNull||xe.dataLabelOnNull)&&(function(he,me){let ke=me.filter;if(ke){let Ce=ke.operator,Me=he[ke.property],Pe=ke.value;return Ce===">"&&Me>Pe||Ce==="<"&&Me<Pe||Ce===">="&&Me>=Pe||Ce==="<="&&Me<=Pe||Ce==="=="&&Me==Pe||Ce==="==="&&Me===Pe||Ce==="!="&&Me!=Pe||Ce==="!=="&&Me!==Pe}return!0})(xe,X),{backgroundColor:K,borderColor:Z,distance:se,style:ie={}}=X,ne,oe,ue,ye,be={},Te=V[ae],fe=!Te,de;$&&(oe=j(X[xe.formatPrefix+"Format"],X.format),ne=xe.getLabelConfig(),ue=S(oe)?m(oe,ne,b):(X[xe.formatPrefix+"Formatter"]||X.formatter).call(ne,X),ye=X.rotation,!b.styledMode&&(ie.color=j(X.color,ie.color,y(v.color)?v.color:void 0,"#000000"),ie.color==="contrast"?(K!=="none"&&(de=K),xe.contrastColor=O.getContrast(de!=="auto"&&de||xe.color||v.color),ie.color=de||!S(se)&&X.inside||0>R(se||0)||M.stacking?xe.contrastColor:q):delete xe.contrastColor,M.cursor&&(ie.cursor=M.cursor)),be={r:X.borderRadius||0,rotation:ye,padding:X.padding,zIndex:1},b.styledMode||(be.fill=K==="auto"?xe.color:K,be.stroke=Z==="auto"?xe.color:Z,be["stroke-width"]=X.borderWidth),A(be,(he,me)=>{he===void 0&&delete be[me]})),!Te||$&&S(ue)&&!!Te.div==!!X.useHTML&&(Te.rotation&&X.rotation||Te.rotation===X.rotation)||(Te=void 0,fe=!0),$&&S(ue)&&(Te?be.text=ue:(Te=O.label(ue,0,0,X.shape,void 0,void 0,X.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+xe.colorIndex+" "+(X.className||"")+(X.useHTML?" highcharts-tracker":"")),Te&&(Te.options=X,Te.attr(be),b.styledMode?ie.width&&Te.css({width:ie.width,textOverflow:ie.textOverflow}):Te.css(ie).shadow(X.shadow),x(Te,"beforeAddingDataLabel",{labelOptions:X,point:xe}),Te.added||Te.add(p),v.alignDataLabel(xe,Te,X,void 0,fe),Te.isActive=!0,V[ae]&&V[ae]!==Te&&V[ae].destroy(),V[ae]=Te))});let Y=V.length;for(;Y--;)V[Y]&&V[Y].isActive?V[Y].isActive=!1:(V[Y]?.destroy(),V.splice(Y,1));xe.dataLabel=V[0],xe.dataLabels=V})),x(this,"afterDrawDataLabels")}function N(d,p,v,b,M,O){let _=this.chart,U=p.align,q=p.verticalAlign,z=d.box?0:d.padding||0,J=_.inverted?this.yAxis:this.xAxis,te=J?J.left-_.plotLeft:0,ce=_.inverted?this.xAxis:this.yAxis,xe=ce?ce.top-_.plotTop:0,{x:V=0,y:Y=0}=p,X,ae;return(X=(v.x||0)+z+te)<0&&(U==="right"&&V>=0?(p.align="left",p.inside=!0):V-=X,ae=!0),(X=(v.x||0)+b.width-z+te)>_.plotWidth&&(U==="left"&&V<=0?(p.align="right",p.inside=!0):V+=_.plotWidth-X,ae=!0),(X=v.y+z+xe)<0&&(q==="bottom"&&Y>=0?(p.verticalAlign="top",p.inside=!0):Y-=X,ae=!0),(X=(v.y||0)+b.height-z+xe)>_.plotHeight&&(q==="top"&&Y<=0?(p.verticalAlign="bottom",p.inside=!0):Y+=_.plotHeight-X,ae=!0),ae&&(p.x=V,p.y=Y,d.placed=!O,d.align(p,void 0,M)),ae}function I(d,p){let v=[],b;if(T(d)&&!T(p))v=d.map(function(M){return E(M,p)});else if(T(p)&&!T(d))v=p.map(function(M){return E(d,M)});else if(T(d)||T(p)){if(T(d)&&T(p))for(b=Math.max(d.length,p.length);b--;)v[b]=E(d[b],p[b])}else v=E(d,p);return v}function F(d){let p=d.chart.options.plotOptions;return k(I(I(p?.series?.dataLabels,p?.[d.type]?.dataLabels),d.options.dataLabels))}function l(d,p,v,b,M){let O=this.chart,_=O.inverted,U=this.xAxis,q=U.reversed,z=((_?p.height:p.width)||0)/2,J=d.pointWidth,te=J?J/2:0;p.startXPos=_?M.x:q?-z-te:U.width-z+te,p.startYPos=_?q?this.yAxis.height-z+te:-z-te:M.y,b?p.visibility==="hidden"&&(p.show(),p.attr({opacity:0}).animate({opacity:1})):p.attr({opacity:1}).animate({opacity:0}
38,void 0,p.hide),O.hasRendered&&(v&&p.attr({x:p.startXPos,y:p.startYPos}),p.placed=!0)}B.compose=function(d){let p=d.prototype;p.initDataLabels||(p.initDataLabels=H,p.initDataLabelsGroup=h,p.alignDataLabel=C,p.drawDataLabels=P,p.justifyDataLabel=N,p.setDataLabelStartPos=l,p.hasDataLabels=L)}})(f||(f={})),f}),n(r,"Series/Column/ColumnDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Globals.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f){var u;let{composed:m}=a,{series:S}=o,{merge:w,pick:x,pushUnique:T}=f;return(function(y){function E(A,j,R,k,B){let L=this.chart.inverted,C=A.series,h=(C.xAxis?C.xAxis.len:this.chart.plotSizeX)||0,H=(C.yAxis?C.yAxis.len:this.chart.plotSizeY)||0,P=A.dlBox||A.shapeArgs,N=x(A.below,A.plotY>x(this.translatedThreshold,H)),I=x(R.inside,!!this.options.stacking);if(P){if(k=w(P),!(R.overflow==="allow"&&R.crop===!1)){k.y<0&&(k.height+=k.y,k.y=0);let F=k.y+k.height-H;F>0&&F<k.height-1&&(k.height-=F)}L&&(k={x:H-k.y-k.height,y:h-k.x-k.width,width:k.height,height:k.width}),I||(L?(k.x+=N?0:k.width,k.width=0):(k.y+=N?k.height:0,k.height=0))}
38R.align=x(R.align,!L||I?"center":N?"right":"left"),R.verticalAlign=x(R.verticalAlign,L||I?"middle":N?"top":"bottom"),S.prototype.alignDataLabel.call(this,A,j,R,k,B),R.inside&&A.contrastColor&&j.css({color:A.contrastColor})}y.compose=function(A){i.compose(S),T(m,"ColumnDataLabel")&&(A.prototype.alignDataLabel=E)}})(u||(u={})),u}),n(r,"Series/Bar/BarSeries.js",[r["Series/Column/ColumnSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{extend:f,merge:u}=o;class m extends i{}return m.defaultOptions=u(i.defaultOptions,{}),f(m.prototype,{inverted:!0}),a.registerSeriesType("bar",m),m}),n(r,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">â</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),n(r,"Series/Scatter/ScatterSeries.js",[r["Series/Scatter/ScatterSeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{column:f,line:u}=a.seriesTypes,{addEvent:m,extend:S,merge:w}=o;class x extends u{applyJitter(){let y=this,E=this.options.jitter,A=this.points.length;E&&this.points.forEach(function(j,R){["x","y"].forEach(function(k,B){if(E[k]&&!j.isNull){let L=`plot${k.toUpperCase()}`,C=y[`${k}Axis`],h=E[k]*C.transA;if(C&&!C.logarithmic){let H=Math.max(0,(j[L]||0)-h),P=Math.min(C.len,(j[L]||0)+h);j[L]=H+(P-H)*(function(N){let I=1e4*Math.sin(N);return I-Math.floor(I)})(R+B*A),k==="x"&&(j.clientX=j.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return x.defaultOptions=w(u.defaultOptions,i),S(x.prototype,{drawTracker:f.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),m(x,"afterTranslate",function(){this.applyJitter()}),a.registerSeriesType("scatter",x),x}),n(r,"Series/CenteredUtilities.js",[r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],function(i,a,o){var f,u;let{deg2rad:m}=i,{fireEvent:S,isNumber:w,pick:x,relativeLength:T}=o;return(u=f||(f={})).getCenter=function(){let y=this.options,E=this.chart,A=2*(y.slicedOffset||0),j=E.plotWidth-2*A,R=E.plotHeight-2*A,k=y.center,B=Math.min(j,R),L=y.thickness,C,h=y.size,H=y.innerSize||0,P,N;typeof h=="string"&&(h=parseFloat(h)),typeof H=="string"&&(H=parseFloat(H));let I=[x(k[0],"50%"),x(k[1],"50%"),x(h&&h<0?void 0:y.size,"100%"),x(H&&H<0?void 0:y.innerSize||0,"0%")];for(!E.angular||this instanceof a||(I[3]=0),P=0;P<4;++P)N=I[P],C=P<2||P===2&&/%$/.test(N),I[P]=T(N,[j,R,B,I[2]][P])+(C?A:0);return I[3]>I[2]&&(I[3]=I[2]),w(L)&&2*L<I[2]&&L>0&&(I[3]=I[2]-2*L),S(this,"afterGetCenter",{positions:I}),I},u.getStartAndEndRadians=function(y,E){let A=w(y)?y:0,j=w(E)&&E>A&&E-A<360?E:A+360;return{start:m*(A+-90),end:m*(j+-90)}},f}),n(r,"Series/Pie/PiePoint.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],function(i,a,o){let{setAnimation:f}=i,{addEvent:u,defined:m,extend:S,isNumber:w,pick:x,relativeLength:T}=o;class y extends a{getConnectorPath(A){let j=A.dataLabelPosition,R=A.options||{},k=R.connectorShape,B=this.connectorShapes[k]||k;return j&&B.call(this,{...j.computed,alignment:j.alignment},j.connectorPosition,R)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(A){let j=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(j.x,j.y,j.r+A,j.r+A,{innerR:j.r-1,start:j.start,end:j.end,borderRadius:j.borderRadius})}constructor(A,j,R){super(A,j,R),this.half=0,this.name??(this.name="Slice");let k=B=>{this.slice(B.type==="select")};u(this,"select",k),u(this,"unselect",k)}isValid(){return w(this.y)&&this.y>=0}setVisible(A,j=!0){A!==this.visible&&this.update({visible:A??!this.visible},j,void 0,!1)}slice(A,j,R){let k=this.series;f(R,k.chart),j=x(j,!0),this.sliced=this.options.sliced=A=m(A)?A:!this.sliced,k.options.data[k.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return S(y.prototype,{connectorShapes:{fixedOffset:function(E,A,j){let R=A.breakAt,k=A.touchingSliceAt,B=j.softConnector?["C",E.x+(E.alignment==="left"?-5:5),E.y,2*R.x-k.x,2*R.y-k.y,R.x,R.y]:["L",R.x,R.y];return[["M",E.x,E.y],B,["L",k.x,k.y]]},straight:function(E,A){let j=A.touchingSliceAt;return[["M",E.x,E.y],["L",j.x,j.y]]},crookedLine:function(E,A,j){let{breakAt:R,touchingSliceAt:k}=A,{series:B}=this,[L,C,h]=B.center,H=h/2,{plotLeft:P,plotWidth:N}=B.chart,I=E.alignment==="left",{x:F,y:l}=E,d=R.x;if(j.crookDistance){let v=T(j.crookDistance,1);d=I?L+H+(N+P-L-H)*(1-v):P+(L-H)*v}else d=L+(C-l)*Math.tan((this.angle||0)-Math.PI/2);let p=[["M",F,l]];return(I?d<=F&&d>=R.x:d>=F&&d<=R.x)&&p.push(["L",d,l]),p.push(["L",R.x,R.y],["L",k.x,k.y]),p}}}),y}),n(r,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,
vendor: 5,196 bytes, line 38
38null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),n(r,"Series/Pie/PieSeries.js",[r["Series/CenteredUtilities.js"],r["Series/Column/ColumnSeries.js"],r["Core/Globals.js"],r["Series/Pie/PiePoint.js"],r["Series/Pie/PieSeriesDefaults.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w,x){let{getStartAndEndRadians:T}=i,{noop:y}=o,{clamp:E,extend:A,fireEvent:j,merge:R,pick:k}=x;class B extends m{animate(C){let h=this,H=h.points,P=h.startAngleRad;C||H.forEach(function(N){let I=N.graphic,F=N.shapeArgs;I&&F&&(I.attr({r:k(N.startR,h.center&&h.center[3]/2),start:P,end:P}),I.animate({r:F.r,start:F.start,end:F.end},h.options.animation))})}drawEmpty(){let C,h,H=this.startAngleRad,P=this.endAngleRad,N=this.options;this.total===0&&this.center?(C=this.center[0],h=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(C,h,this.center[1]/2,0,H,P).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:w.arc(C,h,this.center[2]/2,0,{start:H,end:P,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":N.borderWidth,fill:N.fillColor||"none",stroke:N.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let C=this.chart.renderer;this.points.forEach(function(h){h.graphic&&h.hasNewShapeType()&&(h.graphic=h.graphic.destroy()),h.graphic||(h.graphic=C[h.shapeType](h.shapeArgs).add(h.series.group),h.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(C,h,H,P){let N=this.center,I=this.radii?this.radii[H.index]||0:N[2]/2,F=P.dataLabelPosition,l=F?.distance||0,d=Math.asin(E((C-N[1])/(I+l),-1,1));return N[0]+Math.cos(d)*(I+l)*(h?-1:1)+(l>0?(h?-1:1)*(P.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let C,h,H,P,N=this,I=N.chart;this.drawEmpty(),N.group&&!I.styledMode&&N.group.shadow(N.options.shadow),N.points.forEach(function(F){let l={};h=F.graphic,!F.isNull&&h?(P=F.shapeArgs,C=F.getTranslate(),I.styledMode||(H=N.pointAttribs(F,F.selected&&"select")),F.delayedRendering?(h.setRadialReference(N.center).attr(P).attr(C),I.styledMode||h.attr(H).attr({"stroke-linejoin":"round"}),F.delayedRendering=!1):(h.setRadialReference(N.center),I.styledMode||R(!0,l,H),R(!0,l,P,C),h.animate(l)),h.attr({visibility:F.visible?"inherit":"hidden"}),h.addClass(F.getClassName(),!0)):h&&(F.graphic=h.destroy())})}sortByAngle(C,h){C.sort(function(H,P){return H.angle!==void 0&&(P.angle-H.angle)*h})}translate(C){j(this,"translate"),this.generatePoints();let h=this.options,H=h.slicedOffset,P=T(h.startAngle,h.endAngle),N=this.startAngleRad=P.start,I=(this.endAngleRad=P.end)-N,F=this.points,l=h.ignoreHiddenPoint,d=F.length,p,v,b,M,O,_,U,q=0;for(C||(this.center=C=this.getCenter()),_=0;_<d;_++){U=F[_],p=N+q*I,U.isValid()&&(!l||U.visible)&&(q+=U.percentage/100),v=N+q*I;let z={x:C[0],y:C[1],r:C[2]/2,innerR:C[3]/2,start:Math.round(1e3*p)/1e3,end:Math.round(1e3*v)/1e3};U.shapeType="arc",U.shapeArgs=z,(b=(v+p)/2)>1.5*Math.PI?b-=2*Math.PI:b<-Math.PI/2&&(b+=2*Math.PI),U.slicedTranslation={translateX:Math.round(Math.cos(b)*H),translateY:Math.round(Math.sin(b)*H)},M=Math.cos(b)*C[2]/2,O=Math.sin(b)*C[2]/2,U.tooltipPos=[C[0]+.7*M,C[1]+.7*O],U.half=b<-Math.PI/2||b>Math.PI/2?1:0,U.angle=b}j(this,"afterTranslate")}updateTotals(){let C=this.points,h=C.length,H=this.options.ignoreHiddenPoint,P,N,I=0;for(P=0;P<h;P++)(N=C[P]).isValid()&&(!H||N.visible)&&(I+=N.y);for(P=0,this.total=I;P<h;P++)(N=C[P]).percentage=I>0&&(N.visible||!H)?N.y/I*100:0,N.total=I}}return B.defaultOptions=R(m.defaultOptions,u),A(B.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:a.prototype.drawTracker,getCenter:i.getCenter,getSymbol:y,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:a.prototype.pointAttribs,pointClass:f,requireSorting:!1,searchPoint:y,trackerGroups:["group","dataLabelsGroup"]}),S.registerSeriesType("pie",B),B}),n(r,"Series/Pie/PieDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f,u){var m;let{composed:S,noop:w}=a,{distribute:x}=o,{series:T}=f,{arrayMax:y,clamp:E,defined:A,pick:j,pushUnique:R,relativeLength:k}=u;return(function(B){let L={radialDistributionY:function(N,I){return(I.dataLabelPosition?.top||0)+N.distributeBox.pos},radialDistributionX:function(N,I,F,l,d){let p=d.dataLabelPosition;return N.getX(F<(p?.top||0)+2||F>(p?.bottom||0)-2?l:F,I.half,I,d)},justify:function(N,I,F,l){return l[0]+(N.half?-1:1)*(F+(I.dataLabelPosition?.distance||0))},alignToPlotEdges:function(N,I,F,l){let d=N.getBBox().width;return I?d+l:F-d-l},alignToConnectors:function(N,I,F,l){let d=0,p;
vendor: 4,778 bytes, line 38
38return N.forEach(function(v){(p=v.dataLabel.getBBox().width)>d&&(d=p)}),I?d+l:F-d-l}};function C(N,I){let{center:F,options:l}=this,d=F[2]/2,p=N.angle||0,v=Math.cos(p),b=Math.sin(p),M=F[0]+v*d,O=F[1]+b*d,_=Math.min((l.slicedOffset||0)+(l.borderWidth||0),I/5);return{natural:{x:M+v*I,y:O+b*I},computed:{},alignment:I<0?"center":N.half?"right":"left",connectorPosition:{breakAt:{x:M+v*_,y:O+b*_},touchingSliceAt:{x:M,y:O}},distance:I}}function h(){let N=this,I=N.points,F=N.chart,l=F.plotWidth,d=F.plotHeight,p=F.plotLeft,v=Math.round(F.chartWidth/3),b=N.center,M=b[2]/2,O=b[1],_=[[],[]],U=[0,0,0,0],q=N.dataLabelPositioners,z,J,te,ce=0;N.visible&&N.hasDataLabels?.()&&(I.forEach(xe=>{(xe.dataLabels||[]).forEach(V=>{V.shortened&&(V.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),V.shortened=!1)})}),T.prototype.drawDataLabels.apply(N),I.forEach(xe=>{(xe.dataLabels||[]).forEach((V,Y)=>{let X=b[2]/2,ae=V.options,$=k(ae?.distance||0,X);Y===0&&_[xe.half].push(xe),!A(ae?.style?.width)&&V.getBBox().width>v&&(V.css({width:Math.round(.7*v)+"px"}),V.shortened=!0),V.dataLabelPosition=this.getDataLabelPosition(xe,$),ce=Math.max(ce,$)})}),_.forEach((xe,V)=>{let Y=xe.length,X=[],ae,$,K=0,Z;Y&&(N.sortByAngle(xe,V-.5),ce>0&&(ae=Math.max(0,O-M-ce),$=Math.min(O+M+ce,F.plotHeight),xe.forEach(se=>{(se.dataLabels||[]).forEach(ie=>{let ne=ie.dataLabelPosition;ne&&ne.distance>0&&(ne.top=Math.max(0,O-M-ne.distance),ne.bottom=Math.min(O+M+ne.distance,F.plotHeight),K=ie.getBBox().height||21,ie.lineHeight=F.renderer.fontMetrics(ie.text||ie).h+2*ie.padding,se.distributeBox={target:(ie.dataLabelPosition?.natural.y||0)-ne.top+ie.lineHeight/2,size:K,rank:se.y},X.push(se.distributeBox))})}),x(X,Z=$+K-ae,Z/5)),xe.forEach(se=>{(se.dataLabels||[]).forEach(ie=>{let ne=ie.options||{},oe=se.distributeBox,ue=ie.dataLabelPosition,ye=ue?.natural.y||0,be=ne.connectorPadding||0,Te=ie.lineHeight||21,fe=(Te-ie.getBBox().height)/2,de=0,he=ye,me="inherit";if(ue){if(X&&A(oe)&&ue.distance>0&&(oe.pos===void 0?me="hidden":(te=oe.size,he=q.radialDistributionY(se,ie))),ne.justify)de=q.justify(se,ie,M,b);else switch(ne.alignTo){case"connectors":de=q.alignToConnectors(xe,V,l,p);break;case"plotEdges":de=q.alignToPlotEdges(ie,V,l,p);break;default:de=q.radialDistributionX(N,se,he-fe,ye,ie)}if(ue.attribs={visibility:me,align:ue.alignment},ue.posAttribs={x:de+(ne.x||0)+({left:be,right:-be}[ue.alignment]||0),y:he+(ne.y||0)-Te/2},ue.computed.x=de,ue.computed.y=he-fe,j(ne.crop,!0)){let ke;de-(J=ie.getBBox().width)<be&&V===1?(ke=Math.round(J-de+be),U[3]=Math.max(ke,U[3])):de+J>l-be&&V===0&&(ke=Math.round(de+J-l+be),U[1]=Math.max(ke,U[1])),he-te/2<0?U[0]=Math.max(Math.round(-he+te/2),U[0]):he+te/2>d&&(U[2]=Math.max(Math.round(he+te/2-d),U[2])),ue.sideOverflow=ke}}})}))}),(y(U)===0||this.verifyDataLabelOverflow(U))&&(this.placeDataLabels(),this.points.forEach(xe=>{(xe.dataLabels||[]).forEach(V=>{let{connectorColor:Y,connectorWidth:X=1}=V.options||{},ae=V.dataLabelPosition;if(X){let $;z=V.connector,ae&&ae.distance>0?($=!z,z||(V.connector=z=F.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+xe.colorIndex+(xe.className?" "+xe.className:"")).add(N.dataLabelsGroup)),F.styledMode||z.attr({"stroke-width":X,stroke:Y||xe.color||"#666666"}),z[$?"attr":"animate"]({d:xe.getConnectorPath(V)}),z.attr({visibility:ae.attribs?.visibility})):z&&(V.connector=z.destroy())}})})))}function H(){this.points.forEach(N=>{(N.dataLabels||[]).forEach(I=>{let F=I.dataLabelPosition;F?(F.sideOverflow&&(I.css({width:Math.max(I.getBBox().width-F.sideOverflow,0)+"px",textOverflow:(I.options?.style||{}).textOverflow||"ellipsis"}),I.shortened=!0),I.attr(F.attribs),I[I.moved?"animate":"attr"](F.posAttribs),I.moved=!0):I&&I.attr({y:-9999})}),delete N.distributeBox},this)}function P(N){let I=this.center,F=this.options,l=F.center,d=F.minSize||80,p=d,v=F.size!==null;return!v&&(l[0]!==null?p=Math.max(I[2]-Math.max(N[1],N[3]),d):(p=Math.max(I[2]-N[1]-N[3],d),I[0]+=(N[3]-N[1])/2),l[1]!==null?p=E(p,d,I[2]-Math.max(N[0],N[2])):(p=E(p,d,I[2]-N[0]-N[2]),I[1]+=(N[0]-N[2])/2),p<I[2]?(I[2]=p,I[3]=Math.min(F.thickness?Math.max(0,p-2*F.thickness):Math.max(0,k(F.innerSize||0,p)),p),this.translate(I),this.drawDataLabels&&this.drawDataLabels()):v=!0),v}B.compose=function(N){if(i.compose(T),R(S,"PieDataLabel")){let I=N.prototype;I.dataLabelPositioners=L,I.alignDataLabel=w,I.drawDataLabels=h,I.getDataLabelPosition=C,I.placeDataLabels=H,I.verifyDataLabelOverflow=P}}})(m||(m={})),m}),n(r,"Core/Geometry/GeometryUtilities.js",[],function(){var i,a;return(a=i||(i={})).getCenterOfPoints=function(o){let f=o.reduce((u,m)=>(u.x+=m.x,u.y+=m.y,u),{x:0,y:0});return{x:f.x/o.length,y:f.y/o.length}},a.getDistanceBetweenPoints=function(o,f){return Math.sqrt(Math.pow(f.x-o.x,2)+Math.pow(f.y-o.y,2))}
38,a.getAngleBetweenPoints=function(o,f){return Math.atan2(f.x-o.x,f.y-o.y)},a.pointInPolygon=function({x:o,y:f},u){let m=u.length,S,w,x=!1;for(S=0,w=m-1;S<m;w=S++){let[T,y]=u[S],[E,A]=u[w];y>f!=A>f&&o<(E-T)*(f-y)/(A-y)+T&&(x=!x)}return x},i}),n(r,"Extensions/OverlappingDataLabels.js",[r["Core/Geometry/GeometryUtilities.js"],r["Core/Utilities.js"]],function(i,a){let{pointInPolygon:o}=i,{addEvent:f,fireEvent:u,objectEach:m,pick:S}=a;function w(y){let E=y.length,A=(H,P)=>!(P.x>=H.x+H.width||P.x+P.width<=H.x||P.y>=H.y+H.height||P.y+P.height<=H.y),j=(H,P)=>{for(let N of H)if(o({x:N[0],y:N[1]},P))return!0;return!1},R,k,B,L,C,h=!1;for(let H=0;H<E;H++)(R=y[H])&&(R.oldOpacity=R.opacity,R.newOpacity=1,R.absoluteBox=(function(P){if(P&&(!P.alignAttr||P.placed)){let N=P.box?0:P.padding||0,I=P.alignAttr||{x:P.attr("x"),y:P.attr("y")},F=P.getBBox();return P.width=F.width,P.height=F.height,{x:I.x+(P.parentGroup?.translateX||0)+N,y:I.y+(P.parentGroup?.translateY||0)+N,width:(P.width||0)-2*N,height:(P.height||0)-2*N,polygon:F?.polygon}}})(R));y.sort((H,P)=>(P.labelrank||0)-(H.labelrank||0));for(let H=0;H<E;++H){L=(k=y[H])&&k.absoluteBox;let P=L?.polygon;for(let N=H+1;N<E;++N){C=(B=y[N])&&B.absoluteBox;let I=!1;if(L&&C&&k!==B&&k.newOpacity!==0&&B.newOpacity!==0&&k.visibility!=="hidden"&&B.visibility!=="hidden"){let F=C.polygon;if(P&&F&&P!==F?j(P,F)&&(I=!0):A(L,C)&&(I=!0),I){let l=k.labelrank<B.labelrank?k:B,d=l.text;l.newOpacity=0,d?.element.querySelector("textPath")&&d.hide()}}}}for(let H of y)x(H,this)&&(h=!0);h&&u(this,"afterHideAllOverlappingLabels")}function x(y,E){let A,j,R=!1;return y&&(j=y.newOpacity,y.oldOpacity!==j&&(y.hasClass("highcharts-data-label")?(y[j?"removeClass":"addClass"]("highcharts-data-label-hidden"),A=function(){E.styledMode||y.css({pointerEvents:j?"auto":"none"})},R=!0,y[y.isOld?"animate":"attr"]({opacity:j},void 0,A),u(E,"afterHideOverlappingLabel")):y.attr({opacity:j})),y.isOld=!0),R}function T(){let y=this,E=[];for(let A of y.labelCollectors||[])E=E.concat(A());for(let A of y.yAxis||[])A.stacking&&A.options.stackLabels&&!A.options.stackLabels.allowOverlap&&m(A.stacking.stacks,j=>{m(j,R=>{R.label&&E.push(R.label)})});for(let A of y.series||[])if(A.visible&&A.hasDataLabels?.()){let j=R=>{for(let k of R)k.visible&&(k.dataLabels||[]).forEach(B=>{let L=B.options||{};B.labelrank=S(L.labelrank,k.labelrank,k.shapeArgs?.height),L.allowOverlap??Number(L.distance)>0?(B.oldOpacity=B.opacity,B.newOpacity=1,x(B,y)):E.push(B)})};j(A.nodes||[]),j(A.points)}this.hideOverlappingLabels(E)}return{compose:function(y){let E=y.prototype;E.hideOverlappingLabels||(E.hideOverlappingLabels=w,f(y,"render",T))}}}
38),n(r,"Extensions/BorderRadius.js",[r["Core/Defaults.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o){let{defaultOptions:f}=i,{noop:u}=a,{addEvent:m,extend:S,isObject:w,merge:x,relativeLength:T}=o,y={radius:0,scope:"stack",where:void 0},E=u,A=u;function j(C,h,H,P,N={}){let I=E(C,h,H,P,N),{innerR:F=0,r:l=H,start:d=0,end:p=0}=N;if(N.open||!N.borderRadius)return I;let v=p-d,b=Math.sin(v/2),M=Math.max(Math.min(T(N.borderRadius||0,l-F),(l-F)/2,l*b/(1+b)),0),O=Math.min(M,v/Math.PI*2*F),_=I.length-1;for(;_--;)(function(U,q,z){let J,te,ce,xe=U[q],V=U[q+1];if(V[0]==="Z"&&(V=U[0]),(xe[0]==="M"||xe[0]==="L")&&V[0]==="A"?(J=xe,te=V,ce=!0):xe[0]==="A"&&(V[0]==="M"||V[0]==="L")&&(J=V,te=xe),J&&te&&te.params){let Y=te[1],X=te[5],ae=te.params,{start:$,end:K,cx:Z,cy:se}=ae,ie=X?Y-z:Y+z,ne=ie?Math.asin(z/ie):0,oe=X?ne:-ne,ue=Math.cos(ne)*ie;ce?(ae.start=$+oe,J[1]=Z+ue*Math.cos($),J[2]=se+ue*Math.sin($),U.splice(q+1,0,["A",z,z,0,0,1,Z+Y*Math.cos(ae.start),se+Y*Math.sin(ae.start)])):(ae.end=K-oe,te[6]=Z+Y*Math.cos(ae.end),te[7]=se+Y*Math.sin(ae.end),U.splice(q+1,0,["A",z,z,0,0,1,Z+ue*Math.cos(K),se+ue*Math.sin(K)])),te[4]=Math.abs(ae.end-ae.start)<Math.PI?0:1}})(I,_,_>1?O:M);return I}function R(){if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:C,yAxis:h}=this,H=C.stacking==="percent",P=f.plotOptions?.[this.type]?.borderRadius,N=k(C.borderRadius,w(P)?P:{}),I=h.options.reversed;for(let F of this.points){let{shapeArgs:l}=F;if(F.shapeType==="roundedRect"&&l){let{width:d=0,height:p=0,y:v=0}=l,b=v,M=p;if(N.scope==="stack"&&F.stackTotal){let q=h.translate(H?100:F.stackTotal,!1,!0,!1,!0),z=h.translate(C.threshold||0,!1,!0,!1,!0),J=this.crispCol(0,Math.min(q,z),0,Math.abs(q-z));b=J.y,M=J.height}let O=(F.negative?-1:1)*(I?-1:1)==-1,_=N.where;!_&&this.is("waterfall")&&Math.abs((F.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(_="all"),_||(_="end");let U=Math.min(T(N.radius,d),d/2,_==="all"?p/2:1/0)||0;_==="end"&&(O&&(b-=U),M+=U),S(l,{brBoxHeight:M,brBoxY:b,r:U})}}}}function k(C,h){return w(C)||(C={radius:C||0}),x(y,h,C)}function B(){let C=k(this.options.borderRadius);for(let h of this.points){let H=h.shapeArgs;H&&(H.borderRadius=T(C.radius,(H.r||0)-(H.innerR||0)))}}function L(C,h,H,P,N={}){let I=A(C,h,H,P,N),{r:F=0,brBoxHeight:l=P,brBoxY:d=h}=N,p=h-d,v=d+l-(h+P),b=p-F>-.1?0:F,M=v-F>-.1?0:F,O=Math.max(b&&p,0),_=Math.max(M&&v,0),U=[C+b,h],q=[C+H-b,h],z=[C+H,h+b],J=[C+H,h+P-M],te=[C+H-M,h+P],ce=[C+M,h+P],xe=[C,h+P-M],V=[C,h+b],Y=(X,ae)=>Math.sqrt(Math.pow(X,2)-Math.pow(ae,2));if(O){let X=Y(b,b-O);U[0]-=X,q[0]+=X,z[1]=V[1]=h+b-O}if(P<b-O){let X=Y(b,b-O-P);z[0]=J[0]=C+H-b+X,te[0]=Math.min(z[0],te[0]),ce[0]=Math.max(J[0],ce[0]),xe[0]=V[0]=C+b-X,z[1]=V[1]=h+P}if(_){let X=Y(M,M-_);te[0]+=X,ce[0]-=X,J[1]=xe[1]=h+P-M+_}if(P<M-_){let X=Y(M,M-_-P);z[0]=J[0]=C+H-M+X,q[0]=Math.min(z[0],q[0]),U[0]=Math.max(J[0],U[0]),xe[0]=V[0]=C+M-X,J[1]=xe[1]=h}return I.length=0,I.push(["M",...U],["L",...q],["A",b,b,0,0,1,...z],["L",...J],["A",M,M,0,0,1,...te],["L",...ce],["A",M,M,0,0,1,...xe],["L",...V],["A",b,b,0,0,1,...U],["Z"]),I}return{compose:function(C,h,H){let P=C.types.pie;if(!h.symbolCustomAttribs.includes("borderRadius")){let N=H.prototype.symbols;m(C,"afterColumnTranslate",R,{order:9}),m(P,"afterTranslate",B),h.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),E=N.arc,A=N.roundedRect,N.arc=j,N.roundedRect=L}},optionsToObject:k}}),n(r,"Core/Responsive.js",[r["Core/Utilities.js"]],function(i){var a;let{diffObjects:o,extend:f,find:u,merge:m,pick:S,uniqueKey:w}=i;return(function(x){function T(E,A){let j=E.condition;(j.callback||function(){return this.chartWidth<=S(j.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=S(j.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=S(j.minWidth,0)&&this.chartHeight>=S(j.minHeight,0)}).call(this)&&A.push(E._id)}function y(E,A){let j=this.options.responsive,R=this.currentResponsive,k=[],B;
38!A&&j&&j.rules&&j.rules.forEach(h=>{h._id===void 0&&(h._id=w()),this.matchResponsiveRule(h,k)},this);let L=m(...k.map(h=>u((j||{}).rules||[],H=>H._id===h)).map(h=>h&&h.chartOptions));L.isResponsiveOptions=!0,k=k.toString()||void 0;let C=R&&R.ruleIds;k===C||(R&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(R.undoOptions,E,!0),this.updatingResponsive=!1),k?((B=o(L,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:k,mergedOptions:L,undoOptions:B},this.updatingResponsive||this.update(L,E,!0)):this.currentResponsive=void 0)}x.compose=function(E){let A=E.prototype;return A.matchResponsiveRule||f(A,{matchResponsiveRule:T,setResponsive:y}),E}})(a||(a={})),a}),n(r,"masters/highcharts.src.js",[r["Core/Globals.js"],r["Core/Utilities.js"],r["Core/Defaults.js"],r["Core/Animation/Fx.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/Templating.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Renderer/HTML/HTMLElement.js"],r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/Axis/LogarithmicAxis.js"],r["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],r["Core/Axis/Tick.js"],r["Core/Tooltip.js"],r["Core/Series/Point.js"],r["Core/Pointer.js"],r["Core/Legend/Legend.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Chart/Chart.js"],r["Extensions/ScrollablePlotArea.js"],r["Core/Axis/Stacking/StackingAxis.js"],r["Core/Axis/Stacking/StackItem.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Series/Column/ColumnDataLabel.js"],r["Series/Pie/PieDataLabel.js"],r["Core/Series/DataLabel.js"],r["Extensions/OverlappingDataLabels.js"],r["Extensions/
38BorderRadius.js"],r["Core/Responsive.js"],r["Core/Color/Color.js"],r["Core/Time.js"]],function(i,a,o,f,u,m,S,w,x,T,y,E,A,j,R,k,B,L,C,h,H,P,N,I,F,l,d,p,v,b,M,O,_,U,q,z){return i.AST=m,i.Axis=A,i.Chart=N,i.Color=q,i.DataLabel=M,i.Fx=f,i.HTMLElement=E,i.Legend=H,i.LegendSymbol=P,i.OverlappingDataLabels=i.OverlappingDataLabels||O,i.PlotLineOrBand=k,i.Point=C,i.Pointer=h,i.RendererRegistry=w,i.Series=d,i.SeriesRegistry=p,i.StackItem=l,i.SVGElement=T,i.SVGRenderer=y,i.Templating=S,i.Tick=B,i.Time=z,i.Tooltip=L,i.animate=u.animate,i.animObject=u.animObject,i.chart=N.chart,i.color=q.parse,i.dateFormat=S.dateFormat,i.defaultOptions=o.defaultOptions,i.distribute=x.distribute,i.format=S.format,i.getDeferredAnimation=u.getDeferredAnimation,i.getOptions=o.getOptions,i.numberFormat=S.numberFormat,i.seriesType=p.seriesType,i.setAnimation=u.setAnimation,i.setOptions=o.setOptions,i.stop=u.stop,i.time=o.defaultTime,i.timers=f.timers,_.compose(i.Series,i.SVGElement,i.SVGRenderer),v.compose(i.Series.types.column),M.compose(i.Series),j.compose(i.Axis),E.compose(i.SVGRenderer),H.compose(i.Chart),R.compose(i.Axis),O.compose(i.Chart),b.compose(i.Series.types.pie),k.compose(i.Chart,i.Axis),h.compose(i.Chart),U.compose(i.Chart),I.compose(i.Axis,i.Chart,i.Series),F.compose(i.Axis,i.Chart,i.Series),L.compose(i.Pointer),a.extend(i,a),i}),n(r,"Core/Axis/Color/ColorAxisComposition.js",[r["Core/Color/Color.js"],r["Core/Utilities.js"]],function(i,a){var o;let{parse:f}=i,{addEvent:u,extend:m,merge:S,pick:w,splat:x}=a;return(function(T){let y;function E(){let{userOptions:P}=this;this.colorAxis=[],P.colorAxis&&(P.colorAxis=x(P.colorAxis),P.colorAxis.map(N=>new y(this,N)))}function A(P){let N=this.chart.colorAxis||[],I=p=>{let v=P.allItems.indexOf(p);v!==-1&&(this.destroyItem(P.allItems[v]),P.allItems.splice(v,1))},F=[],l,d;for(N.forEach(function(p){(l=p.options)&&l.showInLegend&&(l.dataClasses&&l.visible?F=F.concat(p.getDataClassLegendSymbols()):l.visible&&F.push(p),p.series.forEach(function(v){(!v.options.showInLegend||l.dataClasses)&&(v.options.legendType==="point"?v.points.forEach(function(b){I(b)}):I(v))}))}),d=F.length;d--;)P.allItems.unshift(F[d])}function j(P){P.visible&&P.item.legendColor&&P.item.legendItem.symbol.attr({fill:P.item.legendColor})}function R(P){this.chart.colorAxis?.forEach(N=>{N.update({},P.redraw)})}function k(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function B(){let P=this.axisTypes;P?P.indexOf("colorAxis")===-1&&P.push("colorAxis"):this.axisTypes=["colorAxis"]}function L(P){let N=this,I=P?"show":"hide";N.visible=N.options.visible=!!P,["graphic","dataLabel"].forEach(function(F){N[F]&&N[F][I]()}),this.series.buildKDTree()}function C(){let P=this,N=this.getPointsCollection(),I=this.options.nullColor,F=this.colorAxis,l=this.colorKey;N.forEach(d=>{let p=d.getNestedProperty(l),v=d.options.color||(d.isNull||d.value===null?I:F&&p!==void 0?F.toColor(p,d):d.color||P.color);v&&d.color!==v&&(d.color=v,P.options.legendType==="point"&&d.legendItem&&d.legendItem.label&&P.chart.legend.colorizeItem(d,d.visible))})}function h(){this.elem.attr("fill",f(this.start).tweenTo(f(this.end),this.pos),void 0,!0)}function H(){this.elem.attr("stroke",f(this.start).tweenTo(f(this.end),this.pos),void 0,!0)}T.compose=function(P,N,I,F,l){let d=N.prototype,p=I.prototype,v=l.prototype;d.collectionsWithUpdate.includes("colorAxis")||(y=P,d.collectionsWithUpdate.push("colorAxis"),d.collectionsWithInit.colorAxis=[d.addColorAxis],u(N,"afterGetAxes",E),(function(b){let M=b.prototype.createAxis;b.prototype.createAxis=function(O,_){if(O!=="colorAxis")return M.apply(this,arguments);let U=new y(this,S(_.axis,{index:this[O].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(q=>{q.series=[]}),this.series.forEach(q=>{q.bindAxes(),q.isDirtyData=!0}),w(_.redraw,!0)&&this.redraw(_.animation),U}})(N),p.fillSetter=h,p.strokeSetter=H,u(F,"afterGetAllItems",A),u(F,"afterColorizeItem",j),u(F,"afterUpdate",R),m(v,{optionalAxis:"colorAxis",translateColors:C}),m(v.pointClass.prototype,{setVisible:L}),u(l,"afterTranslate",k,{order:1}),u(l,"bindAxes",B))},T.pointSetVisible=L})(o||(o={})),o}),n(r,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"#ffffff",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{distance:8,overflow:"justify",rotation:0},minColor:"#e6e9ff",maxColor:"#0022ff",tickLength:5,showInLegend:!0}}),n(r,"Core/Axis/Color/ColorAxisLike.js",[r["Core/Color/Color.js"],r["Core/Utilities.js"]],function(i,a){var o,f;let{parse:u}=i,{merge:m}=a;return(f=o||(o={})).initDataClasses=function(S){let w=this.chart,x=this.legendItem=this.legendItem||{},T=this.options,y=S.dataClasses||[],E,A,j=w.options.chart.colorCount,R=0,k;this.dataClasses=A=[],x.labels=[];for(let B=0,L=y.length;B<L;++B)E=m(E=y[B]),A.push(E),(w.styledMode||!E.color)&&(T.dataClassColor==="category"?(w.styledMode||(j=(k=w.options.colors||[]).length,E.color=k[R]),E.colorIndex=R,++R===j&&(R=0)):E.color=u(T.minColor).tweenTo(u(T.maxColor),L<2?.5:B/(L-1)))},f.initStops=function(){let S=this.options,w=this.stops=S.stops||[[0,S.minColor||""],[1,S.maxColor||""]];for(let x=0,T=w.length;x<T;++x)w[x].color=u(w[x][1])},f.normalizedValue=function(S){let w=this.max||0,x=this.min||0;return this.logarithmic&&(S=this.logarithmic.log2lin(S)),1-(w-S)/(w-x||1)},f.toColor=function(S,w){let x,T,y,E,A,j,R=this.dataClasses,k=this.stops;if(R){for(j=R.length;j--;
38)if(T=(A=R[j]).from,y=A.to,(T===void 0||S>=T)&&(y===void 0||S<=y)){E=A.color,w&&(w.dataClass=j,w.colorIndex=A.colorIndex);break}}else{for(x=this.normalizedValue(S),j=k.length;j--&&!(x>k[j][0]););T=k[j]||k[j+1],x=1-((y=k[j+1]||T)[0]-x)/(y[0]-T[0]||1),E=T.color.tweenTo(y.color,x)}return E},o}),n(r,"Core/Axis/Color/ColorAxis.js",[r["Core/Axis/Axis.js"],r["Core/Axis/Color/ColorAxisComposition.js"],r["Core/Axis/Color/ColorAxisDefaults.js"],r["Core/Axis/Color/ColorAxisLike.js"],r["Core/Defaults.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w){let{defaultOptions:x}=u,{series:T}=S,{defined:y,extend:E,fireEvent:A,isArray:j,isNumber:R,merge:k,pick:B,relativeLength:L}=w;x.colorAxis=k(x.xAxis,o);class C extends i{static compose(H,P,N,I){a.compose(C,H,P,N,I)}constructor(H,P){super(H,P),this.coll="colorAxis",this.visible=!0,this.init(H,P)}init(H,P){let N=H.options.legend||{},I=P.layout?P.layout!=="vertical":N.layout!=="vertical";this.side=P.side||I?2:1,this.reversed=P.reversed||!I,this.opposite=!I,super.init(H,P,"colorAxis"),this.userOptions=P,j(H.userOptions.colorAxis)&&(H.userOptions.colorAxis[this.index]=P),P.dataClasses&&this.initDataClasses(P),this.initStops(),this.horiz=I,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(H){let P=k(x.colorAxis,H,{showEmpty:!1,title:null,visible:this.chart.options.legend.enabled&&H.visible!==!1});super.setOptions(P),this.options.crosshair=this.options.marker}setAxisSize(){let H=this.chart,P=this.legendItem?.symbol,{width:N,height:I}=this.getSize();P&&(this.left=+P.attr("x"),this.top=+P.attr("y"),this.width=N=+P.attr("width"),this.height=I=+P.attr("height"),this.right=H.chartWidth-this.left-N,this.bottom=H.chartHe
38ight-this.top-I,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?N:I)||C.defaultLegendLength}getOffset(){let H=this.legendItem?.group,P=this.chart.axisOffset[this.side];if(H){this.axisParent=H,super.getOffset();let N=this.chart.legend;N.allItems.forEach(function(I){I instanceof C&&I.drawLegendSymbol(N,I)}),N.render(),this.chart.getMargins(!0),this.chart.series.some(I=>I.isDrilling)||(this.isDirty=!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=P}}setLegendColor(){let H=this.horiz,P=this.reversed,N=P?1:0,I=P?0:1,F=H?[N,0,I,0]:[0,I,0,N];this.legendColor={linearGradient:{x1:F[0],y1:F[1],x2:F[2],y2:F[3]},stops:this.stops}}drawLegendSymbol(H,P){let N=P.legendItem||{},I=H.padding,F=H.options,l=this.options.labels,d=B(F.itemDistance,10),p=this.horiz,{width:v,height:b}=this.getSize(),M=B(F.labelPadding,p?16:30);this.setLegendColor(),N.symbol||(N.symbol=this.chart.renderer.symbol("roundedRect").attr({r:F.symbolRadius??3,zIndex:1}).add(N.group)),N.symbol.attr({x:0,y:(H.baseline||0)-11,width:v,height:b}),N.labelWidth=v+I+(p?d:B(l.x,l.distance)+(this.maxLabelLength||0)),N.labelHeight=b+I+(p?M:0)}setState(H){this.series.forEach(function(P){P.setState(H)})}setVisible(){}getSeriesExtremes(){let H=this.series,P,N,I,F,l,d,p=H.length,v,b;for(this.dataMin=1/0,this.dataMax=-1/0;p--;){if(N=(d=H[p]).colorKey=B(d.options.colorKey,d.colorKey,d.pointValKey,d.zoneAxis,"y"),F=d.pointArrayMap,l=d[N+"Min"]&&d[N+"Max"],d[N+"Data"])P=d[N+"Data"];else if(F){if(P=[],I=F.indexOf(N),v=d.yData,I>=0&&v)for(b=0;b<v.length;b++)P.push(B(v[b][I],v[b]))}else P=d.yData;if(l)d.minColorValue=d[N+"Min"],d.maxColorValue=d[N+"Max"];else{let M=T.prototype.getExtremes.call(d,P);d.minColorValue=M.dataMin,d.maxColorValue=M.dataMax}y(d.minColorValue)&&y(d.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,d.minColorValue),this.dataMax=Math.max(this.dataMax,d.maxColorValue)),l||T.prototype.applyExtremes.call(d)}}drawCrosshair(H,P){let N,I=this.legendItem||{},F=P&&P.plotX,l=P&&P.plotY,d=this.pos,p=this.len;P&&((N=this.toPixels(P.getNestedProperty(P.series.colorKey)))<d?N=d-2:N>d+p&&(N=d+p+2),P.plotX=N,P.plotY=this.len-N,super.drawCrosshair(H,P),P.plotX=F,P.plotY=l,this.cross&&!this.cross.addedToColorAxis&&I.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(I.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||typeof this.crosshair!="object"||this.cross.attr({fill:this.crosshair.color})))}getPlotLinePath(H){let P=this.left,N=H.translatedValue,I=this.top;return R(N)?this.horiz?[["M",N-4,I-6],["L",N+4,I-6],["L",N,I],["Z"]]:[["M",P,N],["L",P-6,N+6],["L",P-6,N-6],["Z"]]:super.getPlotLinePath(H)}update(H,P){let N=this.chart.legend;this.series.forEach(I=>{I.isDirtyData=!0}),(H.dataClasses&&N.allItems||this.dataClasses)&&this.destroyItems(),super.update(H,P),this.legendItem&&this.legendItem.label&&(this.setLegendColor(),N.colorizeItem(this,!0))}destroyItems(){let H=this.chart,P=this.legendItem||{};if(P.label)H.legend.destroyItem(this);else if(P.labels)for(let N of P.labels)H.legend.destroyItem(N);H.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(H){this.destroyItems(),super.remove(H)}getDataClassLegendSymbols(){let H,P=this,N=P.chart,I=P.legendItem&&P.legendItem.labels||[],F=N.options.legend,l=B(F.valueDecimals,-1),d=B(F.valueSuffix,""),p=v=>P.series.reduce((b,M)=>(b.push(...M.points.filter(O=>O.dataClass===v)),b),[]);return I.length||P.dataClasses.forEach((v,b)=>{let M=v.from,O=v.to,{numberFormatter:_}=N,U=!0;H="",M===void 0?H="< ":O===void 0&&(H="> "),M!==void 0&&(H+=_(M,l)+d),M!==void 0&&O!==void 0&&(H+=" - "),O!==void 0&&(H+=_(O,l)+d),I.push(E({chart:N,name:H,options:{},drawLegendSymbol:m.rectangle,visible:!0,isDataClass:!0,setState:q=>{for(let z of p(b))z.setState(q)},setVisible:function(){this.visible=U=P.visible=!U;let q=[];for(let z of p(b))z.setVisible(U),z.hiddenInDataClass=!U,q.indexOf(z.series)===-1&&q.push(z.series);N.legend.colorizeItem(this,U),q.forEach(z=>{A(z,"afterDataClassLegendClick")})}},v))}),I}getSize(){let{chart:H,horiz:P}=this,{height:N,width:I}=this.options,{legend:F}=H.options;
38return{width:B(y(I)?L(I,H.chartWidth):void 0,F?.symbolWidth,P?C.defaultLegendLength:12),height:B(y(N)?L(N,H.chartHeight):void 0,F?.symbolHeight,P?12:C.defaultLegendLength)}}}return C.defaultLegendLength=200,C.keepProps=["legendItem"],E(C.prototype,f),Array.prototype.push.apply(i.keepProps,C.keepProps),C}),n(r,"masters/modules/coloraxis.src.js",[r["Core/Globals.js"],r["Core/Axis/Color/ColorAxis.js"]],function(i,a){return i.ColorAxis=i.ColorAxis||a,i.ColorAxis.compose(i.Chart,i.Fx,i.Legend,i.Series),i}),n(r,"Maps/MapNavigationDefaults.js",[],function(){return{lang:{zoomIn:"Zoom in",zoomOut:"Zoom out"},mapNavigation:{buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{color:"#666666",fontSize:"1em",fontWeight:"bold"},theme:{fill:"#ffffff",stroke:"#e6e6e6","stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1}}}),n(r,"Maps/MapPointer.js",[r["Core/Utilities.js"]],function(i){var a;let{defined:o,extend:f,pick:u,wrap:m}=i;return(function(S){let w,x=0;function T(j){let R=this.chart;j=this.normalize(j),R.options.mapNavigation.enableDoubleClickZoomTo?R.pointer.inClass(j.target,"highcharts-tracker")&&R.hoverPoint&&R.hoverPoint.zoomTo():R.isInsidePlot(j.chartX-R.plotLeft,j.chartY-R.plotTop)&&R.mapZoom(.5,void 0,void 0,j.chartX,j.chartY)}function y(j){let R=this.chart,k=o((j=this.normalize(j)).wheelDelta)&&-j.wheelDelta/120||j.deltaY||j.detail;Math.abs(k)>=1&&(x+=Math.abs(k),w&&clearTimeout(w),w=setTimeout(()=>{x=0},50)),x<10&&R.isInsidePlot(j.chartX-R.plotLeft,j.chartY-R.plotTop)&&R.mapView&&R.mapView.zoomBy(-((R.options.mapNavigation.mouseWheelSensitivity-1)*k),void 0,[j.chartX,j.chartY],!(1>Math.abs(k))&&void 0)}function E(j,R,k){let B=this.chart;if(R=j.call(this,R,k),B&&B.mapView){let L=B.mapView.pixelsToLonLat({x:R.chartX-B.plotLeft,y:R.chartY-B.plotTop});L&&f(R,L)}return R}function A(j){let R=this.chart.options.mapNavigation;R&&u(R.enableTouchZoom,R.enabled)&&(this.chart.zooming.pinchType="xy"),j.apply(this,[].slice.call(arguments,1))}S.compose=function(j){let R=j.prototype;R.onContainerDblClick||(f(R,{onContainerDblClick:T,onContainerMouseWheel:y}),m(R,"normalize",E),m(R,"zoomOption",A))}})(a||(a={})),a}),n(r,"Maps/MapSymbols.js",[],function(){let i;function a(f,u,m,S,w){if(w){let x=w?.r||0;w.brBoxY=u-x,w.brBoxHeight=S+x}return i.roundedRect(f,u,m,S,w)}function o(f,u,m,S,w){if(w){let x=w?.r||0;w.brBoxHeight=S+x}return i.roundedRect(f,u,m,S,w)}return{compose:function(f){(i=f.prototype.symbols).bottombutton=a,i.topbutton=o}}}),n(r,"Maps/MapNavigation.js",[r["Core/Defaults.js"],r["Core/Globals.js"],r["Maps/MapNavigationDefaults.js"],r["Maps/MapPointer.js"],r["Maps/MapSymbols.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m){let{setOptions:S}=i,{composed:w}=a,{addEvent:x,extend:T,merge:y,objectEach:E,pick:A,pushUnique:j}=m;function R(B){B&&(B.preventDefault&&B.preventDefault(),B.stopPropagation&&B.stopPropagation(),B.cancelBubble=!0)}class k{static compose(L,C,h){f.compose(C),u.compose(h),j(w,"Map.Navigation")&&(x(L,"beforeRender",function(){this.mapNavigation=new k(this),this.mapNavigation.update()}),S(o))}constructor(L){this.chart=L,this.navButtons=[]}update(L){let C=this,h=C.chart,H=C.navButtons,P=function(I){this.handler.call(h,I),R(I)},N=h.options.mapNavigation;for(L&&(N=h.options.mapNavigation=y(h.options.mapNavigation,L));H.length;)H.pop().destroy();if(!h.renderer.forExport&&A(N.enableButtons,N.enabled)){C.navButtonsGroup||(C.navButtonsGroup=h.renderer.g().attr({zIndex:7}).add()),E(N.buttons,(F,l)=>{let d={padding:(F=y(N.buttonOptions,F)).padding};!h.styledMode&&F.theme&&(T(d,F.theme),d.style=y(F.theme.style,F.style));let{text:p,width:v=0,height:b=0,padding:M=0}=F,O=h.renderer.button(p!=="+"&&p!=="-"&&p||"",0,0,P,d,void 0,void 0,void 0,l==="zoomIn"?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[l]).attr({width:v,height:b,title:h.options.lang[l],zIndex:5}).add(C.navButtonsGroup);if(p==="+"||p==="-"){let _=v+1,U=[["M",M+3,M+b/2],["L",M+_-3,M+b/2]];p==="+"&&U.push(["M",M+_/2,M+3],["L",M+_/2,M+b-3]),h.renderer.path(U).addClass("highcharts-button-symbol").attr(h.styledMode?{}:{stroke:F.style?.color,"stroke-width":3,"stroke-linecap":"round"}).add(O)}if(O.handler=F.onclick,x(O.element,"dblclick",R),H.push(O),T(F,{width:O.width,height:2*(O.height||0)}),h.hasLoaded)O.align(F,!1,F.alignTo);else{let _=x(h,"load",()=>{O.element&&O.align(F,!1,F.alignTo),_()})}});let I=(F,l)=>!(l.x>=F.x+F.width||l.x+l.width<=F.x||l.y>=F.y+F.height||l.y+l.height<=F.y);h.hasLoaded||x(h,"render",function(){let F=h.exportingGroup&&h.exportingGroup.getBBox();if(F){let l=C.navButtonsGroup.getBBox();
38if(I(F,l)){let d=-l.y-l.height+F.y-5,p=F.y+F.height-l.y+5,v=N.buttonOptions&&N.buttonOptions.verticalAlign;C.navButtonsGroup.attr({translateY:v==="bottom"?d:p})}}})}this.updateEvents(N)}updateEvents(L){let C=this.chart;A(L.enableDoubleClickZoom,L.enabled)||L.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||x(C.container,"dblclick",function(h){C.pointer.onContainerDblClick(h)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),A(L.enableMouseWheelZoom,L.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||x(C.container,"wheel",function(h){return C.pointer.inClass(h.target,"highcharts-no-mousewheel")||(C.pointer.onContainerMouseWheel(h),R(h)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())}}return k}),n(r,"Series/ColorMapComposition.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],function(i,a,o){var f;let{column:{prototype:u}}=i.seriesTypes,{addEvent:m,defined:S}=o;return(function(w){function x(T){let y=this.series,E=y.chart.renderer;this.moveToTopOnHover&&this.graphic&&(y.stateMarkerGraphic||(y.stateMarkerGraphic=new a(E,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),T?.state==="hover"?(this.graphic.attr({id:this.id}),y.stateMarkerGraphic.attr({href:`${E.url}#${this.id}`,visibility:"visible"})):y.stateMarkerGraphic.attr({href:""}))}w.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return this.value!==null&&this.value!==1/0&&this.value!==-1/0&&(this.value===void 0||!isNaN(this.value))}},w.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(T){let y={};return S(T.color)&&(!T.state||T.state==="normal")&&(y[this.colorProp||"fill"]=T.color),y},pointAttribs:u.pointAttribs},w.compose=function(T){return m(T.prototype.pointClass,"afterSetState",x),T}})(f||(f={})),f}),n(r,"Core/Chart/MapChart.js",[r["Core/Chart/Chart.js"],r["Core/Defaults.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],function(i,a,o,f){var u;let{getOptions:m}=a,{isNumber:S,merge:w,pick:x}=f;class T extends i{init(E,A){let j=m().credits,R=w({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:x(j.mapText,' © <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:x(j.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},E);super.init(R,A)}mapZoom(E,A,j,R,k){this.mapView&&(S(E)&&(E=Math.log(E)/Math.log(.5)),this.mapView.zoomBy(E,S(A)&&S(j)?this.mapView.projection.inverse([A,j]):void 0,S(R)&&S(k)?[R,k]:void 0))}update(E){E.chart&&"map"in E.chart&&this.mapView?.recommendMapView(this,[E.chart.map,...(this.options.series||[]).map(A=>A.mapData)],!0),super.update.apply(this,arguments)}}return(u=T||(T={})).maps={},u.mapChart=function(y,E,A){return new u(y,E,A)},u.splitPath=function(y){let E;return E=typeof y=="string"?(y=y.replace(/([A-Z])/gi," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map(A=>/[A-Z]/i.test(A)?A:parseFloat(A)):y,o.prototype.pathToSegments(E)},T}),n(r,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(i){let a=-Number.MAX_VALUE,o=Number.MAX_VALUE,f=-Number.MAX_VALUE,u=Number.MAX_VALUE,m;if(i.forEach(S=>{let w=S[S.length-2],x=S[S.length-1];typeof w=="number"&&typeof x=="number"&&(o=Math.min(o,w),a=Math.max(a,w),u=Math.min(u,x),f=Math.max(f,x),m=!0)}),m)return{x1:o,y1:u,x2:a,y2:f}}}}),n(r,"Series/Map/MapPoint.js",[r["Series/ColorMapComposition.js"],r["Maps/MapUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f){let{boundsFromPath:u}=a,m=o.seriesTypes.scatter.prototype.pointClass,{extend:S,isNumber:w,pick:x}=f;class T extends m{static getProjectedPath(E,A){return E.projectedPath||(A&&E.geometry?(A.hasCoordinates=!0,E.projectedPath=A.path(E.geometry)):E.projectedPath=E.path),E.projectedPath||[]}applyOptions(E,A){let j=this.series,R=super.applyOptions(E,A),k=j.joinBy;if(j.mapData&&j.mapMap){let B=k[1],L=super.getNestedProperty(B),C=L!==void 0&&j.mapMap[L];C?S(R,{...C,name:R.name??C.name}):j.pointArrayMap.indexOf("value")!==-1&&(R.value=R.value||null)}return R}getProjectedBounds(E){let A=u(T.getProjectedPath(this,E)),j=this.properties,R=this.series.chart.mapView;if(A){let k=j&&j["hc-middle-lon"],B=j&&j["hc-middle-lat"];if(R&&w(k)&&w(B)){let L=E.forward([k,B]);A.midX=L[0],A.midY=L[1]}else{let L=j&&j["hc-middle-x"],C=j&&j["hc-middle-y"];A.midX=A.x1+(A.x2-A.x1)*x(this.middleX,w(L)?L:.5);let h=x(this.middleY,w(C)?C:.5);
vendor: 7,487 bytes, line 38
38this.geometry||(h=1-h),A.midY=A.y2-(A.y2-A.y1)*h}return A}}onMouseOver(E){f.clearTimeout(this.colorInterval),!this.isNull&&this.visible||this.series.options.nullInteraction?super.onMouseOver.call(this,E):this.series.onMouseOut()}setVisible(E){this.visible=this.options.visible=!!E,this.dataLabel&&this.dataLabel[E?"show":"hide"](),this.graphic&&this.graphic.attr(this.series.pointAttribs(this))}zoomTo(E){let A=this.series.chart,j=A.mapView,R=this.bounds;if(j&&R){let k=w(this.insetIndex)&&j.insets[this.insetIndex];if(k){let B=k.projectedUnitsToPixels({x:R.x1,y:R.y1}),L=k.projectedUnitsToPixels({x:R.x2,y:R.y2}),C=j.pixelsToProjectedUnits({x:B.x,y:B.y}),h=j.pixelsToProjectedUnits({x:L.x,y:L.y});R={x1:C.x,y1:C.y,x2:h.x,y2:h.y}}j.fitToBounds(R,void 0,!1),this.series.isDirty=!0,A.redraw(E)}}}return S(T.prototype,{dataLabelOnNull:i.pointMembers.dataLabelOnNull,moveToTopOnHover:i.pointMembers.moveToTopOnHover,isValid:i.pointMembers.isValid}),T}),n(r,"Series/Map/MapSeriesDefaults.js",[r["Core/Utilities.js"]],function(i){let{isNumber:a}=i;return{affectsMapView:!0,animation:!1,dataLabels:{crop:!1,formatter:function(){let{numberFormatter:o}=this.series.chart,{value:f}=this.point;return a(f)?o(f,-1):this.point.name},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},linecap:"round",marker:null,nullColor:"#f7f7f7",stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:"#e6e6e6",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:void 0,borderColor:"#666666",borderWidth:2},normal:{animation:!0},select:{color:"#cccccc"}},legendSymbol:"rectangle"}}),n(r,"Maps/MapViewDefaults.js",[],function(){return{center:[0,0],fitToGeometry:void 0,maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0,insetOptions:{borderColor:"#cccccc",borderWidth:1,padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}}}),n(r,"Maps/GeoJSONComposition.js",[r["Core/Globals.js"],r["Core/Templating.js"],r["Core/Utilities.js"]],function(i,a,o){var f;let{win:u}=i,{format:m}=a,{error:S,extend:w,merge:x,wrap:T}=o;return(function(y){function E(L){return this.mapView&&this.mapView.lonLatToProjectedUnits(L)}function A(L){return this.mapView&&this.mapView.projectedUnitsToLonLat(L)}function j(L,C){let h=this.options.chart.proj4||u.proj4;if(!h){S(21,!1,this);return}let{jsonmarginX:H=0,jsonmarginY:P=0,jsonres:N=1,scale:I=1,xoffset:F=0,xpan:l=0,yoffset:d=0,ypan:p=0}=C,v=h(C.crs,[L.lon,L.lat]),b=C.cosAngle||C.rotation&&Math.cos(C.rotation),M=C.sinAngle||C.rotation&&Math.sin(C.rotation),O=C.rotation?[v[0]*b+v[1]*M,-v[0]*M+v[1]*b]:v;return{x:((O[0]-F)*I+l)*N+H,y:-(((d-O[1])*I+p)*N-P)}}function R(L,C){let h=this.options.chart.proj4||u.proj4;if(!h){S(21,!1,this);return}if(L.y===null)return;let{jsonmarginX:H=0,jsonmarginY:P=0,jsonres:N=1,scale:I=1,xoffset:F=0,xpan:l=0,yoffset:d=0,ypan:p=0}=C,v={x:((L.x-H)/N-l)/I+F,y:((L.y-P)/N+p)/I+d},b=C.cosAngle||C.rotation&&Math.cos(C.rotation),M=C.sinAngle||C.rotation&&Math.sin(C.rotation),O=h(C.crs,"WGS84",C.rotation?{x:v.x*b+-(v.y*M),y:v.x*M+v.y*b}:v);return{lat:O.y,lon:O.x}}function k(L,C){C||(C=Object.keys(L.objects)[0]);let h=L.objects[C];if(h["hc-decoded-geojson"]&&h["hc-decoded-geojson"].title===L.title)return h["hc-decoded-geojson"];let H=L.arcs;if(L.transform){let l,d,p,v=L.arcs,{scale:b,translate:M}=L.transform;H=[];for(let O=0,_=v.length;O<_;++O){let U=v[O];H.push(l=[]),d=0,p=0;for(let q=0,z=U.length;q<z;++q)l.push([(d+=U[q][0])*b[0]+M[0],(p+=U[q][1])*b[1]+M[1]])}}let P=l=>typeof l[0]=="number"?l.reduce((d,p,v)=>{let b=p<0?H[~p]:H[p];return p<0?(b=b.slice(0,v===0?b.length:b.length-1)).reverse():v&&(b=b.slice(1)),d.concat(b)},[]):l.map(P),N=h.geometries,I=[];for(let l=0,d=N.length;l<d;++l)I.push({type:"Feature",properties:N[l].properties,geometry:{type:N[l].type,coordinates:N[l].coordinates||P(N[l].arcs)}});let F={type:"FeatureCollection",copyright:L.copyright,copyrightShort:L.copyrightShort,copyrightUrl:L.copyrightUrl,features:I,"hc-recommended-mapview":h["hc-recommended-mapview"],bbox:L.bbox,title:L.title};return h["hc-decoded-geojson"]=F,F}function B(L,C){C=x(!0,this.options.credits,C),L.call(this,C),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})}y.compose=function(L){let C=L.prototype;C.transformFromLatLon||(C.fromLatLonToPoint=E,C.fromPointToLatLon=A,C.transformFromLatLon=j,C.transformToLatLon=R,T(C,"addCredits",B))},y.geojson=function(L,C="map",h){let H=[],P=L.type==="Topology"?k(L):L,N=P.features;for(let I=0,F=N.length;I<F;++I){let l,d=N[I],p=d.geometry||{},v=p.type,b=p.coordinates,M=d.properties;if((C==="map"||C==="mapbubble")&&(v==="Polygon"||v==="MultiPolygon")?b.length&&(l={geometry:{coordinates:b,type:v}}):C==="mapline"&&(v==="LineString"||v==="MultiLineString")?b.length&&(l={geometry:{coordinates:b,type:v}}):C==="mappoint"&&v==="Point"&&b.length&&(l={geometry:{coordinates:b,type:v}}),l){let O=M&&(M.name||M.NAME),_=M&&M.lon,U=M&&M.lat;H.push(w(l,{lat:typeof U=="number"?U:void 0,lon:typeof _=="number"?_:void 0,name:typeof O=="string"?O:void 0,properties:M}))}}return h&&P.copyrightShort&&(h.chart.mapCredits=m(h.chart.options.credits?.mapText,{geojson:P}),h.chart.mapCreditsFull=m(h.chart.options.credits?.mapTextFull,{geojson:P})),H},y.topo2geo=k})(f||(f={})),f}),n(r,"Core/Geometry/PolygonClip.js",[],function(){function i(f,u,m=!0){let S=u[u.length-1],w,x,T,y=f;for(let E=0;E<u.length;E++){let A=y;w=u[E],y=[],x=m?A[A.length-1]:A[0];for(let j=0;j<A.length;j++)a(S,w,T=A[j])?(a(S,w,x)||y.push(o(S,w,x,T)),y.push(T)):a(S,w,x)&&y.push(o(S,w,x,T)),x=T;S=w}return y}function a(f,u,m){return(u[0]-f[0])*(m[1]-f[1])>(u[1]-f[1])*(m[0]-f[0])}function o(f,u,m,S){let w=[f[0]-u[0],f[1]-u[1]],x=[m[0]-S[0],m[1]-S[1]],T=f[0]*u[1]-f[1]*u[0],y=m[0]*S[1]-m[1]*S[0],E=1/(w[0]*x[1]-w[1]*x[0]),A=[(T*x[0]-y*w[0])*E,(T*x[1]-y*w[1])*E];return A.isIntersection=!0,A}return{clipLineString:function(f,u){let m=[],S=i(f,u,!1);for(let w=1;w<S.length;w++)S[w].isIntersection&&S[w-1].isIntersection&&(m.push(S.splice(0,w)),w=0),w===S.length-1&&m.push(S);return m},clipPolygon:i}}),n(r,"Maps/Projections/LambertConformalConic.js",[],function(){let i=Math.sign||(u=>u===0?0:u>0?1:-1),a=Math.PI/180,o=Math.PI/2,f=u=>Math.tan((o+u)/2);return class{constructor(u){let m=(u.parallels||[]).map(y=>y*a),S=m[0]||0,w=m[1]??S,x=Math.cos(S);typeof u.projectedBounds=="object"&&(this.projectedBounds=u.projectedBounds);let T=S===w?Math.sin(S):Math.log(x/Math.cos(w))/Math.log(f(w)/f(S));1e-10>Math.abs(T)&&(T=1e-10*(i(T)||1)),this.n=T,this.c=x*Math.pow(f(S),T)/T}forward(u){let{c:m,n:S,projectedBounds:w}=this,x=u[0]*a,T=u[1]*a;m>0?T<-o+1e-6&&(T=-o+1e-6):T>o-1e-6&&(T=o-1e-6);let y=m/Math.pow(f(T),S),E=y*Math.sin(S*x)*63.78137,A=(m-y*Math.cos(S*x))*63.78137,j=[E,A];return w&&(E<w.x1||E>w.x2||A<w.y1||A>w.y2)&&(j.outside=!0),j}inverse(u){let{c:m,n:S}=this,w=u[0]/63.78137,x=m-u[1]/63.78137,T=i(S)*Math.sqrt(w*w+x*x),y=Math.atan2(w,Math.abs(x))*i(x);return x*S<0&&(y-=Math.PI*i(w)*i(x)),[y/S/a,(2*Math.atan(Math.pow(m/T,1/S))-o)/a]}}}),n(r,"Maps/Projections/EqualEarth.js",[],function(){let i=Math.sqrt(3)/2;return class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}forward(a){let o=Math.PI/180,f=Math.asin(i*Math.sin(a[1]*o)),u=f*f,m=u*u*u;return[a[0]*o*Math.cos(f)*74.03120656864502/(i*(1.340264+-.24331799999999998*u+m*(.0062510000000000005+.034164*u))),74.03120656864502*f*(1.340264+-.081106*u+m*(893e-6+.003796
38*u))]}inverse(a){let o=a[0]/74.03120656864502,f=a[1]/74.03120656864502,u=180/Math.PI,m=f,S,w,x,T;for(let A=0;A<12&&(w=(S=m*m)*S*S,x=m*(1.340264+-.081106*S+w*(893e-6+.003796*S))-f,m-=T=x/(1.340264+-.24331799999999998*S+w*(.0062510000000000005+.034164*S)),!(1e-9>Math.abs(T)));++A);w=(S=m*m)*S*S;let y=u*i*o*(1.340264+-.24331799999999998*S+w*(.0062510000000000005+.034164*S))/Math.cos(m),E=u*Math.asin(Math.sin(m)/i);return Math.abs(y)>180?[NaN,NaN]:[y,E]}}}),n(r,"Maps/Projections/Miller.js",[],function(){let i=Math.PI/4,a=Math.PI/180;return class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}forward(o){return[o[0]*a*63.78137,79.7267125*Math.log(Math.tan(i+.4*o[1]*a))]}inverse(o){return[o[0]/63.78137/a,2.5*(Math.atan(Math.exp(.8*(o[1]/63.78137)))-i)/a]}}}),n(r,"Maps/Projections/Orthographic.js",[],function(){let i=Math.PI/180;return class{constructor(){this.antimeridianCutting=!1,this.bounds={x1:-63.78460826781007,x2:63.78460826781007,y1:-63.78460826781007,y2:63.78460826781007}}forward(a){let o=a[0],f=a[1]*i,u=[Math.cos(f)*Math.sin(o*i)*63.78460826781007,63.78460826781007*Math.sin(f)];return(o<-90||o>90)&&(u.outside=!0),u}inverse(a){let o=a[0]/63.78460826781007,f=a[1]/63.78460826781007,u=Math.sqrt(o*o+f*f),m=Math.asin(u),S=Math.sin(m);return[Math.atan2(o*S,u*Math.cos(m))/i,Math.asin(u&&f*S/u)/i]}}}),n(r,"Maps/Projections/WebMercator.js",[],function(){let i=Math.PI/180;return class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-200.3750834278071,y2:200.3750834278071},this.maxLatitude=85.0511287798}forward(a){let o=Math.sin(a[1]*i),f=[63.78137*a[0]*i,63.78137*Math.log((1+o)/(1-o))/2];return Math.abs(a[1])>this.maxLatitude&&(f.outside=!0),f}inverse(a){return[a[0]/(63.78137*i),(2*Math.atan(Math.exp(a[1]/63.78137))-Math.PI/2)/i]}}}),n(r,"Maps/Projections/ProjectionRegistry.js",[r["Maps/Projections/LambertConformalConic.js"],r["Maps/Projections/EqualEarth.js"],r["Maps/Projections/Miller.js"],r["Maps/Projections/Orthographic.js"],r["Maps/Projections/WebMercator.js"]],function(i,a,o,f,u){return{EqualEarth:a,LambertConformalConic:i,Miller:o,Orthogra
vendor: 17,821 bytes, line 38
38phic:f,WebMercator:u}}),n(r,"Maps/Projection.js",[r["Core/Geometry/PolygonClip.js"],r["Maps/Projections/ProjectionRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{clipLineString:f,clipPolygon:u}=i,{clamp:m,erase:S}=o,w=2*Math.PI/360,x=A=>(A<-180&&(A+=360),A>180&&(A-=360),A),T=A=>(1-Math.cos(A))/2,y=(A,j)=>{let R=Math.cos,k=A[1]*w,B=A[0]*w,L=j[1]*w,C=j[0]*w;return T(L-k)+R(k)*R(L)*T(C-B)};class E{static add(j,R){E.registry[j]=R}static distance(j,R){let{atan2:k,sqrt:B}=Math,L=y(j,R);return 6371e3*(2*k(B(L),B(1-L)))}static geodesic(j,R,k,B=5e5){let{atan2:L,cos:C,sin:h,sqrt:H}=Math,P=E.distance,N=j[1]*w,I=j[0]*w,F=R[1]*w,l=R[0]*w,d=C(N)*C(I),p=C(F)*C(l),v=C(N)*h(I),b=C(F)*h(l),M=h(N),O=h(F),_=P(j,R),U=_/6371e3,q=h(U),z=Math.round(_/B),J=[];if(k&&J.push(j),z>1){let te=1/z;for(let ce=te;ce<.999;ce+=te){let xe=h((1-ce)*U)/q,V=h(ce*U)/q,Y=xe*d+V*p,X=xe*v+V*b,ae=L(xe*M+V*O,H(Y*Y+X*X)),$=L(X,Y);J.push([$/w,ae/w])}}return k&&J.push(R),J}static insertGeodesics(j){let R=j.length-1;for(;R--;)if(Math.max(Math.abs(j[R][0]-j[R+1][0]),Math.abs(j[R][1]-j[R+1][1]))>10){let k=E.geodesic(j[R],j[R+1]);k.length&&j.splice(R+1,0,...k)}}static toString(j){let{name:R,rotation:k}=j||{};return[R,k&&k.join(",")].join(";")}constructor(j={}){this.hasCoordinates=!1,this.hasGeoProjection=!1,this.maxLatitude=90,this.options=j;let{name:R,projectedBounds:k,rotation:B}=j;this.rotator=B?this.getRotator(B):void 0;let L=R?E.registry[R]:void 0;L&&(this.def=new L(j));let{def:C,rotator:h}=this;C&&(this.maxLatitude=C.maxLatitude||90,this.hasGeoProjection=!0),h&&C?(this.forward=H=>C.forward(h.forward(H)),this.inverse=H=>h.inverse(C.inverse(H))):C?(this.forward=H=>C.forward(H),this.inverse=H=>C.inverse(H)):h&&(this.forward=h.forward,this.inverse=h.inverse),this.bounds=k==="world"?C&&C.bounds:k}lineIntersectsBounds(j){let{x1:R,x2:k,y1:B,y2:L}=this.bounds||{},C=(P,N,I)=>{let[F,l]=P,d=N?0:1;if(typeof I=="number"&&F[N]>=I!=l[N]>=I){let p=(I-F[N])/(l[N]-F[N]),v=F[d]+p*(l[d]-F[d]);return N?[v,I]:[I,v]}},h,H=j[0];return((h=C(j,0,R))||(h=C(j,0,k)))&&(H=h,j[1]=h),((h=C(j,1,B))||(h=C(j,1,L)))&&(H=h),H}getRotator(j){let R=j[0]*w,k=(j[1]||0)*w,B=(j[2]||0)*w,L=Math.cos(k),C=Math.sin(k),h=Math.cos(B),H=Math.sin(B);if(R!==0||k!==0||B!==0)return{forward:P=>{let N=P[0]*w+R,I=P[1]*w,F=Math.cos(I),l=Math.cos(N)*F,d=Math.sin(N)*F,p=Math.sin(I),v=p*L+l*C;return[Math.atan2(d*h-v*H,l*L-p*C)/w,Math.asin(v*h+d*H)/w]},inverse:P=>{let N=P[0]*w,I=P[1]*w,F=Math.cos(I),l=Math.cos(N)*F,d=Math.sin(N)*F,p=Math.sin(I),v=p*h-d*H;return[(Math.atan2(d*h+p*H,l*L+v*C)-R)/w,Math.asin(v*L-l*C)/w]}}}forward(j){return j}inverse(j){return j}cutOnAntimeridian(j,R){let k,B=[],L=[j];for(let C=0,h=j.length;C<h;++C){let H=j[C],P=j[C-1];if(!C){if(!R)continue;P=j[j.length-1]}let N=P[0],I=H[0];if((N<-90||N>90)&&(I<-90||I>90)&&N>0!=I>0){let F=m((180-(N+360)%360)/((I+360)%360-(N+360)%360),0,1),l=P[1]+F*(H[1]-P[1]);B.push({i:C,lat:l,direction:N<0?1:-1,previousLonLat:P,lonLat:H})}}if(B.length)if(R){B.length%2==1&&(k=B.slice().sort((h,H)=>Math.abs(H.lat)-Math.abs(h.lat))[0],S(B,k));let C=B.length-2;for(;C>=0;){let h=B[C].i,H=x(180+1e-6*B[C].direction),P=x(180-1e-6*B[C].direction),N=j.splice(h,B[C+1].i-h,...E.geodesic([H,B[C].lat],[H,B[C+1].lat],!0));N.push(...E.geodesic([P,B[C+1].lat],[P,B[C].lat],!0)),L.push(N),C-=2}if(k)for(let h=0;h<L.length;h++){let{direction:H,lat:P}=k,N=L[h],I=N.indexOf(k.lonLat);if(I>-1){let F=(P<0?-1:1)*this.maxLatitude,l=x(180+1e-6*H),d=x(180-1e-6*H),p=E.geodesic([l,P],[l,F],!0);for(let v=l+120*H;v>-180&&v<180;v+=120*H)p.push([v,F]);p.push(...E.geodesic([d,F],[d,k.lat],!0)),N.splice(I,0,...p);break}}}else{let C=B.length;for(;C--;){let h=B[C].i,H=j.splice(h,j.length,[x(180+1e-6*B[C].direction),B[C].lat]);H.unshift([x(180-1e-6*B[C].direction),B[C].lat]),L.push(H)}}return L}path(j){let R,{bounds:k,def:B,rotator:L}=this,C=[],h=j.type==="Polygon"||j.type==="MultiPolygon",H=this.hasGeoProjection,P=!B||B.antimeridianCutting!==!1,N=P?L:void 0,I=P&&B||this;k&&(R=[[k.x1,k.y1],[k.x2,k.y1],[k.x2,k.y2],[k.x1,k.y2]]);let F=l=>{let d=l.map(v=>{if(P){N&&(v=N.forward(v));let b=v[0];1e-6>Math.abs(b-180)&&(b=b<180?179.999999:180.000001),v=[b,v[1]]}return v}),p=[d];H&&(E.insertGeodesics(d),P&&(p=this.cutOnAntimeridian(d,h))),p.forEach(v=>{let b,M;if(v.length<2)return;let O=!1,_=!1,U=te=>{O?C.push(["L",te[0],te[1]]):(C.push(["M",te[0],te[1]]),O=!0)},q=!1,z=!1,J=v.map(te=>{let ce=I.forward(te);return ce.outside?q=!0:z=!0,ce[1]===1/0?ce[1]=1e10:ce[1]===-1/0&&(ce[1]=-1e10),ce});if(P){if(h&&J.push(J[0]),q){if(!z)return;if(R){if(h)J=u(J,R);else if(k){f(J,R).forEach(te=>{O=!1,te.forEach(U)});return}}}J.forEach(U)}else for(let te=0;te<J.length;te++){let ce=v[te],xe=J[te];xe.outside?_=!0:(h&&!b&&(b=ce,v.push(ce),J.push(xe)),_&&M&&(h&&H?E.geodesic(M,ce).forEach(V=>U(I.forward(V))):O=!1),U(xe),M=ce,_=!1)}})};return j.type==="LineString"?F(j.coordinates):j.type==="MultiLineString"?j.coordinates.forEach(l=>F(l)):j.type==="Polygon"?(j.coordinates.forEach(l=>F(l)),C.length&&C.push(["Z"])):j.type==="MultiPolygon"&&(j.coordinates.forEach(l=>{l.forEach(d=>F(d))}),C.length&&C.push(["Z"])),C}}return E.registry=a,E}),n(r,"Maps/MapView.js",[r["Core/Globals.js"],r["Maps/MapViewDefaults.js"],r["Maps/GeoJSONComposition.js"],r["Core/Geometry/GeometryUtilities.js"],r["Maps/MapUtilities.js"],r["Maps/Projection.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S){let{composed:w}=i,{pointInPolygon:x}=f,{topo2geo:T}=o,{boundsFromPath:y}=u,{addEvent:E,clamp:A,crisp:j,fireEvent:R,isArray:k,isNumber:B,isObject:L,isString:C,merge:h,pick:H,pushUnique:P,relativeLength:N}=S,I={};function F(v,b){let{width:M,height:O}=b;return Math.log(400.979322/Math.max((v.x2-v.x1)/(M/256),(v.y2-v.y1)/(O/256)))/Math.log(2)}function l(v){v.seriesOptions.mapData&&this.mapView?.recommendMapView(this,[this.options.chart.map,v.seriesOptions.mapData],this.options.drilldown?.mapZooming)}class d{static compose(b){P(w,"MapView")&&(I=b.maps,E(b,"afterInit",function(){this.mapView=new d(this,this.options.mapView)},{order:0}),E(b,"addSeriesAsDrilldown",l),E(b,"afterDrillUp",l))}static compositeBounds(b){if(b.length)return b.slice(1).reduce((M,O)=>(M.x1=Math.min(M.x1,O.x1),M.y1=Math.min(M.y1,O.y1),M.x2=Math.max(M.x2,O.x2),M.y2=Math.max(M.y2,O.y2),M),h(b[0]))}static mergeInsets(b,M){let O=U=>{let q={};return U.forEach((z,J)=>{q[z&&z.id||`i${J}`]=z}),q},_=h(O(b),O(M));return Object.keys(_).map(U=>_[U])}constructor(b,M){this.allowTransformAnimation=!0,this.eventsToUnbind=[],this.insets=[],this.padding=[0,0,0,0],this.recommendedMapView={},this instanceof p||this.recommendMapView(b,[b.options.chart.map,...(b.options.series||[]).map(q=>q.mapData)]),this.userOptions=M||{};let O=h(a,this.recommendedMapView,M),_=this.recommendedMapView?.insets,U=M&&M.insets;_&&U&&(O.insets=d.mergeInsets(_,U)),this.chart=b,this.center=O.center,this.options=O,this.projection=new m(O.projection),this.playingField=b.plotBox,this.zoom=O.zoom||0,this.minZoom=O.minZoom,this.createInsets(),this.eventsToUnbind.push(E(b,"afterSetChartSize",()=>{this.playingField=this.getField(),(this.minZoom===void 0||this.minZoom===this.zoom)&&(this.fitToBounds(void 0,void 0,!1),!this.chart.hasRendered&&B(this.userOptions.zoom)&&(this.zoom=this.userOptions.zoom),this.userOptions.center&&h(!0,this.center,this.userOptions.center))})),this.setUpEvents()}createInsets(){let b=this.options,M=b.insets;M&&M.forEach(O=>{let _=new p(this,h(b.insetOptions,O));this.insets.push(_)})}fitToBounds(b,M,O=!0,_){let U=b||this.getProjectedBounds();if(U){let q=H(M,b?0:this.options.padding),z=this.getField(!1),J=k(q)?q:[q,q,q,q];this.padding=[N(J[0],z.height),N(J[1],z.width),N(J[2],z.height),N(J[3],z.width)],this.playingField=this.getField();let te=F(U,this.playingField);b||(this.minZoom=te);let ce=this.projection.inverse([(U.x2+U.x1)/2,(U.y2+U.y1)/2]);this.setView(ce,te,O,_)}}getField(b=!0){let M=b?this.padding:[0,0,0,0];return{x:M[3],y:M[0],width:this.chart.plotWidth-M[1]-M[3],height:this.chart.plotHeight-M[0]-M[2]}}getGeoMap(b){if(C(b))return I[b]&&I[b].type==="Topology"?T(I[b]):I[b];if(L(b,!0)){if(b.type==="FeatureCollection")return b;if(b.type==="Topology")return T(b)}}getMapBBox(){let b=this.getProjectedBounds(),M=this.getScale();if(b){let O=this.padding,_=this.projectedUnitsToPixels({x:b.x1,y:b.y2});return{width:(b.x2-b.x1)*M+O[1]+O[3],height:(b.y2-b.y1)*M+O[0]+O[2],x:_.x-O[3],y:_.y-O[0]}}}getProjectedBounds(){let b=this.projection,M=this.chart.series.reduce((_,U)=>{let q=U.getProjectedBounds&&U.getProjectedBounds();return q&&U.options.affectsMapView!==!1&&_.push(q),_},[]),O=this.options.fitToGeometry;if(O){if(!this.fitToGeometryCache)if(O.type==="MultiPoint"){let _=O.coordinates.map(z=>b.forward(z)),U=_.map(z=>z[0]),q=_.map(z=>z[1]);this.fitToGeometryCache={x1:Math.min.apply(0,U),x2:Math.max.apply(0,U),y1:Math.min.apply(0,q),y2:Math.max.apply(0,q)}}else this.fitToGeometryCache=y(b.path(O));return this.fitToGeometryCache}return this.projection.bounds||d.compositeBounds(M)}getScale(){return 256/400.979322*Math.pow(2,this.zoom)}getSVGTransform(){let{x:b,y:M,width:O,height:_}=this.playingField,U=this.projection.forward(this.center),q=this.projection.hasCoordinates?-1:1,z=this.getScale(),J=z*q,te=b+O/2-U[0]*z,ce=M+_/2-U[1]*J;return{scaleX:z,scaleY:J,translateX:te,translateY:ce}}lonLatToPixels(b){let M=this.lonLatToProjectedUnits(b);if(M)return this.projectedUnitsToPixels(M)}lonLatToProjectedUnits(b){let M=this.chart,O=M.mapTransforms;if(O){for(let U in O)if(Object.hasOwnProperty.call(O,U)&&O[U].hitZone){let q=M.transformFromLatLon(b,O[U]);if(q&&x(q,O[U].hitZone.coordinates[0]))return q}return M.transformFromLatLon(b,O.default)}for(let U of this.insets)if(U.options.geoBounds&&x({x:b.lon,y:b.lat},U.options.geoBounds.coordinates[0])){let q=U.projection.forward([b.lon,b.lat]),z=U.projectedUnitsToPixels({x:q[0],y:q[1]});return this.pixelsToProjectedUnits(z)}let _=this.projection.forward([b.lon,b.lat]);if(!_.outside)return{x:_[0],y:_[1]}}projectedUnitsToLonLat(b){let M=this.chart,O=M.mapTransforms;if(O){for(let q in O)if(Object.hasOwnProperty.call(O,q)&&O[q].hitZone&&x(b,O[q].hitZone.coordinates[0]))return M.transformToLatLon(b,O[q]);return M.transformToLatLon(b,O.default)}let _=this.projectedUnitsToPixels(b);for(let q of this.insets)if(q.hitZone&&x(_,q.hitZone.coordinates[0])){let z=q.pixelsToProjectedUnits(_),J=q.projection.inverse([z.x,z.y]);return{lon:J[0],lat:J[1]}}let U=this.projection.inverse([b.x,b.y]);return{lon:U[0],lat:U[1]}}recommendMapView(b,M,O=!1){this.recommendedMapView={};let _=M.map(z=>this.getGeoMap(z)),U=[];_.forEach(z=>{if(z&&(Object.keys(this.recommendedMapView).length||(this.recommendedMapView=z["hc-recommended-mapview"]||{}),z.bbox)){let[J,te,ce,xe]=z.bbox;U.push({x1:J,y1:te,x2:ce,y2:xe})}});let q=U.length&&d.compositeBounds(U);R(this,"onRecommendMapView",{geoBounds:q,chart:b},function(){if(q&&this.recommendedMapView){if(!this.recommendedMapView.projection){let{x1:z,y1:J,x2:te,y2:ce}=q;this.recommendedMapView.projection=te-z>180&&ce-J>90?{name:"EqualEarth",parallels:[0,0],rotation:[0]}:{name:"LambertConformalConic",parallels:[J,ce],rotation:[-(z+te)/2]}}this.recommendedMapView.insets||(this.recommendedMapView.insets=void 0)}}),this.geoMap=_[0],O&&b.hasRendered&&!b.userOptions.mapView?.projection&&this.recommendedMapView&&this.update(this.recommendedMapView)}redraw(b){this.chart.series.forEach(M=>{M.useMapGeometry&&(M.isDirty=!0)}),this.chart.redraw(b)}setView(b,M,O=!0,_){b&&(this.center=b),typeof M=="number"&&(typeof this.minZoom=="number"&&(M=Math.max(M,this.minZoom)),typeof this.options.maxZoom=="number"&&(M=Math.min(M,this.options.maxZoom)),B(M)&&(this.zoom=M));let U=this.getProjectedBounds();if(U){let q=this.projection.forward(this.center),{x:z,y:J,width:te,height:ce}=this.playingField,xe=this.getScale(),V=this.projectedUnitsToPixels({x:U.x1,y:U.y1}),Y=this.projectedUnitsToPixels({x:U.x2,y:U.y2}),X=[(U.x1+U.x2)/2,(U.y1+U.y2)/2];if(!this.chart.series.some(ae=>ae.isDrilling)){let ae=V.x,$=Y.y,K=Y.x,Z=V.y;K-ae<te?q[0]=X[0]:ae<z&&K<z+te?q[0]+=Math.max(ae-z,K-te-z)/xe:K>z+te&&ae>z&&(q[0]+=Math.min(K-te-z,ae-z)/xe),Z-$<ce?q[1]=X[1]:$<J&&Z<J+ce?q[1]-=Math.max($-J,Z-ce-J)/xe:Z>J+ce&&$>J&&(q[1]-=Math.min(Z-ce-J,$-J)/xe),this.center=this.projection.inverse(q)}this.insets.forEach(ae=>{ae.options.field&&(ae.hitZone=ae.getHitZone(),ae.playingField=ae.getField())}),this.render()}R(this,"afterSetView"),O&&this.redraw(_)}projectedUnitsToPixels(b){let M=this.getScale(),O=this.projection.forward(this.center),_=this.playingField,U=_.x+_.width/2,q=_.y+_.height/2;return{x:U-M*(O[0]-b.x),y:q+M*(O[1]-b.y)}}pixelsToLonLat(b){return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(b))}pixelsToProjectedUnits(b){let{x:M,y:O}=b,_=this.getScale(),U=this.projection.forward(this.center),q=this.playingField,z=q.x+q.width/2,J=q.y+q.height/2;return{x:U[0]+(M-z)/_,y:U[1]-(O-J)/_}}setUpEvents(){let b,M,O,{chart:_}=this,U=q=>{let{lastTouches:z,pinchDown:J}=_.pointer,te=this.projection,ce=q.touches,{mouseDownX:xe,mouseDownY:V}=_,Y=0;if(J?.length===1?(xe=J[0].chartX,V=J[0].chartY):J?.length===2&&(xe=(J[0].chartX+J[1].chartX)/2,V=(J[0].chartY+J[1].chartY)/2),ce?.length===2&&z&&(Y=Math.log(Math.sqrt(Math.pow(z[0].chartX-z[1].chartX,2)+Math.pow(z[0].chartY-z[1].chartY,2))/Math.sqrt(Math.pow(ce[0].chartX-ce[1].chartX,2)+Math.pow(ce[0].chartY-ce[1].chartY,2)))/Math.log(.5)),B(xe)&&B(V)){let X=`${xe},${V}`,{chartX:ae,chartY:$}=q.originalEvent;ce?.length===2&&(ae=(ce[0].chartX+ce[1].chartX)/2,$=(ce[0].chartY+ce[1].chartY)/2),X!==M&&(M=X,b=this.projection.forward(this.center),O=(this.projection.options.rotation||[0,0]).slice());let K=te.def&&te.def.bounds,Z=K&&F(K,this.playingField)||-1/0;if(te.options.name==="Orthographic"&&2>(ce?.length||0)&&(this.minZoom||1/0)<1.3*Z){let se=440/(this.getScale()*Math.min(_.plotWidth,_.plotHeight));if(O){let ie=(xe-ae)*se-O[0],ne=A(-O[1]-(V-$)*se,-80,80),oe=this.zoom;this.update({projection:{rotation:[-ie,-ne]}},!1),this.fitToBounds(void 0,void 0,!1),this.zoom=oe,_.redraw(!1)}}else if(B(ae)&&B($)){let se=this.getScale(),ie=this.projection.hasCoordinates?1:-1,ne=this.projection.inverse([b[0]+(xe-ae)/se,b[1]-(V-$)/se*ie]);isNaN(ne[0]+ne[1])||this.zoomBy(Y,ne,void 0,!1)}q.preventDefault()}};E(_,"pan",U),E(_,"touchpan",U),E(_,"selection",q=>{if(q.resetSelection)this.zoomBy();else{let z=q.x-_.plotLeft,J=q.y-_.plotTop,{y:te,x:ce}=this.pixelsToProjectedUnits({x:z,y:J}),{y:xe,x:V}=this.pixelsToProjectedUnits({x:z+q.width,y:J+q.height});this.fitToBounds({x1:ce,y1:te,x2:V,y2:xe},void 0,!0,!q.originalEvent.touches&&void 0),/^touch/.test(q.originalEvent.type)||_.showResetZoom(),q.preventDefault()}})}render(){this.group||(this.group=this.chart.renderer.g("map-view").attr({zIndex:4}).add())}update(b,M=!0,O){let _=b.projection,U=_&&m.toString(_)!==m.toString(this.options.projection),q=!1;h(!0,this.userOptions,b),h(!0,this.options,b),"insets"in b&&(this.insets.forEach(z=>z.destroy()),this.insets.length=0,q=!0),(U||"fitToGeometry"in b)&&delete this.fitToGeometryCache,(U||q)&&(this.chart.series.forEach(z=>{let J=z.transformGroups;if(z.clearBounds&&z.clearBounds(),z.isDirty=!0,z.isDirtyData=!0,q&&J)for(;J.length>1;){let te=J.pop();te&&te.destroy()}}),U&&(this.projection=new m(this.options.projection)),q&&this.createInsets(),!b.center&&Object.hasOwnProperty.call(b,"zoom")&&!B(b.zoom)&&this.fitToBounds(void 0,void 0,!1)),b.center||B(b.zoom)?this.setView(this.options.center,b.zoom,!1):"fitToGeometry"in b&&this.fitToBounds(void 0,void 0,!1),M&&this.chart.redraw(O)}zoomBy(b,M,O,_){let U=this.chart,q=this.projection.forward(this.center);if(typeof b=="number"){let z,J,te,ce=this.zoom+b;if(O){let[xe,V]=O,Y=this.getScale(),X=xe-U.plotLeft-U.plotWidth/2,ae=V-U.plotTop-U.plotHeight/2;J=q[0]+X/Y,te=q[1]+ae/Y}if(typeof J=="number"&&typeof te=="number"){let xe=1-Math.pow(2,this.zoom)/Math.pow(2,ce),V=q[0]-J,Y=q[1]-te;q[0]-=V*xe,q[1]+=Y*xe,z=this.projection.inverse(q)}this.setView(M||z,ce,void 0,_)}else this.fitToBounds(void 0,void 0,void 0,_)}}class p extends d{constructor(b,M){if(super(b.chart,M),this.id=M.id,this.mapView=b,this.options=h({center:[0,0]},b.options.insetOptions,M),this.allBounds=[],this.options.geoBounds){let O=b.projection.path(this.options.geoBounds);this.geoBoundsProjectedBox=y(O),this.geoBoundsProjectedPolygon=O.map(_=>[_[1]||0,_[2]||0])}}getField(b=!0){let M=this.hitZone;if(M){let O=b?this.padding:[0,0,0,0],_=M.coordinates[0],U=_.map(xe=>xe[0]),q=_.map(xe=>xe[1]),z=Math.min.apply(0,U)+O[3],J=Math.max.apply(0,U)-O[1],te=Math.min.apply(0,q)+O[0],ce=Math.max.apply(0,q)-O[2];if(B(z)&&B(te))return{x:z,y:te,width:J-z,height:ce-te}}return super.getField.call(this,b)}getHitZone(){let{chart:b,mapView:M,options:O}=this,{coordinates:_}=O.field||{};if(_){let U=_[0];if(O.units==="percent"){let q=O.relativeTo==="mapBoundingBox"&&M.getMapBBox()||h(b.plotBox,{x:0,y:0});U=U.map(z=>[N(`${z[0]}%`,q.width,q.x),N(`${z[1]}%`,q.height,q.y)])}return{type:"Polygon",coordinates:[U]}}}getProjectedBounds(){return d.compositeBounds(this.allBounds)}isInside(b){let{geoBoundsProjectedBox:M,geoBoundsProjectedPolygon:O}=this;return!!(M&&b.x>=M.x1&&b.x<=M.x2&&b.y>=M.y1&&b.y<=M.y2&&O&&x(b,O))}render(){let{chart:b,mapView:M,options:O}=this,_=O.borderPath||O.field;if(_&&M.group){let U=!0;this.border||(this.border=b.renderer.path().addClass("highcharts-mapview-inset-border").add(M.group),U=!1),b.styledMode||this.border.attr({stroke:O.borderColor,"stroke-width":O.borderWidth});let q=this.border.strokeWidth(),z=O.relativeTo==="mapBoundingBox"&&M.getMapBBox()||M.playingField,J=(_.coordinates||[]).reduce((te,ce)=>ce.reduce((xe,V,Y)=>{let[X,ae]=V;return O.units==="percent"&&(X=b.plotLeft+N(`${X}%`,z.width,z.x),ae=b.plotTop+N(`${ae}%`,z.height,z.y)),X=j(X,q),ae=j(ae,q),xe.push(Y===0?["M",X,ae]:["L",X,ae]),xe},te),[]);this.border[U?"animate":"attr"]({d:J})}}destroy(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEac
38h(b=>b())}setUpEvents(){}}return d}),n(r,"Series/Map/MapSeries.js",[r["Core/Animation/AnimationUtilities.js"],r["Series/ColorMapComposition.js"],r["Series/CenteredUtilities.js"],r["Core/Globals.js"],r["Core/Chart/MapChart.js"],r["Series/Map/MapPoint.js"],r["Series/Map/MapSeriesDefaults.js"],r["Maps/MapView.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w,x,T){let{animObject:y,stop:E}=i,{noop:A}=f,{splitPath:j}=u,{column:R,scatter:k}=x.seriesTypes,{extend:B,find:L,fireEvent:C,getNestedProperty:h,isArray:H,defined:P,isNumber:N,isObject:I,merge:F,objectEach:l,pick:d,splat:p}=T;class v extends k{constructor(){super(...arguments),this.processedData=[]}animate(M){let{chart:O,group:_}=this,U=y(this.options.animation);M?_.attr({translateX:O.plotLeft+O.plotWidth/2,translateY:O.plotTop+O.plotHeight/2,scaleX:.001,scaleY:.001}):_.animate({translateX:O.plotLeft,translateY:O.plotTop,scaleX:1,scaleY:1},U)}clearBounds(){this.points.forEach(M=>{delete M.bounds,delete M.insetIndex,delete M.projectedPath}),delete this.bounds}doFullTranslate(){return!!(this.isDirtyData||this.chart.isResizing||!this.hasRendered)}drawMapDataLabels(){super.drawDataLabels(),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)}drawPoints(){let M=this,{chart:O,group:_,transformGroups:U=[]}=this,{mapView:q,renderer:z}=O;if(q){this.transformGroups=U,U[0]||(U[0]=z.g().add(_));for(let J=0,te=q.insets.length;J<te;++J)U[J+1]||U.push(z.g().add(_));this.doFullTranslate()&&(this.points.forEach(J=>{let{graphic:te}=J;J.group=U[typeof J.insetIndex=="number"?J.insetIndex+1:0],te&&te.parentGroup!==J.group&&te.add(J.group)}),R.prototype.drawPoints.apply(this),this.points.forEach(J=>{let te=J.graphic;if(te){let ce=te.animate,xe="";J.name&&(xe+="highcharts-name-"+J.name.replace(/ /g,"-").toLowerCase()),J.properties&&J.properties["hc-key"]&&(xe+=" highcharts-key-"+J.properties["hc-key"].toString().toLowerCase()),xe&&te.addClass(xe),O.styledMode&&te.css(this.pointAttribs(J,J.selected&&"select"||void 0)),te.attr({visibility:!J.visible&&(J.visible||J.isNull)?"hidden":"inherit"}),te.animate=function(V,Y,X){let ae=N(V["stroke-width"])&&!N(te["stroke-width"]),$=N(te["stroke-width"])&&!N(V["stroke-width"]);if(ae||$){let K=d(M.getStrokeWidth(M.options),1)/(O.mapView&&O.mapView.getScale()||1);ae&&(te["stroke-width"]=K),$&&(V["stroke-width"]=K)}return ce.call(te,V,Y,$?function(){te.element.removeAttribute("stroke-width"),delete te["stroke-width"],X&&X.apply(this,arguments)}:X)}}})),U.forEach((J,te)=>{let ce=(te===0?q:q.insets[te-1]).getSVGTransform(),xe=d(this.getStrokeWidth(this.options),1),V=ce.scaleX,Y=ce.scaleY>0?1:-1,X=ae=>{(M.points||[]).forEach($=>{let K,Z=$.graphic;Z&&Z["stroke-width"]&&(K=this.getStrokeWidth($.options))&&Z.attr({"stroke-width":K/ae})})};if(z.globalAnimation&&O.hasRendered&&q.allowTransformAnimation){let ae=Number(J.attr("translateX")),$=Number(J.attr("translateY")),K=Number(J.attr("scaleX")),Z=(ne,oe)=>{let ue=K+(V-K)*oe.pos;J.attr({translateX:ae+(ce.translateX-ae)*oe.pos,translateY:$+(ce.translateY-$)*oe.pos,scaleX:ue,scaleY:ue*Y,"stroke-width":xe/ue}),X(ue)},se=F(y(z.globalAnimation)),ie=se.step;se.step=function(){ie&&ie.apply(this,arguments),Z.apply(this,arguments)},J.attr({animator:0}).animate({animator:1},se,(function(){typeof z.globalAnimation!="boolean"&&z.globalAnimation.complete&&z.globalAnimation.complete({applyDrilldown:!0}),C(this,"mapZoomComplete")}).bind(this))}else E(J),J.attr(F(ce,{"stroke-width":xe/V})),X(V)}),this.isDrilling||this.drawMapDataLabels()}}getProjectedBounds(){if(!this.bounds&&this.chart.mapView){let{insets:M,projection:O}=this.chart.mapView,_=[];(this.points||[]).forEach(U=>{if(U.path||U.geometry){if(typeof U.path=="string"?U.path=j(U.path):H(U.path)&&U.path[0]==="M"&&(U.path=this.chart.renderer.pathToSegments(U.path)),!U.bounds){let q=U.getProjectedBounds(O);if(q){U.labelrank=d(U.labelrank,(q.x2-q.x1)*(q.y2-q.y1));let{midX:z,midY:J}=q;if(M&&N(z)&&N(J)){let te=L(M,ce=>ce.isInside({x:z,y:J}));te&&(delete U.projectedPath,(q=U.getProjectedBounds(te.projection))&&te.allBounds.push(q),U.insetIndex=M.indexOf(te))}U.bounds=q}}U.bounds&&U.insetIndex===void 0&&_.push(U.bounds)}}),this.bounds=w.compositeBounds(_)}return this.bounds}getStrokeWidth(M){let O=this.pointAttrToOptions;return M[O&&O["stroke-width"]||"borderWidth"]}hasData(){return!!this.processedXData.length}pointAttribs(M,O){let{mapView:_,styledMode:U}=M.series.chart,q=U?this.colorAttribs(M):R.prototype.pointAttribs.call(this,M,O),z=this.getStrokeWidth(M.options);if(O){let te=F(this.options.states&&this.options.states[O],M.options.states&&M.options.states[O]||{}),ce=this.getStrokeWidth(te);P(ce)&&(z=ce),q.stroke=te.borderColor??M.color}z&&_&&(z/=_.getScale());let J=this.getStrokeWidth(this.options);return q.dashstyle&&_&&N(J)&&(z=J/_.getScale()),M.visible||(q.fill=this.options.nullColor),P(z)?q["stroke-width"]=z:delete q["stroke-width"],q["stroke-linecap"]=q["stroke-linejoin"]=this.options.linecap,q}updateData(){return!this.processedData&&super.updateData.apply(this,arguments)}setData(M,O=!0,_,U){delete this.bounds,super.setData(M,!1,void 0,U),this.processData(),this.generatePoints(),O&&this.chart.redraw(_)}processData(){let M,O,_,U=this.options,q=U.data,z=this.chart,J=z.options.chart,te=this.joinBy,ce=U.keys||this.pointArrayMap,xe=[],V={},Y=this.chart.mapView,X=Y&&(I(U.mapData,!0)?Y.getGeoMap(U.mapData):Y.geoMap),ae=z.mapTransforms=J.mapTransforms||X&&X["hc-transform"]||z.mapTransforms;ae&&l(ae,K=>{K.rotation&&(K.cosAngle=Math.cos(K.rotation),K.sinAngle=Math.sin(K.rotation))}),H(U.mapData)?_=U.mapData:X&&X.type==="FeatureCollection"&&(this.mapTitle=X.title,_=f.geojson(X,this.type,this)),this.processedData=[];let $=this.processedData;if(q){let K;for(let Z=0,se=q.length;Z<se;++Z){if(N(K=q[Z]))$[Z]={value:K};else if(H(K)){let ie=0;$[Z]={},!U.keys&&K.length>ce.length&&typeof K[0]=="string"&&($[Z]["hc-key"]=K[0],++ie);for(let ne=0;ne<ce.length;++ne,++ie)ce[ne]&&K[ie]!==void 0&&(ce[ne].indexOf(".")>0?m.prototype.setNestedProperty($[Z],K[ie],ce[ne]):$[Z][ce[ne]]=K[ie])}else $[Z]=q[Z];te&&te[0]==="_i"&&($[Z]._i=Z)}}if(_){this.mapData=_,this.mapMap={};for(let K=0;K<_.length;K++)O=(M=_[K]).properties,M._i=K,te[0]&&O&&O[te[0]]&&(M[te[0]]=O[te[0]]),V[M[te[0]]]=M;if(this.mapMap=V,te[1]){let K=te[1];$.forEach(Z=>{let se=h(K,Z);V[se]&&xe.push(V[se])})}if(U.allAreas){if(te[1]){let Z=te[1];$.forEach(se=>{xe.push(h(Z,se))})}let K="|"+xe.map(function(Z){return Z&&Z[te[0]]}).join("|")+"|";_.forEach(Z=>{te[0]&&K.indexOf("|"+Z[te[0]]+"|")!==-1||$.push(F(Z,{value:null}))})}}this.processedXData=Array($.length)}setOptions(M){let O=super.setOptions(M),_=O.joinBy;return O.joinBy===null&&(_="_i"),(_=this.joinBy=p(_))[1]||(_[1]=_[0]),O}translate(){let M=this.doFullTranslate(),O=this.chart.mapView,_=O&&O.projection;if(this.chart.hasRendered&&(this.isDirtyData||!this.hasRendered)&&(this.processData(),this.generatePoints(),delete this.bounds,!O||O.userOptions.center||N(O.userOptions.zoom)||O.zoom!==O.minZoom?this.getProjectedBounds():O.fitToBounds(void 0,void 0,!1)),O){let U=O.getSVGTransform();
38this.points.forEach(q=>{let z=N(q.insetIndex)&&O.insets[q.insetIndex].getSVGTransform()||U;z&&q.bounds&&N(q.bounds.midX)&&N(q.bounds.midY)&&(q.plotX=q.bounds.midX*z.scaleX+z.translateX,q.plotY=q.bounds.midY*z.scaleY+z.translateY),M&&(q.shapeType="path",q.shapeArgs={d:m.getProjectedPath(q,_)}),q.hiddenInDataClass||(q.projectedPath&&!q.projectedPath.length?q.setVisible(!1):q.visible||q.setVisible(!0))})}C(this,"afterTranslate")}update(M){M.mapData&&this.chart.mapView?.recommendMapView(this.chart,[this.chart.options.chart.map,...(this.chart.options.series||[]).map((O,_)=>_===this._i?M.mapData:O.mapData)],!0),super.update.apply(this,arguments)}}return v.defaultOptions=F(k.defaultOptions,S),B(v.prototype,{type:"map",axisTypes:a.seriesMembers.axisTypes,colorAttribs:a.seriesMembers.colorAttribs,colorKey:a.seriesMembers.colorKey,directTouch:!0,drawDataLabels:A,drawGraph:A,forceDL:!0,getCenter:o.getCenter,getExtremesFromAll:!0,getSymbol:A,isCartesian:!1,parallelArrays:a.seriesMembers.parallelArrays,pointArrayMap:a.seriesMembers.pointArrayMap,pointClass:m,preserveAspectRatio:!0,searchPoint:A,trackerGroups:a.seriesMembers.trackerGroups,useMapGeometry:!0}),a.compose(v),x.registerSeriesType("map",v),v}),n(r,"Series/MapLine/MapLineSeriesDefaults.js",[],function(){return{lineWidth:1,fillColor:"none",legendSymbol:"lineMarker"}}),n(r,"Series/MapLine/MapLineSeries.js",[r["Series/MapLine/MapLineSeriesDefaults.js"],r["Series/Map/MapSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f){let{extend:u,merge:m}=f;class S extends a{pointAttribs(x,T){let y=super.pointAttribs(x,T);return y.fill=this.options.fillColor,y}}return S.defaultOptions=m(a.defaultOptions,i),u(S.prototype,{type:"mapline",colorProp:"stroke",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),o.registerSeriesType("mapline",S),S}),n(r,"Series/MapPoint/MapPointPoint.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a){let{scatter:o}=i.seriesTypes,{isNumber:f}=a;class u extends o.prototype.pointClass{isValid(){return!!(this.options.geometry||f(this.x)&&f(this.y)||f(this.options.lon)&&f(this.options.lat))}}return u}),n(r,"Series/MapPoint/MapPointSeriesDefaults.js",[],function(){return{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}},legendSymbol:"lineMarker"}}),n(r,"Series/MapPoint/MapPointSeries.js",[r["Core/Globals.js"],r["Series/MapPoint/MapPointPoint.js"],r["Series/MapPoint/MapPointSeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m){let{noop:S}=i,{map:w,scatter:x}=f.seriesTypes,{extend:T,fireEvent:y,isNumber:E,merge:A}=m;class j extends x{constructor(){super(...arguments),this.clearBounds=w.prototype.clearBounds}drawDataLabels(){super.drawDataLabels(),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)}projectPoint(k){let B=this.chart.mapView;if(B){let{geometry:L,lon:C,lat:h}=k,H=L&&L.type==="Point"&&L.coordinates;if(E(C)&&E(h)&&(H=[C,h]),H)return B.lonLatToProjectedUnits({lon:H[0],lat:H[1]})}}translate(){let k=this.chart.mapView;if(this.processedXData||this.processData(),this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),k){let B=k.getSVGTransform(),{hasCoordinates:L}=k.projection;this.points.forEach(C=>{let h,{x:H,y:P}=C,N=E(C.insetIndex)&&k.insets[C.insetIndex].getSVGTransform()||B,I=this.projectPoint(C.options)||C.properties&&this.projectPoint(C.properties);if(I?(H=I.x,P=I.y):C.bounds&&(H=C.bounds.midX,P=C.bounds.midY,N&&E(
38H)&&E(P)&&(C.plotX=H*N.scaleX+N.translateX,C.plotY=P*N.scaleY+N.translateY,h=!0)),E(H)&&E(P)){if(!h){let F=k.projectedUnitsToPixels({x:H,y:P});C.plotX=F.x,C.plotY=L?F.y:this.chart.plotHeight-F.y}}else C.y=C.plotX=C.plotY=void 0;C.isInside=this.isPointInside(C),C.zone=this.zones.length?C.getZone():void 0})}y(this,"afterTranslate")}}return j.defaultOptions=A(x.defaultOptions,o),u.prototype.symbols.mapmarker=(R,k,B,L,C)=>{let h,H,P=C&&C.context==="legend";P?(h=R+B/2,H=k+L):C&&typeof C.anchorX=="number"&&typeof C.anchorY=="number"?(h=C.anchorX,H=C.anchorY):(h=R+B/2,H=k+L/2,k-=L);let N=P?L/3:L/2;return[["M",h,H],["C",h,H,h-N,k+1.5*N,h-N,k+N],["A",N,N,1,1,1,h+N,k+N],["C",h+N,k+1.5*N,h,H,h,H],["Z"]]},T(j.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:a,searchPoint:S,useMapGeometry:!0}),f.registerSeriesType("mappoint",j),j}),n(r,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),n(r,"Series/Bubble/BubbleLegendItem.js",[r["Core/Color/Color.js"],r["Core/Templating.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o,f){let{parse:u}=i,{noop:m}=o,{arrayMax:S,arrayMin:w,isNumber:x,merge:T,pick:y,stableSort:E}=f;return class{constructor(A,j){this.setState=m,this.init(A,j)}init(A,j){this.options=A,this.visible=!0,this.chart=j.chart,this.legend=j}addToLegend(A){A.splice(this.options.legendIndex,0,this)}drawLegendSymbol(A){let j,R=y(A.options.itemDistance,20),k=this.legendItem||{},B=this.options,L=B.ranges,C=B.connectorDistance;if(!L||!L.length||!x(L[0].value)){A.options.bubbleLegend.autoRanges=!0;return}E(L,function(N,I){return I.value-N.value}),this.ranges=L,this.setOptions(),this.render();let h=this.getMaxLabelSize(),H=this.ranges[0].radius,P=2*H;j=(j=C-H+h.width)>0?j:0,this.maxLabel=h,this.movementX=B.labels.align==="left"?j:0,k.labelWidth=P+j+R,k.labelHeight=P+h.height/2}setOptions(){let A=this.ranges,j=this.options,R=this.chart.series[j.seriesIndex],k=this.legend.baseline,B={zIndex:j.zIndex,"stroke-width":j.borderWidth},L={zIndex:j.zIndex,"stroke-width":j.connectorWidth},C={align:this.legend.options.rtl||j.labels.align==="left"?"right":"left",zIndex:j.zIndex},h=R.options.marker.fillOpacity,H=this.chart.styledMode;A.forEach(function(P,N){H||(B.stroke=y(P.borderColor,j.borderColor,R.color),B.fill=y(P.color,j.color,h!==1?u(R.color).setOpacity(h).get("rgba"):R.color),L.stroke=y(P.connectorColor,j.connectorColor,R.color)),A[N].radius=this.getRangeRadius(P.value),A[N]=T(A[N],{center:A[0].radius-A[N].radius+k}),H||T(!0,A[N],{bubbleAttribs:T(B),connectorAttribs:T(L),labelAttribs:C})},this)}getRangeRadius(A){let j=this.options,R=this.options.seriesIndex,k=this.chart.series[R],B=j.ranges[0].value,L=j.ranges[j.ranges.length-1].value,C=j.minSize,h=j.maxSize;return k.getRadius.call(this,L,B,C,h,A)}render(){let A=this.legendItem||{},j=this.chart.renderer,R=this.options.zThreshold;for(let k of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),A.symbol=j.g("bubble-legend"),A.label=j.g("bubble-legend-item").css(this.legend.itemStyle||{}),A.symbol.translateX=0,A.symbol.translateY=0,A.symbol.add(A.label),A.label.add(A.group),this.ranges))k.value>=R&&this.renderRange(k);this.hideOverlappingLabels()}renderRange(A){let j=this.ranges[0],R=this.legend,k=this.options,B=k.labels,L=this.chart,C=L.series[k.seriesIndex],h=L.renderer,H=this.symbols,P=H.labels,N=A.center,I=Math.abs(A.radius),F=k.connectorDistance||0,l=B.align,d=R.options.rtl,p=k.borderWidth,v=k.connectorWidth,b=j.radius||0,M=N-I-p/2+v/2,O=(M%1?1:.5)-(v%2?0:.5),_=h.styledMode,U=d||l==="left"?-F:F;l==="center"&&(U=0,k.connectorDistance=0,A.labelAttribs.align="center"),H.bubbleItems.push(h.circle(b,N+O,I).attr(_?{}:A.bubbleAttribs).addClass((_?"highcharts-color-"+C.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(k.className||"")).add(this.legendItem.symbol)),H.connectors.push(h.path(h.crispLine([["M",b,M],["L",b+U,M]],k.connectorWidth)).attr(_?{}:A.connectorAttribs).addClass((_?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(k.connectorClassName||"")).add(this.legendItem.symbol));let q=h.text(this.formatLabel(A)).attr(_?{}:A.labelAttribs).css(_?{}:B.style).addClass("highcharts-bubble-legend-labels "+(k.labels.className||"")).add(this.legendItem.symbol),z={x:b+U+k.labels.x,y:M+k.labels.y+.4*q.getBBox().height};
vendor: 4,666 bytes, line 38
38q.attr(z),P.push(q),q.placed=!0,q.alignAttr=z}getMaxLabelSize(){let A,j;return this.symbols.labels.forEach(function(R){j=R.getBBox(!0),A=A?j.width>A.width?j:A:j}),A||{}}formatLabel(A){let j=this.options,R=j.labels.formatter,k=j.labels.format,{numberFormatter:B}=this.chart;return k?a.format(k,A):R?R.call(A):B(A.value,1)}hideOverlappingLabels(){let A=this.chart,j=this.options.labels.allowOverlap,R=this.symbols;!j&&R&&(A.hideOverlappingLabels(R.labels),R.labels.forEach(function(k,B){k.newOpacity?k.newOpacity!==k.oldOpacity&&R.connectors[B].show():R.connectors[B].hide()}))}getRanges(){let A=this.legend.bubbleLegend,j=A.chart.series,R=A.options.ranges,k,B,L=Number.MAX_VALUE,C=-Number.MAX_VALUE;return j.forEach(function(h){h.isBubble&&!h.ignoreSeries&&(B=h.zData.filter(x)).length&&(L=y(h.options.zMin,Math.min(L,Math.max(w(B),h.options.displayNegative===!1?h.options.zThreshold:-Number.MAX_VALUE))),C=y(h.options.zMax,Math.max(C,S(B))))}),k=L===C?[{value:C}]:[{value:L},{value:(L+C)/2},{value:C,autoRanges:!0}],R.length&&R[0].radius&&k.reverse(),k.forEach(function(h,H){R&&R[H]&&(k[H]=T(R[H],h))}),k}predictBubbleSizes(){let A=this.chart,j=A.legend.options,R=j.floating,k=j.layout==="horizontal",B=k?A.legend.lastLineHeight:0,L=A.plotSizeX,C=A.plotSizeY,h=A.series[this.options.seriesIndex],H=h.getPxExtremes(),P=Math.ceil(H.minPxSize),N=Math.ceil(H.maxPxSize),I=Math.min(C,L),F,l=h.options.maxSize;return R||!/%$/.test(l)?F=N:(F=(I+B)*(l=parseFloat(l))/100/(l/100+1),(k&&C-F>=L||!k&&L-F>=C)&&(F=N)),[P,Math.ceil(F)]}updateRanges(A,j){let R=this.legend.options.bubbleLegend;R.minSize=A,R.maxSize=j,R.ranges=this.getRanges()}correctSizes(){let A=this.legend,j=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(j.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,j.maxPxSize),A.render())}}}),n(r,"Series/Bubble/BubbleLegendComposition.js",[r["Series/Bubble/BubbleLegendDefaults.js"],r["Series/Bubble/BubbleLegendItem.js"],r["Core/Defaults.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o,f,u){let{setOptions:m}=o,{composed:S}=f,{addEvent:w,objectEach:x,pushUnique:T,wrap:y}=u;function E(L,C,h){let H,P,N,I=this.legend,F=A(this)>=0;I&&I.options.enabled&&I.bubbleLegend&&I.options.bubbleLegend.autoRanges&&F?(H=I.bubbleLegend.options,P=I.bubbleLegend.predictBubbleSizes(),I.bubbleLegend.updateRanges(P[0],P[1]),H.placed||(I.group.placed=!1,I.allItems.forEach(l=>{(N=l.legendItem||{}).group&&(N.group.translateY=void 0)})),I.render(),H.placed||(this.getMargins(),this.axes.forEach(function(l){l.visible&&l.render(),H.placed||(l.setScale(),l.updateNames(),x(l.ticks,function(d){d.isNew=!0,d.isNewLabel=!0}))}),this.getMargins()),H.placed=!0,L.call(this,C,h),I.bubbleLegend.correctSizes(),B(I,j(I))):(L.call(this,C,h),I&&I.options.enabled&&I.bubbleLegend&&(I.render(),B(I,j(I))))}function A(L){let C=L.series,h=0;for(;h<C.length;){if(C[h]&&C[h].isBubble&&C[h].visible&&C[h].zData.length)return h;h++}return-1}function j(L){let C=L.allItems,h=[],H=C.length,P,N,I,F=0,l=0;for(F=0;F<H;F++)if(N=C[F].legendItem||{},I=(C[F+1]||{}).legendItem||{},N.labelHeight&&(C[F].itemHeight=N.labelHeight),C[F]===C[H-1]||N.y!==I.y){for(h.push({height:0}),P=h[h.length-1];l<=F;l++)C[l].itemHeight>P.height&&(P.height=C[l].itemHeight);P.step=F}return h}function R(L){let C=this.bubbleLegend,h=this.options,H=h.bubbleLegend,P=A(this.chart);C&&C.ranges&&C.ranges.length&&(H.ranges.length&&(H.autoRanges=!!H.ranges[0].autoRanges),this.destroyItem(C)),P>=0&&h.enabled&&H.enabled&&(H.seriesIndex=P,this.bubbleLegend=new a(H,this),this.bubbleLegend.addToLegend(L.allItems))}function k(L){let C;if(L.defaultPrevented)return!1;let h=L.legendItem,H=this.chart,P=h.visible;this&&this.bubbleLegend&&(h.visible=!P,h.ignoreSeries=P,C=A(H)>=0,this.bubbleLegend.visible!==C&&(this.update({bubbleLegend:{enabled:C}}),this.bubbleLegend.visible=C),h.visible=P)}function B(L,C){let h=L.allItems,H=L.options.rtl,P,N,I,F,l=0;h.forEach((d,p)=>{(F=d.legendItem||{}).group&&(P=F.group.translateX||0,N=F.y||0,((I=d.movementX)||H&&d.ranges)&&(I=H?P-d.options.maxSize/2:P+I,F.group.attr({translateX:I})),p>C[l].step&&l++,F.group.attr({translateY:Math.round(N+C[l].height/2)}),F.y=N+C[l].height/2)})}return{compose:function(L,C){T(S,"Series.BubbleLegend")&&(m({legend:{bubbleLegend:i}}),y(L.prototype,"drawChartBox",E),w(C,"afterGetAllItems",R),w(C,"itemClick",k))}}}),n(r,"Series/Bubble/BubblePoint.js",[r["Core/Series/Point.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{seriesTypes:{scatter:{prototype:{pointClass:f}}}}=a,{extend:u}=o;class m extends f{haloPath(w){let x=(w&&this.marker&&this.marker.radiu
38s||0)+w;if(this.series.chart.inverted){let T=this.pos()||[0,0],{xAxis:y,yAxis:E,chart:A}=this.series;return A.renderer.symbols.circle(y.len-T[1]-x,E.len-T[0]-x,2*x,2*x)}return i.prototype.haloPath.call(this,x)}}return u(m.prototype,{ttBelow:!1}),m}),n(r,"Series/Bubble/BubbleSeries.js",[r["Series/Bubble/BubbleLegendComposition.js"],r["Series/Bubble/BubblePoint.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m){let{parse:S}=o,{composed:w,noop:x}=f,{series:T,seriesTypes:{column:{prototype:y},scatter:E}}=u,{addEvent:A,arrayMax:j,arrayMin:R,clamp:k,extend:B,isNumber:L,merge:C,pick:h,pushUnique:H}=m;function P(){let I=this.len,{coll:F,isXAxis:l,min:d}=this,p=l?"xData":"yData",v=(this.max||0)-(d||0),b=0,M=I,O=I/v,_;(F==="xAxis"||F==="yAxis")&&(this.series.forEach(U=>{if(U.bubblePadding&&U.reserveSpace()){this.allowZoomOutside=!0,_=!0;let q=U[p];if(l&&((U.onPoint||U).getRadii(0,0,U),U.onPoint&&(U.radii=U.onPoint.radii)),v>0){let z=q.length;for(;z--;)if(L(q[z])&&this.dataMin<=q[z]&&q[z]<=this.max){let J=U.radii&&U.radii[z]||0;b=Math.min((q[z]-d)*O-J,b),M=Math.max((q[z]-d)*O+J,M)}}}}),_&&v>0&&!this.logarithmic&&(M-=I,O*=(I+Math.max(0,b)-Math.min(M,I))/I,[["min","userMin",b],["max","userMax",M]].forEach(U=>{h(this.options[U[0]],this[U[1]])===void 0&&(this[U[0]]+=U[2]/O)})))}class N extends E{static compose(F,l,d){i.compose(l,d),H(w,"Series.Bubble")&&A(F,"foundExtremes",P)}animate(F){!F&&this.points.length<this.options.animationLimit&&this.points.forEach(function(l){let{graphic:d,plotX:p=0,plotY:v=0}=l;d&&d.width&&(this.hasRendered||d.attr({x:p,y:v,width:1,height:1}),d.animate(this.markerAttribs(l),this.options.animation))},this)}getRadii(){let F=this.zData,l=this.yData,d=[],p,v,b,M=this.chart.bubbleZExtremes,{minPxSize:O,maxPxSize:_}=this.getPxExtremes();if(!M){let U,q=Number.MAX_VALUE,z=-Number.MAX_VALUE;this.chart.series.forEach(J=>{if(J.bubblePadding&&J.reserveSpace()){let te=(J.onPoint||J).getZExtremes();te&&(q=Math.min(h(q,te.zMin),te.zMin),z=Math.max(h(z,te.zMax),te.zMax),U=!0)}}),U?(M={zMin:q,zMax:z},this.chart.bubbleZExtremes=M):M={zMin:0,zMax:0}}for(v=0,p=F.length;v<p;v++)b=F[v],d.push(this.getRadius(M.zMin,M.zMax,O,_,b,l&&l[v]));this.radii=d}getRadius(F,l,d,p,v,b){let M=this.options,O=M.sizeBy!=="width",_=M.zThreshold,U=l-F,q=.5;if(b===null||v===null)return null;if(L(v)){if(M.sizeByAbsoluteValue&&(v=Math.abs(v-_),l=U=Math.max(l-_,Math.abs(F-_)),F=0),v<F)return d/2-1;U>0&&(q=(v-F)/U)}return O&&q>=0&&(q=Math.sqrt(q)),Math.ceil(d+q*(p-d))/2}hasData(){return!!this.processedXData.length}markerAttribs(F,l){let d=super.markerAttribs(F,l),{height:p=0,width:v=0}=d;return this.chart.inverted?B(d,{x:(F.plotX||0)-v/2,y:(F.plotY||0)-p/2}):d}pointAttribs(F,l){let d=this.options.marker.fillOpacity,p=T.prototype.pointAttribs.call(this,F,l);return d!==1&&(p.fill=S(p.fill).setOpacity(d).get("rgba")),p}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{data:F,options:l,radii:d}=this,{minPxSize:p}=this.getPxExtremes(),v=F.length;for(;v--;){let b=F[v],M=d?d[v]:0;this.zoneAxis==="z"&&(b.negative=(b.z||0)<(l.zThreshold||0)),L(M)&&M>=p/2?(b.marker=B(b.marker,{radius:M,width:2*M,height:2*M}),b.dlBox={x:b.plotX-M,y:b.plotY-M,width:2*M,height:2*M}):(b.shapeArgs=b.plotY=b.dlBox=void 0,b.isInside=!1)}}getPxExtremes(){let F=Math.min(this.chart.plotWidth,this.chart.plotHeight),l=v=>{let b;return typeof v=="string"&&(b=/%$/.test(v),v=parseInt(v,10)),b?F*v/100:v},d=l(h(this.options.minSize,8)),p=Math.max(l(h(this.options.maxSize,"20%")),d);return{minPxSize:d,maxPxSize:p}}getZExtremes(){let F=this.options,l=(this.zData||[]).filter(L);if(l.length){let d=h(F.zMin,k(R(l),F.displayNegative===!1?F.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),p=h(F.zMax,j(l));if(L(d)&&L(p))return{zMin:d,zMax:p}}}}return N.defaultOptions=C(E.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:I}=this.series.chart,{z:F}=this.point;return L(F)?I(F,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,
38states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),B(N.prototype,{alignDataLabel:y.alignDataLabel,applyZones:x,bubblePadding:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:a,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),A(N,"updatedData",I=>{delete I.target.chart.bubbleZExtremes}),A(N,"remove",I=>{delete I.target.chart.bubbleZExtremes}),u.registerSeriesType("bubble",N),N}),n(r,"Series/MapBubble/MapBubblePoint.js",[r["Series/Bubble/BubblePoint.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o){let{seriesTypes:{map:{prototype:{pointClass:{prototype:f}}}}}=a,{extend:u}=o;class m extends i{isValid(){return typeof this.z=="number"}}return u(m.prototype,{applyOptions:f.applyOptions,getProjectedBounds:f.getProjectedBounds}),m}),n(r,"Series/MapBubble/MapBubbleSeries.js",[r["Series/Bubble/BubbleSeries.js"],r["Series/MapBubble/MapBubblePoint.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a,o,f){let{seriesTypes:{map:{prototype:u},mappoint:{prototype:m}}}=o,{extend:S,merge:w}=f;class x extends i{constructor(){super(...arguments),this.clearBounds=u.clearBounds}searchPoint(y,E){return this.searchKDTree({plotX:y.chartX-this.chart.plotLeft,plotY:y.chartY-this.chart.plotTop},E,y)}translate(){m.translate.call(this),this.getRadii(),this.translateBubble()}updateParallelArrays(y,E,A){super.updateParallelArrays.call(this,y,E,A);let j=this.processedXData,R=this.xData;j&&R&&(j.length=R.length)}}return x.defaultOptions=w(i.defaultOptions,{lineWidth:0,animationLimit:500,joinBy:"hc-key",tooltip:{pointFormat:"{point.name}: {point.z}"}}),S(x.prototype,{type:"mapbubble",axisTypes:["colorAxis"],getProjectedBounds:u.getProjectedBounds,isCartesian:!1,pointArrayMap:["z"],pointClass:a,processData:u.processData,projectPoint:m.projectPoint,kdAxisArray:["plotX","plotY"],setData:u.setData,setOptions:u.setOptions,updateData:u.updateData,useMapGeometry:!0,xyFromShape:!0}),o.registerSeriesType("mapbubble",x),x}),n(r,"Series/Heatmap/HeatmapPoint.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],function(i,a){let{scatter:{prototype:{pointClass:o}}}=i.seriesTypes,{clamp:f,defined:u,extend:m,pick:S}=a;class w extends o{applyOptions(T,y){return(this.isNull||this.value===null)&&delete this.color,super.applyOptions(T,y),this.formatPrefix=this.isNull||this.value===null?"null":"point",this}getCellAttributes(){let T=this.series,y=T.options,E=(y.colsize||1)/2,A=(y.rowsize||1)/2,j=T.xAxis,R=T.yAxis,k=this.options.marker||T.options.marker,B=T.pointPlacementToXValue(),L=S(this.pointPadding,y.pointPadding,0),C={x1:f(Math.round(j.len-j.translate(this.x-E,!1,!0,!1,!0,-B)),-j.len,2*j.len),x2:f(Math.round(j.len-j.translate(this.x+E,!1,!0,!1,!0,-B)),-j.len,2*j.len),y1:f(Math.round(R.translate(this.y-A,!1,!0,!1,!0)),-R.len,2*R.len),y2:f(Math.round(R.translate(this.y+A,!1,!0,!1,!0)),-R.len,2*R.len)};for(let h of[["width","x"],["height","y"]]){let H=h[0],P=h[1],N=P+"1",I=P+"2",F=Math.abs(C[N]-C[I]),l=k&&k.lineWidth||0,d=Math.abs(C[N]+C[I])/2,p=k&&k[H];if(u(p)&&p<F){let v=p/2+l/2;C[N]=d-v,C[I]=d+v}L&&((P==="x"&&j.reversed||P==="y"&&!R.reversed)&&(N=I,I=P+"1"),C[N]+=L,C[I]-=L)}return C}haloPath(T){if(!T)return[];let{x:y=0,y:E=0,width:A=0,height:j=0}=this.shapeArgs||{};return[["M",y-T,E-T],["L",y-T,E+j+T],["L",y+A+T,E+j+T],["L",y+A+T,E-T],["Z"]]}isValid(){return this.value!==1/0&&this.value!==-1/0}}return m(w.prototype,{dataLabelOnNull:!0,moveToTopOnHover:!0,ttBelow:!1}),w}),n(r,"Series/Heatmap/HeatmapSeriesDefaults.js",[r["Core/Utilities.js"]],function(i){let{isNumber:a}=i;return{animation:!1,borderRadius:0,borderWidth:0,interpolation:!1,nullColor:"#f7f7f7",dataLabels:{formatter:function(){let{numberFormatter:o}=this.series.chart,{value:f}=this.point;return a(f)?o(f,-1):""},inside:!0,verticalAlign:"middle",crop:!1,overflow:"allow",padding:0},marker:{symbol:"rect",radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}},legendSymbol:"rectangle"}}),n(r,"Series/InterpolationUtilities.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a){let{doc:o}=i,{defined:f,pick:u}=a;return{colorFromPoint:function(m,S){let w=S.series.colorAxis;if(w){let x=w.toColor(m||0,S).split(")")[0].split("(")[1].split(",").map(T=>
38u(parseFloat(T),parseInt(T,10)));return x[3]=255*u(x[3],1),f(m)&&S.visible||(x[3]=0),x}return[0,0,0,0]},getContext:function(m){let{canvas:S,context:w}=m;return S&&w?(w.clearRect(0,0,S.width,S.height),w):(m.canvas=o.createElement("canvas"),m.context=m.canvas.getContext("2d",{willReadFrequently:!0})||void 0,m.context)}}}),n(r,"Series/Heatmap/HeatmapSeries.js",[r["Core/Color/Color.js"],r["Series/ColorMapComposition.js"],r["Series/Heatmap/HeatmapPoint.js"],r["Series/Heatmap/HeatmapSeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"],r["Series/InterpolationUtilities.js"]],function(i,a,o,f,u,m,S,w){let{series:x,seriesTypes:{column:T,scatter:y}}=u,{prototype:{symbols:E}}=m,{addEvent:A,extend:j,fireEvent:R,isNumber:k,merge:B,pick:L}=S,{colorFromPoint:C,getContext:h}=w;class H extends y{constructor(){super(...arguments),this.valueMax=NaN,this.valueMin=NaN,this.isDirtyCanvas=!0}drawPoints(){let N=this,I=N.options,F=I.interpolation,l=I.marker||{};if(F){let{image:d,chart:p,xAxis:v,yAxis:b}=N,{reversed:M=!1,len:O}=v,{reversed:_=!1,len:U}=b,q={width:O,height:U};if(!d||N.isDirtyData||N.isDirtyCanvas){let z=h(N),{canvas:J,options:{colsize:te=1,rowsize:ce=1},points:xe,points:{length:V}}=N,Y=p.colorAxis&&p.colorAxis[0];if(J&&z&&Y){let{min:X,max:ae}=v.getExtremes(),{min:$,max:K}=b.getExtremes(),Z=ae-X,se=K-$,ie=Math.round(Z/te/8*8),ne=Math.round(se/ce/8*8),[oe,ue]=[[ie,ie/Z,M,"ceil"],[ne,ne/se,!_,"floor"]].map(([he,me,ke,Ce])=>ke?Me=>Math[Ce](he-me*Me):Me=>Math[Ce](me*Me)),ye=J.width=ie+1,be=ye*(J.height=ne+1),Te=(V-1)/be,fe=new Uint8ClampedArray(4*be),de=(he,me)=>4*Math.ceil(ye*ue(me-$)+oe(he-X));N.buildKDTree();for(let he=0;he<be;he++){let me=xe[Math.ceil(Te*he)],{x:ke,y:Ce}=me;fe.set(C(me.value,me),de(ke,Ce))}z.putImageData(new ImageData(fe,ye),0,0),d?d.attr({...q,href:J.toDataURL("image/png",1)}):(N.directTouch=!1,N.image=p.renderer.image(J.toDataURL("image/png",1)).attr(q).add(N.group))}N.isDirtyCanvas=!1}else(d.width!==O||d.height!==U)&&d.attr(q)}else(l.enabled||N._hasPointMarkers)&&(x.prototype.drawPoints.call(N),N.points.forEach(d=>{d.graphic&&(d.graphic[N.chart.styledMode?"css":"animate"](N.colorAttribs(d)),d.value===null&&d.graphic.addClass("highcharts-null-point"))}))}getExtremes(){let{dataMin:N,dataMax:I}=x.prototype.getExtremes.call(this,this.valueData);return k(N)&&(this.valueMin=N),k(I)&&(this.valueMax=I),x.prototype.getExtremes.call(this)}getValidPoints(N,I){return x.prototype.getValidPoints.call(this,N,I,!0)}hasData(){return!!this.xData}init(){super.init.apply(this,arguments);let N=this.options;N.pointRange=L(N.pointRange,N.colsize||1),this.yAxis.axisPointRange=N.rowsize||1,E.ellipse=E.circle,N.marker&&k(N.borderRadius)&&(N.marker.r=N.borderRadius)}markerAttribs(N,I){let F=N.shapeArgs||{};if(N.hasImage)return{x:N.plotX,y:N.plotY};if(I&&I!=="normal"){let l=N.options.marker||{},d=this.options.marker||{},p=d.states&&d.states[I]||{},v=l.states&&l.states[I]||{},b=(v.width||p.width||F.width||0)+(v.widthPlus||p.widthPlus||0),M=(v.height||p.height||F.height||0)+(v.heightPlus||p.heightPlus||0);return{x:(F.x||0)+((F.width||0)-b)/2,y:(F.y||0)+((F.height||0)-M)/2,width:b,height:M}}return F}pointAttribs(N,I){let F=x.prototype.pointAttribs.call(this,N,I),l=this.options||{},d=this.chart.options.plotOptions||{},p=d.series||{},v=d.heatmap||{},b=N&&N.options.borderColor||l.borderColor||v.borderColor||p.borderColor,M=N&&N.options.borderWidth||l.borderWidth||v.borderWidth||p.borderWidth||F["stroke-width"];if(F.stroke=N&&N.marker&&N.marker.lineColor||l.marker&&l.marker.lineColor||b||this.color,F["stroke-width"]=M,I&&I!=="normal"){let O=B(l.states&&l.states[I],l.marker&&l.marker.states&&l.marker.states[I],N&&N.options.states&&N.options.states[I]||{});F.fill=O.color||i.parse(F.fill).brighten(O.brightness||0).get(),F.stroke=O.lineColor||F.stroke}return F}translate(){let{borderRadius:N,marker:I}=this.options,F=I&&I.symbol||"rect",l=E[F]?F:"rect",d=["circle","square"].indexOf(l)!==-1;if(!this.processedXData){let{xData:p,yData:v}=this.getProcessedData();this.processedXData=p,this.processedYData=v}for(let p of(this.generatePoints(),this.points)){let v=p.getCellAttributes(),b=Math.min(v.x1,v.x2),M=Math.min(v.y1,v.y2),O=Math.max(Math.abs(v.x2-v.x1),0),_=Math.max(Math.abs(v.y2-v.y1),0);if(p.hasImage=(p.marker&&p.marker.symbol||F).indexOf("url")===0,d){let U=Math.abs(O-_);
38b=Math.min(v.x1,v.x2)+(O<_?0:U/2),M=Math.min(v.y1,v.y2)+(O<_?U/2:0),O=_=Math.min(O,_)}p.hasImage&&(p.marker={width:O,height:_}),p.plotX=p.clientX=(v.x1+v.x2)/2,p.plotY=(v.y1+v.y2)/2,p.shapeType="path",p.shapeArgs=B(!0,{x:b,y:M,width:O,height:_},{d:E[l](b,M,O,_,{r:k(N)?N:0})})}R(this,"afterTranslate")}}return H.defaultOptions=B(y.defaultOptions,f),A(H,"afterDataClassLegendClick",function(){this.isDirtyCanvas=!0,this.drawPoints()}),j(H.prototype,{axisTypes:a.seriesMembers.axisTypes,colorKey:a.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:a.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:o,specialGroup:"group",trackerGroups:a.seriesMembers.trackerGroups,alignDataLabel:T.prototype.alignDataLabel,colorAttribs:a.seriesMembers.colorAttribs,getSymbol:x.prototype.getSymbol}),a.compose(H),u.registerSeriesType("heatmap",H),H}),n(r,"masters/modules/map.src.js",[r["Core/Globals.js"],r["Maps/MapNavigation.js"],r["Series/ColorMapComposition.js"],r["Series/MapBubble/MapBubbleSeries.js"],r["Maps/GeoJSONComposition.js"],r["Core/Chart/MapChart.js"],r["Maps/MapView.js"],r["Maps/Projection.js"]],function(i,a,o,f,u,m,S,w){return i.ColorMapComposition=o,i.MapChart=i.MapChart||m,i.MapNavigation=i.MapNavigation||a,i.MapView=i.MapView||S,i.Projection=i.Projection||w,i.mapChart=i.Map=i.MapChart.mapChart,i.maps=i.MapChart.maps,i.geojson=u.geojson,i.topo2geo=u.topo2geo,u.compose(i.Chart),f.compose(i.Axis,i.Chart,i.Legend),a.compose(m,i.Pointer,i.SVGRenderer),S.compose(m),i}),n(r,"masters/highmaps.src.js",[r["masters/highcharts.src.js"]],function(i){return i.product="Highmaps",i}),r["masters/highmaps.src.js"]._modules=r,r["masters/highmaps.src.js"]})})(jo)),jo.exports}var my=fy();const Ri=Ur(my);var el={exports:{}},u9;function gy(){return u9||(u9=1,(function(t){(function(e){t.exports?(e.default=e,t.exports=e):e(typeof Highcharts<"u"?Highcharts:void 0)})(function(e){var r=e?e._modules:{};function n(i,a,o,f){i.hasOwnProperty(a)||(i[a]=f.apply(null,o),typeof CustomEvent=="function"&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:a,module:i[a]}})))}n(r,"Core/Chart/ChartNavigationComposition.js",[],function(){var i;return(function(a){a.compose=function(f){return f.navigation||(f.navigation=new o(f)),f};class o{constructor(u){this.updates=[],this.chart=u}addUpdate(u){this.chart.navigation.updates.push(u)}update(u,m){this.updates.forEach(S=>{S.call(this.chart,u,m)})}}a.Additions=o})(i||(i={})),i}),n(r,"Extensions/Exporting/ExportingDefaults.js",[r["Core/Globals.js"]],function(i){let{isTouchDevice:a}=i;return{exporting:{allowTableSorting:!0,type:"image/png",url:"https://export.highcharts.com/",pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:["viewFullscreen","printChart","separator","downloadPNG","downloadJPEG","downloadPDF","downloadSVG"]}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen&&this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:"right",buttonSpacing:3,height:28,verticalAlign:"top",width:28,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",padding:5,stroke:"none","stroke-linecap":"round"}},menuStyle:{border:"none",borderRadius:"3px",background:"#ffffff",padding:"0.5em"},menuItemStyle:{background:"none",borderRadius:"3px",color:"#333333",padding:"0.5em",fontSize:a?"0.9em":"0.8em",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#f2f2f2"}}}}),n(r,"Extensions/Exporting/ExportingSymbols.js",[],function(){var i;return(function(a){let o=[];function f(m,S,w,x){return[["M",m,S+2.5],["L",m+w,S+2.5],["M",m,S+x/2+.5],["L",m+w,S+x/2+.5],["M",m,S+x-1.5],["L",m+w,S+x-1.5]]}
38function u(m,S,w,x){let T=x/3-2;return[].concat(this.circle(w-T,S,T,T),this.circle(w-T,S+T+4,T,T),this.circle(w-T,S+2*(T+4),T,T))}a.compose=function(m){if(o.indexOf(m)===-1){o.push(m);let S=m.prototype.symbols;S.menu=f,S.menuball=u.bind(S)}}})(i||(i={})),i}),n(r,"Extensions/Exporting/Fullscreen.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a,o){let{composed:f}=a,{addEvent:u,fireEvent:m,pushUnique:S}=o;function w(){this.fullscreen=new x(this)}class x{static compose(y){S(f,"Fullscreen")&&u(y,"beforeRender",w)}constructor(y){this.chart=y,this.isOpen=!1;let E=y.renderTo;!this.browserProps&&(typeof E.requestFullscreen=="function"?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:E.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:E.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:E.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}close(){let y=this,E=y.chart,A=E.options.chart;m(E,"fullscreenClose",null,function(){y.isOpen&&y.browserProps&&E.container.ownerDocument instanceof Document&&E.container.ownerDocument[y.browserProps.exitFullscreen](),y.unbindFullscreenEvent&&(y.unbindFullscreenEvent=y.unbindFullscreenEvent()),E.setSize(y.origWidth,y.origHeight,!1),y.origWidth=void 0,y.origHeight=void 0,A.width=y.origWidthOption,A.height=y.origHeightOption,y.origWidthOption=void 0,y.origHeightOption=void 0,y.isOpen=!1,y.setButtonText()})}open(){let y=this,E=y.chart,A=E.options.chart;m(E,"fullscreenOpen",null,function(){if(A&&(y.origWidthOption=A.width,y.origHeightOption=A.height),y.origWidth=E.chartWidth,y.origHeight=E.chartHeight,y.browserProps){let j=u(E.container.ownerDocument,y.browserProps.fullscreenChange,function(){y.isOpen?(y.isOpen=!1,y.close()):(E.setSize(null,null,!1),y.isOpen=!0,y.setButtonText())}),R=u(E,"destroy",j);y.unbindFullscreenEvent=()=>{j(),R()};let k=E.renderTo[y.browserProps.requestFullscreen]();k&&k.catch(function(){alert("Full screen is not supported inside a frame.")})}})}setButtonText(){let y=this.chart,E=y.exportDivElements,A=y.options.exporting,j=A&&A.buttons&&A.buttons.contextButton.menuItems,R=y.options.lang;if(A&&A.menuItemDefinitions&&R&&R.exitFullscreen&&R.viewFullscreen&&j&&E){let k=E[j.indexOf("viewFullscreen")];k&&i.setElementHTML(k,this.isOpen?R.exitFullscreen:A.menuItemDefinitions.viewFullscreen.text||R.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}}return x}),n(r,"Core/HttpUtilities.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],function(i,a){let{win:o}=i,{discardElement:f,objectEach:u}=a,m={ajax:function(S){let w={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},x=new XMLHttpRequest;function T(y,E){S.error&&S.error(y,E)}if(!S.url)return!1;x.open((S.type||"get").toUpperCase(),S.url,!0),S.headers&&S.headers["Content-Type"]||x.setRequestHeader("Content-Type",w[S.dataType||"json"]||w.text),u(S.headers,function(y,E){x.setRequestHeader(E,y)}),S.responseType&&(x.responseType=S.responseType),x.onreadystatechange=function(){let y;if(x.readyState===4){if(x.status===200){if(S.responseType!=="blob"&&(y=x.responseText,S.dataType==="json"))try{y=JSON.parse(y)}catch(E){if(E instanceof Error)return T(x,E)}return S.success&&S.success(y,x)}T(x,x.responseText)}},S.data&&typeof S.data!="string"&&(S.data=JSON.stringify(S.data)),x.send(S.data)},getJSON:function(S,w){m.ajax({url:S,success:w,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(S,w,x){let T=new o.FormData;u(w,function(A,j){T.append(j,A)}),T.append("b64","true");let{filename:y,type:E}=w;return o.fetch(S,{method:"POST",body:T,...x}).then(A=>{A.ok&&A.text().then(j=>{let R=document.createElement("a");R.href=`data:${E};base64,${j}`,R.download=y,R.click(),f(R)})})}};return m}),n(r,"Extensions/Exporting/Exporting.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Chart/Chart.js"],r["Core/Chart/ChartNavigationComposition.js"],r["Core/Defaults.js"],r["Extensions/Exporting/ExportingDefaults.js"],r["Extensions/Exporting/ExportingSymbols.js"],r["Extensions/Exporting/Fullscreen.js"],r["Core/Globals.js"],r["Core/HttpUtilities.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w,x,T){var y;let{defaultOptions:E}=f,{doc:A,SVG_NS:j,win:R}=w,{addEvent:k,css:B,createElement:L,discardElement:C,extend:h,find:H,fireEvent:P,isObject:N,merge:I,objectEach:F,pick:l,removeEvent:d,uniqueKey:p}=T;return(function(v){let b,M=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^\d+$/],O=["fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","textAnchor","x","y"];v.inlineAllowlist=[];let _=["clipPath","defs","desc"];function U(oe){let ue,ye,be=this,Te=be.renderer,fe=I(be.options.navigation.buttonOptions,oe),de=fe.onclick,he=fe.menuItems,me=fe.symbolSize||12;if(be.btnCount||(be.btnCount=0),be.exportDivElements||(be.exportDivElements=[],be.exportSVGElements=[]),fe.enabled===!1||!fe.theme)return;let ke=be.styledMode?{}:fe.theme;de?ye=function(Me){Me&&Me.stopPropagation(),de.call(be,Me)}:he&&(ye=function(Me){Me&&Me.stopPropagation(),be.contextMenu(Ce.menuClassName,he,Ce.translateX||0,Ce.translateY||0,Ce.width||0,Ce.height||0,Ce),Ce.setState(2)}),fe.text&&fe.symbol?ke.paddingLeft=l(ke.paddingLeft,30):fe.text||h(ke,{width:fe.width,height:fe.height,padding:0});let Ce=Te.button(fe.text,0,0,ye,ke,void 0,void 0,void 0,void 0,fe.useHTML).addClass(oe.className).attr({title:l(be.options.lang[fe._titleKey||fe.titleKey],"")});Ce.menuClassName=oe.menuClassName||"highcharts-menu-"+be.btnCount++,fe.symbol&&(ue=Te.symbol(fe.symbol,Math.round((fe.symbolX||0)-me/2),Math.round((fe.symbolY||0)-me/2),me,me,{width:me,height:me}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(Ce),be.styledMode||ue.attr({stroke:fe.symbolStroke,fill:fe.symbolFill,"stroke-width":fe.symbolStrokeWidth||1})),Ce.add(be.exportingGroup).align(h(fe,{width:Ce.width,x:l(fe.x,be.buttonOffset)}),!0,"spacingBox"),be.buttonOffset+=((Ce.width||0)+fe.buttonSpacing)*(fe.align==="right"?-1:1),be.exportSVGElements.push(Ce,ue)}function q(){if(!this.printReverseInfo)return;let{childNodes:oe,origDisplay:ue,resetParams:ye}=this.printReverseInfo;this.moveContainers(this.renderTo),[].forEach.call(oe,function(be,Te){be.nodeType===1&&(be.style.display=ue[Te]||"")}),this.isPrinting=!1,ye&&this.setSize.apply(this,ye),delete this.printReverseInfo,b=void 0,P(this,"afterPrint")}function z(){let oe=A.body,ue=this.options.exporting.printMaxWidth,ye={childNodes:oe.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer?.reset(void 0,0),P(this,"beforePrint"),ue&&this.chartWidth>ue&&(ye.resetParams=[this.options.chart.width,void 0,!1],this.setSize(ue,void 0,!1)),[].forEach.call(ye.childNodes,function(be,Te){be.nodeType===1&&(ye.origDisplay[Te]=be.style.display,be.style.display="none")}),this.moveContainers(oe),this.printReverseInfo=ye}function J(oe){oe.renderExporting(),k(oe,"redraw",oe.renderExporting),k(oe,"destroy",oe.destroyExport)}function te(oe,ue,ye,be,Te,fe,de){let he=this,me=he.options.navigation,ke=he.chartWidth,Ce=he.chartHeight,Me="cache-"+oe,Pe=Math.max(Te,fe),Oe,Be=he[Me];Be||(he.exportContextMenu=he[Me]=Be=L("div",{className:oe},{position:"absolute",zIndex:1e3,padding:Pe+"px",pointerEvents:"auto",...he.renderer.style}
38,he.scrollablePlotArea?.fixedDiv||he.container),Oe=L("ul",{className:"highcharts-menu"},he.styledMode?{}:{listStyle:"none",margin:0,padding:0},Be),he.styledMode||B(Oe,h({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},me.menuStyle)),Be.hideMenu=function(){B(Be,{display:"none"}),de&&de.setState(0),he.openMenu=!1,B(he.renderTo,{overflow:"hidden"}),B(he.container,{overflow:"hidden"}),T.clearTimeout(Be.hideTimer),P(he,"exportMenuHidden")},he.exportEvents.push(k(Be,"mouseleave",function(){Be.hideTimer=R.setTimeout(Be.hideMenu,500)}),k(Be,"mouseenter",function(){T.clearTimeout(Be.hideTimer)}),k(A,"mouseup",function(ze){he.pointer?.inClass(ze.target,oe)||Be.hideMenu()}),k(Be,"click",function(){he.openMenu&&Be.hideMenu()})),ue.forEach(function(ze){if(typeof ze=="string"&&(ze=he.options.exporting.menuItemDefinitions[ze]),N(ze,!0)){let $e;ze.separator?$e=L("hr",void 0,void 0,Oe):(ze.textKey==="viewData"&&he.isDataTableVisible&&(ze.textKey="hideData"),$e=L("li",{className:"highcharts-menu-item",onclick:function(Ze){Ze&&Ze.stopPropagation(),Be.hideMenu(),typeof ze!="string"&&ze.onclick&&ze.onclick.apply(he,arguments)}},void 0,Oe),i.setElementHTML($e,ze.text||he.options.lang[ze.textKey]),he.styledMode||($e.onmouseover=function(){B(this,me.menuItemHoverStyle)},$e.onmouseout=function(){B(this,me.menuItemStyle)},B($e,h({cursor:"pointer"},me.menuItemStyle||{})))),he.exportDivElements.push($e)}}),he.exportDivElements.push(Oe,Be),he.exportMenuWidth=Be.offsetWidth,he.exportMenuHeight=Be.offsetHeight);let Ue={display:"block"};ye+(he.exportMenuWidth||0)>ke?Ue.right=ke-ye-Te-Pe+"px":Ue.left=ye-Pe+"px",be+fe+(he.exportMenuHeight||0)>Ce&&de.alignOptions?.verticalAlign!=="top"?Ue.bottom=Ce-be-Pe+"px":Ue.top=be+fe-Pe+"px",B(Be,Ue),B(he.renderTo,{overflow:""}),B(he.container,{overflow:""}),he.openMenu=!0,P(he,"exportMenuShown")}function ce(oe){let ue,ye=oe?oe.target:this,be=ye.exportSVGElements,Te=ye.exportDivElements,fe=ye.exportEvents;be&&(be.forEach((de,he)=>{de&&(de.onclick=de.ontouchstart=null,ye[ue="cache-"+de.menuClassName]&&delete ye[ue],be[he]=de.destroy())}),be.length=0),ye.exportingGroup&&(ye.exportingGroup.destroy(),delete ye.exportingGroup),Te&&(Te.forEach(function(de,he){de&&(T.clearTimeout(de.hideTimer),d(de,"mouseleave"),Te[he]=de.onmouseout=de.onmouseover=de.ontouchstart=de.onclick=null,C(de))}),Te.length=0),fe&&(fe.forEach(function(de){de()}),fe.length=0)}function xe(oe,ue){let ye=this.getSVGForExport(oe,ue);oe=I(this.options.exporting,oe),x.post(oe.url,{filename:oe.filename?oe.filename.replace(/\//g,"-"):this.getFilename(),type:oe.type,width:oe.width,scale:oe.scale,svg:ye},oe.fetchOptions)}function V(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function Y(){let oe=this.userOptions.title&&this.userOptions.title.text,ue=this.options.exporting.filename;return ue?ue.replace(/\//g,"-"):(typeof oe=="string"&&(ue=oe.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z\d\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!ue||ue.length<5)&&(ue="chart"),ue)}function X(oe){let ue,ye,be=I(this.options,oe);be.plotOptions=I(this.userOptions.plotOptions,oe&&oe.plotOptions),be.time=I(this.userOptions.time,oe&&oe.time);let Te=L("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},A.body),fe=this.renderTo.style.width,de=this.renderTo.style.height,he=be.exporting.sourceWidth||be.chart.width||/px$/.test(fe)&&parseInt(fe,10)||(be.isGantt?800:600),me=be.exporting.sourceHeight||be.chart.height||/px$/.test(de)&&parseInt(de,10)||400;h(be.chart,{animation:!1,renderTo:Te,forExport:!0,renderer:"SVGRenderer",width:he,height:me}),be.exporting.enabled=!1,delete be.data,be.series=[],this.series.forEach(function(Me){(ye=I(Me.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:Me.visible})).isInternal||be.series.push(ye)});let ke={};this.axes.forEach(function(Me){Me.userOptions.internalKey||(Me.userOptions.internalKey=p()),Me.options.isInternal||(ke[Me.coll]||(ke[Me.coll]=!0,be[Me.coll]=[]),be[Me.coll].push(I(Me.userOptions,{visible:Me.visible,type:Me.type,uniqueNames:Me.uniqueNames})))}),be.colorAxis=this.userOptions.colorAxis;let Ce=new this.constructor(be,this.callback);return oe&&["xAxis","yAxis","series"].forEach(function(Me){let Pe={};oe[Me]&&(Pe[Me]=oe[Me],Ce.update(Pe))}
38),this.axes.forEach(function(Me){let Pe=H(Ce.axes,function(ze){return ze.options.internalKey===Me.userOptions.internalKey}),Oe=Me.getExtremes(),Be=Oe.userMin,Ue=Oe.userMax;Pe&&(Be!==void 0&&Be!==Pe.min||Ue!==void 0&&Ue!==Pe.max)&&Pe.setExtremes(Be,Ue,!0,!1)}),ue=Ce.getChartHTML(),P(this,"getSVG",{chartCopy:Ce}),ue=this.sanitizeSVG(ue,be),be=null,Ce.destroy(),C(Te),ue}function ae(oe,ue){let ye=this.options.exporting;return this.getSVG(I({chart:{borderRadius:0}},ye.chartOptions,ue,{exporting:{sourceWidth:oe&&oe.sourceWidth||ye.sourceWidth,sourceHeight:oe&&oe.sourceHeight||ye.sourceHeight}}))}function $(){let oe,ue=v.inlineAllowlist,ye={},be=A.createElement("iframe");B(be,{width:"1px",height:"1px",visibility:"hidden"}),A.body.appendChild(be);let Te=be.contentWindow&&be.contentWindow.document;Te&&Te.body.appendChild(Te.createElementNS(j,"svg")),(function fe(de){let he,me,ke,Ce,Me,Pe,Oe={};if(Te&&de.nodeType===1&&_.indexOf(de.nodeName)===-1){if(he=R.getComputedStyle(de,null),me=de.nodeName==="svg"?{}:R.getComputedStyle(de.parentNode,null),!ye[de.nodeName]){oe=Te.getElementsByTagName("svg")[0],ke=Te.createElementNS(de.namespaceURI,de.nodeName),oe.appendChild(ke);let Be=R.getComputedStyle(ke,null),Ue={};for(let ze in Be)ze.length<1e3&&typeof Be[ze]=="string"&&!/^\d+$/.test(ze)&&(Ue[ze]=Be[ze]);ye[de.nodeName]=Ue,de.nodeName==="text"&&delete ye.text.fill,oe.removeChild(ke)}for(let Be in he)(w.isFirefox||w.isMS||w.isSafari||Object.hasOwnProperty.call(he,Be))&&(function(Ue,ze){if(Ce=Me=!1,ue.length){for(Pe=ue.length;Pe--&&!Me;)Me=ue[Pe].test(ze);Ce=!Me}for(ze==="transform"&&Ue==="none"&&(Ce=!0),Pe=M.length;Pe--&&!Ce;){if(ze.length>1e3)throw Error("Input too long");Ce=M[Pe].test(ze)||typeof Ue=="function"}!Ce&&(me[ze]!==Ue||de.nodeName==="svg")&&ye[de.nodeName][ze]!==Ue&&(O&&O.indexOf(ze)===-1?Oe[ze]=Ue:Ue&&de.setAttribute(ze.replace(/[A-Z]/g,function($e){return"-"+$e.toLowerCase()}),Ue))})(he[Be],Be);if(B(de,Oe),de.nodeName==="svg"&&de.setAttribute("stroke-width","1px"),de.nodeName==="text")return;[].forEach.call(de.children||de.childNodes,fe)}})(this.container.querySelector("svg")),oe.parentNode.removeChild(oe),be.parentNode.removeChild(be)}function K(oe){let{scrollablePlotArea:ue}=this;(ue?[ue.fixedDiv,ue.scrollingContainer]:[this.container]).forEach(function(ye){oe.appendChild(ye)})}function Z(){let oe=this,ue=(ye,be,Te)=>{oe.isDirtyExporting=!0,I(!0,oe.options[ye],be),l(Te,!0)&&oe.redraw()};oe.exporting={update:function(ye,be){ue("exporting",ye,be)}},o.compose(oe).navigation.addUpdate((ye,be)=>{ue("navigation",ye,be)})}function se(){let oe=this;oe.isPrinting||(b=oe,w.isSafari||oe.beforePrint(),setTimeout(()=>{R.focus(),R.print(),w.isSafari||setTimeout(()=>{oe.afterPrint()},1e3)},1))}function ie(){let oe=this,ue=oe.options.exporting,ye=ue.buttons,be=oe.isDirtyExporting||!oe.exportSVGElements;oe.buttonOffset=0,oe.isDirtyExporting&&oe.destroyExport(),be&&ue.enabled!==!1&&(oe.exportEvents=[],oe.exportingGroup=oe.exportingGroup||oe.renderer.g("exporting-group").attr({zIndex:3}).add(),F(ye,function(Te){oe.addButton(Te)}),oe.isDirtyExporting=!1)}function ne(oe,ue){let ye=oe.indexOf("</svg>")+6,be=oe.substr(ye);return oe=oe.substr(0,ye),ue&&ue.exporting&&ue.exporting.allowHTML&&be&&(be='<foreignObject x="0" y="0" width="'+ue.chart.width+'" height="'+ue.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+be.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />")+"</body></foreignObject>",oe=oe.replace("</svg>",be+"</svg>")),oe=oe.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery\d+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|")\;?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g," xlink:href=").replace(/\n+/g," ").replace(/(fill|stroke)="rgba\(([ \d]+,[ \d]+,[ \d]+),([ \d\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/ /g,"Â ").replace(/­/g,"Â")}v.compose=function(oe,ue){m.compose(ue),S.compose(oe);let ye=oe.prototype;ye.exportChart||(ye.afterPrint=q,ye.exportChart=xe,ye.inlineStyles=$,ye.print=se,ye.sanitizeSVG=ne,ye.getChartHTML=V,ye.getSVG=X,ye.getSVGForExport=ae,ye.getFilename=Y,ye.moveContainers=K,ye.beforePrint=z,ye.contextMenu=te,ye.addButton=U,ye.destroyExport=ce,ye.renderExporting=ie,ye.callbacks.push(J),k(oe,"init",Z),w.isSafari&&R.matchMedia("print").addListener(function(be){b&&(be.matches?b.beforePrint():b.afterPrint())}),E.exporting=I(u.exporting,E.exporting),E.lang=I(u.lang,E.lang),E.navigation=I(u.navigation,E.navigation))}})(y||(y={})),y}),n(r,"masters/modules/exporting.src.js",[r["Core/Globals.js"],r["Extensions/Exporting/Exporting.js"],r["Core/HttpUtilities.js"]],function(i,a,o){return i.HttpUtilities=i.HttpUtilities||o,i.ajax=i.HttpUtilities.ajax,i.getJSON=i.HttpUtilities.getJSON,i.post=i.HttpUtilities.post,a.compose(i.Chart,i.Renderer),i})})})(el)),el.exports}var yy=gy();const w8=Ur(yy),E8={title:"World with Palestine areas, high resolution",version:"1.1.2",type:"FeatureCollection",copyright:"Copyright (c) 2015 Highsoft AS, Based on data from Natural Earth",copyrightShort:"Natural Earth",copyrightUrl:"http://www.naturalearthdata.com",crs:{type:"name",properties:{name:"urn:ogc:def:crs:EPSG:54003"}},"hc-transform":{default:{crs:"+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +
38datum=WGS84 +units=m +no_defs",scale:170830296554e-16,jsonres:15.5,jsonmarginX:-999,jsonmarginY:9851,xoffset:-198164945204e-4,yoffset:126359081982e-4}},features:[{type:"Feature",id:"GL",properties:{"hc-group":"admin0","hc-middle-x":.53,"hc-middle-y":.38,"hc-key":"gl","hc-a2":"GL",name:"Greenland",labelrank:"3","country-abbrev":"Grlnd.",subregion:"Northern America","region-wb":"Europe & Central Asia","iso-a3":"GRL","iso-a2":"GL","woe-id":"23424828",continent:"North America"},geometry:{type:"MultiPolygon",coordinates:[[[[2737,8909],[2704,8903],[2700,8912],[2678,8908],[2681,8916],[2705,8918],[2699,8921],[2705,8928],[2684,8923],[2698,8930],[2713,8930],[2718,8921],[2742,8923],[2747,8932],[2738,8933],[2744,8943],[2744,8952],[2753,8952],[2761,8943],[2771,8947],[2762,8961],[2750,8954],[2752,8982],[2758,8987],[2769,8986],[2759,8994],[2768,9e3],[2748,8996],[2707,9e3],[2699,9009],[2681,9016],[2663,9018],[2653,9023],[2641,9036],[2659,9042],[2675,9038],[2694,9038],[2704,9035],[2730,9020],[2757,9015],[2760,9026],[2747,9020],[2736,9028],[2747,9026],[2750,9033],[2729,9033],[2721,9036],[2739,9041],[2756,9035],[2750,9041],[2733,9046],[2714,9043],[2714,9049],[2722,9055],[2740,9049],[2749,9052],[2733,9054],[2736,9059],[2716,9056],[2710,9058],[2731,9068],[2725,9070],[2705,9059],[2701,9061],[2704,9065],[2698,9060],[2676,9057],[2668,9053],[2659,9057],[2670,9068],[2676,9059],[2684,9062],[2689,9072],[2707,9067],[2710,9071],[2721,9075],[2734,9075],[2726,9079],[2705,9071],[2688,9074],[2696,9079],[2724,9084],[2727,9089],[2712,9084],[2700,9089],[2676,9081],[2674,9087],[2688,9094],[2676,9097],[2666,9086],[2656,9090],[2663,9081],[2660,9075],[2640,9070],[2629,9075],[2620,9072],[2609,9085],[2602,9088],[2616,9095],[2605,9099],[2613,9108],[2632,9119],[2627,9123],[2614,9114],[2610,9118],[2622,9125],[2614,9134],[2628,9134],[2637,9145],[2631,9149],[2640,9152],[2633,9160],[2620,9157],[2609,9164],[2623,9175],[2615,9176],[2621,9183],[2609,9184],[2596,9193],[2607,9203],[2596,9208],[2581,9208],[2581,9214],[2608,9209],[2596,9216],[2599,9220],[2587,9222],[2596,9234],[2583,9228],[2561,9224],[2590,9235],[2578,9238],[2595,9240],[2581,9244],[2592,9247],[2554,9247],[2574,9249],[2585,9256],[2565,9261],[2576,9266],[2567,9272],[2536,9281],[2542,9286],[2521,9299],[2533,9303],[2527,9320],[2510,9318],[2503,9329],[2492,9325],[2494,9331],[2484,9332],[2478,9338],[2461,9336],[2456,9346],[2418,9350],[2415,9354],[2398,9350],[2398,9355],[2379,9359],[2372,9348],[2363,9345],[2353,9352],[2344,9353],[2343,9344],[2324,9347],[2324,9338],[2308,9343],[2318,9351],[2299,9353],[2293,9342],[2278,9353],[2266,9346],[2291,9333],[2233,9341],[2233,9345],[2198,9360],[2199,9369],[2187,9370],[2207,9379],[2184,9385],[2195,9396],[2175,9385],[2158,9391],[2163,9394],[2148,9397],[2152,9406],[2161,9410],[2195,9413],[2228,9408],[2250,9410],[2277,9406],[2286,9407],[2246,9412],[2240,9411],[2214,9415],[2235,9421],[2263,9422],[2282,9420],[2285,9424],[2301,9425],[2297,9436],[2284,9440],[2271,9440],[2268,9434],[2258,9431],[2236,9429],[2227,9439],[2227,9430],[2210,9426],[2179,9434],[2201,9441],[2202,9445],[2185,9440],[2167,9442],[2185,9452],[2167,9447],[2148,9446],[2150,9454],[2139,9452],[2121,9457],[2120,9464],[2102,9471],[2109,9479],[2111,9494],[2130,9497],[2141,9502],[2164,9499],[2165,9506],[2188,9509],[2190,9513],[2206,9512],[2216,9524],[2245,9530],[2278,9532],[2282,9535],[2306,9532],[2322,9548],[2338,9559],[2331,9581],[2333,9594],[2354,9597],[2359,9608],[2350,9599],[2325,9598],[2309,9593],[2292,9600],[2274,9596],[2270,9603],[2262,9604],[2262,9615],[2282,9623],[2284,9627],[2283,9629],[2283,9629],[2283,9629],[2301,9633],[2303,9637],[2319,9637],[2316,9642],[2331,9645],[2341,9660],[2366,9664],[2376,9671],[2388,9657],[2382,9671],[2394,9676],[2417,9674],[2436,9665],[2454,9673],[2443,9686],[2458,9696],[2439,9713],[2444,9718],[2480,9727],[2493,9723],[2516,9721],[2520,9708],[2549,9702],[2569,9691],[2565,9697],[2548,9706],[2536,9707],[2526,9722],[2497,9731],[2522,9738],[2586,9748],[2592,9743],[2601,9751],[2621,9749],[2621,9754],[2645,9758],[2656,9754],[2671,9739],[2673,9724],[2665,9713],[2664,9699],[2673,9699],[2671,9706],[2690,9721],[2690,9734],[2716,9727],[2735,9724],[2768,9711],[2778,9703],[2778,9711],[2761,9716],[2745,9728],[2781,9722],[2792,9727],[2759,9742],[2743,9768],[2805,9764],[2813,9757],[2858,9743],[2894,9733],[2896,9727],[2919,9716],[2930,9715],[2946,9720],[2927,9729],[2925,9734],[2941,9738],[2930,9744],[2936,9752],[2946,9754],[2964,9750],[2975,9751],[2958,9756],[2961,9760],[2941,9766],[2935,9772],[2904,9783],[2901,9787],[3010,9786],[3020,9766],[3023,9777],[3015,9784],[3024,9785],[3048,9775],[3064,9772],[3069,9761],[3076,9757],[3078,9767],[3071,9770],[3072,9781],[3053,9783],[3042,9787],[2905,9795],[2895,9792],[2877,9796],[2869,9802],[2894,9798],[2887,9802],[2873,9804],[2893,9811],[2920,9803],[2971,9798],[2920,9806],[2909,9812],[2919,9816],[2931,9811],[2934,9817],[2960,9813],[2986,9812],[2953,9819],[2985,9819],[2974,9823],[2992,9825],[3008,9822],[3050,9803],[3087,9801],[3100,9796],[3111,9785],[3115,9791],[3097,9804],[3151,9804],[3141,9807],[3107,9807],[3106,9809],[3161,9814],[3140,9815],[3131,9819],[3109,9819],[3105,9830],[3109,9835],[3135,9830],[3128,9836],[3142,9842],[3164,9836],[3166,9844],[3210,9844],[3226,9849],[3236,9849],[3252,9838],[3247,9847],[3292,9851],[3297,9846],[3346,9849],[3386,9843],[3405,9843],[3398,9838],[3407,9835],[3412,9839],[3493,9826],[3480,9819],[3343,9814],[3339,9811],[3301,9808],[3293,9811],[3264,9815],[3291,9809],[3275,9804],[3201,9798],[3206,9790],[3219,9797],[3246,9798],[3256,9791],[3259,9800],[3275,9802],[3311,9803],[3314,9799],[3324,9805],[3362,9813],[3442,9808],[3467,9810],[3506,9816],[3517,9812],[3519,9804],[3508,9793],[3497,9788],[3527,9796],[3541,9794],[3547,9787],[3551,9792],[3565,9792],[3576,9786],[3581,9789],[3620,9776],[3618,9771],[3591,9762],[3588,9755],[3545,9751],[3369,9741],[3353,9745],[3317,9746],[3356,9743],[3367,9737],[3313,9728],[3283,9720],[3285,9709],[3302,9708],[3315,9719],[3341,9721],[3371,9727],[3378,9723],[3393,9731],[3431,9735],[3523,9730],[3521,9715],[3473,9704],[3462,9698],[3471,9690],[3494,9700],[3526,9706],[3548,9713],[3557,9711],[3565,9732],[3618,9737],[3626,9729],[3629,9715],[3622,9697],[3606,9682],[3598,9679],[3592,9671],[3584,9669],[3568,9655],[3557,9640],[3573,9648],[3572,9652],[3602,9662],[3619,9674],[3631,9677],[3639,9685],[3664,9698],[3662,9707],[3686,9704],[3675,9687],[3699,9696],[3712,9694],[3733,9687],[3743,9689],[3736,9702],[3726,9702],[3712,9709],[3724,9713],[3746,9700],[3764,9705],[3763,9713],[3782,9715],[3783,9719],[3838,9717],[3864,9711],[3894,9705],[3913,9693],[3890,9684],[3879,9673],[3855,9662],[3820,9660],[3830,9654],[3827,9645],[3797,9641],[3794,9636],[3770,9635],[3746,9637],[3734,9641],[3734,9636],[3716,9631],[3701,9631],[3675,9637],[3647,9629],[3649,9623],[3674,9635],[3717,9625],[3738,9627],[3751,9632],[3764,9624],[3783,9619],[3764,9607],[3744,9604],[3739,9607],[3722,9603],[3675,9610],[3653,9594],[3649,9584],[3660,9570],[3674,9577],[3683,9572],[3672,9551],[3675,9546],[3691,9543],[3690,9535],[3672,9533],[3662,9527],[3672,9512],[3684,9521],[3683,9511],[3677,9506],[3661,9514],[3646,9516],[3643,9511],[3631,9511],[3633,9501],[3621,9478],[3620,9466],[3611,9461],[3614,9455],[3623,9459],[3637,9459],[3642,9469],[3635,9472],[3646,9477],[3649,9472],[3646,9459],[3659,9461],[3667,9454],[3678,9454],[3678,9444],[3689,9436],[3678,9431],[3659,9441],[3635,9439],[3649,9432],[3646,9422],[3667,9419],[3676,9411],[3687,9409],[3686,9418],[3702,9416],[3709,9411],[3710,9393],[3700,9379],[3687,9388],[3677,9387],[3662,9393],[3644,9394],[3636,9390],[3608,9391],[3633,9388],[3608,937
387],[3593,9389],[3591,9382],[3578,9379],[3590,9372],[3596,9376],[3610,9369],[3609,9352],[3614,9350],[3633,9355],[3645,9350],[3661,9352],[3669,9344],[3651,9336],[3601,9336],[3605,9334],[3642,9334],[3661,9332],[3679,9320],[3671,9317],[3677,9309],[3676,9290],[3663,9285],[3654,9297],[3640,9294],[3624,9302],[3610,9312],[3593,9315],[3612,9308],[3621,9298],[3630,9295],[3644,9285],[3624,9284],[3607,9276],[3615,9275],[3626,9282],[3641,9280],[3636,9257],[3653,9258],[3668,9252],[3676,9258],[3682,9252],[3701,9260],[3708,9255],[3694,9250],[3678,9234],[3653,9234],[3649,9244],[3622,9246],[3607,9244],[3599,9237],[3594,9224],[3587,9222],[3601,9218],[3612,9222],[3639,9212],[3651,9211],[3645,9204],[3643,9187],[3614,9189],[3613,9184],[3591,9175],[3568,9181],[3542,9195],[3541,9202],[3554,9202],[3540,9208],[3529,9203],[3528,9192],[3514,9196],[3520,9189],[3503,9188],[3491,9177],[3478,9175],[3468,9181],[3458,9181],[3443,9189],[3449,9181],[3469,9177],[3462,9169],[3451,9172],[3435,9171],[3462,9167],[3470,9172],[3483,9173],[3511,9166],[3508,9155],[3518,9156],[3514,9149],[3524,9135],[3508,9130],[3485,9129],[3507,9126],[3525,9129],[3533,9123],[3549,9119],[3553,9114],[3568,9109],[3565,9106],[3586,9100],[3569,9090],[3571,9086],[3584,9093],[3589,9085],[3592,9091],[3604,9091],[3587,9082],[3585,9076],[3590,9066],[3597,9078],[3608,9077],[3606,9065],[3612,9047],[3608,9040],[3614,9035],[3607,9028],[3616,9026],[3602,9018],[3600,9024],[3589,9021],[3588,9043],[3581,9036],[3581,9021],[3561,9021],[3544,9030],[3536,9040],[3534,9055],[3522,9066],[3523,9071],[3508,9068],[3495,9079],[3487,9082],[3460,9081],[3427,9104],[3413,9106],[3410,9102],[3443,9090],[3434,9084],[3462,9077],[3491,9077],[3499,9072],[3495,9061],[3470,9050],[3458,9047],[3412,9049],[3426,9045],[3415,9028],[3389,9023],[3388,9018],[3415,9025],[3417,9017],[3461,9023],[3473,9018],[3462,9013],[3454,9015],[3440,9007],[3427,9002],[3421,9005],[3407,9003],[3425,8998],[3436,9001],[3445,8997],[3448,9006],[3458,9011],[3473,9008],[3503,9019],[3527,9011],[3554,9004],[3589,9004],[3597,9006],[3589,8996],[3574,8996],[3570,8985],[3561,8990],[3564,8979],[3554,8978],[3547,8972],[3539,8973],[3529,8965],[3520,8968],[3523,8960],[3511,8957],[3506,8949],[3493,8950],[3499,8944],[3474,8930],[3461,8930],[3447,8922],[3423,8923],[3423,8917],[3413,8920],[3399,8911],[3390,8914],[3383,8904],[3372,8910],[3363,8909],[3370,8902],[3335,8896],[3315,8899],[3315,8906],[3306,8907],[3294,8926],[3289,8920],[3300,8912],[3306,8897],[3302,8887],[3296,8888],[3267,8872],[3268,8859],[3260,8848],[3247,8837],[3252,8835],[3236,8824],[3234,8828],[3228,8813],[3211,8806],[3200,8809],[3199,8800],[3177,8787],[3178,8799],[3171,8786],[3164,8782],[3156,8788],[3153,8784],[3135,8797],[3152,8812],[3129,8806],[3130,8792],[3117,8790],[3126,8786],[3122,8777],[3114,8779],[3087,8773],[3081,8779],[3074,8771],[3067,8768],[3085,8762],[3067,8754],[3063,8747],[3051,8753],[3049,8748],[3039,8751],[3039,8740],[3050,8732],[3045,8742],[3056,8738],[3054,8723],[3060,8716],[3046,8717],[3049,8710],[3026,8714],[3030,8707],[3054,8704],[3055,8686],[3050,8684],[3031,8689],[3035,8684],[3050,8683],[3048,8676],[3037,8677],[3038,8663],[3026,8655],[3019,8645],[3011,8646],[3011,8638],[2981,8640],[3001,8630],[3e3,8626],[2983,8630],[2994,8622],[3004,8621],[3002,8611],[3008,8607],[3e3,8603],[3008,8596],[2995,8594],[3002,8589],[2993,8586],[3e3,8580],[2991,8574],[2995,8570],[2977,8571],[2993,8566],[2985,8565],[2990,8558],[2985,8554],[2987,8544],[2970,8538],[2979,8527],[2978,8520],[2953,8525],[2950,8534],[2947,8525],[2952,8516],[2943,8511],[2938,8517],[2924,8519],[2911,8525],[2910,8536],[2914,8547],[2906,8538],[2894,8548],[2882,8552],[2908,8560],[2912,8565],[2893,8557],[2903,8565],[2898,8572],[2889,8557],[2877,8551],[2836,8554],[2843,8549],[2833,8548],[2828,8554],[2844,8562],[2829,8570],[2808,8573],[2804,8579],[2828,8586],[2824,8589],[2806,8582],[2798,8589],[2808,8594],[2795,8596],[2796,8606],[2785,8607],[2797,8613],[2789,8618],[2779,8618],[2767,8629],[2772,8649],[2764,8650],[2753,8662],[2756,8653],[2747,8660],[2738,8678],[2731,8684],[2734,8697],[2727,8700],[2760,8707],[2764,8715],[2752,8707],[2734,8703],[2727,8709],[2739,8707],[2741,8718],[2732,8717],[2739,8725],[2751,8725],[2757,8719],[2758,8729],[2767,8731],[2772,8722],[2776,8731],[2760,8735],[2750,8754],[2750,8746],[2756,8739],[2746,8729],[2745,8736],[2738,8734],[2727,8713],[2715,8705],[2713,8731],[2721,8738],[2731,8740],[2739,8748],[2712,8737],[2717,8745],[2700,8762],[2703,8765],[2694,8776],[2697,8781],[2681,8779],[2683,8788],[2674,8796],[2695,8807],[2706,8816],[2716,8819],[2721,8826],[2757,8845],[2750,8844],[2718,8827],[2713,8820],[2677,8800],[2669,8801],[2669,8819],[2682,8831],[2693,8832],[2708,8840],[2694,8839],[2669,8840],[2659,8848],[2663,8853],[2676,8854],[2713,8862],[2662,8856],[2664,8865],[2690,8878],[2705,8882],[2724,8876],[2734,8878],[2760,8869],[2738,8880],[2767,8886],[2754,8890],[2755,8885],[2741,8882],[2736,8888],[2745,8893],[2730,8891],[2737,8885],[2726,8879],[2707,8885],[2693,8884],[2668,8869],[2671,8877],[2667,8885],[2683,8889],[2686,8897],[2683,8904],[2701,8899],[2700,8904],[2719,8897],[2740,8898],[2758,8890],[2767,8891],[2749,8897],[2734,8905],[2737,8909]],[[3514,9196],[3514,9196],[3514,9196],[3514,9196],[3514,9196],[3512,9202],[3491,9213],[3509,9201],[3514,9196],[3514,9196],[3514,9196],[3514,9196],[3514,9196],[3514,9196]],[[2737,8909],[2740,8909],[2738,8910],[2738,8910],[2738,8910],[2742,8915],[2727,8915],[2738,8910],[2738,8910],[2738,8910],[2737,8909]]],[[[2961,8513],[2950,8511],[2955,8517],[2950,8525],[2978,8520],[2961,8513]]],[[[3152,8779],[3161,8778],[3154,8772],[3147,8777],[3133,8774],[3130,8780],[3135,8788],[3141,8790],[3145,8780],[3152,8779]]],[[[274
386,8993],[2756,8989],[2747,8983],[2748,8974],[2739,8973],[2737,8984],[2746,8993]]],[[[3433,9037],[3431,9044],[3463,9045],[3492,9055],[3500,9047],[3503,9033],[3488,9030],[3477,9022],[3477,9029],[3466,9025],[3422,9020],[3426,9031],[3433,9037]]],[[[2606,9144],[2594,9143],[2600,9148],[2611,9148],[2623,9153],[2629,9150],[2613,9136],[2606,9144]]],[[[3564,9165],[3603,9156],[3596,9150],[3603,9143],[3581,9144],[3576,9151],[3566,9154],[3526,9156],[3526,9161],[3548,9162],[3564,9165]]],[[[3632,9243],[3643,9242],[3655,9228],[3622,9223],[3602,9230],[3605,9239],[3623,9245],[3632,9243]]],[[[3654,9271],[3667,9270],[3655,9259],[3639,9266],[3641,9276],[3649,9280],[3659,9278],[3654,9271]]],[[[3724,9295],[3712,9291],[3724,9282],[3738,9285],[3737,9278],[3715,9279],[3692,9277],[3693,9294],[3702,9299],[3707,9295],[3715,9301],[3724,9295]]],[[[3699,9375],[3697,9368],[3702,9333],[3693,9348],[3686,9365],[3689,9383],[3699,9375]]],[[[2149,9426],[2161,9427],[2180,9422],[2155,9421],[2137,9417],[2113,9422],[2124,9426],[2141,9422],[2149,9426]]],[[[3719,9526],[3730,9538],[3734,9528],[3728,9528],[3715,9514],[3718,9511],[3711,9501],[3692,9486],[3692,9464],[3685,9456],[3685,9465],[3670,9478],[3670,9484],[3678,9474],[3681,9485],[3707,9502],[3719,9526]]],[[[3738,9590],[3723,9575],[3704,9571],[3686,9577],[3678,9583],[3701,9593],[3726,9598],[3738,9590]]],[[[3696,9601],[3669,9593],[3671,9602],[3683,9606],[3696,9601]]],[[[3700,9718],[3687,9718],[3671,9730],[3670,9738],[3677,9739],[3686,9734],[3700,9718]]],[[[2740,9730],[2714,9731],[2682,9739],[2678,9749],[2694,9754],[2703,9745],[2740,9732],[2740,9730]]],[[[3084,9804],[3061,9809],[3055,9816],[3071,9815],[3091,9811],[3084,9804]]],[[[3045,9816],[3056,9809],[3067,9808],[3074,9802],[3050,9806],[3028,9817],[3045,9816]]],[[[3062,9830],[3077,9826],[3086,9820],[3105,9817],[3102,9812],[3075,9818],[3069,9823],[3052,9824],[3062,9830]]],[[[3535,9136],[3527,9151],[3544,9154],[3567,9152],[3579,9141],[3602,9132],[3602,9127],[3592,9130],[3578,9130],[3581,9125],[3599,9120],[3593,9112],[3585,9113],[3569,9123],[3535,9136]]],[[[2868,9780],[2884,9780],[2914,9772],[2940,9759],[2921,9747],[2931,9738],[2921,9735],[2911,9744],[2868,9757],[2859,9768],[2844,9777],[2868,9778],[2868,9780]]],[[[3563,9174],[3513,9180],[3548,9172],[3569,9171],[3572,9167],[3528,9163],[3491,9172],[3505,9184],[3528,9185],[3564,9175],[3563,9174]]],[[[2283,9630],[2283,9630],[2283,9630],[2283,9629],[2283,9629],[2283,9630],[2283,9630],[2283,9630]]],[[[2283,9630],[2276,9638],[2288,9634],[2283,9630],[2283,9630],[2283,9630]]],[[[2631,8988],[2636,8996],[2651,8993],[2636,8999],[2636,9011],[2631,9017],[2628,9024],[2645,9014],[2661,9013],[2680,9008],[2696,8994],[2717,8987],[2722,8978],[2713,8970],[2671,8958],[2654,8963],[2652,8969],[2676,8968],[2662,8975],[2637,8976],[2629,8982],[2640,8986],[2631,8988]]]]}},{type:"Feature",id:"SH",properties:{"hc-group":"admin0","hc-middle-x":.54,"hc-middle-y":.51,"hc-key":"sh","hc-a2":"SH",name:"Scarborough Reef",labelrank:"6","country-abbrev":"S.R.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"-99","iso-a2":"SH","woe-id":"-99",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7715,6952],[7715,6952],[7715,6952],[7715,6952],[7715,6952]]]}},{type:"Feature",id:"BU",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.73,"hc-key":"bu","hc-a2":"BU",name:"Bajo Nuevo Bank (Petrel Is.)",labelrank:"8","country-abbrev":null,subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"-99","iso-a2":"BU","woe-id":"-99",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1893,6971],[1893,6971],[1893,6971],[1893,6971],[1893,6971]]]}},{type:"Feature",id:"LK",properties:{"hc-group":"admin0","hc-middle-x":.67,"hc-middle-y":.87,"hc-key":"lk","hc-a2":"LK",name:"Sri Lanka",labelrank:"3","country-abbrev":"Sri L.",subregion:"Southern Asia","region-wb":"South Asia","iso-a3":"LKA","iso-a2":"LK","woe-id":"23424778",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[6603,6788],[6607,6793],[6626,6780],[6644,6754],[6646,6743],[6657,6728],[6659,6711],[6653,6694],[6644,6687],[6621,6679],[6609,6682],[6600,6705],[6596,6740],[6602,6761],[6601,6767],[6609,6783],[6603,6788]]]}},{type:"Feature",id:"AS",properties:{"hc-group":"admin0","hc-middle-x":.56,"hc-middle-y":.57,"hc-key":"as","hc-a2":"AS",name:"American Samoa",labelrank:"4","country-abbrev":"Am. Samoa",subregi
38on:"Polynesia","region-wb":"East Asia & Pacific","iso-a3":"ASM","iso-a2":"AS","woe-id":"23424746",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[-775,6085],[-777,6084],[-779,6082],[-782,6083],[-775,6085]]]}},{type:"Feature",id:"DK",properties:{"hc-group":"admin0","hc-middle-x":.3,"hc-middle-y":.44,"hc-key":"dk","hc-a2":"DK",name:"Denmark",labelrank:"4","country-abbrev":"Den.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"DNK","iso-a2":"DK","woe-id":"23424796",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4580,8303],[4595,8290],[4586,8289],[4572,8296],[4580,8303]]],[[[4558,8337],[4561,8341],[4562,8324],[4571,8311],[4564,8294],[4553,8301],[4568,8307],[4549,8309],[4539,8315],[4533,8325],[4553,8330],[4558,8337]]],[[[4605,8303],[4611,8303],[4600,8292],[4594,8300],[4598,8304],[4591,8312],[4580,8313],[4575,8320],[4576,8328],[4571,8335],[4579,8335],[4592,8342],[4596,8333],[4609,8351],[4620,8348],[4617,8343],[4621,8330],[4613,8330],[4608,8323],[4615,8319],[4607,8314],[4605,8303]]],[[[4526,8297],[4508,8301],[4503,8300],[4502,8323],[4486,8328],[4489,8338],[4495,8341],[4487,8351],[4487,8369],[4500,8370],[4512,8379],[4521,8372],[4518,8383],[4536,8392],[4510,8387],[4510,8380],[4500,8371],[4491,8378],[4502,8393],[4525,8395],[4542,8413],[4560,8420],[4555,8412],[4559,8406],[4573,8401],[4556,8396],[4550,8384],[4553,8369],[4571,8365],[4558,8350],[4554,8358],[4549,8352],[4550,8342],[4539,8339],[4544,8336],[4528,8325],[4534,8315],[4528,8311],[4543,8303],[4535,8304],[4526,8297]]]]}},{type:"Feature",id:"FO",properties:{"hc-group":"admin0","hc-middle-x":.52,"hc-middle-y":.12,"hc-key":"fo","hc-a2":"FO",name:"Faroe Islands",labelrank:"6","country-abbrev":"Faeroe Is.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"FRO","iso-a2":"FO","woe-id":"23424816",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4052,8621],[4060,8618],[4050,8615],[4053,8598],[4046,8584],[4047,8602],[4041,8610],[4029,8612],[4036,8620],[4052,8621]]]}},{type:"Feature",id:"GU",properties:{"hc-group":"admin0","hc-middle-x":.42,"hc-middle-y":.45,"hc-key":"gu","hc-a2":"GU",name:"Guam",labelrank:"6","country-abbrev":"Guam",subregion:"Micronesia","region-wb":"East Asia & Pacific","iso-a3":"GUM","iso-a2":"GU","woe-id":"23424832",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[8512,6901],[8508,6895],[8507,6901],[8514,6907],[8512,6901]]]}},{type:"Feature",id:"MP",properties:{"hc-group":"admin0","hc-middle-x":.52,"hc-middle-y":.5,"hc-key":"mp","hc-a2":"MP",name:"Northern Mariana Islands",labelrank:"6","country-abbrev":"N.M.I.",subregion:"Micronesia","region-wb":"East Asia & Pacific","iso-a3":"MNP","iso-a2":"MP","woe-id":"23424788",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[8537,6949],[8538,6953],[8541,6955],[8540,6950],[8537,6949]]]}},{type:"Feature",id:"UM",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.51,"hc-key":"um","hc-a2":"UM",name:"United States Minor Outlying Islands",labelrank:"5","country-abbrev":"U.S. MOI",subregion:"Seven seas (open ocean)","region-wb":"East Asia & Pacific","iso-a3":"UMI","iso-a2":"UM","woe-id":"28289407",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[-523,6678],[-523,6677],[-524,6677],[-524,6678],[-523,6678]]]}},{type:"Feature",id:"US",properties:{"hc-group":"admin0","hc-middle-x":.7,"hc-middle-y":.67,"hc-key":"us","hc-a2":"US",name:"United States of America",labelrank:"2","country-abbrev":"U.S.A.",subregion:"Northern America","region-wb":"North America","iso-a3":"USA","iso-a2":"US","woe-id":"23424977",continent:"North America"},geometry:{type:"MultiPolygon",coordinates:[[[[355,8396],[352,8391],[361,8389],[359,8382],[365,8379],[368,8370],[374,8371],[417,8350],[420,8342],[420,8342],[420,8342],[415,8336],[421,8316],[410,8301],[401,8295],[394,8297],[389,8313],[395,8319],[394,8334],[385,8345],[369,8341],[363,8325],[354,8336],[360,8338],[365,8355],[348,8371],[346,8378],[326,8395],[316,8395],[322,8405],[314,8412],[312,8421],[298,8439],[285,8441],[263,8485],[262,8470],[272,8445],[269,8439],[260,8446],[247,8446],[249,8453],[241,8468],[238,8462],[214,8476],[215,8469],[227,8467],[241,8452],[243,8443],[227,8445],[224,8440],[195,8457],[177,8477],[150,8487],[130,8497],[142,8504],[137,8512],[117,8504],[108,8504],[84,8511],[89,8517],[75,8515],[44,8522],[11,8517],[1,8524],[-19,8530],[-14,8547],[-22,8540],[-25,8531],[-38,8537],[-53,8538],[-68,8528],[-68,8538],[-44,8543],[-52,8550],[-63,8548],[-73,8560],[-108,8556],[-113,8552],[-102,8574],[-112,8562],[-114,8567],[-122,8545],[-116,8551],[-102,8528],[-112,8523],[-119,8524],[-122,8515],[-135,8514],[-145,8517],[-158,8512],[-161,8502],[-166,8504],[-180,8493],[-197,8483],[-210,8484],[-224,8479],[-227,8487],[-212,8494],[-198,8507],[-212,8501],[-224,8507],[-211,8525],[-206,8541],[-210,8549],[-200,8552],[-182,8563],[-170,8558],[-163,8560],[-143,8556],[-170,8568],[-168,8572],[-182,8573],[-184,8578],[-202,8564],[-214,8561],[-237,8538],[-234,8534],[-245,8527],[-244,8522],[-258,8504],[-277,8501],[-278,8493],[-290,8490],[-292,8475],[-278,8476],[-265,8466],[-288,8451],[-286,8447],[-296,8441],[
38-303,8431],[-317,8431],[-327,8418],[-333,8421],[-337,8411],[-346,8412],[-361,8401],[-355,8401],[-361,8387],[-368,8389],[-380,8378],[-374,8369],[-383,8368],[-397,8374],[-419,8360],[-410,8358],[-424,8345],[-452,8338],[-458,8340],[-483,8324],[-490,8326],[-500,8319],[-507,8320],[-514,8307],[-519,8310],[-531,8308],[-539,8317],[-545,8302],[-552,8309],[-553,8302],[-561,8297],[-561,8310],[-541,8320],[-528,8333],[-517,8341],[-494,8343],[-486,8334],[-486,8341],[-470,8339],[-480,8346],[-474,8357],[-455,8370],[-432,8381],[-423,8378],[-424,8389],[-413,8401],[-394,8412],[-392,8435],[-388,8440],[-389,8450],[-376,8461],[-377,8468],[-408,8456],[-421,8465],[-417,8476],[-431,8463],[-427,8452],[-435,8448],[-451,8469],[-460,8463],[-470,8468],[-473,8476],[-487,8467],[-483,8465],[-489,8455],[-501,8464],[-503,8458],[-527,8458],[-513,8463],[-516,8474],[-523,8485],[-513,8495],[-531,8522],[-534,8534],[-537,8517],[-554,8511],[-569,8508],[-583,8510],[-584,8517],[-600,8530],[-610,8532],[-623,8541],[-600,8553],[-579,8551],[-570,8543],[-564,8551],[-579,8555],[-597,8555],[-599,8558],[-614,8558],[-608,8562],[-621,8571],[-621,8564],[-637,8579],[-633,8584],[-645,8588],[-633,8592],[-642,8598],[-628,8600],[-631,8612],[-614,8630],[-603,8635],[-607,8645],[-598,8658],[-585,8664],[-574,8663],[-561,8654],[-554,8655],[-539,8665],[-529,8678],[-527,8672],[-498,8676],[-486,8687],[-491,8711],[-505,8719],[-486,8729],[-489,8737],[-498,8743],[-505,8736],[-524,8733],[-539,8723],[-555,8718],[-567,8726],[-592,8726],[-611,8720],[-645,8727],[-654,8733],[-651,8741],[-668,8754],[-655,8753],[-644,8760],[-681,8766],[-701,8775],[-702,8778],[-677,8790],[-671,8789],[-662,8798],[-621,8816],[-596,8823],[-573,8824],[-578,8805],[-571,8799],[-544,8800],[-541,8797],[-527,8798],[-519,8794],[-509,8807],[-492,8806],[-507,8815],[-520,8811],[-518,8818],[-540,8839],[-531,8842],[-522,8833],[-524,8827],[-510,8817],[-498,8821],[-486,8813],[-470,8814],[-469,8821],[-489,8828],[-506,8821],[-518,8829],[-514,8842],[-517,8847],[-534,8843],[-571,8849],[-575,8861],[-585,8875],[-623,8897],[-637,8901],[-656,8912],[-646,8923],[-646,8939],[-630,8938],[-591,8942],[-569,8951],[-555,8966],[-556,8980],[-551,8990],[-538,9003],[-532,9001],[-519,9016],[-514,9011],[-488,9016],[-468,9030],[-463,9029],[-466,9032],[-453,9040],[-433,9039],[-405,9042],[-381,9055],[-369,9067],[-334,9061],[-333,9055],[-347,9050],[-343,9042],[-331,9044],[-319,9058],[-304,9051],[-305,9042],[-290,9040],[-283,9045],[-266,9047],[-234,9041],[-246,9027],[-219,9027],[-227,9021],[-203,9021],[-179,9024],[-181,9020],[-153,9025],[-130,9020],[-121,9014],[-114,9016],[-104,9010],[-84,9006],[-47,9007],[-30,8998],[-9,8997],[6,9002],[29,9004],[50,8998],[59,8990],[73,8988],[85,8979],[97,8979],[97,8531],[110,8526],[114,8530],[126,8525],[137,8532],[153,8532],[150,8520],[165,8512],[167,8506],[196,8484],[202,8469],[219,8480],[226,8480],[234,8499],[259,8508],[273,8497],[271,8491],[291,8475],[296,8466],[307,8462],[321,8447],[355,8396]],[[-463,9029],[-462,9028],[-462,9028],[-462,9028],[-466,9015],[-457,9024],[-461,9028],[-461,9028],[-462,9028],[-461,9029],[-463,9029]]],[[[-333,7102],[-318,7094],[-310,7082],[-330,7072],[-335,7065],[-341,7069],[-347,7090],[-340,7099],[-341,7106],[-333,7102]]],[[[-398,7136],[-407,7138],[-412,7146],[-403,7150],[-393,7138],[-366,7133],[-359,7126],[-345,7122],[-354,7116],[-365,7126],[-372,7120],[-377,7132],[-398,7136]]],[[[-939,8185],[-932,8184],[-957,8169],[-967,8174],[-996,8171],[-999,8179],[-972,8176],[-969,8182],[-955,8176],[-940,8180],[-939,8185]]],[[[-835,8195],[-844,8188],[-860,8185],[-877,8189],[-901,8186],[-882,8195],[-881,8201],[-868,8189],[-856,8188],[-835,8195]]],[[[-699,8247],[-694,8239],[-707,8234],[-713,8226],[-729,8218],[-709,8242],[-699,8247]]],[[[-546,8284],[-562,8295],[-569,8289],[-584,8289],[-592,8282],[-605,8281],[-609,8288],[-597,8300],[-587,8300],[-578,8306],[-568,8307],[-562,8296],[-555,8295],[-546,8284]]],[[[-477,8313],[-487,8310],[-483,8317],[-468,8323],[-465,8313],[-450,8311],[-442,8303],[-460,8309],[-465,8307],[-477,8313]]],[[[372,8317],[369,8311],[366,8320],[372,8327],[371,8339],[385,8344],[392,8334],[392,8321],[385,8312],[379,8316],[385,8301],[373,8305],[372,8317]]],[[[343,8358],[331,8360],[334,8365],[352,8360],[351,8367],[364,8354],[353,8342],[341,8351],[343,8358]]],[[[-247,8454],[-238,8458],[-243,8448],[-231,8447],[-231,8436],[-257,8430],[-269,8433],[-260,8442],[-251,8442],[-247,8454]]],[[[-91,8528],[-78,8531],[-94,8514],[-107,8508],[-91,8523],[-91,8528]]],[[[-642,8534],[-630,8530],[-631,8520],[-626,8514],[-644,8509],[-657,8511],[-674,8518],[-682,8525],[-665,8526],[-663,8530],[-642,8534]]],[[[-643,8269],[-628,8276],[-622,8271],[-645,8263],[-656,8253],[-642,8258],[-647,8251],[-682,8237],[-694,8236],[-674,8243],[-669,8263],[-657,8264],[-657,8257],[-643,8269]]],[[[297,8395],[285,8388],[289,8404],[284,8413],[279,8435],[297,8436],[306,8422],[304,8417],[296,8433],[297,8423],[305,8414],[305,8401],[297,8395]]],[[[-797,8682],[-785,8679],[-776,8684],[-766,8685],[-760,8675],[-744,8669],[-719,8667],[-722,8660],[-736,8661],[-750,8651],[-752,8658],[-764,8665],[-790,8672],[-800,8667],[-808,8670],[-812,8676],[-808,8689],[-797,8682]]],[[[314,8343],[308,8342],[315,8354],[314,8361],[327,8360],[330,8348],[340,8346],[359,8316],[363,8296],[357,8292],[347,8309],[334,8303],[343,8301],[337,8292],[326,8309],[314,8314],[314,8323],[325,8329],[313,8336],[314,8343]]],[[[1815,7832],[1810,7836],[1803,7824],[1802,7823],[1802,7823],[1791,7803],[1819,7791],[1843,7796],[1853,7803],[1882,7814],[1918,7833],[1926,7843],[1924,7846],[1920,7852],[1920,7852],[1921,7854],[1920,7858],[1948,7862],[1965,7857],[1989,7860],[2005,7869],[2e3,7889],[2017,7902],[2032,7915],[2048,7920],[2048,7920],[2143,7921],[2148,7931],[2160,7929],[2167,7941],[2175,7947],[2187,7982],[2209,8010],[2215,8010],[2219,8001],[2240,8006],[2252,7995],[2252,7948],[2256,7942],[2262,7942],[2261,7930],[2270,7927],[2278,7914],[2270,7907],[2243,7901],[2234,7890],[2217,7899],[2214,7886],[2206,7886],[2201,7878],[2192,7873],[2189,7878],[2163,7845],[2166,7836],[2157,7824],[2166,7820],[2171,7806],[2189,7801],[2168,7797],[2185,7788],[2172,7791],[2164,7788],[2160,7797],[2145,7794],[2128,7786],[2102,7786],[2080,7777],[2085,7776],[2110,7777],[2118,7783],[2123,7778],[2116,7773],[2061,7760],[2070,7754],[2066,7733],[2044,7706],[2043,7713],[2036,7
38715],[2024,7725],[2028,7710],[2037,7701],[2039,7690],[2025,7668],[2010,7651],[2021,7673],[2014,7674],[2016,7682],[2009,7682],[2001,7690],[2010,7693],[2001,7700],[2007,7704],[2002,7714],[2012,7729],[2001,7722],[1995,7705],[1995,7692],[2001,7679],[1986,7683],[2003,7671],[2001,7661],[1983,7674],[2003,7655],[1997,7653],[2002,7641],[2011,7637],[2017,7616],[2023,7603],[2009,7586],[2008,7576],[1992,7563],[1977,7563],[1961,7553],[1951,7537],[1940,7538],[1929,7533],[1918,7521],[1917,7513],[1893,7495],[1883,7491],[1867,7477],[1868,7475],[1853,7460],[1855,7451],[1850,7448],[1852,7420],[1856,7402],[1866,7380],[1877,7361],[1877,7347],[1890,7314],[1889,7280],[1880,7256],[1861,7256],[1856,7242],[1850,7242],[1859,7262],[1855,7274],[1842,7281],[1838,7296],[1831,7301],[1832,7311],[1825,7310],[1814,7328],[1822,7340],[1809,7340],[1815,7374],[1810,7384],[1804,7384],[1784,7408],[1774,7414],[1763,7411],[1746,7398],[1726,7414],[1701,7423],[1667,7418],[1648,7418],[1632,7423],[1607,7416],[1592,7423],[1586,7415],[1597,7411],[1609,7415],[1618,7407],[1607,7401],[1612,7391],[1627,7385],[1623,7380],[1604,7388],[1596,7394],[1597,7385],[1592,7381],[1584,7388],[1577,7382],[1559,7388],[1561,7394],[1550,7399],[1545,7394],[1531,7395],[1504,7403],[1479,7400],[1461,7393],[1460,7402],[1450,7395],[1459,7389],[1433,7371],[1406,7357],[1392,7343],[1381,7341],[1387,7335],[1379,7323],[1376,7309],[1380,7309],[1388,7282],[1380,7279],[1369,7285],[1356,7286],[1328,7301],[1327,7313],[1320,7317],[1318,7333],[1313,7336],[1295,7356],[1284,7382],[1273,7393],[1267,7399],[1265,7398],[1262,7403],[1242,7404],[1236,7407],[1225,7402],[1211,7378],[1184,7389],[1170,7399],[1166,7416],[1156,7432],[1146,7437],[1112,7467],[1062,7468],[1062,7453],[980,7453],[867,7491],[870,7498],[800,7492],[794,7511],[788,7518],[769,7532],[763,7521],[758,7523],[762,7535],[758,7541],[750,7540],[738,7545],[712,7537],[706,7541],[717,7543],[719,7554],[701,7555],[696,7560],[696,7578],[677,7595],[657,7626],[662,7634],[644,7647],[641,7667],[655,7656],[641,7678],[641,7668],[629,7675],[623,7689],[605,7706],[602,7737],[587,7752],[585,7758],[594,7779],[595,7793],[591,7813],[584,7824],[581,7843],[593,7880],[595,7914],[600,7940],[595,7970],[600,7984],[593,7989],[603,7992],[592,7995],[585,8021],[576,8037],[580,8045],[596,8037],[631,8035],[642,8022],[647,8029],[640,8030],[634,8040],[639,8047],[622,8050],[631,8057],[641,8048],[641,8059],[634,8068],[1446,8068],[1446,8083],[1456,8080],[1460,8061],[1488,8050],[1502,8054],[1520,8051],[1528,8039],[1538,8043],[1556,8032],[1571,8039],[1575,8035],[1593,8035],[1611,8031],[1583,8020],[1568,8012],[1554,7998],[1537,7986],[1540,7982],[1570,7992],[1581,7989],[1577,7982],[1585,7978],[1604,7987],[1616,7988],[1638,8002],[1640,8e3],[1644,8007],[1656,8011],[1665,8010],[1645,7998],[1641,7999],[1644,7993],[1668,7987],[1676,7976],[1699,7974],[1712,7982],[1730,7982],[1747,7986],[1744,7976],[1760,7973],[1772,7976],[1772,7969],[1767,7964],[1781,7954],[1783,7960],[1790,7957],[1777,7938],[1793,7930],[1791,7920],[1796,7909],[1794,7896],[1787,7886],[1779,7884],[1778,7872],[1784,7870],[1797,7883],[1807,7886],[1814,7881],[1822,7849],[1819,7836],[1815,7832]]],[[[626,8068],[624,8067],[624,8068],[626,8068]]],[[[311,8378],[310,8380],[303,8390],[329,8388],[333,8379],[346,8371],[338,8367],[322,8381],[330,8368],[313,8365],[311,8377],[300,8354],[300,8343],[294,8361],[302,8366],[294,8369],[291,8381],[302,8383],[311,8378]]],[[[254,8406],[248,8404],[245,8414],[231,8424],[227,8431],[239,8434],[249,8442],[276,8431],[275,8422],[266,8421],[248,8430],[267,8418],[276,8420],[279,8408],[272,8407],[251,8420],[257,8408],[260,8411],[276,8402],[285,8376],[283,8353],[263,8381],[268,8389],[264,8398],[257,8398],[255,8388],[249,8401],[254,8406]]],[[[-249,8423],[-242,8428],[-240,8414],[-232,8414],[-237,8406],[-256,8410],[-247,8400],[-264,8396],[-255,8395],[-267,8388],[-276,8388],[-285,8377],[-285,8367],[-307,8368],[-289,8371],[-288,8381],[-280,8394],[-290,8393],[-293,8383],[-302,8387],[-302,8395],[-309,8399],[-307,8406],[-293,8416],[-280,8410],[-284,8422],[-276,8426],[-273,8417],[-271,8429],[-259,8423],[-265,8431],[-249,8423]]]]}},{type:"Feature",id:"VI",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.5,"hc-key":"vi","hc-a2":"VI",name:"United States Virgin Islands",labelrank:"6","country-abbrev":"V.I. (U.S.)",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"VIR","iso-a2":"VI","woe-id":"23424985",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2342,7030],[2347,7030],[2338,7028],[2338,7031],[2342,7030]]]}},{type:"Feature",id:"CA",properties:{"hc-group":"admin0","hc-middle-x":.27,"hc-middle-y":.64,"hc-key":"ca","hc-a2":"CA",name:"Canada",labelrank:"2","country-abbrev":"Can.",subregion:"Northern America","region-wb":"North America","iso-a3":"CAN","iso-a2":"CA","woe-id":"23424775",continent:"North America"},geometry:{type:"MultiPolygon",coordinates:[[[[2209,8010],[2187,7982],[2175,7947],[2167,7941],[2160,7929],[2148,7931],[2143,7921],[2048,7920],[2065,7929],[2048,7920],[2032,7915],[2017,7902],[2003,7894],[1991,7892],[1980,7883],[1963,7886],[1920,7878],[1908,7871],[1899,7860],[1912,7855],[1920,7858],[1921,7854],[1920,7852],[1924,7846],[1924,7846],[1887,7841],[1878,7833],[1853,7836],[1838,7822],[1815,7814],[1801,7815],[1802,7823],[1802,7823],[1803,7824],[1821,7825],[1815,7832],[1819,7836],[1822,7849],[1842,7862],[1841,7887],[1855,7906],[1853,7919],[1843,7930],[1854,7929],[1856,7920],[1865,7919],[1865,7905],[1870,7910],[1890,7901],[1893,7909],[1885,7915],[1901,7912],[1890,7925],[1892,7932],[1883,7934],[1871,7954],[1859,7954],[1845,7961],[1781,7965],[1776,7959],[1772,7969],[1772,7976],[1760,7973],[1759,7989],[1752,7993],[1758,8005],[1745,8017],[1748,8030],[1724,8029],[1728,8021],[1718,8021],[1720,8030],[1714,8037],[1703,8060],[1672,8059],[1670,8064],[1649,8068],[1669,8059],[1657,8059],[1640,8049],[1647,8057],[1643,8063],[1636,8045],[1633,8052],[1621,8047],[1618,8035],[1611,8031],[1593,8035],[1575,8035],[1571,8039],[1556,8032],[1538,8043],[1528,8039],[1520,8051],[1502,8054],[1488,8050],[1460,8061],[1456,8080],[1446,8083],[1446,8068],[634,8068],[628,8072],[626,8068],[624,8068],[616,8086],[610,8083],[591,8088],[578,8097],[587,8095],[576,8105],[579,8116],[568,8107],[562,8119],[546,8121],[521,8132],[533,8140],[517,8137],[493,8145],[486,8154],[487,8163],[484,8181],[490,8188],[508,8197],[503,8198],[483,8183],[487,8195],[476,8190],[464,8191],[473,8203],[463,8229],[454,8236],[461,8265],[443,8249],[440,8240],[417,8262],[406,8279],[392,8282],[389,8288],[409,8289],[407,8297],[422,8316],[418,8329],[420,8342],[417,8350],[374,8371],[368,8370],[365,8379],[359,8382],[361,8389],[355,8396],[321,8447],[307,8462],[296,8466],[291,8475],[271,8491],[273,8497],[259,8508],[234,8499],[226,8480],[219,8480],[202,8469],[196,8484],[167,8506],[165,8512],[150,8520],[153,8532],[137,8532],[126,8525],[114,8530],[110,8526],[97,8531],[97,8979],[129,8978],[151,8972],[157,8966],[182,8953],[209,8943],[224,8939],[242,8939],[262,8929],[255,8941],[248,8941],[242,8952],[253,8962],[253,8972],[266,8962],[265,8968],[279,8971],[289,8968],[293,8983],[299,8974],[306,8978],[309,8971],[295,8958],[314,8966],[326,8966],[336,8980],[346,8978],[346,8984],[366,8985],[379,8996],[386,8988],[391,8999],[402,9005],[424,9002],[430,9012],[438,9005],[432,8997],[405,8986],[393,8975],[390,8979],[362,8973],[358,8964],[343,8960],[333,8949],[326,8947],[321,8937],[340,8935],[336,8948],[365,8960],[372,8970],[382,8971],[387,8965],[393,8973],[392,8959],[411,8982],[446,8990],[450,8981],[470,8997],[476,9008],[492,9010],[478,9013],[472,9032],[496,9019],[505,9011],[518,8985],[540,8967],[555,8962],[563,8965],[554,8972],[564,8971],[556,8977],[567,8984],[571,8995],[562,8998],[585,9006],[581,8996],[583,8983],[595,8983],[584,8965],[607,8964],[621,8971],[622,8985],[628,8989],[655,8988],[673,8985],[691,8978],[707,8967],[754,8957],[773,8947],[834,8935],[824,8943],[834,8945],[861,8939],[876,8931],[894,8914],[891,8907],[863,8909],[869,8904],[855,8904],[859,8895],[846,8891],[859,8884],[868,8885],[896,8879],[912,8880],[914,8890],[923,8890],[920,8878],[938,8878],[941,8881],[964,8880],[985,8885],[1020,8906],[1025,8899],[1042,8892],[1041,8888],[1025,8896],[1012,8899],[1011,8888],[1023,8878],[1035,8882],[1044,8862],[1047,8874],[1061,8863],[1071,8868],[1064,8871],[1070,8887],[1061,8888],[1072,8899],[1085,8896],[1093,8901],[1105,8899],[1114,8912],[1135,8916],[1138,8927],[1112,8921],[1109,8910],[1104,8915],[1094,8908],[1082,8912],[1072,89
3808],[1079,8903],[1058,8902],[1055,8910],[1044,8908],[1060,8926],[1089,8930],[1119,8941],[1135,8938],[1143,8931],[1141,8915],[1154,8908],[1160,8912],[1155,8922],[1166,8924],[1173,8917],[1167,8914],[1166,8901],[1172,8896],[1200,8898],[1236,8880],[1246,8884],[1259,8878],[1276,8881],[1283,8886],[1321,8884],[1327,8880],[1352,8885],[1341,8892],[1346,8899],[1360,8882],[1373,8876],[1389,8883],[1372,8895],[1361,8890],[1351,8894],[1353,8903],[1342,8913],[1356,8910],[1370,8913],[1363,8922],[1385,8918],[1390,8908],[1407,8905],[1398,8895],[1425,8909],[1408,8868],[1420,8866],[1414,8856],[1429,8863],[1441,8843],[1419,8840],[1442,8839],[1441,8852],[1446,8858],[1437,8876],[1431,8880],[1438,8898],[1455,8896],[1470,8907],[1475,8913],[1498,8926],[1488,8925],[1493,8938],[1483,8945],[1477,8933],[1462,8933],[1463,8944],[1476,8949],[1471,8953],[1474,8963],[1494,8968],[1484,8958],[1485,8954],[1499,8965],[1494,8973],[1483,8968],[1471,8969],[1462,8981],[1455,8975],[1416,8990],[1407,9003],[1405,9014],[1416,9031],[1403,9042],[1411,9056],[1408,9067],[1422,9073],[1432,9067],[1437,9077],[1423,9081],[1440,9094],[1444,9103],[1462,9105],[1447,9104],[1445,9134],[1430,9152],[1434,9170],[1430,9198],[1432,9203],[1444,9204],[1456,9200],[1442,9212],[1444,9219],[1459,9224],[1490,9228],[1516,9226],[1531,9218],[1552,9220],[1569,9219],[1593,9213],[1558,9173],[1544,9153],[1528,9145],[1498,9150],[1476,9148],[1484,9145],[1496,9131],[1486,9123],[1477,9107],[1464,9105],[1469,9087],[1474,9094],[1489,9093],[1486,9087],[1510,9070],[1514,9059],[1512,9041],[1527,9033],[1538,9020],[1541,9011],[1547,9017],[1554,9006],[1540,9004],[1533,9007],[1524,9002],[1536,9002],[1555,8986],[1552,8983],[1566,8972],[1579,8973],[1594,8965],[1585,8957],[1561,8961],[1576,8951],[1585,8939],[1581,8917],[1589,8913],[1590,8906],[1607,8927],[1608,8948],[1618,8958],[1629,8957],[1636,8950],[1656,8935],[1663,8911],[1659,8904],[1652,8912],[1645,8908],[1650,8883],[1672,8862],[1676,8856],[1688,8857],[1693,8865],[1701,8863],[1700,8878],[1719,8897],[1725,8915],[1726,8931],[1752,8932],[1741,8937],[1751,8942],[1747,8946],[1759,8947],[1735,8956],[1729,8979],[1736,8990],[1744,8986],[1750,8990],[1765,8990],[1782,8982],[1816,8979],[1819,8971],[1799,8973],[1826,8967],[1830,8961],[1841,8959],[1837,8967],[1848,8966],[1849,8956],[1855,8950],[1839,8941],[1856,8934],[1855,8927],[1830,8913],[1819,8910],[1824,8903],[1833,8901],[1831,8889],[1850,8875],[1856,8867],[1848,8844],[1835,8843],[1828,8832],[1815,8822],[1804,8822],[1794,8812],[1775,8826],[1763,8838],[1764,8843],[1749,8841],[1771,8828],[1783,8804],[1769,8811],[1756,8812],[1764,8804],[1738,8809],[1733,8822],[1720,8819],[1706,8822],[1693,8816],[1698,8810],[1720,8803],[1717,8796],[1704,8790],[1702,8782],[1675,8762],[1659,8762],[1607,8792],[1597,8789],[1554,8792],[1569,8786],[1567,8791],[1600,8785],[1613,8776],[1627,8762],[1685,8758],[1688,8753],[1669,8725],[1663,8723],[1658,8708],[1636,8698],[1619,8705],[1626,8696],[1611,8702],[1605,8711],[1600,8704],[1604,8697],[1591,8680],[1581,8683],[1576,8676],[1564,8682],[1545,8685],[1558,8675],[1575,8671],[1579,8655],[1557,8642],[1535,8647],[1526,8643],[1540,8636],[1540,8631],[1526,8631],[1521,8618],[1500,8602],[1503,8597],[1481,8582],[1485,8576],[1470,8555],[1456,8515],[1459,8488],[1457,8474],[1468,8461],[1474,8465],[1505,8462],[1506,8453],[1516,8433],[1517,8424],[1527,8403],[1519,8386],[1568,8399],[1581,8397],[1603,8387],[1631,8382],[1648,8368],[1658,8364],[1670,8348],[1687,8343],[1725,8330],[1733,8322],[1757,8315],[1777,8318],[1785,8315],[1826,8310],[1828,8298],[1821,8273],[1830,8257],[1827,8248],[1830,8235],[1825,8223],[1847,8202],[1853,8188],[1864,8184],[1875,8173],[1880,8159],[1900,8150],[1902,8160],[1913,8171],[1922,8163],[1925,8154],[1928,8169],[1912,8183],[1912,8189],[1925,8182],[1934,8189],[1936,8203],[1928,8210],[1923,8225],[1924,8239],[1919,8244],[1923,8265],[1921,8271],[1911,8272],[1908,8283],[1900,8291],[1940,8306],[1958,8316],[1974,8329],[1991,8349],[1994,8358],[1994,8394],[1987,8416],[1979,8428],[1963,8442],[1953,8444],[1940,8457],[1936,8469],[1948,8482],[1957,8486],[1958,8503],[1972,8508],[1974,8517],[1962,8520],[1969,8523],[1959,8536],[1965,8541],[1957,8545],[1963,8550],[1945,8554],[1957,8565],[1958,8582],[1965,8583],[1949,8601],[1947,8620],[1959,8631],[1982,8631],[2022,8
38619],[2030,8621],[2047,8614],[2070,8624],[2066,8634],[2050,8639],[2068,8637],[2073,8628],[2093,8621],[2109,8609],[2110,8604],[2122,8600],[2128,8592],[2138,8590],[2131,8581],[2141,8580],[2139,8570],[2174,8563],[2178,8566],[2190,8561],[2189,8554],[2201,8565],[2205,8552],[2195,8547],[2192,8540],[2199,8527],[2194,8516],[2200,8511],[2196,8498],[2198,8486],[2209,8487],[2206,8479],[2215,8474],[2189,8464],[2193,8456],[2209,8469],[2223,8470],[2235,8464],[2240,8454],[2252,8450],[2262,8442],[2285,8453],[2294,8467],[2302,8464],[2315,8476],[2312,8485],[2323,8485],[2318,8495],[2318,8505],[2332,8516],[2336,8528],[2345,8539],[2351,8534],[2345,8530],[2350,8521],[2359,8516],[2358,8506],[2368,8500],[2370,8492],[2378,8488],[2382,8478],[2395,8465],[2398,8459],[2385,8450],[2406,8452],[2403,8438],[2433,8421],[2422,8421],[2432,8405],[2422,8399],[2441,8393],[2437,8379],[2441,8372],[2426,8380],[2426,8375],[2446,8365],[2423,8367],[2420,8364],[2440,8362],[2425,8355],[2442,8355],[2450,8340],[2472,8336],[2467,8332],[2476,8322],[2462,8305],[2477,8316],[2488,8318],[2487,8309],[2504,8314],[2510,8311],[2513,8299],[2534,8296],[2557,8290],[2562,8284],[2550,8279],[2535,8279],[2523,8266],[2497,8257],[2479,8255],[2479,8244],[2473,8235],[2485,8243],[2510,8253],[2515,8262],[2537,8268],[2534,8274],[2557,8271],[2566,8254],[2555,8249],[2566,8246],[2566,8252],[2585,8256],[2581,8251],[2598,8241],[2606,8243],[2607,8230],[2598,8224],[2605,8215],[2595,8217],[2605,8208],[2593,8206],[2610,8202],[2605,8197],[2609,8189],[2601,8181],[2580,8171],[2571,8162],[2550,8164],[2541,8158],[2527,8158],[2527,8152],[2512,8146],[2512,8139],[2500,8132],[2487,8119],[2478,8115],[2457,8117],[2431,8110],[2427,8115],[2388,8118],[2380,8115],[2369,8119],[2357,8117],[2327,8119],[2302,8114],[2293,8117],[2272,8100],[2264,8081],[2244,8080],[2241,8073],[2229,8071],[2215,8059],[2203,8042],[2193,8037],[2188,8041],[2158,8048],[2165,8044],[2186,8040],[2195,8035],[2189,8022],[2180,8012],[2173,8010],[2166,7998],[2147,7984],[2171,7994],[2186,8011],[2215,8039],[2240,8055],[2287,8073],[2318,8079],[2335,8077],[2348,8072],[2359,8059],[2353,8046],[2341,8038],[2322,8031],[2308,8039],[2302,8034],[2290,8035],[2310,8027],[2316,8018],[2328,8024],[2348,8026],[2340,8019],[2331,8001],[2324,7997],[2339,7997],[2337,7989],[2349,7965],[2371,7961],[2361,7958],[2390,7950],[2409,7942],[2425,7952],[2426,7946],[2438,7945],[2442,7942],[2436,7958],[2444,7965],[2456,7986],[2464,7995],[2470,7994],[2471,7979],[2455,7951],[2460,7945],[2470,7956],[2459,7955],[2473,7969],[2487,7963],[2488,7957],[2470,7943],[2454,7938],[2443,7940],[2452,7932],[2449,7928],[2431,7926],[2421,7919],[2409,7916],[2392,7908],[2376,7908],[2377,7901],[2355,7904],[2354,7895],[2339,7878],[2324,7869],[2313,7866],[2308,7877],[2301,7875],[2299,7887],[2305,7905],[2338,7925],[2354,7932],[2353,7924],[2376,7934],[2337,7936],[2350,7947],[2348,7953],[2342,7943],[2308,7928],[2303,7929],[2285,7923],[2283,7908],[2277,7927],[2270,7927],[2261,7930],[2262,7942],[2255,7944],[2252,7948],[2252,7995],[2240,8006],[2219,8001],[2209,8010]],[[1545,8685],[1545,8686],[1545,8685],[1545,8685],[1545,8685],[1545,8685],[1528,8688],[1526,8689],[1526,8689],[1526,8689],[1526,8689],[1524,8690],[1523,8690],[1523,8690],[1523,8690],[1523,8690],[1496,8700],[1491,8693],[1523,8690],[1523,8690],[1523,8690],[1523,8690],[1526,8689],[1526,8689],[1526,8689],[1526,8689],[1536,8685],[1526,8677],[1545,8685],[1545,8685],[1545,8685],[1545,8685],[1545,8685]]],[[[2019,8755],[2012,8762],[2034,8759],[2037,8765],[2051,8762],[2068,8772],[2085,8768],[2080,8781],[2069,8788],[2055,8802],[2085,8822],[2099,8833],[2105,8846],[2118,8850],[2123,8858],[2117,8860],[2110,8884],[2100,8891],[2099,8906],[2077,8910],[2071,8915],[2064,8907],[2058,8916],[2063,8920],[2026,8946],[2022,8939],[2001,8930],[1992,8929],[1992,8946],[2011,8946],[2022,8950],[2020,8960],[1992,8974],[1975,8979],[1986,8982],[1984,8987],[1967,8990],[1961,8988],[1961,9007],[1955,9012],[1940,9009],[1930,9022],[1920,9026],[1906,9018],[1923,9015],[1932,8998],[1925,8992],[1902,8990],[1895,8997],[1882,8997],[1861,9003],[1841,9004],[1858,8998],[1870,8985],[1865,8983],[1846,8996],[1827,9004],[1842,8994],[1830,8988],[1822,899
380],[1817,8984],[1810,8986],[1803,8998],[1785,8995],[1754,8998],[1735,9003],[1722,9003],[1738,8997],[1722,8997],[1708,9004],[1701,8997],[1684,8997],[1675,9003],[1697,9004],[1699,9016],[1691,9015],[1686,9022],[1679,9018],[1686,9013],[1661,9014],[1637,9022],[1614,9046],[1622,9048],[1611,9056],[1624,9053],[1638,9054],[1648,9049],[1676,9048],[1678,9051],[1655,9062],[1604,9069],[1598,9076],[1604,9092],[1595,9101],[1598,9109],[1611,9114],[1599,9120],[1605,9137],[1610,9140],[1611,9149],[1619,9147],[1619,9164],[1626,9175],[1645,9191],[1664,9202],[1695,9209],[1716,9210],[1742,9207],[1747,9199],[1728,9190],[1715,9178],[1695,9151],[1696,9141],[1709,9127],[1702,9117],[1704,9106],[1712,9094],[1731,9079],[1747,9074],[1750,9066],[1730,9061],[1717,9060],[1710,9055],[1692,9051],[1708,9051],[1723,9059],[1750,9060],[1746,9047],[1753,9050],[1751,9066],[1759,9077],[1754,9088],[1738,9087],[1728,9094],[1729,9100],[1716,9107],[1731,9110],[1731,9120],[1744,9120],[1770,9107],[1747,9122],[1745,9126],[1730,9131],[1725,9141],[1725,9155],[1729,9160],[1768,9150],[1740,9162],[1730,9163],[1740,9170],[1761,9165],[1740,9174],[1750,9183],[1763,9174],[1756,9184],[1809,9203],[1848,9202],[1857,9192],[1859,9175],[1874,9171],[1874,9157],[1885,9146],[1877,9138],[1878,9127],[1864,9117],[1876,9110],[1862,9111],[1870,9105],[1881,9108],[1878,9115],[1898,9133],[1905,9124],[1914,9127],[1924,9121],[1915,9104],[1930,9101],[1925,9107],[1926,9118],[1935,9125],[1958,9119],[1936,9129],[1939,9138],[1963,9147],[1984,9147],[1991,9141],[2034,9133],[2042,9120],[2032,9112],[2062,9110],[2066,9104],[2062,9096],[2037,9089],[2051,9086],[2042,9076],[2051,9072],[2048,9080],[2054,9087],[2072,9093],[2081,9092],[2069,9077],[2082,9081],[2080,9075],[2086,9070],[2088,9080],[2099,9081],[2107,9087],[2141,9079],[2154,9066],[2145,9055],[2127,9055],[2118,9044],[2118,9038],[2148,9045],[2153,9053],[2164,9057],[2172,9048],[2163,9036],[2150,9029],[2142,9031],[2136,9024],[2136,9014],[2143,9028],[2152,9026],[2147,9004],[2158,9031],[2190,9044],[2188,9037],[2173,9030],[2186,9029],[2199,9039],[2235,9029],[2232,9017],[2203,9011],[2185,9001],[2181,8995],[2194,8996],[2196,9005],[2225,9009],[2227,9005],[2202,8988],[2226,8997],[2240,9004],[2237,9009],[2244,9015],[2259,9005],[2269,8995],[2272,8983],[2246,8986],[2237,8976],[2250,8982],[2254,8978],[2246,8969],[2260,8977],[2282,8963],[2285,8955],[2256,8955],[2240,8961],[2216,8964],[2242,8956],[2231,8956],[2254,8947],[2245,8944],[2253,8934],[2249,8930],[2232,8935],[2212,8937],[2245,8929],[2235,8925],[2261,8921],[2279,8916],[2275,8911],[2282,8906],[2278,8897],[2290,8907],[2298,8906],[2297,8892],[2306,8896],[2321,8894],[2322,8890],[2335,8897],[2343,8893],[2331,8886],[2333,8880],[2342,8886],[2353,8883],[2357,8875],[2365,8877],[2370,8869],[2364,8867],[2366,8859],[2388,8861],[2394,8855],[2386,8851],[2383,8838],[2396,8843],[2396,8847],[2414,8830],[2410,8840],[2423,8846],[2443,8828],[2435,8818],[2423,8815],[2439,8813],[2425,8809],[2404,8816],[2413,8810],[2407,8806],[2419,8802],[2424,8796],[2410,8794],[2414,8786],[2408,8785],[2419,8779],[2387,8777],[2374,8769],[2384,8757],[2378,8742],[2368,8748],[2370,8754],[2356,8751],[2351,8762],[2347,8751],[2338,8763],[2321,8779],[2324,8790],[2339,8796],[2339,8801],[2323,8794],[2308,8792],[2306,8800],[2291,8812],[2282,8814],[2280,8821],[2264,8822],[2272,8810],[2264,8809],[2250,8817],[2253,8807],[2274,8794],[2262,8789],[2248,8790],[2247,8799],[2238,8805],[2231,8805],[2244,8795],[2236,8797],[2240,8785],[2250,8777],[2267,8777],[2262,8770],[2278,8764],[2277,8752],[2301,8740],[2317,8735],[2317,8730],[2328,8728],[2315,8723],[2332,8719],[2338,8711],[2329,8700],[2345,8698],[2337,8694],[2359,8690],[2351,8684],[2363,8678],[2355,8673],[2349,8682],[2348,8664],[2341,8667],[2336,8682],[2331,8678],[2345,8648],[2338,8646],[2326,8651],[2337,8634],[2352,8631],[2346,8623],[2337,8625],[2324,8639],[2327,8642],[2293,8653],[2288,8660],[2288,8648],[2273,8657],[2279,8660],[2261,8673],[2255,8682],[2256,8671],[2242,8680],[2225,8688],[2217,8687],[2221,8681],[2240,8663],[2245,8666],[2250,8658],[2260,8654],[2294,8627
38],[2307,8615],[2301,8607],[2306,8602],[2297,8600],[2266,8613],[2230,8618],[2216,8624],[2199,8636],[2205,8641],[2189,8643],[2180,8641],[2173,8646],[2154,8652],[2137,8660],[2137,8672],[2150,8679],[2141,8680],[2142,8685],[2122,8684],[2109,8692],[2102,8707],[2092,8715],[2090,8706],[2086,8721],[2080,8714],[2079,8726],[2071,8727],[2069,8714],[2068,8733],[2056,8725],[2049,8717],[2017,8728],[2013,8722],[2019,8717],[2002,8715],[1996,8707],[1977,8713],[1963,8701],[1965,8714],[1956,8716],[1946,8730],[1947,8744],[1972,8756],[1966,8762],[1968,8768],[1991,8766],[2018,8757],[2019,8755]],[[2019,8755],[2026,8749],[2026,8749],[2026,8749],[2021,8744],[2028,8733],[2029,8747],[2026,8749],[2026,8749],[2026,8749],[2027,8750],[2019,8755]]],[[[357,8261],[358,8265],[371,8270],[365,8255],[364,8238],[357,8232],[368,8234],[374,8226],[372,8213],[382,8195],[390,8194],[388,8184],[372,8203],[358,8214],[345,8230],[352,8231],[341,8234],[346,8240],[334,8245],[328,8260],[332,8272],[353,8269],[357,8261]],[[357,8261],[357,8258],[357,8258],[357,8258],[346,8252],[356,8250],[357,8258],[357,8258],[357,8258],[358,8259],[357,8261]]],[[[2360,8105],[2382,8100],[2407,8092],[2426,8082],[2431,8072],[2415,8071],[2390,8077],[2376,8083],[2366,8094],[2351,8099],[2360,8105]]],[[[1851,8233],[1860,8232],[1870,8222],[1872,8212],[1832,8225],[1837,8231],[1851,8233]]],[[[445,8239],[445,8249],[453,8236],[461,8230],[464,8218],[459,8195],[457,8213],[451,8202],[440,8218],[448,8214],[440,8229],[445,8239]]],[[[432,8226],[422,8231],[405,8246],[406,8250],[424,8240],[432,8226]]],[[[2244,8543],[2251,8537],[2247,8530],[2233,8528],[2239,8543],[2244,8543]]],[[[2337,8594],[2330,8597],[2332,8603],[2345,8588],[2339,8576],[2320,8588],[2337,8594]]],[[[1909,8624],[1914,8618],[1913,8606],[1900,8588],[1887,8596],[1886,8613],[1898,8625],[1909,8624]]],[[[2164,8645],[2182,8633],[2165,8632],[2152,8647],[2164,8645]]],[[[1831,8651],[1838,8649],[1836,8640],[1812,8621],[1800,8614],[1796,8618],[1785,8613],[1778,8629],[1796,8649],[1801,8645],[1812,8649],[1831,8651]]],[[[1939,8675],[1961,8673],[1965,8661],[1953,8656],[1936,8670],[1939,8675]]],[[[1977,8683],[1994,8674],[1982,8671],[1969,8680],[1977,8683]]],[[[1743,8797],[1748,8795],[1758,8777],[1754,8773],[1742,8783],[1743,8797]]],[[[1787,8788],[1794,8776],[1784,8782],[1771,8783],[1771,8790],[1761,8801],[1773,8798],[1787,8788]]],[[[2061,8898],[2087,8893],[2087,8883],[2058,8883],[2051,8887],[2047,8897],[2061,8898]]],[[[1705,8891],[1698,8880],[1691,8884],[1687,8898],[1696,8910],[1704,8905],[1705,8891]]],[[[2022,8910],[2036,8906],[2040,8900],[2035,8892],[2038,8872],[2028,8862],[2014,8857],[1982,8856],[1972,8879],[1975,8888],[1990,8907],[2002,8911],[2022,8910]]],[[[2043,8922],[2045,8911],[2028,8921],[2033,8931],[2043,8922]]],[[[1299,8941],[1293,8931],[1285,8935],[1285,8945],[1297,8942],[1300,8953],[1304,8946],[1299,8941]]],[[[1927,8969],[1935,8979],[1947,8984],[1953,8979],[1936,8971],[1945,8961],[1938,8957],[1927,8941],[1932,8928],[1938,8926],[1929,8917],[1922,8903],[1918,8912],[1924,8912],[1925,8927],[1918,8939],[1910,8942],[1930,8959],[1927,8969]]],[[[1980,8967],[1991,8966],[1983,8956],[1973,8953],[1971,8967],[1980,8967]]],[[[1431,8977],[1440,8973],[1439,8965],[1430,8962],[1430,8974],[1422,8964],[1424,8976],[1431,8977]]],[[[1888,8966],[1888,8973],[1872,8985],[1886,8987],[1893,8983],[1902,8988],[1913,8982],[1895,8977],[1888,8966]]],[[[2133,9054],[2147,9052],[2145,9046],[2125,9042],[2122,9047],[2133,9054]]],[[[1399,9168],[1405,9164],[1394,9157],[1388,9165],[1398,9172],[1399,9168]]],[[[1169,9179],[1148,9153],[1112,9185],[1097,9189],[1110,9202],[1152,9204],[1171,9193],[1169,9179]]],[[[1373,9222],[1359,9211],[1335,9207],[1320,9213],[1341,9220],[1371,9225],[1373,9222]]],[[[1194,9294],[1198,9287],[1179,9278],[1159,9284],[1166,9297],[1182,9302],[1194,9294]]],[[[1413,9315],[1424,9310],[1416,9304],[1407,9304],[1396,9298],[1391,9306],[1413,9315]]],[[[1243,9335],[1224,9322],[1206,9321],[1214,9331],[1239,9336],[1243,9335]]],[[[1235,9340],[1234,9337],[1195,9330],[1187,9333],[1232,9342],[1235,9340]]],[[[784,9344],[790,9342],[776,9321],[756,9307],[732,9312],[756,9332],[768,9334],[784,9344]]],[[[1922,9344],[1928,9342],[1918,9335],[1926,9328],[1914,9329],[1910,9324],[1901,9328],[1922,9344]]],[[[1226,9353],[1229,9346],[1220,9341],[1192,9338],[1175,9341],[1177,9349],[1224,9356],[1226,9353]]],[[[1188,9374],[1213,9365],[1206,9357],[1175,9356],[1174,9365],[1167,9373],[1176,9377],[1188,9374]]],[[[1294,9380],[1264,9371],[1254,9372],[1275,9381],[1294,9380]]],[[[1607,9368],[1596,9366],[1582,9380],[1583,9385],[1599,9388],[1607,9382],[1602,9374],[1607,9368]]],[[[899,9391],[908,9384],[901,9379],[866,9383],[879,9390],[899,9391]]],[[[1589,9437],[1607,9426],[1608,9418],[1596,9410],[1571,9417],[1563,9423],[1564,9436],[1572,9439],[1589,9437]]],[[[1156,9424],[1164,9424],[1174,9417],[1173,9407],[1164,9405],[1141,9417],[1125,9444],[1142,9443],[1157,9431],[1156,9424]]],[[[1439,9447],[1492,9447],[1504,9443],[1495,9427],[1422,9428],[1413,9435],[1415,9442],[1439,9447]]],[[[1276,9444],[1258,9444],[1251,9440],[1232,9444],[1233,9454],[1255,9454],[1268,9451],[1276,9444]]],[[[882,9462],[899,9454],[903,9449],[887,9442],[866,9452],[859,9458],[882,9466
38],[882,9462]]],[[[1320,9600],[1330,9601],[1342,9590],[1344,9578],[1339,9570],[1324,9576],[1316,9585],[1302,9584],[1298,9594],[1310,9602],[1320,9600]]],[[[2411,7966],[2405,7963],[2407,7956],[2398,7956],[2397,7962],[2375,7965],[2372,7971],[2360,7972],[2360,7979],[2352,7982],[2364,7996],[2361,7985],[2373,7973],[2374,7977],[2386,7972],[2407,7974],[2423,7973],[2411,7966]]],[[[1901,8359],[1905,8372],[1898,8381],[1907,8379],[1906,8368],[1914,8373],[1920,8364],[1932,8364],[1932,8353],[1922,8348],[1927,8360],[1920,8360],[1908,8341],[1905,8351],[1895,8339],[1892,8342],[1906,8357],[1901,8359]]],[[[410,8258],[399,8261],[411,8267],[440,8238],[438,8229],[424,8243],[409,8251],[410,8258]]],[[[1796,7954],[1810,7956],[1811,7951],[1826,7957],[1835,7956],[1845,7947],[1839,7939],[1796,7954]]],[[[1e3,9479],[985,9481],[975,9486],[967,9478],[957,9478],[945,9485],[916,9478],[915,9487],[946,9497],[956,9496],[975,9506],[997,9510],[1024,9499],[1031,9490],[1026,9480],[1009,9482],[1e3,9479]]],[[[495,8114],[482,8111],[487,8117],[470,8130],[467,8136],[482,8141],[504,8130],[555,8119],[558,8112],[577,8086],[602,8076],[610,8068],[625,8061],[614,8057],[618,8047],[610,8043],[578,8052],[562,8061],[572,8069],[554,8065],[532,8079],[522,8091],[515,8092],[511,8101],[502,8105],[495,8114]]],[[[2661,8052],[2672,8049],[2688,8053],[2682,8044],[2677,8045],[2663,8020],[2671,8014],[2680,8031],[2691,8034],[2680,8017],[2682,8010],[2690,8014],[2694,8023],[2699,8013],[2693,8004],[2689,7986],[2681,7980],[2671,7979],[2671,7999],[2657,7986],[2652,7989],[2661,8008],[2658,8024],[2651,8009],[2631,8005],[2621,7990],[2601,7990],[2603,7996],[2614,7999],[2625,8015],[2618,8021],[2616,8011],[2602,8010],[2607,8015],[2595,8017],[2574,8013],[2539,8019],[2508,8014],[2499,8026],[2528,8049],[2520,8052],[2503,8049],[2513,8055],[2520,8053],[2529,8074],[2538,8068],[2535,8085],[2544,8089],[2542,8095],[2560,8133],[2572,8142],[2578,8158],[2605,8170],[2603,8165],[2617,8168],[2611,8157],[2598,8160],[2599,8154],[2608,8152],[2612,8141],[2615,8137],[2597,8134],[2578,8108],[2575,8090],[2595,8113],[2614,8104],[2597,8095],[2603,8088],[2622,8083],[2621,8076],[2634,8079],[2642,8094],[2645,8089],[2654,8097],[2657,8087],[2674,8078],[2670,8070],[2661,8068],[2661,8052]]],[[[1758,8667],[1737,8658],[1727,8663],[1728,8681],[1722,8685],[1681,8679],[1681,8686],[1690,8696],[1710,8704],[1705,8713],[1704,8727],[1711,8743],[1711,8760],[1718,8783],[1731,8791],[1731,8785],[1740,8785],[1744,8776],[1736,8772],[1743,8768],[1750,8757],[1758,8770],[1770,8762],[1772,8756],[1793,8753],[1798,8744],[1813,8736],[1823,8735],[1841,8723],[1842,8711],[1852,8709],[1834,8699],[1852,8702],[1866,8699],[1867,8705],[1877,8697],[1874,8693],[1887,8690],[1863,8673],[1832,8684],[1820,8684],[1823,8692],[1818,8698],[1803,8697],[1804,8708],[1788,8704],[1784,8700],[1785,8688],[1767,8681],[1758,8667]]],[[[1319,8952],[1333,8953],[1351,8962],[1345,8968],[1347,8976],[1363,8969],[1352,8977],[1356,8987],[1365,8992],[1378,8986],[1378,8993],[1384,8990],[1383,8982],[1395,8971],[1406,8968],[1400,8975],[1417,8975],[1417,8964],[1412,8966],[1424,8950],[1426,8940],[1445,8938],[1435,8929],[1427,8931],[1413,8919],[1406,8917],[1391,8922],[1379,8921],[1370,8927],[1347,8932],[1334,8943],[1328,8937],[1316,8946],[1319,8952]]],[[[1212,9034],[1220,9025],[1246,9012],[1254,9014],[1259,9004],[1273,9008],[1278,8987],[1270,8981],[1269,8970],[1260,8992],[1255,8979],[1240,8992],[1228,8984],[1230,8975],[1222,8973],[1203,8982],[1201,8978],[1220,8965],[1231,8970],[1243,8971],[1240,8964],[1258,8951],[1252,8952],[1244,8936],[1254,8934],[1249,8923],[1235,8929],[1243,8933],[1241,8943],[1215,8935],[1202,8934],[1173,8942],[1169,8938],[1148,8943],[1159,8948],[1131,8954],[1115,8955],[1118,8966],[1110,8972],[1099,8964],[1100,8958],[1088,8947],[1070,8942],[1052,8943],[1040,8932],[1020,8927],[974,8922],[960,8906],[964,8922],[933,8920],[928,8918],[911,8924],[902,8935],[905,8948],[901,8955],[880,8960],[857,8958],[834,8961],[814,8969],[815,8975],[796,8985],[790,8997],[804,9004],[832,9009],[886,9014],[915,9011],[916,9014],[933,9008],[946,9012],[942,9017],[963,9014],[946,9024],[925,9026],[907,9034],[886,9033],[819,9025],[797,9026],[768,9042],[762,9052],[780,9060],[789,9061],[830,9071
38],[827,9074],[849,9080],[838,9081],[787,9071],[769,9071],[765,9076],[784,9082],[772,9087],[761,9082],[759,9087],[743,9085],[743,9102],[754,9113],[770,9118],[770,9123],[756,9129],[768,9141],[778,9144],[792,9157],[806,9159],[827,9168],[845,9173],[874,9183],[884,9180],[893,9168],[891,9150],[874,9139],[899,9140],[909,9146],[903,9148],[910,9156],[921,9162],[948,9155],[974,9146],[971,9137],[955,9127],[960,9122],[969,9128],[979,9121],[977,9128],[988,9137],[998,9136],[1008,9130],[1016,9133],[1003,9151],[995,9152],[989,9162],[1007,9161],[1050,9137],[1049,9125],[1056,9114],[1056,9105],[1063,9103],[1060,9094],[1069,9085],[1076,9085],[1081,9093],[1090,9095],[1090,9100],[1075,9113],[1076,9121],[1069,9134],[1072,9137],[1066,9148],[1064,9178],[1068,9192],[1080,9194],[1078,9180],[1093,9172],[1101,9179],[1120,9166],[1132,9162],[1146,9149],[1148,9131],[1158,9115],[1155,9112],[1175,9083],[1178,9071],[1171,9069],[1167,9057],[1183,9045],[1187,9038],[1211,9025],[1212,9034]]],[[[1880,9205],[1909,9197],[1948,9199],[1956,9196],[1975,9190],[1980,9181],[1990,9178],[1992,9171],[2003,9166],[2001,9151],[1947,9155],[1917,9147],[1905,9148],[1894,9153],[1888,9164],[1888,9174],[1870,9177],[1867,9186],[1869,9202],[1880,9205]]],[[[1250,9123],[1246,9133],[1227,9142],[1223,9151],[1231,9163],[1244,9166],[1259,9155],[1266,9145],[1291,9146],[1291,9154],[1302,9159],[1297,9169],[1286,9170],[1294,9180],[1279,9176],[1256,9189],[1268,9196],[1277,9195],[1283,9188],[1288,9195],[1273,9200],[1278,9209],[1292,9209],[1303,9205],[1298,9214],[1310,9215],[1313,9209],[1327,9203],[1360,9208],[1366,9213],[1385,9210],[1393,9203],[1392,9197],[1379,9191],[1388,9184],[1371,9178],[1352,9164],[1351,9156],[1363,9164],[1385,9159],[1384,9153],[1394,9147],[1399,9155],[1413,9129],[1402,9123],[1405,9120],[1405,9097],[1393,9095],[1379,9084],[1356,9087],[1362,9080],[1356,9073],[1342,9066],[1335,9071],[1326,9070],[1321,9081],[1308,9098],[1303,9098],[1285,9116],[1276,9115],[1268,9124],[1261,9119],[1250,9123]]],[[[583,9157],[572,9166],[578,9170],[584,9185],[595,9192],[596,9199],[604,9205],[593,9210],[584,9222],[579,9236],[575,9238],[618,9244],[638,9245],[668,9250],[710,9234],[740,9230],[745,9219],[753,9231],[772,9234],[791,9232],[807,9223],[835,9203],[843,9200],[853,9188],[840,9181],[819,9176],[797,9165],[740,9140],[734,9125],[722,9118],[707,9119],[710,9113],[702,9103],[704,9089],[696,9078],[673,9072],[665,9076],[652,9065],[624,9055],[614,9064],[608,9076],[595,9089],[560,9103],[541,9103],[559,9133],[569,9137],[566,9155],[583,9157]]],[[[1408,9288],[1424,9300],[1428,9306],[1454,9315],[1461,9321],[1454,9333],[1465,9336],[1471,9325],[1469,9313],[1495,9292],[1493,9289],[1498,9270],[1492,9256],[1459,9255],[1442,9265],[1438,9262],[1441,9247],[1425,9252],[1434,9256],[1436,9266],[1425,9266],[1411,9277],[1403,9276],[1408,9288]]],[[[1294,9277],[1292,9290],[1303,9290],[1281,9298],[1283,9303],[1303,9304],[1296,9308],[1309,9309],[1309,9316],[1335,9319],[1288,9315],[1264,9311],[1261,9313],[1226,9306],[1225,9317],[1238,9320],[1237,9329],[1250,9331],[1264,9323],[1248,9342],[1263,9352],[1242,9350],[1239,9354],[1251,9364],[1262,9363],[1272,9357],[1271,9351],[1293,9340],[1299,9331],[1309,9333],[1297,9345],[1313,9344],[1304,9349],[1290,9351],[1303,9355],[1294,9360],[1284,9360],[1275,9367],[1296,9376],[1314,9375],[1326,9365],[1338,9365],[1336,9375],[1373,9366],[1369,9356],[1377,9346],[1373,9333],[1375,9328],[1365,9321],[1381,9317],[1380,9307],[1371,9311],[1368,9301],[1358,9296],[1375,9285],[1364,9283],[1362,9278],[1322,9276],[1324,9284],[1314,9275],[1294,9277]]],[[[863,9347],[854,9351],[839,9351],[835,9358],[847,9364],[878,9367],[886,9365],[893,9348],[921,9353],[938,9347],[940,9338],[957,9333],[945,9327],[966,9327],[968,9313],[973,9308],[994,9311],[1042,9306],[1044,9314],[1036,9321],[1019,9325],[1008,9330],[1026,9337],[1030,9343],[1014,9351],[998,9355],[998,9363],[1015,9366],[1024,9381],[1045,9389],[1055,9378],[1047,9376],[1054,9364],[1066,9354],[1054,9339],[1072,9340],[1079,9335],[1071,9330],[1096,9330],[1109,9340],[1134,9336],[1142,9330],[1145,9316],[1135,9306],[1137,9298],[1126,9284],[1127,9280],[1105,9277],[1098,9272],[1083,9273],[1078,9280],[1067,9273],[1056,9272],[1044,9281],[1022,9268],[990,9263],[992,9260],[961,9247],[938,9242],[920,9241],[901,9244],[879,9258],[885,9262],[906,9267],[927,9276],[964,9277],[981,9291],[969,9288],[940,9284],[942,9289],[920,9282],[893,9281],[898,9297],[910,9301],[890,9298],[879,9281],[863,9275],[856,9277],[855,9287],[841,9275],[825,9281],[825,9289],[813,9284],[788,9288],[787,9298],[797,9305],[832,9305],[845,9312],[854,9312],[861,9319],[829,9311],[797,9311],[807,9324],[866,9328],[866,9331],[827,9328],[812,9330],[818,9335],[812,9340],[817,9346],[828,9349],[863,9347]]],[[[1698,9246],[1642,9247],[1645,9262],[1642,9271],[1632,9257],[1629,9264],[1623,9254],[1600,9249],[1568,9259],[1576,9270],[1562,9260],[1566,9255],[1554,9256],[1539,9263],[1536,9285],[1525,9289],[1531,9307],[1539,9312],[1534,9330],[1521,9338],[1520,9344],[1506,9359],[1479,9352],[1458,9356],[1449,9350],[1443,9354],[1456,9357],[1427,9361],[1421,9370],[1408,9379],[1396,9379],[1412,9386],[1399,9389],[1398,9397],[1428,9403],[1445,9398],[1466,9396],[1477,9391],[1489,9393],[1504,9382],[1499,9365],[1508,9375],[1519,9373],[1556,9379],[1581,9371],[1579,9364],[1559,9368],[1557,9364],[1585,9361],[1619,9355],[1617,9348],[1562,9346],[1593,9341],[1590,9338],[1566,9338],[1595,9333],[1600,9337],[1622,9324],[1620,9314],[1630,9302],[1631,9313],[1640,9316],[1651,9305],[1665,9311],[1672,9306],[1676,9313],[1704,9302],[1698,9298],[1722,9302],[1712,9307],[1744,9316],[1758,9314],[1783,9326],[1802,9321],[1824,9327],[1860,9323],[1855,9316],[1878,9316],[1893,9308],[1882,9304],[1903,9304],[1909,9294],[1904,9287],[1880,9279],[1888,9276],[1905,9278],[1911,9269],[1894,9266],[1885,9262],[1888,9254],[1877,9251],[1854,9251],[1840,9245],[1807,9250],[1801,9267],[1788,9270],[1795,9264],[1790,9252],[1767,9248],[1736,9247],[1731,9249],[1712,9246],[1692,9250],[1698,9246]]],[[[778,9422],[797,9416
38],[814,9422],[799,9426],[821,9433],[851,9417],[822,9406],[826,9400],[840,9396],[832,9391],[836,9379],[823,9372],[801,9368],[805,9358],[793,9352],[774,9361],[776,9379],[782,9384],[764,9384],[759,9380],[765,9371],[745,9366],[757,9357],[749,9354],[747,9347],[737,9343],[730,9358],[724,9353],[730,9339],[719,9328],[701,9327],[704,9335],[695,9337],[695,9345],[689,9348],[685,9340],[689,9333],[684,9325],[682,9336],[677,9331],[661,9339],[652,9339],[644,9332],[637,9336],[642,9343],[636,9347],[627,9343],[632,9351],[645,9361],[669,9363],[683,9377],[704,9386],[712,9398],[733,9410],[736,9416],[750,9420],[778,9422]]],[[[915,9431],[914,9455],[943,9462],[988,9467],[1018,9467],[1019,9459],[1003,9454],[985,9452],[988,9446],[1006,9447],[1008,9438],[1002,9429],[983,9424],[972,9425],[947,9418],[932,9427],[915,9431]]],[[[1362,9486],[1351,9492],[1362,9497],[1353,9502],[1352,9511],[1358,9514],[1379,9512],[1395,9506],[1417,9501],[1414,9495],[1430,9495],[1448,9490],[1456,9484],[1440,9477],[1454,9468],[1449,9459],[1427,9455],[1400,9452],[1389,9449],[1392,9456],[1369,9463],[1373,9467],[1394,9466],[1396,9469],[1368,9475],[1362,9486]]],[[[1156,9514],[1166,9526],[1158,9529],[1140,9527],[1138,9536],[1145,9547],[1152,9545],[1194,9549],[1219,9541],[1227,9532],[1229,9517],[1233,9526],[1255,9531],[1275,9521],[1268,9514],[1277,9511],[1292,9514],[1307,9506],[1302,9502],[1317,9499],[1308,9489],[1310,9480],[1316,9480],[1332,9466],[1333,9454],[1328,9451],[1306,9447],[1286,9452],[1281,9466],[1272,9474],[1240,9479],[1222,9474],[1214,9469],[1208,9473],[1223,9485],[1196,9481],[1188,9476],[1172,9478],[1162,9484],[1155,9493],[1167,9498],[1201,9493],[1203,9501],[1186,9501],[1201,9504],[1201,9512],[1191,9508],[1180,9512],[1190,9518],[1184,9524],[1173,9523],[1161,9512],[1156,9514]]],[[[1504,9675],[1487,9675],[1469,9679],[1475,9686],[1490,9684],[1502,9686],[1532,9678],[1544,9672],[1542,9666],[1553,9659],[1566,9643],[1577,9640],[1577,9630],[1603,9628],[1618,9628],[1626,9624],[1620,9612],[1627,9605],[1653,9598],[1636,9612],[1643,9622],[1666,9620],[1670,9604],[1656,9601],[1659,9597],[1680,9597],[1688,9586],[1682,9564],[1698,9569],[1715,9563],[1729,9564],[1734,9555],[1748,9545],[1730,9536],[1701,9530],[1694,9523],[1687,9529],[1688,9520],[1671,9504],[1661,9505],[1657,9523],[1651,9522],[1652,9504],[1659,9500],[1652,9481],[1646,9476],[1650,9490],[1640,9500],[1635,9500],[1641,9488],[1634,9473],[1626,9472],[1598,9500],[1599,9489],[1605,9486],[1614,9471],[1601,9475],[1594,9482],[1587,9479],[1588,9470],[1572,9470],[1539,9474],[1521,9482],[1510,9491],[1513,9493],[1547,9497],[1516,9502],[1504,9499],[1486,9510],[1509,9510],[1484,9515],[1473,9523],[1492,9530],[1503,9537],[1543,9536],[1587,9541],[1568,9542],[1537,9539],[1521,9542],[1523,9546],[1542,9545],[1544,9548],[1522,9551],[1522,9555],[1495,9549],[1483,9542],[1476,9548],[1485,9552],[1466,9554],[1465,9548],[1444,9544],[1446,9548],[1429,9552],[1433,9562],[1459,9566],[1472,9576],[1445,9568],[1426,9569],[1403,9584],[1418,9586],[1405,9588],[1401,9602],[1421,9597],[1456,9595],[1457,9598],[1478,9604],[1462,9607],[1452,9602],[1439,9600],[1433,9609],[1423,9606],[1405,9611],[1423,9618],[1437,9618],[1419,9626],[1421,9632],[1446,9634],[1417,9637],[1437,9640],[1449,9639],[1452,9633],[1482,9627],[1480,9632],[1465,9633],[1465,9641],[1436,9647],[1447,9652],[1437,9654],[1444,9661],[1455,9665],[1470,9659],[1481,9664],[1470,9668],[1505,9667],[1504,9675]]],[[[1977,9457],[1946,9459],[1939,9455],[1952,9449],[1963,9449],[1950,9444],[1959,9435],[1943,9421],[1918,9416],[1903,9418],[1894,9415],[1870,9419],[1846,9430],[1842,9425],[1857,9418],[1838,9416],[1841,9408],[1860,9416],[1892,9410],[1909,9413],[1922,9404],[1911,9393],[1926,9393],[1923,9388],[1942,9399],[1954,9396],[1960,9387],[1958,9377],[1937,9364],[1929,9372],[1912,9354],[1906,9356],[1890,9350],[1861,9344],[1857,9347],[1870,9362],[1857,9367],[1836,9367],[1832,9374],[1826,9361],[1810,9360],[1778,9365],[1759,9363],[1744,9371],[1747,9362],[1763,9355],[1738,9356],[1704,9361],[1709,9370],[1697,9365],[1695,9358],[1675,9364],[1668,9357],[1645,9360],[1641,9386],[1636,9380],[1643,9367],[1635,9373],[1630,9361],[1608,9371],[1615,9378],[1612,9389],[1636,9399],[1649,9406],[1668,9404],[1689,9414],[1667,9420],[1668,9428],[1652,9438],[1652,9448],[1681,9455],[1710,9448],[1717,9442],[1722,9429],[1734,9423],[1761,9417],[1757,9422],[1773,9423],[1791,9420],[1781,9427],[1792,9429],[1808,9443],[1819,9458],[1811,9462],[1792,9436],[1777,9429],[1753,9430],[1744,9426],[1730,9432],[1747,9435],[1737,9439],[1741,9448],[1726,9458],[1744,9465],[1753,9483],[1747,9483],[1731,9468],[1709,9465],[1709,9471],[1700,9474],[1693,9468],[1672,9469],[1672,9490],[1682,9496],[1688,9507],[1698,9513],[1723,9514],[1738,9520],[1754,9517],[1782,9515],[1811,9505],[1824,9497],[1816,9506],[1798,9513],[1798,9516],[1822,9514],[1841,9517],[1849,9529],[1837,9527],[1830,9520],[1818,9518],[1805,9522],[1767,9522],[1753,9528],[1760,9535],[1775,9529],[1791,9527],[1765,9538],[1761,9553],[1749,9558],[1745,9566],[1727,9572],[1702,9576],[1707,9590],[1738,9587],[1703,9592],[1697,9602],[1703,9614],[1719,9615],[1736,9610],[1756,9611],[1781,9609],[1801,9597],[1829,9583],[1844,9565],[1852,9568],[1874,9565],[1895,9568],[1900,9572],[1867,9569],[1848,9573],[1844,9586],[1850,9589],[1829,9593],[1798,9613],[1834,9619],[1882,9624],[1891,9628],[1951,9633],[1928,9634],[1894,9634],[1911,9639],[1936,9645],[1966,9649],[1994,9650],[1993,9654],[1952,9654],[1927,9650],[1926,9661],[1963,9683],[1979,9687],[1985,9692],[1946,9682],[1912,9660],[1917,9659],[1904,9648],[1857,9
38635],[1807,9629],[1803,9636],[1829,9641],[1841,9648],[1835,9649],[1817,9642],[1795,9640],[1784,9643],[1781,9630],[1763,9627],[1742,9626],[1713,9628],[1694,9633],[1700,9641],[1722,9657],[1740,9662],[1812,9670],[1822,9673],[1769,9667],[1734,9665],[1713,9660],[1685,9642],[1678,9635],[1654,9638],[1616,9652],[1620,9657],[1645,9660],[1668,9659],[1695,9661],[1730,9674],[1753,9680],[1738,9681],[1720,9677],[1701,9669],[1675,9665],[1661,9666],[1603,9661],[1593,9665],[1588,9672],[1599,9678],[1611,9675],[1616,9678],[1601,9684],[1621,9689],[1631,9695],[1659,9698],[1645,9701],[1628,9698],[1584,9686],[1574,9693],[1610,9705],[1596,9704],[1578,9708],[1570,9700],[1557,9698],[1541,9705],[1555,9715],[1568,9714],[1568,9720],[1605,9725],[1617,9718],[1628,9726],[1626,9730],[1637,9735],[1657,9738],[1676,9736],[1678,9728],[1691,9730],[1688,9735],[1711,9734],[1733,9721],[1724,9730],[1753,9730],[1695,9741],[1691,9747],[1726,9749],[1735,9752],[1723,9765],[1754,9766],[1747,9762],[1785,9756],[1806,9740],[1801,9736],[1831,9735],[1817,9738],[1804,9747],[1805,9752],[1822,9749],[1846,9739],[1892,9729],[1907,9718],[1915,9718],[1895,9730],[1897,9733],[1865,9738],[1813,9758],[1819,9768],[1849,9767],[1825,9773],[1832,9780],[1851,9777],[1867,9770],[1875,9771],[1846,9788],[1849,9791],[1883,9788],[1890,9779],[1896,9783],[1918,9779],[1937,9781],[1896,9786],[1902,9791],[1882,9794],[1888,9799],[1912,9802],[1922,9795],[1928,9799],[1935,9794],[1956,9798],[1977,9794],[1994,9780],[2014,9774],[2005,9764],[2027,9776],[2007,9781],[1991,9795],[1970,9803],[2006,9808],[2038,9807],[2063,9804],[2074,9794],[2111,9782],[2080,9798],[2100,9809],[2111,9811],[2139,9811],[2135,9804],[2141,9800],[2162,9795],[2144,9805],[2163,9812],[2196,9812],[2198,9803],[2215,9807],[2218,9802],[2241,9804],[2240,9800],[2258,9802],[2293,9799],[2294,9796],[2268,9787],[2233,9780],[2228,9776],[2262,9779],[2309,9792],[2321,9787],[2330,9796],[2343,9797],[2342,9791],[2351,9786],[2360,9792],[2380,9791],[2374,9783],[2394,9774],[2398,9768],[2435,9766],[2448,9758],[2449,9749],[2443,9745],[2422,9741],[2426,9739],[2415,9733],[2353,9711],[2323,9714],[2304,9709],[2323,9708],[2309,9704],[2287,9704],[2240,9700],[2229,9696],[2268,9700],[2286,9695],[2245,9686],[2233,9682],[2185,9672],[2202,9673],[2252,9682],[2313,9695],[2348,9699],[2351,9694],[2343,9688],[2323,9679],[2305,9676],[2285,9663],[2238,9644],[2213,9628],[2206,9619],[2197,9616],[2178,9616],[2177,9624],[2164,9631],[2176,9620],[2174,9615],[2188,9610],[2181,9605],[2165,9606],[2123,9596],[2142,9597],[2168,9602],[2166,9591],[2147,9588],[2160,9585],[2143,9574],[2121,9569],[2101,9572],[2097,9579],[2063,9585],[2044,9582],[2082,9576],[2088,9577],[2094,9561],[2068,9555],[2049,9555],[2038,9558],[2039,9550],[2025,9552],[2005,9558],[2013,9548],[1986,9549],[1977,9556],[1969,9555],[1974,9547],[1958,9549],[1971,9543],[2006,9544],[2012,9541],[2056,9540],[2046,9538],[2055,9528],[2037,9527],[2014,9532],[2008,9539],[1950,9537],[2007,9534],[1965,9527],[1954,9529],[1943,9512],[1960,9523],[1989,9528],[2017,9524],[2016,9521],[1997,9517],[2031,9518],[2051,9511],[2064,9508],[2060,9504],[2044,9506],[2046,9499],[2028,9494],[1996,9496],[2008,9491],[2037,9485],[2021,9473],[1993,9477],[1984,9474],[2005,9469],[2023,9468],[2012,9458],[2004,9462],[1985,9455],[1977,9457]]]]}},{type:"Feature",id:"ST",properties:{"hc-group":"admin0","hc-middle-x":.55,"hc-middle-y":.5,"hc-key":"st","hc-a2":"ST",name:"Sao Tome and Principe",labelrank:"6","country-abbrev":"S.T.P.",subregi
38on:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"STP","iso-a2":"ST","woe-id":"23424966",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4443,6507],[4438,6512],[4444,6517],[4447,6513],[4443,6507]]]}},{type:"Feature",id:"JP",properties:{"hc-group":"admin0","hc-middle-x":.67,"hc-middle-y":.5,"hc-key":"jp","hc-a2":"JP",name:"Japan",labelrank:"2","country-abbrev":"Japan",subregion:"Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"JPN","iso-a2":"JP","woe-id":"23424856",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[8213,7550],[8222,7560],[8222,7549],[8211,7542],[8216,7535],[8205,7528],[8199,7515],[8191,7524],[8182,7524],[8172,7519],[8163,7501],[8151,7499],[8146,7523],[8155,7531],[8162,7545],[8167,7539],[8179,7539],[8183,7546],[8198,7553],[8206,7547],[8213,7550]]],[[[8108,7435],[8104,7422],[8089,7418],[8090,7425],[8101,7425],[8103,7432],[8095,7442],[8099,7453],[8094,7464],[8095,7448],[8082,7450],[8086,7463],[8081,7468],[8082,7477],[8095,7496],[8076,7481],[8081,7501],[8071,7497],[8065,7507],[8076,7502],[8074,7508],[8059,7514],[8043,7496],[8036,7494],[8049,7508],[8050,7515],[8057,7513],[8059,7519],[8070,7519],[8080,7528],[8087,7527],[8090,7535],[8105,7539],[8107,7529],[8127,7526],[8120,7516],[8132,7516],[8135,7505],[8125,7492],[8115,7454],[8111,7457],[8103,7446],[8108,7435]]],[[[8411,7783],[8412,7766],[8422,7756],[8428,7743],[8431,7727],[8425,7709],[8418,7708],[8413,7697],[8415,7683],[8402,7687],[8398,7670],[8401,7653],[8398,7639],[8394,7636],[8387,7616],[8396,7597],[8384,7592],[8382,7580],[8368,7570],[8364,7584],[8373,7593],[8364,7591],[8359,7578],[8357,7584],[8345,7581],[8345,7569],[8336,7560],[8335,7577],[8328,7577],[8318,7564],[8294,7562],[8282,7559],[8291,7566],[8278,7565],[8278,7575],[8272,7573],[8268,7561],[8279,7555],[8279,7550],[8266,7548],[8259,7542],[8251,7527],[8236,7525],[8225,7536],[8225,7549],[8235,7559],[8233,7564],[8222,7561],[8215,7566],[8194,7560],[8204,7554],[8185,7558],[8163,7547],[8166,7553],[8151,7545],[8149,7552],[8141,7548],[8138,7536],[8127,7542],[8113,7538],[8101,7544],[8104,7554],[8117,7554],[8147,7579],[8153,7588],[8167,7593],[8176,7589],[8201,7592],[8209,7596],[8221,7595],[8230,7599],[8228,7592],[8247,7591],[8255,7599],[8251,7606],[8265,7621],[8275,7636],[8274,7652],[8291,7658],[8282,7647],[8281,7636],[8292,7632],[8294,7638],[8318,7646],[8327,7653],[8337,7668],[8326,7670],[8319,7667],[8320,7680],[8324,7676],[8342,7672],[8353,7680],[8358,7696],[8364,7702],[8372,7726],[8369,7739],[8363,7738],[8371,7755],[8366,7763],[8379,7773],[8380,7787],[8388,7785],[8390,7774],[8396,7778],[8403,7773],[8408,7783],[8404,7787],[8394,7782],[8397,7797],[8408,7790],[8411,7783]]],[[[8477,7836],[8469,7824],[8465,7810],[8421,7835],[8399,7825],[8392,7833],[8381,7831],[8379,7822],[8391,7817],[8405,7805],[8391,7806],[8376,7792],[8370,7797],[8374,7812],[8364,7821],[8367,7836],[8378,7840],[8386,7849],[8380,7856],[8385,7861],[8394,7855],[8405,7853],[8413,7861],[8410,7874],[8418,7882],[8423,7905],[8417,7926],[8409,7926],[8401,7930],[8417,7929],[8428,7939],[8458,7905],[8480,7888],[8494,7888],[8501,7882],[8512,7882],[8527,7896],[8520,7875],[8528,7859],[8536,7859],[8510,7845],[8493,7847],[8477,7836]]]]}},{type:"Feature",id:"CV",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.47,"hc-key":"cv","hc-a2":"CV",name:"Cape Verde",labelrank:"4","country-abbrev":"C.Vd.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"CPV","iso-a2":"CV","woe-id":"23424794",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3563,6952],[3556,6945],[3548,6948],[3530,6942],[3526,6945],[3548,6952],[3549,6957],[3558,6948],[3563,6952]]]}},{type:"Feature",id:"DM",properties:{"hc-group":"admin0","hc-middle-x":.35,"hc-middle-y":.49,"hc-key":"dm","hc-a2":"DM",name:"Dominica",labelrank:"6","country-abbrev":"D'inca",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"DMA","iso-a2":"DM","woe-id":"23424798",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2440,6965],[2444,6962],[2441,6953],[2438,6962],[2440,6965]]]}},{type:"Feature",id:"SC",properties:{"hc-group":"admin0","hc-middle-x":.61,"hc-middle-y":.48,"hc-key":"sc","hc-a2":"SC",name:"Seychelles",labelrank:"6","country-abbrev":"Syc.",subregi
38on:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"SYC","iso-a2":"SC","woe-id":"23424941",continent:"Seven seas (open ocean)"},geometry:{type:"Polygon",coordinates:[[[5879,6370],[5880,6372],[5883,6368],[5882,6365],[5879,6370]]]}},{type:"Feature",id:"NZ",properties:{"hc-group":"admin0","hc-middle-x":.26,"hc-middle-y":.8,"hc-key":"nz","hc-a2":"NZ",name:"New Zealand",labelrank:"2","country-abbrev":"N.Z.",subregion:"Australia and New Zealand","region-wb":"East Asia & Pacific","iso-a3":"NZL","iso-a2":"NZ","woe-id":"23424916",continent:"Oceania"},geometry:{type:"MultiPolygon",coordinates:[[[[9186,5025],[9192,5029],[9202,5014],[9180,5007],[9189,5021],[9186,5025]]],[[[9263,5054],[9260,5048],[9243,5033],[9225,5029],[9219,5033],[9202,5034],[9201,5041],[9190,5039],[9186,5047],[9177,5045],[9158,5046],[9150,5053],[9159,5078],[9174,5095],[9187,5105],[9206,5125],[9217,5126],[9230,5135],[9246,5142],[9262,5158],[9274,5164],[9287,5177],[9297,5204],[9308,5209],[9314,5218],[9315,5237],[9331,5250],[9333,5241],[9342,5240],[9345,5222],[9364,5231],[9365,5236],[9365,5223],[9377,5234],[9373,5215],[9380,5207],[9368,5189],[9358,5180],[9350,5164],[9336,5156],[9334,5147],[9345,5132],[9325,5136],[9320,5131],[9293,5116],[9289,5106],[9289,5094],[9280,5076],[9272,5065],[9274,5057],[9263,5054]]],[[[9455,5261],[9440,5243],[9429,5224],[9410,5211],[9406,5218],[9397,5218],[9397,5225],[9389,5223],[9399,5234],[9406,5248],[9408,5258],[9400,5270],[9388,5274],[9381,5281],[9365,5288],[9365,5295],[9388,5308],[9392,5333],[9396,5344],[9382,5382],[9382,5396],[9371,5400],[9372,5395],[9345,5430],[9348,5435],[9332,5454],[9344,5457],[9347,5442],[9356,5437],[9368,5437],[9377,5426],[9382,5430],[9388,5417],[9386,5404],[9397,5391],[9405,5397],[9413,5401],[9414,5388],[9420,5378],[9426,5380],[9430,5349],[9464,5337],[9472,5337],[9489,5352],[9506,5346],[9499,5336],[9498,5318],[9488,5310],[9485,5299],[9471,5299],[9461,5295],[9457,5287],[9461,5276],[9455,5261]]]]}},{type:"Feature",id:"YE",properties:{"hc-group":"admin0","hc-middle-x":.3,"hc-middle-y":.52,"hc-key":"ye","hc-a2":"YE",name:"Yemen",labelrank:"3","country-abbrev":"Yem.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"YEM","iso-a2":"YE","woe-id":"23425002",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5826,6879],[5842,6879],[5852,6874],[5842,6868],[5825,6868],[5818,6873],[5826,6879]]],[[[5779,7068],[5801,7016],[5811,6996],[5797,6991],[5788,6985],[5784,6977],[5786,6966],[5761,6954],[5737,6949],[5726,6943],[5708,6939],[5693,6932],[5681,6919],[5667,6916],[5662,6919],[5644,6907],[5623,6900],[5593,6898],[5570,6880],[5560,6882],[5542,6876],[5528,6883],[5522,6894],[5521,6914],[5508,6911],[5508,6918],[5517,6920],[5515,6933],[5505,6969],[5509,6973],[5508,6988],[5520,7e3],[5519,7017],[5526,7023],[5536,7018],[5578,7020],[5586,7017],[5612,7014],[5623,7016],[5631,7006],[5645,7010],[5649,7021],[5666,7042],[5695,7056],[5779,7068]]]]}},{type:"Feature",id:"JM",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.53,"hc-key":"jm","hc-a2":"JM",name:"Jamaica",labelrank:"4","country-abbrev":"Jam.",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"JAM","iso-a2":"JM","woe-id":"23424858",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1968,7052],[1984,7050],[2e3,7042],[2005,7035],[1995,7033],[1985,7037],[1975,7029],[1960,7033],[1949,7043],[1941,7045],[1954,7053],[1968,7052]]]}},{type:"Feature",id:"WS",properties:{"hc-group":"admin0","hc-middle-x":.22,"hc-middle-y":.27,"hc-key":"ws","hc-a2":"WS",name:"Samoa",labelrank:"4","country-abbrev":"Samoa",subregion:"Polynesia","region-wb":"East Asia & Pacific","iso-a3":"WSM","iso-a2":"WS","woe-id":"23424992",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[-817,6098],[-803,6096],[-800,6091],[-814,6093],[-825,6100],[-831,6099],[-839,6107],[-827,6109],[-817,6098]]]}},{type:"Feature",id:"OM",properties:{"hc-group":"admin0","hc-middle-x":.89,"hc-middle-y":.45,"hc-key":"om","hc-a2":"OM",name:"Oman",labelrank:"4","country-abbrev":"Oman",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"OMN","iso-a2":"OM","woe-id":"23424898",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5905,7259],[5904,7259],[5904,7262],[5907,7261],[5905,7259]]],[[[5899,7285],[5908,7295],[5910,7281],[5905,7272],[5901,7273],[5899,7285]]],[[[5779,7068],[5867,7098],[5886,7159],[5873,7181],[5873,7190],[5883,7214],[5881,7220],[5897,7223],[5890,7228],[5891,7248],[5898,7244],[5908,7251],[5915,7236],[5931,7220],[5979,7206],[5988,7192],[6001,7177],[6009,7176],[6009,7165],[5995,7142],[5983,7133],[5976,7123],[5984,7114],[5975,7103],[5975,7109],[5962,7110],[5959,7116],[5947,7091],[5951,7068],[5924,7062],[5916,7055],[5913,7042],[5907,7036],[5881,7033],[5874,7023],[5875,7014],[5868,7008],[5839,7007],[5826,7e3],[5811,6996],[5801,7016],[5779,7068]]]]}},{type:"Feature",id:"IN",properties:{"hc-group":"admin0","hc-middle-x":.35,"hc-middle-y":.44,"hc-key":"in","hc-a2":"IN",name:"India",labelrank:"2","country-abbrev":"India",subregion:"Southern Asia","region-wb":"South Asia","iso-a3":"IND","iso-a2":"IN","woe-id":"23424848",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[6987,6907],[6989,6895],[6984,6890],[6986,6873],[6980,6859],[6976,6839],[6975,6849],[6982,6895],[6987,6907]]],[[[6870,7163],[6870,7157],[6870,7153],[6869,7147],[6856,7146],[6841,7148],[6846,7162],[6830,7149],[6816,7145],[6805,7134],[6810,7119],[6792,7098],[6764,7088],[6768,7094],[6757,7090],[6761,7085],[6747,7074],[6724,7046],[6710,7039],[6699,7025],[6676,7013],[6671,7008],[6672,6995],[6655,6987],[6640,6987],[6638,6977],[6627,6969],[6620,6974],[6611,6967],[6605,6948],[6609,6934],[6607,6925],[6610,6908],[6605,6906],[6614,6898],[6608,6872],[6600,6858],[6596,6845],[6599,6838],[6599,6807],[6586,6808],[6572,6783],[6575,6778],[6552,6768],[6547,6751],[6530,6742],[6515,6750],[6502,6766],[6495,6784],[6493,6798],[6481,6831],[6472,6849],[6462,6858],[6451,6883],[6444,6914],[6435,6938],[6424,6950],[6424,6957],[6411,6979],[6407,6994],[6406,7010],[6397,7040],[6393,7061],[6397,7068],[6392,7073],[6387,7093],[6394,7114],[6394,7125],[6386,7137],[6386,7144],[6395,7150],[6384,7150],[6384,7164],[6377,7166],[6372,7159],[6377,7149],[6371,7135],[6338,7120],[6325,7123],[6311,7133],[6278,7168],[6298,7170],[6314,7177],[6321,7188],[6301,7182],[6287,7185],[6269,7196],[6256,7216],[6256,7216],[6256,7216],[6263,7220],[6272,7220],[6272,7230],[6296,7230],[6308,7226],[6324,7234],[6331,7228],[6341,7234],[6340,7242],[6328,7266],[6328,7274],[6317,7274],[6311,7283],[6314,7300],[6304,7302],[6293,7309],[6297,7321],[6319,7347],[6334,7337],[6364,7345],[6379,7371],[6395,7379],[6404,7395],[6408,7408],[6425,7416],[6422,7421],[6437,7439],[6446,7445],[6441,7465],[6451,7476],[6467,7483],[6457,7490],[6448,7490],[6447,7502],[6436,7501],[6436,7506],[6427,7513],[6431,7525],[6426,7529],[6435,7539],[6425,7541],[6427,7547],[6420,7552],[6425,7561],[6435,7566],[6479,7557],[6487,7563],[6502,7564],[6517,7577],[6539,7590],[6545,7582],[6553,7562],[6572,7553],[6566,7543],[6568,7525],[6573,7518],[6585,7513],[6588,7496],[6572,7486],[6566,7496],[6556,7492],[6558,7482],[6567,7474],[6566,7453],[6576,7456],[6591,7440],[6599,7441],[6610,7433],[6609,7428],[6625,7423],[6633,7416],[6618,7404],[6610,7391],[6612,7388],[6605,7373],[6614,7366],[6623,7366],[6637,7358],[6642,7350],[6659,7342],[6664,7343],[6674,7336],[6682,7337],[6685,7330],[6716,7328],[6724,7331],[6738,7325],[6740,7316],[6759,7306],[6768,7310],[6775,7301],[6789,7303],[6801,7296],[6811,7302],[6819,7294],[6841,7298],[6844,7307],[6838,7318],[6843,7342],[6857,7350],[6864,7341],[6861,7332],[6865,7325],[6861,7320],[6871,7309],[6879,7310],[6893,7305],[6909,7311],[6915,7308],[6943,7308],[6959,7313],[6956,7330],[6950,7328],[6946,7339],[6956,7338],[6975,7344],[6976,7350],[6999,7368],[7005,7368],[7026,7379],[7034,7388],[7039,7383],[7054,7380],[7067,7389],[7079,7390],[7092,7369],[7103,7357],[7114,7353],[7114,7343],[7100,7334],[7108,7319],[7097,7326],[7079,7323],[7046,7298],[7050,7285],[7045,7275],[7034,7264],[7037,7253],[7024,7231],[7019,7216],[6995,7222],[6999,7210],[6997,7194],[6990,7190],[6991,7171],[6986,7159],[6977,7164],[6974,7159],[6967,7199],[6961,7213],[6949,7198],[6945,7188],[6936,7194],[6932,7209],[6938,7224],[6960,7234],[6964,7249],[6970,7251],[6957,7258],[6934,7258],[6909,7257],[6892,7264],[6893,7281],[6888,7290],[6885,7282],[6870,7291],[6863,7291],[6853,7298],[6841,7280],[6855,7268],[6862,7268],[6866,7257],[6852,7257],[6840,7241],[6843,7236],[6861,7228],[6855,7210],[6862,7204],[6860,7197],[6867,7196],[6864,7189],[6870,7163]]]]}},{type:"Feature",id:"VC",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.5,"hc-key":"vc","hc-a2":"VC",name:"Saint Vincent and the Grenadines",labelrank:"6","country-abbrev":"St.V.G.",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"VCT","iso-a2":"VC","woe-id":"23424981",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2446,6889],[2444,6896],[2448,6899],[2448,6893],[2446,6889]]]}},{type:"Feature",id:"BD",properties:{"hc-group":"admin0","hc-middle-x":.85,"hc-middle-y":.57,"hc-key":"bd","hc-a2":"BD",name:"Bangladesh",labelrank:"3","country-abbrev":"Bang.",subregion:"Southern Asia","region-wb":"South Asia","iso-a3":"BGD","iso-a2":"BD","woe-id":"23424759",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[6927,7170],[6933,7166],[6923,7165],[6918,7159],[6917,7183],[6927,7170]]],[[[6870,7153],[6871,7159],[6870,7163],[6864,7189],[6867,7196],[6860,7197],[6862,7204],[6855,7210],[6861,7228],[6843,7236],[6840,7241],[6852,7257],[6866,7257],[6862,7268],[6855,7268],[6841,7280],[6853,7298],[6863,7291],[6870,7291],[6885,7282],[6888,7290],[6893,7281],[6892,7264],[6909,7257],[6934,7258],[6957,7258],[6970,7251],[6964,7249],[6960,7234],[6938,7224],[6932,7209],[6936,7194],[6945,7188],[6949,7198],[6961,7213],[6967,7199],[6974,7159],[6976,7138],[6966,7143],[6965,7130],[6966,7121],[6953,7143],[6954,7155],[6947,7176],[6940,7175],[6941,7183],[6933,7182],[6933,7174],[6926,7177],[6918,7189],[6912,7181],[6914,7165],[6903,7153],[6901,7159],[6875,7148],[6870,7153]]]]}},{type:"Feature",id:"SB",properties:{"hc-group":"admin0","hc-middle-x":.64,"hc-middle-y":.71,"hc-key":"sb","hc-a2":"SB",name:"Solomon Islands",labelrank:"3","country-abbrev":"S. Is.",subregion:"Melanesia","region-wb":"East Asia & Pacific","iso-a3":"SLB","iso-a2":"SB","woe-id":"23424766",continent:"Oceania"},geometry:{type:"MultiPolygon",coordinates:[[[[9010,6203],[9021,6198],[9026,6188],[9012,6190],[9e3,6206],[9010,6203]]],[[[8961,6241],[8971,6237],[8970,6229],[8982,6220],[8978,6214],[8954,6218],[8947,6226],[8948,6233],[8961,6241]]],[[[9001,6229],[9005,6218],[8985,6237],[8977,6261],[8988,6253],[9001,6229]]],[[[8907,6286],[8922,6283],[8933,6273],[8954,6261],[8956,6254],[8925,6271],[8907,6286]]],[[[8891,6288],[8874,6290],[8855,6308],[8856,6312],[8872,6303],[8882,6291],[8891,6288]]],[[[8878,6265],[8877,6264],[8877,6265],[8877,6265],[8877,6265],[8878,6265],[8878,6265]]],[[[8878,6265],[8885,6272],[8897,6256],[8906,6251],[8901,6248],[8888,6258],[8877,6254],[8881,6263],[8878,6265],[8878,6265]]],[[[8877,6265],[8862,6274],[8859,6283],[8876,6272],[8877,6265],[8877,6265],[8877,6265]]]]}},{type:"Feature",id:"LC",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.48,"hc-key":"lc","hc-a2":"LC",name:"Saint Lucia",labelrank:"6","country-abbrev":"S.L.",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"LCA","iso-a2":"LC","woe-id":"23424951",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2454,6909],[2450,6912],[2454,6920],[2455,6919],[2454,6909]]]}},{type:"Feature",id:"FR",properties:{"hc-group":"admin0","hc-middle-x":.29,"hc-middle-y":.05,"hc-key":"fr","hc-a2":"FR",name:"France",labelrank:"2","country-abbrev":"Fr.",subregion:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"FRA","iso-a2":"FR","woe-id":"-90",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[5882,5886],[5893,5877],[5892,5872],[5878,5873],[5874,5880],[5882,5886]]],[[[4527,7836],[4529,7817],[4520,7791],[4507,7797],[4506,7814],[4500,7821],[4505,7833],[4516,7838],[4522,7837],[4523,7848],[4527,7836]]],[[[9194,5870],[9198,5863],[9191,5863],[9189,5870],[9169,5880],[9166,5884],[9174,5891],[9178,5879],[9194,5870]]],[[[9082,5896],[9082,5902],[9091,5903],[9113,5889],[9125,5874],[9147,5862],[9161,5850],[9166,5841],[9142,5846],[9115,5864],[9098,5879],[9082,5896]]],[[[6286,4943],[6297,4944],[6301,4932],[6317,4939],[6325,4938],[6323,4928],[6304,4929],[6303,4922],[6318,4922],[6313,4915],[6282,4921],[6274,4915],[6277,4925],[6274,4948],[6282,4955],[6286,4943]]],[[[2390,7039],[2393,7041],[2393,7038],[2390,7039]]],[[[4469,7876],[4468,7875],[4467,7875],[4466,7875],[4465,7874],[4446,7863],[4445,7855],[4421,7850],[4406,7856],[4400,7863],[4390,7860],[4364,7867],[4340,7852],[4338,7832],[4342,7828],[4335,7829],[4321,7825],[4309,7825],[4298,7830],[4299,7834],[4290,7834],[4287,7838],[4267,7842],[4267,7837],[4247,7837],[4239,7843],[4231,7841],[4226,7846],[4204,7851],[4207,7857],[4195,7862],[4205,7869],[4213,7908],[4211,7907],[4217,7953],[4215,7966],[4195,7975],[4186,7987],[4189,7995],[4173,8008],[4174,8013],[4165,8012],[4132,8027],[4119,8024],[4110,8033],[4122,8035],[4108,8049],[4114,8054],[4131,8058],[4143,8057],[4145,8062],[4157,8064],[4169,8050],[4180,8057],[4183,8053],[4208,8056],[4202,8059],[4201,8077],[4195,8084],[4191,8096],[4207,8096],[4213,8085],[4242,8079],[4260,8086],[4251,8087],[4255,8096],[4283,8105],[4294,8117],[4295,8140],[4306,8146],[4322,8149],[4322,8149],[4325,8144],[4330,8135],[4341,8136],[4344,8127],[4355,8124],[4356,8119],[4372,8116],[4370,8106],[4379,8104],[4392,8112],[4394,8099],[4409,8087],[4419,8089],[4424,8085],[4435,8086],[4445,8075],[4490,8067],[4478,8054],[4471,8034],[4470,8018],[4471,8015],[4472,8015],[4465,8009],[4455,8012],[4456,8006],[4429,7978],[4431,7967],[4433,7970],[4436,7971],[4448,7972],[4450,7961],[4455,7954],[4448,7950],[4457,7929],[4443,7924],[4456,7909],[4450,7897],[4465,7888],[4475,7887],[4469,7876]],[[4306,7828],[4307,7828],[4306,7830],[4305,7829],[4306,7828]]],[[[2653,6662],[2660,6673],[2688,6665],[2717,6641],[2723,6640],[2726,6623],[2717,6614],[2696,6574],[2689,6569],[2678,6574],[2663,6573],[2654,6567],[2640,6573],[2648,6579],[2658,6606],[2648,6623],[2644,6649],[2653,6662]]]]}},{type:"Feature",id:"NR",properties:{"hc-group":"admin0","hc-middle-x":.53,"hc-middle-y":.5,"hc-key":"nr","hc-a2":"NR",name:"Nauru",labelrank:"6","country-abbrev":"Nauru",subregi
38on:"Micronesia","region-wb":"East Asia & Pacific","iso-a3":"NRU","iso-a2":"NR","woe-id":"23424912",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[9164,6489],[9163,6489],[9163,6491],[9164,6491],[9164,6489]]]}},{type:"Feature",id:"NO",properties:{"hc-group":"admin0","hc-middle-x":.41,"hc-middle-y":.91,"hc-key":"no","hc-a2":"NO",name:"Norway",labelrank:"3","country-abbrev":"Nor.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"NOR","iso-a2":"NO","woe-id":"-90",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4493,8683],[4507,8690],[4516,8677],[4487,8668],[4477,8671],[4497,8678],[4493,8683]]],[[[4643,8897],[4625,8885],[4630,8896],[4645,8901],[4646,8906],[4660,8911],[4667,8910],[4661,8903],[4643,8897]]],[[[4688,8909],[4666,8902],[4680,8916],[4695,8917],[4688,8909]]],[[[4690,8922],[4683,8919],[4671,8929],[4688,8936],[4694,8946],[4698,8941],[4700,8927],[4690,8922]]],[[[4803,8991],[4809,8984],[4802,8976],[4784,8973],[4789,8987],[4801,8986],[4803,8991]]],[[[4832,9001],[4826,9009],[4842,9004],[4828,8990],[4811,8986],[4797,9e3],[4811,9004],[4823,8993],[4832,9001]]],[[[4940,9030],[4945,9022],[4937,9014],[4928,9013],[4922,9021],[4940,9030]]],[[[4937,9042],[4933,9034],[4922,9026],[4900,9023],[4907,9035],[4920,9032],[4937,9042]]],[[[4014,9060],[4012,9053],[3992,9048],[3984,9041],[3980,9044],[3998,9052],[4003,9059],[4014,9060]]],[[[4880,9498],[4899,9499],[4903,9492],[4904,9478],[4868,9474],[4851,9481],[4856,9486],[4842,9493],[4880,9498]]],[[[4580,9496],[4594,9489],[4606,9474],[4581,9490],[4576,9489],[4570,9500],[4558,9512],[4557,9518],[4567,9517],[4577,9508],[4574,9505],[4580,9496]]],[[[5103,9520],[5123,9519],[5109,9516],[5098,9520],[5076,9514],[5068,9515],[5085,9523],[5103,9520]]],[[[5239,9607],[5215,9601],[5179,9597],[5175,9600],[5218,9606],[5229,9609],[5239,9607]]],[[[4705,8941],[4707,8951],[4722,8962],[4721,8953],[4707,8944],[4717,8943],[4714,8925],[4727,8937],[4727,8944],[4736,8930],[4733,8922],[4722,8921],[4718,8914],[4708,8909],[4701,8916],[4690,8907],[4705,8927],[4705,8941]]],[[[4756,8970],[4768,8969],[4773,8976],[4780,8971],[4777,8955],[4743,8948],[4753,8961],[4747,8966],[4760,8965],[4756,8970]]],[[[5156,8987],[5157,8973],[5140,8978],[5129,8964],[5112,8960],[5109,8951],[5101,8947],[5098,8957],[5112,8969],[5106,8980],[5084,8987],[5070,9001],[5046,8992],[5028,8993],[5015,8982],[5006,8955],[5008,8946],[5003,8939],[4990,8936],[4988,8927],[4980,8923],[4974,8928],[4953,8936],[4947,8931],[4931,8926],[4926,8929],[4909,8930],[4907,8936],[4886,8959],[4876,8960],[4867,8955],[4867,8947],[4855,8947],[4840,8946],[4847,8941],[4844,8928],[4836,8922],[4844,8918],[4835,8912],[4809,8920],[4783,8921],[4783,8902],[4775,8893],[4758,8899],[4743,8890],[4733,8872],[4723,8865],[4732,8854],[4731,8847],[4720,8838],[4702,8819],[4704,8808],[4691,8802],[4676,8801],[4679,8787],[4675,8762],[4669,8750],[4650,8726],[4664,8720],[4665,8709],[4659,8699],[4638,8703],[4622,8697],[4606,8680],[4607,8673],[4601,8666],[4608,8652],[4605,8649],[4604,8633],[4611,8617],[4606,8594],[4627,8578],[4622,8563],[4609,8560],[4619,8540],[4617,8522],[4599,8507],[4592,8498],[4596,8484],[4592,8470],[4585,8473],[4583,8478],[4567,8480],[4557,8496],[4556,8484],[4541,8471],[4533,8471],[4498,8441],[4487,8434],[4471,8431],[4454,8431],[4440,8435],[4445,8440],[4425,8447],[4416,8452],[4409,8463],[4412,8475],[4426,8469],[4421,8477],[4427,8491],[4415,8486],[4413,8491],[4400,8482],[4401,8495],[4410,8505],[4402,8509],[4401,8522],[4415,8520],[4395,8527],[4394,8536],[4400,8529],[4404,8542],[4393,8552],[4397,8554],[4394,8580],[4406,8586],[4395,8590],[4395,8608],[4405,8608],[4401,8616],[4408,8615],[4423,8626],[4426,8620],[4446,8627],[4427,8625],[4452,8638],[4448,8646],[4466,8655],[4480,8657],[4475,8648],[4483,8651],[4482,8660],[4517,8672],[4518,8676],[4534,8682],[4546,8667],[4551,8674],[4566,8672],[4562,8678],[4573,8686],[4586,8690],[4575,8694],[4587,8700],[4571,8696],[4574,8691],[4555,8679],[4540,8676],[4537,8684],[4529,8688],[4548,8696],[4544,8698],[4548,8708],[4569,8721],[4571,8727],[4588,8735],[4579,8738],[4575,8745],[4584,8743],[4589,8752],[4596,8747],[4607,8757],[4616,8753],[4611,8762],[4604,8757],[4607,8769],[4594,8776],[4600,8780],[4620,8766],[4618,8775],[4612,8777],[4625,8793],[4612,8789],[4619,8796],[4610,8795],[4618,8801],[4627,8801],[4640,8809],[4628,8812],[4630,8820],[4637,8819],[4647,8834],[4655,8834],[4648,8841],[4662,8844],[4662,8851],[4683,8855],[4687,8851],[4695,8859],[4680,8855],[4670,8856],[4671,8866],[4685,8863],[4682,8868],[4690,8872],[4704,8867],[4696,8876],[4707,8881],[4701,8884],[4690,8881],[4684,8885],[4705,8901],[4722,8903],[4720,8896],[4726,8888],[4732,8906],[4722,8914],[4725,8920],[4737,8921],[4738,8927],[4752,8941],[4762,8938],[4759,8947],[4781,8954],[4778,8960],[4787,8971],[4796,8961],[4806,8963],[4792,8968],[4793,8972],[4806,8975],[4810,8984],[4831,8987],[4833,8978],[4842,8995],[4849,8992],[4843,8967],[4852,8975],[4854,8992],[4862,9001],[4854,9e3],[4849,9007],[4859,9010],[4869,8998],[4863,8990],[4871,8991],[4878,8999],[4893,8988],[4891,9e3],[4873,9009],[4882,9013],[4904,9013],[4916,9018],[4924,9015],[4921,9004],[4935,8995],[4941,8999],[4931,9002],[4940,9017],[4952,9025],[4944,9035],[4954,9035],[4958,9027],[4971,9
38037],[4952,9049],[4961,9049],[4973,9039],[4972,9047],[4978,9049],[4991,9040],[4996,9045],[4993,9053],[5008,9059],[5019,9051],[5e3,9047],[4997,9043],[5011,9043],[4986,9024],[4991,9026],[4990,9014],[4984,9010],[4988,9002],[5e3,9013],[4997,9015],[5014,9031],[5025,9044],[5034,9049],[5033,9032],[5029,9017],[5047,9031],[5047,9037],[5059,9043],[5047,9047],[5059,9049],[5060,9056],[5089,9050],[5076,9037],[5062,9030],[5081,9035],[5068,9023],[5080,9020],[5088,9036],[5096,9044],[5114,9039],[5112,9035],[5131,9035],[5163,9013],[5148,9011],[5136,9001],[5095,9006],[5091,9004],[5128,8993],[5156,8987]]],[[[4860,9637],[4860,9637],[4860,9637],[4860,9637],[4860,9637],[4860,9637],[4860,9637],[4860,9637]]],[[[4860,9637],[4852,9644],[4873,9640],[4861,9638],[4860,9637],[4860,9637],[4860,9637]]],[[[4929,9460],[4944,9452],[4964,9455],[4967,9450],[4952,9430],[4936,9421],[4932,9414],[4909,9414],[4909,9425],[4919,9432],[4909,9434],[4902,9429],[4864,9425],[4863,9433],[4872,9435],[4874,9444],[4886,9455],[4863,9466],[4866,9470],[4887,9474],[4908,9473],[4924,9477],[4939,9470],[4927,9465],[4929,9460]]],[[[4686,9577],[4698,9566],[4704,9547],[4713,9540],[4729,9520],[4734,9521],[4718,9546],[4715,9563],[4710,9572],[4711,9584],[4722,9582],[4718,9588],[4728,9596],[4735,9595],[4743,9584],[4748,9589],[4765,9585],[4781,9574],[4771,9565],[4771,9552],[4778,9555],[4780,9563],[4788,9567],[4800,9561],[4804,9546],[4797,9542],[4806,9536],[4831,9536],[4838,9528],[4851,9534],[4861,9529],[4850,9522],[4882,9516],[4878,9504],[4868,9502],[4857,9505],[4825,9498],[4828,9494],[4807,9491],[4810,9485],[4805,9472],[4809,9466],[4795,9464],[4788,9455],[4791,9445],[4784,9428],[4770,9427],[4763,9417],[4758,9396],[4747,9386],[4755,9380],[4743,9371],[4718,9383],[4707,9393],[4730,9397],[4722,9399],[4700,9398],[4691,9406],[4671,9410],[4660,9423],[4658,9431],[4673,9434],[4683,9432],[4715,9431],[4715,9434],[4689,9437],[4693,9442],[4745,9449],[4742,9453],[4713,9450],[4706,9453],[4692,9447],[4674,9445],[4652,9446],[4648,9464],[4656,9467],[4671,9459],[4667,9467],[4691,9468],[4698,9475],[4711,9476],[4713,9483],[4747,9483],[4729,9490],[4744,9504],[4735,9507],[4729,9497],[4719,9492],[4703,9490],[4697,9500],[4704,9508],[4701,9516],[4697,9504],[4689,9499],[4684,9508],[4676,9503],[4672,9493],[4680,9485],[4670,9486],[4670,9480],[4656,9474],[4631,9474],[4627,9484],[4612,9492],[4637,9496],[4614,9496],[4602,9500],[4591,9509],[4597,9516],[4582,9524],[4589,9524],[4609,9519],[4613,9526],[4592,9530],[4604,9545],[4592,9547],[4593,9536],[4580,9532],[4567,9550],[4563,9563],[4573,9571],[4580,9578],[4596,9581],[4603,9573],[4611,9570],[4607,9581],[4617,9575],[4633,9580],[4654,9584],[4660,9577],[4653,9572],[4631,9571],[4615,9563],[4644,9565],[4640,9557],[4648,9558],[4662,9543],[4665,9548],[4657,9561],[4677,9579],[4686,9577]]],[[[4860,9637],[4848,9621],[4863,9606],[4891,9610],[4891,9602],[4907,9592],[4913,9613],[4906,9617],[4909,9622],[4920,9620],[4918,9626],[4933,9623],[4929,9618],[4934,9612],[4926,9603],[4949,9604],[4948,9613],[4965,9611],[4959,9616],[4960,9627],[4978,9609],[4999,9608],[5005,9604],[5037,9604],[5050,9598],[5048,9582],[5028,9573],[5009,9567],[5013,9560],[5009,9555],[4990,9548],[4982,9550],[4963,9546],[4956,9538],[4923,9540],[4915,9546],[4922,9553],[4887,9550],[4861,9550],[4858,9556],[4843,9556],[4842,9549],[4828,9548],[4826,9566],[4843,9568],[4849,9565],[4871,9563],[4851,9571],[4891,9572],[4893,9580],[4842,9577],[4822,9573],[4801,9573],[4784,9585],[4803,9594],[4785,9595],[4779,9601],[4788,9604],[4787,9617],[4800,9612],[4793,9608],[4817,9598],[4825,9602],[4814,9605],[4809,9616],[4826,9607],[4834,9618],[4823,9618],[4838,9629],[4841,9627],[4852,9637],[4860,9637],[4860,9637],[4860,9637]]]]}},{type:"Feature",id:"FM",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.52,"hc-key":"fm","hc-a2":"FM",name:"Federated States of Micronesia",labelrank:"6","country-abbrev":"F.S.M.",subregion:"Micronesia","region-wb":"East Asia & Pacific","iso-a3":"FSM","iso-a2":"FM","woe-id":"23424815",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[8906,6709],[8910,6708],[8909,6704],[8906,6704],[8906,6709]]]}},{type:"Feature",id:"KN",properties:{"hc-group":"admin0","hc-middle-x":.57,"hc-middle-y":.32,"hc-key":"kn","hc-a2":"KN",name:"Saint Kitts and Nevis",labelrank:"6","country-abbrev":"St.K.N.",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"KNA","iso-a2":"KN","woe-id":"23424940",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2405,7013],[2403,7015],[2397,7018],[2401,7018],[2405,7013]]]}},{type:"Feature",id:"CN",properties:{"hc-group":"admin0","hc-middle-x":.42,"hc-middle-y":.55,"hc-key":"cn","hc-a2":"CN",name:"China",labelrank:"2","country-abbrev":"China",subregion:"Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"CHN","iso-a2":"CN","woe-id":"23424781",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[7498,7058],[7479,7049],[7474,7043],[7448,7053],[7446,7076],[7463,7089],[7479,7098],[7487,7095],[7492,7100],[7503,7098],[7507,7103],[7514,7098],[7516,7089],[7507,7079],[7498,7058]]],[[[6865,7325],[6861,7332],[6864,7341],[6857,7350],[6843,7342],[6814,7341],[6796,7349],[6793,7344],[6780,7343],[6771,7357],[6753,7356],[6756,7365],[6741,7366],[6728,7375],[6724,7386],[6707,7384],[6697,7398],[6687,7399],[6678,7408],[6667,7412],[6665,7421],[6644,7422],[6636,7411],[6633,7416],[6625,7423],[6609,7428],[6610,7433],[6599,7441],[6591,7440],[6576,7456],[6566,7453],[6567,7474],[6558,7482],[6556,7492],[6566,7496],[6572,7486],[6588,7496],[6585,7513],[6573,7518],[6568,7525],[6566,7543],[6572,7553],[6553,7562],[6545,7582],[6539,7590],[6527,7589],[6509,7595],[6502,7603],[6491,7600],[6483,7610],[6485,7622],[6480,7630],[6468,7632],[6467,7637],[6443,7641],[6438,7645],[6448,7650],[6453,7648],[6461,7654],[6453,7661],[6455,7666],[6450,7677],[6450,7692],[6437,7697],[6428,7692],[6421,7695],[6422,7708],[6415,7716],[6416,7724],[6425,7729],[6422,7736],[6427,7745],[6438,7746],[6452,7761],[6462,7758],[6474,7764],[6476,7753],[6493,7758],[6495,7755],[6504,7765],[6508,7776],[6515,7779],[6529,7777],[6547,7779],[6555,7791],[6583,7805],[6609,7813],[6610,7819],[6608,7835],[6620,7845],[6614,7849],[6627,7853],[6625,7864],[6614,7888],[6614,7907],[6603,7913],[6605,7921],[6629,7925],[6655,7932],[6661,7925],[6680,7926],[6681,7936],[6671,7939],[6677,7953],[6692,8001],[6719,7992],[6741,7993],[6744,7987],[6757,7995],[6765,7995],[6771,8008],[6766,8028],[6774,8046],[6797,8051],[6802,8057],[6802,8068],[6806,8073],[6819,8072],[6834,8075],[6833,8061],[6837,8053],[6856,8044],[6856,8039],[6870,8030],[6885,8032],[6891,8024],[6899,8026],[6908,8018],[6912,8005],[6922,7993],[6929,7977],[6924,7968],[6928,7957],[6919,7947],[6917,7938],[6924,7927],[6947,7922],[6971,7920],[6979,7921],[7002,7918],[7014,7908],[7046,7893],[7056,7894],[7055,7884],[7060,7883],[7072,7856],[7083,7846],[7085,7839],[7110,7841],[7177,7833],[7193,7837],[7241,7831],[7252,7819],[7283,7813],[7302,7804],[7325,7808],[7325,7801],[7340,7798],[7346,7804],[7392,7823],[7433,7829],[7451,7827],[7472,7829],[7499,7840],[7514,7858],[7544,7873],[7541,7882],[7528,7899],[7538,7919],[7546,7923],[7559,7922],[7563,7917],[7594,7911],[7606,7918],[7620,7934],[7653,7936],[7669,7946],[7670,7953],[7681,7968],[7702,7969],[7705,7978],[7713,7975],[7729,7983],[7746,7984],[7772,7978],[7778,7983],[7772,7999],[7760,8009],[7754,8018],[7738,8029],[7728,8032],[7715,8030],[7713,8029],[7708,8022],[7702,8018],[7689,8026],[7671,8026],[7659,8020],[7649,8035],[7658,8041],[7658,8051],[7684,8100],[7695,8094],[7715,8088],[7741,8105],[7761,8110],[7762,8120],[7756,8121],[7766,8135],[7784,8171],[7798,8181],[7804,8189],[7800,8198],[7803,8206],[7794,8209],[7783,8208],[7782,8214],[7807,8235],[7817,8235],[7850,8244],[7866,8243],[7888,8246],[7906,8239],[7911,8233],[7932,8232],[7950,8223],[7974,8190],[7971,8184],[7978,8168],[7985,8161],[7985,8148],[7996,8136],[7997,8119],[8004,8115],[8002,8100],[8020,8089],[8040,8090],[8049,8082],[8061,8084],[8073,8070],[8083,8063],[8096,8064],[8091,8055],[8100,8043],[8096,8033],[8106,8019],[8150,8020],[8154,8029],[8167,8035],[8178,8034],[8185,8040],[8205,8045],[8214,8041],[8210,8032],[8216,8020],[8198,8003],[8191,7966],[8184,7962],[8177,7941],[8168,7936],[8167,7924],[8159,7922],[8156,7929],[8140,7932],[8134,7928],[8129,7932],[8118,7919],[8103,7914],[8107,7908],[8113,7886],[8110,7867],[8113,7862],[8108,7845],[8088,7839],[8091,7831],[8079,7847],[8071,7847],[8067,7828],[8056,7828],[8043,7814],[8018,7812],[8026,7798],[8021,7791],[7995,7795],[7985,7806],[7976,7801],[7973,7793],[7958,7774],[7951,7774],[7941,7765],[7925,7760],[7910,7746],[7903,7737],[7881,7736],[7854,7723],[7836,7706],[7815,7699],[7814,7706],[7831,7711],[7834,7721],[7823,7721],[7817,7727],[7827,7732],[7827,7738],[7836,7743],[7849,7760],[7836,7772],[7816,7775],[7797,7757],[7794,7750],[7768,7739],[7761,7723],[7752,7715],[7729,7710],[7724,7716],[7715,7712],[7709,7695],[7725,7679],[7738,7676],[7747,7679],[7759,7663],[7753,7665],[7751,7650],[7765,7644],[7775,7645],[7777,7652],[7790,7663],[7803,7669],[7822,7661],[7828,7655],[7844,7659],[7846,7654],[7860,7654],[7850,7634],[7841,7640],[7803,7622],[7802,7611],[7787,7605],[7778,7594],[7771,7593],[7758,7575],[7771,7558],[7789,7551],[7796,7529],[7808,7508],[7807,7497],[7822,7487],[7824,7478],[7835,7473],[7835,7465],[7819,7470],[7840,7460],[7836,7457],[7810,7469],[7832,7451],[7840,7440],[7823,7435],[7810,7428],[7803,7418],[7808,7416],[7822,7421],[7831,7410],[7843,7415],[7846,7421],[7850,7408],[7843,7407],[7828,7393],[7838,7399],[7838,7380],[7828,7387],[7830,7373],[7826,7367],[7830,7357],[7822,7355],[7815,7346],[7814,7353],[7799,7333],[7797,7321],[7788,7313],[7772,7306],[7778,7293],[7772,7292],[7769,7273],[7778,7269],[7774,7265],[7762,7269],[7751,7261],[7752,7251],[7744,7247],[7741,7239],[7735,7241],[7724,7233],[7726,7229],[7714,7222],[7710,7213],[7702,7214],[7692,7209],[7682,7197],[7678,7188],[7658,7182],[7636,7184],[7631,7176],[7628,7184],[7621,7182],[7620,7173],[7608,7165],[7602,7172],[7594,7191],[7591,7190],[7595,7173],[7591,7165],[7553,7150],[7546,7153],[7535,7145],[7508,7139],[7504,7127],[7493,7131],[7491,7124],[7503,7113],[7499,7107],[7484,7106],[7477,7126],[7479,7143],[7462,7141],[7461,7147],[7450,7148],[7441,7155],[7428,7143],[7423,7148],[7409,7147],[7388,7159],[7385,7172],[7391,7182],[7383,7188],[7365,7187],[7349,7201],[7336,7195],[7334,7188],[7320,7180],[7317,7185],[7310,7175],[7300,7184],[7296,7177],[7290,7183],[7280,7173],[7264,7183],[7255,7171],[7241,7173],[7237,7166],[7244,7154],[7243,7133],[7230,7134],[7227,7146],[7225,7152],[7213,7144],[7198,7142],[7191,7151],[7191,7161],[7167,7164],[7174,7174],[7172,7182],[7178,7192],[7159,7196],[7159,7209],[7151,7223],[7139,7225],[7123,7217],[7125,7225],[7120,7244],[7128,7260],[7137,7264],[7154,7280],[7150,7287],[7156,7303],[7154,7333],[7142,7332],[7137,7351],[7120,7363],[7114,7353],[7103,7357],[7092,7369],[7079,7390],[7067,7389],[7054,7380],[7039,7383],[7034,7388],[7026,7379],[7005,7368],[6999,7368],[6976,7350],[6975,7344],[6956,7338],[6946,7339],[6947,7344],[6936,7349],[6930,7345],[6912,7349],[6915,7354],[6905,7358],[6885,7351],[6870,7334],[6865,7325]]]]}},{type:"Feature",id:"BH",properties:{"hc-group":"admin0","hc-middle-x":.45,"hc-middle-y":.5,"hc-key":"bh","hc-a2":"BH",name:"Bahrain",labelrank:"4","country-abbrev":"Bahr.",subregi
38on:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"BHR","iso-a2":"BH","woe-id":"23424753",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5734,7291],[5739,7289],[5737,7277],[5734,7283],[5734,7291]]]}},{type:"Feature",id:"TO",properties:{"hc-group":"admin0","hc-middle-x":.54,"hc-middle-y":.4,"hc-key":"to","hc-a2":"TO",name:"Tonga",labelrank:"4","country-abbrev":"Tongo",subregion:"Polynesia","region-wb":"East Asia & Pacific","iso-a3":"TON","iso-a2":"TO","woe-id":"23424964",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[-904,5871],[-915,5878],[-909,5877],[-908,5874],[-904,5871]]]}},{type:"Feature",id:"FI",properties:{"hc-group":"admin0","hc-middle-x":.54,"hc-middle-y":.73,"hc-key":"fi","hc-a2":"FI",name:"Finland",labelrank:"3","country-abbrev":"Fin.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"FIN","iso-a2":"FI","woe-id":"23424812",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4827,8526],[4825,8528],[4840,8533],[4847,8528],[4843,8521],[4855,8519],[4842,8516],[4840,8521],[4830,8520],[4827,8526]]],[[[5067,8541],[5057,8537],[5048,8542],[5023,8534],[5014,8537],[5010,8526],[4999,8528],[4943,8515],[4933,8510],[4933,8519],[4921,8522],[4911,8511],[4906,8520],[4910,8531],[4896,8522],[4898,8529],[4890,8533],[4891,8545],[4885,8539],[4874,8539],[4879,8550],[4875,8564],[4880,8564],[4883,8580],[4881,8598],[4873,8606],[4876,8623],[4870,8625],[4869,8637],[4879,8654],[4870,8663],[4877,8668],[4877,8662],[4900,8664],[4907,8667],[4902,8673],[4909,8675],[4911,8683],[4931,8694],[4937,8701],[4953,8710],[4955,8717],[4965,8724],[4967,8731],[4978,8740],[4971,8748],[4979,8751],[4997,8745],[4990,8752],[4995,8770],[4987,8775],[4975,8777],[4971,8785],[4960,8786],[4955,8797],[4947,8805],[4944,8816],[4951,8822],[4955,8835],[4942,8852],[4948,8865],[4938,8868],[4942,8873],[4940,8888],[4945,8891],[4930,8901],[4920,8914],[4898,8918],[4880,8929],[4865,8944],[4855,8947],[4867,8947],[4867,8955],[4876,8960],[4886,8959],[4907,8936],[4909,8930],[4926,8929],[4931,8926],[4947,8931],[4953,8936],[4974,8928],[4980,8923],[4988,8927],[4990,8936],[5003,8939],[5008,8946],[5006,8955],[5015,8982],[5028,8993],[5046,8992],[5070,9001],[5084,8987],[5106,8980],[5112,8969],[5098,8957],[5101,8947],[5086,8940],[5096,8937],[5086,8922],[5092,8904],[5111,8898],[5121,8885],[5132,8878],[5129,8869],[5117,8859],[5105,8843],[5105,8836],[5117,8819],[5129,8800],[5134,8778],[5123,8777],[5127,8756],[5119,8746],[5125,8737],[5133,8736],[5137,8729],[5130,8726],[5132,8718],[5148,8709],[5146,8698],[5131,8687],[5146,8674],[5168,8661],[5178,8648],[5168,8629],[5150,8615],[5125,8588],[5108,8572],[5096,8566],[5067,8541]]]]}},{type:"Feature",id:"ID",properties:{"hc-group":"admin0","hc-middle-x":.38,"hc-middle-y":.4,"hc-key":"id","hc-a2":"ID",name:"Indonesia",labelrank:"2","country-abbrev":"Indo.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"IDN","iso-a2":"ID","woe-id":"23424846",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[7782,6231],[7789,6222],[7795,6222],[7806,6209],[7795,6203],[7781,6212],[7750,6224],[7757,6230],[7782,6231]]],[[[7685,6259],[7680,6244],[7664,6244],[7664,6258],[7675,6265],[7685,6259]]],[[[7908,6261],[7907,6265],[7931,6266],[7932,6260],[7911,6257],[7908,6261]]],[[[7650,6251],[7640,6249],[7632,6257],[7623,6259],[7618,6268],[7630,6265],[7640,6269],[7655,6260],[7650,6251]]],[[[7979,6280],[7972,6272],[7960,6274],[7952,6270],[7956,6280],[7979,6280]]],[[[8105,6286],[8116,6287],[8121,6295],[8124,6283],[8110,6266],[8102,6263],[8110,6276],[8105,6286]]],[[[7613,6298],[7607,6301],[7591,6293],[7567,6295],[7571,6303],[7602,6304],[7613,6298]]],[[[7863,6360],[7856,6346],[7848,6348],[7852,6367],[7862,6369],[7863,6360]]],[[[7876,6368],[7871,6366],[7868,6354],[7876,6350],[7866,6345],[7865,6339],[7857,6344],[7862,6351],[7867,6374],[7876,6368]]],[[[7993,6394],[7991,6398],[7980,6392],[7963,6400],[7958,6410],[7970,6415],[7983,6415],[7995,6406],[7993,6394]]],[[[7413,6421],[7418,6430],[7430,6429],[7436,6425],[7434,6413],[7424,6416],[7417,6410],[7413,6421]]],[[[7941,6453],[7968,6452],[7957,6450],[7957,6435],[7954,6444],[7938,6451],[7910,6447],[7910,6456],[7918,6457],[7941,6453]]],[[[7399,6421],[7384,6415],[7369,6423],[7363,6442],[7349,6443],[7344,6449],[7357,6461],[7370,6459],[7380,6433],[7394,6430],[7387,6419],[7399,6421]]],[[[8006,6468],[8021,6459],[8018,6455],[7999,6457],[8006,6468]]],[[[7885,6462],[7887,6455],[7873,6460],[7874,6467],[7866,6459],[7867,6471],[7882,6470],[7885,6462]]],[[[7180,6446],[7206,
386417],[7204,6413],[7193,6422],[7192,6432],[7181,6439],[7160,6456],[7151,6470],[7153,6477],[7161,6478],[7171,6453],[7180,6446]]],[[[8235,6486],[8248,6485],[8258,6474],[8250,6470],[8245,6481],[8235,6486]]],[[[7997,6495],[8008,6492],[8009,6479],[7995,6492],[7992,6483],[7991,6497],[7997,6495]]],[[[8093,6493],[8084,6502],[8100,6505],[8114,6501],[8112,6494],[8093,6493]]],[[[7115,6550],[7132,6534],[7130,6524],[7125,6522],[7106,6547],[7115,6550]]],[[[8212,6315],[8203,6304],[8195,6307],[8198,6324],[8212,6315]]],[[[8203,6324],[8202,6332],[8208,6346],[8216,6339],[8212,6331],[8214,6320],[8203,6324]]],[[[7294,6534],[7296,6527],[7328,6541],[7317,6526],[7314,6533],[7295,6524],[7294,6534]]],[[[7709,6260],[7708,6266],[7726,6267],[7731,6260],[7752,6262],[7753,6252],[7736,6245],[7734,6251],[7727,6245],[7693,6238],[7686,6241],[7688,6256],[7699,6260],[7709,6260]]],[[[8010,6410],[8005,6410],[8016,6420],[8048,6423],[8050,6419],[8059,6424],[8093,6414],[8101,6401],[8101,6392],[8062,6409],[8061,6404],[8045,6407],[8043,6411],[8037,6401],[8022,6396],[8018,6400],[8031,6404],[8021,6415],[8015,6401],[8010,6410]]],[[[7912,6236],[7916,6236],[7926,6242],[7928,6236],[7930,6227],[7911,6207],[7894,6201],[7883,6201],[7882,6192],[7865,6184],[7881,6199],[7879,6204],[7892,6209],[7887,6211],[7890,6223],[7900,6231],[7907,6226],[7912,6236]]],[[[7720,6627],[7713,6622],[7714,6627],[7715,6627],[7720,6627]]],[[[8399,6429],[8399,6320],[8395,6309],[8399,6303],[8399,6238],[8368,6268],[8351,6265],[8347,6269],[8338,6262],[8336,6267],[8337,6269],[8332,6265],[8338,6259],[8301,6258],[8312,6282],[8318,6287],[8335,6289],[8343,6283],[8340,6277],[8343,6284],[8332,6294],[8332,6311],[8325,6318],[8319,6333],[8313,6337],[8313,6347],[8288,6358],[8277,6361],[8252,6373],[8230,6375],[8203,6392],[8203,6388],[8185,6400],[8184,6414],[8181,6401],[8171,6386],[8163,6385],[8156,6397],[8162,6401],[8144,6419],[8134,6420],[8141,6427],[8156,6423],[8165,6433],[8188,6428],[8193,6435],[8187,6439],[8173,6441],[8155,6438],[8137,6444],[8129,6461],[8111,6461],[8098,6469],[8094,6479],[8107,6477],[8106,6468],[8113,6474],[8112,6481],[8131,6485],[8138,6491],[8156,6495],[8176,6484],[8193,6484],[8202,6466],[8196,6456],[8198,6438],[8207,6421],[8211,6434],[8214,6419],[8223,6408],[8237,6407],[8260,6430],[8264,6440],[8260,6449],[8226,6461],[8217,6475],[8219,6478],[8226,6462],[8236,6458],[8286,6453],[8305,6462],[8331,6453],[8335,6449],[8366,6436],[8375,6437],[8399,6429]]],[[[7364,6398],[7368,6393],[7364,6381],[7366,6374],[7363,6335],[7357,6335],[7349,6345],[7343,6336],[7329,6344],[7331,6332],[7319,6340],[7301,6360],[7278,6374],[7261,6388],[7258,6399],[7241,6410],[7232,6425],[7225,6429],[7219,6446],[7204,6468],[7201,6481],[7187,6497],[7185,6504],[7172,6512],[7146,6505],[7152,6510],[7167,6513],[7166,6523],[7149,6562],[7132,6572],[7126,6572],[7114,6565],[7124,6576],[7122,6589],[7097,6615],[7087,6617],[7058,6646],[7051,6660],[7051,6668],[7058,6671],[7071,6667],[7078,6660],[7103,6660],[7112,6656],[7119,6659],[7131,6648],[7133,6638],[7142,6635],[7143,6625],[7185,6598],[7192,6591],[7191,6584],[7198,6584],[7209,6568],[7218,6564],[7216,6571],[7223,6572],[7231,6565],[7241,6567],[7245,6562],[7239,6554],[7255,6546],[7252,6552],[7266,6549],[7266,6534],[7275,6539],[7282,6536],[7283,6528],[7277,6526],[7283,6519],[7287,6526],[7303,6512],[7294,6495],[7318,6491],[7328,6508],[7333,6500],[7324,6496],[7328,6492],[7321,6486],[7326,6451],[7336,6438],[7358,6435],[7363,6421],[7370,6418],[7371,6410],[7364,6398]]],[[[7868,6265],[7881,6261],[7893,6265],[7886,6254],[7874,6257],[7852,6249],[7834,6245],[7822,6247],[7808,6243],[7799,6247],[7779,6245],[7763,6249],[7764,6258],[7772,6251],[7788,6262],[7810,6261],[7826,6253],[7840,6258],[7849,6252],[7868,6265]]],[[[7568,6285],[7584,6277],[7605,6282],[7618,6276],[7615,6259],[7622,6248],[7614,6253],[7604,6252],[7581,6263],[7566,6258],[7540,6263],[7536,6260],[7501,6267],[7488,6274],[7468,6279],[7457,6277],[7454,6282],[7438,6276],[7419,6281],[7411,6286],[7384,6288],[7380,6293],[7385,6301],[7368,6305],[7354,6304],[7347,6307],[7353,6306],[7364,6317],[7371,6333],[7384,6328],[7398,6327],[7400,6332],[7412,6325],[7431,6320],[7439,6322],[7446,6307],[7468,6304],[7501,6302],[7507,6315],[7514,6318],[7521,6309],[7531,6311],[7548,6303],[7564,6303],[7568,6285]]],[[[7865,6375],[7843,6373],[7839,6345],[7835,6351],[7835,6364],[7825,6369],[7829,6386],[7821,6389],[7808,6402],[7813,6412],[7813,6424],[7804,6429],[7787,6419],[7793,6411],[7794,6396],[7792,6390],[7794,6370],[7789,6354],[7798,6330],[7796,6316],[7795,6334],[7791,6344],[7769,6340],[7762,6348],[7770,6379],[7761,6405],[7750,6401],[7745,6421],[7756,6434],[7762,6448],[7762,6470],[7773,6487],[7775,6512],[7783,6527],[7798,6528],[7808,6545],[7825,6538],[7854,6535],[7865,6529],[7869,6533],[7894,6530],[7917,6540],[7915,6545],[7933,6556],[7933,6547],[7926,6534],[7909,6517],[7877,6515],[7872,6520],[7834,6518],[7831,6520],[7808,6518],[7792,6519],[7785,6510],[7781,6499],[7784,6486],[7793,6479],[7801,6464],[7813,6464],[7825,6480],[7831,6491],[7843,6497],[7846,6483],[7868,6484],[7862,6486],[7877,6488],[7883,6483],[7879,6474],[7864,6478],[7851,6462],[7834,6455],[7831,6449],[7820,6453],[7828,6442],[7835,6438],[7841,6426],[7849,6420],[7848,6398],[7860,6391],[7860,6385],[7876,6388],[7875,6382],[7867,6382],[7865,6375]]],[[[8012,6494],[7999,6506],[7999,6516],[8004,6518],[7999,6541],[8005,6556],[8014,6569],[8021,6572],[8034,6582],[8037,6578],[8031,6565],[8025,6565],[8017,6555],[8014,6539],[8006,6534],[8011,6529],[8030,6550],[8038,6551],[8037,6536],[8026,6532],[8026,6525],[8037,6521],[8042,6512],[8016,6519],[8014,6505],[8018,6493],[8030,6479],[8018,6484],[8012,6494]]],[[[7710,6627],[7705,6625],[7717,6618],[7715,6612],[7696,6612],[7713,6605],[7703,6600],[7711,6595],[7725,6571],[7718,6560],[7744,6542],[7752,6533],[7746,6529],[7724,6532],[7717,6529],[7707,6508],[7706,6490],[7711,6493],[7711,6482],[7701,6482],[7694,6470],[7679,6462],[7675,6454],[7677,6446],[7672,6442],[7681,6440],[7671,6417],[7673,6391],[7666,6386],[7664,6398],[7623,6383],[7623,6397],[7619,6403],[7606,6407],[7594,6404],[7593,6412],[7586,6409],[7576,6420],[7576,6413],[7564,6405],[7555,6408],[7541,6401],[7538,6423],[7534,6417],[7525,6419],[7506,6415],[7502,6421],[7495,6417],[7488,6457],[7488,6468],[7482,6473],[7472,6467],[7459,6498],[7466,6505],[7455,6515],[7453,6530],[7460,6551],[7467,6562],[7476,6566],[7473,6560],[7482,6546],[7495,6534],[7503,6530],[7522,6537],[7541,6535],[7549,6539],[7551,6548],[7560,6551],[7576,6550],[7594,6541],[7602,6547],[7619,6547],[7629,6561],[7628,6571],[7640,6579],[7636,6588],[7648,6594],[7652,6606],[7650,6619],[7659,6634],[7675,6631],[7699,6633],[7710,6627]]]]}},{type:"Feature",id:"MU",properties:{"hc-group":"admin0","hc-middle-x":.62,"hc-middle-y":.58,"hc-key":"mu","hc-a2":"MU",name:"Mauritius",labelrank:"5","country-abbrev":"Mus.",subregi
38on:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"MUS","iso-a2":"MU","woe-id":"23424894",continent:"Seven seas (open ocean)"},geometry:{type:"Polygon",coordinates:[[[5947,5909],[5946,5898],[5938,5897],[5942,5912],[5947,5909]]]}},{type:"Feature",id:"SE",properties:{"hc-group":"admin0","hc-middle-x":.6,"hc-middle-y":.29,"hc-key":"se","hc-a2":"SE",name:"Sweden",labelrank:"3","country-abbrev":"Swe.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"SWE","iso-a2":"SE","woe-id":"23424954",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4751,8402],[4751,8397],[4731,8355],[4731,8369],[4751,8402]]],[[[4809,8426],[4802,8419],[4801,8407],[4806,8405],[4789,8393],[4787,8385],[4781,8399],[4781,8409],[4792,8422],[4809,8426]]],[[[4960,8786],[4936,8786],[4929,8781],[4915,8790],[4916,8784],[4907,8788],[4908,8774],[4892,8772],[4894,8766],[4881,8765],[4887,8760],[4885,8753],[4872,8738],[4868,8738],[4881,8720],[4865,8705],[4860,8693],[4852,8690],[4846,8683],[4839,8683],[4828,8672],[4816,8674],[4809,8660],[4797,8659],[4790,8650],[4792,8646],[4780,8642],[4782,8638],[4770,8626],[4762,8631],[4759,8625],[4764,8616],[4759,8604],[4760,8594],[4750,8587],[4754,8583],[4754,8561],[4758,8550],[4767,8540],[4776,8543],[4793,8524],[4800,8526],[4810,8512],[4807,8501],[4794,8490],[4790,8479],[4779,8475],[4775,8470],[4742,8456],[4747,8451],[4739,8430],[4732,8426],[4740,8408],[4733,8395],[4736,8390],[4715,8350],[4707,8355],[4699,8352],[4681,8352],[4666,8339],[4671,8326],[4666,8321],[4657,8323],[4639,8319],[4630,8322],[4633,8332],[4629,8336],[4616,8357],[4625,8355],[4620,8363],[4628,8365],[4627,8373],[4613,8384],[4603,8407],[4593,8418],[4596,8432],[4588,8428],[4584,8449],[4579,8445],[4580,8455],[4575,8472],[4585,8473],[4592,8470],[4596,8484],[4592,8498],[4599,8507],[4617,8522],[4619,8540],[4609,8560],[4622,8563],[4627,8578],[4606,8594],[4611,8617],[4604,8633],[4605,8649],[4608,8652],[4601,8666],[4607,8673],[4606,8680],[4622,8697],[4638,8703],[4659,8699],[4665,8709],[4664,8720],[4650,8726],[4669,8750],[4675,8762],[4679,8787],[4676,8801],[4691,8802],[4704,8808],[4702,8819],[4720,8838],[4731,8847],[4732,8854],[4723,8865],[4733,8872],[4743,8890],[4758,8899],[4775,8893],[4783,8902],[4783,8921],[4809,8920],[4835,8912],[4844,8918],[4836,8922],[4844,8928],[4847,8941],[4840,8946],[4855,8947],[4865,8944],[4880,8929],[4898,8918],[4920,8914],[4930,8901],[4945,8891],[4940,8888],[4942,8873],[4938,8868],[4948,8865],[4942,8852],[4955,8835],[4951,8822],[4944,8816],[4947,8805],[4955,8797],[4960,8786]]]]}},{type:"Feature",id:"TT",properties:{"hc-group":"admin0","hc-middle-x":.69,"hc-middle-y":.64,"hc-key":"tt","hc-a2":"TT",name:"Trinidad and Tobago",labelrank:"5","country-abbrev":"Tr.T.",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"TTO","iso-a2":"TT","woe-id":"23424958",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2457,6833],[2451,6819],[2452,6803],[2425,6800],[2439,6808],[2438,6817],[2457,6833]]]}},{type:"Feature",id:"SW",properties:{"hc-group":"admin0","hc-middle-x":.86,"hc-middle-y":.57,"hc-key":"sw","hc-a2":"SW",name:"Serranilla Bank",labelrank:"5","country-abbrev":"S.B.",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"-99","iso-a2":"SW","woe-id":"-99",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1933,6973],[1933,6973],[1933,6973],[1933,6973]]]}},{type:"Feature",id:"BR",properties:{"hc-group":"admin0","hc-middle-x":.54,"hc-middle-y":.35,"hc-key":"br","hc-a2":"BR",name:"Brazil",labelrank:"2","country-abbrev":"Brazil",subregi
38on:"South America","region-wb":"Latin America & Caribbean","iso-a3":"BRA","iso-a2":"BR","woe-id":"23424768",continent:"South America"},geometry:{type:"MultiPolygon",coordinates:[[[[2740,6489],[2738,6475],[2723,6463],[2718,6464],[2727,6474],[2732,6487],[2740,6489]]],[[[2767,6521],[2775,6520],[2763,6510],[2786,6516],[2790,6514],[2781,6506],[2757,6507],[2767,6521]]],[[[2672,5485],[2674,5495],[2684,5510],[2691,5506],[2700,5517],[2696,5525],[2683,5514],[2669,5525],[2665,5534],[2654,5539],[2641,5553],[2621,5561],[2611,5573],[2599,5565],[2599,5575],[2575,5597],[2564,5591],[2552,5594],[2560,5601],[2587,5631],[2606,5657],[2620,5667],[2628,5669],[2632,5676],[2663,5690],[2667,5700],[2668,5720],[2661,5739],[2655,5743],[2641,5740],[2641,5742],[2640,5745],[2650,5757],[2650,5787],[2639,5795],[2630,5790],[2617,5790],[2610,5820],[2610,5832],[2603,5841],[2594,5843],[2587,5849],[2575,5842],[2545,5847],[2541,5850],[2546,5883],[2536,5907],[2545,5913],[2537,5921],[2547,5941],[2554,5967],[2547,5986],[2529,5995],[2527,6023],[2478,6025],[2475,6048],[2464,6060],[2473,6060],[2473,6074],[2468,6085],[2468,6099],[2451,6109],[2427,6107],[2418,6119],[2399,6123],[2391,6133],[2382,6133],[2370,6139],[2352,6139],[2350,6145],[2334,6153],[2329,6160],[2323,6178],[2322,6198],[2325,6217],[2321,6221],[2286,6215],[2274,6204],[2266,6202],[2254,6191],[2243,6191],[2237,6183],[2200,6184],[2188,6185],[2179,6180],[2168,6182],[2169,6225],[2146,6212],[2122,6212],[2119,6225],[2092,6229],[2100,6239],[2083,6260],[2078,6277],[2069,6284],[2078,6291],[2076,6303],[2095,6317],[2092,6327],[2099,6338],[2101,6355],[2110,6358],[2135,6374],[2159,6377],[2163,6383],[2188,6381],[2205,6471],[2198,6490],[2185,6502],[2186,6522],[2202,6527],[2213,6524],[2206,6536],[2191,6536],[2191,6555],[2241,6556],[2258,6565],[2265,6566],[2272,6555],[2274,6539],[2279,6541],[2293,6529],[2300,6527],[2317,6534],[2318,6524],[2330,6538],[2342,6542],[2361,6553],[2364,6562],[2381,6568],[2382,6576],[2362,6577],[2364,6584],[2357,6597],[2358,6610],[2348,6618],[2346,6626],[2360,6625],[2362,6620],[2381,6621],[2395,6609],[2401,6612],[2400,6623],[2411,6627],[2417,6625],[2435,6630],[2443,6638],[2452,6637],[2464,6649],[2460,6657],[2475,6659],[2482,6654],[2477,6637],[2491,6633],[2495,6620],[2486,6611],[2482,6584],[2489,6571],[2489,6559],[2504,6545],[2514,6541],[2525,6542],[2531,6552],[2553,6555],[2567,6564],[2576,6560],[2585,6562],[2599,6559],[2602,6565],[2596,6573],[2600,6579],[2607,6575],[2629,6580],[2640,6573],[2654,6567],[2663,6573],[2678,6574],[2689,6569],[2696,6574],[2717,6614],[2726,6623],[2732,6625],[2731,6635],[2740,6627],[2741,6612],[2756,6569],[2762,6569],[2779,6554],[2778,6536],[2773,6527],[2767,6529],[2753,6510],[2758,6503],[2750,6496],[2742,6497],[2726,6483],[2719,6466],[2711,6466],[2696,6458],[2709,6461],[2710,6455],[2720,6459],[2749,6476],[2744,6481],[2753,6486],[2757,6497],[2765,6502],[2786,6498],[2784,6501],[2787,6507],[2799,6501],[2822,6498],[2819,6479],[2810,6470],[2810,6463],[2781,6452],[2758,6454],[2752,6463],[2753,6473],[2750,6476],[2748,6472],[2757,6452],[2763,6449],[2777,6452],[2786,6449],[2795,6455],[2790,6428],[2799,6448],[2816,6465],[2822,6457],[2822,6474],[2834,6486],[2843,6489],[2870,6484],[2880,6475],[2889,6478],[2903,6465],[2907,6468],[2914,6454],[2923,6466],[2929,6455],[2937,6451],[2941,6435],[2934,6426],[2940,6419],[2942,6431],[2951,6430],[2943,6424],[2951,6424],[2962,6439],[2991,6430],[3004,6422],[3031,6420],[3056,6424],[3071,6422],[3089,6412],[3110,6398],[3115,6397],[3126,6384],[3153,6361],[3172,6355],[3188,6357],[3203,6355],[3210,6345],[3224,6295],[3223,6273],[3213,6244],[3209,6236],[3176,6197],[3162,6189],[3146,6165],[3139,6151],[3128,6133],[3114,6122],[3114,6131],[3106,6129],[3112,6123],[3101,6115],[3102,6093],[3098,6073],[3104,6038],[3094,5998],[3096,5983],[3085,5973],[3079,5957],[3079,5930],[3070,5919],[3060,5897],[3049,5887],[3039,5866],[3042,5853],[3021,5842],[3013,5835],[3010,5822],[2981,5821],[2980,5831],[2976,5820],[2953,5818],[2940,5820],[2932,5817],[2935,5809],[2926,5810],[2910,5800],[2911,5795],[2898,5797],[2889,5794],[2865,5780],[2848,5766],[2824,5740],[2817,5726],[2820,5720],[2815,5704],[2816,5680],[2824,5681],[2811,5645],[2795,5635],[2782,5618],[2767,5585],[2755,5567],[2742,5552],[2721,5538],[2741,5556],[2742,5566],[2754,5575],[2756,5589],[2740,5595],[2734,5565],[2719,5558],[2711,5544],[2710,5526],[2699,5500],[2677,5479],[2672,5482],[2672,5485]]]]}},{type:"Feature",id:"BS",properties:{"hc-group":"admin0","hc-middle-x":.16,"hc-middle-y":.5,"hc-key":"bs","hc-a2":"BS",name:"The Bahamas",labelrank:"4","country-abbrev":"Bhs.",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"BHS","iso-a2":"BS","woe-id":"23424758",continent:"North America"},geometry:{type:"MultiPolygon",coordinates:[[[[1964,7253],[1959,7243],[1956,7227],[1961,7230],[1966,7218],[1963,7213],[1948,7234],[1939,7240],[1952,7256],[1955,7247],[1964,7253]]],[[[1955,7302],[1931,7301],[1936,7307],[1952,7306],[1954,7312],[1966,7311],[1979,7300],[1975,7281],[1974,7297],[1966,7310],[1955,7302]]],[[[1993,7265],[2001,7262],[2023,7236],[2005,7241],[2006,7256],[1993,7265]]],[[[2040,7194],[2038,7195],[2035,7201],[2035,7201],[2040,7194],[2040,7194],[2040,7194]]],[[[2040,7194],[2044,7190],[2069,7181],[2061,7179],[2045,7186],[2040,7194],[2040,7194],[2040,7194]]],[[[2035,7201],[2033,7205],[2021,7204],[2031,7211],[2035,7201],[2035,7201]]]]}},{type:"Feature",id:"PW",properties:{"hc-group":"admin0","hc-middle-x":.36,"hc-middle-y":.46,"hc-key":"pw","hc-a2":"PW",name:"Palau",labelrank:"6","country-abbrev":"Palau",subregion:"Micronesia","region-wb":"East Asia & Pacific","iso-a3":"PLW","iso-a2":"PW","woe-id":"23424927",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[8209,6720],[8208,6724],[8210,6728],[8213,6728],[8209,6720]]]}},{type:"Feature",id:"EC",properties:{"hc-group":"admin0","hc-middle-x":.75,"hc-middle-y":.18,"hc-key":"ec","hc-a2":"EC",name:"Ecuador",labelrank:"3","country-abbrev":"Ecu.",subregi
38on:"South America","region-wb":"Latin America & Caribbean","iso-a3":"ECU","iso-a2":"EC","woe-id":"23424801",continent:"South America"},geometry:{type:"MultiPolygon",coordinates:[[[[1574,6495],[1575,6501],[1591,6490],[1588,6482],[1575,6484],[1571,6477],[1557,6475],[1556,6482],[1566,6489],[1558,6496],[1559,6510],[1563,6499],[1574,6495]]],[[[1927,6547],[1948,6532],[1961,6529],[1969,6517],[1984,6512],[1998,6513],[2001,6519],[2017,6508],[2032,6502],[2021,6502],[2032,6490],[2033,6477],[2028,6478],[2023,6461],[2008,6443],[1990,6430],[1956,6418],[1941,6405],[1939,6395],[1932,6379],[1932,6372],[1920,6358],[1909,6364],[1907,6373],[1889,6380],[1881,6374],[1879,6388],[1888,6392],[1883,6406],[1894,6412],[1901,6430],[1889,6417],[1883,6426],[1866,6437],[1871,6444],[1868,6458],[1871,6466],[1866,6474],[1877,6479],[1878,6494],[1891,6507],[1891,6530],[1909,6537],[1922,6538],[1927,6547]]]]}},{type:"Feature",id:"AU",properties:{"hc-group":"admin0","hc-middle-x":.55,"hc-middle-y":.43,"hc-key":"au","hc-a2":"AU",name:"Australia",labelrank:"2","country-abbrev":"Auz.",subregion:"Australia and New Zealand","region-wb":"East Asia & Pacific","iso-a3":"AUS","iso-a2":"AU","woe-id":"-90",continent:"Oceania"},geometry:{type:"MultiPolygon",coordinates:[[[[8615,5257],[8620,5253],[8606,5253],[8609,5258],[8599,5272],[8604,5278],[8615,5269],[8615,5257]]],[[[8300,5418],[8299,5413],[8313,5412],[8295,5401],[8288,5404],[8273,5402],[8270,5411],[8300,5418]]],[[[8276,6099],[8273,6091],[8279,6084],[8265,6087],[8265,6099],[8274,6104],[8276,6099]]],[[[8094,6158],[8077,6158],[8087,6175],[8097,6171],[8112,6176],[8121,6168],[8105,6155],[8094,6158]]],[[[8563,5143],[8548,5143],[8525,5176],[8523,5191],[8530,5185],[8523,5199],[8515,5208],[8506,5233],[8509,5251],[8514,5254],[8509,5245],[8521,5239],[8559,5227],[8577,5234],[8589,5232],[8605,5242],[8615,5233],[8613,5205],[8615,5193],[8608,5194],[8604,5175],[8605,5154],[8600,5154],[8593,5163],[8584,5157],[8586,5144],[8579,5152],[8572,5139],[8563,5143]]],[[[8543,6002],[8551,5984],[8547,5968],[8557,5961],[8555,5946],[8560,5941],[8580,5930],[8589,5932],[8596,5918],[8622,5911],[8631,5902],[8625,5895],[8642,5879],[8653,5844],[8666,5831],[8662,5842],[8666,5847],[8671,5839],[8683,5832],[8679,5844],[8689,5830],[8687,5815],[8692,5804],[8700,5804],[8707,5789],[8717,5789],[8728,5770],[8735,5766],[8743,5751],[8750,5749],[8760,5760],[8764,5758],[8755,5733],[8759,5729],[8755,5718],[8759,5694],[8766,5695],[8769,5683],[8766,5662],[8770,5655],[8771,5636],[8763,5622],[8762,5610],[8753,5577],[8755,5571],[8751,5552],[8739,5530],[8739,5521],[8727,5510],[8719,5507],[8704,5483],[8702,5472],[8692,5459],[8687,5431],[8681,5430],[8669,5407],[8669,5393],[8662,5372],[8666,5361],[8664,5353],[8649,5343],[8615,5342],[8594,5333],[8573,5314],[8552,5310],[8561,5310],[8559,5297],[8550,5308],[8545,5305],[8541,5314],[8521,5318],[8531,5328],[8526,5328],[8516,5319],[8512,5323],[8521,5331],[8517,5340],[8503,5333],[8500,5326],[8474,5307],[8441,5324],[8422,5327],[8419,5323],[8398,5334],[8391,5334],[8381,5340],[8377,5348],[8363,5364],[8361,5372],[8366,5383],[8357,5401],[8348,5414],[8349,5426],[8341,5419],[8317,5415],[8315,5419],[8324,5425],[8327,5446],[8314,5466],[8302,5431],[8294,5433],[8277,5429],[8283,5440],[8295,5440],[8295,5465],[8309,5486],[8306,5494],[8312,5498],[8306,5517],[8305,5503],[8295,5498],[8288,5482],[8270,5473],[8251,5452],[8253,5438],[8241,5441],[8235,5449],[8229,5474],[8218,5482],[8213,5496],[8202,5498],[8196,5512],[8202,5514],[8183,5532],[8168,5529],[8158,5537],[8142,5535],[8121,5548],[8110,5553],[8100,5549],[8080,5549],[8046,5546],[8017,5533],[7996,5527],[7978,5525],[7963,5528],[7920,5506],[7903,5499],[7898,5484],[7885,5472],[7872,5474],[7849,5473],[7826,5476],[7781,5473],[7769,5465],[7760,5453],[7747,5455],[7734,5440],[7713,5436],[7682,5435],[7663,5442],[7652,5455],[7638,5458],[7633,5467],[7634,5486],[7642,5482],[7654,5494],[7652,5514],[7656,5525],[7649,5536],[7656,5534],[7654,5547],[7639,5574],[7633,5593],[7633,5617],[7620,5647],[7610,5661],[7605,5686],[7593,5706],[7584,5715],[7573,5739],[7575,5743],[7581,5726],[7584,5727],[7592,5709],[7599,5708],[7601,5716],[7595,5720],[7588,5736],[7591,5739],[7602,5728],[7608,5713],[7612,5732],[7596,5754],[7588,5773],[7587,5788],[7597,5805],[7599,5819],[7594,5833],[7605,5855],[7610,5835],[7615,5836],[7624,5856],[7647,5866],[7652,5871],[7646,5891],[7662,5880],[7688,5896],[7703,5890],[7715,5892],[7726,5901],[7747,5904],[7758,5913],[7769,5910],[7788,5915],[7809,5923],[7826,5941],[7835,5959],[7850,5968],[7845,5974],[7845,5995],[7857,6009],[7868,6016],[7886,5987],[7887,6004],[7895,5997],[7890,6011],[7885,6014],[7891,6025],[7906,6021],[7911,6023],[7912,6054],[7926,6053],[7929,6064],[7938,6059],[7941,6063],[7933,6070],[7936,6075],[7952,6080],[7959,6078],[7962,6090],[7971,6094],[7976,6086],[7980,6099],[7986,6101],[7991,6094],[7998,6096],[8022,6072],[8019,6059],[8033,6071],[8048,6067],[8070,6067],[8057,6081],[8067,6093],[8073,6110],[8083,6114],[8080,6125],[8094,6140],[8107,6142],[8105,6147],[8120,6144],[8136,6143],[8155,6148],[8153,6163],[8146,6169],[8137,6167],[8128,6173],[8134,6178],[8141,61
3870],[8140,6178],[8152,6181],[8154,6167],[8160,6172],[8170,6161],[8188,6161],[8206,6151],[8216,6154],[8225,6145],[8249,6157],[8253,6139],[8263,6145],[8256,6151],[8266,6154],[8273,6144],[8280,6142],[8267,6127],[8271,6124],[8249,6113],[8249,6101],[8260,6098],[8250,6094],[8234,6072],[8237,6065],[8259,6050],[8268,6042],[8284,6044],[8282,6037],[8304,6026],[8317,6012],[8342,6006],[8349,6019],[8359,6021],[8350,6011],[8345,6e3],[8349,5993],[8370,5982],[8385,5984],[8395,5990],[8405,6012],[8412,6031],[8411,6035],[8419,6063],[8415,6079],[8415,6106],[8420,6116],[8417,6123],[8424,6133],[8417,6137],[8423,6151],[8427,6149],[8433,6172],[8433,6192],[8438,6204],[8439,6194],[8447,6190],[8455,6171],[8455,6157],[8465,6153],[8461,6143],[8471,6134],[8476,6107],[8474,6100],[8482,6081],[8486,6078],[8502,6088],[8508,6076],[8528,6065],[8525,6047],[8531,6031],[8529,6020],[8543,6002]]]]}},{type:"Feature",id:"TV",properties:{"hc-group":"admin0","hc-middle-x":.52,"hc-middle-y":.49,"hc-key":"tv","hc-a2":"TV",name:"Tuvalu",labelrank:"6","country-abbrev":"Tuv.",subregion:"Polynesia","region-wb":"East Asia & Pacific","iso-a3":"TUV","iso-a2":"TV","woe-id":"23424970",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[9525,6255],[9524,6257],[9525,6255],[9525,6255]]]}},{type:"Feature",id:"MH",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.6,"hc-key":"mh","hc-a2":"MH",name:"Marshall Islands",labelrank:"6","country-abbrev":"M. Is.",subregion:"Micronesia","region-wb":"East Asia & Pacific","iso-a3":"MHL","iso-a2":"MH","woe-id":"23424932",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[9285,6714],[9290,6712],[9291,6712],[9289,6712],[9285,6714]]]}},{type:"Feature",id:"CL",properties:{"hc-group":"admin0","hc-middle-x":.42,"hc-middle-y":.93,"hc-key":"cl","hc-a2":"CL",name:"Chile",labelrank:"2","country-abbrev":"Chile",subregion:"South America","region-wb":"Latin America & Caribbean","iso-a3":"CHL","iso-a2":"CL","woe-id":"23424782",continent:"South America"},geometry:{type:"MultiPolygon",coordinates:[[[[2176,5963],[2188,5965],[2194,5974],[2191,5981],[2202,5988],[2212,5969],[2217,5944],[2231,5929],[2225,5920],[2229,5911],[2223,5910],[2226,5897],[2232,5893],[2229,5886],[2240,5873],[2243,5853],[2250,5834],[2250,5825],[2270,5826],[2275,5820],[2265,5788],[2239,5777],[2229,5765],[2235,5755],[2228,5745],[2234,5721],[2229,5710],[2236,5694],[2222,5692],[2211,5666],[2197,5651],[2193,5629],[2186,5621],[2189,5609],[2190,5590],[2182,5589],[2170,5550],[2178,5527],[2182,5520],[2187,5493],[2193,5491],[2190,5481],[2192,5462],[2186,5461],[2180,5451],[2176,5431],[2171,5430],[2175,5420],[2176,5402],[2166,5390],[2156,5387],[2152,5375],[2155,5367],[2152,5360],[2152,5346],[2157,5334],[2161,5313],[2145,5304],[2142,5281],[2138,5282],[2139,5271],[2133,5260],[2138,5256],[2130,5243],[2133,5235],[2130,5211],[2136,5195],[2127,5193],[2124,5162],[2136,5155],[2130,5146],[2136,5141],[2138,5129],[2132,5123],[2133,5112],[2152,5111],[2154,5107],[2148,5098],[2127,5099],[2126,5094],[2140,5091],[2149,5079],[2134,5063],[2140,5055],[2131,5048],[2135,5045],[2137,5028],[2130,5024],[2132,5011],[2123,5002],[2112,4983],[2118,4977],[2120,4967],[2111,4963],[2111,4950],[2099,4942],[2093,4933],[2085,4930],[2082,4922],[2085,4913],[2083,4898],[2089,4893],[2094,4875],[2105,4880],[2119,4879],[2121,4856],[2115,4844],[2129,4831],[2131,4826],[2189,4826],[2232,4814],[2232,4814],[2232,4814],[2232,4814],[2233,4814],[2233,4812],[2213,4818],[2204,4816],[2197,4805],[2192,4807],[2166,4797],[2159,4777],[2157,4754],[2139,4753],[2120,4763],[2117,4767],[2118,4765],[2093,4777],[2101,4782],[2089,4784],[2082,4794],[2090,4795],[2090,4803],[2081,4796],[2079,4807],[2075,4799],[2064,4803],[2071,4807],[2057,4821],[2078,4816],[2057,4832],[2046,4823],[2038,4826],[2038,4837],[2044,4831],[2043,4841],[2051,4831],[2055,4837],[2076,4824],[2063,4837],[2075,4844],[2073,4856],[2064,4858],[2066,4848],[2061,4850],[2060,4867],[2076,4872],[2084,4878],[2076,4884],[2075,4875],[2066,4874],[2062,4887],[2049,4896],[2059,4900],[2061,4921],[2056,4922],[2057,4913],[2054,4904],[2044,4903],[2044,4915],[2040,4922],[2040,4908],[2030,4909],[2022,4918],[2029,4931],[2042,4932],[2033,4936],[2041,4941],[2039,4963],[2032,4977],[2033,4985],[2045,4987],[2054,4954],[2056,4924],[2058,4935],[2056,4941],[2058,4957],[2051,4979],[2062,4987],[2074,4985],[2068,4980],[2088,4971],[2079,4983],[2083,4987],[2054,4988],[2051,4996],[2059,4993],[2054,5001],[2067,5012],[2062,5025],[2049,5021],[2037,5030],[2035,5025],[2028,5031],[2024,5019],[2019,5030],[2042,5050],[2038,5059],[2050,5063],[2059,5085],[2061,5068],[2056,5061],[2071,5051],[2079,5063],[2078,5074],[2093,5079],[2085,5081],[2089,5092],[2107,5099],[2108,5109],[2090,5120],[2101,5141],[2096,5146],[2106,5162],[2103,5171],[2108,5181],[2104,5189],[2116,5192],[2102,5201],[2110,5208],[2100,5216],[2096,5207],[2076,5207],[2071,5234],[2077,5249],[2078,5268],[2085,5273],[2092,5285],[2090,5299],[2083,5322],[2085,5333],[2079,5346],[2082,5365],[2093,5365],[2095,5376],[2104,5393],[2105,5405],[2111,5410],[2109,5418],[2121,5433],[2127,5448],[2127,5465],[2139,5485],[2135,5500],[2141,5503],[2146,5524],[2138,5563],[2137,5580],[2139,5593],[2146,5595],[2149,5603],[2147,5623],[2142,5634],[2153,5653],[2154,5666],[2160,5676],[2159,5691],[2164,5696],[2169,5727],[2165,5732],[2174,5748],[2170,5767],[2172,5796],[2175,5805],[2169,5804],[2170,5817],[2178,5823],[2183,5861],[2185,5868],[2181,5887],[2184,5910],[2179,5934],[2176,5963]],[[2117,4767],[2116,4772],[2116,4772],[2116,4772],[2116,4772],[2120,4777],[2136,4777],[2146,4781],[2153,4794],[2131,4786],[2122,4778],[2115,4779],[2116,4772],[2116,4772],[2116,4772],[2116,4772],[2115,4770],[2117,4767]],[[2100,4790],[2124,4800],[2144,4800],[2141,4804],[2119,4805],[2116,4800],[2103,4806],[2108,4800],[2100,4790]]],[[[2286,4697],[2274,4692],[2261,4699],[2256,4695],[2244,4696],[2236,4709],[2267,4709],[2279,4705],[2286,4697]]],[[[2142,4747],[2151,4740],[2157,4742],[2153,4731],[2143,4741],[2142,4747]]],[[[2122,4741],[2116,4733],[2121,4749],[2130,4752],[2138,4749],[2133,4733],[2122,4741]]],[[[2172,4743],[2179,4744],[2179,4735],[2163,4742],[2161,4753],[2173,4764],[2177,4746],[2172,4743]]],[[[2067,4777],[2052,4789],[2050,4797],[2061,4788],[2085,4781],[2096,4772],[2081,4774],[2081,4779],[2068,4784],[2067,4777]]],[[[2050,4886],[2058,4886],[2064,4874],[2058,4870],[2053,4851],[2033,4846],[2052,4859],[2037,4873],[2048,4876],[2049,4869],[2055,4874],[2056,4883],[2050,4886]]],[[[2041,4893],[2041,4887],[2026,4874],[2026,4885],[2035,4886],[2026,4890],[2028,4897],[2045,4899],[2041,4893]]],[[[2022,4950],[2027,4957],[2020,4958],[2026,4964],[2023,4976],[2030,4979],[2037,4962],[2038,4943],[2025,4932],[2029,4940],[2021,4943],[2022,4950]]],[[[2077,5127],[2081,5124],[2070,5116],[2079,5111],[2071,5109],[2080,5103],[2074,5092],[2070,5097],[2056,5097],[2047,5102],[2035,5093],[2034,5097],[2060,5112],[2059,5121],[2066,5119],[2077,5127]]],[[[2091,5112],[2106,5110],[2104,5101],[2090,5093],[2085,5103],[2092,5103],[2091,5112]]],[[[2084,4764],[2075,4765],[2086,4771],[2087,4767],[2101,4769],[2124,4754],[2112,4742],[2103,4741],[2104,4753],[2096,4750],[2094,4741],[2085,4743],[2092,4750],[2091,4758],[2084,4764]
38]],[[[2080,5184],[2076,5180],[2084,5167],[2084,5159],[2077,5157],[2077,5148],[2067,5148],[2047,5138],[2063,5161],[2064,5182],[2068,5193],[2067,5205],[2082,5205],[2088,5188],[2080,5184]]],[[[2067,5090],[2078,5086],[2070,5059],[2065,5070],[2070,5081],[2062,5086],[2067,5090]]],[[[2190,4704],[2194,4711],[2212,4707],[2233,4708],[2236,4703],[2228,4699],[2239,4694],[2228,4693],[2242,4689],[2247,4681],[2257,4685],[2265,4682],[2270,4670],[2252,4669],[2239,4684],[2218,4688],[2222,4698],[2215,4695],[2197,4696],[2186,4699],[2190,4704]]],[[[2228,4801],[2227,4714],[2225,4715],[2227,4714],[2227,4712],[2227,4710],[2215,4708],[2197,4713],[2185,4712],[2169,4715],[2178,4709],[2171,4697],[2170,4703],[2159,4703],[2156,4722],[2153,4718],[2127,4720],[2128,4728],[2138,4723],[2136,4730],[2147,4731],[2159,4727],[2159,4733],[2169,4733],[2160,4742],[2180,4732],[2185,4736],[2217,4729],[2185,4743],[2182,4754],[2190,4760],[2206,4766],[2206,4772],[2180,4768],[2173,4774],[2175,4786],[2195,4795],[2204,4808],[2212,4799],[2223,4804],[2228,4801]]]]}},{type:"Feature",id:"KI",properties:{"hc-group":"admin0","hc-middle-x":.29,"hc-middle-y":.58,"hc-key":"ki","hc-a2":"KI",name:"Kiribati",labelrank:"6","country-abbrev":"Kir.",subregion:"Micronesia","region-wb":"East Asia & Pacific","iso-a3":"KIR","iso-a2":"KI","woe-id":"23424867",continent:"Oceania"},geometry:{type:"Polygon",coordinates:[[[-387,6564],[-385,6560],[-382,6555],[-387,6559],[-387,6564]]]}},{type:"Feature",id:"PH",properties:{"hc-group":"admin0","hc-middle-x":.43,"hc-middle-y":.15,"hc-key":"ph","hc-a2":"PH",name:"Philippines",labelrank:"2","country-abbrev":"Phil.",subregi
38on:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"PHL","iso-a2":"PH","woe-id":"23424934",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[7915,6801],[7914,6792],[7908,6787],[7896,6788],[7893,6793],[7905,6803],[7915,6801]]],[[[7884,6775],[7888,6772],[7871,6770],[7866,6779],[7858,6782],[7852,6794],[7866,6802],[7864,6814],[7870,6826],[7876,6828],[7887,6823],[7874,6795],[7874,6787],[7884,6775]]],[[[7894,6833],[7901,6836],[7900,6813],[7889,6800],[7884,6786],[7879,6784],[7882,6800],[7897,6827],[7894,6833]]],[[[7838,6867],[7844,6878],[7859,6872],[7859,6866],[7844,6874],[7839,6856],[7858,6844],[7862,6846],[7875,6842],[7874,6834],[7863,6827],[7859,6812],[7858,6819],[7847,6818],[7839,6811],[7843,6848],[7836,6851],[7838,6867]]],[[[7887,6876],[7891,6876],[7893,6863],[7900,6857],[7901,6850],[7882,6864],[7875,6856],[7878,6870],[7887,6876]]],[[[7789,6908],[7793,6903],[7817,6901],[7827,6890],[7827,6877],[7818,6864],[7805,6879],[7804,6888],[7789,6908]]],[[[7909,6848],[7915,6848],[7918,6837],[7930,6850],[7925,6851],[7911,6864],[7907,6874],[7933,6875],[7943,6865],[7942,6857],[7945,6836],[7936,6831],[7930,6836],[7929,6822],[7934,6816],[7938,6797],[7929,6810],[7929,6799],[7922,6803],[7922,6823],[7911,6826],[7909,6848]]],[[[7931,6677],[7906,6686],[7901,6694],[7900,6714],[7906,6722],[7890,6734],[7875,6725],[7873,6732],[7864,6719],[7864,6732],[7855,6731],[7842,6703],[7850,6699],[7839,6693],[7835,6699],[7842,6719],[7844,6734],[7849,6740],[7867,6744],[7872,6755],[7892,6758],[7895,6744],[7906,6746],[7911,6758],[7921,6754],[7922,6771],[7932,6764],[7935,6772],[7944,6770],[7940,6789],[7943,6802],[7948,6812],[7950,6795],[7947,6788],[7956,6791],[7960,6800],[7963,6792],[7956,6784],[7967,6762],[7972,6746],[7970,6735],[7975,6731],[7976,6718],[7965,6703],[7964,6690],[7960,6706],[7952,6721],[7952,6714],[7944,6711],[7940,6698],[7945,6696],[7948,6679],[7940,6668],[7931,6677]]],[[[7723,6776],[7738,6792],[7747,6804],[7760,6814],[7758,6826],[7767,6841],[7775,6840],[7781,6851],[7778,6867],[7792,6860],[7785,6859],[7783,6850],[7767,6827],[7773,6814],[7762,6808],[7758,6800],[7745,6795],[7737,6778],[7726,6773],[7723,6766],[7710,6759],[7700,6750],[7703,6745],[7693,6734],[7702,6759],[7712,6771],[7723,6776]]],[[[7835,6898],[7844,6910],[7832,6916],[7823,6907],[7812,6907],[7808,6915],[7800,6912],[7798,6923],[7810,6932],[7806,6940],[7797,6942],[7799,6932],[7784,6941],[7778,6960],[7778,6973],[7775,6975],[7776,6988],[7790,6978],[7791,7001],[7794,7018],[7791,7024],[7799,7054],[7814,7057],[7839,7046],[7847,7053],[7845,7026],[7856,7010],[7847,6987],[7828,6975],[7829,6967],[7822,6956],[7826,6949],[7836,6949],[7840,6948],[7838,6936],[7829,6938],[7832,6923],[7847,6915],[7854,6928],[7865,6926],[7872,6917],[7891,6915],[7900,6907],[7903,6919],[7911,6914],[7904,6903],[7905,6889],[7901,6874],[7883,6889],[7875,6883],[7868,6891],[7858,6893],[7846,6906],[7840,6894],[7835,6898]]]]}},{type:"Feature",id:"GD",properties:{"hc-group":"admin0","hc-middle-x":.61,"hc-middle-y":.59,"hc-key":"gd","hc-a2":"GD",name:"Grenada",labelrank:"6","country-abbrev":"Gren.",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"GRD","iso-a2":"GD","woe-id":"23424826",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2434,6859],[2430,6859],[2432,6865],[2434,6863],[2434,6859]]]}},{type:"Feature",id:"EE",properties:{"hc-group":"admin0","hc-middle-x":.35,"hc-middle-y":.42,"hc-key":"ee","hc-a2":"EE",name:"Estonia",labelrank:"6","country-abbrev":"Est.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"EST","iso-a2":"EE","woe-id":"23424805",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4927,8456],[4932,8453],[4916,8440],[4902,8436],[4892,8441],[4893,8451],[4913,8457],[4927,8456]]],[[[4917,8474],[4927,8466],[4912,8460],[4909,8466],[4898,8471],[4917,8474]]],[[[5078,8489],[5073,8488],[5075,8487],[5075,8487],[5075,8487],[5075,8487],[5073,8486],[5069,8485],[5068,8480],[5066,8477],[5064,8473],[5046,8471],[5042,8464],[5048,8459],[5051,8448],[5062,8430],[5067,8424],[5059,8422],[5054,8410],[5039,8414],[5028,8410],[5014,8421],[4992,8433],[4964,8424],[4970,8445],[4958,8441],[4947,8445],[4941,8454],[4941,8465],[4936,8472],[4939,8482],[4957,8487],[4955,8490],[4989,8497],[4996,8495],[5006,8502],[5038,8494],[5069,8491],[5073,8494],[5076,8492],[5078,8489]]]]}},{type:"Feature",id:"AG",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.4,"hc-key":"ag","hc-a2":"AG",name:"Antigua and Barbuda",labelrank:"6","country-abbrev":"Ant.B.",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"ATG","iso-a2":"AG","woe-id":"23424737",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2429,7011],[2432,7009],[2427,7007],[2426,7010],[2429,7011]]]}},{type:"Feature",id:"ES",properties:{"hc-group":"admin0","hc-middle-x":.73,"hc-middle-y":.27,"hc-key":"es","hc-a2":"ES",name:"Spain",labelrank:"2","country-abbrev":"Sp.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"ESP","iso-a2":"ES","woe-id":"23424950",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[3742,7347],[3750,7358],[3774,7365],[3786,7352],[3794,7351],[3795,7342],[3789,7338],[3782,7346],[3764,7351],[3757,7346],[3742,7347]]],[[[3841,7369],[3837,7354],[3825,7348],[3843,7381],[3853,7385],[3851,7378],[3841,7369]]],[[[4361,7744],[4369,7745],[4375,7737],[4361,7741],[4350,7734],[4338,7718],[4326,7728],[4318,7729],[4342,7742],[4347,7735],[4361,7744]]],[[[4306,7828],[4305,7829],[4306,7830],[4307,7828],[4306,7828]]],[[[4161,7584],[4162,7583],[4161,7582],[4161,7584]]],[[[4089,7604],[4092,7603],[4091,7602],[4090,7603],[4089,7604]]],[[[4090,7611],[4083,7607],[4067,7617],[4057,7639],[4045,7646],[4030,7647],[4026,7659],[4034,7673],[4041,7675],[4031,7689],[4034,7699],[4043,7709],[4037,7712],[4033,7724],[4026,7732],[4041,7732],[4046,7743],[4041,7749],[4048,7755],[4044,7778],[4065,7798],[4054,7804],[4055,7810],[4038,7812],[4035,7808],[4021,7809],[4007,7806],[4006,7818],[3990,7812],[3986,7816],[3994,7823],[3983,7831],[3985,7841],[3975,7845],[3979,7855],[3988,7860],[4003,7863],[4003,7868],[4016,7875],[4031,7872],[4035,7868],[4065,7869],[4088,7868],[4119,7862],[4143,7867],[4157,7861],[4167,7864],[4186,7858],[4195,7862],[4207,7857],[4204,7851],[4226,7846],[4231,7841],[4239,7843],[4247,7837],[4267,7837],[4267,7842],[4287,7838],[4290,7834],[4293,7828],[4298,7830],[4309,7825],[4321,7825],[4335,7829],[4342,7828],[4346,7824],[4340,7818],[4343,7811],[4335,7803],[4316,7794],[4309,7787],[4277,7779],[4250,7744],[4239,7726],[4242,7711],[4255,7699],[4233,7686],[4226,7670],[4227,7661],[4212,7660],[4199,7653],[4186,7631],[4179,7635],[4170,7630],[4153,7632],[4118,7631],[4109,7623],[4095,7620],[4091,7611],[4090,7611]]]]}},{type:"Feature",id:"BB",properties:{"hc-group":"admin0","hc-middle-x":.16,"hc-middle-y":.56,"hc-key":"bb","hc-a2":"BB",name:"Barbados",labelrank:"5","country-abbrev":"Barb.",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"BRB","iso-a2":"BB","woe-id":"23424754",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2496,6889],[2493,6890],[2493,6898],[2498,6891],[2496,6889]]]}},{type:"Feature",id:"IT",properties:{"hc-group":"admin0","hc-middle-x":.46,"hc-middle-y":.46,"hc-key":"it","hc-a2":"IT",name:"Italy",labelrank:"2","country-abbrev":"Italy",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"ITA","iso-a2":"IT","woe-id":"23424853",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4695,7647],[4700,7641],[4692,7629],[4675,7633],[4669,7642],[4657,7644],[4629,7660],[4621,7659],[4614,7668],[4624,7680],[4628,7675],[4634,7681],[4654,7673],[4668,7675],[4687,7681],[4692,7679],[4705,7684],[4705,7677],[4693,7657],[4695,7647]]],[[[4497,7754],[4488,7762],[4490,7773],[4506,7775],[4520,7787],[4528,7778],[4537,7761],[4532,7752],[4535,7746],[4530,7713],[4515,7716],[4509,7704],[4501,7705],[4495,7721],[4500,7739],[4495,7740],[4497,7754]]],[[[4469,7876],[4475,7887],[4465,7888],[4450,7897],[4456,7909],[4443,7924],[4457,7929],[4448,7950],[4455,7954],[4470,7956],[4479,7953],[4486,7966],[4497,7973],[4496,7966],[4508,7959],[4510,7950],[4526,7975],[4530,7967],[4542,7970],[4545,7979],[4555,7976],[4556,7988],[4572,7985],[4581,7993],[4605,7993],[4613,7982],[4652,7976],[4642,7967],[4650,7963],[4645,7957],[4657,7943],[4652,7942],[4647,7949],[4614,7936],[4608,7931],[4617,7919],[4610,7914],[4612,7893],[4622,7883],[4649,7867],[4663,7834],[4682,7816],[4693,7810],[4720,7811],[4725,7805],[4717,7800],[4720,7793],[4750,7780],[4763,7772],[4778,7765],[4793,7747],[4789,7736],[4780,7740],[4774,7753],[4764,7753],[4750,7761],[4737,7746],[4734,7732],[4753,7722],[4752,7705],[4744,7706],[4735,7699],[4736,7689],[4724,7679],[4722,7672],[4709,7673],[4709,7682],[4716,7690],[4715,7697],[4725,7700],[4719,7723],[4708,7745],[4700,7743],[4687,7751],[4690,7757],[4682,7766],[4670,7763],[4674,7768],[4663,7772],[4652,7786],[4632,7786],[4596,7814],[4591,7823],[4572,7838],[4558,7845],[4559,7853],[4552,7865],[4546,7884],[4537,7886],[4520,7897],[4505,7899],[4497,7895
38],[4489,7882],[4469,7876]],[[4615,7809],[4615,7809],[4615,7809],[4615,7809],[4615,7809]],[[4615,7880],[4616,7883],[4614,7883],[4613,7881],[4615,7880]]]]}},{type:"Feature",id:"MT",properties:{"hc-group":"admin0","hc-middle-x":.48,"hc-middle-y":.53,"hc-key":"mt","hc-a2":"MT",name:"Malta",labelrank:"5","country-abbrev":"Malta",subregion:"Southern Europe","region-wb":"Middle East & North Africa","iso-a3":"MLT","iso-a2":"MT","woe-id":"23424897",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4670,7608],[4675,7604],[4676,7600],[4670,7603],[4670,7608]]]}},{type:"Feature",id:"MV",properties:{"hc-group":"admin0","hc-middle-x":.67,"hc-middle-y":.59,"hc-key":"mv","hc-a2":"MV",name:"Maldives",labelrank:"5","country-abbrev":"Mald.",subregion:"Southern Asia","region-wb":"South Asia","iso-a3":"MDV","iso-a2":"MV","woe-id":"23424899",continent:"Seven seas (open ocean)"},geometry:{type:"Polygon",coordinates:[[[6414,6567],[6412,6559],[6408,6558],[6405,6561],[6414,6567]]]}},{type:"Feature",id:"SP",properties:{"hc-group":"admin0","hc-middle-x":.56,"hc-middle-y":.51,"hc-key":"sp","hc-a2":"SP",name:"Spratly Islands",labelrank:"6","country-abbrev":"Spratly Is.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"-99","iso-a2":"SP","woe-id":"23424921",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7658,6820],[7658,6820],[7658,6820],[7658,6820],[7658,6820]]]}},{type:"Feature",id:"PG",properties:{"hc-group":"admin0","hc-middle-x":.12,"hc-middle-y":.45,"hc-key":"pg","hc-a2":"PG",name:"Papua New Guinea",labelrank:"2","country-abbrev":"P.N.G.",subregion:"Melanesia","region-wb":"East Asia & Pacific","iso-a3":"PNG","iso-a2":"PG","woe-id":"23424926",continent:"Oceania"},geometry:{type:"MultiPolygon",coordinates:[[[[8675,6226],[8687,6229],[8693,6223],[8701,6206],[8693,6209],[8687,6221],[8675,6226]]],[[[8801,6345],[8812,6343],[8825,6325],[8839,6314],[8840,6308],[8833,6304],[8822,6308],[8819,6319],[8805,6331],[8805,6342],[8801,6345]]],[[[8678,6427],[8670,6427],[8663,6433],[8671,6435],[8689,6430],[8714,6415],[8722,6428],[8725,6410],[8740,6393],[8752,6388],[8757,6380],[8750,6363],[8743,6375],[8744,6383],[8732,6401],[8718,6407],[8697,6422],[8678,6427]]],[[[8399,6238],[8399,6303],[8395,6309],[8399,6320],[8399,6429],[8429,6419],[8431,6416],[8459,6407],[8474,6405],[8488,6394],[8503,6393],[8519,6378],[8528,6377],[8538,6366],[8547,6372],[8541,6363],[8539,6346],[8560,6341],[8578,6331],[8589,6331],[8601,6320],[8601,6309],[8576,6308],[8575,6301],[8582,6287],[8598,6273],[8609,6269],[8613,6254],[8619,6251],[8622,6240],[8639,6242],[8645,6238],[8642,6227],[8666,6220],[8657,6217],[8663,6210],[8682,6206],[8675,6201],[8691,6195],[8671,6191],[8657,6202],[8605,6207],[8595,6212],[8586,6224],[8578,6228],[8574,6238],[8563,6247],[8549,6268],[8540,6273],[8529,6273],[8514,6277],[8507,6284],[8503,6277],[8494,6277],[8481,6283],[8487,6272],[8479,6269],[8472,6255],[8466,6257],[8470,6242],[8448,6232],[8436,6236],[8425,6235],[8399,6238]]],[[[8678,6321],[8654,6321],[8644,6328],[8636,6329],[8615,6340],[8607,6341],[8607,6335],[8599,6344],[8580,6346],[8595,6349],[8606,6342],[8635,6345],[8642,6341],[8656,6342],[8664,6346],[8683,6342],[8695,6347],[8705,6362],[8715,6364],[8710,6383],[8724,6383],[8735,6378],[8732,6361],[8723,6360],[8726,6345],[8710,6339],[8696,6329],[8678,6321]]]]}},{type:"Feature",id:"VU",properties:{"hc-group":"admin0","hc-middle-x":.54,"hc-middle-y":.87,"hc-key":"vu","hc-a2":"VU",name:"Vanuatu",labelrank:"4","country-abbrev":"Van.",subregion:"Melanesia","region-wb":"East Asia & Pacific","iso-a3":"VUT","iso-a2":"VU","woe-id":"23424907",continent:"Oceania"},geometry:{type:"MultiPolygon",coordinates:[[[[9190,6049],[9198,6051],[9199,6064],[9202,6037],[9201,6018],[9192,6025],[9200,6031],[9199,6049],[9190,6049]]],[[[9175,6036],[9178,6030],[9190,6019],[9180,6016],[9175,6030],[9169,6031],[9170,6047],[9159,6043],[9154,6052],[9151,6068],[9154,6074],[9159,6059],[9167,6064],[9175,6036]]]]}},{type:"Feature",id:"SG",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.58,"hc-key":"sg","hc-a2":"SG",name:"Singapore",labelrank:"6","country-abbrev":"Sing.",subregi
38on:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"SGP","iso-a2":"SG","woe-id":"23424948",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7306,6547],[7310,6546],[7306,6542],[7300,6543],[7306,6547]]]}},{type:"Feature",id:"GB",properties:{"hc-group":"admin0","hc-middle-x":.62,"hc-middle-y":.09,"hc-key":"gb","hc-a2":"GB",name:"United Kingdom",labelrank:"2","country-abbrev":"U.K.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"GBR","iso-a2":"GB","woe-id":"-90",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4063,8385],[4057,8401],[4048,8407],[4060,8410],[4062,8417],[4074,8398],[4082,8399],[4074,8390],[4063,8385]]],[[[4039,8415],[4036,8415],[4036,8400],[4029,8398],[4032,8411],[4026,8413],[4047,8427],[4039,8430],[4041,8441],[4064,8452],[4067,8445],[4060,8439],[4061,8432],[4039,8415]]],[[[4168,8470],[4147,8468],[4150,8479],[4165,8484],[4174,8477],[4168,8470]]],[[[4214,8539],[4216,8549],[4222,8554],[4226,8544],[4218,8544],[4214,8532],[4214,8520],[4208,8513],[4211,8528],[4205,8524],[4199,8530],[4208,8531],[4209,8544],[4214,8539]]],[[[2494,4852],[2503,4850],[2485,4828],[2473,4825],[2464,4817],[2445,4831],[2455,4833],[2466,4826],[2467,4838],[2476,4840],[2467,4845],[2476,4853],[2477,4846],[2494,4852]]],[[[3127,4746],[3138,4747],[3169,4742],[3168,4736],[3181,4731],[3195,4716],[3185,4710],[3175,4724],[3156,4735],[3127,4746]]],[[[2490,4814],[2490,4821],[2497,4832],[2511,4840],[2506,4843],[2513,4854],[2526,4853],[2530,4845],[2543,4850],[2546,4844],[2538,4843],[2548,4838],[2513,4822],[2505,4826],[2510,4818],[2500,4822],[2499,4814],[2490,4814]]],[[[5246,7572],[5245,7571],[5243,7573],[5243,7573],[5243,7573],[5243,7573],[5243,7573],[5242,7573],[5242,7573],[5240,7572],[5240,7573],[5240,7574],[5240,7574],[5240,7574],[5242,7574],[5246,7576],[5246,7575],[5243,7575],[5246,7572]],[[5242,7573],[5242,7574],[5242,7574],[5242,7573],[5242,7573]]],[[[4091,7611],[4091,7610],[4090,7611],[4091,7611]]],[[[5220,7561],[5217,7562],[5213,7562],[5215,7563],[5220,7561]]],[[[5246,7576],[5246,7576],[5246,7576],[5246,7576],[5246,7576]]],[[[4035,8308],[4043,8313],[4069,8313],[4079,8294],[4085,8291],[4080,8278],[4070,8266],[4064,8268],[4053,8266],[4041,8281],[4033,8269],[4017,8272],[4007,8283],[4026,8294],[4035,8308]]],[[[4081,8355],[4093,8376],[4081,8367],[4082,8363],[4062,8357],[4066,8368],[4054,8373],[4076,8377],[4075,8383],[4083,8400],[4077,8403],[4076,8412],[4082,8410],[4077,8423],[4090,8428],[4088,8434],[4101,8457],[4111,8454],[4136,8455],[4148,8458],[4159,8458],[4153,8443],[4128,8428],[4137,8423],[4123,8409],[4145,8418],[4158,8416],[4191,8417],[4196,8408],[4190,8401],[4183,8382],[4174,8370],[4163,8365],[4172,8358],[4161,8354],[4155,8348],[4143,8347],[4157,8344],[4166,8349],[4185,8343],[4200,8329],[4203,8312],[4210,8296],[4216,8289],[4232,8283],[4236,8275],[4246,8269],[4242,8265],[4252,8250],[4243,8249],[4253,8243],[4258,8227],[4248,8219],[4259,8216],[4265,8223],[4286,8221],[4297,8215],[4300,8204],[4295,8188],[4277,8177],[4274,8167],[4262,8165],[4277,8159],[4290,8161],[4288,8150],[4256,8135],[4243,8139],[4224,8135],[4222,8139],[4209,8129],[4209,8138],[4191,8133],[4190,8130],[4176,8129],[4164,8135],[4145,8128],[4141,8115],[4126,8121],[4108,8119],[4099,8114],[4095,8105],[4088,8114],[4107,8130],[4126,8154],[4137,8155],[4159,8153],[4169,8169],[4154,8161],[4144,8161],[4135,8170],[4122,8167],[4119,8175],[4103,8169],[4092,8181],[4106,8185],[4125,8195],[4129,8206],[4127,8221],[4108,8216],[4120,8225],[4114,8240],[4122,8240],[4126,8233],[4154,8239],[4163,8253],[4159,8261],[4166,8269],[4159,8273],[4153,8269],[4141,8285],[4148,8300],[4131,8295],[4120,8297],[4120,8281],[4121,8276],[4107,8267],[4115,8279],[4115,8293],[4105,8299],[4105,8290],[4097,8299],[4101,8311],[4112,8325],[4095,8342],[4089,8340],[4096,8333],[4097,8323],[4088,8329],[4086,8320],[4078,8318],[4083,8336],[4079,8349],[4071,8333],[4064,8332],[4058,8339],[4072,8346],[4081,8355]]]]}},{type:"Feature",id:"CY",properties:{"hc-group":"admin0","hc-middle-x":.39,"hc-middle-y":.51,"hc-key":"cy","hc-a2":"CY",name:"Cyprus",labelrank:"5","country-abbrev":"Cyp.",subregi
38on:"Western Asia","region-wb":"Europe & Central Asia","iso-a3":"CYP","iso-a2":"CY","woe-id":"-90",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5242,7573],[5242,7573],[5242,7574],[5242,7574],[5242,7573]]],[[[5242,7573],[5243,7573],[5243,7573],[5243,7573],[5243,7573],[5242,7573]]],[[[5250,7575],[5252,7572],[5246,7572],[5243,7575],[5246,7575],[5247,7575],[5250,7575]]],[[[5240,7572],[5238,7567],[5220,7561],[5215,7563],[5213,7562],[5202,7565],[5199,7577],[5208,7579],[5209,7578],[5210,7580],[5211,7579],[5214,7575],[5232,7579],[5240,7573],[5240,7572]]]]}},{type:"Feature",id:"GR",properties:{"hc-group":"admin0","hc-middle-x":.33,"hc-middle-y":.74,"hc-key":"gr","hc-a2":"GR",name:"Greece",labelrank:"3","country-abbrev":"Greece",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"GRC","iso-a2":"GR","woe-id":"23424833",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[5041,7638],[5040,7643],[5054,7636],[5048,7627],[5064,7612],[5079,7622],[5074,7611],[5066,7603],[5065,7609],[5047,7626],[5041,7638]]],[[[5013,7659],[5008,7644],[5002,7644],[4995,7629],[4990,7640],[4977,7639],[4971,7630],[4965,7632],[4975,7638],[4966,7651],[4969,7654],[4976,7641],[4994,7643],[5013,7659]]],[[[4977,7674],[4983,7671],[4984,7662],[4975,7672],[4966,7673],[4956,7685],[4931,7703],[4924,7705],[4934,7710],[4943,7701],[4957,7697],[4968,7704],[4970,7701],[4960,7688],[4965,7680],[4977,7674]]],[[[5018,7693],[5014,7680],[5009,7694],[5016,7694],[5019,7709],[5010,7717],[5024,7722],[5031,7709],[5026,7707],[5018,7693]]],[[[4948,7581],[4941,7583],[4946,7590],[4960,7593],[4963,7585],[4983,7587],[4998,7583],[5007,7584],[5008,7577],[5021,7583],[5021,7575],[4977,7571],[4976,7577],[4948,7581]]],[[[4867,7767],[4870,7769],[4867,7767],[4865,7769],[4865,7770],[4867,7772],[4870,7773],[4884,7773],[4893,7781],[4917,7783],[4923,7789],[4943,7791],[4956,7796],[4970,7797],[4993,7786],[5017,7790],[5015,7802],[5023,7803],[5031,7799],[5032,7791],[5023,7786],[5024,7776],[5015,7768],[5002,7757],[4994,7735],[4986,7737],[4998,7760],[5e3,7773],[4985,7778],[4978,7772],[4978,7764],[4970,7765],[4971,7776],[4958,7768],[4946,7767],[4966,7749],[4953,7756],[4946,7754],[4955,7747],[4955,7741],[4945,7750],[4935,7750],[4946,7740],[4936,7741],[4934,7751],[4920,7760],[4913,7745],[4935,7715],[4923,7721],[4921,7714],[4927,7710],[4919,7701],[4935,7696],[4936,7691],[4953,7684],[4956,7662],[4945,7672],[4932,7673],[4930,7661],[4942,7666],[4932,7653],[4917,7659],[4929,7633],[4931,7621],[4927,7612],[4922,7618],[4928,7622],[4918,7634],[4913,7633],[4911,7622],[4900,7641],[4887,7632],[4883,7646],[4887,7650],[4883,7659],[4870,7669],[4861,7662],[4855,7668],[4860,7676],[4852,7678],[4854,7698],[4861,7706],[4871,7708],[4857,7711],[4848,7718],[4841,7717],[4826,7734],[4837,7732],[4849,7737],[4846,7742],[4856,7746],[4867,7767]]]]}},{type:"Feature",id:"KM",properties:{"hc-group":"admin0","hc-middle-x":.37,"hc-middle-y":.51,"hc-key":"km","hc-a2":"KM",name:"Comoros",labelrank:"6","country-abbrev":"Com.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"COM","iso-a2":"KM","woe-id":"23424786",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5528,6155],[5522,6158],[5522,6171],[5526,6170],[5528,6155]]]}},{type:"Feature",id:"FJ",properties:{"hc-group":"admin0","hc-middle-x":.25,"hc-middle-y":.75,"hc-key":"fj","hc-a2":"FJ",name:"Fiji",labelrank:"6","country-abbrev":"Fiji",subregion:"Melanesia","region-wb":"East Asia & Pacific","iso-a3":"FJI","iso-a2":"FJ","woe-id":"23424813",continent:"Oceania"},geometry:{type:"MultiPolygon",coordinates:[[[[9465,6e3],[9475,5988],[9495,5994],[9511,5981],[9509,5970],[9493,5965],[9469,5970],[9472,5981],[9465,6e3]]],[[[9533,6012],[9533,6012],[9533,6012],[9533,6012],[9533,6012],[9533,6012],[9533,6012]]],[[[9533,6012],[9526,6012],[9510,6003],[9506,6014],[9541,6028],[9544,6024],[9533,6012],[9533,6012],[9533,6012]]],[[[9533,6012],[9546,6019],[9550,6012],[9546,6003],[9540,6012],[9533,6012],[9533,6012]]]]}},{type:"Feature",id:"RU",properties:{"hc-group":"admin0","hc-middle-x":.58,"hc-middle-y":.57,"hc-key":"ru","hc-a2":"RU",name:"Russia",labelrank:"2","country-abbrev":"Rus.",subregi
38on:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"RUS","iso-a2":"RU","woe-id":"23424936",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[8557,7899],[8541,7882],[8539,7885],[8550,7902],[8557,7899]]],[[[8630,7932],[8612,7927],[8605,7920],[8597,7920],[8593,7914],[8575,7899],[8573,7902],[8591,7920],[8602,7928],[8615,7930],[8624,7938],[8630,7932]]],[[[8681,7965],[8670,7954],[8654,7942],[8648,7941],[8671,7963],[8681,7965]]],[[[8832,8138],[8853,8140],[8853,8132],[8847,8133],[8838,8116],[8819,8109],[8818,8118],[8833,8123],[8838,8133],[8832,8138]]],[[[8282,8301],[8272,8301],[8283,8309],[8295,8306],[8300,8313],[8315,8305],[8303,8289],[8296,8300],[8282,8301]]],[[[9134,8320],[9144,8317],[9143,8311],[9155,8298],[9146,8298],[9134,8320]]],[[[9094,8481],[9095,8467],[9082,8466],[9065,8454],[9076,8474],[9094,8481]]],[[[6288,8834],[6312,8829],[6310,8819],[6296,8824],[6288,8834]]],[[[5723,8943],[5727,8953],[5706,8934],[5679,8931],[5668,8941],[5670,8960],[5685,8971],[5699,8972],[5725,8959],[5730,8953],[5723,8943]]],[[[9236,8985],[9230,8975],[9220,8975],[9200,8982],[9187,8989],[9202,8999],[9236,8991],[9236,8985]]],[[[5996,9016],[6001,9009],[6015,9003],[6029,8993],[6029,8983],[6002,8983],[5998,8992],[5984,8995],[5973,9002],[5971,9015],[5986,9023],[5996,9016]]],[[[5801,9073],[5815,9059],[5809,9049],[5802,9060],[5787,9066],[5787,9070],[5801,9073]]],[[[6538,9122],[6513,9122],[6513,9126],[6533,9141],[6551,9137],[6556,9133],[6538,9122]]],[[[8056,9148],[8026,9151],[8046,9157],[8058,9154],[8056,9148]]],[[[6590,9157],[6591,9147],[6571,9147],[6562,9153],[6578,9167],[6590,9157]]],[[[6452,9166],[6441,9156],[6430,9163],[6433,9168],[6452,9166]]],[[[6343,9181],[6346,9185],[6358,9174],[6361,9164],[6350,9171],[6312,9162],[6305,9163],[6311,9176],[6308,9184],[6323,9189],[6345,9187],[6343,9181]]],[[[6491,9193],[6507,9188],[6505,9172],[6501,9172],[6502,9189],[6488,9191],[6471,9187],[6475,9193],[6491,9193]]],[[[6689,9226],[6709,9225],[6718,9220],[6733,9221],[6733,9216],[6694,9223],[6673,9223],[6679,9228],[6689,9226]]],[[[8245,9228],[8260,9218],[8256,9211],[8236,9227],[8245,9228]]],[[[8386,9213],[8375,9222],[8377,9231],[8396,9234],[8403,9228],[8401,9218],[8386,9213]]],[[[7586,9239],[7569,9223],[7551,9226],[7533,9233],[7530,9238],[7543,9239],[7546,9249],[7584,9246],[7586,9239]]],[[[6769,9248],[6760,9245],[6758,9252],[6780,9252],[6786,9249],[6774,9244],[6769,9248]]],[[[6665,9286],[6659,9295],[6648,9299],[6668,9307],[6671,9296],[6664,9297],[6665,9286]]],[[[8248,9299],[8236,9299],[8243,9328],[8250,9317],[8257,9314],[8248,9299]]],[[[7087,9357],[7101,9358],[7105,9351],[7096,9347],[7095,9354],[7085,9352],[7086,9346],[7054,9349],[7069,9355],[7079,9351],[7087,9357]]],[[[7061,9380],[7082,9374],[7055,9377],[7025,9372],[7049,9380],[7061,9380]]],[[[7089,9403],[7065,9395],[7072,9400],[7053,9397],[7090,9411],[7089,9403]]],[[[6873,9406],[6863,9397],[6859,9403],[6870,9407],[6878,9417],[6886,9417],[6891,9408],[6873,9406]]],[[[7375,9473],[7369,9475],[7383,9483],[7383,9471],[7415,9473],[7412,9464],[7381,9469],[7375,9473]]],[[[6494,9568],[6533,9561],[6532,9558],[6506,9557],[6491,9563],[6494,9568]]],[[[5722,9596],[5706,9603],[5717,9608],[5727,9607],[5727,9592],[5737,9591],[5750,9599],[5758,9596],[5762,9586],[5722,9590],[5722,9596]]],[[[6012,9604],[6013,9592],[5980,9584],[5963,9588],[5979,9595],[6012,9604]]],[[[5929,9615],[5930,9600],[5925,9596],[5888,9599],[5898,9605],[5897,9615],[5929,9615]]],[[[5819,9619],[5834,9611],[5823,9604],[5798,9604],[5785,9611],[5796,9612],[5804,9619],[5819,9619]]],[[[5993,9615],[5973,9615],[5958,9610],[5968,9608],[5968,9603],[5953,9604],[5955,9599],[5939,9601],[5933,9608],[5934,9618],[5925,9625],[5969,9624],[5993,9615]]],[[[5845,9620],[5832,9624],[5835,9633],[5846,9632],[5853,9622],[5864,9628],[5875,9621],[5881,9610],[5870,9607],[5868,9623],[5854,9617],[5850,9607],[5845,9620]]],[[[5917,9643],[5924,9637],[5892,9635],[5880,9641],[5913,9646],[5917,9643]]],[[[5985,9647],[5968,9643],[5951,9648],[5978,9654],[5985,9647]]],[[[5878,9651],[5897,9647],[5864,9641],[5838,9648],[5870,9654],[5878,9651]]],[[[6607,9657],[6616,9656],[6613,9651],[6578,9647],[6574,9651],[6581,9657],[6607,9657]]],[[[6053,9659],[6044,9655],[6025,9657],[6017,9661],[6033,9667],[6064,9668],[6053,9659]]],[[[5952,9662],[5958,9668],[5975,9663],[5972,9657],[5951,9650],[5932,9654],[5920,9662],[5901,9667],[5918,9668],[5925,9665],[5952,9662]]],[[[5883,9661],[5898,9663],[5946,9648],[5943,9643],[5928,9639],[5917,9647],[5891,9650],[5877,9659],[5850,9661],[5857,9669],[5883,9661]]],[[[6153,9675],[6169,9670
38],[6175,9655],[6162,9647],[6145,9642],[6107,9638],[6089,9650],[6107,9658],[6134,9659],[6141,9672],[6153,9675]]],[[[6937,9666],[6933,9664],[6898,9668],[6900,9675],[6941,9674],[6937,9666]]],[[[5953,9677],[5958,9675],[5947,9670],[5926,9672],[5928,9678],[5915,9673],[5904,9676],[5892,9673],[5881,9683],[5913,9678],[5907,9687],[5918,9688],[5953,9681],[5953,9677]]],[[[6007,9674],[5986,9674],[5987,9680],[5970,9683],[5986,9689],[6007,9674]]],[[[5950,9698],[5968,9694],[5973,9689],[5950,9687],[5939,9691],[5919,9692],[5927,9698],[5950,9698]]],[[[6079,9700],[6069,9700],[6080,9710],[6123,9709],[6117,9702],[6094,9703],[6089,9707],[6079,9700]]],[[[5968,9704],[5965,9701],[5953,9710],[5955,9718],[5992,9721],[5996,9713],[5965,9711],[5968,9704]]],[[[6934,9588],[6931,9595],[6950,9596],[6976,9591],[7008,9587],[7006,9581],[6975,9570],[6955,9570],[6967,9574],[6960,9579],[6930,9582],[6934,9588]]],[[[6046,9650],[6062,9653],[6076,9652],[6082,9645],[6076,9634],[6045,9619],[6024,9626],[6006,9621],[5992,9628],[5992,9636],[6e3,9647],[6020,9650],[6024,9647],[6046,9650]]],[[[9598,9052],[9567,9046],[9548,9050],[9538,9044],[9522,9044],[9514,9041],[9507,9053],[9516,9064],[9535,9075],[9556,9083],[9575,9083],[9595,9080],[9623,9064],[9609,9053],[9598,9052]]],[[[8379,9183],[8369,9180],[8367,9188],[8385,9189],[8396,9206],[8403,9211],[8430,9213],[8446,9208],[8470,9192],[8475,9174],[8464,9171],[8415,9178],[8393,9184],[8379,9183]]],[[[5648,9650],[5670,9649],[5683,9633],[5663,9637],[5655,9644],[5643,9639],[5632,9629],[5622,9630],[5617,9623],[5605,9622],[5605,9630],[5588,9627],[5576,9636],[5630,9643],[5636,9649],[5648,9650]]],[[[8091,7831],[8088,7839],[8108,7845],[8113,7862],[8110,7867],[8113,7886],[8107,7908],[8103,7914],[8118,7919],[8129,7932],[8134,7928],[8136,7913],[8145,7903],[8152,7909],[8159,7922],[8167,7924],[8168,7936],[8177,7941],[8184,7962],[8191,7966],[8198,8003],[8216,8020],[8210,8032],[8214,8041],[8205,8045],[8185,8040],[8178,8034],[8167,8035],[8154,8029],[8150,8020],[8106,8019],[8096,8033],[8100,8043],[8091,8055],[8096,8064],[8083,8063],[8073,8070],[8061,8084],[8049,8082],[8040,8090],[8020,8089],[8002,8100],[8004,8115],[7997,8119],[7996,8136],[7985,8148],[7985,8161],[7978,8168],[7971,8184],[7974,8190],[7950,8223],[7932,8232],[7911,8233],[7906,8239],[7888,8246],[7866,8243],[7850,8244],[7817,8235],[7807,8235],[7782,8214],[7783,8208],[7794,8209],[7803,8206],[7800,8198],[7804,8189],[7798,8181],[7784,8171],[7766,8135],[7756,8121],[7762,8120],[7761,8110],[7741,8105],[7715,8088],[7695,8094],[7684,8100],[7670,8107],[7656,8102],[7645,8103],[7627,8116],[7613,8117],[7581,8100],[7576,8091],[7547,8084],[7526,8082],[7508,8074],[7492,8075],[7462,8082],[7444,8081],[7426,8094],[7426,8104],[7405,8107],[7388,8119],[7376,8118],[7369,8122],[7349,8125],[7322,8118],[7314,8112],[7300,8112],[7269,8123],[7261,8128],[7256,8149],[7257,8158],[7233,8163],[7207,8174],[7193,8174],[7160,8189],[7155,8178],[7143,8173],[7135,8163],[7128,8145],[7134,8131],[7142,8127],[7137,8109],[7113,8096],[7103,8102],[7086,8102],[7071,8107],[7061,8102],[7034,8107],[7026,8116],[7023,8128],[6987,8131],[6985,8137],[6976,8133],[6966,8139],[6962,8133],[6950,8133],[6940,8124],[6928,8123],[6887,8103],[6889,8095],[6865,8085],[6844,8085],[6843,8079],[6834,8075],[6819,8072],[6808,8081],[6798,8091],[6798,8099],[6785,8086],[6768,8092],[6764,8091],[6759,8091],[6750,8110],[6745,8111],[6729,8117],[6727,8126],[6716,8140],[6705,8145],[6685,8142],[6676,8134],[6656,8137],[6647,8135],[6645,8144],[6635,8143],[6637,8151],[6624,8157],[6616,8152],[6617,8144],[6604,8139],[6590,8161],[6559,8210],[6541,8235],[6533,8242],[6501,8263],[6497,8270],[6505,8269],[6511,8283],[6475,8268],[6457,8256],[6440,8251],[6439,8243],[6425,8250],[6410,8241],[6405,8249],[6404,8250],[6407,8254],[6408,8256],[6411,8259],[6413,8262],[6399,8263],[6386,8270],[6381,8260],[6375,8278],[6370,8270],[6360,8271],[6348,8272],[6344,8268],[6344,8277],[6344,8294],[6339,8296],[6333,8317],[6322,8316],[6315,8310],[6300,8318],[6285,8318],[6278,8323],[6268,8313],[6258,8313],[6255,8303],[6205,8293],[6191,8289],[6175,8290],[6168,8278],[6159,8280],[6132,8276],[6106,8268],[6074,8264],[6069,8263],[6062,8262],[6050,8265],[6044,8249],[6053,8246],[6050,8235],[6057,8233],[6075,8229],[6076,8224],[6058,8224],[6046,8221],[6035,8211],[6045,8198],[6030,8190],[6019,8180],[6029,8176],[6025,8171],[6042,8169],[6045,8164],[6058,8162],[6064,8155],[6055,8137],[6036,8132],[6024,8133],[6015,8140],[6008,8127],[5999,8129],[5983,8133],[5977,8137],[5973,8140],[5965,8151],[5949,8150],[5947,8141],[5942,8141],[5937,8141],[5931,8149],[5912,8148],[5899,8135],[5887,8127],[5869,8141],[5857,8146],[5858,8130],[5849,8131],[5852,8140],[5836,8152],[5828,8154],[5819,8165],[5794,8164],[5789,8175],[5775,8172],[5773,8164],[5759,8164],[5761,8170],[5737,8170],[5731,8158],[5726,8156],[5714,8149],[5703,8149],[5703,8139],[5693,8135],[5681,8129],[5687,8107],[5674,8
38099],[5648,8124],[5641,8117],[5641,8108],[5629,8100],[5625,8081],[5633,8076],[5625,8065],[5617,8046],[5634,8041],[5635,8024],[5644,8023],[5663,8022],[5677,8009],[5691,7985],[5675,7981],[5683,7976],[5698,7969],[5682,7961],[5667,7947],[5650,7946],[5638,7919],[5624,7908],[5623,7900],[5639,7892],[5650,7875],[5646,7849],[5678,7807],[5678,7807],[5672,7798],[5663,7794],[5658,7785],[5640,7788],[5624,7807],[5615,7809],[5591,7821],[5594,7831],[5584,7831],[5569,7840],[5560,7839],[5542,7832],[5538,7839],[5520,7846],[5514,7852],[5497,7856],[5472,7856],[5445,7867],[5433,7869],[5425,7862],[5396,7889],[5372,7899],[5363,7909],[5352,7908],[5346,7917],[5326,7927],[5333,7936],[5341,7929],[5359,7931],[5355,7944],[5366,7958],[5383,7961],[5366,7970],[5359,7981],[5368,7980],[5379,7987],[5404,7994],[5404,8003],[5373,7997],[5377,8016],[5389,8019],[5391,8025],[5419,8024],[5426,8041],[5417,8059],[5424,8063],[5416,8069],[5430,8078],[5429,8091],[5420,8089],[5402,8101],[5395,8099],[5372,8109],[5367,8103],[5350,8123],[5326,8115],[5311,8123],[5299,8120],[5292,8125],[5292,8132],[5282,8152],[5255,8155],[5258,8160],[5253,8172],[5261,8177],[5252,8182],[5243,8198],[5226,8199],[5218,8194],[5201,8197],[5197,8188],[5183,8188],[5178,8197],[5176,8218],[5168,8225],[5173,8232],[5193,8227],[5212,8242],[5204,8252],[5183,8256],[5185,8266],[5170,8273],[5166,8289],[5154,8296],[5161,8306],[5155,8316],[5158,8329],[5145,8337],[5128,8339],[5116,8333],[5113,8344],[5096,8343],[5091,8349],[5077,8352],[5076,8368],[5066,8382],[5062,8381],[5068,8400],[5054,8410],[5059,8422],[5067,8424],[5062,8430],[5076,8424],[5071,8438],[5058,8440],[5066,8450],[5064,8473],[5066,8477],[5068,8480],[5071,8485],[5073,8486],[5075,8487],[5075,8487],[5075,8487],[5075,8487],[5075,8487],[5078,8489],[5076,8492],[5073,8494],[5075,8508],[5084,8502],[5088,8511],[5101,8509],[5107,8517],[5137,8512],[5127,8524],[5102,8526],[5093,8537],[5093,8550],[5079,8541],[5067,8541],[5096,8566],[5108,8572],[5125,8588],[5150,8615],[5168,8629],[5178,8648],[5168,8661],[5146,8674],[5131,8687],[5146,8698],[5148,8709],[5132,8718],[5130,8726],[5137,8729],[5133,8736],[5125,8737],[5119,8746],[5127,8756],[5123,8777],[5134,8778],[5129,8800],[5117,8819],[5105,8836],[5105,8843],[5117,8859],[5129,8869],[5132,8878],[5121,8885],[5111,8898],[5092,8904],[5086,8922],[5096,8937],[5086,8940],[5101,8947],[5109,8951],[5112,8960],[5129,8964],[5140,8978],[5157,8973],[5156,8987],[5174,8981],[5185,8981],[5183,8990],[5191,8986],[5192,8996],[5223,8980],[5216,8976],[5195,8979],[5206,8972],[5222,8970],[5216,8964],[5235,8968],[5228,8957],[5256,8967],[5269,8958],[5286,8956],[5288,8960],[5307,8954],[5358,8931],[5380,8912],[5385,8914],[5412,8898],[5426,8895],[5456,8879],[5459,8857],[5464,8856],[5466,8845],[5461,8834],[5439,8815],[5407,8801],[5383,8797],[5365,8799],[5334,8809],[5320,8809],[5290,8815],[5273,8825],[5262,8822],[5254,8828],[5234,8831],[5215,8843],[5214,8848],[5198,8850],[5207,8843],[5214,8831],[5225,8829],[5218,8821],[5241,8816],[5237,8811],[5264,8800],[5274,8790],[5276,8780],[5262,8764],[5277,8740],[5278,8728],[5272,8725],[5291,8712],[5309,8716],[5305,8711],[5317,8699],[5343,8694],[5346,8690],[5367,8697],[5367,8714],[5358,8719],[5341,8717],[5321,8742],[5308,8748],[5301,8745],[5294,8751],[5300,8755],[5316,8754],[5325,8742],[5338,8755],[5358,8747],[5368,8739],[5394,8734],[5413,8725],[5422,8732],[5436,8735],[5437,8743],[5417,8766],[5421,8776],[5434,8782],[5449,8794],[5465,8798],[5481,8809],[5502,8833],[5501,8814],[5522,8816],[5539,8804],[5549,8789],[5547,8810],[5558,8828],[5558,8840],[5552,8848],[5538,8853],[5538,8861],[5548,8884],[5551,8907],[5548,8911],[5524,8925],[5528,8928],[5543,8922],[5582,8922],[5601,8917],[5603,8911],[5618,8901],[5624,8886],[5583,8880],[5574,8871],[5572,8860],[5591,8852],[5598,8838],[5620,8835],[5653,8844],[5652,8854],[5660,8866],[5656,8872],[5669,8878],[5684,8880],[5686,8887],[5695,8887],[5733,8905],[5755,8920],[5770,8919],[5786,8924],[5783,8913],[5791,8911],[5801,8918],[5788,8926],[5821,8941],[5841,8945],[5849,8943],[5827,8941],[5839,8937],[5830,8928],[5838,8912],[5822,8913],[5816,8907],[5838,8905],[5847,8911],[5864,8904],[5866,8914],[5879,8923],[5896,8927],[5936,8923],[5955,8938],[5982,8945],[5987,8958],[5992,8945],[5982,8942],[5998,8933],[5987,8926],[5989,8915],[6005,8911],[6014,8918],[6008,8928],[6028,8931],[6041,8942],[6041,8952],[6032,8953],[6030,8963],[6019,8975],[6034,8980],[6037,8990],[6056,8987],[6092,8984],[6115,8980],[6136,8974],[6183,8949],[6211,8940],[6221,8939],[6231,8930],[6258,8911],[6259,8904],[6277,8927],[6283,8942],[6265,8944],[6251,8963],[6251,8971],[6230,8978],[6224,8964],[6215,8977],[6217,8997],[6228,8999],[6224,9009],[6229,9020],[6230,9036],[6225,9042],[6212,9039],[6209,9046],[6205,9034],[6215,9019],[6204,9028],[6204,9042],[6219,9067],[6249,9080],[6264,9096],[6269,9107],[6279,9145],[6293,9160],[6297,9154],[6355,9156
38],[6393,9145],[6394,9120],[6378,9098],[6374,9084],[6363,9080],[6371,9067],[6388,9057],[6392,9045],[6388,9031],[6391,9020],[6381,9012],[6388,8989],[6383,8979],[6387,8960],[6382,8956],[6385,8942],[6416,8920],[6400,8905],[6402,8881],[6386,8875],[6380,8860],[6370,8857],[6375,8852],[6354,8838],[6356,8827],[6341,8826],[6329,8820],[6304,8835],[6279,8834],[6283,8825],[6320,8811],[6343,8813],[6368,8806],[6379,8811],[6383,8825],[6412,8835],[6423,8844],[6424,8859],[6448,8878],[6451,8891],[6448,8903],[6437,8914],[6440,8930],[6462,8939],[6497,8945],[6504,8944],[6505,8933],[6525,8921],[6520,8908],[6526,8906],[6519,8882],[6546,8871],[6574,8874],[6548,8877],[6530,8882],[6531,8901],[6550,8908],[6536,8926],[6535,8939],[6513,8946],[6508,8952],[6487,8958],[6471,8959],[6460,8951],[6434,8953],[6426,8950],[6420,8955],[6424,8967],[6413,8984],[6417,8990],[6419,9007],[6436,9025],[6436,9033],[6426,9042],[6414,9065],[6398,9073],[6412,9086],[6413,9096],[6454,9111],[6459,9117],[6457,9142],[6449,9150],[6456,9154],[6466,9151],[6477,9136],[6473,9131],[6478,9119],[6465,9103],[6464,9091],[6472,9080],[6463,9073],[6486,9064],[6538,9059],[6545,9049],[6558,9045],[6559,9057],[6552,9057],[6553,9065],[6535,9066],[6495,9081],[6486,9100],[6496,9105],[6514,9108],[6532,9096],[6548,9099],[6551,9105],[6543,9112],[6529,9109],[6548,9127],[6586,9127],[6604,9117],[6628,9110],[6623,9107],[6655,9089],[6688,9094],[6701,9088],[6693,9081],[6693,9073],[6671,9066],[6668,9052],[6674,9040],[6665,9028],[6676,9030],[6677,9040],[6688,9051],[6696,9045],[6692,9028],[6696,9021],[6699,9040],[6698,9014],[6715,9023],[6706,9046],[6696,9064],[6710,9084],[6703,9097],[6686,9100],[6668,9111],[6668,9121],[6639,9125],[6624,9136],[6622,9146],[6628,9157],[6613,9173],[6612,9179],[6622,9187],[6621,9194],[6628,9194],[6661,9199],[6706,9198],[6745,9205],[6763,9202],[6769,9208],[6803,9213],[6812,9211],[6803,9195],[6815,9196],[6828,9208],[6817,9210],[6804,9229],[6789,9236],[6788,9243],[6817,9239],[6804,9243],[6795,9251],[6773,9255],[6762,9262],[6790,9259],[6808,9254],[6808,9267],[6789,9268],[6801,9274],[6831,9279],[6807,9282],[6810,9286],[6837,9283],[6848,9287],[6857,9297],[6872,9303],[6890,9303],[6897,9311],[6925,9316],[6936,9314],[6946,9318],[7003,9328],[6995,9335],[6983,9330],[6987,9341],[7016,9340],[7007,9344],[7025,9344],[7033,9340],[7044,9352],[7053,9344],[7071,9345],[7075,9336],[7062,9330],[7089,9337],[7088,9329],[7099,9330],[7109,9342],[7110,9336],[7129,9336],[7140,9343],[7131,9344],[7158,9353],[7155,9349],[7185,9339],[7181,9324],[7188,9330],[7189,9342],[7179,9353],[7165,9358],[7159,9368],[7178,9365],[7218,9369],[7224,9366],[7257,9361],[7219,9371],[7229,9383],[7218,9388],[7220,9396],[7228,9397],[7228,9404],[7256,9423],[7278,9432],[7288,9439],[7298,9437],[7311,9444],[7320,9440],[7332,9442],[7334,9438],[7350,9432],[7365,9433],[7368,9424],[7377,9422],[7394,9427],[7409,9412],[7392,9424],[7380,9417],[7363,9421],[7345,9410],[7320,9406],[7336,9403],[7363,9405],[7367,9398],[7378,9402],[7406,9398],[7412,9392],[7382,9367],[7423,9369],[7426,9381],[7436,9379],[7467,9383],[7489,9379],[7497,9383],[7520,9382],[7533,9378],[7531,9374],[7561,9374],[7564,9364],[7553,9364],[7566,9358],[7564,9350],[7571,9345],[7563,9339],[7586,9349],[7592,9329],[7601,9328],[7596,9312],[7562,9327],[7570,9321],[7569,9312],[7584,9315],[7594,9307],[7593,9293],[7572,9276],[7550,9269],[7538,9257],[7530,9259],[7515,9250],[7485,9238],[7484,9230],[7457,9219],[7442,9205],[7430,9197],[7403,9196],[7402,9191],[7388,9179],[7376,9179],[7359,9156],[7343,9149],[7354,9148],[7369,9158],[7388,9152],[7402,9153],[7376,9160],[7380,9172],[7420,9171],[7440,9179],[7464,9183],[7463,9192],[7474,9187],[7483,9188],[7499,9197],[7513,9200],[7506,9206],[7495,9201],[7481,9201],[7473,9205],[7488,9219],[7504,9218],[7517,9213],[7521,9220],[7529,9207],[7557,9201],[7574,9207],[7570,9218],[7578,9212],[7588,9195],[7579,9187],[7592,9175],[7600,9181],[7590,9190],[7608,9195],[7625,9195],[7646,9202],[7681,9199],[7715,9194],[7736,9195],[7752,9189],[7737,9189],[7733,9184],[7736,9173],[7768,9164],[7782,9171],[7788,9160],[7812,9157],[7822,9160],[7868,9155],[7853,9160],[7858,9163],[7874,9157],[7886,9173],[7877,9183],[7877,9193],[7887,9202],[7898,9197],[7916,9213],[7920,9201],[7935,9198],[7934,9193],[7948,9191],[7944,9186],[7965,9193],[7969,9184],[7985,9186],[7989,9192],[8018,9189],[8016,9181],[8028,9181],[8024,9176],[8043,9173],[8059,9163],[8057,9158],[8044,9160],[8025,9156],[8021,9149],[8055,9145],[8042,9143],[8046,9138],[8035,9132],[8050,9132],[8062,9119],[8044,9109],[8013,9129],[8009,9123],[8023,9118],[8044,9091],[8055,9099],[8055,9092],[8041,9088],[8050,9084],[8058,9070],[8069,9059],[8094,9044],[8099,9049],[8102,9039],[8112,9037],[8121,9045],[8134,9065],[8138,9079],[8151,9099],[8169,9082],[8183,9075],[8208,9071],[8224,9080],[8252,9085],[8273,9080],[8296,9070],[8298,9064],[8318,9066],[8304,9074],[8283,9080],[8288,9082],[8312,9081],[8334,9086],[8346,9073],[8354,9078],[8371,9077],[8362,9087],[8358,9102],[8366,9115],[8357,9118],[8346,9114],[8345,9122],[8357,9133],[8387,9133],[8403,9138],[8388,9155],[8411,9152],[8416,9148],[8479,9142],[8529,9136],[8550,9131],[8570,9124],[8528,9125],[8516,9130],[8500,9115],[8519,9120],[8574,9123],[8561,9109],[8546,9098],[8546,9109],[8539,9117],[8536,9110],[8541,9102],[8524,9097],[8516,9089],[8528,9087],[8551,9096],[8582,9124],[8
38618,9123],[8653,9114],[8667,9101],[8656,9093],[8646,9100],[8635,9089],[8663,9087],[8661,9076],[8683,9079],[8683,9066],[8695,9072],[8712,9067],[8727,9054],[8713,9050],[8730,9044],[8753,9042],[8772,9043],[8789,9049],[8839,9056],[8888,9055],[8916,9049],[8937,9042],[8950,9033],[8962,9012],[8950,8992],[8968,8979],[8986,8979],[8990,8949],[8993,8962],[8991,8968],[8999,8974],[8998,8958],[9002,8963],[9e3,8976],[9015,8979],[9009,8971],[9027,8980],[9052,8983],[9070,8981],[9078,8986],[9090,8978],[9101,8975],[9126,8976],[9138,8973],[9163,8971],[9189,8986],[9202,8974],[9203,8958],[9233,8950],[9242,8934],[9264,8936],[9280,8945],[9280,8961],[9271,8977],[9256,8981],[9271,8985],[9271,9004],[9312,8997],[9336,8996],[9347,8989],[9355,8995],[9372,8991],[9416,8990],[9439,8986],[9452,8980],[9470,8977],[9495,8968],[9500,8971],[9526,8959],[9547,8945],[9582,8933],[9586,8922],[9615,8912],[9644,8896],[9651,8889],[9664,8887],[9668,8876],[9671,8885],[9687,8877],[9690,8861],[9695,8866],[9702,8859],[9698,8846],[9704,8832],[9696,8827],[9712,8821],[9711,8808],[9724,8818],[9730,8810],[9734,8816],[9717,8822],[9726,8827],[9724,8842],[9707,8848],[9746,8847],[9764,8838],[9773,8841],[9760,8846],[9792,8841],[9802,8828],[9826,8812],[9838,8807],[9838,8801],[9851,8801],[9850,8795],[9838,8795],[9827,8788],[9826,8776],[9808,8780],[9812,8769],[9805,8771],[9778,8772],[9771,8779],[9781,8749],[9767,8743],[9782,8734],[9765,8731],[9777,8718],[9766,8716],[9759,8723],[9759,8714],[9743,8712],[9746,8720],[9736,8714],[9703,8737],[9683,8735],[9670,8746],[9673,8752],[9668,8766],[9637,8776],[9624,8768],[9598,8768],[9591,8771],[9595,8779],[9588,8782],[9578,8797],[9585,8794],[9592,8802],[9589,8812],[9584,8803],[9571,8804],[9555,8800],[9556,8784],[9569,8777],[9558,8753],[9541,8747],[9533,8738],[9516,8733],[9495,8730],[9478,8734],[9473,8743],[9457,8749],[9468,8739],[9431,8743],[9452,8726],[9459,8733],[9474,8735],[9473,8719],[9489,8709],[9497,8716],[9508,8696],[9511,8681],[9507,8671],[9527,8662],[9526,8651],[9536,8639],[9530,8630],[9517,8623],[9491,8631],[9469,8633],[9469,8643],[9458,8638],[9467,8632],[9451,8629],[9438,8621],[9409,8612],[9386,8598],[9372,8598],[9365,8590],[9358,8595],[9356,8586],[9331,8570],[9313,8555],[9300,8552],[9288,8542],[9277,8539],[9268,8529],[9265,8515],[9252,8519],[9245,8534],[9231,8542],[9197,8542],[9167,8531],[9144,8510],[9139,8509],[9147,8538],[9137,8537],[9127,8529],[9110,8521],[9112,8516],[9101,8508],[9091,8522],[9082,8515],[9066,8519],[9068,8513],[9058,8509],[9052,8495],[9057,8486],[9050,8485],[9055,8477],[9030,8458],[9018,8434],[9019,8427],[9033,8420],[9039,8429],[9057,8418],[9042,8404],[9041,8378],[9054,8377],[9058,8353],[9049,8346],[9037,8355],[9045,8364],[9030,8361],[9035,8357],[9022,8351],[9011,8330],[9014,8308],[9022,8299],[9010,8285],[8993,8288],[8981,8286],[8961,8271],[8956,8263],[8954,8245],[8961,8228],[8948,8234],[8919,8220],[8914,8203],[8917,8200],[8909,8183],[8893,8166],[8862,8141],[8863,8153],[8857,8157],[8854,8193],[8845,8221],[8839,8259],[8833,8281],[8828,8316],[8831,8343],[8843,8378],[8861,8390],[8871,8406],[8865,8420],[8870,8424],[8885,8422],[8892,8431],[8902,8430],[8930,8448],[8951,8468],[8955,8479],[8968,8488],[8974,8497],[8983,8500],[9004,8520],[9015,8526],[9016,8535],[9040,8545],[9044,8550],[9070,8558],[9062,8561],[9078,8577],[9070,8580],[9078,8592],[9081,8618],[9093,8627],[9113,8624],[9094,8637],[9055,8630],[9058,8621],[9050,8617],[9053,8609],[9047,8597],[9057,8593],[9049,8584],[9042,8593],[9030,8592],[9018,8578],[8964,8542],[8964,8553],[8972,8563],[8954,8558],[8959,8566],[8952,8572],[8967,8586],[8969,8604],[8956,8593],[8945,8592],[8940,8601],[8908,8598],[8903,8594],[8884,8596],[8861,8585],[8861,8571],[8844,8561],[8836,8549],[8810,8533],[8799,8521],[8797,8512],[8789,8511],[8785,8495],[8811,8495],[8818,8481],[8797,8483],[8784,8475],[8764,8484],[8750,8470],[8733,8476],[8724,8468],[8705,8467],[8697,8478],[8685,8479],[8687,8494],[8678,8500],[8653,8506],[8630,8496],[8627,8489],[8634,8484],[8619,8485],[8617,8490],[8603,8490],[8592,8483],[8584,8488],[8556,8491],[8556,8481],[8542,8484],[8546,8491],[8517,8489],[8485,8492],[8473,8487],[8463,8489],[8437,8479],[8417,8457],[8397,8447],[8390,8438],[8385,8424],[8370,8417],[8364,8408],[8347,8399],[8331,8387],[8309,8361],[8275,8332],[8262,8325],[8249,8312],[8229,8300],[8231,8293],[8245,8287],[8278,8288],[8273,8256],[8285,8256],[8290,8266],[8284,8270],[8309,8283],[8291,8266],[8305,8262],[8292,8245],[8309,8247],[8328,8264],[8328,8257],[8319,8247],[8326,8246],[8334,8263],[8333,8277],[8352,8272],[8364,8276],[8377,8266],[8378,8260],[8412,8230],[8403,8223],[8408,8207],[8403,8202],[8412,8193],[8412,8182],[8397,8169],[8391,8158],[8391,8148],[8383,8128],[8390,8109],[8382,8101],[8387,8090],[8375,8048],[8352,8027],[8340,8005],[8327,7993],[8314,7965],[8302,7949],[8277,7927],[8256,7901],[8249,7898],[8227,7866],[8199,7851],[8191,7844],[8169,7837],[8156,7845],[8143,7844],[8144,7859],[8133,7851],[8127,7854],[8117,7845],[8111,7834],[8095,783
386],[8101,7832],[8096,7823],[8095,7826],[8091,7831]]],[[[4866,8316],[4853,8303],[4873,8302],[4874,8315],[4899,8306],[4913,8307],[4920,8300],[4916,8282],[4918,8278],[4916,8278],[4830,8282],[4849,8292],[4836,8293],[4832,8289],[4832,8289],[4838,8303],[4848,8303],[4864,8316],[4866,8316],[4866,8316]]],[[[4826,8282],[4826,8283],[4826,8283],[4829,8286],[4829,8286],[4829,8286],[4826,8282]]],[[[4829,8286],[4832,8289],[4832,8289],[4832,8288],[4829,8286],[4829,8286],[4829,8286]]],[[[8467,8230],[8468,8212],[8464,8197],[8463,8179],[8468,8175],[8474,8155],[8482,8119],[8488,8107],[8496,8078],[8503,8067],[8488,8079],[8466,8083],[8445,8031],[8445,8022],[8459,8003],[8464,7983],[8474,7985],[8477,7970],[8472,7963],[8470,7976],[8443,7980],[8432,7953],[8427,7958],[8424,7979],[8431,7995],[8428,8016],[8435,8029],[8433,8043],[8425,8060],[8428,8063],[8434,8094],[8434,8110],[8430,8127],[8437,8148],[8431,8164],[8420,8174],[8419,8199],[8424,8208],[8427,8225],[8422,8239],[8436,8245],[8438,8239],[8453,8252],[8450,8262],[8439,8275],[8451,8281],[8459,8270],[8455,8257],[8467,8230]]],[[[5765,9082],[5762,9098],[5768,9110],[5775,9114],[5791,9110],[5791,9120],[5799,9126],[5802,9141],[5791,9145],[5797,9153],[5809,9157],[5818,9154],[5813,9170],[5831,9178],[5844,9177],[5866,9185],[5876,9180],[5910,9174],[5908,9165],[5886,9160],[5904,9159],[5901,9149],[5889,9149],[5889,9141],[5879,9122],[5884,9116],[5874,9102],[5882,9100],[5887,9084],[5900,9065],[5928,9044],[5945,9036],[5930,9024],[5910,9036],[5916,9028],[5898,9028],[5880,9037],[5872,9027],[5853,9039],[5845,9036],[5817,9044],[5830,9048],[5823,9055],[5845,9057],[5839,9064],[5826,9062],[5816,9076],[5808,9073],[5797,9076],[5775,9076],[5765,9082]]],[[[8587,9303],[8618,9302],[8624,9289],[8639,9292],[8668,9290],[8671,9287],[8690,9284],[8683,9270],[8641,9262],[8611,9265],[8592,9275],[8579,9277],[8549,9291],[8558,9311],[8570,9307],[8570,9298],[8581,9297],[8587,9303]]],[[[8344,9342],[8364,9335],[8364,9330],[8386,9322],[8383,9315],[8399,9314],[8396,9321],[8401,9340],[8417,9337],[8410,9347],[8433,9337],[8445,9328],[8470,9325],[8486,9326],[8529,9307],[8509,9302],[8514,9294],[8498,9279],[8488,9278],[8455,9285],[8444,9299],[8445,9305],[8459,9312],[8459,9319],[8439,9320],[8432,9308],[8435,9297],[8448,9282],[8479,9273],[8472,9271],[8440,9266],[8428,9273],[8435,9277],[8403,9272],[8372,9266],[8366,9274],[8355,9273],[8357,9267],[8351,9258],[8341,9256],[8308,9267],[8305,9275],[8286,9285],[8278,9298],[8293,9297],[8290,9312],[8284,9320],[8299,9323],[8295,9334],[8312,9338],[8327,9348],[8338,9350],[8344,9342]]],[[[6184,9378],[6219,9395],[6238,9399],[6264,9396],[6278,9385],[6273,9372],[6278,9371],[6260,9358],[6225,9343],[6197,9334],[6168,9328],[6124,9314],[6104,9312],[6082,9303],[6066,9299],[6058,9290],[6055,9296],[6039,9286],[6036,9278],[6015,9275],[6033,9275],[6031,9269],[6020,9268],[6023,9262],[6008,9260],[6011,9255],[5994,9256],[5990,9244],[5961,9252],[5975,9243],[5977,9232],[5963,9229],[5959,9217],[5942,9222],[5953,9213],[5948,9202],[5937,9193],[5927,9194],[5934,9187],[5919,9175],[5880,9180],[5868,9186],[5845,9180],[5839,9182],[5854,9196],[5870,9201],[5853,9201],[5840,9196],[5827,9204],[5846,9213],[5862,9217],[5858,9222],[5872,9229],[5891,9224],[5886,9229],[5870,9234],[5886,9238],[5874,9240],[5879,9244],[5905,9246],[5882,9251],[5883,9256],[5908,9260],[5911,9265],[5895,9264],[5894,9267],[5917,9273],[5909,9279],[5893,9277],[5891,9286],[5908,9288],[5910,9281],[5923,9290],[5919,9294],[5928,9300],[5948,9296],[5943,9307],[5961,9312],[5956,9317],[5974,9320],[5977,9330],[5991,9336],[6007,9332],[6024,9336],[6023,9343],[6039,9344],[6029,9338],[6047,9342],[6041,9346],[6046,9353],[6063,9355],[6085,9348],[6097,9353],[6102,9349],[6124,9358],[6134,9356],[6157,9366],[6165,9365],[6180,9372],[6191,9369],[6184,9378]]],[[[7222,9469],[7194,9458],[7178,9457],[7171,9463],[7185,9478],[7201,9499],[7200,9504],[7224,9528],[7224,9534],[7238,9542],[7246,9550],[7250,9543],[7259,9541],[7260,9554],[7279,9548],[7275,9534],[7263,9514],[7277,9528],[7305,9535],[7312,9526],[7322,9525],[7325,9516],[7345,9513],[7352,9498],[7350,9493],[7333,9482],[7316,9482],[7302,9477],[7228,9473],[7222,9469]]],[[[7025,9557],[7015,9554],[7008,9561],[6990,9556],[6980,9551],[6951,9553],[6980,9554],[6982,9562],[6995,9562],[7021,9577],[7036,9580],[7026,9583],[7025,9590],[7038,9592],[7045,9599],[7052,9593],[7060,9599],[7089,9599],[7122,9604],[7136,9596],[7119,9579],[7125,9576],[7131,9585],[7145,9584],[7150,9596],[7169,9595],[7193,9580],[7195,9571],[7202,9569],[7184,9563],[7185,9549],[7180,9543],[7165,9544],[7187,9532],[7191,9523],[7175,9514],[7127,9513],[7112,9516],[7098,9525],[7086,9527],[7066,9525
38],[7058,9532],[7046,9528],[7027,9541],[7025,9557]]],[[[5659,9609],[5645,9608],[5635,9603],[5622,9613],[5635,9617],[5639,9613],[5667,9615],[5650,9619],[5667,9620],[5664,9624],[5644,9622],[5662,9629],[5674,9631],[5678,9626],[5695,9627],[5709,9635],[5709,9642],[5697,9639],[5691,9645],[5727,9656],[5731,9662],[5736,9672],[5743,9667],[5749,9649],[5734,9647],[5728,9642],[5759,9645],[5770,9638],[5755,9634],[5748,9628],[5712,9625],[5715,9619],[5705,9617],[5686,9618],[5681,9613],[5694,9605],[5676,9605],[5672,9598],[5665,9601],[5652,9597],[5659,9609]]],[[[6988,9660],[7042,9670],[7048,9679],[7068,9681],[7091,9666],[7103,9654],[7126,9649],[7132,9640],[7110,9636],[7105,9628],[7110,9616],[7117,9614],[7110,9608],[7046,9601],[7031,9601],[7023,9595],[7020,9591],[7007,9592],[6963,9606],[6960,9612],[6995,9610],[6992,9613],[6943,9612],[6941,9616],[6960,9619],[6955,9624],[6979,9627],[6983,9638],[6994,9646],[6972,9645],[6977,9652],[6989,9655],[6988,9660]]]]}},{type:"Feature",id:"VA",properties:{"hc-group":"admin0","hc-middle-x":.61,"hc-middle-y":.44,"hc-key":"va","hc-a2":"VA",name:"Vatican",labelrank:"6","country-abbrev":"Vat.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"VAT","iso-a2":"VA","woe-id":"23424986",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4615,7809],[4615,7809],[4615,7809],[4615,7809],[4615,7809]]]}},{type:"Feature",id:"SM",properties:{"hc-group":"admin0","hc-middle-x":.48,"hc-middle-y":.42,"hc-key":"sm","hc-a2":"SM",name:"San Marino",labelrank:"6","country-abbrev":"S.M.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"SMR","iso-a2":"SM","woe-id":"23424947",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4615,7880],[4613,7881],[4614,7883],[4616,7883],[4615,7880]]]}},{type:"Feature",id:"AM",properties:{"hc-group":"admin0","hc-middle-x":.1,"hc-middle-y":.12,"hc-key":"am","hc-a2":"AM",name:"Armenia",labelrank:"6","country-abbrev":"Arm.",subregion:"Western Asia","region-wb":"Europe & Central Asia","iso-a3":"ARM","iso-a2":"AM","woe-id":"23424743",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5587,7764],[5587,7765],[5590,7765],[5588,7764],[5587,7764]]],[[[5618,7704],[5614,7706],[5607,7704],[5596,7727],[5578,7728],[5574,7735],[5566,7733],[5557,7742],[5534,7747],[5531,7759],[5536,7766],[5527,7781],[5549,7786],[5560,7784],[5573,7788],[5575,7781],[5591,7773],[5584,7766],[5589,7758],[5602,7751],[5599,7743],[5592,7744],[5609,7729],[5618,7727],[5614,7721],[5618,7704]],[[5574,7779],[5574,7780],[5572,7780],[5574,7778],[5574,7779]],[[5580,7777],[5579,7778],[5578,7777],[5579,7777],[5580,7777]]]]}},{type:"Feature",id:"AZ",properties:{"hc-group":"admin0","hc-middle-x":.7,"hc-middle-y":.15,"hc-key":"az","hc-a2":"AZ",name:"Azerbaijan",labelrank:"5","country-abbrev":"Aze.",subregion:"Western Asia","region-wb":"Europe & Central Asia","iso-a3":"AZE","iso-a2":"AZ","woe-id":"23424741",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5574,7779],[5574,7778],[5572,7780],[5574,7780],[5574,7779]]],[[[5580,7777],[5579,7777],[5578,7777],[5579,7778],[5580,7777]]],[[[5663,7794],[5667,7795],[5672,7798],[5678,7807],[5692,7792],[5697,7780],[5708,7765],[5722,7763],[5731,7755],[5717,7756],[5704,7746],[5703,7733],[5697,7709],[5690,7715],[5687,7689],[5679,7688],[5674,7695],[5662,7702],[5670,7710],[5665,7719],[5671,7721],[5657,7732],[5628,7714],[5618,7704],[5614,7721],[5618,7727],[5609,7729],[5592,7744],[5599,7743],[5602,7751],[5589,7758],[5584,7766],[5591,7773],[5575,7781],[5573,7788],[5587,7793],[5602,7783],[5609,7785],[5617,7779],[5623,7787],[5608,7801],[5615,7809],[5624,7807],[5640,7788],[5658,7785],[5663,7794]],[[5587,7764],[5588,7764],[5590,7765],[5587,7765],[5587,7764]]],[[[5567,7730],[5566,7733],[5574,7735],[5578,7728],[5596,7727],[5607,7704],[5586,7708],[5578,7716],[5567,7730]]]]}},{type:"Feature",id:"LS",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.48,"hc-key":"ls","hc-a2":"LS",name:"Lesotho",labelrank:"6","country-abbrev":"Les.",subregion:"Southern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"LSO","iso-a2":"LS","woe-id":"23424880",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5084,5644],[5091,5646],[5115,5621],[5107,5611],[5106,5603],[5079,5592],[5075,5579],[5065,5581],[5052,5596],[5044,5612],[5055,5620],[5065,5635],[5084,5644]]]}},{type:"Feature",id:"TJ",properties:{"hc-group":"admin0","hc-middle-x":.48,"hc-middle-y":.5,"hc-key":"tj","hc-a2":"TJ",name:"Tajikistan",labelrank:"4","country-abbrev":"Tjk.",subregi
38on:"Central Asia","region-wb":"Europe & Central Asia","iso-a3":"TJK","iso-a2":"TJ","woe-id":"23424961",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[6328,7776],[6328,7775],[6326,7777],[6327,7777],[6328,7776]]],[[[6327,7738],[6330,7737],[6326,7735],[6323,7738],[6327,7738]]],[[[6416,7724],[6415,7716],[6422,7708],[6421,7695],[6428,7692],[6437,7697],[6450,7692],[6450,7677],[6455,7666],[6453,7661],[6461,7654],[6453,7648],[6446,7654],[6416,7648],[6420,7655],[6406,7656],[6390,7647],[6387,7641],[6376,7639],[6363,7630],[6357,7630],[6351,7643],[6356,7671],[6346,7672],[6348,7684],[6332,7689],[6314,7672],[6317,7664],[6314,7659],[6295,7660],[6293,7648],[6287,7644],[6279,7651],[6270,7650],[6251,7638],[6244,7647],[6245,7658],[6261,7680],[6252,7692],[6253,7708],[6241,7708],[6231,7716],[6234,7725],[6243,7730],[6266,7727],[6280,7751],[6288,7750],[6286,7762],[6293,7771],[6299,7765],[6317,7773],[6322,7778],[6331,7767],[6320,7759],[6326,7750],[6337,7751],[6325,7744],[6308,7750],[6289,7742],[6289,7726],[6299,7728],[6315,7726],[6323,7729],[6330,7723],[6352,7729],[6360,7724],[6360,7718],[6370,7721],[6401,7720],[6416,7724]]]]}},{type:"Feature",id:"ML",properties:{"hc-group":"admin0","hc-middle-x":.59,"hc-middle-y":.38,"hc-key":"ml","hc-a2":"ML",name:"Mali",labelrank:"3","country-abbrev":"Mali",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"MLI","iso-a2":"ML","woe-id":"23424891",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4282,7132],[4283,7120],[4297,7114],[4304,7105],[4312,7107],[4319,7100],[4343,7092],[4344,7079],[4340,7072],[4346,7067],[4373,7072],[4373,7007],[4371,6990],[4362,6969],[4351,6958],[4287,6956],[4277,6947],[4255,6945],[4241,6949],[4226,6949],[4217,6942],[4198,6932],[4190,6932],[4189,6923],[4176,6926],[4165,6919],[4163,6907],[4152,6909],[4152,6896],[4146,6892],[4131,6902],[4120,6891],[4124,6882],[4116,6879],[4119,6874],[4114,6862],[4093,6853],[4095,6841],[4086,6830],[4086,6811],[4077,6811],[4071,6804],[4064,6807],[4064,6820],[4059,6815],[4052,6818],[4051,6809],[4043,6804],[4022,6812],[4013,6803],[4004,6815],[4003,6828],[3994,6832],[4002,6839],[3988,6848],[3989,6855],[3983,6869],[3974,6868],[3962,6859],[3946,6864],[3933,6855],[3927,6864],[3919,6858],[3909,6864],[3913,6870],[3913,6886],[3905,6899],[3900,6897],[3892,6909],[3896,6915],[3888,6929],[3887,6940],[3900,6944],[3903,6963],[3912,6965],[3927,6950],[3932,6960],[3959,6958],[3973,6962],[4086,6962],[4091,6987],[4083,6993],[4073,7083],[4054,7252],[4106,7252],[4106,7252],[4282,7132]]]}},{type:"Feature",id:"DZ",properties:{"hc-group":"admin0","hc-middle-x":.63,"hc-middle-y":.49,"hc-key":"dz","hc-a2":"DZ",name:"Algeria",labelrank:"3","country-abbrev":"Alg.",subregion:"Northern Africa","region-wb":"Middle East & North Africa","iso-a3":"DZA","iso-a2":"DZ","woe-id":"23424740",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4282,7132],[4106,7252],[4106,7252],[4106,7252],[4086,7265],[3993,7324],[3993,7336],[3993,7368],[4024,7391],[4038,7394],[4079,7398],[4085,7395],[4093,7406],[4119,7426],[4141,7433],[4143,7441],[4136,7453],[4140,7463],[4165,7468],[4162,7476],[4174,7479],[4211,7477],[4217,7492],[4206,7499],[4199,7515],[4197,7530],[4199,7544],[4193,7560],[4196,7565],[4183,7576],[4196,7578],[4211,7586],[4213,7592],[4238,7604],[4245,7600],[4252,7608],[4279,7623],[4326,7627],[4335,7634],[4350,7633],[4361,7637],[4389,7637],[4402,7629],[4431,7637],[4435,7643],[4452,7637],[4466,7643],[4478,7640],[4481,7635],[4501,7638],[4496,7628],[4491,7601],[4493,7595],[4491,7562],[4479,7554],[4469,7543],[4468,7537],[4476,7514],[4486,7510],[4493,7493],[4514,7477],[4528,7417],[4522,7414],[4533,7398],[4537,7382],[4536,7355],[4541,7342],[4534,7324],[4540,7310],[4538,7299],[4527,7294],[4525,7287],[4542,7264],[4544,7248],[4554,7236],[4564,7238],[4589,7229],[4601,7206],[4468,7125],[4420,7082],[4373,7072],[4346,7067],[4340,7072],[4344,7079],[4343,7092],[4319,7100],[4312,7107],[4304,7105],[4297,7114],[4283,7120],[4282,7132]]]}},{type:"Feature",id:"TW",properties:{"hc-group":"admin0","hc-middle-x":.44,"hc-middle-y":.46,"hc-key":"tw","hc-a2":"TW",name:"Taiwan",labelrank:"3","country-abbrev":"Taiwan",subregi
38on:"Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"TWN","iso-a2":"TW","woe-id":"23424971",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7785,7201],[7787,7214],[7802,7240],[7812,7254],[7828,7261],[7840,7252],[7835,7246],[7835,7236],[7830,7227],[7823,7195],[7809,7175],[7806,7156],[7796,7172],[7791,7175],[7783,7195],[7785,7201]]]}},{type:"Feature",id:"UZ",properties:{"hc-group":"admin0","hc-middle-x":.46,"hc-middle-y":.53,"hc-key":"uz","hc-a2":"UZ",name:"Uzbekistan",labelrank:"3","country-abbrev":"Uzb.",subregion:"Central Asia","region-wb":"Europe & Central Asia","iso-a3":"UZB","iso-a2":"UZ","woe-id":"23424980",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[6361,7739],[6358,7741],[6361,7742],[6362,7742],[6361,7739]]],[[[6344,7744],[6345,7739],[6340,7742],[6338,7748],[6344,7744]]],[[[5998,7925],[5991,7911],[6004,7897],[6001,7889],[6012,7892],[6016,7899],[6016,7914],[6045,7898],[6049,7890],[6074,7865],[6109,7871],[6145,7868],[6161,7873],[6177,7859],[6185,7844],[6194,7848],[6192,7813],[6206,7812],[6212,7785],[6215,7783],[6248,7785],[6254,7780],[6250,7771],[6268,7764],[6267,7775],[6281,7785],[6281,7790],[6298,7801],[6307,7803],[6323,7816],[6327,7814],[6337,7821],[6346,7820],[6314,7798],[6332,7786],[6344,7781],[6351,7783],[6361,7793],[6364,7784],[6373,7783],[6373,7778],[6401,7770],[6385,7760],[6378,7764],[6358,7748],[6346,7754],[6337,7751],[6326,7750],[6320,7759],[6331,7767],[6322,7778],[6317,7773],[6299,7765],[6293,7771],[6286,7762],[6288,7750],[6280,7751],[6266,7727],[6243,7730],[6234,7725],[6231,7716],[6241,7708],[6253,7708],[6252,7692],[6261,7680],[6245,7658],[6244,7647],[6228,7647],[6221,7653],[6207,7653],[6208,7675],[6188,7683],[6180,7682],[6142,7707],[6136,7707],[6117,7722],[6087,7743],[6084,7758],[6079,7760],[6070,7782],[6058,7788],[6052,7783],[6040,7786],[6027,7786],[6018,7791],[6016,7803],[6022,7806],[6013,7811],[6016,7820],[5999,7823],[5989,7832],[5982,7832],[5974,7840],[5970,7836],[5960,7835],[5970,7823],[5956,7830],[5951,7819],[5945,7818],[5938,7825],[5933,7823],[5928,7810],[5925,7808],[5927,7786],[5896,7789],[5896,7920],[5971,7940],[5973,7940],[5963,7917],[5965,7899],[5977,7910],[5978,7937],[5998,7925]],[[6328,7776],[6327,7777],[6326,7777],[6328,7775],[6328,7776]]]]}},{type:"Feature",id:"TZ",properties:{"hc-group":"admin0","hc-middle-x":.65,"hc-middle-y":.61,"hc-key":"tz","hc-a2":"TZ",name:"United Republic of Tanzania",labelrank:"3","country-abbrev":"Tanz.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"TZA","iso-a2":"TZ","woe-id":"23424973",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5278,6165],[5277,6167],[5276,6170],[5276,6170],[5276,6170],[5273,6172],[5271,6174],[5271,6175],[5270,6175],[5269,6189],[5263,6213],[5258,6220],[5255,6223],[5255,6223],[5254,6224],[5252,6226],[5252,6226],[5252,6226],[5248,6225],[5247,6220],[5232,6223],[5217,6229],[5202,6237],[5190,6239],[5177,6250],[5166,6253],[5149,6285],[5148,6301],[5135,6316],[5124,6322],[5130,6332],[5124,6346],[5126,6355],[5119,6362],[5121,6375],[5132,6380],[5145,6402],[5155,6409],[5156,6418],[5144,6422],[5148,6435],[5156,6437],[5156,6459],[5145,6474],[5156,6476],[5184,6476],[5184,6474],[5185,6476],[5186,6476],[5186,6472],[5180,6437],[5185,6441],[5185,6426],[5197,6439],[5201,6434],[5226,6432],[5244,6440],[5237,6447],[5239,6462],[5251,6474],[5357,6416],[5355,6402],[5402,6368],[5401,6356],[5390,6329],[5392,6319],[5410,6304],[5413,6297],[5405,6283],[5410,6270],[5405,6262],[5407,6250],[5415,6236],[5415,6229],[5420,6216],[5417,6213],[5439,6202],[5439,6198],[5426,6188],[5405,6178],[5393,6177],[5381,6170],[5375,6174],[5363,6173],[5361,6166],[5350,6161],[5332,6165],[5325,6160],[5314,6161],[5303,6170],[5296,6164],[5278,6165]]]}},{type:"Feature",id:"AR",properties:{"hc-group":"admin0","hc-middle-x":.45,"hc-middle-y":.27,"hc-key":"ar","hc-a2":"AR",name:"Argentina",labelrank:"2","country-abbrev":"Arg.",subregi
38on:"South America","region-wb":"Latin America & Caribbean","iso-a3":"ARG","iso-a2":"AR","woe-id":"23424747",continent:"South America"},geometry:{type:"MultiPolygon",coordinates:[[[[2227,4714],[2229,4711],[2227,4710],[2227,4712],[2227,4714]]],[[[2227,4714],[2227,4790],[2228,4801],[2238,4789],[2231,4782],[2233,4774],[2243,4773],[2247,4762],[2267,4744],[2282,4736],[2291,4727],[2309,4720],[2330,4720],[2341,4712],[2354,4717],[2369,4717],[2344,4710],[2325,4709],[2289,4704],[2275,4710],[2227,4714]]],[[[2233,4812],[2232,4814],[2232,4814],[2232,4814],[2233,4814],[2233,4812]]],[[[2535,5521],[2536,5503],[2536,5501],[2533,5501],[2529,5501],[2524,5481],[2529,5464],[2524,5461],[2526,5453],[2536,5445],[2555,5437],[2566,5421],[2560,5413],[2563,5398],[2579,5390],[2580,5375],[2568,5356],[2555,5341],[2552,5331],[2536,5322],[2509,5313],[2456,5303],[2437,5302],[2422,5304],[2419,5274],[2414,5274],[2408,5257],[2416,5250],[2422,5252],[2413,5237],[2390,5227],[2370,5227],[2342,5239],[2338,5243],[2329,5232],[2335,5213],[2332,5198],[2339,5191],[2349,5189],[2346,5183],[2360,5182],[2355,5189],[2369,5195],[2376,5186],[2375,5171],[2361,5166],[2351,5180],[2336,5175],[2334,5170],[2351,5163],[2341,5157],[2325,5138],[2328,5113],[2314,5101],[2317,5089],[2299,5091],[2279,5082],[2266,5068],[2257,5048],[2263,5033],[2282,5017],[2306,5014],[2312,5009],[2313,4998],[2306,4978],[2295,4966],[2272,4954],[2259,4941],[2254,4912],[2251,4905],[2236,4899],[2227,4913],[2228,4905],[2236,4898],[2220,4891],[2214,4882],[2212,4866],[2218,4840],[2232,4814],[2232,4814],[2232,4814],[2189,4826],[2131,4826],[2129,4831],[2115,4844],[2121,4856],[2119,4879],[2105,4880],[2094,4875],[2089,4893],[2083,4898],[2085,4913],[2082,4922],[2085,4930],[2093,4933],[2099,4942],[2111,4950],[2111,4963],[2120,4967],[2118,4977],[2112,4983],[2123,5002],[2132,5011],[2130,5024],[2137,5028],[2135,5045],[2131,5048],[2140,5055],[2134,5063],[2149,5079],[2140,5091],[2126,5094],[2127,5099],[2148,5098],[2154,5107],[2152,5111],[2133,5112],[2132,5123],[2138,5129],[2136,5141],[2130,5146],[2136,5155],[2124,5162],[2127,5193],[2136,5195],[2130,5211],[2133,5235],[2130,5243],[2138,5256],[2133,5260],[2139,5271],[2138,5282],[2142,5281],[2145,5304],[2161,5313],[2157,5334],[2152,5346],[2152,5360],[2155,5367],[2152,5375],[2156,5387],[2166,5390],[2176,5402],[2175,5420],[2171,5430],[2176,5431],[2180,5451],[2186,5461],[2192,5462],[2190,5481],[2193,5491],[2187,5493],[2182,5520],[2178,5527],[2170,5550],[2182,5589],[2190,5590],[2189,5609],[2186,5621],[2193,5629],[2197,5651],[2211,5666],[2222,5692],[2236,5694],[2229,5710],[2234,5721],[2228,5745],[2235,5755],[2229,5765],[2239,5777],[2265,5788],[2275,5820],[2270,5826],[2283,5844],[2294,5847],[2298,5857],[2312,5848],[2334,5848],[2347,5845],[2354,5825],[2365,5851],[2399,5851],[2404,5844],[2414,5836],[2424,5819],[2438,5808],[2449,5802],[2452,5795],[2472,5789],[2481,5789],[2501,5774],[2517,5765],[2534,5760],[2548,5753],[2554,5744],[2544,5727],[2535,5719],[2533,5703],[2521,5691],[2523,5686],[2540,5687],[2565,5680],[2583,5681],[2589,5677],[2596,5686],[2607,5682],[2616,5696],[2625,5697],[2635,5707],[2639,5721],[2641,5740],[2655,5743],[2661,5739],[2668,5720],[2667,5700],[2663,5690],[2632,5676],[2628,5669],[2620,5667],[2606,5657],[2587,5631],[2560,5601],[2552,5594],[2545,5585],[2546,5571],[2538,5553],[2535,5521]]]]}},{type:"Feature",id:"SA",properties:{"hc-group":"admin0","hc-middle-x":.43,"hc-middle-y":.49,"hc-key":"sa","hc-a2":"SA",name:"Saudi Arabia",labelrank:"2","country-abbrev":"Saud.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"SAU","iso-a2":"SA","woe-id":"23424938",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5756,7240],[5763,7238],[5758,7230],[5767,7229],[5767,7223],[5796,7188],[5871,7178],[5873,7181],[5886,7159],[5867,7098],[5779,7068],[5695,7056],[5666,7042],[5649,7021],[5645,7010],[5631,7006],[5623,7016],[5612,7014],[5586,7017],[5578,7020],[5536,7018],[5526,7023],[5519,7017],[5520,7e3],[5508,6988],[5501,7004],[5484,6997],[5478,7002],[5495,7012],[5494,7021],[5476,7035],[5468,7051],[5462,7059],[5454,7083],[5441,7097],[5415,7112],[5399,7138],[5401,7141],[5395,7157],[5399,7176],[5391,7189],[5380,7214],[5357,7230],[5353,7229],[5342,7247],[5344,7258],[5337,7271],[5335,7263],[5323,7272],[5329,7276],[5315,7303],[5295,7329],[5285,7348],[5268,7349],[5277,7389],[5309,7384],[5322,7394],[5330,7406],[5351,7410],[5356,7420],[5366,7426],[5336,7458],[5395,7475],[5401,7479],[5438,7472],[5487,7445],[5510,7426],[5564,7385],[5613,7380],[5618,7381],[5645,7378],[5652,7363],[5674,7364],[5679,7350],[5687,7341],[5687,7334],[5698,7332],[5700,7321],[5706,7326],[5708,7318],[5724,7305],[5725,7275],[5734,7266],[5736,7256],[5744,7244],[5749,7239],[5756,7240]]]}},{type:"Feature",id:"NL",properties:{"hc-group":"admin0","hc-middle-x":.99,"hc-middle-y":0,"hc-key":"nl","hc-a2":"NL",name:"Netherlands",labelrank:"5","country-abbrev":"Neth.",subregi
38on:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"NLD","iso-a2":"NL","woe-id":"-90",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[2393,7038],[2390,7038],[2390,7039],[2393,7038]]],[[[4347,8160],[4362,8159],[4372,8160],[4364,8153],[4348,8155],[4347,8160]]],[[[4374,8160],[4361,8161],[4350,8167],[4361,8169],[4357,8174],[4368,8173],[4366,8184],[4381,8198],[4392,8233],[4401,8239],[4415,8243],[4427,8240],[4438,8246],[4439,8241],[4450,8241],[4460,8234],[4455,8210],[4447,8210],[4445,8203],[4453,8202],[4455,8193],[4445,8186],[4449,8183],[4436,8178],[4423,8177],[4431,8160],[4429,8151],[4422,8146],[4425,8136],[4416,8136],[4420,8151],[4409,8156],[4402,8155],[4396,8164],[4380,8164],[4374,8160]],[[4417,8201],[4408,8195],[4399,8200],[4415,8209],[4417,8217],[4407,8218],[4406,8227],[4397,8221],[4404,8212],[4396,8209],[4394,8199],[4409,8194],[4417,8201]]]]}},{type:"Feature",id:"AE",properties:{"hc-group":"admin0","hc-middle-x":.59,"hc-middle-y":.64,"hc-key":"ae","hc-a2":"AE",name:"United Arab Emirates",labelrank:"4","country-abbrev":"U.A.E.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"ARE","iso-a2":"AE","woe-id":"23424738",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5905,7272],[5908,7268],[5908,7251],[5898,7244],[5891,7248],[5890,7228],[5897,7223],[5881,7220],[5883,7214],[5873,7190],[5873,7181],[5871,7178],[5796,7188],[5767,7223],[5767,7229],[5772,7230],[5774,7221],[5789,7221],[5796,7226],[5826,7222],[5842,7225],[5852,7233],[5859,7246],[5870,7253],[5883,7269],[5893,7275],[5899,7285],[5901,7273],[5905,7272]],[[5905,7259],[5907,7261],[5904,7262],[5904,7259],[5905,7259]]]}},{type:"Feature",id:"CH",properties:{"hc-group":"admin0","hc-middle-x":.88,"hc-middle-y":.54,"hc-key":"ch","hc-a2":"CH",name:"Switzerland",labelrank:"4","country-abbrev":"Switz.",subregion:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"CHE","iso-a2":"CH","woe-id":"23424957",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4472,8015],[4497,8015],[4501,8023],[4510,8018],[4519,8018],[4519,8018],[4519,8018],[4519,8018],[4528,8012],[4529,8012],[4532,8009],[4528,8003],[4527,7996],[4530,7996],[4546,7988],[4553,7993],[4556,7988],[4555,7976],[4545,7979],[4542,7970],[4530,7967],[4526,7975],[4510,7950],[4508,7959],[4496,7966],[4497,7973],[4486,7966],[4479,7953],[4470,7956],[4455,7954],[4450,7961],[4448,7972],[4443,7976],[4436,7971],[4431,7967],[4429,7978],[4456,8006],[4455,8012],[4465,8009],[4471,8015],[4472,8015]]]}},{type:"Feature",id:"PT",properties:{"hc-group":"admin0","hc-middle-x":.46,"hc-middle-y":.52,"hc-key":"pt","hc-a2":"PT",name:"Portugal",labelrank:"2","country-abbrev":"Port.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"PRT","iso-a2":"PT","woe-id":"23424925",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4030,7647],[4019,7641],[3994,7644],[3983,7641],[3989,7657],[3989,7686],[3984,7691],[3977,7688],[3976,7697],[3969,7698],[3973,7718],[3981,7732],[3993,7777],[3987,7803],[3990,7812],[4006,7818],[4007,7806],[4021,7809],[4035,7808],[4038,7812],[4055,7810],[4054,7804],[4065,7798],[4044,7778],[4048,7755],[4041,7749],[4046,7743],[4041,7732],[4026,7732],[4033,7724],[4037,7712],[4043,7709],[4034,7699],[4031,7689],[4041,7675],[4034,7673],[4026,7659],[4030,7647]]]}},{type:"Feature",id:"MY",properties:{"hc-group":"admin0","hc-middle-x":.89,"hc-middle-y":.3,"hc-key":"my","hc-a2":"MY",name:"Malaysia",labelrank:"3","country-abbrev":"Malay.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"MYS","iso-a2":"MY","woe-id":"23424901",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[7714,6627],[7714,6630],[7720,6627],[7715,6627],[7714,6627]]],[[[7476,6566],[7485,6555],[7502,6556],[7501,6553],[7517,6551],[7523,6566],[7526,6587],[7546,6590],[7575,6598],[7588,6615],[7603,6630],[7605,6640],[7612,6636],[7622,6623],[7630,6635],[7627,6644],[7634,6648],[7635,6649],[7635,6646],[7635,6646],[7635,6640],[7636,6639],[7645,6632],[7638,6649],[7645,6649],[7652,6658],[7645,6661],[7651,6670],[7659,6668],[7667,6685],[7678,6695],[7693,6721],[7700,6721],[7695,6713],[7702,6700],[7715,6692],[7711,6687],[7716,66
3878],[7723,6683],[7726,6672],[7735,6675],[7750,6663],[7758,6665],[7760,6657],[7742,6650],[7733,6653],[7726,6648],[7736,6638],[7745,6636],[7719,6630],[7713,6635],[7710,6627],[7699,6633],[7675,6631],[7659,6634],[7650,6619],[7652,6606],[7648,6594],[7636,6588],[7640,6579],[7628,6571],[7629,6561],[7619,6547],[7602,6547],[7594,6541],[7576,6550],[7560,6551],[7551,6548],[7549,6539],[7541,6535],[7522,6537],[7503,6530],[7495,6534],[7482,6546],[7473,6560],[7476,6566]]],[[[7196,6694],[7197,6701],[7204,6696],[7224,6688],[7221,6674],[7225,6670],[7238,6678],[7245,6673],[7253,6688],[7263,6685],[7266,6678],[7284,6663],[7294,6646],[7295,6632],[7291,6615],[7295,6608],[7294,6592],[7303,6582],[7316,6558],[7319,6547],[7301,6547],[7296,6542],[7292,6550],[7266,6566],[7257,6570],[7245,6581],[7230,6589],[7233,6595],[7223,6611],[7214,6618],[7215,6625],[7209,6632],[7209,6647],[7203,6654],[7203,6681],[7187,6686],[7182,6694],[7196,6694]]]]}},{type:"Feature",id:"PA",properties:{"hc-group":"admin0","hc-middle-x":.22,"hc-middle-y":.5,"hc-key":"pa","hc-a2":"PA",name:"Panama",labelrank:"4","country-abbrev":"Pan.",subregion:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"PAN","iso-a2":"PA","woe-id":"23424924",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1817,6786],[1823,6781],[1827,6770],[1842,6770],[1847,6764],[1868,6766],[1871,6769],[1896,6779],[1906,6788],[1920,6783],[1935,6782],[1951,6776],[1970,6759],[1969,6753],[1976,6738],[1963,6726],[1959,6731],[1955,6717],[1943,6731],[1939,6741],[1949,6754],[1918,6747],[1918,6752],[1934,6759],[1920,6769],[1901,6765],[1899,6757],[1879,6746],[1879,6741],[1893,6725],[1880,6717],[1868,6717],[1864,6727],[1846,6720],[1837,6725],[1848,6731],[1843,6742],[1814,6749],[1807,6741],[1803,6749],[1808,6753],[1807,6762],[1813,6767],[1806,6771],[1809,6787],[1817,6786]]]}},{type:"Feature",id:"TR",properties:{"hc-group":"admin0","hc-middle-x":.34,"hc-middle-y":.48,"hc-key":"tr","hc-a2":"TR",name:"Turkey",labelrank:"2","country-abbrev":"Tur.",subregi
38on:"Western Asia","region-wb":"Europe & Central Asia","iso-a3":"TUR","iso-a2":"TR","woe-id":"23424969",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5567,7730],[5560,7735],[5556,7723],[5545,7722],[5552,7703],[5552,7687],[5557,7685],[5550,7673],[5561,7665],[5560,7655],[5566,7645],[5553,7640],[5550,7649],[5528,7649],[5517,7653],[5506,7652],[5495,7644],[5491,7651],[5485,7646],[5469,7643],[5447,7644],[5419,7632],[5403,7629],[5387,7631],[5373,7637],[5351,7628],[5338,7628],[5327,7634],[5324,7623],[5328,7614],[5319,7614],[5319,7606],[5312,7601],[5305,7604],[5302,7617],[5314,7627],[5309,7638],[5289,7625],[5272,7634],[5266,7632],[5240,7611],[5224,7611],[5214,7608],[5201,7613],[5191,7625],[5171,7634],[5152,7637],[5143,7615],[5139,7617],[5122,7611],[5106,7618],[5100,7632],[5081,7635],[5063,7629],[5061,7634],[5074,7634],[5082,7642],[5051,7639],[5061,7650],[5049,7652],[5050,7674],[5031,7678],[5021,7683],[5028,7687],[5029,7696],[5033,7685],[5041,7689],[5035,7699],[5044,7706],[5032,7718],[5040,7728],[5016,7725],[5019,7743],[5035,7757],[5052,7759],[5066,7754],[5059,7765],[5074,7759],[5070,7757],[5106,7758],[5095,7761],[5102,7765],[5129,7769],[5113,7769],[5103,7777],[5109,7786],[5128,7783],[5139,7785],[5156,7780],[5168,7781],[5173,7789],[5194,7799],[5198,7803],[5229,7813],[5270,7811],[5277,7816],[5285,7804],[5294,7800],[5307,7803],[5312,7794],[5321,7786],[5326,7791],[5355,7779],[5377,7775],[5409,7782],[5430,7775],[5467,7791],[5471,7796],[5498,7793],[5509,7798],[5521,7784],[5527,7781],[5536,7766],[5531,7759],[5534,7747],[5557,7742],[5566,7733],[5567,7730]]],[[[5023,7803],[5030,7810],[5051,7816],[5059,7809],[5073,7812],[5075,7800],[5084,7793],[5105,7786],[5101,7778],[5090,7777],[5080,7781],[5071,7777],[5059,7777],[5048,7765],[5034,7759],[5018,7745],[5007,7750],[5020,7754],[5038,7764],[5016,7764],[5015,7768],[5024,7776],[5023,7786],[5032,7791],[5031,7799],[5023,7803]]]]}},{type:"Feature",id:"IR",properties:{"hc-group":"admin0","hc-middle-x":.58,"hc-middle-y":.51,"hc-key":"ir","hc-a2":"IR",name:"Iran",labelrank:"2","country-abbrev":"Iran",subregion:"Southern Asia","region-wb":"Middle East & North Africa","iso-a3":"IRN","iso-a2":"IR","woe-id":"23424851",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5566,7645],[5560,7655],[5561,7665],[5550,7673],[5557,7685],[5552,7687],[5552,7703],[5545,7722],[5556,7723],[5560,7735],[5567,7730],[5578,7716],[5586,7708],[5607,7704],[5614,7706],[5618,7704],[5628,7714],[5657,7732],[5671,7721],[5665,7719],[5670,7710],[5662,7702],[5674,7695],[5679,7688],[5687,7689],[5689,7672],[5695,7661],[5704,7657],[5725,7654],[5734,7641],[5752,7631],[5777,7626],[5823,7636],[5838,7634],[5836,7652],[5844,7651],[5861,7658],[5863,7666],[5880,7677],[5906,7677],[5910,7683],[5928,7681],[5933,7683],[5937,7673],[5961,7667],[5967,7662],[5979,7664],[5996,7657],[5996,7651],[6015,7641],[6025,7628],[6046,7628],[6052,7594],[6047,7583],[6046,7567],[6035,7557],[6041,7551],[6034,7550],[6029,7543],[6030,7528],[6041,7525],[6031,7512],[6039,7483],[6039,7458],[6064,7455],[6067,7437],[6040,7406],[6052,7391],[6061,7374],[6070,7364],[6095,7355],[6097,7322],[6108,7323],[6112,7318],[6107,7303],[6096,7304],[6082,7299],[6081,7294],[6069,7291],[6064,7276],[6061,7258],[6056,7254],[6033,7261],[6031,7266],[6012,7262],[5999,7266],[5986,7265],[5980,7270],[5961,7269],[5955,7274],[5936,7276],[5931,7286],[5927,7310],[5921,7319],[5907,7321],[5895,7316],[5905,7314],[5899,7308],[5876,7300],[5890,7308],[5885,7313],[5862,7299],[5847,7306],[5827,7304],[5821,7315],[5796,7327],[5792,7335],[5780,7341],[5767,7342],[5761,7346],[5751,7370],[5739,7383],[5740,7392],[5725,7408],[5722,7416],[5709,7411],[5687,7421],[5689,7413],[5677,7409],[5673,7417],[5662,7425],[5662,7442],[5652,7442],[5652,7456],[5656,7467],[5642,7490],[5636,7490],[5611,7506],[5599,7528],[5595,7526],[5584,7539],[5590,7549],[5585,7555],[5600,7576],[5608,7581],[5601,7590],[5611,7601],[5594,7601],[5584,7606],[5580,7620],[5573,7625],[5566,7645]]]}},{type:"Feature",id:"HT",properties:{"hc-group":"admin0","hc-middle-x":.21,"hc-middle-y":.92,"hc-key":"ht","hc-a2":"HT",name:"Haiti",labelrank:"5","country-abbrev":"Haiti",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"HTI","iso-a2":"HT","woe-id":"23424839",continent:"North America"},geometry:{type:"MultiPolygon",coordinates:[[[[2131,7052],[2130,7053],[2130,7053],[2130,7053],[2131,7052]]],[[[2128,7056],[2129,7052],[2131,7052],[2137,7047],[2135,7039],[2126,7045],[2102,7042],[2080,7045],[2073,7038],[2055,7050],[2065,7057],[2106,7050],[2110,7054],[2090,7065],[2103,7062],[2108,7081],[2087,7087],[2094,7096],[2108,7096],[2119,7091],[2135,7089],[2139,7074],[2137,7061],[2128,7056]]]]}},{type:"Feature",id:"DO",properties:{"hc-group":"admin0","hc-middle-x":.48,"hc-middle-y":.4,"hc-key":"do","hc-a2":"DO",name:"Dominican Republic",labelrank:"5","country-abbrev":"Dom. Rep.",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"DOM","iso-a2":"DO","woe-id":"23424800",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[2130,7053],[2129,7055],[2128,7056],[2137,7061],[2139,7074],[2135,7089],[2138,7095],[2153,7093],[2157,7096],[2178,7088],[2190,7087],[2199,7071],[2224,7067],[2236,7057],[2233,7048],[2224,7042],[2219,7050],[2191,7052],[2182,7044],[2171,7044],[2166,7050],[2156,7042],[2145,7026],[2135,7039],[2137,7047],[2131,7052],[2131,7052],[2130,7053],[2130,7053]]]}},{type:"Feature",id:"GW",properties:{"hc-group":"admin0","hc-middle-x":.55,"hc-middle-y":.5,"hc-key":"gw","hc-a2":"GW",name:"Guinea Bissau",labelrank:"6","country-abbrev":"GnB.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"GNB","iso-a2":"GW","woe-id":"23424929",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3806,6827],[3800,6828],[3794,6838],[3781,6830],[3771,6830],[3769,6835],[3776,6841],[3781,6859],[3776,6851],[3756,6868],[3770,6871],[3787,6871],[3801,6878],[3844,6878],[3844,6866],[3837,6862],[3844,6858],[3844,6849],[3828,6848],[3816,6843],[3806,6827]]]}},{type:"Feature",id:"HR",properties:{"hc-group":"admin0","hc-middle-x":.33,"hc-middle-y":.59,"hc-key":"hr","hc-a2":"HR",name:"Croatia",labelrank:"6","country-abbrev":"Cro.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"HRV","iso-a2":"HR","woe-id":"23424843",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4793,7827],[4772,7841],[4771,7837],[4755,7845],[4738,7846],[4756,7849],[4768,7844],[4774,7842],[4791,7832],[4791,7830],[4793,7827]]],[[[4648,7938],[4671,7937],[4680,7939],[4694,7936],[4700,7938],[4697,7946],[4709,7950],[4709,7964],[4734,7975],[4745,7970],[4759,7955],[4774,7948],[4790,7947],[4805,7954],[4808,7933],[4819,7926],[4809,7925],[4808,7915],[4798,7923],[4785,7926],[4773,7922],[4746,7930],[4733,7927],[4729,7920],[4719,7928],[4713,7926],[4713,7914],[4723,7903],[4726,7891],[4751,7866],[4756,7865],[4766,7846],[4745,7863],[4738,7858],[4725,7862],[4739,7862],[4735,7866],[4718,7866],[4717,7872],[4703,7881],[4701,7876],[4685,7890],[4697,7896],[4686,7910],[4687,7919],[4680,7927],[4674,7919],[4672,7907],[4669,7925],[4677,7930],[4670,7933],[4659,7913],[4649,7924],[4648,7938]]]]}},{type:"Feature",id:"TH",properties:{"hc-group":"admin0","hc-middle-x":.32,"hc-middle-y":.86,"hc-key":"th","hc-a2":"TH",name:"Thailand",labelrank:"3","country-abbrev":"Thai.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"THA","iso-a2":"TH","woe-id":"23424960",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[7253,6688],[7245,6673],[7238,6678],[7225,6670],[7221,6674],[7224,6688],[7204,6696],[7197,6701],[7196,6694],[7186,6705],[7185,6714],[7175,6719],[7171,6728],[7160,6741],[7147,6749],[7147,6736],[7143,6733],[7139,6755],[7141,6770],[7150,6791],[7156,6809],[7156,6819],[7169,6831],[7182,6852],[7175,6875],[7169,6880],[7167,6909],[7161,6919],[7150,6929],[7141,6941],[7138,6951],[7149,6957],[7154,6985],[7147,6999],[7146,7008],[7137,7016],[7124,7032],[7126,7036],[7115,7053],[7126,7055],[7123,7065],[7127,7080],[7134,7092],[7149,7088],[7163,7093],[7166,7102],[7172,7100],[7191,7112],[7195,7108],[7201,7110],[7209,7103],[7204,7091],[7206,7084],[7229,7085],[7231,7069],[7229,7058],[7223,7050],[7227,7039],[7219,7025],[7226,7021],[7254,7044],[7271,7033],[7292,7051],[7310,7047],[7319,7033],[7334,7018],[7332,6993],[7341,6981],[7352,6978],[7359,6966],[7353,6950],[7357,6947],[7352,6930],[7345,6928],[7341,6924],[7333,6930],[7310,6928],[7301,6930],[7283,6926],[7266,6904],[7261,6904],[7266,6887],[7266,6877],[7274,6870],[7272,6862],[7273,6859],[7273,6859],[7273,6859],[7260,6857],[7259,6866],[7246,6878],[7235,6876],[7217,6879],[7221,6902],[7209,6903],[7194,6900],[7196,6889],[7191,6876],[7193,6864],[7188,6857],[7178,6832],[7178,6824],[7172,6817],[7168,6802],[7171,6776],[7183,6778],[7183,6787],[7194,6786],[7188,6778],[7191,6758],[7200,6749],[7205,6724],[7201,6733],[7198,6725],[7207,6714],[7210,6717],[7222,6706],[7239,6705],[7253,6688]]],[[[7273,6859],[7273,6859],[7278,6847],[7273,6859],[7273,6859],[7273,6859]]]]}},{type:"Feature",id:"MX",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.49,"hc-key":"mx","hc-a2":"MX",name:"Mexico",labelrank:"2","country-abbrev":"Mex.",subregi
38on:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"MEX","iso-a2":"MX","woe-id":"23424900",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1265,7398],[1267,7394],[1273,7393],[1284,7382],[1295,7356],[1313,7336],[1318,7333],[1320,7317],[1322,7307],[1328,7301],[1356,7286],[1369,7285],[1380,7279],[1388,7282],[1387,7275],[1379,7258],[1373,7237],[1367,7182],[1373,7148],[1388,7118],[1408,7094],[1413,7077],[1427,7060],[1445,7059],[1457,7053],[1467,7042],[1493,7050],[1514,7051],[1519,7056],[1541,7058],[1538,7054],[1551,7051],[1561,7060],[1556,7064],[1577,7079],[1577,7089],[1584,7096],[1584,7114],[1588,7130],[1605,7137],[1624,7140],[1653,7147],[1680,7142],[1683,7148],[1695,7135],[1685,7117],[1694,7115],[1687,7106],[1680,7113],[1674,7104],[1673,7094],[1665,7086],[1674,7083],[1662,7043],[1655,7052],[1656,7064],[1648,7052],[1643,7052],[1631,7034],[1623,7032],[1570,7032],[1569,7015],[1556,7015],[1577,7e3],[1587,6988],[1584,6979],[1548,6979],[1533,6956],[1537,6949],[1532,6934],[1515,6953],[1484,6980],[1468,6986],[1482,6977],[1460,6983],[1455,6990],[1438,6976],[1415,6968],[1405,6967],[1384,6975],[1369,6977],[1338,6993],[1311,6999],[1304,7005],[1273,7015],[1255,7027],[1251,7034],[1239,7035],[1201,7047],[1187,7064],[1156,7079],[1141,7099],[1136,7110],[1150,7117],[1143,7125],[1150,7130],[1151,7144],[1138,7158],[1133,7179],[1115,7197],[1097,7220],[1079,7235],[1068,7241],[1060,7255],[1048,7265],[1035,7269],[1026,7277],[1032,7294],[1023,7307],[1016,7306],[1010,7316],[994,7324],[991,7340],[973,7348],[966,7358],[959,7361],[945,7379],[941,7370],[933,7374],[942,7385],[930,7407],[925,7424],[917,7436],[920,7447],[905,7452],[893,7462],[887,7458],[871,7467],[865,7448],[870,7440],[872,7416],[880,7403],[886,7402],[903,7386],[904,7395],[916,7387],[918,7378],[913,7373],[918,7362],[926,7360],[928,7342],[940,7333],[950,7314],[963,7305],[970,7286],[978,7286],[973,7277],[985,7253],[992,7253],[988,7238],[993,7228],[999,7225],[1e3,7233],[1014,7223],[1019,7210],[1025,7207],[1023,7193],[1012,7186],[1007,7191],[1e3,7207],[979,7224],[946,7248],[942,7246],[948,7260],[945,7283],[919,7302],[916,7308],[902,7306],[897,7313],[877,7322],[877,7328],[862,7337],[864,7341],[877,7339],[882,7342],[889,7334],[887,7345],[890,7361],[863,7390],[842,7402],[838,7421],[831,7426],[831,7436],[823,7441],[824,7447],[813,7460],[815,7470],[808,7474],[800,7492],[870,7498],[867,7491],[980,7453],[1062,7453],[1062,7468],[1112,7467],[1146,7437],[1156,7432],[1166,7416],[1170,7399],[1184,7389],[1211,7378],[1225,7402],[1236,7407],[1242,7404],[1262,7403],[1265,7398]]]}},{type:"Feature",id:"KW",properties:{"hc-group":"admin0","hc-middle-x":.66,"hc-middle-y":.49,"hc-key":"kw","hc-a2":"KW",name:"Kuwait",labelrank:"6","country-abbrev":"Kwt.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"KWT","iso-a2":"KW","woe-id":"23424870",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5674,7364],[5652,7363],[5645,7378],[5618,7381],[5628,7392],[5635,7409],[5643,7413],[5660,7410],[5662,7403],[5667,7410],[5672,7401],[5653,7390],[5664,7389],[5666,7379],[5674,7364]]]}},{type:"Feature",id:"DE",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.34,"hc-key":"de","hc-a2":"DE",name:"Germany",labelrank:"2","country-abbrev":"Ger.",subregi
38on:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"DEU","iso-a2":"DE","woe-id":"23424829",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4519,8018],[4519,8018],[4519,8018],[4519,8018]]],[[[4503,8300],[4508,8301],[4526,8297],[4530,8299],[4544,8291],[4543,8286],[4565,8277],[4576,8286],[4574,8272],[4565,8266],[4569,8263],[4586,8264],[4593,8270],[4604,8271],[4616,8283],[4634,8278],[4642,8288],[4653,8278],[4639,8274],[4645,8268],[4651,8270],[4667,8262],[4666,8260],[4666,8259],[4657,8258],[4668,8252],[4672,8235],[4664,8218],[4679,8207],[4676,8201],[4683,8187],[4678,8177],[4682,8165],[4690,8154],[4684,8140],[4675,8146],[4671,8141],[4649,8134],[4644,8130],[4616,8122],[4609,8108],[4617,8103],[4613,8097],[4625,8081],[4631,8080],[4655,8060],[4652,8050],[4646,8053],[4643,8045],[4623,8035],[4631,8025],[4632,8012],[4624,8018],[4607,8020],[4606,8016],[4590,8015],[4580,8008],[4571,8008],[4555,8015],[4552,8005],[4534,8014],[4515,8024],[4519,8018],[4510,8018],[4501,8023],[4497,8015],[4472,8015],[4471,8034],[4478,8054],[4490,8067],[4445,8075],[4435,8086],[4440,8099],[4431,8102],[4428,8111],[4436,8119],[4435,8125],[4425,8136],[4422,8146],[4429,8151],[4431,8160],[4423,8177],[4436,8178],[4449,8183],[4445,8186],[4455,8193],[4453,8202],[4445,8203],[4447,8210],[4455,8210],[4460,8234],[4455,8239],[4463,8252],[4482,8253],[4489,8246],[4500,8246],[4501,8258],[4513,8260],[4508,8274],[4503,8275],[4500,8292],[4503,8300]]]]}},{type:"Feature",id:"GQ",properties:{"hc-group":"admin0","hc-middle-x":.53,"hc-middle-y":.55,"hc-key":"gq","hc-a2":"GQ",name:"Equatorial Guinea",labelrank:"4","country-abbrev":"Eq. G.",subregion:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"GNQ","iso-a2":"GQ","woe-id":"23424804",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4537,6534],[4523,6540],[4537,6561],[4537,6574],[4542,6569],[4582,6569],[4582,6534],[4537,6534]]]}},{type:"Feature",id:"CNM",properties:{"hc-group":"admin0","hc-middle-x":.36,"hc-middle-y":.33,"hc-key":"cnm","hc-a2":"CN",name:"Cyprus No Mans Area",labelrank:"9","country-abbrev":null,subregion:"Western Asia","region-wb":"Europe & Central Asia","iso-a3":"-99","iso-a2":null,"woe-id":"-99",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5246,7576],[5250,7575],[5250,7575],[5247,7575],[5246,7575],[5246,7576],[5246,7576],[5246,7576],[5246,7576]]],[[[5208,7579],[5208,7579],[5208,7579],[5209,7580],[5210,7580],[5209,7578],[5208,7579]]],[[[5211,7579],[5211,7579],[5215,7576],[5232,7580],[5240,7574],[5240,7574],[5240,7574],[5240,7574],[5240,7574],[5240,7573],[5232,7579],[5214,7575],[5211,7579]]]]}},{type:"Feature",id:"NC",properties:{"hc-group":"admin0","hc-middle-x":.54,"hc-middle-y":.62,"hc-key":"nc","hc-a2":"NC",name:"Northern Cyprus",labelrank:"6","country-abbrev":"N. Cy.",subregion:"Western Asia","region-wb":"Europe & Central Asia","iso-a3":"-99","iso-a2":"NC","woe-id":"-90",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[5246,7576],[5246,7576],[5242,7574],[5240,7574],[5240,7574],[5240,7574],[5240,7574],[5232,7580],[5215,7576],[5211,7579],[5217,7587],[5232,7584],[5266,7595],[5247,7583],[5250,7575],[5246,7576],[5246,7576],[5246,7576]]],[[[5208,7579],[5209,7580],[5208,7579],[5208,7579]]]]}},{type:"Feature",id:"IE",properties:{"hc-group":"admin0","hc-middle-x":.43,"hc-middle-y":.52,"hc-key":"ie","hc-a2":"IE",name:"Ireland",labelrank:"3","country-abbrev":"Ire.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"IRL","iso-a2":"IE","woe-id":"23424803",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4035,8308],[4026,8294],[4007,8283],[4017,8272],[4033,8269],[4041,8281],[4053,8266],[4064,8268],[4061,8264],[4072,8223],[4060,8199],[4061,8191],[4047,8194],[4045,8190],[4029,8189],[4025,8184],[4005,8177],[3992,8168],[3959,8163],[3968,8174],[3953,8169],[3951,8175],[3941,8180],[3956,8190],[3940,8188],[3949,8196],[3957,8194],[3955,8201],[3965,8207],[3975,8230],[3985,8230],[3985,8235],[3965,8234],[3965,8239],[3953,8239],[3948,8246],[3958,8249],[3956,8254],[3966,8256],[3953,8273],[3958,8277],[3999,8275],[3993,8279],[4009,8290],[3993,8289],[4004,8311],[4027,8317],[4031,8321],[4044,8314],[4035,8308]]]}},{type:"Feature",id:"KZ",properties:{"hc-group":"admin0","hc-middle-x":.58,"hc-middle-y":.47,"hc-key":"kz","hc-a2":"KZ",name:"Kazakhstan",labelrank:"3","country-abbrev":"Kaz.",subregi
38on:"Central Asia","region-wb":"Europe & Central Asia","iso-a3":"KAZ","iso-a2":"KZ","woe-id":"-90",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[6457,8256],[6475,8268],[6511,8283],[6505,8269],[6500,8271],[6497,8270],[6501,8263],[6533,8242],[6541,8235],[6559,8210],[6588,8164],[6590,8161],[6603,8137],[6617,8144],[6617,8146],[6616,8152],[6624,8157],[6637,8151],[6635,8143],[6645,8144],[6647,8135],[6656,8137],[6676,8134],[6685,8142],[6705,8145],[6716,8140],[6727,8126],[6729,8117],[6744,8112],[6745,8111],[6746,8110],[6750,8110],[6759,8091],[6764,8091],[6766,8091],[6768,8092],[6785,8086],[6798,8099],[6798,8091],[6805,8088],[6808,8081],[6810,8078],[6819,8072],[6806,8073],[6802,8068],[6802,8057],[6797,8051],[6774,8046],[6766,8028],[6771,8008],[6765,7995],[6757,7995],[6744,7987],[6741,7993],[6719,7992],[6692,8001],[6677,7953],[6671,7939],[6681,7936],[6680,7926],[6661,7925],[6655,7932],[6629,7925],[6605,7921],[6603,7913],[6614,7907],[6614,7888],[6625,7864],[6627,7853],[6614,7849],[6620,7845],[6608,7835],[6610,7819],[6601,7828],[6587,7829],[6579,7841],[6559,7844],[6521,7845],[6514,7848],[6499,7844],[6479,7845],[6475,7841],[6462,7843],[6432,7857],[6416,7850],[6410,7834],[6412,7828],[6389,7836],[6364,7842],[6351,7841],[6339,7833],[6337,7821],[6327,7814],[6323,7816],[6307,7803],[6298,7801],[6281,7790],[6281,7785],[6267,7775],[6268,7764],[6250,7771],[6254,7780],[6248,7785],[6215,7783],[6212,7785],[6206,7812],[6192,7813],[6194,7848],[6185,7844],[6177,7859],[6161,7873],[6145,7868],[6109,7871],[6074,7865],[6049,7890],[6045,7898],[6016,7914],[6015,7941],[6007,7942],[6009,7953],[6027,7951],[6038,7961],[6050,7965],[6052,7973],[6042,7974],[6037,7981],[6024,7982],[6015,7977],[6019,7970],[6025,7972],[6039,7966],[6033,7959],[6016,7961],[6009,7959],[6009,7967],[6001,7968],[6007,7959],[5998,7945],[5992,7947],[5994,7957],[5978,7952],[5973,7940],[5971,7940],[5896,7920],[5896,7789],[5880,7788],[5865,7810],[5844,7824],[5821,7822],[5808,7817],[5792,7804],[5791,7816],[5797,7825],[5800,7839],[5784,7844],[5777,7842],[5769,7855],[5758,7854],[5759,7864],[5745,7885],[5745,7891],[5730,7895],[5720,7919],[5729,7908],[5747,7906],[5754,7901],[5759,7905],[5749,7914],[5761,7932],[5773,7935],[5796,7935],[5811,7957],[5811,7977],[5814,7983],[5806,7992],[5793,7993],[5786,7986],[5756,7998],[5733,7989],[5715,7976],[5700,7977],[5698,7969],[5688,7974],[5683,7976],[5682,7977],[5675,7981],[5691,7985],[5677,8009],[5663,8022],[5645,8025],[5644,8023],[5643,8019],[5635,8024],[5634,8041],[5617,8046],[5625,8065],[5633,8076],[5625,8081],[5629,8100],[5641,8108],[5641,8117],[5648,8124],[5665,8107],[5666,8105],[5668,8101],[5674,8099],[5687,8107],[5681,8129],[5686,8130],[5691,8133],[5693,8135],[5695,8137],[5703,8139],[5703,8149],[5714,8149],[5720,8154],[5726,8156],[5726,8156],[5731,8158],[5737,8170],[5761,8170],[5759,8164],[5773,8164],[5775,8172],[5789,8175],[5794,8164],[5819,8165],[5828,8154],[5836,8152],[5852,8140],[5849,8131],[5858,8130],[5857,8146],[5869,8141],[5877,8132],[5887,8127],[5899,8135],[5902,8142],[5912,8148],[5931,8149],[5937,8141],[5941,8140],[5942,8141],[5942,8142],[5947,8141],[5948,8143],[5949,8150],[5960,8147],[5965,8151],[5973,8146],[5973,8140],[5975,8137],[5977,8137],[5978,8137],[5983,8133],[5998,8131],[5999,8129],[6001,8125],[6008,8127],[6015,8140],[6024,8133],[6036,8132],[6055,8137],[6059,8151],[6064,8155],[6058,8162],[6045,8164],[6042,8169],[6025,8171],[6029,8176],[6019,8180],[6030,8190],[6045,8198],[6035,8211],[6046,8221],[6058,8224],[6076,8224],[6075,8229],[6058,8233],[6057,8233],[6054,8235],[6050,8235],[6053,8246],[6044,8249],[6050,8265],[6068,8264],[6069,8263],[6069,8262],[6074,8261],[6074,8264],[6074,8265],[6106,8268],[6132,8276],[6159,8280],[6168,8278],[6168,8285],[6175,8290],[6191,8289],[6205,8293],[6239,8299],[6255,8303],[6258,8313],[6268,8313],[6278,8323],[6285,8318],[6300,8318],[6315,8310],[6322,8316],[6333,8317],[6338,8308],[6339,8296],[6344,8294],[6344,8277],[6344,8277],[6338,8277],[6344,8268],[6348,8272],[6359,8269],[6360,8271],[6361,8274],[6370,8270],[6375,8278],[6381,8260],[6386,8270],[6396,8269],[6399,8263],[6411,8259],[6412,8259],[6408,8256],[6407,8255],[6407,8254],[6407,8254],[6405,8249],[6404,8247],[6410,8241],[6420,8248],[6421,8248],[6425,8250],[6439,8243],[6440,8251],[6450,8257],[6457,8256]]],[[[5978,7937],[5988,7950],[5997,7940],[5998,7925],[5978,7937]]]]}},{type:"Feature",id:"GE",properties:{"hc-group":"admin0","hc-middle-x":.25,"hc-middle-y":.46,"hc-key":"ge","hc-a2":"GE",name:"Georgia",labelrank:"5","country-abbrev":"Geo.",subregi
38on:"Western Asia","region-wb":"Europe & Central Asia","iso-a3":"GEO","iso-a2":"GE","woe-id":"23424823",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5584,7831],[5594,7831],[5591,7821],[5601,7813],[5615,7809],[5608,7801],[5623,7787],[5617,7779],[5609,7785],[5602,7783],[5587,7793],[5573,7788],[5560,7784],[5549,7786],[5527,7781],[5521,7784],[5509,7798],[5498,7793],[5471,7796],[5478,7806],[5470,7835],[5460,7841],[5451,7850],[5436,7853],[5425,7862],[5433,7869],[5445,7867],[5472,7856],[5497,7856],[5514,7852],[5520,7846],[5538,7839],[5542,7832],[5560,7839],[5569,7840],[5574,7837],[5579,7837],[5584,7831]]]}},{type:"Feature",id:"PL",properties:{"hc-group":"admin0","hc-middle-x":.52,"hc-middle-y":.27,"hc-key":"pl","hc-a2":"PL",name:"Poland",labelrank:"3","country-abbrev":"Pol.",subregion:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"POL","iso-a2":"PL","woe-id":"23424923",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4826,8282],[4814,8278],[4819,8275],[4830,8282],[4916,8278],[4918,8278],[4921,8280],[4938,8271],[4940,8262],[4943,8248],[4952,8230],[4951,8211],[4937,8204],[4930,8196],[4944,8188],[4943,8165],[4944,8158],[4959,8139],[4954,8138],[4958,8127],[4947,8122],[4928,8105],[4915,8089],[4921,8068],[4912,8071],[4896,8076],[4891,8083],[4874,8086],[4865,8080],[4857,8084],[4846,8083],[4838,8075],[4830,8076],[4821,8091],[4813,8084],[4803,8088],[4795,8103],[4773,8106],[4754,8121],[4745,8123],[4748,8116],[4740,8110],[4725,8123],[4729,8131],[4703,8138],[4689,8145],[4684,8140],[4690,8154],[4682,8165],[4678,8177],[4683,8187],[4676,8201],[4679,8207],[4664,8218],[4672,8235],[4668,8252],[4675,8251],[4679,8258],[4666,8259],[4666,8260],[4667,8262],[4723,8276],[4736,8287],[4759,8294],[4787,8298],[4795,8282],[4808,8278],[4826,8283],[4826,8283],[4826,8282]]]}},{type:"Feature",id:"LT",properties:{"hc-group":"admin0","hc-middle-x":.27,"hc-middle-y":.06,"hc-key":"lt","hc-a2":"LT",name:"Lithuania",labelrank:"5","country-abbrev":"Lith.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"LTU","iso-a2":"LT","woe-id":"23424875",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4864,8316],[4869,8325],[4866,8316],[4866,8316],[4864,8316]]],[[[4874,8315],[4869,8335],[4868,8349],[4876,8355],[4899,8363],[4929,8359],[4946,8361],[4968,8357],[4981,8364],[4987,8354],[5004,8352],[5022,8335],[5031,8332],[5027,8319],[5037,8316],[5031,8310],[5023,8311],[5018,8303],[5007,8299],[5006,8287],[4998,8276],[4978,8263],[4966,8260],[4961,8262],[4940,8262],[4938,8271],[4921,8280],[4918,8278],[4916,8282],[4920,8300],[4913,8307],[4899,8306],[4874,8315]]]]}},{type:"Feature",id:"UG",properties:{"hc-group":"admin0","hc-middle-x":.16,"hc-middle-y":.54,"hc-key":"ug","hc-a2":"UG",name:"Uganda",labelrank:"3","country-abbrev":"Uga.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"UGA","iso-a2":"UG","woe-id":"23424974",continent:"Africa"},geometry:{type:"MultiPolygon",coordinates:[[[[5185,6476],[5185,6476],[5186,6476],[5185,6476]]],[[[5184,6476],[5156,6476],[5145,6474],[5128,6462],[5119,6465],[5118,6478],[5121,6491],[5129,6501],[5122,6502],[5130,6520],[5129,6528],[5146,6541],[5148,6535],[5159,6550
38],[5173,6560],[5169,6569],[5152,6577],[5157,6590],[5153,6594],[5156,6607],[5165,6616],[5176,6612],[5184,6617],[5195,6608],[5201,6614],[5220,6619],[5235,6616],[5249,6629],[5254,6616],[5262,6612],[5261,6604],[5266,6591],[5276,6578],[5278,6554],[5273,6541],[5264,6537],[5249,6512],[5236,6511],[5228,6516],[5220,6508],[5209,6514],[5195,6503],[5202,6494],[5191,6496],[5181,6482],[5184,6476]]]]}},{type:"Feature",id:"CD",properties:{"hc-group":"admin0","hc-middle-x":.58,"hc-middle-y":.41,"hc-key":"cd","hc-a2":"CD",name:"Democratic Republic of the Congo",labelrank:"2","country-abbrev":"D.R.C.",subregion:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"COD","iso-a2":"CD","woe-id":"23424780",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5108,6408],[5105,6387],[5108,6373],[5105,6357],[5113,6341],[5107,6332],[5117,6309],[5137,6289],[5140,6275],[5148,6264],[5100,6257],[5099,6257],[5083,6239],[5082,6226],[5088,6230],[5093,6218],[5091,6196],[5083,6169],[5088,6156],[5103,6141],[5117,6139],[5116,6145],[5126,6148],[5125,6110],[5119,6116],[5107,6110],[5083,6139],[5062,6144],[5048,6165],[5034,6152],[5013,6155],[4995,6163],[4992,6176],[4963,6171],[4966,6179],[4954,6186],[4950,6181],[4940,6183],[4926,6179],[4912,6181],[4903,6175],[4901,6187],[4905,6189],[4905,6201],[4901,6214],[4892,6223],[4892,6246],[4894,6259],[4889,6270],[4892,6283],[4890,6292],[4852,6292],[4855,6303],[4846,6300],[4823,6300],[4823,6286],[4818,6283],[4818,6271],[4783,6271],[4765,6268],[4751,6290],[4742,6309],[4741,6324],[4737,6332],[4729,6334],[4681,6333],[4636,6334],[4615,6328],[4608,6336],[4616,6338],[4615,6357],[4633,6370],[4641,6365],[4652,6368],[4671,6380],[4672,6362],[4685,6364],[4696,6378],[4706,6387],[4716,6390],[4726,6409],[4724,6421],[4726,6443],[4735,6451],[4744,6468],[4757,6475],[4771,6490],[4770,6499],[4777,6519],[4774,6535],[4780,6551],[4780,6568],[4796,6597],[4797,6607],[4797,6622],[4794,6631],[4799,6633],[4810,6649],[4820,6655],[4829,6656],[4847,6645],[4855,6634],[4863,6636],[4873,6631],[4888,6631],[4908,6626],[4922,6646],[4937,6639],[4969,6654],[4978,6649],[4993,6652],[4995,6661],[5009,6657],[5017,6659],[5027,6653],[5039,6653],[5047,6657],[5056,6654],[5066,6640],[5084,6630],[5095,6638],[5107,6632],[5115,6641],[5138,6621],[5147,6618],[5147,6611],[5156,6607],[5153,6594],[5157,6590],[5152,6577],[5169,6569],[5146,6549],[5146,6541],[5129,6528],[5130,6520],[5122,6502],[5111,6491],[5113,6485],[5121,6491],[5118,6478],[5119,6465],[5113,6461],[5109,6456],[5104,6459],[5100,6447],[5105,6440],[5098,6433],[5099,6428],[5102,6426],[5109,6416],[5108,6408]]]}},{type:"Feature",id:"MK",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.49,"hc-key":"mk","hc-a2":"MK",name:"Macedonia",labelrank:"6","country-abbrev":"Mkd.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"MKD","iso-a2":"MK","woe-id":"23424890",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4865,7774],[4865,7774],[4865,7774],[4861,7775],[4858,7774],[4861,7782],[4856,7780],[4850,7797],[4854,7808],[4869,7820],[4873,7816],[4883,7821],[4904,7826],[4906,7824],[4921,7813],[4926,7803],[4923,7789],[4917,7783],[4893,7781],[4884,7773],[4870,7773],[4865,7778],[4865,7774],[4865,7774]]],[[[4865,7773],[4866,7773],[4865,7773],[4865,7773]]],[[[4865,7774],[4865,7774],[4865,7774],[4865,7774],[4865,7774]]]]}},{type:"Feature",id:"AL",properties:{"hc-group":"admin0","hc-middle-x":.39,"hc-middle-y":.49,"hc-key":"al","hc-a2":"AL",name:"Albania",labelrank:"6","country-abbrev":"Alb.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"ALB","iso-a2":"AL","woe-id":"23424742",continent:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4865,7774],[4865,7774],[4865,7774],[4865,7774],[4865,7774],[4865,7774],[4865,7774]]],[[[4856,7780],[4856,7775],[4858,7774],[4861,7775],[4865,7774],[4864,7774],[4865,7773],[4865,7773],[4864,7770],[4865,7770],[4865,7769],[4867,7767],[4866,7766],[4867,7767],[4856,7746],[4846,7742],[4849,7737],[4837,7732],[4833,7745],[4822,7750],[4817,7765],[4822,7774],[4819,7792],[4825,7806],[4818,7807],[4818,7811],[4818,7816],[4822,7818],[4819,7824],[4828,7836],[4832,7829],[4839,7832],[4852,7820],[4854,7808],[4850,7797],[4856,7780]]],[[[4818,7823],[4818,7823],[4818,7823],[4818,7823]]]]}},{type:"Feature",id:"NG",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.33,"hc-key":"ng","hc-a2":"NG",name:"Nigeria",labelrank:"2","country-abbrev":"Nigeria",subregi
38on:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"NGA","iso-a2":"NG","woe-id":"23424908",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4662,6890],[4666,6869],[4680,6863],[4678,6843],[4665,6835],[4660,6836],[4648,6819],[4644,6803],[4638,6801],[4637,6785],[4627,6780],[4625,6764],[4608,6751],[4607,6739],[4594,6718],[4598,6713],[4589,6707],[4584,6697],[4581,6694],[4575,6694],[4574,6701],[4560,6712],[4557,6707],[4546,6710],[4509,6676],[4507,6656],[4501,6648],[4501,6646],[4501,6646],[4501,6646],[4490,6650],[4494,6641],[4458,6634],[4423,6632],[4413,6641],[4405,6662],[4392,6681],[4378,6691],[4362,6694],[4328,6692],[4328,6692],[4328,6693],[4329,6700],[4330,6711],[4327,6736],[4330,6771],[4339,6773],[4340,6782],[4352,6794],[4353,6807],[4361,6816],[4358,6832],[4351,6840],[4354,6849],[4355,6874],[4369,6887],[4370,6902],[4381,6908],[4403,6910],[4412,6914],[4436,6906],[4452,6888],[4466,6891],[4476,6897],[4486,6897],[4504,6885],[4532,6882],[4541,6892],[4562,6899],[4585,6898],[4603,6891],[4615,6889],[4618,6895],[4642,6909],[4649,6909],[4662,6890]]]}},{type:"Feature",id:"CM",properties:{"hc-group":"admin0","hc-middle-x":.27,"hc-middle-y":.67,"hc-key":"cm","hc-a2":"CM",name:"Cameroon",labelrank:"3","country-abbrev":"Cam.",subregion:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"CMR","iso-a2":"CM","woe-id":"23424785",continent:"Africa"},geometry:{type:"MultiPolygon",coordinates:[[[[4589,6707],[4598,6713],[4594,6718],[4607,6739],[4608,6751],[4625,6764],[4627,6780],[4637,6785],[4638,6801],[4644,6803],[4648,6819],[4660,6836],[4665,6835],[4678,6843],[4680,6863],[4666,6869],[4662,6890],[4670,6890],[4668,6884],[4675,6887],[4684,6877],[4687,6862],[4691,6860],[4694,6844],[4690,6834],[4692,6822],[4699,6808],[4710,6798],[4682,6796],[4666,6798],[4659,6788],[4671,6774],[4695,6754],[4703,6735],[4704,6726],[4696,6718],[4682,6688],[4672,6681],[4678,6679],[4681,6640],[4690,6634],[4695,6615],[4722,6589],[4725,6571],[4721,6563],[4724,6556],[4697,6565],[4687,6564],[4677,6570],[4668,6568],[4640,6568],[4638,6572],[4582,6572],[4582,6569],[4542,6569],[4537,6574],[4541,6595],[4532,6609],[4531,6621],[4522,6620],[4512,6625],[4511,6638],[4499,6638],[4501,6646],[4501,6646],[4507,6656],[4509,6676],[4546,6710],[4557,6707],[4560,6712],[4574,6701],[4575,6694],[4584,6697],[4587,6699],[4589,6703],[4589,6707]]],[[[4671,6890],[4672,6889],[4671,6890],[4671,6890]]]]}},{type:"Feature",id:"BJ",properties:{"hc-group":"admin0","hc-middle-x":.57,"hc-middle-y":.5,"hc-key":"bj","hc-a2":"BJ",name:"Benin",labelrank:"5","country-abbrev":"Benin",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"BEN","iso-a2":"BJ","woe-id":"23424764",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4328,6692],[4304,6689],[4296,6687],[4301,6689],[4294,6701],[4296,6710],[4295,6771],[4290,6777],[4287,6799],[4271,6809],[4275,6828],[4281,6830],[4291,6842],[4307,6841],[4319,6855],[4318,6864],[4332,6870],[4354,6849],[4351,6840],[4358,6832],[4361,6816],[4353,6807],[4352,6794],[4340,6782],[4339,6773],[4330,6771],[4327,6736],[4330,6711],[4328,6693],[4328,6692]]]}},{type:"Feature",id:"TL",properties:{"hc-group":"admin0","hc-middle-x":.63,"hc-middle-y":.31,"hc-key":"tl","hc-a2":"TL",name:"East Timor",labelrank:"5","country-abbrev":"T.L.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"TLS","iso-a2":"TL","woe-id":"23424968",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[7900,6231],[7905,6234],[7912,6236],[7907,6226],[7900,6231]]],[[[7926,6242],[7933,6252],[7986,6262],[7997,6258],[7988,6251],[7971,6243],[7946,6236],[7930,6227],[7928,6236],[7926,6242]]]]}},{type:"Feature",id:"TM",properties:{"hc-group":"admin0","hc-middle-x":.38,"hc-middle-y":.41,"hc-key":"tm","hc-a2":"TM",name:"Turkmenistan",labelrank:"4","country-abbrev":"Turkm.",subregion:"Central Asia","region-wb":"Europe & Central Asia","iso-a3":"TKM","iso-a2":"TM","woe-id":"23424972",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5928,7810],[5936,7797],[5952,7802],[5945,7818],[5951,7819],[5956,7830],[5970,7823],[5960,7835],[5970,7836],[5974,7840],[5982,7832],[5989,7832],[5999,7823],[6016,7820],[6013,7811],[6022,7806],[6016,7803],[6018,7791],[6027,7786],[6040,7786],[6052,7783],[6058,7788],[6070,7782],[6079,7760],[6084,7758],[6087,7743],[6117,7722],[6136,7707],[6142,770
387],[6180,7682],[6188,7683],[6208,7675],[6207,7653],[6200,7651],[6184,7660],[6177,7648],[6164,7648],[6155,7643],[6155,7638],[6146,7615],[6113,7602],[6105,7588],[6083,7578],[6075,7587],[6060,7588],[6052,7594],[6046,7628],[6025,7628],[6015,7641],[5996,7651],[5996,7657],[5979,7664],[5967,7662],[5961,7667],[5937,7673],[5933,7683],[5928,7681],[5910,7683],[5906,7677],[5880,7677],[5863,7666],[5861,7658],[5844,7651],[5836,7652],[5833,7665],[5833,7692],[5837,7705],[5829,7711],[5826,7720],[5811,7723],[5815,7727],[5830,7727],[5821,7735],[5825,7741],[5801,7745],[5801,7760],[5807,7777],[5812,7770],[5825,7769],[5830,7765],[5848,7768],[5860,7776],[5859,7782],[5841,7794],[5835,7815],[5813,7816],[5803,7804],[5803,7791],[5792,7804],[5808,7817],[5821,7822],[5844,7824],[5865,7810],[5880,7788],[5896,7789],[5927,7786],[5925,7808],[5928,7810]]]}},{type:"Feature",id:"KH",properties:{"hc-group":"admin0","hc-middle-x":.83,"hc-middle-y":.49,"hc-key":"kh","hc-a2":"KH",name:"Cambodia",labelrank:"3","country-abbrev":"Camb.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"KHM","iso-a2":"KH","woe-id":"23424776",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7324,6811],[7318,6815],[7299,6813],[7301,6830],[7295,6832],[7291,6824],[7284,6826],[7285,6838],[7278,6847],[7273,6859],[7273,6859],[7273,6859],[7273,6859],[7272,6862],[7274,6870],[7266,6877],[7266,6887],[7261,6904],[7266,6904],[7283,6926],[7301,6930],[7310,6928],[7333,6930],[7341,6924],[7345,6928],[7350,6921],[7355,6922],[7367,6915],[7373,6919],[7368,6928],[7384,6935],[7397,6927],[7414,6938],[7408,6921],[7416,6903],[7412,6888],[7414,6868],[7403,6866],[7390,6857],[7381,6857],[7382,6848],[7370,6851],[7363,6847],[7365,6837],[7374,6827],[7374,6821],[7362,6829],[7349,6824],[7341,6826],[7335,6814],[7324,6811]]]}},{type:"Feature",id:"PE",properties:{"hc-group":"admin0","hc-middle-x":.31,"hc-middle-y":.41,"hc-key":"pe","hc-a2":"PE",name:"Peru",labelrank:"2","country-abbrev":"Peru",subregion:"South America","region-wb":"Latin America & Caribbean","iso-a3":"PER","iso-a2":"PE","woe-id":"23424919",continent:"South America"},geometry:{type:"Polygon",coordinates:[[[2218,6027],[2214,6018],[2215,6017],[2197,5994],[2202,5988],[2191,5981],[2194,5974],[2188,5965],[2176,5963],[2146,5982],[2143,5995],[2125,6002],[2118,6010],[2078,6027],[2034,6052],[2024,6067],[2013,6074],[2002,6087],[2004,6112],[1977,6150],[1972,6168],[1962,6174],[1961,6184],[1950,6201],[1934,6236],[1929,6253],[1923,6264],[1908,6279],[1901,6297],[1889,6310],[1860,6327],[1859,6333],[1867,6340],[1857,6353],[1861,6358],[1853,6368],[1856,6381],[1870,6397],[1883,6406],[1888,6392],[1879,6388],[1881,6374],[1889,6380],[1907,6373],[1909,6364],[1920,6358],[1932,6372],[1932,6379],[1939,6395],[1941,6405],[1956,6418],[1990,6430],[2008,6443],[2023,6461],[2028,6478],[2033,6477],[2032,6490],[2021,6502],[2032,6502],[2045,6500],[2057,6488],[2059,6480],[2080,6468],[2083,6456],[2093,6453],[2093,6440],[2100,6434],[2117,6434],[2136,6443],[2145,6436],[2158,6441],[2177,6432],[2186,6426],[2166,6395],[2178,6393],[2188,6381],[2163,6383],[2159,6377],[2135,6374],[2110,6358],[2101,6355],[2099,6338],[2092,6327],[2095,6317],[2076,6303],[2078,6291],[2069,6284],[2078,6277],[2083,6260],[2100,6239],[2092,6229],[2119,6225],[2122,6212],[2146,6212],[2169,6225],[2168,6182],[2179,6180],[2188,6185],[2200,6184],[2226,6138],[2217,6127],[2216,6100],[2220,6087],[2209,6075],[2205,6064],[2212,6056],[2206,6048],[2196,6055],[2189,6051],[2187,6038],[2193,6039],[2204,6033],[2202,6028],[2213,6026],[2215,6027],[2218,6027]]]}},{type:"Feature",id:"MW",properties:{"hc-group":"admin0","hc-middle-x":.77,"hc-middle-y":.9,"hc-key":"mw","hc-a2":"MW",name:"Malawi",labelrank:"6","country-abbrev":"Mal.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"MWI","iso-a2":"MW","woe-id":"23424889",continent:"Africa"},geometry:{type:"MultiPolygon",coordinates:[[[[5276,6170],[5276,6170],[5276,6170],[5276,6170]]],[[[5271,6174],[5271,6175],[5270,6175],[5271,6174]]],[[[5258,6220],[5255,6223],[5255,6223],[5258,6220]]],[[[5252,6226],[5252,6226],[5252,6226],[5252,6226]]],[[[5217,6229],[5232,6223],[5247,6220],[5248,6212],[5257,6199],[5255,6193],[5259,6162],[5250,6147],[5259,6122],[5259,6111],[5268,6102],[5265,6094],[5270,6085],[5275,6093],[5286,6081],[5280,6101],[5274,6108],[5281,6102],[5304,6073],[5302,6057],[5302,6033],[5290,6029],[5283,6017],[5287,6012],[5287,5999],[5281,5999],[5279,6009],[5261,6028],[5256,6036],[5266,6055],[5264,6076],[5259,6081],[5241,6078],[5239,6075],[5226,6093],[5220,6092],[5214,6102],[5220,6117],[5219,6131],[5231,6137],[5227,6148],[5227,6170],[5231,6177],[5229,6188],[5240,6195],[5231,6215],[5217,6229]]]]}},{type:"Feature",id:"MN",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.52,"hc-key":"mn","hc-a2":"MN",name:"Mongolia",labelrank:"3","country-abbrev":"Mong.",subregi
38on:"Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"MNG","iso-a2":"MN","woe-id":"23424887",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7708,8022],[7710,8018],[7719,8025],[7715,8030],[7728,8032],[7738,8029],[7754,8018],[7760,8009],[7772,7999],[7778,7983],[7772,7978],[7746,7984],[7729,7983],[7713,7975],[7705,7978],[7702,7969],[7681,7968],[7670,7953],[7669,7946],[7653,7936],[7620,7934],[7606,7918],[7594,7911],[7563,7917],[7559,7922],[7546,7923],[7538,7919],[7528,7899],[7541,7882],[7544,7873],[7514,7858],[7499,7840],[7472,7829],[7451,7827],[7433,7829],[7392,7823],[7346,7804],[7340,7798],[7325,7801],[7325,7808],[7302,7804],[7283,7813],[7252,7819],[7241,7831],[7193,7837],[7177,7833],[7110,7841],[7085,7839],[7083,7846],[7072,7856],[7060,7883],[7055,7884],[7056,7894],[7046,7893],[7014,7908],[7002,7918],[6979,7921],[6971,7920],[6947,7922],[6924,7927],[6917,7938],[6919,7947],[6928,7957],[6924,7968],[6929,7977],[6922,7993],[6912,8005],[6908,8018],[6899,8026],[6891,8024],[6885,8032],[6870,8030],[6856,8039],[6856,8044],[6837,8053],[6833,8061],[6834,8075],[6843,8079],[6844,8085],[6865,8085],[6889,8095],[6887,8103],[6928,8123],[6940,8124],[6950,8133],[6962,8133],[6966,8139],[6976,8133],[6985,8137],[6987,8131],[7023,8128],[7026,8116],[7034,8107],[7061,8102],[7071,8107],[7086,8102],[7103,8102],[7113,8096],[7137,8109],[7142,8127],[7134,8131],[7128,8145],[7135,8163],[7143,8173],[7155,8178],[7160,8189],[7193,8174],[7207,8174],[7233,8163],[7257,8158],[7256,8149],[7261,8128],[7269,8123],[7300,8112],[7314,8112],[7322,8118],[7349,8125],[7369,8122],[7376,8118],[7388,8119],[7405,8107],[7426,8104],[7426,8094],[7444,8081],[7462,8082],[7492,8075],[7508,8074],[7526,8082],[7547,8084],[7576,8091],[7581,8100],[7613,8117],[7627,8116],[7645,8103],[7656,8102],[7670,8107],[7684,8100],[7658,8051],[7658,8041],[7649,8035],[7659,8020],[7671,8026],[7689,8026],[7702,8018],[7708,8022]]]}},{type:"Feature",id:"AO",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.67,"hc-key":"ao","hc-a2":"AO",name:"Angola",labelrank:"3","country-abbrev":"Ang.",subregion:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"AGO","iso-a2":"AO","woe-id":"23424745",continent:"Africa"},geometry:{type:"MultiPolygon",coordinates:[[[[4608,6336],[4608,6345],[4602,6358],[4613,6370],[4627,6376],[4633,6370],[4615,6357],[4616,6338],[4608,6336]]],[[[4636,6334],[4681,6333],[4729,6334],[4737,6332],[4741,6324],[4742,6309],[4751,6290],[4765,6268],[4783,6271],[4818,6271],[4818,6283],[4823,6286],[4823,6300],[4846,6300],[4855,6303],[4852,6292],[4890,6292],[4892,6283],[4889,6270],[4894,6259],[4892,6246],[4892,6223],[4901,6214],[4905,6201],[4905,6189],[4901,6187],[4903,6175],[4912,6181],[4926,6179],[4940,6183],[4950,6181],[4954,6186],[4957,6170],[4954,6164],[4956,6141],[4951,6129],[4955,6123],[4895,6123],[4895,6028],[4899,6017],[4918,5998],[4937,5984],[4878,5973],[4861,5972],[4847,5977],[4838,5976],[4808,5978],[4801,5981],[4791,5991],[4666,5991],[4659,5991],[4636,6005],[4618,5996],[4602,5999],[4595,5996],[4596,6019],[4594,6039],[4601,6045],[4609,6071],[4611,6090],[4616,6097],[4617,6110],[4629,6123],[4629,6128],[4642,6135],[4650,6145],[4654,6159],[4656,6179],[4653,6193],[4637,6220],[4631,6238],[4642,6248],[4642,6261],[4626,6292],[4626,6303],[4620,6308],[4610,6326],[4623,6328],[4636,6334]]]]}},{type:"Feature",id:"MZ",properties:{"hc-group":"admin0","hc-middle-x":.83,"hc-middle-y":.28,"hc-key":"mz","hc-a2":"MZ",name:"Mozambique",labelrank:"3","country-abbrev":"Moz.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"MOZ","iso-a2":"MZ","woe-id":"23424902",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5274,6108],[5271,6125],[5274,6131],[5270,6147],[5275,6151],[5278,6165],[5296,6164],[5303,6170],[5314,6161],[5325,6160],[5332,6165],[5350,6161],[5361,6166],[5363,6173],[5375,6174],[5381,6170],[5393,6177],[5405,6178],[5426,6188],[5439,6198],[5444,6187],[5439,6163],[5443,6124],[5442,6104],[5451,6079],[5450,6069],[5444,6058],[5443,6049],[5431,6036],[5423,6021],[5400,6007],[5364,5992],[5340,5977],[5322,5956],[5320,5950],[5312,5949],[5298,5939],[5282,5921],[5271,5916],[5269,5899],[5278,5890],[5279,5879],[5287,5862],[5288,5838],[5293,5848],[5294,5823],[5290,5794],[5293,5786],[5282,5771],[5268,5764],[5241,5755],[5216,5741],[5206,5729],[5215,5718],[5219,5728],[5217,5700],[5201,5700],[5194,5701],[5191,5718],[5189,5728],[5190,5738],[5190,5776],[5186,5791],[5176,5807],[5177,5815],[5169,5839],[5174,5842],[5202,5873],[5205,5895
38],[5209,5895],[5220,5911],[5221,5919],[5213,5929],[5216,5939],[5211,5948],[5216,5949],[5221,5963],[5218,5977],[5220,5992],[5215,6005],[5219,6013],[5199,6020],[5188,6020],[5169,6032],[5143,6033],[5143,6044],[5138,6064],[5226,6093],[5239,6075],[5241,6078],[5259,6081],[5264,6076],[5266,6055],[5256,6036],[5261,6028],[5279,6009],[5281,5999],[5287,5999],[5287,6012],[5283,6017],[5290,6029],[5302,6033],[5302,6057],[5304,6073],[5281,6102],[5274,6108]]]}},{type:"Feature",id:"ZA",properties:{"hc-group":"admin0","hc-middle-x":.36,"hc-middle-y":.7,"hc-key":"za","hc-a2":"ZA",name:"South Africa",labelrank:"2","country-abbrev":"S.Af.",subregion:"Southern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"ZAF","iso-a2":"ZA","woe-id":"23424942",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5194,5701],[5201,5700],[5217,5700],[5210,5679],[5206,5658],[5201,5646],[5183,5633],[5166,5614],[5143,5573],[5132,5559],[5114,5544],[5098,5526],[5070,5502],[5047,5487],[5029,5478],[5012,5480],[5004,5477],[5005,5469],[4983,5471],[4980,5464],[4944,5471],[4937,5467],[4913,5470],[4887,5457],[4864,5458],[4852,5455],[4836,5443],[4826,5445],[4816,5457],[4802,5458],[4803,5465],[4794,5468],[4792,5459],[4787,5465],[4793,5475],[4774,5509],[4786,5515],[4788,5527],[4783,5547],[4775,5557],[4757,5589],[4743,5630],[4734,5646],[4743,5652],[4746,5661],[4752,5663],[4759,5657],[4761,5642],[4783,5635],[4800,5637],[4810,5634],[4824,5647],[4837,5652],[4836,5766],[4848,5757],[4855,5745],[4862,5723],[4855,5714],[4857,5699],[4887,5700],[4898,5708],[4903,5716],[4917,5728],[4921,5743],[4926,5749],[4939,5749],[4953,5739],[4978,5732],[4996,5735],[5002,5739],[5010,5766],[5026,5770],[5039,5782],[5043,5800],[5065,5814],[5077,5829],[5099,5837],[5103,5844],[5112,5845],[5124,5847],[5140,5841],[5156,5842],[5169,5839],[5177,5815],[5176,5807],[5186,5791],[5190,5776],[5190,5738],[5189,5728],[5173,5735],[5164,5730],[5154,5712],[5155,5702],[5166,5689],[5189,5686],[5190,5702],[5194,5701]],[[5084,5644],[5065,5635],[5055,5620],[5044,5612],[5052,5596],[5065,5581],[5075,5579],[5079,5592],[5106,5603],[5107,5611],[5115,5621],[5091,5646],[5084,5644]]]}},{type:"Feature",id:"CR",properties:{"hc-group":"admin0","hc-middle-x":.16,"hc-middle-y":.09,"hc-key":"cr","hc-a2":"CR",name:"Costa Rica",labelrank:"5","country-abbrev":"C.R.",subregion:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"CRI","iso-a2":"CR","woe-id":"23424791",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1785,6826],[1791,6813],[1811,6789],[1817,6786],[1809,6787],[1806,6771],[1813,6767],[1807,6762],[1808,6753],[1803,6749],[1807,6741],[1800,6751],[1799,6758],[1790,6761],[1796,6751],[1787,6753],[1786,6770],[1769,6783],[1755,6788],[1753,6798],[1738,6806],[1749,6793],[1742,6785],[1737,6792],[1727,6796],[1720,6809],[1726,6822],[1719,6825],[1725,6831],[1728,6834],[1748,6826],[1755,6830],[1764,6828],[1777,6820],[1785,6826]]]}},{type:"Feature",id:"SV",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.49,"hc-key":"sv","hc-a2":"SV",name:"El Salvador",labelrank:"6","country-abbrev":"El. S.",subregion:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"SLV","iso-a2":"SV","woe-id":"23424807",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1663,6900],[1659,6892],[1634,6895],[1620,6902],[1604,6903],[1596,6909],[1595,6913],[1617,6930],[1625,6929],[1643,6913],[1655,6917],[1666,6912],[1663,6900]]]}},{type:"Feature",id:"BZ",properties:{"hc-group":"admin0","hc-middle-x":.46,"hc-middle-y":.5,"hc-key":"bz","hc-a2":"BZ",name:"Belize",labelrank:"6","country-abbrev":"Belize",subregion:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"BLZ","iso-a2":"BZ","woe-id":"23424760",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1648,7052],[1654,7049],[1649,7025],[1651,7006],[1641,6985],[1630,6974],[1621,6974],[1623,7008],[1623,7032],[1631,7034],[1643,7052],[1648,7052]]]}},{type:"Feature",id:"CO",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.54,"hc-key":"co","hc-a2":"CO",name:"Colombia",labelrank:"2","country-abbrev":"Col.",subregi
38on:"South America","region-wb":"Latin America & Caribbean","iso-a3":"COL","iso-a2":"CO","woe-id":"23424787",continent:"South America"},geometry:{type:"Polygon",coordinates:[[[2032,6502],[2017,6508],[2001,6519],[1998,6513],[1984,6512],[1969,6517],[1961,6529],[1948,6532],[1927,6547],[1922,6553],[1927,6558],[1935,6557],[1931,6569],[1942,6583],[1948,6582],[1962,6590],[1960,6592],[1975,6615],[1965,6629],[1972,6638],[1969,6665],[1974,6675],[1967,6686],[1971,6697],[1955,6717],[1959,6731],[1963,6726],[1976,6738],[1969,6753],[1970,6759],[1986,6744],[1988,6751],[1983,6756],[2003,6769],[2008,6779],[2022,6782],[2025,6816],[2045,6831],[2059,6822],[2064,6838],[2090,6837],[2106,6849],[2121,6854],[2123,6865],[2137,6872],[2151,6868],[2154,6861],[2148,6853],[2129,6848],[2121,6833],[2114,6832],[2102,6812],[2099,6794],[2088,6774],[2099,6778],[2104,6773],[2108,6759],[2117,6750],[2114,6738],[2115,6723],[2122,6721],[2126,6712],[2152,6709],[2170,6713],[2184,6709],[2204,6684],[2215,6687],[2227,6685],[2259,6689],[2263,6682],[2256,6666],[2251,6660],[2250,6637],[2257,6615],[2266,6605],[2251,6590],[2257,6587],[2270,6575],[2279,6541],[2274,6539],[2272,6555],[2265,6566],[2258,6565],[2241,6556],[2191,6555],[2191,6536],[2206,6536],[2213,6524],[2202,6527],[2186,6522],[2185,6502],[2198,6490],[2205,6471],[2188,6381],[2178,6393],[2166,6395],[2186,6426],[2177,6432],[2158,6441],[2145,6436],[2136,6443],[2117,6434],[2100,6434],[2093,6440],[2093,6453],[2083,6456],[2080,6468],[2059,6480],[2057,6488],[2045,6500],[2032,6502]]]}},{type:"Feature",id:"KP",properties:{"hc-group":"admin0","hc-middle-x":.33,"hc-middle-y":.7,"hc-key":"kp","hc-a2":"KP",name:"North Korea",labelrank:"3","country-abbrev":"N.K.",subregion:"Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"PRK","iso-a2":"KP","woe-id":"23424865",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7978,7668],[7962,7668],[7946,7675],[7947,7666],[7929,7673],[7936,7677],[7919,7678],[7924,7682],[7928,7694],[7938,7698],[7933,7702],[7942,7719],[7937,7726],[7910,7738],[7910,7746],[7925,7760],[7941,7765],[7951,7774],[7958,7774],[7973,7793],[7976,7801],[7985,7806],[7995,7795],[8021,7791],[8026,7798],[8018,7812],[8043,7814],[8056,7828],[8067,7828],[8071,7847],[8079,7847],[8091,7831],[8095,7826],[8096,7823],[8088,7824],[8078,7815],[8065,7797],[8070,7791],[8067,7772],[8053,7767],[8049,7759],[8035,7753],[8036,7750],[8003,7734],[7999,7721],[8001,7714],[8010,7712],[8028,7695],[8018,7685],[7992,7685],[7978,7668],[7978,7668]]]}},{type:"Feature",id:"KR",properties:{"hc-group":"admin0","hc-middle-x":.44,"hc-middle-y":.49,"hc-key":"kr","hc-a2":"KR",name:"South Korea",labelrank:"2","country-abbrev":"S.K.",subregion:"Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"KOR","iso-a2":"KR","woe-id":"23424868",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7992,7685],[8018,7685],[8028,7695],[8035,7679],[8056,7650],[8060,7633],[8058,7613],[8063,7609],[8060,7590],[8052,7578],[8038,7572],[8039,7566],[8029,7565],[8019,7571],[8019,7564],[8004,7563],[7992,7554],[7994,7564],[7974,7548],[7966,7559],[7960,7575],[7971,7577],[7968,7
38582],[7972,7594],[7982,7602],[7973,7612],[7968,7633],[7973,7642],[7985,7638],[7977,7649],[7982,7650],[7966,7664],[7978,7668],[7978,7668],[7978,7668],[7978,7672],[7992,7685]]]}},{type:"Feature",id:"GY",properties:{"hc-group":"admin0","hc-middle-x":.39,"hc-middle-y":.28,"hc-key":"gy","hc-a2":"GY",name:"Guyana",labelrank:"4","country-abbrev":"Guy.",subregion:"South America","region-wb":"Latin America & Caribbean","iso-a3":"GUY","iso-a2":"GY","woe-id":"23424836",continent:"South America"},geometry:{type:"Polygon",coordinates:[[[2481,6756],[2506,6741],[2527,6719],[2522,6696],[2528,6706],[2538,6705],[2565,6683],[2563,6666],[2562,6652],[2549,6651],[2538,6627],[2553,6603],[2561,6605],[2565,6588],[2579,6565],[2585,6562],[2576,6560],[2567,6564],[2553,6555],[2531,6552],[2525,6542],[2514,6541],[2504,6545],[2489,6559],[2489,6571],[2482,6584],[2486,6611],[2495,6620],[2491,6633],[2477,6637],[2482,6654],[2475,6659],[2460,6657],[2441,6678],[2449,6686],[2448,6702],[2460,6703],[2473,6713],[2463,6717],[2460,6726],[2467,6734],[2481,6741],[2487,6748],[2481,6756]]]}},{type:"Feature",id:"HN",properties:{"hc-group":"admin0","hc-middle-x":.71,"hc-middle-y":.1,"hc-key":"hn","hc-a2":"HN",name:"Honduras",labelrank:"5","country-abbrev":"Hond.",subregion:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"HND","iso-a2":"HN","woe-id":"23424841",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1651,6969],[1665,6975],[1690,6970],[1706,6971],[1718,6977],[1731,6973],[1745,6977],[1766,6971],[1778,6962],[1773,6958],[1782,6954],[1794,6954],[1801,6947],[1761,6936],[1752,6941],[1741,6935],[1741,6927],[1721,6913],[1713,6919],[1704,6910],[1695,6910],[1695,6897],[1686,6887],[1677,6887],[1672,6896],[1663,6900],[1666,6912],[1655,6917],[1643,6913],[1625,6929],[1617,6930],[1623,6938],[1621,6943],[1651,6969]]]}},{type:"Feature",id:"GA",properties:{"hc-group":"admin0","hc-middle-x":.34,"hc-middle-y":.63,"hc-key":"ga","hc-a2":"GA",name:"Gabon",labelrank:"4","country-abbrev":"Gabon",subregion:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"GAB","iso-a2":"GA","woe-id":"23424822",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4582,6569],[4582,6572],[4638,6572],[4640,6568],[4635,6552],[4638,6541],[4654,6547],[4666,6546],[4674,6532],[4657,6511],[4655,6499],[4664,6496],[4675,6487],[4672,6475],[4674,6460],[4663,6432],[4653,6444],[4645,6434],[4630,6436],[4625,6449],[4614,6450],[4615,6437],[4603,6435],[4588,6436],[4592,6412],[4600,6409],[4591,6398],[4586,6403],[4575,6390],[4562,6404],[4561,6408],[4540,6426],[4521,6450],[4524,6466],[4514,6467],[4504,6488],[4514,6484],[4521,6493],[4522,6515],[4528,6508],[4537,6509],[4528,6514],[4522,6523],[4532,6523],[4530,6533],[4537,6534],[4582,6534],[4582,6569]]]}},{type:"Feature",id:"NI",properties:{"hc-group":"admin0","hc-middle-x":.84,"hc-middle-y":.49,"hc-key":"ni","hc-a2":"NI",name:"Nicaragua",labelrank:"5","country-abbrev":"Nic.",subregion:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"NIC","iso-a2":"NI","woe-id":"23424915",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1725,6831],[1701,6851],[1693,6864],[1668,6884],[1669,6889],[1677,6887],[1686,6887],[1695,6897],[1695,6910],[1704,6910],[1713,6919],[1721,6913],[1741,6927],[1741,6935],[1752,6941],[1761,6936],[1801,6947],[1796,6940],[1799,6929],[1792,6916],[1788,6896],[1790,6870],[1787,6877],[1783,6855],[1785,6846],[1779,6839],[1785,6826],[1777,6820],[1764,6828],[1755,6830],[1748,6826],[1728,6834],[1725,6831]]]}},{type:"Feature",id:"ET",properties:{"hc-group":"admin0","hc-middle-x":.45,"hc-middle-y":.58,"hc-key":"et","hc-a2":"ET",name:"Ethiopia",labelrank:"2","country-abbrev":"Eth.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"ETH","iso-a2":"ET","woe-id":"23424808",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5478,6837],[5475,6834],[5478,6831],[5483,6826],[5503,6831],[5512,6828],[5504,6817],[5509,6805],[5527,6781],[5544,6769],[5631,6740],[5661,6740],[5615,6695],[5571,6649],[5543,6650],[5518,6641],[5508,6631],[5489,6628],[5481,6622],[5459,6621],[5448,6631],[5421,6618],[5412,6605],[5382,6611],[5370,6611],[5333,6635],[5309,6635],[5306,6640],[5302,6645],[5302,6661],[5288,6662],[5278,6676],[5271,6700],[5258,6709],[5249,6722],[5241,6730],[5221,6734],[5225,6752],[5248,6753],[5253,6758],[5251,6783],[5259,6807],[5257,6815],[5266,6825],[5277,6824],[5280,6851],[5285,6855],[5297,687
385],[5311,6878],[5315,6898],[5319,6905],[5324,6925],[5340,6926],[5346,6931],[5354,6921],[5364,6944],[5380,6930],[5399,6936],[5403,6930],[5412,6934],[5429,6931],[5450,6920],[5461,6906],[5476,6895],[5483,6884],[5496,6872],[5477,6844],[5478,6837]]]}},{type:"Feature",id:"SD",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.38,"hc-key":"sd","hc-a2":"SD",name:"Sudan",labelrank:"3","country-abbrev":"Sudan",subregion:"Northern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"SDN","iso-a2":"SD","woe-id":"-90",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5324,6925],[5319,6905],[5315,6898],[5311,6878],[5297,6875],[5285,6855],[5280,6851],[5277,6824],[5266,6825],[5257,6815],[5259,6807],[5251,6783],[5246,6783],[5246,6804],[5225,6824],[5222,6846],[5226,6864],[5212,6864],[5212,6858],[5193,6858],[5200,6849],[5203,6830],[5189,6818],[5180,6805],[5168,6792],[5153,6791],[5132,6807],[5120,6800],[5116,6792],[5102,6787],[5097,6779],[5074,6779],[5069,6787],[5045,6787],[5030,6784],[5011,6804],[5009,6811],[4987,6807],[4978,6793],[4971,6766],[4960,6760],[4940,6763],[4939,6774],[4944,6777],[4944,6796],[4934,6812],[4921,6826],[4923,6840],[4912,6848],[4914,6860],[4902,6880],[4894,6877],[4894,6889],[4904,6897],[4898,6911],[4912,6921],[4907,6934],[4916,6938],[4924,6954],[4923,6964],[4928,6968],[4954,6969],[4954,7083],[4954,7098],[4984,7098],[4984,7159],[5168,7159],[5334,7159],[5334,7148],[5341,7137],[5344,7115],[5343,7109],[5347,7073],[5354,7059],[5357,7060],[5369,7048],[5385,7038],[5373,7023],[5352,7017],[5349,7008],[5338,7009],[5334,6993],[5336,6985],[5321,6951],[5324,6925]]]}},{type:"Feature",id:"SO",properties:{"hc-group":"admin0","hc-middle-x":.38,"hc-middle-y":.74,"hc-key":"so","hc-a2":"SO",name:"Somalia",labelrank:"6","country-abbrev":"Som.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"SOM","iso-a2":"SO","woe-id":"-90",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5481,6622],[5489,6628],[5508,6631],[5518,6641],[5543,6650],[5571,6649],[5615,6695],[5661,6740],[5689,6782],[5689,6836],[5708,6842],[5728,6846],[5744,6858],[5758,6853],[5752,6834],[5755,6815],[5761,6813],[5748,6808],[5745,6783],[5733,6765],[5729,6754],[5716,6739],[5715,6732],[5702,6711],[5693,6693],[5692,6685],[5680,6666],[5667,6649],[5660,6636],[5621,6594],[5603,6576],[5560,6551],[5528,6523],[5487,6480],[5471,6456],[5471,6459],[5455,6480],[5455,6588],[5465,6599],[5481,6622]]]}},{type:"Feature",id:"GH",properties:{"hc-group":"admin0","hc-middle-x":.13,"hc-middle-y":.78,"hc-key":"gh","hc-a2":"GH",name:"Ghana",labelrank:"3","country-abbrev":"Ghana",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"GHA","iso-a2":"GH","woe-id":"23424824",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4283,6684],[4277,6676],[4258,6674],[4237,6666],[4225,6658],[4202,6652],[4187,6644],[4179,6649],[4160,6655],[4167,6657],[4166,6669],[4161,6670],[4152,6699],[4158,6712],[4165,6734],[4174,6746],[4171,6767],[4166,6771],[4169,6784],[4162,6820],[4167,6828],[4228,6828],[4243,6832],[4249,6830],[4246,6817],[4260,6807],[4255,6786],[4264,6781],[4259,6761],[4269,6748],[4265,6746],[4267,6720],[4263,6705],[4271,6693],[4283,6684]]]}},{type:"Feature",id:"CI",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.52,"hc-key":"ci","hc-a2":"CI",name:"Ivory Coast",labelrank:"3","country-abbrev":"I.C.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"CIV","iso-a2":"CI","woe-id":"23424854",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4169,6784],[4166,6771],[4171,6767],[4174,6746],[4165,6734],[4158,6712],[4152,6699],[4161,6670],[4166,6669],[4167,6657],[4160,6655],[4131,6658],[4086,6654],[4045,6641],[4026,6633],[4026,6633],[4026,6633],[4026,6633],[4025,6633],[4025,6653],[4031,6668],[4029,6676],[4019,6680],[4015,6689],[3994,6695],[4002,6703],[4004,6714],[3998,6727],[4006,6726],[4012,6743],[4005,6753],[4022,6757],[4014,6763],[4017,6781],[4011,6781],[4007,6797],[4013,6803],[4022,6812],[4043,6804],[4051,6809],[4052,6818],[4059,6815],[4064,6820],[4064,6807],[4071,6804],[4077,6811],[4086,6811],[4095,6808],[4102,6796],[4110,6789],[4121,6787],[4123,6791],[4140,6797],[4154,6796],[4167,6781],[4169,6784]]]}},{type:"Feature",id:"SI",properties:{"hc-group":"admin0","hc-middle-x":.52,"hc-middle-y":.56,"hc-key":"si","hc-a2":"SI",name:"Slovenia",labelrank:"6","country-abbrev":"Slo.",subregi
38on:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"SVN","iso-a2":"SI","woe-id":"23424945",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4648,7938],[4648,7940],[4652,7942],[4657,7943],[4645,7957],[4650,7963],[4642,7967],[4652,7976],[4676,7970],[4685,7979],[4720,7982],[4722,7988],[4727,7988],[4734,7975],[4709,7964],[4709,7950],[4697,7946],[4700,7938],[4694,7936],[4680,7939],[4671,7937],[4648,7938]]]}},{type:"Feature",id:"GT",properties:{"hc-group":"admin0","hc-middle-x":.47,"hc-middle-y":.47,"hc-key":"gt","hc-a2":"GT",name:"Guatemala",labelrank:"3","country-abbrev":"Guat.",subregion:"Central America","region-wb":"Latin America & Caribbean","iso-a3":"GTM","iso-a2":"GT","woe-id":"23424834",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1630,6974],[1640,6968],[1639,6976],[1651,6969],[1621,6943],[1623,6938],[1617,6930],[1595,6913],[1596,6909],[1577,6915],[1560,6916],[1546,6923],[1532,6934],[1537,6949],[1533,6956],[1548,6979],[1584,6979],[1587,6988],[1577,7e3],[1556,7015],[1569,7015],[1570,7032],[1623,7032],[1623,7008],[1621,6974],[1630,6974]]]}},{type:"Feature",id:"BA",properties:{"hc-group":"admin0","hc-middle-x":.56,"hc-middle-y":.31,"hc-key":"ba","hc-a2":"BA",name:"Bosnia and Herzegovina",labelrank:"5","country-abbrev":"B.H.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"BIH","iso-a2":"BA","woe-id":"23424761",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4768,7844],[4765,7846],[4766,7846],[4756,7865],[4751,7866],[4726,7891],[4723,7903],[4713,7914],[4713,7926],[4719,7928],[4729,7920],[4733,7927],[4746,7930],[4773,7922],[4785,7926],[4798,7923],[4808,7915],[4818,7916],[4811,7903],[4813,7894],[4826,7885],[4814,7882],[4822,7868],[4813,7867],[4805,7866],[4791,7848],[4794,7835],[4791,7832],[4774,7842],[4768,7844]]]}},{type:"Feature",id:"JO",properties:{"hc-group":"admin0","hc-middle-x":.07,"hc-middle-y":.78,"hc-key":"jo","hc-a2":"JO",name:"Jordan",labelrank:"4","country-abbrev":"Jord.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"JOR","iso-a2":"JO","woe-id":"23424860",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5291,7445],[5294,7448],[5290,7450],[5290,7451],[5291,7453],[5295,7453],[5295,7467],[5294,7477],[5295,7487],[5295,7496],[5301,7499],[5319,7487],[5332,7485],[5390,7520],[5398,7491],[5403,7486],[5401,7479],[5395,7475],[5336,7458],[5366,7426],[5356,7420],[5351,7410],[5330,7406],[5322,7394],[5309,7384],[5277,7389],[5279,7395],[5277,7396],[5283,7415],[5283,7424],[5291,7445]]]}},{type:"Feature",id:"SY",properties:{"hc-group":"admin0","hc-middle-x":.26,"hc-middle-y":.54,"hc-key":"sy","hc-a2":"SY",name:"Syria",labelrank:"3","country-abbrev":"Syria",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"SYR","iso-a2":"SY","woe-id":"23424956",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5390,7520],[5332,7485],[5319,7487],[5301,7499],[5305,7506],[5303,7521],[5306,7528],[5326,7547],[5320,7561],[5307,7562],[5304,7571],[5306,7587],[5300,7592],[5305,7604],[5312,7601],[5319,7606],[5319,7614],[5328,7614],[5324,7623],[5327,7634],[5338,7628],[5351,7628],[5373,7637],[5387,7631],[5403,7629],[5419,7632],[5447,7644],[5469,7643],[5485,7646],[5491,7651],[5495,7644],[5480,7627],[5468,7624],[5462,7608],[5466,7595],[5461,7579],[5461,7566],[5455,7554],[5446,7551],[5390,7520]]]}},{type:"Feature",id:"WE",properties:{"hc-group":"admin0","hc-middle-x":.55,"hc-middle-y":.51,"hc-key":"we","hc-a2":"WE",name:"West Bank",labelrank:"4","country-abbrev":"We. B.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"WEB","iso-a2":"WE","woe-id":"-90",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5295,7467],[5291,7463],[5290,7458],[5275,7455],[5284,7468],[5277,7480],[5285,7492],[5295,7487],[5294,7477],[5295,7467]]]}},{type:"Feature",id:"IL",properties:{"hc-group":"admin0","hc-middle-x":.69,"hc-middle-y":.11,"hc-key":"il","hc-a2":"IL",name:"Israel",labelrank:"4","country-abbrev":"Isr.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"ISR","iso-a2":"IL","woe-id":"23424852",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5295,7487],[5285,7492],[5277,7480],[5284,7468],[5275,7455],[5290,7458],[5291,7453],[5291,7453],[5290,7451],[5290,7450],[5289,7448],[5291,7445],[5283,7424],[5283,7415],[5277,7396],[5276,7394],[5275,7394],[5273,7402],[5257,7449],[5265,7459],[5263,7461],[5274,7484],[527
387,7501],[5282,7510],[5293,7510],[5303,7521],[5305,7506],[5301,7499],[5295,7496],[5295,7487]]]}},{type:"Feature",id:"EG",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.66,"hc-key":"eg","hc-a2":"EG",name:"Egypt",labelrank:"2","country-abbrev":"Egypt",subregion:"Northern Africa","region-wb":"Middle East & North Africa","iso-a3":"EGY","iso-a2":"EG","woe-id":"23424802",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5257,7449],[5273,7402],[5275,7394],[5271,7388],[5268,7371],[5261,7356],[5262,7346],[5252,7340],[5227,7364],[5224,7379],[5212,7393],[5207,7409],[5200,7397],[5208,7389],[5209,7377],[5216,7365],[5235,7345],[5234,7335],[5249,7310],[5250,7303],[5265,7275],[5286,7233],[5300,7221],[5294,7220],[5293,7205],[5299,7188],[5314,7179],[5334,7159],[5168,7159],[4984,7159],[4984,7384],[4975,7415],[4984,7435],[4980,7455],[4989,7464],[4996,7459],[5008,7462],[5053,7454],[5070,7446],[5084,7445],[5103,7437],[5117,7441],[5142,7459],[5147,7455],[5160,7456],[5167,7461],[5176,7457],[5188,7459],[5184,7452],[5193,7445],[5200,7451],[5208,7444],[5223,7450],[5239,7446],[5255,7452],[5256,7451],[5257,7449]]]}},{type:"Feature",id:"ZM",properties:{"hc-group":"admin0","hc-middle-x":.25,"hc-middle-y":.67,"hc-key":"zm","hc-a2":"ZM",name:"Zambia",labelrank:"3","country-abbrev":"Zambia",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"ZMB","iso-a2":"ZM","woe-id":"23425003",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5095,6017],[5085,6017],[5073,6008],[5066,6008],[5053,5990],[5054,5987],[5044,5974],[5035,5971],[5020,5976],[5013,5973],[5004,5979],[4992,5979],[4983,5986],[4961,5989],[4937,5984],[4918,5998],[4899,6017],[4895,6028],[4895,6123],[4955,6123],[4951,6129],[4956,6141],[4954,6164],[4957,6170],[4954,6186],[4966,6179],[4963,6171],[4992,6176],[4995,6163],[5013,6155],[5034,6152],[5048,6165],[5062,6144],[5083,6139],[5107,6110],[5119,6116],[5125,6110],[5126,6148],[5116,6145],[5117,6139],[5103,6141],[5088,6156],[5083,6169],[5091,6196],[5093,6218],[5088,6230],[5102,6242],[5106,6251],[5099,6257],[5100,6257],[5148,6264],[5145,6256],[5155,6254],[5162,6247],[5166,6253],[5177,6250],[5190,6239],[5202,6237],[5217,6229],[5231,6215],[5240,6195],[5229,6188],[5231,6177],[5227,6170],[5227,6148],[5231,6137],[5219,6131],[5220,6117],[5214,6102],[5220,6092],[5226,6093],[5138,6064],[5143,6044],[5127,6045],[5114,6042],[5098,6032],[5095,6017]]]}},{type:"Feature",id:"MC",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.67,"hc-key":"mc","hc-a2":"MC",name:"Monaco",labelrank:"6","country-abbrev":"Mco.",subregion:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"MCO","iso-a2":"MC","woe-id":"23424892",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4467,7875],[4466,7874],[4465,7874],[4466,7875],[4467,7875]]]}},{type:"Feature",id:"UY",properties:{"hc-group":"admin0","hc-middle-x":.76,"hc-middle-y":.87,"hc-key":"uy","hc-a2":"UY",name:"Uruguay",labelrank:"4","country-abbrev":"Ury.",subregion:"South America","region-wb":"Latin America & Caribbean","iso-a3":"URY","iso-a2":"UY","woe-id":"23424979",continent:"South America"},geometry:{type:"Polygon",coordinates:[[[2683,5514],[2678,5505],[2669,5499],[2672,5485],[2672,5482],[2677,5479],[2665,5457],[2651,5447],[2631,5438],[2618,5444],[2605,5445],[2590,5440],[2566,5455],[2545,5455],[2529,5472],[2530,5498],[2533,5501],[2536,5503],[2539,5506],[2535,5521],[2538,5553],[2546,5571],[2545,5585],[2552,5594],[2564,5591],[2575,5597],[2599,5575],[2599,5565],[2611,5573],[2621,5561],[2641,5553],[2654,5539],[2665,5534],[2669,5525],[2683,5514]]]}},{type:"Feature",id:"RW",properties:{"hc-group":"admin0","hc-middle-x":.48,"hc-middle-y":.55,"hc-key":"rw","hc-a2":"RW",name:"Rwanda",labelrank:"3","country-abbrev":"Rwa.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"RWA","iso-a2":"RW","woe-id":"23424937",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5145,6474],[5156,6459],[5156,6437],[5148,6435],[5129,6437],[5129,6428],[5123,6423],[5102,6426],[5099,6428],[5098,6433],[5113,6446],[5109,6456],[5113,6461],[5119,6465],[5128,6462],[5145,6474]]]}},{type:"Feature",id:"BO",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.59,"hc-key":"bo","hc-a2":"BO",name:"Bolivia",labelrank:"3","country-abbrev":"Bolivia",subregi
38on:"South America","region-wb":"Latin America & Caribbean","iso-a3":"BOL","iso-a2":"BO","woe-id":"23424762",continent:"South America"},geometry:{type:"MultiPolygon",coordinates:[[[[2213,6026],[2216,6030],[2218,6027],[2215,6027],[2213,6026]]],[[[2202,5988],[2197,5994],[2215,6017],[2228,6027],[2221,6027],[2223,6035],[2206,6048],[2212,6056],[2205,6064],[2209,6075],[2220,6087],[2216,6100],[2217,6127],[2226,6138],[2200,6184],[2237,6183],[2243,6191],[2254,6191],[2266,6202],[2274,6204],[2286,6215],[2321,6221],[2325,6217],[2322,6198],[2323,6178],[2329,6160],[2334,6153],[2350,6145],[2352,6139],[2370,6139],[2382,6133],[2391,6133],[2399,6123],[2418,6119],[2427,6107],[2451,6109],[2468,6099],[2468,6085],[2473,6074],[2473,6060],[2464,6060],[2475,6048],[2478,6025],[2527,6023],[2529,5995],[2547,5986],[2554,5967],[2547,5941],[2537,5921],[2545,5913],[2536,5907],[2535,5918],[2508,5934],[2481,5934],[2430,5923],[2424,5909],[2415,5895],[2415,5880],[2404,5844],[2399,5851],[2365,5851],[2354,5825],[2347,5845],[2334,5848],[2312,5848],[2298,5857],[2294,5847],[2283,5844],[2270,5826],[2250,5825],[2250,5834],[2243,5853],[2240,5873],[2229,5886],[2232,5893],[2226,5897],[2223,5910],[2229,5911],[2225,5920],[2231,5929],[2217,5944],[2212,5969],[2202,5988]]]]}},{type:"Feature",id:"CG",properties:{"hc-group":"admin0","hc-middle-x":.15,"hc-middle-y":.78,"hc-key":"cg","hc-a2":"CG",name:"Republic of Congo",labelrank:"4","country-abbrev":"Rep. Congo",subregion:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"COG","iso-a2":"CG","woe-id":"23424779",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4640,6568],[4668,6568],[4677,6570],[4687,6564],[4697,6565],[4724,6556],[4721,6563],[4725,6571],[4733,6588],[4736,6607],[4762,6614],[4773,6609],[4792,6611],[4797,6607],[4796,6597],[4780,6568],[4780,6551],[4774,6535],[4777,6519],[4770,6499],[4771,6490],[4757,6475],[4744,6468],[4735,6451],[4726,6443],[4724,6421],[4726,6409],[4716,6390],[4706,6387],[4696,6378],[4685,6364],[4672,6362],[4671,6380],[4652,6368],[4641,6365],[4633,6370],[4627,6376],[4613,6370],[4602,6358],[4596,6370],[4575,6390],[4586,6403],[4591,6398],[4600,6409],[4592,6412],[4588,6436],[4603,6435],[4615,6437],[4614,6450],[4625,6449],[4630,6436],[4645,6434],[4653,6444],[4663,6432],[4674,6460],[4672,6475],[4675,6487],[4664,6496],[4655,6499],[4657,6511],[4674,6532],[4666,6546],[4654,6547],[4638,6541],[4635,6552],[4640,6568]]]}},{type:"Feature",id:"EH",properties:{"hc-group":"admin0","hc-middle-x":.41,"hc-middle-y":.71,"hc-key":"eh","hc-a2":"EH",name:"Western Sahara",labelrank:"7","country-abbrev":"W. Sah.",subregion:"Northern Africa","region-wb":"Middle East & North Africa","iso-a3":"ESH","iso-a2":"EH","woe-id":"23424990",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3746,7121],[3745,7124],[3747,7141],[3784,7144],[3811,7142],[3817,7155],[3829,7169],[3835,7203],[3843,7214],[3856,7220],[3864,7233],[3882,7247],[3894,7284],[3903,7287],[3914,7303],[3913,7311],[3927,7315],[3946,7310],[3962,7310],[3971,7318],[3989,7319],[3989,7336],[3993,7336],[3993,7324],[3992,7283],[3894,7283],[3894,7205],[3877,7198],[3865,7191],[3861,7182],[3863,7174],[3865,7139],[3749,7139],[3746,7121]]]}},{type:"Feature",id:"RS",properties:{"hc-group":"admin0","hc-middle-x":.43,"hc-middle-y":.51,"hc-key":"rs","hc-a2":"RS",name:"Republic of Serbia",labelrank:"5","country-abbrev":"Serb.",subregi
38on:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"SRB","iso-a2":"RS","woe-id":"-90",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4808,7915],[4809,7925],[4819,7926],[4808,7933],[4805,7954],[4815,7956],[4824,7963],[4844,7961],[4860,7947],[4859,7938],[4881,7925],[4877,7915],[4901,7902],[4908,7910],[4918,7905],[4910,7902],[4916,7892],[4906,7877],[4911,7865],[4925,7855],[4917,7844],[4911,7843],[4906,7824],[4904,7826],[4883,7821],[4889,7836],[4878,7839],[4869,7851],[4861,7857],[4847,7842],[4835,7852],[4826,7854],[4813,7867],[4822,7868],[4814,7882],[4826,7885],[4813,7894],[4811,7903],[4818,7916],[4808,7915]]]}},{type:"Feature",id:"ME",properties:{"hc-group":"admin0","hc-middle-x":.42,"hc-middle-y":.47,"hc-key":"me","hc-a2":"ME",name:"Montenegro",labelrank:"6","country-abbrev":"Mont.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"MNE","iso-a2":"ME","woe-id":"20069817",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4813,7867],[4826,7854],[4835,7852],[4847,7842],[4838,7838],[4839,7832],[4832,7829],[4828,7836],[4819,7824],[4819,7824],[4818,7823],[4818,7823],[4812,7822],[4818,7816],[4818,7811],[4818,7807],[4797,7829],[4793,7827],[4791,7830],[4791,7832],[4794,7835],[4791,7848],[4805,7866],[4813,7867]]]}},{type:"Feature",id:"TG",properties:{"hc-group":"admin0","hc-middle-x":.7,"hc-middle-y":.81,"hc-key":"tg","hc-a2":"TG",name:"Togo",labelrank:"6","country-abbrev":"Togo",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"TGO","iso-a2":"TG","woe-id":"23424965",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4275,6828],[4271,6809],[4287,6799],[4290,6777],[4295,6771],[4296,6710],[4294,6701],[4301,6689],[4296,6687],[4290,6686],[4283,6684],[4271,6693],[4263,6705],[4267,6720],[4265,6746],[4269,6748],[4259,6761],[4264,6781],[4255,6786],[4260,6807],[4246,6817],[4249,6830],[4243,6832],[4262,6828],[4275,6828]]]}},{type:"Feature",id:"MM",properties:{"hc-group":"admin0","hc-middle-x":.18,"hc-middle-y":.49,"hc-key":"mm","hc-a2":"MM",name:"Myanmar",labelrank:"3","country-abbrev":"Myan.",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"MMR","iso-a2":"MM","woe-id":"23424763",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7227,7146],[7214,7138],[7208,7123],[7199,7119],[7195,7108],[7191,7112],[7172,7100],[7166,7102],[7163,7093],[7149,7088],[7134,7092],[7127,7080],[7123,7065],[7126,7055],[7115,7053],[7126,7036],[7124,7032],[7137,7016],[7146,7008],[7147,6999],[7154,6985],[7149,6957],[7138,6951],[7141,6941],[7150,6929],[7161,6919],[7167,6909],[7169,6880],[7175,6875],[7182,6852],[7169,6831],[7156,6819],[7156,6809],[7150,6798],[7140,6800],[7148,6805],[7147,6820],[7140,6814],[7139,6827],[7155,6826],[7153,6832],[7156,6851],[7150,6852],[7149,6844],[7142,6853],[7153,6856],[7154,6865],[7132,6869],[7142,6873],[7143,6878],[7151,6871],[7151,6893],[7138,6908],[7128,6944],[7125,6974],[7121,6977],[7106,7015],[7101,7019],[7098,6999],[7093,6993],[7083,6995],[7083,6988],[7071,6984],[7058,6969],[7045,6970],[7022,6978],[7024,6993],[7034,7024],[7028,7047],[7020,7062],[7006,7064],[7001,7077],[7011,7075],[7005,7083],[7014,7081],[6997,7101],[6987,7098],[6980,7104],[6968,7119],[6965,7130],[6966,7143],[6976,7138],[6974,7159],[6977,7164],[6986,7159],[6991,7171],[6990,7190],[6997,7194],[6999,7210],[6995,7222],[7019,7216],[7024,7231],[7037,7253],[7034,7264],[7045,7275],[7050,7285],[7046,7298],[7079,7323],[7097,7326],[7108,7319],[7100,7334],[7114,7343],[7114,7353],[7120,7363],[7137,7351],[7142,7332],[7154,7333],[7156,7303],[7150,7287],[7154,7280],[7137,7264],[7128,7260],[7120,7244],[7125,7225],[7123,7217],[7139,7225],[7151,7223],[7159,7209],[7159,7196],[7178,7192],[7172,7182],[7174,7174],[7167,7164],[7191,7161],[7191,7151],[7198,7142],[7213,7144],[7225,7152],[7227,7146]]]}},{type:"Feature",id:"LA",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.26,"hc-key":"la","hc-a2":"LA",name:"Laos",labelrank:"4","country-abbrev":"Laos",subregion:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"LAO","iso-a2":"LA","woe-id":"23424872",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7195,7108],[7199,7119],[7208,7123],[7214,7138],[7227,7146],[7230,7134],[7243,7133],[7244,7154],[7237,7166],[7241,7173],[7255,7171],[7280,7146],[7277,7138],[7284,7125],[7300,7118],[7312,7127],[7328,7118],[7321,7111],[7338,7101],[7334,7092],[7325,7086],[7317,7089],[7306,7077],[7331,7061],[7343,7059],[7342,7051],[7353,7043],[7361,7027],[7385,7006],[7385,6998],[7391,6990],[7407,6979],[7403,6970],[7418,6956],[7414,6938],[7397,6927],[7384,6935],[7368,6928],[7373,6919],[7367,6915],[7355,6922],[7350,6921],[7345,6928],[7352,6930],[7357,6947],[7353,6950],[7359,6966],[7352,6978],[7341,6981],[7332,6993],[7334,7018],[7319,7033],[7310,7047],[7292,7051],[7271,7033],[7254,7044],[7226,7021],[7219,7025],[7227,7039],[7223,7050],[7229,7058],[7231,7069],[7229,7085],[7206,7084],[7204,7091],[7209,7103],[7201,7110],[7195,7108]]]}},{type:"Feature",id:"AF",properties:{"hc-group":"admin0","hc-middle-x":.38,"hc-middle-y":.53,"hc-key":"af","hc-a2":"AF",name:"Afghanistan",labelrank:"3","country-abbrev":"Afg.",subregi
38on:"Southern Asia","region-wb":"South Asia","iso-a3":"AFG","iso-a2":"AF","woe-id":"23424739",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[6453,7648],[6448,7650],[6438,7645],[6443,7641],[6430,7635],[6416,7637],[6385,7634],[6374,7631],[6360,7620],[6357,7622],[6343,7608],[6356,7592],[6357,7580],[6352,7571],[6341,7562],[6340,7542],[6325,7538],[6309,7542],[6304,7538],[6312,7531],[6318,7518],[6306,7510],[6296,7510],[6292,7496],[6286,7488],[6289,7473],[6280,7463],[6273,7462],[6255,7469],[6238,7459],[6243,7453],[6231,7449],[6219,7452],[6202,7440],[6197,7405],[6163,7395],[6147,7396],[6135,7390],[6120,7394],[6088,7391],[6040,7406],[6067,7437],[6064,7455],[6039,7458],[6039,7483],[6031,7512],[6041,7525],[6030,7528],[6029,7543],[6034,7550],[6041,7551],[6035,7557],[6046,7567],[6047,7583],[6052,7594],[6060,7588],[6075,7587],[6083,7578],[6105,7588],[6113,7602],[6146,7615],[6155,7638],[6155,7643],[6164,7648],[6177,7648],[6184,7660],[6200,7651],[6207,7653],[6221,7653],[6228,7647],[6244,7647],[6251,7638],[6270,7650],[6279,7651],[6287,7644],[6293,7648],[6295,7660],[6314,7659],[6317,7664],[6314,7672],[6332,7689],[6348,7684],[6346,7672],[6356,7671],[6351,7643],[6357,7630],[6363,7630],[6376,7639],[6387,7641],[6390,7647],[6406,7656],[6420,7655],[6416,7648],[6446,7654],[6453,7648]]]}},{type:"Feature",id:"JK",properties:{"hc-group":"admin0","hc-middle-x":.4,"hc-middle-y":.63,"hc-key":"jk","hc-a2":"JK",name:"Siachen Glacier",labelrank:"5","country-abbrev":"Siachen",subregion:"Southern Asia","region-wb":"South Asia","iso-a3":"-99","iso-a2":"JK","woe-id":"23424928",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[6539,7590],[6517,7577],[6509,7595],[6527,7589],[6539,7590]]]}},{type:"Feature",id:"PK",properties:{"hc-group":"admin0","hc-middle-x":.29,"hc-middle-y":.74,"hc-key":"pk","hc-a2":"PK",name:"Pakistan",labelrank:"2","country-abbrev":"Pak.",subregion:"Southern Asia","region-wb":"South Asia","iso-a3":"PAK","iso-a2":"PK","woe-id":"23424922",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[6509,7595],[6517,7577],[6502,7564],[6487,7563],[6479,7557],[6435,7566],[6425,7561],[6420,7552],[6427,7547],[6425,7541],[6435,7539],[6426,7529],[6431,7525],[6427,7513],[6436,7506],[6436,7501],[6447,7502],[6448,7490],[6457,7490],[6467,7483],[6451,7476],[6441,7465],[6446,7445],[6437,7439],[6422,7421],[6425,7416],[6408,7408],[6404,7395],[6395,7379],[6379,7371],[6364,7345],[6334,7337],[6319,7347],[6297,7321],[6293,7309],[6304,7302],[6314,7300],[6311,7283],[6317,7274],[6328,7274],[6328,7266],[6340,7242],[6341,7234],[6331,7228],[6324,7234],[6308,7226],[6296,7230],[6272,7230],[6272,7220],[6256,7216],[6256,7216],[6256,7216],[6256,7216],[6239,7215],[6231,7223],[6225,7242],[6228,7244],[6211,7247],[6213,7259],[6204,7271],[6182,7263],[6148,7261],[6120,7263],[6118,7258],[6088,7260],[6065,7253],[6061,7258],[6064,7276],[6069,7291],[6081,7294],[6082,7299],[6096,7304],[6107,7303],[6112,7318],[6108,7323],[6097,7322],[6095,7355],[6070,7364],[6061,7374],[6052,7391],[6040,7406],[6088,7391],[6120,7394],[6135,7390],[6147,7396],[6163,7395],[6197,7405],[6202,7440],[6219,7452],[6231,7449],[6243,7453],[6238,7459],[6255,7469],[6273,7462],[6280,7463],[6289,7473],[6286,7488],[6292,7496],[6296,7510],[6306,7510],[6318,7518],[6312,7531],[6304,7538],[6309,7542],[6325,7538],[6340,7542],[6341,7562],[6352,7571],[6357,7580],[6356,7592],[6343,7608],[6357,7622],[6360,7620],[6374,7631],[6385,7634],[6416,7637],[6430,7635],[6443,7641],[6467,7637],[6468,7632],[6480,7630],[6485,7622],[6483,7610],[6491,7600],[6502,7603],[6509,7595]]]}},{type:"Feature",id:"BG",properties:{"hc-group":"admin0","hc-middle-x":.76,"hc-middle-y":.51,"hc-key":"bg","hc-a2":"BG",name:"Bulgaria",labelrank:"4","country-abbrev":"Bulg.",subregion:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"BGR","iso-a2":"BG","woe-id":"23424771",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[5090,7875],[5086,7861],[5077,7863],[5069,7848],[5069,7838],[5056,7829],[5062,7829],[5073,7812],[5059,7809],[5051,7816],[5030,7810],[5023,7803],[5015,7802],[5017,7790],[4993,7786],[4970,7797],[4956,7796],[4943,7791],[4923,7789],[4926,7803],[4921,7813],[4906,7824],[4911,7843],[4917,7844],[4925,7855],[4911,7865],[4906,7877],[4916,7892],[4926,7887],[4923,7878],[4935,7880],[4959,7875],[4970,7877],[4995,7871],[5007,7874],[5018,7884],[5044,7890],[5054,7884],[5070,7884],[5072,7878],[5090,7875]]]}},{type:"Feature",id:"UA",properties:{"hc-group":"admin0","hc-middle-x":.7,"hc-middle-y":.47,"hc-key":"ua","hc-a2":"UA",name:"Ukraine",labelrank:"3","country-abbrev":"Ukr.",subregi
38on:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"UKR","iso-a2":"UA","woe-id":"23424976",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4912,8071],[4921,8068],[4915,8089],[4928,8105],[4947,8122],[4958,8127],[4954,8138],[4959,8139],[4944,8158],[4943,8165],[4954,8168],[4966,8180],[4990,8182],[5007,8182],[5039,8175],[5048,8174],[5051,8168],[5083,8166],[5090,8167],[5094,8161],[5106,8170],[5111,8160],[5120,8164],[5136,8164],[5147,8154],[5147,8169],[5160,8187],[5183,8188],[5197,8188],[5201,8197],[5218,8194],[5226,8199],[5243,8198],[5252,8182],[5261,8177],[5253,8172],[5258,8160],[5255,8155],[5282,8152],[5292,8132],[5292,8125],[5299,8120],[5311,8123],[5326,8115],[5350,8123],[5367,8103],[5372,8109],[5395,8099],[5402,8101],[5420,8089],[5429,8091],[5430,8078],[5416,8069],[5424,8063],[5417,8059],[5426,8041],[5419,8024],[5391,8025],[5389,8019],[5377,8016],[5373,7997],[5355,7997],[5347,7989],[5305,7981],[5290,7970],[5287,7973],[5273,7963],[5275,7954],[5288,7934],[5299,7932],[5304,7937],[5325,7936],[5321,7922],[5304,7920],[5297,7924],[5279,7914],[5263,7910],[5248,7898],[5231,7904],[5237,7906],[5236,7923],[5217,7933],[5205,7932],[5216,7943],[5243,7954],[5227,7965],[5223,7962],[5198,7961],[5185,7969],[5201,7974],[5206,7978],[5191,7980],[5161,7979],[5146,7959],[5124,7942],[5121,7950],[5121,7928],[5111,7936],[5095,7928],[5082,7932],[5078,7937],[5101,7957],[5100,7973],[5108,7970],[5115,7974],[5127,7969],[5129,7986],[5118,7991],[5118,8005],[5114,8004],[5105,8013],[5109,8026],[5096,8035],[5075,8040],[5065,8048],[5048,8044],[5038,8046],[5032,8040],[5023,8039],[5019,8030],[4992,8027],[4981,8020],[4971,8029],[4962,8027],[4936,8030],[4929,8034],[4922,8029],[4914,8035],[4900,8046],[4905,8057],[4912,8071]],[[5289,7932],[5279,7945],[5273,7958],[5255,7967],[5239,7965],[5278,7944],[5282,7932],[5289,7932]]]}},{type:"Feature",id:"RO",properties:{"hc-group":"admin0","hc-middle-x":.67,"hc-middle-y":.5,"hc-key":"ro","hc-a2":"RO",name:"Romania",labelrank:"3","country-abbrev":"Rom.",subregion:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"ROU","iso-a2":"RO","woe-id":"23424933",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[5078,7937],[5082,7932],[5095,7928],[5111,7936],[5121,7928],[5120,7915],[5105,7912],[5101,7920],[5099,7905],[5091,7896],[5090,7875],[5072,7878],[5070,7884],[5054,7884],[5044,7890],[5018,7884],[5007,7874],[4995,7871],[4970,7877],[4959,7875],[4935,7880],[4923,7878],[4926,7887],[4916,7892],[4910,7902],[4918,7905],[4908,7910],[4901,7902],[4877,7915],[4881,7925],[4859,7938],[4860,7947],[4844,7961],[4870,7967],[4876,7979],[4881,7983],[4896,8012],[4904,8020],[4918,8024],[4922,8029],[4929,8034],[4936,8030],[4962,8027],[4971,8029],[4981,8020],[4992,8027],[5019,8030],[5023,8039],[5032,8040],[5043,8037],[5052,8018],[5067,7999],[5073,7995],[5079,7981],[5075,7957],[5078,7937]]]}},{type:"Feature",id:"QA",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.5,"hc-key":"qa","hc-a2":"QA",name:"Qatar",labelrank:"5","country-abbrev":"Qatar",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"QAT","iso-a2":"QA","woe-id":"23424930",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5744,7244],[5742,7268],[5747,7269],[5751,7285],[5757,7288],[5767,7280],[5764,7268],[5767,7251],[5763,7242],[5756,7240],[5749,7239],[5744,7244]]]}},{type:"Feature",id:"LI",properties:{"hc-group":"admin0","hc-middle-x":.61,"hc-middle-y":.53,"hc-key":"li","hc-a2":"LI",name:"Liechtenstein",labelrank:"6","country-abbrev":"Liech.",subregion:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"LIE","iso-a2":"LI","woe-id":"23424879",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4530,7996],[4527,7996],[4528,8003],[4531,7997],[4530,7996]]]}},{type:"Feature",id:"AT",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.61,"hc-key":"at","hc-a2":"AT",name:"Austria",labelrank:"4","country-abbrev":"Aust.",subregion:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"AUT","iso-a2":"AT","woe-id":"23424750",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4530,7996],[4531,7997],[4528,8003],[4532,8009],[4529,8012],[4533,8012],[4534,8014],[4552,8005],[4555,8015],[4571,8008],[4580,8008],[4590,8015],[4606,8016],[4607,8020],[4624,8018],[4632,8012],[4631,8025],[4623,8035],[4643,8045],[4646,8053],[4652,8050],[4655,8060],[4663,8053],[4681,8053],[4687,8059],[4689,8069],[4698,8068],[4720,8059],[4732,8061],[4745,8058],[4747,8053],[4744,8044],[4753,8031],[4751,8020],[4737,8021],[4738,8010],[4732,8006],[4734,7993],[4722,7988],[4720,7982],[4685,7979],[4676,7970],[4652,7976],[4613,7982],[4605,7993],[4581,7993],[4572,7985],[4556,7988],[4553,7993],[4546,7988],[4530,7996]]]}},{type:"Feature",id:"SK",properties:{"hc-group":"admin0","hc-middle-x":.78,"hc-middle-y":.28,"hc-key":"sk","hc-a2":"SK",name:"Slovakia",labelrank:"6","country-abbrev":"Svk.",subregi
38on:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"SVK","iso-a2":"SK","woe-id":"23424877",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4753,8031],[4744,8044],[4747,8053],[4754,8063],[4764,8061],[4780,8070],[4784,8079],[4794,8087],[4803,8088],[4813,8084],[4821,8091],[4830,8076],[4838,8075],[4846,8083],[4857,8084],[4865,8080],[4874,8086],[4891,8083],[4896,8076],[4912,8071],[4905,8057],[4900,8046],[4888,8044],[4879,8052],[4870,8049],[4851,8051],[4847,8041],[4834,8036],[4826,8039],[4822,8035],[4803,8032],[4802,8024],[4773,8021],[4759,8031],[4753,8031]]]}},{type:"Feature",id:"SZ",properties:{"hc-group":"admin0","hc-middle-x":.52,"hc-middle-y":.48,"hc-key":"sz","hc-a2":"SZ",name:"Swaziland",labelrank:"4","country-abbrev":"Swz.",subregion:"Southern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"SWZ","iso-a2":"SZ","woe-id":"23424993",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5189,5728],[5191,5718],[5194,5701],[5190,5702],[5189,5686],[5166,5689],[5155,5702],[5154,5712],[5164,5730],[5173,5735],[5189,5728]]]}},{type:"Feature",id:"HU",properties:{"hc-group":"admin0","hc-middle-x":.27,"hc-middle-y":.59,"hc-key":"hu","hc-a2":"HU",name:"Hungary",labelrank:"5","country-abbrev":"Hun.",subregion:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"HUN","iso-a2":"HU","woe-id":"23424844",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4844,7961],[4824,7963],[4815,7956],[4805,7954],[4790,7947],[4774,7948],[4759,7955],[4745,7970],[4734,7975],[4727,7988],[4722,7988],[4734,7993],[4732,8006],[4738,8010],[4737,8021],[4751,8020],[4753,8031],[4759,8031],[4773,8021],[4802,8024],[4803,8032],[4822,8035],[4826,8039],[4834,8036],[4847,8041],[4851,8051],[4870,8049],[4879,8052],[4888,8044],[4900,8046],[4914,8035],[4922,8029],[4918,8024],[4904,802
380],[4896,8012],[4881,7983],[4876,7979],[4870,7967],[4844,7961]]]}},{type:"Feature",id:"LY",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.39,"hc-key":"ly","hc-a2":"LY",name:"Libya",labelrank:"3","country-abbrev":"Libya",subregion:"Northern Africa","region-wb":"Middle East & North Africa","iso-a3":"LBY","iso-a2":"LY","woe-id":"23424882",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4689,7190],[4667,7178],[4645,7196],[4601,7206],[4589,7229],[4564,7238],[4554,7236],[4544,7248],[4542,7264],[4525,7287],[4527,7294],[4538,7299],[4540,7310],[4534,7324],[4541,7342],[4536,7355],[4537,7382],[4533,7398],[4522,7414],[4528,7417],[4539,7422],[4551,7440],[4546,7456],[4550,7464],[4558,7467],[4568,7479],[4589,7490],[4585,7496],[4586,7502],[4587,7513],[4612,7502],[4623,7501],[4641,7504],[4666,7498],[4674,7492],[4696,7487],[4701,7480],[4704,7464],[4721,7451],[4741,7450],[4759,7445],[4783,7435],[4807,7419],[4818,7420],[4830,7427],[4838,7436],[4841,7449],[4835,7466],[4839,7480],[4854,7493],[4884,7505],[4900,7506],[4928,7496],[4928,7485],[4957,7475],[4984,7474],[4989,7464],[4980,7455],[4984,7435],[4975,7415],[4984,7384],[4984,7159],[4984,7098],[4954,7098],[4954,7083],[4823,7150],[4719,7204],[4689,7190]]]}},{type:"Feature",id:"NE",properties:{"hc-group":"admin0","hc-middle-x":.65,"hc-middle-y":.53,"hc-key":"ne","hc-a2":"NE",name:"Niger",labelrank:"3","country-abbrev":"Niger",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"NER","iso-a2":"NE","woe-id":"23424906",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4601,7206],[4645,7196],[4667,7178],[4689,7190],[4695,7159],[4695,7144],[4708,7127],[4706,7122],[4718,7109],[4711,7095],[4704,7005],[4671,6970],[4655,6948],[4653,6939],[4644,6929],[4649,6909],[4642,6909],[4618,6895],[4615,6889],[4603,6891],[4585,6898],[4562,6899],[4541,6892],[4532,6882],[4504,6885],[4486,6897],[4476,6897],[4466,6891],[4452,6888],[4436,6906],[4412,6914],[4403,6910],[4381,6908],[4370,6902],[4369,6887],[4355,6874],[4354,6849],[4332,6870],[4318,6864],[4319,6855],[4309,6867],[4314,6870],[4310,6879],[4293,6877],[4277,6890],[4276,6905],[4266,6908],[4253,6934],[4255,6945],[4277,6947],[4287,6956],[4351,6958],[4362,6969],[4371,6990],[4373,7007],[4373,7072],[4420,7082],[4468,7125],[4601,7206]]]}},{type:"Feature",id:"LU",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.59,"hc-key":"lu","hc-a2":"LU",name:"Luxembourg",labelrank:"6","country-abbrev":"Lux.",subregion:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"LUX","iso-a2":"LU","woe-id":"23424881",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4435,8086],[4424,8085],[4419,8089],[4416,8102],[4425,8113],[4428,8111],[4431,8102],[4440,8099],[4435,8086]]]}},{type:"Feature",id:"AD",properties:{"hc-group":"admin0","hc-middle-x":.58,"hc-middle-y":.31,"hc-key":"ad","hc-a2":"AD",name:"Andorra",labelrank:"6","country-abbrev":"And.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"AND","iso-a2":"AD","woe-id":"23424744",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4290,7834],[4299,7834],[4298,7830],[4293,7828],[4290,7834]]]}},{type:"Feature",id:"LR",properties:{"hc-group":"admin0","hc-middle-x":.94,"hc-middle-y":.74,"hc-key":"lr","hc-a2":"LR",name:"Liberia",labelrank:"4","country-abbrev":"Liberia",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"LBR","iso-a2":"LR","woe-id":"23424876",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3998,6727],[4004,6714],[4002,6703],[3994,6695],[4015,6689],[4019,6680],[4029,6676],[4031,6668],[4025,6653],[4026,6633],[4026,6633],[4026,6633],[4005,6639],[3975,6656],[3942,6686],[3914,6701],[3910,6708],[3913,6714],[3936,6733],[3936,6740],[3943,6744],[3945,6754],[3959,6755],[3968,6750],[3973,6729],[3969,6723],[3979,6716],[3987,6718],[3992,6731],[3998,6727]]]}},{type:"Feature",id:"SL",properties:{"hc-group":"admin0","hc-middle-x":.48,"hc-middle-y":.48,"hc-key":"sl","hc-a2":"SL",name:"Sierra Leone",labelrank:"4","country-abbrev":"S.L.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"SLE","iso-a2":"SL","woe-id":"23424946",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3945,6754],[3943,6744],[3936,6740],[3936,6733],[3913,6714],[3910,6708],[3900,6715],[3867,6727],[3877,6728],[3866,6747],[3861,6745],[3857,6770],[3865,6772],[3874,6781],[3880,6794],[3897,6798],[3916,6798],[3934,6778],[3940,6759],[3932,6749],[3945,6754]]]}},{type:"Feature",id:"BN",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.56,"hc-key":"bn","hc-a2":"BN",name:"Brunei",labelrank:"6","country-abbrev":"Brunei",subregi
38on:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"BRN","iso-a2":"BN","woe-id":"23424773",continent:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[7635,6646],[7638,6647],[7638,6649],[7645,6632],[7637,6633],[7636,6639],[7635,6646]]],[[[7605,6640],[7620,6643],[7636,6653],[7634,6648],[7627,6644],[7630,6635],[7622,6623],[7612,6636],[7605,6640]]]]}},{type:"Feature",id:"MR",properties:{"hc-group":"admin0","hc-middle-x":.62,"hc-middle-y":.63,"hc-key":"mr","hc-a2":"MR",name:"Mauritania",labelrank:"3","country-abbrev":"Mrt.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"MRT","iso-a2":"MR","woe-id":"23424896",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3993,7324],[4086,7265],[4106,7252],[4106,7252],[4106,7252],[4054,7252],[4073,7083],[4083,6993],[4091,6987],[4086,6962],[3973,6962],[3959,6958],[3932,6960],[3927,6950],[3912,6965],[3903,6963],[3900,6944],[3887,6940],[3872,6952],[3866,6962],[3858,6966],[3851,6982],[3842,6981],[3826,6996],[3809,6996],[3787,6992],[3767,6991],[3761,6971],[3764,6997],[3772,7015],[3776,7036],[3771,7067],[3762,7080],[3768,7082],[3763,7088],[3771,7105],[3761,7121],[3757,7119],[3750,7133],[3746,7121],[3749,7139],[3865,7139],[3863,7174],[3861,7182],[3865,7191],[3877,7198],[3894,7205],[3894,7283],[3992,7283],[3993,7324]]]}},{type:"Feature",id:"BE",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.36,"hc-key":"be","hc-a2":"BE",name:"Belgium",labelrank:"2","country-abbrev":"Belg.",subregion:"Western Europe","region-wb":"Europe & Central Asia","iso-a3":"BEL","iso-a2":"BE","woe-id":"23424757",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4428,8111],[4425,8113],[4416,8102],[4419,8089],[4409,8087],[4394,8099],[4392,8112],[4379,8104],[4370,8106],[4372,8116],[4356,8119],[4355,8124],[4344,8127],[4341,8136],[4330,8135],[4322,8149],[4340,8158],[4347,8160],[4348,8155],[4364,8153],[4372,8160],[4375,8156],[4374,8160],[4380,8164],[4396,8164],[4402,8155],[4409,8156],[4420,8151],[4416,8136],[4425,8136],[4435,8125],[4436,8119],[4428,8111]]]}},{type:"Feature",id:"IQ",properties:{"hc-group":"admin0","hc-middle-x":.46,"hc-middle-y":.44,"hc-key":"iq","hc-a2":"IQ",name:"Iraq",labelrank:"3","country-abbrev":"Iraq",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"IRQ","iso-a2":"IQ","woe-id":"23424855",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5677,7409],[5668,7411],[5660,7410],[5643,7413],[5635,7409],[5628,7392],[5618,7381],[5613,7380],[5564,7385],[5510,7426],[5487,7445],[5438,7472],[5401,7479],[5403,7486],[5398,7491],[5390,7520],[5446,7551],[5455,7554],[5461,7566],[5461,7579],[5466,7595],[5462,7608],[5468,7624],[5480,7627],[5495,7644],[5506,7652],[5517,7653],[5528,7649],[5550,7649],[5553,7640],[5566,7645],[5573,7625],[5580,7620],[5584,7606],[5594,7601],[5611,7601],[5601,7590],[5608,7581],[5600,7576],[5585,7555],[5590,7549],[5584,7539],[5595,7526],[5599,7528],[5611,7506],[5636,7490],[5642,7490],[5656,7467],[5652,7456],[5652,7442],[5662,7442],[5662,7425],[5673,7417],[5677,7409]]]}},{type:"Feature",id:"GM",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.45,"hc-key":"gm","hc-a2":"GM",name:"Gambia",labelrank:"6","country-abbrev":"Gambia",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"GMB","iso-a2":"GM","woe-id":"23424821",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3755,6889],[3753,6898],[3761,6905],[3761,6905],[3791,6905],[3804,6912],[3819,6907],[3826,6901],[3836,6905],[3840,6898],[3824,6895],[3802,6905],[3800,6900],[3782,6897],[3782,6892],[3757,6892],[3755,6889]]]}},{type:"Feature",id:"MA",properties:{"hc-group":"admin0","hc-middle-x":.6,"hc-middle-y":.21,"hc-key":"ma","hc-a2":"MA",name:"Morocco",labelrank:"3","country-abbrev":"Mor.",subregion:"Northern Africa","region-wb":"Middle East & North Africa","iso-a3":"MAR","iso-a2":"MA","woe-id":"23424893",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4091,7602],[4094,7593],[4108,7581],[4119,7578],[4140,7583],[4148,7580],[4161,7584],[4161,7582],[4162,7583],[4163,7579],[4183,7576],[4196,7565],[4193,7560],[4199,7544],[4197,7530],[4199,7515],[4206,7499],[4217,7492],[4211,7477],[4174,7479],[4162,7476],[4165,7468],[4140,7463],[4136,7453],[4143,7441],[4141,7433],[4119,7426],[4093,7406],[4085,7395],[4079,7398],[4038,7394],[4024,7391],[3993,7368],[3993,7336],[3989,7336],[3989,7319],[3971,7318],[3962,7310],[3946,7310],[3927,7315],[3913,7311],[3914,7303],[3903,7287],[3894,7284],[3882,7247],[3864,7233],[3856,7220],[3843,7214],[3835,7203],[3829,7169],[3817,7155],[3811,7142],[3784,7144],[3747,7141],[3749,7153],[3756,7168],[3762,7169],[3769,7187],[3784,7217],[3801,7236],[3809,7242],[3813,7266],[3824,7291],[3847,7305],[3860,7336],[3866,7344],[3893,7349],[3910,7357],[3923,7371],[3937,7378],[3950,7392],[3964,7414],[3965,7423],[3957,7432],[3958,7455],[3972,7476],[3976,7494],[3997,7516],[4027,7529],[4047,7542],[4063,7569],[4074,7600],[4089,7604],[4090,7603],[4091,7602]]]}},{type:"Feature",id:"TD",properties:{"hc-group":"admin0","hc-middle-x":.47,"hc-middle-y":.63,"hc-key":"td","hc-a2":"TD",name:"Chad",labelrank:"3","country-abbrev":"Chad",subregi
38on:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"TCD","iso-a2":"TD","woe-id":"23424777",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4675,6887],[4683,6890],[4676,6895],[4671,6890],[4671,6890],[4669,6892],[4670,6890],[4662,6890],[4649,6909],[4644,6929],[4653,6939],[4655,6948],[4671,6970],[4704,7005],[4711,7095],[4718,7109],[4706,7122],[4708,7127],[4695,7144],[4695,7159],[4689,7190],[4719,7204],[4823,7150],[4954,7083],[4954,6969],[4928,6968],[4923,6964],[4924,6954],[4916,6938],[4907,6934],[4912,6921],[4898,6911],[4904,6897],[4894,6889],[4894,6877],[4902,6880],[4914,6860],[4912,6848],[4923,6840],[4921,6826],[4909,6828],[4888,6817],[4889,6811],[4876,6797],[4867,6791],[4861,6781],[4850,6773],[4834,6770],[4811,6770],[4804,6765],[4811,6760],[4795,6741],[4769,6739],[4742,6726],[4735,6736],[4730,6730],[4713,6724],[4704,6726],[4703,6735],[4695,6754],[4671,6774],[4659,6788],[4666,6798],[4682,6796],[4710,6798],[4699,6808],[4692,6822],[4690,6834],[4694,6844],[4691,6860],[4687,6862],[4684,6877],[4675,6887]]]}},{type:"Feature",id:"KV",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.51,"hc-key":"kv","hc-a2":"KV",name:"Kosovo",labelrank:"6","country-abbrev":"Kos.",subregion:"Southern Europe","region-wb":"Europe & Central Asia","iso-a3":"-99","iso-a2":"KV","woe-id":"-90",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4839,7832],[4838,7838],[4847,7842],[4861,7857],[4869,7851],[4878,7839],[4889,7836],[4883,7821],[4873,7816],[4869,7820],[4854,7808],[4852,7820],[4839,7832]]]}},{type:"Feature",id:"LB",properties:{"hc-group":"admin0","hc-middle-x":.42,"hc-middle-y":.5,"hc-key":"lb","hc-a2":"LB",name:"Lebanon",labelrank:"5","country-abbrev":"Leb.",subregi
38on:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"LBN","iso-a2":"LB","woe-id":"23424873",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5282,7510],[5296,7537],[5297,7547],[5307,7562],[5320,7561],[5326,7547],[5306,7528],[5303,7521],[5293,7510],[5282,7510]]]}},{type:"Feature",id:"SX",properties:{"hc-group":"admin0","hc-middle-x":.76,"hc-middle-y":.52,"hc-key":"sx","hc-a2":"SX",name:"Somaliland",labelrank:"5","country-abbrev":"Solnd.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"-99","iso-a2":"SX","woe-id":"-99",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5521,6843],[5539,6822],[5552,6812],[5572,6811],[5597,6824],[5616,6819],[5643,6833],[5666,6833],[5681,6838],[5689,6836],[5689,6782],[5661,6740],[5631,6740],[5544,6769],[5527,6781],[5509,6805],[5504,6817],[5512,6828],[5521,6843]]]}},{type:"Feature",id:"DJ",properties:{"hc-group":"admin0","hc-middle-x":.56,"hc-middle-y":.55,"hc-key":"dj","hc-a2":"DJ",name:"Djibouti",labelrank:"5","country-abbrev":"Dji.",subregion:"Eastern Africa","region-wb":"Middle East & North Africa","iso-a3":"DJI","iso-a2":"DJ","woe-id":"23424797",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5512,6828],[5503,6831],[5483,6826],[5478,6831],[5481,6833],[5478,6837],[5477,6844],[5496,6872],[5505,6869],[5518,6879],[5524,6872],[5525,6858],[5507,6849],[5507,6845],[5521,6843],[5512,6828]]]}},{type:"Feature",id:"ER",properties:{"hc-group":"admin0","hc-middle-x":.1,"hc-middle-y":.24,"hc-key":"er","hc-a2":"ER",name:"Eritrea",labelrank:"4","country-abbrev":"Erit.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"ERI","iso-a2":"ER","woe-id":"23424806",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5518,6879],[5505,6869],[5496,6872],[5483,6884],[5476,6895],[5461,6906],[5450,6920],[5429,6931],[5412,6934],[5403,6930],[5399,6936],[5380,6930],[5364,6944],[5354,6921],[5346,6931],[5340,6926],[5324,6925],[5321,6951],[5336,6985],[5334,6993],[5338,7009],[5349,7008],[5352,7017],[5373,7023],[5385,7038],[5394,7019],[5401,6996],[5403,6980],[5410,6963],[5418,6955],[5428,6973],[5427,6954],[5434,6945],[5441,6947],[5448,6938],[5460,6936],[5475,6916],[5493,6905],[5508,6883],[5518,6879]]]}},{type:"Feature",id:"BI",properties:{"hc-group":"admin0","hc-middle-x":.56,"hc-middle-y":.45,"hc-key":"bi","hc-a2":"BI",name:"Burundi",labelrank:"6","country-abbrev":"Bur.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"BDI","iso-a2":"BI","woe-id":"23424774",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5102,6426],[5123,6423],[5129,6428],[5129,6437],[5148,6435],[5144,6422],[5156,6418],[5155,6409],[5145,6402],[5132,6380],[5121,6375],[5112,6395],[5108,6408],[5109,6416],[5102,6426]]]}},{type:"Feature",id:"SN",properties:{"hc-group":"admin0","hc-middle-x":.23,"hc-middle-y":.5,"hc-key":"sn","hc-a2":"SN",name:"Senegal",labelrank:"3","country-abbrev":"Sen.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"SEN","iso-a2":"SN","woe-id":"23424943",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3756,6868],[3754,6875],[3755,6889],[3757,6892],[3782,6892],[3782,6897],[3800,6900],[3802,6905],[3824,6895],[3840,6898],[3836,6905],[3826,6901],[3819,6907],[3804,6912],[3791,6905],[3761,6905],[3749,6928],[3742,6937],[3732,6940],[3744,6945],[3761,6971],[3767,6991],[3787,6992],[3809,6996],[3826,6996],[3842,6981],[3851,6982],[3858,6966],[3866,6962],[3872,6952],[3887,6940],[3888,6929],[3896,6915],[3892,6909],[3900,6897],[3905,6899],[3913,6886],[3913,6870],[3893,6870],[3884,6867],[3863,6873],[3863,6877],[3844,6878],[3801,6878],[3787,6871],[3770,6871],[3756,6868]]]}},{type:"Feature",id:"GN",properties:{"hc-group":"admin0","hc-middle-x":.26,"hc-middle-y":.52,"hc-key":"gn","hc-a2":"GN",name:"Guinea",labelrank:"3","country-abbrev":"Gin.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"GIN","iso-a2":"GN","woe-id":"23424835",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[3844,6878],[3863,6877],[3863,6873],[3884,6867],[3893,6870],[3913,6870],[3909,6864],[3919,6858],[3927,6864],[3933,6855],[3946,6864],[3962,6859],[3974,6868],[3983,6869],[3989,6855],[3988,6848],[4002,6839],[3994,6832],[4003,6828],[4004,6815],[4013,6803],[4007,6797],[4011,6781],[4017,6781],[4014,6763],[4022,6757],[4005,6753],[4012,6743],[4006,6726],[3998,6727],[3992,6731],[3987,6718],[3979,6716],[3969,6723],[3973,6729],[3968,6750],[3959,6755],[3945,6754],[3932,6749],[3940,6759],[3934,6778],[3916,6798],[3897,6798],[3880,6794],[3874,6781],[3865,6772],[3857,6770],[3855,6779],[3848,6792],[3822,6805],[3818,6819],[3806,
386827],[3816,6843],[3828,6848],[3844,6849],[3844,6858],[3837,6862],[3844,6866],[3844,6878]]]}},{type:"Feature",id:"ZW",properties:{"hc-group":"admin0","hc-middle-x":.81,"hc-middle-y":.42,"hc-key":"zw","hc-a2":"ZW",name:"Zimbabwe",labelrank:"3","country-abbrev":"Zimb.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"ZWE","iso-a2":"ZW","woe-id":"23425004",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4992,5979],[5004,5979],[5013,5973],[5020,5976],[5035,5971],[5044,5974],[5064,5997],[5074,6001],[5076,6008],[5094,6009],[5102,6015],[5095,6017],[5098,6032],[5114,6042],[5127,6045],[5143,6044],[5143,6033],[5169,6032],[5188,6020],[5199,6020],[5219,6013],[5215,6005],[5220,5992],[5218,5977],[5221,5963],[5216,5949],[5211,5948],[5216,5939],[5213,5929],[5221,5919],[5220,5911],[5209,5895],[5205,5895],[5202,5873],[5174,5842],[5169,5839],[5156,5842],[5140,5841],[5124,5847],[5112,5845],[5104,5850],[5103,5857],[5091,5862],[5074,5864],[5063,5879],[5064,5897],[5051,5897],[5049,5909],[5035,5914],[5018,5927],[5012,5945],[4999,5961],[4991,5975],[4992,5979]]]}},{type:"Feature",id:"PY",properties:{"hc-group":"admin0","hc-middle-x":.36,"hc-middle-y":.35,"hc-key":"py","hc-a2":"PY",name:"Paraguay",labelrank:"4","country-abbrev":"Para.",subregion:"South America","region-wb":"Latin America & Caribbean","iso-a3":"PRY","iso-a2":"PY","woe-id":"23424917",continent:"South America"},geometry:{type:"Polygon",coordinates:[[[2650,5787],[2647,5782],[2640,5745],[2641,5742],[2641,5740],[2639,5721],[2635,5707],[2625,5697],[2616,5696],[2607,5682],[2596,5686],[2589,5677],[2583,5681],[2565,5680],[2540,5687],[2523,5686],[2521,5691],[2533,5703],[2535,5719],[2544,5727],[2554,5744],[2548,5753],[2534,5760],[2517,5765],[2501,5774],[2481,5789],[2472,5789],[2452,5795],[2449,5802],[2438,5808],[2424,5819],[2414,5836],[2404,5844],[2415,5880],[2415,5895],[2424,5909],[2430,5923],[2481,5934],[2508,5934],[2535,5918],[2536,5907],[2546,5883],[2541,5850],[2545,5847],[2575,5842],[2587,5849],[2594,5843],[2603,5841],[2610,5832],[2610,5820],[2617,5790],[2630,5790],[2639,5795],[2650,5787]]]}},{type:"Feature",id:"BY",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.49,"hc-key":"by","hc-a2":"BY",name:"Belarus",labelrank:"4","country-abbrev":"Bela.",subregion:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"BLR","iso-a2":"BY","woe-id":"23424765",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4943,8165],[4944,8188],[4930,8196],[4937,8204],[4951,8211],[4952,8230],[4943,8248],[4940,8262],[4961,8262],[4966,8260],[4978,8263],[4998,8276],[5006,8287],[5007,8299],[5018,8303],[5023,8311],[5031,8310],[5037,8316],[5027,8319],[5031,8332],[5043,8339],[5061,8337],[5070,8350],[5077,8352],[5091,8349],[5096,8343],[5113,8344],[5116,8333],[5128,8339],[5145,8337],[5158,8329],[5155,8316],[5161,8306],[5154,8296],[5166,8289],[5170,8273],[5185,8266],[5183,8256],[5204,8252],[5212,8242],[5193,8227],[5173,8232],[5168,8225],[5176,8218],[5178,8197],[5183,8188],[5160,8187],[5147,8169],[5147,8154],[5136,8164],[5120,8164],[5111,8160],[5106,8170],[5094,8161],[5090,8167],[5083,8166],[5051,8168],[5048,8174],[5039,8175],[5007,8182],[4990,8182],[4966,8180],[4954,8168],[4943,8165]]]}},{type:"Feature",id:"LV",properties:{"hc-group":"admin0","hc-middle-x":.29,"hc-middle-y":.41,"hc-key":"lv","hc-a2":"LV",name:"Latvia",labelrank:"5","country-abbrev":"Lat.",subregion:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"LVA","iso-a2":"LV","woe-id":"23424874",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[5077,8352],[5070,8350],[5061,8337],[5043,8339],[5031,8332],[5022,8335],[5004,8352],[4987,8354],[4981,8364],[4968,8357],[4946,8361],[4929,8359],[4899,8363],[4876,8355],[4868,8349],[4866,8356],[4868,8381],[4878,8389],[4879,8400],[4887,8411],[4913,8420],[4915,8412],[4929,8403],[4933,8393],[4946,8386],[4966,8397],[4964,8424],[4992,8433],[5014,8421],[5028,8410],[5039,8414],[5054,8410],[5068,8400],[5062,8381],[5066,8382],[5076,8368],[5077,8352]]]}},{type:"Feature",id:"BT",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.49,"hc-key":"bt","hc-a2":"BT",name:"Bhutan",labelrank:"5","country-abbrev":"Bhutan",subregi
38on:"Southern Asia","region-wb":"South Asia","iso-a3":"BTN","iso-a2":"BT","woe-id":"23424770",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[6865,7325],[6870,7334],[6885,7351],[6905,7358],[6915,7354],[6912,7349],[6930,7345],[6936,7349],[6947,7344],[6946,7339],[6950,7328],[6956,7330],[6959,7313],[6943,7308],[6915,7308],[6909,7311],[6893,7305],[6879,7310],[6871,7309],[6861,7320],[6865,7325]]]}},{type:"Feature",id:"NA",properties:{"hc-group":"admin0","hc-middle-x":.33,"hc-middle-y":.37,"hc-key":"na","hc-a2":"NA",name:"Namibia",labelrank:"3","country-abbrev":"Nam.",subregion:"Southern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"NAM","iso-a2":"NA","woe-id":"23424987",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4937,5984],[4961,5989],[4983,5986],[4992,5979],[4983,5979],[4970,5971],[4960,5972],[4943,5958],[4935,5973],[4925,5972],[4880,5964],[4866,5963],[4866,5852],[4836,5851],[4836,5766],[4837,5652],[4824,5647],[4810,5634],[4800,5637],[4783,5635],[4761,5642],[4759,5657],[4752,5663],[4746,5661],[4743,5652],[4734,5646],[4729,5646],[4710,5666],[4698,5685],[4689,5717],[4685,5734],[4683,5764],[4674,5784],[4676,5825],[4672,5843],[4659,5858],[4655,5868],[4642,5887],[4635,5908],[4610,5952],[4602,5958],[4597,5969],[4593,5987],[4595,5996],[4602,5999],[4618,5996],[4636,6005],[4659,5991],[4666,5991],[4791,5991],[4801,5981],[4808,5978],[4838,5976],[4847,5977],[4861,5972],[4878,5973],[4937,5984]]]}},{type:"Feature",id:"BF",properties:{"hc-group":"admin0","hc-middle-x":.64,"hc-middle-y":.4,"hc-key":"bf","hc-a2":"BF",name:"Burkina Faso",labelrank:"3","country-abbrev":"B.F.",subregion:"Western Africa","region-wb":"Sub-Saharan Africa","iso-a3":"BFA","iso-a2":"BF","woe-id":"23424978",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4275,6828],[4262,6828],[4243,6832],[4228,6828],[4167,6828],[4162,6820],[4169,6784],[4167,6781],[4154,6796],[4140,6797],[4123,6791],[4121,6787],[4110,6789],[4102,6796],[4095,6808],[4086,6811],[4086,6830],[4095,6841],[4093,6853],[4114,6862],[4119,6874],[4116,6879],[4124,6882],[4120,6891],[4131,6902],[4146,6892],[4152,6896],[4152,6909],[4163,6907],[4165,6919],[4176,6926],[4189,6923],[4190,6932],[4198,6932],[4217,6942],[4226,6949],[4241,6949],[4255,6945],[4253,6934],[4266,6908],[4276,6905],[4277,6890],[4293,6877],[4310,6879],[4314,6870],[4309,6867],[4319,6855],[4307,6841],[4291,6842],[4281,6830],[4275,6828]]]}},{type:"Feature",id:"SS",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.58,"hc-key":"ss","hc-a2":"SS",name:"South Sudan",labelrank:"3","country-abbrev":"S. Sud.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"SSD","iso-a2":"SS","woe-id":"-99",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5156,6607],[5147,6611],[5147,6618],[5138,6621],[5115,6641],[5107,6632],[5095,6638],[5084,6630],[5066,6640],[5056,6654],[5047,6674],[5028,6684],[5022,6692],[5025,6700],[5014,6710],[4995,6720],[4992,6730],[4979,6745],[4959,6750],[4960,6760],[4971,6766],[4978,6793],[4987,6807],[5009,6811],[5011,6804],[5030,6784],[5045,6787],[5069,6787],[5074,6779],[5097,6779],[5102,6787],[5116,6792],[5120,6800],[5132,6807],[5153,6791],[5168,6792],[5180,6805],[5189,6818],[5203,6830],[5200,6849],[5193,6858],[5212,6858],[5212,6864],[5226,6864],[5222,6846],[5225,6824],[5246,6804],[5246,6783],[5251,6783],[5253,6758],[5248,6753],[5225,6752],[5221,6734],[5241,6730],[5249,6722],[5258,6709],[5271,6700],[5278,6676],[5288,6662],[5302,6661],[5302,6645],[5306,6640],[5297,6640],[5291,6652],[5260,6640],[5249,6629],[5235,6616],[5220,6619],[5201,6614],[5195,6608],[5184,6617],[5176,6612],[5165,6616],[5156,6607]]]}},{type:"Feature",id:"CF",properties:{"hc-group":"admin0","hc-middle-x":.47,"hc-middle-y":.46,"hc-key":"cf","hc-a2":"CF",name:"Central African Republic",labelrank:"4","country-abbrev":"C.A.R.",subregion:"Middle Africa","region-wb":"Sub-Saharan Africa","iso-a3":"CAF","iso-a2":"CF","woe-id":"23424792",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4797,6607],[4792,6611],[4773,6609],[4762,6614],[4736,6607],[4733,6588],[4725,6571],[4722,6589],[4695,6615],[4690,6634],[4681,6640],[4678,6679],[4672,6681],[4682,6688],[4696,6718],[4704,6726],[4713,6724],[4730,6730],[4735,6736],[4742,6726],[4769,6739],[4795,6741],[4811,6760],[4804,6765],[4811,6770],[4834,6770],[4850,6773],[4861,
386781],[4867,6791],[4876,6797],[4889,6811],[4888,6817],[4909,6828],[4921,6826],[4934,6812],[4944,6796],[4944,6777],[4939,6774],[4940,6763],[4960,6760],[4959,6750],[4979,6745],[4992,6730],[4995,6720],[5014,6710],[5025,6700],[5022,6692],[5028,6684],[5047,6674],[5056,6654],[5047,6657],[5039,6653],[5027,6653],[5017,6659],[5009,6657],[4995,6661],[4993,6652],[4978,6649],[4969,6654],[4937,6639],[4922,6646],[4908,6626],[4888,6631],[4873,6631],[4863,6636],[4855,6634],[4847,6645],[4829,6656],[4820,6655],[4810,6649],[4799,6633],[4794,6631],[4797,6622],[4797,6607]]]}},{type:"Feature",id:"MD",properties:{"hc-group":"admin0","hc-middle-x":.54,"hc-middle-y":.4,"hc-key":"md","hc-a2":"MD",name:"Moldova",labelrank:"6","country-abbrev":"Mda.",subregion:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"MDA","iso-a2":"MD","woe-id":"23424885",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[5078,7937],[5075,7957],[5079,7981],[5073,7995],[5067,7999],[5052,8018],[5043,8037],[5032,8040],[5038,8046],[5048,8044],[5065,8048],[5075,8040],[5096,8035],[5109,8026],[5105,8013],[5114,8004],[5118,8005],[5118,7991],[5129,7986],[5127,7969],[5115,7974],[5108,7970],[5100,7973],[5101,7957],[5078,7937]]]}},{type:"Feature",id:"GZ",properties:{"hc-group":"admin0","hc-middle-x":.47,"hc-middle-y":.48,"hc-key":"gz","hc-a2":"GZ",name:"Gaza Strip",labelrank:"4","country-abbrev":"Gaz.",subregion:"Western Asia","region-wb":"Middle East & North Africa","iso-a3":"GAZ","iso-a2":"GZ","woe-id":"-90",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[5257,7449],[5256,7451],[5255,7452],[5262,7460],[5263,7461],[5265,7459],[5257,7449]]]}},{type:"Feature",id:"KE",properties:{"hc-group":"admin0","hc-middle-x":.87,"hc-middle-y":.7,"hc-key":"ke","hc-a2":"KE",name:"Kenya",labelrank:"2","country-abbrev":"Ken.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"KEN","iso-a2":"KE","woe-id":"23424863",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5471,6456],[5464,6448],[5452,6446],[5453,6440],[5444,6431],[5431,6424],[5432,6418],[5425,6406],[5420,6391],[5408,6370],[5402,6368],[5355,6402],[5357,6416],[5251,6474],[5254,6494],[5274,6496],[5271,6503],[5257,6497],[5249,6504],[5249,6512],[5264,6537],[5273,6541],[5278,6554],[5276,6578],[5266,6591],[5261,6604],[5262,6612],[5254,6616],[5249,6629],[5260,6640],[5291,6652],[5297,6640],[5306,6640],[5309,6635],[5333,6635],[5370,6611],[5382,6611],[5412,6605],[5421,6618],[5448,6631],[5459,6621],[5481,6622],[5465,6599],[5455,6588],[5455,6480],[5471,6459],[5471,6456]]]}},{type:"Feature",id:"BW",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.6,"hc-key":"bw","hc-a2":"BW",name:"Botswana",labelrank:"4","country-abbrev":"Bwa.",subregion:"Southern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"BWA","iso-a2":"BW","woe-id":"23424755",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4992,5979],[4991,5975],[4999,5961],[5012,5945],[5018,5927],[5035,5914],[5049,5909],[5051,5897],[5064,5897],[5063,5879],[5074,5864],[5091,5862],[5103,5857],[5104,5850],[5112,5845],[5103,5844],[5099,5837],[5077,5829],[5065,5814],[5043,5800],[5039,5782],[5026,5770],[5010,5766],[5002,5739],[4996,5735],[4978,5732],[4953,5739],[4939,5749],[4926,5749],[4921,5743],[4917,5728],[4903,5716],[4898,5708],[4887,5700],[4857,5699],[4855,5714],[4862,5723],[4855,5745],[4848,5757],[4836,5766],[4836,5851],[4866,5852],[4866,5963],[4880,5964],[4925,5972],[4935,5973],[4943,5958],[4960,5972],[4970,5971],[4983,5979],[4992,5979]]]}},{type:"Feature",id:"CZ",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.5,"hc-key":"cz","hc-a2":"CZ",name:"Czech Republic",labelrank:"5","country-abbrev":"Cz. Rep.",subregion:"Eastern Europe","region-wb":"Europe & Central Asia","iso-a3":"CZE","iso-a2":"CZ","woe-id":"23424810",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[4803,8088],[4794,8087],[4784,8079],[4780,8070],[4764,8061],[4754,8063],[4747,8053],[4745,8058],[4732,8061],[4720,8059],[4698,8068],[4689,8069],[4687,8059],[4681,8053],[4663,8053],[4655,8060],[4631,8080],[4625,8081],[4613,8097],[4617,8103],[4609,8108],[4616,8122],[4644,8130],[4649,8134],[4671,8141],[4675,8146],[4684,8140],[4689,8145],[4703,8138],[4729,8131],[4725,8123],[4740,8110],[4748,8116],[4745,8123],[4754,8121],[4773,8106],[4795,8103],[4803,8088]]]}},{type:"Feature",id:"PR",properties:{"hc-group":"admin0","hc-middle-x":.42,"hc-middle-y":.52,"hc-key":"pr","hc-a2":"PR",name:"Puerto Rico",labelrank:"5","country-abbrev":"P.R.",subregi
38on:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"PRI","iso-a2":"PR","woe-id":"23424935",continent:"North America"},geometry:{type:"MultiPolygon",coordinates:[[[[2317,7043],[2320,7042],[2320,7042],[2318,7041],[2317,7043],[2317,7043],[2317,7043]]],[[[2317,7043],[2313,7043],[2299,7035],[2272,7036],[2268,7049],[2272,7053],[2301,7052],[2316,7049],[2317,7043],[2317,7043],[2317,7043]]],[[[2320,7042],[2326,7046],[2326,7042],[2320,7042],[2320,7042]]]]}},{type:"Feature",id:"TN",properties:{"hc-group":"admin0","hc-middle-x":.42,"hc-middle-y":.09,"hc-key":"tn","hc-a2":"TN",name:"Tunisia",labelrank:"3","country-abbrev":"Tun.",subregion:"Northern Africa","region-wb":"Middle East & North Africa","iso-a3":"TUN","iso-a2":"TN","woe-id":"23424967",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[4587,7513],[4587,7513],[4585,7504],[4586,7502],[4589,7490],[4568,7479],[4558,7467],[4550,7464],[4546,7456],[4551,7440],[4539,7422],[4528,7417],[4514,7477],[4493,7493],[4486,7510],[4476,7514],[4468,7537],[4469,7543],[4479,7554],[4491,7562],[4493,7595],[4491,7601],[4496,7628],[4501,7638],[4519,7648],[4538,7651],[4551,7646],[4548,7643],[4555,7631],[4574,7643],[4576,7636],[4566,7622],[4558,7618],[4560,7602],[4574,7594],[4577,7581],[4560,7558],[4546,7551],[4544,7540],[4552,7530],[4564,7531],[4564,7536],[4574,7534],[4577,7514],[4587,7513]]]}},{type:"Feature",id:"CU",properties:{"hc-group":"admin0","hc-middle-x":.51,"hc-middle-y":.49,"hc-key":"cu","hc-a2":"CU",name:"Cuba",labelrank:"3","country-abbrev":"Cuba",subregion:"Caribbean","region-wb":"Latin America & Caribbean","iso-a3":"CUB","iso-a2":"CU","woe-id":"23424793",continent:"North America"},geometry:{type:"Polygon",coordinates:[[[1959,7094],[1979,7112],[1972,7120],[1950,7120],[1937,7130],[1932,7118],[1913,7131],[1915,7145],[1896,7150],[1879,7161],[1863,7161],[1839,7165],[1830,7173],[1843,7173],[1837,7180],[1811,7181],[1799,7170],[1806,7157],[1813,7156],[1818,7147],[1802,7143],[1802,7154],[1792,7165],[1777,7165],[1774,7157],[1760,7153],[1766,7160],[1762,7166],[1773,7180],[1797,7190],[1817,7192],[1827,7196],[1855,7195],[1860,7191],[1874,7193],[1880,7188],[1887,7194],[1893,7186],[1897,7189],[1904,7179],[1915,7171],[1929,7171],[1930,7175],[1941,7176],[1963,7161],[1959,7154],[1971,7148],[1966,7155],[1992,7138],[2010,7131],[2016,7133],[2029,7119],[2047,7117],[2055,7109],[2063,7108],[2061,7100],[2045,7099],[2041,7096],[2022,7095],[2003,7098],[1959,7094]]]}},{type:"Feature",id:"VN",properties:{"hc-group":"admin0","hc-middle-x":.41,"hc-middle-y":.96,"hc-key":"vn","hc-a2":"VN",name:"Vietnam",labelrank:"2","country-abbrev":"Viet.",subregi
38on:"South-Eastern Asia","region-wb":"East Asia & Pacific","iso-a3":"VNM","iso-a2":"VN","woe-id":"23424984",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[7428,7143],[7412,7137],[7422,7128],[7394,7128],[7400,7120],[7392,7120],[7384,7115],[7386,7105],[7370,7098],[7364,7087],[7361,7071],[7358,7068],[7372,7046],[7382,7041],[7388,7021],[7425,6986],[7434,6984],[7441,6970],[7451,6959],[7460,6939],[7466,6914],[7464,6899],[7471,6885],[7471,6877],[7463,6877],[7465,6850],[7458,6839],[7431,6826],[7407,6810],[7399,6814],[7385,6794],[7383,6785],[7376,6788],[7375,6780],[7356,6773],[7343,6758],[7333,6764],[7337,6794],[7342,6799],[7334,6805],[7311,6800],[7306,6810],[7313,6806],[7328,6806],[7324,6811],[7335,6814],[7341,6826],[7349,6824],[7362,6829],[7374,6821],[7374,6827],[7365,6837],[7363,6847],[7370,6851],[7382,6848],[7381,6857],[7390,6857],[7403,6866],[7414,6868],[7412,6888],[7416,6903],[7408,6921],[7414,6938],[7418,6956],[7403,6970],[7407,6979],[7391,6990],[7385,6998],[7385,7006],[7361,7027],[7353,7043],[7342,7051],[7343,7059],[7331,7061],[7306,7077],[7317,7089],[7325,7086],[7334,7092],[7338,7101],[7321,7111],[7328,7118],[7312,7127],[7300,7118],[7284,7125],[7277,7138],[7280,7146],[7255,7171],[7264,7183],[7280,7173],[7290,7183],[7296,7177],[7300,7184],[7310,7175],[7317,7185],[7320,7180],[7334,7188],[7336,7195],[7349,7201],[7365,7187],[7383,7188],[7391,7182],[7385,7172],[7388,7159],[7409,7147],[7423,7148],[7428,7143]]]}},{type:"Feature",id:"MG",properties:{"hc-group":"admin0","hc-middle-x":.45,"hc-middle-y":.48,"hc-key":"mg","hc-a2":"MG",name:"Madagascar",labelrank:"3","country-abbrev":"Mad.",subregion:"Eastern Africa","region-wb":"Sub-Saharan Africa","iso-a3":"MDG","iso-a2":"MG","woe-id":"23424883",continent:"Africa"},geometry:{type:"Polygon",coordinates:[[[5704,5995],[5706,5983],[5701,5960],[5693,5941],[5678,5895],[5667,5857],[5660,5840],[5649,5794],[5636,5760],[5622,5753],[5610,5752],[5588,5740],[5577,5740],[5568,5748],[5555,5750],[5544,5758],[5535,5777],[5533,5801],[5537,5806],[5525,5826],[5521,5844],[5529,5872],[5538,5875],[5541,5885],[5558,5915],[5558,5927],[5550,5941],[5551,5949],[5545,5960],[5545,5980],[5542,5989],[5556,6012],[5557,6028],[5569,6026],[5581,6035],[5591,6034],[5594,6040],[5609,6042],[5631,6057],[5631,6047],[5639,6050],[5634,6057],[5645,6073],[5646,6061],[5654,6075],[5653,6082],[5663,6091],[5658,6099],[5667,6111],[5677,6107],[5683,6111],[5690,6128],[5688,6136],[5699,6154],[5707,6134],[5719,6122],[5725,6099],[5727,6071],[5734,6057],[5735,6050],[5727,6034],[5721,6037],[5717,6051],[5710,6047],[5711,6033],[5716,6017],[5721,6012],[5709,6007],[5704,5995]]]}},{type:"Feature",id:"VE",properties:{"hc-group":"admin0","hc-middle-x":.44,"hc-middle-y":.25,"hc-key":"ve","hc-a2":"VE",name:"Venezuela",labelrank:"3","country-abbrev":"Ven.",subregion:"South America","region-wb":"Latin America & Caribbean","iso-a3":"VEN","iso-a2":"VE","woe-id":"23424982",continent:"South America"},geometry:{type:"Polygon",coordinates:[[[2148,6853],[2129,6846],[2130,6839],[2141,6820],[2139,6812],[2125,6793],[2143,6771],[2156,6780],[2156,6792],[2147,6805],[2141,6823],[2162,6834],[2172,6836],[2189,6844],[2178,6854],[2187,6864],[2192,6858],[2198,6842],[2209,6844],[2221,6842],[2235,6832],[2239,6816],[2248,6812],[2275,6817],[2297,6818],[2310,6806],[2332,6800],[2342,6802],[2360,6813],[2356,6814],[2367,6833],[2370,6819],[2401,6821],[2424,6818],[2400,6813],[2404,6802],[2416,6794],[2414,6799],[2428,6792],[2433,6796],[2458,6779],[2454,6766],[2460,6765],[2468,6755],[2481,6756],[2487,6748],[2481,6741],[2467,6734],[2460,6726],[2463,6717],[2473,6713],[2460,6703],[2448,6702],[2449,6686],[2441,6678],[2460,6657],[2464,6649],[2452,6637],[2443,6638],[2435,6630],[2417,6625],[2411,6627],[2400,6623],[2401,6612],[2395,6609],[2381,6621],[2362,6620],[2360,6625],[2346,6626],[2348,6618],[2358,6610],[2357,6597],[2364,6584],[2362,6577],[2382,6576],[2381,6568],[2364,6562],[2361,6553],[2342,6542],[2330,6538],[2318,6524],[2317,6534],[2300,6527],[2293,6529],[2279,6541],[2270,6575],[2257,6587],[2251,6590],[2266,6605],[2257,6615],[2250,6637],[2251,6660],[2256,6666],[2263,6682],[2259,6689],[2227,6685],[2215,6687],[2204,6684],[2184,6709],[2170,6713],[2152,6709],[2126,6712],[2122,6721],[2115,6723],[2114,6738],[2117,6750],[2108,6759],[2104,6773],[2099,6778],[2088,6774],[2099,6794],[2102,6812],[2114,6832],[2121,6833],[2129,6848],[2148,6853]]]}},{type:"Feature",id:"IS",properties:{"hc-group":"admin0","hc-middle-x":.5,"hc-middle-y":.51,"hc-key":"is","hc-a2":"IS",name:"Iceland",labelrank:"3","country-abbrev":"Iceland",subregi
38on:"Northern Europe","region-wb":"Europe & Central Asia","iso-a3":"ISL","iso-a2":"IS","woe-id":"23424845",continent:"Europe"},geometry:{type:"Polygon",coordinates:[[[3599,8752],[3584,8754],[3604,8767],[3593,8767],[3584,8773],[3579,8771],[3566,8774],[3545,8766],[3526,8771],[3539,8778],[3540,8785],[3560,8777],[3549,8784],[3547,8795],[3557,8805],[3568,8798],[3585,8793],[3587,8798],[3575,8802],[3567,8816],[3583,8818],[3601,8808],[3620,8794],[3622,8788],[3616,8773],[3624,8767],[3626,8759],[3632,8775],[3639,8780],[3645,8770],[3652,8782],[3647,8799],[3657,8801],[3670,8783],[3676,8782],[3674,8792],[3678,8799],[3686,8798],[3693,8805],[3712,8788],[3709,8803],[3721,8802],[3730,8793],[3741,8804],[3750,8801],[3763,8804],[3761,8820],[3776,8821],[3786,8814],[3784,8809],[3795,8802],[3798,8808],[3811,8814],[3818,8812],[3806,8808],[3804,8797],[3816,8797],[3818,8792],[3811,8782],[3824,8782],[3847,8771],[3842,8761],[3849,8759],[3846,8746],[3835,8750],[3844,8742],[3836,8734],[3823,8731],[3820,8718],[3777,8706],[3767,8697],[3747,8689],[3730,8687],[3719,8676],[3697,8671],[3666,8677],[3654,8678],[3643,8687],[3625,8693],[3624,8697],[3619,8692],[3590,8692],[3579,8691],[3580,8703],[3584,8698],[3595,8700],[3608,8709],[3603,8710],[3609,8717],[3597,8714],[3601,8723],[3590,8725],[3591,8735],[3553,8737],[3543,8735],[3540,8741],[3581,8747],[3589,8749],[3606,8748],[3607,8756],[3599,8752]]]}},{type:"Feature",id:"NP",properties:{"hc-group":"admin0","hc-middle-x":.52,"hc-middle-y":.55,"hc-key":"np","hc-a2":"NP",name:"Nepal",labelrank:"3","country-abbrev":"Nepal",subregi
38on:"Southern Asia","region-wb":"South Asia","iso-a3":"NPL","iso-a2":"NP","woe-id":"23424911",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[6843,7342],[6838,7318],[6844,7307],[6841,7298],[6819,7294],[6811,7302],[6801,7296],[6789,7303],[6775,7301],[6768,7310],[6759,7306],[6740,7316],[6738,7325],[6724,7331],[6716,7328],[6685,7330],[6682,7337],[6674,7336],[6664,7343],[6659,7342],[6642,7350],[6637,7358],[6623,7366],[6614,7366],[6605,7373],[6612,7388],[6610,7391],[6618,7404],[6633,7416],[6636,7411],[6644,7422],[6665,7421],[6667,7412],[6678,7408],[6687,7399],[6697,7398],[6707,7384],[6724,7386],[6728,7375],[6741,7366],[6756,7365],[6753,7356],[6771,7357],[6780,7343],[6793,7344],[6796,7349],[6814,7341],[6843,7342]]]}},{type:"Feature",id:"SR",properties:{"hc-group":"admin0","hc-middle-x":.91,"hc-middle-y":.1,"hc-key":"sr","hc-a2":"SR",name:"Suriname",labelrank:"4","country-abbrev":"Sur.",subregion:"South America","region-wb":"Latin America & Caribbean","iso-a3":"SUR","iso-a2":"SR","woe-id":"23424913",continent:"South America"},geometry:{type:"Polygon",coordinates:[[[2640,6573],[2629,6580],[2607,6575],[2600,6579],[2596,6573],[2602,6565],[2599,6559],[2585,6562],[2579,6565],[2565,6588],[2561,6605],[2553,6603],[2538,6627],[2549,6651],[2562,6652],[2563,6666],[2571,6681],[2601,6675],[2604,6680],[2635,6680],[2657,6676],[2653,6662],[2644,6649],[2648,6623],[2658,6606],[2648,6579],[2640,6573]]]}},{type:"Feature",id:"KG",properties:{"hc-group":"admin0","hc-middle-x":.49,"hc-middle-y":.45,"hc-key":"kg","hc-a2":"KG",name:"Kyrgyzstan",labelrank:"4","country-abbrev":"Kgz.",subregion:"Central Asia","region-wb":"Europe & Central Asia","iso-a3":"KGZ","iso-a2":"KG","woe-id":"23424864",continent:"Asia"},geometry:{type:"Polygon",coordinates:[[[6337,7821],[6339,7833],[6351,7841],[6364,7842],[6389,7836],[6412,7828],[6410,7834],[6416,7850],[6432,7857],[6462,7843],[6475,7841],[6479,7845],[6499,7844],[6514,7848],[6521,7845],[6559,7844],[6579,7841],[6587,7829],[6601,7828],[6610,7819],[6609,7813],[6583,7805],[6555,7791],[6547,7779],[6529,7777],[6515,7779],[6508,7776],[6504,7765],[6495,7755],[6493,7758],[6476,7753],[6474,7764],[6462,7758],[6452,7761],[6438,7746],[6427,7745],[6422,7736],[6425,7729],[6416,7724],[6401,7720],[6370,7721],[6360,7718],[6360,7724],[6352,7729],[6330,7723],[6323,7729],[6315,7726],[6299,7728],[6289,7726],[6289,7742],[6308,7750],[6325,7744],[6337,7751],[6346,7754],[6358,7748],[6378,7764],[6385,7760],[6401,7770],[6373,7778],[6373,7783],[6364,7784],[6361,7793],[6351,7783],[6344,7781],[6332,7786],[6314,7798],[6346,7820],[6337,7821]],[[6327,7738],[6323,7738],[6326,7735],[6330,7737],[6327,7738]],[[6361,7739],[6362,7742],[6361,7742],[6358,7741],[6361,7739]],[[6344,7744],[6338,7748],[6340,7742],[6345,7739],[6344,7744]]]}}]},xy={title:"World continents",version:"1.1.2",type:"FeatureCollection",copyright:"Copyright (c) 2015 Highsoft AS, Based on data from Natural Earth",copyrightShort:"Natural Earth",copyrightUrl:"http://www.naturalearthdata.com",crs:{type:"name",properties:{name:"urn:ogc:def:crs:EPSG:54003"}},"hc-transform":{default:{crs:"+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +datum=WGS84 +units=m +no_defs",scale:170655279715e-16,jsonres:15.5,jsonmarginX:-999,jsonmarginY:9851,xoffset:-198630928548e-4,yoffset:126359081982e-4}},features:[{type:"Feature",id:"EU",properties:{"hc-group":"admin0","hc-middle-x":.65,"hc-middle-y":.63,"hc-key":"eu","hc-a2":"EU","abbrev-a3":"EUR","iso-a2":"EU",name:"Europe"},geometry:{type:"MultiPolygon",coordinates:[[[[4565,8339],[4573,8321],[4568,8300],[4540,8327],[4565,8339]]],[[[4626,8335],[4615,8302],[4593,8291],[4579,8298],[4605,8305],[4586,8315],[4577,8336],[4598,8344],[4602,8334],[4615,8353],[4626,8349],[4626,8335]]],[[[4544,7853],[4534,7844],[4536,7819],[4526,7793],[4514,7799],[4507,7823],[4511,7835],[4528,7839],[4530,7850],[4544,7853]]],[[[4887,9499],[4905,9499],[4910,9478],[4875,9474],[4849,9493],[4887,9499]]],[[[4709,8944],[4720,8947],[4729,8933],[4742,8945],[4738,8917],[4718,8917],[4637,8897],[4689,8920],[4678,8930],[4709,8944]]],[[[4893,9475],[4931,9478],[4950,9453],[4974,9450],[4938,9415],[4915,9415],[4925,9433],[4870,9426],[4869,9434],[4892,9456],[4869,9467],[4893,9475]]],[[[4820,8447],[4824,8430],[4808,8420],[4812,8406],[4793,8387],[4788,8411],[4798,8423],[4820,8431],[4820,8447]]],[[[5728,8944],[5724,8950],[5700,8929],[5673,8942],[5676,8961],[5704,8973],[5734,8956],[5728,8944]]],[[[5936,9600],[5894,9599],[5902,9615],[5940,9619],[5930,9625],[5974,9624],[5979,9591],[6020,9602],[6001,9587],[5968,9588],[5973,9603],[5936,9600]]],[[[5855,9618],[5837,9624],[5828,9604],[5790,9611],[5810,9620],[5830,9613],[5840,9634],[5855,9618]]],[[[5922,9644],[5897,9635],[5843,9649],[5876,9654],[5862,9669],[5903,9664],[5952,9648],[5922,9644]]],[[[6158,9675],[6180,9655],[6150,9643],[6112,9639],[6094,9650],[6139,9660],[6158,9675]]],[[[5669,9637],[5660,9644],[5611,9622],[5581,9636],[5675,9649],[5688,9634],[5669,9637]]],[[[4919,8461],[4904,8473],[4920,8478],[4942,8458],[4932,8447],[4908,8438],[4899,8453],[4919,8461]]],[[[4368,7747],[4350,7723],[4324,7732],[4341,7742],[4368,7747]]],[[[4702,7703],[4699,7681],[4711,7687],[4700,7653],[4706,7643],[4698,7631],[4681,7636],[4643,7659],[4627,7662],[4618,7674],[4640,7683],[4642,7700],[4649,7680],[4661,7676],[4694,7683],[4702,7703]]],[[[4533,7787],[4544,7763],[4536,7715],[4521,7717],[4515,7706],[4497,7716],[4506,7741],[4499,7783],[4506,7774],[4527,7789],[4533,7787]]],[[[5022,7660],[5045,7670],[5037,7655],[5050,7643],[5055,7630],[5067,7617],[5086,7623],[5072,7605],[5036,7655],[5022,7660]]],[[[4969,7661],[4972,7666],[4979,7637],[4999,7636],[4995,7646],[5014,7646],[5029,7626],[5004,7638],[4988,7629],[4979,7635],[4969,7661]]],[[[4975,7710],[4966,7690],[4989,7673],[4997,7661],[4987,7655],[4981,7674],[4938,7705],[4963,7700],[4975,7710]]],[[[5025,7695],[5020,7682],[5007,7695],[5022,7696],[5025,7711],[5016,7719],[5030,7724],[5037,7711],[5025,7695]]],[[[4941,7603],[4969,7588],[5013,7587],[5027,7577],[4983,7573],[4973,7582],[4962,7571],[4947,7585],[4941,7603]]],[[[4096,7606],[4096,7606],[4096,7606],[4096,7606],[4096,7606]]],[[[4129,7581],[4129,7581],[4129,7581],[4129,7581],[4129,7581]]],[[[5226,7564],[5223,7564],[5219,7564],[5221,7566],[5226,7564]]],[[[5252,7574],[5251,7574],[5249,7575],[5249,7575],[5249,7575],[5249,7575],[5248,7575],[5249,7575],[5248,7575],[5246,7575],[5248,7576],[5247,7576],[5248,7576],[5248,7576],[5248,7576],[5249,7577],[5252,7574]]],[[[5039,7756],[5024,7747],[5026,7756],[5044,7766],[5022,7766],[5008,7759],[5001,7738],[4990,7727
38],[4991,7745],[4999,7744],[5006,7775],[4992,7780],[4984,7766],[4978,7778],[4952,7769],[4959,7758],[4942,7752],[4926,7762],[4919,7747],[4942,7717],[4925,7703],[4960,7686],[4962,7665],[4949,7678],[4945,7639],[4925,7636],[4917,7625],[4907,7643],[4893,7634],[4889,7662],[4865,7671],[4877,7687],[4860,7700],[4877,7710],[4848,7717],[4849,7732],[4828,7752],[4823,7767],[4829,7776],[4826,7794],[4831,7808],[4819,7813],[4804,7831],[4779,7843],[4753,7842],[4746,7855],[4729,7851],[4738,7861],[4700,7882],[4704,7898],[4675,7927],[4666,7915],[4655,7926],[4654,7951],[4614,7933],[4619,7895],[4656,7869],[4669,7836],[4700,7812],[4727,7813],[4726,7795],[4785,7768],[4800,7749],[4795,7738],[4780,7755],[4757,7763],[4743,7748],[4741,7734],[4760,7724],[4758,7707],[4742,7701],[4742,7691],[4728,7675],[4716,7675],[4721,7699],[4731,7702],[4726,7726],[4714,7748],[4694,7753],[4689,7768],[4677,7765],[4650,7773],[4654,7787],[4639,7788],[4571,7843],[4552,7887],[4512,7901],[4495,7884],[4476,7878],[4436,7850],[4371,7869],[4347,7854],[4345,7834],[4353,7826],[4341,7805],[4316,7789],[4284,7781],[4246,7728],[4249,7713],[4262,7701],[4240,7688],[4234,7663],[4206,7655],[4193,7634],[4125,7633],[4103,7623],[4090,7609],[4074,7619],[4064,7641],[4037,7649],[4022,7641],[4001,7647],[3990,7643],[3996,7659],[3996,7689],[3976,7701],[3988,7734],[4001,7779],[3993,7818],[4001,7825],[3982,7847],[3986,7857],[4010,7865],[4023,7877],[4042,7870],[4096,7870],[4126,7864],[4151,7869],[4193,7860],[4212,7871],[4220,7910],[4223,7943],[4215,7958],[4222,7968],[4186,7985],[4192,8007],[4139,8028],[4104,8050],[4164,8065],[4176,8052],[4215,8057],[4202,8085],[4189,8077],[4190,8097],[4214,8097],[4220,8087],[4249,8081],[4267,8087],[4262,8098],[4290,8107],[4300,8119],[4302,8142],[4359,8163],[4388,8199],[4399,8234],[4407,8241],[4487,8257],[4507,8247],[4507,8260],[4520,8261],[4499,8302],[4511,8312],[4493,8329],[4502,8343],[4494,8370],[4509,8394],[4532,8396],[4548,8414],[4567,8421],[4557,8385],[4560,8371],[4578,8366],[4534,8326],[4537,8301],[4550,8288],[4572,8278],[4588,8282],[4571,8267],[4590,8265],[4623,8285],[4634,8280],[4649,8292],[4673,8263],[4730,8277],[4742,8288],[4794,8300],[4802,8283],[4832,8284],[4844,8304],[4880,8304],[4879,8328],[4872,8358],[4875,8383],[4893,8413],[4940,8422],[4939,8394],[4952,8388],[4972,8399],[4970,8426],[4977,8447],[4960,8445],[4947,8455],[4945,8484],[4964,8488],[4976,8501],[4972,8521],[4944,8516],[4927,8523],[4917,8512],[4911,8534],[4886,8542],[4875,8539],[4857,8518],[4836,8521],[4841,8535],[4856,8529],[4884,8547],[4889,8592],[4880,8607],[4883,8624],[4875,8639],[4883,8663],[4913,8668],[4920,8686],[4943,8695],[4984,8741],[4998,8739],[5001,8771],[4977,8786],[4924,8782],[4913,8768],[4898,8773],[4874,8739],[4887,8721],[4866,8694],[4834,8673],[4822,8675],[4803,8660],[4776,8628],[4768,8632],[4767,8595],[4760,8562],[4774,8541],[4784,8541],[4809,8523],[4814,8509],[4807,8483],[4753,8458],[4749,8437],[4738,8427],[4757,8399],[4738,8357],[4743,8391],[4721,8351],[4687,8354],[4673,8340],[4678,8328],[4701,8312],[4698,8306],[4672,8322],[4636,8324],[4639,8334],[4623,8359],[4634,8375],[4619,8386],[4610,8409],[4594,8430],[4585,8466],[4563,8497],[4563,8485],[4540,8473],[4505,8443],[4478,8432],[4447,8437],[4416,8464],[4419,8480],[4407,8483],[4408,8497],[4421,8512],[4408,8511],[4409,8528],[4392,8565],[4415,8564],[4401,8581],[4413,8587],[4396,8600],[4415,8610],[4420,8624],[4447,8632],[4458,8650],[4493,8659],[4500,8684],[4515,8687],[4525,8677],[4540,8683],[4552,8668],[4592,8691],[4581,8692],[4547,8677],[4536,8689],[4554,8709],[4575,8722],[4573,8741],[4585,8739],[4626,8754],[4610,8758],[4631,8794],[4619,8790],[4632,8817],[4642,8816],[4655,8842],[4668,8845],[4679,8866],[4714,8882],[4690,8886],[4721,8894],[4705,8897],[4771,8917],[4741,8917],[4744,8928],[4769,8954],[4750,8949],[4780,8977],[4787,8965],[4837,8988],[4835,9012],[4860,8993],[4861,9011],[4915,9014],[4913,9036],[4941,9040],[4929,9022],[4951,9023],[4931,9009],[4933,9e3],[4959,9025],[4960,9053],[4970,9039],[4984,9053],[4995,9048],[5010,9060],[5025,9052],[4993,9025],[4994,9003],[5031,9045],[5040,9049],[5035,9018],[5065,9043],[5066,9057],[5095,9051],[5074,9024],[5086,9020],[5102,9045],[5137,9036],[5169,9013],[5142,9002],[5097,9005],[5152,8989],[5191,8982],[5198,8997],[5229,8981],[5201,8980],[5241,8968],[5234,8958],[5261,8967],[5275,8959],[5313,8955],[5363,8931],[5386,8913],[5432,8896],[5462,8880],[5472,8846],[5445,8816],[5412,8802],[5371,8800],[5340,8810],[5296,8816],[5279,8826],[5240,8832],[5204,8851],[5224,8822],[5270,8801],[5282,8781],[5268,8765],[5283,8741],[5278,8726],[5297,8714],[5312,8720],[5310,8748],[5327,8744],[5344,8756],[5374,8740],[5419,8726],[5443,8744],[5423,8767],[5427,8777],[5455,8795],[5471,8799],[5508,8834],[5507,8815],[5527,8817],[5554,8790],[5553,8811],[5564,8829],[5558,8849],[5544,8854],[5556,8908],[5529,8926],[5588,8923],[5606,8918],[5629,8887],[5589,8881],[5577,8861],[5596,8853],[5604,8839],[5625,8836],[5659,8845],[5662,8873],[5690,8881],[5760,8921],[5791,8925],[5827,8942],[5854,8944],[5835,8929],[5843,8913],[5869,8904],[5871,8915],[5901,8928],[5941,8924],[5960,8939],[5987,8946],[5992,8959],[6003,8934],[5994,8916],[6010,8912],[6013,8929],[6047,8943],[6024,8976],[6034,8984],[6007,8983],[6003,8993],[5978,9003],[5976,9016],[6001,9017],[6034,8994],[6034,8984],[6043,8991],[6097,8985],[6141,8975],[6188,8950],[6236,8936],[6249,8921],[6223,8855],[6201,8819],[6146,8748],[6145,8693],[6137,8621],[6125,8567],[6103,8501],[6076,8442],[6054,8381],[6041,8382],[6031,8337],[6003,8319],[6e3,8294],[6028,8269],[6033,8252],[6017,8240],[6015,8217],[6023,8180],[6059,8158],[6050,8141],[600
385,8140],[5959,8152],[5918,8149],[5885,8155],[5846,8157],[5821,8152],[5785,8120],[5772,8100],[5769,8073],[5759,8055],[5746,8015],[5745,7994],[5664,7945],[5656,7948],[5643,7921],[5629,7902],[5655,7882],[5651,7851],[5684,7809],[5663,7787],[5645,7790],[5625,7807],[5597,7823],[5599,7833],[5575,7842],[5547,7834],[5543,7841],[5503,7858],[5477,7858],[5451,7869],[5431,7864],[5431,7864],[5402,7891],[5378,7901],[5369,7911],[5331,7929],[5365,7933],[5361,7946],[5372,7960],[5389,7963],[5372,7972],[5365,7983],[5410,7996],[5410,8005],[5360,7999],[5353,7991],[5311,7982],[5279,7965],[5294,7935],[5331,7938],[5327,7924],[5303,7926],[5269,7912],[5254,7900],[5243,7908],[5242,7925],[5223,7935],[5222,7945],[5249,7956],[5233,7967],[5211,7961],[5185,7968],[5212,7980],[5167,7981],[5132,7944],[5126,7917],[5111,7914],[5098,7898],[5096,7869],[5083,7865],[5068,7831],[5081,7802],[5111,7788],[5108,7780],[5086,7783],[5065,7779],[5054,7767],[5043,7759],[5039,7756]]],[[[4772,9585],[4806,9562],[4812,9536],[4868,9529],[4857,9522],[4888,9516],[4884,9504],[4864,9506],[4814,9491],[4816,9467],[4802,9465],[4790,9429],[4777,9427],[4750,9371],[4706,9399],[4678,9411],[4664,9432],[4700,9442],[4751,9449],[4749,9453],[4659,9446],[4655,9465],[4697,9469],[4720,9483],[4753,9484],[4709,9491],[4691,9508],[4678,9493],[4686,9486],[4663,9475],[4638,9474],[4609,9501],[4601,9490],[4613,9475],[4582,9489],[4565,9512],[4584,9508],[4587,9532],[4570,9563],[4576,9569],[4603,9582],[4618,9570],[4661,9584],[4651,9565],[4663,9562],[4683,9580],[4704,9567],[4711,9547],[4736,9520],[4725,9546],[4717,9584],[4734,9597],[4750,9584],[4772,9585]]],[[[5015,9555],[4969,9546],[4963,9538],[4929,9540],[4929,9553],[4867,9551],[4849,9557],[4835,9548],[4833,9566],[4898,9573],[4899,9580],[4808,9574],[4790,9585],[4809,9594],[4785,9601],[4794,9617],[4824,9598],[4815,9616],[4832,9608],[4855,9621],[4859,9637],[4869,9606],[4898,9611],[4913,9593],[4924,9626],[4939,9623],[4932,9604],[4971,9612],[5044,9604],[5054,9582],[5015,9567],[5015,9555]]],[[[5897,9674],[5887,9683],[5918,9678],[5932,9698],[5973,9694],[5970,9702],[5960,9718],[5997,9721],[5978,9689],[6015,9681],[6012,9672],[5955,9687],[5963,9668],[5980,9664],[5973,9643],[5926,9662],[5933,9678],[5897,9674]]],[[[6022,9661],[6069,9668],[6074,9700],[6085,9710],[6128,9709],[6122,9702],[6084,9700],[6081,9634],[6051,9620],[5998,9628],[6005,9647],[6051,9650],[6022,9661]]],[[[6269,9396],[6283,9372],[6230,9343],[6060,9297],[6044,9286],[6028,9262],[5999,9256],[5995,9245],[5967,9253],[5982,9233],[5968,9230],[5954,9203],[5895,9150],[5884,9123],[5887,9101],[5905,9066],[5950,9037],[5936,9025],[5903,9029],[5885,9038],[5878,9028],[5858,9040],[5823,9045],[5837,9060],[5821,9068],[5814,9050],[5792,9067],[5806,9074],[5771,9082],[5767,9099],[5781,9115],[5797,9111],[5808,9142],[5803,9154],[5823,9155],[5819,9170],[5859,9197],[5833,9205],[5867,9218],[5884,9245],[5910,9247],[5888,9257],[5914,9261],[5899,9268],[5922,9274],[5915,9281],[5933,9301],[5953,9297],[5948,9308],[5967,9312],[5982,9331],[6012,9333],[6028,9344],[6052,9342],[6052,9354],[6090,9349],[6139,9356],[6185,9372],[6224,9395],[6269,9396]]],[[[5627,9613],[5658,9617],[5679,9631],[5700,9627],[5715,9636],[5696,9645],[5737,9662],[5776,9638],[5754,9629],[5718,9626],[5723,9608],[5742,9591],[5755,9599],[5768,9587],[5727,9590],[5711,9617],[5640,9604],[5627,9613]]],[[[3785,8707],[3755,8691],[3733,8686],[3704,8672],[3661,8679],[3632,8694],[3587,8692],[3616,8710],[3598,8726],[3599,8736],[3547,8742],[3614,8750],[3592,8756],[3611,8768],[3573,8775],[3552,8767],[3533,8772],[3557,8785],[3565,8806],[3593,8795],[3575,8817],[3591,8819],[3628,8795],[3623,8775],[3634,8760],[3647,8781],[3659,8783],[3654,8800],[3664,8802],[3677,8784],[3701,8806],[3713,8797],[3725,8822],[3737,8794],[3749,8805],[3770,8805],[3769,8821],[3784,8822],[3803,8803],[3819,8815],[3812,8798],[3823,8799],[3818,8783],[3855,8772],[3854,8747],[3830,8732],[3827,8719],[3785,8707]]],[[[3972,8209],[3982,8231],[3956,8248],[3974,8257],[3961,8275],[3966,8279],[4006,8277],[4016,8292],[4e3,8291],[4012,8313],[4038,8322],[4056,8314],[4070,8318],[4092,8292],[4081,8269],[4068,8266],[4079,8224],[4068,8193],[4036,8191],[3999,8169],[3966,8164],[3950,8181],[3964,8191],[3947,8190],[3972,8209]]],[[[4048,8442],[4071,8454],[4067,8441],[4076,8405],[4089,8412],[4084,8425],[4108,8459],[4118,8455],[4155,8460],[4162,8481],[4181,8479],[4160,8445],[4135,8429],[4144,8424],[4130,8410],[4152,8419],[4198,8418],[4203,8409],[4181,8372],[4179,8359],[4162,8350],[4192,8344],[4207,8330],[4223,8291],[4239,8285],[4253,8270],[4265,8229],[4255,8221],[4293,8223],[4307,8205],[4302,8189],[4284,8179],[4281,8169],[4297,8162],[4295,8152],[4263,8137],[4250,8140],[4216,8131],[4216,8139],[4183,8131],[4171,8137],[4152,8130],[4148,8117],[4115,8121],[4102,8107],[4095,8116],[4133,8155],[4166,8154],[4176,8170],[4151,8163],[4126,8177],[4110,8170],[4100,8183],[4132,8197],[4134,8222],[4121,8241],[4133,8235],[4161,8241],[4173,8271],[4160,8270],[4148,8286],[4155,8302],[4139,8297],[4126,8303],[4127,8282],[4104,8300],[4119,8327],[4098,8343],[4105,8324],[4085,8319],[4090,8338],[4085,8348],[4092,8365],[4069,8359],[4073,8379],[4083,8379],[4088,8397],[4063,8392],[4067,8411],[4063,8428],[4044,8417],[4048,8442]]]]}},{type:"Feature",id:"OC",properties:{"hc-group":"admin0","hc-middle-x":.34,"hc-middle-y":.46,"hc-key":"oc","hc-a2":"OC","abbrev-a3":"OCA","iso-a2":"OC",name:"Oceania"},geometry:{type:"MultiPolygon",coordinates:[[[[8861,6273],[8858,6285],[8876,6279],[8880,6265],[8890,6274],[8910,6251],[8861,6273]]],[[[8303,5422],[8316,5416],[8298,5405],[8276,5406],[8272,5416],[8303,5422]]],[[[9069,5923],[9115,5893],[9127,5878],[9149,5866],[9183,5837],[9179,5835],[9138,5856],[9107,5875],[9090,5893],[9069,5923]]],[[[8092,6165],[8080,6162],[8090,6179],[8100,6175],[8115,6180],[8124,6172],[8108,6158],[8092,6165]]],[[[8803,6349],[8800,6358],[8841,6318],[8847,6306],[8831,6294],[8835,6307],[8825,6311],[8821,6322],[8807,6335],[8803,6349]]],[[[8680,6431],[8674,6439],[8709,6424],[8720,6416],[8725,6426],[8732,6408],[8745,6420],[8740,6402],[8759,6384],[8752,6367],[8746,6387],[8734,6404],[8699,6426],[8680,6431]]],[[[9170,6069],[9180,6034],[9192,6023],[9182,6019],[9171,6035],[9172,6051],[9161,6047],[9156,6056],[9156,6078],[9162,6062],[9170,6069]]],[[[9019,6225],[9012,6209],[9028,6191],[9014,6194],[9e3,6209],[9012,6209],[9018,6224],[9007,6222],[8987,6240],[8979,6265],[8980,6277],[9002,6230],[9019,6225]]],[[[8937,6241],[8963,6246],[8984,6224],[8980,6217],[8956,6222],[8950,6236],[8937,
386241]]],[[[8402,6242],[8402,6307],[8402,6433],[8434,6419],[8475,6409],[8493,6415],[8485,6403],[8506,6397],[8521,6382],[8544,6366],[8541,6350],[8563,6345],[8580,6335],[8592,6334],[8603,6323],[8604,6313],[8578,6311],[8584,6290],[8612,6273],[8625,6244],[8642,6246],[8644,6231],[8667,6226],[8673,6239],[8689,6233],[8695,6212],[8677,6230],[8659,6221],[8665,6214],[8685,6209],[8677,6205],[8691,6199],[8673,6195],[8660,6205],[8608,6211],[8580,6231],[8552,6272],[8543,6277],[8505,6280],[8483,6287],[8489,6275],[8480,6273],[8475,6259],[8461,6265],[8473,6246],[8451,6235],[8402,6242]]],[[[8910,6289],[8897,6292],[8897,6292],[8908,6291],[8910,6289],[8910,6289]]],[[[8910,6289],[8924,6286],[8957,6265],[8927,6275],[8910,6289],[8910,6289]]],[[[9523,5984],[9518,5985],[9518,5985],[9521,5987],[9523,5984],[9523,5984],[9523,5984]]],[[[9523,5984],[9532,5984],[9530,5973],[9523,5984],[9523,5984],[9523,5984]]],[[[9518,5985],[9499,5973],[9496,5966],[9496,5966],[9496,5969],[9480,5961],[9469,5978],[9474,5985],[9465,5998],[9476,5992],[9486,5996],[9512,5986],[9518,5985],[9518,5985]]],[[[9496,5963],[9495,5964],[9496,5966],[9496,5966],[9496,5963],[9496,5963]]],[[[9496,5963],[9505,5946],[9496,5947],[9496,5963],[9496,5963]]],[[[9535,6016],[9534,6016],[9534,6016],[9534,6016],[9534,6016],[9535,6016],[9535,6016]]],[[[9535,6016],[9546,6023],[9544,6006],[9541,6016],[9535,6016],[9535,6016]]],[[[9202,6049],[9201,6053],[9201,6053],[9201,6053],[9201,6053],[9202,6049],[9202,6049]]],[[[9202,6049],[9206,6028],[9194,6029],[9203,6037],[9202,6049],[9202,6049]]],[[[8549,5972],[8566,5956],[8563,5945],[8591,5936],[8599,5922],[8637,5915],[8641,5902],[8627,5899],[8644,5883],[8659,5842],[8668,5835],[8663,5851],[8676,5866],[8691,5834],[8691,5812],[8702,5808],[8710,5793],[8719,5793],[8746,5755],[8757,5752],[8766,5762],[8757,5738],[8761,5698],[8771,5687],[8768,5666],[8773,5641],[8755,5581],[8753,5557],[8741,5535],[8742,5526],[8721,5512],[8694,5464],[8689,5436],[8672,5412],[8664,5377],[8667,5358],[8652,5348],[8617,5347],[8596,5338],[8575,5319],[8563,5314],[8562,5302],[8544,5319],[8518,5323],[8519,5344],[8477,5312],[8443,5328],[8422,5327],[8383,5345],[8365,5369],[8369,5387],[8351,5418],[8343,5423],[8320,5419],[8330,5450],[8316,5470],[8304,5436],[8280,5433],[8244,5446],[8231,5478],[8220,5496],[8205,5502],[8205,5518],[8186,5537],[8185,5530],[8161,5541],[8144,5539],[8113,5557],[8049,5550],[7999,5531],[7967,5532],[7906,5503],[7901,5489],[7888,5477],[7830,5481],[7785,5477],[7763,5457],[7751,5460],[7737,5445],[7717,5440],[7686,5440],[7666,5447],[7656,5460],[7641,5463],[7637,5490],[7646,5486],[7657,5498],[7658,5551],[7643,5578],[7637,5598],[7637,5621],[7624,5652],[7613,5665],[7600,5655],[7612,5678],[7609,5690],[7588,5719],[7576,5743],[7583,5769],[7592,5777],[7591,5792],[7601,5809],[7598,5837],[7609,5860],[7613,5839],[7627,5860],[7655,5875],[7649,5895],[7665,5884],[7691,5900],[7707,5894],[7730,5905],[7750,5908],[7761,5918],[7772,5914],[7813,5927],[7829,5945],[7838,5963],[7853,5972],[7849,5999],[7872,6020],[7889,5991],[7888,6017],[7894,6029],[7914,6027],[7916,6059],[7930,6057],[7932,6068],[7944,6066],[7935,6083],[7962,6082],[7989,6105],[8001,6100],[8025,6076],[8022,6063],[8036,6074],[8073,6071],[8060,6085],[8070,6096],[8076,6114],[8086,6118],[8083,6128],[8108,6151],[8139,6147],[8158,6152],[8158,6167],[8131,6177],[8155,6185],[8172,6165],[8191,6165],[8209,6155],[8219,6158],[8228,6149],[8252,6157],[8269,6170],[8269,6158],[8283,6146],[8260,6119],[8261,6107],[8282,6103],[8268,6091],[8268,6103],[8253,6098],[8240,6069],[8274,6046],[8307,6030],[8319,6016],[8345,6010],[8373,5986],[8397,5993],[8415,6035],[8422,6067],[8418,6082],[8420,6141],[8429,6153],[8436,6176],[8438,6209],[8450,6193],[8457,6161],[8467,6157],[8463,6147],[8474,6138],[8477,6104],[8489,6082],[8505,6092],[8510,6080],[8530,6069],[8528,6051],[8532,6024],[8554,5988],[8549,5972]]],[[[8508,5238],[8511,5255],[8523,5244],[8562,5232],[8603,5241],[8612,5253],[8601,5276],[8617,5274],[8622,5257],[8616,5255],[8618,5191],[8608,5191],[8607,5159],[8595,5168],[8575,5144],[8550,5147],[8528,5181],[8526,5204],[8518,5213],[8508,5238]]],[[[8702,6364],[8717,6368],[8712,6387],[8739,6387],[8734,6364],[8726,6363],[8729,6349],[8712,6343],[8681,6325],[8656,6324],[8647,633
381],[8620,6340],[8613,6349],[8637,6349],[8642,6365],[8654,6372],[8668,6361],[8671,6347],[8697,6351],[8702,6364]]],[[[9245,5037],[9213,5030],[9204,5039],[9196,5033],[9204,5019],[9179,5013],[9191,5026],[9188,5052],[9160,5051],[9152,5058],[9166,5090],[9208,5129],[9247,5147],[9288,5182],[9299,5208],[9316,5223],[9317,5241],[9333,5255],[9344,5245],[9347,5227],[9366,5240],[9367,5227],[9378,5238],[9375,5219],[9382,5212],[9360,5185],[9352,5169],[9336,5152],[9346,5137],[9325,5136],[9295,5121],[9291,5099],[9274,5069],[9276,5062],[9245,5037]]],[[[9412,5216],[9391,5227],[9401,5239],[9409,5262],[9401,5275],[9367,5293],[9366,5300],[9390,5312],[9398,5349],[9384,5387],[9384,5401],[9374,5399],[9346,5434],[9349,5440],[9334,5459],[9345,5462],[9348,5447],[9370,5442],[9390,5422],[9388,5409],[9405,5401],[9418,5402],[9427,5387],[9432,5353],[9474,5342],[9490,5356],[9507,5350],[9499,5322],[9487,5303],[9473,5304],[9458,5291],[9456,5266],[9431,5229],[9412,5216]]],[[[8896,6292],[8876,6294],[8857,6312],[8874,6307],[8894,6292],[8896,6292],[8896,6292]]],[[[9534,6016],[9528,6016],[9511,6007],[9508,6019],[9531,6027],[9545,6029],[9534,6016],[9534,6016],[9534,6016]]],[[[9201,6053],[9192,6053],[9200,6055],[9201,6053],[9201,6053],[9201,6053]]]]}},{type:"Feature",id:"AF",properties:{"hc-group":"admin0","hc-middle-x":.66,"hc-middle-y":.54,"hc-key":"af","hc-a2":"AF","abbrev-a3":"AFR","iso-a2":"AF",name:"Africa"},geometry:{type:"MultiPolygon",coordinates:[[[[3731,7363],[3734,7372],[3752,7352],[3758,7360],[3781,7367],[3802,7353],[3797,7341],[3790,7349],[3772,7354],[3749,7350],[3731,7363]]],[[[4096,7606],[4096,7606],[4096,7606],[4115,7584],[4129,7581],[4129,7581],[4129,7581],[4168,7587],[4180,7579],[4203,7580],[4220,7594],[4286,7625],[4333,7629],[4341,7636],[4396,7639],[4409,7631],[4437,7639],[4458,7639],[4472,7645],[4488,7637],[4514,7642],[4545,7654],[4562,7633],[4580,7645],[4583,7638],[4564,7620],[4567,7604],[4580,7596],[4583,7584],[4567,7561],[4553,7553],[4559,7533],[4580,7536],[4584,7517],[4618,7504],[4648,7507],[4702,7490],[4711,7466],[4727,7454],[4766,7448],[4790,7438],[4813,7422],[4824,7422],[4844,7439],[4848,7452],[4841,7468],[4845,7483],[4860,7495],[4891,7507],[4907,7508],[4934,7498],[4934,7488],[4964,7477],[4990,7476],[4996,7462],[5015,7465],[5059,7457],[5109,7439],[5123,7443],[5148,7461],[5194,7462],[5199,7447],[5206,7454],[5230,7446],[5261,7455],[5261,7455],[5261,7455],[5269,7434],[5279,7404],[5281,7396],[5250,7321],[5256,7305],[5300,7223],[5305,7191],[5340,7164],[5340,7151],[5352,7126],[5349,7112],[5353,7075],[5363,7063],[5389,7044],[5400,7022],[5409,6983],[5423,6958],[5435,6980],[5432,6957],[5440,6948],[5466,6939],[5481,6919],[5499,6908],[5513,6886],[5530,6875],[5531,6861],[5513,6852],[5534,6842],[5544,6825],[5557,6815],[5578,6814],[5602,6828],[5621,6822],[5648,6836],[5695,6839],[5734,6849],[5749,6861],[5764,6856],[5758,6837],[5760,6818],[5753,6811],[5750,6786],[5734,6757],[5721,6742],[5697,6688],[5665,6639],[5609,6580],[5565,6554],[5534,6527],[5493,6483],[5480,6463],[5438,6421],[5406,6359],[5396,6332],[5403,6319],[5411,6341],[5419,6321],[5410,6312],[5418,6300],[5411,6280],[5428,6282],[5410,6265],[5421,6239],[5423,6217],[5445,6205],[5450,6191],[5444,6167],[5449,6128],[5447,6108],[5456,6083],[5449,6053],[5429,6025],[5406,6011],[5370,5996],[5346,5981],[5328,5960],[5277,5920],[5275,5903],[5284,5894],[5289,5872],[5298,5862],[5300,5843],[5296,5798],[5299,5790],[5288,5775],[5247,5759],[5222,5746],[5223,5705],[5207,5651],[5189,5638],[5172,5619],[5149,5577],[5104,5531],[5076,5506],[5035,5483],[5010,5481],[5011,5474],[4989,5475],[4986,5468],[4950,5475],[4944,5471],[4919,5475],[4893,5462],[4870,5463],[4842,5448],[4810,5470],[4794,5469],[4799,5479],[4780,5514],[4793,5519],[4790,5551],[4763,5593],[4749,5634],[4716,5670],[4705,5690],[4692,5739],[4690,5769],[4681,5789],[4683,5829],[4678,5847],[4665,5862],[4649,5891],[4642,5912],[4616,5956],[4604,5973],[4600,5991],[4603,6023],[4601,6043],[4608,6049],[4616,6074],[4623,6113],[4656,6149],[4662,6183],[4660,6196],[4643,6224],[4637,6242],[4649,6252],[4648,6265],[4633,6296],[4632,6307],[4616,6330],[4612,6357],[4603,6374],[4546,6430],[4528,6454],[4530,6469],[4521,6471],[4516,6485],[4528,6497],[4530,6543],[4543,6564],[4548,6599],[4538,6624],[4519,6615],[4518,6642],[4430,6635],[4420,6644],[4412,6665],[4399,6684],[4385,6695],[4369,6697],[4311,6692],[4290,6687],[4284,6679],[4265,6678],[4232,6661],[4194,6647],[4186,6652],[4138,6662],[4083,6656],[4036,6636],[4012,6643],[3982,6659],[3949,6689],[3921,6705],[3907,6718],[3874,6730],[3885,6731],[3874,6750],[3868,6748],[3863,6782],[3855,6795],[3830,6808],[3820,6830],[3802,6837],[3800,6846],[3783,6836],[3780,6846],[3792,6845],[3803,6860],[3780,6855],[3763,6871],[3760,6901],[3768,6908],[3750,6940],[3769,6974],[3771,6999],[3784,7039],[3778,7070],[3769,7083],[3779,7107],[3758,7136],[3756,7155],[3769,7172],[3791,7219],[3817,7245],[3820,7269],[3831,7294],[3854,7308],[3874,7346],[3917,7359],[3944,7380],[3971,7417],[3964,7435],[3965,7458],[3980,7478],[3983,7496],[4004,7519],[4035,7531],[4054,7544],[4070,7572],[4081,7602],[4096,7606]]],[[[5707,5964],[5699,5945],[5673,5861],[5665,5845],[5654,5798],[5641,5765],[5615,5756],[5593,5745],[5583,5744],[5550,5763],[5541,5781],[5542,5810],[5530,5830],[5526,5848],[5535,5876],[5546,5889],[5563,5919],[5563,5931],[5551,5964],[5548,5993],[5562,6016],[5563,6032],[5574,6030],[5587,6039],[5615,6046],[5637,6061],[5668,6094],[5663,6103],[5673,6115],[5689,6114],[5693,6140],[5704,6158],[5713,6138],[5724,6126],[5730,6103],[5733,6075],[5740,6054],[5733,6038],[5723,6054],[5715,6051],[5721,6021],[5709,5999],[5707,5964]]]]}},{type:"Feature",id:"AS",properties:{"hc-group":"admin0","hc-middle-x":.44,"hc-middle-y":.46,"hc-key":"as","hc-a2":"AS","abbrev-a3":"ASA","iso-a2":"AS",name:"Asia"},geometry:{type:"MultiPolygon",coordinates:[[[[9585,9083],[9623,9065],[9609,9055],[9567,9047],[9548,9051],[9548,9051],[9515,9041],[9517,9065],[9548,9080],[9548,9080],[9548,9080],[9548,9080],[9548,9080],[9585,9083]]],[[[9558,8755],[9549,8750],[9549,8750],[9534,8739],[9497,8731],[9470,8740],[9443,8741],[9453,8727],[9476,8736],[9475,8720],[9491,8710],[9499,8717],[9510,8698],[9508,8673],[9529,8663],[9538,8640],[9518,8624],[9470,8634],[9411,8613],[9387,8599],[9373,8599],[9314,8556],[9279,8541],[9267,8517],[9254,8521],[9233,8543],[9199,8543],[9168,8533],[9141,8511],[9149,8539],[9112,8522],[9103,8509],[9093,8523],[9068,8520],[9054,8497],[9057,8478],[9072,8469],[9095,8485],[9097,8469],[9084,8467],[9064,8451],[9052,8475],[9032,8460],[9020,8435],[9035,8421],[9041,8430],[9059,8419],[9044,8405],[9043,8379],[9056,8378],[9060,8355],[9051,8348],[9037,8359],[9024,8353],[9013,8331],[9024,8300],[9012,8286],[8983,8287],[8963,8273],[8956,8247],[8963,8230],[8950,8236],[8921,8222],[8911,8185],[8865,8143],[8856,8195],[8847,8223],[8830,8318],[8833,8344],[8845,8379],[8863,8391],[8873,8407],[8867,8422],[8887,8423],[8932,8449],[8957,8481],[9017,8527],[9018,8537],[9064,8563],[9080,8578],[9083,8620],[9095,8628],[9115,8626],[9096,8638],[9057,8631],[9051,8586],[9032,8593],[9020,8579],[8966,8544],[8974,8564],[8956,8560],[8955,8573],[8970,8587],[8971,8605],[8947,8593],[8942,8603],[8887,8598],[8863,8586],[8863,8572],[8813,8534],[8791,8512],[8787,8497],[8813,8496],[8830,8489],[8786,8477],[8766,8485],[8753,8471],[8736,8477],[8707,8468],[8688,8481],[8680,8501],[8655,8508],[8632,8498],[8642,8483],[8606,8492],[8595,8485],[8559,8492],[8488,8493],[8439,8480],[8419,8458],[8399,8448],[8387,8425],[8334,8388],[8312,8362],[8278,8333],[8232,8302],[8248,8289],[8281,8290],[8275,8258],[8288,8258],[8286,8272],[8307,8263],[8295,8247],[8312,8249],[8331,8266],[8336,8278],[8367,8278],[8380,8261],[8415,8232],[8406,8225],[8415,8184],[8400,8171],[8386,8129],[8392,8111],[8378,8049],[8355,8029],[8330,7995],[8317,7967],[8252,7900],[8230,7868],[8194,7846],[8172,7839],[8146,7846],[8147,7862],[8120,7847],[8099,7825],[8091,7826],[8068,7799],[8070,7774],[8056,7769],[8039,7752],[8006,7736],[8004,7716],[8031,7698],[8059,7652],[8066,7612],[8055,7581],[8037,7567],[8022,7577],[8001,7568],[8005,7558],[7981,7553],[7986,7520],[7966,7519],[7980,7547],[7964,7552],[7958,7566],[7985,7605],[7970,7628],[7976,7644],[7988,7640],[7976,7660],[7960,7673],[7938,7666],[7935,7678],[7922,7680],[7941,7701],[7945,7721],[7919,7739],[7884,7738],[7855,7725],[7861,7719],[7819,7701],[7837,7723],[7823,7724],[7830,7740],[7852,7762],[7839,7774],[7819,7777],[7797,7752],[7771,7741],[7756,7717],[7741,7708],[7727,7718],[7712,7698],[7728,7681],[7751,7682],[7754,7652],[7768,7647],[7807,7673],[7831,7657],[7847,7662],[7864,7656],[7853,7637],[7845,7642],[7807,7624],[7805,7614],[7774,7595],[7761,7577],[7774,7561],[7792,7553],[7811,7510],[7810,7499],[7838,7476],[7843,7462],[7835,7454],[7843,7442],[7813,7430],[7806,7420],[7825,7423],[7834,7413],[7849,7416],[7856,7435],[7855,7408],[7844,7413],[7842,7383],[7831,7390],[7833,7360],[7813,7349],[7795,7316],[7771,7309],[7772,7276],[7764,7261],[7739,7237],[7719,7226],[7714,7216],[7694,7213],[7682,7191],[7662,7185],[7631,7187],[7623,7176],[7605,7168],[7601,7185],[7594,7166],[7581,7168],[7573,7149],[7562,7157],[7549,7150],[7511,7142],[7498,7131],[7506,7115],[7488,7108],[7481,7129],[7483,7146],[7445,7158],[7432,7144],[7413,7140],[7421,7135],[7388,7117],[7390,7108],[7374,7101],[7362,7070],[7376,7049],[7386,7044],[7392,7024],[7429,6988],[7438,6987],[7454,6962],[7470,6917],[7468,6902],[7475,6880],[7467,6880],[7468,6853],[7462,6842],[7410,
386813],[7399,6813],[7387,6788],[7359,6776],[7346,6761],[7337,6767],[7340,6797],[7321,6819],[7294,6820],[7277,6862],[7264,6867],[7250,6881],[7221,6882],[7225,6905],[7198,6903],[7197,6867],[7192,6860],[7172,6806],[7174,6779],[7192,6781],[7195,6762],[7204,6752],[7202,6729],[7226,6709],[7242,6709],[7288,6666],[7298,6649],[7295,6618],[7297,6595],[7307,6585],[7320,6588],[7313,6577],[7323,6551],[7300,6546],[7295,6554],[7234,6592],[7235,6604],[7218,6622],[7213,6651],[7207,6657],[7207,6684],[7200,6697],[7185,6701],[7189,6717],[7164,6744],[7153,6746],[7147,6736],[7145,6777],[7154,6801],[7143,6804],[7145,6826],[7154,6823],[7160,6839],[7149,6851],[7127,6857],[7154,6855],[7158,6868],[7141,6869],[7146,6893],[7155,6896],[7145,6912],[7132,6947],[7129,6977],[7105,7021],[7097,6996],[7075,6987],[7062,6972],[7026,6981],[7038,7027],[7024,7065],[7011,7067],[7005,7080],[7018,7083],[7002,7104],[6991,7096],[6957,7146],[6961,7156],[6945,7186],[6935,7177],[6921,7186],[6927,7167],[6918,7158],[6905,7162],[6880,7151],[6851,7148],[6843,7157],[6820,7148],[6809,7137],[6814,7121],[6796,7100],[6768,7091],[6751,7077],[6728,7048],[6703,7028],[6676,7011],[6676,6998],[6645,6990],[6637,6973],[6616,6970],[6610,6951],[6618,6901],[6613,6875],[6604,6862],[6604,6810],[6590,6811],[6576,6786],[6580,6782],[6556,6771],[6551,6754],[6535,6745],[6520,6754],[6507,6769],[6498,6801],[6477,6852],[6467,6862],[6456,6886],[6449,6917],[6439,6941],[6415,6982],[6402,7043],[6392,7096],[6399,7116],[6388,7153],[6389,7167],[6377,7161],[6382,7151],[6376,7138],[6343,7123],[6316,7136],[6283,7171],[6319,7179],[6326,7191],[6306,7185],[6273,7199],[6265,7211],[6236,7226],[6230,7244],[6216,7249],[6209,7273],[6187,7266],[6153,7263],[6125,7266],[6123,7261],[6093,7263],[6070,7256],[5985,7272],[5966,7272],[5941,7279],[5932,7313],[5926,7322],[5913,7312],[5893,7317],[5859,7294],[5852,7308],[5842,7301],[5826,7317],[5802,7330],[5797,7338],[5766,7349],[5750,7385],[5735,7388],[5745,7395],[5728,7419],[5714,7414],[5695,7425],[5694,7415],[5673,7413],[5678,7395],[5666,7399],[5672,7381],[5706,7324],[5724,7313],[5732,7291],[5744,7292],[5742,7279],[5763,7291],[5772,7282],[5772,7253],[5763,7233],[5777,7233],[5779,7224],[5801,7228],[5839,7226],[5875,7255],[5903,7282],[5913,7298],[5913,7254],[5920,7239],[5936,7222],[5984,7209],[6014,7168],[6e3,7145],[5981,7126],[5989,7117],[5980,7112],[5964,7118],[5952,7093],[5956,7071],[5929,7065],[5919,7045],[5908,7039],[5904,7025],[5892,7037],[5879,7026],[5874,7010],[5844,7010],[5802,6994],[5789,6980],[5791,6969],[5766,6957],[5742,6952],[5699,6935],[5687,6922],[5667,6922],[5649,6910],[5629,6903],[5598,6901],[5575,6883],[5548,6879],[5527,6897],[5523,6923],[5511,6921],[5521,6936],[5511,6972],[5515,6982],[5506,7006],[5490,7e3],[5486,7007],[5500,7015],[5499,7024],[5482,7038],[5467,7061],[5459,7086],[5447,7100],[5421,7115],[5405,7141],[5401,7160],[5405,7179],[5386,7217],[5359,7232],[5348,7250],[5344,7267],[5329,7274],[5334,7287],[5301,7332],[5291,7351],[5274,7352],[5284,7398],[5281,7396],[5279,7404],[5261,7455],[5261,7455],[5276,7476],[5283,7504],[5313,7560],[5313,7610],[5308,7620],[5320,7629],[5315,7640],[5295,7627],[5271,7635],[5246,7614],[5220,7610],[5197,7627],[5158,7639],[5149,7617],[5128,7613],[5112,7621],[5106,7634],[5087,7638],[5088,7644],[5057,7641],[5067,7652],[5055,7655],[5056,7676],[5027,7686],[5047,7691],[5041,7701],[5050,7708],[5038,7720],[5046,7731],[5022,7727],[5013,7748],[5024,7743],[5039,7756],[5041,7759],[5043,7759],[5113,7760],[5119,7771],[5115,7788],[5174,7783],[5204,7805],[5235,7815],[5276,7813],[5283,7818],[5300,7802],[5313,7805],[5327,7788],[5332,7793],[5360,7781],[5383,7777],[5415,7784],[5435,7777],[5473,7793],[5484,7808],[5476,7837],[5457,7852],[5431,7864],[5431,7864],[5431,7864],[5433,7869],[5451,7869],[5477,7858],[5503,7858],[5543,7841],[5547,7834],[5575,7842],[5599,7833],[5597,7823],[5625,7807],[5645,7790],[5663,7787],[5684,7809],[5714,7767],[5736,7761],[5709,7748],[5702,7711],[5692,7706],[5695,7674],[5700,7664],[5730,7656],[5758,7634],[5782,7628],[5828,7639],[5844,7637],[5838,7668],[5843,7707],[5831,7722],[5831,7743],[5806,7747],[5812,7779],[5835,7767],[5853,7770
38],[5864,7784],[5846,7796],[5840,7818],[5819,7818],[5801,7798],[5796,7818],[5806,7841],[5783,7844],[5765,7866],[5751,7893],[5733,7900],[5727,7924],[5745,7920],[5767,7934],[5803,7937],[5817,7959],[5820,7985],[5798,7995],[5792,7988],[5761,8e3],[5745,7994],[5746,8015],[5759,8055],[5769,8073],[5772,8100],[5785,8120],[5821,8152],[5846,8157],[5885,8155],[5918,8149],[5959,8152],[6005,8140],[6050,8141],[6059,8158],[6023,8180],[6015,8217],[6017,8240],[6033,8252],[6028,8269],[6e3,8294],[6003,8319],[6031,8337],[6041,8382],[6054,8381],[6076,8442],[6103,8501],[6125,8567],[6137,8621],[6145,8693],[6146,8748],[6201,8819],[6223,8855],[6249,8921],[6264,8905],[6287,8943],[6270,8945],[6256,8972],[6229,8982],[6219,8978],[6235,9037],[6210,9035],[6224,9068],[6254,9080],[6269,9097],[6284,9145],[6302,9155],[6360,9157],[6397,9146],[6398,9121],[6379,9085],[6368,9081],[6393,9058],[6396,9021],[6386,9012],[6390,8943],[6421,8921],[6405,8906],[6407,8882],[6391,8876],[6380,8853],[6359,8839],[6360,8828],[6334,8821],[6309,8836],[6284,8836],[6296,8821],[6298,8835],[6317,8830],[6311,8816],[6373,8807],[6387,8826],[6417,8836],[6429,8860],[6453,8879],[6452,8904],[6441,8915],[6445,8930],[6502,8946],[6529,8922],[6523,8883],[6551,8872],[6578,8875],[6534,8883],[6536,8902],[6554,8909],[6540,8940],[6513,8953],[6476,8960],[6464,8952],[6424,8956],[6429,8968],[6417,8985],[6424,9008],[6441,9026],[6419,9066],[6403,9076],[6418,9096],[6459,9112],[6462,9142],[6434,9163],[6457,9167],[6482,9136],[6482,9120],[6469,9104],[6477,9081],[6468,9074],[6491,9065],[6543,9059],[6563,9046],[6558,9066],[6500,9082],[6490,9101],[6518,9109],[6537,9097],[6553,9100],[6543,9123],[6517,9122],[6538,9141],[6561,9133],[6567,9154],[6583,9167],[6595,9158],[6590,9128],[6659,9090],[6692,9094],[6706,9089],[6698,9074],[6676,9067],[6679,9040],[6693,9052],[6710,9038],[6702,9019],[6719,9024],[6701,9065],[6715,9085],[6707,9097],[6672,9111],[6672,9122],[6644,9126],[6629,9136],[6633,9157],[6616,9179],[6633,9194],[6666,9199],[6711,9199],[6702,9228],[6736,9220],[6737,9202],[6773,9209],[6821,9211],[6792,9243],[6760,9250],[6759,9263],[6777,9256],[6815,9277],[6817,9269],[6877,9304],[6901,9311],[7007,9328],[6991,9341],[7011,9345],[7016,9373],[7031,9372],[7032,9350],[7073,9355],[7075,9375],[7045,9376],[7057,9398],[7094,9411],[7069,9395],[7067,9378],[7092,9380],[7087,9356],[7109,9351],[7076,9346],[7079,9337],[7159,9349],[7189,9340],[7163,9369],[7221,9370],[7233,9384],[7223,9397],[7260,9423],[7292,9440],[7336,9442],[7369,9434],[7385,9419],[7381,9402],[7416,9392],[7386,9368],[7427,9370],[7430,9382],[7492,9379],[7524,9383],[7534,9374],[7565,9374],[7567,9350],[7591,9359],[7595,9329],[7605,9328],[7597,9294],[7489,9238],[7434,9198],[7407,9197],[7392,9179],[7380,9180],[7358,9149],[7379,9161],[7383,9173],[7424,9171],[7517,9201],[7477,9206],[7491,9220],[7560,9202],[7582,9213],[7593,9191],[7650,9202],[7739,9195],[7739,9174],[7778,9163],[7872,9156],[7889,9174],[7880,9184],[7890,9203],[7902,9197],[7920,9214],[7947,9187],[7968,9193],[8021,9189],[8019,9182],[8062,9163],[8053,9133],[8065,9120],[8047,9110],[8016,9130],[8072,9060],[8105,9040],[8124,9046],[8153,9100],[8186,9075],[8211,9072],[8255,9086],[8316,9064],[8311,9074],[8285,9081],[8336,9087],[8349,9074],[8374,9077],[8360,9103],[8369,9116],[8349,9115],[8359,9134],[8406,9139],[8390,9156],[8419,9149],[8532,9137],[8573,9124],[8518,9130],[8522,9121],[8577,9123],[8549,9098],[8526,9098],[8530,9088],[8554,9096],[8585,9124],[8620,9123],[8656,9114],[8669,9102],[8648,9101],[8638,9090],[8666,9088],[8663,9077],[8686,9080],[8715,9068],[8732,9045],[8775,9044],[8842,9057],[8890,9056],[8918,9050],[8952,9034],[8964,9012],[8952,8993],[8993,8969],[9017,8980],[9080,8987],[9103,8976],[9165,8972],[9191,8987],[9205,8959],[9235,8951],[9244,8935],[9282,8946],[9272,8977],[9273,9005],[9374,8992],[9418,8991],[9501,8972],[9549,8946],[9549,8946],[9582,8934],[9586,8923],[9616,8913],[9651,8890],[9687,8879],[9690,8862],[9712,8822],[9724,8819],[9724,8844],[9708,8849],[9792,8843],[9802,8829],[9838,8803],[9851,8803],[9827,8790],[9826,8778],[9778,8773],[9781,8750],[9770,8740],[9777,8720],[9736,8716],[9703,8739],[9683,8737],[9670,8748],[9668,8767],[9637,8777],[9624,8769],[9591,8773],[9578,8799],[9555,8801],[9556,8786],[9569,8778],[9558,8755]]],[[[7654,6255],[7645,6250],[7621,6272],[7644,6273],[7659,6263],[7654,6255]]],[[[8334,6269],[8340,6262],[8303,6262],[8315,6286],[8338,6293],[8346,6287],[8334,6269]]],[[[8124,6310],[8135,6301],[8113,6270],[8104,6289],[8119,6291],[8124,6310]]],[[[7618,6302],[7595,6297],[7571,6299],[7
38574,6306],[7608,6307],[7618,6302]]],[[[7859,6350],[7843,6349],[7838,6355],[7855,6361],[7855,6370],[7870,6378],[7878,6375],[7871,6357],[7892,6352],[7859,6350]]],[[[7997,6397],[7983,6396],[7966,6403],[7961,6414],[7982,6419],[7998,6410],[7997,6397]]],[[[7417,6425],[7422,6434],[7440,6428],[7438,6417],[7421,6414],[7417,6425]]],[[[7944,6456],[7971,6455],[7957,6448],[7927,6453],[7913,6450],[7914,6460],[7944,6456]]],[[[7403,6424],[7394,6418],[7372,6426],[7367,6445],[7348,6452],[7361,6464],[7374,6462],[7383,6437],[7397,6434],[7391,6423],[7403,6424]]],[[[7184,6450],[7212,6416],[7197,6426],[7183,6446],[7164,6460],[7155,6474],[7165,6481],[7174,6457],[7184,6450]]],[[[7998,6495],[8009,6496],[8017,6486],[8009,6470],[8024,6463],[8006,6458],[7999,6468],[8007,6474],[7998,6495]]],[[[7098,6569],[7070,6590],[7076,6594],[7098,6570],[7118,6572],[7122,6552],[7136,6537],[7129,6525],[7110,6550],[7119,6553],[7118,6568],[7098,6569]]],[[[8210,6325],[8218,6319],[8202,6306],[8198,6310],[8202,6340],[8211,6349],[8219,6343],[8217,6324],[8210,6325]]],[[[7684,6248],[7667,6248],[7668,6261],[7678,6268],[7692,6259],[7709,6260],[7711,6269],[7729,6271],[7755,6265],[7761,6256],[7739,6249],[7697,6242],[7684,6248]]],[[[8015,6420],[8025,6425],[8053,6422],[8062,6427],[8096,6417],[8114,6392],[8065,6412],[8064,6407],[8040,6408],[8025,6419],[8018,6411],[8005,6412],[8015,6420]]],[[[8829,8140],[8840,8135],[8855,8142],[8840,8118],[8810,8094],[8809,8084],[8786,8061],[8803,8085],[8796,8100],[8821,8111],[8820,8120],[8835,8125],[8829,8140]]],[[[8285,8303],[8302,8315],[8314,8298],[8306,8281],[8299,8301],[8285,8303]]],[[[7832,6701],[7845,6706],[7842,6685],[7818,6678],[7801,6695],[7826,6684],[7837,6686],[7832,6701]]],[[[9238,8986],[9222,8976],[9189,8990],[9204,9e3],[9238,8992],[9238,8986]]],[[[7895,6835],[7904,6828],[7901,6811],[7892,6803],[7882,6782],[7892,6775],[7874,6773],[7855,6797],[7869,6805],[7873,6829],[7890,6826],[7885,6803],[7900,6830],[7895,6835]]],[[[6348,9182],[6363,9175],[6310,9164],[6313,9184],[6342,9191],[6348,9182]]],[[[7793,6911],[7820,6904],[7830,6880],[7821,6867],[7793,6911]]],[[[7590,9239],[7572,9224],[7534,9239],[7550,9250],[7588,9247],[7590,9239]]],[[[7841,6870],[7853,6876],[7842,6859],[7861,6847],[7878,6845],[7877,6837],[7861,6822],[7842,6815],[7847,6851],[7839,6854],[7841,6870]]],[[[7772,7210],[7785,7207],[7816,7256],[7832,7263],[7844,7255],[7838,7249],[7826,7197],[7813,7178],[7809,7159],[7792,7181],[7788,7204],[7772,7210]]],[[[6936,9561],[6926,9563],[6935,9595],[6955,9596],[7012,9587],[6979,9570],[6964,9579],[6934,9582],[6936,9561]]],[[[8389,9214],[8379,9232],[8399,9235],[8406,9212],[8433,9214],[8473,9193],[8478,9175],[8466,9172],[8396,9185],[8372,9180],[8370,9189],[8393,9196],[8389,9214]]],[[[8581,9277],[8551,9291],[8561,9312],[8573,9299],[8620,9302],[8626,9290],[8641,9293],[8692,9285],[8685,9271],[8644,9263],[8613,9266],[8581,9277]]],[[[6605,6792],[6612,6796],[6630,6783],[6648,6757],[6663,6723],[6658,6698],[6626,6682],[6614,6685],[6604,6708],[6600,6743],[6610,6784],[6605,6792]]],[[[8216,7552],[8219,7537],[8202,7518],[8194,7526],[8175,7521],[8166,7504],[8154,7502],[8149,7525],[8165,7547],[8182,7541],[8188,7555],[8216,7552]]],[[[6990,6910],[6989,6893],[6994,6866],[6979,6842],[6978,6853],[6990,6910]]],[[[7510,7082],[7504,7064],[7478,7045],[7452,7056],[7450,7079],[7482,7101],[7518,7101],[7520,7091],[7510,7082]]],[[[7785,6234],[7809,6213],[7798,6206],[7784,6216],[7754,6228],[7760,6234],[7785,6234]]],[[[8402,6433],[8402,6307],[8402,6242],[8371,6271],[8339,6270],[8346,6287],[8331,6305],[8316,6350],[8254,6376],[8233,6378],[8206,6396],[8206,6391],[8184,6404],[8175,6390],[8166,6388],[8154,6418],[8137,6423],[8144,6430],[8159,6426],[8168,6436],[8191,6431],[8196,6438],[8176,6444],[8158,6441],[8140,6447],[8132,6464],[8107,6466],[8092,6483],[8078,6474],[8092,6455],[8086,6449],[8070,6454],[8079,6457],[8071,6474],[8092,6485],[8092,6493],[8075,6494],[8087,6506],[8103,6508],[8117,6504],[8115,6497],[8098,6493],[8103,6483],[8115,6485],[8158,6498],[8179,6487],[8196,6487],[8205,6469],[8199,6459],[8214,6441],[8217,6422],[8225,6411],[8240,6410],[8263,6434],[8263,6453],[8229,6464],[8252,6460],[8251,6488],[8261,6477],[8261,6460],[8289,6456],[8308,6465],[8369,6439],[8378,6441],[8402,6433]]],[[[5246,7575],[5244,7570],[5226,7564],[5221,7566],[5219,7564],[5205,7579],[5222,7581],[5223,7589],[5238,7587],[5272,7597],[5253,7585],[5252,7578],[5252,7578],[5252,7578],[5252,7578],[5252,7578],[5248,7577],[5246,7577],[5246,7577],[5246,7576],[5246,7575]]],[[[5249,7575],[5249,7575],[5249,7575],[5249,7575]]],[[[5252,7574],[5249,7577],[5252,7578],[5252,7578],[5252,7578],[5252,7574]]],[[[7328,6515],[7326,6517],[7325,6523],[7325,6523],[7328,6515],[7328,6515],[7328,6515]]],[[[5248,7576],[5247,7576],[5248,7576],[5248,7576],[5248,7576],[5248,7576],[5248,7576]]],[[[5252,7578],[5252,7578],[5252,7578],[5252,7578],[5252,7578]]],[[[5248,7575],[5249,7575],[5249,7575],[5249,7575],[5249,7575],[5249,7575],[5248,7575]]],[[[7749,6532],[7720,6532],[7710,6512],[7709,6493],[7697,6473],[7678,6457],[7685,6444],[7670,6421],[7680,6409],[7671,6391],[7666,6403],[7627,6387],[7623,6407],[7597,6408],[7580,6423],[7568,6409],[7558,6412],[7544,6405],[7542,6426],[7510,6419],[7498,6421],[7488,6476],[7469,6473],[7483,6481],[7469,6484],[7462,6501],[7470,6509],[7459,6519],[7457,6533],[7464,6554],[7480,6569],[7488,6558],[7520,6554],[7529,6590],[7579,6601],[7607,6634],[7608,6643],[7624,6646],[7655,6673],[7663,6671],[7670,6688],[7682,6699],[7693,6720],[7705,6703],[7718,6696],[7719,6681],[7726,6686],[7754,6666],[7761,6668],[7768,6652],[7790,666
385],[7769,6645],[7760,6658],[7730,6651],[7748,6639],[7707,6630],[7721,6613],[7707,6602],[7715,6599],[7729,6575],[7722,6564],[7755,6537],[7749,6532]]],[[[7270,6542],[7297,6535],[7295,6524],[7307,6516],[7295,6488],[7309,6478],[7325,6478],[7330,6454],[7340,6442],[7362,6438],[7375,6413],[7371,6397],[7366,6338],[7353,6349],[7350,6340],[7335,6335],[7323,6344],[7305,6364],[7264,6392],[7262,6402],[7245,6414],[7229,6433],[7208,6472],[7205,6485],[7189,6508],[7171,6517],[7170,6527],[7153,6565],[7128,6579],[7126,6592],[7101,6618],[7091,6620],[7062,6650],[7051,6674],[7057,6680],[7082,6663],[7123,6662],[7146,6638],[7147,6628],[7189,6602],[7213,6572],[7227,6576],[7245,6571],[7243,6557],[7270,6552],[7270,6542]]],[[[7834,6264],[7852,6256],[7866,6264],[7896,6269],[7903,6262],[7910,6269],[7934,6270],[7935,6264],[7907,6259],[7896,6265],[7889,6258],[7878,6262],[7837,6248],[7782,6249],[7766,6253],[7791,6266],[7813,6264],[7829,6257],[7834,6264]]],[[[7374,6337],[7402,6331],[7404,6336],[7434,6324],[7442,6326],[7449,6311],[7504,6305],[7518,6321],[7551,6307],[7567,6307],[7572,6288],[7588,6281],[7609,6286],[7622,6279],[7619,6262],[7626,6252],[7590,6261],[7585,6266],[7569,6261],[7543,6267],[7540,6264],[7505,6271],[7472,6283],[7441,6280],[7414,6289],[7388,6292],[7389,6304],[7357,6309],[7368,6320],[7374,6337]]],[[[7833,6505],[7850,6486],[7886,6486],[7879,6475],[7887,6459],[7869,6462],[7867,6482],[7854,6465],[7834,6453],[7823,6457],[7853,6423],[7849,6405],[7870,6386],[7875,6404],[7880,6389],[7866,6378],[7847,6376],[7843,6367],[7828,6372],[7833,6389],[7811,6405],[7816,6428],[7807,6432],[7791,6422],[7796,6415],[7798,6373],[7794,6347],[7772,6343],[7766,6352],[7774,6382],[7764,6408],[7753,6404],[7749,6425],[7765,6451],[7765,6473],[7777,6490],[7778,6516],[7786,6530],[7801,6531],[7811,6548],[7828,6541],[7897,6533],[7920,6544],[7918,6548],[7942,6569],[7929,6537],[7912,6520],[7880,6518],[7875,6524],[7838,6521],[7796,6523],[7785,6502],[7787,6489],[7805,6468],[7816,6467],[7833,6485],[7833,6505]]],[[[8004,6507],[8e3,6519],[8008,6560],[8024,6579],[8040,6580],[8028,6568],[8024,6577],[8016,6562],[8021,6554],[8009,6538],[8014,6532],[8033,6554],[8041,6554],[8041,6540],[8029,6535],[8045,6516],[8019,6523],[8017,6508],[8031,6478],[8004,6507]]],[[[7913,6851],[7921,6840],[7927,6847],[7929,6854],[7910,6877],[7937,6878],[7946,6868],[7948,6839],[7932,6840],[7939,6805],[7920,6806],[7911,6790],[7898,6791],[7908,6806],[7924,6813],[7921,6831],[7915,6823],[7913,6851]]],[[[7904,6697],[7903,6717],[7910,6725],[7894,6737],[7867,6722],[7867,6735],[7859,6734],[7847,6710],[7842,6713],[7852,6743],[7871,6747],[7875,6758],[7895,6761],[7899,6747],[7909,6749],[7914,6761],[7924,6758],[7925,6775],[7935,6767],[7947,6773],[7943,6792],[7952,6824],[7953,6798],[7965,6797],[7959,6787],[7975,6750],[7979,6722],[7969,6707],[7967,6693],[7955,6724],[7947,6714],[7951,6683],[7942,6666],[7937,6678],[7910,6690],[7904,6697]]],[[[7770,6844],[7778,6846],[7783,6869],[7795,6861],[7772,6839],[7777,6817],[7749,6794],[7737,6778],[7706,6756],[7716,6774],[7726,6779],[7750,6807],[7763,6817],[7762,6830],[7770,6844]]],[[[7903,6910],[7906,6922],[7915,6917],[7898,6895],[7896,6866],[7907,6863],[7904,6853],[7885,6867],[7878,6859],[7882,6891],[7878,6904],[7859,6919],[7861,6896],[7853,6908],[7843,6897],[7847,6913],[7835,6919],[7817,6907],[7802,6926],[7813,6935],[7801,6945],[7802,6935],[7787,6944],[7778,6978],[7779,6991],[7793,6981],[7794,7027],[7803,7057],[7822,7067],[7824,7082],[7840,7087],[7839,7066],[7817,7060],[7843,7049],[7850,7056],[7848,7029],[7859,7013],[7850,6990],[7831,6978],[7825,6959],[7835,6942],[7839,6952],[7855,6942],[7857,6931],[7875,6920],[7894,6918],[7903,6910]]],[[[8471,8214],[8466,8181],[8477,8156],[8484,8120],[8499,8080],[8469,8085],[8448,8033],[8448,8024],[8462,8005],[8473,7978],[8445,7982],[8434,7955],[8426,7981],[8433,7997],[8431,8018],[8436,8045],[8428,8062],[8436,8096],[8433,8129],[8440,8150],[8423,8176],[8422,8201],[8430,8226],[8425,8240],[8441,8240],[8455,8254],[8442,8277],[8453,8283],[8461,8271],[8458,8258],[8470,8232],[8471,8214]]],[[[8531,9308],[8500,9280],[8458,9286],[8446,9299],[8461,9319],[8442,9320],[8434,9308],[8450,9283],[8482,9274],[8442,9267],[8427,9277],[8375,9267],[8358,9274],[8344,9257],[8311,9268],[8281,9299],[8296,9298],[8289,9316],[8306,9324],[8297,9334],[8340,9350],[8367,9331],[8402,9314],[8403,9340],[8413,9348],[8448,9329],[8489,9327],[8531,9308]]],[[[7264,9554],[7283,9544],[7281,9529],[7308,9536],[7329,9517],[7349,9513],[7354,9494],[7337,9483],[7306,9478],[7232,9473],[7197,9459],[7175,9464],[7228,9535],[7264,9554]]],[[[6968,9551],[7025,9577],[7049,9599],[7126,9604],[7149,9584],[7154,9596],[7173,9596],[7199,9571],[7184,9544],[7169,9544],[7195,9524],[7179,9514],[7131,9513],[7102,9525],[7050,9528],[7031,9541],[7016,9566],[6984,9551],[6980,9532],[6968,9551]]],[[[7107,9654],[7136,9640],[7114,9636],[7114,9608],[7035,9601],[7027,9595],[7011,9592],[6947,9612],[6959,9624],[6983,9627],[6998,9647],[6976,9645],[6992,9660],[7046,9671],[7072,9681],[7107,9
38654]]],[[[7958,6260],[7977,6260],[7997,6271],[8011,6270],[7991,6254],[7950,6239],[7934,6231],[7915,6211],[7887,6205],[7885,6195],[7868,6188],[7884,6203],[7893,6227],[7929,6246],[7950,6270],[7958,6260]]],[[[8434,7729],[8427,7711],[8416,7699],[8418,7686],[8405,7689],[8400,7673],[8404,7655],[8389,7618],[8399,7600],[8387,7594],[8384,7582],[8371,7573],[8366,7597],[8354,7569],[8339,7562],[8338,7580],[8320,7566],[8282,7560],[8282,7552],[8262,7545],[8254,7529],[8239,7528],[8228,7539],[8233,7564],[8208,7567],[8173,7552],[8154,7549],[8145,7535],[8130,7544],[8116,7540],[8104,7546],[8107,7556],[8120,7557],[8170,7596],[8179,7591],[8212,7598],[8250,7593],[8254,7608],[8278,7638],[8277,7655],[8293,7661],[8284,7638],[8321,7649],[8337,7664],[8328,7673],[8329,7687],[8339,7671],[8356,7682],[8374,7728],[8366,7740],[8374,7757],[8369,7765],[8382,7775],[8383,7789],[8393,7776],[8406,7775],[8407,7789],[8397,7784],[8400,7799],[8410,7792],[8415,7768],[8424,7758],[8434,7729]]],[[[8089,7465],[8073,7472],[8084,7503],[8062,7521],[8069,7534],[8054,7546],[8072,7537],[8079,7524],[8093,7538],[8108,7541],[8110,7531],[8130,7529],[8123,7519],[8135,7518],[8138,7507],[8128,7495],[8118,7457],[8106,7448],[8107,7425],[8092,7420],[8102,7456],[8085,7453],[8089,7465]]],[[[8626,7940],[8632,7934],[8599,7922],[8578,7901],[8575,7881],[8535,7856],[8512,7847],[8496,7849],[8480,7838],[8468,7812],[8424,7837],[8402,7827],[8394,7835],[8381,7824],[8408,7807],[8394,7809],[8379,7794],[8354,7797],[8356,7817],[8367,7823],[8369,7838],[8388,7851],[8387,7863],[8407,7855],[8415,7863],[8412,7876],[8421,7884],[8424,7920],[8410,7926],[8431,7941],[8461,7907],[8473,7897],[8515,7884],[8530,7898],[8522,7877],[8532,7880],[8531,7861],[8538,7861],[8567,7879],[8575,7904],[8605,7930],[8626,7940]]],[[[7325,6523],[7320,6532],[7309,6538],[7331,6544],[7339,6537],[7322,6534],[7325,6523],[7325,6523]]],[[[7328,6515],[7344,6500],[7329,6500],[7331,6509],[7328,6515],[7328,6515],[7328,6515]]]]}},{type:"Feature",id:"NA",properties:{"hc-group":"admin0","hc-middle-x":.43,"hc-middle-y":.51,"hc-key":"na","hc-a2":"NA","abbrev-a3":"NAM","iso-a2":"NA",name:"North America"},geometry:{type:"MultiPolygon",coordinates:[[[[3469,9081],[3498,9077],[3503,9062],[3469,9049],[3499,9056],[3511,9033],[3486,9027],[3430,9021],[3456,9043],[3441,9038],[3434,9045],[3425,9018],[3469,9024],[3434,9003],[3453,8998],[3465,9012],[3481,9009],[3511,9020],[3562,9004],[3597,9005],[3572,8980],[3546,8974],[3531,8961],[3482,8931],[3455,8923],[3431,8924],[3391,8905],[3343,8897],[3323,8900],[3302,8926],[3314,8898],[3278,8872],[3272,8853],[3236,8814],[3211,8805],[3162,8773],[3138,8781],[3143,8798],[3160,8813],[3137,8808],[3138,8793],[3122,8780],[3075,8770],[3094,8763],[3
38071,8748],[3059,8754],[3057,8711],[3063,8687],[3042,8672],[3046,8664],[3008,8634],[3015,8598],[3003,8596],[3003,8571],[2985,8572],[3001,8557],[2995,8545],[2978,8540],[2986,8519],[2963,8509],[2954,8522],[2932,8520],[2920,8527],[2923,8539],[2896,8551],[2852,8550],[2836,8556],[2837,8571],[2817,8574],[2803,8597],[2805,8614],[2775,8630],[2780,8651],[2755,8661],[2739,8685],[2742,8704],[2723,8706],[2720,8738],[2725,8747],[2700,8779],[2677,8802],[2677,8820],[2690,8832],[2717,8841],[2677,8841],[2668,8849],[2721,8863],[2670,8857],[2676,8886],[2692,8890],[2692,8905],[2728,8897],[2742,8906],[2713,8904],[2708,8913],[2686,8909],[2695,8928],[2721,8931],[2727,8922],[2751,8924],[2753,8953],[2779,8948],[2771,8962],[2758,8955],[2760,8979],[2745,8985],[2757,8997],[2716,9001],[2689,9017],[2672,9019],[2650,9036],[2667,9043],[2678,9069],[2683,9038],[2712,9036],[2739,9021],[2731,9055],[2697,9060],[2691,9070],[2705,9080],[2732,9084],[2706,9089],[2693,9081],[2664,9091],[2668,9075],[2629,9072],[2611,9089],[2625,9096],[2618,9142],[2601,9146],[2642,9160],[2617,9162],[2631,9176],[2607,9198],[2604,9235],[2587,9239],[2576,9273],[2544,9281],[2530,9300],[2542,9303],[2536,9321],[2465,9347],[2388,9360],[2372,9345],[2308,9354],[2302,9342],[2275,9347],[2300,9334],[2242,9342],[2207,9360],[2193,9386],[2157,9398],[2170,9410],[2170,9428],[2210,9441],[2176,9443],[2194,9452],[2158,9446],[2111,9471],[2120,9495],[2215,9513],[2225,9524],[2254,9531],[2315,9533],[2347,9559],[2342,9594],[2301,9600],[2283,9596],[2271,9615],[2291,9624],[2305,9648],[2312,9637],[2340,9645],[2349,9660],[2403,9676],[2445,9665],[2463,9673],[2452,9686],[2467,9696],[2448,9713],[2488,9727],[2535,9722],[2506,9731],[2531,9739],[2654,9758],[2680,9739],[2673,9699],[2698,9721],[2686,9750],[2789,9722],[2800,9727],[2767,9742],[2752,9768],[2814,9764],[2822,9757],[2902,9734],[2927,9716],[2954,9720],[2933,9734],[2939,9738],[2876,9757],[2852,9778],[2857,9788],[2922,9772],[2949,9759],[2929,9747],[2939,9738],[2969,9760],[2910,9787],[3018,9786],[3028,9766],[3032,9785],[3072,9772],[3080,9781],[3050,9787],[2913,9795],[2877,9802],[2901,9811],[2928,9803],[2942,9817],[3016,9822],[3058,9806],[3037,9817],[3079,9816],[3064,9831],[3119,9812],[3117,9835],[3175,9844],[3218,9844],[3299,9851],[3354,9849],[3501,9826],[3488,9819],[3351,9814],[3227,9797],[3319,9803],[3370,9813],[3450,9808],[3513,9816],[3535,9796],[3589,9789],[3627,9776],[3595,9755],[3553,9751],[3377,9741],[3291,9720],[3310,9708],[3323,9719],[3439,9735],[3531,9730],[3528,9715],[3481,9704],[3479,9690],[3556,9713],[3573,9733],[3626,9737],[3637,9715],[3630,9697],[3575,9655],[3609,9662],[3707,9718],[3706,9696],[3731,9689],[3732,9713],[3749,9694],[3791,9719],[3846,9718],[3901,9705],[3920,9693],[3862,9662],[3827,9660],[3835,9646],[3802,9636],[3753,9637],[3708,9631],[3724,9626],[3758,9632],[3791,9620],[3771,9607],[3706,9606],[3677,9594],[3682,9610],[3656,9585],[3668,9571],[3690,9573],[3680,9551],[3698,9543],[3691,9512],[3639,9512],[3641,9501],[3609,9441],[3627,9440],[3626,9455],[3644,9459],[3686,9455],[3687,9483],[3714,9502],[3699,9482],[3699,9464],[3686,9431],[3666,9442],[3643,9439],[3653,9422],[3694,9410],[3709,9416],[3728,9452],[3736,9447],[3716,9411],[3718,9393],[3704,9368],[3709,9334],[3693,9366],[3694,9388],[3652,9395],[3616,9377],[3600,9389],[3586,9380],[3618,9369],[3617,9352],[3669,9353],[3659,9336],[3686,9321],[3684,9291],[3647,9295],[3618,9312],[3628,9299],[3674,9270],[3661,9258],[3699,9258],[3701,9295],[3723,9302],[3720,9291],[3745,9279],[3712,9276],[3708,9261],[3685,9234],[3661,9235],[3656,9245],[3615,9244],[3601,9225],[3647,9212],[3651,9187],[3629,9188],[3599,9176],[3550,9196],[3511,9189],[3486,9175],[3518,9167],[3533,9130],[3593,9101],[3577,9090],[3611,9092],[3595,9083],[3598,9066],[3613,9066],[3623,9027],[3568,9022],[3551,9031],[3541,9056],[3494,9083],[3469,9081]],[[3469,9081],[3467,9082],[3467,9082],[3467,9082],[3467,9082],[3435,9105],[3418,9103],[3451,9091],[3442,9085],[3467,9082],[3467,9082],[3467,9082],[3467,9082],[3467,9081],[3469,9081]]],[[[3572,9166],[3611,9157],[3610,9144],[3589,9145],[3574,9155],[3534,9156],[3533,9161],[3572,9166]]],[[[3639,9244],[3662,9229],[3630,9224],[3613,9239],[3639,9244]]],[[[3746,9591],[3730,9575],[3711,9571],[3686,9583],[3733,9598],[3746,9591]]],[[[2640,9018],[2688,9009],[2704,8995],[2726,8988],[2721,8971],[2679,8958],[2661,8970],[2684,8969],[2638,8983],[2644,9e3],[2640,9018]]],[[[3552,9132],[3535,9152],[3574,9153],[3609,9128],[3601,9113],[3552,9132]]],[[[3571,9174],[3521,9180],[3579,9168],[3535,9164],[3499,9172],[3513,9185],[3536,9186],[3571,9174]]],[[[2345,7052],[2335,7049],[2347,7031],[2326,7047],[2319,7041],[2281,7039],[2277,7051],[2284,7056],[2345,7052]]],[[[-927,8186],[-920,8180],[
38-949,8170],[-955,8176],[-983,8173],[-999,8176],[-999,8179],[-979,8183],[-943,8178],[-927,8186]]],[[[383,8319],[382,8341],[396,8345],[403,8335],[396,8303],[384,8307],[383,8319]]],[[[322,8373],[306,8340],[306,8387],[314,8392],[340,8389],[357,8372],[324,8367],[322,8373]]],[[[-630,8536],[-618,8531],[-614,8515],[-645,8512],[-670,8527],[-630,8536]]],[[[-631,8270],[-635,8253],[-670,8239],[-682,8241],[-717,8220],[-697,8244],[-662,8245],[-657,8264],[-631,8270]]],[[[-235,8455],[-211,8439],[-235,8435],[-225,8428],[-223,8405],[-249,8403],[-273,8379],[-269,8396],[-281,8385],[-296,8407],[-250,8436],[-235,8455]]],[[[252,8443],[287,8433],[290,8410],[262,8421],[268,8408],[287,8403],[296,8378],[294,8355],[274,8382],[280,8391],[268,8399],[260,8389],[256,8415],[238,8432],[252,8443]]],[[[325,8344],[316,8342],[325,8362],[338,8361],[370,8318],[374,8298],[361,8307],[348,8294],[336,8315],[327,8298],[336,8330],[325,8344]]],[[[2369,8107],[2391,8102],[2435,8084],[2440,8074],[2424,8073],[2385,8085],[2360,8101],[2369,8107]]],[[[1860,8235],[1869,8234],[1881,8214],[1841,8227],[1860,8235]]],[[[409,8281],[451,8240],[434,8245],[433,8232],[416,8248],[419,8253],[409,8281]]],[[[1919,8625],[1922,8607],[1909,8589],[1897,8597],[1896,8614],[1907,8626],[1919,8625]]],[[[1840,8652],[1845,8641],[1810,8616],[1794,8614],[1787,8630],[1805,8650],[1840,8652]]],[[[1976,8666],[1963,8657],[1945,8672],[1970,8674],[1979,8686],[1999,8680],[1976,8666]]],[[[2032,8911],[2045,8907],[2047,8873],[2023,8858],[1991,8857],[1981,8880],[1999,8908],[2032,8911]]],[[[1936,8972],[1955,8962],[1936,8942],[1937,8910],[1919,8943],[1939,8963],[1936,8972]]],[[[1179,9180],[1158,9154],[1122,9185],[1107,9189],[1120,9202],[1162,9205],[1181,9194],[1179,9180]]],[[[1185,9357],[1177,9374],[1195,9378],[1234,9356],[1245,9338],[1205,9330],[1201,9299],[1208,9288],[1189,9278],[1170,9284],[1192,9303],[1197,9334],[1185,9357]]],[[[794,9345],[786,9321],[766,9307],[743,9313],[766,9332],[794,9345]]],[[[1599,9438],[1616,9427],[1605,9411],[1573,9424],[1574,9437],[1599,9438]]],[[[1166,9424],[1184,9417],[1174,9405],[1151,9417],[1135,9445],[1152,9443],[1166,9424]]],[[[1449,9447],[1514,9444],[1505,9427],[1432,9428],[1425,9442],[1449,9447]]],[[[1330,9600],[1352,9590],[1349,9570],[1308,9594],[1330,9600]]],[[[1908,8413],[1908,8387],[1930,8366],[1939,8376],[1941,8355],[1927,8357],[1918,8342],[1900,8360],[1913,8363],[1907,8382],[1908,8413]]],[[[457,8230],[472,8232],[475,8203],[461,8204],[457,8230]]],[[[2499,7960],[2479,7945],[2451,7943],[2445,7960],[2473,7997],[2480,7981],[2463,7953],[2482,7971],[2499,7960]]],[[[2432,7975],[2406,7963],[2384,7967],[2360,7984],[2370,7987],[2382,7975],[2432,7975]]],[[[1897,9175],[1879,9178],[1878,9203],[1918,9198],[1957,9200],[1984,9191],[2013,9167],[2010,9152],[1956,9156],[1926,9148],[1904,9153],[1897,9175]]],[[[1466,9325],[1475,9337],[1479,9313],[1505,9293],[1502,9257],[1469,9256],[1452,9266],[1451,9248],[1435,9253],[1434,9267],[1413,9277],[1425,9304],[1400,9307],[1423,9316],[1438,9307],[1464,9316],[1466,9325]]],[[[978,9479],[956,9485],[926,9479],[925,9487],[1007,9510],[1034,9499],[1037,9481],[986,9486],[978,9479]]],[[[1406,9470],[1378,9476],[1361,9493],[1368,9514],[1427,9501],[1466,9484],[1450,9477],[1459,9459],[1410,9453],[1379,9464],[1406,9470]]],[[[2427,7001],[2436,7010],[2438,7031],[2441,7012],[2455,6988],[2453,6959],[2466,6934],[2462,6923],[2438,6991],[2427,7001]]],[[[1978,7054],[1993,7053],[2014,7038],[1995,7040],[1984,7032],[1969,7036],[1950,7048],[1964,7056],[1978,7054]]],[[[1964,7279],[1961,7255],[1969,7245],[1973,7215],[1957,7239],[1948,7243],[1962,7259],[1964,7279]]],[[[1965,7304],[1940,7304],[1946,7309],[1975,7313],[1989,7303],[1973,7294],[1965,7304]]],[[[-777,8681],[-754,8686],[-748,8676],[-707,8668],[-738,8652],[-770,8675],[-787,8668],[-800,8678],[-796,8690],[-777,8681]]],[[[1979,6762],[1985,6741],[1964,6720],[1948,6744],[1958,6757],[1927,6750],[1943,6762],[1929,6772],[1911,6768],[1909,6760],[1888,6749],[1902,6728],[1877,6720],[1874,6730],[1849,6720],[1857,6734],[1853,6745],[1837,6753],[1815,6749],[1788,6764],[1795,6773],[1764,6791],[1763,6801],[1752,6789],[1736,6799],[1729,6812],[1734,6834],[1711,6854],[1702,6867],[1677,6887],[1687,6890],[1675,6901],[1669,6895],[1644,6898],[1614,6906],[1587,6918],[1569,6919],[1542,6937],[1524,6956],[1493,6983],[1470,6986],[1465,6993],[1448,6979],[1415,6970],[1379,6979],[1347,6996],[1321,7002],[1283,7018],[1261,7037],[1211,7050],[1197,7067],[1166,7082],[1146,7113],[1160,7120],[1153,7127],[1161,7146],[1148,7161],[1143,7182],[1107,7223],[1079,7244],[1070,7258],[1036,7279],[1042,7296],[1034,7310],[1002,7327],[1002,7343],[983,7351],[955,7381],[928,7439],[930,7450],[904,7464],[882,7468],[876,7450],[883,7419],[913,7389],[926,7390],[928,7365],[935,7370],[938,7345],[960,7317],[974,7308],[993,7259],[1004,7251],[998,7241],[1023,7230],[1035,7210],[1033,7196],[1023,7189],[1011,7209],[975,7235],[969,7233],[957,7251],[959,7274],[955,7286],[923,7309],[888,7325],[887,7330],[872,7344],[872,7344],[887,7342],[897,7347],[901,7363],[873,7393],[852,7405],[841,7439],[823,7463],[825,7473],[807,7490],[804,7513],[782,7534],[774,7523],[774,7504],[767,7511],[773,7537],[749,7548],[722,7539],[729,7556],[707,7562],[707,7580],[688,7598],[667,7628],[673,7636],[655,7649],[652,7669],[666,7658],[652,7680],[651,7670],[616,7708],[612,7739],[596,7760],[606,7795],[592,7845],[603,7882],[611,7942],[604,7991],[595,8023],[586,8039],[591,8047],[606,8039],[645,8035],[654,8054],[633,8078],[588,8099],[590,8117],[577,8127],[531,8129],[527,8138],[496,8156],[494,8189],[518,8198],[511,8204],[494,8195],[488,8166],[480,8192],[484,8204],[474,8231],[451,8241],[418,8278],[418,8295],[404,8298],[400,8314],[405,8336],[396,8346],[380,8343],[374,8327],[374,8354],[364,8344],[352,8352],[364,8374],[337,8397],[312,8435],[308,8436],[317,8423],[316,8402],[308,8397],[296,8390],[300,8406],[290,8436],[307,8437],[296,8442],[274,8486],[283,8447],[265,8446],[252,8469],[238,8468],[254,8448],[235,8441],[206,8459],[188,8478],[142,8498],[148,8513],[128,8505],[55,8523],[10,8518],[-3,8532],[-37,8538],[-57,8529],[-47,8547],[-63,8555],[-56,8569],[-83,8546],[-78,8557],[-102,8554],[-89,8518],[-146,8513],[-177,8488],[-199,8480],[-215,8488],[-200,8495],[-212,8509],[-195,8542],[-199,8550],[-159,8570],[-173,8579],[-212,8552],[-217,8534],[-234,8528],[-237,8514],[-254,8502],[-257,8489],[-279,8491],[-280,8476],[-254,8468],[-277,8453],[-292,8433],[-305,8432],[-326,8413],[-334,8414],[-349,8389],[-368,8380],[-357,8356],[-385,8376],[-407,8362],[-412,8346],[-446,8341],[-475,8311],[-471,8325],[-489,8321],[-499,8331],[-502,8309],[-545,8299],[-528,8284],[-550,8297],[-581,8283],[-597,8289],[-585,8302],[-556,8309],[-548,8302],[-545,8323],[-529,8321],[-505,8342],[-468,8347],[-462,8359],[-420,8383],[-401,8402],[-383,8413],[-378,8451],[-365,8470],[-397,8458],[-419,8465],[-423,8450],[-439,8471],[-459,8459],[-461,8478],[-483,8455],[-501,8464],[-511,8486],[-501,8496],[-519,8523],[-557,8509],[-611,8543],[-588,8555],[-602,8559],[-633,8589],[-630,8600],[-602,8631],[-586,8659],[-573,8
38666],[-550,8655],[-527,8666],[-529,8682],[-486,8677],[-474,8688],[-480,8712],[-493,8720],[-475,8730],[-486,8745],[-543,8720],[-555,8727],[-599,8721],[-633,8728],[-656,8755],[-632,8761],[-669,8767],[-688,8746],[-689,8776],[-637,8805],[-590,8823],[-561,8825],[-559,8800],[-515,8799],[-480,8808],[-506,8819],[-529,8840],[-519,8843],[-498,8818],[-474,8814],[-457,8822],[-477,8829],[-495,8822],[-506,8830],[-505,8848],[-523,8845],[-559,8850],[-573,8876],[-644,8913],[-634,8940],[-579,8943],[-543,8966],[-539,8991],[-507,9015],[-476,9017],[-441,9041],[-393,9043],[-357,9068],[-322,9062],[-335,9050],[-321,9043],[-310,9058],[-278,9041],[-254,9048],[-222,9042],[-234,9028],[-215,9022],[-134,9028],[-109,9015],[-72,9007],[-36,9008],[2,8998],[40,9005],[61,8999],[96,8980],[140,8979],[162,8973],[193,8954],[235,8940],[253,8940],[260,8962],[290,8972],[304,8984],[320,8972],[306,8959],[337,8967],[347,8981],[396,8989],[412,9006],[443,8998],[401,8980],[373,8974],[332,8938],[351,8935],[347,8949],[376,8961],[383,8971],[403,8960],[421,8983],[457,8991],[461,8982],[487,9008],[483,9033],[516,9012],[528,8986],[551,8968],[564,8973],[582,8995],[576,9007],[596,9007],[594,8984],[606,8984],[595,8965],[632,8972],[639,8990],[684,8986],[717,8967],[765,8958],[783,8948],[844,8936],[845,8946],[903,8926],[902,8908],[874,8909],[857,8892],[890,8882],[922,8881],[935,8904],[930,8879],[996,8886],[1030,8907],[1057,8875],[1079,8859],[1074,8872],[1082,8900],[1115,8900],[1124,8913],[1145,8917],[1148,8928],[1122,8922],[1089,8904],[1055,8909],[1070,8927],[1129,8941],[1153,8932],[1151,8916],[1182,8921],[1182,8897],[1210,8899],[1246,8881],[1269,8879],[1293,8887],[1362,8886],[1341,8898],[1356,8900],[1386,8875],[1399,8884],[1382,8896],[1371,8891],[1352,8914],[1394,8919],[1400,8909],[1435,8910],[1418,8869],[1439,8864],[1452,8840],[1456,8859],[1440,8881],[1448,8899],[1465,8897],[1498,8926],[1472,8934],[1486,8950],[1481,8970],[1425,8991],[1415,9015],[1426,9032],[1413,9042],[1418,9068],[1447,9078],[1433,9082],[1454,9103],[1472,9106],[1457,9104],[1455,9135],[1440,9153],[1440,9198],[1454,9205],[1454,9219],[1500,9229],[1541,9218],[1562,9221],[1602,9213],[1553,9153],[1538,9146],[1486,9149],[1506,9132],[1486,9108],[1474,9106],[1520,9071],[1521,9042],[1537,9034],[1550,9012],[1553,8990],[1565,8990],[1575,8973],[1603,8967],[1585,8952],[1595,8940],[1590,8918],[1600,8907],[1616,8928],[1618,8949],[1639,8958],[1666,8936],[1673,8912],[1655,8909],[1659,8884],[1685,8857],[1711,8864],[1712,8875],[1697,8899],[1705,8911],[1715,8892],[1728,8898],[1735,8932],[1769,8947],[1745,8957],[1739,8980],[1746,8990],[1789,8990],[1825,8980],[1839,8962],[1858,8967],[1865,8951],[1849,8942],[1866,8935],[1833,8904],[1866,8868],[1857,8845],[1845,8844],[1810,8811],[1797,8813],[1793,8792],[1803,8777],[1780,8784],[1773,8805],[1747,8810],[1743,8824],[1702,8817],[1730,8804],[1712,8783],[1685,8763],[1669,8763],[1638,8781],[1636,8763],[1695,8759],[1698,8754],[1667,8709],[1636,8698],[1614,8712],[1600,8682],[1579,8680],[1589,8657],[1577,8639],[1528,8629],[1523,8605],[1491,8583],[1495,8577],[1480,8556],[1466,8516],[1467,8475],[1484,8466],[1515,8464],[1537,8404],[1528,8387],[1578,8400],[1613,8388],[1641,8383],[1667,8366],[1679,8349],[1735,8331],[1766,8316],[1787,8320],[1836,8311],[1831,8275],[1840,8258],[1834,8224],[1856,8204],[1862,8190],[1885,8175],[1889,8161],[1910,8152],[1921,8173],[1908,8230],[1900,8239],[1909,8247],[1905,8262],[1920,8274],[1909,8292],[1912,8300],[1932,8300],[1967,8318],[2e3,8351],[2005,8380],[1988,8430],[1940,8465],[1966,8487],[1967,8504],[1983,8518],[1968,8537],[1972,8552],[1954,8555],[1974,8584],[1958,8603],[1958,8634],[1991,8632],[2056,8615],[2066,8619],[2068,8637],[2078,8638],[2106,8616],[2119,8613],[2148,8592],[2156,8569],[2193,8565],[2198,8555],[2210,8566],[2214,8554],[2201,8541],[2208,8528],[2205,8499],[2224,8475],[2271,8444],[2311,8465],[2332,8487],[2327,8506],[2341,8517],[2355,8549],[2363,8521],[2407,8460],[2412,8439],[2442,8423],[2431,8400],[2450,8394],[2446,8380],[2455,8366],[2433,8356],[2458,8355],[2459,8341],[2481,8338],[2484,8324],[2471,8307],[2497,8320],[2496,8311],[2519,8313],[2522,8300],[2570,8289],[2565,8274],[2575,8255],[2615,8245],[2617,8190],[2580,8164],[2558,8166],[2521,8147],[2509,8129],[2486,8117],[2466,8118],[2440,8112],[2436,8117],[2397,8120],[2377,8116],[2336,8121],[2302,8119],[2281,8102],[2273,8083],[2253,8081],[2224,8061],[2229,8048],[2296,8075],[2327,8080],[2356,8074],[2368,8061],[2362,8048],[2331,8033],[2317,8041],[2299,8037],[2325,8020],[2358,8028],[2332,7999],[2346,7991],[2358,7967],[2370,7960],[2418,7944],[2434,7954],[2461,7934],[2386,7903],[2364,7906],[2348,7880],[2322,7868],[2310,7877],[2305,7896],[2314,7907],[2362,7934],[2362,7926],[2385,7936],[2346,7938],[2359,7949],[2317,7930],[2288,7924],[2275,7908],[2259,7905],[2236,7887],[2227,7898],[2218,7883],[2198,7880],[2179,7860],[2176,7838],[2166,7826],[2191,7803],[2155,7796],[2149,7785],[2138,7792],[2111,7788],[2089,7780],[2101,7777],[2127,7785],[2134,7780],[2104,7767],[2070,7762],[2079,7756],[2075,7736],[2053,7709],[2034,7727],[2047,7704],[2044,7679],[2023,7655],[2031,7675],[2012,7673],[2011,7643],[2020,7640],[2033,7605],[2018,7588],[2021,7580],[2003,7565],[1986,7565],[1971,7555],[1962,7538],[1938,7535],[1921,7510],[1876,7479],[1857,7440],[1866,7404],[1884,7368],[1883,7357],[1900,7317],[1896,7269],[1892,7262],[1870,7259],[1863,7279],[1852,7282],[1823,7332],[1832,7342],[1819,7343],[1825,7377],[1794,7410],[1784,7416],[1756,7400],[1720,7429],[1677,7421],[1666,7436],[1664,7420],[1649,7425],[1628,7422],[1629,7405],[1617,7403],[1633,7382],[1613,7391],[1601,7383],[1581,7382],[1558,7405],[1541,7398],[1514,7405],[1489,7402],[1443,7373],[1414,7367],[1421,7362],[1401,7345],[1389,7326],[1397,7277],[1383,7240],[1376,7180],[1383,7151],[1398,7121],[1418,7097],[1423,7080],[1437,7063],[1455,7062],[1477,7045],[1529,7059],[1554,7061],[1580,7075],[1594,7099],[1598,7132],[1614,7140],[1663,7150],[1704,7138],[1704,7118],[1696,7109],[1689,7116],[1674,7089],[1683,7085],[1675,7061],[1685,70
3852],[1664,7044],[1669,7023],[1660,7025],[1660,7009],[1651,6988],[1639,6980],[1662,6971],[1681,6974],[1716,6993],[1729,6993],[1728,6980],[1755,6980],[1776,6974],[1782,6961],[1803,6957],[1810,6950],[1808,6932],[1797,6899],[1799,6873],[1788,6842],[1800,6816],[1821,6792],[1841,6781],[1840,6770],[1857,6775],[1857,6767],[1878,6769],[1916,6791],[1960,6779],[1979,6762]]],[[[868,7348],[872,7344],[872,7344],[868,7345],[868,7348],[868,7348],[868,7348]]],[[[363,8233],[352,8236],[339,8262],[341,8275],[369,8266],[382,8272],[375,8239],[368,8234],[379,8236],[394,8191],[363,8224],[356,8231],[363,8233]]],[[[1857,7160],[1855,7164],[1855,7164],[1855,7164],[1857,7163],[1857,7160],[1857,7160]]],[[[2049,7197],[2047,7198],[2047,7201],[2047,7201],[2049,7197],[2049,7197],[2049,7197]]],[[[2049,7197],[2070,7185],[2094,7180],[2068,7179],[2054,7188],[2049,7197],[2049,7197],[2049,7197]]],[[[2462,6826],[2460,6822],[2461,6806],[2434,6803],[2447,6811],[2441,6823],[2462,6826],[2462,6826],[2462,6826]]],[[[1858,7151],[1858,7152],[1858,7152],[1858,7152],[1858,7151],[1858,7151],[1858,7151]]],[[[1858,7151],[1812,7146],[1812,7157],[1824,7161],[1844,7151],[1858,7151],[1858,7151]]],[[[1858,7152],[1857,7160],[1857,7160],[1860,7152],[1858,7152],[1858,7152],[1858,7152]]],[[[543,8081],[473,8139],[494,8143],[514,8132],[556,8124],[568,8126],[573,8106],[592,8085],[617,8076],[631,8064],[621,8044],[588,8054],[543,8081]]],[[[2236,9006],[2211,8989],[2249,9005],[2253,9016],[2278,8996],[2269,8978],[2294,8956],[2264,8955],[2225,8965],[2263,8948],[2258,8931],[2244,8926],[2288,8917],[2315,8897],[2352,8894],[2340,8887],[2362,8884],[2385,8862],[2403,8856],[2422,8831],[2424,8847],[2452,8829],[2447,8814],[2416,8807],[2433,8797],[2419,8795],[2428,8780],[2396,8778],[2383,8770],[2393,8758],[2387,8743],[2378,8755],[2356,8752],[2321,8784],[2315,8801],[2289,8822],[2273,8823],[2281,8811],[2259,8818],[2283,8795],[2257,8791],[2240,8806],[2259,8779],[2272,8782],[2294,8750],[2337,8730],[2347,8712],[2338,8701],[2354,8699],[2371,8678],[2357,8665],[2340,8679],[2354,8649],[2335,8653],[2336,8643],[2291,8658],[2260,8684],[2263,8671],[2234,8690],[2230,8682],[2269,8656],[2316,8617],[2331,8592],[2354,8590],[2348,8578],[2315,8603],[2306,8601],[2275,8614],[2239,8619],[2208,8638],[2182,8643],[2174,8633],[2163,8653],[2146,8662],[2159,8680],[2137,8685],[2130,8698],[2114,8685],[2111,8708],[2077,8734],[2059,8718],[2026,8729],[2014,8714],[1986,8714],[1962,8698],[1965,8718],[1955,8731],[1957,8745],[1981,8757],[1977,8770],[2027,8758],[2037,8734],[2038,8748],[2021,8763],[2043,8760],[2077,8773],[2094,8770],[2089,8782],[2065,8803],[2127,8851],[2119,8885],[2108,8907],[2080,8916],[2070,8899],[2096,8894],[2096,8884],[2067,8884],[2056,8898],[2073,8908],[2072,8921],[2055,8924],[2055,8912],[2037,8922],[2058,8940],[2035,8947],[2001,8930],[2001,8947],[2031,8951],[2029,8961],[2001,8975],[1993,8953],[1979,8960],[1994,8988],[1970,8989],[1970,9008],[1949,9010],[1929,9027],[1915,9019],[1932,9016],[1941,8999],[1911,8990],[1922,8983],[1904,8978],[1899,8965],[1887,8981],[1855,8997],[1819,8987],[1812,8999],[1794,8996],[1731,9004],[1709,9011],[1712,8999],[1694,8998],[1696,9013],[1646,9023],[1621,9057],[1657,9050],[1688,9052],[1665,9063],[1613,9070],[1614,9093],[1605,9102],[1620,9115],[1609,9120],[1620,9150],[1629,9148],[1636,9176],[1674,9203],[1705,9210],[1752,9208],[1756,9200],[1725,9179],[1705,9152],[1718,9128],[1712,9117],[1722,9095],[1759,9067],[1726,9061],[1759,9060],[1769,9077],[1747,9088],[1726,9108],[1754,9120],[1734,9141],[1739,9161],[1765,9184],[1819,9204],[1857,9203],[1869,9176],[1883,9171],[1895,9147],[1888,9116],[1907,9134],[1933,9121],[1925,9105],[1940,9102],[1935,9119],[1948,9139],[1973,9148],[2043,9134],[2047,9113],[2072,9110],[2060,9087],[2090,9093],[2078,9078],[2106,9066],[2108,9074],[2098,9081],[2123,9087],[2150,9080],[2163,9066],[2157,9046],[2173,9058],[2181,9048],[2167,9032],[2199,9045],[2244,9029],[2241,9018],[2206,9006],[2236,9006]]],[[[2680,8015],[2688,8033],[2699,8036],[2689,8019],[2702,8025],[2707,8015],[2698,7988],[2680,7981],[2679,8001],[2661,7991],[2670,8010],[2666,8025],[2662,8009],[2642,8011],[2630,7992],[2609,7992],[2610,8012],[2603,8019],[2583,8015],[2548,8021],[2516,8016],[2508,8028],[2537,8051],[2529,8055],[2537,8075],[2547,8070],[2544,8087],[2571,8141],[2587,8159],[2613,8171],[2626,8184],[2616,8150],[2586,8109],[2583,8091],[2604,8114],[2617,8116],[2618,8094],[2643,8081],[2651,8095],[2683,8079],[2670,8070],[2670,8054],[2686,8047],[2671,8022],[2680,8015]]],[[[1286,8971],[1270,8993],[1265,8980],[1238,8985],[1230,8966],[1250,8965],[1265,8951],[1259,8924],[1240,8939],[1212,8935],[1169,8949],[1125,8956],[1120,8972],[1098,8948],[1063,8944],[1051,8933],[1013,8927],[975,8911],[975,8923],[939,8919],[912,8936],[911,8956],[890,8961],[844,8962],[825,8970],[801,8998],[815,9005],[897,9015],[932,9014],[935,9027
38],[917,9035],[848,9029],[821,9024],[797,9031],[773,9053],[840,9072],[848,9081],[798,9072],[775,9077],[782,9088],[753,9086],[753,9103],[781,9119],[767,9130],[803,9157],[885,9184],[903,9169],[901,9151],[884,9140],[910,9140],[931,9163],[984,9146],[965,9127],[971,9122],[998,9138],[1026,9134],[999,9162],[1017,9162],[1060,9138],[1059,9126],[1087,9086],[1100,9101],[1085,9114],[1074,9179],[1079,9193],[1103,9173],[1112,9180],[1156,9150],[1166,9112],[1188,9071],[1177,9058],[1197,9038],[1230,9026],[1269,9004],[1289,9016],[1286,8971]]],[[[1795,8689],[1772,8679],[1767,8668],[1747,8659],[1736,8665],[1732,8687],[1691,8681],[1699,8697],[1720,8705],[1713,8728],[1721,8745],[1727,8784],[1752,8798],[1767,8771],[1782,8758],[1802,8754],[1808,8745],[1850,8724],[1854,8706],[1887,8699],[1896,8691],[1872,8674],[1829,8685],[1828,8699],[1812,8698],[1813,8709],[1794,8701],[1795,8689]]],[[[1295,8946],[1326,8947],[1361,8963],[1355,8969],[1375,8993],[1388,8994],[1405,8972],[1441,8978],[1429,8958],[1436,8941],[1455,8939],[1416,8918],[1388,8922],[1314,8944],[1312,8914],[1295,8946]]],[[[1336,9071],[1318,9098],[1278,9125],[1260,9124],[1237,9143],[1241,9164],[1254,9166],[1276,9146],[1301,9147],[1312,9160],[1266,9190],[1287,9196],[1288,9209],[1313,9205],[1308,9214],[1330,9214],[1381,9226],[1382,9245],[1394,9254],[1375,9213],[1394,9211],[1398,9184],[1362,9164],[1395,9160],[1408,9173],[1423,9130],[1415,9097],[1371,9081],[1352,9066],[1336,9071]]],[[[751,9231],[782,9235],[818,9224],[863,9189],[830,9177],[750,9141],[745,9125],[718,9120],[710,9081],[634,9056],[606,9090],[571,9104],[552,9104],[570,9133],[576,9155],[615,9205],[604,9210],[586,9239],[679,9251],[721,9235],[751,9231]]],[[[1313,9304],[1319,9316],[1271,9313],[1236,9307],[1224,9331],[1249,9336],[1274,9324],[1252,9350],[1274,9371],[1295,9383],[1324,9376],[1339,9365],[1346,9375],[1382,9367],[1391,9318],[1368,9297],[1385,9286],[1372,9279],[1304,9278],[1291,9298],[1313,9304]]],[[[1008,9355],[1035,9381],[1056,9390],[1057,9376],[1076,9354],[1064,9339],[1107,9330],[1119,9341],[1144,9336],[1155,9316],[1137,9281],[1066,9272],[1054,9281],[1032,9269],[971,9248],[931,9242],[911,9245],[889,9259],[937,9276],[974,9278],[992,9292],[951,9284],[903,9282],[901,9299],[889,9281],[874,9275],[866,9287],[852,9275],[799,9289],[817,9324],[876,9329],[822,9331],[822,9340],[850,9351],[858,9365],[889,9367],[890,9381],[889,9391],[918,9384],[921,9353],[948,9347],[977,9327],[983,9308],[1005,9311],[1052,9306],[1046,9322],[1018,9331],[1040,9343],[1008,9355]]],[[[1920,9270],[1895,9263],[1897,9255],[1849,9245],[1816,9251],[1810,9267],[1799,9252],[1777,9248],[1708,9246],[1652,9248],[1651,9271],[1641,9257],[1609,9250],[1549,9264],[1546,9285],[1535,9290],[1549,9313],[1544,9331],[1516,9359],[1488,9353],[1437,9361],[1408,9397],[1438,9403],[1499,9393],[1517,9375],[1566,9379],[1591,9371],[1595,9362],[1629,9355],[1626,9348],[1571,9347],[1602,9341],[1632,9325],[1640,9303],[1650,9316],[1661,9305],[1674,9312],[1714,9303],[1754,9316],[1767,9314],[1792,9326],[1811,9321],[1834,9327],[1869,9324],[1912,9305],[1913,9288],[1889,9280],[1914,9278],[1920,9270]]],[[[861,9417],[832,9406],[850,9396],[846,9380],[812,9369],[803,9353],[784,9361],[792,9385],[770,9381],[775,9372],[756,9367],[768,9358],[730,9328],[700,9333],[671,9340],[654,9333],[642,9351],[656,9362],[680,9364],[694,9378],[760,9421],[789,9423],[807,9416],[809,9427],[831,9433],[861,9417]]],[[[1013,9430],[958,9419],[926,9431],[914,9449],[897,9442],[869,9459],[892,9466],[910,9455],[999,9468],[1029,9467],[1029,9459],[995,9453],[1016,9447],[1013,9430]]],[[[1204,9550],[1229,9541],[1243,9527],[1265,9531],[1327,9500],[1318,9489],[1342,9466],[1343,9454],[1316,9447],[1296,9452],[1261,9441],[1242,9444],[1239,9477],[1232,9475],[1233,9485],[1182,9479],[1165,9494],[1177,9499],[1211,9494],[1211,9512],[1190,9512],[1194,9525],[1166,9514],[1176,9526],[1150,9527],[1155,9548],[1204,9550]]],[[[1636,9605],[1662,9599],[1646,9612],[1653,9622],[1676,9620],[1697,9586],[1691,9564],[1707,9569],[1738,9564],[1757,9545],[1711,9530],[1680,9504],[1660,9523],[1661,9489],[1636,9473],[1608,9501],[1624,9472],[1604,9482],[1598,9470],[1549,9475],[1482,9524],[1513,9537],[1553,9536],[1531,9555],[1492,9543],[1439,9552],[1443,9563],[1482,9576],[1436,9569],[1413,9584],[1411,9602],[1465,9595],[1488,9604],[1449,9601],[1415,9611],[1433,9619],[1431,9632],[1459,9639],[1447,9654],[1465,9665],[1515,9667],[1513,9675],[1479,9679],[1512,9687],[1554,9672],[1586,9631],[1628,9629],[1636,9605]]],[[[1879,9419],[1931,9405],[1920,9394],[1963,9396],[1968,9377],[1931,9363],[1927,9336],[1910,9329],[1915,9356],[1882,9347],[1862,9348],[1874,9366],[1820,9361],[1787,9366],[1757,9363],[1772,9356],[1684,9365],[1655,9361],[1651,9387],[1640,9362],[1624,9372],[1606,9367],[1591,9381],[1658,9407],[1678,9404],[1699,9415],[1676,9420],[1661,9448],[1691,9455],[1719,9448],[1732,9430],[1800,9420],[1801,9430],[1828,9459],[1820,9462],[1801,9436],[1787,9429],[1739,9432],[1750,9449],[1736,9458],[1753,9465],[1762,9483],[1741,9469],[1719,9465],[1682,9469],[1682,9490],[1708,9513],[1748,9520],[1792,9515],[1850,9517],[1859,9529],[1828,9518],[1776,9523],[1775,9538],[1754,9567],[1711,9577],[1713,9614],[1791,9609],[1838,9583],[1853,9565],[1884,9566],[1858,9573],[1853,9586],[1808,9614],[1960,9633],[1903,9634],[1945,9645],[2002,9654],[1936,9651],[1935,9661],[1972,9683],[1955,9682],[1921,9661],[1913,9649],[1866,9635],[1816,9629],[1805,9640],[1773,9627],[1704,9633],[1732,9657],[1722,9660],[1688,9635],[1626,9
38652],[1655,9660],[1705,9661],[1763,9680],[1710,9669],[1613,9661],[1598,9673],[1626,9678],[1610,9684],[1655,9702],[1593,9686],[1583,9693],[1620,9705],[1588,9708],[1566,9699],[1551,9705],[1578,9720],[1615,9725],[1626,9718],[1647,9735],[1667,9739],[1733,9730],[1762,9730],[1704,9741],[1701,9747],[1745,9752],[1733,9765],[1794,9756],[1826,9738],[1815,9752],[1901,9729],[1822,9758],[1841,9780],[1884,9771],[1856,9788],[1905,9786],[1897,9799],[1986,9794],[2023,9774],[2e3,9795],[1979,9803],[2016,9808],[2073,9804],[2084,9794],[2109,9809],[2205,9812],[2207,9803],[2250,9804],[2303,9796],[2237,9777],[2271,9779],[2352,9797],[2407,9768],[2444,9766],[2452,9745],[2362,9711],[2249,9700],[2295,9696],[2194,9672],[2322,9695],[2357,9699],[2352,9688],[2314,9676],[2247,9644],[2197,9610],[2132,9596],[2177,9602],[2153,9575],[2131,9570],[2097,9577],[2103,9561],[2078,9555],[2047,9558],[2048,9550],[2014,9558],[2022,9549],[1979,9556],[1981,9543],[2065,9541],[2060,9512],[2055,9499],[2005,9496],[2046,9485],[2032,9468],[1994,9455],[1956,9459],[1969,9436],[1952,9422],[1928,9416],[1879,9419]]],[[[1855,7164],[1840,7175],[1847,7183],[1820,7183],[1798,7161],[1787,7167],[1769,7155],[1771,7168],[1782,7182],[1807,7193],[1837,7199],[1882,7199],[1900,7195],[1917,7185],[1924,7174],[1938,7174],[1959,7165],[1951,7179],[1975,7158],[2001,7141],[2032,7132],[2032,7125],[2056,7120],[2072,7110],[2071,7103],[2031,7098],[2012,7101],[1969,7096],[1988,7115],[1981,7122],[1947,7123],[1943,7146],[1905,7153],[1889,7164],[1853,7169],[1855,7164],[1855,7164],[1855,7164]]],[[[2155,7028],[2135,7047],[2111,7045],[2089,7048],[2082,7041],[2064,7053],[2074,7060],[2115,7053],[2117,7084],[2096,7090],[2109,7103],[2137,7092],[2166,7099],[2199,7090],[2208,7073],[2233,7069],[2259,7042],[2238,7052],[2200,7055],[2180,7046],[2175,7053],[2155,7028]]],[[[2047,7201],[2046,7203],[2033,7206],[2046,7218],[2027,7244],[2014,7244],[2005,7231],[1997,7241],[2013,7249],[2015,7259],[2031,7244],[2046,7219],[2047,7201],[2047,7201]]],[[[868,7348],[855,7359],[868,7357],[868,7348],[868,7348],[868,7348]]],[[[2462,6826],[2467,6836],[2464,6826],[2462,6826],[2462,6826],[2462,6826]]]]}},{type:"Feature",id:"SA",properties:{"hc-group":"admin0","hc-middle-x":.59,"hc-middle-y":.35,"hc-key":"sa","hc-a2":"SA","abbrev-a3":"SAM","iso-a2":"SA",name:"South America"},geometry:{type:"MultiPolygon",coordinates:[[[[2042,4982],[2057,4981],[2063,4959],[2047,4958],[2041,4944],[2030,4948],[2032,4981],[2042,4982]]],[[[2057,5107],[2069,5101],[2088,5112],[2083,5080],[2057,5107]]],[[[2093,4769],[2083,4773],[2111,4775],[2133,4760],[2113,4746],[2093,4769]]],[[[2105,5194],[2090,5187],[2097,5168],[2086,5153],[2067,5158],[2075,5180],[2077,5208],[2091,5210],[2105,5194]]],[[[2784,6507],[2766,6511],[2795,6520],[2789,6506],[2800,6511],[2808,6504],[2832,6500],[2819,6466],[2790,6456],[2767,6457],[2761,6477],[2752,6484],[2765,6501],[2784,6507]]],[[[1592,6518],[1592,6500],[1601,6494],[1593,6470],[1592,6489],[1581,6480],[1567,6479],[1576,6492],[1561,6509],[1569,6513],[1580,6496],[1592,6518]]],[[[3135,4751],[3177,4747],[3203,4721],[3193,4715],[3183,4730],[3149,4750],[3135,4751]]],[[[2459,4867],[2482,4856],[2512,4855],[2494,4833],[2473,4822],[2460,4829],[2485,4845],[2459,4867]]],[[[2499,4832],[2520,4845],[2521,4859],[2539,4851],[2552,4856],[2557,4843],[2537,4835],[2537,4827],[2514,4831],[2498,4817],[2499,4832]]],[[[2282,4710],[2287,4697],[2272,4699],[2266,4690],[2277,4679],[2266,4673],[2265,4700],[2253,4701],[2245,4714],[2282,4710]]],[[[1964,6720],[1985,6741],[1979,6762],[1995,6747],[1992,6759],[2012,6772],[2028,6793],[2034,6819],[2054,6835],[2068,6825],[2073,6841],[2099,6840],[2130,6858],[2132,6868],[2146,6875],[2163,6864],[2156,6854],[2139,6849],[2150,6823],[2134,6797],[2152,6774],[2165,6783],[2166,6795],[2150,6826],[2198,6847],[2187,6857],[2200,6874],[2207,6845],[2230,6845],[2244,6835],[2248,6819],[2257,6816],[2306,6821],[2319,6809],[2341,6803],[2368,6816],[2375,6823],[2410,6824],[2433,6821],[2405,6818],[2436,6796],[2442,6799],[2467,6782],[2470,6761],[2490,6759],[2515,6745],[2536,6723],[2536,6711],[2547,6708],[2574,6687],[2610,6678],[2613,6683],[2644,6684],[2666,6679],[2696,6668],[2726,6645],[2736,6631],[2748,6630],[2750,6615],[2764,6572],[2787,6557],[2788,6543],[2761,6514],[2748,6505],[2747,6478],[2732,6466],[2720,6469],[2705,6462],[2728,6463],[2756,6476],[2765,6456],[2807,6452],[2833,6470],[2842,6489],[2878,6488],[2888,6479],[2897,6482],[2922,6458],[2932,6472],[2946,6455],[2950,6434],[2959,6427],[2970,6442],[3013,6426],[3013,6430],[3039,6423],[3079,6425],[3118,6401],[3161,6365],[3180,6359],[3211,6358],[3218,6348],[3232,6299],[3231,6277],[3217,6239],[3184,6201],[3170,6193],[3148,6155],[3128,6129],[3111,6115],[3106,6077],[3112,6042],[3102,6002],[3104,5987],[3087,5961
38],[3087,5934],[3068,5901],[3057,5891],[3047,5870],[3050,5857],[3021,5839],[3018,5826],[2940,5821],[2919,5804],[2906,5801],[2874,5784],[2848,5765],[2826,5735],[2823,5709],[2832,5685],[2819,5649],[2790,5622],[2775,5590],[2751,5557],[2751,5570],[2763,5579],[2764,5593],[2748,5599],[2742,5570],[2728,5563],[2720,5549],[2718,5531],[2707,5504],[2685,5483],[2674,5462],[2639,5443],[2614,5449],[2599,5445],[2575,5459],[2553,5459],[2538,5477],[2538,5505],[2532,5465],[2545,5450],[2563,5441],[2574,5425],[2571,5403],[2587,5395],[2588,5380],[2564,5345],[2561,5336],[2518,5317],[2465,5308],[2431,5309],[2423,5279],[2422,5242],[2399,5232],[2379,5232],[2346,5248],[2338,5237],[2341,5203],[2358,5194],[2378,5200],[2384,5176],[2370,5171],[2360,5185],[2343,5175],[2360,5168],[2333,5143],[2337,5118],[2323,5106],[2326,5094],[2308,5095],[2288,5087],[2275,5073],[2266,5053],[2272,5038],[2291,5022],[2314,5019],[2322,5003],[2315,4983],[2268,4946],[2260,4911],[2229,4896],[2221,4871],[2227,4845],[2244,4819],[2213,4821],[2175,4802],[2166,4759],[2148,4759],[2129,4768],[2129,4782],[2156,4787],[2162,4799],[2124,4784],[2127,4770],[2102,4782],[2116,4797],[2150,4809],[2128,4810],[2094,4786],[2082,4791],[2090,4802],[2075,4803],[2080,4819],[2091,4818],[2066,4837],[2081,4845],[2083,4860],[2066,4862],[2040,4846],[2050,4866],[2046,4881],[2069,4876],[2055,4890],[2071,4892],[2058,4901],[2068,4905],[2065,4927],[2066,4915],[2036,4879],[2037,4902],[2045,4914],[2031,4923],[2040,4937],[2051,4937],[2047,4953],[2063,4957],[2065,4928],[2067,4962],[2051,4993],[2075,5022],[2047,5035],[2033,5024],[2028,5035],[2051,5055],[2048,5064],[2071,5087],[2070,5073],[2093,5078],[2099,5098],[2094,5108],[2104,5126],[2071,5125],[2074,5137],[2106,5134],[2105,5151],[2115,5167],[2110,5177],[2120,5201],[2109,5221],[2105,5211],[2086,5211],[2080,5238],[2087,5273],[2101,5290],[2092,5326],[2080,5330],[2094,5338],[2088,5362],[2102,5369],[2118,5423],[2131,5438],[2137,5469],[2148,5490],[2155,5528],[2147,5568],[2148,5597],[2158,5607],[2151,5638],[2169,5680],[2183,5752],[2179,5771],[2182,5800],[2179,5821],[2187,5827],[2194,5873],[2190,5891],[2193,5914],[2186,5954],[2187,5963],[2155,5986],[2152,5999],[2127,6014],[2087,6030],[2044,6056],[2022,6078],[2007,6101],[2013,6116],[1985,6154],[1985,6164],[1971,6177],[1932,6268],[1918,6283],[1903,6310],[1879,6324],[1868,6337],[1877,6343],[1867,6356],[1865,6385],[1879,6400],[1903,6415],[1910,6434],[1899,6421],[1896,6429],[1875,6441],[1880,6447],[1875,6477],[1886,6483],[1887,6497],[1900,6510],[1901,6533],[1932,6541],[1931,6556],[1944,6561],[1940,6573],[1951,6586],[1967,6584],[1969,6596],[1985,6618],[1974,6632],[1981,6642],[1978,6668],[1983,6678],[1976,6690],[1980,6700],[1964,6720]]],[[[2202,4715],[2184,4717],[2169,4708],[2155,4725],[2138,4721],[2137,4733],[2168,4733],[2144,4749],[2142,4738],[2130,4754],[2141,4756],[2160,4745],[2172,4747],[2170,4758],[2182,4769],[2190,4742],[2226,4734],[2195,4748],[2191,4759],[2215,4771],[2215,4777],[2189,4773],[2184,4791],[2204,4801],[2213,4813],[2221,4804],[2232,4810],[2247,4794],[2242,4780],[2276,4749],[2318,4725],[2339,4726],[2353,4715],[2314,4712],[2297,4699],[2298,4709],[2284,4715],[2246,4719],[2229,4714],[2242,4713],[2237,4705],[2248,4689],[2227,4693],[2231,4703],[2202,4694],[2199,4709],[2202,4715]]]]}}]},C8=()=>I18n.t("Explorer.download_image_credit",{formattedDate:Mr().format("DD/MM/YYYY")});var si={};const by=JSON.parse(`[{"code":"AD","name":"Andorra"},{"code":"AE","name":"United Arab Emirates (the)"},{"code":"AF","name":"Afghanistan"},{"code":"AG","name":"Antigua and Barbuda"},{"code":"AI","name":"Anguilla"},{"code":"AL","name":"Albania"},{"code":"AM","name":"Armenia"},{"code":"AO","name":"Angola"},{"code":"AQ","name":"Antarctica"},{"code":"AR","name":"Argentina"},{"code":"AS","name":"American Samoa"},{"code":"AT","name":"Austria"},{"code":"AU","name":"Australia"},{"code":"AW","name":"Aruba"},{"code":"AX","name":"Ã
land Islands"},{"code":"AZ","name":"Azerbaijan"},{"code":"BA","name":"Bosnia and Herzegovina"},{"code":"BB","name":"Barbados"},{"code":"BD","name":"Bangladesh"},{"code":"BE","name":"Belgium"},{"code":"BF","name":"Burkina Faso"},{"code":"BG","name":"Bulgaria"},{"code":"BH","name":"Bahrain"},{"code":"BI","name":"Burundi"},{"code":"BJ","name":"Benin"},{"code":"BL","name":"Saint Barthélemy"},{"code":"BM","name":"Bermuda"},{"code":"BN","name":"Brunei Darussalam"},{"code":"BO","name":"Bolivia (Plurinational State of)"},{"code":"BQ","name":"Bonaire, Sint Eustatius and Saba"},{"code":"BR","name":"Brazil"},{"code":"BS","name":"Bahamas (The)"},{"code":"BT","name":"Bhutan"},{"code":"BV","name":"Bouvet Island"},{"code":"BW","name":"Botswana"},{"code":"BY","name":"Belarus"},{"code":"BZ","name":"Belize"},{"code":"CA","name":"Canada"},{"code":"CC","name":"Cocos (Keeling) Islands (the)"},{"code":"CD","name":"Congo (the Democratic Republic of the)"},{"code":"CF","name":"Central African Republic (the)"},{"code":"CG","name":"Congo (the)"},{"code":"CH","name":"Switzerland"},{"code":"CI","name":"Côte d'Ivoire"},{"code":"CK","name":"Cook Islands (the)"},{"code":"CL","name":"Chile"},{"code":"CM","name":"Cameroon"},{"code":"CN","name":"China"},{"code":"CO","name":"Colombia"},{"code":"CR","name":"Costa Rica"},{"code":"CU","name":"Cuba"},{"code":"CV","name":"Cabo Verde"},{"code":"CW","name":"Curaçao"}
38,{"code":"CX","name":"Christmas Island"},{"code":"CY","name":"Cyprus"},{"code":"CZ","name":"Czechia"},{"code":"DE","name":"Germany"},{"code":"DJ","name":"Djibouti"},{"code":"DK","name":"Denmark"},{"code":"DM","name":"Dominica"},{"code":"DO","name":"Dominican Republic (the)"},{"code":"DZ","name":"Algeria"},{"code":"EC","name":"Ecuador"},{"code":"EE","name":"Estonia"},{"code":"EG","name":"Egypt"},{"code":"EH","name":"Western Sahara*"},{"code":"ER","name":"Eritrea"},{"code":"ES","name":"Spain"},{"code":"ET","name":"Ethiopia"},{"code":"FI","name":"Finland"},{"code":"FJ","name":"Fiji"},{"code":"FK","name":"Falkland Islands (the) [Malvinas]"},{"code":"FM","name":"Micronesia (Federated States of)"},{"code":"FO","name":"Faroe Islands (the)"},{"code":"FR","name":"France"},{"code":"GA","name":"Gabon"},{"code":"GB","name":"United Kingdom of Great Britain and Northern Ireland (the)"},{"code":"GD","name":"Grenada"},{"code":"GE","name":"Georgia"},{"code":"GF","name":"French Guiana"},{"code":"GG","name":"Guernsey"},{"code":"GH","name":"Ghana"},{"code":"GI","name":"Gibraltar"},{"code":"GL","name":"Greenland"},{"code":"GM","name":"Gambia (the)"},{"code":"GN","name":"Guinea"},{"code":"GP","name":"Guadeloupe"},{"code":"GQ","name":"Equatorial Guinea"},{"code":"GR","name":"Greece"},{"code":"GS","name":"South Georgia and the South Sandwich Islands"},{"code":"GT","name":"Guatemala"},{"code":"GU","name":"Guam"},{"code":"GW","name":"Guinea-Bissau"},{"code":"GY","name":"Guyana"},{"code":"HK","name":"Hong Kong"},{"code":"HM","name":"Heard Island and McDonald Islands"},{"code":"HN","name":"Honduras"},{"code":"HR","name":"Croatia"},{"code":"HT","name":"Haiti"},{"code":"HU","name":"Hungary"},{"code":"ID","name":"Indonesia"},{"code":"IE","name":"Ireland"},{"code":"IL","name":"Israel"},{"code":"IM","name":"Isle of Man"},{"code":"IN","name":"India"},{"code":"IO","name":"British Indian Ocean Territory (the)"},{"code":"IQ","name":"Iraq"},{"code":"IR","name":"Iran (Islamic Republic of)"},{"code":"IS","name":"Iceland"},{"code":"IT","name":"Italy"},{"code":"JE","name":"Jersey"},{"code":"JM","name":"Jamaica"},{"code":"JO","name":"Jordan"},{"code":"JP","name":"Japan"},{"code":"KE","name":"Kenya"},{"code":"KG","name":"Kyrgyzstan"},{"code":"KH","name":"Cambodia"},{"code":"KI","name":"Kiribati"},{"code":"KM","name":"Comoros (the)"},{"code":"KN","name":"Saint Kitts and Nevis"},{"code":"KP","name":"Korea (the Democratic People's Republic of)"},{"code":"KR","name":"Korea (the Republic of)"},{"code":"KW","name":"Kuwait"},{"code":"KY","name":"Cayman Islands (the)"},{"code":"KZ","name":"Kazakhstan"},{"code":"LA","name":"Lao People's Democratic Republic (the)"},{"code":"LB","name":"Lebanon"},{"code":"LC","name":"Saint Lucia"},{"code":"LI","name":"Liechtenstein"},{"code":"LK","name":"Sri Lanka"},{"code":"LR","name":"Liberia"},{"code":"LS","name":"Lesotho"},{"code":"LT","name":"Lithuania"},{"code":"LU","name":"Luxembourg"},{"code":"LV","name":"Latvia"},{"code":"LY","name":"Libya"},{"code":"MA","name":"Morocco"},{"code":"MC","name":"Monaco"},{"code":"MD","name":"Moldova (the Republic of)"},{"code":"ME","name":"Montenegro"},{"code":"MF","name":"Saint Martin (French part)"},{"code":"MG","name":"Madagascar"},{"code":"MH","name":"Marshall Islands (the)"},{"code":"MK","name":"North Macedonia"},{"code":"ML","name":"Mali"},{"code":"MM","name":"Myanmar"},{"code":"MN","name":"Mongolia"},{"code":"MO","name":"Macao"},{"code":"MP","name":"Northern Mariana Islands (the)"},{"code":"MQ","name":"Martinique"},{"code":"MR","name":"Mauritania"},{"code":"MS","name":"Montserrat"},{"code":"MT","name":"Malta"},{"code":"MU","name":"Mauritius"},{"code":"MV","name":"Maldives"},{"code":"MW","name":"Malawi"},{"code":"MX","name":"Mexico"},{"code":"MY","name":"Malaysia"},{"code":"MZ","name":"Mozambique"},{"code":"NA","name":"Namibia"},{"code":"NC","name":"New Caledonia"},{"code":"NE","name":"Niger (the)"},{"code":"NF","name":"Norfolk Island"},{"code":"NG","name":"Nigeria"},{"code":"NI","name":"Nicaragua"},{"code":"NL","name":"Netherlands (Kingdom of the)"},{"code":"NO","name":"Norway"},{"code":"NP","name":"Nepal"},{"code":"NR","name":"Nauru"},{"code":"NU","name":"Niue"},{"code":"NZ","name":"New Zealand"},{"code":"OM","name":"Oman"},{"code":"PA","name":"Panama"},{"code":"PE","name":"Peru"},{"code":"PF","name":"French Polynesia"},{"code":"PG","name":"Papua New Guinea"},{"code":"PH","name":"Philippines (the)"},{"code":"PK","name":"Pakistan"},{"code":"PL","name":"Poland"},{"code":"PM","name":"Saint Pierre and Miquelon"},{"code":"PN","name":"Pitcairn"},{"code":"PR","name":"Puerto Rico"},{"code":"PS","name":"Palestine, State of"},{"code":"PT","name":"Portugal"},{"code":"PW","name":"Palau"},{"code":"PY","name":"Paraguay"},{"code":"QA","name":"Qatar"},{"code":"RE","name":"Réunion"},{"code":"RO","name":"Romania"},{"code":"RS","name":"Serbia"}
38,{"code":"RU","name":"Russian Federation (the)"},{"code":"RW","name":"Rwanda"},{"code":"SA","name":"Saudi Arabia"},{"code":"SB","name":"Solomon Islands"},{"code":"SC","name":"Seychelles"},{"code":"SD","name":"Sudan (the)"},{"code":"SE","name":"Sweden"},{"code":"SG","name":"Singapore"},{"code":"SH","name":"Saint Helena, Ascension and Tristan da Cunha"},{"code":"SI","name":"Slovenia"},{"code":"SJ","name":"Svalbard and Jan Mayen"},{"code":"SK","name":"Slovakia"},{"code":"SL","name":"Sierra Leone"},{"code":"SM","name":"San Marino"},{"code":"SN","name":"Senegal"},{"code":"SO","name":"Somalia"},{"code":"SR","name":"Suriname"},{"code":"SS","name":"South Sudan"},{"code":"ST","name":"Sao Tome and Principe"},{"code":"SV","name":"El Salvador"},{"code":"SX","name":"Sint Maarten (Dutch part)"},{"code":"SY","name":"Syrian Arab Republic (the)"},{"code":"SZ","name":"Eswatini"},{"code":"TC","name":"Turks and Caicos Islands (the)"},{"code":"TD","name":"Chad"},{"code":"TF","name":"French Southern Territories (the)"},{"code":"TG","name":"Togo"},{"code":"TH","name":"Thailand"},{"code":"TJ","name":"Tajikistan"},{"code":"TK","name":"Tokelau"},{"code":"TL","name":"Timor-Leste"},{"code":"TM","name":"Turkmenistan"},{"code":"TN","name":"Tunisia"},{"code":"TO","name":"Tonga"},{"code":"TR","name":"Türkiye"},{"code":"TT","name":"Trinidad and Tobago"},{"code":"TV","name":"Tuvalu"},{"code":"TW","name":"Taiwan (Province of China)"},{"code":"TZ","name":"Tanzania, the United Republic of"},{"code":"UA","name":"Ukraine"},{"code":"UG","name":"Uganda"},{"code":"UM","name":"United States Minor Outlying Islands (the)"},{"code":"US","name":"United States of America (the)"},{"code":"UY","name":"Uruguay"},{"code":"UZ","name":"Uzbekistan"},{"code":"VA","name":"Holy See (the)"},{"code":"VC","name":"Saint Vincent and the Grenadines"},{"code":"VE","name":"Venezuela (Bolivarian Republic of)"},{"code":"VG","name":"Virgin Islands (British)"},{"code":"VI","name":"Virgin Islands (U.S.)"},{"code":"VN","name":"Viet Nam"},{"code":"VU","name":"Vanuatu"},{"code":"WF","name":"Wallis and Futuna"},{"code":"WS","name":"Samoa"},{"code":"YE","name":"Yemen"},{"code":"YT","name":"Mayotte"},{"code":"ZA","name":"South Africa"},{"code":"ZM","name":"Zambia"},{"code":"ZW","name":"Zimbabwe"}]`);var p9;function vy(){if(p9)return si;p9=1;var t=by,e={},r={};t.forEach(n);function n(i){e[i.name.toLowerCase()]=i.code,r[i.code.toLowerCase()]=i.name}return si.overwrite=function(a){!a||!a.length||a.forEach(function(o){var f=t.findIndex(function(u){return u.code===o.code});t[f]=o,n(o)})},si.getCode=function(a){return e[a.toLowerCase()]},si.getName=function(a){return r[a.toLowerCase()]},si.getNames=function(){return t.map(function(a){return a.name})},si.getCodes=function(){return t.map(function(a){return a.code})},si.getCodeList=function(){return r},si.getNameList=function(){return e},si.getData=function(){return t},si}var Sy=vy();const wy=Ur(Sy),Ey={XK:"KV"};function Ic(t){return Ey[t]||t}const Cy=[{code:"XK",name:"Kosovo"}],ky=Object.freeze(wy.getData().concat(Cy));function f9(){return ky}_l(Ri);w8(Ri);const Ay=zl(`<table class="Highlights-Demographics-tooltip"> 39 <thead> 40 <tr> 41 <td colspan="3"> 42 <%= point.name %>: 43 <%= I18n.t("Explorer.Highlights.Demographics.post", { count: NumberHelper.formatStatistic(point.value) }) %> 44 </td> 45 </tr> 46 </thead> 47 <tbody> 48 <% each(['tweet', 'fbwall', 'msm', 'policy'], function (type) { %> 49 <% var count = point[type] || 0 %> 50 <tr> 51 <td class="total"><%= NumberHelper.formatStatistic(count) %></td> 52 <td class="type <%= type %>">â</td> 53 <td><%= I18n.t("Explorer.Highlights.Demographics." + type, { count: count }) %></td> 54 </tr> 55 <% }); %> 56 </tbody> 57 </table>`,{imports:{NumberHelper:bt,each:qr}}),jy=Y4(Ri.geojson(E8),"properties.iso-a2");class Oc extends it.Component{static propTypes={data:ve.object.isRequired};constructor(e){super(e),this.state={data:this.normalizeData(e.data)}}UNSAFE_componentWillReceiveProps(e){e.data!=this.props.data&&this.setState({data:this.normalizeData(e.data)})}normalizeData(e){return Rl(e).map(r=>{const n=Ic(r.code),i=jy[n];if(i)return{...r,mapCode:n,continent:i.properties.continent}}).filter(r=>!!r)}render(){return s.jsx("div",{className:"Highlights-Demographics-map",children:s.jsx(Il,{allowChartUpdate:!1,highcharts:Ri,options:this.config,constructorType:"mapChart"})})}get config(){return{title:!1,legend:!1,credits:{text:C8(),mapText:""},mapNavigation:{enabled:!0,enableMouseWheelZoom:!1},chart:{height:300,width:500},colorAxis:{type:"logarithmic"},exporting:{enabled:!0,buttons:{contextButton:{menuItems:["downloadPNG"]}},chartOptions:{legend:{enabled:!0},navigator:{enabled:!1},title:!1}},tooltip:{shadow:!1,backgroundColor:"white",style:{lineHeight:"17px",padding:"13px"},borderWidth:1,borderRadius:3,borderColor:"rgba(235, 235, 245, 1)",useHTML:!0,formatter:function(){return Ay({point:this.point})}},plotOptions:{map:{joinBy:this.joinBy,mapData:this.mapData}},series:[{data:this.state.data,states:{hover:{color:"#FF0081",borderWidth:1}}}]}}}class Ty extends Oc{normalizeData(e){const r=M6(super.normalizeData(e),"continent");return hr(r,(n,i)=>({...n.reduce((o,f)=>k6(o,f,(u,m)=>Number.isInteger(u)&&Number.isInteger(m)?u+m:u)),name:i}))}get mapData(){return xy}get joinBy(){return["name","continent"]}}class My extends Oc{get mapData(){return E8}get joinBy(){return["iso-a2","mapCode"]}}const jn={continents:"continents",countries:"countries"},Ry=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/demographics",t,{reloadOn:["filters"]}),[n,i]=Q.useState(jn.continents),a=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,o=e&&!q4(e),f=m=>{Analytics.trackEvent("highlights-demographics-set-view",{detailLevel:m}),i(m)},u=()=>r===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):o?s.jsx("div",{className:"Highlights-content Highlights-Demographics-content",children:s.jsxs("div",{children:[s.jsxs("div",{className:"detail-level-selector",children:[s.jsx("button",{className:n===jn.continents?"active":"not-active",onClick:()=>f(jn.continents),children:I18n.t("Explorer.Highlights.Demographics.toggle.continents")}),s.jsx("button",{className:n===jn.countries?"active":"not-active",onClick:()=>f(jn.countries),children:I18n.t("Explorer.Highlights.Demographics.toggle.countries")})]}),n===jn.continents?s.jsx(Ty,{data:e}):s.jsx(My,{data:e})]})},"content"):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.Demographics.empty")});return s.jsxs("div",{className:"Highlights-Demographics Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.Demographics.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[s.jsx(Kr,{children:a?s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"):u()}),o&&s.jsx(Bt,{onClick:()=>Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"demographics"}),to:mr(t,"/demographics"),className:"Highlights-jump-link",children:I18n.t("Explorer.Highlights.Demographics.more")})]})]})};var To={exports:{}},Py=To.exports,m9;function Ny(){return m9||(m9=1,(function(t){(function(e){if(typeof r!="function"){var r=function(y){return y};r.nonNative=!0}const n=r("plaintext"),i=r("html"),a=r("comment"),o=/<(\w*)>/g,f=/<\/?([^\s\/>]+)/;function u(y,E,A){y=y||"",E=E||[],A=A||"";let j=S(E,A);return w(y,j)}function m(y,E){y=y||[],E=E||"";let A=S(y,E);return function(R){return w(R||"",A)}}u.init_streaming_mode=m;function S(y,E){return y=x(y),{allowable_tags:y,tag_replacement:E,state:n,tag_buffer:"",depth:0,in_quote_char:""}}
57function w(y,E){if(typeof y!="string")throw new TypeError("'html' parameter must be a string");let A=E.allowable_tags,j=E.tag_replacement,R=E.state,k=E.tag_buffer,B=E.depth,L=E.in_quote_char,C="";for(let h=0,H=y.length;h<H;h++){let P=y[h];if(R===n)P==="<"?(R=i,k+=P):C+=P;else if(R===i)switch(P){case"<":if(L)break;B++;break;case">":if(L)break;if(B){B--;break}L="",R=n,k+=">",A.has(T(k))?C+=k:C+=j,k="";break;case'"':case"'":P===L?L="":L=L||P,k+=P;break;case"-":k==="<!-"&&(R=a),k+=P;break;case" ":case` 58`:if(k==="<"){R=n,C+="< ",k="";break}k+=P;break;default:k+=P;break}else R===a&&(P===">"?(k.slice(-2)=="--"&&(R=n),k=""):k+=P)}return E.state=R,E.tag_buffer=k,E.depth=B,E.in_quote_char=L,C}function x(y){let E=new Set;if(typeof y=="string"){let A;for(;A=o.exec(y);)E.add(A[1])}else!r.nonNative&&typeof y[r.iterator]=="function"?E=new Set(y):typeof y.forEach=="function"&&y.forEach(E.add,E);return E}function T(y){let E=f.exec(y);return E?E[1].toLowerCase():null}t.exports?t.exports=u:e.striptags=u})(Py)})(To)),To.exports}var _y=Ny();const Lc=Ur(_y);class Fc extends it.Component{static propTypes={condition:ve.bool.isRequired,url:ve.string,children:ve.oneOfType([ve.element,ve.arrayOf(ve.element)])};render(){return this.props.condition?s.jsx("a",{href:this.props.url,rel:"noopener noreferrer",target:"_blank",children:this.props.children}):s.jsx("div",{children:this.props.children})}}const Iy=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M3.516 7a3.5 3.5 0 1 1-3.5 3.5L0 10a7 7 0 0 1 7-7v2a4.97 4.97 0 0 0-3.536 1.464 5.01 5.01 0 0 0-.497.578c.179-.028.362-.043.548-.043zm9 0a3.5 3.5 0 1 1-3.5 3.5L9 10a7 7 0 0 1 7-7v2a4.97 4.97 0 0 0-3.536 1.464 5.01 5.01 0 0 0-.497.578c.179-.028.362-.043.549-.043z"})),Oy=Q.forwardRef(Iy),tl=2;class Ly extends it.Component{static propTypes={post:ve.object};state={visible:!1};render(){const{post:e}=this.props,r=e.outputs.length;return s.jsx("div",{className:"container",children:s.jsxs("div",{className:"content",children:[s.jsx("div",{className:`marker ${e.postType}`}),s.jsx("div",{className:"title",children:s.jsx(Fc,{condition:e.url&&e.url.length>0,url:e.url,children:s.jsxs("span",{children:[I18n.t("Explorer.Highlights.LatestMentions.mentioned")," ",s.jsx(Rc,{date:Mr(e.postedAt).format("YYYY-MM-DD h:mm A UTC")})," ",this.sourceDescription]})})}),e.body&&s.jsxs("p",{className:"quote",children:[s.jsx(Oy,{className:"icon"}),ln(Lc(e.body),{length:250,separator:/\W/})]}),s.jsxs("div",{className:"outputs-container",children:[s.jsxs("p",{className:"outputs-title",children:[I18n.t("Explorer.Highlights.LatestMentions.cites",{count:r}),r>tl&&s.jsx("button",{onClick:this.toggleOutputsVisibility,className:"truncated-toggle",children:this.toggleOutputsVisibilityButtonText(r)}),":"]}),s.jsx(v8,{post:e,outputs:e.outputs,visible:this.state.visible,visibleOutputsCount:tl})]})]})},e.id)}toggleOutputsVisibility=()=>{this.setState({visible:!this.state.visible})};toggleOutputsVisibilityButtonText=e=>this.state.visible?I18n.t("Explorer.Highlights.LatestMentions.show_fewer"):I18n.t("Explorer.Highlights.LatestMentions.cites_more",{count:Math.max(e-tl,0)});get sourceDescription(){const{post:e}=this.props,r=["tweet","msm","blog","policy","weibo","fbwall","gplus","rdt"];if((!e.profile||!e.profile.name||!e.profile.name.length)&&Tr(r,e.postType))return;const n={};return e.profile&&e.profile.name&&e.profile.name.length&&(n.name=e.profile.name),I18n.t(`Explorer.Highlights.LatestMentions.type_descriptions.${e.postType}`,n)}}const Fy=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/latest_mentions",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=Array.isArray(e)&&e.length>0,a=()=>r===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):s.jsx("div",{className:"Highlights-content Highlights-LatestMentions-content",children:i?e.map(o=>s.jsx(Ly,{post:o},`mention-${o.id}`)):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.LatestMentions.empty")})},"content");return s.jsxs("div",{className:"Highlights-LatestMentions Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.LatestMentions.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[s.jsx(Kr,{children:n?s.jsx("div",{className:"Highlights-loading-message"}):a()}),i&&s.jsx(Bt,{onClick:()=>Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"latest-mentions"}),to:mr(t,"/mentions"),className:"Highlights-jump-link","aria-label":I18n.t("Explorer.Highlights.LatestMentions.title")+" â "+I18n.t("Explorer.Highlights.LatestMentions.more"),children:I18n.t("Explorer.Highlights.LatestMentions.more")})]})]})},g9=["#F418FF","#B712BF","#7A0C7F"],Dy=(t,e)=>{const r={...t.filters||{},"affiliations[]":[e.id]};return mr(nr(t,r),"/mentions")},By=()=>{Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"top-affiliations"})},Hy=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/top_affiliations",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=Array.isArray(e)&&e.length>0,a=(f,u)=>s.jsxs(ti.Item,{children:[s.jsx(S8,{percentage:f.ratio,color:g9[u%g9.length]}),s.jsxs("div",{className:"description",children:[s.jsx("div",{className:"title",children:s.jsx(Bt,{to:Dy(t,f),children:f.name})}
58),s.jsxs("div",{className:"meta",children:[I18n.htmlSafe("Explorer.Highlights.TopAffiliations.meta.mentions",{count:f.mentions,formattedCount:bt.formatStatistic(f.mentions)}),s.jsx("span",{children:"Â "}),I18n.htmlSafe("Explorer.Highlights.TopAffiliations.meta.outputs",{count:f.outputs,formattedCount:bt.formatStatistic(f.outputs)})]})]})]},f.id),o=()=>r===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):s.jsx("div",{className:"Highlights-content Highlights-TopAffiliations-content",children:i?s.jsx(ti,{children:e.map(a)}):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.TopAffiliations.empty")})},"content");return s.jsxs("div",{className:"Highlights-TopAffiliations Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.TopAffiliations.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[s.jsx(Kr,{children:n?s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"):o()}),i&&s.jsx(Bt,{onClick:By,to:mr(t,"/mentions"),className:"Highlights-jump-link",children:I18n.t("Explorer.Highlights.TopAffiliations.more")})]})]})},zy=(t,e)=>{const r={...t.filters||{},"researcher_id[]":[e.id]};return mr(nr(t,r),"/mentions")},Uy=t=>{const e=t.total_mentions===1?"mention ":"total mentions ",r=t.total_research_outputs===1?"research output":"research outputs";return s.jsxs("p",{className:"Highlights-TopResearchers-metadata","data-testid":`researcher-${t.id}`,children:[s.jsx("strong",{children:bt.formatStatistic(t.total_mentions)})," ",e,"from ",s.jsx("strong",{children:bt.formatStatistic(t.total_research_outputs)})," ",r]})},Gy=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/top_researchers",t,{reloadOn:["filters"]});return s.jsxs("div",{className:"Highlights-TopResearchers Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:"Top researchers"}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[(r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS)&&s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"),r===Ke.ERROR&&s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}),r===Ke.EMPTY_RESPONSE&&s.jsx("div",{className:"Highlights-content-empty-message",children:"There are no researchers matching your search."}),r===Ke.SUCCESS&&s.jsx("div",{className:"Highlights-content",children:e.map(n=>s.jsx("div",{className:"Highlights-TopResearchers-container",children:s.jsxs("div",{className:"Highlights-TopResearchers-content",children:[s.jsx("h3",{className:"Highlights-TopResearchers-title",children:s.jsx(Bt,{to:zy(t,n),children:n.full_name})}),n.affiliation&&s.jsx("p",{className:"Highlights-TopResearchers-affiliation",children:n.affiliation}),Uy(n)]})},n.id))},"content")]})]})},y9=["#009688","#00796B","#004D40"],$y=(t,e)=>{const r={...t.filters||{},"field_of_research_codes[]":[e.id]};return mr(nr(t,r),"/mentions")},Wy=()=>{Analytics.trackEvent("highlights-click-jump-link",{jumpedTo:"top-subject-areas"})},qy=()=>{const t=St(),{data:e,loading:r}=Jt("highlights/top_subject_areas",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=Array.isArray(e)&&e.length>0,a=(f,u)=>s.jsxs(ti.Item,{children:[s.jsx(S8,{percentage:f.ratio,color:y9[u%y9.length]}),s.jsxs("div",{className:"description",children:[s.jsx("div",{className:"title",children:s.jsx(Bt,{to:$y(t,f),children:f.name})}),s.jsxs("div",{className:"meta",children:[I18n.htmlSafe("Explorer.Highlights.TopSubjectAreas.meta.mentions",{count:f.mentions,formattedCount:bt.formatStatistic(f.mentions)}),s.jsx("span",{children:"Â "}),I18n.htmlSafe("Explorer.Highlights.TopSubjectAreas.meta.outputs",{count:f.outputs,formattedCount:bt.formatStatistic(f.outputs)})]})]})]},f.id),o=()=>r===Ke.ERROR?s.jsx("div",{className:"Highlights-error-message",children:I18n.t("Explorer.loading_error")}):s.jsx("div",{className:"Highlights-content Highlights-TopSubjectAreas-content",children:i?s.jsx(ti,{children:e.map(a)}):s.jsx("div",{className:"Highlights-content-empty-message",children:I18n.t("Explorer.Highlights.TopSubjectAreas.empty")})},"content");return s.jsxs("div",{className:"Highlights-TopSubjectAreas Highlights-block",children:[s.jsx("h2",{className:"Highlights-title",children:I18n.t("Explorer.Highlights.TopSubjectAreas.title")}),s.jsxs("div",{className:"Highlights-content-wrapper",children:[s.jsx(Kr,{children:n?s.jsx("div",{className:"Highlights-loading-message"},"loadingMessage"):o()}),i&&s.jsx(Bt,{onClick:Wy,to:mr(t,"/mentions"),className:"Highlights-jump-link",children:I18n.t("Explorer.Highlights.TopSubjectAreas.more")})]})]})},Vy=({featureFlags:t})=>s.jsxs("div",{className:"Explorer-Highlights",children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.highlights")}),s.jsx("div",{className:"Explorer-Highlights-Summary-row",children:s.jsx(Gg,{})}),s.jsx("div",{className:"Explorer-Highlights-Breakdown-row",children:s.jsx(mg,{})}),h8()&&s.jsx("div",{className:"Explorer-Highlights-Sentiment-Summary-row",children:s.jsx(Lg,{})}),s.jsxs("div",{className:"Explorer-Highlights-blocks",children:[t.includes("search_by_researcher")?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopOutputs-expanded",children:s.jsx(X7,{})}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopResearchers",children:s.jsx(Gy,{})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopOutputs",children:s.jsx(X7,{})}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopMentionSources",children:s.jsx(Z7,{})})]}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopJournals",children:s.jsx(uy,{})}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopAffiliations",children:s.jsx(Hy,{})}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopSubjectAreas",children:s.jsx(qy,{})}),t.includes("search_by_researcher")&&s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-TopMentionSources-compact",children:s.jsx(Z7,{})}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-NewsHighlights",children:s.jsx(cy,{})}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-LatestMentions",children:s.jsx(Fy,{})}),s.jsx("div",{className:"Explorer-Highlights-block-wrapper Explorer-Highlights-block-wrapper-Demographics",children:s.jsx(Ry,{})})]})]}),Yy=_s(Vy),an=({lastPage:t=!1,onChangePage:e})=>{const r=St(),n=u=>{e&&e(u)},i=u=>({search:cn(af(r,u))}),a=r.page>1,o=!t,f=a&&o;return s.jsxs("div",{className:"Explorer-Pagination",children:[a&&s.jsxs(Bt,{onClick:()=>n(r.page-1),to:i(r.page-1),className:"previous",children:["â ",I18n.t("Explorer.Pagination.previous")]}),f&&s.jsx("span",{className:"separator",children:"|"}),o&&s.jsxs(Bt,{onClick:()=>
58n(r.page+1),to:i(r.page+1),className:"next",children:[I18n.t("Explorer.Pagination.next")," â"]})]})};an.propTypes={lastPage:ve.bool,onChangePage:ve.func};const Mo=t=>t.default_search_scope_type==="my_institution_only"?"institution":"all",Xy=["Authors","Departments","FieldsOfResearch","Affiliations","SustainableDevelopmentGoals","Grants","Researchers"],Ky=()=>Xy.reduce((t,e)=>(t[`showToggle${e}`]=!1,t[`collapsed${e}`]=!0,t),{}),Zy=t=>!!t&&t.scrollHeight>t.clientHeight,Dc=({output:t,onBadgeClick:e,featureFlags:r=[]})=>{const n=St(),[i,a]=Q.useState(Ky),o=Q.useRef({}),f=n.view,u=(L,C)=>{a(h=>h[`showToggle${L}`]===C?h:{...h,[`showToggle${L}`]:C})},m=(L,C)=>{a(h=>({...h,[`collapsed${L}`]:C}))},S=L=>{L.preventDefault(),e(t)},w=Tr(ir.sources,n.sortOrder)||Tr(ir.otherSources,n.sortOrder)||Tr(ir.mentionTimeframes,n.sortOrder),x=f==="grid"?80:t.departments.length>0||t.authors.length>0?100:250,T=ln(t.title,{length:x,separator:/\W/,omission:"â¦"}),y=L=>{const C={scope:n.filters.scope||Mo(window.current_user)},h=nr(n,{...L,...C});return{search:cn(h)}},E=L=>i[`showToggle${L}`]?s.jsx("button",{type:"button",className:"truncated-toggle",onClick:()=>m(L,!i[`collapsed${L}`]),children:I18n.t(`Explorer.Outputs.ResearchOutputItem.show_${i[`collapsed${L}`]?"more":"less"}`)}):null,A=(L,C)=>h=>{!h||o.current[L]||(o.current[L]=!0,u(L,C&&Zy(h)))},j=(L,C,h,{className:H,i18nKey:P}={})=>{if(f!=="list"||!C?.length)return null;const N=H||L.toLowerCase(),I=P||`${N}_html`;return s.jsxs("div",{className:N,children:[s.jsxs("span",{className:"section-title",children:[I18n.htmlSafe(`Explorer.Outputs.ResearchOutputItem.${I}`,{count:C.length}),E(L)]}),s.jsx("div",{ref:A(L,C.length),className:i[`collapsed${L}`]?"chips":"chips expanded",children:C.map(h)})]})},R=w?s.jsxs("div",{className:"context",children:[s.jsx("span",{className:`icon ${n.sortOrder}`}),s.jsx("span",{className:"count","data-testid":"count",children:bt.formatNumberWithDelimiter(t.countForSort)}),s.jsx("span",{className:"type",children:I18n.t(n.sortOrder,{scope:"Explorer.Outputs.ResearchOutputItem.sort_option_descriptions",count:t.countForSort})})]}):null,k=f==="list"&&(t.authors.length>0||t.departments.length>0||t.affiliations.length>0||t.fieldsOfResearch.length>0||t.sustainableDevelopmentGoals.length>0||t.grants.length>0||t.researchers?.length>0&&r.includes("search_by_researcher")),B=window.current_user.librarian;return s.jsxs("div",{className:"ResearchOutputItem","data-testid":"research-output-item",children:[s.jsxs("button",{onClick:S,className:"output",children:[s.jsxs("div",{className:"badge",children:[s.jsx("img",{className:"badge",loading:"lazy",src:t.badgeURL,alt:I18n.t("Explorer.Outputs.ResearchOutputItem.alt",{score:t.score})}),t.verified&&s.jsx("div",{className:"verified-badge","data-testid":"verified-badge",children:s.jsx("div",{className:"icon",role:"img","aria-label":I18n.t("Explorer.Outputs.ResearchOutputItem.verified",{name:window.current_user.institution_name}),title:I18n.t("Explorer.Outputs.ResearchOutputItem.verified",{name:window.current_user.institution_name})})})]}),s.jsxs("div",{className:"content",children:[s.jsx("h3",{className:"title",children:T}),s.jsxs("div",{className:"meta",children:[t.meta,R]})]})]}),k&&s.jsxs("div",{className:"affiliation","data-testid":"affiliation",children:[r.includes("search_by_researcher")&&!B&&j("Researchers",t.researchers,L=>s.jsx(Bt,{to:y({"researcher_id[]":[L.dimensions_researcher_id]}),className:"chip",children:L.full_name},L.dimensions_researcher_id)),j("Authors",t.authors,L=>s.jsx(Bt,{to:y({author_id:L.id}),className:"chip",children:L.name},L.id)),j("Departments",t.departments,L=>s.jsx(Bt,{to:y({department_id:L.id}),className:"chip",children:L.name},L.id)),!B&&j("Affiliations",t.affiliations,L=>s.jsx(Bt,{to:y({"affiliations[]":[L.canonical_grid_id]}),className:"chip",children:L.name},L.grid_id),{className:"grid-affiliations",i18nKey:"grid_affiliation_html"}),!B&&j("FieldsOfResearch",t.fieldsOfResearch,L=>s.jsx(Bt,{to:y({"field_of_research_codes[]":[L.code]}),className:"chip",children:`${L.code} ${L.name}`}
58,L.code),{className:"fields-of-research",i18nKey:"fields_of_research_html"}),!B&&j("SustainableDevelopmentGoals",t.sustainableDevelopmentGoals,L=>s.jsx(Bt,{to:y({"sustainable_development_goals[]":[L.code]}),className:"chip",children:`${L.code} ${L.name}`},L.code),{className:"sustainable-development-goals",i18nKey:"sustainable_development_goals_html"}),!B&&j("Grants",t.grants,L=>s.jsx(Bt,{to:y({"grant_id[]":[L.dimensionsGrantId]}),className:"chip","data-tooltip-id":"GrantInfo","data-tooltip-html":`<p>${L.title}</p><p>${L.funderName}</p>`,children:L.projectNumbers},L.dimensions_grant_id))]})]})};Dc.propTypes={onBadgeClick:ve.func.isRequired,output:ve.instanceOf(Yr).isRequired,featureFlags:ve.array};const Jy=_s(Dc),Qy=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M0 0h4v4H0zm6 1h10v2H6zM0 6h4v4H0zm6 1h10v2H6zm-6 5h4v4H0zm6 1h10v2H6z"})),ex=Q.forwardRef(Qy),tx=({title:t,titleId:e,...r},n)=>Q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,ref:n,"aria-labelledby":e,...r},t?Q.createElement("title",{id:e},t):null,Q.createElement("path",{d:"M14 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h12v12z"})),rx=Q.forwardRef(tx),ix=()=>{const t=Br(),e=St(),r=i=>{Analytics.trackEvent("research-outputs-change-view",{type:i})},n=i=>{const a=i==="list"?ex:rx,o=cf(e,i),f={pathname:t.pathname,search:cn(o)};return s.jsxs(Bt,{"data-tooltip-content":I18n.t(i,{scope:"Explorer.Outputs.view_options"}),"data-tooltip-id":"ViewSelector",to:f,className:`option ${e.view===i?"active":""}`,onClick:()=>r(i),children:[s.jsx(a,{}),s.jsx("label",{children:I18n.t(i,{scope:"Explorer.Outputs.view_options"})})]})};return s.jsx("div",{className:"Explorer-Outputs-ViewSelector",children:s.jsxs("fieldset",{children:[s.jsx(Wn,{id:"ViewSelector",effect:"solid"}),s.jsx("legend",{children:I18n.t("Explorer.Outputs.view")}),s.jsxs("div",{className:"options",children:[n("grid"),n("list")]})]})})},nx=()=>[...ir.sources,...ir.otherSources].sort((t,e)=>{const r=I18n.t(`Explorer.Outputs.SortBy.sort_options.${t}`),n=I18n.t(`Explorer.Outputs.SortBy.sort_options.${e}`);return r.localeCompare(n)}),sx=()=>{const t=St(),e=Gr(),r=n=>{Analytics.trackEvent("research-outputs-sort",{key:n.target.value}),e(ps(t,n.target.value))};return s.jsxs("div",{className:"Explorer-Outputs-SortBy",children:[s.jsxs("label",{className:"label",htmlFor:"sortby-select",children:[I18n.t("research_outputs.sort_by"),":"]})," ",s.jsxs("select",{id:"sortby-select",onChange:r,value:t.sortOrder,children:[s.jsx("option",{value:"score",children:I18n.t("Explorer.Outputs.SortBy.sort_options.score")}),s.jsx("option",{value:"score_asc",children:I18n.t("Explorer.Outputs.SortBy.sort_options.score_asc")}),s.jsx("option",{value:"publication_date",children:I18n.t("Explorer.Outputs.SortBy.sort_options.publication_date")}),s.jsx("option",{value:"publication_date_asc",children:I18n.t("Explorer.Outputs.SortBy.sort_options.publication_date_asc")}),s.jsx("optgroup",{label:I18n.t("Explorer.Outputs.SortBy.sort_option_groups.source"),children:nx().map(n=>s.jsx("option",{value:n,children:I18n.t(`Explorer.Outputs.SortBy.sort_options.${n}`)},n))}),s.jsx("optgroup",{label:I18n.t("Explorer.Outputs.SortBy.sort_option_groups.mentions"),children:ir.mentionTimeframes.map(n=>s.jsx("option",{value:n,children:I18n.t(`Explorer.Outputs.SortBy.sort_options.${n}`)},n))})]})]})},Bc=({title:t,disabled:e=!1,children:r})=>{const[n,i]=Q.useState(!1),a=Q.useRef(null);return s.jsxs("nav",{ref:a,className:"DropdownMenu",onMouseEnter:()=>!e&&i(!0),onMouseLeave:()=>i(!1),onBlur:o=>{a.current?.contains(o.relatedTarget)||i(!1)},children:[s.jsx("button",{className:"DropdownMenu-Toggle-Button","aria-expanded":n,"aria-haspopup":"true",disabled:e,onClick:()=>!e&&i(!n),children:t}),s.jsx("div",{hidden:!n,className:"DropdownMenu-Content-Wrapper",children:s.jsx("div",{className:"DropdownMenu-Content",children:r})})]})},Ro=({labelText:t,href:e,onClick:r,supportUrl:n,tooltipText:i})=>e===null?null:s.jsxs("div",{className:"row",children:[s.jsx("a",{className:"info",href:n,target:"_blank",rel:"noreferrer","aria-label":i,"data-tooltip-id":"Export-tooltip","data-tooltip-content":i,"data-event":"focus mouseenter","data-event-off":"blur mouseleave",children:"î¤"}),s.jsx("a",{onClick:r,className:"action",target:"_blank",rel:"noreferrer",href:e,children:t}),s.jsx(Wn,{id:"Export-tooltip",effect:"solid",place:"left"})]});Ro.propTypes={labelText:ve.string.isRequired,href:ve.string,onClick:ve.func.isRequired,supportUrl:ve.string,tooltipText:ve.string};const hn=({endpoint:t,resultsCount:e,help:r})=>{const n=St(),{data:i,loading:a}=Jt(`exports/${t}`,n,{reloadOn:["filters","sortOrder"],enabled:e!==0}),o=()=>Analytics.trackEvent("export-csv",{endpoint:t}),f=()=>Analytics.trackEvent("export-csv-utf8",{endpoint:t}),u=()=>Analytics.trackEvent("export-api",{endpoint:t}),m=a===Ke.NOT_STARTED||a===Ke.IN_PROGRESS,S=i?.csv??null,w=i?.csv_utf8??null,x=i?.api??null;return e===0||m||!S&&!w&&!x?s.jsx("div",{className:"Export","data-testid":"export"}):s.jsx("div",{className:"Export","data-testid":"export",children:s.jsx("div",{id:"CSV-Export
58-Dropdown",children:s.jsxs(Bc,{title:I18n.t("Explorer.Export.header"),children:[s.jsx("div",{className:"CSV-Export-Dropdown-Items-Wrapper"}),s.jsxs("div",{className:"CSV-Export-Dropdown-Items",children:[s.jsx(Ro,{labelText:I18n.t("Explorer.Export.download_csv.link"),href:S,onClick:o,supportUrl:r.csv,tooltipText:I18n.t("Explorer.Export.download_csv.tip")}),s.jsx(Ro,{labelText:I18n.t("Explorer.Export.download_csv_utf8.link"),href:w,onClick:f,supportUrl:r.csv,tooltipText:I18n.t("Explorer.Export.download_csv_utf8.tip")}),s.jsx(Ro,{labelText:I18n.t("Explorer.Export.download_json.link"),href:x,onClick:u,supportUrl:r.api,tooltipText:I18n.t("Explorer.Export.download_json.tip")})]})]})})})};hn.propTypes={endpoint:ve.string,resultsCount:ve.number,help:ve.object};const x9={default:{api:"https://help.altmetric.com/support/home",csv:"https://help.altmetric.com/support/home"},mentions:{api:"https://help.altmetric.com/support/solutions/articles/6000241368-introduction-to-the-explorer-api",csv:"https://help.altmetric.com/support/solutions/articles/6000241087-export-search-results-exporting-mentions-from-the-mentions-tab"},mention_sources:{api:"https://help.altmetric.com/support/solutions/articles/6000241368-introduction-to-the-explorer-api",csv:"https://help.altmetric.com/support/solutions/articles/6000241087-export-search-results-exporting-mentions-from-the-mentions-tab"},demographics:{api:"https://help.altmetric.com/support/solutions/articles/6000241368-introduction-to-the-explorer-api",csv:"https://help.altmetric.com/support/solutions/articles/6000241088-export-search-results-downloading-results-to-a-csv-spreadsheet"},journals:{api:"https://help.altmetric.com/support/solutions/articles/6000241368-introduction-to-the-explorer-api",csv:"https://help.altmetric.com/support/solutions/articles/6000241088-export-search-results-downloading-results-to-a-csv-spreadsheet"},research_outputs:{api:"https://help.altmetric.com/support/solutions/articles/6000241368-introduction-to-the-explorer-api",csv:"https://help.altmetric.com/support/solutions/articles/6000241088-export-search-results-downloading-results-to-a-csv-spreadsheet"},attention:{api:"https://help.altmetric.com/support/solutions/articles/6000241368-introduction-to-the-explorer-api",csv:"https://help.altmetric.com/support/solutions/articles/6000241088-export-search-results-downloading-results-to-a-csv-spreadsheet"}};function qn(t){const e=x9[t];return e||x9.default}const ox=()=>{const t=St(),{data:e,loading:r}=Jt("research_outputs/summary",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=r===Ke.ERROR,a=e?.total_outputs??0,o=e?.mentioned_outputs??0,f=()=>i?I18n.t("Explorer.Outputs.error"):a===0?I18n.t("Explorer.Outputs.Summary.no_results"):s.jsxs("div",{children:[I18n.htmlSafe("Explorer.Outputs.Summary.research_outputs_html",{count:a,formattedCount:bt.formatNumberWithDelimiter(a)})," ",I18n.htmlSafe("Explorer.Outputs.Summary.mentions_html",{count:o,formattedCount:bt.formatNumberWithDelimiter(o)})]});return s.jsx(dn,{children:n?I18n.t("Explorer.Outputs.Summary.loading"):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:f()}),s.jsx(hn,{endpoint:"research_outputs",resultsCount:a,help:qn("research_outputs")}),s.jsx(Gi,{endpoint:"outputs",analyticsName:"Research Outputs"})]})})},b9=t=>{Analytics.trackEvent("research-outputs-paginate",{page:t})},v9=()=>{const t=St(),e=Gr(),r=Q.useRef(null),{data:n,loading:i}=Jt("research_outputs",t,{reloadOn:["filters","page","sortOrder"]}),a=()=>{const x=r.current?.closest(".Explorer-ContentPanel");x&&(x.scrollTop=0)};it.useEffect(()=>{i===Ke.IN_PROGRESS&&a()},[i]);const o=x=>{Analytics.trackEvent("research-outputs-open-details-page",{outputId:x.id}),e(Un(t,x.id))},f=n?.outputs?n.outputs.map(x=>new Yr(x)):[],u=n?.lastPage??null,m=n===null&&(i===Ke.IN_PROGRESS||i===Ke.NOT_STARTED),S=n!==null&&i===Ke.IN_PROGRESS,w=()=>i===Ke.ERROR?s.jsx("div",{className:"error-message",children:I18n.t("Explorer.Outputs.error")}):i===Ke.EMPTY_RESPONSE||f.length===0&&i===Ke.SUCCESS?s.jsx("div",{className:"empty-message",children:I18n.t("Explorer.Outputs.empty")}):s.jsxs("div",{className:"Explorer-Outputs-Container-Wrapper",children:[s.jsxs("div",{className:"Explorer-Outputs-Header",children:[s.jsx(ix,{}),s.jsx(sx,{}),s.jsx(an,{lastPage:u,onChangePage:b9})]}),s.jsx("div",{className:t.view==="grid"?"Explorer-Outputs-Grid":"Explorer-Outputs-List",children:f.map(x=>s.jsx(Jy,{output:x,onBadgeClick:o},`output-${x.id}`))}),s.jsx(an,{lastPage:u,onChangePage:b9}),s.jsx("div",{className:`Explorer-Outputs-Updating-spinner ${S?"updating":"not-updating"}`})]});return s.jsxs("div",{className:"Explorer-Outputs",ref:r,children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.outputs")}),s.jsx(ox,{}),s.jsx(Wn,{id:"GrantInfo",effect:"solid"}),s.jsx("div",{className:"Explorer-Outputs-Container",children:m?s.jsx("div",{className:"Explorer-Outputs-Loading-spinner"}):w()},"content")]})};var rl={exports:{}},S9;function ax(){return S9||(S9=1,(function(t){(function(e){t.exports?(e.default=e,t.exports=e):e(typeof Highcharts<"u"?Highcharts:void 0)})(function(e){var r=e?e._modules:{};function n(i,a,o,f){i.hasOwnProperty(a)||(i[a]=f.apply(null,o),typeof CustomEvent=="function"&&e.win.dispatchEvent(new CustomEvent("HighchartsM
58oduleLoaded",{detail:{path:a,module:i[a]}})))}n(r,"Extensions/DownloadURL.js",[r["Core/Globals.js"]],function(i){let{isSafari:a,win:o,win:{document:f}}=i,u=o.URL||o.webkitURL||o;function m(S){let w=S.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(w&&w.length>3&&o.atob&&o.ArrayBuffer&&o.Uint8Array&&o.Blob&&u.createObjectURL){let x=o.atob(w[3]),T=new o.ArrayBuffer(x.length),y=new o.Uint8Array(T);for(let E=0;E<y.length;++E)y[E]=x.charCodeAt(E);return u.createObjectURL(new o.Blob([y],{type:w[1]}))}}return{dataURLtoBlob:m,downloadURL:function(S,w){let x=o.navigator,T=f.createElement("a");if(typeof S!="string"&&!(S instanceof String)&&x.msSaveOrOpenBlob){x.msSaveOrOpenBlob(S,w);return}if(S=""+S,x.userAgent.length>1e3)throw Error("Input too long");let y=/Edge\/\d+/.test(x.userAgent);if((a&&typeof S=="string"&&S.indexOf("data:application/pdf")===0||y||S.length>2e6)&&!(S=m(S)||""))throw Error("Failed to convert to blob");if(T.download!==void 0)T.href=S,T.download=w,f.body.appendChild(T),T.click(),f.body.removeChild(T);else try{if(!o.open(S,"chart"))throw Error("Failed to open window")}catch{o.location.href=S}}}}),n(r,"Extensions/OfflineExporting/OfflineExportingDefaults.js",[],function(){return{libURL:"https://code.highcharts.com/11.4.8/lib/",menuItemDefinitions:{downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChartLocal()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChartLocal({type:"image/jpeg"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChartLocal({type:"image/svg+xml"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChartLocal({type:"application/pdf"})}}}}}),n(r,"Extensions/OfflineExporting/OfflineExporting.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Chart/Chart.js"],r["Core/Defaults.js"],r["Extensions/DownloadURL.js"],r["Extensions/Exporting/Exporting.js"],r["Core/Globals.js"],r["Core/HttpUtilities.js"],r["Extensions/OfflineExporting/OfflineExportingDefaults.js"],r["Core/Utilities.js"]],function(i,a,o,f,u,m,S,w,x){var T;let{defaultOptions:y}=o,{downloadURL:E}=f,{doc:A,win:j}=m,{ajax:R}=S,{addEvent:k,error:B,extend:L,fireEvent:C,merge:h}=x;return i.allowedAttributes.push("data-z-index","fill-opacity","filter","rx","ry","stroke-dasharray","stroke-linejoin","stroke-opacity","text-anchor","transform","version","viewBox","visibility","xmlns","xmlns:xlink"),i.allowedTags.push("desc","clippath","g"),(function(H){function P(p,v){let b=this,M=h(b.options.exporting,p),O=function(_){M.fallbackToExportServer===!1?M.error?M.error(M,_):B(28,!0):b.exportChart(M)};if(m.isMS&&b.styledMode&&!u.inlineAllowlist.length&&u.inlineAllowlist.push(/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/),m.isMS&&(M.type==="application/pdf"||b.container.getElementsByTagName("image").length&&M.type!=="image/svg+xml")||M.type==="application/pdf"&&[].some.call(b.container.getElementsByTagName("image"),function(_){let U=_.getAttribute("href");return U!==""&&typeof U=="string"&&U.indexOf("data:")!==0})){O(Error("Image type not supported for this chart/browser."));return}b.getSVGForLocalExport(M,v||{},O,function(_){_.indexOf("<foreignObject")>-1&&M.type!=="image/svg+xml"&&(m.isMS||M.type==="application/pdf")?O(Error("Image type not supported for charts with embedded HTML")):H.downloadSVGLocal(_,L({filename:b.getFilename()},M),O,()=>C(b,"exportChartLocalSuccess"))})}function N(p,v){let b=A.getElementsByTagName("head")[0],M=A.createElement("script");M.type="text/javascript",M.src=p,M.onload=v,M.onerror=function(){B("Error loading script "+p)},b.appendChild(M)}function I(p,v,b,M){let O=this,_=X=>O.sanitizeSVG(X,te),U=()=>{xe&&Y===V&&M(_(J.innerHTML))},q=(X,ae,$)=>{++Y,$.imageElement.setAttributeNS("http://www.w3.org/1999/xlink","href",X),U()},z,J,te,ce=null,xe,V=0,Y=0;O.unbindGetSVG=k(O,"getSVG",X=>{te=X.chartCopy.options,V=(xe=(J=X.chartCopy.container.cloneNode(!0))&&J.getElementsByTagName("image")||[]).length}),O.getSVGForExport(p,v);try{if(!xe||!xe.length){M(_(J.innerHTML));return}for(let X=0;X<xe.length;X++)(ce=(z=xe[X]).getAttributeNS("http://www.w3.org/1999/xlink","href"))?H.imageToDataUrl(ce,"image/png",{imageElement:z},p.scale,q,b,b,b):(Y++,z.parentNode.removeChild(z),X--,U())}catch(X){b(X)}O.unbindGetSVG()}function F(p,v,b,M,O,_,U,q,z){let J=new j.Image,te,ce=()=>{setTimeout(function(){let V,Y=A.createElement("canvas"),X=Y.getContext&&Y.getContext("2d");try{if(X){Y.height=J.height*M,Y.width=J.width*M,X.drawImage(J,0,0,Y.width,Y.height);try{V=Y.toDataURL(v),O(V,v,b,M)}catch{te(p,v,b,M)}}else U(p,v,b,M)}finally{z&&z(p,v,b,M)}},H.loadEventDeferDelay)},xe=()=>{q(p,v,b,M),z&&z(p,v,b,M)};te=()=>{J=new j.Image,te=_,J.crossOrigin="Anonymous",J.onload=ce,J.onerror=xe,J.src=p},J.onload=ce,J.onerror=xe,J.src=p}function l(p){let v=j.navigator.userAgent,b=v.indexOf("WebKit")>-1&&0>v.indexOf("Chrome");try{if(!b&&p.indexOf("<foreignObject")===-1)return H.domurl.createObjectURL(new j.Blob([p],{type:"image/svg+xml;charset-utf-16"}))}catch{}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(p)}function d(p,v,b,M){let O=(Number(p.getAttribute("width"))+2*v)*b,_=(Number(p.getAttribute("height"))+2*v)*b,U=new j.jspdf.jsPDF(_>O?"p":"l","pt",[O,_]);[].forEach.call(p.querySelectorAll('*[visibility="hidden"]'),function(z){z.parentNode.removeChild(z)});let q=p.querySelectorAll("linearGradient");for(let z=0;z<q.length;z++){let J=q[z].querySelectorAll("stop"),te=0;for(;te<J.length&&J[te].getAttribute("offset")==="0"&&J[te+1].getAttribute("offset")==="0";)J[te].remove(),te++}[].forEach.call(p.querySelectorAll("tspan"),z=>{z.textContent==="â"&&(z.textContent=" ",z.setAttribute("dx",-5))}),U.svg(p,{x:0,y:0,width:O,height:_,removeInvalid:!0}).then(()=>M(U.output("datauristring")))}H.CanVGRenderer={},H.domurl=j.URL||j.webkitURL||j,H.loadEventDeferDelay=m.isMS?150:0,H.compose=function(p){let v=p.prototype;return v.exportChartLocal||(v.getSVGForLocalExport=I,v.exportChartLocal=P,h(!0,y.exporting,w)),p},H.downloadSVGLocal=function(p,v,b,M){let O=A.createElement("div"),_=v.type||"image/png",U=(v.f
58ilename||"chart")+"."+(_==="image/svg+xml"?"svg":_.split("/")[1]),q=v.scale||1,z,J,te,ce=v.libURL||y.exporting.libURL,xe=!0,V=v.pdfFont;ce=ce.slice(-1)!=="/"?ce+"/":ce;let Y=(ae,$)=>{let K,Z,se=(oe,ue)=>{j.jspdf.jsPDF.API.events.push(["initialized",function(){this.addFileToVFS(oe,ue),this.addFont(oe,"HighchartsFont",oe),this.getFontList().HighchartsFont||this.setFont("HighchartsFont")}])};V&&(Z=ae.textContent||"",!/[^\u0000-\u007F\u200B]+/.test(Z))&&(V=void 0);let ie=["normal","italic","bold","bolditalic"],ne=()=>{let oe=ie.shift();if(!oe)return $();let ue=V&&V[oe];ue?R({url:ue,responseType:"blob",success:(ye,be)=>{let Te=new FileReader;Te.onloadend=function(){if(typeof this.result=="string"){let fe=this.result.split(",")[1];se(oe,fe),oe==="normal"&&(K=fe)}ne()},Te.readAsDataURL(be.response)},error:ne}):(K&&se(oe,K),ne())};ne()},X=()=>{let ae,$;i.setElementHTML(O,p);let K=O.getElementsByTagName("text"),Z=function(ie,ne){let oe=ie;for(;oe&&oe!==O;){if(oe.style[ne]){let ue=oe.style[ne];ne==="fontSize"&&/em$/.test(ue)&&(ue=Math.round(16*parseFloat(ue))+"px"),ie.style[ne]=ue;break}oe=oe.parentNode}};[].forEach.call(K,function(ie){for(["fontFamily","fontSize"].forEach(ne=>{Z(ie,ne)}),ie.style.fontFamily=V&&V.normal?"HighchartsFont":String(ie.style.fontFamily&&ie.style.fontFamily.split(" ").splice(-1)),ae=ie.getElementsByTagName("title"),[].forEach.call(ae,function(ne){ie.removeChild(ne)}),$=ie.getElementsByClassName("highcharts-text-outline");$.length>0;){let ne=$[0];ne.parentNode&&ne.parentNode.removeChild(ne)}});let se=O.querySelector("svg");se&&Y(se,()=>{d(se,0,q,ie=>{try{E(ie,U),M&&M()}catch(ne){b(ne)}})})};if(_==="image/svg+xml")try{j.MSBlobBuilder!==void 0?((J=new j.MSBlobBuilder).append(p),z=J.getBlob("image/svg+xml")):z=l(p),E(z,U),M&&M()}catch(ae){b(ae)}else _==="application/pdf"?j.jspdf&&j.jspdf.jsPDF?X():(xe=!0,N(ce+"jspdf.js",function(){N(ce+"svg2pdf.js",X)})):(z=l(p),te=function(){try{H.domurl.revokeObjectURL(z)}catch{}},F(z,_,{},q,function(ae){try{E(ae,U),M&&M()}catch($){b($)}},function(){if(p.length>1e8)throw Error("Input too long");let ae=A.createElement("canvas"),$=ae.getContext("2d"),K=p.match(/^<svg[^>]*\s{,1000}width\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/),Z=p.match(/^<svg[^>]*\s{0,1000}height\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/);if($&&K&&Z){let se=+K[1]*q,ie=+Z[1]*q,ne=()=>{j.canvg.Canvg.fromString($,p).start();try{E(j.navigator.msSaveOrOpenBlob?ae.msToBlob():ae.toDataURL(_),U),M&&M()}catch(oe){b(oe)}finally{te()}};ae.width=se,ae.height=ie,j.canvg?ne():(xe=!0,N(ce+"canvg.js",ne))}},b,b,function(){xe&&te()}))},H.getScript=N,H.imageToDataUrl=F,H.svgToDataUrl=l,H.svgToPdf=d})(T||(T={})),T}),n(r,"masters/modules/offline-exporting.src.js",[r["Core/Globals.js"],r["Extensions/DownloadURL.js"],r["Extensions/OfflineExporting/OfflineExporting.js"]],function(i,a,o){return i.dataURLtoBlob=i.dataURLtoBlob||a.dataURLtoBlob,i.downloadSVGLocal=o.downloadSVGLocal,i.downloadURL=i.downloadURL||a.downloadURL,o.compose(i.Chart),i})})})(rl)),rl.exports}var lx=ax();const Hc=Ur(lx);function zo(t,e){const r=`Data for ${t}`;return e?r:r.replace(/(<([^>]+)>)/gi,"")}_l(Bn);w8(Bn);Hc(Bn);Bn.setOptions({lang:{thousandsSep:","}});const cx=1e3,dx=["#B60000","#e89500","#270a63","#d45029","#2F90B9","#bdbdbd","#df931b","#071D70","#3b2a3d","#912470","#00BFFF","#B9DDEB","#CC3300","#CB2D2D","#EFEFEF","#15BABC","#1185FE","#90089C","#f24c5b"],hx=3600*24*7*1e3,ux=3600*24*1e3,px=zl(`<table> 59 <tr class="header"> 60 <td colspan="3"><%= I18n.t("Explorer.Timeline.chart.tooltip_title") %> <%= date %></td> 61 </tr> 62 <% forEach(types, function(type) { %> 63 <tr> 64 <td class="count"><%= Highcharts.numberFormat(type.y, 0) %></td> 65 <td class="symbol" style="color:<%= type.series.color %>">â</td> 66 <td class="label"> 67 <%= I18n.t(type.series.userOptions.id, {scope: "Explorer.Timeline.chart.types", count: total}) %> 68 <%= I18n.t("Explorer.Timeline.chart.legend.mentions", { count: total }) %> 69 </td> 70 </tr> 71 <% }); %> 72 <% if (types.length > 1) { %> 73 <tr class="footer"> 74 <td class="count"><%= Highcharts.numberFormat(total, 0) %></td> 75 <td colspan="2" class="label"><%= I18n.t("Explorer.Timeline.chart.total", {count: total}) %></td> 76 </tr> 77 <% } %> 78 </table>`,{imports:{Highcharts:Bn,forEach:qr}}),fx=(t,e)=>{const r=t.filters.timeframe;if(!r||r==="at")return;const n={d:"day",w:"week",m:"month",y:"year"},[i,a]=r,o=Mr().startOf("day").subtract(parseInt(i),n[a]),f=e.startOf("day");return{min:o.valueOf(),max:f.valueOf()}},mx=t=>hr(ir.postTypes,(e,r)=>({id:e,name:I18n.t(e,{scope:"Explorer.Timeline.chart.types"}),data:hr(t,n=>[n[0],n[r+1]])})),gx=t=>hr(t,e=>{const[r,...n]=e;return[r,r6(n)]}),zc=({data:t,selectedPostTypes:e,latestChartDate:r,totalOutputs:n,queryDescription:i})=>{const a=St(),o=Gr(),f=Q.useRef(null),u=Q.useRef(e);u.current=e;const m=Q.useRef(a);m.current=a;const S=Q.useMemo(()=>Fl(T=>Analytics.trackEvent("timeline-chart-zoom",{trigger:T.trigger,min:T.min,max:T.max}),cx),[]),w=(T,y)=>{const E=Mr.utc(T.point.x);let A=E;y.currentDataGrouping&&(A=Mr.utc(T.point.x).add(y.currentDataGrouping.count,y.currentDataGrouping.unitName).subtract(1,"day"));const j={mentioned_after:E.format("YYYY-MM-DD"),mentioned_before:A.format("YYYY-MM-DD")};u.current.length>0&&(j["mention_sources[]"]=u.current.map(R=>`type:${R}`)),Analytics.trackEvent("timeline-click-bar",j),o(nr(m.current,Z9({...m.current.filters},j)),{pathname:"/mentions"})},x=Q.useMemo(()=>{const T=fx(a,r),y=I18n.t("Explorer.Timeline.Summary.research_outputs",{count:n,formattedCount:bt.formatNumberWithDelimiter(n)}),E=`Altmetric Explorer Timeline - ${zo(i,!1)}`;return{chart:{height:550,type:"column",style:{fontFamily:"Inter, Helvetica, Arial, sans-serif"}},colors:dx,credits:{text:C8()},exporting:{enabled:!0,buttons:{contextButton:{menuItems:["downloadPNG"]}},filename:E,chartOptions:{legend:{enabled:!0},navigator:{enabled:!1},rangeSelector:{enabled:!1},scrollbar:{enabled:!1},title:{text:"Altmetric Explorer Timeline"},subtitle:{text:zo(i,!0)},caption:{text:y,style:{fontSize:12}},chart:{spacing:[26,26,31,26]},yAxis:{title:{text:"Mentions"}}}},tooltip:{shadow:!1,backgroundColor:"rgba(245, 245, 255, 0.95)",headerFormat:"{point.key}",style:{lineHeight:"17px",padding:"13px"},borderWidth:1,borderRadius:3,borderColor:"rgba(235, 235, 245, 1)",useHTML:!0,shared:!0,formatter:function(A){const j=this.points[0],R=A.tooltipFooterHeaderFormatter(j),k=j.total;return px({date:R,types:ki(this.points,B=>B.y),total:k})}},plotOptions:{column:{stacking:"normal",pointPadding:0,groupPadding:.05,cursor:"pointer",dataGrouping:{approximation:"sum",groupPixelWidth:30,forced:!0,units:[["day",[1]],["week",[1]],["month",[1]],["year",[1]]]},events:{click:function(A){return w(A,this)}}}}
78,xAxis:{ordinal:!1,minRange:hx,minTickInterval:ux,events:{setExtremes:A=>S(A)},labels:{style:{color:"#333333",cursor:"default",fontSize:"11px"}},...T||{}},yAxis:{minTickInterval:1,allowDecimals:!1,offset:40,labels:{style:{color:"#333333",cursor:"default",fontSize:"11px"}}},rangeSelector:{inputEnabled:!1,buttonSpacing:5,buttonTheme:{width:100,r:3,fill:"#E5E7F2",states:{hover:{fill:"#F2F4FA"},select:{fill:"#1565c0",style:{color:"#FFFFFF"}},disabled:{style:{cursor:"not-allowed"}}}},buttons:[{type:"week",count:1,text:I18n.t("Explorer.Timeline.chart.zoom.week")},{type:"month",count:1,text:I18n.t("Explorer.Timeline.chart.zoom.one_month")},{type:"month",count:3,text:I18n.t("Explorer.Timeline.chart.zoom.three_months")},{type:"month",count:6,text:I18n.t("Explorer.Timeline.chart.zoom.six_months")},{type:"year",count:1,text:I18n.t("Explorer.Timeline.chart.zoom.one_year")},{type:"all",text:I18n.t("Explorer.Timeline.chart.zoom.all_time")}],selected:T?null:5},navigator:{maskFill:"rgba(28, 164, 244, 0.3)",series:{lineColor:"#1CA4F4",fillOpacity:0,dataGrouping:{approximation:"sum"},data:gx(t)}},series:mx(t)}},[]);return Q.useEffect(()=>{f.current&&(f.current.series.forEach(T=>{const y=e.length===0||T.name==="Navigator"||e.indexOf(T.userOptions.id)>-1;T.setVisible(y,!1)}),f.current.redraw())},[e]),s.jsx(Il,{highcharts:Bn,options:x,constructorType:"stockChart",allowChartUpdate:!1,callback:T=>{f.current=T},containerProps:{"data-testid":"chart"}})};zc.propTypes={data:ve.array.isRequired,selectedPostTypes:ve.array.isRequired,latestChartDate:ve.object.isRequired,totalOutputs:ve.number.isRequired,queryDescription:ve.string.isRequired};const Uc=({latestChartDate:t})=>{const e=St(),{data:r,loading:n}=Jt("timeline/summary",e,{reloadOn:["filters"]}),i=n===Ke.NOT_STARTED||n===Ke.IN_PROGRESS,a=n===Ke.ERROR,o=r?.total_outputs??null,f=()=>a?I18n.t("Explorer.Timeline.Summary.error"):o===0?I18n.t("Explorer.Timeline.Summary.no_results"):s.jsxs(s.Fragment,{children:[s.jsx("p",{children:I18n.htmlSafe("Explorer.Timeline.Summary.research_outputs",{count:o,formattedCount:bt.formatNumberWithDelimiter(o)})}),s.jsx("p",{children:I18n.htmlSafe("Explorer.Timeline.Summary.last_refreshed",{lastRefreshed:t.calendar()})})]});return s.jsx(dn,{children:i?I18n.t("Explorer.Timeline.Summary.loading"):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:f()}),s.jsx(hn,{endpoint:"attention",resultsCount:o,help:qn("attention")}),s.jsx(Gi,{endpoint:"timeline",analyticsName:"Timeline"})]})})};Uc.propTypes={latestChartDate:ve.object.isRequired};const w9=({onClick:t,isActive:e,classes:r,children:n})=>s.jsx("li",{className:"entry",children:s.jsxs("button",{onClick:t,className:`content ${r}`,"aria-pressed":e,children:[s.jsx("div",{className:"active-content",children:n}),s.jsx("div",{"aria-hidden":!0,className:"inactive-content",children:n})]})});class yx extends it.Component{static propTypes={entries:ve.array.isRequired,selectedPostTypes:ve.array.isRequired,updateSelectedPostTypes:ve.func.isRequired};render(){const e=ks(this.props.entries,"mention_count"),r=n=>I18n.t(n===1?"Explorer.Timeline.chart.legend.mentions.one":"Explorer.Timeline.chart.legend.mentions.other");return s.jsxs("section",{"aria-labelledby":"TimelineChartLegend-title",children:[s.jsx("h2",{id:"TimelineChartLegend-title",className:"visually-hidden",children:I18n.t("Explorer.Timeline.chart.legend.label")}),s.jsxs("ul",{className:"TimelineChartLegend",children:[s.jsx(w9,{onClick:this.hideAllPostTypes,isActive:this.props.selectedPostTypes.length===0,classes:"show-all",children:s.jsxs("div",{className:"inner",children:[s.jsx("div",{className:"name",children:I18n.t("Explorer.Timeline.chart.all_types")}),s.jsxs("div",{className:"mentions",children:[bt.formatNumberWithDelimiter(e)," ",s.jsx("span",{className:"visually-hidden",children:r(e)})]})]})},"show-all"),this.props.entries.map(n=>{if(n.mention_count!==0)return s.jsx(w9,{onClick:i=>this.didClickEntry(n,i),isActive:this.currentlySelected(n.post_type),classes:n.tab_id,children:s.jsxs("div",{className:"inner",children:[s.jsx("div",{className:"name",children:I18n.t(n.post_type,{scope:"Explorer.Timeline.chart.types"})}),s.jsxs("div",{className:"mentions",children:[bt.formatNumberWithDelimiter(n.mention_count),s.jsx("span",{className:"visually-hidden",children:r(n.mention_count)})]})]})},n.tab_id)})]})]})}currentlySelected(e){return Tr(this.props.selectedPostTypes,e)}didClickEntry=(e,r)=>{r.metaKey||r.ctrlKey?this.appendOrToggleEntry(e):this.currentlySelected(e.post_type)&&this.props.selectedPostTypes.length===1?this.hideAllPostTypes():this.showSinglePostType(e.post_type)};appendOrToggleEntry=e=>{this.currentlySelected(e.post_type)?this.hidePostType(e.post_type):this.showPostType(e.post_type)};hideAllPostTypes=()=>{this.setTypes([])};hidePostType=e=>{this.setTypes(vr(r=>ki(r,n=>e!==n))(this.props.selectedPostTypes))};showPostType=e=>{this.setTypes(vr(r=>Pn(r,e),vi)(this.props.selectedPostTypes))};showSinglePostType=e=>{this.setTypes([e])};setTypes=e=>{Analytics.trackEvent("timeline-set-post-types",{types:e}),this.props.updateSelectedPostTypes(e)}}const xx=()=>{const t=St(),{data:e,loading:r}=Jt("timeline",t,{reloadOn:["filters"]}),[n,i]=Q.useState([]),a=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,o=r===Ke.ERROR,f=e?.chart??[],u=e?.legend??[],m=e?.total_outputs??[],S=e?.query_description??null,w=Mr().endOf("day").subtract(1,"day"),x=()=>o?s.jsx("div",{className:"Explorer-Timeline-error-message",children:I18n.t("Explorer.Timeline.error")}):f.length?s.jsxs("div",{children:[s.jsx(yx,{entries:u,selectedPostTypes:n,updateSelectedPostTypes:i}),s.jsx(zc,{data:f,selectedPostTypes:n,latestChartDate:w,totalOutputs:m,queryDescription:S})]}):s.jsx("div",{className:"Explorer-Timeline-empty-message",children:I18n.t("Explorer.Timeline.empty")});return s.jsxs("div",{className:"Explorer-Timeline",children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.timeline")}),s.jsx("a",{href:I18n.t("Explorer.help.timeline.uri"),target:"_blank",rel:"noreferrer",title:I18n.t("Explorer.help.timeline.content"),className:"help",children:I18n.t("Explorer.help.label_tab")}),s.jsx(Uc,{latestChartDate:w}),s.jsx("div",{className:"Explorer-Timeline-Container",children:a?s.jsx("div",{className:"Explorer-Timeline-loading-message",children:I18n.t("Explorer.Timeline.loading")}):x()})]})};class bi extends it.PureComponent{static TYPES=["tweet","fbwall","msm","policy","guideline"];static propTypes={selectedSource:ve.oneOf(bi.TYPES).isRequired,onChange:ve.func.isRequired};render(){return s.jsx("div",{className:"Explorer-Demographics-Tabs",children:s.jsx("div",{className:"Explorer-Demographics-Tabs-wrapper",role:"tablist","aria-label":I18n.t("Explorer.accessibility.DemographicsTabs"),children:bi.TYPES.map(e=>this.tab(e))})})}tab(e){const r=["tab",e],n=this.props.selectedSource===e;return n&&r.push("active"),s.jsx("div",{className:"Explorer-Demographics-Tab-Wrapper",children:s.jsxs("button",{className:r.join(" "),role:"tab","aria-selected":n,onClick:()=>this.props.onChange(e),children:[s.jsx("span",{className:"title",children:I18n.t(`Explorer.Demographics.types.${e}.title`)}),s.jsx("span",{className:"meta",children:I18n.t(`Explorer.Demographics.types.${e}.meta`)})]})},e)}}let bx=class extends it.PureComponent{static propTypes={selectedSource:ve.oneOf(bi.TYPES).isRequired,data:ve.shape({posts:ve.number.isRequired,profiles:ve.number.isRequired,countries:ve.number.isRequired}).isRequired};render(){return s.jsxs(dn,{variant:"alt",children:[s.jsxs("div",{children:[s.jsxs("span",{className:"part",children:[this.part("posts")," "]}),s.jsxs("span",{className:"part",children:[this.part("profiles")," "]}),s.jsxs("span",{className:"part",children:[this.part("countries")," "]})]}),s.jsx(hn,{endpoint:"demographics",resultsCount:this.props.data.posts,help:qn("demographics")}),s.jsx(Gi,{endpoint:"demographics",analyticsName:"Demographics"})]})}part(e){return I18n.htmlSafe(`Explorer.Demographics.types.${this.props.selectedSource}.counts.${e}`,{count:this.props.data[e],formattedCount:bt.formatNumberWithDelimiter(this.props.data[e])})}};_l(Ri);w8(Ri);Hc(Ri);const vx=zl(` 79 <table> 80 <tr class="header"> 81 <th colspan="3"><%= title %></th> 82 </tr> 83 <tr> 84 <td class="count"><%= Highcharts.numberFormat(point.value, 0) %></td> 85 <td class="percent">
85<%= Highcharts.numberFormat(point.percent_posts, 1) %>%</td> 86 <td class="label"><%= I18n.t("Explorer.Demographics.types." + post_type + ".map_labels.posts", {count: point.value}) %></td> 87 </tr> 88 <tr> 89 <td class="count"><%= Highcharts.numberFormat(point.profiles, 0) %></td> 90 <td class="percent"><%= Highcharts.numberFormat(point.percent_profiles, 1) %>%</td> 91 <td class="label"><%= I18n.t("Explorer.Demographics.types." + post_type + ".map_labels.profiles", {count: point.profiles}) %></td> 92 </tr> 93 </table> 94`,{imports:{Highcharts:Ri}});let Sx=class Gc extends it.Component{static propTypes={data:ve.array.isRequired,totals:ve.object.isRequired,selectedSource:ve.oneOf(bi.TYPES).isRequired,onViewMentions:ve.func.isRequired,queryDescription:ve.string.isRequired};static COLORS={tweet:{minColor:"#F2F4FA",maxColor:"#0086D6",hover:"#FF0081"},msm:{minColor:"#F6CCCC",maxColor:"#D60000",hover:"#FBFB00"},policy:{minColor:"#EBF5F7",maxColor:"#9D00FF",hover:"#FF9025"},fbwall:{minColor:"#D3E9F3",maxColor:"#071D70",hover:"#F53955"},guideline:{minColor:"#A1E3E4",maxColor:"#108D8F",hover:"#FFDB58"}};render(){return s.jsx("div",{className:"Explorer-Demographics-Map",children:s.jsx(Il,{allowChartUpdate:!1,highcharts:Ri,options:this.config,constructorType:"mapChart"})})}get config(){const e=this.props.selectedSource;return{credits:{text:C8(),mapText:""},chart:{height:"600px",backgroundColor:"white",margin:[0,0,0,0]},colorAxis:{type:"logarithmic",minColor:this.colorMap.minColor,maxColor:this.colorMap.maxColor},exporting:{enabled:!0,buttons:{contextButton:{menuItems:["downloadPNG"]}},filename:this.filename,chartOptions:{chart:{spacing:[50,50,50,50]},legend:{enabled:!0},navigator:{enabled:!1},title:{text:this.title},subtitle:{text:zo(this.props.queryDescription,!0)},caption:{text:this.summaryDescription,style:{fontSize:12}}}},title:!1,mapNavigation:{enabled:!0,enableMouseWheelZoom:!1},tooltip:{shadow:!1,backgroundColor:"white",style:{lineHeight:"17px",padding:"13px"},borderWidth:1,borderRadius:3,borderColor:"rgba(235, 235, 245, 1)",useHTML:!0,formatter:function(){return vx({title:this.key,point:this.point,post_type:e})}},series:[{data:this.data,mapData:E8,joinBy:["iso-a2","mapCode"],name:"Tweets",states:{hover:{color:this.colorMap.hover,borderWidth:1}}}],plotOptions:{series:{cursor:"pointer",events:{click:this.openMentions}}}}}get colorMap(){return Gc.COLORS[this.props.selectedSource]}get data(){return this.props.data.map(e=>({code:e.code,mapCode:Ic(e.code),name:e.name,value:e.posts,profiles:e.profiles,percent_posts:e.percent_posts,percent_profiles:e.percent_profiles}))}get summaryDescription(){return`${this.summaryPart("posts")} ${this.summaryPart("profiles")} ${this.summaryPart("countries")}`}summaryPart(e){return I18n.t(`Explorer.Demographics.types.${this.props.selectedSource}.counts.${e}`,{count:this.props.totals[e],formattedCount:bt.formatNumberWithDelimiter(this.props.totals[e])})}get title(){return`${I18n.t(`Explorer.Demographics.types.${this.props.selectedSource}.title`)} Demographics from Altmetric Explorer`}get filename(){return`${this.title} - ${zo(this.props.queryDescription,!1)}`}openMentions=e=>{this.props.onViewMentions(e.point.code,this.props.selectedSource)}};const po=12;class wx extends it.PureComponent{static propTypes={data:ve.array.isRequired,selectedSource:ve.oneOf(bi.TYPES).isRequired,locationBuilder:ve.func.isRequired};state={collapsed:!0};constructor(e){super(e)}render(){return s.jsxs("div",{className:"Explorer-Demographics-Table",children:[s.jsxs("table",{children:[s.jsx("caption",{className:"visually-hidden",children:I18n.t("Explorer.Demographics.table_caption")}),s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:I18n.t("country",{scope:this.i18npath})}),s.jsx("th",{children:I18n.t("posts",{scope:this.i18npath})}),s.jsx("th",{children:I18n.t("profiles",{scope:this.i18npath})})]})}),s.jsx("tbody",{children:this.rows})]}),this.state.collapsed?this.expander:this.collapser]})}componentDidUpdate(e,r){r.collapsed&&!this.state.collapsed&&this.focussedElement?.focus()}get i18npath(){return`Explorer.Demographics.types.${this.props.selectedSource}.table`}get rows(){return this.data.map((e,r)=>s.jsxs("tr",{className:e.code==""?"unknown":null,children:[s.jsx("td",{children:this.countryNameOrUnknown(e,r)}),s.jsxs("td",{children:[s.jsx("span",{className:"total",children:bt.formatNumberWithDelimiter(e.posts)}),s.jsxs("span",{className:"percent",children:["(",e.percent_posts,"%)"]})]}),s.jsxs("td",{children:[s.jsx("span",{className:"total",children:bt.formatNumberWithDelimiter(e.profiles)}),s.jsxs("span",{className:"percent",children:["(",e.percent_profiles,"%)"]})]})]},e.code))}get data(){const e=On(this.props.data,r=>-r.posts);return this.state.collapsed?e.slice(0,po):e}
94get expander(){if(this.hasTooManyRows)return s.jsx("button",{type:"button",className:"expander",onClick:this.expand,children:I18n.htmlSafe("more",{scope:this.i18npath,count:this.props.data.length-po})})}get collapser(){return s.jsx("button",{type:"button",className:"collapser",onClick:this.collapse,children:I18n.htmlSafe("less",{scope:this.i18npath})})}get hasTooManyRows(){return this.props.data.length>po}countryNameOrUnknown(e,r){return e.code?s.jsx(Bt,{innerRef:r===po?n=>this.focussedElement=n:null,onClick:()=>this.trackCountryClick(e.code),to:this.props.locationBuilder(e.code,this.props.selectedSource),children:e.name}):I18n.t("Explorer.Demographics.unknown_country")}trackCountryClick=e=>{Analytics.trackEvent("demographics-click-table",{country:e,source:this.props.selectedSource})};expand=()=>{Analytics.trackEvent("demographics-expand-table",{seletedSource:this.props.selectedSource}),this.setState({collapsed:!1})};collapse=()=>{Analytics.trackEvent("demographics-collapse-table",{selectedSource:this.props.selectedSource}),this.setState({collapsed:!0})}}const Ex=()=>{const t=St(),e=Gr(),{data:r,loading:n}=Jt("demographics",t,{reloadOn:["filters"]}),i=t.filters.filter||bi.TYPES[0],a=n===Ke.NOT_STARTED||n===Ke.IN_PROGRESS,o=n===Ke.ERROR,f=x=>{const T=No(t.filters);x===bi.TYPES[0]?delete T.filter:T.filter=x,Analytics.trackEvent("demographics-set-source",{filter:x}),e(nr(t,T),{replace:!0})},u=(x,T)=>{const y=No(t.filters);return y["countries[]"]=x,y["mention_sources[]"]=`type:${T}`,nr(t,y)},m=(x,T)=>mr(u(x,T),"/mentions"),S=(x,T)=>{Analytics.trackEvent("demographics-click-map",{country:x,source:T}),e(u(x,T),{pathname:"/mentions",replace:!0})},w=()=>o?s.jsx("div",{className:"Explorer-Demographics-empty-message",children:I18n.t("Explorer.loading_error")}):r?.countries?.length?s.jsxs("div",{className:"Explorer-Demographics-content",children:[s.jsx("a",{href:I18n.t("Explorer.help.demographics.uri"),target:"_blank",rel:"noreferrer",title:I18n.t("Explorer.help.demographics.content"),className:"help",children:I18n.t("Explorer.help.label_tab")}),s.jsx(bx,{data:r.total,selectedSource:i}),s.jsxs("div",{className:"Explorer-Demographics-content-data",children:[s.jsx(Sx,{data:r.countries,totals:r.total,selectedSource:i,onViewMentions:S,queryDescription:r.query_description}),s.jsx(wx,{data:r.countries,selectedSource:i,locationBuilder:m})]})]}):s.jsx("div",{className:"Explorer-Demographics-empty-message",children:I18n.t("Explorer.Demographics.empty")});return s.jsxs("div",{className:"Explorer-Demographics",children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.demographics")}),s.jsx(bi,{selectedSource:i,onChange:f}),s.jsx("div",{className:"Explorer-Demographics-Container",children:a?s.jsx("div",{className:"Explorer-Demographics-loading-message",children:I18n.t("Explorer.Demographics.loading")}):w()})]})},ca=()=>s.jsx("div",{className:"Explorer-Loader"});class $c extends it.Component{constructor(){super(),this.state={imageError:!1}}render(){return s.jsx("div",{className:`thumbnail ${this.state.imageError?"missing-image":"present-image"}`,children:s.jsx("img",{src:this.props.src,alt:this.props.alt,onError:this.imageDidError})})}imageDidError=e=>{this.setState({imageError:!0})}}const Cx=Object.freeze(Object.defineProperty({__proto__:null,default:$c},Symbol.toStringTag,{value:"Module"})),kx=({sentimentScore:t})=>{const e=t!==null?Tg(t):"Sentiment Analysis pending",r=V4(e);return s.jsxs("div",{className:"Mentions-Output-Sentiment-Swatch",children:[s.jsx("div",{className:`sentiment-icon ${r}`,"data-testid":"sentiment-icon","aria-hidden":"true"}),s.jsx("p",{children:e})]})},Ax=()=>{const t=document.querySelector('meta[name="csrf-token"]');return t&&t.getAttribute("content")},jx=t=>new Promise((e,r)=>{fetch("/explorer/sentiment_feedbacks",{method:"post",headers:{"X-CSRF-Token":Ax(),"Content-Type":"application/json"},body:JSON.stringify(t)}).then(n=>{n.ok?e(n.body):r(n.body||n.statusText)}).catch(n=>{r(n)})}),Tx=()=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256","aria-hidden":"true",focusable:"false",children:[s.jsx("rect",{width:"256",height:"256",fill:"none"}),s.jsx("path",{d:"M32,104H80a0,0,0,0,1,0,0V208a0,0,0,0,1,0,0H32a8,8,0,0,1-8-8V112A8,8,0,0,1,32,104Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),s.jsx("path",{d:"M80,104l40-80a32,32,0,0,1,32,32V80h64a16,16,0,0,1,15.87,18l-12,96A16,16,0,0,1,204,208H80",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"})]}),Mx=()=>s.jsxs("svg",{style:{transform:"scaleX(-1)"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256","aria-hidden":"true",focusable:"false",children:[s.jsx("rect",{width:"256",height:"256",fill:"none"}),s.jsx("path",{d:"M32,48H80a0,0,0,0,1,0,0V152a0,0,0,0,1,0,0H32a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),s.jsx("path",{d:"M80,152l40,80a32,32,0,0,0,32-32V176h64a16,16,0,0,0,15.87-18l-12-96A16,16,0,0,0,204,48H80",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"})]}),Rx=({submitFeedback:t})=>s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"question",children:"Is this analysis correct?"}),s.jsxs("div",{className:"feedback-button-wrapper",children:[s.jsx("button",{className:"feedback-button thumbs-up",onClick:()=>t({feedbackRating:"correct"}),"data-testid":"sentiment-feedback-thumbs-up","aria-label":"Yes, this analysis is correct",children:s.jsx(Tx,{})}),s.jsx("button",{className:"feedback-button thumbs-down",onClick:()=>t({feedbackRating:"incorrect"}),"data-testid":"sentiment-feedback-thumbs-down","aria-label":"No, this analysis is incorrect",children:s.jsx(Mx,{})})]})]}),Px=()=>
94s.jsx("p",{className:"message",children:"Thank you for your feedback."}),Nx=({onClick:t})=>s.jsx("button",{className:"question clickable",onClick:t,children:"Tell us why you chose this rating"}),fo={InitialState:Rx,AskWhy:Nx,ThankYou:Px},_x=({onSubmit:t,onCancel:e})=>{const[r,n]=Q.useState(""),[i,a]=Q.useState(!1),[o,f]=Q.useState(!0),u=Q.useRef(),m=Q.useRef();Q.useEffect(()=>{o?(u.current?.showModal(),m.current?.focus()):u.current?.close()},[o]);const S=x=>{const T=x.target.value;n(T),a(T.trim()!=="")},w=x=>T=>{T.preventDefault(),x(r),f(!1)};return s.jsxs("dialog",{className:"sentiment-feedback-modal",ref:u,onCancel:w(e),children:[s.jsx("div",{className:"top-bar",children:s.jsx("h1",{className:"title",children:"Share your feedback"})}),s.jsxs("div",{className:"body",children:[s.jsxs("div",{className:"sentiment-banner",children:[s.jsx("div",{className:"ai-sparkles",alt:"AI generated content icon"}),s.jsxs("p",{children:["This feature uses AI to assign sentiment scoring to posts that mention research. Although the quality of AI outputs is often high, they may contain incorrect information. The validity of the output should be verified by reviewing the referenced documents.",s.jsx("br",{}),s.jsx("a",{className:"learn-more-link",href:"https://help.altmetric.com/en/articles/10026177",target:"_blank",rel:"noreferrer",children:"Learn more about Sentiment Analysis"})]})]}),s.jsxs("form",{className:"reason-form",id:"reason-form",method:"dialog",onSubmit:w(t),children:[s.jsx("label",{htmlFor:"feedback-reason",children:"Feedback Reason"}),s.jsx("textarea",{ref:m,name:"feedback-reason",type:"text",value:r,onChange:S,placeholder:"Tell us why you chose this rating (your feedback is anonymous)"})]})]}),s.jsxs("div",{className:"bottom-bar",children:[s.jsx("a",{className:"FeedbackReasonModal-terms",href:"https://www.altmetric.com/terms-of-use/",target:"_blank",rel:"noreferrer",children:"Terms of use"}),s.jsx("button",{className:"cancel",onClick:w(e),children:"Cancel"}),s.jsx("button",{form:"reason-form",className:"submit",type:"submit",disabled:!i,children:"Send Feedback"})]})]})},Ix=({postType:t,researchOutputId:e,postId:r,postUrl:n,sentimentScore:i})=>{const a=({feedbackRating:y=null,feedbackReason:E=null})=>{E!==null?Analytics.trackEvent("Sentiment Feedback: Feedback-Reason submitted",{}):y!==null&&Analytics.trackEvent("Sentiment Feedback: Feedback-Rating submitted",{feedbackRating:y}),jx({sentiment_feedback:{source:"explorer",post_type:t,research_output_id:e,post_id:r,post_url:n,sentiment_score:i,feedback_rating:y,feedback_reason:E}}).then(w).catch(S)},o=["initial","promptForReason","showReasonForm","feedbackSubmitted"],[f,u]=Q.useState(0),[m,S]=Q.useState(null),w=()=>u(f+1),x=()=>u(f-1),T=()=>{switch(o[f]){case"initial":return s.jsx(fo.InitialState,{submitFeedback:a});case"promptForReason":return s.jsxs(s.Fragment,{children:[s.jsx(fo.ThankYou,{}),s.jsx(fo.AskWhy,{onClick:w})]});case"showReasonForm":return s.jsx(_x,{onSubmit:y=>a({feedbackReason:y}),onCancel:x});case"feedbackSubmitted":return s.jsx(fo.ThankYou,{});default:throw new Error(`Unexpected workflow step: ${f} (resolved to ${o[f]})`)}};return s.jsx("div",{className:"Mentions-Output-Sentiment-FeedbackForm",children:s.jsx("div",{className:"sentiment-feedback-workflow-container",children:m?s.jsx("p",{children:"Error sending feedback, please try again later."}):s.jsx(T,{})})})},Ox=({output:t,post:e})=>s.jsxs("div",{className:"Mentions-Output-Sentiment-Container",children:[s.jsx(kx,{sentimentScore:t.sentimentScore}),t.sentimentScore!==null&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"vertical-bar",children:"|"}),s.jsx(Ix,{postType:e.postType,researchOutputId:t.id,postId:e.id,postUrl:e.url,sentimentScore:t.sentimentScore})]})]}),Wc=({post:t,output:e})=>{const r=Br(),n=St(),i={pathname:r.pathname,search:cn(Un(n,e.id))},a=h8()&&(t.postType==="bluesky"||t.postType==="tweet");return s.jsxs("div",{className:"Mentions-Output",children:[s.jsx(Bt,{to:i,children:s.jsxs("div",{className:"badge",children:[s.jsx("img",{src:e.badgeUrl,loading:"lazy",width:"50",height:"50",alt:I18n.t("Explorer.Mentions.badge.alt",{score:e.score})}),e.verified&&s.jsx("div",{className:"verified-badge","data-testid":"verified-badge",children:s.jsx("div",{className:"icon",role:"img","aria-label":I18n.t("Explorer.Outputs.ResearchOutputItem.verified",{name:window.current_user.institution_name}),title:I18n.t("Explorer.Outputs.ResearchOutputItem.verified",{name:window.current_user.institution_name})})})]})}),s.jsxs("div",{children:[s.jsxs(Bt,{to:i,className:"title",children:[s.jsx("span",{className:"main",children:e.title}),s.jsx("span",{className:"source",children:e.meta})]}),a&&s.jsx(Ox,{output:e,post:t})]})]})};Wc.propTypes={post:ve.object.isRequired,output:ve.instanceOf(Yr).isRequired};const Lx=2;class E9 extends it.Component{static defaultProps={visibleOutputsCount:Lx};static propTypes={outputs:ve.array.isRequired,post:ve.object.isRequired,text:ve.string.isRequired,showFewerText:ve.string,showMoreText:ve.string,visibleOutputsCount:ve.number};constructor(e){super(e),this.state={visible:!1},this.outputsCount=this.props.outputs.length}
94render(){if(!this.outputsCount)return null;const e=this.state.visible?this.props.outputs:this.props.outputs.slice(0,this.props.visibleOutputsCount);return s.jsxs("div",{className:"Outputs",children:[s.jsxs("p",{className:"toggle",children:[s.jsx("strong",{children:this.props.text}),this.outputsCount>this.props.visibleOutputsCount&&s.jsxs("span",{children:["Â ",s.jsx("button",{onClick:this.toggleOutputsVisibility,className:"button-unstyled truncated-toggle","aria-expanded":this.state.visible,children:this.state.visible?this.showFewerText:this.showMoreText})]}),s.jsx("strong",{children:":"})]}),e.map(r=>s.jsx(Wc,{output:r,post:this.props.post,onBadgeClick:this.onBadgeClick},`output-${r.id}`))]})}get showFewerText(){return this.props.showFewerText||I18n.t("Explorer.Mentions.Mention.show_fewer")}get showMoreText(){return this.props.showMoreText||I18n.t("Explorer.Mentions.Mention.cites_more",{count:Math.max(this.outputsCount-this.props.visibleOutputsCount,0)})}toggleOutputsVisibility=()=>{this.setState({visible:!this.state.visible})}}class qc extends it.Component{outputs=[];static propTypes={history:ve.object,post:ve.object.isRequired,first:ve.bool};constructor(e){super(e),this.matchingOutputs=e.post.matchingOutputs.map(r=>new Yr(r)),this.otherOutputs=e.post.otherOutputs.map(r=>new Yr(r)),this.date=Mr(e.post.postedAt).utc()}render(){const e=this.date.format("YYYY-MM-DDTHH:mm:ssZ"),r=this.date.format("h:mm A UTC"),n=this.props.post.thumbnail?"":"missing-image";return s.jsxs("div",{className:`Mentions-Post ${this.props.post.postType}`,children:[s.jsx("div",{className:"post-type-icon",children:s.jsx(b8,{profileType:this.props.post.postType})}),s.jsxs("div",{className:"timestamp",children:[this.props.first&&s.jsx("div",{className:"date",children:this.date.format("YYYY-MM-DD")}),s.jsx("time",{dateTime:e,children:r})]}),s.jsx("div",{className:"content",children:s.jsxs("div",{className:"content-padding",children:[s.jsx("div",{className:"post-content",children:s.jsxs(Fc,{condition:this.hasURL,url:this.props.post.url,children:[s.jsxs("div",{className:`thumbnail-container ${n}`,children:[this.props.post.thumbnail&&s.jsx($c,{src:this.props.post.thumbnail,alt:""}),this.isRetweet()&&s.jsx("div",{className:"retweet-badge","aria-hidden":"true",children:s.jsx("div",{className:"icon"})})]}),s.jsxs("div",{className:"inner-content",children:[this.props.post.title&&this.props.post.title.length&&s.jsx("div",{className:"title",children:this.props.post.title}),s.jsx("div",{className:"source",children:this.sourceDescription}),s.jsx("div",{className:"abstract",children:ln(Lc(this.props.post.body),{length:256,separator:/\W/})})]})]})}),this.matchingOutputs.length>0&&s.jsx("div",{className:"output-content",children:s.jsx(E9,{outputs:this.matchingOutputs,post:this.props.post,text:"Cites the following from your search query"})}),this.otherOutputs.length>0&&s.jsx("div",{className:"output-content",children:s.jsx(E9,{outputs:this.otherOutputs,post:this.props.post,text:`Also cites ${this.otherOutputs.length} other output${this.otherOutputs.length>1?"s":""}`,showFewerText:"[hide]",showMoreText:"[show]",visibleOutputsCount:0})})]})})]})}get sourceDescription(){return this.sourceDescriptionWithNameAndScreeName||this.sourceDescriptionWithName||this.basicDescription}get sourceDescriptionWithNameAndScreeName(){if(Tr(["tweet","rdt","bluesky"],this.props.post.postType)){if(this.hasProfileNameAndScreenName()){const r=this.isRetweet()?"retweet":this.props.post.postType;return I18n.htmlSafe(r,{scope:"Explorer.Mentions.type_descriptions",screen_name:this.props.post.profileScreenName,name:this.props.post.profileName})}if(this.hasProfileScreenName()){const r=this.isRetweet()?"retweet":this.props.post.postType;return I18n.htmlSafe(r,{scope:"Explorer.Mentions.type_descriptions_screen_name_only",screen_name:this.props.post.profileScreenName})}}}get sourceDescriptionWithName(){if(Tr(["msm","blog","policy","weibo","fbwall","gplus","guideline","podcast","seminar"],this.props.post.postType)&&this.hasProfileName())return I18n.htmlSafe(this.props.post.postType,{scope:"Explorer.Mentions.type_descriptions",name:this.props.post.profileName})}get basicDescription(){if(Tr(["peer_review","wikipedia","linkedin","pinterest","qna","video","patent"],this.props.post.postType))return I18n.htmlSafe(this.props.post.postType,{scope:"Explorer.Mentions.type_descriptions"})}get hasURL(){return this.props.post.url&&this.props.post.url.length>0}hasProfileNameAndScreenName(){return this.hasProfileName()&&this.hasProfileScreenName()}hasProfileName(){return this.props.post.profileName&&this.props.post.profileName.length}hasProfileScreenName(){return this.props.post.profileScreenName&&this.props.post.profileScreenName.length}isRetweet(){return this.props.post.postType=="tweet"&&!this.props.post.originalPost}}const Fx=()=>{const t=St(),{data:e,loading:r}=Jt("mentions/summary",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=r===Ke.ERROR,a=e?.posts??null,o=e?.mentions??null,f=()=>{if(i)return I18n.t("Explorer.Mentions.Summary.error");const u=I18n.t("Explorer.Mentions.Summary.individual_posts",{count:a,formattedCount:bt.formatNumberWithDelimiter(a)});return I18n.htmlSafe("Explorer.Mentions.Summary.result_description",{count:o,formattedCount:bt.formatNumberWithDelimiter(o),postsSentence:u})};return s.jsx(dn,{hasWarning:o===0,children:n?I18n.t("Explorer.Mentions.Summary.loading"):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:f()}),s.jsx(hn,{endpoint:"mentions",resultsCount:o||0,help:qn("mentions")}),s.jsx(Gi,{endpoint:"mentions",analyticsName:"Mentions"})]})})};class k8{id=null;name=null;type=null;placeholder=null}class Lt{filters=null;constructor(e){this.filters={...e}}get populatedFilters(){return J4(this.filters,e=>e)}set(e,r){const i=e.slice(-2)==="[]"?[e,e.slice(0,-2)]:[e];
94typeof r=="string"&&r.trim()===""?i.forEach(a=>this.clear(a)):(i.forEach(a=>this.clear(a)),this.filters[e]=r)}get(e){return e.slice(-2)==="[]"?vr(bs,Li)([this.filters[e.slice(0,-2)],this.filters[e]]):this.filters[e]}clear(e){delete this.filters[e]}reset(){this.filters={}}}let Dx=class{constructor(e){this.id=e.id,this.first_name=e.first_name,this.last_name=e.last_name,this.departments=e.departments,this.description=`${this.first_name} ${this.last_name}`}get formattedDepartments(){const e=this.departments.length,r=this.departments.slice(0,2),n=r.join(", ");return r.length<e?I18n.t("Explorer.AdvancedSearch.fields.authors.more_departments",{departments:n,count:e-r.length}):n}};class Bx{constructor(e){this.id=e.id,this.name=e.id,this.description=e.id}}class Hx{constructor(e){this.id=e.id,this.name=e.name,this.description=`${e.id} ${e.name}`}}class zx{constructor(e){this.id=e.code,this.name=e.name,this.description=e.name}}let Ux=class{constructor(e){this.id=e.id,this.type=e.type,this.postType=e.post_type,this.imageURL=e.image_url,this.profileType=e.profile_type,this.name=e.name,this.mentionSourceType=e.mention_source_type}get description(){switch(this.type){case"mention_source":return this.name;case"post_type":return this.postTypeDescription;case"mention_source_type":return this.mentionSourceTypeDescription}}get title(){switch(this.type){case"mention_source":return I18n.t(this.profileType,{scope:"mentions.filter.mention_source_types"});case"post_type":return this.postTypeDescription;case"mention_source_type":return this.mentionSourceTypeDescription}}get postTypeDescription(){return I18n.t(this.postType,{scope:"Explorer.Mentions.FilterPanel.autocomplete_mention_source_post_types",defaultValue:`Unsupported mention type '${this.postType}'`})}get mentionSourceTypeDescription(){return I18n.t(this.mentionSourceType,{scope:"Explorer.MentionSources.FilterPanel.autocomplete_source_types",defaultValue:`Unsupported mention source type '${this.mentionSourceType}'`})}};class Gx{constructor(e){this.id=e.id,this.description=e.id}}let $x=class{constructor(e){this.id=e.id,this.title=e.title,this.description=e.title,this.issns=e.issns}},Wx=class{constructor(e){this.id=e.id,this.name=e.name,this.description=e.name,this.projectName=e.project_name}};class qx{constructor(e){this.id=e.id,this.name=e.name,this.description=`${e.id} ${e.name}`}}let Vx=class{constructor(e){this.id=e.id,this.name=e.name,this.description=e.name}};const oi={DoiPrefix:Bx,Author:Dx,Country:zx,MentionSource:Ux,HandlePrefix:Gx,Journal:$x,FieldOfResearchCode:Hx,Grant:Wx,SustainableDevelopmentGoal:qx,GenericResult:Vx};class Yx extends it.Component{static propTypes={results:ve.array,didScroll:ve.func,currentlySelected:ve.object,onSelectResult:ve.func,type:ve.string};componentDidUpdate(e){e.currentlySelected!==this.props.currentlySelected&&this.updateScrollPosition()}render(){return s.jsx("div",{className:"AutocompleteFieldResults","data-testid":"results",children:s.jsx("div",{className:"AutocompleteFieldResults-content",ref:e=>this.contentWrapper=e,onScroll:this.props.didScroll,children:this.props.results.map(this.renderResult)})})}renderResult=e=>s.jsx("button",{type:"button",ref:r=>this.createRefForSelected(r,e),className:this.resultClassName(e),role:"option","aria-selected":this.props.currentlySelected===e,tabIndex:0,onClick:()=>this.props.onSelectResult(e),onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),this.props.onSelectResult(e))},children:this.renderContent(e)},e.id);createRefForSelected(e,r){this.props.currentlySelected===r&&(this.selectedRow=e)}renderContent(e){switch(this.props.type){case"authors":return s.jsx(Xx,{result:e});case"mention_sources":case"mention_sources_types":return s.jsx(Zx,{result:e});case"journals":return s.jsx(Kx,{result:e});case"grants":return s.jsx(Jx,{result:e});case"publishers":case"doi_prefixes":case"departments":case"countries":case"handle_prefixes":case"affiliations":case"field_of_research_codes":case"funders":case"sustainable_development_goals":case"researchers":return s.jsx(Vc,{result:e})}}resultClassName(e){return`AutocompleteFieldResults-row ${this.props.currentlySelected===e?"selected":""}`}updateScrollPosition(){if(!this.selectedRow)return;const e=this.selectedRow.offsetTop,r=this.selectedRow.offsetHeight,n=this.contentWrapper.scrollTop,i=this.contentWrapper.offsetHeight;if(e+r-n>i){const a=e+r-i;this.contentWrapper.scrollTop=a}else e-n<0&&(this.contentWrapper.scrollTop=e)}}const Xx=({result:t})=>s.jsxs("div",{className:"AutocompleteFieldResults-row-content",children:[s.jsxs("span",{className:"title",children:[" ",t.description]}),s.jsx("span",{className:"meta",children:t.formattedDepartments})]}),Kx=({result:t})=>s.jsxs("div",{className:"AutocompleteFieldResults-row-content",children:[s.jsx("span",{className:"title",children:t.title}),t.issns.length>0&&s.jsx("span",{className:"meta",children:I18n.t("Explorer.AdvancedSearch.fields.journal.issn_list",{issns:t.issns.join(", ")})})]}),Zx=({result:t})=>{const[e,r]=Q.useState(!1);return t.type==="mention_source"?s.jsxs("div",{className:"AutocompleteFieldResults-row-content",children:[s.jsx("div",{className:`image ${e?"missing-image":"present-image"}`,children:s.jsx("img",{src:t.imageURL,onError:()=>r(!0),alt:""})}),s.jsxs("div",{className:"content",children:[s.jsx("span",{className:"meta",children:t.title}),s.jsx("span",{className:"name",children:t.description})]})]}):s.jsxs("div",{className:"AutocompleteFieldResults-row-content",children:[s.jsx("div",{className:`image source-icon ${t.postType}`}),s.jsxs("div",{className:"content",children:[s.jsx("span",{className:"name",children:t.title}),s.jsx("span",{className:"meta",children:t.description})]})]})},Jx=({result:t})=>s.jsxs("div",{className:"AutocompleteFieldResults-row-content",children:[s.jsx("span",{className:"name",children:t.name}),s.jsx("span",{className:"meta",children:t.projectName})]}),Vc=({result:t})=>s.jsx("div",{className:"AutocompleteFieldResults-row-content",children:s.jsx("span",{className:"title",children:t.description})});Vc.propTypes={children:ve.node,result:ve.object};class Is extends it.Component{static propTypes={initiallySelected:ve.array,id:ve.string,type:ve.string,name:ve.string,searchHandler:ve.func,onSearch:ve.func,onSelectResult:ve.func,onChangeItems:ve.func,placeholder:ve.string,initialValue:ve.string,delayShortQuery:ve.bool,analyticsEventPrefix:ve.string,analyticsFieldName:ve.string};static defaultProps={delayShortQuery:!1};constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.handleBlur=this.handleBlur.bind(this),this.makeFocused=this.makeFocused.bind(this),this.state={displayValue:"",selected:hr(this.props.initiallySelected,this.modelizeResult),loading:!1,showingResults:!1,results:[],selectedResultIndex:null,focused:!1},this.props.initialValue&&(this.state.showingResults=!0,this.state.displayValue=this.props.initialValue,this.doSearch(this.props.initialValue)),this.fieldSelected=!1}handleChange(e){this.setState({displayValue:e.target.value})}get trackingEnabled(){return!!(this.props.analyticsEventPrefix&&this.props.analyticsFieldName)}trackEvent(e,r=null){this.trackingEnabled&&Analytics.trackEvent(`${this.props.analyticsEventPrefix} ${e}`,{field_name:this.props.analyticsFieldName,...r&&{value:r}})}
94render(){return s.jsxs("div",{role:"searchbox",tabIndex:-1,className:`AutocompleteField ${this.focusedClass}`,"data-testid":"autocomplete-field",onClick:this.makeFocused,onKeyDown:this.makeFocused,children:[s.jsx(aa,{loading:this.state.loading}),s.jsxs("div",{className:"AutocompleteField-item-list",children:[this.renderPlaceholder,this.renderSelectedItems,s.jsx("input",{id:this.props.id,type:"text",className:"AutocompleteField-text-input",ref:this.storeInputField,onInput:this.didUpdateQuery,onBlur:this.handleBlur,onChange:this.handleChange,onFocus:this.makeFocused,onKeyDown:this.handleNavigationKeys,value:this.state.displayValue,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off","aria-label":this.props.placeholder})]}),s.jsx("button",{type:"button",className:`AutocompleteField-reset-button ${this.state.selected.length===0?"hidden":null}`,onClick:this.clearAll,children:I18n.t("clearable.clear")}),this.renderResults]})}get renderSelectedItems(){return this.state.selected.map(e=>s.jsxs("span",{className:"AutocompleteField-item-list-item",children:[s.jsx("button",{type:"button",className:"AutocompleteField-item-list-item-remove-button",onClick:()=>this.didRemoveItem(e),children:I18n.t("removable.remove")}),s.jsx("span",{className:"AutocompleteField-item-list-item-title",children:e.description})]},e.id))}get renderResults(){if(this.state.showingResults)return this.state.results.length===0?s.jsx(Qx,{queryText:this.state.displayValue}):s.jsx(Yx,{results:this.state.results,type:this.props.type,onSelectResult:this.selectResult,currentlySelected:this.state.results[this.state.selectedResultIndex],ref:e=>this.resultComponent=e})}get renderPlaceholder(){if(!this.state.focused&&!(this.state.displayValue!==""||this.state.selected.length!==0))return s.jsx("div",{className:"AutocompleteField-placeholder",children:this.props.placeholder})}get focusedClass(){return this.state.focused?"focused":"blurred"}searchHandler(e,r){if(this.props.searchHandler)return this.props.searchHandler(e,r);{let n=`/explorer/autocomplete/${e}?q=${r}`;return new d8(n,{headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/json",Accept:"application/json"}})}}handleNavigationKeys=e=>{switch(e.key){case"Escape":e.preventDefault(),this.clearSearch();break;case"Enter":this.state.showingResults&&e.preventDefault(),this.state.selectedResultIndex!=null&&this.state.results[this.state.selectedResultIndex]&&(e.stopPropagation(),this.selectResult(this.state.results[this.state.selectedResultIndex]));break;case"ArrowUp":e.preventDefault(),this.moveSelectionUp();break;case"ArrowDown":e.preventDefault(),this.moveSelectionDown();break;case"Backspace":this.state.displayValue===""&&this.removeLastSelection();break}};moveSelectionUp(){let e=this.state.results.length-1;this.state.selectedResultIndex!==0&&(e=this.state.selectedResultIndex-1),this.setState({selectedResultIndex:e})}moveSelectionDown(){let e=0;this.state.selectedResultIndex!==this.state.results.length-1&&(e=this.state.selectedResultIndex+1),this.setState({selectedResultIndex:e})}didUpdateQuery=e=>{const r=e.target.value;if(r.trim()===""){this.clearSearch();return}this.setState({displayValue:r,showingResults:this.state.results.length!==0},()=>{this.adjustFieldSize(r),this.inFlightRequest&&this.inFlightRequest.abort(),this.doSearch(r),this.setState({loading:!0})})};clearAll=()=>{this.state.selected.length!==0&&(this.setState({selected:[]},this.selectionDidChange),this.trackEvent("Cleared"))};clearSearch=()=>{this.inFlightRequest&&this.inFlightRequest.abort(),this.setState({displayValue:"",loading:!1,showingResults:!1,results:[],selectedResultIndex:null}),this.adjustFieldSize("")};search=e=>{typeof this.props.onSearch=="function"&&this.props.onSearch(e),this.state.displayValue.trim()===e&&(this.inFlightRequest=this.searchHandler(this.props.type,e),this.inFlightRequest.then((r,n)=>{r?this.setState({loading:!1}):this.setState({results:hr(n.body,this.modelizeResult),selectedResultIndex:0,showingResults:!0,loading:!1})}))};searchDelay=e=>this.props.delayShortQuery&&e.length<3?500:200;doSearch=e=>{const r=this.searchDelay(e);Fl(this.search,r)(e)};modelizeResult=e=>{switch(this.props.type){case"doi_prefixes":return new oi.DoiPrefix(e);case"authors":return new oi.Author(e);case"countries":return new oi.Country(e);case"mention_sources":case"mention_sources_types":return new oi.MentionSource(e);case"handle_prefixes":return new oi.HandlePrefix(e);case"journals":return new oi.Journal(e);case"field_of_research_codes":return new oi.FieldOfResearchCode(e);case"grants":return new oi.Grant(e);case"sustainable_development_goals":return new oi.SustainableDevelopmentGoal(e);case"affiliations":case"funders":case"departments":case"publishers":case"researchers":return new oi.GenericResult(e);default:throw new Error(`Unrecognised autocomplete result type: ${this.props.type}`)}};selectResult=e=>{this.clearSearch(),typeof this.props.onSelectResult=="function"&&this.props.onSelectResult(e),Bl(this.state.selected,n=>n.id===e.id)||(this.setState({selected:Pn(this.state.selected,e)},this.selectionDidChange),this.trackEvent("Item Selected",e.description))};overrideSelectedResults=e=>{this.setState({selected:e},this.selectionDidChange)};storeInputField=e=>{this.field=e};makeFocused=()=>{!this.field||this.state.focused||(this.setState({focused:!0}),this.field.focus(),this.fieldSelected||(this.fieldSelected=!0,this.trackEvent("Selected")))};handleBlur=()=>{this.setState({focused:!1}),this.fieldSelected=!1,Dr(()=>{this.state.focused||this.clearSearch()},250)};didRemoveItem=e=>{this.setState({selected:ki(this.state.selected,r=>r.id!==e.id)},this.selectionDidChange),this.trackEvent("Item Removed",e.description)};adjustFieldSize=e=>{if(!this.field)return;let r=document.createElement("div");r.style.position="absolute",r.style.visibility="hidden";let n=document.createTextNode(e);r.appendChild(n),this.field.parentElement.appendChild(r);const i=Math.max(r.width,10)+25;r.parentNode.removeChild(r),this.field.width=i};removeLastSelection=()=>{this.setState({selected:this.state.selected.slice(0,-1)},this.selectionDidChange)};selectionDidChange=()=>typeof this.props.onChangeItems=="function"?this.props.onChangeItems(this.state.selected):void 0}class Qx extends it.Component{static propTypes={queryText:ve.string};render(){return s.jsx("div",{className:"AutocompleteFieldResults",children:s.jsx("div",{className:"AutocompleteFieldEmptyMessage",children:I18n.htmlSafe("autocomplete.no_results",{term:this.props.queryText})})})}}class Yc extends it.Component{state={loading:!0,countries:[]};
94static defaultProps={fieldID:"countries",fieldName:"countries[]",autocompleteType:"countries",filterSetParam:"countries[]"};static propTypes={filterSet:ve.instanceOf(Lt).isRequired,filterSetParam:ve.string,fieldID:ve.string,fieldName:ve.string,autocompleteType:ve.string,label:ve.string,placeholder:ve.string,onChangeCallback:ve.func};UNSAFE_componentWillMount(){this.props.filterSet.get(this.props.filterSetParam).length?this.fetchData():this.setState({loading:!1})}render(){return s.jsxs("div",{className:"Explorer-FilterPanel-field Explorer-CountriesField",children:[this.label,this.state.loading?this.loadingMessage:this.field]})}get loadingMessage(){return s.jsx("div",{children:I18n.t("Explorer.Form.CountriesField.loading")})}get label(){if(this.props.label)return s.jsx("span",{className:"label",children:this.props.label})}get field(){return s.jsx(Is,{id:this.props.fieldID,name:this.props.fieldName,type:this.props.autocompleteType,placeholder:this.props.placeholder,onChangeItems:this.updateSelectedCountries,initiallySelected:this.state.countries,searchHandler:this.searchHandler,ref:this.storeRef})}fetchData=async()=>{this.setState({loading:!0});const e=this.props.filterSet.get(this.props.filterSetParam),r=f9().filter(n=>Tr(e,n.code));this.setState({loading:!1,countries:r})};storeRef=e=>{this.fieldRef=e};searchHandler=(e,r)=>{const n=new RegExp(N4(r),"i"),a={body:f9().filter(o=>o.name.match(n)||o.code.match(n))};return{abort:()=>{},then:function(o){return o(null,a),this}}};updateSelectedCountries=e=>{this.props.onChangeCallback&&this.props.onChangeCallback(),this.props.filterSet.set(this.props.filterSetParam,e.map(r=>r.id))};clear(){this.clearSelected(),this.updateSelectedCountries([])}clearSelected(){this.fieldRef&&this.fieldRef.clearAll()}}class Dn extends it.Component{static propTypes={fieldID:ve.string.isRequired,fieldName:ve.string.isRequired,label:ve.string,filterSet:ve.instanceOf(Lt).isRequired,placeholder:ve.string,onChangeCallback:ve.func,minimumDate:ve.string,maximumDate:ve.string,analyticsEventPrefix:ve.string,analyticsFieldName:ve.string};constructor(e){super(e),this.ref=it.createRef(null),this.fieldSelected=!1,this.previousValue=this.value}render(){return s.jsxs("div",{className:"Explorer-DateField",children:[this.label,s.jsx("input",{ref:this.ref,type:"date",id:this.props.fieldID,defaultValue:this.value,onBlur:this.handleBlur,onClick:this.handleClick,onChange:this.onChange,min:this.props.minimumDate,max:this.props.maximumDate})]})}get label(){if(this.props.label)return s.jsx("label",{htmlFor:this.props.fieldID,children:this.props.label})}clear=()=>{this.props.filterSet.clear(this.props.fieldName),this.ref.current.value=""};handleClick=()=>{this.fieldSelected||(this.trackEvent("Selected"),this.fieldSelected=!0)};handleBlur=()=>{if(this.fieldSelected=!1,this.valueChanged){this.trackDateChange(this.value),this.previousValue=this.value;return}if(this.manuallyCleared){this.trackEvent("Manually Cleared"),this.previousValue="";return}};onChange=e=>{const r=e.target.value;this.props.onChangeCallback&&this.props.onChangeCallback(r),this.setDate(r)};checkValidity=()=>this.ref.current.checkValidity();setDate=e=>{this.props.filterSet.set(this.props.fieldName,e)};trackDateChange(e){if(!e||!this.trackingEnabled)return;const r=new Date(e);isNaN(r.getTime())||Analytics.trackEvent(`${this.props.analyticsEventPrefix} Date Selected`,{field_name:this.props.analyticsFieldName,year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()})}trackEvent(e){this.trackingEnabled&&Analytics.trackEvent(`${this.props.analyticsEventPrefix} ${e}`,{field_name:this.props.analyticsFieldName})}get value(){return this.props.filterSet.get(this.props.fieldName)||""}get trackingEnabled(){return!!(this.props.analyticsEventPrefix&&this.props.analyticsFieldName)}get valueChanged(){return this.value&&this.value!==this.previousValue}get manuallyCleared(){return this.value===""&&this.value!==this.previousValue}}class il extends it.Component{static propTypes={fieldID:ve.string.isRequired,fieldName:ve.string.isRequired,filterSet:ve.instanceOf(Lt).isRequired,placeholder:ve.string,analyticsEventPrefix:ve.string,analyticsFieldName:ve.string};constructor(e){super(e),this.fieldSelected=!1,this.previousValue=this.value}render(){return s.jsx("div",{className:"Explorer-SearchField",children:s.jsxs("div",{className:"inner",children:[s.jsx("div",{className:"content",children:s.jsx("input",{id:this.props.fieldID,name:this.props.fieldName,autoComplete:"off",type:"text",value:this.value,onChange:this.onChange,placeholder:this.props.placeholder,onClick:this.handleClick,onBlur:this.handleBlur})}),s.jsx("button",{type:"button",className:`reset-button ${this.value==""?"hidden":"not-hidden"}`,onClick:this.clear,children:I18n.t("Explorer.SearchField.clear")})]})})}clear=()=>{this.props.filterSet.clear(this.props.fieldName),this.trackEvent("Cleared"),this.previousValue="",this.forceUpdate()};onChange=e=>{this.props.filterSet.set(this.props.fieldName,e.target.value),this.forceUpdate()};handleClick=()=>{this.fieldSelected||(this.trackEvent("Selected"),this.fieldSelected=!0)};handleBlur=()=>{if(this.fieldSelected=!1,this.valueChanged){this.trackEvent("Filled",this.value),this.previousValue=this.value;return}if(this.manuallyCleared){this.trackEvent("Manually Cleared"),this.previousValue="";return}};trackEvent(e,r=null){this.trackingEnabled&&Analytics.trackEvent(`${this.props.analyticsEventPrefix} ${e}`,{field_name:this.props.analyticsFieldName,...r&&{value:r}})}get valueChanged(){return this.value&&this.value!==this.previousValue}get manuallyCleared(){return this.value===""&&this.value!==this.previousValue}get trackingEnabled(){return!!(this.props.analyticsEventPrefix&&this.props.analyticsFieldName)}get value(){return this.props.filterSet.get(this.props.fieldName)||""}}class eb extends it.Component{static propTypes={fieldID:ve.string.isRequired,fieldName:ve.string.isRequired,filterSet:ve.instanceOf(Lt).isRequired,collection:ve.object.isRequired,emptyLabel:ve.string,onChangeCallback:ve.func,analyticsEventPrefix:ve.string,analyticsFieldName:ve.string};render(){return s.jsx("div",{className:"Explorer-SelectField",children:s.jsxs("select",{id:this.props.fieldID,name:this.props.fieldName,value:this.value,onChange:this.onChange,onClick:this.onClick,children:[this.emptyOption,hr(this.props.collection,(e,r)=>s.jsx("option",{value:r,children:e},r))]})})}get value(){return this.props.filterSet.get(this.props.fieldName)||""}get emptyOption(){if(this.props.emptyLabel)return s.jsx("option",{value:"",children:this.props.emptyLabel},"emptyLabel")}get trackingEnabled(){return!!(this.props.analyticsEventPrefix&&this.props.analyticsFieldName)}clear=()=>{this.props.filterSet.clear(this.props.fieldName),this.forceUpdate()};onChange=e=>{this.props.onChangeCallback&&this.props.onChangeCallback(e.target.value),this.props.filterSet.set(this.props.fieldName,e.target.value),this.trackEvent("Item Selected",e.target.value),this.forceUpdate()};onClick=()=>{this.trackEvent("Selected")};trackEvent(e,r=null){this.trackingEnabled&&Analytics.trackEvent(`${this.props.analyticsEventPrefix} ${e}`,{field_name:this.props.analyticsFieldName,...r&&{value:r}})}}
94const tb=({sourcesTypes:t,addSelectedSource:e,disabled:r=!1})=>s.jsx(Bc,{title:"Add source",disabled:r,children:s.jsx("div",{children:Object.entries(t).map(([n,i])=>s.jsx("button",{className:`${n} type`,onClick:()=>e(n),children:i},n))})}),da=(t,{enabled:e=!0,reloadOn:r=["filters"]}={})=>{const n=St(),{data:i,loading:a}=Jt(t,n,{enabled:e,reloadOn:r});return{data:e?i:null,loading:e&&(a===Ke.NOT_STARTED||a===Ke.IN_PROGRESS)}},rb={mentionSourcesForFilter:"filters/mention_sources",mentionSourcesTypesForFilter:"filters/mention_sources_types"},A8=({sourcesTypes:t,filterSet:e,queryFilter:r,assignRef:n,disabled:i=!1,dropdownSourcesType:a,autocompleteFieldConfig:o})=>{const f=Q.useRef(null),u=e.get(o.name).length>0,{data:m,loading:S}=da(rb[r],{enabled:u}),w=m??[],x=E=>{const A={id:`type:${E}`,type:a};return a==="post_type"&&(A.post_type=E),a==="mention_source_type"&&(A.mention_source_type=E),f.current.modelizeResult(A)},T=E=>{Analytics.trackEvent("mentions-update-sources"),e.set(o.name,E.map(A=>A.id))};Q.useEffect(()=>{n({clear(){f.current?.clearAll(),T([])},overrideSelectedMentionSourcesFromTypes(E){if(!f.current)return;const A=E.map(j=>x(j));f.current.overrideSelectedResults(A)},clearSelected(){f.current?.clearAll()}})},[]);const y=E=>{const A=x(E);f.current.selectResult(A)};return s.jsx("div",{className:"Explorer-FilterPanel-field Explorer-MentionSourcesField",children:S?s.jsx("div",{children:I18n.t("Explorer.Mentions.FilterPanel.fields.mention_sources.loading")}):s.jsxs("div",{className:"Explorer-MentionSourcesField-wrapper",children:[s.jsx(tb,{sourcesTypes:t,addSelectedSource:y,disabled:i}),i?s.jsx("div",{className:"FakeAutocompleteField","data-testid":"fake-autocomplete"}):s.jsx(Is,{id:o.id,name:o.name,type:o.type,placeholder:o.placeholder,onChangeItems:T,initiallySelected:w,ref:f,delayShortQuery:!0})]})})};A8.propTypes={sourcesTypes:ve.object.isRequired,filterSet:ve.instanceOf(Lt).isRequired,queryFilter:ve.string.isRequired,assignRef:ve.func.isRequired,disabled:ve.bool,dropdownSourcesType:ve.string.isRequired,autocompleteFieldConfig:ve.instanceOf(k8).isRequired};const ib=()=>HTMLElement.prototype.hasOwnProperty("popover"),nb=()=>CSS.supports("anchor-name","--a"),sb=({id:t,buttonText:e,isDisabled:r,children:n})=>{const i=Q.useRef(null),a=Q.useRef(null),[o,f]=Q.useState(!1),u=`--${t}`,m={anchorName:u},S={positionAnchor:u},w=ib()?{}:{"aria-controls":t,"aria-expanded":o.toString()};return Q.useLayoutEffect(()=>{if(!nb()){const{bottom:x,left:T}=i.current.getBoundingClientRect();Object.assign(a.current.style,{top:`${x}px`,left:`${T}px`})}},[o]),s.jsxs(s.Fragment,{children:[s.jsx("button",{ref:i,popovertarget:t,className:"Dropdown-button",disabled:r,onClick:()=>f(!o),style:m,...w,children:e}),s.jsx("div",{ref:a,id:t,className:`Dropdown-popover ${o?"is-open":""}`,popover:"auto",style:S,"data-testid":"popover",children:n})]})};class ob extends it.Component{constructor(e){super(e);const{assignRef:r}=this.props;r&&r(this),this.state={selectedOptions:this.props.filterSet.get("sentiment[]")}}componentDidUpdate(){this.state.selectedOptions.length===0?this.props.filterSet.clear("sentiment[]"):this.props.filterSet.set("sentiment[]",this.state.selectedOptions)}clear(){this.props.filterSet.clear("sentiment[]"),this.setState({selectedOptions:[]})}get count(){return this.state.selectedOptions.length>0?` (${this.state.selectedOptions.length})`:""}setSelectedOptions(e){this.setState({selectedOptions:e})}toggleSelectedOption(e){const r=this.state.selectedOptions;r.includes(e)?this.setSelectedOptions(r.filter(n=>n!==e)):this.setSelectedOptions([...r,e])}render(){return s.jsx(sb,{id:"mentions",buttonText:s.jsxs(s.Fragment,{children:["Sentiment for Bluesky and X ",s.jsx("span",{className:"SentimentFilter-count",children:this.count})]}),isDisabled:this.props.isDisabled,children:s.jsxs("div",{className:"SentimentFilter-dropdown",children:[s.jsxs("label",{className:"SentimentFilter-option",children:[s.jsx("input",{type:"checkbox",name:"sentiment[]",value:"all",checked:this.state.selectedOptions.length===0,onChange:()=>this.setSelectedOptions([]),className:"SentimentFilter-checkbox"}),"All sentiment"]}),Mc().map(([e,r])=>s.jsxs("label",{className:"SentimentFilter-option",children:[s.jsx("input",{type:"checkbox",name:"sentiment[]",value:e,checked:this.state.selectedOptions.includes(e),onChange:()=>this.toggleSelectedOption(e),className:"SentimentFilter-checkbox"}),r]},e)),s.jsx("hr",{}),s.jsxs("div",{className:"SentimentFilter-disclaimer",children:[s.jsx(x8,{}),s.jsxs("div",{children:[s.jsx("p",{children:"This feature uses AI to assign sentiment scoring to posts that mention research. Although the quality of AI outputs is often high, they may contain incorrect information. The validity of the output should be verified by reviewing the referenced documents."}),s.jsx("p",{children:s.jsx("a",{href:"https://help.altmetric.com/en/articles/10026177",target:"_blank",rel:"noreferrer",children:"Learn more about Sentiment Analysis"})})]})]})]})})}}const ab=()=>{const t={};return qr(ir.mentionsTabPostTypes,e=>t[e]=I18n.t(e,{scope:"Explorer.Mentions.FilterPanel.select_box_mention_source_post_types",default:e})),t},lb=()=>{const t=new k8;return t.id="mention_sources",t.name="mention_sources[]",t.type="mention_sources",t.placeholder=I18n.t("Explorer.Mentions.FilterPanel.fields.mention_sources.placeholder"),t},cb=()=>{const t=St(),e=Gr(),[r,n]=Q.useState(()=>new Lt(t.filters)),[i,a]=Q.useState(t.filters.highlights==="true"),[o,f]=Q.useState(null),[u,m]=Q.useState(null),[S,w]=Q.useState(null),x=Q.useRef(null),T=Q.useRef(null),y=Q.useRef(null),E=Q.useRef(null),A=Q.useRef(null),j=P=>{y.current&&P.get("countries[]").length===0&&y.current.clearSelected(),E.current&&P.get("mention_sources[]").length===0&&E.current.clearSelected()};Q.useEffect(()=>{const P=new Lt(t.filters);n(P),a(t.filters.highlights==="true"),j(P)},[JSON.stringify(t.filters)]);const R=ab(),k=lb(),B=()=>!x.current?.checkValidity()||!T.current?.checkValidity()?(w("Start date must be before end date"),!1):(w(null),!0),L=()=>
94{if(!B())return;Analytics.trackEvent("mentions-apply-filter");const P=nr(t,r.populatedFilters);r8(P)!==window.location.search.replace("?","")&&e(P)},C=()=>{T.current?.clear(),x.current?.clear(),y.current?.clear(),E.current?.clear(),A.current?.clear()},h=()=>{C(),L()},H=()=>{const P=!i;Analytics.trackEvent("mentions-set-highlights",{enabled:P}),a(P),P?(E.current?.clear(),r.set("highlights","true")):r.clear("highlights"),e(nr(t,r.populatedFilters))};return s.jsxs("div",{className:"Explorer-Form Explorer-Mentions-FilterPanel",children:[s.jsxs("div",{className:"Explorer-Mentions-FilterPanel-row",children:[s.jsx(A8,{sourcesTypes:R,filterSet:r,queryFilter:"mentionSourcesForFilter",assignRef:P=>E.current=P,disabled:i,dropdownSourcesType:"post_type",autocompleteFieldConfig:k}),h8()&&s.jsx(ob,{assignRef:P=>A.current=P,filterSet:r,isDisabled:i}),s.jsx("button",{className:`Explorer-Mentions-Highlights-toggle ${i?"active":"not-active"}`,onClick:H,children:I18n.t("Explorer.Mentions.FilterPanel.buttons.highlights")})]}),s.jsxs("div",{className:"Explorer-Mentions-FilterPanel-row",children:[s.jsxs("div",{className:"Explorer-Mentions-FilterPanel-date-range",children:[s.jsx("div",{className:"Explorer-FilterPanel-field",children:s.jsx(Dn,{fieldID:"mentioned_after",fieldName:"mentioned_after",label:I18n.t("Explorer.Mentions.FilterPanel.fields.mentioned_after.title"),filterSet:r,placeholder:I18n.t("Explorer.Mentions.FilterPanel.fields.mentioned_after.placeholder"),onChangeCallback:f,maximumDate:u||r.get("mentioned_before"),ref:x})}),s.jsx("div",{className:"Explorer-FilterPanel-field",children:s.jsx(Dn,{fieldID:"mentioned_before",fieldName:"mentioned_before",label:I18n.t("Explorer.Mentions.FilterPanel.fields.mentioned_before.title"),filterSet:r,placeholder:I18n.t("Explorer.Mentions.FilterPanel.fields.mentioned_before.placeholder"),onChangeCallback:m,minimumDate:o||r.get("mentioned_after"),ref:T})})]}),s.jsx(Yc,{filterSet:r,label:I18n.t("Explorer.Mentions.FilterPanel.fields.countries.title"),placeholder:I18n.t("Explorer.Form.CountriesField.placeholder"),onChangeCallback:()=>Analytics.trackEvent("mentions-update-countries"),ref:y}),s.jsxs("div",{className:"Explorer-FilterPanel-buttons",children:[s.jsx("button",{className:"apply-button",onClick:L,children:I18n.t("Explorer.Mentions.FilterPanel.buttons.apply")}),s.jsx("button",{className:"clear-button",onClick:h,children:I18n.t("Explorer.Mentions.FilterPanel.buttons.reset")})]})]}),S&&s.jsx("div",{className:"Explorer-FilterPanel-warning-message",children:S})]})},C9=t=>{Analytics.trackEvent("mentions-paginate",{page:t})},db=()=>{const t=St(),e=Q.useRef(null),{data:r,loading:n}=Jt("mentions",t,{reloadOn:["filters","page"]});Q.useEffect(()=>{if(n===Ke.SUCCESS||n===Ke.ERROR||n===Ke.EMPTY_RESPONSE){const o=e.current?.closest(".Explorer-ContentPanel");o&&(o.scrollTop=0)}},[n]);const i=r?.data??[],a=r?.lastPage??null;return s.jsxs("div",{ref:e,className:"Explorer-Mentions",children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.mentions")}),s.jsx(cb,{}),s.jsx("a",{href:I18n.t("Explorer.help.mentions.uri"),target:"_blank",rel:"noreferrer",title:I18n.t("Explorer.help.mentions.content"),className:"help",children:I18n.t("Explorer.help.label_tab")}),s.jsx(Fx,{}),s.jsx(Kr,{classNames:"Content",timeout:750,children:s.jsxs(s.Fragment,{children:[(n===Ke.IN_PROGRESS||n===Ke.NOT_STARTED)&&s.jsx(ca,{},"spinner"),n===Ke.ERROR&&s.jsx("div",{className:"Explorer-Mentions-Container",children:I18n.t("Explorer.loading_error")}),n===Ke.SUCCESS&&i.length!==0&&s.jsxs("div",{className:"Explorer-Mentions-Container",children:[s.jsx(an,{lastPage:a,onChangePage:C9}),s.jsx("div",{className:"mention-timeline",children:i.map(([o,f])=>{const u=vi(f);return s.jsx("div",{className:"mention-date-boundary",children:hr(u,(m,S)=>s.jsx(qc,{first:S===0,post:m},m.id))},`mentions-${o}`)})}),s.jsx(an,{lastPage:a,onChangePage:C9})]})]})})]})},hb=()=>{const t=St(),{data:e,loading:r}=Jt("journals/summary",t,{reloadOn:["filters"]}),n=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,i=r===Ke.ERROR,a=e?.total_journals??0,o=()=>i?I18n.t("Explorer.Journals.Summary.error"):a===0?I18n.t("Explorer.Journals.Summary.empty"):I18n.htmlSafe("Explorer.Journals.Summary.journals",{count:a,formattedCount:bt.formatNumberWithDelimiter(a)});return s.jsx(dn,{children:n?I18n.t("Explorer.Journals.Summary.loading"):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:o()}),s.jsx(hn,{endpoint:"journals",resultsCount:a,help:qn("journals")}),s.jsx(Gi,{endpoint:"journals",analyticsName:"Journals"})]})})};
94class ub{constructor(e){this.unfilteredSize=e.length,this.size=e.length,this.sortKey="mentioned_research_outputs",this.dataset=e,this.filteredIndexes=[],this.filterText="",this.sortAndFilter()}getObjectAt(e){return this.dataset[this.filteredIndexes[e]]}sortAndFilter(){this.dataset=vr(e=>rd(e,[this.sortKey,"title"],["desc","asc"]))(this.dataset),this.filteredIndexes=vr(e=>hr(e,(r,n)=>{if(r.title.toLowerCase().indexOf(this.filterText)>-1)return n}),e=>c5(e,r=>r===void 0))(this.dataset),this.size=this.filteredIndexes.length}sortedBy(e){return this.sortKey=e,this.sortAndFilter(),this}filteredBy(e){return this.filterText=e,this.sortAndFilter(),this}}const pb=(t,{onFetchStarted:e,onFetchSuccess:r,onFetchError:n}={})=>{const i={dataset:[]},[a,o]=Q.useState(i),f=JSON.stringify(t.filters),u=Q.useRef(t);u.current=t;const m=Q.useRef(0),S=Q.useRef(null),w=Q.useRef({onFetchStarted:e,onFetchSuccess:r,onFetchError:n});w.current={onFetchStarted:e,onFetchSuccess:r,onFetchError:n};const x=Q.useMemo(()=>()=>{S.current&&S.current.abort();const T=++m.current;o(i);const{onFetchStarted:y,onFetchSuccess:E,onFetchError:A}=w.current;typeof y=="function"&&y();const j=Ui("journals",u.current);S.current=j,j.then((R,k)=>{T===m.current&&R?.name!=="AbortError"&&(!R&&Array.isArray(k?.body)?(o(new ub(k.body)),typeof E=="function"&&E(k)):typeof A=="function"&&A(R||new Error("Empty response body")))})},[f]);return Q.useEffect(()=>(x(),()=>{S.current&&S.current.abort()}),[f]),{rows:a.dataset,clear:()=>o(i),refresh:x}},fb=()=>s.jsxs("div",{className:"Journals-Table-Message-Container Journals-Table-Loading-Message",children:[s.jsx("div",{className:"spinner"}),s.jsx("p",{children:I18n.t("Explorer.Journals.loading")})]}),mb=()=>s.jsx("div",{className:"Journals-Table-Message-Container Journals-Table-Message-Container--error",children:I18n.t("Explorer.Journals.loading_failed")}),gb=()=>s.jsx("div",{className:"Journals-Table-Message-Container Journals-Table-Message-Container--empty",children:I18n.t("Explorer.Outputs.empty")});var nl={exports:{}},ys={exports:{}},yb=ys.exports,k9;function xb(){return k9||(k9=1,(function(t,e){(function(r,n){n(e,K1())})(yb,(function(r,n){function i(G,pe,ge,Se,Ne,je,_e){try{var c=G[je](_e),g=c.value}catch(D){return void ge(D)}c.done?pe(g):Promise.resolve(g).then(Se,Ne)}function a(G){return function(){var pe=this,ge=arguments;return new Promise((function(Se,Ne){var je=G.apply(pe,ge);function _e(g){i(je,Se,Ne,_e,c,"next",g)}function c(g){i(je,Se,Ne,_e,c,"throw",g)}_e(void 0)}))}}function o(){return(o=Object.assign||function(G){for(var pe=1;pe<arguments.length;pe++){var ge=arguments[pe];for(var Se in ge)Object.prototype.hasOwnProperty.call(ge,Se)&&(G[Se]=ge[Se])}return G}).apply(this,arguments)}function f(G,pe){if(G==null)return{};var ge,Se,Ne={},je=Object.keys(G);for(Se=0;Se<je.length;Se++)ge=je[Se],pe.indexOf(ge)>=0||(Ne[ge]=G[ge]);return Ne}function u(G){var pe=(function(ge,Se){if(typeof ge!="object"||ge===null)return ge;var Ne=ge[Symbol.toPrimitive];if(Ne!==void 0){var je=Ne.call(ge,Se);if(typeof je!="object")return je;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(ge)})(G,"string");return typeof pe=="symbol"?pe:String(pe)}n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var m={init:"init"},S=function(G){var pe=G.value;return pe===void 0?"":pe},w=function(){return n.createElement(n.Fragment,null," ")},x={Cell:S,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function T(){for(var G=arguments.length,pe=new Array(G),ge=0;ge<G;ge++)pe[ge]=arguments[ge];return pe.reduce((function(Se,Ne){var je=Ne.style,_e=Ne.className;return Se=o({},Se,{},f(Ne,["style","className"])),je&&(Se.style=Se.style?o({},Se.style||{},{},je||{}):je),_e&&(Se.className=Se.className?Se.className+" "+_e:_e),Se.className===""&&delete Se.className,Se}),{})}var y=function(G,pe){return pe===void 0&&(pe={}),function(ge){return ge===void 0&&(ge={}),[].concat(G,[ge]).reduce((function(Se,Ne){return(function je(_e,c,g){return typeof c=="function"?je({},c(_e,g)):Array.isArray(c)?T.apply(void 0,[_e].concat(c)):T(_e,c)})(Se,Ne,o({},pe,{userProps:ge}))}),{})}},E=function(G,pe,ge,Se){return ge===void 0&&(ge={}),G.reduce((function(Ne,je){return je(Ne,ge)}),pe)},A=function(G,pe,ge){return ge===void 0&&(ge={}),G.forEach((function(Se){Se(pe,ge)}))};function j(G,pe,ge,Se){G.findIndex((function(Ne){return Ne.pluginName===ge})),pe.forEach((function(Ne){G.findIndex((function(je){return je.pluginName===Ne}))}))}function R(G,pe){return typeof G=="function"?G(pe):G}function k(G){var pe=n.useRef();return pe.current=G,n.useCallback((function(){return pe.current}),[])}var B=typeof document<"u"?n.useLayoutEffect:n.useEffect;function L(G,pe){var ge=n.useRef(!1);B((function(){ge.current&&G(),ge.current=!0}),pe)}function C(G,pe,ge){return ge===void 0&&(ge={}),function(Se,Ne){Ne===void 0&&(Ne={});var je=typeof Se=="string"?pe[Se]:Se;if(je===void 0)throw console.info(pe),new Error("Renderer Error âï¸");return h(je,o({},G,{column:pe},ge,{},Ne))}}function h(G,pe){return(function(Se){return typeof Se=="function"&&(Ne=Object.getPrototypeOf(Se)).prototype&&Ne.prototype.isReactComponent;var Ne})(ge=G)||typeof ge=="function"||(function(Se){return typeof Se=="object"&&typeof Se.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(Se.$$typeof.description)})(ge)?n.createElement(G,pe):G;var ge}function H(G,pe,ge){return ge===void 0&&(ge=0),G.map((function(Se){return N(Se=o({},Se,{parent:pe,depth:ge})),Se.columns&&(Se.columns=H(Se.columns,Se,ge+1)),Se}))}function P(G){return v(G,"columns")}function N(G){var pe=G.id,ge=G.accessor,Se=G.Header;if(typeof ge=="string"){pe=pe||ge;var Ne=ge.split(".");ge=function(je){return(function(_e,c,g){if(!c)return _e;var D,W=typeof c=="function"?c:JSON.stringify(c),ee=l.get(W)||(function(){var re=(function(le){return(function Ee(we,Re){if(Re===void 0&&(Re=[]),Array.isArray(we))for(var Fe=0;Fe<we.length;Fe+=1)Ee(we[Fe],Re);else Re.push(we);return Re})(le).map((function(Ee){return String(Ee).replace(".","_")})).join(".").replace(q,".").replace(z,"").split(".")})(c);return l.set(W,re),re})();try{D=ee.reduce((function(re,le){return re[le]}),_e)}catch{}return D!==void 0?D:g})(je,Ne)}}if(!pe&&typeof Se=="string"&&Se&&(pe=Se),!pe&&G.columns)throw console.error(G),new Error('A column ID (or unique "Header" value) is required!');if(!pe)throw console.error(G),new Error("A column ID (or string accessor) is required!");return Object.assign(G,{id:pe,accessor:ge}),G}function I(G,pe){if(!pe)throw new Error;return Object.assign(G,o({Header:w,Footer:w},x,{},pe,{},G)),Object.assign(G,{originalWidth:G.width}),G}function F(G,pe,ge){ge===void 0&&(ge=function(){return{}});for(var Se=[],Ne=G,je=0,_e=function(){return je++},c=function(){var g={headers:[]},D=[],W=Ne.some((function(ee){return ee.parent}));Ne.forEach((function(ee){var re,le=[].concat(D).reverse()[0];W&&(ee.parent?re=o({},ee.parent,{originalId:ee.parent.id,id:ee.parent.id+"_"+_e(),headers:[ee]},ge(ee)):re=I(o({originalId:ee.id+"_placeholder",id:ee.id+"_placeholder_"+_e(),placeholderOf:ee,headers:[ee]},ge(ee)),pe),le&&le.originalId===re.originalId?le.headers.push(ee):D.push(re)),g.headers.push(ee)})),Se.push(g),Ne=D};Ne.length;)c();return Se.reverse()}var l=new Map;function d(){for(var G=arguments.length,pe=new Array(G),ge=0;ge<G;ge++)pe[ge]=arguments[ge];for(var Se=0;Se<pe.length;Se+=1)if(pe[Se]!==void 0)return pe[Se]}function p(G){if(typeof G=="function")return G}function v(G,pe){var ge=[];return(function Se(Ne){Ne.forEach((function(je){je[pe]?Se(je[pe]):ge.push(je)}))})(G),ge}function b(G,pe){var ge=pe.manualExpandedKey,Se=pe.expanded,Ne=pe.expandSubRows,je=Ne===void 0||Ne,_e=[];return G.forEach((function(c){return(function g(D,W){W===void 0&&(W=!0),D.isExpanded=D.original&&D.original[ge]||Se[D.id],D.canExpand=D.subRows&&!!D.subRows.length,W&&_e.push(D),D.subRows&&D.subRows.length&&D.isExpanded&&D.subRows.forEach((function(ee){return g(ee,je)}))})(c)})),_e}function M(G,pe,ge){return p(G)||pe[G]||ge[G]||ge.text}function O(G,pe,ge){return G?G(pe,ge):pe===void 0}function _(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var U=null,q=/\[/g,z=/\]/g,J=function(G){return o({role:"table"},G)},te=function(G){return o({role:"rowgroup"},G)},ce=function(G,pe){var ge=pe.column;return o({key:"header_"+ge.id,colSpan:ge.totalVisibleHeaderCount,role:"columnheader"},G)},xe=function(G,pe){var ge=pe.column;return o({key:"footer_"+ge.id,colSpan:ge.totalVisibleHeaderCount},G)},V=function(G,pe){return o({key:"headerGroup_"+pe.index,role:"row"},G)},Y=function(G,pe){return o({key:"footerGroup_"+pe.index},G)},X=function(G,pe){return o({key:"row_"+pe.row.id,role:"row"},G)},ae=function(G,pe){var ge=pe.cell;return o({key:"cell_"+ge.row.id+"_"+ge.column.id,role:"cell"},G)};function $(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[J],getTableBodyProps:[te],getHeaderGroupProps:[V],getFooterGroupProps:[Y],getHeaderProps:[ce],getFooterProps:[xe],getRowProps:[X],getCellProps:[ae],useFinalInstance:[]}}m.resetHiddenColumns="resetHiddenColumns",m.toggleHideColumn="toggleHideColumn",m.setHiddenColumns="setHiddenColumns",m.toggleHideAllColumns="toggleHideAllColumns";var K=function(G){G.getToggleHiddenProps=[Z],G.getToggleHideAllColumnsProps=[se],G.stateReducers.push(ie),G.useInstanceBeforeDimensions.push(ne),G.headerGroupsDeps.push((function(pe,ge){var Se=ge.instance;return[].concat(pe,[Se.state.hiddenColumns])})),G.useInstance.push(oe)};K.pluginName="useColumnVisibility";var Z=function(G,pe){var ge=pe.column;return[G,{onChange:function(Se){ge.toggleHidden(!Se.target.checked)},style:{cursor:"pointer"},checked:ge.isVisible,title:"Toggle Column Visible"}]},se=function(G,pe){var ge=pe.instance;return[G,{onChange:function(Se){ge.toggleHideAllColumns(!Se.target.checked)},style:{cursor:"pointer"},checked:!ge.allColumnsHidden&&!ge.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!ge.allColumnsHidden&&ge.state.hiddenColumns.length}]};function ie(G,pe,ge,Se){if(pe.type===m.init)return o({hiddenColumns:[]},G);if(pe.type===m.resetHiddenColumns)return o({},G,{hiddenColumns:Se.initialState.hiddenColumns||[]});if(pe.type===m.toggleHideColumn){var Ne=(pe.value!==void 0?pe.value:!G.hiddenColumns.includes(pe.columnId))?[].concat(G.hiddenColumns,[pe.columnId]):G.hiddenColumns.filter((function(je){return je!==pe.columnId}));return o({},G,{hiddenColumns:Ne})}return pe.type===m.setHiddenColumns?o({},G,{hiddenColumns:R(pe.value,G.hiddenColumns)}):pe.type===m.toggleHideAllColumns?o({},G,{hiddenColumns:(pe.value!==void 0?pe.value:!G.hiddenColumns.length)?Se.allColumns.map((function(je){return je.id}
94)):[]}):void 0}function ne(G){var pe=G.headers,ge=G.state.hiddenColumns;n.useRef(!1).current;var Se=0;pe.forEach((function(Ne){return Se+=(function je(_e,c){_e.isVisible=c&&!ge.includes(_e.id);var g=0;return _e.headers&&_e.headers.length?_e.headers.forEach((function(D){return g+=je(D,_e.isVisible)})):g=_e.isVisible?1:0,_e.totalVisibleHeaderCount=g,g})(Ne,!0)}))}function oe(G){var pe=G.columns,ge=G.flatHeaders,Se=G.dispatch,Ne=G.allColumns,je=G.getHooks,_e=G.state.hiddenColumns,c=G.autoResetHiddenColumns,g=c===void 0||c,D=k(G),W=Ne.length===_e.length,ee=n.useCallback((function(Re,Fe){return Se({type:m.toggleHideColumn,columnId:Re,value:Fe})}),[Se]),re=n.useCallback((function(Re){return Se({type:m.setHiddenColumns,value:Re})}),[Se]),le=n.useCallback((function(Re){return Se({type:m.toggleHideAllColumns,value:Re})}),[Se]),Ee=y(je().getToggleHideAllColumnsProps,{instance:D()});ge.forEach((function(Re){Re.toggleHidden=function(Fe){Se({type:m.toggleHideColumn,columnId:Re.id,value:Fe})},Re.getToggleHiddenProps=y(je().getToggleHiddenProps,{instance:D(),column:Re})}));var we=k(g);L((function(){we()&&Se({type:m.resetHiddenColumns})}),[Se,pe]),Object.assign(G,{allColumnsHidden:W,toggleHideColumn:ee,setHiddenColumns:re,toggleHideAllColumns:le,getToggleHideAllColumnsProps:Ee})}var ue={},ye={},be=function(G,pe,ge){return G},Te=function(G,pe){return G.subRows||[]},fe=function(G,pe,ge){return""+(ge?[ge.id,pe].join("."):pe)},de=function(G){return G};function he(G){var pe=G.initialState,ge=pe===void 0?ue:pe,Se=G.defaultColumn,Ne=Se===void 0?ye:Se,je=G.getSubRows,_e=je===void 0?Te:je,c=G.getRowId,g=c===void 0?fe:c,D=G.stateReducer,W=D===void 0?be:D,ee=G.useControlledState,re=ee===void 0?de:ee;return o({},f(G,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:ge,defaultColumn:Ne,getSubRows:_e,getRowId:g,stateReducer:W,useControlledState:re})}function me(G,pe){pe===void 0&&(pe=0);var ge=0,Se=0,Ne=0,je=0;return G.forEach((function(_e){var c=_e.headers;if(_e.totalLeft=pe,c&&c.length){var g=me(c,pe),D=g[0],W=g[1],ee=g[2],re=g[3];_e.totalMinWidth=D,_e.totalWidth=W,_e.totalMaxWidth=ee,_e.totalFlexWidth=re}else _e.totalMinWidth=_e.minWidth,_e.totalWidth=Math.min(Math.max(_e.minWidth,_e.width),_e.maxWidth),_e.totalMaxWidth=_e.maxWidth,_e.totalFlexWidth=_e.canResize?_e.totalWidth:0;_e.isVisible&&(pe+=_e.totalWidth,ge+=_e.totalMinWidth,Se+=_e.totalWidth,Ne+=_e.totalMaxWidth,je+=_e.totalFlexWidth)})),[ge,Se,Ne,je]}function ke(G){var pe=G.data,ge=G.rows,Se=G.flatRows,Ne=G.rowsById,je=G.column,_e=G.getRowId,c=G.getSubRows,g=G.accessValueHooks,D=G.getInstance;pe.forEach((function(W,ee){return(function re(le,Ee,we,Re,Fe){we===void 0&&(we=0);var He=le,Ie=_e(le,Ee,Re),De=Ne[Ie];if(De)De.subRows&&De.originalSubRows.forEach((function(Ye,Qe){return re(Ye,Qe,we+1,De)}));else if((De={id:Ie,original:He,index:Ee,depth:we,cells:[{}]}).cells.map=_,De.cells.filter=_,De.cells.forEach=_,De.cells[0].getCellProps=_,De.values={},Fe.push(De),Se.push(De),Ne[Ie]=De,De.originalSubRows=c(le,Ee),De.originalSubRows){var Je=[];De.originalSubRows.forEach((function(Ye,Qe){return re(Ye,Qe,we+1,De,Je)})),De.subRows=Je}je.accessor&&(De.values[je.id]=je.accessor(le,Ee,De,Fe,pe)),De.values[je.id]=E(g,De.values[je.id],{row:De,column:je,instance:D()})})(W,ee,0,void 0,ge)}))}m.resetExpanded="resetExpanded",m.toggleRowExpanded="toggleRowExpanded",m.toggleAllRowsExpanded="toggleAllRowsExpanded";var Ce=function(G){G.getToggleAllRowsExpandedProps=[Me],G.getToggleRowExpandedProps=[Pe],G.stateReducers.push(Oe),G.useInstance.push(Be),G.prepareRow.push(Ue)};Ce.pluginName="useExpanded";var Me=function(G,pe){var ge=pe.instance;return[G,{onClick:function(Se){ge.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},Pe=function(G,pe){var ge=pe.row;return[G,{onClick:function(){ge.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function Oe(G,pe,ge,Se){if(pe.type===m.init)return o({expanded:{}},G);if(pe.type===m.resetExpanded)return o({},G,{expanded:Se.initialState.expanded||{}});if(pe.type===m.toggleAllRowsExpanded){var Ne=pe.value,je=Se.rowsById,_e=Object.keys(je).length===Object.keys(G.expanded).length;if(Ne!==void 0?Ne:!_e){var c={};return Object.keys(je).forEach((function(Ee){c[Ee]=!0})),o({},G,{expanded:c})}return o({},G,{expanded:{}})}if(pe.type===m.toggleRowExpanded){var g,D=pe.id,W=pe.value,ee=G.expanded[D],re=W!==void 0?W:!ee;if(!ee&&re)return o({},G,{expanded:o({},G.expanded,(g={},g[D]=!0,g))});if(ee&&!re){var le=G.expanded;return le[D],o({},G,{expanded:f(le,[D].map(u))})}return G}}function Be(G){var pe=G.data,ge=G.rows,Se=G.rowsById,Ne=G.manualExpandedKey,je=Ne===void 0?"expanded":Ne,_e=G.paginateExpandedRows,c=_e===void 0||_e,g=G.expandSubRows,D=g===void 0||g,W=G.autoResetExpanded,ee=W===void 0||W,re=G.getHooks,le=G.plugins,Ee=G.state.expanded,we=G.dispatch;j(le,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var Re=k(ee),Fe=!!(Object.keys(Se).length&&Object.keys(Ee).length);Fe&&Object.keys(Se).some((function(xt){return!Ee[xt]}))&&(Fe=!1),L((function(){Re()&&we({type:m.resetExpanded})}),[we,pe]);var He=n.useCallback((function(xt,nt){we({type:m.toggleRowExpanded,id:xt,value:nt})}),[we]),Ie=n.useCallback((function(xt){return we({type:m.toggleAllRowsExpanded,value:xt})}),[we]),De=n.useMemo((function(){return c?b(ge,{manualExpandedKey:je,expanded:Ee,expandSubRows:D}):ge}),[c,ge,je,Ee,D]),Je=n.useMemo((function(){return(function(xt){var nt=0;
94return Object.keys(xt).forEach((function(pt){var Tt=pt.split(".");nt=Math.max(nt,Tt.length)})),nt})(Ee)}),[Ee]),Ye=k(G),Qe=y(re().getToggleAllRowsExpandedProps,{instance:Ye()});Object.assign(G,{preExpandedRows:ge,expandedRows:De,rows:De,expandedDepth:Je,isAllRowsExpanded:Fe,toggleRowExpanded:He,toggleAllRowsExpanded:Ie,getToggleAllRowsExpandedProps:Qe})}function Ue(G,pe){var ge=pe.instance.getHooks,Se=pe.instance;G.toggleRowExpanded=function(Ne){return Se.toggleRowExpanded(G.id,Ne)},G.getToggleRowExpandedProps=y(ge().getToggleRowExpandedProps,{instance:Se,row:G})}var ze=function(G,pe,ge){return G=G.filter((function(Se){return pe.some((function(Ne){var je=Se.values[Ne];return String(je).toLowerCase().includes(String(ge).toLowerCase())}))}))};ze.autoRemove=function(G){return!G};var $e=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){var je=Se.values[Ne];return je===void 0||String(je).toLowerCase()===String(ge).toLowerCase()}))}))};$e.autoRemove=function(G){return!G};var Ze=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){var je=Se.values[Ne];return je===void 0||String(je)===String(ge)}))}))};Ze.autoRemove=function(G){return!G};var Xe=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){return Se.values[Ne].includes(ge)}))}))};Xe.autoRemove=function(G){return!G||!G.length};var Ve=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){var je=Se.values[Ne];return je&&je.length&&ge.every((function(_e){return je.includes(_e)}))}))}))};Ve.autoRemove=function(G){return!G||!G.length};var ut=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){var je=Se.values[Ne];return je&&je.length&&ge.some((function(_e){return je.includes(_e)}))}))}))};ut.autoRemove=function(G){return!G||!G.length};var Et=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){var je=Se.values[Ne];return ge.includes(je)}))}))};Et.autoRemove=function(G){return!G||!G.length};var Mt=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){return Se.values[Ne]===ge}))}))};Mt.autoRemove=function(G){return G===void 0};var Pt=function(G,pe,ge){return G.filter((function(Se){return pe.some((function(Ne){return Se.values[Ne]==ge}))}))};Pt.autoRemove=function(G){return G==null};var qt=function(G,pe,ge){var Se=ge||[],Ne=Se[0],je=Se[1];if((Ne=typeof Ne=="number"?Ne:-1/0)>(je=typeof je=="number"?je:1/0)){var _e=Ne;Ne=je,je=_e}return G.filter((function(c){return pe.some((function(g){var D=c.values[g];return D>=Ne&&D<=je}))}))};qt.autoRemove=function(G){return!G||typeof G[0]!="number"&&typeof G[1]!="number"};var Wt=Object.freeze({__proto__:null,text:ze,exactText:$e,exactTextCase:Ze,includes:Xe,includesAll:Ve,includesSome:ut,includesValue:Et,exact:Mt,equals:Pt,between:qt});m.resetFilters="resetFilters",m.setFilter="setFilter",m.setAllFilters="setAllFilters";var At=function(G){G.stateReducers.push(kt),G.useInstance.push(Gt)};function kt(G,pe,ge,Se){if(pe.type===m.init)return o({filters:[]},G);if(pe.type===m.resetFilters)return o({},G,{filters:Se.initialState.filters||[]});if(pe.type===m.setFilter){var Ne=pe.columnId,je=pe.filterValue,_e=Se.allColumns,c=Se.filterTypes,g=_e.find((function(we){return we.id===Ne}));if(!g)throw new Error("React-Table: Could not find a column with id: "+Ne);var D=M(g.filter,c||{},Wt),W=G.filters.find((function(we){return we.id===Ne})),ee=R(je,W&&W.value);return O(D.autoRemove,ee,g)?o({},G,{filters:G.filters.filter((function(we){return we.id!==Ne}))}):o({},G,W?{filters:G.filters.map((function(we){return we.id===Ne?{id:Ne,value:ee}:we}))}:{filters:[].concat(G.filters,[{id:Ne,value:ee}])})}if(pe.type===m.setAllFilters){var re=pe.filters,le=Se.allColumns,Ee=Se.filterTypes;return o({},G,{filters:R(re,G.filters).filter((function(we){var Re=le.find((function(Fe){return Fe.id===we.id}));return!O(M(Re.filter,Ee||{},Wt).autoRemove,we.value,Re)}))})}}function Gt(G){var pe=G.data,ge=G.rows,Se=G.flatRows,Ne=G.rowsById,je=G.allColumns,_e=G.filterTypes,c=G.manualFilters,g=G.defaultCanFilter,D=g!==void 0&&g,W=G.disableFilters,ee=G.state.filters,re=G.dispatch,le=G.autoResetFilters,Ee=le===void 0||le,we=n.useCallback((function(Ye,Qe){re({type:m.setFilter,columnId:Ye,filterValue:Qe})}),[re]),Re=n.useCallback((function(Ye){re({type:m.setAllFilters,filters:Ye})}),[re]);je.forEach((function(Ye){var Qe=Ye.id,xt=Ye.accessor,nt=Ye.defaultCanFilter,pt=Ye.disableFilters;Ye.canFilter=xt?d(pt!==!0&&void 0,W!==!0&&void 0,!0):d(nt,D,!1),Ye.setFilter=function(tt){return we(Ye.id,tt)};var Tt=ee.find((function(tt){return tt.id===Qe}));Ye.filterValue=Tt&&Tt.value}));var Fe=n.useMemo((function(){if(c||!ee.length)return[ge,Se,Ne];var Ye=[],Qe={};return[(function xt(nt,pt){pt===void 0&&(pt=0);var Tt=nt;return(Tt=ee.reduce((function(tt,Rt){var at=Rt.id,wt=Rt.value,dt=je.find((function(zt){return zt.id===at}));if(!dt)return tt;pt===0&&(dt.preFilteredRows=tt);var Nt=M(dt.filter,_e||{},Wt);return Nt?(dt.filteredRows=Nt(tt,[at],wt),dt.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+dt.id+"."),tt)}
94),nt)).forEach((function(tt){Ye.push(tt),Qe[tt.id]=tt,tt.subRows&&(tt.subRows=tt.subRows&&tt.subRows.length>0?xt(tt.subRows,pt+1):tt.subRows)})),Tt})(ge),Ye,Qe]}),[c,ee,ge,Se,Ne,je,_e]),He=Fe[0],Ie=Fe[1],De=Fe[2];n.useMemo((function(){je.filter((function(Ye){return!ee.find((function(Qe){return Qe.id===Ye.id}))})).forEach((function(Ye){Ye.preFilteredRows=He,Ye.filteredRows=He}))}),[He,ee,je]);var Je=k(Ee);L((function(){Je()&&re({type:m.resetFilters})}),[re,c?null:pe]),Object.assign(G,{preFilteredRows:ge,preFilteredFlatRows:Se,preFilteredRowsById:Ne,filteredRows:He,filteredFlatRows:Ie,filteredRowsById:De,rows:He,flatRows:Ie,rowsById:De,setFilter:we,setAllFilters:Re})}At.pluginName="useFilters",m.resetGlobalFilter="resetGlobalFilter",m.setGlobalFilter="setGlobalFilter";var ft=function(G){G.stateReducers.push(yt),G.useInstance.push($t)};function yt(G,pe,ge,Se){if(pe.type===m.resetGlobalFilter)return o({},G,{globalFilter:Se.initialState.globalFilter||void 0});if(pe.type===m.setGlobalFilter){var Ne=pe.filterValue,je=Se.userFilterTypes,_e=M(Se.globalFilter,je||{},Wt),c=R(Ne,G.globalFilter);return O(_e.autoRemove,c)?(G.globalFilter,f(G,["globalFilter"])):o({},G,{globalFilter:c})}}function $t(G){var pe=G.data,ge=G.rows,Se=G.flatRows,Ne=G.rowsById,je=G.allColumns,_e=G.filterTypes,c=G.globalFilter,g=G.manualGlobalFilter,D=G.state.globalFilter,W=G.dispatch,ee=G.autoResetGlobalFilter,re=ee===void 0||ee,le=G.disableGlobalFilter,Ee=n.useCallback((function(De){W({type:m.setGlobalFilter,filterValue:De})}),[W]),we=n.useMemo((function(){if(g||D===void 0)return[ge,Se,Ne];var De=[],Je={},Ye=M(c,_e||{},Wt);if(!Ye)return console.warn("Could not find a valid 'globalFilter' option."),ge;je.forEach((function(xt){var nt=xt.disableGlobalFilter;xt.canFilter=d(nt!==!0&&void 0,le!==!0&&void 0,!0)}));var Qe=je.filter((function(xt){return xt.canFilter===!0}));return[(function xt(nt){return(nt=Ye(nt,Qe.map((function(pt){return pt.id})),D)).forEach((function(pt){De.push(pt),Je[pt.id]=pt,pt.subRows=pt.subRows&&pt.subRows.length?xt(pt.subRows):pt.subRows})),nt})(ge),De,Je]}),[g,D,c,_e,je,ge,Se,Ne,le]),Re=we[0],Fe=we[1],He=we[2],Ie=k(re);L((function(){Ie()&&W({type:m.resetGlobalFilter})}),[W,g?null:pe]),Object.assign(G,{preGlobalFilteredRows:ge,preGlobalFilteredFlatRows:Se,preGlobalFilteredRowsById:Ne,globalFilteredRows:Re,globalFilteredFlatRows:Fe,globalFilteredRowsById:He,rows:Re,flatRows:Fe,rowsById:He,setGlobalFilter:Ee,disableGlobalFilter:le})}function Xt(G,pe){return pe.reduce((function(ge,Se){return ge+(typeof Se=="number"?Se:0)}),0)}ft.pluginName="useGlobalFilter";var et=Object.freeze({__proto__:null,sum:Xt,min:function(G){var pe=G[0]||0;return G.forEach((function(ge){typeof ge=="number"&&(pe=Math.min(pe,ge))})),pe},max:function(G){var pe=G[0]||0;return G.forEach((function(ge){typeof ge=="number"&&(pe=Math.max(pe,ge))})),pe},minMax:function(G){var pe=G[0]||0,ge=G[0]||0;return G.forEach((function(Se){typeof Se=="number"&&(pe=Math.min(pe,Se),ge=Math.max(ge,Se))})),pe+".."+ge},average:function(G){return Xt(0,G)/G.length},median:function(G){if(!G.length)return null;var pe=Math.floor(G.length/2),ge=[].concat(G).sort((function(Se,Ne){return Se-Ne}));return G.length%2!=0?ge[pe]:(ge[pe-1]+ge[pe])/2},unique:function(G){return Array.from(new Set(G).values())},uniqueCount:function(G){return new Set(G).size},count:function(G){return G.length}}),mt=[],ct={};m.resetGroupBy="resetGroupBy",m.setGroupBy="setGroupBy",m.toggleGroupBy="toggleGroupBy";var Ft=function(G){G.getGroupByToggleProps=[Qt],G.stateReducers.push(xr),G.visibleColumnsDeps.push((function(pe,ge){var Se=ge.instance;return[].concat(pe,[Se.state.groupBy])})),G.visibleColumns.push(ur),G.useInstance.push(cr),G.prepareRow.push(Ht)};Ft.pluginName="useGroupBy";var Qt=function(G,pe){var ge=pe.header;return[G,{onClick:ge.canGroupBy?function(Se){Se.persist(),ge.toggleGroupBy()}:void 0,style:{cursor:ge.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function xr(G,pe,ge,Se){if(pe.type===m.init)return o({groupBy:[]},G);if(pe.type===m.resetGroupBy)return o({},G,{groupBy:Se.initialState.groupBy||[]});if(pe.type===m.setGroupBy)return o({},G,{groupBy:pe.value});if(pe.type===m.toggleGroupBy){var Ne=pe.columnId,je=pe.value,_e=je!==void 0?je:!G.groupBy.includes(Ne);return o({},G,_e?{groupBy:[].concat(G.groupBy,[Ne])}:{groupBy:G.groupBy.filter((function(c){return c!==Ne}))})}}function ur(G,pe){var ge=pe.instance.state.groupBy,Se=ge.map((function(je){return G.find((function(_e){return _e.id===je}))}
94)).filter(Boolean),Ne=G.filter((function(je){return!ge.includes(je.id)}));return(G=[].concat(Se,Ne)).forEach((function(je){je.isGrouped=ge.includes(je.id),je.groupedIndex=ge.indexOf(je.id)})),G}var sr={};function cr(G){var pe=G.data,ge=G.rows,Se=G.flatRows,Ne=G.rowsById,je=G.allColumns,_e=G.flatHeaders,c=G.groupByFn,g=c===void 0?Rr:c,D=G.manualGroupBy,W=G.aggregations,ee=W===void 0?sr:W,re=G.plugins,le=G.state.groupBy,Ee=G.dispatch,we=G.autoResetGroupBy,Re=we===void 0||we,Fe=G.disableGroupBy,He=G.defaultCanGroupBy,Ie=G.getHooks;j(re,["useColumnOrder","useFilters"],"useGroupBy");var De=k(G);je.forEach((function(dt){var Nt=dt.accessor,zt=dt.defaultGroupBy,ar=dt.disableGroupBy;dt.canGroupBy=Nt?d(dt.canGroupBy,ar!==!0&&void 0,Fe!==!0&&void 0,!0):d(dt.canGroupBy,zt,He,!1),dt.canGroupBy&&(dt.toggleGroupBy=function(){return G.toggleGroupBy(dt.id)}),dt.Aggregated=dt.Aggregated||dt.Cell}));var Je=n.useCallback((function(dt,Nt){Ee({type:m.toggleGroupBy,columnId:dt,value:Nt})}),[Ee]),Ye=n.useCallback((function(dt){Ee({type:m.setGroupBy,value:dt})}),[Ee]);_e.forEach((function(dt){dt.getGroupByToggleProps=y(Ie().getGroupByToggleProps,{instance:De(),header:dt})}));var Qe=n.useMemo((function(){if(D||!le.length)return[ge,Se,Ne,mt,ct,Se,Ne];var dt=le.filter((function(or){return je.find((function(gr){return gr.id===or}))})),Nt=[],zt={},ar=[],ht={},Ut=[],Vt={},Yt=(function or(gr,pr,Qs){if(pr===void 0&&(pr=0),pr===dt.length)return gr.map((function(Dt){return o({},Dt,{depth:pr})}));var as=dt[pr],Sa=g(gr,as);return Object.entries(Sa).map((function(Dt,vn){var _r=Dt[0],Jr=Dt[1],Sn=as+":"+_r,eo=or(Jr,pr+1,Sn=Qs?Qs+">"+Sn:Sn),ls=pr?v(Jr,"leafRows"):Jr,fi=(function(lr,wn,Vi){var mi={};return je.forEach((function(er){if(dt.includes(er.id))mi[er.id]=wn[0]?wn[0].values[er.id]:null;else{var En=typeof er.aggregate=="function"?er.aggregate:ee[er.aggregate]||et[er.aggregate];if(En){var wa=wn.map((function(Ii){return Ii.values[er.id]})),Cn=lr.map((function(Ii){var Yi=Ii.values[er.id];if(!Vi&&er.aggregateValue){var to=typeof er.aggregateValue=="function"?er.aggregateValue:ee[er.aggregateValue]||et[er.aggregateValue];if(!to)throw console.info({column:er}),new Error("React Table: Invalid column.aggregateValue option for column listed above");Yi=to(Yi,Ii,er)}return Yi}));mi[er.id]=En(Cn,wa)}else{if(er.aggregate)throw console.info({column:er}),new Error("React Table: Invalid column.aggregate option for column listed above");mi[er.id]=null}}})),mi})(ls,Jr,pr),cs={id:Sn,isGrouped:!0,groupByID:as,groupByVal:_r,values:fi,subRows:eo,leafRows:ls,depth:pr,index:vn};return eo.forEach((function(lr){Nt.push(lr),zt[lr.id]=lr,lr.isGrouped?(ar.push(lr),ht[lr.id]=lr):(Ut.push(lr),Vt[lr.id]=lr)})),cs}))})(ge);return Yt.forEach((function(or){Nt.push(or),zt[or.id]=or,or.isGrouped?(ar.push(or),ht[or.id]=or):(Ut.push(or),Vt[or.id]=or)})),[Yt,Nt,zt,ar,ht,Ut,Vt]}),[D,le,ge,Se,Ne,je,ee,g]),xt=Qe[0],nt=Qe[1],pt=Qe[2],Tt=Qe[3],tt=Qe[4],Rt=Qe[5],at=Qe[6],wt=k(Re);L((function(){wt()&&Ee({type:m.resetGroupBy})}),[Ee,D?null:pe]),Object.assign(G,{preGroupedRows:ge,preGroupedFlatRow:Se,preGroupedRowsById:Ne,groupedRows:xt,groupedFlatRows:nt,groupedRowsById:pt,onlyGroupedFlatRows:Tt,onlyGroupedRowsById:tt,nonGroupedFlatRows:Rt,nonGroupedRowsById:at,rows:xt,flatRows:nt,rowsById:pt,toggleGroupBy:Je,setGroupBy:Ye})}function Ht(G){G.allCells.forEach((function(pe){var ge;pe.isGrouped=pe.column.isGrouped&&pe.column.id===G.groupByID,pe.isPlaceholder=!pe.isGrouped&&pe.column.isGrouped,pe.isAggregated=!pe.isGrouped&&!pe.isPlaceholder&&((ge=G.subRows)==null?void 0:ge.length)}))}function Rr(G,pe){return G.reduce((function(ge,Se,Ne){var je=""+Se.values[pe];return ge[je]=Array.isArray(ge[je])?ge[je]:[],ge[je].push(Se),ge}),{})}var Sr=/([0-9]+)/gm;function Hr(G,pe){return G===pe?0:G>pe?1:-1}function Ar(G,pe,ge){return[G.values[ge],pe.values[ge]]}function Pr(G){return typeof G=="number"?isNaN(G)||G===1/0||G===-1/0?"":String(G):typeof G=="string"?G:""}var di=Object.freeze({__proto__:null,alphanumeric:function(G,pe,ge){var Se=Ar(G,pe,ge),Ne=Se[0],je=Se[1];for(Ne=Pr(Ne),je=Pr(je),Ne=Ne.split(Sr).filter(Boolean),je=je.split(Sr).filter(
94Boolean);Ne.length&&je.length;){var _e=Ne.shift(),c=je.shift(),g=parseInt(_e,10),D=parseInt(c,10),W=[g,D].sort();if(isNaN(W[0])){if(_e>c)return 1;if(c>_e)return-1}else{if(isNaN(W[1]))return isNaN(g)?-1:1;if(g>D)return 1;if(D>g)return-1}}return Ne.length-je.length},datetime:function(G,pe,ge){var Se=Ar(G,pe,ge),Ne=Se[0],je=Se[1];return Hr(Ne=Ne.getTime(),je=je.getTime())},basic:function(G,pe,ge){var Se=Ar(G,pe,ge);return Hr(Se[0],Se[1])},string:function(G,pe,ge){var Se=Ar(G,pe,ge),Ne=Se[0],je=Se[1];for(Ne=Ne.split("").filter(Boolean),je=je.split("").filter(Boolean);Ne.length&&je.length;){var _e=Ne.shift(),c=je.shift(),g=_e.toLowerCase(),D=c.toLowerCase();if(g>D)return 1;if(D>g)return-1;if(_e>c)return 1;if(c>_e)return-1}return Ne.length-je.length},number:function(G,pe,ge){var Se=Ar(G,pe,ge),Ne=Se[0],je=Se[1],_e=/[^0-9.]/gi;return Hr(Ne=Number(String(Ne).replace(_e,"")),je=Number(String(je).replace(_e,"")))}});m.resetSortBy="resetSortBy",m.setSortBy="setSortBy",m.toggleSortBy="toggleSortBy",m.clearSortBy="clearSortBy",x.sortType="alphanumeric",x.sortDescFirst=!1;var Pi=function(G){G.getSortByToggleProps=[un],G.stateReducers.push(_t),G.useInstance.push(Nr)};Pi.pluginName="useSortBy";var un=function(G,pe){var ge=pe.instance,Se=pe.column,Ne=ge.isMultiSortEvent,je=Ne===void 0?function(_e){return _e.shiftKey}:Ne;return[G,{onClick:Se.canSort?function(_e){_e.persist(),Se.toggleSortBy(void 0,!ge.disableMultiSort&&je(_e))}:void 0,style:{cursor:Se.canSort?"pointer":void 0},title:Se.canSort?"Toggle SortBy":void 0}]};function _t(G,pe,ge,Se){if(pe.type===m.init)return o({sortBy:[]},G);if(pe.type===m.resetSortBy)return o({},G,{sortBy:Se.initialState.sortBy||[]});if(pe.type===m.clearSortBy)return o({},G,{sortBy:G.sortBy.filter((function(De){return De.id!==pe.columnId}))});if(pe.type===m.setSortBy)return o({},G,{sortBy:pe.sortBy});if(pe.type===m.toggleSortBy){var Ne,je=pe.columnId,_e=pe.desc,c=pe.multi,g=Se.allColumns,D=Se.disableMultiSort,W=Se.disableSortRemove,ee=Se.disableMultiRemove,re=Se.maxMultiSortColCount,le=re===void 0?Number.MAX_SAFE_INTEGER:re,Ee=G.sortBy,we=g.find((function(De){return De.id===je})).sortDescFirst,Re=Ee.find((function(De){return De.id===je})),Fe=Ee.findIndex((function(De){return De.id===je})),He=_e!=null,Ie=[];return(Ne=!D&&c?Re?"toggle":"add":Fe!==Ee.length-1||Ee.length!==1?"replace":Re?"toggle":"replace")!="toggle"||W||He||c&&ee||!(Re&&Re.desc&&!we||!Re.desc&&we)||(Ne="remove"),Ne==="replace"?Ie=[{id:je,desc:He?_e:we}
94]:Ne==="add"?(Ie=[].concat(Ee,[{id:je,desc:He?_e:we}])).splice(0,Ie.length-le):Ne==="toggle"?Ie=Ee.map((function(De){return De.id===je?o({},De,{desc:He?_e:!Re.desc}):De})):Ne==="remove"&&(Ie=Ee.filter((function(De){return De.id!==je}))),o({},G,{sortBy:Ie})}}function Nr(G){var pe=G.data,ge=G.rows,Se=G.flatRows,Ne=G.allColumns,je=G.orderByFn,_e=je===void 0?hi:je,c=G.sortTypes,g=G.manualSortBy,D=G.defaultCanSort,W=G.disableSortBy,ee=G.flatHeaders,re=G.state.sortBy,le=G.dispatch,Ee=G.plugins,we=G.getHooks,Re=G.autoResetSortBy,Fe=Re===void 0||Re;j(Ee,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var He=n.useCallback((function(nt){le({type:m.setSortBy,sortBy:nt})}),[le]),Ie=n.useCallback((function(nt,pt,Tt){le({type:m.toggleSortBy,columnId:nt,desc:pt,multi:Tt})}),[le]),De=k(G);ee.forEach((function(nt){var pt=nt.accessor,Tt=nt.canSort,tt=nt.disableSortBy,Rt=nt.id,at=pt?d(tt!==!0&&void 0,W!==!0&&void 0,!0):d(D,Tt,!1);nt.canSort=at,nt.canSort&&(nt.toggleSortBy=function(dt,Nt){return Ie(nt.id,dt,Nt)},nt.clearSortBy=function(){le({type:m.clearSortBy,columnId:nt.id})}),nt.getSortByToggleProps=y(we().getSortByToggleProps,{instance:De(),column:nt});var wt=re.find((function(dt){return dt.id===Rt}));nt.isSorted=!!wt,nt.sortedIndex=re.findIndex((function(dt){return dt.id===Rt})),nt.isSortedDesc=nt.isSorted?wt.desc:void 0}));var Je=n.useMemo((function(){if(g||!re.length)return[ge,Se];var nt=[],pt=re.filter((function(Tt){return Ne.find((function(tt){return tt.id===Tt.id}))}));return[(function Tt(tt){var Rt=_e(tt,pt.map((function(at){var wt=Ne.find((function(zt){return zt.id===at.id}));if(!wt)throw new Error("React-Table: Could not find a column with id: "+at.id+" while sorting");var dt=wt.sortType,Nt=p(dt)||(c||{})[dt]||di[dt];if(!Nt)throw new Error("React-Table: Could not find a valid sortType of '"+dt+"' for column '"+at.id+"'.");return function(zt,ar){return Nt(zt,ar,at.id,at.desc)}})),pt.map((function(at){var wt=Ne.find((function(dt){return dt.id===at.id}));return wt&&wt.sortInverted?at.desc:!at.desc})));return Rt.forEach((function(at){nt.push(at),at.subRows&&at.subRows.length!==0&&(at.subRows=Tt(at.subRows))})),Rt})(ge),nt]}),[g,re,ge,Se,Ne,_e,c]),Ye=Je[0],Qe=Je[1],xt=k(Fe);L((function(){xt()&&le({type:m.resetSortBy})}),[g?null:pe]),Object.assign(G,{preSortedRows:ge,preSortedFlatRows:Se,sortedRows:Ye,sortedFlatRows:Qe,rows:Ye,flatRows:Qe,setSortBy:He,toggleSortBy:Ie})}function hi(G,pe,ge){return[].concat(G).sort((function(Se,Ne){for(var je=0;je<pe.length;je+=1){var _e=pe[je],c=ge[je]===!1||ge[je]==="desc",g=_e(Se,Ne);
94if(g!==0)return c?-g:g}return ge[0]?Se.index-Ne.index:Ne.index-Se.index}))}m.resetPage="resetPage",m.gotoPage="gotoPage",m.setPageSize="setPageSize";var Zr=function(G){G.stateReducers.push(pn),G.useInstance.push(Wi)};function pn(G,pe,ge,Se){if(pe.type===m.init)return o({pageSize:10,pageIndex:0},G);if(pe.type===m.resetPage)return o({},G,{pageIndex:Se.initialState.pageIndex||0});if(pe.type===m.gotoPage){var Ne=Se.pageCount,je=Se.page,_e=R(pe.pageIndex,G.pageIndex),c=!1;return _e>G.pageIndex?c=Ne===-1?je.length>=G.pageSize:_e<Ne:_e<G.pageIndex&&(c=_e>-1),c?o({},G,{pageIndex:_e}):G}if(pe.type===m.setPageSize){var g=pe.pageSize,D=G.pageSize*G.pageIndex;return o({},G,{pageIndex:Math.floor(D/g),pageSize:g})}}function Wi(G){var pe=G.rows,ge=G.autoResetPage,Se=ge===void 0||ge,Ne=G.manualExpandedKey,je=Ne===void 0?"expanded":Ne,_e=G.plugins,c=G.pageCount,g=G.paginateExpandedRows,D=g===void 0||g,W=G.expandSubRows,ee=W===void 0||W,re=G.state,le=re.pageSize,Ee=re.pageIndex,we=re.expanded,Re=re.globalFilter,Fe=re.filters,He=re.groupBy,Ie=re.sortBy,De=G.dispatch,Je=G.data,Ye=G.manualPagination;j(_e,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var Qe=k(Se);L((function(){Qe()&&De({type:m.resetPage})}),[De,Ye?null:Je,Re,Fe,He,Ie]);var xt=Ye?c:Math.ceil(pe.length/le),nt=n.useMemo((function(){return xt>0?[].concat(new Array(xt)).fill(null).map((function(Nt,zt){return zt})):[]}),[xt]),pt=n.useMemo((function(){var Nt;if(Ye)Nt=pe;else{var zt=le*Ee,ar=zt+le;Nt=pe.slice(zt,ar)}return D?Nt:b(Nt,{manualExpandedKey:je,expanded:we,expandSubRows:ee})}),[ee,we,je,Ye,Ee,le,D,pe]),Tt=Ee>0,tt=xt===-1?pt.length>=le:Ee<xt-1,Rt=n.useCallback((function(Nt){De({type:m.gotoPage,pageIndex:Nt})}),[De]),at=n.useCallback((function(){return Rt((function(Nt){return Nt-1}))}),[Rt]),wt=n.useCallback((function(){return Rt((function(Nt){return Nt+1}))}),[Rt]),dt=n.useCallback((function(Nt){De({type:m.setPageSize,pageSize:Nt})}),[De]);Object.assign(G,{pageOptions:nt,pageCount:xt,page:pt,canPreviousPage:Tt,canNextPage:tt,gotoPage:Rt,previousPage:at,nextPage:wt,setPageSize:dt})}Zr.pluginName="usePagination",m.resetPivot="resetPivot",m.togglePivot="togglePivot";var fn=function(G){G.getPivotToggleProps=[ua],G.stateReducers.push(Ls),G.useInstanceAfterData.push(Fs),G.allColumns.push(Yn),G.accessValue.push(Ds),G.materializedColumns.push(wr),G.materializedColumnsDeps.push(Ni),G.visibleColumns.push(mn),G.visibleColumnsDeps.push(pa),G.useInstance.push(fa),G.prepareRow.push(Xn)};fn.pluginName="usePivotColumns";var Os=[],ua=function(G,pe){var ge=pe.header;return[G,{onClick:ge.canPivot?function(Se){Se.persist(),ge.togglePivot()}:void 0,style:{cursor:ge.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function Ls(G,pe,ge,Se){if(pe.type===m.init)return o({pivotColumns:Os},G);if(pe.type===m.resetPivot)return o({},G,{pivotColumns:Se.initialState.pivotColumns||Os});if(pe.type===m.togglePivot){var Ne=pe.columnId,je=pe.value,_e=je!==void 0?je:!G.pivotColumns.includes(Ne);return o({},G,_e?{pivotColumns:[].concat(G.pivotColumns,[Ne])}:{pivotColumns:G.pivotColumns.filter((function(c){return c!==Ne}))})}}function Fs(G){G.allColumns.forEach((function(pe){pe.isPivotSource=G.state.pivotColumns.includes(pe.id)}))}function Yn(G,pe){var ge=pe.instance;return G.forEach((function(Se){Se.isPivotSource=ge.state.pivotColumns.includes(Se.id),Se.uniqueValues=new Set})),G}function Ds(G,pe){var ge=pe.column;return ge.uniqueValues&&G!==void 0&&ge.uniqueValues.add(G),G}function wr(G,pe){var ge=pe.instance,Se=ge.allColumns,Ne=ge.state;if(!Ne.pivotColumns.length||!Ne.groupBy||!Ne.groupBy.length)return G;var je=Ne.pivotColumns.map((function(g){return Se.find((function(D){return D.id===g}))})).filter(Boolean),_e=Se.filter((function(g){return!g.isPivotSource&&!Ne.groupBy.includes(g.id)&&!Ne.pivotColumns.includes(g.id)})),c=P((function g(D,W,ee){D===void 0&&(D=0),ee===void 0&&(ee=[]);var re=je[D];return re?Array.from(re.uniqueValues).sort().map((function(le){var Ee=o({},re,{Header:re.PivotHeader||typeof re.header=="string"?re.Header+": "+le:le,isPivotGroup:!0,parent:W,depth:D,id:W?W.id+"."+re.id+"."+le:re.id+"."+le,pivotValue:le});return Ee.columns=g(D+1,Ee,[].concat(ee,[function(we){return we.values[re.id]===le}])),Ee})):_e.map((function(le){return o({},le,{canPivot:!1,isPivoted:!0,parent:W,depth:D,id:""+(W?W.id+"."+le.id:le.id),accessor:function(Ee,we,Re){if(ee.every((function(Fe){return Fe(Re)}
94)))return Re.values[le.id]}})}))})());return[].concat(G,c)}function Ni(G,pe){var ge=pe.instance.state,Se=ge.pivotColumns,Ne=ge.groupBy;return[].concat(G,[Se,Ne])}function mn(G,pe){var ge=pe.instance.state;return G=G.filter((function(Se){return!Se.isPivotSource})),ge.pivotColumns.length&&ge.groupBy&&ge.groupBy.length&&(G=G.filter((function(Se){return Se.isGrouped||Se.isPivoted}))),G}function pa(G,pe){var ge=pe.instance;return[].concat(G,[ge.state.pivotColumns,ge.state.groupBy])}function fa(G){var pe=G.columns,ge=G.allColumns,Se=G.flatHeaders,Ne=G.getHooks,je=G.plugins,_e=G.dispatch,c=G.autoResetPivot,g=c===void 0||c,D=G.manaulPivot,W=G.disablePivot,ee=G.defaultCanPivot;j(je,["useGroupBy"],"usePivotColumns");var re=k(G);ge.forEach((function(Ee){var we=Ee.accessor,Re=Ee.defaultPivot,Fe=Ee.disablePivot;Ee.canPivot=we?d(Ee.canPivot,Fe!==!0&&void 0,W!==!0&&void 0,!0):d(Ee.canPivot,Re,ee,!1),Ee.canPivot&&(Ee.togglePivot=function(){return G.togglePivot(Ee.id)}),Ee.Aggregated=Ee.Aggregated||Ee.Cell})),Se.forEach((function(Ee){Ee.getPivotToggleProps=y(Ne().getPivotToggleProps,{instance:re(),header:Ee})}));var le=k(g);L((function(){le()&&_e({type:m.resetPivot})}),[_e,D?null:pe]),Object.assign(G,{togglePivot:function(Ee,we){_e({type:m.togglePivot,columnId:Ee,value:we})}})}function Xn(G){G.allCells.forEach((function(pe){pe.isPivoted=pe.column.isPivoted}))}m.resetSelectedRows="resetSelectedRows",m.toggleAllRowsSelected="toggleAllRowsSelected",m.toggleRowSelected="toggleRowSelected",m.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var Kn=function(G){G.getToggleRowSelectedProps=[gn],G.getToggleAllRowsSelectedProps=[Bs],G.getToggleAllPageRowsSelectedProps=[ma],G.stateReducers.push(ga),G.useInstance.push(zr),G.prepareRow.push(Hs)};Kn.pluginName="useRowSelect";var gn=function(G,pe){var ge=pe.instance,Se=pe.row,Ne=ge.manualRowSelectedKey,je=Ne===void 0?"isSelected":Ne;return[G,{onChange:function(_e){Se.toggleRowSelected(_e.target.checked)},style:{cursor:"pointer"},checked:!(!Se.original||!Se.original[je])||Se.isSelected,title:"Toggle Row Selected",indeterminate:Se.isSomeSelected}]},Bs=function(G,pe){var ge=pe.instance;return[G,{onChange:function(Se){ge.toggleAllRowsSelected(Se.target.checked)},style:{cursor:"pointer"},checked:ge.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:!!(!ge.isAllRowsSelected&&Object.keys(ge.state.selectedRowIds).length)}]},ma=function(G,pe){var ge=pe.instance;return[G,{onChange:function(Se){ge.toggleAllPageRowsSelected(Se.target.checked)},style:{cursor:"pointer"},checked:ge.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:!!(!ge.isAllPageRowsSelected&&ge.page.some((function(Se){var Ne=Se.id;return ge.state.selectedRowIds[Ne]})))}]};function ga(G,pe,ge,Se){if(pe.type===m.init)return o({selectedRowIds:{}},G);if(pe.type===m.resetSelectedRows)return o({},G,{selectedRowIds:Se.initialState.selectedRowIds||{}});if(pe.type===m.toggleAllRowsSelected){var Ne=pe.value,je=Se.isAllRowsSelected,_e=Se.rowsById,c=Se.nonGroupedRowsById,g=c===void 0?_e:c,D=Ne!==void 0?Ne:!je,W=Object.assign({},G.selectedRowIds);return D?Object.keys(g).forEach((function(Rt){W[Rt]=!0})):Object.keys(g).forEach((function(Rt){delete W[Rt]})),o({},G,{selectedRowIds:W})}if(pe.type===m.toggleRowSelected){var ee=pe.id,re=pe.value,le=Se.rowsById,Ee=Se.selectSubRows,we=Ee===void 0||Ee,Re=Se.getSubRows,Fe=G.selectedRowIds[ee],He=re!==void 0?re:!Fe;if(Fe===He)return G;var Ie=o({},G.selectedRowIds);return(function Rt(at){var wt=le[at];if(wt&&(wt.isGrouped||(He?Ie[at]=!0:delete Ie[at]),we&&Re(wt)))return Re(wt).forEach((function(dt){return Rt(dt.id)}))})(ee),o({},G,{selectedRowIds:Ie})}if(pe.type===m.toggleAllPageRowsSelected){var De=pe.value,Je=Se.page,Ye=Se.rowsById,Qe=Se.selectSubRows,xt=Qe===void 0||Qe,nt=Se.isAllPageRowsSelected,pt=Se.getSubRows,Tt=De!==void 0?De:!nt,tt=o({},G.selectedRowIds);return Je.forEach((function(Rt){return(function at(wt){var dt=Ye[wt];if(dt.isGrouped||(Tt?tt[wt]=!0:delete tt[wt]),xt&&pt(dt))return pt(dt).forEach((function(Nt){return at(Nt.id)}))})(Rt.id)})),o({},G,{selectedRowIds:tt})}return G}function zr(G){var pe=G.data,ge=G.rows,Se=G.getHooks,Ne=G.plugins,je=G.rowsById,_e=G.nonGroupedRowsById,c=_e===void 0?je:_e,g=G.autoResetSelectedRows,D=g===void 0||g,W=G.state.selectedRowIds,ee=G.selectSubRows,re=ee===void 0||ee,le=G.dispatch,Ee=G.page,we=G.getSubRows;j(Ne,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var Re=n.useMemo((function(){var pt=[];return ge.forEach((function(Tt){var tt=re?(function Rt(at,wt,dt){if(wt[at.id])return!0;var Nt=dt(at);if(Nt&&Nt.length){var zt=!0,ar=!1;return Nt.forEach((function(ht){ar&&!zt||(Rt(ht,wt,dt)?ar=!0:zt=!1)})),!!zt||!!ar&&null}return!1})(Tt,W,we):!!W[Tt.id];Tt.isSelected=!!tt,Tt.isSomeSelected=tt===null,tt&&pt.push(Tt)})),pt}),[ge,re,W,we]),Fe=!!(Object.keys(c).length&&Object.keys(W).length),He=Fe;Fe&&Object.keys(c).some((function(pt){return!W[pt]}))&&(Fe=!1),Fe||Ee&&Ee.length&&Ee.some((function(pt){var Tt=pt.id;return!W[Tt]}))&&(He=!1);var Ie=k(D);L((function(){Ie()&&le({type:m.resetSelectedRows})}),[le,pe]);var De=n.useCallback((function(pt){return le({type:m.toggleAllRowsSelected,value:pt})}),[le]),Je=n.useCallback((function(pt){return le({type:m.toggleAllPageRowsSelected,value:pt})}),[le]),Ye=n.useCallback((function(pt,Tt){return le({type:m.toggleRowSelected,id:pt,value:Tt})}),[le]),Qe=k(G),xt=y(Se().getToggleAllRowsSelectedProps,{instance:Qe()}),nt=y(Se().getToggleAllPageRowsSelectedProps,{instance:Qe()});Object.assign(G,{selectedFlatRows:Re,isAllRowsSelected:Fe,isAllPageRowsSelected:He,toggleRowSelected:Ye,toggleAllRowsSelected:De,getToggleAllRowsSelectedProps:xt,getToggleAllPageRowsSelectedProps:nt,toggleAllPageRowsSelected:Je})}function Hs(G,pe){var ge=pe.instance;G.toggleRowSelected=function(Se){return ge.toggleRowSelected(G.id,Se)},G.getToggleRowSelectedProps=y(ge.getHooks().getToggleRowSelectedProps,{instance:ge,row:G})}var _i=function(G){return{}},zs=function(G){return{}};m.setRowState="setRowState",m.setCellState="setCellState",m.resetRowState="resetRowState";var Us=function(G){G.stateReducers.push(ui),G.useInstance.push(pi),G.prepareRow.push(Zn)};function ui(G,pe,ge,Se){var Ne=Se.initialRowStateAccessor,je=Ne===void 0?_i:Ne,_e=Se.initialCellStateAccessor,c=_e===void 0?zs:_e,g=Se.rowsById;if(pe.type===m.init)return o({rowState:{}},G);if(pe.type===m.resetRowState)return o({},G,{rowState:Se.initialState.rowState||{}});if(pe.type===m.setRowState){var D,W=pe.rowId,ee=pe.value,re=G.rowState[W]!==void 0?G.rowState[W]:je(g[W]);return o({},G,{rowState:o({},G.rowState,(D={},D[W]=R(ee,re),D))})}if(pe.type===m.setCellState){var le,Ee,we,Re,Fe,He=pe.rowId,Ie=pe.columnId,De=pe.value,Je=G.rowState[He]!==void 0?G.rowState[He]:je(g[He]),Ye=(Je==null||(le=Je.cellState)==null?void 0:le[Ie])!==void 0?Je.cellState[Ie]:c((Ee=g[He])==null||(we=Ee.cells)==null?void 0:we.find((function(Qe){return Qe.column.id===Ie})));return o({},G,{rowState:o({},G.rowState,(Fe={},Fe[He]=o({},Je,{cellState:o({},Je.cellState||{},(Re={},Re[Ie]=R(De,Ye),Re))}),Fe))})}}function pi(G){var pe=G.autoResetRowState,ge=pe===void 0||pe,Se=G.data,Ne=G.dispatch,je=n.useCallback((function(g,D){return Ne({type:m.setRowState,rowId:g,value:D})}),[Ne]),_e=n.useCallback((function(g,D,W){return Ne({type:m.setCellState,rowId:g,columnId:D,value:W})}),[Ne]),c=k(ge);L((function(){c()&&Ne({type:m.resetRowState})}),[Se]),Object.assign(G,{setRowState:je,setCellState:_e})}function Zn(G,pe){var ge=pe.instance,Se=ge.initialRowStateAccessor,Ne=Se===void 0?_i:Se,je=ge.initialCellStateAccessor,_e=je===void 0?zs:je,c=ge.state.rowState;G&&(G.state=c[G.id]!==void 0?c[G.id]:Ne(G),G.setState=function(g){return ge.setRowState(G.id,g)}
94,G.cells.forEach((function(g){G.state.cellState||(G.state.cellState={}),g.state=G.state.cellState[g.column.id]!==void 0?G.state.cellState[g.column.id]:_e(g),g.setState=function(D){return ge.setCellState(G.id,g.column.id,D)}})))}Us.pluginName="useRowState",m.resetColumnOrder="resetColumnOrder",m.setColumnOrder="setColumnOrder";var Gs=function(G){G.stateReducers.push(qi),G.visibleColumnsDeps.push((function(pe,ge){var Se=ge.instance;return[].concat(pe,[Se.state.columnOrder])})),G.visibleColumns.push($s),G.useInstance.push(Jn)};function qi(G,pe,ge,Se){return pe.type===m.init?o({columnOrder:[]},G):pe.type===m.resetColumnOrder?o({},G,{columnOrder:Se.initialState.columnOrder||[]}):pe.type===m.setColumnOrder?o({},G,{columnOrder:R(pe.columnOrder,G.columnOrder)}):void 0}function $s(G,pe){var ge=pe.instance.state.columnOrder;if(!ge||!ge.length)return G;for(var Se=[].concat(ge),Ne=[].concat(G),je=[],_e=function(){var c=Se.shift(),g=Ne.findIndex((function(D){return D.id===c}));g>-1&&je.push(Ne.splice(g,1)[0])};Ne.length&&Se.length;)_e();return[].concat(je,Ne)}function Jn(G){var pe=G.dispatch;G.setColumnOrder=n.useCallback((function(ge){return pe({type:m.setColumnOrder,columnOrder:ge})}),[pe])}Gs.pluginName="useColumnOrder",x.canResize=!0,m.columnStartResizing="columnStartResizing",m.columnResizing="columnResizing",m.columnDoneResizing="columnDoneResizing",m.resetResize="resetResize";var Qn=function(G){G.getResizerProps=[Ws],G.getHeaderProps.push({style:{position:"relative"}}),G.stateReducers.push(ya),G.useInstance.push(xa),G.useInstanceBeforeDimensions.push(qs)},Ws=function(G,pe){var ge=pe.instance,Se=pe.header,Ne=ge.dispatch,je=function(_e,c){var g=!1;if(_e.type==="touchstart"){if(_e.touches&&_e.touches.length>1)return;g=!0}var D,W,ee=(function(Ie){var De=[];return(function Je(Ye){Ye.columns&&Ye.columns.length&&Ye.columns.map(Je),De.push(Ye)})(Ie),De})(c).map((function(Ie){return[Ie.id,Ie.totalWidth]})),re=g?Math.round(_e.touches[0].clientX):_e.clientX,le=function(){window.cancelAnimationFrame(D),D=null,Ne({type:m.columnDoneResizing})},Ee=function(){window.cancelAnimationFrame(D),D=null,Ne({type:m.columnResizing,clientX:W})},we=function(Ie){W=Ie,D||(D=window.requestAnimationFrame(Ee))},Re={mouse:{moveEvent:"mousemove",moveHandler:function(Ie){return we(Ie.clientX)},upEvent:"mouseup",upHandler:function(Ie){document.removeEventListener("mousemove",Re.mouse.moveHandler),document.removeEventListener("mouseup",Re.mouse.upHandler),le()}},touch:{moveEvent:"touchmove",moveHandler:function(Ie){return Ie.cancelable&&(Ie.preventDefault(),Ie.stopPropagation()),we(Ie.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(Ie){document.removeEventListener(Re.touch.moveEvent,Re.touch.moveHandler),document.removeEventListener(Re.touch.upEvent,Re.touch.moveHandler),le()}}},Fe=g?Re.touch:Re.mouse,He=!!(function(){if(typeof U=="boolean")return U;var Ie=!1;try{var De={get passive(){return Ie=!0,!1}};window.addEventListener("test",null,De),window.removeEventListener("test",null,De)}catch{Ie=!1}return U=Ie})()&&{passive:!1};document.addEventListener(Fe.moveEvent,Fe.moveHandler,He),document.addEventListener(Fe.upEvent,Fe.upHandler,He),Ne({type:m.columnStartResizing,columnId:c.id,columnWidth:c.totalWidth,headerIdWidths:ee,clientX:re})};return[G,{onMouseDown:function(_e){return _e.persist()||je(_e,Se)},onTouchStart:function(_e){return _e.persist()||je(_e,Se)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function ya(G,pe){if(pe.type===m.init)return o({columnResizing:{columnWidths:{}}},G);if(pe.type===m.resetResize)return o({},G,{columnResizing:{columnWidths:{}}});if(pe.type===m.columnStartResizing){var ge=pe.clientX,Se=pe.columnId,Ne=pe.columnWidth,je=pe.headerIdWidths;return o({},G,{columnResizing:o({},G.columnResizing,{startX:ge,headerIdWidths:je,columnWidth:Ne,isResizingColumn:Se})})}if(pe.type===m.columnResizing){var _e=pe.clientX,c=G.columnResizing,g=c.startX,D=c.columnWidth,W=c.headerIdWidths,ee=(_e-g)/D,re={};return(W===void 0?[]:W).forEach((function(le){var Ee=le[0],we=le[1];re[Ee]=Math.max(we+we*ee,0)})),o({},G,{columnResizing:o({},G.columnResizing,{columnWidths:o({},G.columnResizing.columnWidths,{},re)})})}return pe.type===m.columnDoneResizing?o({},G,{columnResizing:o({},G.columnResizing,{startX:null,isResizingColumn:null})}):void 0}Qn.pluginName="useResizeColumns";var qs=function(G){var pe=G.flatHeaders,ge=G.disableResizing,Se=G.getHooks,Ne=G.state.columnResizing,
94je=k(G);pe.forEach((function(_e){var c=d(_e.disableResizing!==!0&&void 0,ge!==!0&&void 0,!0);_e.canResize=c,_e.width=Ne.columnWidths[_e.id]||_e.originalWidth||_e.width,_e.isResizing=Ne.isResizingColumn===_e.id,c&&(_e.getResizerProps=y(Se().getResizerProps,{instance:je(),header:_e}))}))};function xa(G){var pe=G.plugins,ge=G.dispatch,Se=G.autoResetResize,Ne=Se===void 0||Se,je=G.columns;j(pe,["useAbsoluteLayout"],"useResizeColumns");var _e=k(Ne);L((function(){_e()&&ge({type:m.resetResize})}),[je]);var c=n.useCallback((function(){return ge({type:m.resetResize})}),[ge]);Object.assign(G,{resetResizing:c})}var es={position:"absolute",top:0},yn=function(G){G.getTableBodyProps.push(xn),G.getRowProps.push(xn),G.getHeaderGroupProps.push(xn),G.getFooterGroupProps.push(xn),G.getHeaderProps.push((function(pe,ge){var Se=ge.column;return[pe,{style:o({},es,{left:Se.totalLeft+"px",width:Se.totalWidth+"px"})}]})),G.getCellProps.push((function(pe,ge){var Se=ge.cell;return[pe,{style:o({},es,{left:Se.column.totalLeft+"px",width:Se.column.totalWidth+"px"})}]})),G.getFooterProps.push((function(pe,ge){var Se=ge.column;return[pe,{style:o({},es,{left:Se.totalLeft+"px",width:Se.totalWidth+"px"})}]}))};yn.pluginName="useAbsoluteLayout";var xn=function(G,pe){return[G,{style:{position:"relative",width:pe.instance.totalColumnsWidth+"px"}}]},ts={display:"inline-block",boxSizing:"border-box"},rs=function(G,pe){return[G,{style:{display:"flex",width:pe.instance.totalColumnsWidth+"px"}}]},Vs=function(G){G.getRowProps.push(rs),G.getHeaderGroupProps.push(rs),G.getFooterGroupProps.push(rs),G.getHeaderProps.push((function(pe,ge){var Se=ge.column;return[pe,{style:o({},ts,{width:Se.totalWidth+"px"})}]})),G.getCellProps.push((function(pe,ge){var Se=ge.cell;return[pe,{style:o({},ts,{width:Se.column.totalWidth+"px"})}]})),G.getFooterProps.push((function(pe,ge){var Se=ge.column;return[pe,{style:o({},ts,{width:Se.totalWidth+"px"})}]}))};function Ys(G){G.getTableProps.push(ba),G.getRowProps.push(is),G.getHeaderGroupProps.push(is),G.getFooterGroupProps.push(is),G.getHeaderProps.push(Xs),G.getCellProps.push(ns),G.getFooterProps.push(Ks)}Vs.pluginName="useBlockLayout",Ys.pluginName="useFlexLayout";var ba=function(G,pe){return[G,{style:{minWidth:pe.instance.totalColumnsMinWidth+"px"}}]},is=function(G,pe){return[G,{style:{display:"flex",flex:"1 0 auto",minWidth:pe.instance.totalColumnsMinWidth+"px"}}]},Xs=function(G,pe){var ge=pe.column;return[G,{style:{boxSizing:"border-box",flex:ge.totalFlexWidth?ge.totalFlexWidth+" 0 auto":void 0,minWidth:ge.totalMinWidth+"px",width:ge.totalWidth+"px"}}]},ns=function(G,pe){var ge=pe.cell;return[G,{style:{boxSizing:"border-box",flex:ge.column.totalFlexWidth+" 0 auto",minWidth:ge.column.totalMinWidth+"px",width:ge.column.totalWidth+"px"}}]},Ks=function(G,pe){var ge=pe.column;return[G,{style:{boxSizing:"border-box",flex:ge.totalFlexWidth?ge.totalFlexWidth+" 0 auto":void 0,minWidth:ge.totalMinWidth+"px",width:ge.totalWidth+"px"}}]};function bn(G){G.stateReducers.push(va),G.getTableProps.push(Zs),G.getHeaderProps.push(Js),G.getRowProps.push(ss)}m.columnStartResizing="columnStartResizing",m.columnResizing="columnResizing",m.columnDoneResizing="columnDoneResizing",m.resetResize="resetResize",bn.pluginName="useGridLayout";var Zs=function(G,pe){var ge=pe.instance;return[G,{style:{display:"grid",gridTemplateColumns:ge.visibleColumns.map((function(Se){var Ne;return ge.state.gridLayout.columnWidths[Se.id]?ge.state.gridLayout.columnWidths[Se.id]+"px":(Ne=ge.state.columnResizing)!=null&&Ne.isResizingColumn?ge.state.gridLayout.startWidths[Se.id]+"px":typeof Se.width=="number"?Se.width+"px":Se.width})).join(" ")}}]},Js=function(G,pe){var ge=pe.column;return[G,{id:"header-cell-"+ge.id,style:{position:"sticky",gridColumn:"span "+ge.totalVisibleHeaderCount}}]},ss=function(G,pe){var ge=pe.row;return ge.isExpanded?[G,{style:{gridColumn:"1 / "+(ge.cells.length+1)}}]:[G,{}]};function va(G,pe,ge,Se){if(pe.type===m.init)return o({gridLayout:{columnWidths:{}}},G);if(pe.type===m.resetResize)return o({},G,{gridLayout:{columnWidths:{}}});if(pe.type===m.columnStartResizing){var Ne=pe.columnId,je=pe.headerIdWidths,_e=os(Ne);if(_e!==void 0){var c=Se.visibleColumns.reduce((function(De,Je){var Ye;return o({},De,((Ye={})[Je.id]=os(Je.id),Ye))}),{}),g=Se.visibleColumns.reduce((function(De,Je){var Ye;return o({},De,((Ye={})[Je.id]=Je.minWidth,Ye))}),{}),D=Se.visibleColumns.reduce((function(De,Je){var Ye;return o({},De,((Ye={})[Je.id]=Je.maxWidth,Ye))}),{}),W=je.map((function(De){var Je=De[0];return[Je,os(Je)]}));return o({},G,{gridLayout:o({},G.gridLayout,{startWidths:c,minWidths:g,maxWidths:D,headerIdGridWidths:W,columnWidth:_e})})}return G}if(pe.type===m.columnResizing){var ee=pe.clientX,re=G.columnResizing.startX,le=G.gridLayout,Ee=le.columnWidth,we=le.minWidths,Re=le.maxWidths,Fe=le.headerIdGridWidths,He=(ee-re)/Ee,Ie={};return(Fe===void 0?[]:Fe).forEach((function(De){var Je=De[0],Ye=De[1];Ie[Je]=Math.min(Math.max(we[Je],Ye+Ye*He),Re[Je])})),o({},G,{gridLayout:o({},G.gridLayout,{columnWidths:o({},G.gridLayout.columnWidths,{},Ie)})})}return pe.type===m.columnDoneResizing?o({},G,{gridLayout:o({},G.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})}):void 0}function os(G){var pe,ge=(pe=document.getElementById("header-cell-"+G))==null?void 0:pe.offsetWidth;if(ge!==void 0)return ge}r._UNSTABLE_usePivotColumns=fn,r.actions=m,r.defaultColumn=x,r.defaultGroupByFn=Rr,r.defaultOrderByFn=hi,r.defaultRenderer=S,r.emptyRenderer=w,r.ensurePluginOrder=j,r.flexRender=h,r.functionalUpdate=R,r.loopHooks=A,r.makePropGetter=y,r.makeRenderer=C,r.reduceHooks=E,r.safeUseLayoutEffect=B,r.useAbsoluteLayout=yn,r.useAsyncDebounce=function(G,pe){pe===void 0&&(pe=0);var ge=n.useRef({}),Se=k(G),Ne=k(pe);return n.useCallback((function(){var je=a(regeneratorRuntime.mark((function _e(){var c,g,D,W=arguments;return regeneratorRuntime.wrap((function(ee){for(;;)switch(ee.prev=ee.next){case 0:for(c=W.length,g=new Array(c),D=0;D<c;D++)g[D]=W[D];return ge.current.promise||(ge.current.promise=new Promise((function(re,le){ge.current.resolve=re,ge.current.reject=le}))),ge.current.timeout&&clearTimeout(ge.current.timeout),ge.current.timeout=setTimeout(a(regeneratorRuntime.mark((function re(){return regeneratorRuntime.wrap((function(le){for(;;)switch(le.prev=le.next){case 0:return delete ge.current.timeout,le.prev=1,le.t0=ge.current,le.next=5,Se().apply(void 0,g);case 5:le.t1=le.sent,le.t0.resolve.call(le.t0,le.t1),le.next=12;break;case 9:le.prev=9,le.t2=le.catch(1),ge.current.reject(le.t2);case 12:return le.prev=12,delete ge.current.promise,le.finish(12);case 15:case"end":return le.stop()}}),re,null,[[1,9,12,15]])}))),Ne()),ee.abrupt("return",ge.current.promise);case 5:case"end":return ee.stop()}}),_e)})));return function(){return je.apply(this,arguments)}})(),[Se,Ne])},r.useBlockLayout=Vs,r.useColumnOrder=Gs,r.useExpanded=Ce,r.useFilters=At,r.useFlexLayout=Ys,r.useGetLatest=k,r.useGlobalFilter=ft,r.useGridLayout=bn,r.useGroupBy=Ft,r.useMountedLayoutEffect=L,r.usePagination=Zr,r.useResizeColumns=Qn,r.useRowSelect=Kn,r.useRowState=Us,r.useSortBy=Pi,r.useTable=function(G){for(var pe=arguments.length,ge=new Array(pe>1?pe-1:0),Se=1;Se<pe;Se++)ge[Se-1]=arguments[Se];G=he(G),ge=[K].concat(ge);var Ne=n.useRef({}),je=k(Ne.current);Object.assign(je(),o({},G,{plugins:ge,hooks:$()}
94)),ge.filter(Boolean).forEach((function(ht){ht(je().hooks)}));var _e=k(je().hooks);je().getHooks=_e,delete je().hooks,Object.assign(je(),E(_e().useOptions,he(G)));var c=je(),g=c.data,D=c.columns,W=c.initialState,ee=c.defaultColumn,re=c.getSubRows,le=c.getRowId,Ee=c.stateReducer,we=c.useControlledState,Re=k(Ee),Fe=n.useCallback((function(ht,Ut){if(!Ut.type)throw console.info({action:Ut}),new Error("Unknown Action ð");return[].concat(_e().stateReducers,Array.isArray(Re())?Re():[Re()]).reduce((function(Vt,Yt){return Yt(Vt,Ut,ht,je())||Vt}),ht)}),[_e,Re,je]),He=n.useReducer(Fe,void 0,(function(){return Fe(W,{type:m.init})})),Ie=He[0],De=He[1],Je=E([].concat(_e().useControlledState,[we]),Ie,{instance:je()});Object.assign(je(),{state:Je,dispatch:De});var Ye=n.useMemo((function(){return H(E(_e().columns,D,{instance:je()}))}),[_e,je,D].concat(E(_e().columnsDeps,[],{instance:je()})));je().columns=Ye;var Qe=n.useMemo((function(){return E(_e().allColumns,P(Ye),{instance:je()}).map(N)}),[Ye,_e,je].concat(E(_e().allColumnsDeps,[],{instance:je()})));je().allColumns=Qe;var xt=n.useMemo((function(){for(var ht=[],Ut=[],Vt={},Yt=[].concat(Qe);Yt.length;){var or=Yt.shift();ke({data:g,rows:ht,flatRows:Ut,rowsById:Vt,column:or,getRowId:le,getSubRows:re,accessValueHooks:_e().accessValue,getInstance:je})}return[ht,Ut,Vt]}),[Qe,g,le,re,_e,je]),nt=xt[0],pt=xt[1],Tt=xt[2];Object.assign(je(),{rows:nt,initialRows:[].concat(nt),flatRows:pt,rowsById:Tt}),A(_e().useInstanceAfterData,je());var tt=n.useMemo((function(){return E(_e().visibleColumns,Qe,{instance:je()}).map((function(ht){return I(ht,ee)}))}),[_e,Qe,je,ee].concat(E(_e().visibleColumnsDeps,[],{instance:je()})));Qe=n.useMemo((function(){var ht=[].concat(tt);return Qe.forEach((function(Ut){ht.find((function(Vt){return Vt.id===Ut.id}))||ht.push(Ut)})),ht}),[Qe,tt]),je().allColumns=Qe;var Rt=n.useMemo((function(){return E(_e().headerGroups,F(tt,ee),je())}),[_e,tt,ee,je].concat(E(_e().headerGroupsDeps,[],{instance:je()})));je().headerGroups=Rt;var at=n.useMemo((function(){return Rt.length?Rt[0].headers:[]}),[Rt]);je().headers=at,je().flatHeaders=Rt.reduce((function(ht,Ut){return[].concat(ht,Ut.headers)}),[]),A(_e().useInstanceBeforeDimensions,je());var wt=tt.filter((function(ht){return ht.isVisible})).map((function(ht){return ht.id})).sort().join("_");tt=n.useMemo((function(){return tt.filter((function(ht){return ht.isVisible}))}),[tt,wt]),je().visibleColumns=tt;var dt=me(at),Nt=dt[0],zt=dt[1],ar=dt[2];return je().totalColumnsMinWidth=Nt,je().totalColumnsWidth=zt,je().totalColumnsMaxWidth=ar,A(_e().useInstance,je()),[].concat(je().flatHeaders,je().allColumns).forEach((function(ht){ht.render=C(je(),ht),ht.getHeaderProps=y(_e().getHeaderProps,{instance:je(),column:ht}),ht.getFooterProps=y(_e().getFooterProps,{instance:je(),column:ht})})),je().headerGroups=n.useMemo((function(){return Rt.filter((function(ht,Ut){return ht.headers=ht.headers.filter((function(Vt){return Vt.headers?(function Yt(or){return or.filter((function(gr){return gr.headers?Yt(gr.headers):gr.isVisible})).length})(Vt.headers):Vt.isVisible})),!!ht.headers.length&&(ht.getHeaderGroupProps=y(_e().getHeaderGroupProps,{instance:je(),headerGroup:ht,index:Ut}),ht.getFooterGroupProps=y(_e().getFooterGroupProps,{instance:je(),headerGroup:ht,index:Ut}),!0)}))}),[Rt,je,_e]),je().footerGroups=[].concat(je().headerGroups).reverse(),je().prepareRow=n.useCallback((function(ht){ht.getRowProps=y(_e().getRowProps,{instance:je(),row:ht}),ht.allCells=Qe.map((function(Ut){var Vt=ht.values[Ut.id],Yt={column:Ut,row:ht,value:Vt};return Yt.getCellProps=y(_e().getCellProps,{instance:je(),cell:Yt}),Yt.render=C(je(),Ut,{row:ht,cell:Yt,value:Vt}),Yt})),ht.cells=tt.map((function(Ut){return ht.allCells.find((function(Vt){return Vt.column.id===Ut.id}))})),A(_e().prepareRow,ht,{instance:je()})}),[_e,je,Qe,tt]),je().getTableProps=y(_e().getTableProps,{instance:je()}),je().getTableBodyProps=y(_e().getTableBodyProps,{instance:je()}),A(_e().useFinalInstance,je()),je()},Object.defineProperty(r,"__esModule",{value:!0})}))})(ys,ys.exports)),ys.exports}var A9;
94function bb(){return A9||(A9=1,nl.exports=xb()),nl.exports}var xs=bb();const vb=({placeholder:t,globalFilter:e,setGlobalFilter:r})=>{const[n,i]=Q.useState(e),a=xs.useAsyncDebounce(f=>r(f||void 0),200),o=Q.useMemo(()=>()=>{i(null),a(null)});return s.jsxs("div",{className:"Explorer-Journals-Filters-Container",children:[s.jsx("label",{htmlFor:"search",children:"Search Journals and Collections:"}),s.jsxs("div",{className:"Journals-Table-Filters-Controls",children:[s.jsx("input",{id:"search",name:"search",value:n||"",onChange:f=>{i(f.target.value),a(f.target.value)},placeholder:t}),s.jsx("button",{type:"button",onClick:o,children:"Clear"})]})]})},Sb=({pageSize:t,pageIndex:e,pageCount:r,canPreviousPage:n,canNextPage:i,gotoPage:a,previousPage:o,nextPage:f})=>s.jsxs("div",{className:"Explorer-Journals-Pagination-Container",children:[s.jsx("button",{type:"button",className:"btn--first",onClick:()=>a(0),disabled:!n,"aria-label":"Go to first page",children:"<<"}),s.jsx("button",{type:"button",className:"btn--previous",onClick:o,disabled:!n,"aria-label":"Go to previous page",children:"<"}),s.jsx("span",{children:I18n.htmlSafe("Explorer.Journals.pagination.current_page_info",{currentPage:e+1,pageCount:r})}),s.jsx("button",{type:"button",className:"btn--next",onClick:f,disabled:!i,"aria-label":"Go to next page",children:">"}),s.jsx("button",{type:"button",className:"btn--last",onClick:()=>a(r-1),disabled:!i,"aria-label":"Go to last page",children:">>"}),s.jsxs("span",{children:[" ",I18n.htmlSafe("Explorer.Journals.pagination.results_per_page",{pageSize:t})]})]}),wb=({column:t})=>{const e=Q.useMemo(()=>t.isSortedDesc===!0?"desc":t.isSortedDesc===!1?"asc":"none"),r=e==="none"?"none":e==="asc"?"ascending":"descending",n=t.Header,i=e==="asc"?`${n}, sorted ascending`:e==="desc"?`${n}, sorted descending`:`${n}, not sorted`,a={...t.getSortByToggleProps()};delete a.title;const{key:o,colSpan:f,role:u,onClick:m,style:S}=t.getHeaderProps(a);return s.jsx("th",{colSpan:f,role:u,onClick:m,style:S,scope:"col","aria-sort":r,children:s.jsxs("div",{children:[s.jsx("span",{className:`sort-indicator sorted-${e}`,"aria-hidden":"true"}),s.jsx("button",{type:"button","aria-label":i,children:t.render("Header")})]})},o)},Eb=({role:t,value:e,mentioned_research_outputs:r,onClick:n})=>{const i=r===1?I18n.htmlSafe("Explorer.Journals.description.one"):I18n.htmlSafe("Explorer.Journals.description.other",{formattedCount:bt.formatNumberWithDelimiter(r)});return s.jsxs("th",{scope:"row",role:t,children:[s.jsx("button",{type:"button",onClick:n,children:e}),s.jsx("p",{children:i})]})},Cb=({columns:t,data:e,goToJournal:r,resultsPerPage:n})=>{const i={columns:t,data:e,initialState:{pageSize:n}},{getTableProps:a,getTableBodyProps:o,headerGroups:f,state:u,page:m,prepareRow:S,setGlobalFilter:w,canPreviousPage:x,canNextPage:T,gotoPage:y,nextPage:E,previousPage:A,pageCount:j,state:{pageIndex:R,pageSize:k}}=xs.useTable(i,xs.useGlobalFilter,xs.useSortBy,xs.usePagination),B=e.length>n?s.jsx(Sb,{pageSize:k,pageIndex:R,pageCount:j,canPreviousPage:x,canNextPage:T,gotoPage:y,previousPage:A,nextPage:E}):s.jsx("div",{className:"Explorer-Journals-Pagination-Container"});return s.jsxs("div",{children:[s.jsx(vb,{placeholder:"e.g. Physics Letters, arXiv, figshare",globalFilter:u.globalFilter,setGlobalFilter:w}),B,s.jsxs("table",{...a(),children:[s.jsx("caption",{className:"visually-hidden",children:I18n.t("Explorer.Journals.table_caption")}),s.jsx("thead",{children:f.map(L=>{const{key:C,role:h}=L.getHeaderGroupProps();return s.jsx("tr",{role:h,children:L.headers.map(H=>s.jsx(wb,{column:H},H.Header))},C)})}),s.jsx("tbody",{...o(),children:m.map(L=>{S(L);const[C,...h]=L.cells,{key:H,role:P}=L.getRowProps(),{headerKey:N,headerRole:I}=C.getCellProps();return s.jsxs("tr",{role:P,children:[s.jsx(Eb,{role:I,value:C.render("Cell"),onClick:()=>r(C.row.original.source.id),mentioned_research_outputs:L.original.mentioned_research_outputs},N),h.map(F=>{const{key:l,role:d}=F.getCellProps();return s.jsx("td",{role:d,children:F.render("Cell")},l)})]},H)})})]}),B]})},kb=[{name:I18n.t("Explorer.Journals.headers.journal_collection"),accessor:"title",sortDirection:"asc",alwaysVisible:!0},{name:I18n.t("Explorer.Journals.headers.total_mentions"),accessor:"total_mentions",type:"number",alwaysVisible:!0},{name:I18n.t("Explorer.Journals.headers.news_mentions"),accessor:"msm",tab_id:"msm",type:"number"},{name:I18n.t("Explorer.Journals.headers.blog_mentions"),accessor:"blog",tab_id:"blogs",type:"number"},{name:I18n.t("Explorer.Journals.headers.policy_mentions"),accessor:"policy",tab_id:"policy",type:"number"},{name:I18n.t("Explorer.Journals.headers.patent_mentions"),accessor:"patent",tab_id:"patent",type:"number"},{name:I18n.t("Explorer.Journals.headers.twitter_mentions"),accessor:"tweet",tab_id:"twitter",type:"number"},{name:I18n.t("Explorer.Journals.headers.bluesky_mentions"),accessor:"bluesky",tab_id:"bluesky",type:"number"},{name:I18n.t("Explorer.Journals.headers.peer_reviews_mentions"),accessor:"peer_review",tab_id:"peer_reviews",type:"number"},{name:I18n.t("Explorer.Journals.headers.sina_weibo_mentions"),accessor:"weibo",tab_id:"weibo",type:"number"},{name:I18n.t("Explorer.Journals.headers.facebook_mentions"),accessor:"fbwall",tab_id:"facebook",type:"number"},{name:I18n.t("Explorer.Journals.headers.wikipedia_mentions"),accessor:"wikipedia",tab_id:"wikipedia",type:"number"},{name:I18n.t("Explorer.Journals.headers.google_mentions"),accessor:"gplus",tab_id:"gplus",type:"number"},{name:I18n.t("Explorer.Journals.headers.linked_in_mentions"),accessor:"linkedin",tab_id:"linkedin",type:"number"},{name:I18n.t("Explorer.Journals.headers.reddit_mentions"),accessor:"rdt",tab_id:"reddit",type:"number"},{name:I18n.t("Explorer.Journals.headers.pinterest_mentions"),accessor:"pinterest",tab_id:"pinterest",type:"number"},{name:I18n.t("Explorer.Journals.headers.faculty_opinions_mentions"),accessor:"f1000",tab_id:"f1000",type:"number"},{name:I18n.t("Explorer.Journals.headers.q_a_mentions"),accessor:"qna",tab_id:"qna",type:"number"},{name:I18n.t("Explorer.Journals.headers.video_mentions"),accessor:"video",tab_id:"videos",type:"number"},{name:I18n.t("Explorer.Journals.headers.syllabi_mentions"),accessor:"syllabus",tab_id:"syllabus",type:"number"},{name:I18n.t("Explorer.Journals.headers.guideline_mentions"),accessor:"guideline",tab_id:"guideline",type:"number"},{name:I18n.t("Explorer.Journals.headers.podcast_mentions"),accessor:"podcast",tab_id:"podcasts",type:"number"},{name:I18n.t("Explorer.Journals.headers.seminar_mentions"),accessor:"seminar",tab_id:"seminars",type:"number"}],j9=t=>kb.filter(e=>e.alwaysVisible||t.includes(e.tab_id)),Ab=()=>{const t=St(),e=Gr(),[r,n]=Q.useState("loading"),i=pb(t,{onFetchStarted:()=>n("loading"),onFetchSuccess:()=>n("ok"),onFetchError:()=>n("error")}),a=Q.useMemo(()=>{const S=w=>w?.original?.mentioned_research_outputs?parseInt(w.original.mentioned_research_outputs):0;return(w,x,T)=>{const[y,E]=[S(w),S(x)];if(T){if(y>E)return 1;if(y<E)return-1}else{if(y<E)return-1;if(y>E)return 1}return 0}},[]),o=S=>{const w=new Lt(t.filters);w.set("journal_id[]",S),e(nr(t,w.populatedFilters),{pathname:"/outputs"})},f=Q.useMemo(()=>i.rows.map(S=>{const{mentioned_research_outputs:w}=S;return j9(ir.sources).reduce((x,{accessor:T})=>({...x,[T]:S[T]}),{mentioned_research_outputs:w,source:S})}),[i.rows]),u=Q.useMemo(()=>j9(ir.sources).map(({name:S,accessor:w,sortDirection:x},T)=>({Header:S,accessor:w,sortType:T===0?a:"basic",sortDescFirst:x!=="asc",Cell:({value:A})=>bt.formatNumberWithDelimiter(A)})),[a]),m=()=>r==="loading"?s.jsx(fb,{}):r==="error"?s.jsx(mb,{}):f.length<1?s.jsx(gb,{}):null;return s.jsxs("div",{className:"Explorer-Journals-Table-Container",children:[s.jsx(Cb,{columns:u,data:f,goToJournal:o,resultsPerPage:50}),s.jsx(m,{})]})},jb=()=>s.jsxs("div",{className:"Explorer-Journals",children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.journals")}),s.jsx(hb,{}),s.jsx(Ab,{})]}),Tb=()=>{const t={};return qr(ir.mentionSourcesTypes,e=>t[e]=I18n.t(e,{scope:"Explorer.MentionSources.FilterPanel.type",default:e})),t},Mb=()=>{const t=new k8;return t.id="mention_sources_types",t.name="mention_sources_types[]",t.type="mention_sources_types",t.placeholder=I18n.t("Explorer.MentionSources.FilterPanel.fields.mention_sources_types.placeholder"),t},Rb=()=>{const t=St(),e=Gr(),[r,n]=Q.useState(()=>new Lt(t.filters)),[i,a]=Q.useState(null),[o,f]=Q.useState(null),[u,m]=Q.useState(null),S=Q.useRef(null),w=Q.useRef(null),x=Q.useRef(null),T=Q.useRef(null),y=C=>{w.current&&C.get("mention_sources_countries[]").length===0&&w.current.clearSelected(),S.current&&C.get("mention_sources_types[]").length===0&&S.current.clearSelected()};Q.useEffect(()=>{const C=new Lt(t.filters);n(C),y(C)},[JSON.stringify(t.filters)]),Q.useEffect(()=>{t.mentionSourceOrder==="followers_desc"&&S.current&&S.current.overrideSelectedMentionSourcesFromTypes(["tw"])},[t.mentionSourceOrder]);const E=Tb(),A=Mb(),j=()=>
94{if(!x.current?.checkValidity()||!T.current?.checkValidity())return m("Start date must be before end date"),!1;const C=x.current.value,h=T.current.value;if(C===""&&h==="")return!0;if(h!==""&&C==="")return m("Please specify a start date within 1 year of the end date"),!1;const H=Mr(C),P=Mr(h||new Date);return H.add(1,"year").isBefore(P)?(m("Please specify a date range within 1 year"),!1):!0},R=()=>{if(m(null),!j())return;Analytics.trackEvent("apply-mention-author-filter");let C=nr(t,r.populatedFilters);t.mentionSourceOrder==="followers_desc"&&!r.get("mention_sources_types[]").includes("type:tw")&&(C=i8(C,As)),r8(C)!==window.location.search.replace("?","")&&e(C)},k=()=>{S.current?.clear(),T.current?.clear(),x.current?.clear(),w.current?.clear()},B=()=>{k(),R()},L=()=>{Analytics.trackEvent("filter-mention-author-country")};return s.jsxs("div",{className:"Explorer-Form Explorer-MentionSources-FilterPanel",children:[s.jsx("div",{className:"Explorer-MentionSources-FilterPanel-row",children:s.jsx(A8,{sourcesTypes:E,filterSet:r,queryFilter:"mentionSourcesTypesForFilter",dropdownSourcesType:"mention_source_type",autocompleteFieldConfig:A,assignRef:C=>S.current=C})}),s.jsxs("div",{className:"Explorer-MentionSources-FilterPanel-row",children:[s.jsxs("div",{className:"Explorer-MentionSources-FilterPanel-date-range",children:[s.jsx("div",{className:"Explorer-FilterPanel-field",children:s.jsx(Dn,{fieldID:"mention_sources_mentioned_after",fieldName:"mention_sources_mentioned_after",label:I18n.t("Explorer.MentionSources.FilterPanel.fields.mentioned_after.title"),filterSet:r,placeholder:I18n.t("Explorer.MentionSources.FilterPanel.fields.mentioned_after.placeholder"),onChangeCallback:a,maximumDate:o||r.get("mention_sources_mentioned_before"),ref:x})}),s.jsx("div",{className:"Explorer-FilterPanel-field",children:s.jsx(Dn,{fieldID:"mention_sources_mentioned_before",fieldName:"mention_sources_mentioned_before",label:I18n.t("Explorer.MentionSources.FilterPanel.fields.mentioned_before.title"),filterSet:r,placeholder:I18n.t("Explorer.MentionSources.FilterPanel.fields.mentioned_before.placeholder"),onChangeCallback:f,minimumDate:i||r.get("mention_sources_mentioned_after"),ref:T})})]}),s.jsx(Yc,{filterSet:r,fieldID:"mention_sources_countries",fieldName:"mention_sources_countries[]",filterSetParam:"mention_sources_countries[]",label:I18n.t("Explorer.MentionSources.FilterPanel.fields.countries.label"),placeholder:I18n.t("Explorer.Form.CountriesField.placeholder"),onChangeCallback:L,ref:w}),s.jsxs("div",{className:"Explorer-FilterPanel-buttons",children:[s.jsx("button",{className:"apply-button",onClick:R,children:I18n.t("Explorer.MentionSources.FilterPanel.buttons.apply")}),s.jsx("button",{className:"clear-button",onClick:B,children:I18n.t("Explorer.MentionSources.FilterPanel.buttons.reset")})]})]}),u&&s.jsx("div",{className:"Explorer-FilterPanel-warning-message",children:u})]})},Xc=({visible:t,mentionSource:e,mentionsLink:r,filtersForMentionSource:n})=>{const i=St(),[a,o]=Q.useState(!1),[f,u]=Q.useState(!1),[m,S]=Q.useState([]),w=Q.useRef(null),x=Q.useRef(null),T=JSON.stringify({params:i.filters,source:n});return Q.useEffect(()=>{if(!t||x.current===T)return;o(!0),u(!1),w.current?.abort();const y=lf(nr(i,n),3),E=Ui("mentions",y);return w.current=E,E.then((A,j)=>{if(w.current=null,A?.name==="AbortError")return;const R=A||typeof j?.body>"u";o(!1),u(R),R?S(null):(S(j.body.data),x.current=T)}),()=>E.abort()},[t,T]),t?s.jsx("div",{className:"MentionSources-RecentMentions",children:s.jsx(Kr,{children:a?s.jsx(ca,{},"spinner"):f?s.jsx("div",{children:I18n.t("Explorer.loading_error")},"error-message"):s.jsxs("div",{children:[s.jsx("div",{className:"mention-timeline",children:m.map(([y,E])=>{const A=vi(E);return s.jsx("div",{className:"mention-date-boundary",children:hr(A,(j,R)=>s.jsx(qc,{first:R===0,post:j},j.id))},`mentions-${y}`)})}),s.jsx("div",{className:"MentionSources-RecentMentions-All",children:s.jsx(Bt,{className:"view-all-button",to:r,children:I18n.t("Explorer.MentionSources.mentions_button",{count:e.mentions})})})]},"content")})}):null};Xc.propTypes={visible:ve.bool.isRequired,mentionSource:ve.object.isRequired,mentionsLink:ve.object.isRequired,filtersForMentionSource:ve.object.isRequired};const Kc=({mentionSource:t})=>{const e=St(),[r,n]=Q.useState(!1),i=Q.useMemo(()=>{const S=No(e.filters);return qr(ir.mentionsFilterParams,w=>{delete S[w],delete S[w+"[]"]}),S.mention_sources_mentioned_after&&(S.mentioned_after=S.mention_sources_mentioned_after),S.mention_sources_mentioned_before&&(S.mentioned_before=S.mention_sources_mentioned_before),S["mention_sources[]"]=t.id,S},[e.filters,t.id]),a=Q.useMemo(()=>mr(nr(e,i),"/mentions"),[e,i]),o=()=>t.url?s.jsx("a",{href:t.url,target:"_blank",rel:"noreferrer","data-testid":"url",children:t.name}):t.name,f=()=>t.country?s.jsx("span",{className:"country","data-testid":"country",children:t.country}):null,u=()=>t.profileType!=="tw"?null:s.jsxs("div",{className:"followers","data-testid":"followers",children:[s.jsx("h3",{children:bt.formatStatistic(t.followers)}),I18n.t("Explorer.MentionSources.followers",{count:t.followers})]}),m=()=>{const S=r?I18n.t("Explorer.MentionSources.MentionSource.hide_recent_mentions"):I18n.t("Explorer.MentionSources.MentionSource.show_recent_mentions"),w=r?"recent-mentions-button hide":"recent-mentions-button show";return s.jsx("button",{type:"button",onClick:()=>n(x=>!x),className:w,"aria-expanded":r,children:S})};return s.jsxs("article",{className:"Explorer-MentionSources-MentionSource",children:[s.jsxs("div",{className:"row",children:[s.jsx(b8,{profileType:t.profileType}),s.jsxs("div",{className:"title",children:[s.jsx("h3",{children:o()}
94),s.jsxs("p",{children:[I18n.t(`Explorer.Highlights.TopMentionSources.mention_source_types.${t.profileType}`),f()]})]}),s.jsxs("div",{className:"counts",children:[s.jsx("h3",{children:bt.formatNumberWithDelimiter(t.mentions)}),I18n.t("Explorer.MentionSources.mentions_count",{count:t.mentions})]}),s.jsx("div",{className:"counts",children:u()}),s.jsxs("aside",{"aria-label":`Actions for ${t.name}`,children:[s.jsx(Bt,{className:"mentions-link-button",to:a,children:I18n.t("Explorer.MentionSources.mentions_button",{count:t.mentions})}),m()]})]}),s.jsx(Xc,{visible:r,mentionSource:t,mentionsLink:a,filtersForMentionSource:i},t.id)]},t.id)};Kc.propTypes={mentionSource:ve.object.isRequired};const Pb=()=>{const t=St(),e=Gr(),r=n=>{n.target.value==="followers_desc"&&Analytics.trackEvent("sort-mention-author-followers"),e(i8(t,n.target.value))};return s.jsxs("div",{className:"Explorer-MentionSources-SortBy",children:[s.jsx("label",{className:"label",htmlFor:"sortby-select",children:I18n.t("Explorer.MentionSources.SortBy.label")}),s.jsxs("select",{id:"sortby-select",onChange:r,value:t.mentionSourceOrder,children:[s.jsx("option",{value:"mentions_count_desc",children:I18n.t("Explorer.MentionSources.SortBy.sort_options.mentions_count_desc")}),s.jsx("option",{value:"followers_desc",children:I18n.t("Explorer.MentionSources.SortBy.sort_options.followers_desc")})]})]})},Nb=()=>{const t=St(),{data:e,loading:r,status:n}=Jt("mention_sources/summary",t,{reloadOn:["filters"]}),i=r===Ke.NOT_STARTED||r===Ke.IN_PROGRESS,a=r===Ke.ERROR,o=n===403,f=e?.total??0,u=e?.total_mentions??0,m=()=>a?s.jsx("div",{children:o?"":I18n.t("Explorer.loading_error")}):s.jsxs("div",{children:[I18n.htmlSafe("Explorer.MentionSources.Summary.mention_sources_html",{count:f,formattedCount:bt.formatNumberWithDelimiter(f)})," ",I18n.htmlSafe("Explorer.MentionSources.Summary.mentions_html",{count:u,formattedCount:bt.formatNumberWithDelimiter(u)})]});return s.jsx(dn,{hasWarning:r===Ke.SUCCESS&&u===0,children:i?I18n.t("Explorer.MentionSources.Summary.loading"):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:m()}),s.jsx(hn,{endpoint:"mention_sources",help:qn("mention_sources")}),s.jsx(Gi,{endpoint:"mention_sources",analyticsName:"Mention Sources"})]})})},T9=t=>{Analytics.trackEvent("paginate-mention-author",{page:t})},_b=()=>{const t=St(),e=Q.useRef(null),{data:r,loading:n,status:i}=Jt("mention_sources",t,{reloadOn:["filters","page","mentionSourceOrder"]});Q.useEffect(()=>{if(n===Ke.SUCCESS||n===Ke.ERROR||n===Ke.EMPTY_RESPONSE){const w=e.current?.closest(".Explorer-ContentPanel");w&&(w.scrollTop=0)}},[n]);const a=r?.data??[],o=r?.lastPage??!0,f=n===Ke.NOT_STARTED||n===Ke.IN_PROGRESS,u=n===Ke.ERROR,m=a.length>0,S=()=>f?s.jsx(ca,{},"spinner"):u?i===403?I18n.t("Explorer.forbidden_error"):I18n.t("Explorer.loading_error"):s.jsxs(s.Fragment,{children:[s.jsx(Pb,{}),s.jsx(an,{lastPage:o,onChangePage:T9}),m?s.jsx("div",{children:a.map(w=>s.jsx(Kc,{mentionSource:w},w.id))}):s.jsx("div",{className:"Explorer-MentionSources-empty-message",children:I18n.t("Explorer.MentionSources.empty")}),s.jsx(an,{lastPage:o,onChangePage:T9})]});return s.jsxs("div",{ref:e,className:"Explorer-MentionSources",children:[s.jsx(Ti,{metaTitle:I18n.t("Explorer.TabBar.mention_sources")}),s.jsx(Rb,{}),s.jsx(Nb,{}),s.jsx(Kr,{children:s.jsx("div",{className:"Explorer-MentionSources-Container",children:S()},"content")})]})};class Ib extends it.Component{static propTypes={onRouteChangeUpdate:ve.func.isRequired,location:ve.object.isRequired,featureFlags:ve.array};render(){return window.current_user.librarian?this.librarianContent:this.allContent}componentDidUpdate(e){this.props.location!==e.location&&this.props.onRouteChangeUpdate()}get allContent(){return s.jsxs("main",{className:"Explorer-ContentPanel",id:"main-content",tabIndex:"-1",children:[s.jsxs(op,{children:[this.props.featureFlags?.includes("currents")&&s.jsx(gi,{path:"/currents",element:s.jsx(ig,{})}),s.jsx(gi,{path:"/highlights",element:s.jsx(Yy,{})}),s.jsx(gi,{path:"/outputs",element:s.jsx(v9,{})}),s.jsx(gi,{path:"/timeline",element:s.jsx(xx,{})}),s.jsx(gi,{path:"/demographics",element:s.jsx(Ex,{})}),s.jsx(gi,{path:"/mentions",element:s.jsx(db,{})}),s.jsx(gi,{path:"/journals",element:s.jsx(jb,{})}),s.jsx(gi,{path:"/mention_sources",element:s.jsx(_b,{})})]}),this.footer]})}get librarianContent(){return s.jsxs("main",{className:"Explorer-ContentPanel",id:"main-content",tabIndex:"-1",children:[s.jsx(v9,{}),this.footer]})}get footer(){return s.jsxs("footer",{children:[s.jsxs("div",{className:"Explorer-footer",children:[s.jsxs("p",{children:[s.jsx("a",{className:"info",href:"https://help.altmetric.com/en/articles/9803777",target:"_blank",rel:"noopener noreferrer","aria-label":I18n.t("Explorer.snapshot_help_link")}),I18n.htmlSafe("Explorer.snapshot_info",{lastSnapshot:window.current_user.last_snapshot,nextSnapshot:window.current_user.next_snapshot,dimensionsUp
94date:"1 day ago"})]}),s.jsx("p",{children:I18n.htmlSafe("Explorer.twitter_info")})]}),s.jsx(Sc,{})]})}}const Ob=vc(_s(Ib)),Lb=new Map([["bold",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"}))],["duotone",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z",opacity:"0.2"}),Q.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["fill",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"}))],["light",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"}))],["regular",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["thin",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"}))]]),Fb=new Map([["bold",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),Q.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Db=new Map([["bold",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),Q.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Bb=new Map([["bold",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),Q.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),Hb=new Map([["bold",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Q.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",Q.createElement(Q.Fragment,null,Q.createElement("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),zb=Q.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Vn=Q.forwardRef((t,e)=>{const{alt:r,color:n,size:i,weight:a,mirrored:o,children:f,weights:u,...m}=t,{color:S="currentColor",size:w,weight:x="regular",mirrored:T=!1,...y}=Q.useContext(zb);return Q.createElement("svg",{ref:e,xmlns:"http://www.w3.org/2000/svg",width:i??w,height:i??w,fill:n??S,viewB
94ox:"0 0 256 256",transform:o||T?"scale(-1, 1)":void 0,...y,...m},!!r&&Q.createElement("title",null,r),f,u.get(a??x))});Vn.displayName="IconBase";const j8=Q.forwardRef((t,e)=>Q.createElement(Vn,{ref:e,...t,weights:Lb}));j8.displayName="ArrowSquareOutIcon";const Dv=j8,T8=Q.forwardRef((t,e)=>Q.createElement(Vn,{ref:e,...t,weights:Fb}));T8.displayName="CaretDownIcon";const M8=Q.forwardRef((t,e)=>Q.createElement(Vn,{ref:e,...t,weights:Db}));M8.displayName="CaretRightIcon";const R8=Q.forwardRef((t,e)=>Q.createElement(Vn,{ref:e,...t,weights:Bb}));R8.displayName="XIcon";const Zc=Q.forwardRef((t,e)=>Q.createElement(Vn,{ref:e,...t,weights:Hb}));Zc.displayName="XCircleIcon";const Ub=t=>{const e=window.site_config.detailsPageSubdomain,r=window.site_config.altmetricDomain,n=`/details/${t}`;return e==="explorer"&&r==="altmetric.com"?`https://explorer.altmetric.com${n}`:`https://${e}.${r}${n}`},Jc=({output:t})=>{const e=St(),r=Gr(),n=Q.useRef(null),i=Q.useRef(null),a=Q.useRef(null),o=Q.useRef([]),[f,u]=Q.useState(!0);Q.useEffect(()=>{a.current=document.activeElement,o.current=Array.from(document.querySelectorAll("[data-inertable]")),o.current.forEach(w=>w.inert=!0);const S=w=>{(w.key==="Escape"||w.data?.key==="Escape")&&i.current?.click()};return window.addEventListener("keydown",S),window.addEventListener("message",S),n.current?.focus(),()=>{window.removeEventListener("keydown",S),window.removeEventListener("message",S)}},[]);const m=()=>{o.current.forEach(S=>S.inert=!1),Analytics.trackEvent("close-detail-page",{outputId:t.id}),r(Un(e,null)),requestAnimationFrame(()=>{a.current?.focus()})};return s.jsxs("div",{children:[s.jsx("button",{type:"button",className:"DetailPage-overlay",onClick:m,"aria-label":"Close details page",tabIndex:-1}),s.jsxs("div",{className:"DetailPage",ref:n,tabIndex:"-1",role:"dialog","aria-modal":"true","aria-labelledby":"detailpage-title",children:[s.jsxs("div",{className:"DetailPage-header DetailPage-title",children:[s.jsx("div",{className:"content",id:"detailpage-title",children:I18n.t("Explorer.DetailPage.title")}),s.jsx("div",{className:"buttons",children:s.jsx("button",{ref:i,className:"close",onClick:m,children:s.jsx(Zc,{size:"24px"})})})]}),s.jsxs("div",{className:"DetailPage-content",children:[f&&s.jsx(ca,{}),s.jsx("iframe",{src:Ub(t.id),className:f?"not-visible":"visible",onLoad:()=>u(!1),"data-hj-allow-iframe":!0,allow:"clipboard-write","aria-labelledby":"detailpage-title"})]})]})]})};Jc.propTypes={output:ve.instanceOf(Yr).isRequired};const Cr=t=>{const e=Q.useRef(null),r=a=>{Analytics.trackEvent(`Advanced Search: Help-Link ${a}`,{field_name:t.analyticsFieldName})},n=()=>{e.current=setTimeout(()=>{r("Hovered")},1e3)},i=()=>{e.current&&clearTimeout(e.current)};return s.jsx("a",{className:"help",href:t.href,"data-tooltip-id":"HelpLink","data-tooltip-content":t.tip,target:"_blank",rel:"noreferrer","aria-label":`Help: ${t.tip}`,onClick:()=>r("Clicked"),onMouseEnter:n,onMouseLeave:i,children:I18n.t("Explorer.AdvancedSearch.help")})};Cr.propTypes={href:ve.string.isRequired,tip:ve.string.isRequired,analyticsFieldName:ve.string.isRequired};class M9 extends it.Component{static propTypes={filterSet:ve.instanceOf(Lt).isRequired};constructor(e){super(e),this.state={maximumDate:null,minimumDate:null}}render(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-group",children:[s.jsx("h3",{className:"Explorer-AdvancedSearch-field-group-title",children:I18n.t("Explorer.AdvancedSearch.groups.dates")}),this.publicationDateFilter,this.timeframeFilter]})}get publicationDateFilter(){if(!window.current_user.librarian)return s.jsxs("div",{className:"Explorer-AdvancedSearch-field Explorer-AdvancedSearch-PublicationDate-Filter",children:[s.jsxs("label",{htmlFor:"AdvancedSearch-PublicationDate-Filter",children:[I18n.t("Explorer.AdvancedSearch.fields.publication_date.title"),this.publicationDateLabel]}),s.jsxs("div",{className:"DateSearchFields",id:"AdvancedSearch-PublicationDate-Filter",children:[this.publishedAfterFilter,this.publishedBeforeFilter]})]})}get publicationDateLabel(){return s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.publication_date.description"),analyticsFieldName:"Publication Date"})}onPublishedAfterChange=e=>{this.setState({minimumDate:e})};get publishedAfterFilter(){return s.jsx("div",{className:"Explorer-AdvancedSearch-field",children:s.jsx(Dn,{fieldID:"AdvancedSearch-PublishedAfter-Filter",fieldName:"published_after",label:I18n.t("Explorer.AdvancedSearch.fields.published_after.title"),filterSet:this.props.filterSet,placeholder:I18n.t("Explorer.AdvancedSearch.fields.published_after.placeholder"),onChangeCallback:this.onPublishedAfterChange,maximumDate:this.state.maximumDate,analyticsEventPrefix:"Advanced Search: Date Picker",analyticsFieldName:"Between Date"})})}onPublishedBeforeChange=e=>{this.setState({maximumDate:e})};get publishedBeforeFilter(){return s.jsx("div",{className:"Explorer-AdvancedSearch-field",children:s.jsx(Dn,{fieldID:"AdvancedSearch-PublishedBefore-Filter",fieldName:"published_before",label:I18n.t("Explorer.AdvancedSearch.fields.published_before.title"),filterSet:this.props.filterSet,placeholder:I18n.t("Explorer.AdvancedSearch.fields.published_before.placeholder"),onChangeCallback:this.onPublishedBeforeChange,minimumDate:this.state.minimumDate,analyticsEventPrefix:"Advanced Search: Date Picker",analyticsFieldName:"And Date"})})}get timeframeFilter(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field Explorer-AdvancedSearch-Timeframe-Filter",children:[s.jsxs("label",{htmlFor:"AdvancedSearch-Timeframe-Filter",children:[I18
94n.t("Explorer.AdvancedSearch.fields.timeframe.title"),this.timeframeLabel]}),s.jsx(eb,{fieldID:"AdvancedSearch-Timeframe-Filter",fieldName:"timeframe",filterSet:this.props.filterSet,collection:this.timeframeOptions,emptyLabel:I18n.t("Explorer.AdvancedSearch.fields.timeframe.at"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Altmetric Mentions During"})]})}get timeframeOptions(){const e={};return qr(ir.timeframes,r=>e[r]=I18n.t(`Explorer.AdvancedSearch.fields.timeframe.${r}`)),e}get timeframeLabel(){return s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.timeframe.description"),analyticsFieldName:"Almetric Mentions during"})}}class Gb extends it.Component{static propTypes={scope:ve.string,changeScope:ve.func.isRequired};render(){return s.jsxs("div",{className:"Explorer-InstitutionalToggle",children:[s.jsxs("div",{className:"toggle-buttons",children:[s.jsx("button",{type:"button",onClick:this.setScopeAll,className:`full ${this.props.scope=="all"?"active":"not-active"}`,children:I18n.t("Explorer.AdvancedSearch.institution_toggle.full")}),s.jsx("button",{type:"button",onClick:this.setScopeInstitution,className:`institution ${this.props.scope=="institution"?"active":"not-active"}`,children:I18n.t("Explorer.AdvancedSearch.institution_toggle.institution")})]}),s.jsxs("p",{className:"Explorer-InstitutionalToggle-message",children:[I18n.t("Explorer.AdvancedSearch.institution_toggle.message"),s.jsxs("a",{href:"/explorer/settings",children:[" ",I18n.t("Explorer.AdvancedSearch.institution_toggle.account_settings")]})]})]})}setScopeAll=e=>{e.preventDefault(),this.props.changeScope("all")};setScopeInstitution=e=>{e.preventDefault(),this.props.changeScope("institution")}}const $b={publisherNames:"filters/publisher_names",authorNames:"filters/author_names",departmentNames:"filters/department_names",affiliations:"filters/affiliations",funders:"filters/funders",grants:"filters/grants",sustainable_development_goals:"filters/sustainable_development_goals"},$i=({filterSet:t,name:e,id:r,type:n,initialSearch:i,label:a,helpUrl:o,helpTip:f,analyticsEventPrefix:u,analyticsFieldName:m,loadingMessage:S,placeholder:w,queryMethod:x})=>{const T=t.get(`${e}[]`),y=JSON.stringify(T),E=Q.useMemo(()=>T.map(h=>({id:h})),[y]),A=T.length,j=Q.useRef(null),R=$b[x]||"",{data:k,loading:B}=da(R,{enabled:!!(R&&A)}),L=R?k??[]:E;Q.useEffect(()=>{j.current&&(A||j.current.clearAll())},[A]);const C=h=>{t.set(`${e}[]`,h.map(H=>H.id))};return s.jsxs("div",{className:"Explorer-AdvancedSearch-field",children:[s.jsxs("label",{children:[a,s.jsx(Cr,{href:o,tip:f,analyticsFieldName:m})]}),B?s.jsx("div",{children:S}):s.jsx(Is,{name:e,id:r,type:n,initialValue:i,placeholder:w,onChangeItems:C,initiallySelected:L,ref:j,analyticsEventPrefix:u,analyticsFieldName:m})]})};$i.propTypes={filterSet:ve.instanceOf(Lt).isRequired,name:ve.string.isRequired,id:ve.string.isRequired,type:ve.string.isRequired,initialSearch:ve.string,label:ve.string.isRequired,helpUrl:ve.string,helpTip:ve.string,analyticsEventPrefix:ve.string,analyticsFieldName:ve.string,loadingMessage:ve.string,placeholder:ve.string,queryMethod:ve.string};const Qc=({filterSet:t,initialSearch:e})=>s.jsx($i,{filterSet:t,initialSearch:e,name:"author_id",id:"filter_author_id",type:"authors",label:I18n.t("Explorer.AdvancedSearch.fields.authors.title"),helpUrl:I18n.t("Explorer.AdvancedSearch.help_uri"),helpTip:I18n.t("Explorer.AdvancedSearch.fields.authors.description"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Verified Author",loadingMessage:I18n.t("Explorer.AdvancedSearch.fields.authors.loading"),placeholder:I18n.t("Explorer.AdvancedSearch.fields.authors.placeholder"),queryMethod:"authorNames"});Qc.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};const e1=({filterSet:t,initialSearch:e})=>s.jsx($i,{filterSet:t,initialSearch:e,name:"department_id",id:"filter_department_id",type:"departments",label:I18n.t("Explorer.AdvancedSearch.fields.departments.title"),helpUrl:I18n.t("Explorer.AdvancedSearch.help_uri"),helpTip:I18n.t("Explorer.AdvancedSearch.fields.departments.help"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Verified Department",loadingMessage:I18n.t("Explorer.AdvancedSearch.fields.departments.loading"),placeholder:I18n.t("Explorer.AdvancedSearch.fields.departments.placeholder"),queryMethod:"departmentNames"});e1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};class Wb extends it.Component{static propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearchTerm:ve.instanceOf(fr).isRequired};render(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-group InstitutionSearchFields",children:[s.jsx("h3",{className:"Explorer-AdvancedSearch-field-group-title",children:I18n.t("Explorer.AdvancedSearch.groups.institution")}),s.jsx(Qc,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForAuthor()}),s.jsx(e1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForDepartment()})]})}}const t1=({filterSet:t})=>{const e=St(),r=t.get("dimensions_search_id"),[n,i]=Q.useState(!!r),[a,o]=Q.useState(null);Q.useEffect(()=>{if(!r){o(null),i(!1);return}i(!0);const m=Ui("filters/dimensions_search",e);return m.then((S,w)=>{S?.name!=="AbortError"&&(!S&&w.body&&o(w.body),i(!1))}),()=>m.abort()},[r]);const f=()=>{window.open(window.site_config.dimensionsBaseURL,"_blank")},u=()=>{t.clear("dimensions_search_id"),o(null)};return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-container DimensionsSearchFilter",children:[s.jsxs("span",{children:["Â ",s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.fields.dimensions_search.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.dimensions_search.description"),analyticsFieldName:"Dimensions Integration"})]}),s.jsx("fieldset",{children:n?s.jsx("div",{className:"DimensionsSearchFilter-loading-message",children:I18n.t("Explorer.AdvancedSearch.fields.dimensions_search.loading")}):a?s.jsxs("div",{className:"DimensionsSearchFilter-content",children:[s.jsx("header",{children:s.jsx("img",{className:"integrations-logo",src:"/explorer/dimensions-logo.svg",alt:"Dimensions"})}),s.jsx("div",{className:"Explorer-AdvancedSearch-field-container-content-main","data-text-id":"query_info",children:I18n.htmlSafe("Explorer.AdvancedSearch.fields.dimensions_search.query_info_html",{query_title:a.description})}),s.jsxs("div",{className:"Explorer-AdvancedSearch-field-container-buttons",children:[s.jsx("button",{type:"button",className:"generic-button",onClick:f,"data-btn-id":"edit",children:I18n.t("Explorer.AdvancedSearch.fields.dimensions_search.edit")}),s.jsx("button",{type:"button",className:"generic-button",onClick:u,"data-btn-id":"clear",children:I18n.t("Explorer.AdvancedSearch.fields.dimensions_search.clear")})]})]}):s.jsxs("div",{className:"DimensionsSearchFilter-content",children:[s.jsx("header",{children:s.jsx("img",{className:"integrations-logo",src:"/explorer/dimensions-logo.svg",alt:"Dimensions"})}),s.jsx("div",{className:"Explorer-AdvancedSearch-field-container-content-main","data-text-id":"no_query",children:I18n.htmlSafe("Explorer.AdvancedSearch.fields.dimensions_search.no_query_html")})]})})]})};t1.propTypes={filterSet:ve.instanceOf(Lt).isRequired};class R9 extends it.Component{static propTypes={filterSet:ve.instanceOf(Lt).isRequired};render(){const e=this.allIntegrationsSearchFields;return this.hasIntegrationsSearchFields(e)?s.jsxs("div",{className:"Explorer-AdvancedSearch-field-group IntegrationsSearchFields",children:[s.jsx("h3",{className:"Explorer-AdvancedSearch-field-group-title",children:I18n.t("Explorer.AdvancedSearch.groups.integrations")}),e]}):null}hasIntegrationsSearchFields(e){return it.Children.count(e.props.children)>0}get allIntegrationsSearchFields(){return s.jsx("div",{children:this.dimensionsSearchFilter})}get dimensionsSearchFilter(){if(!window.current_user.librarian)return s.jsx(t1,{filterSet:this.props.filterSet})}}const qb=ir.outputTypes||[];class Vb extends it.Component{static propTypes={filterSet:ve.instanceOf(Lt).isRequired,analyticsFieldName:ve.string};render(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field TypeFilter",children:[this.label,this.options]})}
94get label(){return s.jsxs("label",{children:[I18n.t("Explorer.AdvancedSearch.fields.type.title"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.type.description"),analyticsFieldName:"Type Of Output"})]})}get options(){return s.jsxs("fieldset",{children:[s.jsx("legend",{children:I18n.t("Explorer.AdvancedSearch.fields.type.title")}),s.jsxs("label",{className:`select-all ${this.noneSelected?"selected":"not-selected"}`,children:[s.jsx("input",{id:"AdvancedSearch-Type-Filter-all",type:"checkbox",checked:this.noneSelected,onChange:this.onSelectAll}),s.jsx("span",{className:"label",children:I18n.t("Explorer.AdvancedSearch.fields.type.types.all")})]}),s.jsx("div",{className:"others",children:qb.map(e=>this.typeField(e))})]})}typeField(e){const r=!window.current_user.books&&(e==="book"||e==="chapter"),n=`AdvancedSearch-Type-Filter-${e}`,i=!r&&this.isSelected(e),a=[];return r&&a.push("unavailable"),i&&a.push("selected"),s.jsx("div",{children:s.jsxs("label",{htmlFor:n,className:a.join(" "),children:[s.jsx("input",{disabled:r,id:n,type:"checkbox",checked:i,onChange:o=>this.onSelectType(e,o)}),s.jsxs("span",{className:"label",children:[s.jsx("span",{className:"text",children:I18n.t(e,{scope:"Explorer.AdvancedSearch.fields.type.types"})}),r?s.jsx("span",{className:"warning","data-tooltip-content":I18n.t("Explorer.AdvancedSearch.fields.type.unavailable"),"data-tooltip-id":"HelpLink"}):null]})]})},e)}get value(){return this.props.filterSet.get("type[]")||[]}isSelected(e){return Tr(this.value,e)}get noneSelected(){return this.value.length===0}onSelectAll=()=>{this.selectNone(),this.trackEvent("Item Selected","all")};selectNone=()=>{this.setSelected([])};onSelectType=(e,r)=>{const n=r.target.checked;let i=[];n?(i=vi(Pn(this.value,e)),this.trackEvent("Item Selected",e)):(i=_d(this.value,e),this.trackEvent("Item Deselected",e)),i.length==ir.outputTypes.length&&(i=[]),this.setSelected(i)};setSelected=e=>{this.props.filterSet.set("type[]",e),this.forceUpdate()};trackEvent(e,r=null){this.trackingEnabled&&Analytics.trackEvent(`Advanced Search: Field ${e}`,{field_name:this.props.analyticsFieldName,...r&&{value:r}})}get trackingEnabled(){return!!this.props.analyticsFieldName}}const Yb=ir.openAccessTypes,br=ir.openAccessAllTypesFilter,sl=ir.openAccessClosedType;class Xb extends it.Component{static propTypes={filterSet:ve.instanceOf(Lt).isRequired,analyticsFieldName:ve.string};constructor(e){super(e),this.state={selectedTypes:this.typesForUI(this.value)}}componentDidUpdate(e){e.filterSet!==this.props.filterSet&&this.setState({selectedTypes:this.typesForUI(this.value)})}render(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field OpenAccessTypeFilter",children:[this.label,s.jsxs("fieldset",{children:[s.jsxs("header",{children:[s.jsx("legend",{children:I18n.t("Explorer.AdvancedSearch.fields.open_access_types.title")}),s.jsxs("label",{className:`select-all ${this.noneSelected?"selected":"not-selected"}`,children:[s.jsx("input",{id:"AdvancedSearch-OpenAccessType-Filter-all",type:"checkbox",checked:this.noneSelected,onChange:this.onSelectAll}),s.jsx("span",{className:"label",children:I18n.t("Explorer.AdvancedSearch.fields.open_access_types.types.all")})]}),this.openAccessOnlyToggle]}),s.jsxs("div",{className:"others",children:[s.jsx("div",{className:"open-types",children:this.openAccessTypesList}),s.jsx("div",{className:"closed-types",children:this.typeField(sl)})]})]})]})}get label(){return s.jsxs("label",{children:[I18n.t("Explorer.AdvancedSearch.fields.open_access_types.title"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.open_access_types.description"),analyticsFieldName:"Type Of Open Access"})]})}get openAccessOnlyToggle(){const e=this.isSelected(br);return s.jsxs("label",{htmlFor:`AdvancedSearch-OpenAccessType-Filter-${br}`,className:Fi("select-all-open-access",{selected:e}),children:[s.jsx("input",{id:`AdvancedSearch-OpenAccessType-Filter-${br}`,type:"checkbox",checked:e,onChange:this.onSelectOpenAccessOnly}),s.jsx("span",{className:"icon","aria-hidden":"true"}),I18n.t(`Explorer.AdvancedSearch.fields.open_access_types.types.${br}`)]})}get openAccessTypesList(){return[...this.onlyOpenTypes].map(e=>this.typeField(e))}typeField(e){const r=`AdvancedSearch-OpenAccessType-Filter-${e}`,n=this.isSelected(e),i=I18n.t(e,{scope:"Explorer.AdvancedSearch.fields.open_access_types.types"});return s.jsx("div",{children:s.jsxs("label",{htmlFor:r,className:Fi({selected:n}),children:[s.jsx("input",{id:r,type:"checkbox",checked:n,onChange:a=>this.onSelectType(e,a),"aria-label":i}),s.jsx("span",{className:"label",children:s.jsx("span",{className:"text",children:i})})]})},e)}get value(){return new Set(this.props.filterSet.get("open_access_types[]"))}isSelected(e){return this.state.selectedTypes.has(e)}get noneSelected(){return this.state.selectedTypes.size===0}get onlyOpenTypes(){return Yb.filter(e=>e!=sl)}unselectedOpenAccessTypes(e){return[...this.onlyOpenTypes].filter(r=>!e.has(r))}allOpenAreSelected(e){return this.unselectedOpenAccessTypes(e).length==0}onlyAllOpenAreSelected(e){return!e.has(sl)&&this.allOpenAreSelected(e)}onSelectAll=()=>{this.selectNone(),this.trackEvent("Item Selected","all")};selectNone=()=>{this.setSelected(new Set)};toggleSelectOpenAccessOnly=e=>{let r=new Set;this.state.selectedTypes.has(br)?this.trackEvent("Item Deselected",br):(r.add(br),this.trackEvent("Item Selected",br)),e.preventDefault(),this.setSelected(r)};onSelectOpenAccessOnly=e=>{const r=e.target.checked;let n=new Set;r?(n.add(br),this.trackEvent("Item Selected",br)):this.trackEvent("Item Deselected",br),this.setSelected(n)};onSelectType=(e,r)=>{const n=r.target.checked;let i=this.state.selectedTypes;n?(i.add(e),this.trackEvent("Item Selected",e)):(i.delete(e),this.trackEvent("Item Deselected",e)),this.setAllFlagFromSelectedTypes(i),this.setSelected(i)};setSelected=e=>{this.props.filterSet.set("open_access_types[]",this.typesForFilter(e)),this.setState({selectedTypes:this.typesForUI(e)})};typesForFilter(e){let r=new Set([...e]);return this.allOpenAreSelected(r)&&(r.add(br),this.onlyOpenTypes.forEac
94h(n=>r.delete(n))),[...r]}typesForUI(e){let r=new Set([...e]);return this.setSelectedTypesFromAllFlag(r),this.setAllFlagFromSelectedTypes(r),r}setSelectedTypesFromAllFlag(e){e.has(br)&&[...this.onlyOpenTypes].forEach(r=>e.add(r))}setAllFlagFromSelectedTypes(e){!e.has(br)&&this.onlyAllOpenAreSelected(e)?e.add(br):e.has(br)&&!this.onlyAllOpenAreSelected(e)&&e.delete(br)}trackEvent(e,r=null){this.trackingEnabled&&Analytics.trackEvent(`Advanced Search: Field ${e}`,{field_name:this.props.analyticsFieldName,...r&&{value:r}})}get trackingEnabled(){return!!this.props.analyticsFieldName}}let Kb=class extends it.Component{static propTypes={identifierList:ve.object,onCancel:ve.func.isRequired,onSave:ve.func.isRequired,analyticsDialogueName:ve.string.isRequired};constructor(e){super(e),this.state={saving:!1,content:"",tokens:[]},this.textEntered=!1}componentDidMount(){this.trackEvent("Opened",this.props.identifierList?"Edit":"Create"),this.props.identifierList?.content&&this.setState({content:this.props.identifierList.content},this.updateTokens)}componentWillUnmount(){this.updateTokens.cancel()}render(){return s.jsx("div",{className:"IdentifierFilter-editor",ref:e=>this.containerElement=e,children:s.jsxs("div",{className:"IdentifierFilter-editor-content",children:[this.title,this.content,this.footer,this.state.saving?this.savingIndicator:null]})})}get savingIndicator(){return s.jsx("div",{className:"IdentifierFilter-editor-saving-message"})}get title(){return s.jsx("div",{className:"IdentifierFilter-editor-title",children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.editor.header")})}get content(){return s.jsxs("div",{className:"IdentifierFilter-editor-inner",children:[s.jsx("div",{className:"IdentifierFilter-editor-note",children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.editor.notes",{maxCount:bt.formatNumberWithDelimiter(this.maxTokens)})}),s.jsx("div",{className:"IdentifierFilter-editor-form",children:s.jsx("textarea",{value:this.state.content,placeholder:I18n.t("Explorer.AdvancedSearch.fields.identifiers.editor.placeholder"),onChange:this.onChange,onFocus:this.onFocus,ref:this.fieldRef})})]})}get footer(){return s.jsxs("div",{className:"IdentifierFilter-editor-footer",children:[s.jsx("div",{className:`IdentifierFilter-editor-meta ${this.tooManyIdentifiers?"error":"no-error"}`,children:I18n.htmlSafe("Explorer.AdvancedSearch.fields.identifiers.editor.meta",{maxCount:bt.formatNumberWithDelimiter(this.maxTokens),formattedCount:bt.formatNumberWithDelimiter(this.state.tokens.length)})}),s.jsxs("div",{className:"IdentifierFilter-editor-buttons",children:[s.jsx("button",{type:"button",className:"cancel",onClick:this.onCancel,children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.editor.cancel")}),s.jsx("button",{type:"button",disabled:!this.canSave,className:`submit ${this.canSave?"enabled":"disabled"}`,onClick:this.onSave,children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.editor.save")})]})]})}updateTokens=D6(()=>{this.setState({tokens:this.state.content.split(/\s+/).filter(e=>e.length)})},250);get maxTokens(){return window.current_user.maxIdentifierTokens}get canSave(){return this.state.tokens.length>0&&!this.tooManyIdentifiers}get tooManyIdentifiers(){return this.state.tokens.length>this.maxTokens}fieldRef=e=>{this.field=e,e&&e.focus()};onChange=e=>{!this.textEntered&&e.target.value.length>this.state.content.length&&(this.textEntered=!0,this.trackEvent("Filled")),this.setState({content:e.target.value},this.updateTokens)};onFocus=()=>{this.field&&this.field.select()};onSave=async()=>{this.setState({saving:!0});const e={identifier_list:{identifiers:this.state.content}};try{const n=await(await Ms("/explorer/identifier_lists",{method:"post",body:JSON.stringify(e)})).json();this.trackEvent("Data Updated",null,this.state.tokens.length),this.props.onSave(n)}catch{window.alert(I18n.t("Explorer.AdvancedSearch.fields.identifiers.editor.error")),this.setState({saving:!1})}};onCancel=()=>{this.trackEvent("Closed"),this.props.onCancel()};trackEvent(e,r=null,n=null){Analytics.trackEvent(`Advanced Search: Modal Dialogue ${e}`,{dialogue_name:this.props.analyticsDialogueName,...r!==null&&{action:r},...n!==null&&{items_count:n}})}};const P9="Scholarly Identifiers",r1=({filterSet:t})=>{const e=St(),r=Q.useRef(null),n=Q.useRef(null),i=Q.useRef(null),a=!!(t.get("identifier_list_id")||t.get("identifier")),[o,f]=Q.useState(!1),[u,m]=Q.useState(null),[S,w]=Q.useState(a);Q.useEffect(()=>{if(!a)return;w(!0);const k=Ui("filters/identifier_list",e);return k.then((B,L)=>{B?.name!=="AbortError"&&(!B&&L.body&&m(L.body),w(!1))}),()=>k.abort()},[]);const x=()=>{f(!0),r.current?.showModal()},T=()=>{f(!1),r.current?.close()},y=k=>{queueMicrotask(()=>{k?i.current?.focus():n.current?.focus()})},E=()=>{t.clear("identifier_list_id"),t.clear("identifier"),m(null),y(null),Analytics.trackEvent("Advanced Search: Modal Dialogue Cleared",{dialogue_name:P9})},A=()=>{T(),y(u)},j=k=>{t.set("identifier_list_id",k.id),t.clear("identifier"),T(),m(k),y(k)},R=()=>{const k=hr(u.counts,(B,L)=>B>0&&I18n.t(L,{scope:"Explorer.AdvancedSearch.fields.identifiers.count",formattedCount:bt.formatNumberWithDelimiter(B),count:B}
94)).filter(B=>B);return k.length>0?k.join(", "):I18n.t("Explorer.AdvancedSearch.fields.identifiers.empty")};return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-container IdentifierFilter",children:[s.jsxs("label",{children:[I18n.t("Explorer.AdvancedSearch.fields.identifiers.title"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.identifiers.description"),analyticsFieldName:"Scholarly Identifiers"})]}),s.jsxs("fieldset",{children:[s.jsx("legend",{children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.title")}),S?s.jsx("div",{className:"IdentifierFilter-loading-message",children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.loading")}):u?s.jsxs("div",{className:"IdentifierFilter-content",children:[s.jsx("div",{className:"IdentifierFilter-identifier-description",children:R()}),s.jsxs("div",{className:"IdentifierFilter-identifier-edit-buttons",children:[s.jsx("button",{type:"button",className:"IdentifierFilter-edit-button",onClick:x,ref:i,children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.edit")}),s.jsx("button",{type:"button",className:"IdentifierFilter-clear-button",onClick:E,children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.clear")})]})]}):s.jsx("div",{className:"IdentifierFilter-content",children:s.jsx("div",{className:"IdentifierFilter-identifier-create-buttons",children:s.jsx("button",{type:"button",className:"IdentifierFilter-add-button",onClick:x,ref:n,children:I18n.t("Explorer.AdvancedSearch.fields.identifiers.add")})})})]}),s.jsx("dialog",{ref:r,onKeyDown:k=>k.stopPropagation(),children:o&&s.jsx(Kb,{identifierList:u,onCancel:A,onSave:j,analyticsDialogueName:P9})})]})};r1.propTypes={filterSet:ve.instanceOf(Lt).isRequired};let Zb=class extends it.Component{static propTypes={pubmedSearch:ve.object,onCancel:ve.func.isRequired,onSave:ve.func.isRequired,analyticsDialogueName:ve.string.isRequired};constructor(e){super(e),this.trackLinkClick=this.trackLinkClick.bind(this),this.state={saving:!1,content:""},this.textEntered=!1}componentDidMount(){this.trackEvent("Opened",this.props.pubmedSearch?"Edit":"Create"),this.props.pubmedSearch&&this.setState({content:this.props.pubmedSearch.content},this.updateTokens)}render(){return s.jsx("div",{className:"PubmedFilter-editor",ref:e=>this.containerElement=e,children:s.jsxs("div",{className:"PubmedFilter-editor-content",children:[this.title,this.content,this.footer,this.state.saving?this.savingIndicator:null]})})}get savingIndicator(){return s.jsx("div",{className:"PubmedFilter-editor-saving-message"})}get title(){return s.jsx("div",{className:"PubmedFilter-editor-title",children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.header")})}get content(){return s.jsxs("div",{className:"PubmedFilter-editor-inner",children:[s.jsxs("div",{className:"PubmedFilter-editor-note",children:[I18n.htmlSafe("Explorer.AdvancedSearch.fields.pubmed.editor.notes",{max:bt.formatNumberWithDelimiter(this.maxResults)}),"Â ",s.jsx("a",{onClick:this.trackLinkClick,href:"https://help.altmetric.com/support/solutions/articles/6000240861-advanced-search-search-by-pubmed-query","data-link-id":"how-to",target:"_blank",rel:"noreferrer",children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.how_to_link_text")})]}),s.jsx("div",{className:"PubmedFilter-editor-form",children:s.jsx("textarea",{value:this.state.content,placeholder:I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.placeholder"),onChange:this.onChange,onFocus:this.onFocus,ref:this.fieldRef})})]})}get footer(){return s.jsxs("div",{className:"PubmedFilter-editor-footer",children:[s.jsx("div",{className:"PubmedFilter-editor-meta",children:this.canSave?I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.meta"):I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.empty")}),s.jsxs("div",{className:"PubmedFilter-editor-buttons",children:[s.jsx("button",{type:"button",className:"cancel",onClick:this.onCancel,children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.cancel")}),s.jsx("button",{type:"button",disabled:!this.canSave,className:`submit ${this.canSave?"enabled":"disabled"}`,onClick:this.onSave,children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.save")})]})]})}get canSave(){return this.state.content.length>0}get maxResults(){return window.current_user.maxPubmedResults}fieldRef=e=>{this.field=e,e&&e.focus()};
94onChange=e=>{!this.textEntered&&e.target.value.length>this.state.content.length&&(this.textEntered=!0,this.trackEvent("Filled")),this.setState({content:e.target.value},this.updateTokens)};onFocus=()=>{this.field&&this.field.select()};onSave=async()=>{this.setState({saving:!0});const e={pubmed_search:{query:this.state.content}};try{const n=await(await Ms("/explorer/pubmed_searches",{method:"post",body:JSON.stringify(e)})).json();this.trackEvent("Data Updated",null,n.content),this.props.onSave(n)}catch{window.alert(I18n.t("Explorer.AdvancedSearch.fields.pubmed.editor.error")),this.setState({saving:!1})}};onCancel=()=>{this.trackEvent("Closed"),this.props.onCancel()};trackLinkClick=e=>{this.trackEvent("Link Clicked",null,null,e.target.dataset.linkId)};trackEvent(e,r=null,n=null,i=null){Analytics.trackEvent(`Advanced Search: Modal Dialogue ${e}`,{dialogue_name:this.props.analyticsDialogueName,...r!==null&&{action:r},...n!==null&&{pubmed_query:n},...i!==null&&{link:i}})}};const N9="PubMed query",i1=({filterSet:t})=>{const e=St(),r=Q.useRef(null),n=Q.useRef(null),i=Q.useRef(null),a=t.get("pubmed_search_id"),[o,f]=Q.useState(!1),[u,m]=Q.useState(null),[S,w]=Q.useState(!!a);Q.useEffect(()=>{if(!a)return;w(!0);const k=Ui("filters/pubmed_search",e);return k.then((B,L)=>{B?.name!=="AbortError"&&(!B&&L.body&&m(L.body),w(!1))}),()=>k.abort()},[]);const x=()=>{f(!0),r.current?.showModal()},T=()=>{f(!1),r.current?.close()},y=k=>{queueMicrotask(()=>{k?i.current?.focus():n.current?.focus()})},E=()=>{t.clear("pubmed_search_id"),m(null),y(null),Analytics.trackEvent("Advanced Search: Modal Dialogue Cleared",{dialogue_name:N9})},A=()=>{T(),y(u)},j=k=>{t.set("pubmed_search_id",k.id),T(),m(k),y(k)},R=()=>u.count===0?I18n.t("Explorer.AdvancedSearch.fields.pubmed.empty"):u.total>u.count?I18n.htmlSafe("Explorer.AdvancedSearch.fields.pubmed.too_many",{count:bt.formatNumberWithDelimiter(u.count),total:bt.formatNumberWithDelimiter(u.total)}):I18n.t("Explorer.AdvancedSearch.fields.pubmed.count",{count:u.count,formattedCount:bt.formatNumberWithDelimiter(u.count)});return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-container PubmedFilter",children:[s.jsxs("label",{children:[I18n.t("Explorer.AdvancedSearch.fields.pubmed.title"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.pubmed.description"),analyticsFieldName:"Pubmed Query"})]}),s.jsxs("fieldset",{children:[s.jsx("legend",{children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.title")}),S?s.jsx("div",{className:"PubmedFilter-loading-message",children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.loading")}):u?s.jsxs("div",{className:"PubmedFilter-content",children:[s.jsx("div",{className:"PubmedFilter-search-description",children:R()}),s.jsxs("div",{className:"PubmedFilter-search-edit-buttons",children:[s.jsx("button",{type:"button",className:"PubmedFilter-edit-button",onClick:x,ref:i,children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.edit")}),s.jsx("button",{type:"button",className:"PubmedFilter-clear-button",onClick:E,children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.clear")})]})]}):s.jsx("div",{className:"PubmedFilter-content",children:s.jsx("div",{className:"PubmedFilter-search-create-buttons",children:s.jsx("button",{type:"button",className:"PubmedFilter-add-button",onClick:x,ref:n,children:I18n.t("Explorer.AdvancedSearch.fields.pubmed.add")})})})]}),s.jsx("dialog",{ref:r,onKeyDown:k=>k.stopPropagation(),children:o&&s.jsx(Zb,{pubmedSearch:u,onCancel:A,onSave:j,analyticsDialogueName:N9})})]})};i1.propTypes={filterSet:ve.instanceOf(Lt).isRequired};const ws=({children:t,variant:e,...r})=>s.jsx("button",{className:"Button","data-variant":e,type:"button",...r,children:t}),Jb=100;function Qb(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ev(t,e){return e?t.split(new RegExp(`(${Qb(e)})`,"i")).map((n,i)=>i%2===1?s.jsx("strong",{children:n},i):s.jsx(it.Fragment,{children:n},i)):t}const n1=({item:t,rowId:e=t.id,searchTerm:r,isSelected:n,isFocused:i,disabled:a,lockedByParent:o=!1,onToggle:f,onFocus:u=null,renderMeta:m=null,renderExtras:S=null,treeMode:w=!1,isParent:x=!1,isChild:T=!1,expanded:y=!1,onToggleExpand:E=null,ariaSetSize:A,ariaPosInSet:j,parentCheckboxState:R="unchecked"})=>{const k=w?"treeitem":"option",B=T?2:1,L=o||(x?R==="checked":n),C=(x?R==="checked":L)?"true":"false",h=["ModalPicker-result"].concat(x?["ModalPicker-result--parent"]:[]).concat(T?["ModalPicker-result--child"]:[]).join(" "),H=P=>
94{P&&(x&&(P.indeterminate=R==="mixed"),i&&P.focus())};return s.jsxs("div",{role:k,"aria-selected":C,"aria-level":w?B:void 0,"aria-expanded":x?y:void 0,"aria-setsize":w?A:void 0,"aria-posinset":w?j:void 0,className:h,children:[s.jsxs("label",{htmlFor:`modal-picker-result-${e}`,className:"ModalPicker-resultLabel",children:[s.jsx("input",{ref:H,type:"checkbox",id:`modal-picker-result-${e}`,className:"ModalPicker-checkbox",checked:L,disabled:a,"aria-disabled":o||void 0,onChange:P=>{o||f(t,P.target.checked)},onFocus:u??void 0,tabIndex:i?"0":"-1"}),x&&s.jsx("button",{type:"button",className:"ModalPicker-chevron","aria-hidden":"true",tabIndex:-1,onClick:P=>{P.preventDefault(),P.stopPropagation(),E?.(t)},children:y?s.jsx(T8,{size:"16",weight:"bold"}):s.jsx(M8,{size:"16",weight:"bold"})}),s.jsxs("span",{className:"ModalPicker-resultText",children:[s.jsxs("span",{className:"ModalPicker-resultName",children:[ev(t.name,r),x&&" (all)"]}),m&&m(t)]})]}),S&&S(t)]})};n1.propTypes={item:ve.shape({id:ve.string.isRequired,name:ve.str
94ing.isRequired}).isRequired,rowId:ve.string,searchTerm:ve.string,isSelected:ve.bool,isFocused:ve.bool,disabled:ve.bool,lockedByParent:ve.bool,onToggle:ve.func.isRequired,onFocus:ve.func,renderMeta:ve.func,renderExtras:ve.func,treeMode:ve.bool,isParent:ve.bool,isChild:ve.bool,expanded:ve.bool,onToggleExpand:ve.func,ariaSetSize:ve.number,ariaPosInSet:ve.number,parentCheckboxState:ve.oneOf(["unchecked","mixed","checked"])};const _9="ModalPicker-selectedList",s1=({selected:t,onRemove:e,fallbackFocusRef:r,i18nBase:n,renderItemExtras:i=null})=>{const[a,o]=Q.useState(!1),f=Q.useRef(new Map),u=t.length===0,m=a&&!u;function S(T,y){e(T);const E=t.filter(k=>k.id!==T.id);if(E.length===0){r?.current?.focus();return}const A=Math.min(y,E.length-1),j=E[A];f.current.get(j.id)?.focus()}function w(){o(T=>!T)}const x=I18n.t(`${n}.modal.selected_label`);return s.jsxs("div",{className:"ModalPicker-selectedList",children:[s.jsxs("button",{type:"button",className:"ModalPicker-selectedToggle","aria-expanded":m,"aria-controls":_9,disabled:u,onClick:w,children:[s.jsx("span",{"aria-hidden":!0,className:"ModalPicker-selectedChevron",children:m?s.jsx(T8,{size:16,weight:"bold"}):s.jsx(M8,{size:16,weight:"bold"})}),s.jsx("strong",{children:x})]}),m&&s.jsx("ul",{id:_9,className:"ModalPicker-selectedItems",children:t.map((T,y)=>s.jsxs("li",{className:"ModalPicker-selectedItem",children:[s.jsx("span",{className:"ModalPicker-selectedItemName",children:T.name}),i&&i(T),s.jsx("button",{ref:E=>{E?f.current.set(T.id,E):f.current.delete(T.id)},type:"button",className:"ModalPicker-selectedItemRemove","aria-label":I18n.t(`${n}.modal.remove_aria`,{name:T.name}),onClick:()=>S(T,y),children:s.jsx(R8,{size:"16px","aria-hidden":!0})})]},T.id))})]})};s1.propTypes={selected:ve.array.isRequired,onRemove:ve.func.isRequired,fallbackFocusRef:ve.shape({current:ve.any}),i18nBase:ve.string.isRequired,renderItemExtras:ve.func};const Or={NOT_STARTED:"not-started",IN_PROGRESS:"in-progress",ERROR:"error",EMPTY_RESPONSE:"empty-response",SUCCESS:"success"},I9="ModalPicker-results",o1=({initiallySelected:t=[],initialSearch:e="",titleId:r,i18nBase:n,analyticsDialogueName:i,autocompletePath:a,trackEvent:o,onCancel:f,onSave:u,maxSelected:m=Jb,helperText:S=[],renderResultMeta:w=null,renderResultExtras:x=null,renderNoResults:T=null,renderSelectedItemExtras:y=null,parseResponse:E=R=>({results:R??[],meta:null}),getResultGroups:A=null,renderSelectedList:j=null})=>{const R=Q.useRef(null),k=Q.useRef(!1),[B,L]=Q.useState([]),[C,h]=Q.useState(null),[H,P]=Q.useState(e),[N,I]=Q.useState(t),[F,l]=Q.useState(null),[d,p]=Q.useState(Or.NOT_STARTED),[v,b]=Q.useState(()=>new Set),M=Q.useMemo(()=>new Set(N.map(ne=>ne.id)),[N]),{parentStateById:O,lockedChildIds:_}=Q.useMemo(()=>{const ne=new Map,oe=new Set;return B.forEach(ue=>{const ye=Array.isArray(ue.children)?ue.children:[];let be;M.has(ue.id)?be="checked":ye.some(Te=>M.has(Te.id))?be="mixed":be="unchecked",ne.set(ue.id,be),be==="checked"&&ye.forEach(Te=>oe.add(Te.id))}),{parentStateById:ne,lockedChildIds:oe}},[B,M]);Q.useEffect(()=>{R.current?.focus()},[]),Q.useEffect(()=>{if(l(null),b(new Set),!H.length){p(Or.NOT_STARTED),L([]),h(null);return}let ne=!1,oe;const ue=H.length<3?500:200,ye=setTimeout(()=>{p(Or.IN_PROGRESS),oe=new d8(`${a}?q=${encodeURIComponent(H)}`,{headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/json",Accept:"application/json"}}),oe.then((be,Te)=>{if(ne)return;if(be){L([]),p(Or.ERROR);return}const{results:fe,meta:de}=E(Te.body);L(fe),h(de),p(fe.length===0?Or.EMPTY_RESPONSE:Or.SUCCESS),U(fe)})},ue);return()=>{ne=!0,clearTimeout(ye),oe?.abort()}},[H,a]);function U(ne){if(k.current||!e||!ne?.length)return;k.current=!0;const oe=e.toLowerCase(),ue=ne.filter(be=>be.name.toLowerCase()===oe||be.id===e);if(ue.length!==1)return;const ye=ue[0];I(be=>be.some(Te=>Te.id===ye.id)||m!==null&&be.length>=m?be:[...be,{id:ye.id,name:ye.name}])}function q(ne,oe){oe?(I(ue=>[...ue,{id:ne.id,name:ne.name}]),o("Item selected",{value:ne.name})):(I(ue=>ue.filter(ye=>ye.id!==ne.id)),o("Item deselected",{value:ne.name}))}function z(ne,oe){const ue=(ne.children??[]).length,ye=J(ne),be=B.filter(de=>de.id!==ne.id),Te=de=>be.some(he=>Array.isArray(he.children)&&he.children.some(me=>me.id===de)),fe=new Set((ne.children??[]).filter(de=>!Te(de.id)).map(de=>de.id));if(ye==="checked"){I(de=>de.filter(he=>he.id!==ne.id&&!fe.has(he.id))),o("Parent deselected",{value:ne.name,children_count:ue});return}I(de=>{if(de.some(me=>me.id===ne.id))return de;const he=de.filter(me=>!fe.has(me.id));return m!==null&&he.length>=m?de:[...he,{id:ne.id,name:ne.name}]}),b(de=>{if(!de.has(ne.id))return de;const he=new Set(de);return he.delete(ne.id),he}),o("Parent selected",{value:ne.name,children_count:ue})}function J(ne){return O.get(ne.id)??"unchecked"}function te(ne){return _.has(ne)}function ce(ne){b(oe=>{const ue=new Set(oe);return ue.has(ne.id)?(ue.delete(ne.id),o("Parent collapsed",{value:ne.name})):(ue.add(ne.id),o("Parent expanded",{value:ne.name})),ue})}function xe(ne){I(oe=>oe.filter(ue=>ue.id!==ne.id)),o("Item deselected",{value:ne.name})}const V=Q.useMemo(()=>B.some(ne=>Array.isArray(ne.children)),[B]),Y=Q.useMemo(()=>B.flatMap(ne=>{const oe=Array.isArray(ne.children)&&ne.children.length>0,ue=[{item:ne,isParent:oe,isChild:!1}];
94return oe&&v.has(ne.id)&&ne.children.forEach(ye=>{ue.push({item:ye,isParent:!1,isChild:!0,parent:ne})}),ue}),[B,v]),X=Q.useMemo(()=>Y.map((ne,oe)=>({...ne,index:oe})),[Y]),ae=Q.useMemo(()=>A?A(X,C):null,[A,X,C]);function $(ne){if(Y.length===0)return;const oe=Y.length-1,ue=F===null?null:Y[F];switch(ne.key){case"ArrowDown":ne.preventDefault(),l(F===null||F===oe?0:F+1);break;case"ArrowUp":ne.preventDefault(),l(F===null||F===0?oe:F-1);break;case"ArrowRight":if(!ue?.isParent)return;ne.preventDefault(),v.has(ue.item.id)?l(F+1):ce(ue.item);break;case"ArrowLeft":if(!ue)return;if(ne.preventDefault(),ue.isChild){const ye=Y.findIndex(be=>be.item.id===ue.parent.id);ye!==-1&&l(ye)}else ue.isParent&&v.has(ue.item.id)&&ce(ue.item);break;case"Enter":ne.preventDefault();break}}const K=B.length>0||d===Or.EMPTY_RESPONSE||d===Or.ERROR,Z=ne=>M.has(ne),se=m!==null&&N.length>=m;function ie(ne,oe){const ue=ne.isChild&&te(ne.item.id),ye=ne.isChild?`${ne.parent.id}::${ne.item.id}`:ne.item.id;return s.jsx(n1,{rowId:ye,item:ne.item,searchTerm:H,isSelected:Z(ne.item.id),isFocused:oe===F,disabled:se&&!Z(ne.item.id)&&!ne.isParent,lockedByParent:ue,onToggle:ne.isParent?z:q,onFocus:()=>l(oe),renderMeta:w,renderExtras:x,treeMode:V,isParent:ne.isParent,isChild:ne.isChild,expanded:ne.isParent&&v.has(ne.item.id),onToggleExpand:ce,ariaSetSize:ne.isChild?ne.parent.children.length:B.length,ariaPosInSet:ne.isChild?ne.parent.children.findIndex(be=>be.id===ne.item.id)+1:B.findIndex(be=>be.id===ne.item.id)+1,parentCheckboxState:ne.isParent?J(ne.item):"unchecked"},ye)}return s.jsxs(s.Fragment,{children:[s.jsx("h2",{className:"ModalPicker-header",id:r,children:I18n.t(`${n}.modal.title`)}),s.jsxs("div",{className:"ModalPicker-body",children:[s.jsx("div",{className:"visually-hidden",role:"status","aria-live":"polite",children:(d===Or.SUCCESS||d===Or.EMPTY_RESPONSE)&&`${B.length} results`}),s.jsxs("div",{className:"ModalPicker-fieldLabelRow",children:[s.jsx("label",{htmlFor:"ModalPicker-searchInput",className:"ModalPicker-fieldLabel",children:I18n.t(`${n}.title`)}),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t(`${n}.help`),analyticsFieldName:i})]}),S.length>0&&s.jsx("div",{className:"ModalPicker-helperText",children:S.map((ne,oe)=>s.jsx("p",{children:ne},oe))}),s.jsxs("div",{className:"ModalPicker-container",children:[s.jsx("div",{className:"ModalPicker-loadingIcon",children:s.jsx(aa,{loading:d===Or.IN_PROGRESS})}),s.jsx("input",{ref:R,id:"ModalPicker-searchInput",role:"combobox",type:"text",autoComplete:"off","aria-autocomplete":"list","aria-controls":I9,"aria-expanded":K,className:"ModalPicker-searchInput",placeholder:I18n.t(`${n}.modal.placeholder`),value:H,onChange:ne=>P(ne.target.value),onFocus:()=>l(null),onKeyDown:$}),K&&s.jsx("div",{className:"ModalPicker-resultsContainer",children:s.jsxs("div",{id:I9,role:V?"tree":"listbox","aria-multiselectable":"true",tabIndex:-1,className:"ModalPicker-results",onKeyDown:$,children:[d===Or.EMPTY_RESPONSE&&s.jsx("p",{className:"ModalPicker-empty-state",children:T?T(H):I18n.t(`${n}.modal.no_results`,{term:H})}),d===Or.ERROR&&s.jsx("p",{className:"ModalPicker-error-state",role:"alert",children:I18n.t(`${n}.modal.error`)}),d===Or.SUCCESS&&(ae?ae.map(ne=>s.jsxs("div",{role:"group","aria-label":ne.label,className:"ModalPicker-section",children:[s.jsx("p",{className:"ModalPicker-sectionLabel",children:ne.label}),ne.rows.map(oe=>ie(oe,oe.index))]},ne.key)):X.map(ne=>ie(ne,ne.index)))]})})]}),se&&s.jsx("p",{className:"ModalPicker-maxReached",children:I18n.t(`${n}.modal.max_reached`)}),j?j({selected:N,onRemove:xe,fallbackFocusRef:R}):s.jsx(s1,{selected:N,onRemove:xe,fallbackFocusRef:R,i18nBase:n,renderItemExtras:y})]}),s.jsxs("footer",{className:"ModalPicker-footer",children:[s.jsx(ws,{variant:"danger",onClick:f,children:I18n.t(`${n}.modal.cancel`)}),s.jsx(ws,{variant:"confirm",disabled:N.length===0,onClick:()=>u(N),children:I18n.t(`${n}.modal.save`)})]})]})};o1.propTypes={initiallySelected:ve.array,initialSearch:ve.string,titleId:ve.string,analyticsDialogueName:ve.string,i18nBase:ve.string.isRequired,autocompletePath:ve.string.isRequired,trackEvent:ve.func.isRequired,onCancel:ve.func.isRequired,onSave:ve.func.isRequired,maxSelected:ve.number,helperText:ve.arrayOf(ve.node),renderResultMeta:ve.func,renderResultExtras:ve.func,renderNoResults:ve.func,renderSelectedItemExtras:ve.func,renderSelectedList:ve.func,parseResponse:ve.func,getResultGroups:ve.func};const tv=250,ha=({filterSet:t,initialSearch:e,i18nKey:r,filterKey:n,autocompletePath:i,bootstrapMethod:a,analyticsDialogueName:o,maxSelected:f,helperText:u,renderResultMeta:m,renderResultExtras:S,renderNoResults:w,renderSelectedItemExtras:x,renderSelectedList:T,parseResponse:y,getResultGroups:E})=>{const A=St(),j=Q.useId(),R=Q.useRef(null),k=Q.useRef(null),[B,L]=Q.useState([]),[C,h]=Q.useState(!1),[H,P]=Q.useState(!1),[N,I]=Q.useState(!1),F=`Explorer.AdvancedSearch.fields.${r}`,l=Q.useCallback((_,U={})=>{Q9(`Advanced Search: Modal Dialogue ${_}`,{dialogue_name:o,...U})},[o]);if(Q.useEffect(()=>{let _,U=!1;if(!window.current_user.librarian)return t.get(n).length?(P(!0),_=Ui(`filters/${a}`,A),_.then((q,z)=>{U||(L(!q&&z.body?.length?z.body:[]),P(!1))})):L([]),()=>{U=!0,_?.abort()}},[t,n,a]),Q.useEffect(()=>{window.current_user.librarian||!e||N||H||(I(!0),d(),l("Auto-opened",{from_term:e}))},[e,N,H]),Q.useEffect(()=>()=>clearTimeout(k.current),[]),window.current_user.librarian)return null;function d(){k.current&&(clearTimeout(k.current),k.current=null),h(!0),R.current?.open||R.current?.showModal()}function p(){d(),l("Opened")}function v(){R.current?.close(),k.current=setTimeout(()=>{h(!1),k.current=null},tv)}function b(){v(),l("Closed",{method:"Cancel button"})}function M(_){L(_),_.length===0?t.clear(n):t.set(n,_.map(U=>U.id)),v(),l("Saved",{items_count:_.length})}function O(){t.clear(n),L([]),l("Cleared")}return s.jsx("div",{className:"ModalPicker Explorer-AdvancedSearch-field",children:s.jsxs("fieldset",{className:"ModalPicker-fieldset",children:[s.jsxs("legend",{className:"Explorer-Form-label ModalPicker-legend",children:[I18
94n.t(`${F}.title`),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t(`${F}.help`),analyticsFieldName:o})]}),s.jsxs("div",{className:"ModalPicker-fieldset-content",children:[H&&s.jsx("span",{children:I18n.t(`${F}.loading`)}),!H&&B.length>0&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"ModalPicker-selected",children:I18n.t(`${F}.count`,{count:B.length})}),s.jsx(ws,{onClick:p,children:I18n.t(`${F}.edit`)}),s.jsx(ws,{onClick:O,variant:"danger",children:I18n.t(`${F}.clear`)})]}),!H&&B.length===0&&s.jsx(ws,{onClick:p,children:I18n.t(`${F}.add`)})]}),s.jsx("dialog",{ref:R,className:"ModalPicker-dialog",closedby:"closerequest","aria-labelledby":j,onCancel:()=>{l("Closed",{method:"Escape Key Press"}),v()},onKeyDown:_=>_.stopPropagation(),children:C&&s.jsx(o1,{initiallySelected:B,initialSearch:e,titleId:j,i18nBase:F,analyticsDialogueName:o,autocompletePath:i,trackEvent:l,onCancel:b,onSave:M,maxSelected:f,helperText:u,renderResultMeta:m,renderResultExtras:S,renderNoResults:w,renderSelectedItemExtras:x,renderSelectedList:T,parseResponse:y,getResultGroups:E})})]})})};ha.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string,i18nKey:ve.string.isRequired,filterKey:ve.string.isRequired,autocompletePath:ve.string.isRequired,bootstrapMethod:ve.string.isRequired,analyticsDialogueName:ve.string.isRequired,maxSelected:ve.number,helperText:ve.arrayOf(ve.node),renderResultMeta:ve.func,renderResultExtras:ve.func,renderNoResults:ve.func,renderSelectedItemExtras:ve.func,renderSelectedList:ve.func,parseResponse:ve.func,getResultGroups:ve.func};const a1=t=>function(r){if(!r.research_output_count)return null;const n=r.research_output_count.toLocaleString(),i=I18n.t(`Explorer.AdvancedSearch.fields.${t}.modal.output_count`,{count:r.research_output_count,count_formatted:n});return s.jsx("span",{className:"ModalPicker-resultCount","aria-label":i,children:n})},rv=a1("affiliations"),l1=({filterSet:t,initialSearch:e})=>s.jsx(ha,{filterSet:t,initialSearch:e,i18nKey:"affiliations",filterKey:"affiliations[]",autocompletePath:"/explorer/json_data/affiliations/search",bootstrapMethod:"affiliations",analyticsDialogueName:"Affiliation",maxSelected:null,helperText:[I18n.t("Explorer.AdvancedSearch.fields.affiliations.modal.helper_source"),I18n.t("Explorer.AdvancedSearch.fields.affiliations.modal.helper_coverage")],renderResultExtras:rv});l1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};const P8=({id:t})=>s.jsxs("a",{href:`https://app.dimensions.ai/details/entities/publication/author/${t}`,className:"ResearcherFilter-profileLink",onClick:()=>Q9("Advanced Search: Modal Dialogue View Profile click",{dialogue_name:"Researcher"}),target:"_blank",rel:"noreferrer",children:["View profile ",s.jsx(j8,{size:"16px","aria-hidden":!0})]});P8.propTypes={id:ve.string.isRequired};const iv=t=>t.affiliation&&s.jsx("span",{className:"ResearcherFilter-affiliation",children:t.affiliation}),nv=t=>{const e=t.altmetric_outputs_count;return s.jsxs("span",{className:"ResearcherFilter-resultMeta",children:[Number.isFinite(e)&&s.jsxs("span",{className:"ResearcherFilter-outputsCount",children:[e," ",e===1?"output":"outputs"]}),s.jsx(P8,{id:t.id})]})},sv=t=>s.jsxs(s.Fragment,{children:["No results found for ",s.jsx("strong",{children:t})," â try searching for something else."]}),ov=({selected:t,onRemove:e})=>s.jsxs("div",{className:"ResearcherFilter-selectedSection",children:[s.jsxs("h2",{className:"ResearcherFilter-heading",children:[t.length," Selected Researcher",t.length===1?"":"s"]}),t.length===0&&s.jsx("p",{className:"ResearcherFilter-empty",children:"No researchers selected. Use the search above to find and add researchers."}),t.length>0&&s.jsx("ul",{className:"ResearcherFilter-selection",children:t.map(r=>s.jsxs("li",{className:"ResearcherFilter-selectedItem",children:[s.jsx("span",{className:"ResearcherFilter-selectedItemName",children:r.name}),s.jsx(P8,{id:r.id}),s.jsxs("button",{type:"button",className:"ResearcherFilter-removeItem",onClick:()=>e(r),children:[s.jsx(R8,{size:"16px","aria-hidden":!0}),s.jsxs("span",{className:"visually-hidden",children:["Remove ",r.name," from selection"]})]})]},r.id))})]}),av=t=>({results:t?.researchers??[],meta:{organisationName:t?.organisation_name??null}}),lv=(t,e)=>{if(!e?.organisationName)return null;const r=t.filter(a=>a.item.same_organisation);if(r.length===0)return null;const n=t.filter(a=>!a.item.same_organisation),i=[{key:"organisation",label:`From ${e.organisationName}`,rows:r}];return n.length>0&&i.push({key:"other",label:"Other results",rows:n}),i},c1=({filterSet:t})=>s.jsx(ha,{filterSet:t,i18nKey:"researchers",filterKey:"researcher_id[]",autocompletePath:"/explorer/autocomplete/researchers",bootstrapMethod:"researchers",analyticsDialogueName:"Researcher",maxSelected:null,helperText:[I18n.t("Explorer.AdvancedSearch.fields.researchers.modal.helper_name"),I18n.t("Explorer.AdvancedSearch.fields.researchers.modal.helper_source"),I18n.t("Explorer.AdvancedSearch.fields.researchers.modal.helper_count")],renderResultMeta:iv,renderResultExtras:nv,renderNoResults:sv,renderSelectedList:ov,parseResponse:av,getResultGroups:lv});c1.propTypes={filterSet:ve.instanceOf(Lt).isRequired};const O9="Field Of Research",d1=({filterSet:t,initialSearch:e})=>{const r=t.get("field_of_research_codes[]").map(m=>({id:m})),n=Q.useRef(null),{data:i,loading:a}=da("filters/fields_of_research",{enabled:r.length>0}),o=i??[];Q.useEffect(()=>{n.current&&(r.length||n.current.clearAll())},[r.length]);const f=m=>{t.set("field_of_research_codes[]",m.map(S=>S.id))},u=r.length>
94o.length;return s.jsxs("div",{className:"Explorer-AdvancedSearch-field FieldOfResearchFilter",children:[s.jsxs("label",{children:[I18n.t("Explorer.AdvancedSearch.fields.field_of_research.name"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.field_of_research.help"),analyticsFieldName:O9})]}),a?s.jsx("div",{children:I18n.t("Explorer.AdvancedSearch.fields.field_of_research.loading")}):s.jsx(Is,{name:"field_of_research",id:"field_of_research",type:"field_of_research_codes",initialValue:e,placeholder:I18n.t("Explorer.AdvancedSearch.fields.field_of_research.placeholder"),onChangeItems:f,initiallySelected:o,ref:n,analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:O9}),u&&!a&&s.jsxs("div",{className:"unknown-for-warning",children:[s.jsx("h6",{children:I18n.t("Explorer.AdvancedSearch.fields.field_of_research.unknown_for_warning.title")}),s.jsx("p",{children:I18n.t("Explorer.AdvancedSearch.fields.field_of_research.unknown_for_warning.description")}),s.jsx("a",{href:"https://help.altmetric.com/en/articles/9804289",target:"_blank",rel:"noreferrer",children:I18n.t("Explorer.AdvancedSearch.fields.field_of_research.unknown_for_warning.link_text")})]})]})};d1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};const h1=({filterSet:t,initialSearch:e})=>s.jsx($i,{filterSet:t,initialSearch:e,name:"sustainable_development_goals",id:"sustainable_development_goals",type:"sustainable_development_goals",label:I18n.t("Explorer.AdvancedSearch.fields.sustainable_development_goals.title"),helpUrl:I18n.t("Explorer.AdvancedSearch.help_uri"),helpTip:I18n.t("Explorer.AdvancedSearch.fields.sustainable_development_goals.help"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Sustainable Development Goals",loadingMessage:I18n.t("Explorer.AdvancedSearch.fields.sustainable_development_goals.loading"),placeholder:I18n.t("Explorer.AdvancedSearch.fields.sustainable_development_goals.placeholder"),queryMethod:"sustainable_development_goals"});h1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};class cv extends it.Component{static propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearchTerm:ve.instanceOf(fr).isRequired,featureFlags:ve.array};render(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-group OutputSearchFields",children:[s.jsx("h3",{className:"Explorer-AdvancedSearch-field-group-title",children:I18n.t("Explorer.AdvancedSearch.groups.outputs")}),this.keywordFilter,this.props.featureFlags.includes("search_by_researcher")&&this.researcherFilter,this.affiliationFilter,this.titleFilter,this.fieldOfResearchFilter,this.sustainableDevelopmentGoalsFilter,s.jsx(Vb,{filterSet:this.props.filterSet,analyticsFieldName:"Type Of Output"}),this.openAccessFilter,s.jsx(r1,{filterSet:this.props.filterSet}),this.orcidFilter,s.jsx(i1,{filterSet:this.props.filterSet})]})}get keywordFilter(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field",children:[s.jsxs("label",{htmlFor:"AdvancedSearch-Keyword-Filter",children:[I18n.t("Explorer.AdvancedSearch.fields.keywords.title"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.keywords.description"),analyticsFieldName:"Keywords"})]}),s.jsx(il,{fieldID:"AdvancedSearch-Keyword-Filter",fieldName:"q",filterSet:this.props.filterSet,placeholder:I18n.t("Explorer.AdvancedSearch.fields.keywords.placeholder"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Keywords"})]})}get affiliationFilter(){if(!window.current_user.librarian)return s.jsx(l1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForAffiliation()})}get researcherFilter(){if(!window.current_user.librarian)return s.jsx(c1,{filterSet:this.props.filterSet})}get fieldOfResearchFilter(){if(!window.current_user.librarian)return s.jsx(d1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForFieldOfResearch()})}get openAccessFilter(){if(!window.current_user.librarian)return s.jsx(Xb,{filterSet:this.props.filterSet,anal
94yticsFieldName:"Type Of Open Access"})}get sustainableDevelopmentGoalsFilter(){if(!window.current_user.librarian)return s.jsx(h1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForSustainableDevelopmentGoals()})}get titleFilter(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field",children:[s.jsxs("label",{htmlFor:"AdvancedSearch-Title-Filter",children:[I18n.t("Explorer.AdvancedSearch.fields.title.title"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.title.description"),analyticsFieldName:"Title Of Output"})]}),s.jsx(il,{fieldID:"AdvancedSearch-Title-Filter",fieldName:"title",filterSet:this.props.filterSet,placeholder:I18n.t("Explorer.AdvancedSearch.fields.title.placeholder"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Title Of Output"})]})}get orcidFilter(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field",children:[s.jsxs("label",{htmlFor:"AdvancedSearch-ORCID-Filter",children:[I18n.t("Explorer.AdvancedSearch.fields.orcid.title"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.orcid.description"),analyticsFieldName:"ORCID"})]}),s.jsx(il,{fieldID:"AdvancedSearch-ORCID-Filter",fieldName:"orcid",filterSet:this.props.filterSet,placeholder:I18n.t("Explorer.AdvancedSearch.fields.orcid.placeholder"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"ORCID"})]})}}const L9=_s(cv),u1=({filterSet:t,initialSearch:e})=>s.jsx($i,{filterSet:t,initialSearch:e,name:"publisher_id",id:"filter_publisher_id",type:"publishers",label:I18n.t("Explorer.AdvancedSearch.fields.publishers.name"),helpUrl:I18n.t("Explorer.AdvancedSearch.help_uri"),helpTip:I18n.t("Explorer.AdvancedSearch.fields.publishers.help"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Publisher Name",loadingMessage:I18n.t("Explorer.AdvancedSearch.fields.publishers.loading"),placeholder:I18n.t("Explorer.AdvancedSearch.fields.publishers.placeholder"),queryMethod:"publisherNames"});u1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};const p1=({filterSet:t,initialSearch:e})=>s.jsx($i,{filterSet:t,initialSearch:e,name:"doi_prefix",id:"doi_prefix",type:"doi_prefixes",label:I18n.t("Explorer.AdvancedSearch.fields.doi_prefix.name"),helpUrl:I18n.t("Explorer.AdvancedSearch.help_uri"),helpTip:I18n.t("Explorer.AdvancedSearch.fields.doi_prefix.help"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"DOI Prefix",placeholder:I18n.t("Explorer.AdvancedSearch.fields.doi_prefix.placeholder")});p1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};const f1=({filterSet:t,initialSearch:e})=>s.jsx($i,{filterSet:t,initialSearch:e,name:"handle_prefix",id:"filter_handle_prefix",type:"handle_prefixes",label:I18n.t("Explorer.AdvancedSearch.fields.handle_prefix.title"),helpUrl:I18n.t("Explorer.AdvancedSearch.help_uri"),helpTip:I18n.t("Explorer.AdvancedSearch.fields.handle_prefix.help"),analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Handle Prefix",placeholder:I18n.t("Explorer.AdvancedSearch.fields.handle_prefix.placeholder")});f1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};class dv extends it.Component{static propTypes={journalList:ve.object,onCancel:ve.func.isRequired,onSave:ve.func.isRequired,analyticsDialogueName:ve.string.isRequired};constructor(e){super(e),this.state={saving:!1,content:"",tokens:[]},this.textEntered=!1}componentDidMount(){this.trackEvent("Opened",this.props.journalList?"Edit":"Create"),this.props.journalList?.content&&this.setState({content:this.props.journalList.content},this.updateTokens)}componentWillUnmount(){this.updateTokens.cancel()}render(){return s.jsx("div",{className:"JournalFilter-journalList-editor",ref:e=>this.containerElement=e,children:s.jsxs("div",{className:"content",children:[s.jsx("div",{className:"title",children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.title")}),s.jsxs("div",{className:"inner",children:[s.jsx("div",{className:"note",children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.issn_limit",{limit:this.formattedMaxTokens})}),s.jsx("div",{className:"form",children:s.jsx("textarea",{value:this.state.content,placeholder:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.issn_example"),onChange:this.onChange,onFocus:this.onFocus,ref:this.fieldRef})})]}),s.jsxs("div",{className:"footer",children:[s.jsx("div",{className:`meta ${this.tooManyIdentifiers?"error":"no-error"}`,children:I18n.htmlSafe("Explorer.AdvancedSearch.fields.journal.editor.status",{limit:this.formattedMaxTokens,current:this.formattedTokenCount})}),s.jsxs("div",{className:"buttons",children:[s.jsx("button",{type:"button",className:"cancel",onClick:this.onCancel,children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.cancel")}),s.jsx("button",{type:"button",disabled:!this.canSave,className:`submit ${this.canSave?"enabled":"disabled"}`,onClick:this.onSave,children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.save")})]})]}),this.state.saving?this.savingIndicator:null]})})}get savingIndicator(){return s.jsx("div",{className:"saving-message"})}updateTokens=D6(()=>{this.setState({tokens:this.state.content.split(/\s+/).filter(e=>e.length)})},250);get maxTokens(){return window.current_user.maxIssnTokens}get canSave(){return this.state.tokens.length>0&&!this.tooManyIdentifiers}get tooManyIdentifiers(){return this.state.tokens.length>this.maxTokens}fieldRef=e=>{this.field=e,e&&e.focus()};
94onChange=e=>{!this.textEntered&&e.target.value.length>this.state.content.length&&(this.textEntered=!0,this.trackEvent("Filled")),this.setState({content:e.target.value},this.updateTokens)};onCancel=()=>{this.trackEvent("Closed"),this.props.onCancel()};onSave=async()=>{this.setState({saving:!0});const e={journal_list:{issns:this.state.content}};try{const n=await(await Ms("/explorer/journal_lists",{method:"post",body:JSON.stringify(e)})).json();this.trackEvent("Data Updated",null,this.state.tokens.length),this.props.onSave(n)}catch{window.alert(I18n.t("Explorer.AdvancedSearch.fields.journal.editor.error")),this.setState({saving:!1})}};onFocus=()=>{this.field&&this.field.select()};get formattedMaxTokens(){return bt.formatNumberWithDelimiter(this.maxTokens)}get formattedTokenCount(){return bt.formatNumberWithDelimiter(this.state.tokens.length)}trackEvent(e,r=null,n=null){Analytics.trackEvent(`Advanced Search: Modal Dialogue ${e}`,{dialogue_name:this.props.analyticsDialogueName,...r!==null&&{action:r},...n!==null&&{items_count:n}})}}const m1=({filterSet:t,onChange:e,analyticsDialogueName:r})=>{const n=St(),i=Q.useRef(null),a=Q.useRef(null),o=Q.useRef(null),f=t.get("journal_list_id"),[u,m]=Q.useState(!1),[S,w]=Q.useState(!!f),[x,T]=Q.useState(null);Q.useEffect(()=>{if(!f){T(null),w(!1);return}w(!0);const L=Ui("filters/journal_list",n);return L.then((C,h)=>{C?.name!=="AbortError"&&(!C&&h.body&&T(h.body),w(!1))}),()=>L.abort()},[]);const y=L=>{queueMicrotask(()=>{L?o.current?.focus():a.current?.focus()})},E=()=>{m(!0),i.current?.showModal()},A=()=>{m(!1),i.current?.close()},j=L=>{t.set("journal_list_id",L.id),t.clear("journal_id[]"),A(),T(L),e&&e(),y(L)},R=()=>{t.clear("journal_list_id"),A(),T(null),e&&e(),y(null),Analytics.trackEvent("Advanced Search: Modal Dialogue Cleared",{dialogue_name:r})},k=()=>{A(),y(x)},B=s.jsx("dialog",{ref:i,onKeyDown:L=>L.stopPropagation(),children:u&&s.jsx(dv,{journalList:x,onCancel:k,onSave:j,analyticsDialogueName:r})});return S?s.jsx("div",{children:I18n.t("Explorer.AdvancedSearch.fields.journal.loading")}):f?s.jsxs("div",{className:"Explorer-AdvancedSearch-JournalListDescription",children:[s.jsx("div",{className:"description",children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.issn_count",{count:x.count,formattedCount:bt.formatNumberWithDelimiter(x.count)})}),s.jsxs("div",{className:"edit-buttons",children:[s.jsx("button",{type:"button",className:"edit",onClick:E,ref:o,children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.edit")}),s.jsx("button",{type:"button",className:"clear",onClick:R,children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.clear")})]}),B]}):s.jsxs("div",{children:[s.jsx("div",{className:"JournalFilter-journalList-content",children:s.jsxs("div",{className:"JournalFilter-journalList-create-buttons",children:["or  ",s.jsx("button",{type:"button",className:"JournalFilter-journalList-add-button",onClick:E,ref:a,children:I18n.t("Explorer.AdvancedSearch.fields.journal.editor.open")})]})}),B]})};m1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,onChange:ve.func,analyticsDialogueName:ve.string};const F9="Journal",Al=({filterSet:t,initialSearch:e})=>{const[,r]=Q.useState(0),n=t.get("journal_id[]"),i=Q.useRef(null),{data:a,loading:o}=da("filters/journal_names",{enabled:n.length>0}),f=a??[];Q.useEffect(()=>{i.current&&(n.length||i.current.clearAll())},[n.length]);const u=S=>{t.set("journal_id[]",S.map(w=>w.id))},m=()=>r(S=>S+1);return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-container JournalFilter",children:[s.jsxs("label",{children:[I18n.t("Explorer.AdvancedSearch.fields.journal.name"),s.jsx(Cr,{href:I18n.t("Explorer.AdvancedSearch.help_uri"),tip:I18n.t("Explorer.AdvancedSearch.fields.journal.help"),analyticsFieldName:F9})]}),s.jsx("fieldset",{children:o?s.jsx("div",{children:I18n.t("Explorer.AdvancedSearch.fields.journal.loading")}):s.jsxs("div",{children:[!t.get("journal_list_id")&&s.jsx(Is,{name:"journal_id",id:"journal_id",type:"journals",initialValue:e,placeholder:I18n.t("Explorer.AdvancedSearch.fields.journal.placeholder"),onChangeItems:u,initiallySelected:f,ref:i,analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:F9}),!window.current_user.librarian&&s.jsx(m1,{filterSet:t,onChange:m,analyticsDialogueName:"Journal ISSNs"})]})})]})};Al.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};const hv=a1("funders"),g1=({filterSet:t,initialSearch:e})=>s.jsx(ha,{filterSet:t,initialSearch:e,i18nKey:"funders",filterKey:"funders[]",autocompletePath:"/explorer/json_data/funders/search",bootstrapMethod:"funders",analyticsDialogueName:"Fun
94der",maxSelected:null,helperText:[I18n.t("Explorer.AdvancedSearch.fields.funders.modal.helper_source"),I18n.t("Explorer.AdvancedSearch.fields.funders.modal.helper_coverage")],renderResultExtras:hv});g1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};const y1=({filterSet:t,initialSearch:e})=>s.jsx($i,{filterSet:t,initialSearch:e,name:"grant_id",id:"filter_grant_id",type:"grants",label:"Grant ID",helpUrl:I18n.t("Explorer.AdvancedSearch.help_uri"),helpTip:"Enter one or more grant IDs.",analyticsEventPrefix:"Advanced Search: Field",analyticsFieldName:"Grant ID",loadingMessage:"Loading grantsâ¦",placeholder:"Enter one or more grant IDs.",queryMethod:"grants"});y1.propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearch:ve.string};class D9 extends it.Component{static propTypes={filterSet:ve.instanceOf(Lt).isRequired,initialSearchTerm:ve.instanceOf(fr)};render(){return window.current_user.librarian?this.librarianContent:this.allContent}get allContent(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-group PublicationSearchFields",children:[s.jsx("h3",{className:"Explorer-AdvancedSearch-field-group-title",children:I18n.t("Explorer.AdvancedSearch.groups.publication")}),s.jsx(u1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForPublisher()}),s.jsx(p1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForDoiPrefix()}),s.jsx(Al,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForJournal()}),s.jsx(g1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForFunder()}),s.jsx(y1,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForGrants()}),s.jsx(f1,{filterSet:this.props.filterSet})]})}get librarianContent(){return s.jsxs("div",{className:"Explorer-AdvancedSearch-field-group PublicationSearchFields",children:[s.jsx("h3",{className:"Explorer-AdvancedSearch-field-group-title",children:I18n.t("Explorer.AdvancedSearch.groups.publication_librarian")}),s.jsx(Al,{filterSet:this.props.filterSet,initialSearch:this.props.initialSearchTerm.termForJournal()})]})}}const ol="Advanced Search: Dialogue Closed",B9=t=>{switch(t){case"institution":return"institution";case"all":return"full";default:return"undefined"}},x1=({onClose:t,initialSearchTerm:e})=>{const r=St(),n=Gr(),i=Q.useRef(null),a=Q.useRef(null),[,o]=Q.useState(0),f=Q.useRef(null);f.current===null&&(f.current=new Lt(r.filters));const u=f.current,m=u.get("scope")||Mo(window.current_user);Q.useEffect(()=>{a.current=document.activeElement,Analytics.trackEvent("Advanced Search: Dialogue Opened",{scope:B9(m)});const k=i.current;k&&"showModal"in k&&k.showModal();const B=L=>{L.key==="Escape"&&(S(),Analytics.trackEvent(ol,{method:"Escape Key Press"}))};return window.addEventListener("keydown",B),k?.querySelector("input")?.focus(),()=>window.removeEventListener("keydown",B)},[]);const S=()=>{const k=i.current;k&&"close"in k&&k.close(),t(),a.current?.focus()},w=()=>{S(),Analytics.trackEvent(ol,{method:"Close Button"})},x=()=>{S(),Analytics.trackEvent(ol,{method:"Cancel Button"})},T=()=>{S(),Analytics.trackEvent("Advanced Search: Search Applied"),n(nr(r,u.populatedFilters))},y=k=>{k.preventDefault(),T()},E=()=>{Analytics.trackEvent("Advanced Search: All-Fields Cleared");const k=[...window.site_config.mentionFilterParams,...window.site_config.mentionFilterParams.map(h=>h+"[]")],B=Hl(t8(r),k),L={scope:Mo(window.current_user)},C={...B,...L};f.current=new Lt(C),o(h=>h+1)},A=k=>{Analytics.trackEvent("Advanced Search: Scope Changed",{scope:B9(k)}),u.set("scope",k),o(B=>B+1)},j=s.jsxs("div",{className:"Explorer-AdvancedSearch-fields",children:[s.jsxs("div",{className:"Explorer-AdvancedSearch-column",children:[s.jsx(Wb,{filterSet:u,initialSearchTerm:e}),s.jsx(D9,{filterSet:u,initialSearchTerm:e}),s.jsx(R9,{filterSet:u})]}),s.jsxs("div",{className:"Explorer-AdvancedSearch-column",children:[s.jsx(Gb,{scope:u.get("scope")||Mo(window.current_user),changeScope:A}),s.jsx(L9,{filterSet:u,initialSearchTerm:e}),s.jsx(M9,{filterSet:u})]})]}),R=s.jsxs("div",{className:"Explorer-AdvancedSearch-fields",children:[s.jsxs("div",{className:"Explorer-AdvancedSearch-column",children:[s.jsx(L9,{filterSet:u,initialSearchTerm:e}),s.jsx(R9,{filterSet:u})]}),s.jsxs("div",{className:"Explorer-AdvancedSearch-column",children:[s.jsx(D9,{filterSet:u,initialSearchTerm:e}),s.jsx(M9,{filterSet:u})]})]});return s.jsx("dialog",{ref:i,className:"Explorer-AdvancedSearch-dialog",children:s.jsxs("form",{method:"dialog",className:"Explorer-Form Explorer-AdvancedSearch",onSubmit:y,children:[s.jsx(Wn,{id:"HelpLink",effect:"solid"}),s.jsxs("div",{className:"Explorer-AdvancedSearch-content",children:[s.jsx("h2",{className:"Explorer-AdvancedSearch-title",children:I18n.t("Explorer.AdvancedSearch.title")}),s.jsx("button",{type:"button",className:"Explorer-AdvancedSearch-close-button",onClick:w,children:s.jsx("span",{className:"label",children:I18n.t("Explorer.AdvancedSearch.close")})}),window.current_user.institution_integrated?j:R]}),s.jsxs("div",{className:"Explorer-AdvancedSearch-buttons",children:[s.jsx("button",{type:"button",className:"cancel",onClick:x,children:I18n.t("Explorer.AdvancedSearch.cancel")}),s.jsxs("div",{children:[s.jsx("button",{type:"reset",className:"clear",onClick:E,children:I18n.t("Explorer.AdvancedSearch.clear")}),s.jsx("button",{type:"submit",className:"execute",children:I18n.t("Explorer.AdvancedSearch.search")})]})]})]})})};x1.propTypes={onClose:ve.func.isRequired,initialSearchTerm:ve.instanceOf(fr).isRequired};const uv=()=>{const t=window.location.pathname;return t==="/explorer"||t.startsWith("/explorer/")?"/explorer":""},pv=({instanceLogo:t,instanceName:e})=>{const r=St(),[n,i]=Q.useState(!1),[a,o]=Q.useState(fr.empty()),f=()=>o(fr.empty()),u=({initialSearchTerm:w}={})=>{w?o(w):f(),i(!0)},m=()=>{i(!1),f()}
94,S=r.showDetails?new Yr({id:r.showDetails}):null;return s.jsx(tc.Provider,{value:{showAdvancedSearch:u},children:s.jsxs("div",{className:"Explorer",children:[s.jsxs("div",{className:"Explorer-content-wrapper",inert:S!==null?"":void 0,children:[s.jsx(bc,{logo:t,instanceName:e,onShowAdvancedSearch:u,onSelectShowMore:w=>u({initialSearchTerm:w})}),s.jsxs("div",{className:"Explorer-content-panel-wrapper",children:[window.current_user.librarian?null:s.jsx(Gm,{}),s.jsx(Ob,{onRouteChangeUpdate:window.Analytics.pageChange})]})]}),S&&s.jsx(Jc,{output:S}),s.jsx("div",{className:"Explorer-advanced-search-wrapper",children:n&&s.jsx(x1,{onClose:m,initialSearchTerm:a},"advancedSearch")})]})})},fv=({instanceLogo:t,instanceName:e})=>{const[r]=Q.useState(uv);return s.jsx(Pp,{basename:r,children:s.jsx(df,{children:s.jsx(pv,{instanceLogo:t,instanceName:e})})})};class mv extends it.Component{static propTypes={application:ve.string.isRequired};render(){return this.props.application==="explorer"?it.createElement(fv,this.props):null}}const gv=function(){window.addEventListener("DOMContentLoaded",yv)},yv=function(){const t=document.getElementById("application-wrapper");if(!t)return;Yo.createRoot(t).render(it.createElement(mv,t.dataset))};window.Analytics=Z1;const xv=document.getElementsByTagName("html")[0],bv=document.documentElement.className.replace("no-js","js");xv.setAttribute("class",bv);Jd();eh();rh();Nu();Lu();dh();Hu();Gu();i3();gv();window.Analytics.setup();Si.setup();export{lt as $,Si as A,so as R,aa as S,O7 as a,Qf as b,Fi as c,Fl as d,em as e,Bl as f,Cv as g,kv as h,tm as i,Zf as j,Av as l,Dv as n,Jf as o,Vn as p,zp as r,O6 as s}; 95//# sourceMappingURL=application-DalgciMS.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.