!function(n){function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o={};r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="JkW7")}({"+ApW":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;tt)||e&&!P());){var r=N.callback;null!==r?(N.callback=null,D=N.priorityLevel,r=r(N.expirationTime<=t),t=i.unstable_now(),"function"==typeof r?N.callback=r:N===l(M)&&u(M),c(t)):u(M),N=l(M)}var o=null!==N||(null!==(o=l(T))&&m(f,o.startTime-t),!1);return o}finally{N=null,D=n,j=!1}}function d(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var h,m,y,n,r,o,g,b,A,v,x,C,w,k,B,E,S,P,O,_;Object.defineProperty(i,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel?(r=n=null,o=function(){if(null!==n)try{var e=i.unstable_now();n(!0,e),n=null}catch(e){throw setTimeout(o,0),e}},g=Date.now(),i.unstable_now=function(){return Date.now()-g},h=function(e){null!==n?setTimeout(h,0,e):(n=e,setTimeout(o,0))},m=function(e,t){r=setTimeout(e,t)},y=function(){clearTimeout(r)},P=function(){return!1},I=i.unstable_forceFrameRate=function(){}):(b=window.performance,A=window.Date,v=window.setTimeout,x=window.clearTimeout,"undefined"!=typeof console&&(O=window.cancelAnimationFrame,"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof O&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),"object"==typeof b&&"function"==typeof b.now?i.unstable_now=function(){return b.now()}:(C=A.now(),i.unstable_now=function(){return A.now()-C}),w=!1,k=null,B=-1,E=5,S=0,P=function(){return i.unstable_now()>=S},I=function(){},i.unstable_forceFrameRate=function(e){e<0||125o;)u(V,t=n[o++])||t==W||t==p||r.push(t);return r},X=function(e){for(var t,n=e===H,r=j(n?q:B(e)),o=[],i=0;r.length>i;)!u(V,t=r[i++])||n&&!u(H,t)||o.push(V[t]);return o};Y||(f((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=y(0ee;)g($[ee++]);for(var te=F(g.store),ne=0;te.length>ne;)A(te[ne++]);c(c.S+c.F*!Y,"Symbol",{for:function(e){return u(L,e+="")?L[e]:L[e]=R(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),c(c.S+c.F*!Y,"Object",{create:function(e,t){return void 0===t?P(e):o(P(e),t)},defineProperty:J,defineProperties:o,getOwnPropertyDescriptor:a,getOwnPropertyNames:h,getOwnPropertySymbols:X});X=d(function(){M.f(1)});c(c.S+c.F*X,"Object",{getOwnPropertySymbols:function(e){return M.f(k(e))}}),z&&c(c.S+c.F*(!Y||d(function(){var e=R();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;oo;)a(r,n=t[o++])&&(~u(i,n)||i.push(n));return i}},BMrJ:function(e,t,n){function u(e,t){for(var n=0;n>>1;e[o]a&&(o=n[0],n[0]=n[i],n[i]=o,a=r);return n})}}function u(e,t){return e[1][2]-t[1][2]}function p(l,r){function e(e,t){for(var n in e){var r=e[n];delete t[r.start],delete r.start,delete r.end,r.forEach(function(e){o[e<0?~e:e]=1}),i.push(r)}}var o={},u={},s={},i=[],a=-1;return r.forEach(function(e,t){var n=l.arcs[e<0?~e:e];n.length<3&&!n[1][0]&&!n[1][1]&&(n=r[++a],r[a]=e,r[t]=n)}),r.forEach(function(e){var t,n,r,o,i,a=(n=e,a=l.arcs[n<0?~n:n],o=a[0],l.transform?(r=[0,0],a.forEach(function(e){r[0]+=e[0],r[1]+=e[1]})):r=a[a.length-1],n<0?[r,o]:[o,r]),n=a[0],o=a[1];(a=s[n])?(delete s[a.end],a.push(e),a.end=o,(t=u[o])?(delete u[t.start],i=t===a?a:a.concat(t),u[i.start=a.start]=s[i.end=t.end]=i):u[a.start]=s[a.end]=a):(a=u[o])?(delete u[a.start],a.unshift(e),a.start=n,(t=s[n])?(delete s[t.end],i=t===a?a:t.concat(a),u[i.start=t.start]=s[i.end=a.end]=i):u[a.start]=s[a.end]=a):u[(a=[e]).start=n]=s[a.end=o]=a}),e(s,u),e(u,s),r.forEach(function(e){o[e<0?~e:e]||i.push([e])}),i}var y=function(){};e.mesh=function(e){return o(e,t.apply(this,arguments))},e.meshArcs=t,e.merge=function(e){return o(e,r.apply(this,arguments))},e.mergeArcs=r,e.feature=function(t,e){return"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map(function(e){return n(t,e)})}:n(t,e)},e.neighbors=function(e){function n(e,n){e.forEach(function(e){e<0&&(e=~e);var t=o[e];t?t.push(n):o[e]=[n]})}function r(e,t){e.forEach(function(e){n(e,t)})}var t,o={},i=e.map(function(){return[]}),a={LineString:n,MultiLineString:r,Polygon:r,MultiPolygon:function(e,t){e.forEach(function(e){r(e,t)})}};for(t in e.forEach(function t(e,n){"GeometryCollection"===e.type?e.geometries.forEach(function(e){t(e,n)}):e.type in a&&a[e.type](e.arcs,n)}),o)for(var l=o[t],u=l.length,s=0;s>1)-1,r=a[n];if(0<=u(e,r))break;a[r._=t]=r,a[e._=t=n]=e}}function o(e,t){for(;;){var n=t+1<<1,r=n-1,o=t,i=a[o];if(rn.osVersion&&(n.browserVersion=n.osVersion),"android"===n.browserName&&n.chrome&&37>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=Io.exec(e))?G(parseInt(t[1],16)):(t=Wo.exec(e))?new H(t[1],t[2],t[3],1):(t=Uo.exec(e))?new H(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Go.exec(e))?L(t[1],t[2],t[3],t[4]):(t=Lo.exec(e))?L(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Vo.exec(e))?Y(t[1],t[2]/100,t[3]/100,1):(t=qo.exec(e))?Y(t[1],t[2]/100,t[3]/100,t[4]):Ho.hasOwnProperty(e)?G(Ho[e]):"transparent"===e?new H(NaN,NaN,NaN,0):null}function G(e){return new H(e>>16&255,e>>8&255,255&e,1)}function L(e,t,n,r){return r<=0&&(e=t=n=NaN),new H(e,t,n,r)}function V(e){return e instanceof W||(e=U(e)),e?new H((e=e.rgb()).r,e.g,e.b,e.opacity):new H}function q(e,t,n,r){return 1===arguments.length?V(e):new H(e,t,n,null==r?1:r)}function H(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Y(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||1<=n?e=t=NaN:t<=0&&(e=NaN),new K(e,t,n,r)}function X(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof K)return new K(e.h,e.s,e.l,e.opacity);if(e instanceof W||(e=U(e)),!e)return new K;if(e instanceof K)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,u=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(nn._time&&(r=n._time),(e=n)._next):(t=n._next,n._next=null,e?e._next=t:yi=t);gi=e,ve(r)}(),Di=0}}function Ae(){var e=Ri.now(),t=e-Ni;Fiqi)throw new Error("too late; already scheduled");return t}function Ce(e,t){t=we(e,t);if(t.state>Hi)throw new Error("too late; already started");return t}function we(e,t){e=e.__transition;if(!e||!(e=e[t]))throw new Error("transition not found");return e}function ke(i,a,l){function u(e){var t,n,r,o;if(1!==l.state)return c();for(t in p)if(o=p[t],o.name===l.name){if(3===o.state)return Ii(u);4===o.state?(o.state=6,o.timer.stop(),o.on.call("interrupt",i,i.__data__,o.index,o.group),delete p[t]):+t=(i=(m+g)/2))?m=i:g=i,(c=n>=(a=(y+b)/2))?y=a:b=a,!(d=(o=d)[f=c<<1|s]))return o[f]=h,e;if(l=+e._x.call(null,d.data),u=+e._y.call(null,d.data),t===l&&n===u)return h.next=d,o?o[f]=h:e._root=h,e;for(;o=o?o[f]=new Array(4):e._root=new Array(4),(s=t>=(i=(m+g)/2))?m=i:g=i,(c=n>=(a=(y+b)/2))?y=a:b=a,(f=c<<1|s)==(p=(a<=u)<<1|i<=l););return o[p]=d,o[f]=h,e}function je(e,t,n,r,o,i){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=o,this._y1=i,this._root=void 0}function Re(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}function ze(e){return new Ie(e)}function Ie(e){if(!(u=ca.exec(e)))throw new Error("invalid format: "+e);var t=u[1]||" ",n=u[2]||">",r=u[3]||"-",o=u[4]||"",i=!!u[5],a=u[6]&&+u[6],l=!!u[7],e=u[8]&&+u[8].slice(1),u=u[9]||"";"n"===u?(l=!0,u="g"):sa[u]||(u=""),(i||"0"===t&&"="===n)&&(i=!0,t="0",n="="),this.fill=t,this.align=n,this.sign=r,this.symbol=o,this.zero=i,this.width=a,this.comma=l,this.precision=e,this.type=u}function We(){this.reset()}function Ue(e,t,n){var r=e.s=t+n,o=r-t,r=r-o;e.t=t-r+(n-o)}function Ge(e){return 1h){c-=l;break}h=d}g.push(a={value:c,dice:uzu&&0<--o;);return t/2}function Vr(n,r,o){function e(e,t){return[n*e*Fu(t=Lr(o,t)),r*ju(t)]}return e.invert=function(e,t){return t=Ur(t/r),[e/(n*Fu(t)),Ur((2*t+ju(2*t))/o)]},e}function qr(e,t){return[e,1.25*Du(Ru(Uu+.4*t))]}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});function Yr(e,t){return e>>1;i(e[o],t)<0?n=1+o:r=o}return n},right:function(e,t,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n>>1;0l&&(o=r.slice(l,o),s[u]?s[u]+=o:s[++u]=o),(t=t[0])===(n=n[0])?s[u]?s[u]+=n:s[++u]=n:(s[++u]=null,c.push({i:u,x:vi(t,n)})),l=Ci.lastIndex;return lHi&&n.state<5,n.state=6,n.timer.stop(),r&&n.on.call("interrupt",e,e.__data__,n.index,n.group),delete i[o]):a=!1;a&&delete e.__transition}}function Gi(e,t){var n;return("number"==typeof t?vi:t instanceof U?Ai:(n=U(t))?(t=n,Ai):si)(e,t)}var Li=xo("start","end","interrupt"),Vi=[],qi=0,Hi=2,Yi=_o.prototype.constructor,Xi=0,Xr=_o.prototype;Ee.prototype={constructor:Ee,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=bo(e));for(var r=this._groups,o=r.length,i=new Array(o),a=0;a=i?u=!0:10===(t=r.charCodeAt(a++))?s=!0:13===t&&(s=!0,10===r.charCodeAt(a)&&++a),r.slice(n+1,e-1).replace(/""/g,'"')}for(;ad||(o=s.y0)>h||(i=s.x1)=(s=(d+m)/2))?d=s:m=s,(s=a>=(l=(h+y)/2))?h=l:y=l,!(p=(t=p)[c=s<<1|u]))return this;if(!p.length)break;(t[c+1&3]||t[c+2&3]||t[c+3&3])&&(n=t,f=c)}for(;p.data!==e;)if(!(p=(r=p).next))return this;return(o=p.next)&&delete p.next,r?o?r.next=o:delete r.next:t?(o?t[c]=o:delete t[c],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[f]=p:this._root=p)):this._root=o,this},Qr.removeAll=function(e){for(var t=0,n=e.length;tt+1?e.slice(0,t+1)+"."+e.slice(t+1):e+new Array(t-e.length+2).join("0")):e+""}var la,ua=(Math.PI,Math.sqrt(5),function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,t=e.slice(0,n);return[1=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;ze.prototype=Ie.prototype,Ie.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};function fa(e){return e}var pa,da,ha=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];Ro=function(e){function i(e){function t(e){var t,n,r,o=g,i=b;if("c"===y)i=A(e)+i,e="";else{var a=(e=+e)<0;if(e=A(Math.abs(e),m),a&&0==+e&&(a=!1),o=(a?"("===f?f:"-":"-"===f||"("===f?"":f)+o,i=("s"===y?ha[8+la/3]:"")+i+(a&&"("===f?")":""),v)for(t=-1,n=e.length;++t>1)+o+e+i+u.slice(l);break;default:e=u+o+e+i}return w(e)}var s=(e=ze(e)).fill,c=e.align,f=e.sign,n=e.symbol,p=e.zero,d=e.width,h=e.comma,m=e.precision,y=e.type,g="$"===n?r[0]:"#"===n&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",b="$"===n?r[1]:/[%p]/.test(y)?o:"",A=sa[y],v=!y||/[defgprs%]/.test(y),m=null==m?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m));return t.toString=function(){return e+""},t}var t,l,u,x=e.grouping&&e.thousands?(l=e.grouping,u=e.thousands,function(e,t){for(var n=e.length,r=[],o=0,i=l[0],a=0;0t));)i=l[o=(o+1)%l.length];return r.reverse().join(u)}):fa,r=e.currency,C=e.decimal,w=e.numerals?(t=e.numerals,function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}):fa,o=e.percent||"%";return{format:i,formatPrefix:function(e,t){var n=i(((e=ze(e)).type="f",e)),t=3*Math.max(-8,Math.min(8,Math.floor(ia(t)/3))),r=Math.pow(10,-t),o=ha[8+t/3];return function(e){return n(r*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),pa=Ro.format,da=Ro.formatPrefix;Qr=function(){return new We};We.prototype={constructor:We,reset:function(){this.s=this.t=0},add:function(e){Ue(ma,e,this.t),Ue(this,ma.s,this.s),this.s?this.t+=ma.t:this.s=ma.t},valueOf:function(){return this.s}};var ma=new We,ya=1e-6,ga=Math.PI,ba=ga/2,Aa=ga/4,va=2*ga,xa=180/ga,Ca=ga/180,wa=Math.abs,ka=Math.atan,Ba=Math.atan2,Ea=Math.cos,Sa=(Math.ceil,Math.exp,Math.floor,Math.log,Math.pow,Math.sin),Pa=(Math.sign,Math.sqrt),Oa=(Math.tan,{Feature:function(e,t){qe(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++rya?ka((Sa(r)*(u=Ea(i))*Sa(o)-Sa(i)*(o=Ea(r))*Sa(n))/(o*u*a)):(r+i)/2,s.point(d,p),s.lineEnd(),s.lineStart(),s.point(l,p),c=0),s.point(f=e,p=t),d=l},lineEnd:function(){s.lineEnd(),f=p=NaN},clean:function(){return 2-c}}},function(e,t,n,r){var o;null==e?(o=n*ba,r.point(-ga,o),r.point(0,o),r.point(ga,o),r.point(ga,0),r.point(ga,-o),r.point(0,-o),r.point(-ga,-o),r.point(-ga,0),r.point(-ga,o)):wa(e[0]-t[0])>ya?(o=n*(e=e[0]m}function d(e,t,n){var r=[1,0,0],o=Ze(Ke(e),Ke(t)),i=Qe(o,o),a=o[0],l=i-a*a;if(!l)return!n&&e;var u=m*i/l,s=-m*a/l,c=Ze(r,o),f=$e(r,u);Je(f,$e(o,s));i=c,a=Qe(f,i),l=Qe(i,i),r=a*a-l*(Qe(f,f)-1);if(!(r<0)){u=Pa(r),o=$e(i,(-a-u)/l);if(Je(o,f),o=Xe(o),!n)return o;var p,s=e[0],c=t[0],r=e[1],n=t[1];cya;return Na(p,function(a){var l,u,s,c,f;return{lineStart:function(){c=s=!1,f=1},point:function(e,t){var n,r,o=[e,t],i=p(e,t),t=y?i?0:h(e,t):i?h(e+(e<0?ga:-ga),t):0;!l&&(c=s=i)&&a.lineStart(),i===s||(n=d(l,o))&&!Fa(l,n)&&!Fa(o,n)||(o[0]+=ya,o[1]+=ya,i=p(o[0],o[1])),i!==s?(f=0,i?(a.lineStart(),n=d(o,l),a.point(n[0],n[1])):(n=d(l,o),a.point(n[0],n[1]),a.lineEnd()),l=n):g&&l&&y^i&&(t&u||!(r=d(o,l,!0))||(f=0,y?(a.lineStart(),a.point(r[0][0],r[0][1]),a.point(r[1][0],r[1][1]),a.lineEnd()):(a.point(r[1][0],r[1][1]),a.lineEnd(),a.lineStart(),a.point(r[0][0],r[0][1])))),!i||l&&Fa(l,o)||a.point(o[0],o[1]),l=o,s=i,u=t},lineEnd:function(){s&&a.lineEnd(),l=null},clean:function(){return f|(c&&s)<<1}}},function(e,t,n,r){!function(e,t,n,r,o,i){if(n){var a=Ea(t),l=Sa(t),u=r*n;null==o?(o=t+r*va,i=t-u/2):(o=it(a,o),i=it(a,i),(0
'+(t+1)+'
'}).style("width",i-30+"px").style("height",i-30+"px").style("opacity",0).style("top",function(e,t){return(t-t%a)/a*(i+o)+15+"px"}).style("left",function(e,t){return t%a*(i+o)+15+"px"}).style("background-color",function(e,t){return n.colors[t%(r<=800?2:3)]}).transition().ease(Se).duration(700).style("width",i+"px").style("height",i+"px").style("top",function(e,t){return(t-t%a)/a*(i+o)+"px"}).style("left",function(e,t){return t%a*(i+o)+"px"}).style("opacity",1),e.style("visibility",function(e,t){return"visible"}).html(function(e,t){return'
'+(t+1)+'
'}).transition().ease(Se).duration(700).style("background-color",function(e,t){return n.colors[t%(r<=800?2:3)]}).style("top",function(e,t){return(t-t%a)/a*(i+o)+"px"}).style("left",function(e,t){return t%a*(i+o)+"px"}),e.exit().remove()}},{key:"createData",value:function(e){var t,n=[];for(t in e)n.push({name:this.names2[t],val:e[t]});return n.sort(function(e,t){return t.val-e.val}),n.slice(0,10)}},{key:"render",value:function(){var e=this.state.wd<1350?this.state.wd:1350,t=this.state.wd<=800?10:25,e=this.state.wd<=800?(e-t)/2:(e-4*t)/5,t={width:(this.state.wd<=800?3*e+2*t:5*e+4*t)+"px",height:(this.state.wd<=800?5*e+4*t:2*e+t)+"px"};return Kr.a.createElement("div",{className:"pm-graph2-div",style:t})}}]),qu),t=function(e,t,n){return t&&Vu(e.prototype,t),n&&Vu(e,n),e},_u=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Lu,Kr.a.Component),t(Lu,[{key:"componentDidMount",value:function(){}},{key:"update",value:function(e){this.setState({country:e})}},{key:"render",value:function(){var e=this.props.header,t=Object.keys(this.props.data),t=(Object.keys(this.props.data),t[0],t);return Kr.a.createElement("div",{id:"pm-graph2",className:"pm-graph"},Kr.a.createElement("div",{id:"pm-controls2"},Kr.a.createElement("div",{id:"pm-label2",className:"pm-label"},e),Kr.a.createElement(Su,{className:"customSelect",data:t,update:this.update})),Kr.a.createElement(Ou,{data:this.props.data,country:this.state.country}))}}]),Lu),Mu=Math.abs,Tu=Math.atan,Fu=(Math.atan2,Math.ceil,Math.cos),Nu=Math.exp,Du=(Math.floor,Math.log),ju=(Math.max,Math.min,Math.pow,Math.round,Math.sign,Math.sin),Ru=Math.tan,zu=1e-6,Iu=Math.PI,Wu=Iu/2,Uu=Iu/4,Gu=(Math.SQRT1_2,Gr(2)),Jr=(Gr(Iu),Iu/180);function Lu(e){!function(e){if(!(e instanceof Lu))throw new TypeError("Cannot call a class as a function")}(this);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Lu.__proto__||Object.getPrototypeOf(Lu)).call(this,e));return t.dt=Object.keys(e.data),t.state={country:t.dt[0]},Wr(t,"update"),t}function Vu(e,t){for(var n=0;nzu||Mu(p)>zu)&&0<--o));return[n,r]},e};t(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),t(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),t(5/6*Iu,-.62636,-.0344,0,1.3493,-.05524,0,.045),t(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);Ur(1-1/3),Fu(0);qr.invert=function(e,t){return[e,2.5*Tu(Nu(.8*t))-.625*Iu]};Gr(6),Gr(7);var $u=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],es=([[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(e){return e.map(function(e){return $u[e]})}),Gr(3),[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]]);es.forEach(function(e){e[1]*=1.0144});Jr=4*Iu+3*Gr(3),t=2*Gr(2*Iu*Gr(3)/Jr);Vr(t*Gr(3)/Iu,t,Jr/6);var Jr=(n("Fp1v"),n("E/fr"),n("olYX")),ts=n.n(Jr),Jr=function(e,t,n){return t&&Os(e.prototype,t),n&&Os(e,n),e},ns=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Ps,Kr.a.Component),Jr(Ps,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize),this.createChart()}},{key:"handleResize",value:function(){window.innerWidth!=this.state.wd&&(this.setState({wd:window.innerWidth}),Mo(".mp-graph3-svg").selectAll("*").remove(),this.createChart())}},{key:"createChart",value:function(){function e(e){var t=1,n=[0,0];i.zoom=e,Mo(".mp-map-controls").style("display",0==e?"block":"none").style("opacity",0).transition().ease(Se).duration(900).style("opacity",0==e?1:0);var r=0,o=0;1==e&&(r=80,o=55),2==e&&(r=29,o=35),3==e&&(r=30,o=55),Mo("#mp-mbout").style("display",0==e?"none":"block").style("left",r+"%").style("top",o+"%").style("opacity",0).transition().ease(Se).duration(900).style("opacity",0==e?0:1),1==e&&(n=[a/2-(t=4)*(a/1.3),l/2-t*l/1.8]),2==e&&(n=[a/2-(t=3)*(a/1.9),l/2-t*l/3.2]),3==e&&(n=[a/(t=2)-t*(a/3.3),l/2-t*l/1.6]),i.svg.transition().ease(Se).duration(900).call(f.transform,Bu.translate(n[0],n[1]).scale(t)),i.setState({zoom:0==e?1:2}),i.svg.selectAll("path").attr("stroke-width",.5)}var i=this,a=this.getWd(),l=500;this.zoom=0,Mo(".mp-mapcontainer").on("click",function(){0!=i.zoom&&e(0)}),Mo(".mp-map-controls").style("display",0==i.zoom?"block":"none").style("opacity",1),Mo("#mp-mb1").on("click",function(){Po.stopPropagation(),e(1)}),Mo("#mp-mb2").on("click",function(){Po.stopPropagation(),e(2)}),Mo("#mp-mb3").on("click",function(){Po.stopPropagation(),e(3)}),this.svg=Mo(".mp-graph3-svg").append("g").attr("class","map");var t,n,r,o,u,s=Ft(qr).scale(108.318);function c(e){return e&&("function"==typeof u&&o.pointRadius(+u.apply(this,arguments)),Ma(e,r(o))),o.result()}s.fitExtent([[0,0],[a,500]],ts.a),this.path=(u=4.5,c.area=function(e){return Ma(e,r(tl)),tl.result()},c.measure=function(e){return Ma(e,r(Bl)),Bl.result()},c.bounds=function(e){return Ma(e,r(al)),al.result()},c.centroid=function(e){return Ma(e,r(gl)),gl.result()},c.projection=function(e){return arguments.length?(r=null==e?(t=null,Za):(t=e).stream,c):t},c.context=function(e){return arguments.length?(o=null==e?(n=null,new St):new kt(n=e),"function"!=typeof u&&o.pointRadius(u),c):n},c.pointRadius=function(e){return arguments.length?(u="function"==typeof e?e:(o.pointRadius(+e),+e),c):u},c.projection(t).context(n).projection(s));var f=ku().scaleExtent([1,8]).on("zoom",function(){i.svg.attr("transform",Po.transform)});this.redrawGraph()}},{key:"getMaxMin",value:function(e){return 3==e?{max:100,min:52}:2==e?{max:51,min:45}:1==e?{max:44,min:34}:0==e?{max:33,min:-1}:void 0}},{key:"componentDidUpdate",value:function(){this.redrawGraph()}},{key:"redrawGraph",value:function(){this.drawGraph()}},{key:"drawGraph",value:function(){var r=this,e=this.svg.selectAll("path").data(ts.a.features);e.enter().append("path").attr("d",r.path).attr("class","mp-country").style("opacity",1).style("fill",function(e){var t=e.properties.name.toUpperCase();"ENGLAND"==t&&(t="UK");t=r.props.data[t];return r.isActive(e.properties.name.toUpperCase())?r.colors[r.getColor(t)]:t?"#bbb":"#dedede"}).style("cursor",function(e){e=e.properties.name.toUpperCase();return"ENGLAND"==e&&(e="UK"),r.props.data[e]?"pointer":"auto"}).on("mouseover",function(e){var t,n=e.properties.name.toUpperCase();"ENGLAND"==n&&(n="UK"),r.props.data[n]&&(Mo(this).transition().ease(Se).duration(300).style("fill",function(e){e=e.properties.name.toUpperCase();"ENGLAND"==e&&(e="UK");e=r.props.data[e];return r.colors[r.getColor(e)]}).style("opacity",.75),t=r.props.data[n],e=r.colors[r.getColor(t)],t=Math.round(t)+"%",parseFloat(Mo("#powerman3-app-root").style("margin-top")),document.getElementById("powerman3-app-root").offsetLeft,r.tooltip.style("background",e).style("color","white").transition().duration(300).style("opacity",.9),r.tooltip.html(n+", "+t+"").style("left",Po.pageX+5+"px").style("top",function(e){return Po.pageY-28-5+"px"}))}).on("mouseout",function(e){e=e.properties.name.toUpperCase();"ENGLAND"==e&&(e="UK"),r.props.data[e]&&(Mo(this).transition().ease(Se).duration(300).style("fill",function(e){var t=e.properties.name.toUpperCase();"ENGLAND"==t&&(t="UK");t=r.props.data[t];return r.isActive(e.properties.name.toUpperCase())?r.colors[r.getColor(t)]:t?"#bbb":"#dedede"}).style("opacity",1),r.tooltip.transition().duration(0).style("opacity",0))}).on("mousemove",function(e){e=e.properties.name.toUpperCase();"ENGLAND"==e&&(e="UK");e=r.props.data[e];parseFloat(Mo("#powerman3-app-root").style("margin-top")),document.getElementById("powerman3-app-root").offsetLeft,e&&r.tooltip.style("left",Po.pageX+5+"px").style("top",function(e){return Po.pageY-28-5+"px"})}),e.style("cursor",function(e){e=e.properties.name.toUpperCase();return"ENGLAND"==e&&(e="UK"),r.props.data[e]?"pointer":"auto"}).transition().ease(Se).duration(900).style("fill",function(e){var t=e.properties.name.toUpperCase();"ENGLAND"==t&&(t="UK");t=r.props.data[t];return r.isActive(e.properties.name.toUpperCase())?r.colors[r.getColor(t)]:t?"#bbb":"#dedede"})}},{key:"getColor",value:function(e){return 51=e.min}},{key:"getWd",value:function(){return document.getElementById("powerman3-app-root").offsetWidth-200}},{key:"render",value:function(){var e=this.getWd(),t={width:e,height:e,top:(500-e)/2},n=1==this.state.zoom?"Click on the zoom icon to zoom into the map":"Click on the map to zoom out",r="https://go.manpowergroup.com/hubfs/infographic-assets-2020/";return Kr.a.createElement("div",{className:"mp-supermap"},Kr.a.createElement("div",{className:"mp-maplabel"},n),Kr.a.createElement("div",{className:"mp-mapcontainer"},Kr.a.createElement("svg",{className:"mp-graph3-svg",width:e,height:"500"}),Kr.a.createElement("div",{className:"mp-map-controls",style:t},Kr.a.createElement("img",{className:"mp-map-button",id:"mp-mb1",src:r+"zoom.svg"}),Kr.a.createElement("img",{className:"mp-map-button",id:"mp-mb2",src:r+"zoom.svg"}),Kr.a.createElement("img",{className:"mp-map-button",id:"mp-mb3",src:r+"zoom.svg"})),Kr.a.createElement("img",{className:"mp-map-button",id:"mp-mbout",src:r+"zoomout.svg"})))}}]),Ps),Jr=function(e,t,n){return t&&Ss(e.prototype,t),n&&Ss(e,n),e},rs=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Es,Kr.a.Component),Jr(Es,[{key:"getIntervalId",value:function(e){return 51=n[t]&&e.valn[t]-5&&(r="antioverlapDown"),''+(0==e.val?"":e.val+"%")+""}),e.transition().ease(Se).duration(900).style("height",function(e){return n*(e.val/100)+"px"}),e.html(function(e,t){var n=[32,45,56,67],r="";return e.val>=n[t]&&e.valn[t]-5&&(r="antioverlapDown"),''+(0==e.val?"":e.val+"%")+""})}},{key:"render",value:function(){var e=this.state.wd<=800?this.state.wd:this.state.wd<1180?this.state.wd-320:860,t={width:e+"px",height:(this.state.wd<=800?270:550)+"px"},n={width:e+"px"},r={width:(e-3*(this.state.wd<=800?10:this.state.wd<=1200?30:70))/4+"px"},o=["MICRO","SMALL","MEDIUM","LARGE"],e=["<10","10-49","50-250","250+"];return Kr.a.createElement("div",null,Kr.a.createElement("div",{className:"pm-graph4-div",style:t}),Kr.a.createElement("div",{className:"pm-legend",style:n},Kr.a.createElement("div",{className:"pm-legend-line0"},Kr.a.createElement("div",{className:"pm-legend-text",style:r},Kr.a.createElement("span",null,o[0]),Kr.a.createElement("br",null),Kr.a.createElement("span",{className:"pm-legendboldspan"},e[0])),Kr.a.createElement("div",{className:"pm-legend-text",style:r},Kr.a.createElement("span",null,o[1]),Kr.a.createElement("br",null),Kr.a.createElement("span",{className:"pm-legendboldspan"},e[1])),Kr.a.createElement("div",{className:"pm-legend-text",style:r},Kr.a.createElement("span",null,o[2]),Kr.a.createElement("br",null),Kr.a.createElement("span",{className:"pm-legendboldspan"},e[2])),Kr.a.createElement("div",{className:"pm-legend-text",style:r},Kr.a.createElement("span",null,o[3]),Kr.a.createElement("br",null),Kr.a.createElement("span",{className:"pm-legendboldspan"},e[3])))))}}]),Cs),Jr=function(e,t,n){return t&&xs(e.prototype,t),n&&xs(e,n),e},ls=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(vs,Kr.a.Component),Jr(vs,[{key:"update",value:function(e){this.setState({country:e})}},{key:"render",value:function(){var e=this.props.header,t=Object.keys(this.props.data),t=(t[0],t.splice(1));return Kr.a.createElement("div",{id:"pm-graph4",className:"pm-graph"},Kr.a.createElement("div",{id:"pm-controls4"},Kr.a.createElement("div",{id:"pm-label4-1",className:"pm-label"},"GLOBAL"),Kr.a.createElement("div",{id:"pm-label4legend"}),Kr.a.createElement("div",{id:"pm-label4-2",className:"pm-label"},e),Kr.a.createElement(Su,{className:"customSelect",data:t,update:this.update})),Kr.a.createElement(as,{data:this.props.data,country:this.state.country}))}}]),vs),Jr=function(e,t,n){return t&&As(e.prototype,t),n&&As(e,n),e},us=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(bs,Kr.a.Component),Jr(bs,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize),this.createChart()}},{key:"handleResize",value:function(){window.innerWidth!=this.state.wd&&(this.setState({wd:window.innerWidth}),Mo(".pm-graph5-div").selectAll("*").remove(),this.createChart())}},{key:"createChart",value:function(){this.g=Mo(".pm-graph5-div"),this.createAxis(),this.redrawGraph()}},{key:"componentDidUpdate",value:function(){this.redrawGraph()}},{key:"createData",value:function(n){var r=[],o=0;return n.forEach(function(e,t){t'+e.val+"%"}).on("mouseover",function(e){n.hoverEffect(e.name,!0)}).on("mouseout",function(e){n.hoverEffect(e.name,!1)})}},{key:"hoverEffect",value:function(e,t){Mo("#pm-globalbars"+e).classed("pm-globalbarsSelected",t),Mo("#pm-countrybars"+e).classed("pm-countrybarsSelected",t),Mo("#pm-legend5Btn"+e).select(".pm-legend5BtnText").style("color",t?this.colors[e]:"#494a4f"),Mo("#pm-legend5Btn"+e).select(".pm-legend5BtnText").classed("pm-legend5BtnSelected",t),Mo("#pm-legend5Btn"+e).select(".pm-legend5BtnColorContent").classed("pm-legend5BtnColorSelected",t)}},{key:"redrawGraph",value:function(){var e=this.createData(this.props.data[this.props.country]);this.drawGraph(e)}},{key:"drawGraph",value:function(e){var n=this,e=this.g.select(".pm-countrybar").selectAll(".pm-countrybars").data(e);e.enter().append("div").attr("class","pm-countrybars").attr("id",function(e,t){return"pm-countrybars"+t}).style("width",function(e){return(800'+e.val+"%"}).on("mouseover",function(e){n.hoverEffect(e.name,!0)}).on("mouseout",function(e){n.hoverEffect(e.name,!1)}),e.transition().ease(Se).duration(900).style("width",function(e){return(800'+e.val+"%"})}},{key:"handleOver",value:function(e){e=Mo(e.target).select(".pm-legend5BtnText").text();this.hoverEffect(this.texts.indexOf(e),!0)}},{key:"handleOut",value:function(e){e=Mo(e.target).select(".pm-legend5BtnText").text();this.hoverEffect(this.texts.indexOf(e),!1)}},{key:"render",value:function(){var n=this;return Kr.a.createElement("div",{style:{width:"100%"}},Kr.a.createElement("div",{className:"pm-graph5-div"}),Kr.a.createElement("div",{className:"pm-legend5"},Kr.a.createElement("div",{className:"pm-legend5Header"},"Colour key"),Kr.a.createElement("div",{className:"pm-legend5Btns"},this.colors.map(function(e,t){return Kr.a.createElement("div",{key:t,className:"pm-legend5Btn",id:"pm-legend5Btn"+t,onMouseOver:n.handleOver,onMouseOut:n.handleOut},Kr.a.createElement("div",{className:"pm-legend5BtnColor"},Kr.a.createElement("div",{className:"pm-legend5BtnColorContent",style:{backgroundColor:n.colors[t]}})),Kr.a.createElement("div",{className:"pm-legend5BtnText"},n.texts[t]))}))))}}]),bs),Jr=function(e,t,n){return t&&gs(e.prototype,t),n&&gs(e,n),e},ss=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(ys,Kr.a.Component),Jr(ys,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize),this.createChart()}},{key:"handleResize",value:function(){document.getElementById("powerman5-app-root").offsetWidth!=this.state.wd&&(this.setState({wd:document.getElementById("powerman5-app-root").offsetWidth}),Mo(".pm-graph5-2-div").selectAll("*").remove(),this.createChart())}},{key:"createChart",value:function(){this.g=Mo(".pm-graph5-2-div"),this.redrawGraph()}},{key:"componentDidUpdate",value:function(){this.redrawGraph()}},{key:"createData",value:function(e){var n=[];return e.forEach(function(e,t){t<=7&&n.push({name:t,val:e})}),n}},{key:"redrawGraph",value:function(){var e=this.createData(this.props.data[this.props.country]);this.drawGraph(e)}},{key:"drawGraph",value:function(e){var n=this,r=this,e=((this.state.wd<=800||this.state.wd<1180)&&this.state.wd,this.state.wd,this.g.selectAll(".pm-whitebar2").data(e));e.enter().append("div").attr("class","pm-whitebar2").style("width",function(e){return e.val+"%"}).style("height","50px").style("background-color",function(e,t){return r.colors[t]}).style("margin-bottom",function(e,t){return 3==t||4==t?"45px":"30px"}).html(function(e,t){return''+(0==e.val?"":e.val+"%")+'
'+n.texts[t]+"
"}),e.transition().ease(Se).duration(900).style("width",function(e){return e.val+"%"}),e.html(function(e,t){return''+(0==e.val?"":e.val+"%")+'
'+n.texts[t]+"
"})}},{key:"render",value:function(){return Kr.a.createElement("div",null,Kr.a.createElement("div",{className:"pm-graph5-2-div"}))}}]),ys),Jr=function(e,t,n){return t&&ms(e.prototype,t),n&&ms(e,n),e},cs=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(hs,Kr.a.Component),Jr(hs,[{key:"update",value:function(e){this.setState({country:e})}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"handleResize",value:function(){var e=document.getElementById("powerman5-app-root").offsetWidth;e!=this.state.wd&&this.setState({wd:e})}},{key:"render",value:function(){var e=this.state.wd<=800,t=e?"Explore by country":this.props.header,n=Object.keys(this.props.data),n=(n[0],n.splice(1));return Kr.a.createElement("div",{id:"pm-graph5",className:"pm-graph"},e?Kr.a.createElement("div",null,Kr.a.createElement("div",{id:"pm-controls5"},Kr.a.createElement("div",{id:"pm-label5-2",className:"pm-label"},t),Kr.a.createElement(Su,{className:"customSelect",data:n,update:this.update})),Kr.a.createElement(ss,{data:this.props.data,country:this.state.country})):Kr.a.createElement("div",{id:"pm-graph5-container"},Kr.a.createElement("div",{id:"pm-controls5"},Kr.a.createElement("div",{id:"pm-label5-1",className:"pm-label"},"GLOBAL"),Kr.a.createElement("div",{id:"pm-label5-2",className:"pm-label"},t),Kr.a.createElement(Su,{wd:200,className:"customSelect",data:n,update:this.update})),Kr.a.createElement(us,{data:this.props.data,country:this.state.country})))}}]),hs),Jr=function(e,t,n){return t&&ds(e.prototype,t),n&&ds(e,n),e},fs=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(ps,Kr.a.Component),Jr(ps,[{key:"getGraph",value:function(e,t){return 1===e?Kr.a.createElement(Pu,t.graph1):2===e?Kr.a.createElement(_u,t.graph2):3===e?Kr.a.createElement(is,t.graph3):4===e?Kr.a.createElement(ls,t.graph4):5===e?Kr.a.createElement(cs,t.graph5):Kr.a.createElement(Pu,t.graph1)}},{key:"render",value:function(){var e=this.props.data,t=this.props.idtype,e=this.getGraph(t,e);return Kr.a.createElement($r.a,null,Kr.a.createElement("div",{className:"pm-container"},e))}}]),ps);function ps(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ps),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(ps.__proto__||Object.getPrototypeOf(ps)).call(this,e))}function ds(e,t){for(var n=0;nthan offered","Applicants expecting better
benefits than offered","An issue specific to my organisation","Other/ don’t know"],t}function gs(e,t){for(var n=0;n=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},Ocr3:function(e,t){t.f=Object.getOwnPropertySymbols},P8NW:function(e,t){function r(e,t){for(var n=0;n=l?x:v).text.primary}function t(e){var t=1document.F=Object<\/script>"),e.close(),u=e.F;t--;)delete u.prototype[a[t]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(r.prototype=o(e),n=new r,r.prototype=null,n[l]=e):n=u(),void 0===t?n:i(n,t)}},TUng:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){for(var i=0,a=e.length;it.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n)return n.renderer.element;if(n=function(e,t){for(var n=e.length-1;0<=n;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))return n.renderer.element.nextElementSibling}n=e.insertionPoint;if(n&&"string"==typeof n){e=function(e){for(var t=A(),n=0;n=this._browserInfo.browserVersion&&(this._requiresPrefix[r]=!0);this._hasPropsRequiringPrefix=0=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(e){e=this.registry.indexOf(e);this.registry.splice(e,1)}},{key:"toString",value:function(t){return this.registry.filter(function(e){return e.attached}).map(function(e){return e.toString(t)}).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),o);function o(){(function(e){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")})(this),this.registry=[]}function i(e,t){for(var n=0;n=e.length?{value:void 0,done:!0}:(t=r(e,t),this._i+=t.length,{value:t,done:!1})})},i17t:function(e,t,n){"use strict";function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n=t&&(tu=!0),e.firstContext=null)}function jt(e,t){if(vl!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(vl=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Al){if(null===bl)throw Error(P(308));Al=t,bl.dependencies={expirationTime:0,firstContext:t,responders:null}}else Al=Al.next=t;return e._currentValue}function Rt(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function zt(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function It(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Wt(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Ut(e,t){var n,r,o=e.alternate;null===o?(r=null)===(n=e.updateQueue)&&(n=e.updateQueue=Rt(e.memoizedState)):(n=e.updateQueue,r=o.updateQueue,null===n?null===r?(n=e.updateQueue=Rt(e.memoizedState),r=o.updateQueue=Rt(o.memoizedState)):n=e.updateQueue=zt(r):null===r&&(r=o.updateQueue=zt(n))),null===r||n===r?Wt(n,t):null===n.lastUpdate||null===r.lastUpdate?(Wt(n,t),Wt(r,t)):(Wt(n,t),r.lastUpdate=t)}function Gt(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Rt(e.memoizedState):Lt(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Lt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=zt(t)),t}function Vt(e,t,n,r,o,i){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(i,r,o):e;case 3:e.effectTag=-4097&e.effectTag|64;case 0:if(null===(o="function"==typeof(e=n.payload)?e.call(i,r,o):e)||void 0===o)break;return no({},r,o);case 2:xl=!0}return r}function qt(e,t,n,r,o){xl=!1;for(var i=(t=Lt(e,t)).baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;cl?(u=a,a=null):u=a.sibling;var s=g(t,a,n[l],r);if(null===s){null===a&&(a=u);break}f&&a&&null===s.alternate&&p(t,a),e=m(s,e,l),null===i?o=s:i.sibling=s,i=s,a=u}if(l===n.length)return d(t,a),o;if(null===a){for(;ll?(u=a,a=null):u=a.sibling;var c=g(t,a,s.value,r);if(null===c){null===a&&(a=u);break}f&&a&&null===c.alternate&&p(t,a),e=m(c,e,l),null===i?o=c:i.sibling=c,i=c,a=u}if(s.done)return d(t,a),o;if(null===a){for(;!s.done;l++,s=n.next())null!==(s=y(t,s.value,r))&&(e=m(s,e,l),null===i?o=s:i.sibling=s,i=s);return o}for(a=h(t,a);!s.done;l++,s=n.next())null!==(s=b(a,t,l,s.value,r))&&(f&&null!==s.alternate&&a.delete(null===s.key?l:s.key),e=m(s,e,l),null===i?o=s:i.sibling=s,i=s);return f&&a.forEach(function(e){return p(t,e)}),o}(e,t,n,r);if(i&&en(e,n),void 0===n&&!o)switch(e.tag){case 1:case 0:throw e=e.type,Error(P(152,e.displayName||e.name||"Component"))}return d(e,t)}}function nn(e){if(e===Pl)throw Error(P(174));return e}function rn(e,t){dt(Ml,t),dt(_l,e),dt(Ol,Pl);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:V(null,"");break;default:t=V(t=(n=8===n?t.parentNode:t).namespaceURI||null,n.tagName)}pt(Ol),dt(Ol,t)}function on(){pt(Ol),pt(_l),pt(Ml)}function an(e){nn(Ml.current);var t=nn(Ol.current),n=V(t,e.type);t!==n&&(dt(_l,e),dt(Ol,n))}function ln(e){_l.current===e&&(pt(Ol),pt(_l))}function un(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===la||n.data===ua))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t=(t.child.return=t).child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function sn(e,t){return{responder:e,props:t}}function cn(){throw Error(P(321))}function fn(e,t){if(null!==t){for(var n=0;n component higher in the tree to provide a loading indicator or placeholder to display."+y(o))}Eu!==xu&&(Eu=bu),i=Jn(i,o),s=r;do{switch(s.tag){case 3:l=i,s.effectTag|=4096,s.expirationTime=t,Gt(s,ur(s,l,t));break e;case 1:l=i;var d=s.type,h=s.stateNode;if(0==(64&s.effectTag)&&("function"==typeof d.getDerivedStateFromError||null!==h&&"function"==typeof h.componentDidCatch&&(null===zu||!zu.has(h)))){s.effectTag|=4096,s.expirationTime=t,Gt(s,sr(s,l,t));break e}}}while(null!==(s=s.return))}ku=Er(ku)}catch(e){t=e;continue}break}}function Cr(){var e=cu.current;return cu.current=Xl,null===e?Xl:e}function wr(e,t){e<\/script>",l=u.removeChild(u.firstChild)):"string"==typeof u.is?l=l.createElement(s,{is:u.is}):(l=l.createElement(s),"select"===s&&(s=l,u.multiple?s.multiple=!0:u.size&&(s.size=u.size))):l=l.createElementNS(a,s),(u=l)[ha]=n,u[ma]=o,ru(u,t,!1,!1),t.stateNode=u;var c=r,f=Ne(s=i,n=o);switch(s){case"iframe":case"object":case"embed":we("load",u),r=n;break;case"video":case"audio":for(r=0;ro.tailExpiration&&1e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(n<=t?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Hr(e,t){var n=e.lastExpiredTime;(0===n||t