1import{u as W4,_ as H4,a as Z4,b as Y4,c as X4,d as Q4,e as J4,f as tl}from"./CUQP79yu.js";import{_ as el,a as ll,b as al}from"./Bd5VxvWG.js";import{d as yt,a4 as i4,o as Jt,a5 as Me,a6 as o4,C as At,a as q,g as nt,i as H,l as ft,ax as nl,c as ot,n as Ot,w as X,b as f,e as A,u as s,t as ut,F as kt,_ as ae,h as ht,k as mt,j as Yt,aw as Kt,ab as $t,bV as sl,ak as Xt,p as Ft,D as Qt,aF as rl,f as L4,r as c4,bW as Ee,O as il,E as Ge,bl as ol,aU as Ll,bX as cl,bY as ul,ad as dl,ae as hl,aL as fl,aM as pl,v as ml,N as gl,bZ as vl,b_ as bl,b$ as yl,c0 as _l,T as Pe,m as _e,az as wl,q as xl,bC as kl,I as Sl}from"./BHcPj9MP.js";import{_ as We}from"./xgfb0QVV.js";import{_ as ne}from"./DQStjEJF.js";import{_ as It}from"./D77rxQAP.js";import{u as Pt}from"./BrLDNslD.js";import{_ as He}from"./CiD9V5aj.js";import{_ as De}from"./Zy-Ul53U.js";import{T as Te,V as qt,W as Oe,Y as Ce,Z as u4,_ as zl,$ as we,X as d4,c as te,d as Cl,i as h4,a as f4,b as p4,g as Zt,m as Se,e as $e,f as Ne,a0 as Ml,j as Le,s as jt,k as he,l as El,a1 as Dl,p as m4,q as Tl,a2 as Al,a3 as Ue,x as ce,I as l4,a4 as Pl,a5 as Bl,a6 as Il,a7 as Rl,E as a4,a8 as Ol,t as g4,P as v4,u as b4,O as Ze,N as y4,w as fe,a9 as $l}from"./CZUsICk7.js";import{$ as Nl,k as Ul}from"./R5u6e7TT.js";import{u as se,a as _4,c as Fl}from"./tltFxv5K.js";import{r as Vl}from"./BYvMW87q.js";import{O as w4,P as St,e as jl,a as ue,q as Ye,T as Xe,c as xe,g as Kl}from"./D2eJXWVO.js";import{c as Ae,d as re,b as Gt,u as me,a as ql,_ as Gl}from"./0QULQSLh.js";import{_ as Qe}from"./DlAUqK2U.js";import{_ as Wl}from"./LW5xnx_e.js";import{_ as Hl}from"./CPjmlFGS.js";import{_ as Zl}from"./DYimzTxc.js";import{t as n4}from"./dr1nBxhV.js";import{_ as Yl}from"./Bjcd5JE3.js";import{u as Xl}from"./j9BlX5hK.js";const x4={draw(y,z){const a=qt(z/Oe);y.moveTo(a,0),y.arc(0,0,a,0,Te)}},Ql={draw(y,z){const a=qt(z/5)/2;y.moveTo(-3*a,-a),y.lineTo(-a,-a),y.lineTo(-a,-3*a),y.lineTo(a,-3*a),y.lineTo(a,-a),y.lineTo(3*a,-a),y.lineTo(3*a,a),y.lineTo(a,a),y.lineTo(a,3*a),y.lineTo(-a,3*a),y.lineTo(-a,a),y.lineTo(-3*a,a),y.closePath()}},k4=qt(1/3),Jl=k4*2,t3={draw(y,z){const a=qt(z/Jl),x=a*k4;y.moveTo(0,-a),y.lineTo(x,0),y.lineTo(0,a),y.lineTo(-x,0),y.closePath()}},e3={draw(y,z){const a=qt(z),x=-a/2;y.rect(x,x,a,a)}},l3=.8908130915292852,S4=Ce(Oe/10)/Ce(7*Oe/10),a3=Ce(Te/10)*S4,n3=-u4(Te/10)*S4,s3={draw(y,z){const a=qt(z*l3),x=a3*a,g=n3*a;y.moveTo(0,-a),y.lineTo(x,g);for(let n=1;n<5;++n){const l=Te*n/5,e=u4(l),i=Ce(l);y.lineTo(i*a,-e*a),y.lineTo(e*x-i*g,i*x+e*g)}y.closePath()}},Be=qt(3),r3={draw(y,z){const a=-qt(z/(Be*3));y.moveTo(0,a*2),y.lineTo(-Be*a,-a),y.lineTo(Be*a,-a),y.closePath()}},Nt=-.5,Ut=qt(3)/2,Fe=1/qt(12),i3=(Fe/2+1)*3,o3={draw(y,z){const a=qt(z/i3),x=a/2,g=a*Fe,n=x,l=a*Fe+a,e=-n,i=l;y.moveTo(x,g),y.lineTo(n,l),y.lineTo(e,i),y.lineTo(Nt*x-Ut*g,Ut*x+Nt*g),y.lineTo(Nt*n-Ut*l,Ut*n+Nt*l),y.lineTo(Nt*e-Ut*i,Ut*e+Nt*i),y.lineTo(Nt*x+Ut*g,Nt*g-Ut*x),y.lineTo(Nt*n+Ut*l,Nt*l-Ut*n),y.lineTo(Nt*e+Ut*i,Nt*i-Ut*e),y.closePath()}};function L3(y,z){let a=null,x=zl(g);y=typeof y=="function"?y:we(y||x4),z=typeof z=="function"?z:we(z===void 0?64:+z);function g(){let n;if(a||(a=n=x()),y.apply(this,arguments).draw(a,+z.apply(this,arguments)),n)return a=null,n+""||null}return g.type=function(n){return arguments.length?(y=typeof n=="function"?n:we(n),g):y},g.size=function(n){return arguments.length?(z=typeof n=="function"?n:we(+n),g):z},g.context=function(n){return arguments.length?(a=n??null,g):a},g}const c3=Object.assign(Object.assign({},d4),{color:void 0,barMaxWidth:void 0,barWidth:void 0,dataStep:void 0,barPadding:0,roundedCorners:2,cursor:null,barMinHeight1Px:!1,barMinHeightZeroValue:null,orientation:w4.Vertical}),z4=te` 2 label: stacked-bar-component; 3`,u3=h4` 4 :root { 5 --vis-stacked-bar-cursor: default; 6 --vis-stacked-bar-fill-color: var(--vis-color-main); 7 --vis-stacked-bar-stroke-color: none; 8 --vis-stacked-bar-stroke-width: 0px; 9 --vis-stacked-bar-hover-stroke-width: none; 10 --vis-stacked-bar-hover-stroke-color: none; 11 12 /* Dark Theme */ 13 --vis-dark-stacked-bar-stroke-color: none; 14 } 15 16 ${Cl} ${`.${z4}`} { 17 --vis-stacked-bar-stroke-color: var(--vis-dark-stacked-bar-stroke-color); 18 } 19`,ze=te` 20 label: bar; 21 fill: var(--vis-stacked-bar-fill-color); 22 stroke: var(--vis-stacked-bar-stroke-color); 23 stroke-width: var(--vis-stacked-bar-stroke-width); 24 cursor: var(--vis-stacked-bar-cursor); 25 26 &:hover { 27 stroke-width: var(--vis-stacked-bar-hover-stroke-width); 28 stroke: var(--vis-stacked-bar-hover-stroke-color); 29 } 30`,Ve=te` 31 label: barGroup; 32`,C4=te` 33 label: barGroupExit; 34`,d3=Object.freeze(Object.defineProperty({__proto__:null,bar:ze,barGroup:Ve,barGroupExit:C4,globalStyles:u3,root:z4},Symbol.toStringTag,{value:"Module"}));class pe extends f4{constructor(z){super(),this._defaultConfig=c3,this.config=this._defaultConfig,this.getAccessors=()=>p4(this.config.y)?this.config.y:[this.config.y],this.stacked=!0,this.events={},this._barData=[],z&&this.setConfig(z)}get bleed(){if(this._barData=this._getVisibleData(),this._barData.length===0)return{top:0,bottom:0,left:0,right:0};const z=!this.isVertical()&&this.dataScale.range()[0]>this.dataScale.range()[1],a=this.dataScale.domain(),x=this._getBarWidth()/2,g=this._barData.map((r,h)=>Zt(r,this.config.x,h)),n=Se(g),l=$e(g),e=this.dataScale(n),i=this.dataScale(l),d=this.dataScale.invert(e+(z?x:-x)),m=this.dataScale.invert(i+(z?-x:x)),c=d<=a[0]?this.dataScale(a[0])-this.dataScale(d):0,v=m>a[1]?this.dataScale(m)-this.dataScale(a[1]):0;return{top:this.isVertical()?0:z?-v:c,bottom:this.isVertical()?0:z?-c:v,left:this.isVertical()?c:0,right:this.isVertical()?v:0}}get dataScale(){return this.isVertical()?this.xScale:this.yScale}get valueScale(){return this.isVertical()?this.yScale:this.xScale}isVertical(){return this.config.orientation===w4.Vertical}_render(z){const{config:a}=this,x=Ne(z)?z:a.duration,g=this.getAccessors(),n=Ml(this._barData,0,g,this._prevNegative);this._prevNegative=n.map(h=>!!h.isMostlyNegative);const l=this.g.selectAll(`.${Ve}`).data(this._barData,(h,o)=>{var u;return`${(u=Le(h,a.id,o))!==null&&u!==void 0?u:o}`}),e=(h,o)=>{const u=this.dataScale(Zt(h,a.x,o)),p=this.isVertical()?u:0,_=this.isVertical()?0:u;return`translate(${p},${_})`},d=l.enter().append("g").attr("class",Ve).attr("transform",e).style("opacity",1).merge(l);jt(d,x).attr("transform",e).style("opacity",1);const m=l.exit().attr("class",C4);jt(m,x).style("opacity",0).remove().on("interrupt",function(){this.remove()}),jt(m.selectAll(`.${ze}`),x).attr("transform",this.isVertical()?`translate(0,${this._height/3})`:`translate(${this._width/6},0)`);const c=d.selectAll(`.${ze}`).data((h,o)=>{const u=n.map((p,_)=>({datum:h,index:o,stacked:p[o],stackIndex:_})).filter(p=>p.stacked[0]!==p.stacked[1]);return u.forEach((p,_)=>{p.isEnding=_===u.length-1||_<=u.length-1&&u[_+1].stacked[0]!==p.stacked[1]}),u},h=>h.stackIndex),r=c.enter().append("path").attr("class",ze).attr("d",h=>this._getBarPath(h,!0)).style("fill",h=>he(h.datum,a.color,h.stackIndex)).merge(c);jt(r,x).attr("d",h=>this._getBarPath(h)).style("fill",h=>he(h.datum,a.color,h.stackIndex)).style("cursor",h=>Le(h.datum,a.cursor,h.stackIndex)),jt(c.exit(),x).style("opacity",0).remove().on("interrupt",function(){this.remove()})}_getBarWidth(){const{config:z,datamodel:{data:a}}=this;if(El(a))return 0;if(z.barWidth)return Se([z.barWidth,z.barMaxWidth]);const x=this.dataScale.bandwidth,g=this.dataScale.domain?this.dataScale.domain():[];let l=1+(x?g.length:g[1]-g[0])/z.dataStep||!x&&a.filter((d,m)=>{const c=Zt(d,z.x,m);return c>=g[0]&&c<=g[1]}).length||a.length;!x&&l>=2&&(l+=1);const i=(l<2?1:1-z.barPadding)*(this.isVertical()?this._width:this._height)/l;return Se([i,z.barMaxWidth])}_getVisibleData(){const{config:z,datamodel:{data:a}}=this,x=this._getBarWidth(),g=a.length<2?0:x/2,n=this.dataScale,l=Math.abs(n.invert(g)-n.invert(0));return a?.filter((i,d)=>{const m=Zt(i,z.x,d),c=n.domain(),v=+c[0],r=+c[1];return m>=v-l&&m<=r+l})}_getBarPath(z,a=!1){const{config:x}=this,g=this.getAccessors(),n=this._getBarWidth(),l=z.stacked[1]<0,e=z.isEnding,i=Zt(z.datum,g[z.stackIndex],z.index),d=a?0:Math.abs(this.valueScale(z.stacked[0])-this.valueScale(z.stacked[1])),m=!a&&x.barMinHeight1Px&&d<1&&isFinite(i)&&i!==x.barMinHeightZeroValue?1:d,c=a?this.valueScale(0):this.valueScale(l?z.stacked[0]:z.stacked[1])-(d<1&&x.barMinHeight1Px?1:0),v=-n/2,r=n,h=x.roun
34dedCorners?Ne(x.roundedCorners)?+x.roundedCorners:r/2:0,o=Tl(h,0,Math.min(d,r)/2),u=this.yScale.range()[0]>this.yScale.range()[1];return Vl({x:this.isVertical()?v:c-m,y:this.isVertical()?c+(u?0:-m):v,w:this.isVertical()?r:m,h:this.isVertical()?m:r,tl:e&&(this.isVertical()?!l&&u||l&&!u:l),tr:e&&(this.isVertical()?!l&&u||l&&!u:!l),br:e&&(this.isVertical()?l&&u||!l&&!u:!l),bl:e&&(this.isVertical()?l&&u||!l&&!u:l),r:o})}_mapEventDatum(z){return{datum:Object.assign(Object.assign({},z),z.datum),index:z.index}}getValueScaleExtent(z){const{datamodel:a}=this,x=this.getAccessors(),g=z?this._getVisibleData():a.data;return Dl(g,...x)}getDataScaleExtent(){const{config:z,datamodel:a}=this;return m4(a.data,z.x)}getYDataExtent(z){return this.isVertical()?this.getValueScaleExtent(z):this.getDataScaleExtent()}getXDataExtent(){return this.isVertical()?this.getDataScaleExtent():this.getValueScaleExtent(!1)}}pe.selectors=d3;var Ht;(function(y){y.Circle="circle",y.Cross="cross",y.Diamond="diamond",y.Square="square",y.Star="star",y.Triangle="triangle",y.Wye="wye"})(Ht||(Ht={}));const h3={[Ht.Circle]:x4,[Ht.Cross]:Ql,[Ht.Diamond]:t3,[Ht.Square]:e3,[Ht.Star]:s3,[Ht.Triangle]:r3,[Ht.Wye]:o3},f3=Object.assign(Object.assign({},d4),{color:y=>y.color,size:10,sizeScale:Al.scaleSqrt(),sizeRange:void 0,shape:Ht.Circle,label:void 0,labelColor:void 0,labelPosition:St.Bottom,labelHideOverlapping:!0,cursor:null,labelTextBrightnessRatio:.65,strokeColor:void 0,strokeWidth:void 0});function M4(y){return y!==St.Top&&y!==St.Bottom&&y!==St.Left&&y!==St.Right}function E4(y,z){return z?.7*y/Math.pow(z,.5):0}function D4(y,z,a=5){switch(y){case St.Top:return[0,-z/2-a];case St.Bottom:return[0,z/2+a];case St.Left:return[-z/2-a,0];case St.Right:return[z/2+a,0];default:return[0,0]}}function je(y,z,a,x,g){var n;const l=a(y._point.xValue),e=x(y._point.yValue),i=y._point.sizePx,d=(n=y._point.label)!==null&&n!==void 0?n:"",m=d.length,c=E4(i,m),v=jl(d,M4(z)?c:g,.6),r=g,h=D4(z,i),o=z===St.Left?-v:z===St.Right?0:-v/2,u=z===St.Top?-r:z===St.Bottom?0:-r/2;return{x:l+h[0]+o,y:e+h[1]+u,width:v,height:r}}function p3(y,z,a,x){y.each((g,n,l)=>{const e=l[n];e._labelVisible=!0}),y.each((g,n,l)=>{var e,i;const d=l[n],m=Ue(g,z.labelPosition,g._point.pointIndex);if(!d._labelVisible||M4(m))return;const c=ce(d).select("text"),v=Number.parseFloat((e=window.getComputedStyle(c.node()))===null||e===void 0?void 0:e.fontSize),r=je(g,m,a,x,v);for(let h=0;h<l.length;h+=1){if(n===h)continue;const o=l[h],u=ce(o),p=u.select("text"),_=u.datum(),k=[a(_._point.xValue),x(_._point.yValue)],C=_._point.sizePx/2,M={x:k[0]-C,y:k[1]-C,width:2*C,height:2*C};let T=l4(r,M,2);const $=o._labelVisible;if(!T&&$){const F=Number.parseFloat((i=window.getComputedStyle(p.node()))===null||i===void 0?void 0:i.fontSize),B=Ue(_,z.labelPosition,_._point.pointIndex),V=je(_,B,a,x,F);T=l4(r,V,.25)}if(T)if(d._forceShowLabel)o._labelVisible=!1;else{d._labelVisible=!1;break}}}),y.each((g,n,l)=>{const e=l[n];ce(e).select("text").attr("opacity",e._labelVisible?1:0)})}function m3(y,z,a){y.attr("transform",x=>`translate(${x._point.xValue},${x._point.yValue})`),y.append("path").style("fill",x=>x._point.color),y.append("text").style("pointer-events","none"),y.attr("transform",x=>`translate(${z(x._point.xValue)},${a(x._point.yValue)}) scale(0)`)}function g3(y,z,a,x,g){const n=L3();y.each((l,e,i)=>{var d,m,c,v;const r=ce(i[e]),h=r.select("text"),o=r.select("path"),u=l._point.sizePx,p=l._point.color,_=(d=l._point.strokeColor)!==null&&d!==void 0?d:null,k=(m=l._point.strokeWidthPx)!==null&&m!==void 0?m:null;o.attr("d",()=>l._point.shape?n.size(Math.PI*u*u/4).type(h3[l._point.shape])():null),jt(o,g).style("fill",p).style("stroke",_).style("stroke-width",`${k}px`);const C=l._point.labelPosition,M=C!==St.Top&&C!==St.Bottom&&C!==St.Left&&C!==St.Right,T=(c=l._point.label)!==null&&c!==void 0?c:"",$=T.length,F=E4(u,$);let B=l._point.labelColor;if(!B&&M){const Q=p||"var(--vis-scatter-fill-color)",S=(v=Pl(Bl(Q)?Il(Q,r.node()):Q))===null||v===void 0?void 0:v.hex();B=Rl(S)>z.labelTextBrightnessRatio?"var(--vis-scatter-point-label-text-color-dark)":"var(--vis-scatter-point-label-text-color-light)"}const V=D4(C,u);h.html(T).attr("x",V[0]).attr("y",V[1]).style("font-size",M?F:null).style("text-anchor",()=>{switch(C){case St.Right:return null;case St.Left:return"end";default:return"middle"}}).style("dominant-baseline",()=>{switch(C){case St.Top:return null;case St.Bottom:return"hanging";default:return"central"}}),jt(h,g).style("fill",B),o.style("cursor",l._point.cursor)}),jt(y,g).attr("transform",l=>`translate(${a(l._point.xValue)},${x(l._point.yValue)}) scale(1)`)}function v3(y,z,a,x){jt(y,x).attr("transform",g=>`translate(${z(g._point.xValue)},${a(g._point.yValue)}) scale(0)`).remove()}const b3=h4` 35 :root { 36 --vis-scatter-cursor: default; 37 --vis-scatter-fill-color: var(--vis-color-main); 38 --vis-scatter-stroke-color: 'none'; 39 --vis-scatter-stroke-width: 1px; 40 --vis-scatter-fill-opacity: 1; 41 --vis-scatter-stroke-opacity: 1; 42 --vis-scatter-hover-stroke-width: 2px; 43 44 --vis-scatter-point-label-text-color-dark: #5b5f6d; 45 --vis-scatter-point-label-text-color-light: #fff;
46 --vis-scatter-point-label-text-font-weight: 500; 47 --vis-scatter-point-label-text-font-size: 12px; 48 // Undefined by default to allow proper fallback to var(--vis-font-family) 49 /* --vis-scatter-point-label-text-font-family: */ 50 } 51`,y3=te` 52 label: scatter-component; 53`,Ke=te` 54 label: point-group; 55`,T4=te` 56 label: point-group-exit; 57`,qe=te` 58 label: point; 59 60 > path { 61 cursor: var(--vis-scatter-cursor); 62 fill: var(--vis-scatter-fill-color); 63 fill-opacity: var(--vis-scatter-fill-opacity); 64 stroke-opacity: var(--vis-scatter-stroke-opacity); 65 stroke-width: var(--vis-scatter-stroke-width); 66 stroke: var(--vis-scatter-stroke-color); 67 68 &:hover { 69 stroke-width: var(--vis-scatter-hover-stroke-width); 70 } 71 } 72 73 > text { 74 font-weight: var(--vis-scatter-point-label-text-font-weight); 75 font-size: var(--vis-scatter-point-label-text-font-size); 76 font-family: var(--vis-scatter-point-label-text-font-family, var(--vis-font-family)); 77 fill: var(--vis-scatter-point-label-text-color-dark); 78 user-select: none; 79 } 80`,_3=Object.freeze(Object.defineProperty({__proto__:null,globalStyles:b3,point:qe,pointGroup:Ke,pointGroupExit:T4,root:y3},Symbol.toStringTag,{value:"Module"}));class ge extends f4{constructor(z){super(),this._defaultConfig=f3,this.config=this._defaultConfig,this.events={[ge.selectors.point]:{mouseenter:this._onPointMouseOver.bind(this),mouseleave:this._onPointMouseOut.bind(this)}},this._pointData=[],z&&this.setConfig(z)}setConfig(z){super.setConfig(z),this._updateSizeScale()}setData(z){super.setData(z),this._updateSizeScale()}get bleed(){this._pointData=this._getOnScreenData();const z=a4(this._pointData),a=Se(this.yScale.range()),x=$e(this.yScale.range()),g=this.xScale.range()[0],n=this.xScale.range()[1],l=Ol("var(--vis-scatter-point-label-text-font-size)",this.element),e=z.reduce((r,h)=>{const o=this.xScale(h._point.xValue),u=this.yScale(h._point.yValue),p=h._point.sizePx/2;if(r.minX=Math.min(r.minX,o-p),r.maxX=Math.max(r.maxX,o+p),r.minY=Math.min(r.minY,u-p),r.maxY=Math.max(r.maxY,u+p),h._point.label){const _=je(h,h._point.labelPosition,this.xScale,this.yScale,l);r.minX=Math.min(r.minX,_.x),r.maxX=Math.max(r.maxX,_.x+_.width),r.minY=Math.min(r.minY,_.y),r.maxY=Math.max(r.maxY,_.y+_.height)}return r},{minX:Number.POSITIVE_INFINITY,maxX:Number.NEGATIVE_INFINITY,minY:Number.POSITIVE_INFINITY,maxY:Number.NEGATIVE_INFINITY}),i=1.2,d=e.minY<a?i*(a-e.minY):0,m=e.maxY>x?i*(e.maxY-x):0,c=e.minX<g?i*(g-e.minX):0,v=e.maxX>n?i*(e.maxX-n):0;return{top:d,bottom:m,left:c,right:v}}_render(z){const{config:a}=this,x=Ne(z)?z:a.duration,g=this.g.selectAll(`.${Ke}`).data(this._pointData),l=g.enter().append("g").attr("class",Ke).merge(g);jt(l,x).style("opacity",1);const e=g.exit().attr("class",T4);jt(e,x).style("opacity",0).remove();const i=l.selectAll(`.${qe}`).data(m=>m,m=>{var c;return`${(c=Le(m,a.id,m._point.pointIndex))!==null&&c!==void 0?c:m._point.pointIndex}`}),d=i.enter().append("g").attr("class",qe);m3(d,this.xScale,this.yScale),this._points=d.merge(i),g3(this._points,a,this.xScale,this.yScale,x),v3(i.exit(),this.xScale,this.yScale,x),this._resolveLabelOverlap()}_resolveLabelOverlap(){if(this.config.label){if(!this.config.labelHideOverlapping){this._points.selectAll("text").attr("opacity",null);return}cancelAnimationFrame(this._collideLabelsAnimFrameId),this._collideLabelsAnimFrameId=requestAnimationFrame(()=>{const z=this._points.filter(a=>!!a._point.label);p3(z,this.config,this.xScale,this.yScale)})}}_updateSizeScale(){var z;const{config:a,datamodel:x}=this;this._sizeScale=a.sizeScale.copy(),this._sizeScale.domain(m4(x.data,a.size)),this._sizeScale.range((z=a.sizeRange)!==null&&z!==void 0?z:[0,0])}_getOnScreenData(){const{config:z,datamodel:{data:a}}=this,x=this.xScale.domain().map(m=>+m),g=this.yScale.domain().map(m=>+m),n=p4(z.y)?z.y:[z.y],l=$e(a4(n.map((m,c)=>a?.map(v=>Zt(v,z.size,c))))),e=z.sizeRange?this._sizeScale(l):l,i=this.xScale.invert(e)-this.xScale.invert(0),d=Math.abs(this.yScale.invert(e)-this.yScale.invert(0));return n.map((m,c)=>{var v;return(v=a?.reduce((r,h,o)=>{const u=Zt(h,z.x,o),p=Zt(h,m,c);if(u==null||p==null)return r;const _=Zt(h,z.size,o),k=z.sizeRange?this._sizeScale(_):_,C=this.xScale.invert(k)-this.xScale.invert(0),M=Math.abs(this.yScale.invert(k)-this.yScale.invert(0));return u-C/2>=x[0]-i/2&&u+C/2<=x[1]+i/2&&p-M/2>=g[0]-d/2&&p+M/2<=g[1]+d/2&&r.push(Object.assign(Object.assign({},h),{_point:{xValue:u,yValue:p,sizePx:k,color:he(h,z.color,c),strokeColor:he(h,z.strokeColor,c,!0),strokeWidthPx:Zt(h,z.strokeWidth,c),shape:Le(h,z.shape,c),label:Le(h,z.label,c),labelColor:he(h,z.labelColor,c,!0),labelPosition:Ue(h,z.labelPosition,o),cursor:Le(h,z.cursor,c),groupIndex:c,pointIndex:o}})),r},[]))!==null&&v!==void 0?v:[]})}_mapEventDatum(z){return{datum:z,index:z._point.pointIndex}}_onPointMouseOver(z,a){const x=ce(a.target),g=x.node();g&&(g._forceShowLabel=!0),x.raise(),this._resolveLabelOverlap()}_onPointMouseOut(z,a){const x=ce(a.target).node();x&&delete x._forceShowLabel,this._resolveLabelOverlap()}}ge.selectors=_3;const w3={"data-vis-component":""},A4=yt({__name:"index",props:{color:{type:[Function,String,Array,null]},size:{type:[Function,Number,null]},sizeScale:{type:[Object,Function]},sizeRange:{},shape:{type:[Function,String]},label:{type:[Function,String,null]},labelColor:{type:[Function,String,Array,null]},labelHideOverlapping:{type:Boolean},cursor:{type:[Function,String,null]},labelTextBrightnessRatio:{},labelPosition:{type:[Function,String,null]},strokeColor:{type:[Function,String,Array,null]},strokeWidth:{type:[Function,Number,null]},x:{type:[Function,Number,null]},y:{type:[Function,Number,null,Array]},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(y,{expose:z}){const a=i4(g4),x=y,g=H(()=>a.data.value??x.data),n=v4(x),l=ft();return Jt(()=>{Me(()=>{l.value=new ge(n.value),l.value?.setData(g.value),a.update(l.value)})}),o4(()=>{l.value?.destroy(),a.destroy()}),At(n,(e,i)=>{b4(e,i)||(l.value?.setConfig(n.value),l.value?.render())}),At(g,()=>{l.value?.setData(g.value)}),z({component:l}),(e,i)=>(q(),nt("div",w3))}}),x3={"data-vis-component":""},Je=yt({__name:"index",props:{color:{type:[Function,String,Array,null]},barWidth:{},barMaxWidth:{},dataStep:{},barPadding:{},roundedCorners:{type:[Number,Boolean]},cursor:{type:[Function,String,null]},barMinHeight1Px:{type:Boolean},barMinHeightZeroValue:{},orientation:{},x:{type:[Function,Number,null]},y:{type:[Function,Number,null,Array]},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(y,{expose:z}){const a=i4(g4),x=y,g=H(()=>a.data.value??x.data),n=v4(x),l=ft();return Jt(()=>{Me(()=>{l.value=new pe(n.value),l.value?.setData(g.value),a.update(l.value)})}),o4(()=>{l.value?.destroy(),a.destroy()}),At(n,(e,i)=>{b4(e,i)||(l.value?.setConfig(n.value),l.value?.render())}),At(g,()=>{l.value?.setData(g.value)}),z({component:l}),(e,i)=>(q(),nt("div",x3))}}),k3=yt({__name:"DashboardNavigation",props:{demo:{type:Boolean},demoHero:{type:Boolean},demoHref:{},hasBots:{type:Boolean}},setup(y){const z=y,{navigation:a,setContext:x}=W4();return nl(()=>{x({demo:z.demo,demoHero:z.demoHero,demoHref:z.demoHref,hasBots:z.hasBots})}),(g,n)=>{const l=H4,e=el;return q(),ot(e,{class:Ot(["pt-0",[y.demoHero?"[--ui-header-height:0]":""]])},{default:X(()=>[f("div",{class:Ot(["flex flex-col gap-4 items-start",y.demo?"pt-4":"pt-8"])},[A(l,{orientation:"vertical",items:s(a),highlight:!0,variant:"pill",color:"dashboard-primary",type:"single",ui:{link:"cursor-pointer !transition-none font-[500] hover:before:bg-elevated before:transition-none ",childLink:"!transition-none "}},null,8,["items"])],2)]),_:1},8,["class"])}}}),S3=Object.assign(k3,{__name:"DashboardNavigation"}),z3={class:"hidden sm:grid-cols-2 sm:flex flex-col gap-4 pl-px"},C3={class:"flex justify-between items-center border-b border-muted py-2"},M3={class:"font-numbers text-2xl"},E3={class:"flex justify-between items-center border-b border-muted py-2"},D3={class:"font-numbers text-2xl"},T3={class:"flex justify-between items-center py-2"},A3={class:"font-numbers text-2xl"},P3=yt({__name:"DashboardSummary",props:{stats:{},loading:{type:Boolean}},setup(y){const{prettyNumber:z}=Pt(),a=y,x=H(()=>{const l=a.stats?.result?.visits?.hits?.value||0;return l?Math.round((a.stats?.result?.visits?.unique?.value||0)/l*100):null}),g=H(()=>x.value===null?"":`${x.value}% of pageviews`),n=H(()=>
80{if(!(!a.stats?.result?.visits?.bounceNew?.value||!a.stats?.result?.visits?.bounceCount?.value))return Math.round((a.stats?.result?.visits?.bounceNew?.value||0)/(a.stats?.result?.visits?.bounceCount?.value||1)*100)});return(l,e)=>{const i=ne,d=It;return q(),nt(kt,null,[f("div",z3,[A(i,{compact:"",label:"Pageviews",loading:y.loading,value:s(z)(y.stats?.result?.visits?.hits?.value),class:"col-span-2 sm:col-span-1"},null,8,["loading","value"]),A(i,{compact:"",label:"Unique Visitors",loading:y.loading,value:s(z)(y.stats?.result?.visits?.unique?.value),description:s(g),class:"col-span-2 sm:col-span-1"},null,8,["loading","value","description"]),A(i,{compact:"",label:"Bounce Rate",loading:y.loading,value:s(n),class:"col-span-2 sm:col-span-1",unit:"%"},null,8,["loading","value"])]),A(d,{class:"flex flex-col sm:hidden"},{default:X(()=>[f("div",C3,[e[0]||(e[0]=f("span",{class:"text-sm text-muted"},"Pageviews",-1)),f("span",M3,ut(s(z)(y.stats?.result?.visits?.hits?.value)),1)]),f("div",E3,[e[1]||(e[1]=f("span",{class:"text-sm text-muted"},"Unique Visitors",-1)),f("span",D3,ut(s(z)(y.stats?.result?.visits?.unique?.value)),1)]),f("div",T3,[e[2]||(e[2]=f("span",{class:"text-sm text-muted"},"Bounce Rate",-1)),f("span",A3,ut(s(n))+"%",1)])]),_:1})],64)}}}),B3=Object.assign(P3,{__name:"DashboardSummary"}),I3={class:"flex flex-col gap-4 text-sm"},R3={class:"flex flex-col gap-2 pl-4 list-disc marker:text-primary"},O3={class:"font-numbers"},$3={key:0},N3={class:"font-numbers"},U3={key:1},F3={class:"font-numbers"},V3={key:0},j3={class:"font-numbers"},K3={class:"flex justify-end w-full"},q3=yt({__name:"DashboardTrafficNotice",props:{notice:{},startKey:{},endKey:{}},setup(y){const z=y,{prettyNumber:a}=Pt(),x=ft(!1),g=()=>{x.value=!0},n=()=>{x.value=!1},l=H(()=>z.notice?z.notice.days.filter(c=>c.date>=z.startKey&&c.date<=z.endKey):[]),e=H(()=>l.value.reduce((c,v)=>v.hits>c.hits?v:c,l.value[0])),i=c=>new Date(`${c}T00:00:00Z`).toLocaleDateString("en-GB",{day:"numeric",month:"long",timeZone:"UTC"}),d=c=>{if(c<100)return String(Math.round(c/10)*10||c);const v=10**(Math.floor(Math.log10(c))-1);return a(Math.round(c/v)*v)},m=H(()=>{const c=l.value,v=c.reduce((h,o)=>h+o.excess,0),r=v>0?d(v):d(e.value.hits);return c.length===1?`On ${i(c[0].date)} this site received roughly ${r} more page views than usual.`:`Between ${i(c[0].date)} and ${i(c[c.length-1].date)} this site received roughly ${r} more page views than usual, over ${c.length} days.`});return(c,v)=>{const r=ae,h=We,o=He;return y.notice&&s(l).length?(q(),nt(kt,{key:0},[A(r,{size:"xs",color:"info",variant:"subtle",icon:"i-lucide-triangle-alert",label:"Unusual traffic",class:"hidden md:flex mb-2",title:"Some of the traffic in this range looks automated. Click for details.",onClick:g}),A(o,{open:s(x),"onUpdate:open":v[0]||(v[0]=u=>Yt(x)?x.value=u:null),title:`Unusual traffic on ${y.notice.domain}`},{body:X(()=>[f("div",I3,[f("p",null,ut(s(m)),1),f("ul",R3,[f("li",null,[v[3]||(v[3]=ht(" About ",-1)),f("span",O3,ut(d(s(e).hits)),1),v[4]||(v[4]=ht(" page views on the busiest day, ",-1)),y.notice.baselineHits!==null?(q(),nt("span",$3,[v[1]||(v[1]=ht("against a usual ",-1)),f("span",N3,ut(d(y.notice.baselineHits)),1),v[2]||(v[2]=ht(" or so.",-1))])):(q(),nt("span",U3,"far more than usual."))]),v[10]||(v[10]=f("li",null," Almost every one was a first-time visitor who left straight away. ",-1)),f("li",null,[v[7]||(v[7]=ht(" Spread across around ",-1)),f("span",F3,ut(s(e).countries),1),v[8]||(v[8]=ht(" countries",-1)),y.notice.baselineCountries!==null?(q(),nt("span",V3,[v[5]||(v[5]=ht(", where ",-1)),f("span",j3,ut(y.notice.baselineCountries),1),v[6]||(v[6]=ht(" is normal here",-1))])):mt("",!0),v[9]||(v[9]=ht(". ",-1))])]),v[11]||(v[11]=f("p",null," That pattern almost always means a scraper, a load test or an SEO tool, not real interest in your site. Our system spotted it automatically and a person checked it before showing you this. ",-1)),A(h,{variant:"soft",color:"primary",icon:"i-lucide-info",title:"Nothing to do on your side",description:"This traffic won't count towards your Cabin plan. The numbers on this page still include it."}),v[12]||(v[12]=f("p",{class:"text-muted"},[ht(" If you sit behind a CDN like Cloudflare, its bot settings usually deal with this. If you know
80what's behind it, we'd love to hear: "),f("a",{href:"mailto:[email protected]",class:"text-primary hover:underline"},"[email protected]")],-1))])]),footer:X(()=>[f("div",K3,[A(r,{color:"neutral",variant:"outline",class:"bg-transparent",label:"Got it",onClick:n})])]),_:1},8,["open","title"])],64)):mt("",!0)}}}),G3=Object.assign(q3,{__name:"DashboardTrafficNotice"}),W3={class:"flex items-center justify-between"},H3={class:"flex items-center gap-2"},Z3={class:"flex gap-2"},Y3=yt({__name:"DashboardSummaryChart",props:{loading:{type:Boolean},data:{},raw:{},chartHeight:{},hideLabels:{type:Boolean},fill:{type:Boolean},zoomable:{type:Boolean}},setup(y){const{daysInRange:z,hoursInRange:a,dateRange:x,setRange:g,today:n}=se(),l=y,{loading:e}=Kt(l),{formatBucketDate:i,prettyNumber:d,smAndLarger:m}=Pt(),c=H(()=>[{label:"Days",value:"days",disabled:z.value===1},{label:"Hours",value:"hours",disabled:z.value>7}]),v=ft("bar"),r=$t("plotArea"),{height:h}=sl(r),o=H(()=>l.fill&&Math.round(h.value)||l.chartHeight),{chartPeriod:u}=_4(),p=R=>R.date,_=[R=>R.unique,R=>R.hits],k=[R=>R.hits+R.unique,R=>R.unique],C=[R=>R.unique,R=>R.hits],M=(R,G)=>["var(--ui-bg-accented)","var(--ui-dashboard-primary)"][G],T={[pe.selectors.bar]:R=>K(R?.datum)},$=H(()=>!!l.zoomable&&u.value==="days"&&z.value>1),F=R=>{const G=new Date(R);return new Nl(G.getUTCFullYear(),G.getUTCMonth()+1,G.getUTCDate())},B=R=>{if(!$.value||typeof R!="number"||Number.isNaN(R))return;const G=F(R),O=G.compare(n.value)===0?"today":G.compare(n.value.subtract({days:1}))===0?"yesterday":"custom";g({range:{start:G,end:G},chartPeriod:"hours",preset:O})},V=H(()=>({[pe.selectors.bar]:{click:R=>B(R?.datum?.date)}})),Q=rl(null),S=(R,G)=>{Q.value=G??null},U=H(()=>({[ge.selectors.point]:{click:R=>B(R?.datum?.date)}})),L=()=>{v.value==="line"&&B(Q.value?.date)},K=R=>` 81 <div class="flex flex-col gap-1 text-sm p-2 bg-white dark:bg-default text-default rounded-md shadow-md ring-1 ring-muted p-4"> 82 <div class="font-heading text-lg text-highlighted">${i(R.date,u.value==="hours"?"hours":"days")}</div> 83 <div class="flex items-center gap-2"> 84 <div class="w-3 h-3 rounded-full bg-accented"></div> 85 ${d(R.hits+R.unique)} pageviews 86 </div> 87 <div class="flex items-center gap-2"> 88 <div class="w-3 h-3 rounded-full bg-dashboard-primary"></div> 89 ${d(R.unique)} unique visitors 90 </div> 91 </div> 92 `,st=H(()=>{const R=W.value;if(!R.length)return null;if(u.value==="hours"&&z.value===1)return R.filter((J,tt)=>tt%3===0).map(J=>J.date);if(u.value==="hours")return null;const G=m.value?7:4,O=3;if(R.length<=G)return R.map(J=>J.date);const I=R.length-1;let lt=Math.ceil(I/(G-1));for(let J=G;J>=O;J--)if(I%(J-1)===0){lt=I/(J-1);break}return R.filter((J,tt)=>tt%lt===0).map(J=>J.date)}),W=H(()=>{const R=Array(z.value).fill(0).map((G,O)=>x.value.start.add({days:O}));return!l.data||e.value?R.map(G=>({date:Date.UTC(G.year,G.month-1,G.day),hits:0,unique:0})):u.value==="hours"?l.data.flatMap(G=>G.hours?G.hours.map((O,I)=>({date:G.stamp+I*60*60*1e3,hits:Math.max(0,(O[0]??0)-(O[1]??0)),unique:O[1]??0})):[{date:G.stamp,hits:(G.visits?.hits??0)-(G.visits?.unique??0),unique:G.visits?.unique??0}]):l.data?.map((G,O)=>({date:G?.stamp,hits:G?.visits?.hits-G?.visits?.unique||0,unique:G?.visits?.unique||0}))}),ct=R=>z.value===1?new Date(R).toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",timeZone:"UTC"}):new Date(R).toLocaleDateString("en-GB",{weekday:"short",day:"numeric",month:"short",timeZone:"UTC"});return(R,G)=>{const O=Ft,I=De,lt=It;return q(),ot(lt,{class:Ot(y.fill?"h-full flex flex-col":""),ui:y.fill?{body:"flex-1 flex flex-col min-h-0"}:{}},{header:X(()=>[f("div",W3,[f("div",H3,[A(O,{name:"i-lucide-eye",class:"size-5"}),G[2]||(G[2]=f("h3",{class:"font-bold text-lg"}," Visitors ",-1))]),f("div",Z3,[Qt(R.$slots,"badge"),A(I,{modelValue:s(u),"onUpdate:modelValue":G[0]||(G[0]=J=>Yt(u)?u.value=J:null),items:s(c),color:"neutral",size:"xs",ui:{list:"dark:bg-default ring-1 ring-inset ring-muted",indicator:"bg-white dark:bg-accented",label:"text-default"}},null,8,["modelValue","items"]),A(I,{modelValue:s(v),"onUpdate:modelValue":G[1]||(G[1]=J=>Yt(v)?v.value=J:null),items:[{label:"",value:"line",icon:"i-lucide-line-chart"},{label:"",value:"bar",icon:"i-lucide-bar-chart"}],color:"neutral",size:"xs",ui:{list:"dark:bg-default ring-1 ring-inset ring-muted",indicator:"bg-white dark:bg-accented",leadingIcon:"text-default "}}
92,null,8,["modelValue"])])])]),default:X(()=>[f("div",{ref_key:"plotArea",ref:r,style:Xt(y.fill?{minHeight:(y.chartHeight??0)+"px"}:{height:y.chartHeight+"px"}),class:Ot([y.fill?"flex-1 min-h-0":"",s($)?"chart-zoomable":"",s($)&&s(v)==="line"?"cursor-pointer":""]),onClick:L},[(q(),ot(s(Ze),{key:s(v),data:s(W),height:s(o),width:"100%"},{default:X(()=>[s(v)==="line"?(q(),ot(s(y4),{key:0,"curve-type":"linear",x:p,y:C,duration:0,color:["var(--ui-dashboard-primary)","var(--ui-bg-accented)"],opacity:.2})):mt("",!0),s(v)==="line"?(q(),ot(s(A4),{key:1,events:s(U),x:p,y:k,size:4,color:M,duration:0},null,8,["events"])):mt("",!0),s(v)==="line"?(q(),ot(s(fe),{key:2,x:p,y:k,"line-width":1,"curve-type":"linear",duration:0,color:M,opacity:.5})):mt("",!0),s(v)==="bar"?(q(),ot(s(Je),{key:3,events:s(V),duration:0,color:["var(--ui-dashboard-primary)","color-mix(in srgb, var(--ui-bg-accented) 80%, transparent)"],x:p,y:_,"rounded-corners":0,"bar-padding":s(z)<20&&s(u)==="hours"&&s(a)<20?0:.01},null,8,["events","bar-padding"])):mt("",!0),A(s(ue),{type:"x","tick-format":ct,duration:0,"grid-line":!1,"tick-values":s(st),"tick-text-fit-mode":"trim"},null,8,["tick-values"]),A(s(ue),{"grid-line":!0,type:"y",duration:0}),s(v)==="line"?(q(),ot(s(Ye),{key:4,"on-crosshair-move":S,color:["var(--ui-bg-accented)","var(--ui-dashboard-primary)"],"stroke-color":"var(--ui-bg-accented)",y:k,x:p,template:K})):mt("",!0),A(s(Xe),{triggers:T})]),_:1},8,["data","height"]))],6)]),_:3},8,["class","ui"])}}}),P4=Object.assign(Y3,{__name:"DashboardSummaryChart"}),X3={class:"sm:border-b border-muted sm:pb-16"},Q3={class:"sm:flex gap-8 w-full"},J3={class:"text-2xl sm:text-3xl font-heading mb-2 sm:mb-4 inline-block"},t1={key:0,class:"w-full flex-1 text-pretty wrap-anywhere"},e1={key:1,class:"flex-1"},l1=yt({__name:"DashboardSection",props:{title:{},demo:{type:Boolean},locked:{type:Boolean,default:!1},feature:{}},setup(y){return(z,a)=>{const x=Ae;return q(),nt("section",X3,[f("div",Q3,[f("div",{class:Ot(["sm:w-1/4 flex flex-col gap-4 justify-between items-start mb-8 sm:mb-0 sm:sticky top-24 self-start h-full",y.demo?"top-42":""])},[f("h2",J3,ut(y.title),1),y.locked?mt("",!0):(q(),nt("div",t1,[Qt(z.$slots,"left",{},void 0,!0)]))],2),y.locked&&y.feature?(q(),ot(x,{key:0,feature:y.feature,demo:y.demo,class:"flex-1"},null,8,["feature","demo"])):(q(),nt("div",e1,[Qt(z.$slots,"default",{},void 0,!0)]))]),Qt(z.$slots,"wide",{},void 0,!0)])}}}),a1=Object.assign(Qe(l1,[["__scopeId","data-v-e337adaf"]]),{__name:"DashboardSection"}),n1={class:"flex items-center justify-between"},s1={class:"flex items-center gap-2"},r1={class:"flex gap-2 items-center"},i1={key:0,class:"h-full flex items-center justify-center text-muted"},o1={key:1,class:"h-full flex items-center justify-center text-muted text-sm"},L1={key:2,class:"h-full flex items-center justify-center text-muted text-sm"},c1=yt({__name:"DashboardSearchConsoleChart",props:{data:{default:()=>[]},loading:{type:Boolean,default:!1},chartHeight:{default:250}},setup(y){const z=y,{prettyNumber:a,smAndLarger:x}=Pt(),{dateRange:g,daysInRange:n}=se(),l=ft("line"),e=ft("traffic"),i=H(()=>{const T=new Map;for(const $ of z.data||[])T.set($.date,$);return T}),d=H(()=>{if(!g.value?.start||!n.value)return(z.data||[]).map(F=>{const B=F.date.split("-").map(Number);return{date:B.length===3?new Date(B[0],B[1]-1,B[2]).getTime():new Date(F.date).getTime(),dateKey:F.date,clicks:F.clicks,impressions:F.impressions,ctr:F.ctr,position:F.position}});const T=g.value.start,$=[];for(let F=0;F<n.value;F++){const B=T.add({days:F}),V=`${B.year}-${String(B.month).padStart(2,"0")}-${String(B.day).padStart(2,"0")}`,Q=i.value.get(V),S=new Date(B.year,B.month-1,B.day).getTime();$.push({date:S,dateKey:V,clicks:Q?.clicks??0,impressions:Q?.impressions??0,ctr:Q?.ctr??0,position:Q?.position??0})}return $}),m=H(()=>d.value.filter(T=>T.position>0)),c=T=>T.date,v=[T=>T.clicks],r=[T=>T.impressions],h=[T=>T.impressions,T=>T.clicks],o=[T=>T.position>0?T.position:null],u=H(()=>{const T=m.value.map(B=>B.position);if(!T.length)return[50,1];const $=Math.max(...T),F=Math.min(...T);return[Math.ceil($)+2,Math.max(1,Math.floor(F)-1)]}),p=H(()=>e.value==="position"?m.value:d.value),_=H(()=>{const T=p.value;if(!T.length)return null;const $=x.value?7:4,F=3;if(T.length<=$)return T.map(Q=>Q.date);const B=T.length-1;let V=Math.ceil(B/($-1));for(let Q=$;Q>=F;Q--)if(B%(Q-1)===0){V=B/(Q-1);break}return T.filter((Q,S)=>S%V===0).map(Q=>Q.date)}),k=T=>new Date(T).toLocaleDateString("en-GB",{weekday:"short",day:"numeric",month:"short"}),C={[pe.selectors.bar]:T=>M(T?.datum)},M=T=>T?` 93 <div class="flex flex-col gap-1.5 text-sm bg-white dark:bg-default text-default rounded-md shadow-md ring-1 ring-muted p-3 min-w-44"> 94 <div class="font-heading text-base text-highlighted">${new Date(T.date).toLocaleDateString("en-GB",{weekday:"short",day:"numeric",month:"short"})}</div> 95 <div class="flex items-center justify-between gap-4">
96 <span class="text-muted flex items-center gap-1.5"><span class="size-2 rounded-full bg-dashboard-primary inline-block"></span>Impressions:</span> 97 <span class="font-bold">${a(T.impressions)}</span> 98 </div> 99 <div class="flex items-center justify-between gap-4"> 100 <span class="text-muted flex items-center gap-1.5"><span class="size-2 rounded-full bg-accented inline-block"></span>Clicks:</span> 101 <span class="font-bold">${a(T.clicks)}</span> 102 </div> 103 <div class="flex items-center justify-between gap-4"> 104 <span class="text-muted">CTR:</span> 105 <span class="font-bold">${(T.ctr*100).toFixed(1)}%</span> 106 </div> 107 <div class="flex items-center justify-between gap-4"> 108 <span class="text-muted">Avg Position:</span> 109 <span class="font-bold">${T.position>0?T.position.toFixed(1):"-"}</span> 110 </div> 111 </div> 112 `:"";return(T,$)=>{const F=Ft,B=De,V=It;return q(),ot(V,null,{header:X(()=>[f("div",n1,[f("div",s1,[A(F,{name:"i-logos-google-icon",class:"size-5"}),$[2]||($[2]=f("h3",{class:"font-bold text-lg"}," Performance ",-1))]),f("div",r1,[A(B,{modelValue:s(e),"onUpdate:modelValue":$[0]||($[0]=Q=>Yt(e)?e.value=Q:null),items:[{label:"Clicks & Impressions",value:"traffic"},{label:"Position",value:"position"}],color:"neutral",size:"xs",ui:{list:"dark:bg-default ring-1 ring-inset ring-muted",indicator:"bg-white dark:bg-accented",label:"text-default"}},null,8,["modelValue"]),A(B,{modelValue:s(l),"onUpdate:modelValue":$[1]||($[1]=Q=>Yt(l)?l.value=Q:null),items:[{label:"",value:"line",icon:"i-lucide-line-chart"},{label:"",value:"bar",icon:"i-lucide-bar-chart"}],color:"neutral",size:"xs",ui:{list:"dark:bg-default ring-1 ring-inset ring-muted",indicator:"bg-white dark:bg-accented",leadingIcon:"text-default"}},null,8,["modelValue"])])])]),default:X(()=>[f("div",{style:Xt({height:`${y.chartHeight}px`}),class:"relative"},[y.loading?(q(),nt("div",i1,[A(F,{name:"i-lucide-loader-circle",class:"size-6 animate-spin"})])):s(e)==="traffic"&&!s(d).length?(q(),nt("div",o1," No Search Console data available for this date range ")):s(e)==="position"&&!s(m).length?(q(),nt("div",L1," No ranking position recorded for this date range ")):(q(),ot(s(Ze),{key:`${s(e)}-${s(l)}`,data:s(e)==="position"?s(m):s(d),height:y.chartHeight,width:"100%","y-domain":s(e)==="position"?s(u):void 0},{default:X(()=>[s(e)==="traffic"?(q(),nt(kt,{key:0},[s(l)==="line"?(q(),ot(s(y4),{key:0,"curve-type":"linear",x:c,y:r,duration:0,color:["var(--ui-dashboard-primary)"],opacity:.15})):mt("",!0),s(l)==="line"?(q(),ot(s(fe),{key:1,x:c,y:r,"line-width":2,"curve-type":"linear",duration:0,color:["var(--ui-dashboard-primary)"]})):mt("",!0),s(l)==="line"?(q(),ot(s(fe),{key:2,x:c,y:v,"line-width":2,"curve-type":"linear",duration:0,color:["var(--ui-bg-accented)"],opacity:.9})):mt("",!0),s(l)==="bar"?(q(),ot(s(Je),{key:3,duration:0,color:["var(--ui-dashboard-primary)","var(--ui-bg-accented)"],x:c,y:h,"rounded-corners":0})):mt("",!0)],64)):(q(),nt(kt,{key:1},[A(s(fe),{x:c,y:o,"line-width":2,"curve-type":"linear",duration:0,color:["var(--ui-dashboard-primary)"]}),A(s(A4),{x:c,y:o,size:4,color:["var(--ui-dashboard-primary)"],duration:0})],64)),A(s(ue),{type:"x","tick-format":k,"tick-values":s(_),duration:0,"grid-line":!1},null,8,["tick-values"]),A(s(ue),{type:"y",duration:0,"grid-line":!0}),A(s(Ye),{color:["var(--ui-dashboard-primary)"],"stroke-color":"var(--ui-dashboard-primary)",template:M}),A(s(Xe),{triggers:C})]),_:1},8,["data","height","y-domain"]))],4)]),_:1})}}}),t4=Object.assign(c1,{__name:"DashboardSearchConsoleChart"}),u1={class:"flex items-center justify-between"},d1={class:"flex items-center gap-2"},h1={key:0,class:"h-80 flex items-center justify-center"},f1={key:1,class:"h-80"},p1=yt({__name:"DashboardBounceRateChart",props:{stats:{},loading:{type:Boolean}},setup(y){const z=y,{formatBucketDate:a}=Pt(),x=ft("line"),g=H(()=>z.stats?.result?.days?z.stats.result.days.filter(m=>m.stamp).sort((m,c)=>m.stamp-c.stamp).map(m=>{const{bounceNew:c=0,bounceCount:v=0}=m.visits??{},r=v?Math.min(100,Math.max(0,c/v*100)):0;return{date:m.stamp,bounceRate:parseFloat(r.toFixed(1))}}):[]),n=m=>m.date,l=m=>m.bounceRate,e={[$l.selectors.line]:m=>d(m)},i=m=>{const c={day:"numeric",month:"short",year:"numeric",timeZone:"UTC"};return new Date(m).toLocaleDateString("en-GB",c)},d=m=>` 113<div class="flex flex-col gap-2 p-2 dark:text-white bg-white/90 dark:bg-muted/90 backdrop-blur rounded-lg p-6 shadow-md ring-1 ring-muted"> 114 <div class="text-lg font-heading ">${a(m.date,"days")}</div> 115 <div class="text-sm "> 116 <div class="flex items-center gap-2 border-l-2 border-dashboard-primary pl-4"> 117 <div class="flex flex-col"> 118 Bounce Rate 119 <div class="font-numbers text-2xl">${m.bounceRate}%</div> 120 </div> 121 </div> 122 </div> 123</div> 124`;return(m,c)=>{const v=Ft,r=ae,h=Wl,o=L4,u=It;return q(),ot(u,null,{header:X(()=>[f("div",u1,[f("div",d1,[A(v,{name:"i-lucide-arrow-down-up",class:"size-5"}),c[2]||(c[2]=f("h3",{class:"font-bold text-lg"}," Bounce Rate ",-1))]),A(h,null,{default:X(()=>[A(r,{color:"neutral",variant:"outline",icon:"i-lucide-line-chart",active:s(x)==="line","active-variant":"subtle","active-color":"dashboard-primary",onClick:c[0]||(c[0]=p=>x.value="line")},null,8,["active"]),A(r,{color:"neutral",variant:"outline",icon:"i-lucide-bar-chart",active:s(x)==="bar","active-variant":"subtle","active-color":"dashboard-primary",onClick:c[1]||(c[1]=p=>x.value="bar")},null,8,["active"])]),_:1})])]),default:X(()=>[A(o,null,{default:X(()=>[y.loading?(q(),nt("div",h1," Loading... ")):(q(),nt("div",f1,[A(s(Ze),{data:s(g),"y-domain":[0,100]},{default:X(()=>
124[s(x)==="line"?(q(),ot(s(fe),{key:0,x:n,y:l,duration:0,color:["var(--ui-dashboard-primary)"]})):mt("",!0),s(x)==="bar"?(q(),ot(s(Je),{key:1,x:n,y:l,duration:0,color:["var(--ui-dashboard-primary)"]})):mt("",!0),A(s(ue),{type:"x","tick-format":i,duration:0,"grid-line":!1}),A(s(ue),{type:"y",duration:0,"grid-line":!0}),A(s(Xe),{triggers:e}),A(s(Ye),{color:["var(--ui-dashboard-primary)"],"stroke-color":"var(--ui-dashboard-primary)",template:d})]),_:1},8,["data"])]))]),_:1})]),_:1})}}}),m1=Object.assign(p1,{__name:"DashboardBounceRateChart"}),g1=yt({__name:"DashboardMapVector",emits:["mouseenter","mouseleave","mousemove"],setup(y,{emit:z}){const a=ft(null),x=z;return Jt(()=>{const g=a.value?.getElementsByTagName("path")??[];g&&Array.from(g).forEach(n=>{n.addEventListener("mouseenter",()=>{x("mouseenter",n,n.id,n.getAttribute("title"))}),n.addEventListener("mouseleave",()=>{x("mouseleave",n.id)}),n.addEventListener("mousemove",l=>{x("mousemove",l)}),n.style=`opacity: var(--map-${n.id}-opacity, 0.1)`})}),(g,n)=>(q(),nt("svg",{id:"map-svg",ref_key:"worldmap",ref:a,xmlns:"http://www.w3.org/2000/svg","xmlns:amcharts":"http://amcharts.com/ammap","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",width:"100%",viewBox:"0 0 1008 650"},[...n[0]||(n[0]=[f("defs",null,[f("amcharts:ammap",{projection:"mercator",leftLongitude:"-169.6",topLatitude:"83.68",rightLongitude:"190.25",bottomLatitude:"-55.55"})],-1),f("g",null,[f("path",{id:"AE",title:"United Arab Emirates",d:"M619.87,393.72L620.37,393.57L620.48,394.41L622.67,393.93L624.99,394.01L626.68,394.1L628.6,392.03L630.7,390.05L632.47,388.15L633,389.2L633.38,391.64L631.95,391.65L631.72,393.65L632.22,394.07L630.95,394.67L630.94,395.92L630.12,397.18L630.05,398.39L629.48,399.03L621.06,397.51L619.98,394.43z"}),f("path",{id:"AF",title:"Afghanistan",d:"M646.88,356.9L649.74,358.2L651.85,357.74L652.44,356.19L654.65,355.67L656.23,354.62L656.79,351.83L659.15,351.15L659.59,349.9L660.92,350.84L661.76,350.95L663.32,350.98L665.44,351.72L666.29,352.14L668.32,351.02L669.27,351.69L670.17,350.09L671.85,350.16L672.28,349.64L672.58,348.21L673.79,346.98L675.3,347.78L675,348.87L675.85,349.04L675.58,351.99L676.69,353.14L677.67,352.4L678.92,352.06L680.66,350.49L682.59,350.75L685.49,350.75L685.99,351.76L684.35,352.15L682.93,352.8L679.71,353.2L676.7,353.93L675.06,355.44L675.72,356.9L676.05,358.6L674.65,360.03L674.77,361.33L674,362.55L671.33,362.44L672.43,364.66L670.65,365.51L669.46,367.51L669.61,369.49L668.51,370.41L667.48,370.11L665.33,370.54L665.03,371.45L662.94,371.45L661.38,373.29L661.28,376.04L657.63,377.37L655.68,377.09L655.11,377.79L653.44,377.39L650.63,377.87L645.94,376.23L648.48,373.3L648.25,371.2L646.13,370.65L645.91,368.56L644.99,365.92L646.19,364.09L644.97,363.6L645.74,361.15z"}),f("path",{id:"AL",title:"Albania",d:"M532.98,334.66L532.63,335.93L533.03,337.52L534.19,338.42L534.13,339.39L533.22,339.93L533.05,341.12L531.75,342.88L531.27,342.63L531.22,341.83L529.66,340.6L529.42,338.85L529.66,336.32L530.04,335.16L529.57,334.57L529.38,333.38L530.6,331.51L530.77,332.23L531.53,331.89L532.13,332.91L532.8,333.29z"}),f("path",{id:"AM",title:"Armenia",d:"M597.45,337.5L601.35,336.92L601.93,337.9L603,338.54L602.43,339.46L603.93,340.72L603.14,341.88L604.33,342.87L605.59,343.46L605.65,345.96L604.63,346.06L603.49,343.98L603.5,343.43L602.26,343.44L601.43,342.46L600.85,342.56L599.74,341.5L597.66,340.59L597.93,338.8z"}),f("path",{id:"AO",title:"Angola",d:"M521.03,479.78l0.69,2.09l0.8,1.68l0.64,0.91l1.07,1.47l1.85,-0.23l0.93,-0.4l1.55,0.4l0.42,-0.7l0.7,-1.64l1.74,-0.11l0.15,-0.49l1.43,-0.01l-0.24,1.01l3.4,-0.02l0.05,1.77l0.57,1.09l-0.41,1.7l0.21,1.74l0.94,1.05l-0.15,3.37l0.69,-0.26l1.22,0.07l1.74,-0.42l1.28,0.17l0.3,0.88l-0.32,1.38l0.49,1.34l-0.42,1.07l0.24,0.99l-5.84,-0.04l-0.13,9.16l1.89,2.38l1.83,1.82l-5.15,1.19l-6.79,-0.41l-1.94,-1.4l-11.37,0.13l-0.42,0.21l-1.67,-1.32l-1.82,-0.09l-1.68,0.5l-1.35,0.56l-0.26,-1.83l0.39,-2.55l0.97,-2.65l0.15,-1.24l0.91,-2.59l0.67,-1.17l1.61,-1.87l0.9,-1.27l0.29,-2.11l-0.15,-1.61l-0.84,-1.01l-0.75,-1.72l-0.69,-1.69l0.15,-0.59l0.86,-1.12l-0.85,-2.72l-0.57,-1.88l-1.4,-1.77l0.27,-0.54l1.16,-0.38l0.81,0.05l0.98,-0.34L521.03,479.78zM510.12,479.24l-0.71,0.3l-0.75,-2.1l1.13,-1.21l0.85,-0.47l1.05,0.96l-1.02,0.59l-0.46,0.72L510.12,479.24z"}),f("path",{id:"AR",title:"Argentina",d:"M291.6,648.91l-2.66,0.25l-1.43,-1.73l-1.69,-0.13l-3,0l0,-10.57l1.08,2.15l1.4,3.53l3.65,2.87l3.93,1.21L291.6,648.91zM293.1,526.47l1.65,2.18l1.09,-2.43l3.2,0.12l0.45,0.64l5.15,4.94l2.29,0.46l3.43,2.26l2.89,1.2l0.4,1.36l-2.76,4.73l2.83,0.85l3.15,0.48l2.22,-0.5l2.54,-2.4l0.46,-2.74l1.39,-0.59l1.41,1.79l-0.06,2.49l-2.36,1.73l-1.88,1.28l-3.16,3.08l-3.74,4.37l-0.7,2.59l-0.75,3.37l0.03,3.3l-0.61,0.74l-0.22,2.17l-0.19,1.76l3.56,2.91l-0.38,2.37l1.75,1.51l-0.14,1.7l-2.69,4.52l-4.16,1.91l-5.62,0.75l-3.08,-0.36l0.59,2.15l-0.57,2.72l0.52,1.85l-1.68,1.3l-2.87,0.51l-2.7,-1.35l-1.08,0.97l0.39,3.71l1.89,1.14l1.54,-1.19l0.84,1.96l-2.58,1.18l-2.25,2.38l-0.41,3.91l-0.66,2.11l-2.65,0.01l-2.2,2.04l-0.8,3.01l2.76,2.98l2.68,0.83l-0.96,3.73l-3.31,2.38l-1.82,5.03l-2.56,1.72l-1.15,2.06l0.91,4.64l1.87,2.63l-1.18,-0.23l-2.6,-0.71l-6.78,-0.61l-1.16,-2.63l0.05,-3.33l-1.87,0.28l-0.99,-1.6l-0.25,-4.6l2.15,-1.88l0.89,-2.68l-0.33,-2.11l1.49,-3.52l1.02,-5.35l-0.3,-2.33l1.22,-0.75l
124-0.3,-1.48l-1.3,-0.78l0.92,-1.63l-1.27,-1.46l-0.65,-4.4l1.13,-0.77l-0.47,-4.54l0.66,-3.75l0.75,-3.22l1.68,-1.3l-0.85,-3.46l-0.01,-3.22l2.12,-2.26l-0.06,-2.87l1.6,-3.31l0.01,-3.09l-0.73,-0.61l-1.29,-5.69l1.73,-3.34l-0.27,-3.11l1,-2.9l1.84,-2.96l1.98,-1.95l-0.84,-1.23l0.59,-1l-0.09,-5.14l3.05,-1.51l0.96,-3.16l-0.34,-0.76l2.34,-2.72L293.1,526.47z"}),f("path",{id:"AT",title:"Austria",d:"M522.86,309.85L522.65,311.56L521.07,311.57L521.61,312.46L520.68,315.11L520.15,315.8L517.7,315.9L516.28,316.82L513.96,316.51L509.95,315.46L509.33,314.03L506.56,314.75L506.23,315.52L504.53,314.94L503.1,314.83L501.83,314.09L502.26,313.08L502.15,312.34L503,312.12L504.42,313.26L504.82,312.17L507.29,312.35L509.3,311.61L510.64,311.73L511.51,312.58L511.78,311.88L511.38,309.16L512.39,308.62L513.37,306.67L515.46,308.04L517.03,306.3L518.02,305.98L520.2,307.28L521.51,307.06L522.81,307.86L522.58,308.4z"}),f("path",{id:"AU",title:"Australia",d:"M882.93,588.16l2.71,1.28l1.53,-0.51l2.19,-0.71l1.68,0.25l0.2,4.43l-0.96,1.3l-0.29,3.06l-0.98,-1.05l-1.95,2.67l-0.58,-0.21l-1.72,-0.12l-1.73,-3.28l-0.38,-2.5l-1.62,-3.25l0.07,-1.7L882.93,588.16zM877.78,502.1l1.01,2.25l1.8,-1.08l0.93,1.22l1.35,1.13l-0.29,1.28l0.6,2.48l0.43,1.45l0.71,0.35l0.76,2.5l-0.27,1.52l0.91,1.99l3.04,1.54l1.98,1.41l1.88,1.29l-0.37,0.72l1.6,1.87l1.09,3.25l1.12,-0.66l1.14,1.31l0.69,-0.46l0.48,3.21l1.99,1.87l1.3,1.17l2.19,2.49l0.79,2.49l0.07,1.77l-0.19,1.94l1.34,2.68l-0.16,2.81l-0.49,1.48l-0.76,2.87l0.06,1.86l-0.55,2.34l-1.24,3l-2.08,1.63l-1.02,2.59l-0.94,1.67l-0.83,2.93l-1.08,1.71l-0.71,2.58l-0.36,2.4l0.14,1.11l-1.61,1.22l-3.14,0.13l-2.59,1.45l-1.29,1.38l-1.69,1.54l-2.32,-1.58l-1.72,-0.63l0.44,-1.85l-1.53,0.67l-2.46,2.58l-2.42,-0.97l-1.59,-0.56l-1.6,-0.25l-2.71,-1.03l-1.81,-2.18l-0.52,-2.66l-0.65,-1.75l-1.38,-1.4l-2.7,-0.41l0.92,-1.66l-0.68,-2.52l-1.37,2.35l-2.5,0.63l
1241.47,-1.88l0.42,-1.95l1.08,-1.65l-0.22,-2.47l-2.28,2.85l-1.75,1.15l-1.07,2.69l-2.19,-1.4l0.09,-1.79l-1.75,-2.43l-1.48,-1.25l0.53,-0.77l-3.6,-2l-1.97,-0.09l-2.7,-1.6l-5.02,0.31l-3.63,1.18l-3.19,1.1l-2.68,-0.22l-2.97,1.7l-2.43,0.77l-0.54,1.75l-1.04,1.36l-2.38,0.08l-1.76,0.3l-2.48,-0.61l-2.02,0.37l-1.92,0.15l-1.67,1.8l-0.82,-0.15l-1.41,0.96l-1.35,1.08l-2.05,-0.13l-1.88,0l-2.97,-2.17l-1.51,-0.64l0.06,-1.93l1.39,-0.46l0.48,-0.76l-0.1,-1.2l0.34,-2.3l-0.31,-1.95l-1.48,-3.29l-0.46,-1.85l0.12,-1.83l-1.12,-2.08l-0.07,-0.93l-1.24,-1.26l-0.35,-2.47l-1.6,-2.48l-0.39,-1.33l1.23,1.35l-0.95,-2.88l1.39,0.9l0.83,1.2l-0.05,-1.59l-1.39,-2.43l-0.27,-0.97l-0.65,-0.92l0.3,-1.77l0.57,-0.75l0.38,-1.52l-0.3,-1.77l1.16,-2.17l0.21,2.29l1.18,-2.07l2.28,-1l1.37,-1.28l2.14,-1.1l1.27,-0.23l0.77,0.37l2.21,-1.11l1.7,-0.33l0.42,-0.65l0.74,-0.27l1.55,0.07l2.95,-0.87l1.52,-1.31l0.72,-1.58l1.64,-1.49l0.13,-1.17l0.07,-1.59l1.96,-2.47l1.18,2.51l1.19,-0.58l-1,-1.38l0.88,-1.41l1.24,0.63l0.34,-2.21l1.53,-1.42l0.68,-1.14l1.41,-0.49l0.04,-0.8l1.23,0.34l0.05,-0.72l1.23,-0.41l1.36,-0.39l2.07,1.32l1.56,1.71l1.75,0.02l1.78,0.27l-0.59,-1.58l1.34,-2.3l1.26,-0.75l-0.44,-0.71l1.22,-1.63l1.7,-1.01l1.43,0.34l2.36,-0.54l-0.05,-1.45l-2.05,-0.94l1.49,-0.41l1.86,0.7l1.49,1.17l2.36,0.73l0.8,-0.29l1.74,0.88l1.64,-0.82l1.05,0.25l0.66,-0.55l1.29,1.41l-0.75,1.53l-1.06,1.16l-0.96,0.1l0.33,1.15l-0.82,1.43l-1,1.41l0.2,0.81l2.23,1.6l2.16,0.93l1.44,1l2.03,1.72l0.79,0l1.47,0.75l0.43,0.9l2.68,0.99l1.85,-1l0.55,-1.57l0.57,-1.29l0.35,-1.59l0.85,-2.3l-0.39,-1.39l0.2,-0.84l-0.32,-1.64l0.37,-2.16l0.54,-0.58l-0.44,-0.95l0.68,-1.51l0.53,-1.56l0.07,-0.81l1.04,-1.06l0.79,1.39l0.19,1.78l0.7,0.34l0.12,1.2l1.02,1.45l0.21,1.62L877.78,502.1z"}),f("path",{id:"AZ",title:"Azerbaijan",d:"M601.43,342.46l0.83,0.97l1.24,-0.01l-0.01,0.56l1.14,2.08l-1.92,-0.48l-1.42,-1.66l-0.44,-1.37L601.43,342.46zM608.08,337.03l1.24,0.25l0.48,-0.95l1.67,-1.51l1.47,1.97l1.43,2.62l1.31,0.17l0.86,0.99l-2.31,0.29l-0.49,2.82l-0.48,1.26l-1.03,0.84l0.08,1.77l-0.7,0.18l-1.75,-1.87l0.97,-1.78l-0.83,-1.06l-1.05,0.27l-3.31,2.66l-0.06,-2.5l-1.26,-0.59l-1.19,-0.99l0.79,-1.16l-1.49,-1.26l0.56,-0.92l-1.07,-0.64l-0.58,-0.97l0.69,-0.61l2.09,1.07l1.51,0.22l0.38,-0.43l-1.38,-2.02l0.73,-0.52l0.79,0.13L608.08,337.03z"}),f("path",{id:"BA",title:"Bosnia and Herzegovina",d:"M528.54,323.11L529.56,323.1L528.86,324.82L530.21,326.32L529.8,328.14L529.14,328.31L528.61,328.67L527.7,329.56L527.29,331.66L524.81,330.22L523.75,328.61L522.68,327.76L521.39,326.31L520.79,325.1L519.41,323.27L520,321.63L521.01,322.54L521.61,321.72L522.92,321.63L525.33,322.29L527.27,322.23z"}),f("path",{id:"BD",title:"Bangladesh",d:"M735.09,400.41L735.04,402.56L734.06,402.1L734.24,404.51L733.44,402.95L733.28,401.43L732.74,399.98L731.57,398.22L728.99,398.1L729.25,399.35L728.37,401.02L727.17,400.41L726.76,400.96L725.97,400.63L724.89,400.36L724.45,397.88L723.48,395.6L723.95,393.76L722.23,392.94L722.85,391.82L724.6,390.67L722.58,389.04L723.57,386.93L725.79,388.27L727.13,388.43L727.38,390.58L730.04,391L732.65,390.95L734.26,391.48L732.97,394.07L731.71,394.25L730.85,395.98L732.38,397.56L732.84,395.62L733.62,395.61z"}),f("path",{id:"BE",title:"Belgium",d:"M484.55,295.91L486.6,296.26L489.2,295.33L490.97,297.28L492.52,298.32L492.2,301.29L491.47,301.45L491.16,303.88L488.71,301.91L487.27,302.25L485.31,300.19L484.01,298.42L482.71,298.35L482.3,296.79z"}),f("path",{id:"BF",title:"Burkina Faso",d:"M467.33,436.4L465.41,435.67L464.09,435.78L463.11,436.49L461.85,435.89L461.36,434.96L460.1,434.34L459.91,432.7L460.68,431.49L460.61,430.53L462.84,428.17L463.25,426.21L464.02,425.51L465.38,425.89L466.55,425.31L466.93,424.57L469.11,423.29L469.64,422.39L472.26,421.19L473.81,420.78L474.51,421.33L476.3,421.32L476.08,422.72L476.46,424.03L478.04,425.9L478.12,427.28L481.36,427.93L481.29,429.88L480.68,430.74L479.31,431L478.74,432.24L477.78,432.56L475.32,432.5L474.02,432.28L473.12,432.74L471.88,432.53L467.01,432.66L466.94,434.27z"}),f("path",{id:"BG",title:"Bulgaria",d:"M538.78,325.56L539.59,327.16L540.67,326.87L542.83,327.48L546.95,327.68L548.34,326.69L551.64,325.79L553.68,327.2L555.33,327.61L553.87,329.2L552.85,331.93L553.75,334.09L551.34,333.58L548.48,334.76L548.45,336.62L545.9,336.97L543.93,335.67L541.68,336.7L539.61,336.59L539.41,334.12L538,332.91L538.47,332.37L538.16,331.92L538.63,330.71L539.7,329.52L538.34,327.86L538.09,326.44z"}),f("path",{id:"BI",title:"Burundi",d:"M557.52,475.93L557.34,472.56L556.63,471.3L558.34,471.52L559.2,469.93L560.
12469,470.11L560.85,471.21L561.45,471.84L561.48,472.75L560.79,473.33L559.69,474.79L558.68,475.8z"}),f("path",{id:"BJ",title:"Benin",d:"M482.8,445.92L480.48,446.25L479.79,444.31L479.92,437.85L479.35,437.27L479.25,435.88L478.27,434.89L477.42,434.06L477.78,432.56L478.74,432.24L479.31,431L480.68,430.74L481.29,429.88L482.23,429.05L483.24,429.04L485.38,430.68L485.27,431.63L485.9,433.31L485.35,434.45L485.64,435.21L484.28,436.96L483.42,437.83L482.89,439.6L482.96,441.39z"}),f("path",{id:"BN",title:"Brunei Darussalam",d:"M795.46,450.77L796.57,449.72L798.96,448.19L798.83,449.57L798.67,451.35L797.33,451.26L796.74,452.21z"}),f("path",{id:"BO",title:"Bolivia",d:"M299.04,526.35L295.84,526.22L294.75,528.65L293.1,526.47L289.43,525.74L287.1,528.46L285.07,528.87L283.97,524.72L282.47,521.38L283.35,518.51L281.88,517.26L281.51,515.14L280.13,513.14L281.9,510L280.69,507.56L281.34,506.59L280.83,505.52L281.93,504.08L281.99,501.64L282.12,499.62L282.73,498.66L280.3,494.08L282.39,494.32L283.83,494.25L284.46,493.4L286.91,492.25L288.38,491.19L292.05,490.71L291.76,492.83L292.1,493.92L291.87,495.82L294.92,498.37L298.06,498.84L299.16,499.91L301.06,500.48L302.22,501.31L303.98,501.28L305.61,502.13L305.73,503.79L306.28,504.63L306.32,505.88L305.5,505.92L306.58,509.29L311.95,509.41L311.54,511.09L311.84,512.24L313.37,513.06L314.04,514.88L313.54,517.2L312.77,518.49L313.04,520.18L312.16,520.79L312.12,519.88L309.5,518.37L306.9,518.32L302.01,519.18L300.67,521.8L300.6,523.4L299.49,526.99z"}),f("path",{id:"BR",title:"Brazil",d:"M313.68,551.79L317.42,547.42L320.59,544.34L322.47,543.06L324.83,541.33L324.89,538.84L323.48,537.05L322.09,537.64L322.64,535.86L323.02,534.04L323.02,532.36L322.01,531.81L320.96,532.3L319.92,532.17L319.59,530.99L319.33,528.22L318.8,527.32L316.91,526.5L315.77,527.09L312.81,526.51L312.99,522.45L312.16,520.79L313.04,520.18L312.77,518.49L313.54,517.2L314.04,514.88L313.37,513.06L311.84,512.24L311.54,511.09L311.95,509.41L306.58,509.29L305.5,505.92L306.32,505.88L306.28,504.63L305.73,503.79L305.61,502.13L303.98,501.28L302.22,501.31L301.06,500.48L299.16,499.91L298.06,498.84L294.92,498.37L291.87,495.82L292.1,493.92L291.76,492.83L292.05,490.71L288.38,491.19L286.91,492.25L284.46,493.4L283.83,494.25L282.39,494.32L280.3,494.08L278.72,494.57L277.44,494.24L277.63,489.94L275.33,491.6L272.86,491.53L271.8,490.02L269.94,489.86L270.53,488.65L268.97,486.93L267.8,484.4L268.54,483.89L268.54,482.7L270.24,481.89L269.96,480.38L270.67,479.4L270.88,478.1L274.08,476.19L276.38,475.66L276.75,475.24L279.28,475.37L280.54,467.72L280.61,466.51L280.17,464.92L278.93,463.9L278.94,461.88L280.52,461.42L281.08,461.71L281.17,460.64L279.53,460.35L279.5,458.61L284.96,458.67L285.89,457.71L286.67,458.59L287.21,460.24L287.74,459.89L289.29,461.37L291.47,461.19L292.01,460.33L294.09,459.68L295.25,459.23L295.57,458.05L297.58,457.25L297.42,456.67L295.05,456.43L294.66,454.67L294.77,452.8L293.52,452.08L294.04,451.82L296.12,452.18L298.35,452.88L299.16,452.22L301.17,451.78L304.31,450.74L305.34,449.67L304.96,448.88L306.42,448.76L307.08,449.4L306.71,450.63L307.67,451.05L308.32,452.35L307.54,453.33L307.09,455.71L307.81,457.12L308.01,458.41L309.74,459.71L311.12,459.85L311.43,459.31L312.31,459.19L313.58,458.7L314.49,457.96L316.04,458.19L316.72,458.09L318.25,458.32L318.5,457.75L318.03,457.2L318.31,456.39L319.44,456.64L320.77,456.35L322.37,456.94L323.6,457.52L324.47,456.76L325.09,456.88L325.48,457.67L326.82,457.47L327.89,456.41L328.75,454.35L330.41,451.8L331.37,451.67L332.06,453.21L333.63,458.09L335.13,458.55L335.21,460.47L333.1,462.76L333.97,463.6L338.93,464.04L339.03,466.83L341.16,465L344.69,466.01L349.34,467.71L350.71,469.34L350.25,470.88L353.51,470.02L358.97,471.5L363.16,471.39L367.3,473.7L370.88,476.83L373.04,477.63L375.44,477.75L376.46,478.63L377.41,482.2L377.88,483.89L376.76,488.55L375.33,490.39L371.38,494.33L369.59,497.54L367.52,500.02L366.82,500.08L366.03,502.18L366.23,507.58L365.45,512.06L365.15,513.99L364.27,515.14L363.77,519.08L360.93,522.96L360.45,526.05L358.18,527.36L357.52,529.17L354.48,529.16L350.07,530.33L348.09,531.68L344.95,532.57L341.65,535.01L339.28,538.07L338.87,540.39L339.34,542.12L338.81,545.3L338.18,546.85L336.22,548.6L333.11,554.28L33
1240.64,556.87L328.73,558.41L327.46,561.57L325.6,563.48L324.82,561.58L326.06,560.01L324.44,557.76L322.24,555.94L319.35,553.86L318.31,553.95L315.5,551.45z"}),f("path",{id:"BS",title:"Bahamas",d:"M257.86,395.2l-0.69,0.15l-0.71,-1.76l-1.05,-0.89l0.61,-1.95l0.84,0.12l0.98,2.55L257.86,395.2zM257.06,386.51l-3.06,0.5l-0.2,-1.15l1.32,-0.25l1.85,0.09L257.06,386.51zM259.36,386.48l-0.48,2.21l-0.52,-0.4l0.05,-1.63l-1.26,-1.23l-0.01,-0.36L259.36,386.48z"}),f("path",{id:"BT",title:"Bhutan",d:"M732.36,382.78L733.5,383.78L733.3,385.71L731.01,385.8L728.65,385.59L726.88,386.08L724.33,384.89L724.28,384.26L726.13,381.92L727.64,381.12L729.65,381.85L731.13,381.93z"}),f("path",{id:"BW",title:"Botswana",d:"M547.17,515.95L547.73,516.47L548.62,518.18L551.79,521.43L552.99,521.75L553,522.8L553.82,524.7L555.99,525.16L557.78,526.52L553.81,528.74L551.29,531L550.36,533.03L549.52,534.18L547.99,534.43L547.5,535.9L547.21,536.86L545.42,537.58L543.14,537.43L541.8,536.57L540.62,536.19L539.25,536.91L538.56,538.39L537.23,539.32L535.83,540.71L533.82,541.03L533.2,539.94L533.46,538.04L531.79,535.11L531.04,534.65L531.04,525.79L533.8,525.68L533.88,515.11L535.97,515.02L540.29,513.99L541.37,515.2L543.15,514.05L544.01,514.04L545.59,513.38L546.09,513.6z"}),f("path",{id:"BY",title:"Belarus",d:"M541.1,284.07L543.81,284.11L546.85,282.31L547.5,279.59L549.8,278.02L549.54,275.82L551.24,274.98L554.26,273.05L557.21,274.31L557.61,275.54L559.08,274.95L561.82,276.13L562.09,278.44L561.49,279.76L563.25,282.91L564.39,283.78L564.22,284.64L566.11,285.47L566.92,286.72L565.83,287.74L563.57,287.58L563.03,288.02L563.69,289.56L564.38,292.49L561.97,292.76L561.11,293.76L560.92,296.02L559.81,295.59L557.28,295.81L556.54,294.76L555.49,295.54L554.44,294.89L552.23,294.8L549.1,293.72L546.27,293.36L544.1,293.46L542.56,294.69L541.22,294.86L541.17,292.85L540.3,290.73L541.98,289.79L542,287.94L541.22,286.16z"}),f("path",{id:"BZ",title:"Belize",d:"M225.31,412.96L225.29,412.53L225.63,412.39L226.14,412.74L227.14,410.97L227.67,410.93L227.68,411.36L228.21,411.37L228.17,412.17L227.71,413.44L227.96,413.89L227.67,414.94L227.84,415.21L227.52,416.68L226.97,417.46L226.46,417.55L225.9,418.55L225.07,418.55L225.29,415.27z"}),f("path",{id:"CA",title:"Canada",d:"M198.93,96.23l-0.22,-5.9l3.63,0.58l1.63,0.96l3.35,4.92l-0.76,4.97l-4.15,2.77l-2.28,-3.12L198.93,96.23zM212.14,108.88l0.33,-1.49l-1.97,-2.45l-5.65,-0.19l0.75,3.68l5.25,0.83L212.14,108.88zM248.49,155.83l3.08,5.1l0.81,0.57l3.07,-1.27l3.02,0.2l2.98,0.28l-0.25,-2.64l-4.84,-5.38l-6.42,-1.08l-1.35,0.67L248.49,155.83zM183.06,93.13l-2.71,4.19l6.24,0.52l4.61,4.44l4.58,1.5l-1.09,-5.68l-2.14,-6.73l-7.58,-5.35l-5.5,-2.04l0.2,5.69L183.06,93.13zM208.96,82.89l5.13,-0.12l-2.22,4l-0.04,5.3l3.01,5.76l5.81,1.77l4.96,-0.99l5.18,-10.73l3.85,-4.45l-3.38,-4.97l-2.21,-10.65l-4.6,-3.19l-4.72,-3.68l-3.58,-9.56l-6.52,0.94l1.23,4.15l-2.87,1.25l-1.94,5.32l-1.94,7.46l1.78,7.26L208.96,82.89zM145.21,136.27l3.92,1.95l12.67,-1.3l-5.82,4.77l0.36,3.43l4.26,-0.24l7.07,-4.58l9.5,-1.67l1.71,-5.22l-0.49,-5.57l-2.94,-0.5l-2.5,1.93l-1.1,-4.13l-0.95,-5.7l-2.9,-1.42l-2.57,4.41l4.01,11.05l-4.9,-0.85l-4.98,-6.79l-7.89,-4l-2.64,3.32L145.21,136.27zM167.77,94.21l-3.65,-2.9l-1.5,-0.66l-2.88,4.28l-0.05,2l4.66,0.01L167.77,94.21zM166.31,106.56l0.93,-3.99l-3.95,-2.12l-4.09,1.39l-2.27,4.26l4.16,4.21L166.31,106.56zM195.4,139.8l4.62,-1.11l1.28,-8.25l-0.09,-5.95l-2.14,-5.56l-0.22,1.6l-3.94,-0.7l-4.22,4.09l-3.02,-0.37l0.18,8.92l4.6,-0.87l-0.06,6.47L195.4,139.8zM192.12,185.41l-5.06,-3.93l-4.71,-4.21l-0.87,-6.18l-1.76,-8.92l-3.14,-3.84l-2.79,-1.55l-2.47,1.42l1.99,9.59l-1.41,3.73l-2.29,-8.98l-2.56,-3.11l-3.17,4.81l-3.9,-4.76l-6.24,2.87l1.4,-4.46l-2.87,-1.87l-7.51,5.84l-1.95,3.71l-2.35,6.77l4.9,2.32l4.33,-0.12l-6.5,3.46l1.48,3.13l3.98,0.17l5.99,-0.67l5.42,1.96l-3.66,1.44l-3.95,-0.37l-4.33,1.41l-1.87,0.87l3.45,6.35l2.49,-0.88l3.83,2.15l1.52,3.65l4.99,-0.73l7.1,-1.16l5.26,-2.65l3.26,-0.48l4.82,2.12l5.07,1.22l0.94,-2.86l-1.79,-3.05l4.6,-0.64L192.12,185.41zM199.86,184.43l-1.96,3.54l-2.47,2.49l3.83,3.54l2.28,-0.85l3.78,2.36l1.74,-2.73l-1.71,-3.03l-0.84,-1.53l-1.68,-1.46L199.86,184.43zM182.25,154.98l-2.13,-2.17l-3.76,0.4l-0.95,1.38l4.37,6.75L182.25,154.98zM210.94,168.15l3.01,-6.93l3.34,-1.85l4.19,-8.74l-5.36,-2.47l-5.84,-0.36l-2.78,2.77l
124-1.47,4.23l-0.04,4.82l1.75,8.19L210.94,168.15zM228.09,145.15l5.76,-0.18l8.04,-1.61l3.59,1.28l4.18,-2.26l1.75,-2.84l-0.63,-4.52l-3,-4.23l-4.56,-0.8l-5.71,0.97l-4.46,2.44l-4.09,-0.94l-3.78,-0.5l-1.78,-2.7l-3.22,-2.61l0.64,-4.43l-2.42,-3.98l-5.52,0.03l-3.11,-3.99l-5.78,-0.8l-1.06,5.1l3.25,3.74l5.8,1.45l2.81,5.09l0.34,5.6l0.97,5.99l7.45,3.42L228.09,145.15zM139.07,126.88l5.21,-5.05l2.62,-0.59l2.16,-4.23l0.38,-9.77l-3.85,1.91l-4.3,-0.18l-5.76,8.19l-4.76,8.98l3.8,2.51L139.07,126.88zM211.25,143.05l1.53,-4.14l-1.02,-3.46l-2.45,-3.92l-4.03,3.02l-1.49,4.92l3.4,2.79L211.25,143.05zM202.94,154.49l-0.73,-2.88l-5,1.26l-3.34,-2.11l-3.32,4.8l3.09,6.28l-5.72,-1.17l-0.06,3.01l6.97,7.05l1.94,3.38l2.7,0.73l4.6,-3.41l0.5,-8.21l-4.24,-4.07L202.94,154.49zM128.95,308.23l-1.16,-2.34l-2.8,-1.77l-1.39,-2.05l-0.95,-1.5l-2.64,-0.46l-1.72,-0.67l-2.94,-0.96l-0.24,1.02l1.08,2.38l2.89,0.78l0.5,1.23l2.51,1.5l0.84,1.51l4.6,1.92L128.95,308.23zM250.65,230.6l-2,-2.11l-2.06,0.5l-0.25,-3.06l-3.21,-2.04l-3.07,-2.27l-1.63,-1.75l-1.43,1.03l-0.52,-2.96l-2.03,-0.55l-0.96,6.13l-0.36,5.11l-2.44,3.14l3.8,-0.6l0.96,3.65l3.99,-3.23l2.78,-3.38l1.57,2.86l4.36,1.51L250.65,230.6zM130.12,178.05l7.38,-4.18V170l3.48,-6.41l6.88,-6.69l3.52,-2.47l-3.01,-4.2l-2.72,-2.95l-7.16,-0.57l-4,-2.16l-9.48,1.63l2.74,6.23l-2.43,6.43l-1.94,6.87l-1.2,3.86l6.47,4.69L130.12,178.05zM264.36,205.36l0.32,-1.01l-0.03,-3.17l-2.19,-2.08l-2.57,1.05l-1.19,4.17l0.7,3.56l3.14,-0.36L264.36,205.36zM288.18,212.9l4.41,6.6l3.45,2.85l4.92,-7.87l0.87,-4.93l-4.41,-0.47l-4.03,-6.7l-4.45,-1.64l-6.6,-4.97l5.15,-3.63l-2.65,-7.54l-2.44,-3.35l-6.77,-3.35l-2.92,-5.55l-5.21,1.99l-0.36,-3.86l-3.86,-4.32l-6.22,-4.71l-2.65,3.71l-5.55,2.66l0.42,-6.06l-4.81,-10.05l-7.11,4.06l-2.59,7.7l-2.21,-5.92l2.06,-6.37l-7.24,2.65l-2.88,3.99l-2.15,8.42l0.89,9.05l3.98,0.04l-2.93,3.92l2.33,2.96l4.55,1.25l5.93,2.42l10.2,1.82l5.08,-1.04l1.5,-2.42l2.21,2.79l2.47,0.46l2.97,4.96l-1.8,1.98l5.68,2.63l4.29,3.68l1.08,2.55l0.77,3.24l-3.63,6.93l-0.98,3.44l0.94,2.42l-5.77,0.86l-5.27,0.12l-1.85,4.87l2.37,2.23l8.11,-1.03l-0.04,-1.89l4.08,3.15l4.18,3.28l-0.98,1.77l3.4,3.02l6.02,3.53l7.6,2.39l-0.46,-2.09l-2.92,-3.67l-3.96,-5.37l7.03,5l3.54,1.66l0.97,-4.44l-1.82,-6.3l-1.16,-1.73l-3.81,-3.03l-2.95,-3.91l0.35,-3.94L288.18,212.9zM222.35,51.34l2.34,7.29l4.96,5.88l9.81,-1.09l6.31,1.97l-4.38,6.05l-2.21,-1.78l-7.66,-0.71l1.19,8.31l3.96,6.04l-0.8,5.2l-4.97,3.46l-2.27,5.47l4.55,2.65l3.82,8.55l-7.5,-5.7l-1.71,0.94l1.38,9.38l-5.18,2.83l0.35,5.85l5.3,0.63l4.17,1.44l8.24,-1.84l7.33,3.27l7.49,-7.19l-0.06,-3.02l-4.79,0.48l-0.39,-2.84l3.92,-3.83l1.33,-5.15l4.33,-3.83l2.66,-4.76l-2.32,-7.1l1.94,-2.65l-3.86,-1.89l8.49,-1.63l1.79,-3.15l5.78,-2.6l4.8,-13.47l4.57,-4.94l
1246.62,-11.12l-6.1,0.1l2.54,-4.3l6.78,-3.99l6.84,-8.9l0.12,-5.73l-5.13,-6.04l-6.02,-2.93l-7.49,-1.82l-6.07,-1.49l-6.07,-1.5l-8.1,3.98l-1.49,-2.53l-8.57,0.98l-5.03,2.57l-3.7,3.65l-2.13,11.74L239,24.52l-3.48,-1.14l-4.12,7.97l-5.5,3.35l-3.27,0.66l-4.17,3.84l0.61,6.65L222.35,51.34zM296.75,316.34l-0.98,-1.98l-1.06,1.26l0.7,1.36l3.56,1.71l1.04,-0.26l1.38,-1.66l-2.6,0.11L296.75,316.34zM239.75,238.48l0.61,1.63l1.98,0.14l3.28,-3.34l0.06,-1.19l-3.85,-0.06L239.75,238.48zM301.88,304.92l-2.87,-1.8l-3.69,-1.09l-0.97,0.37l2.61,2.04l3.63,1.34l1.36,-0.08L301.88,304.92zM326.76,309.71l-0.36,-2.24l-1.96,0.72l0.87,-3.11l-2.8,-1.32l-1.29,1.05l-2.49,-1.18l0.98,-1.51l-1.88,-0.93l-1.83,1.47l1.86,-3.82l1.5,-2.8l0.54,-1.22l-1.3,-0.2l-2.43,1.55l-1.74,2.53l-2.9,6.92l-2.35,2.56l1.22,1.14l-1.75,1.47l0.43,1.23l5.44,0.13l3.01,-0.25l2.69,1.01l-1.98,1.93l1.67,0.14l3.25,-3.58l0.78,0.53l-0.61,3.37l1.84,0.77l1.27,-0.15l1.18,-3.61L326.76,309.71zM305.57,314.47l-2.81,4.56l-4.63,0.58l-3.64,-2.01l-0.92,-3.07l-0.89,-4.46l2.65,-2.83l-2.48,-2.09l-4.19,0.43l-5.88,3.53l-4.5,5.45l-2.38,0.67l3.23,-3.8l4.04,-5.57l3.57,-1.9l2.35,-3.11l2.9,-0.3l4.21,0.03l6,0.92l4.74,-0.71l3.53,-3.62l4.62,-1.59l2.01,-1.58l2.04,-1.71l-0.2,-5.19l-1.13,-1.77l-2.18,-0.63l-1.11,-4.05l-1.8,-1.55l-4.47,-1.26l-2.52,-2.82l-3.73,-2.83l1.13,-3.2l-3.1,-6.26l-3.65,-6.89l-2.18,-4.98l-1.86,2.61l-2.68,6.05l-4.06,2.97l-2.03,-3.16l-2.56,-0.85l-0.93,-6.99l0.08,-4.8l-5,-0.44l-0.85,-2.27l-3.45,-3.44l-2.61,-2.04l-2.32,1.58l-2.88,-0.58l-4.81,-1.65l-1.95,1.4l0.94,9.18l1.22,5.12l-3.31,5.75l3.41,4.02l1.9,4.44l0.23,3.42l-1.55,3.5l-3.18,3.46l-4.49,2.28l1.98,2.53l1.46,7.4l-1.52,4.68l-2.16,1.46l-4.17,-4.28l-2.03,-5.17l-0.87,-4.76l0.46,-4.19l-3.05,-0.47l-4.63,-0.28l-2.97,-2.08l-3.51,-1.37l-2.01,-2.38l-2.8,-1.94l-5.21,-2.23l-3.92,1.02l-1.31,-3.95l-1.26,-4.99l-4.12,-0.9l0.15,-6.41l1.09,-4.48l3.04,-6.6l3.43,-4.9l3.26,-0.77l0.19,-4.05l2.21,-2.68l4.01,-0.42l3.25,-4.39l0.82,-2.9l2.7,-5.73l0.84,-3.5l2.9,2.11l3.9,-1.08l5.49,-4.96l0.36,-3.54l-1.98,-3.98l2.09,-4.06l-0.17,-3.87l-3.76,-3.95l-4.14,-1.19l-3.98,-0.62l-0.15,8.71l-2.04,6.56l-2.93,5.3l-2.71,-4.95l0.84,-5.61l-3.35,-5.02l-3.75,6.09l0.01,-7.99l-5.21,-1.63l2.49,-4.01l-3.81,-9.59l-2.84,-3.91l-3.7,-1.44l-3.32,6.43l-0.22,9.34l3.27,3.29l3,4.91l-1.27,7.71l-2.26,-0.2l-1.78,5.88l0.02,-7l-4.34,-2.58l-2.49,1.33l0.32,4.67l-4.09,-0.18l-4.35,1.17l-4.95,-3.35l-3.13,0.6l-2.82,-4.11l-2.26,-1.84l-2.24,0.77l-3.41,0.35l-1.81,2.61l2.86,3.19l-3.05,3.72l-2.99,-4.42l-2.39,1.3l-7.57,0.87l-5.07,-1.59l3.94,-3.74l-3.78,-3.9l-2.75,0.5l-3.86,-1.32l-6.56,-2.89l-4.29,-3.37l-3.4,-0.47l-1.06,2.36l-3.44,1.31l-0.38,-6.15l-3.73,5.5l-4.74,-7.32l-1.94,-0.89l-0.63,3.91l-2.09,1.9l-1.93,-3.39l-4.59,2.05l-4.2,3.55l-4.17,-0.98l-3.4,2.5l-2.46,3.28l-2.92,-0.72l-4.41,-3.8l-5.23,-1.94l-0.02,27.65l-0.01,35.43l2.76,0.17l2.73,1.56l1.96,2.44l2.49,3.6l2.73,-3.05l2.81,-1.79l1.49,2.85l1.89,2.23l2.57,2.42l1.75,3.79l2.87,5.88l4.77,3.2l0.08,3.12l-1.56,2.35l0.06,2.48l3.39,3.45l0.49,3.76l3.59,1.96l-0.4,2.79l1.56,3.96l5.08,1.82l2,1.89l5.43,4.23l0.38,0.01h7.96h8.32h2.76h8.55h8.27h8.41l8.42,0l9.53,0l9.59,0l5.8,0l0.01,-1.64l0.95,-0.02l0.5,2.35l0.87,0.72l1.96,0.26l2.86,0.67l2.72,1.3l2.27,-0.55l3.45,1.09l1.14,-1.66l1.59,-0.66l0.62,-1.03l0.63,-0.55l2.61,0.86l1.93,0.1l0.67,0.57l0.94,2.38l3.15,0.63l-0.49,1.18l1.11,1.21l-0.48,1.56l1.18,0.51l-0.59,1.37l0.75,0.13l0.53,-0.6l0.55,0.9l2.1,0.5l2.13,0.04l2.27,0.41l2.51,0.78l0.91,1.26l1.82,3.04l-0.9,1.3l-2.28,-0.54l-1.42,-2.44l0.36,2.49l-1.34,2.17l0.15,1.84l-0.23,1.07l-1.81,1.27l-1.32,2.09l-0.62,1.32l1.54,0.24l2.08,-1.2l1.23,-1.06l0.83,-0.17l1.54,0.38l0.75,-0.59l1.37,-0.48l2.44,-0.47v0l0,0l-0.25,-1.15l-0.13,0.04l-0.86,0.2l-1.12,-0.36l0.84,-1.32l0.85,-0.46l1.98,-0.56l2.37,-0.53l1.24,0.73l0.78,-0.85l0.89,-0.54l0.6,0.29l0.03,0.06l2.87,-2.73l1.27,-0.73l4.26,-0.03l5.17,0l0.28,-0.98l0.9,-0.2l1.19,-0.62l1,-1.82l0.86,-3.15l2.14,-3.1l0.93,1.08l1.88,-0.7l1.25,1.19l0,5.52l1.83,2.25l3.12,-0.48l4.49,-0.13l-4.87,3.26l0.11,3.29l2.13,0.28l3.13,-2.79l2.78,-1.58l6.21,-2.35l3.47,-2.62l-1.81,-1.46L305.57,314.47zM251.91,243.37l1.1,-3.12l-0.71,-1.23l-1.15,-0.13l-1.08,1.8l-0.13,0.41l0.74,1.77L251.91,243.37zM109.25,279.8L109.25,279.8l1.56,-2.35L109.25,279.8zM105.85,283.09l-2.69,0.38l-1.32,-0.62l-0.17,1.52l0.52,2.07l1.42,1.46l1.04,2.13l1.69,2.1l1.12,0.01l-2.44,-3.7L105.85,283.09z"}
124),f("path",{id:"CD",title:"Democratic Republic of Congo",d:"M561.71,453.61L561.54,456.87L562.66,457.24L561.76,458.23L560.68,458.97L559.61,460.43L559.02,461.72L558.86,463.96L558.21,465.02L558.19,467.12L557.38,467.9L557.28,469.56L556.89,469.77L556.63,471.3L557.34,472.56L557.52,475.93L558.02,478.5L557.74,479.96L558.3,481.58L559.93,483.15L561.44,486.7L560.34,486.41L556.57,486.89L555.82,487.22L555.02,489.02L555.65,490.27L555.15,493.62L554.8,496.47L555.56,496.98L557.52,498.08L558.29,497.57L558.53,500.65L556.38,500.62L555.23,499.05L554.2,497.83L552.05,497.43L551.42,495.94L549.7,496.84L547.46,496.44L546.52,495.15L544.74,494.89L543.43,494.96L543.27,494.08L542.3,494.01L541.02,493.84L539.29,494.26L538.07,494.19L537.37,494.45L537.52,491.08L536.59,490.03L536.38,488.3L536.79,486.6L536.23,485.51L536.18,483.75L532.77,483.77L533.02,482.76L531.59,482.77L531.44,483.26L529.7,483.37L528.99,485L528.57,485.71L527.02,485.31L526.1,485.71L524.24,485.93L523.17,484.46L522.53,483.55L521.72,481.87L521.03,479.78L512.76,479.75L511.77,480.08L510.96,480.03L509.8,480.41L509.41,479.54L510.12,479.24L510.21,478.02L510.67,477.3L511.69,476.72L512.43,477L513.39,475.93L514.91,475.96L515.09,476.75L516.14,477.25L517.79,475.49L519.42,474.13L520.13,473.24L520.04,470.94L521.26,468.23L522.54,466.8L524.39,465.46L524.71,464.57L524.78,463.55L525.24,462.58L525.09,461L525.44,458.53L525.99,456.79L526.83,455.3L526.99,453.62L527.24,451.67L528.34,450.25L529.84,449.35L532.15,450.3L533.93,451.33L535.98,451.61L538.07,452.15L538.91,450.47L539.3,450.25L540.57,450.53L543.7,449.14L544.8,449.73L545.71,449.65L546.13,448.97L547.17,448.73L549.28,449.02L551.08,449.08L552.01,448.79L553.7,451.1L554.96,451.43L555.71,450.96L557.01,451.15L558.57,450.56L559.24,451.75z"}),f("path",{id:"CF",title:"Central African Republic",d:"M518.09,442.66L520.41,442.44L520.93,441.72L521.39,441.78L522.09,442.41L525.62,441.34L526.81,440.24L528.28,439.25L528,438.26L528.79,438L531.5,438.18L534.14,436.87L536.16,433.78L537.59,432.64L539.36,432.15L539.68,433.37L541.3,435.14L541.3,436.29L540.85,437.47L541.03,438.34L542,439.15L544.14,440.39L545.67,441.52L545.7,442.44L547.58,443.9L548.75,445.11L549.46,446.79L551.56,447.9L552.01,448.79L551.08,449.08L549.28,449.02L547.17,448.73L546.13,448.97L545.71,449.65L544.8,449.73L543.7,449.14L540.57,450.53L539.3,450.25L538.91,450.47L538.07,452.15L535.98,451.61L533.93,451.33L532.15,450.3L529.84,449.35L528.34,450.25L527.24,451.67L526.99,453.62L525.19,453.46L523.29,452.99L521.62,454.47L520.15,457.07L519.85,456.26L519.73,454.99L518.45,454.09L517.41,452.65L517.17,451.65L515.85,450.19L516.07,449.36L515.79,448.18L516.01,446.01L516.68,445.5z"}),f("path",{id:"CG",title:"Republic of Congo",d:"M511.69,476.72L510.64,475.76L509.79,476.23L508.66,477.43L506.36,474.48L508.49,472.94L507.44,471.09L508.4,470.39L510.29,470.05L510.51,468.81L512.01,470.15L514.49,470.27L515.35,468.95L515.7,467.1L515.39,464.92L514.07,463.28L515.28,460.05L514.58,459.5L512.5,459.72L511.71,458.29L511.92,457.07L515.45,457.18L517.72,457.91L519.95,458.57L520.15,457.07L521.62,454.47L523.29,452.99L525.19,453.46L526.99,453.62L526.83,455.3L525.99,456.79L525.44,458.53L525.09,461L525.24,462.58L524.78,463.55L524.71,464.57L524.39,465.46L522.54,466.8L521.26,468.23L520.04,470.94L520.13,473.24L519.42,474.13L517.79,475.49L516.14,477.25L515.09,476.75L514.91,475.96L513.39,475.93L512.43,477z"}),f("path",{id:"CH",title:"Switzerland",d:"M502.15,312.34L502.26,313.08L501.83,314.09L503.1,314.83L504.53,314.94L504.31,316.61L503.08,317.3L501,316.79L500.39,318.42L499.06,318.55L498.57,317.91L497,319.27L495.65,319.46L494.44,318.6L493.48,316.83L492.14,317.47L492.18,315.63L494.23,313.32L494.14,312.27L495.42,312.66L496.19,311.95L498.57,311.98L499.15,311.08z"}),f("path",{id:"CI",title:"Côte d'Ivoire",d:"M467.24,449.46L465.97,449.49L464.01,448.94L462.22,448.97L458.89,449.46L456.95,450.27L454.17,451.29L453.63,451.22L453.84,448.92L454.11,448.57L454.03,447.46L452.84,446.29L451.95,446.1L451.13,445.33L451.74,444.09L451.46,442.73L451.59,441.91L452.04,441.91L452.2,440.68L451.98,440.14L452.25,439.75L453.29,439.41L452.6,437.15L451.95,435.99L452.18,435.02L452.74,434.81L453.1,434.55L453.88,434.97L456.04,435L456.56,434.17L457.04,434.23L457.85,433.91L458.29,435.12L458.94,434.76L460.1,434.34L461.36,434.96L461.85,435.89L463.11,436.49L464.09,435.78L465.41,435.67L467.33,436.4L468.07,440.41L466.89,442.77L466.16,445.94L467.37,448.35z"}),f("path",{id:"CL",title:"Chile",d:"M282.81,636.73l0,10.57l3,0l1.69,0.13l-0.93,1.98l-2.4,1.53l-1.38,-0.16l-1.66,-0.4l-2.04,-1.48l-2.94,-0.71l-3.53,-2.71l-2.86,-2.57l-3.86,-5.25l2.31,0.97l3.94,3.13l3.72,1.7l1.45,-2.17l0.91,-3.2l2.58,-1.91L282.81,636.73zM283.97,524.72l1.1,4.15l2.02,-0.41l0.34,0.76l-0.96,3.16l-3.05,1.51l0.09,5.14l-0.59,1l0.84,1.23l-1.98,1.95l-1.84,2.96l-1,2.9l0.27,3.11l-1.73,3.34l1.29,5.69l0.73,0.61l-0.01,3.09l-1.6,3.31l0.06,2.87l-2.12,2.26l0.01,3.22l0.85,3.46l-1.68,1.3l-0.75,3.22l-0.66,3.75l0.47,4.54l-1.13,0.77l0.65,4.4l1.27,1.46l-0.92,1.63l1.3,0.78l0.3,1.48l-1.22,0.75l0.3,2.33l-1.02,5.35l-1.49,3.52l0.33,2.11l-0.89,2.68l-2.15,1.88l0.25,4.6l0.99,1.6l1.87,-0.28l-0.05,3.33l1.16,2.63l6.78,0.61l2.6,0.71l-2.49,-0.03l-1.35,1.13l-2.53,1.67l-0.45,4.38l-1.19,0.11l-3.16,-1.54l-3.21,-3.25l0,0l-3.49,-2.63l-0.88,-2.87l0.79,-2.62l-1.41,-2.94l-0.36,-7.34l1.19,-4.03l2.96,-3.19l-4.26,-1.19l2.67,-3.57l0.95,-6.56l3.12,1.37l1.46,-7.97l-1.88,-1l-0.88,4.75l-1.77,-0.54l0.88,-5.42l0.96,-6.84l1.29,-2.48l-0.81,-3.5l-0.23,-3.98l1.18,-0.11l1.72,-5.6l1.94,
124-5.43l1.19,-4.97l-0.65,-4.91l0.84,-2.67l-0.34,-3.96l1.64,-3.87l0.51,-6.04l0.9,-6.37l0.88,-6.75l-0.21,-4.87l-0.58,-4.15l1.44,-0.75l0.75,-1.5l1.37,1.99l0.37,2.12l1.47,1.25l-0.88,2.87L283.97,524.72z"}),f("path",{id:"CM",title:"Cameroon",d:"M511.92,457.07L511.57,456.92L509.91,457.28L508.2,456.9L506.87,457.09L502.31,457.02L502.72,454.82L501.62,452.98L500.34,452.5L499.77,451.25L499.05,450.85L499.09,450.08L499.81,448.1L501.14,445.4L501.95,445.37L503.62,443.73L504.69,443.69L506.26,444.84L508.19,443.89L508.45,442.73L509.08,441.59L509.51,440.17L511.01,439.01L511.58,437.04L512.17,436.41L512.57,434.94L513.31,433.13L515.67,430.93L515.82,429.98L516.13,429.47L515.02,428.33L515.11,427.43L515.9,427.26L517.01,429.09L517.2,430.98L517.1,432.87L518.62,435.44L517.06,435.41L516.27,435.61L514.99,435.33L514.38,436.66L516.03,438.31L517.25,438.79L517.65,439.96L518.53,441.89L518.09,442.66L516.68,445.5L516.01,446.01L515.79,448.18L516.07,449.36L515.85,450.19L517.17,451.65L517.41,452.65L518.45,454.09L519.73,454.99L519.85,456.26L520.15,457.07L519.95,458.57L517.72,457.91L515.45,457.18z"}),f("path",{id:"CN",title:"China",d:"M784.63,410.41l-2.42,1.41l-2.3,-0.91l-0.08,-2.53l1.38,-1.34l3.06,-0.83l1.61,0.07l0.63,1.13l-1.23,1.3L784.63,410.41zM833.19,302.89l4.88,1.38l3.32,3.03l1.13,3.95l4.26,0l2.43,-1.65l4.63,-1.24l-1.47,3.76l-1.09,1.51l-0.96,4.46l-1.89,3.89l-3.4,-0.7l-2.41,1.4l0.74,3.36l-0.4,4.55l-1.43,0.1l0.02,1.93l-1.81,-2.24l-1.11,2.13l-4.33,1.62l0.44,1.97l-2.42,-0.14l-1.33,-1.17l-1.93,2.64l-3.09,1.98l-2.28,2.35l-3.92,1.06l-2.06,1.69l-3.02,0.98l1.49,-1.67l-0.59,-1.41l2.22,-2.45l-1.48,-1.93l-2.44,1.3l-3.17,2.54l-1.73,2.34l-2.75,0.17l-1.43,1.68l1.48,2.41l2.29,0.58l0.09,1.58l2.22,1.02l3.14,-2.51l2.49,1.37l1.81,0.09l0.46,1.84l-3.97,0.97l-1.31,1.87l-2.73,1.73l-1.44,2.39l3.02,1.86l1.1,3.31l1.71,3.05l1.9,2.53l-0.05,2.43l-1.76,0.89l0.67,1.73l1.65,1l-0.43,2.61l-0.71,2.52l-1.57,0.28l-2.05,3.41l-2.27,4.09l-2.6,3.68l-3.86,2.82l-3.9,2.55l-3.16,0.35l-1.71,1.34l-0.97,-0.98l-1.59,1.5l-3.92,1.5l-2.97,0.46l-0.96,3.15l-1.55,0.17l-0.74,-2.16l0.66,-1.16l-3.76,-0.96l-1.33,0.49l-2.82,-0.78l-1.33,-1.22l0.44,-1.74l-2.56,-0.55l-1.35,-1.14l-2.39,1.62l-2.73,0.35l-2.24,-0.02l-1.5,0.74l-1.45,0.44l0.42,3.43l-1.5,-0.08l-0.25,-0.7l-0.08,-1.24l-2.06,0.87l-1.21,-0.55l-2.08,-1.13l0.82,-2.51l-1.78,-0.59l-0.67,-2.8l-2.96,0.51l0.34,-3.63l2.66,-2.58l0.11,-2.57l-0.08,-2.4l-1.22,-0.75l-0.94,-1.86l-1.64,0.24l-3.02,-0.47l0.95,-1.33l-1.31,-1.99l-2,1.35L740.4,378l-3.23,2.03l-2.55,2.36l-2.26,0.39l-1.23,-0.85l-1.48,-0.08l-2,-0.73l-1.51,0.8l-1.85,2.34l-0.24,-2.48l-1.71,0.66l-3.27,-0.31l-3.17,-0.73l-2.28,-1.39l-2.18,-0.63l-0.94,-1.53l-1.58,-0.46l-2.83,-2.09l-2.25,-0.99l-1.16,0.77l-3.9,-2.26l-2.75,-2.07l-0.79,-3.63l2.01,0.44l0.09,-1.69l-1.12,-1.71l0.28,-2.74l-3.01,-3.99l-4.61,-1.39l-0.83,-2.66l-2.07,-1.63l-0.5,-1.01l-0.42,-2.01l0.1,-1.38l-1.7,-0.81l-0.92,0.36l-0.71,-3.32l0.8,-0.83l-0.39,-0.85l2.68,-1.73l1.94,-0.72l2.97,0.49l1.06,-2.35l3.6,-0.44l1,-1.48l4.42,-2.03l0.39,-0.85l-0.22,-2.17l1.92,-1l-2.52,-6.75l5.55,-1.58l1.44,-0.89l2.02,-7.26l5.56,1.35l1.56,-1.86l0.13,-4.19l2.33,-0.39l2.13,-2.83l1.1,-0.35l0.74,2.97l2.36,2.23l4,1.57l1.93,3.32l-1.08,4.73l1.01,1.73l3.33,0.68l3.78,0.55l3.39,2.45l1.73,0.43l1.28,3.57l1.65,2.27l3.09,-0.09l5.79,0.85l3.73,-0.53l2.77,0.57l4.15,2.29l3.39,0l1.24,1.16l3.26,-2.01l4.53,-1.31l4.2,-0.14l3.28,-1.34l2.01,-2.05l1.96,-1.3l-0.45,-1.28l-0.9,-1.5l1.47,-2.54l1.58,0.36l2.88,0.8l2.79,-2.1l4.28,-1.55l2.05,-2.66l1.97,-1.16l4.07,-0.54l2.21,0.46l0.31,-1.45l-2.54,-2.89l-2.25,-1.33l-2.16,1.54l-2.77,-0.65l-1.59,0.53l-0.72,-1.71l1.98,-4.23l1.37,-3.25l3.37,1.63l3.95,-2.74l-0.03,-1.93l2.53,-4.73l1.56,-1.45l-0.04,-2.52l-1.54,-1.1l2.32,-2.31l3.48,-0.84l3.72,-0.13l4.2,1.39l2.46,1.71l1.73,4.61l1.05,1.94l0.98,2.73L833.19,302.89z"}),f("path",{id:"CO",title:"Colombia",d:"M263.92,463.81L262.72,463.15L261.34,462.23L260.54,462.67L258.16,462.28L257.48,461.08L256.96,461.13L254.15,459.54L253.77,458.67L254.82,458.46L254.7,457.07L255.35,456.06L256.74,455.87L257.93,454.12L259,452.66L257.96,451.99L258.49,450.37L257.86,447.81L258.46,447.08L258.02,444.71L256.88,443.21L257.24,441.85L258.15,442.05L258.68,441.21L258.03,439.56L258.37,439.14L259.81,439.23L261.92,437.26L263.07,436.96L263.1,436.03L263.62,433.64L265.23,432.32L266.99,432.27L267.21,431.68L269.41,431.91L271.62,430.48L272.71,429.84L274.06,428.47L275.06,428.64L275.79,429.39L275.25,430.35L273.45,430.83L272.74,432.25L271.65,433.06L270.84,434.12L270.49,436.13L269.72,437.79L271.16,437.97L271.52,439.27L272.14,439.89L272.36,441.02L272.03,442.06L272.13,442.65L272.82,442.88L273.49,443.86L277.09,443.59L278.72,443.95L280.7,446.36L281.83,446.06L283.85,446.21L285.45,445.89L286.44,446.38L285.93,447.88L285.31,448.82L285.09,450.83L285.65,452.68L286.45,453.51L286.54,454.14L285.12,455.53L286.14,456.14L286.89,457.12L287.74,459.89L287.21,460.24L286.67,458.59L285.89,457.71L284.96,458.67L279.5,458.61L279.53,460.35L281.17,460.64L281.08,461.71L280.52,461.42L278.94,461.88L278.93,463.9L280.17,464.92L280.61,466.51L280.54,467.72L279.28,475.37L277.88,473.88L277.04,473.82L278.85,470.98L276.7,469.67L275.02,469.91L274.01,469.43L272.46,470.17L270.37,469.82L268.72,466.9L267.42,466.18L266.53,464.86L264.67,463.54z"}),f("path",{id:"CR",title:"Costa Rica",d:"M242.63,440.4L241.11,439.77L240.54,439.18L240.86,438.69L240.76,438.07L239.98,437.39L238.88,436.84L237.91,436.48L237.73,435.65L236.99,435.14L237.17,435.97L236.61,436.64L235.97,435.86L235.07,435.58L234.69,435.01L234.71,434.15L235.08,433.25L234.29,432.85L234.93,432.31L235.35,431.94L237.2,432.69L237.84,432.32L238.73,432.56L239.2,433.14L240.02,433.33L240.69,432.73L241.41,434.27L242.49,435.41L243.81,436.62L242.72,436.87L242.74,438L243.32,438.42L242.9,438.76L243.01,439.27L242.78,439.84z"}),f("path",{id:"CU",title:"Cuba",d:"M244.58,396.94L247.01,397.16L249.21,397.19L251.84,398.22L252.96,399.33L255.58,398.99L256.57,399.69L258.95,401.56L260.69,402.91L261.61,402.87L263.29,403.48L263.08,404.32L265.15,404.44L267.27,405.66L266.94,406.35L265.07,406.73L263.18,406.88L261.25,406.64L257.24,406.93L259.12,405.27L257.98,404.5L256.17,404.3L255.2,403.44L254.53,401.74L252.95,401.85L250.33,401.05L249.49,400.42L245.84,399.95L244.86,399.36L245.91,398.61L243.16,398.46L241.15,400.02L239.98,400.06L239.58,400.8L238.2,401.13L237,400.84L238.48,399.91L239.08,398.82L240.35,398.15L241.78,397.56L243.91,397.27z"}),f("path",{id:"CY",title:"Cyprus",d:"M570.31,358.29L572.2,356.83L569.65,357.85L567.63,357.8L567.23,358.63L567.03,358.65L565.7,358.77L566.35,360.14L567.72,360.58L570.6,359.2L570.51,358.93z"}),f("path",{id:"CZ",title:"Czech Republic",d:"M522.81,307.86L521.51,307.06L520.2,307.28L518.02,305.98L517.03,306.3L515.46,308.04L513.37,306.67L511.79,304.84
124L510.36,303.8L510.06,301.98L509.57,300.68L511.61,299.73L512.65,298.63L514.66,297.77L515.37,296.93L516.11,297.44L517.36,296.97L518.69,298.4L520.78,298.79L520.61,300L522.13,300.9L522.55,299.77L524.47,300.26L524.74,301.63L526.82,301.89L528.11,304.02L527.28,304.03L526.84,304.8L526.2,304.99L526.02,305.96L525.48,306.17L525.4,306.56L524.45,307L523.2,306.93z"}),f("path",{id:"DE",title:"Germany",d:"M503.07,278.92L503.12,280.8L505.96,281.92L505.93,283.62L508.78,282.72L510.35,281.41L513.52,283.3L514.84,284.81L515.5,287.2L514.72,288.45L515.73,290.1L516.43,292.55L516.21,294.11L517.36,296.97L516.11,297.44L515.37,296.93L514.66,297.77L512.65,298.63L511.61,299.73L509.57,300.68L510.06,301.98L510.36,303.8L511.79,304.84L513.37,306.67L512.39,308.62L511.38,309.16L511.78,311.88L511.51,312.58L510.64,311.73L509.3,311.61L507.29,312.35L504.82,312.17L504.42,313.26L503,312.12L502.15,312.34L499.15,311.08L498.57,311.98L496.19,311.95L496.54,308.97L497.96,306.07L493.92,305.29L492.6,304.16L492.76,302.27L492.2,301.29L492.52,298.32L492.04,293.63L493.73,293.63L494.44,291.92L495.14,287.69L494.61,286.11L495.16,285.11L497.5,284.85L498.02,285.89L499.93,283.56L499.29,281.77L499.16,279.02L501.28,279.66z"}),f("path",{id:"DJ",title:"Djibouti",d:"M596.05,427.72L596.71,428.6L596.62,429.79L595.02,430.47L596.23,431.24L595.19,432.76L594.57,432.26L593.9,432.46L592.33,432.41L592.28,431.55L592.07,430.76L593.01,429.43L594,428.17L595.2,428.42z"}),f("path",{id:"DK",title:"Denmark",d:"M510.83,275.84l-1.68,3.97l-2.93,-2.76l-0.39,-2.05l4.11,-1.66L510.83,275.84zM505.85,271.59l-0.69,1.9l-0.83,-0.55l-2.02,3.59l0.76,2.39l-1.79,0.74l-2.12,-0.64l-1.14,-2.72l-0.08,-5.12l0.47,-1.38l0.8,-1.54l2.47,-0.32l0.98,-1.43l2.26,-1.47l-0.1,2.68l-0.83,1.68l0.34,1.43L505.85,271.59z"}),f("path",{id:"DO",title:"Dominican Republic",d:"M274.18,407.35L274.53,406.84L276.72,406.86L278.38,407.62L279.12,407.54L279.63,408.59L281.16,408.53L281.07,409.41L282.32,409.52L283.7,410.6L282.66,411.8L281.32,411.16L280.04,411.28L279.12,411.14L278.61,411.68L277.53,411.86L277.11,411.14L276.18,411.57L275.06,413.57L274.34,413.11L274.19,412.27L274.25,411.47L273.53,410.59L274.21,410.09L274.43,408.96z"}),f("path",{id:"DZ",title:"Algeria",d:"M508.9,396.08L499.29,401.83L491.17,407.68L487.22,409L484.11,409.29L484.08,407.41L482.78,406.93L481.03,406.08L480.37,404.69L470.91,398.14L461.45,391.49L450.9,383.96L450.96,383.35L450.96,383.14L450.93,379.39L455.46,377.03L458.26,376.54L460.55,375.68L461.63,374.06L464.91,372.77L465.03,370.36L466.65,370.07L467.92,368.86L471.59,368.3L472.1,367.02L471.36,366.31L470.39,362.78L470.23,360.73L469.17,358.55L471.86,356.68L474.9,356.08L476.67,354.65L479.37,353.6L484.12,352.98L488.76,352.69L490.17,353.21L492.81,351.84L495.81,351.81L496.95,352.62L498.86,352.41L498.29,354.2L498.74,357.48L498.08,360.3L496.35,362.18L496.6,364.71L498.89,366.69L498.92,367.5L500.64,368.83L501.84,374.69L502.75,377.53L502.9,379.01L502.41,381.6L502.61,383.04L502.25,384.76L502.5,386.73L501.38,388.02L503.04,390.28L503.15,391.6L504.14,393.31L505.45,392.75L507.67,394.17z"}),f("path",{id:"EC",title:"Ecuador",d:"M250.1,472.87L251.59,470.79L250.98,469.57L249.91,470.87L248.23,469.64L248.8,468.86L248.33,466.33L249.31,465.91L249.83,464.18L250.89,462.38L250.69,461.25L252.23,460.65L254.15,459.54L256.96,461.13L257.48,461.08L258.16,462.28L260.54,462.67L261.34,462.23L262.72,463.15L263.92,463.81L264.31,465.92L263.44,467.73L260.38,470.65L257.01,471.75L255.29,474.18L254.76,476.06L253.17,477.21L252,475.8L250.86,475.5L249.7,475.72L249.63,474.7L250.43,474.04z"}),f("path",{id:"EE",title:"Estonia",d:"M543.42,264.71L543.75,261.59L542.72,262.26L540.94,260.36L540.69,257.25L544.24,255.72L547.77,254.91L550.81,255.83L553.71,255.66L554.13,256.62L552.14,259.76L552.97,264.72L551.77,266.38L549.45,266.37L547.04,264.43L545.81,263.78z"}),f("path",{id:"EG",title:"Egypt",d:"M573.17,377.28L572.38,378.57L571.78,380.97L571.02,382.61L570.36,383.17L569.43,382.15L568.16,380.73L566.16,376.16L565.88,376.45L567.04,379.82L568.76,383L570.88,387.88L571.91,389.56L572.81,391.3L575.33,394.7L574.77,395.23L574.86,397.2L578.13,399.91L578.62,400.53L567.5,400.53L556.62,400.53L545.35,400.53L545.35,389.3L545.35,378.12L544.51,375.54L545.23,373.54L544.8,372.15L545.81,370.58L549.54,370.53L552.24,371.39L555.02,372.36L556.32,372.86L558.48,371.83L559.63,370.9L562.11,370.63L564.1,371.04L564.87,372.66L565.52,371.59L567.76,372.36L569.95,372.55L571.33,371.73z"}),f("path",{id:"EH",title:"Western Sahara",d:"M438.57,383.06L442.19,383.07L450.94,383.1L450.94,383.1L450.94,383.1L442.19,383.07L438.57,383.06L438.46,383.15L438.41,383.19L436.63,386.39L434.77,387.53L433.75,389.44L433.69,391.09L432.94,392.88L432,393.37L430.44,395.31L429.48,397.46L429.66,398.48L428.74,400.05L427.66,400.87L427.53,402.26L427.41,403.53L428.02,402.53L439,402.55L438.47,398.2L439.16,396.65L441.78,396.38L441.69,388.52L450.9,388.69L450.9,383.96L450.96,383.35L450.96,383.14z"}
124),f("path",{id:"ER",title:"Eritrea",d:"M594,428.17L593.04,427.24L591.89,425.57L590.65,424.65L589.92,423.65L587.48,422.5L585.56,422.47L584.88,421.86L583.24,422.54L581.54,421.23L580.66,423.38L577.4,422.78L577.1,421.63L578.31,417.38L578.58,415.45L579.46,414.55L581.53,414.07L582.95,412.4L584.58,415.78L585.35,418.45L586.89,419.86L590.71,422.58L592.27,424.22L593.79,425.88L594.67,426.86L596.05,427.72L595.2,428.42z"}),f("path",{id:"ES",title:"Spain",d:"M449.92,334.56L450.06,331.88L448.92,330.22L452.88,327.45L456.31,328.15L460.08,328.12L463.06,328.78L465.39,328.58L469.92,328.7L471.04,330.19L476.2,331.92L477.22,331.1L480.38,332.82L483.63,332.33L483.78,334.52L481.12,337.01L477.53,337.79L477.28,339.03L475.55,341.06L474.47,344.02L475.56,346.07L473.94,347.67L473.34,349.97L471.22,350.67L469.23,353.36L465.68,353.41L463,353.35L461.25,354.57L460.18,355.88L458.8,355.59L457.77,354.42L456.97,352.42L454.35,351.88L454.12,350.72L455.16,349.4L455.54,348.44L454.58,347.38L455.35,345.03L454.23,342.86L455.44,342.56L455.55,340.84L456.01,340.31L456.04,337.43L457.34,336.43L456.56,334.55L454.92,334.42L454.44,334.89L452.79,334.9L452.08,333.06L450.94,333.61z"}),f("path",{id:"ET",title:"Ethiopia",d:"M581.54,421.23L583.24,422.54L584.88,421.86L585.56,422.47L587.48,422.5L589.92,423.65L590.65,424.65L591.89,425.57L593.04,427.24L594,428.17L593.01,429.43L592.07,430.76L592.28,431.55L592.33,432.41L593.9,432.46L594.57,432.26L595.19,432.76L594.58,433.77L595.62,435.33L596.65,436.69L597.72,437.7L606.89,441.04L609.25,441.02L601.32,449.44L597.67,449.56L595.17,451.53L593.38,451.58L592.61,452.46L590.69,452.46L589.56,451.52L587,452.69L586.17,453.85L584.3,453.63L583.68,453.31L583.02,453.38L582.14,453.36L578.59,450.98L576.64,450.98L575.68,450.07L575.68,448.5L574.22,448.03L572.57,444.98L571.29,444.33L570.79,443.21L569.37,441.84L567.65,441.64L568.61,440.03L570.09,439.96L570.51,439.1L570.48,436.57L571.31,433.61L572.63,432.81L572.92,431.65L574.12,429.48L575.81,428.06L576.95,425.25L577.4,422.78L580.66,423.38z"}),f("path",{id:"FK",title:"Falkland Islands",d:"M303.66,633.13L307.02,630.44L309.41,631.56L311.09,629.77L313.33,631.78L312.49,633.36L308.7,634.72L307.44,633.13L305.06,635.18z"}),f("path",{id:"FI",title:"Finland",d:"M555.42,193.1L555.01,198.5L559.31,203.49L556.72,208.97L559.98,216.93L558.09,222.69L560.62,227.55L559.47,231.69L563.62,235.95L562.56,239.05L559.96,242.5L553.96,249.91L548.87,250.36L543.94,252.43L539.38,253.61L537.75,250.54L535.04,248.67L535.66,242.95L534.3,237.54L535.64,233.96L538.18,230.02L544.59,223L546.47,221.61L546.17,218.77L542.27,215.55L541.33,212.85L541.25,201.73L536.88,196.58L533.14,192.77L534.82,190.69L537.94,194.84L541.6,194.45L544.61,196.32L547.28,192.88L548.66,187.03L553.01,184.25L556.61,187.51z"}),f("path",{id:"FJ",title:"Fiji",d:"M980.53,508.61l-0.35,1.4l-0.23,0.16l-1.78,0.72l-1.79,0.61l-0.36,-1.09l1.4,-0.6l0.89,-0.16l1.64,-0.91L980.53,508.61zM974.69,512.92l-1.27,-0.36l-1.08,1l0.27,1.29l1.55,0.36l1.74,-0.4l0.46,-1.53l-0.96,-0.84L974.69,512.92z"}),f("path",{id:"FR",title:"France",d:"M502.06,333.54l-0.93,2.89l-1.27,-0.76l-0.65,-2.53l0.57,-1.41l1.81,-1.45L502.06,333.54zM485.31,300.19l1.96,2.06l1.44,-0.34l2.45,1.97l0.63,0.37l0.81,-0.09l1.32,1.12l4.04,0.79l-1.42,2.9l-0.36,2.98l-0.77,0.71l-1.28,-0.38l0.09,1.05l-2.05,2.3l-0.04,1.84l1.34,-0.63l0.96,1.77l-0.12,1.13l0.83,1.5l-0.97,1.21l0.72,3.04l1.52,0.49l-0.32,1.68l-2.54,2.17l-5.53,-1.04l-4.08,1.24l-0.32,2.29l-3.25,0.49l-3.15,-1.72l-1.02,0.82l-5.16,-1.73l-1.12,-1.49l1.45,-2.32l0.53,-7.88l-2.89,-4.26l-2.07,-2.09l-4.29,-1.6l-0.28,-3.07l3.64,-0.92l4.71,1.09l-0.89,-4.84l2.65,1.85l6.53,-3.37l0.84,-3.61l2.45,-0.9l0.41,1.56l1.3,0.07L485.31,300.19z"}),f("path",{id:"GA",title:"Gabon",d:"M506.36,474.48L503.48,471.66L501.62,469.36L499.92,466.48L500.01,465.56L500.62,464.66L501.3,462.64L501.87,460.57L502.82,460.41L506.89,460.44L506.87,457.09L508.2,456.9L509.91,457.28L511.57,456.92L511.92,457.07L511.71,458.29L512.5,459.72L514.58,459.5L515.28,460.05L514.07,463.28L515.39,464.92L515.7,467.1L515.35,468.95L514.49,470.27L512.01,470.15L510.51,468.81L510.29,470.05L508.4,470.39L507.44,471.09L508.49,472.94z"}),f("path",{id:"GB",title:"United Kingdom",d:"M459.38,281l-1.5,3.29l-2.12,-0.98l-1.73,0.07l0.58,-2.57l-0.58,-2.6l2.35,-0.2L459.38,281zM466.83,260.24l-3,5.73l2.86,-0.72l3.07,0.03l-0.73,4.22l-2.52,4.53l2.9,0.32l0.22,0.52l2.5,5.79l
1241.92,0.77l1.73,5.41l0.8,1.84l3.4,0.88l-0.34,2.93l-1.43,1.33l1.12,2.33l-2.52,2.33l-3.75,-0.04l-4.77,1.21l-1.31,-0.87l-1.85,2.06l-2.59,-0.5l-1.97,1.67l-1.49,-0.87l4.11,-4.64l2.51,-0.97l-0.02,0l-4.38,-0.75l-0.79,-1.8l2.93,-1.41l-1.54,-2.48l0.53,-3.06l4.17,0.42l0,0l0.41,-2.74l-1.88,-2.95l-0.04,-0.07l-3.4,-0.85l-0.67,-1.32l1.02,-2.2l-0.92,-1.37l-1.51,2.34l-0.16,-4.8l-1.42,-2.59l1.02,-5.36l2.18,-4.31l2.24,0.42L466.83,260.24z"}),f("path",{id:"GE",title:"Georgia",d:"M591.76,335.85L592.18,334.25L591.48,331.68L589.86,330.27L588.31,329.83L587.28,328.66L587.62,328.2L589.99,328.86L594.12,329.48L597.94,331.31L598.43,332.02L600.13,331.42L602.75,332.22L603.6,333.77L605.37,334.64L604.64,335.15L606.02,337.17L605.64,337.6L604.13,337.38L602.04,336.32L601.35,336.92L597.45,337.5L594.75,335.68z"}),f("path",{id:"GF",title:"French Guiana",d:"M327.89,456.41l-1.07,1.06l-1.34,0.2l-0.38,-0.78l-0.63,-0.12l-0.87,0.76l-1.22,-0.57l0.71,-1.19l0.24,-1.27l0.48,-1.2l-1.09,-1.65l-0.22,-1.91l1.46,-2.41l0.95,0.31l2.06,0.66l2.97,2.36l0.46,1.14l-1.66,2.55L327.89,456.41z"}),f("path",{id:"GH",title:"Ghana",d:"M478.23,446.84L473.83,448.48L472.27,449.44L469.74,450.25L467.24,449.46L467.37,448.35L466.16,445.94L466.89,442.77L468.07,440.41L467.33,436.4L466.94,434.27L467.01,432.66L471.88,432.53L473.12,432.74L474.02,432.28L475.32,432.5L475.11,433.39L476.28,434.85L476.28,436.9L476.55,439.12L477.25,440.15L476.63,442.68L476.85,444.08L477.6,445.86z"}),f("path",{id:"GL",title:"Greenland",d:"M344.13,23.91L353.55,10.3L363.39,11.37L366.96,2.42L376.87,0L399.27,3.15L416.81,21.74L411.63,30.04L400.9,30.97L385.81,33L387.22,36.64L397.15,34.4L405.59,41.31L411.04,35.19L413.37,42.34L410.29,53.31L417.43,46.38L431.04,38.83L439.45,42.64L441.02,50.76L429.59,63.42L428.01,67.32L419.05,70.18L425.54,70.97L422.26,82.48L420,92.07L420.09,107.33L423.46,115.67L419.08,116.18L414.47,120.06L419.64,126.36L420.3,135.98L417.3,137L420.93,146.15L414.71,146.9L417.96,151.04L417.04,154.55L413.09,156.06L409.18,156.09L412.69,162.57L412.73,166.7L407.18,162.87L405.74,165.36L409.52,167.65L413.2,173.13L414.26,180.08L409.26,181.7L407.1,178.44L403.63,173.46L404.59,179.33L401.34,183.74L408.72,184.09L412.59,184.54L405.07,191.57L397.45,197.7L389.25,200.31L386.16,200.35L383.26,203.22L379.36,210.85L373.33,215.74L371.39,216.03L367.65,217.7L363.63,219.29L361.22,223.41L361.18,227.97L359.77,232.13L355.19,237.08L356.32,241.79L355.06,246.64L353.63,252.2L349.68,252.54L345.54,247.91L339.93,247.88L337.21,244.7L335.34,238.9L330.48,231.22L329.06,227.07L328.68,221.18L324.79,214.91L325.8,209.74L323.93,207.21L326.7,198.56L330.92,195.71L332.03,192.45L332.62,186.19L329.41,189.05L327.89,190.24L325.37,191.38L321.93,188.77L321.74,183.22L322.84,178.74L325.44,178.62L331.16,180.87L326.34,175.44L323.83,172.43L321.04,173.67L318.7,171.48L321.83,162.98L320.13,159.45L317.9,152.71L314.53,141.8L310.96,137.63L310.99,133L303.46,126.31L297.51,125.46L290.02,125.93L283.18,126.79L279.92,123.04L275.05,115.38L282.41,111.41L288.06,110.73L276.06,107.37L269.74,101.93L270.13,96.59L280.74,89.72L291.01,82.56L292.09,76.92L284.53,71.16L286.97,64.52L296.68,52.19L300.76,50.21L299.59,41.64L306.23,36.4L314.85,33.19L323.47,33.01L326.53,39.31L333.97,27.99L340.66,35.77L344.59,37.36L350.42,43.77L343.75,33z"}),f("path",{id:"GM",title:"Gambia",d:"M428.03,426.43L428.39,425.16L431.44,425.07L432.08,424.4L432.97,424.35L434.07,425.06L434.94,425.07L435.87,424.59L436.43,425.41L435.22,426.06L434,426.01L432.8,425.4L431.76,426.06L431.26,426.09L430.58,426.49z"}),f("path",{id:"GN",title:"Guinea",d:"M451.59,441.91L450.8,441.84L450.23,442.97L449.43,442.96L448.89,442.36L449.07,441.23L447.9,439.51L447.17,439.82L446.57,439.89L445.8,440.05L445.83,439.02L445.38,438.28L445.47,437.46L444.86,436.27L444.08,435.26L441.84,435.26L441.19,435.79L440.41,435.85L439.93,436.46L439.61,437.25L438.11,438.49L436.88,436.82L435.79,435.71L435.07,435.35L434.37,434.78L434.06,433.53L433.65,432.91L432.83,432.44L434.08,431.06L434.93,431.11L435.66,430.63L436.28,430.63L436.72,430.25L436.48,429.31L436.79,429.01L436.84,428.04L438.19,428.07L440.21,428.77L440.83,428.7L441.04,428.39L442.56,428.61L442.97,428.45L443.13,429.5L443.58,429.49L444.31,429.11L444.77,429.21L445.55,429.93L446.75,430.16L447.52,429.54L448.43,429.16L449.1,428.76L449.66,428.84L450.28,429.46L450.62,430.25L451.77,431.44L451.19,432.17L451.08,433.09L451.68,432.81L452.03,433.15L451.88,433.99L452.74,434.81L452.18,435.02L451.95,435.99L452.6,437.15L453.29,439.41L452.25,439.75L451.98,440.14L452.2,440.68L452.04,441.91z"}),f("path",{id:"GQ",title:"Equatorial Guinea",d:"M501.87,460.57L501.34,460.15L502.31,457.02L506.87,457.09L506.89,460.44L502.82,460.41z"}),f("path",{id:"GR",title:"Greece",d:"M541.7,356.71l1.53,1.16l2.18,-0.19l2.09,0.24l-0.07,0.6l1.53,-0.41l-0.35,1.01l-4.04,0.29l0.03,-0.56l-3.42,-0.67L541.7,356.71zM549.85,335.75l-0.87,2.33l-0.67,0.41l-1.71,-0.1l-1.46,-0.35l-3.4,0.96l1.94,2.06l-1.42,0.59l-1.56,0l-1.48,-1.88l-0.53,0.8l0.63,2.18l1.4,1.7l-1.06,0.79l1.56,1.65l1.39,1.03l0.04,2l-1.36,-1.15l-1.24,0.21l0.83,1.8l-0.92,0.19l-1,-0.69l1.2,3.95l-0.58,0l-0.45,-1.25l-0.5
1247,-0.02l-0.26,1.32l-0.45,-0.3l0.1,-0.74l-0.56,-1.04h-0.64l0.12,0.84l-0.25,0.27l-0.62,-0.54l-0.38,-1.01l0.52,-0.57l-0.36,-0.74l-0.41,-0.38l-0.42,-0.09l-0.49,-0.94l0.58,-0.52l0.36,-0.48l0.56,0.1l0.25,-0.41l0.59,-0.16l0.68,0.46l0.55,0.17l0.39,-0.62l-0.94,-0.08l-0.56,-0.19l-1.25,0.28l-1.22,0.05l-1.09,-1.64l-0.18,-0.25l0.17,-0.64l-1.42,-1.15l-0.19,-1.03l1.3,-1.76l0.17,-1.19l0.91,-0.53l0.06,-0.97l1.83,-0.33l1.07,-0.81l1.52,0.07l0.46,-0.65l0.53,-0.12l2.07,0.11l2.25,-1.02l1.98,1.3l2.55,-0.35l0.03,-1.86L549.85,335.75z"}),f("path",{id:"GT",title:"Guatemala",d:"M222.64,424.75L221.2,424.25L219.45,424.2L218.17,423.63L216.66,422.45L216.73,421.61L217.05,420.93L216.66,420.39L218.01,418.03L221.6,418.02L221.68,417.04L221.22,416.86L220.91,416.23L219.87,415.56L218.83,414.58L220.1,414.58L220.1,412.93L222.72,412.93L225.31,412.96L225.29,415.27L225.07,418.55L225.9,418.55L226.82,419.08L227.06,418.64L227.88,419.01L226.61,420.12L225.28,420.93L225.08,421.48L225.3,422.04L224.72,422.78L224.06,422.95L224.21,423.29L223.69,423.61L222.73,424.33z"}),f("path",{id:"GW",title:"Guinea-Bissau",d:"M432.83,432.44L431.33,431.25L430.15,431.07L429.51,430.26L429.52,429.83L428.67,429.23L428.49,428.62L429.98,428.15L430.91,428.24L431.66,427.92L436.84,428.04L436.79,429.01L436.48,429.31L436.72,430.25L436.28,430.63L435.66,430.63L434.93,431.11L434.08,431.06z"}),f("path",{id:"GY",title:"Guyana",d:"M307.7,440L309.54,441.03L311.28,442.86L311.35,444.31L312.41,444.38L313.91,445.74L315.02,446.72L314.57,449.24L312.87,449.97L313.02,450.62L312.5,452.07L313.75,454.09L314.64,454.1L315.01,455.67L316.72,458.09L316.04,458.19L314.49,457.96L313.58,458.7L312.31,459.19L311.43,459.31L311.12,459.85L309.74,459.71L308.01,458.41L307.81,457.12L307.09,455.71L307.54,453.33L308.32,452.35L307.67,451.05L306.71,450.63L307.08,449.4L306.42,448.76L304.96,448.88L303.07,446.76L303.83,445.99L303.77,444.69L305.5,444.24L306.19,443.72L305.23,442.68L305.48,441.65z"}),f("path",{id:"HN",title:"Honduras",d:"M230.43,426.9L229.95,426.01L229.09,425.76L229.29,424.61L228.91,424.3L228.33,424.1L227.1,424.44L227,424.05L226.15,423.59L225.55,423.02L224.72,422.78L225.3,422.04L225.08,421.48L225.28,420.93L226.61,420.12L227.88,419.01L228.17,419.13L228.79,418.62L229.59,418.58L229.85,418.81L230.29,418.67L231.59,418.93L232.89,418.85L233.79,418.53L234.12,418.21L235.01,418.36L235.68,418.56L236.41,418.49L236.97,418.24L238.25,418.64L238.7,418.7L239.55,419.24L240.36,419.89L241.38,420.33L242.12,421.13L241.16,421.07L240.77,421.46L239.8,421.84L239.09,421.84L238.47,422.21L237.91,422.08L237.43,421.64L237.14,421.72L236.78,422.41L236.51,422.38L236.46,422.98L235.48,423.77L234.97,424.11L234.68,424.47L233.85,423.89L233.25,424.65L232.66,424.63L232,424.7L232.06,426.11L231.65,426.13L231.3,426.79z"}),f("path",{id:"HR",title:"Croatia",d:"M528.05,318.93L528.73,320.48L529.62,321.62L528.54,323.11L527.27,322.23L525.33,322.29L522.92,321.63L521.61,321.72L521.01,322.54L520,321.63L519.41,323.27L520.79,325.1L521.39,326.31L522.68,327.76L523.75,328.61L524.81,330.22L527.29,331.66L526.98,332.3L524.35,330.9L522.72,329.52L520.16,328.38L517.8,325.53L518.37,325.23L517.09,323.59L517.03,322.25L515.23,321.63L514.37,323.34L513.54,322.01L513.61,320.63L513.71,320.57L515.66,320.71L516.18,320.03L517.13,320.68L518.23,320.76L518.22,319.64L519.19,319.23L519.47,317.61L521.7,316.53L522.59,317.03L524.69,318.76L527,319.53z"}),f("path",{id:"HT",title:"Haiti",d:"M270.04,406.75L271.75,406.88L274.18,407.35L274.43,408.96L274.21,410.09L273.53,410.59L274.25,411.47L274.19,412.27L272.33,411.77L271.01,411.97L269.3,411.76L267.99,412.31L266.48,411.39L266.73,410.44L269.31,410.85L271.43,411.09L272.44,410.43L271.16,409.16L271.18,408.03L269.41,407.57z"}),f("path",{id:"HU",title:"Hungary",d:"M520.68,315.11L521.61,312.46L521.07,311.57L522.65,311.56L522.86,309.85L524.29,310.92L525.32,311.38L527.68,310.87L527.9,310.03L529.02,309.9L530.38,309.25L530.68,309.52L532,309L532.66,308L533.58,307.75L536.58,309.03L537.18,308.6L538.73,309.74L538.93,310.86L537.22,311.73L535.89,314.53L534.2,317.29L531.95,318.05L530.2,317.88L528.05,318.93L527,319.53L524.69,318.76L522.59,317.03L521.7,316.53L521.15,315.16z"}),f("path",{id:"ID",title:"Indonesia",d:"M813.72,492.06l-1.18,0.05l-3.72,-1.98l2.61,-0.56l1.47,0.86l0.98,0.86L813.72,492.06zM824.15,491.78l-2.4,0.62l-0.34,-0.34l0.25,-0.96l1.21,-1.72l2.77,-1.12l0.28,0.56l0.05,0.86L824.15,491.78zM805.83,486.01l1.01,0.75l1.73,-0.23l0.7,1.2l-3.24,0.57l-1.94,0.38l-1.51,-0.02l0.96,-1.62l1.54,-0.02L805.83,486.01zM819.86,486l-0.41,1.56l-4.21,0.8l-3.73,-0.35l-0.01,-1.03l2.23,-0.59l1.76,0.84l1.87,-0.21L819.86,486zM779.82,482.31l5.37,0.28l0.62,-1.16l5.2,1.35l1.02,1.82l4.21,0.51l3.44,1.67l-3.2,1.07l-3.08,-1.13l-2.54,0.08l-2.91,-0.21l-2.62,-0.51l-3.25,-1.07l-2.06,-0.28l-1.17,0.35l-5.11,-1.16l-0.49,-1.21l-2.57,-0.21l1.92,-2.68l3.4,0.17l2.26,1.09l1.16,0.21L779.82,482.31zM853,480.73l-1.44,1.91l-0.27,-2.11l0.5,-1.01l0.59,-0.95l0.64,0.82L853,480.73zM832.04,473.02l-1.05,0.93l-1.94,-0.51l-0.55,-1.2l2.84,-0.13L832.04,473.02zM841.08,472.01l1.02,2.13l-2.37,-1.15l-2.34,-0.23l-1.58,0.18l-1.94,-0.1l0.67,-1.53l3.46,-0.
12412L841.08,472.01zM851.37,466.59l0.78,4.51l2.9,1.67l2.34,-2.96l3.22,-1.68l2.49,0l2.4,0.97l2.08,1l3.01,0.53l0.05,9.1l0.05,9.16l-2.5,-2.31l-2.85,-0.57l-0.69,0.8l-3.55,0.09l1.19,-2.29l1.77,-0.78l-0.73,-3.05l-1.35,-2.35l-5.44,-2.37l-2.31,-0.23l-4.21,-2.58l-0.83,1.36l-1.08,0.25l-0.64,-1.02l-0.01,-1.21l-2.14,-1.37l3.02,-1l2,0.05l-0.24,-0.74l-4.1,-0.01l-1.11,-1.66l-2.5,-0.51l-1.19,-1.38l3.78,-0.67l1.44,-0.91l4.5,1.14L851.37,466.59zM826.41,459.43l-2.25,2.76l-2.11,0.54l-2.7,-0.54l-4.67,0.14l-2.45,0.4l-0.4,2.11l2.51,2.48l1.51,-1.26l5.23,-0.95l-0.23,1.28l-1.22,-0.4l-1.22,1.63l-2.47,1.08l2.65,3.57l-0.51,0.96l2.52,3.22l-0.02,1.84l-1.5,0.82l-1.1,-0.98l1.36,-2.29l-2.75,1.08l-0.7,-0.77l0.36,-1.08l-2.02,-1.64l0.21,-2.72l-1.87,0.85l0.24,3.25l0.11,4l-1.78,0.41l-1.2,-0.82l0.8,-2.57l-0.43,-2.69l-1.18,-0.02l-0.87,-1.91l1.16,-1.83l0.4,-2.21l1.41,-4.2l0.59,-1.15l2.38,-2.07l2.19,0.82l3.54,0.39l3.22,-0.12l2.77,-2.02L826.41,459.43zM836.08,460.23l-0.15,2.43l-1.45,-0.27l-0.43,1.69l1.16,1.47l-0.79,0.33l-1.13,-1.76l-0.83,-3.56l0.56,-2.23l0.93,-1.01l0.2,1.52l1.66,0.24L836.08,460.23zM805.76,458.29l3.14,2.58l-3.32,0.33l-0.94,1.9l0.12,2.52l-2.7,1.91L802,470.3l-1.08,4.27l-0.41,-0.99l-3.19,1.26l-1.11,-1.71l-2,-0.16l-1.4,-0.89l-3.33,1l-1.02,-1.35l-1.84,0.15l-2.31,-0.32l-0.43,-3.74l-1.4,-0.77l-1.35,-2.38l-0.39,-2.44l0.33,-2.58l1.67,-1.85l0.47,1.86l1.92,1.57l1.81,-0.57l1.79,0.2l1.63,-1.41l1.34,-0.24l2.65,0.78l2.29,-0.59l1.44,-3.88l1.08,-0.97l0.97,-3.17l3.22,0l2.43,0.47l-1.59,2.52l2.06,2.64L805.76,458.29zM771.95,479.71l-3.1,0.06l-2.36,-2.34l-3.6,-2.28l-1.2,-1.69l-2.12,-2.27l-1.39,-2.09l-2.13,-3.9l-2.46,-2.32l-0.82,-2.39l-1.03,-2.17l-2.53,-1.75l-1.47,-2.39l-2.11,-1.56l-2.92,-3.08l-0.25,-1.42l1.81,0.11l4.34,0.54l2.48,2.73l2.17,1.89l1.55,1.16l2.66,3l2.85,0.04l2.36,1.91l1.62,2.33l2.13,1.27l-1.12,2.27l1.61,0.97l1.01,0.07l0.48,1.94l0.98,1.56l2.06,0.25l1.36,1.76l-0.7,3.47L771.95,479.71z"}),f("path",{id:"IE",title:"Ireland",d:"M457.88,284.29L458.34,287.65L456.22,291.77L451.25,294.45L447.28,293.77L449.55,288.99L448.09,284.22L451.9,280.47L454.02,278.2L454.6,280.8L454.02,283.37L455.76,283.31z"}),f("path",{id:"IL",title:"Israel",d:"M575.41,366.82L574.92,367.87L573.9,367.41L573.32,369.61L574.02,369.97L573.31,370.43L573.18,371.29L574.5,370.84L574.57,372.11L573.17,377.28L571.33,371.73L572.14,370.65L571.95,370.46L572.69,368.93L573.26,366.43L573.66,365.59L573.74,365.56L574.68,365.56L574.94,364.98L575.69,364.93L575.73,366.3L575.35,366.8z"}),f("path",{id:"IN",title:"India",d:"M693.5,357.44L696.51,361.43L696.23,364.17L697.34,365.88L697.25,367.57L695.24,367.13L696.03,370.76L698.78,372.82L702.68,375.09L700.9,376.55L699.81,379.54L702.53,380.74L705.17,382.29L708.83,384.06L712.67,384.47L714.29,386.06L716.45,386.35L719.83,387.08L722.16,387.03L722.48,385.79L722.11,383.8L722.33,382.45L724.04,381.78L724.28,384.26L724.33,384.89L726.88,386.08L728.65,385.59L731.01,385.8L733.3,385.71L733.5,383.78L732.36,382.78L734.62,382.38L737.17,380.03L740.4,378L742.75,378.78L744.75,377.44L746.07,379.42L745.12,380.76L748.14,381.23L748.36,382.43L747.37,383.01L747.6,384.94L745.6,384.37L741.97,386.53L742.05,388.31L740.51,390.91L740.36,392.41L739.11,394.93L736.92,394.23L736.81,397.38L736.18,398.41L736.48,399.69L735.09,400.41L733.62,395.61L732.84,395.62L732.38,397.56L730.85,395.98L731.71,394.25L732.97,394.07L734.26,391.48L732.65,390.95L730.04,391L727.38,390.58L727.13,388.43L725.79,388.27L723.57,386.93L722.58,389.04L724.6,390.67L722.85,391.82L722.23,392.94L723.95,393.76L723.48,395.6L724.45,397.88L724.89,400.36L724.48,401.46L722.58,401.42L719.12,402.04L719.28,404.29L717.78,406.05L713.75,408.05L710.61,411.51L708.5,413.36L705.71,415.27L705.71,416.61L704.31,417.33L701.78,418.36L700.47,418.52L699.63,420.72L700.21,424.47L700.36,426.84L699.18,429.55L699.16,434.38L697.71,434.52L696.44,436.67L697.29,437.6L694.73,438.4L693.79,440.32L692.66,441.13L690.01,438.5L688.71,434.54L687.63,431.68L686.65,430.34L685.16,427.6L684.47,424.02L683.98,422.22L681.43,418.25L680.27,412.61L679.43,408.84L679.44,405.26L678.9,402.46L674.82,404.25L672.84,403.89L669.18,400.26L670.53,399.17L669.7,397.99L666.41,395.41L668.28,393.37L674.45,393.38L673.89,390.74L672.32,389.18L672,386.79L670.16,385.39L673.25,382.09L676.51,382.33L679.44,379.01L681.2,375.75L683.92,372.51L683.88,370.18L686.27,368.27L684,366.64L683.03,364.39L682.04,361.44L683.41,359.98L687.67,360.81L690.79,360.3z"}),f("path",{id:"IQ",title:"Iraq",d:"M602.61,355.77L604.44,356.81L604.66,358.81L603.24,359.98L602.59,362.62L604.54,365.8L607.97,367.62L609.42,370.12L608.96,372.49L609.85,372.49L609.88,374.22L611.43,375.91L609.77,375.76L607.88,375.49L605.82,378.57L600.61,378.31L592.71,371.82L588.53,369.53L585.15,368.64L584.02,364.6L590.23,361.1L591.29,356.98L591.02,354.46L592.56,353.6L594,351.42L595.2,350.87L598.46,351.33L599.45,352.22L600.79,351.63z"}),f("path",{id:"IR",title:"Iran",d:"M626.44,351.53L628.91,350.85L630.9,348.83L632.77,348.93L634,348.27L636,348.6L639.1,350.39L641.34,350.78L644.54,353.87L646.63,353.99L646.88,356.9L645.74,3
12461.15L644.97,363.6L646.19,364.09L644.99,365.92L645.91,368.56L646.13,370.65L648.25,371.2L648.48,373.3L645.94,376.23L647.32,377.91L648.45,379.84L651.13,381.24L651.21,384.01L652.55,384.52L652.78,385.96L648.74,387.57L647.68,391.17L642.41,390.24L639.35,389.53L636.19,389.12L634.99,385.31L633.65,384.75L631.49,385.31L628.67,386.82L625.24,385.79L622.41,383.38L619.71,382.48L617.84,379.47L615.77,375.2L614.26,375.72L612.48,374.65L611.43,375.91L609.88,374.22L609.85,372.49L608.96,372.49L609.42,370.12L607.97,367.62L604.54,365.8L602.59,362.62L603.24,359.98L604.66,358.81L604.44,356.81L602.61,355.77L600.79,351.63L599.26,348.8L599.8,347.71L598.93,343.59L600.85,342.56L601.29,343.93L602.71,345.59L604.63,346.06L605.65,345.96L608.96,343.3L610.01,343.03L610.83,344.1L609.87,345.88L611.62,347.74L612.31,347.57L613.2,350.18L615.86,350.91L617.81,352.67L621.79,353.27L626.17,352.35z"}),f("path",{id:"IS",title:"Iceland",d:"M434.57,212.43L433.93,216.91L437.09,221.51L433.45,226.52L425.36,230.9L422.94,232.05L419.25,231.12L411.43,229.11L414.19,226.27L408.09,223.07L413.05,221.79L412.93,219.82L407.05,218.25L408.94,213.78L413.19,212.75L417.56,217.43L421.82,213.68L425.35,215.64L429.92,211.93z"}),f("path",{id:"IT",title:"Italy",d:"M518.77,347.88l-1.01,2.78l0.42,1.09l-0.59,1.79l-2.14,-1.31l-1.43,-0.38l-3.91,-1.79l0.39,-1.82l3.28,0.32l2.86,-0.39L518.77,347.88zM501.08,337.06l1.68,2.62l-0.39,4.81l-1.27,-0.23l-1.14,1.2l-1.06,-0.95l-0.11,-4.38l-0.64,-2.1l1.54,0.19L501.08,337.06zM509.95,315.46l4.01,1.05l-0.3,1.99l0.67,1.71l-2.23,-0.58l-2.28,1.42l0.16,1.97l-0.34,1.12l0.92,1.99l2.63,1.95l1.41,3.17l3.12,3.05l2.2,-0.02l0.68,0.83l-0.79,0.74l2.51,1.35l2.06,1.12l2.4,1.92l0.29,0.68l-0.52,1.31l-1.56,-1.7l-2.44,-0.6l-1.18,2.36l2.03,1.34l-0.33,1.88l-1.17,0.21l-1.5,3.06l-1.17,0.27l0.01,-1.08l0.57,-1.91l0.61,-0.77l-1.09,-2.09l-0.86,-1.83l-1.16,-0.46l-0.83,-1.58l-1.8,-0.67l-1.21,-1.49l-2.07,-0.24l-2.19,-1.68l-2.56,-2.45l-1.91,-2.19l-0.87,-3.8l-1.4,-0.45l-2.28,-1.29l-1.29,0.53l-1.62,1.8l-1.17,0.28l0.32,-1.68l-1.52,-0.49l-0.72,-3.04l0.97,-1.21l-0.83,-1.5l0.12,-1.13l1.21,0.86l1.35,-0.19l1.57,-1.36l0.49,0.64l1.34,-0.13l0.61,-1.63l2.07,0.51l1.24,-0.68l0.22,-1.67l1.7,0.58l0.33,-0.78l2.77,-0.71L509.95,315.46z"}),f("path",{id:"JM",title:"Jamaica",d:"M257.76,410.96L259.65,411.22L261.14,411.93L261.6,412.73L259.63,412.78L258.78,413.27L257.21,412.8L255.61,411.73L255.94,411.06L257.12,410.86z"}),f("path",{id:"JO",title:"Jordan",d:"M574.92,367.87L575.41,366.82L578.53,368.14L584.02,364.6L585.15,368.64L584.62,369.13L579,370.78L581.8,374.04L580.87,374.58L580.41,375.67L578.27,376.11L577.6,377.27L576.38,378.25L573.26,377.74L573.17,377.28L574.57,372.11L574.5,370.84L574.92,369.88z"}),f("path",{id:"JP",title:"Japan",d:"M852.76,362.01l0.36,1.15l-1.58,2.03l-1.15,-1.07l-1.44,0.78l-0.74,1.95l-1.83,-0.95l0.02,-1.58l1.55,-2l1.59,0.39l1.15,-1.42L852.76,362.01zM870.53,351.73l-1.06,2.78l0.49,1.73l-1.46,2.42l-3.58,1.6l-4.93,0.21l-4,3.84l-1.88,-1.29L854,360.5l-4.88,0.75l-3.32,1.59l-3.28,0.06l2.84,2.46l-1.87,5.61l-1.81,1.37l-1.36,-1.27l0.69,-2.96l-1.77,-0.96l-1.14,-2.28l2.65,-1.03l1.47,-2.11l2.82,-1.75l2.06,-2.33l5.58,-1.02l3,0.7l2.93,-6.17l1.87,1.67l4.11,-3.51l1.59,-1.38l1.76,-4.38l-0.48,-4.1l1.18,-2.33l2.98,-0.68l1.53,5.11l-0.08,2.94l-2.59,3.6L870.53,351.73zM878.76,325.8l1.97,0.83l1.98,-1.65l0.62,4.35l-4.16,1.05l-2.46,3.76l-4.41,-2.58l-1.53,4.12l-3.12,0.06l-0.39,-3.74l1.39,-2.94l3,-0.21l0.82,-5.38l0.83,-3.09l3.29,4.12L878.76,325.8z"}),f("path",{id:"KE",title:"Kenya",d:"M590.19,465.78L591.85,468.07L589.89,469.19L589.2,470.35L588.14,470.55L587.75,472.52L586.85,473.64L586.3,475.5L585.17,476.42L581.15,473.63L580.95,472.01L570.79,466.34L570.31,466.03L570.29,463.08L571.09,461.95L572.47,460.11L573.49,458.08L572.26,454.88L571.93,453.48L570.6,451.54L572.32,449.87L574.22,448.03L575.68,448.5L575.68,450.07L576.64,450.98L578.59,450.98L582.14,453.36L583.02,453.38L583.68,453.31L584.3,453.63L586.17,453.85L587,452.69L589.56,451.52L590.69,452.46L592.61,452.46L590.16,455.63z"}),f("path",{id:"KG",title:"Kyrgyzstan",d:"M674.22,333.11L674.85,331.45L676.69,330.91L681.31,332.22L681.74,329.98L683.33,329.18L687.33,330.79L688.35,330.37L693,330.47L697.16,330.87L698.56,332.24L700.29,332.79L699.9,333.65L695.48,335.68L694.48,337.16L690.88,337.6L689.82,339.95L686.85,339.46L684.92,340.18L682.24,341.9L682.63,342.75L681.83,343.58L676.53,344.13L673.06,342.96L670.02,343.24L670.29,341.14L673.34,341.75L674.37,340.62L676.5,340.98L680.09,338.34L676.77,336.38L674.77,337.31L672.7,335.91L675.05,333.48z"}),f("path",{id:"KH",title:"Cambodia",d:"M765.44,433.6L764.3,432.12L762.89,429.18L762.22,425.73L764.02,423.35L767.64,422.8L770.27,423.21L772.58,424.34L773.85,422.35L776.34,423.41L776.99,425.33L776.64,428.75L771.93,430.94L773.16,432.67L770.22,432.87L767.79,434.01z"}),f("path",{id:"KP",title:"North Korea",d:"M841.55,332.62L841.94,333.29L840.88,333.06L839.66,334.33L838.82,335.61L838.93,338.28L837.48,339.09L836.98,339.74L835.92,340.82L834.05,341.42L832.84,342.4L832.75,343.97L832.42,344.37L833.54,344.95L835.13,346.53L834.72,347.39L833.53,347.62L831.55,347.79L830.46,349.39L829.2,349.27L829.03,349.59L827.67,348.92L827.33,349.58L826.51,349.87L826.41,349.21L825.68,348.89L824.93,348.32L825.7,346.75L826.36,346.33L826.11,345.68L826.82,343.74L826.63,343.15L825,342.75L823.68,341.78L825.96,339.43L829.05,337.45L830.98,334.8L832.31,335.97L834.73,336.11L834.29,334.14L838.62,332.51L839.74,330.38z"}),f("path",{id:"KR",title:"South Korea",d:"M835.13,346.53L837.55,350.71L838.24,352.98L838.26,356.96L837.21,358.84L834.67,359.5L832.43,360.91L829.9,361.2L829.59,359.35L830.11,356.78L828.87,353.18L830.95,352.59L829.03,349.59L829.2,349.27L830.46,349.39L831.55,347.79L833.53,347.62L834.72,347.39z"}),f("path",{id:"XK",title:"Kosovo",d:"M533.47,333.92L533.34,334.69L532.98,334.66L532.8,333.29L532.13,332.91L531.53,331.89L532.05,331.04L532.72,330.76L533.11,329.5L533.61,329.28L534.01,329.82L534.54,330.06L534.9,330.67L535.36,330.85L535.91,331.55L536.31,331.53L535.99,332.46L535.66,332.91L535.75,333.19L535.12,333.33z"}),f("path",{id:"KW",title:"Kuwait",d:"M609.77,375.76L610.35,377.17L610.1,377.9L611,380.31L609.02,380.39L608.32,378.88L60
1245.82,378.57L607.88,375.49z"}),f("path",{id:"KZ",title:"Kazakhstan",d:"M674.22,333.11L672.61,333.81L668.92,336.42L667.69,339.07L666.64,339.09L665.88,337.34L662.31,337.22L661.74,334.16L660.37,334.13L660.58,330.33L657.23,327.53L652.42,327.83L649.13,328.39L646.45,324.89L644.16,323.41L639.81,320.57L639.29,320.22L632.07,322.57L632.18,336.7L630.74,336.88L628.78,333.95L626.88,332.89L623.7,333.68L622.46,334.93L622.3,334.01L622.99,332.44L622.46,331.12L619.21,329.82L617.94,326.35L616.4,325.37L616.3,324.09L619.03,324.46L619.14,321.58L621.52,320.94L623.97,321.53L624.48,317.62L623.98,315.11L621.17,315.31L618.79,314.31L615.54,316.1L612.93,316.96L611.5,316.3L611.79,314.2L610,311.44L607.92,311.55L605.54,308.72L607.16,305.5L606.34,304.63L608.57,299.86L611.46,302.39L611.81,299.2L617.59,294.35L621.97,294.23L628.16,297.33L631.47,299.12L634.45,297.25L638.89,297.17L642.48,299.46L643.3,298.15L647.23,298.34L647.94,296.23L643.39,293.14L646.08,290.91L645.56,289.66L648.25,288.45L646.23,285.25L647.51,283.63L658,281.97L659.37,280.78L666.39,278.99L668.91,276.95L673.95,278.01L674.83,283.02L677.76,281.86L681.36,283.49L681.13,286.07L683.82,285.8L690.84,281.31L689.82,282.81L693.4,286.47L699.66,298.05L701.16,295.72L705.02,298.28L709.05,297.14L710.59,297.94L711.94,300.49L713.9,301.33L715.1,303.18L718.71,302.6L720.2,305.23L718.06,308.06L715.73,308.46L715.6,312.64L714.04,314.5L708.48,313.15L706.46,320.41L705.02,321.3L699.47,322.88L701.99,329.63L700.07,330.63L700.29,332.79L698.56,332.24L697.16,330.87L693,330.47L688.35,330.37L687.33,330.79L683.33,329.18L681.74,329.98L681.31,332.22L676.69,330.91L674.85,331.45z"}),f("path",{id:"LA",title:"Lao People's Democratic Republic",d:"M770.27,423.21L771.18,421.91L771.31,419.47L769.04,416.94L768.86,414.07L766.73,411.69L764.61,411.49L764.05,412.51L762.4,412.59L761.56,412.08L758.61,413.82L758.54,411.2L759.23,408.09L757.34,407.96L757.18,406.18L755.96,405.26L756.56,404.16L758.95,402.22L759.2,402.92L760.69,403L760.27,399.57L761.72,399.13L763.36,401.5L764.62,404.22L768.07,404.25L769.16,406.84L767.37,407.61L766.56,408.68L769.92,410.44L772.25,413.9L774.02,416.47L776.14,418.49L776.85,420.53L776.34,423.41L773.85,422.35L772.58,424.34z"}),f("path",{id:"LB",title:"Lebanon",d:"M575.69,364.93L574.94,364.98L574.68,365.56L573.74,365.56L574.74,362.83L576.13,360.45L576.19,360.33L577.45,360.51L577.91,361.83L576.38,363.1z"}),f("path",{id:"LK",title:"Sri Lanka",d:"M704.57,442.37L704.15,445.29L702.98,446.09L700.54,446.73L699.2,444.5L698.71,440.47L699.98,435.89L701.91,437.46L703.22,439.44z"}),f("path",{id:"LR",title:"Liberia",d:"M453.63,451.22L452.89,451.24L450,449.91L447.46,447.78L445.07,446.25L443.18,444.44L443.85,443.54L444,442.73L445.26,441.2L446.57,439.89L447.17,439.82L447.9,439.51L449.07,441.23L448.89,442.36L449.43,442.96L450.23,442.97L450.8,441.84L451.59,441.91L451.46,442.73L451.74,444.09L451.13,445.33L451.95,446.1L452.84,446.29L454.03,447.46L454.11,448.57L453.84,448.92z"}),f("path",{id:"LS",title:"Lesotho",d:"M556.5,547.75L557.48,548.71L556.62,550.27L556.14,551.32L554.58,551.82L554.06,552.86L553.06,553.18L550.96,550.69L552.45,548.66L553.97,547.41L555.28,546.77z"}),f("path",{id:"LT",title:"Lithuania",d:"M538.99,282.09L538.76,280.87L539.06,279.54L537.82,278.77L534.89,277.91L534.29,273.75L537.5,272.2L542.2,272.53L544.96,272.03L545.35,273.08L546.84,273.4L549.54,275.82L549.8,278.02L547.5,279.59L546.85,282.31L543.81,284.11L541.1,284.07L540.43,282.61z"}),f("path",{id:"LU",title:"Luxembourg",d:"M492.2,301.29L492.76,302.27L492.6,304.16L491.79,304.26L491.16,303.88L491.47,301.45z"}),f("path",{id:"LV",title:"Latvia",d:"M534.29,273.75L534.39,269.94L535.77,266.7L538.41,264.92L540.63,268.8L542.88,268.7L543.42,264.71L545.81,263.78L547.04,264.43L549.45,266.37L551.77,266.38L553.12,267.57L553.35,270.06L554.26,273.05L551.24,274.98L549.54,275.82L546.84,273.4L545.35,273.08L544.96,272.03L542.2,272.53L537.5,272.2z"}),f("path",{id:"LY",title:"Libya",d:"M516.89,397.93L514.91,399.05L513.33,397.39L508.9,396.08L507.67,394.17L505.45,392.75L504.14,393.31L503.15,391.6L503.04,390.28L501.38,388.02L502.5,386.73L502.25,384.76L502.61,383.04L502.41,381.6L502.9,379.01L502.75,377.53L501.84,374.69L503.21,373.94L503.45,372.56L503.15,371.21L505.08,369.95L505.94,368.9L507.31,367.95L507.47,365.4L510.76,366.55L511.94,366.26L514.28,366.82L518,368.29L519.3
1241,371.21L521.83,371.85L525.78,373.21L528.77,374.82L530.14,373.98L531.48,372.49L530.83,369.98L531.71,368.38L533.73,366.83L535.66,366.38L539.45,367.06L540.41,368.54L541.45,368.55L542.34,369.11L545.13,369.5L545.81,370.58L544.8,372.15L545.23,373.54L544.51,375.54L545.35,378.12L545.35,389.3L545.35,400.53L545.35,406.49L542.13,406.5L542.09,407.74L530.91,402.04L519.72,396.27z"}),f("path",{id:"MA",title:"Morocco",d:"M450.96,383.14L450.93,379.39L455.46,377.03L458.26,376.54L460.55,375.68L461.63,374.06L464.91,372.77L465.03,370.36L466.65,370.07L467.92,368.86L471.59,368.3L472.1,367.02L471.36,366.31L470.39,362.78L470.23,360.73L469.17,358.55L467.95,358.51L465.05,357.76L462.38,358L460.69,356.54L458.63,356.52L457.74,358.63L455.87,362.14L453.79,363.53L450.98,365.06L449.18,367.3L448.8,369.04L447.73,371.86L448.43,375.89L446.09,378.57L444.69,379.42L442.48,381.59L439.87,381.94L438.57,383.06L442.19,383.07L450.94,383.1L450.94,383.1L450.94,383.1L442.19,383.07L438.57,383.06z"}),f("path",{id:"MD",title:"Moldova",d:"M549.89,309.45L550.56,308.83L552.42,308.41L554.49,309.72L555.64,309.88L556.91,311L556.71,312.41L557.73,313.08L558.13,314.8L559.11,315.84L558.92,316.44L559.44,316.86L558.7,317.15L557.04,317.04L556.77,316.47L556.18,316.8L556.38,317.52L555.61,318.81L555.12,320.18L554.42,320.62L553.91,318.79L554.21,317.07L554.12,315.28L552.5,312.84L551.61,311.09L550.74,309.85z"}),f("path",{id:"ME",title:"Montenegro",d:"M530.77,332.23L530.6,331.51L529.38,333.38L529.57,334.57L528.98,334.28L528.2,333.05L526.98,332.3L527.29,331.66L527.7,329.56L528.61,328.67L529.14,328.31L529.88,328.97L530.29,329.51L531.21,329.92L532.28,330.71L532.05,331.04L531.53,331.89z"}),f("path",{id:"MG",title:"Madagascar",d:"M614.17,498.4L614.91,499.61L615.6,501.5L616.06,504.96L616.78,506.31L616.5,507.69L616.01,508.55L615.05,506.85L614.53,507.71L615.06,509.85L614.81,511.09L614.04,511.76L613.86,514.24L612.76,517.66L611.38,521.75L609.64,527.42L608.57,531.63L607.3,535.18L605.02,535.91L602.57,537.22L600.96,536.43L598.73,535.33L597.96,533.71L597.77,531L596.79,528.58L596.53,526.41L597.03,524.25L598.32,523.73L598.33,522.74L599.67,520.48L599.92,518.6L599.27,517.2L598.74,515.35L598.52,512.65L599.5,511.02L599.87,509.17L601.27,509.07L602.84,508.47L603.87,507.95L605.11,507.91L606.7,506.26L609.01,504.48L609.85,503.04L609.47,501.81L610.66,502.16L612.21,500.17L612.26,498.45L613.19,497.17z"}),f("path",{id:"MK",title:"Macedonia",d:"M532.98,334.66L533.34,334.69L533.47,333.92L535.12,333.33L535.75,333.19L536.71,332.97L538,332.91L539.41,334.12L539.61,336.59L539.07,336.71L538.61,337.36L537.09,337.29L536.02,338.1L534.19,338.42L533.03,337.52L532.63,335.93z"}),f("path",{id:"ML",title:"Mali",d:"M441.13,422.22L442.07,421.7L442.54,420L443.43,419.93L445.39,420.73L446.97,420.16L448.05,420.35L448.48,419.71L459.73,419.67L460.35,417.64L459.86,417.28L458.51,404.6L457.16,391.54L461.45,391.49L470.91,398.14L480.37,404.69L481.03,406.08L482.78,406.93L484.08,407.41L484.11,409.29L487.22,409L487.23,415.75L485.69,417.69L485.45,419.48L482.96,419.93L479.14,420.18L478.1,421.21L476.3,421.32L474.51,421.33L473.81,420.78L472.26,421.19L469.64,422.39L469.11,423.29L466.93,424.57L466.55,425.31L465.38,425.89L464.02,425.51L463.25,426.21L462.84,428.17L460.61,430.53L460.68,431.49L459.91,432.7L460.1,434.34L458.94,434.76L458.29,435.12L457.85,433.91L457.04,434.23L456.56,434.17L456.04,435L453.88,434.97L453.1,434.55L452.74,434.81L451.88,433.99L452.03,433.15L451.68,432.81L451.08,433.09L451.19,432.17L451.77,431.44L450.62,430.25L450.28,429.46L449.66,428.84L449.1,428.76L448.43,429.16L447.52,429.54L446.75,430.16L445.55,429.93L444.77,429.21L444.31,429.11L443.58,429.49L443.13,429.5L442.97,428.45L443.1,427.56L442.86,426.46L441.81,425.65L441.26,424.01z"}),f("path",{id:"MM",title:"Myanmar",d:"M754.36,405.95L752.72,407.23L750.74,407.37L749.46,410.56L748.28,411.09L749.64,413.66L751.42,415.79L752.56,417.71L751.54,420.23L750.57,420.76L751.24,422.21L753.11,424.49L753.43,426.09L753.38,427.42L754.48,430.02L752.94,432.67L751.58,435.58L751.31,433.48L752.17,431.3L751.23,429.62L751.46,426.51L750.32,425.03L749.41,421.59L748.9,417.93L747.69,415.53L745.84,416.99L742.65,419.05L741.08,418.79L739.34,418.12L740.31,414.51L739.73,411.77L737.53,408.38L737.87,407.31L736.23,406.93L734.24,404.51L734.06,402.1L735.04,402.56L735.09,400.41L736.48,399.69L736.18,398.41L736.81,397.38L736.92,394.23L739.11,394.93L740.36,392.41L740.51,390.91L742.05,388.31L741.97,386.53L745.6,384.37L747.6,384.94L747.37,383.01L748.36,382.43L748.14,381.23L749.78,380.99L750.72,382.85L751.94,383.6L752.03,386L751.91,388.57L749.26,391.15L748.92,394.78L751.88,394.28L752.55,397.08L754.33,397.67L753.51,400.17L755.59,401.3L756.81,401.85L758.86,400.98L758.95,402.22L756.56,404.16L755.96,405.26z"}),f("path",{id:"MN",title:"Mongolia",d:"M721.29,304.88L724.25,304.14L729.6,300.4L733.87,298.33L736.3,299.68L739.23,299.74L741.1,301.79L743.9,301.94L747.96,303.03L750.68,300L749.54,297.4L752.45,292.74L755.59,294.61L758.13,295.14L761.43,296.29L761.96,299.61L765.95,301.45L768.6,300.64L772.14,300.07L774.95,300.65L777.7,302.74L779.4,304.94L782,304.9L785.53,305.59L788.11,304.53L791.8,303.82L795.91,300.76L797.59,301.23L799.06,302.69L802.4,302.33L801.04,305.58L799.06,309.8L799.78,311.51L801.37,310.98L804.13,311.63L806.29,310.09L808.54,311.42L811.08,314.31L810.77,315.76L808.56,315.3L804.49,315.84L802.51,317L800.46,319.66L796.18,321.21L793.39,323.31L790.51,322.51L788.93,322.15L787.46,324.69L788.35,326.19L788.81,327.47L786.84,328.77L784.83,330.82L781.56,332.15L777.35,332.3L772.82,333.61L769.56,335.62L768.32,334.46L764.93,334.46L760.78,332.17L758.01,331.6L754.28,332.13L748.49,331.28L745.4,331.37L743.76,329.1L742.48,325.53L740.75,325.1L737.36,322.65L733.58,322.1L730.25,321.42L729.24,319.69L730.32,314.96L728.39,311.65L724.39,310.08L722.03,307.85z"}),f("path",{id:"MR",title:"Mauritania",d:"M441.13,422.22L439.28,420.24L437.58,418.11L435.72,417.34L434.38,416.49L432.81,416.52L431.45,417.15L430.05,416.9L429.09,417.83L428.85,416.27L429.63,414.83L429.98,412.08L429.67,409.17L429.33,407.7L429.61,406.23L428.89,404.81L427.41,403.53L428.02,402.53L439,402.55L438.47,398.2L439.16,396.65L441.78,396.38L441.69,388.52L450.9,388.69L450.9,383.96L461.45,391.49L457.16,391.54L458.51,404.6L459.86,417.28L460.35,417.64L459.73,419.67L448.48,419.71L448.05,420.35L446.97,420.16L445.39,420.73L443.43,419.93L442.54,420L442.07,421.7z"}),f("path",{id:"MW",title:"Malawi",d:"M572.15,495.69L571.37,497.85L572.15,501.57L573.13,501.53L574.14,502.45L575.31,504.53L575.55,508.25L574.34,508.86L573.48,510.87L571.65,509.08L571.45,507.04L572.04,505.69L571.87,504.54L570.77,503.81L569.99,504.07L568.38,502.69L566.91,501.95L567.76,499.29L568.64,498.3L568.1,495.94L568.66,493.64L569.14,492.87L568.43,490.47L567.11,489.21L569.85,489.73L570.42,490.51L571.37,491.83z"}
124),f("path",{id:"MX",title:"Mexico",d:"M202.89,388.72L201.8,391.43L201.31,393.64L201.1,397.72L200.83,399.19L201.32,400.83L202.19,402.3L202.75,404.61L204.61,406.82L205.26,408.51L206.36,409.96L209.34,410.75L210.5,411.97L212.96,411.15L215.09,410.86L217.19,410.33L218.96,409.82L220.74,408.62L221.41,406.89L221.64,404.4L222.13,403.53L224.02,402.74L226.99,402.05L229.47,402.15L231.17,401.9L231.84,402.53L231.75,403.97L230.24,405.74L229.58,407.55L230.09,408.06L229.67,409.34L228.97,411.63L228.26,410.88L227.67,410.93L227.14,410.97L226.14,412.74L225.63,412.39L225.29,412.53L225.31,412.96L222.72,412.93L220.1,412.93L220.1,414.58L218.83,414.58L219.87,415.56L220.91,416.23L221.22,416.86L221.68,417.04L221.6,418.02L218.01,418.03L216.66,420.39L217.05,420.93L216.73,421.61L216.66,422.45L213.49,419.34L212.04,418.4L209.75,417.64L208.19,417.85L205.93,418.94L204.52,419.23L202.54,418.47L200.44,417.91L197.82,416.58L195.72,416.17L192.54,414.82L190.2,413.42L189.49,412.64L187.92,412.47L185.05,411.54L183.88,410.2L180.87,408.53L179.47,406.66L178.8,405.21L179.73,404.92L179.44,404.07L180.09,403.3L180.1,402.26L179.16,400.92L178.9,399.72L177.96,398.2L175.49,395.18L172.67,392.79L171.31,390.88L168.9,389.62L168.39,388.86L168.82,386.94L167.39,386.21L165.73,384.69L165.03,382.5L163.52,382.24L161.9,380.58L160.58,379.03L160.46,378.03L158.95,375.61L157.96,373.13L158,371.88L155.97,370.59L155.04,370.73L153.44,369.83L152.99,371.16L153.45,372.72L153.72,375.15L154.69,376.48L156.77,378.69L157.23,379.44L157.66,379.66L158.02,380.76L158.52,380.71L159.09,382.75L159.94,383.55L160.53,384.66L162.3,386.26L163.23,389.15L164.06,390.5L164.84,391.94L164.99,393.56L166.34,393.66L167.47,395.05L168.49,396.41L168.42,396.95L167.24,398.06L166.74,398.05L166,396.2L164.17,394.47L162.15,392.99L160.71,392.21L160.8,389.96L160.38,388.28L159.04,387.32L157.11,385.93L156.74,386.33L156.04,385.51L154.31,384.76L152.66,382.93L152.86,382.69L154.01,382.87L155.05,381.69L155.16,380.26L153,377.99L151.36,377.1L150.32,375.09L149.28,372.97L147.98,370.36L146.84,367.4L150.03,367.15L153.59,366.79L153.33,367.43L157.56,369.04L163.96,371.35L169.54,371.32L171.76,371.32L171.76,369.97L176.62,369.97L177.64,371.14L179.08,372.17L180.74,373.6L181.67,375.29L182.37,377.05L183.82,378.02L186.15,378.98L187.91,376.45L190.21,376.39L192.18,377.67L193.59,379.85L194.56,381.71L196.21,383.51L196.83,385.7L197.62,387.17L199.8,388.13L201.79,388.81z"}),f("path",{id:"MY",title:"Malaysia",d:"M758.65,446.07l0.22,1.44l1.85,-0.33l0.92,-1.15l0.64,0.26l1.66,1.69l1.18,1.87l0.16,1.88l-0.3,1.27l0.27,0.96l0.21,1.65l0.99,0.77l1.1,2.46l-0.05,0.94l-1.99,0.19l-2.65,-2.06l-3.32,-2.21l-0.33,-1.42l-1.62,-1.87l-0.39,-2.31l-1.01,-1.52l0.31,-2.04l-0.62,-1.19l0.49,-0.5L758.65,446.07zM807.84,450.9l-2.06,0.95l-2.43,-0.47l-3.22,0l-0.97,3.17l-1.08,0.97l-1.44,3.88l-2.29,0.59l-2.65,-0.78l-1.34,0.24l-1.63,1.41l-1.79,-0.2l-1.81,0.57l-1.92,-1.57l-0.47,-1.86l2.05,0.96l2.17,-0.52l0.56,-2.36l1.2,-0.53l3.36,-0.6l2.01,-2.21l1.38,-1.77l1.28,1.45l0.59,-0.95l1.34,0.09l0.16,-1.78l0.13,-1.38l2.16,-1.95l1.41,-2.19l1.13,-0.01l1.44,1.42l0.13,1.22l1.85,0.78l2.34,0.84l-0.2,1.1l-1.88,0.14L807.84,450.9z"}),f("path",{id:"MZ",title:"Mozambique",d:"M572.15,495.69L574.26,495.46L577.63,496.26L578.37,495.9L580.32,495.83L581.32,494.98L583,495.02L586.06,493.92L588.29,492.28L588.75,493.55L588.63,496.38L588.98,498.88L589.09,503.36L589.58,504.76L588.75,506.83L587.66,508.84L585.87,510.64L583.31,511.75L580.15,513.16L576.98,516.31L575.9,516.85L573.94,518.94L572.79,519.63L572.55,521.75L573.88,524L574.43,525.76L574.47,526.66L574.96,526.51L574.88,529.47L574.43,530.88L575.09,531.4L574.67,532.67L573.5,533.76L571.19,534.8L567.82,536.46L566.59,537.61L566.83,538.91L567.54,539.12L567.3,540.76L565.18,540.74L564.94,539.36L564.52,537.97L564.28,536.86L564.78,533.43L564.05,531.26L562.71,527L565.66,523.59L566.4,521.44L566.83,521.17L567.14,519.43L566.69,518.55L566.81,516.35L567.36,514.31L567.35,510.62L565.9,509.68L564.56,509.47L563.96,508.75L562.66,508.14L560.32,508.2L560.14,507.12L559.87,505.07L568.38,502.69L569.99,504.07L570.77,503.81L571.87,504.54L572.04,505.69L571.45,507.04L571.65,509.08L573.48,510.87L574.34,508.86L575.55,508.25L575.31,504.53L574.14,502.45L573.13,501.53L572.15,501.57L571.37,497.85z"}),f("path",{id:"NA",title:"Namibia",d:"M521.08,546.54L519,544.15L517.9,541.85L517.28,538.82L516.59,536.57L515.65,531.85L515.59,528.22L515.23,526.58L514.14,525.34L512.69,522.87L511.22,519.3L510.61,517.45L508.32,514.58L508.15,512.33L509.5,511.78L511.18,511.28L513,511.37L514.67,512.69L515.09,512.48L526.46,512.36L528.4,513.76L535.19,514.17L540.34,512.98L542.64,512.31L544.46,512.48L545.56,513.14L545.59,513.38L544.01,514.04L543.15,514.05L541.37,515.2L540.29,513.99L535.97,515.02L533.88,515.11L533.8,525.68L531.04,525.79L531.04,534.65L531.03,546.17L528.53,547.8L527.03,548.03L525.26,547.43L524,547.2L523.53,545.84L522.42,544.97z"}),f("path",{id:"NC",title:"New Caledonia",d:"M940.08,523.48L942.38,525.34L943.83,526.72L942.77,527.45L941.22,526.63L939.22,525.28L937.41,523.69L935.56,521.59L935.17,520.58L936.37,520.63L937.95,521.64L939.18,522.65z"}),f("path",{id:"NE",title:"Niger",d:"M481.29,429.88L481.36,427.93L478.12,427.28L478.04,425.9L476.46,424.03L476.08,422.72L476.3,421.32L478.1,421.21L479.14,420.18L482.96,419.93L485.45,419.48L485.69,417.69L487.23,415.75L487.22,409L491.17,407.68L499.29,401.83L508.9,396.08L513.33,397.39L514.91,399.05L516.89,397.93L517.58,402.6L518.63,403.38L518.68,404.33L519.84,405.35L519.23,406.63L518.15,412.61L518.01,416.4L514.43,419.14L513.22,422.94L514.39,424L514.38,425.85L516.18,425.92L515.9,427.26L515.11,427.43L515.02,428.33L514.49,428.4L512.6,425.27L511.94,425.15L509.75,426.75L507.58,425.92L506.07,425.75L505.26,426.15L503.61,426.07L501.96,427.29L500.53,427.36L497.14,425.88L495.81,426.58L494.38,426.53L493.33,425.45L490.51,424.38L487.5,424.72L486.77,425.34L486.38,426.99L485.57,428.14L485.38,430.68L483.24,429.04L482.23,429.05z"}),f("path",{id:"NG",title:"Nigeria",d:"M499.09,450.08L496.18,451.08L495.11,450.94L494.03,451.56L491.79,451.5L490.29,449.75L489.37,447.73L487.38,445.89L485.27,445.92L482.8,445.92L482.96,441.39L482.89,439.6L483.42,437.83L484.28,436.96L485.64,435.21L485.35,434.45L485.9,433.31L485.27,431.63L485.38,430.68L485.57,428.14L486.38,426.99L486.77,425.34L487.5,424.72L490.51,424.38L493.33,425.45L494.38,426.53L495.81,426.58L497.14,425.88L500.53,427.36L501.96,427.29L503.61,426.07L505.26,426.15L506.07,425.75L507.58,425.92L509.75,426.75L511.94,425.15L512.6,425.27L514.49,428.4L515.02,428.33L516.13,429.47L515.82,429.98L515.67,430.93L513.31,433.13L512.57,434.94L512.17,436.41L511.58,437.04L511.01,439.01L509.51,440.17L509.08,441.59L508.45,442.73L508.19,443.89L506.26,444.84L504.69,443.69L503.62,443.73L501.95,445.37L501.14,445.4L499.81,448.1z"}),f("path",{id:"NI",title:"Nicaragua",d:"M234.93,432.31L233.96,431.41L232.65,430.26L232.03,429.3L230.85,428.41L229.44,427.12L229.75,426.68L230.22,427.11L230.43,426.9L231.3,426.79L231.65,426.13L232.06,426.11L232,424.7L232.66,424.63L233.25,424.65L233.85,423.89L234.68,424.47L234.97,424.11L235.48,423.77L236.46,422.98L236.51,422.38L236.78,422.41L237.14,421.72L237.43,421.64L237.91,422.08L238.47,422.21L239.09,421.84L239.8,421.84L240.77,421.46L241.16,421.07L242.12,421.13L241.88,421.41L241.74,422.05L242.02,423.1L241.38,424.08L241.08,425.23L240.98,426.5L241.14,427.23L241.21,428.52L240.78,428.8L240.52,43
1240.02L240.71,430.77L240.13,431.5L240.27,432.26L240.69,432.73L240.02,433.33L239.2,433.14L238.73,432.56L237.84,432.32L237.2,432.69L235.35,431.94z"}),f("path",{id:"NL",title:"Netherlands",d:"M492.28,285.98L494.61,286.11L495.14,287.69L494.44,291.92L493.73,293.63L492.04,293.63L492.52,298.32L490.97,297.28L489.2,295.33L486.6,296.26L484.55,295.91L485.99,294.67L488.45,287.93z"}),f("path",{id:"NO",title:"Norway",d:"M554.23,175.61l8.77,6.24l-3.61,2.23l3.07,5.11l-4.77,3.19l-2.26,0.72l1.19,-5.59l-3.6,-3.25l-4.35,2.78l-1.38,5.85l-2.67,3.44l-3.01,-1.87l-3.66,0.38l-3.12,-4.15l-1.68,2.09l-1.74,0.32l-0.41,5.08l-5.28,-1.22l-0.74,4.22l-2.69,-0.03l-1.85,5.24l-2.8,7.87l-4.35,9.5l1.02,2.23l-0.98,2.55l-2.78,-0.11l-1.82,5.91l0.17,8.04l1.79,2.98l-0.93,6.73l-2.33,3.81l-1.24,3.15l-1.88,-3.35l-5.54,6.27l-3.74,1.24l-3.88,-2.71l-1,-5.86l-0.89,-13.26l2.58,-3.88l7.4,-5.18l5.54,-6.59l5.13,-9.3l6.74,-13.76l4.7,-5.67l7.71,-9.89l6.15,-3.59l4.61,0.44l4.27,-6.99l5.11,0.38L554.23,175.61z"}),f("path",{id:"NP",title:"Nepal",d:"M722.33,382.45L722.11,383.8L722.48,385.79L722.16,387.03L719.83,387.08L716.45,386.35L714.29,386.06L712.67,384.47L708.83,384.06L705.17,382.29L702.53,380.74L699.81,379.54L700.9,376.55L702.68,375.09L703.84,374.31L706.09,375.31L708.92,377.4L710.49,377.86L711.43,379.39L713.61,380.02L715.89,381.41L719.06,382.14z"}),f("path",{id:"NZ",title:"New Zealand",d:"M960.38,588.63l0.64,1.53l1.99,-1.5l0.81,1.57l0,1.57l-1.04,1.74l-1.83,2.8l-1.43,1.54l1.03,1.86l-2.16,0.05l-2.4,1.46l-0.75,2.57l-1.59,4.03l-2.2,1.8l-1.4,1.16l-2.58,-0.09l-1.82,-1.34l-3.05,-0.28l-0.47,-1.48l1.51,-2.96l3.53,-3.87l1.81,-0.73l2.01,-1.47l2.4,-2.01l1.68,-1.98l1.25,-2.81l1.06,-0.95l0.42,-2.07l1.97,-1.7L960.38,588.63zM964.84,571.61l2.03,3.67l0.06,-2.38l1.27,0.95l0.42,2.65l2.26,1.15l1.89,0.28l1.6,-1.35l1.42,0.41l-0.68,3.15l-0.85,2.09l-2.14,-0.07l-0.75,1.1l0.26,1.56l-0.41,0.68l-1.06,1.97l-1.39,2.53l-2.17,1.49l-0.48,-0.98l-1.17,-0.54l1.62,-3.04l-0.92,-2.01l-3.02,-1.45l0.08,-1.31l2.03,-1.25l0.47,-2.74l-0.13,-2.28l-1.14,-2.34l0.08,-0.61l-1.34,-1.43l-2.21,-3.04l-1.17,-2.41l1.04,-0.27l1.53,1.89l2.18,0.89L964.84,571.61z"}),f("path",{id:"OM",title:"Oman",d:"M640.29,403.18l-1.05,2.04l-1.27,-0.16l-0.58,0.71l-0.45,1.5l0.34,1.98l-0.26,0.36l-1.29,-0.01l-1.75,1.1l-0.27,1.43l-0.64,0.62l-1.74,-0.02l-1.1,0.74l0.01,1.18l-1.36,0.81l-1.55,-0.27l-1.88,0.98l-1.3,0.16l-0.92,-2.04l-2.19,-4.84l8.41,-2.96l1.87,-5.97l-1.29,-2.14l0.07,-1.22l0.82,-1.26l0.01,-1.25l1.27,-0.6l-0.5,-0.42l0.23,-2l1.43,-0.01l1.26,2.09l1.57,1.11l2.06,0.4l1.66,0.55l1.27,1.74l0.76,1l1,0.38l-0.01,0.67l-1.02,1.79l-0.45,0.84L640.29,403.18zM633.37,388.64L633,389.2l-0.53,-1.06l0.82,-1.06l0.35,0.27L633.37,388.64z"}),f("path",{id:"PA",title:"Panama",d:"M256.88,443.21L255.95,442.4L255.35,440.88L256.04,440.13L255.33,439.94L254.81,439.01L253.41,438.23L252.18,438.41L251.62,439.39L250.48,440.09L249.87,440.19L249.6,440.78L250.93,442.3L250.17,442.66L249.76,443.08L248.46,443.22L247.97,441.54L247.61,442.02L246.68,441.86L246.12,440.72L244.97,440.54L244.24,440.21L243.04,440.21L242.95,440.82L242.63,440.4L242.78,439.84L243.01,439.27L242.9,438.76L243.32,438.42L242.74,438L242.72,436.87L243.81,436.62L244.81,437.63L244.75,438.23L245.87,438.35L246.14,438.12L246.91,438.82L248.29,438.61L249.48,437.9L251.18,437.33L252.14,436.49L253.69,436.65L253.58,436.93L255.15,437.03L256.4,437.52L257.31,438.36L258.37,439.14L258.03,439.56L258.68,441.21L258.15,442.05L257.24,441.85z"}),f("path",{id:"PE",title:"Peru",d:"M280.13,513.14L279.38,514.65L277.94,515.39L275.13,513.71L274.88,512.51L269.33,509.59L264.3,506.42L262.13,504.64L260.97,502.27L261.43,501.44L259.06,497.69L256.29,492.45L253.65,486.83L252.5,485.54L251.62,483.48L249.44,481.64L247.44,480.51L248.35,479.26L246.99,476.59L247.86,474.64L250.1,472.87L250.43,474.04L249.63,474.7L249.7,475.72L250.86,475.5L252,475.8L253.17,477.21L254.76,476.06L255.29,474.18L257.01,471.75L260.38,470.65L263.44,467.73L264.31,465.92L263.92,463.81L264.67,463.54L266.53,464.86L267.42,466.18L268.72,466.9L270.37,469.82L272.46,470.17L274.01,469.43L275.02,469.91L276.7,469.67L278.85,470.98L277.04,473.82L277.88,473.88L279.28,475.37L276.75,475.24L276.38,475.66L274.08,476.19L270.88,478.1L270.67,479.4L269.96,480.38L270.24,481.89L268.54,482.7L268.54,483.89L267.8,484.4L268.97,486.93L270.53,488.65L269.94,489.86L271.8,490.02L272.86,491.53L275.33,491.6L277.63,489.94L277.44,494.24L278.72,494.57L280.3,494.08L282.73,498.66L282.12,499.62L281.99,501.64L281.93,504.08L280.83,505.52L281.34,506.59L280.69,507.56L281.9,510z"}),f("path",{id:"PG",title:"Papua New Guinea",d:"M912.32,482.42l-0.79,0.28l-1.21,-1.08l-1.23,-1.78l-0.6,-2.13l0.39,-0.27l0.3,0.83l0.85,0.63l1.36,1.77l1.32,0.95L912.32,482.42zM901.39,478.67l-1.47,0.23l-0.44,0.79l-1.53,0.68l-1.44,0.66l-1.49,0l-2.3,-0.81l-1.6,-0.78l0.23,-0.87l2.51,0.41l1.53,-0.22l0.42,-1.34l0.4,-0.07l0.27,1.49l1.6,-0.21l0.79,-0.96l1.57,-1l-0.31,-1.65l1.68,-0.05l0.57,0.46l-0.06,1.55L901.39,478.67zM887.96,484.02l2.5,1.84l1.82,2.99l1.61,-0.09l-0.11,1.25l2.17,0.48l-0.84,0.53l2.98,1.19l-0.31,0.82l-1.86,0.2l-0.69,-0.73l-2.41,-0.32l-2.83,-0.43l-2.18,-1.8l-1.59,-1.55l-1.46,-2.46l-3.66,-1.23l-2.38,0.8l-1.71,0.93l0.36,2.08l-2.2,0.97l-1.57,-0.47l-2.9,-0.12l-0.05,-9.16l-0.05,-9.1l4.87,1.92l5.18,1.6l1.93,1.43l1.56,1.41l0.43,1.65l4.67,1.73l0.68,1.49l-2.58,0.3L887.96,484.02zM904.63,475.93l-0.88,0.74l-0.53,-1.65l-0.65,-1.08l-1.27,-0.91l-1.6,-1.19l-2.02,-0.82l0.78,-0.67l1.51,0.78l0.95,0.61l1.18,0.67l1.12,1.17l1.07,0.89L904.63,475.93z"}),f("path",{id:"PH",title:"Philippines",d:"M829.59,439.86l0.29,1.87l0.17,1.58l-0.96,2.57l-1.02,-2.86l-1.31,1.42l0.9,2.06l-0.8,1.31l-3.3,-1.63l-0.79,-2.03l
1240.86,-1.33l-1.78,-1.33l-0.88,1.17l-1.32,-0.11l-2.08,1.57l-0.46,-0.82l1.1,-2.37l1.77,-0.79l1.53,-1.06l0.99,1.27l2.13,-0.77l0.46,-1.26l1.98,-0.08l-0.17,-2.18l2.27,1.34l0.24,1.42L829.59,439.86zM822.88,434.6l-1.01,0.93l-0.88,1.79l-0.88,0.84l-1.73,-1.95l0.58,-0.76l0.7,-0.79l0.31,-1.76l1.55,-0.17l-0.45,1.91l2.08,-2.74L822.88,434.6zM807.52,437.32l-3.73,2.67l1.38,-1.97l2.03,-1.74l1.68,-1.96l1.47,-2.82l0.5,2.31l-1.85,1.56L807.52,437.32zM817,430.02l1.68,0.88l1.78,0l-0.05,1.19l-1.3,1.2l-1.78,0.85l-0.1,-1.32l0.2,-1.45L817,430.02zM827.14,429.25l0.79,3.18l-2.16,-0.75l0.06,0.95l0.69,1.75l-1.33,0.63l-0.12,-1.99l-0.84,-0.15l-0.44,-1.72l1.65,0.23l-0.04,-1.08l-1.71,-2.18l2.69,0.06L827.14,429.25zM816,426.66l-0.74,2.47l-1.2,-1.42l-1.43,-2.18l2.4,0.1L816,426.66zM815.42,410.92l1.73,0.84l0.86,-0.76l0.25,0.75l-0.46,1.22l0.96,2.09l-0.74,2.42l-1.65,0.96l-0.44,2.33l0.63,2.29l1.49,0.32l1.24,-0.34l3.5,1.59l-0.27,1.56l0.92,0.69l-0.29,1.32l-2.18,-1.4l-1.04,-1.5l-0.72,1.05l-1.79,-1.72l-2.55,0.42l-1.4,-0.63l0.14,-1.19l0.88,-0.73l-0.84,-0.67l-0.36,1.04l-1.38,-1.65l-0.42,-1.26l-0.1,-2.77l1.13,0.96l0.29,-4.55l0.91,-2.66L815.42,410.92z"}),f("path",{id:"PL",title:"Poland",d:"M517.36,296.97L516.21,294.11L516.43,292.55L515.73,290.1L514.72,288.45L515.5,287.2L514.84,284.81L516.76,283.42L521.13,281.2L524.67,279.56L527.46,280.38L527.67,281.56L530.38,281.62L533.83,282.17L538.99,282.09L540.43,282.61L541.1,284.07L541.22,286.16L542,287.94L541.98,289.79L540.3,290.73L541.17,292.85L541.22,294.86L542.63,298.75L542.33,299.99L540.94,300.5L538.39,304.11L539.11,306.03L538.5,305.78L535.84,304.14L533.82,304.74L532.5,304.3L530.84,305.22L529.43,303.7L528.27,304.28L528.11,304.02L526.82,301.89L524.74,301.63L524.47,300.26L522.55,299.77L522.13,300.9L520.61,300L520.78,298.79L518.69,298.4z"}),f("path",{id:"PK",title:"Pakistan",d:"M685.99,351.76L688.06,353.39L688.89,356.05L693.5,357.44L690.79,360.3L687.67,360.81L683.41,359.98L682.04,361.44L683.03,364.39L684,366.64L686.27,368.27L683.88,370.18L683.92,372.51L681.2,375.75L679.44,379.01L676.51,382.33L673.25,382.09L670.16,385.39L672,386.79L672.32,389.18L673.89,390.74L674.45,393.38L668.28,393.37L666.41,395.41L664.36,394.64L663.52,392.44L661.35,390.1L656.19,390.68L651.63,390.73L647.68,391.17L648.74,387.57L652.78,385.96L652.55,384.52L651.21,384.01L651.13,381.24L648.45,379.84L647.32,377.91L645.94,376.23L650.63,377.87L653.44,377.39L655.11,377.79L655.68,377.09L657.63,377.37L661.28,376.04L661.38,373.29L662.94,371.45L665.03,371.45L665.33,370.54L667.48,370.11L668.51,370.41L669.61,369.49L669.46,367.51L670.65,365.51L672.43,364.66L671.33,362.44L674,362.55L674.77,361.33L674.65,360.03L676.05,358.6L675.72,356.9L675.06,355.44L676.7,353.93L679.71,353.2L682.93,352.8L684.35,352.15z"}),f("path",{id:"PR",title:"Puerto Rico",d:"M289.41,410.89L290.84,411.15L291.35,411.73L290.63,412.47L288.52,412.45L286.88,412.55L286.72,411.3L287.11,410.87z"}),f("path",{id:"PS",title:"Palestinian Territories",d:"M574.92,367.87L574.92,369.88L574.5,370.84L573.18,371.29L573.31,370.43L574.02,369.97L573.32,369.61L573.9,367.41z"}),f("path",{id:"PT",title:"Portugal",d:"M449.92,334.56L450.94,333.61L452.08,333.06L452.79,334.9L454.44,334.89L454.92,334.42L456.56,334.55L457.34,336.43L456.04,337.43L456.01,340.31L455.55,340.84L455.44,342.56L454.23,342.86L455.35,345.03L454.58,347.38L455.54,348.44L455.16,349.4L454.12,350.72L454.35,351.88L453.23,352.79L451.75,352.3L450.3,352.68L450.73,349.94L450.47,347.76L449.21,347.43L448.54,346.08L448.77,343.72L449.88,342.41L450.08,340.94L450.67,338.73L450.6,337.16L450.04,335.82z"}),f("path",{id:"PY",title:"Paraguay",d:"M299.49,526.99L300.6,523.4L300.67,521.8L302.01,519.18L306.9,518.32L309.5,518.37L312.12,519.88L312.16,520.79L312.99,522.45L312.81,526.51L315.77,527.09L316.91,526.5L318.8,527.32L319.33,528.22L319.59,530.99L319.92,532.17L320.96,532.3L322.01,531.81L323.02,532.36L323.02,534.04L322.64,535.86L322.09,537.64L321.63,540.39L319.09,542.79L316.87,543.29L313.72,542.81L310.9,541.96L313.66,537.23L313.25,535.86L310.37,534.66L306.94,532.4L304.65,531.94z"}),f("path",{id:"QA",title:"Qatar",d:"M617.72,392.16L617.53,389.92L618.29,388.3L619.05,387.96L619.9,388.93L619.95,390.74L619.34,392.55L618.56,392.77z"}),f("path",{id:"RO",title:"Romania",d:"M538.93,310.86L540.14,309.97L541.88,310.43L543.67,310.45L544.97,311.46L545.93,310.82L548,310.42L548.71,309.44L549.89,309.45L550.74,309.85L551.61,311.09L552.5,312.84L554.12,315.28L554.21,317.07L553.91,318.79L554.42,320.62L555.67,321.35L556.98,320.71L558.26,321.39L558.32,322.42L556.96,323.26L556.
12411,322.9L555.33,327.61L553.68,327.2L551.64,325.79L548.34,326.69L546.95,327.68L542.83,327.48L540.67,326.87L539.59,327.16L538.78,325.56L538.27,324.88L538.92,324.22L538.22,323.73L537.34,324.61L535.71,323.47L535.49,321.84L533.78,320.9L533.47,319.63L531.95,318.05L534.2,317.29L535.89,314.53L537.22,311.73z"}),f("path",{id:"RS",title:"Serbia",d:"M533.78,320.9L535.49,321.84L535.71,323.47L537.34,324.61L538.22,323.73L538.92,324.22L538.27,324.88L538.78,325.56L538.09,326.44L538.34,327.86L539.7,329.52L538.63,330.71L538.16,331.92L538.47,332.37L538,332.91L536.71,332.97L535.75,333.19L535.66,332.91L535.99,332.46L536.31,331.53L535.91,331.55L535.36,330.85L534.9,330.67L534.54,330.06L534.01,329.82L533.61,329.28L533.11,329.5L532.72,330.76L532.05,331.04L532.28,330.71L531.21,329.92L530.29,329.51L529.88,328.97L529.14,328.31L529.8,328.14L530.21,326.32L528.86,324.82L529.56,323.1L528.54,323.11L529.62,321.62L528.73,320.48L528.05,318.93L530.2,317.88L531.95,318.05L533.47,319.63z"}),f("path",{id:"RU",title:"Russia",d:"M1008.27,215.75l-2.78,2.97l-4.6,0.7l-0.07,6.46l-1.12,1.35l-2.63,-0.19l-2.14,-2.26l-3.73,-1.92l-0.63,-2.89l-2.85,-1.1l-3.19,0.87l-1.52,-2.37l0.61,-2.55l-3.36,1.64l1.26,3.19l-1.59,2.83l-0.02,0.04l-3.6,2.89l-3.63,-0.48l2.53,3.44l1.67,5.2l1.29,1.67l0.33,2.53l-0.72,1.6l-5.23,-1.32l-7.84,4.51l-2.49,0.69l-4.29,4.1l-4.07,3.5l-1.03,2.55l-4.01,-3.9l-7.31,4.42l-1.28,-2.08l-2.7,2.39l-3.75,-0.76l-0.9,3.63l-3.36,5.22l0.1,2.14l3.19,1.17l-0.38,7.46l-2.6,0.19l-1.2,4.15l1.17,2.1l-4.9,2.47l-0.97,5.4l-4.18,1.14l-0.84,4.66l-4.04,4.18l-1.04,-3.08l-1.2,-6.69l-1.56,-10.65l1.35,-6.95l2.37,-3.07l0.15,-2.44l4.36,-1.18l5.01,-6.78l4.83,-5.73l5.04,-4.57l2.25,-8.37l-3.41,0.51l-1.68,4.92l-7.11,6.36l-2.3,-7.14l-7.24,2l-7.02,9.56l2.32,3.38l-6.26,1.42l-4.33,0.56l0.2,-3.95l-4.36,-0.84l-3.47,2.7l-8.57,-0.94l-9.22,1.62l-9.08,10.33l-10.75,11.78l4.42,0.61l1.38,3l2.72,1.05l1.79,-2.38l3.08,0.31l4.05,5.19l0.09,3.92l-2.19,4.51l-0.24,5.27l-1.26,6.85l-4.23,6.01l-0.94,2.82l-3.81,4.66l-3.78,4.53l-1.81,2.28l-3.74,2.25l-1.77,0.05l-1.76,-1.86l-3.76,2.79l-0.44,1.26l-0.39,-0.66l-0.02,-1.93l1.43,-0.1l0.4,-4.55l-0.74,-3.36l2.41,-1.4l3.4,0.7l1.89,-3.89l0.96,-4.46l1.09,-1.51l1.47,-3.76l-4.63,1.24l-2.43,1.65l-4.26,0l-1.13,-3.95l-3.32,-3.03l-4.88,-1.38l-1.04,-4.28l-0.98,-2.73l-1.05,-1.94l-1.73,-4.61l-2.46,-1.71l-4.2,-1.39l-3.72,0.13l-3.48,0.84l-2.32,2.31l1.54,1.1l0.04,2.52l-1.56,1.45l-2.53,4.72l0.03,1.93l-3.95,2.74l-3.37,-1.63l-3.35,0.36l-1.47,-1.46l-1.68,-0.47l-4.11,3.06l-3.69,0.71l-2.58,1.06l-3.53,-0.7l-2.6,0.04l-1.7,-2.2l-2.75,-2.09l-2.81,-0.58l-3.55,0.57l-2.65,0.81l-3.98,-1.84l-0.53,-3.32l-3.3,-1.15l-2.54,-0.53l-3.14,-1.87l-2.9,4.66l1.14,2.6l-2.73,3.03l-4.05,-1.09l-2.8,-0.16l-1.87,-2.04l-2.92,-0.06l-2.44,-1.35l-4.26,2.07l-5.35,3.74l-2.96,0.74l-1.1,0.35l-1.49,-2.63l-3.61,0.58l-1.19,-1.84l-1.96,-0.85l-1.35,-2.55l-1.55,-0.8l-4.03,1.14l-3.86,-2.57l-1.49,2.33l-6.27,-11.58l-3.58,-3.66l1.03,-1.5l-7.03,4.49l-2.69,0.27l0.23,-2.58l-3.6,-1.63l-2.93,1.17l-0.88,-5.01l-5.04,-1.06l-2.52,2.03l-7.02,1.79l-1.37,1.19l-10.49,1.66l-1.29,1.62l2.02,3.21l-2.69,1.2l0.53,1.25l-2.69,2.22l4.54,3.1l-0.7,2.11l-3.94,-0.19l-0.81,1.31l-3.59,-2.29l-4.45,0.09l-2.98,1.87l-3.32,-1.79l-6.18,-3.1l-4.38,0.12l-5.79,4.85l-0.35,3.19l-2.88,-2.53l-2.24,4.77l0.82,0.87l-1.62,3.21l2.38,2.84l2.08,-0.12l1.79,2.76l-0.28,2.1l1.42,0.66l-1.28,2.39l-2.72,0.66l-2.79,4.09l2.55,3.7l-0.28,2.59l3.06,4.46l-1.67,1.51l-0.48,0.95l-1.24,-0.25l-1.93,-2.27l-0.79,-0.13l-1.76,-0.87l-0.86,-1.55l-2.62,-0.79l-1.7,0.6l-0.49,-0.71l-3.82,-1.83l-4.13,-0.62l-2.37,-0.66l-0.34,0.45l-3.57,-3.27l-3.2,-1.48l-2.42,-2.32l2.04,-0.64l2.33,-3.35l-1.57,-1.6l4.13,-1.67l-0.07,-0.9l-2.52,0.66l0.09,-1.83l1.45,-1.16l2.71,-0.31l0.44,-1.4l-0.62,-2.33l1.14,-2.23l-0.03,-1.26l-4.13,-1.41l-1.64,0.05l-1.73,-2.04l-2.15,0.69l-3.56,-1.54l0.06,-0.87l-1,-1.93l-2.24,-0.22l-0.23,-1.39l0.7,-0.91l-1.79,-2.58l-2.91,0.44l-0.85,-0.23l-0.71,1.04l-1.05,-0.18l-0.69,-2.94l-0.66,-1.54l0.54,-0.44l2.26,0.16l1.09,-1.02l-0.81,-1.25l-1.89,-0.83l0.17,-0.86l-1.14,-0.87l-1.76,-3.15l0.6,-1.31l-0.27,-2.31l-2.74,-1.18l-1.47,0.59l-0.4,-1.24l-2.95,-1.26l-0.9,-2.99l-0.24,-2.49l-1.35,-1.19l1.2,-1.66l-0.83,-4.96l2,-3.13l-0.42,-0.96l3.19,-3.07l-2.94,-2.68l6,-7.41l2.6,-3.45l1.05,-3.1l-4.15,-4.26l1.15,-4.15l-2.52,-4.85l1.89,-5.76l-3.26,-7.96l2.59,-5.48l-4.29,-4.99l0.41,-5.4l2.26,-0.72l4.77,-3.19l2.89,-2.81l4.61,4.86l7.68,1.88l10.59,8.65l2.15,3.51l0.19,4.8l-3.11,3.69l-4.58,1.85l-12.52,-5.31l-2.06,0.9l4.57,5.1l0.18,3.15l0.18,6.75l3.61,1.97l2.19,1.66l0.36,-3.11l-1.69,-2.8l1.78,-2.51l6.78,4.1l2.36,-1.59l-1.89,-4.88l6.53,-6.74l2.59,0.4l2.62,2.43l1.63,-4.81l-2.34,-4.28l1.37,-4.41l-2.06,-4.69l7.84,2.44l1.6,4.18l-3.55,0.91l0.02,4.04l2.21,2.44l4.33,-1.54l0.69,-4.61l5.86,-3.52l9.79,-6.54l2.11,0.38l-2.76,4.64l3.48,0.78l2.01,-2.58l5.25,-0.21l4.16,-3.19l3.2,4.62l3.19,-5.09l-2.94,-4.58l1.46,-2.66l8.28,2.44l3.88,2.49l10.16,8.8l1.88,-3.97l-2.85,-4.11l-0.08,-1.68l-3.38,-0.78l0.92,-3.83l-1.5,-6.49l-0.08,-2.74l5.17,-7.99l1.84,-8.42l2.08,-1.88l7.42,2.51l0.58,5.18l-2.66,7.28l1.74,2.78l0.9,5.94l-0.64,11.07l3.09,4.73l-1.2,5.01l-5.49,10.2l3.21,1.02l1.12,-2.51l3.08,-1.82l0.74,-3.55l2.43,-3.49l-1.63,-4.26l1.31,-5.08l-3.07,-0.64l-0.67,-4.42l2.24,-8.28l-3.64,-7.03l5.
12402,-6.04l-0.65,-6.62l1.4,-0.22l1.47,5.19l-1.11,8.67l3,1.59l-1.28,-6.37l4.69,-3.58l5.82,-0.49l5.18,5.18l-2.49,-7.62l-0.28,-10.28l4.88,-2.02l6.74,0.44l6.08,-1.32l-2.28,-5.38l3.25,-7.02l3.22,-0.3l5.45,-5.51l7.4,-1.51l0.94,-3.15l7.36,-1.08l2.29,2.61l6.29,-6.24l5.15,0.2l0.77,-5.24l2.68,-5.33l6.62,-5.31l4.81,4.21l-3.82,3.13l6.35,1.92l0.76,6.03l2.56,-2.94l8.2,0.16l6.32,5.84l2.25,4.35l-0.7,5.85l-3.1,3.24l-7.37,5.92l-2.11,3.08l3.48,1.43l4.15,2.55l2.52,-1.91l1.43,6.39l1.23,-2.56l4.48,-1.57l9,1.65l0.68,4.58l11.72,1.43l0.16,-7.47l5.95,1.74l4.48,-0.05l4.53,5.14l1.29,6.04l-1.66,3.84l3.52,6.98l4.41,3.49l2.71,-9.18l4.5,4l4.78,-2.38l5.43,2.72l2.07,-2.47l4.59,1.24l-2.02,-8.4l3.7,-4.07l25.32,6.06l2.39,5.35l7.34,6.65l11.32,-1.62l5.58,1.41l2.33,3.5l-0.34,6.02l3.45,2.29l3.75,-1.64l4.97,-0.21l5.29,1.57l5.31,-0.89l4.88,6.99l3.47,-2.48l-2.27,-5.07l1.25,-3.62l8.95,2.29l5.83,-0.49l8.06,3.84l3.92,3.44l6.87,5.86l7.35,7.34l-0.24,4.44l1.89,1.74l-0.65,-5.15l7.61,1.07L1008.27,215.75zM880.84,306.25l-2.82,-7.68l-1.16,-4.51l0.07,-4.5l-0.97,-4.5l-0.73,-3.15l-1.25,0.67l1.11,2.21l-2.59,2.17l-0.25,6.3l1.64,4.41l-0.12,5.85l-0.65,3.24l0.32,4.54l-0.31,4.01l0.52,3.4l1.84,-3.13l2.13,2.44l0.08,-2.84l-2.73,-4.23l1.72,-6.11L880.84,306.25zM537.82,278.77l-2.94,-0.86l-3.87,1.58l-0.64,2.13l3.45,0.55l5.16,-0.07l-0.22,-1.23l0.3,-1.33L537.82,278.77zM979.95,178.65l3.66,-0.52l2.89,-2.06l0.24,-1.19l-4.06,-2.51l-2.38,-0.02l-0.36,0.37l-3.57,3.64l0.5,2.73L979.95,178.65zM870.07,151.56l-2.66,3.92l0.49,0.52l5.75,1.08l4.25,-0.07l-0.34,-2.57l-3.98,-3.81L870.07,151.56zM894.64,142.03l3.24,-4.25l-7.04,-2.88l-5.23,-1.68l-0.67,3.59l5.21,4.27L894.64,142.03zM869.51,140.34l10.33,0.3l2.21,-8.14l-10.13,-6.07l-7.4,-0.51l-3.7,2.18l-1.51,7.75l5.55,7.01L869.51,140.34zM622.39,166.28l-2.87,1.96l0.41,4.83l5.08,2.35l0.74,3.82l9.16,1.1l1.66,-0.74l-5.36,-7.11l-0.57,-7.52l4.39,-9.14l4.18,-9.82l8.71,-10.17l8.56,-5.34l9.93,-5.74l1.88,-3.71l-1.95,-4.83l-5.46,1.6l-4.8,4.49l-9.33,2.22l-9.26,7.41l-6.27,5.85l0.76,4.87l-6.71,9.03l2.58,1.22l-5.56,8.27L622.39,166.28zM769.87,98.34l0.83,-5.72l-7.11,-8.34l-2.11,-0.98l-2.3,1.7l-5.12,18.6L769.87,98.34zM605.64,69.03l3.04,3.88l3.28,-2.69l0.39,-2.72l2.52,-1.27l3.76,-2.23l1.08,-2.62l-4.16,-3.85l-2.64,2.9l-1.61,4.12l-0.57,-4.65l-4.26,0.21L601,63.25l6.24,0.52L605.64,69.03zM736.89,82.07l4.65,5.73l7.81,4.2l6.12,-1.8l0.69,-13.62l-6.46,-16.04l-5.45,-9.02l-6.07,4.11l-7.28,11.83l3.83,3.27L736.89,82.07z"}),f("path",{id:"RW",title:"Rwanda",d:"M560.54,466.55L561.66,468.12L561.49,469.76L560.69,470.11L559.2,469.93L558.34,471.52L556.63,471.3L556.89,469.77L557.28,469.56L557.38,467.9L558.19,467.12L558.87,467.41z"}),f("path",{id:"SA",title:"Saudi Arabia",d:"M595.2,417.22L594.84,415.98L593.99,415.1L593.77,413.93L592.33,412.89L590.83,410.43L590.04,408.02L588.1,405.98L586.85,405.5L584.99,402.65L584.67,400.57L584.79,398.78L583.18,395.42L581.87,394.23L580.35,393.6L579.43,391.84L579.58,391.15L578.8,389.55L577.98,388.86L576.89,386.54L575.18,384.02L573.75,381.86L572.36,381.87L572.79,380.13L572.92,379.02L573.26,377.74L576.38,378.25L577.6,377.27L578.27,376.11L580.41,375.67L580.87,374.58L581.8,374.04L579,370.78L584.62,369.13L585.15,368.64L588.53,369.53L592.71,371.82L600.61,378.31L605.82,378.57L608.32,378.88L609.02,380.39L611,380.31L612.1,383.04L613.48,383.75L613.96,384.86L615.87,386.17L616.04,387.46L615.76,388.49L616.12,389.53L616.92,390.4L617.3,391.41L617.72,392.16L618.56,392.77L619.34,392.55L619.87,393.72L619.98,394.43L621.06,397.51L629.48,399.03L630.05,398.39L631.33,400.53L629.46,406.5L621.05,409.46L612.97,410.59L610.35,411.91L608.34,414.98L607.03,415.46L606.33,414.49L605.26,414.64L602.55,414.35L602.03,414.05L598.8,414.12L598.04,414.39L596.89,413.63L596.14,415.06L596.43,416.29z"}),f("path",{id:"SB",title:"Solomon Islands",d:"M929.81,492.75l0.78,0.97l-1.96,-0.02l-1.07,-1.74l1.67,0.69L929.81,492.75zM926.26,491.02l-1.09,0.06l-1.72,-0.29l-0.59,-0.44l0.18,-1.12l1.85,0.44l0.91,0.59L926.26,491.02zM928.58,490.25l-0.42,0.52l-2.08,-2.45l-0.58,-1.68h0.95l1.01,2.25L928.58,490.25zM923.52,486.69l0.12,0.57l-2.2,-1.19l-1.54,-1.01l-1.05,-0.94l0.42,-0.29l1.29,0.67l2.3,1.29L923.52,486.69zM916.97,483.91l-0.56,0.16l-1.23,-0.64l-1.15,-1.15l0.14,-0.47l1.67,1.18L916.97,483.91z"}),f("path",{id:"SD",title:"Sudan",d:"M570.48,436.9L570.09,436.85L570.14,435.44L569.8,434.47L568.36,433.35L568.02,431.3L568.36,429.2L567.06,429.01L566.87,429.64L565.18,429.79L565.86,430.62L566.1,432.33L564.56,433.89L563.16,435.93L561.72,436.22L559.36,434.57L558.3,435.15L558.01,435.98L556.57,436.51L556.47,437.09L553.68,437.09L553.29,436.51L551.27,436.41L550.26,436.9L549.49,436.65L548.05,435L547.57,434.23L545.54,434.62L544.77,435.93L544.05,438.45L543.09,438.98L542.23,439.29L542,439.15L541.03,438.34L540.85,437.47L541.3,436.29L541.3,435.14L539.68,433.37L539.36,432.15L539.39,431.46L538.36,430.63L538.33,428.97L537.75,427.87L536.76,428.04L537.04,426.99L537.77,425.79L537.45,424.61L538.37,423.73L537.79,423.06L538.53,421.28L539.81,419.15L542.23,419.35L542.09,407.74L542.13,406.5L545.35,406.49L545.35,400.53L556.62,400.53L567.5,400.53L578.62,400.53L579.52,403.47L578.91,404.01L579.32,407.07L580.35,410.59L581.41,411.32L582.95,412.4L581.53,414.07L579.46,414.55L578.58,415.45L578.31,417.38L577.1,421.63L577.4,422.78L576.95,425.25L575.81,428.06L574.12,429.48L572.92,431.65L572.63,432.81L571.31,433.61L570.48,436.57z"}),f("path",{id:"SE",title:"Sweden",d:"M537.45,217.49L534.73,222.18L535.17,226.2L530.71,231.33L525.3,236.67L523.25,245.08L525.25,249.15L527.93,252.29L525.36,258.52L522.44,259.78L521.37,268.62L519.78,273.38L516.38,272.89L514.79,276.84L511.54,277.07L510.65,272.36L508.3,266.55L506.17,259.05L507.41,255.9L509.74,252.09L510.67,245.36L508.88,242.38L508.7,234.34L510.53,228.43L513.31,228.54L514.28,225.99L513.26,223.76L517.61,214.26L520.42,206.39L522.27,201.15L524.96,201.17L525.71,196.96L530.99,198.18L531.4,193.1L533.14,192.77L536.88,196.58L541.25,201.73L541.33,212.85L542.27,215.55z"}),f("path",{id:"SI",title:"Slovenia",d:"M513.96,316.51L516.28,316.82L517.7,315.9L520.15,315.8L520.68,315.11L521.15,315.16L521.7,316.53
124L519.47,317.61L519.19,319.23L518.22,319.64L518.23,320.76L517.13,320.68L516.18,320.03L515.66,320.71L513.71,320.57L514.33,320.21L513.66,318.5z"}),f("path",{id:"SJ",title:"Svalbard and Jan Mayen",d:"M544.58,104.49l-6.26,5.36l-4.95,-3.02l1.94,-3.42l-1.69,-4.34l5.81,-2.78l1.11,5.18L544.58,104.49zM526.43,77.81l9.23,11.29l-7.06,5.66l-1.56,10.09l-2.46,2.49l-1.33,10.51l-3.38,0.48l-6.03,-7.64l2.54,-4.62l-4.2,-3.86l-5.46,-11.82l-2.18,-11.79l7.64,-5.69l1.54,5.56l3.99,-0.22l1.06,-5.43l4.12,-0.56L526.43,77.81zM546.6,66.35l5.5,5.8l-4.16,8.52l-8.13,1.81l-8.27,-2.56l-0.5,-4.32l-4.02,-0.28l-3.07,-7.48l8.66,-4.72l4.07,4.08l2.84,-5.09L546.6,66.35z"}),f("path",{id:"SK",title:"Slovakia",d:"M528.11,304.02L528.27,304.28L529.43,303.7L530.84,305.22L532.5,304.3L533.82,304.74L535.84,304.14L538.5,305.78L537.73,306.89L537.18,308.6L536.58,309.03L533.58,307.75L532.66,308L532,309L530.68,309.52L530.38,309.25L529.02,309.9L527.9,310.03L527.68,310.87L525.32,311.38L524.29,310.92L522.86,309.85L522.58,308.4L522.81,307.86L523.2,306.93L524.45,307L525.4,306.56L525.48,306.17L526.02,305.96L526.2,304.99L526.84,304.8L527.28,304.03z"}),f("path",{id:"SL",title:"Sierra Leone",d:"M443.18,444.44L442.42,444.23L440.41,443.1L438.95,441.6L438.46,440.57L438.11,438.49L439.61,437.25L439.93,436.46L440.41,435.85L441.19,435.79L441.84,435.26L444.08,435.26L444.86,436.27L445.47,437.46L445.38,438.28L445.83,439.02L445.8,440.05L446.57,439.89L445.26,441.2L444,442.73L443.85,443.54z"}),f("path",{id:"SN",title:"Senegal",d:"M428.39,425.16L427.23,422.92L425.83,421.9L427.07,421.35L428.43,419.32L429.09,417.83L430.05,416.9L431.45,417.15L432.81,416.52L434.38,416.49L435.72,417.34L437.58,418.11L439.28,420.24L441.13,422.22L441.26,424.01L441.81,425.65L442.86,426.46L443.1,427.56L442.97,428.45L442.56,428.61L441.04,428.39L440.83,428.7L440.21,428.77L438.19,428.07L436.84,428.04L431.66,427.92L430.91,428.24L429.98,428.15L428.49,428.62L428.03,426.43L430.58,426.49L431.26,426.09L431.76,426.06L432.8,425.4L434,426.01L435.22,426.06L436.43,425.41L435.87,424.59L434.94,425.07L434.07,425.06L432.97,424.35L432.08,424.4L431.44,425.07z"}),f("path",{id:"SO",title:"Somalia",d:"M618.63,430.43L618.56,429.64L617.5,429.65L616.17,430.63L614.68,430.91L613.39,431.33L612.5,431.39L610.9,431.49L609.9,432.01L608.51,432.2L606.04,433.08L602.99,433.41L600.34,434.14L598.95,434.13L597.69,432.94L597.14,431.77L596.23,431.24L595.19,432.76L594.58,433.77L595.62,435.33L596.65,436.69L597.72,437.7L606.89,441.04L609.25,441.02L601.32,449.44L597.67,449.56L595.17,451.53L593.38,451.58L592.61,452.46L590.16,455.63L590.19,465.78L591.85,468.07L592.48,467.41L593.13,465.95L596.2,462.57L598.81,460.45L603.01,457.69L605.81,455.43L609.11,451.62L611.5,448.49L613.91,444.39L615.64,440.8L616.99,437.65L617.78,434.6L618.38,433.58L618.37,432.08z"}),f("path",{id:"SR",title:"Suriname",d:"M315.02,446.72L318.38,447.28L318.68,446.77L320.95,446.57L323.96,447.33L322.5,449.73L322.72,451.64L323.83,453.3L323.34,454.5L323.09,455.77L322.37,456.94L320.77,456.35L319.44,456.64L318.31,456.39L318.03,457.2L318.5,457.75L318.25,458.32L316.72,458.09L315.01,455.67L314.64,454.1L313.75,454.09L312.5,452.07L313.02,450.62L312.87,449.97L314.57,449.24z"}),f("path",{id:"SS",title:"South Sudan",d:"M570.48,436.9L570.51,439.1L570.09,439.96L568.61,440.03L567.65,441.64L569.37,441.84L570.79,443.21L571.29,444.33L572.57,444.98L574.22,448.03L572.32,449.87L570.6,451.54L568.87,452.82L566.9,452.82L564.64,453.47L562.86,452.84L561.71,453.61L559.24,451.75L558.57,450.56L557.01,451.15L555.71,450.96L554.96,451.43L553.7,451.1L552.01,448.79L551.56,447.9L549.46,446.79L548.75,445.11L547.58,443.9L545.7,442.44L545.67,441.52L544.14,440.39L542.23,439.29L543.09,438.98L544.05,438.45L544.77,435.93L545.54,434.62L547.57,434.23L548.05,435L549.49,436.65L550.26,436.9L551.27,436.41L553.29,436.51L553.68,437.09L556.47,437.09L556.57,436.51L558.01,435.98L558.3,435.15L559.36,434.57L561.72,436.22L563.16,435.93L564.56,433.89L566.1,432.33L565.86,430.62L565.18,429.79L566.87,429.64L567.06,429.01L568.36,429.2L568.02,431.3L568.36,433.35L569.8,434.47L570.14,435.44L570.09,436.85z"}),f("path",{id:"SV",title:"El Salvador",d:"M229.09,425.76L228.78,426.43L227.16,426.39L226.15,426.12L224.99,425.55L223.43,425.37L222.64,424.75L222.73,424.33L223.69,423.61L224.21,423.29L224.06,422.95L224.72,422.78L225.55,423.02L226.15,423.59L227,424.05L227.1,424.44L228.33,424.1L228.91,424.3L229.29,424.61z"}),f("path",{id:"SY",title:"Syria",d:"M584.02,364.6L578.53,368.14L575.41,366.82L575.35,366.8L575.73,366.3L575.69,364.93L576.38,363.1L577.91,361.83L577.45,360.51L576.19,360.33L575.93,357.72L576.61,356.31L577.36,355.56L578.11,354.8L578.27,352.86L579.18,353.54L582.27,352.57L583.76,353.22L586.07,353.21L589.29,351.9L590.81,351.96L594,351.42L592.56,353.6L591.02,354.46L591.29,356.98L590.23,361.1z"}),f("path",{id:"SZ",title:"Swaziland",d:"M565.18,540.74L564.61,542.13L562.97,542.46L561.29,540.77L561.27,539.69L562.03,538.52L562.3,537.62L563.11,537.4L564.52,537.97L564.94,539.36z"}),f("path",{id:"TD",title:"Chad",d:"M515.9,427.26L516.18,425.92L514.38,425.85L514.39,424L513.22,422.94L514.43,419.14L518.01,416.4L518.15,412.61L519.23,406.63L519.84,405.35L518.68,404.33L518.63,403.38L517.58,402.6L516.89,397.93L519.72,396.27L530.91,402.04L542.09,407.74L542.23,419.35L539.81,419.15L538.53,421.28L537.79,423.06L538.37,423.73L537.45,424.61L537.77,425.79L537.04,426.99L536.76,428.04L537.75,427.87L538.33,428.97L538.36,430.63L539.39,431.46L539.36,432.15L537.59,432.64L536.16,433.78L534.14,436.87L531.5,438.18L528.79,438L528,438.26L528.28,439.25L526.81,440.24L525.62,441.34L522.09,442.41L521.39,441.78L520.93,441.72L520.41,442.44L518.09,442.66L518.53,441.89L517.65,439.96L517.25,438.79L516.03,438.31L514.38,436.66L514.99,435.33L516.27,435.61L517.06,435.41L518.62,435.44L517.1,432.87L517.2,430.98L517.01,429.09z"}),f("path",{id:"TF",title:"French Southern and Antarctic Lands",d:"M668.54,619.03L670.34,620.36L672.99,620.9L673.09,621.71L672.31,623.67L668,623.95L667.93,621.66L668.35,619.9z"}),f("path",{id:"TG",title:"Togo",d:"M480.48,446.25L478.23,446.84L477.6,445.86L476.85,444.08L476.63,442.68L477.25,440.15L476.55,439.12L476.28,436.9L476.28,434.85L475.11,433.39L475.32,432.5L477.78,432.56L477.42,434.06L478.27,434.89L479.25,435.88L479.35,437.27L479.92,437.85L479.79,444.31z"}),f("path",{id:"TH",title:"Thailand",d:"M762.89,429.18L760.37,427.87L757.97,427.93L758.38,425.68L755.91,425.7L755.69,428.84L754.18,432.99L753.27,435.49L753.46,437.54L755.28,437.63L756.42,440.2L756.93,442.63L758.49,444.24L760.19,444.57L761.64,446.02L760.73,447.17L758.87,447.51L758.65,446.07L756.37,444.84L755.88,445.34L754.77,444.27L754.29,442.88L752.8,441.29L751.44,439.96L750.98,441.61L750.45,440.05L750.76,438.29L751.58,435.58L752.94,432.67L754.48,430.02L753.38,427.42L753.43,426.09L753.11,424.49L751.24,422.21L750.57,420.76L751.54,420.23L752.56,417.71L751.42,415.79L749.64,413.66L748.28,411.09L749.46,410.56L750.74,407.37L
124752.72,407.23L754.36,405.95L755.96,405.26L757.18,406.18L757.34,407.96L759.23,408.09L758.54,411.2L758.61,413.82L761.56,412.08L762.4,412.59L764.05,412.51L764.61,411.49L766.73,411.69L768.86,414.07L769.04,416.94L771.31,419.47L771.18,421.91L770.27,423.21L767.64,422.8L764.02,423.35L762.22,425.73z"}),f("path",{id:"TJ",title:"Tajikistan",d:"M674.37,340.62L673.34,341.75L670.29,341.14L670.02,343.24L673.06,342.96L676.53,344.13L681.83,343.58L682.54,346.91L683.46,346.55L685.16,347.36L685.07,348.74L685.49,350.75L682.59,350.75L680.66,350.49L678.92,352.06L677.67,352.4L676.69,353.14L675.58,351.99L675.85,349.04L675,348.87L675.3,347.78L673.79,346.98L672.58,348.21L672.28,349.64L671.85,350.16L670.17,350.09L669.27,351.69L668.32,351.02L666.29,352.14L665.44,351.72L667.01,348.15L666.41,345.49L664.35,344.63L665.08,343.04L667.42,343.21L668.75,341.2L669.64,338.85L673.39,337.99L672.81,339.7L673.21,340.72z"}),f("path",{id:"TL",title:"Timor-Leste",d:"M825.65,488.25L825.98,487.59L828.39,486.96L830.35,486.86L831.22,486.51L832.28,486.86L831.25,487.62L828.33,488.85L825.98,489.67L825.93,488.81z"}),f("path",{id:"TM",title:"Turkmenistan",d:"M646.88,356.9L646.63,353.99L644.54,353.87L641.34,350.78L639.1,350.39L636,348.6L634,348.27L632.77,348.93L630.9,348.83L628.91,350.85L626.44,351.53L625.92,349.04L626.33,345.31L624.14,344.09L624.86,341.61L623,341.39L623.62,338.3L626.26,339.21L628.73,338.02L626.68,335.79L625.88,333.65L623.62,334.61L623.34,337.34L622.46,334.93L623.7,333.68L626.88,332.89L628.78,333.95L630.74,336.88L632.18,336.7L635.34,336.65L634.88,334.77L637.28,333.47L639.64,331.27L643.42,333.27L643.72,336.26L644.79,337.03L647.82,336.86L648.76,337.53L650.14,341.32L653.35,343.83L655.18,345.52L658.11,347.27L661.84,348.79L661.76,350.95L660.92,350.84L659.59,349.9L659.15,351.15L656.79,351.83L656.23,354.62L654.65,355.67L652.44,356.19L651.85,357.74L649.74,358.2z"}),f("path",{id:"TN",title:"Tunisia",d:"M501.84,374.69L500.64,368.83L498.92,367.5L498.89,366.69L496.6,364.71L496.35,362.18L498.08,360.3L498.74,357.48L498.29,354.2L498.86,352.41L501.92,351L503.88,351.42L503.8,353.19L506.18,351.9L506.38,352.57L504.97,354.28L504.96,355.88L505.93,356.73L505.56,359.69L503.71,361.4L504.24,363.23L505.69,363.29L506.4,364.88L507.47,365.4L507.31,367.95L505.94,368.9L505.08,369.95L503.15,371.21L503.45,372.56L503.21,373.94z"}),f("path",{id:"TR",title:"Turkey",d:"M578.75,336.6l4.02,1.43l3.27,-0.57l2.41,0.33l3.31,-1.94l2.99,-0.18l2.7,1.83l0.48,1.3l-0.27,1.79l2.08,0.91l1.1,1.06l-1.92,1.03l0.88,4.11l-0.55,1.1l1.53,2.82l-1.34,0.59l-0.98,-0.89l-3.26,-0.45l-1.2,0.55l-3.19,0.54l-1.51,-0.06l-3.23,1.31l-2.31,0.01l-1.49,-0.66l-3.09,0.97l-0.92,-0.68l-0.15,1.94l-0.75,0.76l-0.75,0.76l-1.03,-1.57l1.06,-1.3l-1.71,0.3l-2.35,-0.8l-1.93,2l-4.26,0.39l-2.27,-1.86l-3.02,-0.12l-0.65,1.44l-1.94,0.41l-2.71,-1.85l-3.06,0.06l-1.66,-3.48l-2.05,-1.96l1.36,-2.78l-1.78,-1.72l3.11,-3.48l4.32,-0.15l1.18,-2.81l5.34,0.49l3.37,-2.42l3.27,-1.06l4.64,-0.08L578.75,336.6zM551.5,338.99l-2.34,1.98l-0.88,-1.71l0.04,-0.76l0.67,-0.41l0.87,-2.33l-1.37,-0.99l2.86,-1.18l2.41,0.5l0.33,1.44l2.45,1.2l-0.51,0.91l-3.33,0.2L551.5,338.99z"}),f("path",{id:"TT",title:"Trinidad and Tobago",d:"M302.31,433.24L303.92,432.87L304.51,432.97L304.4,435.08L302.06,435.39L301.55,435.14L302.37,434.36z"}),f("path",{id:"TW",title:"Taiwan",d:"M816.7,393.27L815.01,398.14L813.81,400.62L812.33,398.07L812.01,395.82L813.66,392.82L815.91,390.5L817.19,391.41z"}),f("path",{id:"TZ",title:"Tanzania",d:"M570.31,466.03L570.79,466.34L580.95,472.01L581.15,473.63L585.17,476.42L583.88,479.87L584.04,481.46L585.84,482.48L585.92,483.21L585.15,484.91L585.31,485.76L585.13,487.11L586.11,488.87L587.27,491.66L588.29,492.28L586.06,493.92L583,495.02L581.32,494.98L580.32,495.83L578.37,495.9L577.63,496.26L574.26,495.46L572.15,495.69L571.37,491.83L570.42,490.51L569.85,489.73L567.11,489.21L565.51,488.36L563.73,487.89L562.61,487.41L561.44,486.7L559.93,483.15L558.3,481.58L557.74,479.96L558.02,478.5L557.52,475.93L558.68,475.8L559.69,474.79L560.79,473.33L561.48,472.75L561.45,471.84L560.85,471.21L560.69,470.11L561.49,469.76L561.66,468.12L560.54,466.55L561.53,466.21L564.6,466.25z"}),f("path",{id:"UA",title:"Ukraine",d:"M564.38,292.49L565.42,292.68L566.13,291.64L566.98,291.87L569.89,291.43L571.68,294L570.98,294.92L571.21,296.31L573.45,296.52L574.45,298.45L574.39,299.32L577.95,300.86L580.1,300.17L581.83,302.21L583.47,302.17L587.6,303.57L587.63,304.84
124L586.5,307.07L587.11,309.4L586.67,310.79L583.96,311.1L582.52,312.26L582.43,314.09L580.19,314.42L578.32,315.74L575.7,315.95L573.28,317.47L571.96,318.5L573.45,319.97L574.82,320.93L577.68,320.69L577.13,322.11L574.06,322.79L570.25,325.06L568.7,324.27L569.31,322.42L566.25,321.26L566.75,320.49L569.91,318.86L569.51,318.05L569.06,318.46L568.62,318.24L564.26,317.22L564.07,315.71L561.47,316.21L560.43,318.44L558.26,321.39L556.98,320.71L555.67,321.35L554.42,320.62L555.12,320.18L555.61,318.81L556.38,317.52L556.18,316.8L556.77,316.48L557.04,317.04L558.7,317.15L559.44,316.86L558.92,316.44L559.11,315.84L558.13,314.8L557.73,313.08L556.71,312.41L556.91,311L555.64,309.88L554.49,309.72L552.42,308.41L550.56,308.83L549.89,309.45L548.71,309.44L548,310.42L545.93,310.82L544.98,311.46L543.67,310.45L541.88,310.43L540.14,309.97L538.93,310.86L538.73,309.74L537.18,308.6L537.73,306.89L538.5,305.79L539.12,306.03L538.39,304.11L540.94,300.5L542.33,299.99L542.63,298.75L541.22,294.86L542.56,294.69L544.1,293.46L546.27,293.36L549.1,293.72L552.23,294.8L554.44,294.89L555.49,295.54L556.54,294.76L557.28,295.81L559.81,295.59L560.92,296.02L561.11,293.76L561.97,292.76z"}),f("path",{id:"UG",title:"Uganda",d:"M564.6,466.25L561.53,466.21L560.54,466.55L558.87,467.41L558.19,467.12L558.21,465.02L558.86,463.96L559.02,461.72L559.61,460.43L560.68,458.97L561.76,458.23L562.66,457.24L561.54,456.87L561.71,453.61L562.86,452.84L564.64,453.47L566.9,452.82L568.87,452.82L570.6,451.54L571.93,453.48L572.26,454.88L573.49,458.08L572.47,460.11L571.09,461.95L570.29,463.08L570.31,466.03z"}),f("path",{id:"US",title:"United States",d:"M109.25,279.8L109.25,279.8l-1.54,-1.83l-2.47,-1.57l-0.79,-4.36l-3.61,-4.13l-1.51,-4.94l-2.69,-0.34l-4.46,-0.
12413l-3.29,-1.54l-5.8,-5.64l-2.68,-1.05l-4.9,-1.99l-3.88,0.48l-5.51,-2.59l-3.33,-2.43l-3.11,1.21l0.58,3.93l-1.55,0.36l-3.24,1.16l-2.47,1.86l-3.11,1.16l-0.4,-3.24l1.26,-5.53l2.98,-1.77l-0.77,-1.46l-3.57,3.22l-1.91,3.77l-4.04,3.95l2.05,2.65l-2.65,3.85l-3.01,2.21l-2.81,1.59l-0.69,2.29l-4.38,2.63l-0.89,2.36l-3.28,2.13l-1.92,-0.38l-2.62,1.38l-2.85,1.67l-2.33,1.63l-4.81,1.38l-0.44,-0.81l3.07,-2.27l2.74,-1.51l2.99,-2.71l3.48,-0.56l1.38,-2.06l3.89,-3.05l0.63,-1.03l2.07,-1.83l0.48,-4l1.43,-3.17l-3.23,1.64l-0.9,-0.93l-1.52,1.95l-1.83,-2.73l-0.76,1.94l-1.05,-2.7l-2.8,2.17l-1.72,0l-0.24,-3.23l0.51,-2.02l-1.81,-1.98l-3.65,1.07l-2.37,-2.63l-1.92,-1.36l-0.01,-3.25l-2.16,-2.48l1.08,-3.41l2.29,-3.37l1,-3.15l2.27,-0.45l1.92,0.99l2.26,-3.01l2.04,0.54l2.14,-1.96l-0.52,-2.92l-1.57,-1.16l2.08,-2.52l-1.72,0.07l-2.98,1.43l-0.85,1.43l-2.21,-1.43l-3.97,0.73l-4.11,-1.56l-1.18,-2.65l-3.55,-3.91l3.94,-2.87l6.25,-3.41h2.31l-0.38,3.48l5.92,-0.27l-2.28,-4.34l-3.45,-2.72l-1.99,-3.64l-2.69,-3.17l-3.85,-2.38l1.57,-4.03l4.97,-0.25l3.54,-3.58l0.67,-3.92l2.86,-3.91l2.73,-0.95l5.31,-3.76l2.58,0.57l4.31,-4.61l4.24,1.83l2.03,3.87l1.25,-1.65l4.74,0.51l-0.17,1.95l4.29,1.43l2.86,-0.84l5.91,2.64l5.39,0.78l2.16,1.07l3.73,-1.34l4.25,2.46l3.05,1.13l-0.02,27.65l-0.01,35.43l2.76,0.17l2.73,1.56l1.96,2.44l2.49,3.6l2.73,-3.05l2.81,-1.79l1.49,2.85l1.89,2.23l2.57,2.42l1.75,3.79l2.87,5.88l4.77,3.2l0.08,3.12L109.25,279.8zM285.18,314.23l-1.25,-1.19l-1.88,0.7l-0.93,-1.
12408l-2.14,3.1l-0.86,3.15l-1,1.82l-1.19,0.62l-0.9,0.2l-0.28,0.98l-5.17,0l-4.26,0.03l-1.27,0.73l-2.87,2.73l0.29,0.54l0.17,1.51l-2.1,1.27l-2.3,-0.32l-2.2,-0.14l-1.33,0.44l0.25,1.15l0,0l0.05,0.37l-2.42,2.27l-2.11,1.09l-1.44,0.51l-1.66,1.03l-2.03,0.5l-1.4,-0.19l-1.73,-0.77l0.96,-1.45l0.62,-1.32l1.32,-2.09l-0.14,-1.57l-0.5,-2.24l-1.04,-0.39l-1.74,1.7l-0.56,-0.03l-0.14,-0.97l1.54,-1.56l0.26,-1.79l-0.23,-1.79l-2.08,-1.55l-2.38,-0.8l-0.39,1.52l-0.62,0.4l-0.5,1.95l-0.26,-1.33l-1.12,0.95l-0.7,1.32l-0.73,1.92l-0.14,1.64l0.93,2.38l-0.08,2.51l-1.14,1.84l-0.57,0.52l-0.76,0.41l-0.95,0.02l-0.26,-0.25l-0.76,-1.98l-0.02,-0.98l0.08,-0.94l-0.35,-1.87l0.53,-2.18l0.63,-2.71l1.46,-3.03l-0.42,0.01l-2.06,2.54l-0.38,-0.46l1.1,-1.42l1.67,-2.57l1.91,-0.36l2.19,-0.8l2.21,0.42l0.09,0.02l2.47,-0.36l-1.4,-1.61l-0.75,-0.13l-0.86,-0.16l-0.59,-1.14l-2.75,0.36l-2.49,0.9l-1.97,-1.55l-1.59,-0.52l0.9,-2.17l-2.48,1.37l-2.25,1.33l-2.16,1.04l-1.72,-1.4l-2.81,0.85l0.01,-0.6l1.9,-1.73l1.99,-1.65l2.86,-1.37l-3.45,-1.09l-2.27,0.55l-2.72,-1.3l-2.86,-0.67l-1.96,-0.26l-0.87,-0.72l-0.5,-2.35l-0.95,0.02l-0.01,1.64l-5.8,0l-9.59,0l-9.53,0l-8.42,0h-8.41h-8.27h-8.55h-2.76h-8.32h-7.96l0.95,3.47l0.45,3.41l-0.69,1.09l-1.49,-3.91l-4.05,-1.42l-0.34,0.82l0.82,1.94l0.89,3.53l0.51,5.42l-0.34,3.59l-0.34,3.54l-1.1,3.61l0.9,2.9l0.1,3.2l-0.61,3.05l1.49,1.99l0.39,2.95l2.17,2.99l1.24,1.17l-0.1,0.82l2.34,4.85l2.72,3.45l0.34,1.87l0.71,0.55l2.6,0.33l1,0.91l1.57,0.17l0.31,0.96l1.31,0.4l1.82,1.92l0.47,1.7l3.19,-0.25l3.56,-0.36l-0.26,0.65l4.23,1.6l6.4,2.31l5.58,-0.02l2.22,0l0.01,-1.35l4.86,0l1.02,1.16l1.43,1.03l1.67,1.43l0.93,1.69l0.7,1.77l1.45,0.97l2.33,0.96l1.77,-2.53l2.29,-0.06l1.98,1.28l1.41,2.18l0.97,1.86l1.65,1.8l0.62,2.19l0.79,1.47l2.19,0.96l1.99,0.68l1.09,-0.09l-0.53,-1.06l-0.14,-1.5l0.03,-2.16l0.65,-1.42l1.53,-1.51l2.79,-1.37l2.55,-2.37l2.36,-0.75l1.74,-0.23l2.04,0.74l2.45,-0.4l2.09,1.69l2.03,0.1l1.05,-0.61l1.04,0.47l0.53,-0.42l-0.6,-0.63l0.05,-1.3l-0.5,-0.86l1.16,-0.5l2.14,-0.22l2.49,0.36l3.17,-0.41l1.76,0.8l1.36,1.5l0.5,0.16l2.83,-1.46l1.09,0.49l2.19,2.68l0.79,1.75l-0.58,2.1l0.42,1.23l1.3,2.4l1.49,2.68l1.07,0.71l0.44,1.35l1.38,0.37l0.84,-0.39l0.7,-1.89l0.12,-1.21l0.09,-2.1l-1.33,-3.65l-0.02,-1.37l-1.25,-2.25l-0.94,-2.75l-0.5,-2.25l0.43,-2.31l1.32,-1.94l1.58,-1.57l3.08,-2.16l0.4,-1.12l1.42,-1.23l1.4,-0.22l1.84,-1.98l2.9,-1.01l1.78,-2.53l-0.39,-3.46l-0.29,-1.21l-0.8,-0.24l-0.12,-3.35l-1.93,-1.14l1.85,0.56l-0.6,-2.26l0.54,-1.55l0.33,2.97l1.43,1.36l-0.87,2.4l0.26,0.14l1.58,-2.81l0.9,-1.38l-0.04,-1.35l-0.7,-0.64l-0.58,-1.94l0.92,0.9l0.62,0.19l0.21,0.92l2.04,-2.78l0.61,-2.62l-0.83,-0.17l0.85,-1.02l-0.08,0.45l1.79,-0.01l3.93,-1.11l-0.83,-0.7l-4.12,0.7l2.34,-1.07l1.63,-0.18l1.22,-0.19l2.07,-0.65l1.35,0.07l1.89,-0.61l0.22,-1.07l-0.84,-0.84l0.29,1.37l-1.16,-0.09l-0.93,-1.99l0.03,-2.01l0.48,-0.86l1.48,-2.28l2.96,-1.15l2.88,-1.34l2.99,-1.9l-0.48,-1.29l-1.83,-2.25L285.18,314.23zM45.62,263.79l-1.5,0.8l-2.55,1.86l0.43,2.42l1.43,1.32l2.8,-1.95l2.43,-2.47l-1.19,-1.63L45.62,263.79zM0,235.22l2.04,-1.26l0.23,-0.68L0,232.61V235.22zM8.5,250.59l-2.77,0.97l1.7,1.52l1.84,1.04l1.72,-0.87l-0.27,-2.15L8.5,250.59zM105.85,283.09l-2.69,0.38l-1.32,-0.62l-0.17,1.52l0.52,2.07l1.42,1.46l1.04,2.13l1.69,2.1l1.12,0.01l-2.44,-3.7L105.85,283.09zM37.13,403.77l-1,-0.28l-0.27,0.26l0.02,0.19l0.32,0.24l0.48,0.63l0.94,-0.21l0.23,-0.36L37.13,403.77zM34.14,403.23l1.5,0.09l0.09,-0.32l-1.38,-0.13L34.14,403.23zM40.03,406.52l-0.5,-0.26l-1.07,-0.5l-0.21,-0.06l-0.16,0.28l0.19,0.58l-0.49,0.48l-0.14,0.33l0.46,1.08l-0.08,0.83l0.7,0.42l0.41,-0.49l0.9,-0.46l1.1,-0.63l0.07,-0.16l-0.71,-1.04L40.03,406.52zM32.17,401.38l-0.75,0.41l0.11,0.12l0.36,0.68l0.98,0.11l0.2,0.04l0.15,-0.17l-0.81,-0.99L32.17,401.38zM27.77,399.82l-0.43,0.3l-0.15,0.22l0.94,0.55l0.33,-0.3l-0.06,-0.7L27.77,399.82z"}),f("path",{id:"UY",title:"Uruguay",d:"M313.68,551.79L315.5,551.45L318.31,553.95L319.35,553.86L322.24,555.94L324.44,557.76L326.06,560.01L324.82,561.58L325.6,563.48L324.39,565.6L321.22,567.48L319.15,566.8L317.63,567.17L315.04,565.71L313.14,565.82L311.43,563.95L311.65,561.79L312.26,561.05L312.23,557.75L312.98,554.38z"}),f("path",{id:"UZ",title:"Uzbekistan",d:"M661.76,350.95L661.84,348.79L658.11,347.27L655.18,345.52L653.35,343.83L650.14,341.32L648.76,337.53L647.82,336.86L644.79,337.03L643.72,336.26L643.42,333.27L639.64,331.27L637.28,333.47L634.88,334.77L635.34,336.65L632.18,336.7L632.07,322.57L639.29,320.22L639.81,320.57L644.16,323.41L646.45,324.89L649.13,328.39L652.42,327.83L657.23,327.53L660.58,330.33L660.37,334.13L661.74,334.16L662.31,337.22L665.88,337.34L666.64,339.09L667.69,339.07L668.92,336.42L672.61,333.81L674.22,333.11L675.05,333.48L672.7,335.91L674.77,337.31L676.77,336.38L680.09,338.34L676.5,340.98L674.37,340.62L673.21,340.72L672.81,339.7L673.39,337.99L669.64,338.85L668.75,341.2L667.42,343.21L665.08,343.04L664.35,344.63L666.41,345.49L667.01,348.15L665.44,351.72L663.32,350.98z"}),f("path",{id:"VE",title:"Venezuela",d:"M275.25,430.35L275.17,431.02L273.52,431.35L274.44,432.64L274.4,434.13L273.17,435.77L274.23,438.01L275.44,437.83L276.07,435.79L275.2,434.79L275.06,432.65L278.55,431.49L278.16,430.15L279.14,429.25L280.15,431.25L282.12,431.3L283.94,432.88L284.05,433.82L286.56,433.84L289.56,433.55L291.17,434.82L293.31,435.17L294.88,434.29L294.91,433.57L298.39,433.4L301.75,433.36L299.37,434.2L300.32,435.54L302.57,435.75L304.69,437.14L305.14,439.4L306.6,439.33L307.7,440L305.48,441.65L305.23,442.68L306.19,443.72L305.5,444.24L303.77,444.69L303.83,445.99L303.07,446.76L304.96,448.88L305.34,449.67L304.31,450.74L301.17,451.78L299.16,452.22L298.35,452.88L296.12,452.18L294.04,451.82L293.52,452.08L294.77,452.8L294.66,454.67L295.05,456.43L297.42,456.67L297.58,457.25L295.57,458.05L295.25,459.23L294.09,459.68L292.01,460.33L291.47,461.19L289.29,461.37L287.74,459.89L286.89,457.12L286.14,456.14L285.12,455.53L286.54,454.14L286.45,453.51L285.65,452.68L285.09,450.83L285.31,448.82L285.93,447.88L286.44,446.38L285.45,445.89L283.85,446.21L281.83,446.06L280.7,446.36L278.72,443.95L277.09,443.59L273.49,443.86L272.82,442.88L272.13,442.65L272.03,442.06L272.36,441.02L272.14,439.89L271.52,439.27L271.16,437.97L269.72,437.79L270.49,436.13L270.84,434.12L271.65,433.06L272.74,432.25L273.45,430.83z"}),f("path",{id:"VN",title:"Vietnam",d:"M778.21,401.87L774.47,404.43L772.13,407.24L771.51,409.29L773.66,412.38L776.28,416.2L778.82,417.99L780.53,420.32L781.81,425.64L781.43,430.66L779.1,432.53L775.88,434.36L773.6,43
1246.72L770.1,439.34L769.08,437.53L769.87,435.62L767.79,434.01L770.22,432.87L773.16,432.67L771.93,430.94L776.64,428.75L776.99,425.33L776.34,423.41L776.85,420.53L776.14,418.49L774.02,416.47L772.25,413.9L769.92,410.44L766.56,408.68L767.37,407.61L769.16,406.84L768.07,404.25L764.62,404.22L763.36,401.5L761.72,399.13L763.23,398.39L765.46,398.41L768.19,398.06L770.58,396.44L771.93,397.58L774.5,398.13L774.05,399.87L775.39,401.09z"}),f("path",{id:"VU",title:"Vanuatu",d:"M945.87,509.9l-0.92,0.38l-0.94,-1.27l0.1,-0.78L945.87,509.9zM943.8,505.46l0.46,2.33l-0.75,-0.36l-0.58,0.16l-0.4,-0.8l-0.06,-2.21L943.8,505.46z"}),f("path",{id:"YE",title:"Yemen",d:"M624.16,416.33L622.13,417.12L621.59,418.4L621.52,419.39L618.73,420.61L614.25,421.96L611.74,423.99L610.51,424.14L609.67,423.97L608.03,425.17L606.24,425.72L603.89,425.87L603.18,426.03L602.57,426.78L601.83,426.99L601.4,427.72L600.01,427.66L599.11,428.04L597.17,427.9L596.44,426.23L596.52,424.66L596.07,423.81L595.52,421.69L594.71,420.5L595.27,420.36L594.98,419.04L595.32,418.48L595.2,417.22L596.43,416.29L596.14,415.06L596.89,413.63L598.04,414.39L598.8,414.12L602.03,414.05L602.55,414.35L605.26,414.64L606.33,414.49L607.03,415.46L608.34,414.98L610.35,411.91L612.97,410.59L621.05,409.46L623.25,414.3z"}),f("path",{id:"ZA",title:"South Africa",d:"M563.63,548.71l-0.55,0.46l-1.19,1.63l-0.78,1.66l-1.59,2.33l-3.17,3.38l-1.98,1.98l-2.12,1.51l-2.93,1.3l-1.43,0.17l-0.36,0.93l-1.7,-0.5l-1.39,0.64l-3.04,-0.65l-1.7,0.41l-1.16,-0.18l-2.89,1.33l-2.39,0.54l-1.73,1.28l-1.28,0.08l-1.19,-1.21l-0.95,-0.06l-1.21,-1.51l-0.13,0.47l-0.37,-0.91l0.02,-1.96l-0.91,-2.23l0.9,-0.6l-0.07,-2.53l-1.84,-3.05l-1.41,-2.74l0,-0.01l-2.01,-4.15l1.34,-1.57l1.11,0.87l0.47,1.36l1.26,0.23l1.76,0.6l1.51,-0.23l2.5,-1.63l0,-11.52l0.76,0.46l1.66,2.93l-0.26,1.89l0.63,1.1l2.01,-0.32l1.4,-1.39l1.33,-0.93l0.69,-1.48l1.37,-0.72l1.18,0.38l1.34,0.87l2.28,0.15l1.79,-0.72l0.28,-0.96l0.49,-1.47l1.53,-0.25l0.84,-1.15l0.93,-2.03l2.52,-2.26l3.97,-2.22l1.14,0.03l1.36,0.51l0.94,-0.36l1.49,0.3l1.34,4.26l0.73,2.17l-0.5,3.43l0.24,1.11l-1.42,-0.57l-0.81,0.22l-0.26,0.9l-0.77,1.17l0.03,1.08l1.67,1.7l1.64,-0.34l0.57,-1.39l2.13,0.03l-0.7,2.28l-0.33,2.62l-0.73,1.43L563.63,548.71zM556.5,547.75l-1.22,-0.98l-1.31,0.65l-1.52,1.25l-1.5,2.03l2.1,2.48l1,-0.32l0.52,-1.03l1.56,-0.5l0.48,-1.05l0.86,-1.56L556.5,547.75z"}),f("path",{id:"ZM",title:"Zambia",d:"M567.11,489.21L568.43,490.47L569.14,492.87L568.66,493.64L568.1,495.94L568.64,498.3L567.76,499.29L566.91,501.95L568.38,502.69L559.87,505.07L560.14,507.12L558.01,507.52L556.42,508.67L556.08,509.68L555.07,509.9L552.63,512.3L551.08,514.19L550.13,514.26L549.22,513.92L546.09,513.6L545.59,513.38L545.56,513.14L544.46,512.48L542.64,512.31L540.34,512.98L538.51,511.16L536.62,508.78L536.75,499.62L542.59,499.66L542.35,498.67L542.77,497.6L542.28,496.27L542.6,494.89L542.3,494.01L543.27,494.08L543.43,494.96L544.74,494.89L546.52,495.15L547.46,496.44L549.7,496.84L551.42,495.94L552.05,497.43L554.2,497.83L555.23,499.05L556.38,500.62L558.53,500.65L558.29,497.57L557.52,498.08L555.56,496.98L554.8,496.47L555.15,493.62L555.65,490.27L555.02,489.02L555.82,487.22L556.57,486.89L560.34,486.41L561.44,486.7L562.61,487.41L563.73,487.89L565.51,488.36z"}),f("path",{id:"ZW",title:"Zimbabwe",d:"M562.71,527L561.22,526.7L560.27,527.06L558.92,526.55L557.78,526.52L555.99,525.16L553.82,524.7L553,522.8L552.99,521.75L551.79,521.43L548.62,518.18L547.73,516.47L547.17,515.95L546.09,513.6L549.22,513.92L550.13,514.26L551.08,514.19L552.63,512.3L555.07,509.9L556.08,509.68L556.42,508.67L558.01,507.52L560.14,507.12L560.32,508.2L562.66,508.14L563.96,508.75L564.56,509.47L565.9,509.68L567.35,510.62L567.36,514.31L566.81,516.35L566.69,518.55L567.14,519.43L566.83,521.17L566.4,521.44L565.66,523.59z"})],-1)])],512))}}),v1=Object.assign(g1,{__name:"DashboardMapVector"}),b1=()=>{const y=(g,n)=>{let l=1/(n-g);return l=l===1/0?1:l,l},z=g=>{let n,l;return g.forEach(e=>{const i=e.percentage;(i<n||n===void 0)&&(n=i),(i>l||l===void 0)&&(l=i)}),{min:n,max:l}};return{getDynamicMapVariables:g=>{const{min:n,max:l}=z(g),e=y(n,l),i={};return g.forEach(d=>{const m=d.percentage,c=e*m+.2;i[`--map-${d.code}-opacity`]=c}),i},getCombinedCssString:(g,n)=>(n.push(g),n.join(" "))}},y1={class:"flex flex-col gap-2 p-4 w-52"},_1={class:"text-base flex items-center gap-3"},w1={class:"text-4xl font-numbers"},x1={class:"text-sm text-muted"},k1=yt({__name:"DashboardMap",props:{countries:{},loading:{type:Boolean}},setup(y){const z=y,{countries:a,loading:x}=Kt(z),{getDynamicMapVariables:g}=b1(),n=ft(""),{prettyNumber:l,getFlagIcon:e}=Pt(),i=ft(null),d=ft(!1),m=ft(null),c=ft(null),v=H(()=>a.value?.rows?.find(p=>p.code===m.value)||{icon:e(m.value),label:c.value,code:m.value,uniques:0,percentage:0}),r=()=>{a.value&&(n.value=g(a.value?.rows??[]))},h=(p,_,k)=>{i.value=p,m.value=_,c.value=k,d.value=!0},o=()=>{d.value=!1},u=p=>{};return Jt(()=>{r()}),At(a,()=>{r()}),(p,_)=>{const k=v1,C=Ft,M=Z4;return q(),nt("div",null,[A(k,{style:Xt(s(n)),onMouseenter:h,onMouseleave:o,onMousemove:u},null,8,["style"]),A(M,{open:s(d),"onUpdate:open":_[0]||(_[0]=T=>Yt(d)?d.value=T:null),reference:s(i)},{content:X(()=>[f("div",y1,[f("div",_1,[s(v)?.icon?(q(),ot(C,{key:0,name:s(v).icon,class:"w-[1.3333em] h-[1em] rounded-xs ring-1 ring-default"},null,8,["name"])):mt("",!0),ht(" "+ut(s(v)?.label),1)]),f("div",w1,ut(s(l)(s(v)?.uniques)),1),f("div",x1," Unique visitors "+ut((s(v)?.percentage*100).toFixed(1))+"% ",1)])]),_:1},8,["open","reference"])])}}}),S1=Object.assign(k1,{__name:"DashboardMap"}),z1={class:"text-sm text-muted"},C1={key:0,class:"text-3xl font-numbers"},M1=yt({__name:"DashboardDeviceMobile",props:{pipTop:{type:Boolean},hidePip:{type:Boolean},percentage:{},label:{},aspect:{},width:{},loading:{type:Boolean}},setup(y){const z=y,{loading:a}=Kt(z);return(x,g)=>{const n=Hl,l=Zl;return q(),ot(l,{class:"pcard [--spotlight-color:var(--ui-color-dashboard-primary-400)]",spotlight:"",ui:{container:"gap-y-0 gap-x-0 !flex !flex-col justify-end pt-10 sm:pt-6"}},{default:X(()=>
124[f("div",{class:Ot(["ring-2 rounded-sm dark:ring-white/20 relative mb-4 bg-muted overflow-hidden m-auto",[y.aspect||"aspect-[4/3]",y.width]])},[f("div",{class:Ot(["absolute left-1/2 -translate-x-1/2 w-3 h-1 bg-inverted rounded-full",[y.hidePip?"hidden":y.pipTop?"top-0 rounded-t-none w-6":"top-1"]])},null,2),f("div",{class:"bg-dashboard-primary-300 dark:bg-dashboard-primary-700 bottom-0 absolute w-full",style:Xt({height:`${y.percentage*100}%`})},null,4)],2),f("div",z1,ut(y.label),1),s(a)?(q(),ot(n,{key:1,class:"w-1/2 h-[2.25em] dark:bg-accented"})):(q(),nt("div",C1,ut((y.percentage?y.percentage*100:0).toFixed(1))+"% ",1))]),_:1})}}}),E1=Object.assign(M1,{__name:"DashboardDeviceMobile"}),D1=["aria-label"],T1=["onMouseenter"],A1={key:0,class:"size-0 border-y-[3px] border-y-transparent border-r-[4px] border-r-current"},P1={class:"text-sm"},B1={key:1,class:"size-0 border-y-[3px] border-y-transparent border-l-[4px] border-l-current"},I1=yt({__name:"DashboardReadDepth",props:{depth:{},reach:{default:()=>[]},n:{default:0},tipSide:{default:"left"},width:{default:32},height:{default:160}},setup(y){const z=y,a=ft(null),x=H(()=>Math.min(Math.max(z.depth,0),100)),g=H(()=>{const l=z.reach.reduce((i,d)=>i+(d||0),0);let e=0;return Array.from({length:10},(i,d)=>{d>0&&(e+=z.reach[d-1]??0);const m=Math.max(l-e,0),c=l?Math.round(m/l*100):0;return{i:d,count:m,share:c,intensity:l?Math.max(m/l,m?.08:0):0}})}),n=H(()=>a.value===null?null:g.value[a.value]);return(l,e)=>(q(),nt("div",{class:"relative shrink-0",style:Xt({width:`${y.width}px`,height:`${y.height}px`})},[f("div",{class:"absolute inset-0 rounded-sm overflow-hidden bg-elevated text-primary",role:"img","aria-label":`Visitors reached ${s(x)}% down the page on average`},[(q(!0),nt(kt,null,c4(s(g),i=>(q(),nt("div",{key:i.i,class:"w-full bg-current cursor-pointer",style:Xt({height:"10%",opacity:i.intensity}),onMouseenter:d=>a.value=i.i,onMouseleave:e[0]||(e[0]=d=>a.value=null)},null,44,T1))),128)),f("div",{class:"absolute inset-x-0 border-t-2 border-inverted/70 pointer-events-none",style:Xt({top:`calc(${s(x)}% - 1px)`})},null,4)],8,D1),s(n)?(q(),nt("div",{key:0,class:Ot(["absolute flex items-center gap-1 whitespace-nowrap pointer-events-none",y.tipSide==="left"?"right-full mr-1":"left-full ml-1"]),style:Xt({top:`${s(n).i*10+5}%`,transform:"translateY(-50%)"})},[y.tipSide==="right"?(q(),nt("span",A1)):mt("",!0),f("div",{class:Ot(["leading-tight",y.tipSide==="left"?"text-right":""])},[f("div",P1,ut(s(n).share)+"% ",1),e[1]||(e[1]=f("div",{class:"text-[10px] text-muted"}," got this far ",-1))],2),y.tipSide==="left"?(q(),nt("span",B1)):mt("",!0)],6)):mt("",!0)],4))}}),B4=Object.assign(I1,{__name:"DashboardReadDepth"}),R1={class:"pt-6 sticky top-0 bg-default dark:bg-black z-10 -ml-px -mr-px"},O1={class:"flex flex-col gap-0 mb-4"},$1={class:"flex items-start gap-4 w-full"},N1={class:"w-full overflow-hidden"},U1=yt({__name:"DashboardPeekHeader",emits:["close"],setup(y,{emit:z}){const{subSections:a,back:x}=re(),g=z;return(n,l)=>{const e=ae;return q(),nt("div",R1,[f("div",O1,[f("div",$1,[s(a).length>1?(q(),ot(e,{key:0,icon:"i-lucide-chevron-left",variant:"outline",color:"neutral",onClick:s(x)},null,8,["onClick"])):mt("",!0),f("div",N1,[Qt(n.$slots,"title"),Qt(n.$slots,"description")]),A(e,{icon:"i-lucide-x",variant:"subtle",color:"neutral",size:"lg",onClick:l[0]||(l[0]=i=>g("close"))})])]),Qt(n.$slots,"tabs"),l[1]||(l[1]=f("div",{class:"pointer-events-none absolute inset-x-0 top-full h-4 bg-gradient-to-b from-[var(--ui-bg)] dark:from-black to-transparent"},null,-1))])}}}),ve=Object.assign(U1,{__name:"DashboardPeekHeader"}),F1={class:"text-xl font-bold"},V1=yt({__name:"DashboardPeekReferrers",props:{domain:{},data:{},rawStats:{}},emits:["close"],setup(y,{expose:z,emit:a}){const x=y,g=a,n=$t("scrollEl"),l=$t("bottomList"),{onOpenSubSection:e}=re();z({loadMore:()=>{l.value?.loadMore()}});const i=H(()=>x.data?.label),d=H(()=>x.rawStats?.referrer?.value?.path[i.value]),m=H(()=>{const c=x.rawStats?.path?.value?.result?.path,v=x.rawStats?.referrer?.value?.pathTotals?.[i.value],r=new Map((c??[]).map(h=>[h.label,h]));return{label:"Top entry pages",clickable:!0,allowPercentageToggle:"uniques",truncatedFrom:v&&v>(d.value?.length??0)?v:void 0,rows:d.value.map(h=>{const o=r.get(h.label);return{label:h.label,type:"path",uniques:h.visits?.unique?.value??0,views:h.visits?.hits?.value??0,percentage:h.visits?.hits?.pc??0,change:o?.visits?.unique?.c,previous:o?.visits?.unique?.previous,days:o?.days}}).filter(h=>h.uniques>0),columns:[{header:"PAGE",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"}]}});return Jt(()=>{Ee(n,()=>{l.value?.loadMore()},{distance:10,canLoadMore:()=>!0})}),(c,v)=>{const r=ve,h=Gt,o=It;return q(),nt("div",{ref_key:"scrollEl",ref:n,class:"px-6 gap-6 w-full h-full overflow-auto"},[A(r,{onClose:v[0]||(v[0]=u=>g("close"))},{title:X(()=>[...v[1]||(v[1]=[f("div",{class:"text-muted text-sm truncate"}," Visits from referrer: ",-1)])]),description:X(()=>[f("div",F1,ut(s(i)),1)]),_:1}),A(o,{class:"mb-6"},{default:X(()=>[A(h,{ref_key:"bottomList",ref:l,title:"Entry pages",icon:"i-lucide-arrow-right-to-line",data:s(m),class:"flex-1",infinite:"",onOnOpenSubSection:s(e)},null,8,["data","onOnOpenSubSection"])]),_:1})],512)}}}),j1=Object.assign(V1,{__name:"DashboardPeekReferrers"});function e4(){const y=ft(!1),z=ft(null),a=ft(null);async function x(l){if(!l.domain)return null;y.value=!0,z.value=null;try{const e=await $fetch("/api/stats/search-console",{params:{domain:l.domain,startKey:l.startKey,endKey:l.endKey}});return a.value=e,e}catch(e){const i=e;return z.value=i.data?.statusMessage||"Failed to load Search Console data",null}finally{y.value=!1}}async function g(l){if(!l.domain||!l.query)return null;try{return await $fetch("/api/stats/search-console",{params:{domain:l.domain,query:l.query,startKey:l.startKey,endKey:l.endKey}})}catch(e){return console.error("Failed to load GSC query detail:",e),null}}async function n(l){if(!l.domain||!l.page)return null;try{return await $fetch("/api/stats/search-console",{params:{domain:l.domain,page:l.page,startKey:l.startKey,endKey:l.endKey}})}catch(e){return console.error("Failed to load GSC page detail:",e),null}}return{loading:y,error:z,stats:a,getGscStats:x,getGscQueryDetail:g,getGscPageDetail:n}}const K1={class:"flex flex-col gap-4"},q1={key:0,class:"py-16 flex items-center justify-center text-muted"},G1={class:"grid sm:grid-cols-4 gap-4"},W1={class:"flex flex-col items-center text-center gap-2 py-8"},H1={class:"flex flex-col items-center justify-center text-center gap-3 py-12"},Z1={class:"squircle bg-elevated p-3 flex items-center justify-center"},Y1=yt({__name:"DashboardPeekPathsSearch",props:{domain:{},path:{}},setup(y,{expose:z}){const a=y,x=$t("innerList"),{onOpenSubSection:g}=re(),{dateRange:n}=se(),{prettyNumber:l}=Pt(),{getGscPageDetail:e}=e4(),i=ft(!0),d=ft(null);z({loadMore:()=>{x.value?.loadMore()}});const m=r=>{if(r)return`${r.year}-${String(r.month).padStart(2,"0")}-${String(r.day).padStart(2,"0")}`};async function c(){if(!(!a.domain||!a.path)){i.value=!0;try{const r=await e({domain:a.domain,page:a.path,startKey:m(n.value.start),endKey:m(n.value.end)});d.value=r}finally{i.value=!1}}}At([()=>a.domain,()=>a.path,()=>n.value],()=>{c()},{immediate:!0});const v=H(()=>d.value?.queries?.length?{label:"Search Queries",clickable:!0,rows:d.value.queries.map(r=>({label:r.query,type:"search_query",clicks:r.clicks,impressions:r.impressions,ctr:`${(r.ctr*100).toFixed(1)}%`,position:r.position?r.position.toFixed(1):"-"})),columns:[{header:"SEARCH QUERY",accessorKey:"label"},{header:"CLICKS",accessorKey:"clicks"},{header:"IMPRES",accessorKey:"impressions"},{header:"CTR",accessorKey:"ctr"},{header:"POS",accessorKey:"position"}]}:null);return(r,h)=>{const o=Ft,u=ne,p=t4,_=Gt,k=It,C=ae;return q(),nt("div",K1,[h[4]||(h[4]=f("div",{class:"text-3xl font-heading"}," Search Queries ",-1)),s(i)?(q(),nt("div",q1,[A(o,{name:"i-lucide-loader-circle",class:"size-8 animate-spin"})])):s(d)?.connected?(q(),nt(kt,{key:1},[f("div",G1,[A(u,{label:"Clicks",value:s(l)(s(d).totalClicks),icon:"i-lucide-mouse-pointer-click"},null,8,["value"]),A(u,{label:"Impressions",value:s(l)(s(d).totalImpressions),icon:"i-lucide-eye"},null,8,["value"]),A(u,{label:"CTR (Avg)",value:`${(s(d).avgCtr*100).toFixed(1)}%`,icon:"i-lucide-percent"},null,8,["value"]),A(u,{label:"Position (Avg)",value:s(d).avgPosition?s(d).avgPosition.toFixed(1):"-",icon:"i-lucide-award"},null,8,["value"])]),s(d).days?.length?(q(),ot(p,{key:0,data:s(d).days,"chart-height":200},null,8,["data"])):mt("",!0),s(v)&&s(v).rows.length?(q(),ot(k,{key:1},{default:X(()=>[A(_,{ref_key:"innerList",ref:x,title:"Search Queries","hide-title":!0,icon:"i-lucide-search",data:s(v),infinite:"",onOnOpenSubSection:s(g)},null,8,["data","onOnOpenSubSection"])]),_:1})):(q(),ot(k,{key:2},{default:X(()=>[f("div",W1,[A(o,{name:"i-lucide-search",class:"size-7 text-muted"}),h[0]||(h[0]=f("div",{class:"text-muted max-w-sm text-sm"}," No search queries drove traffic to this page in this date range. ",-1))])]),_:1}))],64)):(q(),ot(k,{key:2},{default:X(()=>[f("div",H1,[f("div",Z1,[A(o,{name:"i-logos-google-icon",class:"size-7"})]),h[2]||(h[2]=f("div",{class:"font-medium text-default text-lg"}," Connect Google Search Console ",-1)),h[3]||(h[3]=f("p",{class:"text-sm text-muted max-w-md"}," Link your domain to see top search queries, impressions, clicks, and keyword rankings directly in this dashboard. ",-1)),A(C,{color:"primary",size:"lg",icon:"i-logos-google-icon",to:`/api/integrations/gsc/auth?domain=${y.domain}`,external:"",class:"mt-2"},{default:X(()=>[...h[1]||(h[1]=[ht(" Connect Search Console ",-1)])]),_:1},8,["to"])])]),_:1}))])}}}),X1=Object.assign(Y1,{__name:"DashboardPeekPathsSearch"}),Q1={class:"absolute right-4 inset-y-4 flex items-center"},J1={class:"text-sm text-muted mt-3"},t2={class:"flex flex-col items-center text-center gap-3 py-8"},e2={class:"text-muted max-w-sm text-sm"},l2=yt({__name:"DashboardPeekPathsAttention",props:{domain:{},data:{},rawStats:{},demo:{type:Boolean},availableFeatures:{}},setup(y){const z=y,{data:a}=Kt(z),x=H(()=>z.availableFeatures?.scrollDepth===!1),{formatDurationLong:g,prettyNumber:n}=Pt(),l=H(()=>(z.rawStats?.path?.value?.result?.path??[]).find(Q=>Q.label===a.value?.label)??null),e=H(()=>a.value?.durationAvgRaw??l.value?.durationAvg?.value??0),i=H(()=>a.value?.views??l.value?.visits?.hits?.value??0),d=H(()=>e.value>0),m=H(()=>a.value?.scrollN??l.value?.scrollN??0),c=H(()=>m.value>0),v=H(()=>a.value?.readDepthRaw??l.value?.scrollAvg?.value??0),r=H(()=>a.value?.reachBands??l.value?.reachBands??[]),h=H(()=>r.value.some(V=>V>0)),o=ft("reached"),u=H(()=>{const V=r.value,Q=V.reduce((L,K)=>L+(K||0),0),S=L=>Q?L/Q:0;return{label:"Scroll Depth",allowPercentageToggle:"visitors",rows:Array.from({length:11}
124,(L,K)=>{let st=V[K]??0;if(o.value==="reached"){st=0;for(let W=K;W<11;W++)st+=V[W]??0}return{label:`${K*10}%`,visitors:st,percentage:S(st)}}),columns:[{header:o.value==="stopped"?"STOPPED AT":"REACHED",accessorKey:"label"},{header:"VISITORS",accessorKey:"visitors"}]}}),p=H(()=>o.value==="stopped"?"How far down the page each visitor got before leaving.":"How many visitors got at least this far down the page."),_=H(()=>Math.round(e.value*i.value)),k=H(()=>z.rawStats?.path?.value?.carbonTotals?.durationTotal??0),C=H(()=>{const V=l.value?.durationAvg?.c;return typeof V=="number"&&Number.isFinite(V)?V:null}),M=H(()=>C.value===null?null:C.value===0?"i-lucide-minus":C.value>0?"i-lucide-trending-up":"i-lucide-trending-down"),T=H(()=>C.value===null||C.value===0?"text-muted/50":C.value>0?"text-success":"text-error"),$=H(()=>{if(C.value===null)return"No figure for the previous period.";if(C.value===0)return"Unchanged on the previous period.";const V=C.value>0?"up":"down";return`${Math.abs(C.value)}% ${V} on the previous period.`}),F=H(()=>{if(!i.value)return"Across every view of this page.";const V=`Across ${n(i.value)} view${i.value===1?"":"s"}.`;if(!k.value)return V;const Q=_.value/k.value*100,S=Q<.1?"<0.1":Q.toFixed(1);return`${V} ${S}% of all time spent on the site.`}),B=H(()=>i.value?`This page had ${n(i.value)} view${i.value===1?"":"s"} in this period, but none of them reported how long they lasted. That usually means visitors left in a way the browser doesn't let us measure, or the traffic was automated.`:"There are no views for this page in the selected period.");return(V,Q)=>{const S=Ft,U=ne,L=Ae,K=B4,st=Gt,W=It;return q(),nt("div",null,[Q[1]||(Q[1]=f("div",{class:"text-3xl font-heading mb-6"}," Attention ",-1)),s(d)?(q(),nt(kt,{key:0},[f("div",{class:Ot(["grid sm:grid-cols-2 gap-4 mb-4",s(x)||s(c)?"lg:grid-cols-3":""])},[A(U,{label:"Average Time On Page",value:s(g)(s(e)),description:s($)},il({_:2},[s(M)?{name:"label-suffix",fn:X(()=>[A(S,{name:s(M),class:Ot([s(T),"size-4"])},null,8,["name","class"])]),key:"0"}:void 0]),1032,["value","description"]),A(U,{label:"Total Time On Page",value:s(g)(s(_)),description:s(F)},null,8,["value","description"]),s(x)?(q(),ot(L,{key:0,feature:"scrollDepth",demo:y.demo,compact:""},null,8,["demo"])):s(c)?(q(),ot(U,{key:1,label:"Average Scroll Depth",value:s(v),unit:"%",description:`${s(n)(s(m))} measured visit${s(m)===1?"":"s"}`},{icon:X(()=>[f("div",Q1,[A(K,{depth:s(v),reach:s(r),n:s(m),width:24,height:88},null,8,["depth","reach","n"])])]),_:1},8,["value","description"])):mt("",!0)],2),s(c)&&!s(x)&&s(h)?(q(),ot(W,{key:0},{default:X(()=>[f("div",null,[A(st,{title:"Scroll Depth",icon:"i-lucide-arrow-down-to-line",data:s(u),full:"","full-bar":s(o)==="stopped",heat:s(o)==="reached","hide-search":"","hide-header-line":"","table-class":"w-full sm:w-1/2 mx-auto"},null,8,["data","full-bar","heat"]),f("p",J1,ut(s(p)),1)])]),_:1})):mt("",!0)],64)):(q(),ot(W,{key:1},{default:X(()=>[f("div",t2,[A(S,{name:"i-lucide-eye-off",class:"size-8 text-muted"}),Q[0]||(Q[0]=f("div",{class:"font-bold text-lg"}," No time on page recorded yet ",-1)),f("div",e2,ut(s(B)),1)])]),_:1}))])}}}),a2=Object.assign(l2,{__name:"DashboardPeekPathsAttention"}),n2={class:"flex flex-col items-center text-center gap-3 py-8"},s2={class:"text-muted max-w-sm"},r2={class:"flex flex-col items-center text-center gap-3 py-8"},i2={key:2,class:"flex flex-col items-center text-center gap-3 py-12"},o2={class:"flex flex-col gap-4"},L2={class:"grid grid-cols-2 gap-4"},c2=yt({__name:"DashboardPeekPathsPrivacy",props:{domain:{},data:{},energy:{},loading:{type:Boolean},error:{},notMeasured:{type:Boolean}},emits:["measure"],setup(y,{expose:z,emit:a}){const x=y,g=a,n=$t("bottomList");z({loadMore:()=>{n.value?.loadMore()}});const{friendlyAnalysisError:l}=me(),{energy:e}=Kt(x),i=H(()=>{const m=e?.value?.result?.detail?.blocked??{};return{label:"Blocked requests",rows:Object.keys(m).map(c=>({label:c,requests:m[c]})),columns:[{header:"REQUEST",accessorKey:"label"},{header:"COUNT",accessorKey:"requests"}]}}),d=H(()=>({label:"Cookies",rows:(e?.value?.result?.detail?.cookies??[]).map(c=>({label:c.name,domain:c.domain})),columns:[{header:"COOKIE",accessorKey:"label"},{header:"DOMAIN",accessorKey:"domain"}
124]}));return(m,c)=>{const v=Ft,r=Ge,h=ae,o=It,u=ne,p=Gt;return q(),nt("div",null,[y.error?(q(),ot(o,{key:0},{default:X(()=>[f("div",n2,[A(v,{name:"i-lucide-unplug",class:"size-8 text-muted"}),c[4]||(c[4]=f("div",{class:"font-bold text-lg"}," Privacy data unavailable ",-1)),f("div",s2,ut(s(l)(y.error)),1),A(r,{to:"https://docs.withcabin.com/energy-and-carbon#why-some-pages-show-no-energy-data",target:"_blank",class:"text-dashboard-primary text-sm"},{default:X(()=>[c[2]||(c[2]=ht(" Why is this & how to fix it ",-1)),A(v,{name:"i-lucide-external-link",class:"size-3 inline"})]),_:1}),A(h,{color:"neutral",variant:"outline",icon:"i-lucide-refresh-cw",loading:y.loading,class:"mt-2",onClick:c[0]||(c[0]=_=>g("measure"))},{default:X(()=>[...c[3]||(c[3]=[ht(" Try again ",-1)])]),_:1},8,["loading"])])]),_:1})):y.notMeasured&&!y.loading?(q(),ot(o,{key:1},{default:X(()=>[f("div",r2,[A(v,{name:"i-lucide-ruler",class:"size-8 text-muted"}),c[6]||(c[6]=f("div",{class:"font-bold text-lg"}," This page hasn't been measured yet ",-1)),c[7]||(c[7]=f("div",{class:"text-muted max-w-md"}," Cookies and trackers come from the same page check as the energy figures, and this page hasn't come up in the daily set yet. ",-1)),A(h,{color:"primary",size:"lg",icon:"i-lucide-play",class:"mt-2",loading:y.loading,onClick:c[1]||(c[1]=_=>g("measure"))},{default:X(()=>[...c[5]||(c[5]=[ht(" Check this page now ",-1)])]),_:1},8,["loading"])])]),_:1})):y.loading&&!s(e)?(q(),nt("div",i2,[A(v,{name:"i-lucide-loader-circle",class:"size-8 animate-spin text-dashboard-primary"}),c[8]||(c[8]=f("div",{class:"font-bold text-lg"}," Analysing this page⦠",-1)),c[9]||(c[9]=f("div",{class:"text-muted max-w-sm"}," Checking for cookies and trackers. This can take a few seconds. ",-1))])):(q(),nt(kt,{key:3},[c[10]||(c[10]=f("div",{class:"text-3xl font-heading mb-6"}," Privacy ",-1)),f("div",o2,[f("div",L2,[A(u,{label:"Cookies set",description:"These are set without the user's permission and are not blocked by ad blockers",value:s(e)?.result?.detail?.cookies?.length},null,8,["value"]),A(u,{label:"Blocked requests",description:"Usually blocked by ad/tracker blockers like AdBlock",value:Object.keys(s(e)?.result?.detail?.blocked??{}).length},null,8,["value"])]),A(o,null,{default:X(()=>[A(p,{data:s(d),title:s(d).label,icon:"i-lucide-cookie"},null,8,["data","title"])]),_:1}),A(o,null,{default:X(()=>[A(p,{data:s(i),title:s(i).label,icon:"i-lucide-shield-user"},null,8,["data","title"])]),_:1})])],64))])}}}),u2=Object.assign(c2,{__name:"DashboardPeekPathsPrivacy"}),d2={key:1},h2=yt({__name:"DashboardPeekPathsEvents",props:{domain:{},data:{},rawStats:{},demo:{type:Boolean},availableFeatures:{}},setup(y,{expose:z}){const a=y,{data:x}=Kt(a),g=$t("bottomList");z({loadMore:()=>{g.value?.loadMore()}});const n=H(()=>{const e=[];for(const i of a.rawStats?.path?.value?.events??[]){const d=i.children.find(m=>m.label===x.value?.label);d&&e.push({...d,label:i.label})}return e}),l=H(()=>{const e=n.value.map(d=>({label:d.label,count:d.value,change:d.c,percentage:d.pc,previous:d.previous})),i=e.reduce((d,m)=>d+m.count,0);return e.forEach(d=>{d.percentage=d.count/i}),{label:"Events",allowPercentageToggle:"count",rows:e.sort((d,m)=>m.count-d.count),columns:[{header:"EVENT",accessorKey:"label"},{header:"COUNT",accessorKey:"count"}]}});return(e,i)=>{const d=Ae,m=Gt,c=It;return y.availableFeatures?.customEvents?(q(),nt("div",d2,[i[0]||(i[0]=f("div",{class:"text-3xl font-heading mb-6"}," Events ",-1)),A(c,null,{default:X(()=>[A(m,{ref_key:"bottomList",ref:g,infinite:"",data:s(l),title:`Events for ${s(x).label}`,icon:"i-lucide-square-dashed-mouse-pointer"},null,8,["data","title"])]),_:1})])):(q(),ot(d,{key:0,feature:"customEvents",demo:y.demo},null,8,["demo"]))}}}),f2=Object.assign(h2,{__name:"DashboardPeekPathsEvents"}),p2={class:"flex flex-col items-center text-center gap-2 py-8"},m2=yt({__name:"DashboardPeekPathsCampaigns",props:{domain:{},data:{},rawStats:{}},setup(y,{expose:z}){const a=y,x=$t("innerList");z({loadMore:()=>{x.value?.loadMore()}});const g=H(()=>a.data?.label),n=H(()=>{const l=a.rawStats?.referrer?.value?.campaign,e=[];
124if(Array.isArray(l))for(const d of l){const m=d.path?.find(c=>c.label===g.value);m&&e.push({label:d.label==="null"?"none":d.label,type:"campaign",uniques:m.visits?.unique?.value,views:m.visits?.hits?.value,percentage:m.visits?.hits?.pc,source:d.source,medium:d.medium,path:d.path})}const i=e.reduce((d,m)=>d+(m.views||0),0);return e.forEach(d=>{d.percentage=i?d.views/i:0}),e.sort((d,m)=>m.views-d.views),{label:"Campaigns",clickable:!0,allowPercentageToggle:"views",rows:e,columns:[{header:"CAMPAIGN",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"},{header:"VIEWS",accessorKey:"views"}]}});return(l,e)=>{const i=Gt,d=It,m=Ft;return q(),nt("div",null,[e[1]||(e[1]=f("div",{class:"text-3xl font-heading mb-6"}," Campaigns ",-1)),s(n).rows.length?(q(),ot(d,{key:0},{default:X(()=>[A(i,{ref_key:"innerList",ref:x,infinite:"",data:s(n),title:s(n).label,"hide-title":!0},null,8,["data","title"])]),_:1})):(q(),ot(d,{key:1},{default:X(()=>[f("div",p2,[A(m,{name:"i-lucide-radar",class:"size-7 text-muted"}),e[0]||(e[0]=f("div",{class:"text-muted max-w-sm text-sm"}," No campaigns drove traffic to this page in this range. ",-1))])]),_:1}))])}}}),g2=Object.assign(m2,{__name:"DashboardPeekPathsCampaigns"}),v2={class:"text-xl font-heading truncate"},b2={class:"text-sm truncate"},y2={key:0,class:"text-muted"},_2={class:"relative"},w2={class:"pointer-events-none absolute inset-y-0 right-0 w-10 bg-gradient-to-l from-[var(--ui-bg)] dark:from-black to-transparent"},x2={key:"traffic",class:"flex flex-col gap-4"},k2={class:"grid sm:grid-cols-2 gap-4"},S2={class:"will-change-transform"},z2={class:"flex flex-col items-center text-center gap-2 py-8"},C2={class:"flex-1"},M2={key:"search"},E2={key:"attention"},D2={key:"energy"},T2={key:"privacy"},A2={key:5},P2={key:6},B2=yt({__name:"DashboardPeekPaths",props:{domain:{},data:{},rawStats:{},sm:{type:Boolean},demo:{type:Boolean},availableFeatures:{}},emits:["close"],setup(y,{emit:z}){const a=y,x=z,g=$t("scrollEl"),n=$t("bottomList"),{subSection:l}=re(),{data:e}=Kt(a),{dateRange:i,daysInRange:d}=se(),{prettyNumber:m}=Pt(),c=H(()=>a.data?.label),v=H(()=>{const R=Number(e.value?.views)||0,G=Number(e.value?.uniques)||0;return R?`${m(G/R*100,0)}% of pageviews are from unique visitors`:"No pageviews in this date range"}),r=H(()=>{const R=Number(e.value?.percentage);return Number.isFinite(R)?`${m(R*100,1)}% of all pageviews across ${a.domain}`:`Pageviews across ${a.domain}`}),h=H(()=>e.value?.days?.map((R,G)=>({stamp:i.value.start.add({days:G}).toDate(Ul()).getTime(),visits:{hits:R[0],unique:R[1]}})));At(l,R=>{R&&(o.value=R?.initialView||"traffic")},{deep:!0});const o=ft(l.value?.initialView||"traffic"),u=ft("slide-right");At(o,(R,G)=>{const O={traffic:0,search:1,attention:2,energy:3,privacy:4,events:5,campaigns:6};O[R]>O[G]?u.value="slide-right":u.value="slide-left"});const p=$t("tabsScroll"),_=ft(!1),k=()=>{const R=p.value;R&&(_.value=R.scrollWidth-R.clientWidth-R.scrollLeft>1)};ol(p,"scroll",k,{passive:!0}),Ll(p,k);const C=H(()=>[{label:"Traffic",value:"traffic",icon:"i-lucide-bar-chart-4"},...a.availableFeatures?.googleSearchConsole!==!1?[{label:"Search",value:"search",icon:"i-lucide-search"}]:[],{label:"Attention",value:"attention",icon:"i-lucide-eye"},{label:"Energy",value:"energy",icon:"i-lucide-earth"},{label:"Privacy",value:"privacy",icon:"i-lucide-shield-user"},{label:"Events",value:"events",icon:"i-lucide-square-dashed-mouse-pointer"},{label:"Campaigns",value:"campaigns",icon:"i-lucide-megaphone"}]);At(C,()=>Me(k));const{pollEnergy:M}=me(),T=ft(null),$=ft(!1),F=ft(null),B=ft(!1),V=ft(null),Q=ft(null),S=ft(null);let U=0;const L=async(R={})=>{const{start:G=!1,force:O=!1}=R,I=++U;$.value=!0,F.value=null,B.value=!1,V.value=null,Q.value=null,S.value=null,O||(T.value=null);try{const lt=await M(`https://${a.domain}${c.value}`,{isCancelled:()=>I!==U,start:G,force:O});if(I!==U)return;lt?.action==="not_measured"?B.value=!0:lt?.action==="rate_limited"?V.value=`Already refreshed recently. Try again in ${lt.retryAfterSeconds}s.`:lt?.result?(T.value=lt,Q.value=lt.lastCheckFailed??null):lt?.error?(F.value=lt.error,S.value=lt.errorAt??null):F.value="timeout"}catch(lt){if(I!==U)return;F.value=lt?.data?.statusMessage||"error"}finally{I===U&&($.value=!1)}},K=()=>L({start:!0}),st=()=>L({start:!0,force:!0});At(c,()=>L(),{immediate:!0}),Jt(async()=>{Ee(g,()=>{n.value?.loadMore()},{distance:10,canLoadMore:()=>!0})});function W(R){return new DOMParser().parseFromString(R,"text/html").body.textContent||""}const ct=H(()=>{const R=[],G=a.rawStats?.referrer?.value?.path;let O=0;for(const I in G)for(const lt in G[I])if(G[I][lt].label===c.value){const J=G[I][lt];R.push({label:I,type:"referral",uniques:J.visits?.unique?.value,views:J.visits?.hits?.value,percentage:J.visits?.hits?.pc}),O+=J.visits?.hits?.value;break}return R.forEach(I=>{I.percentage=I.views/O}),R.sort((I,lt)=>lt.percentage-I.percentage),{label:"Referrals",clickable:!0,allowPercentageToggle:"views",rows:R,columns:[{header:"REFERRER",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"},{header:"VIEWS",accessorKey:"views"}]}});return(R,G)=>{const O=dl,I=Ge,lt=De,J=ve,tt=ne,vt=P4,xt=Ft,dt=It,pt=Gt,wt=X1,_t=a2,Dt=ql,zt=u2,t=f2,P=g2;return q(),nt("div",{ref_key:"scrollEl",ref:g,class:"px-6 h-full w-full overflow-auto"},[A(J,{onClose:G[1]||(G[1]=E=>x("close"))},{title:X(()=>[f("div",v2,ut(s(c)),1),f("div",b2,[s(T)?.result?.detail?.title?(q(),nt("span",y2,ut(W(s(T)?.result?.detail?.title))+" · ",1)):mt("",!0),A(I,{to:`https://${y.domain}${s(l)?.label}`,target:"_blank",class:"text-dashboard-primary"},{default:X(()=>[ht(ut(s(T)?.result?.detail?.title?"open":`https://${y.domain}${s(l)?.label}`)+" ",1),A(O,{name:"i-lucide-external-link"})]),_:1},8,["to"])])]),tabs:X(()=>[f("div",_2,[f("div",{ref_key:"tabsScroll",ref:p,class:"overflow-x-auto no-scrollbar pb-px"},[A(lt,{modelValue:s(o),"onUpdate:modelValue":G[0]||(G[0]=E=>Yt(o)?o.value=E:null),color:"dashboard-primary",ui:{root:"gap-0 px-0 mb-px w-max min-w-full",list:"p-0 px-0",leadingIcon:"block !size-4",trigger:"cursor-pointer px-2 shrink-0",label:[y.sm?"text-base":"text-sm px-0"]},size:"xl",items:s(C),variant:"link"},null,8,["modelValue","ui","items"])],512),cl(f("div",w2,null,512),[[ul,s(_)]])])]),_:1}
124),(q(),nt("div",{key:s(o),class:"flex-1 pt-6 mb-6 relative"},[s(o)==="traffic"?(q(),nt("div",x2,[G[3]||(G[3]=f("div",{class:"text-3xl font-heading"}," Traffic ",-1)),f("div",k2,[A(tt,{label:"Unique Visitors",description:s(v),value:s(m)(s(e)?.uniques??0)},null,8,["description","value"]),A(tt,{label:"Pageviews",description:s(r),value:s(m)(s(e)?.views??0)},null,8,["description","value"])]),f("div",S2,[s(d)>1?(q(),ot(vt,{key:"chart","initial-chart-period":"days",data:s(h),"chart-height":200,"hide-labels":!0},null,8,["data"])):(q(),ot(dt,{key:1},{default:X(()=>[f("div",z2,[A(xt,{name:"i-lucide-clock",class:"size-7 text-muted"}),G[2]||(G[2]=f("div",{class:"text-muted max-w-sm text-sm"}," Hourly breakdown isn't available for individual pages on a single day. Pick a wider date range to see this page's trend. ",-1))])]),_:1}))]),f("div",C2,[A(dt,{class:"mb-6"},{default:X(()=>[A(pt,{ref_key:"bottomList",ref:n,infinite:"",data:s(ct),title:"Referrals",icon:"i-lucide-users"},null,8,["data"])]),_:1})])])):s(o)==="search"?(q(),nt("div",M2,[A(wt,{domain:y.domain,path:s(c)},null,8,["domain","path"])])):s(o)==="attention"?(q(),nt("div",E2,[A(_t,{domain:y.domain,data:s(e),"raw-stats":y.rawStats,demo:y.demo,"available-features":y.availableFeatures},null,8,["domain","data","raw-stats","demo","available-features"])])):s(o)==="energy"?(q(),nt("div",D2,[A(Dt,{energy:s(T),loading:s($),error:s(F),domain:y.domain,data:s(e),demo:y.demo,"available-features":y.availableFeatures,"not-measured":s(B),"refresh-notice":s(V),"last-check-failed":s(Q),"error-at":s(S),onMeasure:K,onRefresh:st},null,8,["energy","loading","error","domain","data","demo","available-features","not-measured","refresh-notice","last-check-failed","error-at"])])):s(o)==="privacy"?(q(),nt("div",T2,[A(zt,{ref_key:"bottomList",ref:n,energy:s(T),loading:s($),error:s(F),domain:y.domain,data:s(e),"not-measured":s(B),onMeasure:K},null,8,["energy","loading","error","domain","data","not-measured"])])):s(o)==="events"?(q(),nt("div",A2,[A(t,{ref_key:"bottomList",ref:n,domain:y.domain,"raw-stats":y.rawStats,data:s(e),demo:y.demo,"available-features":y.availableFeatures},null,8,["domain","raw-stats","data","demo","available-features"])])):s(o)==="campaigns"?(q(),nt("div",P2,[A(P,{ref_key:"bottomList",ref:n,domain:y.domain,"raw-stats":y.rawStats,data:s(e)},null,8,["domain","raw-stats","data"])])):mt("",!0)]))],512)}}}),I2=Object.assign(Qe(B2,[["__scopeId","data-v-d923c6f6"]]),{__name:"DashboardPeekPaths"}),R2={class:"text-xl font-bold truncate w-full"},O2={class:"pt-6 mb-6"},$2=yt({__name:"DashboardPeekCampaign",props:{domain:{},data:{},rawStats:{}},emits:["close"],setup(y,{expose:z,emit:a}){const x=y,g=a,{data:n}=Kt(x),{prettyNumber:l}=Pt(),{onOpenSubSection:e}=re(),i=$t("scrollEl"),d=$t("bottomList"),m=ft("source"),c=[{label:"Source",value:"source",icon:"i-lucide-message-square-code"},{label:"Medium",value:"medium",icon:"i-lucide-app-window"},{label:"Entry Page",value:"path",icon:"i-lucide-route"}],v=H(()=>({label:c.find(r=>r.value===m.value)?.label,allowPercentageToggle:"views",rows:n.value?.[m.value].map(r=>({label:r.label==="null"?"none":r.label,uniques:l(r.visits?.unique?.value||0),views:l(r.visits?.hits?.value),percentage:r.visits?.hits?.pc})),columns:[{header:"SOURCE",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"},{header:"VIEWS",accessorKey:"views"}]}));return z({loadMore:()=>{d.value?.loadMore()}}),Jt(()=>{Ee(i,()=>{d.value?.loadMore()},{distance:10,canLoadMore:()=>!0})}),(r,h)=>{const o=De,u=ve,p=Gt,_=It;return q(),nt("div",{ref_key:"scrollEl",ref:i,class:"px-6 gap-6 w-full h-full overflow-auto"},[A(u,{onClose:h[1]||(h[1]=k=>g("close"))},{title:X(()=>[h[2]||(h[2]=f("div",{class:"text-muted text-sm truncate"}," Campaign ",-1)),f("div",R2,ut(s(n)?.label),1)]),tabs:X(()=>[A(o,{modelValue:s(m),"onUpdate:modelValue":h[0]||(h[0]=k=>Yt(m)?m.value=k:null),variant:"link",items:c,ui:{root:"gap-0 px-0 mb-px",list:"p-0 px-0",leadingIcon:"!size-4",trigger:"cursor-pointer"}},null,8,["modelValue"])]),_:1}),f("div",O2,[A(_,null,{default:X(()=>[A(p,{ref_key:"bottomList",ref:d,title:s(v).label,data:s(v),class:"flex-1",infinite:"",onOnOpenSubSection:s(e)},null,8,["title","data","onOnOpenSubSection"])]),_:1})])],512)}}}),N2=Object.assign($2,{__name:"DashboardPeekCampaign"}),U2={ref:"scrollEl",class:"px-6 gap-6 w-full h-full overflow-auto pb-12 flex flex-col"},F2={class:"text-xl font-bold truncate"},V2={key:0,class:"py-16 flex items-center justify-center text-muted"},j2={key:1,class:"flex flex-col gap-6"},K2={class:"grid sm:grid-cols-4 gap-4"},q2=yt({__name:"DashboardPeekSearchQuery",props:{domain:{},data:{},rawStats:{}},emits:["close"],setup(y,{emit:z}){const a=y,x=z,{dateRange:g}=se(),{prettyNumber:n}=Pt(),{getGscQueryDetail:l}=e4(),e=H(()=>a.data?.label||""),i=ft(!0),d=ft(null),m=r=>{if(r)return`${r.year}-${String(r.month).padStart(2,"0")}-${String(r.day).padStart(2,"0")}`};async function c(){if(!(!a.domain||!e.value)){i.value=!0;try{const r=await l({domain:a.domain,query:e.value,startKey:m(g.value.start),endKey:m(g.value.end)});d.value=r}finally{i.value=!1}}}At([()=>a.domain,e,()=>g.value],()=>{c()},{immediate:!0});const v=H(()=>d.value?.pages?.length?{label:"Ranking Pages",clickable:!1,rows:d.value.pages.map(r=>({label:r.page,clicks:r.clicks,impressions:r.impressions,ctr:`${(r.ctr*100).toFixed(1)}%`,position:r.position?r.position.toFixed(1):"-"})),columns:[{header:"PAGE",accessorKey:"label"},{header:"CLICKS",accessorKey:"clicks"},{header:"IMPRES",accessorKey:"impressions"},{header:"CTR",accessorKey:"ctr"},{header:"POS",accessorKey:"position"}]}:null);return(r,h)=>{const o=ve,u=Ft,p=ne,_=t4,k=Gt,C=It;return q(),nt("div",U2,[A(o,{onClose:h[0]||(h[0]=M=>x("close"))},{title:X(()=>[...h[1]||(h[1]=[f("div",{class:"text-muted text-sm truncate"}," Search Query: ",-1)])]),description:X(()=>[f("div",F2,ut(s(e)),1)]),_:1}),s(i)?(q(),nt("div",V2,[A(u,{name:"i-lucide-loader-circle",class:"size-8 animate-spin"})])):s(d)?(q(),nt("div",j2,[f("div",K2,[A(p,{label:"Clicks",value:s(n)(s(d).totalClicks),icon:"i-lucide-mouse-pointer-click"},null,8,["value"]),A(p,{label:"Impressions",value:s(n)(s(d).totalImpressions),icon:"i-lucide-eye"},null,8,["value"]),A(p,{label:"CTR",value:`${(s(d).avgCtr*100).toFixed(1)}%`,icon:"i-lucide-percent"},null,8,["value"]),A(p,{label:"Avg Position",value:s(d).avgPosition?s(d).avgPosition.toFixed(1):"-",icon:"i-lucide-award"},null,8,["value"])]),A(_,{data:s(d).days,"chart-height":220},null,8,["data"]),s(v)?(q(),ot(C,{key:0},{default:X(()=>[A(k,{ref:"bottomList",title:"Ranking Pages",icon:"i-lucide-file-text",data:s(v),class:"flex-1",infinite:""},null,8,["data"])]),_:1})):mt("",!0)])):mt("",!0)],512)}}}),G2=Object.assign(q2,{__name:"DashboardPeekSearchQuery"}),W2={class:"flex items-center gap-2 overflow-hidden w-full"},H2={class:"text-xl font-heading truncate w-full"},Z2=yt({__name:"DashboardPeekGeneric",props:{domain:{},data:{},rawStats:{}},emits:["close"],setup(y,{expose:z,emit:a}){const x=y,g=a,{data:n}=Kt(x),l=$t("scrollEl"),e=$t("bottomList"),{onOpenSubSection:i}
124=re();return z({loadMore:()=>{e.value?.loadMore()}}),Jt(()=>{Ee(l,()=>{e.value?.loadMore()},{distance:10,canLoadMore:()=>!0})}),(d,m)=>{const c=Ft,v=ve,r=Gt,h=It;return q(),nt("div",{ref_key:"scrollEl",ref:l,class:"px-4 gap-6 w-full h-full overflow-auto"},[A(v,{onClose:m[0]||(m[0]=o=>g("close"))},{title:X(()=>[f("div",W2,[s(n)?.icon?(q(),ot(c,{key:0,name:s(n)?.icon,class:"size-5"},null,8,["name"])):mt("",!0),f("div",H2,ut(s(n)?.label),1)])]),_:1}),A(h,{class:"mb-4"},{default:X(()=>[A(r,{ref_key:"bottomList",ref:e,data:s(n)?.list,class:"flex-1",infinite:"",onOnOpenSubSection:s(i)},null,8,["data","onOnOpenSubSection"])]),_:1})],512)}}}),Y2=Object.assign(Z2,{__name:"DashboardPeekGeneric"}),X2=yt({__name:"DashboardPeek",props:{rawStats:{},domain:{},demo:{type:Boolean},availableFeatures:{}},setup(y){const a=fl(pl).greaterOrEqual("sm"),x=He,g=Y4,n=H(()=>a.value?x:g),{subSection:l,isOpen:e}=re(),i=ft(null);return At(l,d=>{d&&(e.value=!0,i.value=d)}),(d,m)=>{const c=j1,v=I2,r=N2,h=G2,o=Y2;return q(),ot(hl(s(n)),{open:s(e),"onUpdate:open":m[5]||(m[5]=u=>Yt(e)?e.value=u:null),direction:s(a)?"right":"bottom",handle:!0,"handle-only":"",ui:{content:"w-full max-w-4xl h-full bg-default",overlay:"bg-black/50",header:" flex flex-col pb-0",body:"!pb-0 "}},{content:X(()=>[s(l)?.type==="referral"?(q(),ot(c,{key:0,domain:y.domain,data:s(i),"raw-stats":y.rawStats,onClose:m[0]||(m[0]=u=>e.value=!1)},null,8,["domain","data","raw-stats"])):s(l)?.type==="path"?(q(),ot(v,{key:1,domain:y.domain,data:s(i),"raw-stats":y.rawStats,demo:y.demo,"available-features":y.availableFeatures,class:"!select-text",sm:s(a),onClose:m[1]||(m[1]=u=>e.value=!1)},null,8,["domain","data","raw-stats","demo","available-features","sm"])):s(l)?.type==="campaign"?(q(),ot(r,{key:2,domain:y.domain,data:s(i),"raw-stats":y.rawStats,onClose:m[2]||(m[2]=u=>e.value=!1)},null,8,["domain","data","raw-stats"])):s(l)?.type==="search_query"?(q(),ot(h,{key:3,domain:y.domain,data:s(i),"raw-stats":y.rawStats,onClose:m[3]||(m[3]=u=>e.value=!1)},null,8,["domain","data","raw-stats"])):(q(),ot(o,{key:4,domain:y.domain,data:s(i),"raw-stats":y.rawStats,onClose:m[4]||(m[4]=u=>e.value=!1)},null,8,["domain","data","raw-stats"]))]),_:1},40,["open","direction"])}}}),Q2=Object.assign(X2,{__name:"DashboardPeek"});function ke(y){throw new Error('Could not dynamically require "'+y+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ie={exports:{}};var s4;function J2(){return s4||(s4=1,(function(y,z){(function(a){y.exports=a()})(function(){return(function a(x,g,n){function l(d,m){if(!g[d]){if(!x[d]){var c=typeof ke=="function"&&ke;if(!m&&c)return c(d,!0);if(e)return e(d,!0);var v=new Error("Cannot find module '"+d+"'");throw v.code="MODULE_NOT_FOUND",v}var r=g[d]={exports:{}};x[d][0].call(r.exports,function(h){var o=x[d][1][h];return l(o||h)},r,r.exports,a,x,g,n)}return g[d].exports}for(var e=typeof ke=="function"&&ke,i=0;i<n.length;i++)l(n[i]);return l})({1:[function(a,x,g){var n=a("./utils"),l=a("./support"),e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";g.encode=function(i){for(var d,m,c,v,r,h,o,u=[],p=0,_=i.length,k=_,C=n.getTypeOf(i)!=="string";p<i.length;)k=_-p,c=C?(d=i[p++],m=p<_?i[p++]:0,p<_?i[p++]:0):(d=i.charCodeAt(p++),m=p<_?i.charCodeAt(p++):0,p<_?i.charCodeAt(p++):0),v=d>>2,r=(3&d)<<4|m>>4,h=1<k?(15&m)<<2|c>>6:64,o=2<k?63&c:64,u.push(e.charAt(v)+e.charAt(r)+e.charAt(h)+e.charAt(o));return u.join("")},g.decode=function(i){var d,m,c,v,r,h,o=0,u=0,p="data:";if(i.substr(0,p.length)===p)throw new Error("Invalid base64 input, it looks like a data url.");var _,k=3*(i=i.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(i.charAt(i.length-1)===e.charAt(64)&&k--,i.charAt(i.length-2)===e.charAt(64)&&k--,k%1!=0)throw new Error("Invalid base64 input, bad content length.");for(_=l.uint8array?new Uint8Array(0|k):new Array(0|k);o<i.length;)d=e.indexOf(i.charAt(o++))<<2|(v=e.indexOf(i.charAt(o++)))>>4,m=(15&v)<<4|(r=e.indexOf(i.charAt(o++)))>>2,c=(3&r)<<6|(h=e.indexOf(i.charAt(o++))),_[u++]=d,r!==64&&(_[u++]=m),h!==64&&(_[u++]=c);return _}},{"./support":30,"./utils":32}],2:[function(a,x,g){var n=a("./external"),l=a("./stream/DataWorker"),e=a("./stream/Crc32Probe"),i=a("./stream/DataLengthProbe");function d(m,c,v,r,h){this.compressedSize=m,this.uncompressedSize=c,this.crc32=v,this.compression=r,this.compressedContent=h}d.prototype={getContentWorker:function(){var m=new l(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),c=this;return m.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new l(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(m,c,v){return m.pipe(new e).pipe(new i("uncompressedSize")).pipe(c.compressWorker(v)).pipe(new i("compressedSize")).withStreamInfo("compression",c)},x.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(a,x,g){var n=a("./stream/GenericWorker");g.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},g.DEFLATE=a("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(a,x,g){var n=a("./utils"),l=(function(){for(var e,i=[],d=0;d<256;d++){e=d;for(var m=0;m<8;m++)e=1&e?3988292384^e>>>1:e>>>1;i[d]=e}return i})();x.exports=function(e,i){return e!==void 0&&e.length?n.getTypeOf(e)!=="str
124ing"?(function(d,m,c,v){var r=l,h=v+c;d^=-1;for(var o=v;o<h;o++)d=d>>>8^r[255&(d^m[o])];return-1^d})(0|i,e,e.length,0):(function(d,m,c,v){var r=l,h=v+c;d^=-1;for(var o=v;o<h;o++)d=d>>>8^r[255&(d^m.charCodeAt(o))];return-1^d})(0|i,e,e.length,0):0}},{"./utils":32}],5:[function(a,x,g){g.base64=!1,g.binary=!1,g.dir=!1,g.createFolders=!0,g.date=null,g.compression=null,g.compressionOptions=null,g.comment=null,g.unixPermissions=null,g.dosPermissions=null},{}],6:[function(a,x,g){var n=null;n=typeof Promise<"u"?Promise:a("lie"),x.exports={Promise:n}},{lie:37}],7:[function(a,x,g){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=a("pako"),e=a("./utils"),i=a("./stream/GenericWorker"),d=n?"uint8array":"array";function m(c,v){i.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=v,this.meta={}}g.magic="\b\0",e.inherits(m,i),m.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(e.transformTo(d,c.data),!1)},m.prototype.flush=function(){i.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},m.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(v){c.push({data:v,meta:c.meta})}},g.compressWorker=function(c){return new m("Deflate",c)},g.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(a,x,g){function n(r,h){var o,u="";for(o=0;o<h;o++)u+=String.fromCharCode(255&r),r>>>=8;return u}function l(r,h,o,u,p,_){var k,C,M=r.file,T=r.compression,$=_!==d.utf8encode,F=e.transformTo("string",_(M.name)),B=e.transformTo("string",d.utf8encode(M.name)),V=M.comment,Q=e.transformTo("string",_(V)),S=e.transformTo("string",d.utf8encode(V)),U=B.length!==M.name.length,L=S.length!==V.length,K="",st="",W="",ct=M.dir,R=M.date,G={crc32:0,compressedSize:0,uncompressedSize:0};h&&!o||(G.crc32=r.crc32,G.compressedSize=r.compressedSize,G.uncompressedSize=r.uncompressedSize);var O=0;h&&(O|=8),$||!U&&!L||(O|=2048);var I=0,lt=0;ct&&(I|=16),p==="UNIX"?(lt=798,I|=(function(tt,vt){var xt=tt;return tt||(xt=vt?16893:33204),(65535&xt)<<16})(M.unixPermissions,ct)):(lt=20,I|=(function(tt){return 63&(tt||0)})(M.dosPermissions)),k=R.getUTCHours(),k<<=6,k|=R.getUTCMinutes(),k<<=5,k|=R.getUTCSeconds()/2,C=R.getUTCFullYear()-1980,C<<=4,C|=R.getUTCMonth()+1,C<<=5,C|=R.getUTCDate(),U&&(st=n(1,1)+n(m(F),4)+B,K+="up"+n(st.length,2)+st),L&&(W=n(1,1)+n(m(Q),4)+S,K+="uc"+n(W.length,2)+W);var J="";return J+=` 125\0`,J+=n(O,2),J+=T.magic,J+=n(k,2),J+=n(C,2),J+=n(G.crc32,4),J+=n(G.compressedSize,4),J+=n(G.uncompressedSize,4),J+=n(F.length,2),J+=n(K.length,2),{fileRecord:c.LOCAL_FILE_HEADER+J+F+K,dirRecord:c.CENTRAL_FILE_HEADER+n(lt,2)+J+n(Q.length,2)+"\0\0\0\0"+n(I,4)+n(u,4)+F+K+Q}}var e=a("../utils"),i=a("../stream/GenericWorker"),d=a("../utf8"),m=a("../crc32"),c=a("../signature");function v(r,h,o,u){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=o,this.encodeFileName=u,this.streamFiles=r,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}e.inherits(v,i),v.prototype.push=function(r){var h=r.meta.percent||0,o=this.entriesCount,u=this._sources.length;this.accumulate?this.contentBuffer.push(r):(this.bytesWritten+=r.data.length,i.prototype.push.call(this,{data:r.data,meta:{currentFile:this.currentFile,percent:o?(h+100*(o-u-1))/o:100}}))},v.prototype.openedSource=function(r){this.currentSourceOffset=this.bytesWritten,this.currentFile=r.file.name;var h=this.streamFiles&&!r.file.dir;if(h){var o=l(r,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:o.fileRecord,meta:{percent:0}})}else this.accumulate=!0},v.prototype.closedSource=function(r){this.accumulate=!1;var h=this.streamFiles&&!r.file.dir,o=l(r,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),h)this.push({data:(function(u){return c.DATA_DESCRIPTOR+n(u.crc32,4)+n(u.compressedSize,4)+n(u.uncompressedSize,4)})(r),meta:{percent:100}});else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},v.prototype.flush=function(){for(var r=this.bytesWritten,h=0;h<this.dirRecords.length;h++)this.push({data:this.dirRecords[h],meta:{percent:100}});var o=this.bytesWritten-r,u=(function(p,_,k,C,M){var T=e.transformTo("string",M(C));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(p,2)+n(p,2)+n(_,4)+n(k,4)+n(T.length,2)+T})(this.dirRecords.length,o,r,this.zipComment,this.encodeFileName);this.push({data:u,meta:{percent:100}})},v.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},v.prototype.registerPrevious=function(r){this._sources.push(r);var h=this;return r.on("data",function(o){h.processChunk(o)}),r.on("end",function(){h.closedSource(h.previous.streamInfo),h._sources.length?h.prepareNextSource():h.end()}),r.on("error",function(o){h.error(o)}),this},v.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},v.prototype.error=function(r){var h=this._sources;if(!i.prototype.error.call(this,r))return!1;for(var o=0;o<h.length;o++)try{h[o].error(r)}catch{}return!0},v.prototype.lock=function(){i.prototype.lock.call(this);for(var r=this._sources,h=0;h<r.length;h++)r[h].lock()},x.exports=v},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(a,x,g){var n=a("../compressions"),l=a("./ZipFileWorker");g.generateWorker=function(e,i,d){var m=new l(i.streamFiles,d,i.platform,i.encodeFileName),c=0;try{e.forEach(function(v,r){c++;var h=(function(_,k){var C=_||k,M=n[C];if(!M)throw new Error(C+" is not a valid compression method !");return M})(r.options.compression,i.compression),o=r.options.compressionOptions||i.compressionOptions||{},u=r.dir,p=r.date;r._compressWorker(h,o).withStreamInfo("file",{name:v,dir:u,date:p,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(m)}),m.entriesCount=c}catch(v){m.error(v)}return m}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(a,x,g){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var l=new n;for(var e in this)typeof this[e]!="function"&&(l[e]=this[e]);return l}}(n.prototype=a("./object")).loadAsync=a("./load"),n.support=a("./support"),n.defaults=a("./defaults"),n.version="3.10.1",n.loadAsync=function(l,e){return new n().loadAsync(l,e)},n.external=a("./external"),x.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(a,x,g){var n=a("./utils"),l=a("./external"),e=a("./utf8"),i=a("./zipEntries"),d=a("./stream/Crc32Probe"),m=a("./nodejsUtils");function c(v){return new l.Promise(function(r,h){var o=v.decompressed.getContentWorker().pipe(new d);o.on("error",function(u){h(u)}).on("end",function(){o.streamInfo.crc32!==v.decompressed.crc32?h(new Error("Corrupted zip : CRC32 mismatch")):r()}).resume()})}x.exports=function(v,r){var h=this;return r=n.extend(r||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:e.utf8decode}),m.isNode&&m.isStream(v)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip f
125ile",v,!0,r.optimizedBinaryString,r.base64).then(function(o){var u=new i(r);return u.load(o),u}).then(function(o){var u=[l.Promise.resolve(o)],p=o.files;if(r.checkCRC32)for(var _=0;_<p.length;_++)u.push(c(p[_]));return l.Promise.all(u)}).then(function(o){for(var u=o.shift(),p=u.files,_=0;_<p.length;_++){var k=p[_],C=k.fileNameStr,M=n.resolve(k.fileNameStr);h.file(M,k.decompressed,{binary:!0,optimizedBinaryString:!0,date:k.date,dir:k.dir,comment:k.fileCommentStr.length?k.fileCommentStr:null,unixPermissions:k.unixPermissions,dosPermissions:k.dosPermissions,createFolders:r.createFolders}),k.dir||(h.file(M).unsafeOriginalName=C)}return u.zipComment.length&&(h.comment=u.zipComment),h})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(a,x,g){var n=a("../utils"),l=a("../stream/GenericWorker");function e(i,d){l.call(this,"Nodejs stream input adapter for "+i),this._upstreamEnded=!1,this._bindStream(d)}n.inherits(e,l),e.prototype._bindStream=function(i){var d=this;(this._stream=i).pause(),i.on("data",function(m){d.push({data:m,meta:{percent:0}})}).on("error",function(m){d.isPaused?this.generatedError=m:d.error(m)}).on("end",function(){d.isPaused?d._upstreamEnded=!0:d.end()})},e.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},e.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},x.exports=e},{"../stream/GenericWorker":28,"../utils":32}],13:[function(a,x,g){var n=a("readable-stream").Readable;function l(e,i,d){n.call(this,i),this._helper=e;var m=this;e.on("data",function(c,v){m.push(c)||m._helper.pause(),d&&d(v)}).on("error",function(c){m.emit("error",c)}).on("end",function(){m.push(null)})}a("../utils").inherits(l,n),l.prototype._read=function(){this._helper.resume()},x.exports=l},{"../utils":32,"readable-stream":16}],14:[function(a,x,g){x.exports={isNode:typeof Buffer<"u",newBufferFrom:function(n,l){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(n,l);if(typeof n=="number")throw new Error('The "data" argument must not be a number');return new Buffer(n,l)},allocBuffer:function(n){if(Buffer.alloc)return Buffer.alloc(n);var l=new Buffer(n);return l.fill(0),l},isBuffer:function(n){return Buffer.isBuffer(n)},isStream:function(n){return n&&typeof n.on=="function"&&typeof n.pause=="function"&&typeof n.resume=="function"}}},{}],15:[function(a,x,g){function n(M,T,$){var F,B=e.getTypeOf(T),V=e.extend($||{},m);V.date=V.date||new Date,V.compression!==null&&(V.compression=V.compression.toUpperCase()),typeof V.unixPermissions=="string"&&(V.unixPermissions=parseInt(V.unixPermissions,8)),V.unixPermissions&&16384&V.unixPermissions&&(V.dir=!0),V.dosPermissions&&16&V.dosPermissions&&(V.dir=!0),V.dir&&(M=p(M)),V.createFolders&&(F=u(M))&&_.call(this,F,!0);var Q=B==="string"&&V.binary===!1&&V.base64===!1;$&&$.binary!==void 0||(V.binary=!Q),(T instanceof c&&T.uncompressedSize===0||V.dir||!T||T.length===0)&&(V.base64=!1,V.binary=!0,T="",V.compression="STORE",B="string");var S=null;S=T instanceof c||T instanceof i?T:h.isNode&&h.isStream(T)?new o(M,T):e.prepareContent(M,T,V.binary,V.optimizedBinaryString,V.base64);var U=new v(M,S,V);this.files[M]=U}var l=a("./utf8"),e=a("./utils"),i=a("./stream/GenericWorker"),d=a("./stream/StreamHelper"),m=a("./defaults"),c=a("./compressedObject"),v=a("./zipObject"),r=a("./generate"),h=a("./nodejsUtils"),o=a("./nodejs/NodejsStreamInputAdapter"),u=function(M){M.slice(-1)==="/"&&(M=M.substring(0,M.length-1));var T=M.lastIndexOf("/");return 0<T?M.substring(0,T):""},p=function(M){return M.slice(-1)!=="/"&&(M+="/"),M},_=function(M,T){return T=T!==void 0?T:m.createFolders,M=p(M),this.files[M]||n.call(this,M,null,{dir:!0,createFolders:T}),this.files[M]};function k(M){return Object.prototype.toString.call(M)==="[object RegExp]"}var C={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(M){var T,$,F;for(T in this.files)F=this.files[T],($=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&M($,F)},filter:function(M){var T=[];return this.forEach(function($,F){M($,F)&&T.push(F)}),T},file:function(M,T,$){if(arguments.length!==1)return M=this.root+M,n.call(this,M,T,$),this;if(k(M)){var F=M;return this.filter(function(V,Q){return!Q.dir&&F.test(V)})}var B=this.files[this.root+M];return B&&!B.dir?B:null},folder:function(M){if(!M)return this;
vendor: 22,558 bytes, line 125
125if(k(M))return this.filter(function(B,V){return V.dir&&M.test(B)});var T=this.root+M,$=_.call(this,T),F=this.clone();return F.root=$.name,F},remove:function(M){M=this.root+M;var T=this.files[M];if(T||(M.slice(-1)!=="/"&&(M+="/"),T=this.files[M]),T&&!T.dir)delete this.files[M];else for(var $=this.filter(function(B,V){return V.name.slice(0,M.length)===M}),F=0;F<$.length;F++)delete this.files[$[F].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(M){var T,$={};try{if(($=e.extend(M||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=$.type.toLowerCase(),$.compression=$.compression.toUpperCase(),$.type==="binarystring"&&($.type="string"),!$.type)throw new Error("No output type specified.");e.checkSupport($.type),$.platform!=="darwin"&&$.platform!=="freebsd"&&$.platform!=="linux"&&$.platform!=="sunos"||($.platform="UNIX"),$.platform==="win32"&&($.platform="DOS");var F=$.comment||this.comment||"";T=r.generateWorker(this,$,F)}catch(B){(T=new i("error")).error(B)}return new d(T,$.type||"string",$.mimeType)},generateAsync:function(M,T){return this.generateInternalStream(M).accumulate(T)},generateNodeStream:function(M,T){return(M=M||{}).type||(M.type="nodebuffer"),this.generateInternalStream(M).toNodejsStream(T)}};x.exports=C},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(a,x,g){x.exports=a("stream")},{stream:void 0}],17:[function(a,x,g){var n=a("./DataReader");function l(e){n.call(this,e);for(var i=0;i<this.data.length;i++)e[i]=255&e[i]}a("../utils").inherits(l,n),l.prototype.byteAt=function(e){return this.data[this.zero+e]},l.prototype.lastIndexOfSignature=function(e){for(var i=e.charCodeAt(0),d=e.charCodeAt(1),m=e.charCodeAt(2),c=e.charCodeAt(3),v=this.length-4;0<=v;--v)if(this.data[v]===i&&this.data[v+1]===d&&this.data[v+2]===m&&this.data[v+3]===c)return v-this.zero;return-1},l.prototype.readAndCheckSignature=function(e){var i=e.charCodeAt(0),d=e.charCodeAt(1),m=e.charCodeAt(2),c=e.charCodeAt(3),v=this.readData(4);return i===v[0]&&d===v[1]&&m===v[2]&&c===v[3]},l.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var i=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,i},x.exports=l},{"../utils":32,"./DataReader":18}],18:[function(a,x,g){var n=a("../utils");function l(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var i,d=0;for(this.checkOffset(e),i=this.index+e-1;i>=this.index;i--)d=(d<<8)+this.byteAt(i);return this.index+=e,d},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},x.exports=l},{"../utils":32}],19:[function(a,x,g){var n=a("./Uint8ArrayReader");function l(e){n.call(this,e)}a("../utils").inherits(l,n),l.prototype.readData=function(e){this.checkOffset(e);var i=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,i},x.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(a,x,g){var n=a("./DataReader");function l(e){n.call(this,e)}a("../utils").inherits(l,n),l.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},l.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},l.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},l.prototype.readData=function(e){this.checkOffset(e);var i=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,i},x.exports=l},{"../utils":32,"./DataReader":18}],21:[function(a,x,g){var n=a("./ArrayReader");function l(e){n.call(this,e)}a("../utils").inherits(l,n),l.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var i=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,i},x.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(a,x,g){var n=a("../utils"),l=a("../support"),e=a("./ArrayReader"),i=a("./StringReader"),d=a("./NodeBufferReader"),m=a("./Uint8ArrayReader");x.exports=function(c){var v=n.getTypeOf(c);return n.checkSupport(v),v!=="string"||l.uint8array?v==="nodebuffer"?new d(c):l.uint8array?new m(n.transformTo("uint8array",c)):new e(n.transformTo("array",c)):new i(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(a,x,g){g.LOCAL_FILE_HEADER="PK��",g.CENTRAL_FILE_HEADER="PK��",g.CENTRAL_DIRECTORY_END="PK��",g.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",g.ZIP64_CENTRAL_DIRECTORY_END="PK��",g.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(a,x,g){var n=a("./GenericWorker"),l=a("../utils");function e(i){n.call(this,"ConvertWorker to "+i),this.destType=i}l.inherits(e,n),e.prototype.processChunk=function(i){this.push({data:l.transformTo(this.destType,i.data),meta:i.meta})},x.exports=e},{"../utils":32,"./GenericWorker":28}],25:[function(a,x,g){var n=a("./GenericWorker"),l=a("../crc32");function e(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}a("../utils").inherits(e,n),e.prototype.processChunk=function(i){this.streamInfo.crc32=l(i.data,this.streamInfo.crc32||0),this.push(i)},x.exports=e},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(a,x,g){var n=a("../utils"),l=a("./GenericWorker");function e(i){l.call(this,"DataLengthProbe for "+i),this.propName=i,this.withStreamInfo(i,0)}n.inherits(e,l),e.prototype.processChunk=function(i){if(i){var d=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=d+i.data.length}l.prototype.processChunk.call(this,i)},x.exports=e},{"../utils":32,"./GenericWorker":28}],27:[function(a,x,g){var n=a("../utils"),l=a("./GenericWorker");function e(i){l.call(this,"DataWorker");var d=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,i.then(function(m){d.dataIsReady=!0,d.data=m,d.max=m&&m.length||0,d.type=n.getTypeOf(m),d.isPaused||d._tickAndRepeat()},function(m){d.error(m)})}n.inherits(e,l),e.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},e.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},e.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},e.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var i=null,d=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":i=this.data.substring(this.index,d);break;case"uint8array":i=this.data.subarray(this.index,d);break;case"array":case"nodebuffer":i=this.data.slice(this.index,d)}return this.index=d,this.push({data:i,meta:{percent:this.max?this.index/this.max*100:0}})},x.exports=e},{"../utils":32,"./GenericWorker":28}],28:[function(a,x,g){function n(l){this.name=l||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return!this.isFinished&&(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,e){return this._listeners[l].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,e){if(this._listeners[l])for(var i=0;i<this._listeners[l].length;i++)this._listeners[l][i].call(this,e)},pipe:function(l){return l.registerPrevious(this)},registerPrevious:function(l){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=l.streamInfo,this.mergeStreamInfo(),this.previous=l;var e=this;return l.on("data",function(i){e.processChunk(i)}),l.on("end",function(){e.end()}),l.on("error",function(i){e.error(i)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var l=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),l=!0),this.previous&&this.previous.resume(),!l},flush:function(){},processChunk:function(l){this.push(l)},withStreamInfo:function(l,e){return this.extraStreamInfo[l]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var l in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,l)&&(this.streamInfo[l]=this.extraStreamInfo[l])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var l="Worker "+this.name;return this.previous?this.previous+" -> "+l:l}},x.exports=n},{}],29:[function(a,x,g){var n=a("../utils"),l=a("./ConvertWorker"),e=a("./GenericWorker"),i=a("../base64"),d=a("../support"),m=a("../external"),c=null;if(d.nodestream)try{c=a("../nodejs/NodejsStreamOutputAdapter")}catch{}function v(h,o){return new m.Promise(function(u,p){var _=[],k=h._internalType,C=h._outputType,M=h._mimeType;h.on("data",function(T,$){_.push(T),o&&o($)}).on("error",function(T){_=[],p(T)}).on("end",function(){try{var T=(function($,F,B){switch($){case"blob":return n.newBlob(n.transformTo("arraybuffer",F),B);case"base64":return i.encode(F);default:return n.transformTo($,F)}})(C,(function($,F){var B,V=0,Q=null,S=0;for(B=0;B<F.length;B++)S+=F[B].length;switch($){case"string":return F.join("");case"array":return Array.prototype.concat.apply([],F);case"uint8array":for(Q=new Uint8Array(S),B=0;B<F.length;B++)Q.set(F[B],V),V+=F[B].length;return Q;case"nodebuffer":return Buffer.concat(F);default:throw new Error("concat : unsupported type '"+$+"'")}})(k,_),M);u(T)}catch($){p($)}_=[]}).resume()})}function r(h,o,u){var p=o;switch(o){case"blob":case"arraybuffer":p="uint8array";break;case"base64":p="string"}try{this._internalType=p,this._outputType=o,this._mimeType=u,n.checkSupport(p),this._worker=h.pipe(new l(p)),h.lock()}catch(_){this._worker=new e("error"),this._worker.error(_)}}r.prototype={accumulate:function(h){return v(this,h)},on:function(h,o){var u=this;return h==="data"?this._worker.on(h,function(p){o.call(u,p.data,p.meta)}):this._worker.on(h,function(){n.delay(o,arguments,u)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(h){if(n.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:this._outputType!=="nodebuffer"},h)}},x.exports=r},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(a,x,g){if(g.base64=!0,g.array=!0,g.string=!0,g.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",g.nodebuffer=typeof Buffer<"u",g.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")g.blob=!1;else{var n=new ArrayBuffer(0);try{g.blob=new Blob([n],{type:"application/zip"}).size===0}catch{try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(n),g.blob=l.getBlob("application/zip").size===0}catch{g.blob=!1}}}try{g.nodestream=!!a("readable-stream").Readable}catch{g.nodestream=!1}},{"readable-stream":16}],31:[function(a,x,g){for(var n=a("./utils"),l=a("./support"),e=a("./nodejsUtils"),i=a("./stream/GenericWorker"),d=new Array(256),m=0;m<256;m++)d[m]=252<=m?6:248<=m?5:240<=m?4:224<=m?3:192<=m?2:1;d[254]=d[254]=1;function c(){i.call(this,"utf-8 decode"),this.leftOver=null}function v(){i.call(this,"utf-8 encode")}g.utf8encode=function(r){return l.nodebuffer?e.newBufferFrom(r,"utf-8"):(function(h){var o,u,p,_,k,C=h.length,M=0;for(_=0;_<C;_++)(64512&(u=h.charCodeAt(_)))==55296&&_+1<C&&(64512&(p=h.charCodeAt(_+1)))==56320&&(u=65536+(u-55296<<10)+(p-56320),_++),M+=u<128?1:u<2048?2:u<65536?3:4;for(o=l.uint8array?new Uint8Array(M):new Array(M),_=k=0;k<M;_++)(64512&(u=h.charCodeAt(_)))==55296&&_+1<C&&(64512&(p=h.charCodeAt(_+1)))==56320&&(u=65536+(u-55296<<10)+(p-56320),_++),u<128?o[k++]=u:(u<2048?o[k++]=192|u>>>6:(u<65536?o[k++]=224|u>>>12:(o[k++]=240|u>>>18,o[k++]=128|u>>>12&63),o[k++]=128|u>>>6&63),o[k++]=128|63&u);return o})(r)},g.utf8decode=function(r){return l.nodebuffer?n.transformTo("nodebuffer",r).toString("utf-8"):(function(h){var o,u,p,_,k=h.length,C=new Array(2*k);for(o=u=0;o<k;)if((p=h[o++])<128)C[u++]=p;else if(4<(_=d[p]))C[u++]=65533,o+=_-1;else{for(p&=_===2?31:_===3?15:7;1<_&&o<k;)p=p<<6|63&h[o++],_--;1<_?C[u++]=65533:p<65536?C[u++]=p:(p-=65536,C[u++]=55296|p>>10&1023,C[u++]=56320|1023&p)}return C.length!==u&&(C.subarray?C=C.subarray(0,u):C.length=u),n.applyFromCharCode(C)})(r=n.transformTo(l.uint8array?"uint8array":"array",r))},n.inherits(c,i),c.prototype.processChunk=function(r){var h=n.transformTo(l.uint8array?"uint8array":"array",r.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var o=h;(h=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),h.set(o,this.leftOver.length)}else h=this.leftOver.concat(h);this.leftOver=null}var u=(function(_,k){var C;for((k=k||_.length)>_.length&&(k=_.length),C=k-1;0<=C&&(192&_[C])==128;)C--;return C<0||C===0?k:C+d[_[C]]>k?C:k})(h),p=h;u!==h.length&&(l.uint8array?(p=h.subarray(0,u),this.leftOver=h.subarray(u,h.length)):(p=h.slice(0,u),this.leftOver=h.slice(u,h.length))),this.push({data:g.utf8decode(p),meta:r.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:g.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},g.Utf8DecodeWorker=c,n.inherits(v,i),v.prototype.processChunk=function(r){this.push({data:g.utf8encode(r.data),meta:r.meta})},g.Utf8EncodeWorker=v},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(a,x,g){var n=a("./support"),l=a("./base64"),e=a("./nodejsUtils"),i=a("./external");function d(o){return o}function m(o,u){for(var p=0;p<o.length;++p)u[p]=255&o.charCodeAt(p);return u}a("setimmediate"),g.newBlob=function(o,u){g.checkSupport("blob");try{return new Blob([o],{type:u})}catch{try{var p=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return p.append(o),p.getBlob(u)}catch{throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(o,u,p){var _=[],k=0,C=o.length;if(C<=p)return String.fromCharCode.apply(null,o);for(;k<C;)u==="array"||u==="nodebuffer"?_.push(String.fromCharCode.apply(null,o.slice(k,Math.min(k+p,C)))):_.push(String.fromCharCode.apply(null,o.subarray(k,Math.min(k+p,C)))),k+=p;return _.join("")},stringifyByChar:function(o){for(var u="",p=0;p<o.length;p++)u+=String.fromCharCode(o[p]);return u},applyCanBeUsed:{uint8array:(function(){try{return n.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return n.nodebuffer&&String.fromCharCode.apply(null,e.allocBuffer(1)).length===1}catch{return!1}})()}};function v(o){var u=65536,p=g.getTypeOf(o),_=!0;if(p==="uint8array"?_=c.applyCanBeUsed.uint8array:p==="nodebuffer"&&(_=c.applyCanBeUsed.nodebuffer),_)for(;1<u;)try{return c.stringifyByChunk(o,p,u)}catch{u=Math.floor(u/2)}return c.stringifyByChar(o)}function r(o,u){for(var p=0;p<o.length;p++)u[p]=o[p];return u}g.applyFromCharCode=v;var h={};h.string={string:d,array:function(o){return m(o,new Array(o.length))},arraybuffer:function(o){return h.string.uint8array(o).buffer},uint8array:function(o){return m(o,new Uint8Array(o.length))},nodebuffer:function(o){return m(o,e.allocBuffer(o.length))}},h.array={string:v,array:d,arraybuffer:function(o){return new Uint8Array(o).buffer},uint8array:function(o){return new Uint8Array(o)},nodebuffer:function(o){return e.newBufferFrom(o)}},h.arraybuffer={string:function(o){return v(new Uint8Array(o))},array:function(o){return r(new Uint8Array(o),new Array(o.byteLength))},arraybuffer:d,uint8array:function(o){return new Uint8Array(o)},nodebuffer:function(o){return e.newBufferFrom(new Uint8Array(o))}},h.uint8array={string:v,array:function(o){return r(o,new Array(o.length))},arraybuffer:function(o){return o.buffer},uint8array:d,nodebuffer:function(o){return e.newBufferFrom(o)}},h.nodebuffer={string:v,array:function(o){return r(o,new Array(o.length))},arraybuffer:function(o){return h.nodebuffer.uint8array(o).buffer},uint8array:function(o){return r(o,new Uint8Array(o.length))},nodebuffer:d},g.transformTo=function(o,u){if(u=u||"",!o)return u;g.checkSupport(o);var p=g.getTypeOf(u);return h[p][o](u)},g.resolve=function(o){for(var u=o.split("/"),p=[],_=0;_<u.length;_++){var k=u[_];k==="."||k===""&&_!==0&&_!==u.length-1||(k===".."?p.pop():p.push(k))}return p.join("/")},g.getTypeOf=function(o){return typeof o=="string"?"string":Object.prototype.toString.call(o)==="[object Array]"?"array":n.nodebuffer&&e.isBuffer(o)?"nodebuffer":n.uint8array&&o instanceof Uint8Array?"uint8array":n.arraybuffer&&o instanceof ArrayBuffer?"arraybuffer":void 0},g.checkSupport=function(o){if(!n[o.toLowerCase()])throw new Error(o+" is not supported by this platform")},g.MAX_VALUE_16BITS=65535,g.MAX_VALUE_32BITS=-1,g.pretty=function(o){var u,p,_="";for(p=0;p<(o||"").length;p++)_+="\\x"+((u=o.charCodeAt(p))<16?"0":"")+u.toString(16).toUpperCase();return _},g.delay=function(o,u,p){setImmediate(function(){o.apply(p||null,u||[])})},g.inherits=function(o,u){function p(){}p.prototype=u.prototype,o.prototype=new p},g.extend=function(){var o,u,p={};for(o=0;o<arguments.length;o++)for(u in arguments[o])Object.prototype.hasOwnProperty.call(arguments[o],u)&&p[u]===void 0&&(p[u]=arguments[o][u]);return p},g.prepareContent=function(o,u,p,_,k){return i.Promise.resolve(u).then(function(C){return n.blob&&(C instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(C))!==-1)&&typeof FileReader<"u"?new i.Promise(function(M,T){var $=new FileReader;$.onload=function(F){M(F.target.result)},$.onerror=function(F){T(F.target.error)},$.readAsArrayBuffer(C)}):C}).then(function(C){var M=g.getTypeOf(C);return M?(M==="arraybuffer"?C=g.transformTo("uint8array",C):M==="string"&&(k?C=l.decode(C):p&&_!==!0&&(C=(function(T){return m(T,n.uint8array?new Uint8Array(T.length):new Array(T.length))})(C))),C):i.Promise.reject(new Error("Can't read the data of '"+o+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(a,x,g){var n=a("./reader/readerFor"),l=a("./utils"),e=a("./signature"),i=a("./zipEntry"),d=a("./support");function m(c){this.files=[],this.loadOptions=c}m.prototype={checkSignature:function(c){if(!this.reader.readAndCheckSignature(c)){this.reader.index-=4;var v=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(v)+", expected "+l.pretty(c)+")")}},isSignature:function(c,v){var r=this.reader.index;this.reader.setIndex(c);var h=this.reader.readString(4)===v;return this.reader.setIndex(r),h},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var c=this.reader.readData(this.zipCommentLength),v=d.uint8array?"uint8array":"array",r=l.transformTo(v,c);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var c,v,r,h=this.zip64EndOfCentralSize-44;0<h;)c=this.reader.readInt(2),v=this.reader.readInt(4),r=this.reader.readData(v),this.zip64ExtensibleData[c]={id:c,length:v,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var c,v;for(c=0;c<this.files.length;c++)v=this.files[c],this.reader.setIndex(v.localHeaderOffset),this.checkSignature(e.LOCAL_FILE_HEADER),v.readLocalPart(this.reader),v.handleUTF8(),v.processAttributes()},readCentralDir:function(){var c;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(e.CENTRAL_FILE_HEADER);)(c=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(c);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var c=this.reader.lastIndexOfSignature(e.CENTRAL_DIRECTORY_END);if(c<0)throw this.isSignature(0,e.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip f
125ile ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(c);var v=c;if(this.checkSignature(e.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(c=this.reader.lastIndexOfSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(c),this.checkSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,e.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(e.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(e.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var h=v-r;if(0<h)this.isSignature(v,e.CENTRAL_FILE_HEADER)||(this.reader.zero=h);else if(h<0)throw new Error("Corrupted zip: missing "+Math.abs(h)+" bytes.")},prepareReader:function(c){this.reader=n(c)},load:function(c){this.prepareReader(c),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},x.exports=m},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(a,x,g){var n=a("./reader/readerFor"),l=a("./utils"),e=a("./compressedObject"),i=a("./crc32"),d=a("./utf8"),m=a("./compressions"),c=a("./support");function v(r,h){this.options=r,this.loadOptions=h}v.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(r){var h,o;if(r.skip(22),this.fileNameLength=r.readInt(2),o=r.readInt(2),this.fileName=r.readData(this.fileNameLength),r.skip(o),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((h=(function(u){for(var p in m)if(Object.prototype.hasOwnProperty.call(m,p)&&m[p].magic===u)return m[p];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new e(this.compressedSize,this.uncompressedSize,this.crc32,h,r.readData(this.compressedSize))},readCentralPart:function(r){this.versionMadeBy=r.readInt(2),r.skip(2),this.bitFlag=r.readInt(2),this.compressionMethod=r.readString(2),this.date=r.readDate(),this.crc32=r.readInt(4),this.compressedSize=r.readInt(4),this.uncompressedSize=r.readInt(4);var h=r.readInt(2);if(this.extraFieldsLength=r.readInt(2),this.fileCommentLength=r.readInt(2),this.diskNumberStart=r.readInt(2),this.internalFileAttributes=r.readInt(2),this.externalFileAttributes=r.readInt(4),this.localHeaderOffset=r.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");r.skip(h),this.readExtraFields(r),this.parseZIP64ExtraField(r),this.fileComment=r.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var r=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),r==0&&(this.dosPermissions=63&this.externalFileAttributes),r==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=n(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&
vendor: 54,136 bytes, line 125
125(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4))}},readExtraFields:function(r){var h,o,u,p=r.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});r.index+4<p;)h=r.readInt(2),o=r.readInt(2),u=r.readData(o),this.extraFields[h]={id:h,length:o,value:u};r.setIndex(p)},handleUTF8:function(){var r=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=d.utf8decode(this.fileName),this.fileCommentStr=d.utf8decode(this.fileComment);else{var h=this.findExtraFieldUnicodePath();if(h!==null)this.fileNameStr=h;else{var o=l.transformTo(r,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(o)}var u=this.findExtraFieldUnicodeComment();if(u!==null)this.fileCommentStr=u;else{var p=l.transformTo(r,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(p)}}},findExtraFieldUnicodePath:function(){var r=this.extraFields[28789];if(r){var h=n(r.value);return h.readInt(1)!==1||i(this.fileName)!==h.readInt(4)?null:d.utf8decode(h.readData(r.length-5))}return null},findExtraFieldUnicodeComment:function(){var r=this.extraFields[25461];if(r){var h=n(r.value);return h.readInt(1)!==1||i(this.fileComment)!==h.readInt(4)?null:d.utf8decode(h.readData(r.length-5))}return null}},x.exports=v},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(a,x,g){function n(h,o,u){this.name=h,this.dir=u.dir,this.date=u.date,this.comment=u.comment,this.unixPermissions=u.unixPermissions,this.dosPermissions=u.dosPermissions,this._data=o,this._dataBinary=u.binary,this.options={compression:u.compression,compressionOptions:u.compressionOptions}}var l=a("./stream/StreamHelper"),e=a("./stream/DataWorker"),i=a("./utf8"),d=a("./compressedObject"),m=a("./stream/GenericWorker");n.prototype={internalStream:function(h){var o=null,u="string";try{if(!h)throw new Error("No output type specified.");var p=(u=h.toLowerCase())==="string"||u==="text";u!=="binarystring"&&u!=="text"||(u="string"),o=this._decompressWorker();var _=!this._dataBinary;_&&!p&&(o=o.pipe(new i.Utf8EncodeWorker)),!_&&p&&(o=o.pipe(new i.Utf8DecodeWorker))}catch(k){(o=new m("error")).error(k)}return new l(o,u,"")},async:function(h,o){return this.internalStream(h).accumulate(o)},nodeStream:function(h,o){return this.internalStream(h||"nodebuffer").toNodejsStream(o)},_compressWorker:function(h,o){if(this._data instanceof d&&this._data.compression.magic===h.magic)return this._data.getCompressedWorker();var u=this._decompressWorker();return this._dataBinary||(u=u.pipe(new i.Utf8EncodeWorker)),d.createWorkerFrom(u,h,o)},_decompressWorker:function(){return this._data instanceof d?this._data.getContentWorker():this._data instanceof m?this._data:new e(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],v=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},r=0;r<c.length;r++)n.prototype[c[r]]=v;x.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(a,x,g){(function(n){var l,e,i=n.MutationObserver||n.WebKitMutationObserver;if(i){var d=0,m=new i(h),c=n.document.createTextNode("");m.observe(c,{characterData:!0}),l=function(){c.data=d=++d%2}}else if(n.setImmediate||n.MessageChannel===void 0)l="document"in n&&"onreadystatechange"in n.document.createElement("script")?function(){var o=n.document.createElement("script");o.onreadystatechange=function(){h(),o.onreadystatechange=null,o.parentNode.removeChild(o),o=null},n.document.documentElement.appendChild(o)}:function(){setTimeout(h,0)};else{var v=new n.MessageChannel;v.port1.onmessage=h,l=function(){v.port2.postMessage(0)}}var r=[];function h(){var o,u;e=!0;for(var p=r.length;p;){for(u=r,r=[],o=-1;++o<p;)u[o]();p=r.length}e=!1}x.exports=function(o){r.push(o)!==1||e||l()}}).call(this,typeof xe<"u"?xe:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(a,x,g){var n=a("immediate");function l(){}var e={},i=["REJECTED"],d=["FULFILLED"],m=["PENDING"];function c(p){if(typeof p!="function")throw new TypeError("resolver must be a function");this.state=m,this.queue=[],this.outcome=void 0,p!==l&&o(this,p)}function v(p,_,k){this.promise=p,typeof _=="function"&&(this.onFulfilled=_,this.callFulfilled=this.otherCallFulfilled),typeof k=="function"&&(this.onRejected=k,this.callRejected=this.otherCallRejected)}function r(p,_,k){n(function(){var C;try{C=_(k)}catch(M){return e.reject(p,M)}C===p?e.reject(p,new TypeError("Cannot resolve promise with itself")):e.resolve(p,C)})}function h(p){var _=p&&p.then;if(p&&(typeof p=="object"||typeof p=="function")&&typeof _=="function")return function(){_.apply(p,arguments)}}function o(p,_){var k=!1;function C($){k||(k=!0,e.reject(p,$))}function M($){k||(k=!0,e.resolve(p,$))}var T=u(function(){_(M,C)});T.status==="error"&&C(T.value)}function u(p,_){var k={};try{k.value=p(_),k.status="success"}catch(C){k.status="error",k.value=C}return k}(x.exports=c).prototype.finally=function(p){if(typeof p!="function")return this;var _=this.constructor;return this.then(function(k){return _.resolve(p()).then(function(){return k})},function(k){return _.resolve(p()).then(function(){throw k})})},c.prototype.catch=function(p){return this.then(null,p)},c.prototype.then=function(p,_){if(typeof p!="function"&&this.state===d||typeof _!="function"&&this.state===i)return this;var k=new this.constructor(l);return this.state!==m?r(k,this.state===d?p:_,this.outcome):this.queue.push(new v(k,p,_)),k},v.prototype.callFulfilled=function(p){e.resolve(this.promise,p)},v.prototype.otherCallFulfilled=function(p){r(this.promise,this.onFulfilled,p)},v.prototype.callRejected=function(p){e.reject(this.promise,p)},v.prototype.otherCallRejected=function(p){r(this.promise,this.onRejected,p)},e.resolve=function(p,_){var k=u(h,_);if(k.status==="error")return e.reject(p,k.value);var C=k.value;if(C)o(p,C);else{p.state=d,p.outcome=_;for(var M=-1,T=p.queue.length;++M<T;)p.queue[M].callFulfilled(_)}return p},e.reject=function(p,_){p.state=i,p.outcome=_;for(var k=-1,C=p.queue.length;++k<C;)p.queue[k].callRejected(_);return p},c.resolve=function(p){return p instanceof this?p:e.resolve(new this(l),p)},c.reject=function(p){var _=new this(l);return e.reject(_,p)},c.all=function(p){var _=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=p.length,C=!1;if(!k)return this.resolve([]);for(var M=new Array(k),T=0,$=-1,F=new this(l);++$<k;)B(p[$],$);return F;function B(V,Q){_.resolve(V).then(function(S){M[Q]=S,++T!==k||C||(C=!0,e.resolve(F,M))},function(S){C||(C=!0,e.reject(F,S))})}},c.race=function(p){var _=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=p.length,C=!1;if(!k)return this.resolve([]);for(var M=-1,T=new this(l);++M<k;)$=p[M],_.resolve($).then(function(F){C||(C=!0,e.resolve(T,F))},function(F){C||(C=!0,e.reject(T,F))});var $;return T}},{immediate:36}],38:[function(a,x,g){var n={};(0,a("./lib/utils/common").assign)(n,a("./lib/deflate"),a("./lib/inflate"),a("./lib/zlib/constants")),x.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(a,x,g){var n=a("./zlib/deflate"),l=a("./utils/common"),e=a("./utils/strings"),i=a("./zlib/messages"),d=a("./zlib/zstream"),m=Object.prototype.toString,c=0,v=-1,r=0,h=8;function o(p){if(!(this instanceof o))return new o(p);this.options=l.assign({level:v,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:r,to:""},p||{});var _=this.options;_.raw&&0<_.windowBits?_.windowBits=-_.windowBits:_.gzip&&0<_.windowBits&&_.windowBits<16&&(_.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var k=n.deflateInit2(this.strm,_.level,_.method,_.windowBits,_.memLevel,_.strategy);if(k!==c)throw new Error(i[k]);if(_.header&&n.deflateSetHeader(this.strm,_.header),_.dictionary){var C;if(C=typeof _.dictionary=="string"?e.string2buf(_.dictionary):m.call(_.dictionary)==="[object ArrayBuffer]"?new Uint8Array(_.dictionary):_.dictionary,(k=n.deflateSetDictionary(this.strm,C))!==c)throw new Error(i[k]);this._dict_set=!0}}function u(p,_){var k=new o(_);if(k.push(p,!0),k.err)throw k.msg||i[k.err];return k.result}o.prototype.push=function(p,_){var k,C,M=this.strm,T=this.options.chunkSize;if(this.ended)return!1;C=_===~~_?_:_===!0?4:0,typeof p=="string"?M.input=e.string2buf(p):m.call(p)==="[object ArrayBuffer]"?M.input=new Uint8Array(p):M.input=p,M.next_in=0,M.avail_in=M.input.length;do{if(M.avail_out===0&&(M.output=new l.Buf8(T),M.next_out=0,M.avail_out=T),(k=n.deflate(M,C))!==1&&k!==c)return this.onEnd(k),!(this.ended=!0);M.avail_out!==0&&(M.avail_in!==0||C!==4&&C!==2)||(this.options.to==="string"?this.onData(e.buf2binstring(l.shrinkBuf(M.output,M.next_out))):this.onData(l.shrinkBuf(M.output,M.next_out)))}while((0<M.avail_in||M.avail_out===0)&&k!==1);return C===4?(k=n.deflateEnd(this.strm),this.onEnd(k),this.ended=!0,k===c):C!==2||(this.onEnd(c),!(M.avail_out=0))},o.prototype.onData=function(p){this.chunks.push(p)},o.prototype.onEnd=function(p){p===c&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=p,this.msg=this.strm.msg},g.Deflate=o,g.deflate=u,g.deflateRaw=function(p,_){return(_=_||{}).raw=!0,u(p,_)},g.gzip=function(p,_){return(_=_||{}).gzip=!0,u(p,_)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(a,x,g){var n=a("./zlib/inflate"),l=a("./utils/common"),e=a("./utils/strings"),i=a("./zlib/constants"),d=a("./zlib/messages"),m=a("./zlib/zstream"),c=a("./zlib/gzheader"),v=Object.prototype.toString;function r(o){if(!(this instanceof r))return new r(o);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},o||{});var u=this.options;u.raw&&0<=u.windowBits&&u.windowBits<16&&(u.windowBits=-u.windowBits,u.windowBits===0&&(u.windowBits=-15)),!(0<=u.windowBits&&u.windowBits<16)||o&&o.windowBits||(u.windowBits+=32),15<u.windowBits&&u.windowBits<48&&(15&u.windowBits)==0&&(u.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m,this.strm.avail_out=0;var p=n.inflateInit2(this.strm,u.windowBits);if(p!==i.Z_OK)throw new Error(d[p]);this.header=new c,n.inflateGetHeader(this.strm,this.header)}function h(o,u){var p=new r(u);if(p.push(o,!0),p.err)throw p.msg||d[p.err];return p.result}r.prototype.push=function(o,u){var p,_,k,C,M,T,$=this.strm,F=this.options.chunkSize,B=this.options.dictionary,V=!1;if(this.ended)return!1;_=u===~~u?u:u===!0?i.Z_FINISH:i.Z_NO_FLUSH,typeof o=="string"?$.input=e.binstring2buf(o):v.call(o)==="[object ArrayBuffer]"?$.input=new Uint8Array(o):$.input=o,$.next_in=0,$.avail_in=$.input.length;do{if($.avail_out===0&&($.output=new l.Buf8(F),$.next_out=0,$.avail_out=F),(p=n.inflate($,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&B&&(T=typeof B=="string"?e.string2buf(B):v.call(B)==="[object ArrayBuffer]"?new Uint8Array(B):B,p=n.inflateSetDictionary(this.strm,T)),p===i.Z_BUF_ERROR&&V===!0&&(p=i.Z_OK,V=!1),p!==i.Z_STREAM_END&&p!==i.Z_OK)return this.onEnd(p),!(this.ended=!0);$.next_out&&($.avail_out!==0&&p!==i.Z_STREAM_END&&($.avail_in!==0||_!==i.Z_FINISH&&_!==i.Z_SYNC_FLUSH)||(this.options.to==="string"?(k=e.utf8border($.output,$.next_out),C=$.next_out-k,M=e.buf2string($.output,k),$.next_out=C,$.avail_out=F-C,C&&l.arraySet($.output,$.output,k,C,0),this.onData(M)):this.onData(l.shrinkBuf($.output,$.next_out)))),$.avail_in===0&&$.avail_out===0&&(V=!0)}while((0<$.avail_in||$.avail_out===0)&&p!==i.Z_STREAM_END);return p===i.Z_STREAM_END&&(_=i.Z_FINISH),_===i.Z_FINISH?(p=n.inflateEnd(this.strm),this.onEnd(p),this.ended=!0,p===i.Z_OK):_!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!($.avail_out=0))},r.prototype.onData=function(o){this.chunks.push(o)},r.prototype.onEnd=function(o){o===i.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=o,this.msg=this.strm.msg},g.Inflate=r,g.inflate=h,g.inflateRaw=function(o,u){return(u=u||{}).raw=!0,h(o,u)},g.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(a,x,g){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";g.assign=function(i){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var m=d.shift();if(m){if(typeof m!="object")throw new TypeError(m+"must be non-object");for(var c in m)m.hasOwnProperty(c)&&(i[c]=m[c])}}return i},g.shrinkBuf=function(i,d){return i.length===d?i:i.subarray?i.subarray(0,d):(i.length=d,i)};var l={arraySet:function(i,d,m,c,v){if(d.subarray&&i.subarray)i.set(d.subarray(m,m+c),v);else for(var r=0;r<c;r++)i[v+r]=d[m+r]},flattenChunks:function(i){var d,m,c,v,r,h;for(d=c=0,m=i.length;d<m;d++)c+=i[d].length;for(h=new Uint8Array(c),d=v=0,m=i.length;d<m;d++)r=i[d],h.set(r,v),v+=r.length;return h}},e={arraySet:function(i,d,m,c,v){for(var r=0;r<c;r++)i[v+r]=d[m+r]},flattenChunks:function(i){return[].concat.apply([],i)}};g.setTyped=function(i){i?(g.Buf8=Uint8Array,g.Buf16=Uint16Array,g.Buf32=Int32Array,g.assign(g,l)):(g.Buf8=Array,g.Buf16=Array,g.Buf32=Array,g.assign(g,e))},g.setTyped(n)},{}],42:[function(a,x,g){var n=a("./common"),l=!0,e=!0;try{String.fromCharCode.apply(null,[0])}catch{l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{e=!1}for(var i=new n.Buf8(256),d=0;d<256;d++)i[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;function m(c,v){if(v<65537&&(c.subarray&&e||!c.subarray&&l))return String.fromCharCode.apply(null,n.shrinkBuf(c,v));for(var r="",h=0;h<v;h++)r+=String.fromCharCode(c[h]);return r}i[254]=i[254]=1,g.string2buf=function(c){var v,r,h,o,u,p=c.length,_=0;for(o=0;o<p;o++)(64512&(r=c.charCodeAt(o)))==55296&&o+1<p&&(64512&(h=c.charCodeAt(o+1)))==56320&&(r=65536+(r-55296<<10)+(h-56320),o++),_+=r<128?1:r<2048?2:r<65536?3:4;for(v=new n.Buf8(_),o=u=0;u<_;o++)(64512&(r=c.charCodeAt(o)))==55296&&o+1<p&&(64512&(h=c.charCodeAt(o+1)))==56320&&(r=65536+(r-55296<<10)+(h-56320),o++),r<128?v[u++]=r:(r<2048?v[u++]=192|r>>>6:(r<65536?v[u++]=224|r>>>12:(v[u++]=240|r>>>18,v[u++]=128|r>>>12&63),v[u++]=128|r>>>6&63),v[u++]=128|63&r);return v},g.buf2binstring=function(c){return m(c,c.length)},g.binstring2buf=function(c){for(var v=new n.Buf8(c.length),r=0,h=v.length;r<h;r++)v[r]=c.charCodeAt(r);return v},g.buf2string=function(c,v){var r,h,o,u,p=v||c.length,_=new Array(2*p);for(r=h=0;r<p;)if((o=c[r++])<128)_[h++]=o;else if(4<(u=i[o]))_[h++]=65533,r+=u-1;else{for(o&=u===2?31:u===3?15:7;1<u&&r<p;)o=o<<6|63&c[r++],u--;1<u?_[h++]=65533:o<65536?_[h++]=o:(o-=65536,_[h++]=55296|o>>10&1023,_[h++]=56320|1023&o)}return m(_,h)},g.utf8border=function(c,v){var r;for((v=v||c.length)>c.length&&(v=c.length),r=v-1;0<=r&&(192&c[r])==128;)r--;return r<0||r===0?v:r+i[c[r]]>v?r:v}},{"./common":41}],43:[function(a,x,g){x.exports=function(n,l,e,i){for(var d=65535&n|0,m=n>>>16&65535|0,c=0;e!==0;){for(e-=c=2e3<e?2e3:e;m=m+(d=d+l[i++]|0)|0,--c;);d%=65521,m%=65521}return d|m<<16|0}},{}],44:[function(a,x,g){x.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(a,x,g){var n=(function(){for(var l,e=[],i=0;i<256;i++){l=i;for(var d=0;d<8;d++)l=1&l?3988292384^l>>>1:l>>>1;e[i]=l}return e})();x.exports=function(l,e,i,d){var m=n,c=d+i;l^=-1;for(var v=d;v<c;v++)l=l>>>8^m[255&(l^e[v])];return-1^l}},{}],46:[function(a,x,g){var n,l=a("../utils/common"),e=a("./trees"),i=a("./adler32"),d=a("./crc32"),m=a("./messages"),c=0,v=4,r=0,h=-2,o=-1,u=4,p=2,_=8,k=9,C=286,M=30,T=19,$=2*C+1,F=15,B=3,V=258,Q=V+B+1,S=42,U=113,L=1,K=2,st=3,W=4;function ct(t,P){return t.msg=m[P],P}function R(t){return(t<<1)-(4<t?9:0)}function G(t){for(var P=t.length;0<=--P;)t[P]=0}function O(t){var P=t.state,E=P.pending;E>t.avail_out&&(E=t.avail_out),E!==0&&(l.arraySet(t.output,P.pending_buf,P.pending_out,E,t.next_out),t.next_out+=E,P.pending_out+=E,t.total_out+=E,t.avail_out-=E,P.pending-=E,P.pending===0&&(P.pending_out=0))}function I(t,P){e._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,P),t.block_start=t.strstart,O(t.strm)}function lt(t,P){t.pending_buf[t.pending++]=P}function J(t,P){t.pending_buf[t.pending++]=P>>>8&255,t.pending_buf[t.pending++]=255&P}function tt(t,P){var E,w,b=t.max_chain_length,D=t.strstart,j=t.prev_length,Z=t.nice_match,N=t.strstart>t.w_size-Q?t.strstart-(t.w_size-Q):0,Y=t.window,at=t.w_mask,et=t.prev,Lt=t.strstart+V,gt=Y[D+j-1],rt=Y[D+j];t.prev_length>=t.good_match&&(b>>=2),Z>t.lookahead&&(Z=t.lookahead);do if(Y[(E=P)+j]===rt&&Y[E+j-1]===gt&&Y[E]===Y[D]&&Y[++E]===Y[D+1]){D+=2,E++;do;while(Y[++D]===Y[++E]&&Y[++D]===Y[++E]&&Y[++D]===Y[++E]&&Y[++D]===Y[++E]&&Y[++D]===Y[++E]&&Y[++D]===Y[++E]&&Y[++D]===Y[++E]&&Y[++D]===Y[++E]&&D<Lt);if(w=V-(Lt-D),D=Lt-V,j<w){if(t.match_start=P,Z<=(j=w))break;gt=Y[D+j-1],rt=Y[D+j]}}while((P=et[P&at])>N&&--b!=0);return j<=t.lookahead?j:t.lookahead}function vt(t){var P,E,w,b,D,j,Z,N,Y,at,et=t.w_size;do{if(b=t.window_size-t.lookahead-t.strstart,t.strstart>=et+(et-Q)){for(l.arraySet(t.window,t.window,et,et,0),t.match_start-=et,t.strstart-=et,t.block_start-=et,P=E=t.hash_size;w=t.head[--P],t.head[P]=et<=w?w-et:0,--E;);for(P=E=et;w=t.prev[--P],t.prev[P]=et<=w?w-et:0,--E;);b+=et}if(t.strm.avail_in===0)break;if(j=t.strm,Z=t.window,N=t.strstart+t.lookahead,Y=b,at=void 0,at=j.avail_in,Y<at&&(at=Y),E=at===0?0:(j.avail_in-=at,l.arraySet(Z,j.input,j.next_in,at,N),j.state.wrap===1?j.adler=i(j.adler,Z,at,N):j.state.wrap===2&&(j.adler=d(j.adler,Z,at,N)),j.next_in+=at,j.total_in+=at,at),t.lookahead+=E,t.lookahead+t.insert>=B)for(D=t.strstart-t.insert,t.ins_h=t.window[D],t.ins_h=(t.ins_h<<t.hash_shift^t.window[D+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[D+B-1])&t.hash_mask,t.prev[D&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=D,D++,t.insert--,!(t.lookahead+t.insert<B)););}while(t.lookahead<Q&&t.strm.avail_in!==0)}function xt(t,P){for(var E,w;;){if(t.lookahead<Q){if(vt(t),t.lookahead<Q&&P===c)return L;if(t.lookahead===0)break}if(E=0,t.lookahead>=B&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+B-1])&t.hash_mask,E=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),E!==0&&t.strstart-E<=t.w_size-Q&&(t.match_length=tt(t,E)),t.match_length>=B)if(w=e._tr_tally(t,t.strstart-t.match_start,t.match_length-B),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=B){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+B-1])&t.hash_mask,E=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else w=e._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(w&&(I(t,!1),t.strm.avail_out===0))return L}return t.insert=t.strstart<B-1?t.strstart:B-1,P===v?(I(t,!0),t.strm.avail_out===0?st:W):t.last_lit&&(I(t,!1),t.strm.avail_out===0)?L:K}function dt(t,P){for(var E,w,b;;){if(t.lookahead<Q){if(vt(t),t.lookahead<Q&&P===c)return L;if(t.lookahead===0)break}if(E=0,t.lookahead>=B&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+B-1])&t.hash_mask,E=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=B-1,E!==0&&t.prev_length<t.max_lazy_match&&t.strstart-E<=t.w_size-Q&&(t.match_length=tt(t,E),t.match_length<=5&&(t.strategy===1||t.match_length===B&&4096<t.strstart-t.match_start)&&(t.match_length=B-1)),t.prev_length>=B&&t.match_length<=t.prev_length){for(b=t.strstart+t.lookahead-B,w=e._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-B),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=b&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+B-1])&t.hash_mask,E=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=B-1,t.strstart++,w&&(I(t,!1),t.strm.avail_out===0))return L}else if(t.match_available){if((w=e._tr_tally(t,0,t.window[t.strstart-1]))&&I(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return L}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(w=e._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<B-1?t.strstart:B-1,P===v?(I(t,!0),t.strm.avail_out===0?st:W):t.last_lit&&(I(t,!1),t.strm.avail_out===0)?L:K}function pt(t,P,E,w,b){this.good_length=t,this.max_lazy=P,this.nice_length=E,this.max_chain=w,this.func=b}function wt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new l.Buf16(2*$),this.dyn_dtree=new l.Buf16(2*(2*M+1)),this.bl_tree=new l.Buf16(2*(2*T+1)),G(this.dyn_ltree),G(this.dyn_dtree),G(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(F+1),this.heap=new l.Buf16(2*C+1),G(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*C+1),G(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function _t(t){var P;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=p,(P=t.state).pending=0,P.pending_out=0,P.wrap<0&&(P.wrap=-P.wrap),P.status=P.wrap?S:U,t.adler=P.wrap===2?0:1,P.last_flush=c,e._tr_init(P),r):ct(t,h)}function Dt(t){var P=_t(t);return P===r&&(function(E){E.window_size=2*E.w_size,G(E.head),E.max_lazy_match=n[E.level].max_lazy,E.good_match=n[E.level].good_length,E.nice_match=n[E.level].nice_length,E.max_chain_length=n[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=B-1,E.match_available=0,E.ins_h=0})(t.state),P}function zt(t,P,E,w,b,D){if(!t)return h;var j=1;if(P===o&&(P=6),w<0?(j=0,w=-w):15<w&&(j=2,w-=16),b<1||k<b||E!==_||w<8||15<w||P<0||9<P||D<0||u<D)return ct(t,h);w===8&&(w=9);var Z=new wt;return(t.state=Z).strm=t,Z.wrap=j,Z.gzhead=null,Z.w_bits=w,Z.w_size=1<<Z.w_bits,Z.w_mask=Z.w_size-1,Z.hash_bits=b+7,Z.hash_size=1<<Z.hash_bits,Z.hash_mask=Z.hash_size-1,Z.hash_shift=~~((Z.hash_bits+B-1)/B),Z.window=new l.Buf8(2*Z.w_size),Z.head=new l.Buf16(Z.hash_size),Z.prev=new l.Buf16(Z.w_size),Z.lit_bufsize=1<<b+6,Z.pending_buf_size=4*Z.lit_bufsize,Z.pending_buf=new l.Buf8(Z.pending_buf_size),Z.d_buf=1*Z.lit_bufsize,Z.l_buf=3*Z.lit_bufsize,Z.level=P,Z.strategy=D,Z.method=E,Dt(t)}n=[new pt(0,0,0,0,function(t,P){var E=65535;for(E>t.pending_buf_size-5&&(E=t.pending_buf_size-5);;){if(t.lookahead<=1){if(vt(t),t.lookahead===0&&P===c)return L;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var w=t.block_start+E;if((t.strstart===0||t.strstart>=w)&&(t.lookahead=t.strstart-w,t.strstart=w,I(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-Q&&(I(t,!1),t.strm.avail_out===0))return L}return t.insert=0,P===v?(I(t,!0),t.strm.avail_out===0?st:W):(t.strstart>t.block_start&&(I(t,!1),t.strm.avail_out),L)}),new pt(4,4,8,4,xt),new pt(4,5,16,8,xt),new pt(4,6,32,32,xt),new pt(4,4,16,16,dt),new pt(8,16,32,32,dt),new pt(8,16,128,128,dt),new pt(8,32,128,256,dt),new pt(32,128,258,1024,dt),new pt(32,258,258,4096,dt)],g.deflateInit=function(t,P){return zt(t,P,_,15,8,0)},g.deflateInit2=zt,g.deflateReset=Dt,g.deflateResetKeep=_t,g.deflateSetHeader=function(t,P){return t&&t.state?t.state.wrap!==2?h:(t.state.gzhead=P,r):h},g.deflate=function(t,P){var E,w,b,D;if(!t||!t.state||5<P||P<0)return t?ct(t,h):h;if(w=t.state,!t.output||!t.input&&t.avail_in!==0||w.status===666&&P!==v)return ct(t,t.avail_out===0?-5:h);if(w.strm=t,E=w.last_flush,w.last_flush=P,w.status===S)if(w.wrap===2)t.adler=0,lt(w,31),lt(w,139),lt(w,8),w.gzhead?(lt(w,(w.gzhead.text?1:0)+(w.gzhead.hcrc?2:0)+(w.gzhead.extra?4:0)+(w.gzhead.name?8:0)+(w.gzhead.comment?16:0)),lt(w,255&w.gzhead.time),lt(w,w.gzhead.time>>8&255),lt(w,w.gzhead.time>>16&255),lt(w,w.gzhead.time>>24&255),lt(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),lt(w,255&w.gzhead.os),w.gzhead.extra&&w.gzhead.extra.length&&(lt(w,255&w.gzhead.extra.length),lt(w,w.gzhead.extra.length>>8&255)),w.gzhead.hcrc&&(t.adler=d(t.adler,w.pending_buf,w.pending,0)),w.gzindex=0,w.status=69):(lt(w,0),lt(w,0),lt(w,0),lt(w,0),lt(w,0),lt(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),lt(w,3),w.status=U);else{var j=_+(w.w_bits-8<<4)<<8;j|=(2<=w.strategy||w.level<2?0:w.level<6?1:w.level===6?2:3)<<6,w.strstart!==0&&(j|=32),j+=31-j%31,w.status=U,J(w,j),w.strstart!==0&&(J(w,t.adler>>>16),J(w,65535&t.adler)),t.adler=1}if(w.status===69)if(w.gzhead.extra){for(b=w.pending;w.gzindex<(65535&w.gzhead.extra.length)&&(w.pending!==w.pending_buf_size||(w.gzhead.hcrc&&w.pending>b&&(t.adler=d(t.adler,w.pending_buf,w.pending-b,b)),O(t),b=w.pending,w.pending!==w.pending_buf_size));)lt(w,255&w.gzhead.extra[w.gzindex]),w.gzindex++;w.gzhead.hcrc&&w.pending>b&&(t.adler=d(t.adler,w.pending_buf,w.pending-b,b)),w.gzindex===w.gzhead.extra.length&&(w.gzindex=0,w.status=73)}else w.status=73;if(w.status===73)if(w.gzhead.name){b=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>b&&(t.adler=d(t.adler,w.pending_buf,w.pending-b,b)),O(t),b=w.pending,w.pending===w.pending_buf_size)){D=1;break}D=w.gzindex<w.gzhead.name.length?255&w.gzhead.name.charCodeAt(w.gzindex++):0,lt(w,D)}while(D!==0);w.gzhead.hcrc&&w.pending>b&&(t.adler=d(t.adler,w.pending_buf,w.pending-b,b)),D===0&&(w.gzindex=0,w.status=91)}else w.status=91;if(w.status===91)if(w.gzhead.comment){b=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>b&&(t.adler=d(t.adler,w.pending_buf,w.pending-b,b)),O(t),b=w.pending,w.pending===w.pending_buf_size)){D=1;break}D=w.gzindex<w.gzhead.comment.length?255&w.gzhead.comment.charCodeAt(w.gzindex++):0,lt(w,D)}while(D!==0);w.gzhead.hcrc&&w.pending>b&&(t.adler=d(t.adler,w.pending_buf,w.pending-b,b)),D===0&&(w.status=103)}else w.status=103;if(w.status===103&&(w.gzhead.hcrc?(w.pending+2>w.pending_buf_size&&O(t),w.pending+2<=w.pending_buf_size&&(lt(w,255&t.adler),lt(w,t.adler>>8&255),t.adler=0,w.status=U)):w.status=U),w.pending!==0){if(O(t),t.avail_out===0)return w.last_flush=-1,r}else if(t.avail_in===0&&R(P)<=R(E)&&P!==v)return ct(t,-5);if(w.status===666&&t.avail_in!==0)return ct(t,-5);if(t.avail_in!==0||w.lookahead!==0||P!==c&&w.status!==666){var Z=w.strategy===2?(function(N,Y){for(var at;;){if(N.lookahead===0&&(vt(N),N.lookahead===0)){if(Y===c)return L;break}if(N.match_length=0,at=e._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++,at&&(I(N,!1),N.strm.avail_out===0))return L}return N.insert=0,Y===v?(I(N,!0),N.strm.avail_out===0?st:W):N.last_lit&&(I(N,!1),N.strm.avail_out===0)?L:K})(w,P):w.strategy===3?(function(N,Y){for(var at,et,Lt,gt,rt=N.window;;){if(N.lookahead<=V){if(vt(N),N.lookahead<=V&&Y===c)return L;if(N.lookahead===0)break}if(N.match_length=0,N.lookahead>=B&&0<N.strstart&&(et=rt[Lt=N.strstart-1])===rt[++Lt]&&et===rt[++Lt]&&et===rt[++Lt]){gt=N.strstart+V;do;while(et===rt[++Lt]&&et===rt[++Lt]&&et===rt[++Lt]&&et===rt[++Lt]&&et===rt[++Lt]&&et===rt[++Lt]&&et===rt[++Lt]&&et===rt[++Lt]&&Lt<gt);N.match_length=V-(gt-Lt),N.match_length>N.lookahead&&(N.match_length=N.lookahead)}if(N.match_length>=B?(at=e._tr_tally(N,1,N.match_length-B),N.lookahead-=N.match_length,N.strstart+=N.match_length,N.match_length=0):(at=e._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++),at&&(I(N,!1),N.strm.avail_out===0))return L}return N.insert=0,Y===v?(I(N,!0),N.strm.avail_out===0?st:W):N.last_lit&&(I(N,!1),N.strm.avail_out===0)?L:K})(w,P):n[w.level].func(w,P);if(Z!==st&&Z!==W||(w.status=666),Z===L||Z===st)return t.avail_out===0&&(w.last_flush=-1),r;if(Z===K&&(P===1?e._tr_align(w):P!==5&&(e._tr_stored_block(w,0,0,!1),P===3&&(G(w.head),w.lookahead===0&&(w.strstart=0,w.block_start=0,w.insert=0))),O(t),t.avail_out===0))return w.last_flush=-1,r}return P!==v?r:w.wrap<=0?1:(w.wrap===2?(lt(w,255&t.adler),lt(w,t.adler>>8&255),lt(w,t.adler>>16&255),lt(w,t.adler>>24&255),lt(w,255&t.total_in),lt(w,t.total_in>>8&255),lt(w,t.total_in>>16&255),lt(w,t.total_in>>24&255)):(J(w,t.adler>>>16),J(w,65535&t.adler)),O(t),0<w.wrap&&(w.wrap=-w.wrap),w.pending!==0?r:1)},g.deflateEnd=function(t){var P;return t&&t.state?(P=t.state.status)!==S&&P!==69&&P!==73&&P!==91&&P!==103&&P!==U&&P!==666?ct(t,h):(t.state=null,P===U?ct(t,-3):r):h},g.deflateSetDictionary=function(t,P){var E,w,b,D,j,Z,N,Y,at=P.length;if(!t||!t.state||(D=(E=t.state).wrap)===2||D===1&&E.status!==S||E.lookahead)return h;for(D===1&&(t.adler=i(t.adler,P,at,0)),E.wrap=0,at>=E.w_size&&(D===0&&(G(E.head),E.strstart=0,E.block_start=0,E.insert=0),Y=new l.Buf8(E.w_size),l.arraySet(Y,P,at-E.w_size,E.w_size,0),P=Y,at=E.w_size),j=t.avail_in,Z=t.next_in,N=t.input,t.avail_in=at,t.next_in=0,t.input=P,vt(E);E.lookahead>=B;){for(w=E.strstart,b=E.lookahead-(B-1);E.ins_h=(E.ins_h<<E.hash_shift^E.window[w+B-1])&E.hash_mask,E.prev[w&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=w,w++,--b;);E.strstart=w,E.lookahead=B-1,vt(E)}return E.strstart+=E.lookahead,E.block_start=E.strstart,E.insert=E.lookahead,E.lookahead=0,E.match_length=E.prev_length=B-1,E.match_available=0,t.next_in=Z,t.input=N,t.avail_in=j,E.wrap=D,r},g.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(a,x,g){x.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(a,x,g){x.exports=function(n,l){var e,i,d,m,c,v,r,h,o,u,p,_,k,C,M,T,$,F,B,V,Q,S,U,L,K;e=n.state,i=n.next_in,L=n.input,d=i+(n.avail_in-5),m=n.next_out,K=n.output,c=m-(l-n.avail_out),v=m+(n.avail_out-257),r=e.dmax,h=e.wsize,o=e.whave,u=e.wnext,p=e.window,_=e.hold,k=e.bits,C=e.lencode,M=e.distcode,T=(1<<e.lenbits)-1,$=(1<<e.distbits)-1;t:do{k<15&&(_+=L[i++]<<k,k+=8,_+=L[i++]<<k,k+=8),F=C[_&T];e:for(;;){if(_>>>=B=F>>>24,k-=B,(B=F>>>16&255)===0)K[m++]=65535&F;else{if(!(16&B)){if((64&B)==0){F=C[(65535&F)+(_&(1<<B)-1)];continue e}if(32&B){e.mode=12;break t}n.msg="invalid literal/length code",e.mode=30;break t}V=65535&F,(B&=15)&&(k<B&&(_+=L[i++]<<k,k+=8),V+=_&(1<<B)-1,_>>>=B,k-=B),k<15&&(_+=L[i++]<<k,k+=8,_+=L[i++]<<k,k+=8),F=M[_&$];l:for(;;){if(_>>>=B=F>>>24,k-=B,!(16&(B=F>>>16&255))){if((64&B)==0){F=M[(65535&F)+(_&(1<<B)-1)];continue l}n.msg="invalid distance code",e.mode=30;break t}if(Q=65535&F,k<(B&=15)&&(_+=L[i++]<<k,(k+=8)<B&&(_+=L[i++]<<k,k+=8)),r<(Q+=_&(1<<B)-1)){n.msg="invalid distance too far back",e.mode=30;break t}if(_>>>=B,k-=B,(B=m-c)<Q){if(o<(B=Q-B)&&e.sane){n.msg="invalid distance too far back",e.mode=30;break t}if(U=p,(S=0)===u){if(S+=h-B,B<V){for(V-=B;K[m++]=p[S++],--B;);S=m-Q,U=K}}else if(u<B){if(S+=h+u-B,(B-=u)<V){for(V-=B;K[m++]=p[S++],--B;);if(S=0,u<V){for(V-=B=u;K[m++]=p[S++],--B;);S=m-Q,U=K}}}else if(S+=u-B,B<V){for(V-=B;K[m++]=p[S++],--B;);S=m-Q,U=K}for(;2<V;)K[m++]=U[S++],K[m++]=U[S++],K[m++]=U[S++],V-=3;V&&(K[m++]=U[S++],1<V&&(K[m++]=U[S++]))}else{for(S=m-Q;K[m++]=K[S++],K[m++]=K[S++],K[m++]=K[S++],2<(V-=3););V&&(K[m++]=K[S++],1<V&&(K[m++]=K[S++]))}break}}break}}while(i<d&&m<v);i-=V=k>>3,_&=(1<<(k-=V<<3))-1,n.next_in=i,n.next_out=m,n.avail_in=i<d?d-i+5:5-(i-d),n.avail_out=m<v?v-m+257:257-(m-v),e.hold=_,e.bits=k}},{}],49:[function(a,x,g){var n=a("../utils/common"),l=a("./adler32"),e=a("./crc32"),i=a("./inffast"),d=a("./inftrees"),m=1,c=2,v=0,r=-2,h=1,o=852,u=592;function p(S){return(S>>>24&255)+(S>>>8&65280)+((65280&S)<<8)+((255&S)<<24)}function _(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function k(S){var U;return S&&S.state?(U=S.state,S.total_in=S.total_out=U.total=0,S.msg="",U.wrap&&(S.adler=1&U.wrap),U.mode=h,U.last=0,U.havedict=0,U.dmax=32768,U.head=null,U.hold=0,U.bits=0,U.lencode=U.lendyn=new n.Buf32(o),U.distcode=U.distdyn=new n.Buf32(u),U.sane=1,U.back=-1,v):r}function C(S){var U;return S&&S.state?((U=S.state).wsize=0,U.whave=0,U.wnext=0,k(S)):r}function M(S,U){var L,K;return S&&S.state?(K=S.state,U<0?(L=0,U=-U):(L=1+(U>>4),U<48&&(U&=15)),U&&(U<8||15<U)?r:(K.window!==null&&K.wbits!==U&&(K.window=null),K.wrap=L,K.wbits=U,C(S))):r}function T(S,U){var L,K;return S?(K=new _,(S.state=K).window=null,(L=M(S,U))!==v&&(S.state=null),L):r}var $,F,B=!0;function V(S){if(B){var U;for($=new n.Buf32(512),F=new n.Buf32(32),U=0;U<144;)S.lens[U++]=8;for(;U<256;)S.lens[U++]=9;for(;U<280;)S.lens[U++]=7;for(;U<288;)S.lens[U++]=8;for(d(m,S.lens,0,288,$,0,S.work,{bits:9}),U=0;U<32;)S.lens[U++]=5;d(c,S.lens,0,32,F,0,S.work,{bits:5}),B=!1}S.lencode=$,S.lenbits=9,S.distcode=F,S.distbits=5}function Q(S,U,L,K){var st,W=S.state;return W.window===null&&(W.wsize=1<<W.wbits,W.wnext=0,W.whave=0,W.window=new n.Buf8(W.wsize)),K>=W.wsize?(n.arraySet(W.window,U,L-W.wsize,W.wsize,0),W.wnext=0,W.whave=W.wsize):(K<(st=W.wsize-W.wnext)&&(st=K),n.arraySet(W.window,U,L-K,st,W.wnext),(K-=st)?(n.arraySet(W.window,U,L-K,K,0),W.wnext=K,W.whave=W.wsize):(W.wnext+=st,W.wnext===W.wsize&&(W.wnext=0),W.whave<W.wsize&&(W.whave+=st))),0}g.inflateReset=C,g.inflateReset2=M,g.inflateResetKeep=k,g.inflateInit=function(S){return T(S,15)},g.inflateInit2=T,g.inflate=function(S,U){var L,K,st,W,ct,R,G,O,I,lt,J,tt,vt,xt,dt,pt,wt,_t,Dt,zt,t,P,E,w,b=0,D=new n.Buf8(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!S||!S.state||!S.output||!S.input&&S.avail_in!==0)return r;(L=S.state).mode===12&&(L.mode=13),ct=S.next_out,st=S.output,G=S.avail_out,W=S.next_in,K=S.input,R=S.avail_in,O=L.hold,I=L.bits,lt=R,J=G,P=v;t:for(;;)switch(L.mode){case h:if(L.wrap===0){L.mode=13;break}for(;I<16;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(2&L.wrap&&O===35615){D[L.check=0]=255&O,D[1]=O>>>8&255,L.check=e(L.check,D,2,0),I=O=0,L.mode=2;break}if(L.flags=0,L.head&&(L.head.done=!1),!(1&L.wrap)||(((255&O)<<8)+(O>>8))%31){S.msg="incorrect header check",L.mode=30;break}if((15&O)!=8){S.msg="unknown compression method",L.mode=30;break}if(I-=4,t=8+(15&(O>>>=4)),L.wbits===0)L.wbits=t;else if(t>L.wbits){S.msg="invalid window size",L.mode=30;break}L.dmax=1<<t,S.adler=L.check=1,L.mode=512&O?10:12,I=O=0;break;case 2:for(;I<16;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(L.flags=O,(255&L.flags)!=8){S.msg="unknown compression method",L.mode=30;break}if(57344&L.flags){S.msg="unknown header flags set",L.mode=30;break}L.head&&(L.head.text=O>>8&1),512&L.flags&&(D[0]=255&O,D[1]=O>>>8&255,L.check=e(L.check,D,2,0)),I=O=0,L.mode=3;case 3:for(;I<32;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}L.head&&(L.head.time=O),512&L.flags&&(D[0]=255&O,D[1]=O>>>8&255,D[2]=O>>>16&255,D[3]=O>>>24&255,L.check=e(L.check,D,4,0)),I=O=0,L.mode=4;case 4:for(;I<16;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}L.head&&(L.head.xflags=255&O,L.head.os=O>>8),512&L.flags&&(D[0]=255&O,D[1]=O>>>8&255,L.check=e(L.check,D,2,0)),I=O=0,L.mode=5;case 5:if(1024&L.flags){for(;I<16;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}L.length=O,L.head&&(L.head.extra_len=O),512&L.flags&&(D[0]=255&O,D[1]=O>>>8&255,L.check=e(L.check,D,2,0)),I=O=0}else L.head&&(L.head.extra=null);L.mode=6;case 6:if(1024&L.flags&&(R<(tt=L.length)&&(tt=R),tt&&(L.head&&(t=L.head.extra_len-L.length,L.head.extra||(L.head.extra=new Array(L.head.extra_len)),n.arraySet(L.head.extra,K,W,tt,t)),512&L.flags&&(L.check=e(L.check,K,tt,W)),R-=tt,W+=tt,L.length-=tt),L.length))break t;L.length=0,L.mode=7;case 7:if(2048&L.flags){if(R===0)break t;for(tt=0;t=K[W+tt++],L.head&&t&&L.length<65536&&(L.head.name+=String.fromCharCode(t)),t&&tt<R;);if(512&L.flags&&(L.check=e(L.check,K,tt,W)),R-=tt,W+=tt,t)break t}else L.head&&(L.head.name=null);L.length=0,L.mode=8;case 8:if(4096&L.flags){if(R===0)break t;for(tt=0;t=K[W+tt++],L.head&&t&&L.length<65536&&(L.head.comment+=String.fromCharCode(t)),t&&tt<R;);if(512&L.flags&&(L.check=e(L.check,K,tt,W)),R-=tt,W+=tt,t)break t}else L.head&&(L.head.comment=null);L.mode=9;case 9:if(512&L.flags){for(;I<16;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(O!==(65535&L.check)){S.msg="header crc mismatch",L.mode=30;break}I=O=0}L.head&&(L.head.hcrc=L.flags>>9&1,L.head.done=!0),S.adler=L.check=0,L.mode=12;break;case 10:for(;I<32;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}S.adler=L.check=p(O),I=O=0,L.mode=11;case 11:if(L.havedict===0)return S.next_out=ct,S.avail_out=G,S.next_in=W,S.avail_in=R,L.hold=O,L.bits=I,2;S.adler=L.check=1,L.mode=12;case 12:if(U===5||U===6)break t;case 13:if(L.last){O>>>=7&I,I-=7&I,L.mode=27;break}for(;I<3;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}switch(L.last=1&O,I-=1,3&(O>>>=1)){case 0:L.mode=14;break;case 1:if(V(L),L.mode=20,U!==6)break;O>>>=2,I-=2;break t;case 2:L.mode=17;break;case 3:S.msg="invalid block type",L.mode=30}O>>>=2,I-=2;break;case 14:for(O>>>=7&I,I-=7&I;I<32;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if((65535&O)!=(O>>>16^65535)){S.msg="invalid stored block lengths",L.mode=30;break}if(L.length=65535&O,I=O=0,L.mode=15,U===6)break t;case 15:L.mode=16;case 16:if(tt=L.length){if(R<tt&&(tt=R),G<tt&&(tt=G),tt===0)break t;n.arraySet(st,K,W,tt,ct),R-=tt,W+=tt,G-=tt,ct+=tt,L.length-=tt;break}L.mode=12;break;case 17:for(;I<14;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(L.nlen=257+(31&O),O>>>=5,I-=5,L.ndist=1+(31&O),O>>>=5,I-=5,L.ncode=4+(15&O),O>>>=4,I-=4,286<L.nlen||30<L.ndist){S.msg="too many length or distance symbols",L.mode=30;break}L.have=0,L.mode=18;case 18:for(;L.have<L.ncode;){for(;I<3;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}L.lens[j[L.have++]]=7&O,O>>>=3,I-=3}for(;L.have<19;)L.lens[j[L.have++]]=0;if(L.lencode=L.lendyn,L.lenbits=7,E={bits:L.lenbits},P=d(0,L.lens,0,19,L.lencode,0,L.work,E),L.lenbits=E.bits,P){S.msg="invalid code lengths set",L.mode=30;break}L.have=0,L.mode=19;case 19:for(;L.have<L.nlen+L.ndist;){for(;pt=(b=L.lencode[O&(1<<L.lenbits)-1])>>>16&255,wt=65535&b,!((dt=b>>>24)<=I);){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(wt<16)O>>>=dt,I-=dt,L.lens[L.have++]=wt;else{if(wt===16){for(w=dt+2;I<w;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(O>>>=dt,I-=dt,L.have===0){S.msg="invalid bit length repeat",L.mode=30;break}t=L.lens[L.have-1],tt=3+(3&O),O>>>=2,I-=2}else if(wt===17){for(w=dt+3;I<w;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}I-=dt,t=0,tt=3+(7&(O>>>=dt)),O>>>=3,I-=3}else{for(w=dt+7;I<w;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}I-=dt,t=0,tt=11+(127&(O>>>=dt)),O>>>=7,I-=7}if(L.have+tt>L.nlen+L.ndist){S.msg="invalid bit length repeat",L.mode=30;break}for(;tt--;)L.lens[L.have++]=t}}if(L.mode===30)break;if(L.lens[256]===0){S.msg="invalid code -- missing end-of-block",L.mode=30;break}if(L.lenbits=9,E={bits:L.lenbits},P=d(m,L.lens,0,L.nlen,L.lencode,0,L.work,E),L.lenbits=E.bits,P){S.msg="invalid literal/lengths set",L.mode=30;break}if(L.distbits=6,L.distcode=L.distdyn,E={bits:L.distbits},P=d(c,L.lens,L.nlen,L.ndist,L.distcode,0,L.work,E),L.distbits=E.bits,P){S.msg="invalid distances set",L.mode=30;break}if(L.mode=20,U===6)break t;case 20:L.mode=21;case 21:if(6<=R&&258<=G){S.next_out=ct,S.avail_out=G,S.next_in=W,S.avail_in=R,L.hold=O,L.bits=I,i(S,J),ct=S.next_out,st=S.output,G=S.avail_out,W=S.next_in,K=S.input,R=S.avail_in,O=L.hold,I=L.bits,L.mode===12&&(L.back=-1);break}for(L.back=0;pt=(b=L.lencode[O&(1<<L.lenbits)-1])>>>16&255,wt=65535&b,!((dt=b>>>24)<=I);){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(pt&&(240&pt)==0){for(_t=dt,Dt=pt,zt=wt;pt=(b=L.lencode[zt+((O&(1<<_t+Dt)-1)>>_t)])>>>16&255,wt=65535&b,!(_t+(dt=b>>>24)<=I);){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}O>>>=_t,I-=_t,L.back+=_t}if(O>>>=dt,I-=dt,L.back+=dt,L.length=wt,pt===0){L.mode=26;break}if(32&pt){L.back=-1,L.mode=12;break}if(64&pt){S.msg="invalid literal/length code",L.mode=30;break}L.extra=15&pt,L.mode=22;case 22:if(L.extra){for(w=L.extra;I<w;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}L.length+=O&(1<<L.extra)-1,O>>>=L.extra,I-=L.extra,L.back+=L.extra}L.was=L.length,L.mode=23;case 23:for(;pt=(b=L.distcode[O&(1<<L.distbits)-1])>>>16&255,wt=65535&b,!((dt=b>>>24)<=I);){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if((240&pt)==0){for(_t=dt,Dt=pt,zt=wt;pt=(b=L.distcode[zt+((O&(1<<_t+Dt)-1)>>_t)])>>>16&255,wt=65535&b,!(_t+(dt=b>>>24)<=I);){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}O>>>=_t,I-=_t,L.back+=_t}if(O>>>=dt,I-=dt,L.back+=dt,64&pt){S.msg="invalid distance code",L.mode=30;break}L.offset=wt,L.extra=15&pt,L.mode=24;case 24:if(L.extra){for(w=L.extra;I<w;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}L.offset+=O&(1<<L.extra)-1,O>>>=L.extra,I-=L.extra,L.back+=L.extra}if(L.offset>L.dmax){S.msg="invalid distance too far back",L.mode=30;break}L.mode=25;case 25:if(G===0)break t;if(tt=J-G,L.offset>tt){if((tt=L.offset-tt)>L.whave&&L.sane){S.msg="invalid distance too far back",L.mode=30;break}vt=tt>L.wnext?(tt-=L.wnext,L.wsize-tt):L.wnext-tt,tt>L.length&&(tt=L.length),xt=L.window}else xt=st,vt=ct-L.offset,tt=L.length;for(G<tt&&(tt=G),G-=tt,L.length-=tt;st[ct++]=xt[vt++],--tt;);L.length===0&&(L.mode=21);break;case 26:if(G===0)break t;st[ct++]=L.length,G--,L.mode=21;break;case 27:if(L.wrap){for(;I<32;){if(R===0)break t;R--,O|=K[W++]<<I,I+=8}if(J-=G,S.total_out+=J,L.total+=J,J&&(S.adler=L.check=L.flags?e(L.check,st,J,ct-J):l(L.check,st,J,ct-J)),J=G,(L.flags?O:p(O))!==L.check){S.msg="incorrect data check",L.mode=30;break}I=O=0}L.mode=28;case 28:if(L.wrap&&L.flags){for(;I<32;){if(R===0)break t;R--,O+=K[W++]<<I,I+=8}if(O!==(4294967295&L.total)){S.msg="incorrect length check",L.mode=30;break}I=O=0}L.mode=29;case 29:P=1;break t;case 30:P=-3;break t;case 31:return-4;default:return r}return S.next_out=ct,S.avail_out=G,S.next_in=W,S.avail_in=R,L.hold=O,L.bits=I,(L.wsize||J!==S.avail_out&&L.mode<30&&(L.mode<27||U!==4))&&Q(S,S.output,S.next_out,J-S.avail_out)?(L.mode=31,-4):(lt-=S.avail_in,J-=S.avail_out,S.total_in+=lt,S.total_out+=J,L.total+=J,L.wrap&&J&&(S.adler=L.check=L.flags?e(L.check,st,J,S.next_out-J):l(L.check,st,J,S.next_out-J)),S.data_type=L.bits+(L.last?64:0)+(L.mode===12?128:0)+(L.mode===20||L.mode===15?256:0),(lt==0&&J===0||U===4)&&P===v&&(P=-5),P)},g.inflateEnd=function(S){if(!S||!S.state)return r;var U=S.state;return U.window&&(U.window=null),S.state=null,v},g.inflateGetHeader=function(S,U){var L;return S&&S.state?(2&(L=S.state).wrap)==0?r:((L.head=U).done=!1,v):r},g.inflateSetDictionary=function(S,U){var L,K=U.length;return S&&S.state?(L=S.state).wrap!==0&&L.mode!==11?r:L.mode===11&&l(1,U,K,0)!==L.check?-3:Q(S,U,K,K)?(L.mode=31,-4):(L.havedict=1,v):r},g.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(a,x,g){var n=a("../utils/common"),l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],e=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];x.exports=function(m,c,v,r,h,o,u,p){var _,k,C,M,T,$,F,B,V,Q=p.bits,S=0,U=0,L=0,K=0,st=0,W=0,ct=0,R=0,G=0,O=0,I=null,lt=0,J=new n.Buf16(16),tt=new n.Buf16(16),vt=null,xt=0;for(S=0;S<=15;S++)J[S]=0;for(U=0;U<r;U++)J[c[v+U]]++;for(st=Q,K=15;1<=K&&J[K]===0;K--);if(K<st&&(st=K),K===0)return h[o++]=20971520,h[o++]=20971520,p.bits=1,0;for(L=1;L<K&&J[L]===0;L++);for(st<L&&(st=L),S=R=1;S<=15;S++)if(R<<=1,(R-=J[S])<0)return-1;if(0<R&&(m===0||K!==1))return-1;for(tt[1]=0,S=1;S<15;S++)tt[S+1]=tt[S]+J[S];for(U=0;U<r;U++)c[v+U]!==0&&(u[tt[c[v+U]]++]=U);if($=m===0?(I=vt=u,19):m===1?(I=l,lt-=257,vt=e,xt-=257,256):(I=i,vt=d,-1),S=L,T=o,ct=U=O=0,C=-1,M=(G=1<<(W=st))-1,m===1&&852<G||m===2&&592<G)return 1;for(;;){for(F=S-ct,V=u[U]<$?(B=0,u[U]):u[U]>$?(B=vt[xt+u[U]],I[lt+u[U]]):(B=96,0),_=1<<S-ct,L=k=1<<W;h[T+(O>>ct)+(k-=_)]=F<<24|B<<16|V|0,k!==0;);for(_=1<<S-1;O&_;)_>>=1;if(_!==0?(O&=_-1,O+=_):O=0,U++,--J[S]==0){if(S===K)break;S=c[v+u[U]]}if(st<S&&(O&M)!==C){for(ct===0&&(ct=st),T+=L,R=1<<(W=S-ct);W+ct<K&&!((R-=J[W+ct])<=0);)W++,R<<=1;if(G+=1<<W,m===1&&852<G||m===2&&592<G)return 1;h[C=O&M]=st<<24|W<<16|T-o|0}}return O!==0&&(h[T+O]=S-ct<<24|64<<16|0),p.bits=st,0}},{"../utils/common":41}],51:[function(a,x,g){x.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(a,x,g){var n=a("../utils/common"),l=0,e=1;function i(b){for(var D=b.length;0<=--D;)b[D]=0}var d=0,m=29,c=256,v=c+1+m,r=30,h=19,o=2*v+1,u=15,p=16,_=7,k=256,C=16,M=17,T=18,$=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],F=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Q=new Array(2*(v+2));i(Q);var S=new Array(2*r);i(S);var U=new Array(512);i(U);var L=new Array(256);i(L);var K=new Array(m);i(K);var st,W,ct,R=new Array(r);function G(b,D,j,Z,N){this.static_tree=b,this.extra_bits=D,this.extra_base=j,this.elems=Z,this.max_length=N,this.has_stree=b&&b.length}function O(b,D){this.dyn_tree=b,this.max_code=0,this.stat_desc=D}function I(b){return b<256?U[b]:U[256+(b>>>7)]}function lt(b,D){b.pending_buf[b.pending++]=255&D,b.pending_buf[b.pending++]=D>>>8&255}function J(b,D,j){b.bi_valid>p-j?(b.bi_buf|=D<<b.bi_valid&65535,lt(b,b.bi_buf),b.bi_buf=D>>p-b.bi_valid,b.bi_valid+=j-p):(b.bi_buf|=D<<b.bi_valid&65535,b.bi_valid+=j)}function tt(b,D,j){J(b,j[2*D],j[2*D+1])}function vt(b,D){for(var j=0;j|=1&b,b>>>=1,j<<=1,0<--D;);return j>>>1}function xt(b,D,j){var Z,N,Y=new Array(u+1),at=0;for(Z=1;Z<=u;Z++)Y[Z]=at=at+j[Z-1]<<1;for(N=0;N<=D;N++){var et=b[2*N+1];et!==0&&(b[2*N]=vt(Y[et]++,et))}}function dt(b){var D;for(D=0;D<v;D++)b.dyn_ltree[2*D]=0;for(D=0;D<r;D++)b.dyn_dtree[2*D]=0;for(D=0;D<h;D++)b.bl_tree[2*D]=0;b.dyn_ltree[2*k]=1,b.opt_len=b.static_len=0,b.last_lit=b.matches=0}function pt(b){8<b.bi_valid?lt(b,b.bi_buf):0<b.bi_valid&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0}function wt(b,D,j,Z){var N=2*D,Y=2*j;return b[N]<b[Y]||b[N]===b[Y]&&Z[D]<=Z[j]}function _t(b,D,j){for(var Z=b.heap[j],N=j<<1;N<=b.heap_len&&(N<b.heap_len&&wt(D,b.heap[N+1],b.heap[N],b.depth)&&N++,!wt(D,Z,b.heap[N],b.depth));)b.heap[j]=b.heap[N],j=N,N<<=1;b.heap[j]=Z}function Dt(b,D,j){var Z,N,Y,at,et=0;if(b.last_lit!==0)for(;Z=b.pending_buf[b.d_buf+2*et]<<8|b.pending_buf[b.d_buf+2*et+1],N=b.pending_buf[b.l_buf+et],et++,Z===0?tt(b,N,D):(tt(b,(Y=L[N])+c+1,D),(at=$[Y])!==0&&J(b,N-=K[Y],at),tt(b,Y=I(--Z),j),(at=F[Y])!==0&&J(b,Z-=R[Y],at)),et<b.last_lit;);tt(b,k,D)}function zt(b,D){var j,Z,N,Y=D.dyn_tree,at=D.stat_desc.static_tree,et=D.stat_desc.has_stree,Lt=D.stat_desc.elems,gt=-1;for(b.heap_len=0,b.heap_max=o,j=0;j<Lt;j++)Y[2*j]!==0?(b.heap[++b.heap_len]=gt=j,b.depth[j]=0):Y[2*j+1]=0;for(;b.heap_len<2;)Y[2*(N=b.heap[++b.heap_len]=gt<2?++gt:0)]=1,b.depth[N]=0,b.opt_len--,et&&(b.static_len-=at[2*N+1]);for(D.max_code=gt,j=b.heap_len>>1;1<=j;j--)_t(b,Y,j);for(N=Lt;j=b.heap[1],b.heap[1]=b.heap[b.heap_len--],_t(b,Y,1),Z=b.heap[1],b.heap[--b.heap_max]=j,b.heap[--b.heap_max]=Z,Y[2*N]=Y[2*j]+Y[2*Z],b.depth[N]=(b.depth[j]>=b.depth[Z]?b.depth[j]:b.depth[Z])+1,Y[2*j+1]=Y[2*Z+1]=N,b.heap[1]=N++,_t(b,Y,1),2<=b.heap_len;);b.heap[--b.heap_max]=b.heap[1],(function(rt,it){var Tt,Ct,Wt,bt,ie,de,Vt=it.dyn_tree,Mt=it.max_code,Rt=it.stat_desc.static_tree,Et=it.stat_desc.has_stree,Bt=it.stat_desc.extra_bits,be=it.stat_desc.extra_base,ee=it.stat_desc.max_length,le=0;for(bt=0;bt<=u;bt++)rt.bl_count[bt]=0;for(Vt[2*rt.heap[rt.heap_max]+1]=0,Tt=rt.heap_max+1;Tt<o;Tt++)ee<(bt=Vt[2*Vt[2*(Ct=rt.heap[Tt])+1]+1]+1)&&(bt=ee,le++),Vt[2*Ct+1]=bt,Mt<Ct||(rt.bl_count[bt]++,ie=0,be<=Ct&&(ie=Bt[Ct-be]),de=Vt[2*Ct],rt.opt_len+=de*(bt+ie),Et&&(rt.static_len+=de*(Rt[2*Ct+1]+ie)));if(le!==0){do{for(bt=ee-1;rt.bl_count[bt]===0;)bt--;rt.bl_count[bt]--,rt.bl_count[bt+1]+=2,rt.bl_count[ee]--,le-=2}while(0<le);for(bt=ee;bt!==0;bt--)for(Ct=rt.bl_count[bt];Ct!==0;)Mt<(Wt=rt.heap[--Tt])||(Vt[2*Wt+1]!==bt&&(rt.opt_len+=(bt-Vt[2*Wt+1])*Vt[2*Wt],Vt[2*Wt+1]=bt),Ct--)}})(b,D),xt(Y,gt,b.bl_count)}function t(b,D,j){var Z,N,Y=-1,at=D[1],et=0,Lt=7,gt=4;for(at===0&&(Lt=138,gt=3),D[2*(j+1)+1]=65535,Z=0;Z<=j;Z++)N=at,at=D[2*(Z+1)+1],++et<Lt&&N===at||(et<gt?b.bl_tree[2*N]+=et:N!==0?(N!==Y&&b.bl_tree[2*N]++,b.bl_tree[2*C]++):et<=10?b.bl_tree[2*M]++:b.bl_tree[2*T]++,Y=N,gt=(et=0)===at?(Lt=138,3):N===at?(Lt=6,3):(Lt=7,4))}function P(b,D,j){var Z,N,Y=-1,at=D[1],et=0,Lt=7,gt=4;for(at===0&&(Lt=138,gt=3),Z=0;Z<=j;Z++)if(N=at,at=D[2*(Z+1)+1],!(++et<Lt&&N===at)){if(et<gt)for(;tt(b,N,b.bl_tree),--et!=0;);else N!==0?(N!==Y&&(tt(b,N,b.bl_tree),et--),tt(b,C,b.bl_tree),J(b,et-3,2)):et<=10?(tt(b,M,b.bl_tree),J(b,et-3,3)):(tt(b,T,b.bl_tree),J(b,et-11,7));Y=N,gt=(et=0)===at?(Lt=138,3):N===at?(Lt=6,3):(Lt=7,4)}}i(R);var E=!1;function w(b,D,j,Z){J(b,(d<<1)+(Z?1:0),3),(function(N,Y,at,et){pt(N),lt(N,at),lt(N,~at),n.arraySet(N.pending_buf,N.window,Y,at,N.pending),N.pending+=at})(b,D,j)}g._tr_init=function(b){E||((function(){var D,j,Z,N,Y,at=new Array(u+1);for(N=Z=0;N<m-1;N++)for(K[N]=Z,D=0;D<1<<$[N];D++)L[Z++]=N;for(L[Z-1]=N,N=Y=0;N<16;N++)for(R[N]=Y,D=0;D<1<<F[N];D++)U[Y++]=N;for(Y>>=7;N<r;N++)for(R[N]=Y<<7,D=0;D<1<<F[N]-7;D++)U[256+Y++]=N;for(j=0;j<=u;j++)at[j]=0;for(D=0;D<=143;)Q[2*D+1]=8,D++,at[8]++;for(;D<=255;)Q[2*D+1]=9,D++,at[9]++;for(;D<=279;)Q[2*D+1]=7,D++,at[7]++;for(;D<=287;)Q[2*D+1]=8,D++,at[8]++;for(xt(Q,v+1,at),D=0;D<r;D++)S[2*D+1]=5,S[2*D]=vt(D,5);st=new G(Q,$,c+1,v,u),W=new G(S,F,0,r,u),ct=new G(new Array(0),B,0,h,_)})(),E=!0),b.l_desc=new O(b.dyn_ltree,st),b.d_desc=new O(b.dyn_dtree,W),b.bl_desc=new O(b.bl_tree,ct),b.bi_buf=0,b.bi_valid=0,dt(b)},g._tr_stored_block=w,g._tr_flush_block=function(b,D,j,Z){var N,Y,at=0;0<b.level?(b.strm.data_type===2&&(b.strm.data_type=(function(et){var Lt,gt=4093624447;for(Lt=0;Lt<=31;Lt++,gt>>>=1)if(1>&&et.dyn_ltree[2*Lt]!==0)return l;if(et.dyn_ltree[18]!==0||et.dyn_ltree[20]!==0||et.dyn_ltree[26]!==0)return e;for(Lt=32;Lt<c;Lt++)if(et.dyn_ltree[2*Lt]!==0)return e;return l})(b)),zt(b,b.l_desc),zt(b,b.d_desc),at=(function(et){var Lt;for(t(et,et.dyn_ltree,et.l_desc.max_code),t(et,et.dyn_dtree,et.d_desc.max_code),zt(et,et.bl_desc),Lt=h-1;3<=Lt&&et.bl_tree[2*V[Lt]+1]===0;Lt--);return et.opt_len+=3*(Lt+1)+5+5+4,Lt})(b),N=b.opt_len+3+7>>>3,(Y=b.static_len+3+7>>>3)<=N&&(N=Y)):N=Y=j+5,j+4<=N&&D!==-1?w(b,D,j,Z):b.strategy===4||Y===N?(J(b,2+(Z?1:0),3),Dt(b,Q,S)):(J(b,4+(Z?1:0),3),(function(et,Lt,gt,rt){var it;for(J(et,Lt-257,5),J(et,gt-1,5),J(et,rt-4,4),it=0;it<rt;it++)J(et,et.bl_tree[2*V[it]+1],3);P(et,et.dyn_ltree,Lt-1),P(et,et.dyn_dtree,gt-1)})(b,b.l_desc.max_code+1,b.d_desc.max_code+1,at+1),Dt(b,b.dyn_ltree,b.dyn_dtree)),dt(b),Z&&pt(b)},g._tr_tally=function(b,D,j){return b.pending_buf[b.d_buf+2*b.last_lit]=D>>>8&255,b.pending_buf[b.d_buf+2*b.last_lit+1]=255&D,b.pending_buf[b.l_buf+b.last_lit]=255&j,b.last_lit++,D===0?b.dyn_ltree[2*j]++:(b.matches++,D--,b.dyn_ltree[2*(L[j]+c+1)]++,b.dyn_dtree[2*I(D)]++),b.last_lit===b.lit_bufsize-1},g._tr_align=function(b){J(b,2,3),tt(b,k,Q),(function(D){D.bi_valid===16?(lt(D,D.bi_buf),D.bi_buf=0,D.bi_valid=0):8<=D.bi_valid&&(D.pending_buf[D.pending++]=255&D.bi_buf,D.bi_buf>>=8,D.bi_valid-=8)})(b)}},{"../utils/common":41}],53:[function(a,x,g){x.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(a,x,g){(function(n){(function(l,e){if(!l.setImmediate){var i,d,m,c,v=1,r={},h=!1,o=l.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(l);u=u&&u.setTimeout?u:l,i={}.toString.call(l.process)==="[object process]"?function(C){process.nextTick(function(){_(C)})}:(function(){if(l.postMessage&&!l.importScripts){var C=!0,M=l.onmessage;return l.onmessage=function(){C=!1},l.postMessage("","*"),l.onmessage=M,C}})()?(c="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",k,!1):l.attachEvent("onmessage",k),function(C){l.postMessage(c+C,"*")}):l.MessageChannel?((m=new MessageChannel).port1.onmessage=function(C){_(C.data)},function(C){m.port2.postMessage(C)}):o&&"onreadystatechange"in o.createElement("script")?(d=o.documentElement,function(C){var M=o.createElement("script");M.onreadystatechange=function(){_(C),M.onreadystatechange=null,d.removeChild(M),M=null},d.appendChild(M)}):function(C){setTimeout(_,0,C)},u.setImmediate=function(C){typeof C!="function"&&(C=new Function(""+C));for(var M=new Array(arguments.length-1),T=0;T<M.length;T++)M[T]=arguments[T+1];var $={callback:C,args:M};return r[v]=$,i(v),v++},u.clearImmediate=p}function p(C){delete r[C]}function _(C){if(h)setTimeout(_,0,C);else{var M=r[C];if(M){h=!0;try{(function(T){var $=T.callback,F=T.args;switch(F.length){case 0:$();break;case 1:$(F[0]);break;case 2:$(F[0],F[1]);break;case 3:$(F[0],F[1],F[2]);break;default:$.apply(e,F)}})(M)}finally{p(C),h=!1}}}}
125function k(C){C.source===l&&typeof C.data=="string"&&C.data.indexOf(c)===0&&_(+C.data.slice(c.length))}})(typeof self>"u"?n===void 0?this:n:self)}).call(this,typeof xe<"u"?xe:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Ie)),Ie.exports}var ta=J2();const ea=Kl(ta),la={class:"flex flex-col gap-4"},aa={class:"flex justify-end gap-2 w-full"},na=yt({__name:"ExportDataModal",props:{data:{},isLoading:{type:Boolean},dashboardSlug:{}},setup(y){const z=y,{isLoading:a,dashboardSlug:x,data:g}=Kt(z),n=ml(),l=gl(),e=ft(""),{dateRange:i,setRange:d}=se(),{formattedDateRange:m,prettyBytes:c}=Pt(),v=H(()=>a.value?null:0);At(n,k=>{k.query.dataExport&&(e.value=k.query.export)});const r=H({get:()=>n.query.dataExport!==void 0,set:k=>{if(!k){const{dataExport:C,...M}=n.query;l.replace({query:M})}}});function h(k,C){const M=document.createElement("a");M.href=URL.createObjectURL(k),M.download=C,document.body.appendChild(M),M.click(),document.body.removeChild(M)}async function o(){const k=await bl(()=>import("./CNerDvZX.js"),[],import.meta.url);n4("export xlsx (dashboard)");const C=z.data.summary?.value?.domain,{start:M,end:T}=i.value,$=M.toString(),F=T.toString(),B=`${C}_${$}_${F}.xlsx`,V=_.value,Q=k.utils.book_new();for(const K in V){const st=k.utils.aoa_to_sheet(V[K]);if(Object.keys(st).length===0)continue;const W=k.utils.decode_range(st["!ref"]);for(let R=W.s.r;R<=W.e.r;++R)for(let G=W.s.c;G<=W.e.c;++G){const O={c:G,r:R},I=k.utils.encode_cell(O);st[I]||(st[I]={t:"s",v:""})}const ct=V[K][0].map((R,G)=>{let O=0;return V[K].forEach(I=>{const lt=I[G]||"";O=Math.max(O,lt.toString().length)}),{wch:O+2}});st["!cols"]=ct,k.utils.book_append_sheet(Q,st,K)}const S=k.write(Q,{bookType:"xlsx",type:"binary"});function U(K){const st=new ArrayBuffer(K.length),W=new Uint8Array(st);for(let ct=0;ct<K.length;ct++)W[ct]=K.charCodeAt(ct)&255;return st}const L=new Blob([U(S)],{type:"application/octet-stream"});h(L,B)}function u(k){if(!k?.rows?.length)return[];const C=k.columns.map(T=>T.header),M=k.rows.map(T=>k.columns.map($=>T[$.accessorKey]??""));return[C,...M]}function p(){n4("export csv (dashboard)");const k=z.data.summary?.value?.domain,{start:C,end:M}=i.value,T=C.toString(),$=M.toString(),F=`${k}_${T}_${$}.zip`,B=new ea;for(const V in _.value){const Q=_.value[V].map(S=>S.join(",")).join(` 126`);B.file(`${V}.csv`,Q)}B.generateAsync({type:"blob"}).then(function(V){h(V,F)})}const _=H(()=>{if(!g.value)return{};if(!r.value)return{};console.log("dataExportMap 1");const k={Summary:[],"Top Pages":[],Referrals:[],Sources:[],"Energy & Carbon Summary":[],"Energy & Carbon":[],Countries:[],Languages:[],Devices:[],"Desktop Screen Sizes":[],Browsers:[],OS:[],Attention:[],Events:[],Campaigns:[]},C=g.value;k["Top Pages"]=u(C.topPages?.value),k.Referrals=u(C.referrals?.value),k.Countries=u(C.countries?.value),k.Languages=u(C.languages?.value),k.Browsers=u(C.browsers?.value),k.OS=u(C.operatingSystems?.value),k.Events=u(C.events?.value),k.Campaigns=u(C.campaigns?.value),k["Energy & Carbon"]=u(C.energyCarbon?.value?.list),k.Attention=u(C.attention?.value?.list);const M=C.summary?.value;M&&(k.Summary=[["Visits","Unique Visits","Bounce Rate"],[M.hits,M.unique,M.bounceRate+"%"]]);const T=C.sources?.value;T&&(k.Sources=[["Direct","Social","Search"],[T.direct+"%",T.social+"%",T.search+"%"]]);const $=C.devices?.value;$&&(k.Devices=[["Desktop","Mobile","Tablet"],[$.desktop+"%",$.mobile+"%",$.tablet+"%"]]);const F=C.screenSizes?.value;F&&(k["Desktop Screen Sizes"]=[["1024px or less","1024px - 2400px","2400px or more"],[F.s?.value??0,F.m?.value??0,F.l?.value??0]]);const B=C.energyCarbon?.value;if(B){const V=B.estimates,{getEmissionsPerBytes:Q}=me(),S=B.green?.green===!0;k["Energy & Carbon Summary"]=[["Data Transfer","Avg CO2/Visit (g)","Green Hosted","Measured Pages","Estimated Pages"],[c(B.transferredBytes),Q(B.avgGramsPerVisit??0,S).toFixed(4),B.green?.green??"unknown",V?.measuredPages??"",V?.estimatedPages??""]]}return k});return(k,C)=>{const M=X4,T=We,$=vl,F=ae,B=He;return q(),ot(B,{open:s(r),"onUpdate:open":C[0]||(C[0]=V=>Yt(r)?r.value=V:null),title:`Export data - ${s(x)}`,ui:{body:"relative border-0"}},{title:X(()=>
126[ht(" Export data - "+ut(s(x)),1)]),body:X(()=>[f("div",la,[C[1]||(C[1]=f("div",{class:"text-sm text-muted"}," Select a period to export: ",-1)),A(M,{"current-preset":"currentPreset"in k?k.currentPreset:s(Fl),onOnSetRange:s(d)},null,8,["current-preset","onOnSetRange"]),A(T,{variant:"soft",icon:"i-lucide-info",color:"primary",title:"Exporting data for the period",description:s(m)(s(i))},null,8,["description"])]),A($,{"model-value":s(v),class:"w-full absolute bottom-0 left-0",size:"2xs"},null,8,["model-value"])]),footer:X(()=>[f("div",aa,[A(F,{color:"primary",variant:"outline",disabled:s(a),onClick:p},{default:X(()=>[...C[2]||(C[2]=[ht(" Download CSV ",-1)])]),_:1},8,["disabled"]),A(F,{color:"primary",variant:"outline",disabled:s(a),onClick:o},{default:X(()=>[...C[3]||(C[3]=[ht(" Download XLSX ",-1)])]),_:1},8,["disabled"])])]),default:X(()=>[Qt(k.$slots,"default")]),_:3},8,["open","title"])}}}),sa=Object.assign(na,{__name:"ExportDataModal"}),ra=ft({x:0,y:0}),ia=ft(null),oa=()=>({tooltipPos:ra,tooltipData:ia}),La={class:"flex flex-col gap-1 text-sm p-2 bg-white dark:bg-default rounded-md shadow-md ring-1 ring-muted p-4 absolute bottom-4 w-52 -translate-x-1/2"},ca={class:"font-heading text-lg"},ua={class:"flex items-center gap-2"},da={class:"flex items-center gap-2"},ha=yt({__name:"DashboardChartTooltip",setup(y){const{tooltipData:z,tooltipPos:a}=oa(),{formatDate:x}=Pt(),g=H(()=>({left:a.value.x+"px",top:a.value.y+"px"}));return(n,l)=>(q(),ot(yl,{name:"tooltip"},{default:X(()=>[s(z)?(q(),nt("div",{key:0,class:"fixed top-0 left-0 pointer-events-none will-change-transform",style:Xt(s(g))},[f("div",La,[f("div",ca,ut(s(x)(s(z)?.date||"","days")),1),f("div",ua,[l[0]||(l[0]=f("div",{class:"w-3 h-3 rounded-full bg-accented"},null,-1)),ht(" "+ut(s(z)?.hits+s(z)?.unique||0)+" pageviews ",1)]),f("div",da,[l[1]||(l[1]=f("div",{class:"w-3 h-3 rounded-full bg-secondary"},null,-1)),ht(" "+ut(s(z)?.unique||0)+" unique visitors ",1)])])],4)):mt("",!0)]),_:1}))}}),fa=Object.assign(Qe(ha,[["__scopeId","data-v-254c239a"]]),{__name:"DashboardChartTooltip"}),pa=()=>({analyseTableData:g=>{const n=g?.rows?.[0],l=g?.rows?.length>0?g?.rows?.reduce((i,d)=>i.change>d.change?i:d):null,e=g?.rows?.filter(i=>i.previous===0).slice(0,1);return{topItem:n,mostChangedItem:l,newItems:e}},analyseBounceRate:g=>{const n=g?.result?.visits,l=Number(n?.bounceNew?.value??0),e=Number(n?.bounceCount?.value??0);if(!e)return{hasData:!1,average:0};const i=Math.min(100,Math.max(0,l/e*100));return{hasData:!0,average:Math.round(i)}},describeTopItem:g=>{const n=g?.topItem;if(!n?.label)return{kind:"empty"};const l=Number(n.change),e=Number(n.previous);return!Number.isFinite(l)||!Number.isFinite(e)||e===0?{kind:"new",label:n.label}:l===0?{kind:"flat",label:n.label}:{kind:"trend",label:n.label,direction:l>0?"up":"down",change:Math.abs(l)}},topSource:g=>{let n="",l=0;for(const[e,i]of Object.entries(g||{}))i>l&&(n=e,l=i);return n}}),{formatDuration:Re,prettyBytes:ma}=Pt(),{getEmissionsPerBytes:r4,co2ToKm:ga}=me(),va=wl({Chrome:"logos:chrome",Firefox:"logos:firefox",Edge:"logos:microsoft-edge",Safari:"logos:safari","Mobile Safari":"logos:safari",Opera:"logos:opera","360 Browser":"logos:internetexplorer","Opera Touch":"logos:opera",Vivaldi:"logos:vivaldi",Brave:"logos:brave",WebKit:"logos:webkit",GSA:"logos:google-icon",Facebook:"logos:facebook",Instagram:"logos:instagram-icon",IE:"logos:internetexplorer"}),ba={ChatGPT:"logos:openai-icon",Gemini:"logos:google-icon","Meta AI":"logos:meta-icon"};function ya(y){const{getFlagIcon:z,refreshGlobal:a}=Pt(),x=_l("UTooltip"),g=H(()=>y.value.isPublic?"/api/public/stats":"/api/stats"),n=H(()=>({domain:y.value.domain,id:y.value.publicID,start:y.value.start,end:y.value.end,startKey:y.value.startKey,endKey:y.value.endKey})),l=H(()=>`${y.value.domain}-${y.value.startKey}-${y.value.endKey}`),{data:e,status:i,error:d,execute:m}=Pe(()=>`dashboard-summary-${l.value}`,()=>$fetch(g.value,{params:{...n.value,dataType:"SUMMARY"}}),{server:!1,immediate:!1}),{data:c,status:v,error:r,execute:h}=Pe(()=>`dashboard-path-${l.value}`,()=>$fetch(g.value,{params:{...n.value,dataType:"PATH"}}),{server:!1,immediate:!1}),{data:o,status:u,error:p,execute:_}=Pe(()=>`dashboard-referrer-${l.value}`,()=>$fetch(g.value,{params:{...n.value,dataType:"REF"}}),{server:!1,immediate:!1});async function k(){await m(),!y.value.summaryOnly&&await Promise.all([h(),_()])}At(l,()=>{k()},{immediate:!0});const C=H(()=>({summary:i.value==="pending",path:v.value==="pending",referrer:u.value==="pending"}
126)),M=H(()=>y.value.summaryOnly?C.value.summary:C.value.summary||C.value.path||C.value.referrer),T=H(()=>d.value?"Failed to load summary":r.value?"Failed to load path data":p.value?"Failed to load referrer data":null),$=H(()=>e.value?.viewCapDate??c.value?.viewCapDate??o.value?.viewCapDate??null);async function F(){await k()}a.value=F;const B=H(()=>{const t=c.value?.result?.path;if(!t)return{};const P={};return t.forEach(E=>{P[E.label]={label:E.label,type:"path",initialView:"traffic",uniques:E.visits?.unique?.value??0,views:E.visits?.hits?.value??0,percentage:E.visits?.hits?.pc??0,change:E.visits?.hits?.c,previous:E.visits?.hits?.previous,transferredBytes:E.transferredBytes??0,durationAvgRaw:E.durationAvg?.value??0,durationAvg:"~"+Re(E.durationAvg?.value??0),totalBytes:E.totalBytes?.value??0,days:Array.isArray(E.days)&&E.days.length?E.days:void 0,readDepthRaw:E.scrollN?E.scrollAvg?.value??0:null,readDepth:E.scrollN?`${E.scrollAvg?.value??0}%`:"â",scrollN:E.scrollN??0,readBands:E.readBands,reachBands:E.reachBands}}),P}),V=H(()=>{const t=e.value?.result?.visits;if(!t)return null;const P=t.hits?.value??0,E=t.unique?.value??0,w=t.bounceNew?.value??0,b=t.bounceCount?.value??0,D=b?Math.min(100,Math.max(0,w/b*100)):0;return{domain:n.value.domain,hits:P,unique:E,uniquePercent:P?(E/P*100).toFixed(0):"0",bounceRate:D.toFixed(0)}}),Q=H(()=>c.value?.result?.path?{label:"Top Pages",clickable:!0,allowPercentageToggle:"views",rows:Object.values(B.value).sort((P,E)=>E.views-P.views),columns:[{header:"PAGE",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"},{header:"VIEWS",accessorKey:"views"}]}:null),S=H(()=>{const t=o.value?.result;return t?{label:"Referrals",clickable:!0,allowPercentageToggle:"uniques",rows:t.map(P=>({label:P.label,type:"referral",initialView:"traffic",uniques:P.visits?.unique?.value??0,views:P.visits?.hits?.value??0,percentage:P.visits?.hits?.pc??0,previous:P.visits?.unique?.previous,change:P.visits?.unique?.c})).filter(P=>P.uniques>0),columns:[{header:"REFERRER",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"}]}:null}),U=H(()=>o.value?.path??null),L=H(()=>{const t=e.value?.result?.source;if(!t)return null;const P=Object.values(t).reduce((E,w)=>E+(w?.value??0),0);return{direct:Math.round((t.unknown?.value??0)/P*100),social:Math.round((t.social?.value??0)/P*100),search:Math.round((t.search?.value??0)/P*100)}}),K=5;function st(t,P,E="estimated"){return t[P]===""?_e(x,{delayDuration:0,text:"This page hasnât been measured yet, and there arenât enough measured pages on this site to estimate from."},{default:()=>_e("span",{class:"text-dimmed font-normal"},"Not measured")}):t[E]?_e(x,{delayDuration:0,text:"Estimated from the average size of this siteâs measured pages. This page hasnât been measured itself."},{default:()=>_e("span",{class:"text-dimmed underline decoration-dotted decoration-muted underline-offset-4 cursor-default"},`~${t[P]}`)}):t[P]}const W=H(()=>{const t=c.value?.carbonTotals,P=c.value?.result?.energy;if(!t||!P)return null;const E=P.filter(Y=>!Y.estimated).map(Y=>Y.totalBytes?.value??0).filter(Y=>Y>0),w=E.length>=K?Math.round(E.reduce((Y,at)=>Y+at,0)/E.length):0,b=t.green?.green===!0;let D=0,j=0,Z=0;const N=P.map(Y=>{const at=B.value[Y.label],et=Y.totalBytes?.value??0,Lt=!!Y.estimated,gt=et||(Lt?0:w),rt=gt===0,it=!rt&&(Lt||!et);it&&D++,rt&&j++,it&&Lt&&Z++;const Tt=Y.transferredBytes??at?.transferredBytes??0,Ct=Y.views??at?.views??0,Wt=Tt*1e6,bt=Wt||gt*Ct;return{...at,label:Y.label,type:"path",initialView:"energy",bytes:gt,estimated:it,unknown:rt,totalBytes:rt?"":ma(gt,2),co2Kg:bt===0?"":(r4(bt,b)/1e3).toFixed(2),co2Estimated:bt>0&&Wt===0,co2Bytes:bt,periodViews:Ct,days:Array.isArray(at?.days)&&at.days.length?at.days:void 0}}).sort((Y,at)=>at.co2Bytes-Y.co2Bytes||at.bytes-Y.bytes);return{transferredBytes:t.transferredBytes??0,totalBytes:t.totalBytes??0,avgGramsPerVisit:t.avgGramsPerVisit??0,avgGramsPerUniqueVisit:t.avgGramsPerUniqueVisit??0,totalKM:ga(r4(t.totalBytes,b)).km,green:t.green??{green:"unknown"},estimates:{source:D===0?null:Z>0?"server":"peers",estimatedPages:D,unknownPages:j,measuredPages:N.length-D-j,totalPages:N.length,averageBytes:w,totalsIncludeEstimates:(t.estimatedPaths??0)>0},list:{label:"Energy & Carbon",clickable:!0,rows:N,columns:[{header:"PAGE",accessorKey:"label"},{header:"PAGE SIZE (MB)",accessorKey:"totalBytes",cell:({row:Y})=>st(Y.original,"totalBytes")},{header:"SUM CO2 (KG)",accessorKey:"co2Kg",cell:({row:Y})=>st(Y.original,"co2Kg","co2Estimated")}]}}}),ct=H(()=>{const t=e.value?.result?.country;if(!t)return null;const P=new Intl.DisplayNames(["en"],{type:"region"});return{label:"Countries",allowPercentageToggle:"uniques",rows:t.map(E=>{let w;try{w=P.of(E.label)??E.label}catch{w=E.label}return{icon:z(E.label),label:w,code:E.label,uniques:E.value??0,percentage:E.pc??0}}),columns:[{header:"COUNTRY",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"}]}}),R=H(()=>{const t=e.value?.result?.language,P=new Intl.DisplayNames(["en"],{type:"language"});return t?{label:"Languages",allowPercentageToggle:"uniques",rows:t.map(E=>{let w;try{w=P.of(E.label)??E.label}catch{w=E.label}return{label:w,uniques:E.value??0,percentage:E.pc??0}}),columns:[{header:"LANGUAGE",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"}]}:null}),G=H(()=>{const t=e.value?.result?.device;return t?{desktop:t.desktop?.pc??0,mobile:t.mobile?.pc??0,tablet:t.tablet?.pc??0}:null}),O=H(()=>e.value?.result?.size??null),I=H(()=>{const t=e.value?.result?.browser;return t?{label:"Browsers",allowPercentageToggle:"uniques",rows:t.map(P=>({icon:va[P.label],label:P.label,uniques:P?.value??0,percentage:P?.pc??0})),columns:[{header:"BROWSER",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"}]}:null}),lt=H(()=>{const t=e.value?.result?.os;return t?{label:"Operating Systems",allowPercentageToggle:"uniques",rows:t.map(P=>({label:P.label,uniques:P?.value??0,percentage:P?.pc??0})),columns:[{header:"OPERATING SYSTEM",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"}]}:null}),J=H(()=>{const t=e.value?.result?.bots;return!t||!t.length?null:{label:"AI Agents",allowPercentageToggle:"uniques",rows:t.map(P=>({icon:ba[P.label]??"i-lucide-bot",label:P.label,uniques:P?.value??0,percentage:P?.pc??0})),columns:[{header:"AI AGENT",accessorKey:"label"},{header:"VISITS",accessorKey:"uniques"}]}}),tt=H(()=>{const t=e.value?.result?.bots??[],P=e.value?.result?.visits?.hits?.value??0,E=t.reduce((D,j)=>D+(j?.value??0),0),w=P+E,b=w?E/w:0;return{bots:b,humans:w?P/w:0,botsLabel:`${(b*100).toFixed(2)}%`,humansLabel:`${((1-b)*100).toFixed(2)}%`,botHits:E,humanHits:P,total:w}}),vt=H(()=>
126{if(!c.value?.result?.path)return null;const P=c.value?.carbonTotals,E=Object.values(B.value).map(j=>({...j,initialView:"attention"})).sort((j,Z)=>Z.durationAvgRaw-j.durationAvgRaw),w=E.reduce((j,Z)=>j+Math.round(Z.durationAvgRaw*Z.views),0),b=E.reduce((j,Z)=>j+Z.views,0),D=c.value?.scrollTotals;return{avgTimeSpent:Re(P?.avgTimeSpent??(b?Math.round(w/b):0)),durationTotal:Re(P?.durationTotal??w),hasReadDepth:typeof D?.depth=="number",readDepth:D?.depth??null,readBands:D?.bands??[],reachBands:D?.reach??[],readN:D?.n??0,list:{label:"Attention",clickable:!0,rows:E,columns:E.some(j=>j.readDepthRaw!==null)?[{header:"PAGE",accessorKey:"label"},{header:"AVG (s)",accessorKey:"durationAvg"},{header:"SCROLL",accessorKey:"readDepth"}]:[{header:"PAGE",accessorKey:"label"},{header:"AVG (s)",accessorKey:"durationAvg"}]}}}),xt=H(()=>{const t=c.value?.events,P=e.value?.result?.visits;if(!t||!P)return null;const E=P.hits?.value??0,w=P.unique?.value??0,b=(j,Z="event",N="traffic")=>({label:j.label,value:j.value??0,totalConversionRate:E?((j.value??0)/E*100).toFixed(2):0,uniqueConversionRate:w?((j.value??0)/w*100).toFixed(2):0,...B.value[j.label],type:Z,initialView:N,percentage:j.pc??0,change:j.c??0,previous:j.previous??0,icon:"i-lucide-square-dashed-mouse-pointer",children:{label:"Pages",clickable:!0,truncatedFrom:j.childrenTotal&&j.childrenTotal>(j.children?.length??0)?j.childrenTotal:void 0,rows:j.children?.map(Y=>b(Y,"path","events")),columns:[{header:"PATH",accessorKey:"label"},{header:"TOTAL CR",accessorKey:"totalConversionRate"},{header:"UNIQUE CR",accessorKey:"uniqueConversionRate"},{header:"COUNT",accessorKey:"value"}]}});return{label:"Events",allowPercentageToggle:"value",rows:t.map(j=>b(j,"event"))?.sort((j,Z)=>Z.value-j.value)??[],columns:[{header:"EVENT",accessorKey:"label"},{header:"TOTAL CR",accessorKey:"totalConversionRate"},{header:"UNIQUE CR",accessorKey:"uniqueConversionRate"},{header:"COUNT",accessorKey:"value"}],expandable:!0}}),dt=H(()=>{const t=xt.value?.list;return t?t.reduce((P,E)=>P+(E.value?.value??0),0):0}),pt=H(()=>{const t=o.value?.campaign;return t?{label:"Campaigns",clickable:!0,allowPercentageToggle:"views",rows:t.map(P=>({label:P.label,type:"campaign",uniques:P.visits?.unique?.value??0,views:P.visits?.hits?.value??0,percentage:P.visits?.hits?.pc??0,source:P.source,medium:P.medium,path:P.path})),columns:[{header:"CAMPAIGN",accessorKey:"label"},{header:"UNIQUES",accessorKey:"uniques"},{header:"VIEWS",accessorKey:"views"}]}:null}),wt=H(()=>c.value?.carbonTotals??null),_t=H(()=>(e.value?.result?.visits?.hits?.value??0)>0),Dt=H(()=>e.value?.admin??!1),zt=H(()=>e.value?.validated??null);return{refresh:F,loading:C,isLoading:M,error:T,viewCapDate:$,raw:{stats:e,path:c,referrer:o},isAdmin:Dt,validated:zt,summary:V,hasData:_t,topPages:Q,referrals:S,referrerPaths:U,countries:ct,languages:R,browsers:I,operatingSystems:lt,botsList:J,botShare:tt,events:xt,eventsCount:dt,campaigns:pt,sources:L,energyCarbon:W,carbonTotals:wt,attention:vt,devices:G,screenSizes:O,allData:{summary:V,topPages:Q,referrals:S,referrerPaths:U,countries:ct,languages:R,browsers:I,operatingSystems:lt,botsList:J,botShare:tt,events:xt,eventsCount:dt,campaigns:pt,sources:L,energyCarbon:W,carbonTotals:wt,attention:vt,devices:G,screenSizes:O}}}const _a=()=>{const y=ft(null),z=ft(!1);async function a(x){z.value=!0;try{y.value=await $fetch("/api/stats/traffic-notice",{query:{domain:x}})??null}catch{y.value=null}finally{z.value=!1}return y.value}return{notice:H(()=>y.value),loading:xl(z),getTrafficNotice:a}},wa={class:"px-px"},xa={class:"pt-6 mb-2"},ka=["src","alt"],Sa=["href"],za={class:"flex flex-col gap-4 sm:gap-16"},Ca={class:"flex flex-col h-full"},Ma={key:0,class:"flex flex-col gap-8 sm:gap-16"},Ea={class:"text-sm text-muted"},Da={class:"font-bold text-dashboard-secondary"},Ta={class:"font-bold text-dashboard-secondary"},Aa={class:"font-bold text-dashboard-secondary"},Pa={class:"grid sm:grid-cols-2 gap-4 mb-4"},Ba={class:"flex flex-col items-center justify-center text-center gap-3 py-12"},Ia={class:"squircle bg-elevated p-3"},Ra={class:"text-sm text-muted max-w-sm"},Oa={class:"text-sm text-muted"},$a={class:"font-bold text-dashboard-secondary"},Na={class:"font-bold text-dashboard-secondary"},Ua={class:"font-bold text-dashboard-secondary"},Fa={class:"text-sm text-muted"},Va={class:"font-bold text-dashboard-secondary"},ja={class:"grid sm:grid-cols-3 gap-4"},Ka={class:"grid sm:grid-cols-2 gap-4 mb-4"},qa={class:"flex flex-col gap-4"},Ga={class:"flex items-center gap-2"},Wa={key:0,class:"divide-y divide-muted -my-2"},Ha={class:"flex items-center gap-2 min-w-0"},Za={class:"text-base leading-none"},Ya={class:"text-muted truncate"},Xa={class:"font-bold text-muted shrink-0 ml-4 text-right"},Qa={key:1,class:"text-xs text-muted py-4 text-center"},Ja={class:"flex flex-col items-center justify-center text-center gap-3 py-12"},t5={class:"squircle bg-elevated p-3"},e5={class:"flex flex-col items-center justify-center text-center gap-3 py-12"},l5={class:"squircle bg-elevated p-3 flex items-center justify-center"},a5={class:"text-sm text-muted"},n5={class:"font-bold text-dashboard-secondary"},s5={key:1,class:"mt-2"},r5={class:"grid sm:grid-cols-3 gap-4 mb-4"},i5={class:"text-sm text-muted"},o5={class:"flex items-center gap-2"},L5={class:"grid sm:grid-cols-3 gap-4"},c5={class:"grid sm:grid-cols-3 gap-4"},u5={class:"absolute right-4 inset-y-4 flex items-center"},d5=yt({__name:"Dashboard",props:{dashboardSlug:{},demo:{type:Boolean},demoHero:{type:Boolean},demoHref:{},brandColor:{},logoUrl:{},features:{},retentionDays:{}},setup(y){const z=y,a=ft(z.logoUrl),{dashboardSlug:x}=Kt(z),{getEmissionsPerBytes:g,streamingComparison:n}
126=me(),{analyseTableData:l,analyseBounceRate:e,describeTopItem:i,topSource:d}=pa(),{prettyBytes:m,prettyGrams:c,smAndLarger:v,prettyNumber:r}=Pt(),{initialChartPeriod:h}=_4(),{getGscStats:o,stats:u,loading:p}=e4(),_=H(()=>z.demo?z.features??{customEvents:!0,carbonReporting:!0,scrollDepth:!0,aiAgents:!0,googleSearchConsole:!0}:at.value?.features??{customEvents:!0,carbonReporting:!0,scrollDepth:!0,aiAgents:!0,googleSearchConsole:!0}),k=H(()=>_.value.scrollDepth===!1),C=H(()=>z.demo?z.retentionDays??null:at.value?.retentionDays??null),M=ft(null),{dateRange:T,daysInRange:$}=se(),F=rt=>`${rt.year}-${String(rt.month).padStart(2,"0")}-${String(rt.day).padStart(2,"0")}`,B=H(()=>({domain:x.value,startKey:F(T.value.start),endKey:F(T.value.end),isPublic:!!z.demo,summaryOnly:!!z.demoHero})),V=H(()=>l(I.value)),Q=H(()=>l(lt.value)),S=H(()=>i(V.value)),U=H(()=>i(Q.value)),L=H(()=>d(J.value??{})),K=H(()=>e(w?.stats?.value)),st=H(()=>`${$.value} day${$.value===1?"":"s"}`),W=H(()=>tt.value?.estimates??null),ct=H(()=>tt.value?.green?.green===!0),R=H(()=>tt.value?.list?.rows?.find(rt=>!rt.estimated&&!rt.unknown)??null),{refresh:G,isLoading:O,topPages:I,referrals:lt,sources:J,energyCarbon:tt,countries:vt,languages:xt,devices:dt,screenSizes:pt,browsers:wt,operatingSystems:_t,botsList:Dt,botShare:zt,attention:t,events:P,campaigns:E,raw:w,loading:b,error:D,viewCapDate:j,allData:Z}=ya(B),{scrollTargetShared:N}=tl();At(O,async rt=>{if(rt)M.value=null;else if(M.value=0,N.value&&!z.demoHero){const it=N.value;N.value=null,await Me();const Tt=document.getElementById(it)?.getBoundingClientRect();Tt&&window.scrollTo({top:Math.round(Tt.top+window.scrollY)-192,behavior:"smooth"})}});const{getDomain:Y,currentDomain:at}=Xl(),{notice:et,getTrafficNotice:Lt}=_a(),gt=H(()=>u.value?.rows?.length?{label:"Search Queries",clickable:!0,rows:u.value.rows.map(rt=>({label:rt.query,type:"search_query",clicks:rt.clicks,impressions:rt.impressions,ctr:`${(rt.ctr*100).toFixed(1)}%`,position:rt.position?rt.position.toFixed(1):"-",percentage:(u.value?.totalClicks??0)>0?rt.clicks/u.value.totalClicks:0})),columns:[{header:"SEARCH QUERY",accessorKey:"label"},{header:"CLICKS",accessorKey:"clicks"},{header:"IMPRES",accessorKey:"impressions"},{header:"CTR",accessorKey:"ctr"},{header:"POS",accessorKey:"position"}]}:null);return At([B,_,at],async([rt,it,Tt])=>{it?.googleSearchConsole&&(Tt?.gscConnected||z.demo)&&await o({domain:rt.domain,startKey:rt.startKey,endKey:rt.endKey})},{immediate:!0,deep:!0}),kl(async()=>{const rt=Sl();let it=z.brandColor||"hippie";if(!z.demo){const Tt=await Y(x.value);it=Tt?.color||"hippie",a.value=Tt?.logoUrl,Lt(x.value)}rt.ui.colors["dashboard-primary"]=it}),Q4(!0),(rt,it)=>{const Tt=S3,Ct=Ft,Wt=J4,bt=We,ie=B3,de=G3,Vt=P4,Mt=a1,Rt=Gt,Et=It,Bt=ne,be=t4,ee=ae,le=Ae,I4=Ge,R4=Gl,O4=m1,$4=S1,oe=E1,N4=B4,U4=Q2,F4=sa,V4=L4,j4=ll,K4=al,q4=fa,G4=Yl;return q(),ot(G4,{class:"container mx-auto max-w-7xl px-4 relative z-0"},{left:X(()=>[A(Tt,{demo:y.demo,"demo-hero":y.demoHero,"demo-href":y.demoHref,"has-bots":!!s(_).aiAgents},null,8,["demo","demo-hero","demo-href","has-bots"])]),default:X(()=>[A(j4,{class:"mt-0"},{default:X(()=>[f("div",wa,[f("div",xa,[s(a)?(q(),nt("img",{key:0,src:s(a),alt:s(x),class:"max-h-16 object-contain mb-2 rounded-sm"},null,8,ka)):mt("",!0),f("a",{href:`https://${s(x)}`,target:"_blank",rel:"noopener noreferrer",class:Ot(["group inline-flex items-center gap-2 font-heading text-default wrap-anywhere leading-none",s(a)?"text-lg text-muted hover:text-default":"text-[2.5rem]"])},[ht(ut(s(x))+" ",1),A(Ct,{name:"i-lucide-external-link",class:Ot(["opacity-0 group-hover:opacity-100 transition-opacity",s(a)?"size-4":"size-6"])},null,8,["class"])],10,Sa)]),A(Wt,{demo:y.demo,"demo-hero":y.demoHero,"demo-href":y.demoHref,"is-loading":s(O),"dashboard-slug":s(x),"is-in-real-header":!1,"retention-days":s(C),"cap-date":s(j),class:"mb-6",onOnRefresh:s(G)},null,8,["demo","demo-hero","demo-href","is-loading","dashboard-slug","retention-days","cap-date","onOnRefresh"]),s(D)&&!s(O)?(q(),ot(bt,{key:0,color:"error",variant:"subtle",icon:"i-lucide-cloud-off",title:"Couldn't load dashboard data",description:`${s(D)}. Your data is safe â this is just a display hiccup.`,actions:[{label:"Retry",color:"error",variant:"solid",onClick:()=>s(G)()}],class:"mb-6"},null,8,["description","actions"])):mt("",!0),A(V4,null,{default:X(()=>[f("div",za,[A(Mt,{id:"summary",title:"Summary",demo:y.demo},{left:X(()=>[A(ie,{loading:s(b).summary,stats:s(w)?.stats?.value},null,8,["loading","stats"])]),default:X(()=>[f("div",Ca,[A(Vt,{raw:s(w),loading:s(b).summary,"initial-chart-period":s(h),data:s(w)?.stats?.value?.result?.days,"chart-height":s(v)?260:200,zoomable:"",fill:""},{badge:X(()=>[y.demo?mt("",!0):(q(),ot(de,{key:0,notice:s(et),"start-key":s(B).startKey,"end-key":s(B).endKey},null,8,["notice","start-key","end-key"]))]),_:1},8,["raw","loading","initial-chart-period","data","chart-height"])])]),_:1},8,["demo"]),y.demoHero?mt("",!0):(q(),nt("div",Ma,[A(Mt,{id:"top-pages",title:"Top Pages",demo:y.demo},{left:X(()=>[f("div",Ea,[s(S).kind==="empty"?(q(),nt(kt,{key:0},[ht(" No page views in this period yet. Your top pages will show up here as soon as traffic arrives. ")],64)):s(S).kind==="new"?(q(),nt(kt,{key:1},[f("span",Da,ut(s(S).label),1),ht(" is your top page. There's nothing in the previous "+ut(s(st))+" to compare it with yet. ",1)],64)):s(S).kind==="flat"?(q(),nt(kt,{key:2},[it[0]||(it[0]=ht(" Visits to ",-1)),f("span",Ta,ut(s(S).label),1),ht(" are unchanged compared with the previous "+ut(s(st)),1)],64)):(q(),nt(kt,{key:3},[it[1]||(it[1]=ht(" Visits to ",-1)),f("span",Aa,ut(s(S).label),1),ht(" are "+ut(s(S).direction)+" by "+ut(s(S).change)+"% compared with previous "+ut(s(st)),1)],64))])]),default:X(()=>[A(Et,null,{default:X(()=>[A(Rt,{title:"Top Pages","hide-title":!0,icon:"i-lucide-chart-bar",data:s(I),loading:s(b).path},null,8,["data","loading"])]),_:1})]),_:1},8,["demo"]),s(_).aiAgents?(q(),ot(Mt,{key:0,id:"ai-crawlers",title:"AI Agents",demo:y.demo},{left:X(()=>[...it[2]||(it[2]=[f("div",{class:"text-sm text-muted"}," AI agent traffic is excluded from analytics on this dashboard, and it's never billed. ",-1)])]),default:X(()=>[s(Dt)||s(b).summary?(q(),nt(kt,{key:0},[f("div",Pa,[A(Bt,{label:"AI Agents",value:s(zt)?.botsLabel??"0%",description:`${s(r)(s(zt)?.botHits??0)} visits excluded from analytics`,loading:s(b).summary},null,8,["value","description","loading"]),A(Bt,{label:"Humans",value:s(zt)?.humansLabel??"0%",description:`${s(r)(s(zt)?.humanHits??0)} visits included in analytics`,loading:s(b).summary},null,8,["value","description","loading"])]),A(Et,null,{default:X(()=>[A(Rt,{title:"AI Agent Traffic","hide-title":!1,icon:"i-lucide-bot",data:s(Dt),loading:s(b).summary},null,8,["data","loading"])]),_:1})],64)):(q(),ot(Et,{key:1},{default:X(()=>[f("div",Ba,[f("div",Ia,[A(Ct,{name:"i-lucide-bot",class:"size-7 text-muted"})]),it[3]||(it[3]=f("div",{class:"font-medium text-default"}," No AI agents detected yet ",-1)),f("p",Ra," When AI agents like ChatGPT, Claude and Perplexity crawl or cite "+ut(s(x))+", they'll appear here. ",1)])]),_:1}))]),_:1},8,["demo"])):mt("",!0),A(Mt,{id:"referrals",title:"Referrals",demo:y.demo},{left:X(()=>[f("div",Oa,[s(U).kind==="empty"?(q(),nt(kt,{key:0},[ht(" No referrals in this period yet. Sites and apps that link to you will show up here. ")],64)):s(U).kind==="new"?(q(),nt(kt,{key:1},[f("span",$a,ut(s(U).label),1),ht(" is your top referrer. There's nothing in the previous "+ut(s(st))+" to compare it with yet. ",1)],64)):s(U).kind==="flat"?(q(),nt(kt,{key:2},[it[4]||(it[4]=ht(" Referrals from ",-1)),f("span",Na,ut(s(U).label),1),ht(" are unchanged compared with the previous "+ut(s(st)),1)],64)):(q(),nt(kt,{key:3},[it[5]||(it[5]=ht(" Referrals from ",-1)),f("span",Ua,ut(s(U).label),1),ht(" are "+ut(s(U).direction)+" by "+ut(s(U).change)+"% compared with previous "+ut(s(st)),1)],64))])]),default:X(()=>[A(Et,null,{default:X(()=>[A(Rt,{title:"Referrals","hide-title":!0,icon:"i-lucide-share-2",data:s(lt),loading:s(b).referrer},null,8,["data","loading"])]),_:1})]),_:1}
126,8,["demo"]),A(Mt,{id:"sources",title:"Sources",demo:y.demo},{left:X(()=>[f("div",Fa,[s(L)?(q(),nt(kt,{key:0},[it[6]||(it[6]=ht(" Top source is ",-1)),f("span",Va,ut(s(L)),1)],64)):(q(),nt(kt,{key:1},[ht(" No sources yet. Once visitors arrive, this shows whether they came direct, from search, or from social. ")],64))])]),default:X(()=>[f("div",ja,[A(Bt,{label:"Direct",value:s(J)?.direct,icon:"i-lucide-target",description:"of unique visitors",unit:"%",loading:s(b).summary},null,8,["value","loading"]),A(Bt,{label:"Search",value:s(J)?.search,icon:"i-lucide-file-search",description:"of unique visitors",unit:"%",loading:s(b).summary},null,8,["value","loading"]),A(Bt,{label:"Social",value:s(J)?.social,icon:"i-lucide-activity",description:"of unique visitors",unit:"%",loading:s(b).summary},null,8,["value","loading"])])]),_:1},8,["demo"]),A(Mt,{id:"search-queries",title:"Search Queries",demo:y.demo,locked:!s(_).googleSearchConsole,feature:"googleSearchConsole"},{left:X(()=>[...it[7]||(it[7]=[f("div",{class:"text-sm text-muted"}
126," Organic search queries and keyword rankings from Google Search Console. ",-1)])]),default:X(()=>[s(u)?.connected?(q(),nt(kt,{key:0},[f("div",Ka,[f("div",qa,[A(Bt,{label:"Impressions",value:s(r)(s(u).totalImpressions),icon:"i-lucide-eye",loading:s(p)},null,8,["value","loading"]),A(Bt,{label:"Clicks",value:s(r)(s(u).totalClicks),icon:"i-lucide-mouse-pointer-click",loading:s(p)},null,8,["value","loading"])]),A(Et,{class:"h-full"},{header:X(()=>[f("div",Ga,[A(Ct,{name:"i-lucide-globe",class:"size-4 text-muted"}),it[8]||(it[8]=f("span",{class:"text-sm font-medium text-default"},"Top Countries",-1))])]),default:X(()=>[s(u)?.countries?.length?(q(),nt("div",Wa,[(q(!0),nt(kt,null,c4(s(u).countries.slice(0,5),ye=>(q(),nt("div",{key:ye.code,class:"flex items-center justify-between py-2 text-sm"},[f("div",Ha,[f("span",Za,ut(ye.flag),1),f("span",Ya,ut(ye.country),1)]),f("span",Xa,ut((ye.percentage*100).toFixed(0))+"% ",1)]))),128))])):(q(),nt("div",Qa," No country search data available "))]),_:1})]),s(u)?.days?.length?(q(),ot(be,{key:0,data:s(u).days,loading:s(p),"chart-height":250,class:"mb-4"},null,8,["data","loading"])):mt("",!0),s(gt)?(q(),ot(Et,{key:1},{default:X(()=>[A(Rt,{title:"Search Queries","hide-title":!0,icon:"i-lucide-search",data:s(gt),loading:s(p)},null,8,["data","loading"])]),_:1})):s(p)?mt("",!0):(q(),ot(Et,{key:2},{default:X(()=>[f("div",Ja,[f("div",t5,[A(Ct,{name:"i-lucide-search",class:"size-7 text-muted"})]),it[9]||(it[9]=f("div",{class:"font-medium text-default"}," No search queries recorded yet ",-1)),it[10]||(it[10]=f("p",{class:"text-sm text-muted max-w-sm"}," Google Search Console hasn't recorded queries for this period yet (note: Google data has a ~2 day processing lag). ",-1))])]),_:1}))],64)):y.demo?(q(),ot(le,{key:2,feature:"googleSearchConsole",demo:y.demo},null,8,["demo"])):(q(),ot(Et,{key:1},{default:X(()=>[f("div",e5,[f("div",l5,[A(Ct,{name:"i-logos-google-icon",class:"size-7"})]),it[12]||(it[12]=f("div",{class:"font-medium text-default text-lg"}," Connect Google Search Console ",-1)),it[13]||(it[13]=f("p",{class:"text-sm text-muted max-w-md"}," Link your domain to see top search queries, impressions, clicks, and keyword rankings directly in this dashboard. ",-1)),A(ee,{color:"primary",size:"lg",icon:"i-logos-google-icon",to:`/api/integrations/gsc/auth?domain=${s(x)}`,external:"",class:"mt-2"},{default:X(()=>[...it[11]||(it[11]=[ht(" Connect Search Console ",-1)])]),_:1},8,["to"])])]),_:1}))]),_:1},8,["demo","locked"]),A(Mt,{id:"energy-carbon",title:"Energy & Carbon",demo:y.demo,locked:!s(_).carbonReporting,feature:"carbonReporting"},{left:X(()=>[f("div",a5,[s(R)?(q(),nt(kt,{key:0},[it[14]||(it[14]=ht(" The page at ",-1)),f("span",n5,ut(s(R).label),1),it[15]||(it[15]=ht(" is your heaviest measured page by size. ",-1))],64)):mt("",!0),s(W)?.estimatedPages?(q(),nt("div",s5,[ht(ut(s(W).estimatedPages)+" of "+ut(s(W).totalPages)+" pages haven't been measured yet, so they show this site's average size. ",1),A(I4,{to:"https://docs.withcabin.com/energy-and-carbon#why-some-pages-show-no-energy-data",target:"_blank",class:"text-dashboard-primary"},{default:X(()=>[...it[16]||(it[16]=[ht(" Why? ",-1)])]),_:1})])):mt("",!0)])]),default:X(()=>[A(R4,{"energy-carbon":s(tt),"dashboard-slug":s(x),class:"mb-4"},null,8,["energy-carbon","dashboard-slug"]),f("div",r5,[A(Bt,{label:"Transferred Data",value:s(m)(s(tt)?.transferredBytes??0),description:s(n)(s(tt)?.transferredBytes??0),loading:s(b).path},null,8,["value","description","loading"]),A(Bt,{label:"CO2 Emissions",value:s(c)(s(g)(s(tt)?.transferredBytes??0,s(ct))),description:`Like driving ${s(tt)?.totalKM} km in a car`,loading:s(b).path},null,8,["value","description","loading"]),A(Bt,{label:"Average CO2",description:"per unique visitor",value:s(c)(s(g)(s(tt)?.avgGramsPerUniqueVisit??0,s(ct))),loading:s(b).path},null,8,["value","loading"])]),A(Et,null,{default:X(()=>[A(Rt,{title:"Energy & Carbon","hide-title":!0,icon:"i-lucide-sun",data:s(tt)?.list,loading:s(b).path},null,8,["data","loading"])]),_:1})]),_:1},8,["demo","locked"]),A(Mt,{id:"bounce-rate",title:"Bounce Rate",demo:y.demo},{left:X(()=>[f("div",i5,[s(K).hasData?(q(),nt(kt,{key:0},[ht(" Average bounce rate is "+ut(s(K).average)+"% across this period. ",1)],64)):(q(),nt(kt,{key:1},[ht(" No bounce rate yet. It needs at least one visit in this period. ")],64))])]),default:X(()=>[A(O4,{stats:s(w)?.stats?.value,loading:s(b)?.summary},null,8,["stats","loading"])]),_:1},8,["demo"]),A(Mt,{id:"countries",title:"Countries",demo:y.demo},{default:X(()=>[A(Et,null,{header:X(()=>[f("div",o5,[A(Ct,{name:"i-lucide-globe",class:"size-5"}),it[17]||(it[17]=f("h3",{class:"font-bold text-lg"}," Global reach ",-1))])]),default:X(()=>[A($4,{countries:s(vt),loading:s(b)?.summary,class:"mb-8"},null,8,["countries","loading"]),A(Rt,{title:"Countries","hide-title":!0,icon:"i-lucide-globe",data:s(vt),loading:s(b)?.summary},null,8,["data","loading"])]),_:1})]),_:1},8,["demo"]),A(Mt,{id:"languages",title:"Languages",demo:y.demo},{default:X(()=>[A(Et,null,{default:X(()=>[A(Rt,{title:"Languages","hide-title":!0,icon:"i-lucide-languages",data:s(xt),loading:s(b)?.summary},null,8,["data","loading"])]),_:1})]),_:1},8,["demo"]),A(Mt,{id:"devices",title:"Devices",demo:y.demo},{default:X(()=>[f("div",L5,[A(oe,{percentage:s(dt)?.mobile,label:"Mobile",aspect:"aspect-[9/16]",width:"w-12",loading:s(b)?.summary},null,8,["percentage","loading"]),A(oe,{percentage:s(dt)?.tablet,label:"Tablet",aspect:"aspect-[4/3]",width:"w-32",loading:s(b)?.summary},null,8,["percentage","loading"]),A(oe,{"pip-top":!0,percentage:s(dt)?.desktop,label:"Desktop",as
126pect:"aspect-[5/3.5]",width:"w-full",loading:s(b).summary},null,8,["percentage","loading"])])]),_:1},8,["demo"]),A(Mt,{id:"desktop-screen-sizes",title:"Desktop Screen Sizes",demo:y.demo},{default:X(()=>[f("div",c5,[A(oe,{label:"1024px or less","hide-pip":!0,percentage:s(pt)?.s.pc,width:"w-1/2",loading:s(b)?.summary},null,8,["percentage","loading"]),A(oe,{label:"1024px - 2400px","hide-pip":!0,percentage:s(pt)?.m.pc,width:"w-4/5",loading:s(b)?.summary},null,8,["percentage","loading"]),A(oe,{label:"2400px or more","hide-pip":!0,percentage:s(pt)?.l.pc,width:"w-full",loading:s(b)?.summary},null,8,["percentage","loading"])])]),_:1},8,["demo"]),A(Mt,{id:"browsers",title:"Browsers",demo:y.demo},{default:X(()=>[A(Et,null,{default:X(()=>[A(Rt,{title:"Browsers","hide-title":!0,icon:"i-lucide-app-window",data:s(wt),loading:s(b).summary},null,8,["data","loading"])]),_:1})]),_:1},8,["demo"]),A(Mt,{id:"os",title:"Operating Systems",demo:y.demo},{default:X(()=>[A(Et,null,{default:X(()=>[A(Rt,{title:"Operating Systems","hide-title":!0,icon:"i-lucide-app-window-mac",data:s(_t),loading:s(b).summary},null,8,["data","loading"])]),_:1})]),_:1},8,["demo"]),A(Mt,{id:"attention",title:"Attention",demo:y.demo},{default:X(()=>[f("div",{class:Ot(["grid sm:grid-cols-2 gap-4 mb-6",s(k)||s(t)?.hasReadDepth?"lg:grid-cols-3":""])},[A(Bt,{label:"Average Time Spent / Page",value:s(t)?.avgTimeSpent,loading:s(b)?.summary},null,8,["value","loading"]),A(Bt,{label:"Total Time Spent",value:s(t)?.durationTotal,loading:s(b)?.summary},null,8,["value","loading"]),s(k)?(q(),ot(le,{key:0,feature:"scrollDepth",demo:y.demo,compact:""},null,8,["demo"])):s(t)?.hasReadDepth?(q(),ot(Bt,{key:1,label:"Scroll Depth",value:s(t)?.readDepth??void 0,unit:"%",description:"Average",loading:s(b)?.path},{icon:X(()=>[f("div",u5,[A(N4,{depth:s(t)?.readDepth??0,reach:s(t)?.reachBands??[],n:s(t)?.readN??0,width:24,height:88},null,8,["depth","reach","n"])])]),_:1},8,["value","loading"])):mt("",!0)],2),A(Et,null,{default:X(()=>[A(Rt,{title:"Attention","hide-title":!0,icon:"i-lucide-eye",data:s(t)?.list,loading:s(b).path},null,8,["data","loading"])]),_:1})]),_:1},8,["demo"]),A(Mt,{id:"events",title:"Events",locked:!s(_).customEvents,demo:y.demo,feature:"customEvents"},{default:X(()=>[A(Et,null,{default:X(()=>[A(Rt,{title:"Events","hide-title":!0,icon:"i-lucide-square-dashed-mouse-pointer",data:s(P),loading:s(b).path},null,8,["data","loading"])]),_:1})]),_:1},8,["locked","demo"]),A(Mt,{id:"campaigns",title:"Campaigns",demo:y.demo},{default:X(()=>[A(Et,null,{default:X(()=>[A(Rt,{title:"Campaigns","hide-title":!0,icon:"i-lucide-megaphone",data:s(E),loading:s(b).referrer},null,8,["data","loading"])]),_:1})]),_:1},8,["demo"])]))]),A(U4,{"raw-stats":s(w),domain:s(x),demo:y.demo,"available-features":s(_)},null,8,["raw-stats","domain","demo","available-features"]),A(F4,{data:s(Z),"is-loading":s(O),"dashboard-slug":s(x)},null,8,["data","is-loading","dashboard-slug"])]),_:1})])]),_:1}),A(K4),A(q4)]),_:1})}}}),I5=Object.assign(d5,{__name:"Dashboard"});export{I5 as _};
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.