@deephaven/code-studio 0.37.4-relative-links.2 → 0.37.4-relative-base.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1239,7 +1239,7 @@ void main() {
1239
1239
  // color.rgb += (1. - color.rgb) * (1. - mask.rgb);
1240
1240
 
1241
1241
  gl_FragColor = color;
1242
- }`}),n={};return{regl:t,draw:r,atlas:n}};Gn.prototype.update=function(t){var r=this;if(typeof t=="string")t={text:t};else if(!t)return;t=NAe(t,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),t.opacity!=null&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map(function(ge){return parseFloat(ge)}):this.opacity=parseFloat(t.opacity)),t.viewport!=null&&(this.viewport=jAe(t.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),t.kerning!=null&&(this.kerning=t.kerning),t.offset!=null&&(typeof t.offset=="number"&&(t.offset=[t.offset,0]),this.positionOffset=YAe(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!t.font&&(t.font=Gn.baseFontSize+"px sans-serif");var n=!1,i=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach(function(ge,Ce){if(typeof ge=="string")try{ge=dv.parse(ge)}catch{ge=dv.parse(Gn.baseFontSize+"px "+ge)}else ge=dv.parse(dv.stringify(ge));var ke=dv.stringify({size:Gn.baseFontSize,family:ge.family,stretch:T_?ge.stretch:void 0,variant:ge.variant,weight:ge.weight,style:ge.style}),Ke=qAe(ge.size),Ee=Math.round(Ke[0]*HAe(Ke[1]));if(Ee!==r.fontSize[Ce]&&(i=!0,r.fontSize[Ce]=Ee),(!r.font[Ce]||ke!=r.font[Ce].baseString)&&(n=!0,r.font[Ce]=Gn.fonts[ke],!r.font[Ce])){var Se=ge.family.join(", "),We=[ge.style];ge.style!=ge.variant&&We.push(ge.variant),ge.variant!=ge.weight&&We.push(ge.weight),T_&&ge.weight!=ge.stretch&&We.push(ge.stretch),r.font[Ce]={baseString:ke,family:Se,weight:ge.weight,stretch:ge.stretch,style:ge.style,variant:ge.variant,width:{},kerning:{},metrics:VAe(Se,{origin:"top",fontSize:Gn.baseFontSize,fontStyle:We.join(" ")})},Gn.fonts[ke]=r.font[Ce]}}),(n||i)&&this.font.forEach(function(ge,Ce){var ke=dv.stringify({size:r.fontSize[Ce],family:ge.family,stretch:T_?ge.stretch:void 0,variant:ge.variant,weight:ge.weight,style:ge.style});if(r.fontAtlas[Ce]=r.shader.atlas[ke],!r.fontAtlas[Ce]){var Ke=ge.metrics;r.shader.atlas[ke]=r.fontAtlas[Ce]={fontString:ke,step:Math.ceil(r.fontSize[Ce]*Ke.bottom*.5)*2,em:r.fontSize[Ce],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:r.regl.texture()}}t.text==null&&(t.text=r.text)}),typeof t.text=="string"&&t.position&&t.position.length>2){for(var a=Array(t.position.length*.5),o=0;o<a.length;o++)a[o]=t.text;t.text=a}var u;if(t.text!=null||n){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var s=1;s<t.text.length;s++)this.textOffsets[s]=this.textOffsets[s-1]+t.text[s-1].length,this.count+=t.text[s].length,this.counts.push(t.text[s].length);this.text=t.text.join("")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];u=[],this.font.forEach(function(ge,Ce){Gn.atlasContext.font=ge.baseString;for(var ke=r.fontAtlas[Ce],Ke=0;Ke<r.text.length;Ke++){var Ee=r.text.charAt(Ke);if(ke.ids[Ee]==null&&(ke.ids[Ee]=ke.chars.length,ke.chars.push(Ee),u.push(Ee)),ge.width[Ee]==null&&(ge.width[Ee]=Gn.atlasContext.measureText(Ee).width/Gn.baseFontSize,r.kerning)){var Se=[];for(var We in ge.width)Se.push(We+Ee,Ee+We);GAe(ge.kerning,WAe(ge.family,{pairs:Se}))}}})}if(t.position)if(t.position.length>2){for(var l=!t.position[0].length,f=Ac.mallocFloat(this.count*2),d=0,h=0;d<this.counts.length;d++){var p=this.counts[d];if(l)for(var v=0;v<p;v++)f[h++]=t.position[d*2],f[h++]=t.position[d*2+1];else for(var S=0;S<p;S++)f[h++]=t.position[d][0],f[h++]=t.position[d][1]}this.position.call?this.position({type:"float",data:f}):this.position=this.regl.buffer({type:"float",data:f}),Ac.freeFloat(f)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var y=Ac.mallocUint8(this.count),m=Ac.mallocFloat(this.count*2);this.textWidth=[];for(var x=0,w=0;x<this.counts.length;x++){for(var E=this.counts[x],A=this.font[x]||this.font[0],g=this.fontAtlas[x]||this.fontAtlas[0],F=0;F<E;F++){var P=this.text.charAt(w),N=this.text.charAt(w-1);if(y[w]=g.ids[P],m[w*2]=A.width[P],F){var V=m[w*2-2],H=m[w*2],ie=m[w*2-1],pe=ie+V*.5+H*.5;if(this.kerning){var de=A.kerning[N+P];de&&(pe+=de*.001)}m[w*2+1]=pe}else m[w*2+1]=m[w*2]*.5;w++}this.textWidth.push(m.length?m[w*2-2]*.5+m[w*2-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:y,type:"uint8",usage:"stream"}),this.sizeBuffer({data:m,type:"float",usage:"stream"}),Ac.freeUint8(y),Ac.freeFloat(m),u.length&&this.font.forEach(function(ge,Ce){var ke=r.fontAtlas[Ce],Ke=ke.step,Ee=Math.floor(Gn.maxAtlasSize/Ke),Se=Math.min(Ee,ke.chars.length),We=Math.ceil(ke.chars.length/Se),bt=Ej(Se*Ke),Ae=Ej(We*Ke);ke.width=bt,ke.height=Ae,ke.rows=We,ke.cols=Se,ke.em&&ke.texture({data:zAe({canvas:Gn.atlasCanvas,font:ke.fontString,chars:ke.chars,shape:[bt,Ae],step:[Ke,Ke]})})})}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map(function(ge,Ce){var ke=Array.isArray(r.align)?r.align.length>1?r.align[Ce]:r.align[0]:r.align;if(typeof ke=="number")return ke;switch(ke){case"right":case"end":return-ge;case"center":case"centre":case"middle":return-ge*.5}return 0})),this.baseline==null&&t.baseline==null&&(t.baseline=0),t.baseline!=null&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ge,Ce){var ke=(r.font[Ce]||r.font[0]).metrics,Ke=0;return Ke+=ke.bottom*.5,typeof ge=="number"?Ke+=ge-ke.baseline:Ke+=-ke[ge],Ke*=-1,Ke})),t.color!=null)if(t.color||(t.color="transparent"),typeof t.color=="string"||!isNaN(t.color))this.color=wO(t.color,"uint8");else{var Be;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var Fe=t.color.length;Be=Ac.mallocUint8(Fe);for(var M=(t.color.subarray||t.color.slice).bind(t.color),G=0;G<Fe;G+=4)Be.set(wO(M(G,G+4),"uint8"),G)}else{var Z=t.color.length;Be=Ac.mallocUint8(Z*4);for(var ee=0;ee<Z;ee++)Be.set(wO(t.color[ee]||0,"uint8"),ee*4)}this.color=Be}if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity){var R=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(R){var re=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(re);for(var se=0;se<this.batch.length;se++)this.batch[se]={count:this.counts.length>1?this.counts[se]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[se]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(se*4,se*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[se]:this.opacity,baseline:this.baselineOffset[se]!=null?this.baselineOffset[se]:this.baselineOffset[0],align:this.align?this.alignOffset[se]!=null?this.alignOffset[se]:this.alignOffset[0]:0,atlas:this.fontAtlas[se]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(se*2,se*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}};Gn.prototype.destroy=function(){};Gn.prototype.kerning=!0;Gn.prototype.position={constant:new Float32Array(2)};Gn.prototype.translate=null;Gn.prototype.scale=null;Gn.prototype.font=null;Gn.prototype.text="";Gn.prototype.positionOffset=[0,0];Gn.prototype.opacity=1;Gn.prototype.color=new Uint8Array([0,0,0,255]);Gn.prototype.alignOffset=[0,0];Gn.maxAtlasSize=1024;Gn.atlasCanvas=document.createElement("canvas");Gn.atlasContext=Gn.atlasCanvas.getContext("2d",{alpha:!1});Gn.baseFontSize=64;Gn.fonts={};function KAe(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var wYe=Gn;function ZAe(e,t){return e.parent===t.parent?1:2}function QAe(e){return e.reduce(JAe,0)/e.length}function JAe(e,t){return e+t.x}function eke(e){return 1+e.reduce(tke,0)}function tke(e,t){return Math.max(e,t.y)}function rke(e){for(var t;t=e.children;)e=t[0];return e}function nke(e){for(var t;t=e.children;)e=t[t.length-1];return e}function ike(){var e=ZAe,t=1,r=1,n=!1;function i(a){var o,u=0;a.eachAfter(function(h){var p=h.children;p?(h.x=QAe(p),h.y=eke(p)):(h.x=o?u+=e(h,o):0,h.y=0,o=h)});var s=rke(a),l=nke(a),f=s.x-e(s,l)/2,d=l.x+e(l,s)/2;return a.eachAfter(n?function(h){h.x=(h.x-a.x)*t,h.y=(a.y-h.y)*r}:function(h){h.x=(h.x-f)/(d-f)*t,h.y=(1-(a.y?h.y/a.y:1))*r})}return i.separation=function(a){return arguments.length?(e=a,i):e},i.size=function(a){return arguments.length?(n=!1,t=+a[0],r=+a[1],i):n?null:[t,r]},i.nodeSize=function(a){return arguments.length?(n=!0,t=+a[0],r=+a[1],i):n?[t,r]:null},i}function ake(e){var t=0,r=e.children,n=r&&r.length;if(!n)t=1;else for(;--n>=0;)t+=r[n].value;e.value=t}function oke(){return this.eachAfter(ake)}function uke(e){var t=this,r,n=[t],i,a,o;do for(r=n.reverse(),n=[];t=r.pop();)if(e(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)n.push(i[a]);while(n.length);return this}function ske(e){for(var t=this,r=[t],n,i;t=r.pop();)if(e(t),n=t.children,n)for(i=n.length-1;i>=0;--i)r.push(n[i]);return this}function lke(e){for(var t=this,r=[t],n=[],i,a,o;t=r.pop();)if(n.push(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)r.push(i[a]);for(;t=n.pop();)e(t);return this}function fke(e){return this.eachAfter(function(t){for(var r=+e(t.data)||0,n=t.children,i=n&&n.length;--i>=0;)r+=n[i].value;t.value=r})}function cke(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function dke(e){for(var t=this,r=hke(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var i=n.length;e!==r;)n.splice(i,0,e),e=e.parent;return n}function hke(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),i=null;for(e=r.pop(),t=n.pop();e===t;)i=e,e=r.pop(),t=n.pop();return i}function pke(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function vke(){var e=[];return this.each(function(t){e.push(t)}),e}function gke(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function mke(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function d4(e,t){var r=new Bg(e),n=+e.value&&(r.value=e.value),i,a=[r],o,u,s,l;for(t==null&&(t=bke);i=a.pop();)if(n&&(i.value=+i.data.value),(u=t(i.data))&&(l=u.length))for(i.children=new Array(l),s=l-1;s>=0;--s)a.push(o=i.children[s]=new Bg(u[s])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(uZ)}function yke(){return d4(this).eachBefore(wke)}function bke(e){return e.children}function wke(e){e.data=e.data.data}function uZ(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function Bg(e){this.data=e,this.depth=this.height=0,this.parent=null}Bg.prototype=d4.prototype={constructor:Bg,count:oke,each:uke,eachAfter:lke,eachBefore:ske,sum:fke,sort:cke,path:dke,ancestors:pke,descendants:vke,leaves:gke,links:mke,copy:yke};var xke=Array.prototype.slice;function _ke(e){for(var t=e.length,r,n;t;)n=Math.random()*t--|0,r=e[t],e[t]=e[n],e[n]=r;return e}function sZ(e){for(var t=0,r=(e=_ke(xke.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&lZ(a,i)?++t:(a=Eke(n=Ske(n,i)),t=0);return a}function Ske(e,t){var r,n;if(_O(t,e))return[t];for(r=0;r<e.length;++r)if(Cx(t,e[r])&&_O(ry(e[r],t),e))return[e[r],t];for(r=0;r<e.length-1;++r)for(n=r+1;n<e.length;++n)if(Cx(ry(e[r],e[n]),t)&&Cx(ry(e[r],t),e[n])&&Cx(ry(e[n],t),e[r])&&_O(fZ(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function Cx(e,t){var r=e.r-t.r,n=t.x-e.x,i=t.y-e.y;return r<0||r*r<n*n+i*i}function lZ(e,t){var r=e.r-t.r+1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function _O(e,t){for(var r=0;r<t.length;++r)if(!lZ(e,t[r]))return!1;return!0}function Eke(e){switch(e.length){case 1:return Cke(e[0]);case 2:return ry(e[0],e[1]);case 3:return fZ(e[0],e[1],e[2])}}function Cke(e){return{x:e.x,y:e.y,r:e.r}}function ry(e,t){var r=e.x,n=e.y,i=e.r,a=t.x,o=t.y,u=t.r,s=a-r,l=o-n,f=u-i,d=Math.sqrt(s*s+l*l);return{x:(r+a+s/d*f)/2,y:(n+o+l/d*f)/2,r:(d+i+u)/2}}function fZ(e,t,r){var n=e.x,i=e.y,a=e.r,o=t.x,u=t.y,s=t.r,l=r.x,f=r.y,d=r.r,h=n-o,p=n-l,v=i-u,S=i-f,y=s-a,m=d-a,x=n*n+i*i-a*a,w=x-o*o-u*u+s*s,E=x-l*l-f*f+d*d,A=p*v-h*S,g=(v*E-S*w)/(A*2)-n,F=(S*y-v*m)/A,P=(p*w-h*E)/(A*2)-i,N=(h*m-p*y)/A,V=F*F+N*N-1,H=2*(a+g*F+P*N),ie=g*g+P*P-a*a,pe=-(V?(H+Math.sqrt(H*H-4*V*ie))/(2*V):ie/H);return{x:n+g+F*pe,y:i+P+N*pe,r:pe}}function Aj(e,t,r){var n=e.x-t.x,i,a,o=e.y-t.y,u,s,l=n*n+o*o;l?(a=t.r+r.r,a*=a,s=e.r+r.r,s*=s,a>s?(i=(l+s-a)/(2*l),u=Math.sqrt(Math.max(0,s/l-i*i)),r.x=e.x-i*n-u*o,r.y=e.y-i*o+u*n):(i=(l+a-s)/(2*l),u=Math.sqrt(Math.max(0,a/l-i*i)),r.x=t.x+i*n-u*o,r.y=t.y+i*o+u*n)):(r.x=t.x+r.r,r.y=t.y)}function kj(e,t){var r=e.r+t.r-1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function Tj(e){var t=e._,r=e.next._,n=t.r+r.r,i=(t.x*r.r+r.x*t.r)/n,a=(t.y*r.r+r.y*t.r)/n;return i*i+a*a}function Ax(e){this._=e,this.next=null,this.previous=null}function cZ(e){if(!(i=e.length))return 0;var t,r,n,i,a,o,u,s,l,f,d;if(t=e[0],t.x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;Aj(r,t,n=e[2]),t=new Ax(t),r=new Ax(r),n=new Ax(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(u=3;u<i;++u){Aj(t._,r._,n=e[u]),n=new Ax(n),s=r.next,l=t.previous,f=r._.r,d=t._.r;do if(f<=d){if(kj(s._,n._)){r=s,t.next=r,r.previous=t,--u;continue e}f+=s._.r,s=s.next}else{if(kj(l._,n._)){t=l,t.next=r,r.previous=t,--u;continue e}d+=l._.r,l=l.previous}while(s!==l.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,a=Tj(t);(n=n.next)!==r;)(o=Tj(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=sZ(t),u=0;u<i;++u)t=e[u],t.x-=n.x,t.y-=n.y;return n.r}function Ake(e){return cZ(e),e}function kke(e){return e==null?null:bS(e)}function bS(e){if(typeof e!="function")throw new Error;return e}function mh(){return 0}function Ov(e){return function(){return e}}function Tke(e){return Math.sqrt(e.value)}function Oke(){var e=null,t=1,r=1,n=mh;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(Oj(e)).eachAfter(SO(n,.5)).eachBefore(Ij(1)):a.eachBefore(Oj(Tke)).eachAfter(SO(mh,1)).eachAfter(SO(n,a.r/Math.min(t,r))).eachBefore(Ij(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=kke(a),i):e},i.size=function(a){return arguments.length?(t=+a[0],r=+a[1],i):[t,r]},i.padding=function(a){return arguments.length?(n=typeof a=="function"?a:Ov(+a),i):n},i}function Oj(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function SO(e,t){return function(r){if(n=r.children){var n,i,a=n.length,o=e(r)*t||0,u;if(o)for(i=0;i<a;++i)n[i].r+=o;if(u=cZ(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=u+o}}}function Ij(e){return function(t){var r=t.parent;t.r*=e,r&&(t.x=r.x+e*t.x,t.y=r.y+e*t.y)}}function dZ(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function xb(e,t,r,n,i){for(var a=e.children,o,u=-1,s=a.length,l=e.value&&(n-t)/e.value;++u<s;)o=a[u],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*l}function Ike(){var e=1,t=1,r=0,n=!1;function i(o){var u=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/u,o.eachBefore(a(t,u)),n&&o.eachBefore(dZ),o}function a(o,u){return function(s){s.children&&xb(s,s.x0,o*(s.depth+1)/u,s.x1,o*(s.depth+2)/u);var l=s.x0,f=s.y0,d=s.x1-r,h=s.y1-r;d<l&&(l=d=(l+d)/2),h<f&&(f=h=(f+h)/2),s.x0=l,s.y0=f,s.x1=d,s.y1=h}}return i.round=function(o){return arguments.length?(n=!!o,i):n},i.size=function(o){return arguments.length?(e=+o[0],t=+o[1],i):[e,t]},i.padding=function(o){return arguments.length?(r=+o,i):r},i}var Rj="$",Rke={depth:-1},Dj={};function Dke(e){return e.id}function Pke(e){return e.parentId}function $ke(){var e=Dke,t=Pke;function r(n){var i,a,o=n.length,u,s,l,f=new Array(o),d,h,p={};for(a=0;a<o;++a)i=n[a],l=f[a]=new Bg(i),(d=e(i,a,n))!=null&&(d+="")&&(h=Rj+(l.id=d),p[h]=h in p?Dj:l);for(a=0;a<o;++a)if(l=f[a],d=t(n[a],a,n),d==null||!(d+="")){if(u)throw new Error("multiple roots");u=l}else{if(s=p[Rj+d],!s)throw new Error("missing: "+d);if(s===Dj)throw new Error("ambiguous: "+d);s.children?s.children.push(l):s.children=[l],l.parent=s}if(!u)throw new Error("no root");if(u.parent=Rke,u.eachBefore(function(v){v.depth=v.parent.depth+1,--o}).eachBefore(uZ),u.parent=null,o>0)throw new Error("cycle");return u}return r.id=function(n){return arguments.length?(e=bS(n),r):e},r.parentId=function(n){return arguments.length?(t=bS(n),r):t},r}function Mke(e,t){return e.parent===t.parent?1:2}function EO(e){var t=e.children;return t?t[0]:e.t}function CO(e){var t=e.children;return t?t[t.length-1]:e.t}function Nke(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function Fke(e){for(var t=0,r=0,n=e.children,i=n.length,a;--i>=0;)a=n[i],a.z+=t,a.m+=t,t+=a.s+(r+=a.c)}function Lke(e,t,r){return e.a.parent===t.parent?e.a:r}function O_(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}O_.prototype=Object.create(Bg.prototype);function Bke(e){for(var t=new O_(e,0),r,n=[t],i,a,o,u;r=n.pop();)if(a=r._.children)for(r.children=new Array(u=a.length),o=u-1;o>=0;--o)n.push(i=r.children[o]=new O_(a[o],o)),i.parent=r;return(t.parent=new O_(null,0)).children=[t],t}function zke(){var e=Mke,t=1,r=1,n=null;function i(l){var f=Bke(l);if(f.eachAfter(a),f.parent.m=-f.z,f.eachBefore(o),n)l.eachBefore(s);else{var d=l,h=l,p=l;l.eachBefore(function(x){x.x<d.x&&(d=x),x.x>h.x&&(h=x),x.depth>p.depth&&(p=x)});var v=d===h?1:e(d,h)/2,S=v-d.x,y=t/(h.x+v+S),m=r/(p.depth||1);l.eachBefore(function(x){x.x=(x.x+S)*y,x.y=x.depth*m})}return l}function a(l){var f=l.children,d=l.parent.children,h=l.i?d[l.i-1]:null;if(f){Fke(l);var p=(f[0].z+f[f.length-1].z)/2;h?(l.z=h.z+e(l._,h._),l.m=l.z-p):l.z=p}else h&&(l.z=h.z+e(l._,h._));l.parent.A=u(l,h,l.parent.A||d[0])}function o(l){l._.x=l.z+l.parent.m,l.m+=l.parent.m}function u(l,f,d){if(f){for(var h=l,p=l,v=f,S=h.parent.children[0],y=h.m,m=p.m,x=v.m,w=S.m,E;v=CO(v),h=EO(h),v&&h;)S=EO(S),p=CO(p),p.a=l,E=v.z+x-h.z-y+e(v._,h._),E>0&&(Nke(Lke(v,l,d),l,E),y+=E,m+=E),x+=v.m,y+=h.m,w+=S.m,m+=p.m;v&&!CO(p)&&(p.t=v,p.m+=x-m),h&&!EO(S)&&(S.t=h,S.m+=y-w,d=l)}return d}function s(l){l.x*=t,l.y=l.depth*r}return i.separation=function(l){return arguments.length?(e=l,i):e},i.size=function(l){return arguments.length?(n=!1,t=+l[0],r=+l[1],i):n?null:[t,r]},i.nodeSize=function(l){return arguments.length?(n=!0,t=+l[0],r=+l[1],i):n?[t,r]:null},i}function nC(e,t,r,n,i){for(var a=e.children,o,u=-1,s=a.length,l=e.value&&(i-r)/e.value;++u<s;)o=a[u],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*l}var hZ=(1+Math.sqrt(5))/2;function pZ(e,t,r,n,i,a){for(var o=[],u=t.children,s,l,f=0,d=0,h=u.length,p,v,S=t.value,y,m,x,w,E,A,g;f<h;){p=i-r,v=a-n;do y=u[d++].value;while(!y&&d<h);for(m=x=y,A=Math.max(v/p,p/v)/(S*e),g=y*y*A,E=Math.max(x/g,g/m);d<h;++d){if(y+=l=u[d].value,l<m&&(m=l),l>x&&(x=l),g=y*y*A,w=Math.max(x/g,g/m),w>E){y-=l;break}E=w}o.push(s={value:y,dice:p<v,children:u.slice(f,d)}),s.dice?xb(s,r,n,i,S?n+=v*y/S:a):nC(s,r,n,S?r+=p*y/S:i,a),S-=y,f=d}return o}const vZ=function e(t){function r(n,i,a,o,u){pZ(t,n,i,a,o,u)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(hZ);function jke(){var e=vZ,t=!1,r=1,n=1,i=[0],a=mh,o=mh,u=mh,s=mh,l=mh;function f(h){return h.x0=h.y0=0,h.x1=r,h.y1=n,h.eachBefore(d),i=[0],t&&h.eachBefore(dZ),h}function d(h){var p=i[h.depth],v=h.x0+p,S=h.y0+p,y=h.x1-p,m=h.y1-p;y<v&&(v=y=(v+y)/2),m<S&&(S=m=(S+m)/2),h.x0=v,h.y0=S,h.x1=y,h.y1=m,h.children&&(p=i[h.depth+1]=a(h)/2,v+=l(h)-p,S+=o(h)-p,y-=u(h)-p,m-=s(h)-p,y<v&&(v=y=(v+y)/2),m<S&&(S=m=(S+m)/2),e(h,v,S,y,m))}return f.round=function(h){return arguments.length?(t=!!h,f):t},f.size=function(h){return arguments.length?(r=+h[0],n=+h[1],f):[r,n]},f.tile=function(h){return arguments.length?(e=bS(h),f):e},f.padding=function(h){return arguments.length?f.paddingInner(h).paddingOuter(h):f.paddingInner()},f.paddingInner=function(h){return arguments.length?(a=typeof h=="function"?h:Ov(+h),f):a},f.paddingOuter=function(h){return arguments.length?f.paddingTop(h).paddingRight(h).paddingBottom(h).paddingLeft(h):f.paddingTop()},f.paddingTop=function(h){return arguments.length?(o=typeof h=="function"?h:Ov(+h),f):o},f.paddingRight=function(h){return arguments.length?(u=typeof h=="function"?h:Ov(+h),f):u},f.paddingBottom=function(h){return arguments.length?(s=typeof h=="function"?h:Ov(+h),f):s},f.paddingLeft=function(h){return arguments.length?(l=typeof h=="function"?h:Ov(+h),f):l},f}function Uke(e,t,r,n,i){var a=e.children,o,u=a.length,s,l=new Array(u+1);for(l[0]=s=o=0;o<u;++o)l[o+1]=s+=a[o].value;f(0,u,e.value,t,r,n,i);function f(d,h,p,v,S,y,m){if(d>=h-1){var x=a[d];x.x0=v,x.y0=S,x.x1=y,x.y1=m;return}for(var w=l[d],E=p/2+w,A=d+1,g=h-1;A<g;){var F=A+g>>>1;l[F]<E?A=F+1:g=F}E-l[A-1]<l[A]-E&&d+1<A&&--A;var P=l[A]-w,N=p-P;if(y-v>m-S){var V=(v*N+y*P)/p;f(d,A,P,v,S,V,m),f(A,h,N,V,S,y,m)}else{var H=(S*N+m*P)/p;f(d,A,P,v,S,y,H),f(A,h,N,v,H,y,m)}}}function qke(e,t,r,n,i){(e.depth&1?nC:xb)(e,t,r,n,i)}const Hke=function e(t){function r(n,i,a,o,u){if((s=n._squarify)&&s.ratio===t)for(var s,l,f,d,h=-1,p,v=s.length,S=n.value;++h<v;){for(l=s[h],f=l.children,d=l.value=0,p=f.length;d<p;++d)l.value+=f[d].value;l.dice?xb(l,i,a,o,a+=(u-a)*l.value/S):nC(l,i,a,i+=(o-i)*l.value/S,u),S-=l.value}else n._squarify=s=pZ(t,n,i,a,o,u),s.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(hZ),Wke=Object.freeze(Object.defineProperty({__proto__:null,cluster:ike,hierarchy:d4,pack:Oke,packEnclose:sZ,packSiblings:Ake,partition:Ike,stratify:$ke,tree:zke,treemap:jke,treemapBinary:Uke,treemapDice:xb,treemapResquarify:Hke,treemapSlice:nC,treemapSliceDice:qke,treemapSquarify:vZ},Symbol.toStringTag,{value:"Module"})),xYe=pp(Wke);function om(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function _b(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function $d(){}var Jh=.7,zg=1/Jh,ug="\\s*([+-]?\\d+)\\s*",O1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Vl="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Gke=/^#([0-9a-f]{3,8})$/,Vke=new RegExp(`^rgb\\(${ug},${ug},${ug}\\)$`),Yke=new RegExp(`^rgb\\(${Vl},${Vl},${Vl}\\)$`),Xke=new RegExp(`^rgba\\(${ug},${ug},${ug},${O1}\\)$`),Kke=new RegExp(`^rgba\\(${Vl},${Vl},${Vl},${O1}\\)$`),Zke=new RegExp(`^hsl\\(${O1},${Vl},${Vl}\\)$`),Qke=new RegExp(`^hsla\\(${O1},${Vl},${Vl},${O1}\\)$`),Pj={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};om($d,I1,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:$j,formatHex:$j,formatHex8:Jke,formatHsl:eTe,formatRgb:Mj,toString:Mj});function $j(){return this.rgb().formatHex()}function Jke(){return this.rgb().formatHex8()}function eTe(){return gZ(this).formatHsl()}function Mj(){return this.rgb().formatRgb()}function I1(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Gke.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Nj(t):r===3?new Za(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?kx(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?kx(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Vke.exec(e))?new Za(t[1],t[2],t[3],1):(t=Yke.exec(e))?new Za(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Xke.exec(e))?kx(t[1],t[2],t[3],t[4]):(t=Kke.exec(e))?kx(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Zke.exec(e))?Bj(t[1],t[2]/100,t[3]/100,1):(t=Qke.exec(e))?Bj(t[1],t[2]/100,t[3]/100,t[4]):Pj.hasOwnProperty(e)?Nj(Pj[e]):e==="transparent"?new Za(NaN,NaN,NaN,0):null}function Nj(e){return new Za(e>>16&255,e>>8&255,e&255,1)}function kx(e,t,r,n){return n<=0&&(e=t=r=NaN),new Za(e,t,r,n)}function h4(e){return e instanceof $d||(e=I1(e)),e?(e=e.rgb(),new Za(e.r,e.g,e.b,e.opacity)):new Za}function wS(e,t,r,n){return arguments.length===1?h4(e):new Za(e,t,r,n??1)}function Za(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}om(Za,wS,_b($d,{brighter(e){return e=e==null?zg:Math.pow(zg,e),new Za(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Jh:Math.pow(Jh,e),new Za(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Za(jh(this.r),jh(this.g),jh(this.b),xS(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Fj,formatHex:Fj,formatHex8:tTe,formatRgb:Lj,toString:Lj}));function Fj(){return`#${Rh(this.r)}${Rh(this.g)}${Rh(this.b)}`}function tTe(){return`#${Rh(this.r)}${Rh(this.g)}${Rh(this.b)}${Rh((isNaN(this.opacity)?1:this.opacity)*255)}`}function Lj(){const e=xS(this.opacity);return`${e===1?"rgb(":"rgba("}${jh(this.r)}, ${jh(this.g)}, ${jh(this.b)}${e===1?")":`, ${e})`}`}function xS(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function jh(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Rh(e){return e=jh(e),(e<16?"0":"")+e.toString(16)}function Bj(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new nl(e,t,r,n)}function gZ(e){if(e instanceof nl)return new nl(e.h,e.s,e.l,e.opacity);if(e instanceof $d||(e=I1(e)),!e)return new nl;if(e instanceof nl)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,u=a-i,s=(a+i)/2;return u?(t===a?o=(r-n)/u+(r<n)*6:r===a?o=(n-t)/u+2:o=(t-r)/u+4,u/=s<.5?a+i:2-a-i,o*=60):u=s>0&&s<1?0:o,new nl(o,u,s,e.opacity)}function m5(e,t,r,n){return arguments.length===1?gZ(e):new nl(e,t,r,n??1)}function nl(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}om(nl,m5,_b($d,{brighter(e){return e=e==null?zg:Math.pow(zg,e),new nl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Jh:Math.pow(Jh,e),new nl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Za(AO(e>=240?e-240:e+120,i,n),AO(e,i,n),AO(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new nl(zj(this.h),Tx(this.s),Tx(this.l),xS(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=xS(this.opacity);return`${e===1?"hsl(":"hsla("}${zj(this.h)}, ${Tx(this.s)*100}%, ${Tx(this.l)*100}%${e===1?")":`, ${e})`}`}}));function zj(e){return e=(e||0)%360,e<0?e+360:e}function Tx(e){return Math.max(0,Math.min(1,e||0))}function AO(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const mZ=Math.PI/180,yZ=180/Math.PI,_S=18,bZ=.96422,wZ=1,xZ=.82521,_Z=4/29,sg=6/29,SZ=3*sg*sg,rTe=sg*sg*sg;function EZ(e){if(e instanceof Yl)return new Yl(e.l,e.a,e.b,e.opacity);if(e instanceof Mf)return CZ(e);e instanceof Za||(e=h4(e));var t=IO(e.r),r=IO(e.g),n=IO(e.b),i=kO((.2225045*t+.7168786*r+.0606169*n)/wZ),a,o;return t===r&&r===n?a=o=i:(a=kO((.4360747*t+.3850649*r+.1430804*n)/bZ),o=kO((.0139322*t+.0971045*r+.7141733*n)/xZ)),new Yl(116*i-16,500*(a-i),200*(i-o),e.opacity)}function y5(e,t,r,n){return arguments.length===1?EZ(e):new Yl(e,t,r,n??1)}function Yl(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}om(Yl,y5,_b($d,{brighter(e){return new Yl(this.l+_S*(e??1),this.a,this.b,this.opacity)},darker(e){return new Yl(this.l-_S*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=bZ*TO(t),e=wZ*TO(e),r=xZ*TO(r),new Za(OO(3.1338561*t-1.6168667*e-.4906146*r),OO(-.9787684*t+1.9161415*e+.033454*r),OO(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function kO(e){return e>rTe?Math.pow(e,1/3):e/SZ+_Z}function TO(e){return e>sg?e*e*e:SZ*(e-_Z)}function OO(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function IO(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function nTe(e){if(e instanceof Mf)return new Mf(e.h,e.c,e.l,e.opacity);if(e instanceof Yl||(e=EZ(e)),e.a===0&&e.b===0)return new Mf(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*yZ;return new Mf(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function b5(e,t,r,n){return arguments.length===1?nTe(e):new Mf(e,t,r,n??1)}function Mf(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function CZ(e){if(isNaN(e.h))return new Yl(e.l,0,0,e.opacity);var t=e.h*mZ;return new Yl(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}om(Mf,b5,_b($d,{brighter(e){return new Mf(this.h,this.c,this.l+_S*(e??1),this.opacity)},darker(e){return new Mf(this.h,this.c,this.l-_S*(e??1),this.opacity)},rgb(){return CZ(this).rgb()}}));var AZ=-.14861,p4=1.78277,v4=-.29227,iC=-.90649,R1=1.97294,jj=R1*iC,Uj=R1*p4,qj=p4*v4-iC*AZ;function iTe(e){if(e instanceof Uh)return new Uh(e.h,e.s,e.l,e.opacity);e instanceof Za||(e=h4(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(qj*n+jj*t-Uj*r)/(qj+jj-Uj),a=n-i,o=(R1*(r-i)-v4*a)/iC,u=Math.sqrt(o*o+a*a)/(R1*i*(1-i)),s=u?Math.atan2(o,a)*yZ-120:NaN;return new Uh(s<0?s+360:s,u,i,e.opacity)}function w5(e,t,r,n){return arguments.length===1?iTe(e):new Uh(e,t,r,n??1)}function Uh(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}om(Uh,w5,_b($d,{brighter(e){return e=e==null?zg:Math.pow(zg,e),new Uh(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Jh:Math.pow(Jh,e),new Uh(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*mZ,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new Za(255*(t+r*(AZ*n+p4*i)),255*(t+r*(v4*n+iC*i)),255*(t+r*(R1*n)),this.opacity)}}));function kZ(e,t,r,n,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*r+(1+3*e+3*a-3*o)*n+o*i)/6}function TZ(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],o=n>0?e[n-1]:2*i-a,u=n<t-1?e[n+2]:2*a-i;return kZ((r-n/t)*t,o,i,a,u)}}function OZ(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],o=e[(n+1)%t],u=e[(n+2)%t];return kZ((r-n/t)*t,i,a,o,u)}}const aC=e=>()=>e;function IZ(e,t){return function(r){return e+r*t}}function aTe(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function oC(e,t){var r=t-e;return r?IZ(e,r>180||r<-180?r-360*Math.round(r/360):r):aC(isNaN(e)?t:e)}function oTe(e){return(e=+e)==1?Qa:function(t,r){return r-t?aTe(t,r,e):aC(isNaN(t)?r:t)}}function Qa(e,t){var r=t-e;return r?IZ(e,r):aC(isNaN(e)?t:e)}const x5=function e(t){var r=oTe(t);function n(i,a){var o=r((i=wS(i)).r,(a=wS(a)).r),u=r(i.g,a.g),s=r(i.b,a.b),l=Qa(i.opacity,a.opacity);return function(f){return i.r=o(f),i.g=u(f),i.b=s(f),i.opacity=l(f),i+""}}return n.gamma=e,n}(1);function RZ(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),a=new Array(r),o,u;for(o=0;o<r;++o)u=wS(t[o]),n[o]=u.r||0,i[o]=u.g||0,a[o]=u.b||0;return n=e(n),i=e(i),a=e(a),u.opacity=1,function(s){return u.r=n(s),u.g=i(s),u.b=a(s),u+""}}}var uTe=RZ(TZ),sTe=RZ(OZ);function g4(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function DZ(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function lTe(e,t){return(DZ(t)?g4:PZ)(e,t)}function PZ(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=uC(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function $Z(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Nl(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function MZ(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=uC(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var _5=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,RO=new RegExp(_5.source,"g");function fTe(e){return function(){return e}}function cTe(e){return function(t){return e(t)+""}}function NZ(e,t){var r=_5.lastIndex=RO.lastIndex=0,n,i,a,o=-1,u=[],s=[];for(e=e+"",t=t+"";(n=_5.exec(e))&&(i=RO.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,s.push({i:o,x:Nl(n,i)})),r=RO.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?s[0]?cTe(s[0].x):fTe(t):(t=s.length,function(l){for(var f=0,d;f<t;++f)u[(d=s[f]).i]=d.x(l);return u.join("")})}function uC(e,t){var r=typeof t,n;return t==null||r==="boolean"?aC(t):(r==="number"?Nl:r==="string"?(n=I1(t))?(t=n,x5):NZ:t instanceof I1?x5:t instanceof Date?$Z:DZ(t)?g4:Array.isArray(t)?PZ:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?MZ:Nl)(e,t)}function dTe(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function hTe(e,t){var r=oC(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function pTe(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var Hj=180/Math.PI,S5={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function FZ(e,t,r,n,i,a){var o,u,s;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(s=e*r+t*n)&&(r-=e*s,n-=t*s),(u=Math.sqrt(r*r+n*n))&&(r/=u,n/=u,s/=u),e*n<t*r&&(e=-e,t=-t,s=-s,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*Hj,skewX:Math.atan(s)*Hj,scaleX:o,scaleY:u}}var Ox;function vTe(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?S5:FZ(t.a,t.b,t.c,t.d,t.e,t.f)}function gTe(e){return e==null||(Ox||(Ox=document.createElementNS("http://www.w3.org/2000/svg","g")),Ox.setAttribute("transform",e),!(e=Ox.transform.baseVal.consolidate()))?S5:(e=e.matrix,FZ(e.a,e.b,e.c,e.d,e.e,e.f))}function LZ(e,t,r,n){function i(l){return l.length?l.pop()+" ":""}function a(l,f,d,h,p,v){if(l!==d||f!==h){var S=p.push("translate(",null,t,null,r);v.push({i:S-4,x:Nl(l,d)},{i:S-2,x:Nl(f,h)})}else(d||h)&&p.push("translate("+d+t+h+r)}function o(l,f,d,h){l!==f?(l-f>180?f+=360:f-l>180&&(l+=360),h.push({i:d.push(i(d)+"rotate(",null,n)-2,x:Nl(l,f)})):f&&d.push(i(d)+"rotate("+f+n)}function u(l,f,d,h){l!==f?h.push({i:d.push(i(d)+"skewX(",null,n)-2,x:Nl(l,f)}):f&&d.push(i(d)+"skewX("+f+n)}function s(l,f,d,h,p,v){if(l!==d||f!==h){var S=p.push(i(p)+"scale(",null,",",null,")");v.push({i:S-4,x:Nl(l,d)},{i:S-2,x:Nl(f,h)})}else(d!==1||h!==1)&&p.push(i(p)+"scale("+d+","+h+")")}return function(l,f){var d=[],h=[];return l=e(l),f=e(f),a(l.translateX,l.translateY,f.translateX,f.translateY,d,h),o(l.rotate,f.rotate,d,h),u(l.skewX,f.skewX,d,h),s(l.scaleX,l.scaleY,f.scaleX,f.scaleY,d,h),l=f=null,function(p){for(var v=-1,S=h.length,y;++v<S;)d[(y=h[v]).i]=y.x(p);return d.join("")}}}var mTe=LZ(vTe,"px, ","px)","deg)"),yTe=LZ(gTe,", ",")",")"),bTe=1e-12;function Wj(e){return((e=Math.exp(e))+1/e)/2}function wTe(e){return((e=Math.exp(e))-1/e)/2}function xTe(e){return((e=Math.exp(2*e))-1)/(e+1)}const _Te=function e(t,r,n){function i(a,o){var u=a[0],s=a[1],l=a[2],f=o[0],d=o[1],h=o[2],p=f-u,v=d-s,S=p*p+v*v,y,m;if(S<bTe)m=Math.log(h/l)/t,y=function(F){return[u+F*p,s+F*v,l*Math.exp(t*F*m)]};else{var x=Math.sqrt(S),w=(h*h-l*l+n*S)/(2*l*r*x),E=(h*h-l*l-n*S)/(2*h*r*x),A=Math.log(Math.sqrt(w*w+1)-w),g=Math.log(Math.sqrt(E*E+1)-E);m=(g-A)/t,y=function(F){var P=F*m,N=Wj(A),V=l/(r*x)*(N*xTe(t*P+A)-wTe(A));return[u+V*p,s+V*v,l*N/Wj(t*P+A)]}}return y.duration=m*1e3*t/Math.SQRT2,y}return i.rho=function(a){var o=Math.max(.001,+a),u=o*o,s=u*u;return e(o,u,s)},i}(Math.SQRT2,2,4);function BZ(e){return function(t,r){var n=e((t=m5(t)).h,(r=m5(r)).h),i=Qa(t.s,r.s),a=Qa(t.l,r.l),o=Qa(t.opacity,r.opacity);return function(u){return t.h=n(u),t.s=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const STe=BZ(oC);var ETe=BZ(Qa);function CTe(e,t){var r=Qa((e=y5(e)).l,(t=y5(t)).l),n=Qa(e.a,t.a),i=Qa(e.b,t.b),a=Qa(e.opacity,t.opacity);return function(o){return e.l=r(o),e.a=n(o),e.b=i(o),e.opacity=a(o),e+""}}function zZ(e){return function(t,r){var n=e((t=b5(t)).h,(r=b5(r)).h),i=Qa(t.c,r.c),a=Qa(t.l,r.l),o=Qa(t.opacity,r.opacity);return function(u){return t.h=n(u),t.c=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const ATe=zZ(oC);var kTe=zZ(Qa);function jZ(e){return function t(r){r=+r;function n(i,a){var o=e((i=w5(i)).h,(a=w5(a)).h),u=Qa(i.s,a.s),s=Qa(i.l,a.l),l=Qa(i.opacity,a.opacity);return function(f){return i.h=o(f),i.s=u(f),i.l=s(Math.pow(f,r)),i.opacity=l(f),i+""}}return n.gamma=t,n}(1)}const TTe=jZ(oC);var OTe=jZ(Qa);function ITe(e,t){t===void 0&&(t=e,e=uC);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function RTe(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const DTe=Object.freeze(Object.defineProperty({__proto__:null,interpolate:uC,interpolateArray:lTe,interpolateBasis:TZ,interpolateBasisClosed:OZ,interpolateCubehelix:TTe,interpolateCubehelixLong:OTe,interpolateDate:$Z,interpolateDiscrete:dTe,interpolateHcl:ATe,interpolateHclLong:kTe,interpolateHsl:STe,interpolateHslLong:ETe,interpolateHue:hTe,interpolateLab:CTe,interpolateNumber:Nl,interpolateNumberArray:g4,interpolateObject:MZ,interpolateRgb:x5,interpolateRgbBasis:uTe,interpolateRgbBasisClosed:sTe,interpolateRound:pTe,interpolateString:NZ,interpolateTransformCss:mTe,interpolateTransformSvg:yTe,interpolateZoom:_Te,piecewise:ITe,quantize:RTe},Symbol.toStringTag,{value:"Module"})),_Ye=pp(DTe);var PTe="Expected a function",UZ="__lodash_hash_undefined__",qZ=1/0,$Te=9007199254740991,MTe="[object Function]",NTe="[object GeneratorFunction]",FTe="[object Symbol]",LTe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,BTe=/^\w*$/,zTe=/^\./,jTe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,UTe=/[\\^$.*+?()[\]{}|]/g,qTe=/\\(\\)?/g,HTe=/^\[object .+?Constructor\]$/,WTe=/^(?:0|[1-9]\d*)$/,GTe=typeof qt=="object"&&qt&&qt.Object===Object&&qt,VTe=typeof self=="object"&&self&&self.Object===Object&&self,m4=GTe||VTe||Function("return this")();function YTe(e,t){return e?.[t]}function XTe(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var KTe=Array.prototype,ZTe=Function.prototype,HZ=Object.prototype,DO=m4["__core-js_shared__"],Gj=function(){var e=/[^.]+$/.exec(DO&&DO.keys&&DO.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),WZ=ZTe.toString,sC=HZ.hasOwnProperty,GZ=HZ.toString,QTe=RegExp("^"+WZ.call(sC).replace(UTe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vj=m4.Symbol,JTe=KTe.splice,eOe=VZ(m4,"Map"),D1=VZ(Object,"create"),Yj=Vj?Vj.prototype:void 0,Xj=Yj?Yj.toString:void 0;function ep(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function tOe(){this.__data__=D1?D1(null):{}}function rOe(e){return this.has(e)&&delete this.__data__[e]}function nOe(e){var t=this.__data__;if(D1){var r=t[e];return r===UZ?void 0:r}return sC.call(t,e)?t[e]:void 0}function iOe(e){var t=this.__data__;return D1?t[e]!==void 0:sC.call(t,e)}function aOe(e,t){var r=this.__data__;return r[e]=D1&&t===void 0?UZ:t,this}ep.prototype.clear=tOe;ep.prototype.delete=rOe;ep.prototype.get=nOe;ep.prototype.has=iOe;ep.prototype.set=aOe;function um(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function oOe(){this.__data__=[]}function uOe(e){var t=this.__data__,r=lC(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():JTe.call(t,r,1),!0}function sOe(e){var t=this.__data__,r=lC(t,e);return r<0?void 0:t[r][1]}function lOe(e){return lC(this.__data__,e)>-1}function fOe(e,t){var r=this.__data__,n=lC(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}um.prototype.clear=oOe;um.prototype.delete=uOe;um.prototype.get=sOe;um.prototype.has=lOe;um.prototype.set=fOe;function kp(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function cOe(){this.__data__={hash:new ep,map:new(eOe||um),string:new ep}}function dOe(e){return fC(this,e).delete(e)}function hOe(e){return fC(this,e).get(e)}function pOe(e){return fC(this,e).has(e)}function vOe(e,t){return fC(this,e).set(e,t),this}kp.prototype.clear=cOe;kp.prototype.delete=dOe;kp.prototype.get=hOe;kp.prototype.has=pOe;kp.prototype.set=vOe;function gOe(e,t,r){var n=e[t];(!(sC.call(e,t)&&YZ(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function lC(e,t){for(var r=e.length;r--;)if(YZ(e[r][0],t))return r;return-1}function mOe(e){if(!SS(e)||EOe(e))return!1;var t=TOe(e)||XTe(e)?QTe:HTe;return t.test(kOe(e))}function yOe(e,t,r,n){if(!SS(e))return e;t=_Oe(t,e)?[t]:wOe(t);for(var i=-1,a=t.length,o=a-1,u=e;u!=null&&++i<a;){var s=AOe(t[i]),l=r;if(i!=o){var f=u[s];l=n?n(f,s,u):void 0,l===void 0&&(l=SS(f)?f:xOe(t[i+1])?[]:{})}gOe(u,s,l),u=u[s]}return e}function bOe(e){if(typeof e=="string")return e;if(b4(e))return Xj?Xj.call(e):"";var t=e+"";return t=="0"&&1/e==-qZ?"-0":t}function wOe(e){return XZ(e)?e:COe(e)}function fC(e,t){var r=e.__data__;return SOe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function VZ(e,t){var r=YTe(e,t);return mOe(r)?r:void 0}function xOe(e,t){return t=t??$Te,!!t&&(typeof e=="number"||WTe.test(e))&&e>-1&&e%1==0&&e<t}function _Oe(e,t){if(XZ(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||b4(e)?!0:BTe.test(e)||!LTe.test(e)||t!=null&&e in Object(t)}function SOe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function EOe(e){return!!Gj&&Gj in e}var COe=y4(function(e){e=IOe(e);var t=[];return zTe.test(e)&&t.push(""),e.replace(jTe,function(r,n,i,a){t.push(i?a.replace(qTe,"$1"):n||r)}),t});function AOe(e){if(typeof e=="string"||b4(e))return e;var t=e+"";return t=="0"&&1/e==-qZ?"-0":t}function kOe(e){if(e!=null){try{return WZ.call(e)}catch{}try{return e+""}catch{}}return""}function y4(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(PTe);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o),o};return r.cache=new(y4.Cache||kp),r}y4.Cache=kp;function YZ(e,t){return e===t||e!==e&&t!==t}var XZ=Array.isArray;function TOe(e){var t=SS(e)?GZ.call(e):"";return t==MTe||t==NTe}function SS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function OOe(e){return!!e&&typeof e=="object"}function b4(e){return typeof e=="symbol"||OOe(e)&&GZ.call(e)==FTe}function IOe(e){return e==null?"":bOe(e)}function ROe(e,t,r){return e==null?e:yOe(e,t,r)}var SYe=ROe;function KZ(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(o){return function(u){return typeof u=="function"?u(i,a,e):o(u)}}};return t}var ZZ=KZ();ZZ.withExtraArgument=KZ;const EYe=ZZ;function Ix(e){return e.charAt(0)==="/"}function PO(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}function DOe(e,t){t===void 0&&(t="");var r=e&&e.split("/")||[],n=t&&t.split("/")||[],i=e&&Ix(e),a=t&&Ix(t),o=i||a;if(e&&Ix(e)?n=r:r.length&&(n.pop(),n=n.concat(r)),!n.length)return"/";var u;if(n.length){var s=n[n.length-1];u=s==="."||s===".."||s===""}else u=!1;for(var l=0,f=n.length;f>=0;f--){var d=n[f];d==="."?PO(n,f):d===".."?(PO(n,f),l++):l&&(PO(n,f),l--)}if(!o)for(;l--;l)n.unshift("..");o&&n[0]!==""&&(!n[0]||!Ix(n[0]))&&n.unshift("");var h=n.join("/");return u&&h.substr(-1)!=="/"&&(h+="/"),h}function Kj(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function I_(e,t){if(e===t)return!0;if(e==null||t==null)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(i,a){return I_(i,t[a])});if(typeof e=="object"||typeof t=="object"){var r=Kj(e),n=Kj(t);return r!==e||n!==t?I_(r,n):Object.keys(Object.assign({},e,t)).every(function(i){return I_(e[i],t[i])})}return!1}function Fy(e){return e.charAt(0)==="/"?e:"/"+e}function Zj(e){return e.charAt(0)==="/"?e.substr(1):e}function POe(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function QZ(e,t){return POe(e,t)?e.substr(t.length):e}function JZ(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function $Oe(e){var t=e||"/",r="",n="",i=t.indexOf("#");i!==-1&&(n=t.substr(i),t=t.substr(0,i));var a=t.indexOf("?");return a!==-1&&(r=t.substr(a),t=t.substr(0,a)),{pathname:t,search:r==="?"?"":r,hash:n==="#"?"":n}}function pu(e){var t=e.pathname,r=e.search,n=e.hash,i=t||"/";return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(i+=n.charAt(0)==="#"?n:"#"+n),i}function Ko(e,t,r,n){var i;typeof e=="string"?(i=$Oe(e),i.state=t):(i=yr({},e),i.pathname===void 0&&(i.pathname=""),i.search?i.search.charAt(0)!=="?"&&(i.search="?"+i.search):i.search="",i.hash?i.hash.charAt(0)!=="#"&&(i.hash="#"+i.hash):i.hash="",t!==void 0&&i.state===void 0&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return r&&(i.key=r),n?i.pathname?i.pathname.charAt(0)!=="/"&&(i.pathname=DOe(i.pathname,n.pathname)):i.pathname=n.pathname:i.pathname||(i.pathname="/"),i}function MOe(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&I_(e.state,t.state)}function w4(){var e=null;function t(o){return e=o,function(){e===o&&(e=null)}}function r(o,u,s,l){if(e!=null){var f=typeof e=="function"?e(o,u):e;typeof f=="string"?typeof s=="function"?s(f,l):l(!0):l(f!==!1)}else l(!0)}var n=[];function i(o){var u=!0;function s(){u&&o.apply(void 0,arguments)}return n.push(s),function(){u=!1,n=n.filter(function(l){return l!==s})}}function a(){for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];n.forEach(function(l){return l.apply(void 0,u)})}return{setPrompt:t,confirmTransitionTo:r,appendListener:i,notifyListeners:a}}var eQ=!!(typeof window<"u"&&window.document&&window.document.createElement);function tQ(e,t){t(window.confirm(e))}function NOe(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function FOe(){return window.navigator.userAgent.indexOf("Trident")===-1}function LOe(){return window.navigator.userAgent.indexOf("Firefox")===-1}function BOe(e){return e.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var Qj="popstate",Jj="hashchange";function eU(){try{return window.history.state||{}}catch{return{}}}function zOe(e){e===void 0&&(e={}),eQ||tf(!1);var t=window.history,r=NOe(),n=!FOe(),i=e,a=i.forceRefresh,o=a===void 0?!1:a,u=i.getUserConfirmation,s=u===void 0?tQ:u,l=i.keyLength,f=l===void 0?6:l,d=e.basename?JZ(Fy(e.basename)):"";function h(Z){var ee=Z||{},R=ee.key,re=ee.state,se=window.location,ge=se.pathname,Ce=se.search,ke=se.hash,Ke=ge+Ce+ke;return d&&(Ke=QZ(Ke,d)),Ko(Ke,re,R)}function p(){return Math.random().toString(36).substr(2,f)}var v=w4();function S(Z){yr(G,Z),G.length=t.length,v.notifyListeners(G.location,G.action)}function y(Z){BOe(Z)||w(h(Z.state))}function m(){w(h(eU()))}var x=!1;function w(Z){if(x)x=!1,S();else{var ee="POP";v.confirmTransitionTo(Z,ee,s,function(R){R?S({action:ee,location:Z}):E(Z)})}}function E(Z){var ee=G.location,R=g.indexOf(ee.key);R===-1&&(R=0);var re=g.indexOf(Z.key);re===-1&&(re=0);var se=R-re;se&&(x=!0,V(se))}var A=h(eU()),g=[A.key];function F(Z){return d+pu(Z)}function P(Z,ee){var R="PUSH",re=Ko(Z,ee,p(),G.location);v.confirmTransitionTo(re,R,s,function(se){if(se){var ge=F(re),Ce=re.key,ke=re.state;if(r)if(t.pushState({key:Ce,state:ke},null,ge),o)window.location.href=ge;else{var Ke=g.indexOf(G.location.key),Ee=g.slice(0,Ke+1);Ee.push(re.key),g=Ee,S({action:R,location:re})}else window.location.href=ge}})}function N(Z,ee){var R="REPLACE",re=Ko(Z,ee,p(),G.location);v.confirmTransitionTo(re,R,s,function(se){if(se){var ge=F(re),Ce=re.key,ke=re.state;if(r)if(t.replaceState({key:Ce,state:ke},null,ge),o)window.location.replace(ge);else{var Ke=g.indexOf(G.location.key);Ke!==-1&&(g[Ke]=re.key),S({action:R,location:re})}else window.location.replace(ge)}})}function V(Z){t.go(Z)}function H(){V(-1)}function ie(){V(1)}var pe=0;function de(Z){pe+=Z,pe===1&&Z===1?(window.addEventListener(Qj,y),n&&window.addEventListener(Jj,m)):pe===0&&(window.removeEventListener(Qj,y),n&&window.removeEventListener(Jj,m))}var Be=!1;function Fe(Z){Z===void 0&&(Z=!1);var ee=v.setPrompt(Z);return Be||(de(1),Be=!0),function(){return Be&&(Be=!1,de(-1)),ee()}}function M(Z){var ee=v.appendListener(Z);return de(1),function(){de(-1),ee()}}var G={length:t.length,action:"POP",location:A,createHref:F,push:P,replace:N,go:V,goBack:H,goForward:ie,block:Fe,listen:M};return G}var tU="hashchange",jOe={hashbang:{encodePath:function(t){return t.charAt(0)==="!"?t:"!/"+Zj(t)},decodePath:function(t){return t.charAt(0)==="!"?t.substr(1):t}},noslash:{encodePath:Zj,decodePath:Fy},slash:{encodePath:Fy,decodePath:Fy}};function rQ(e){var t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function P0(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)}function UOe(e){window.location.hash=e}function $O(e){window.location.replace(rQ(window.location.href)+"#"+e)}function qOe(e){e===void 0&&(e={}),eQ||tf(!1);var t=window.history;LOe();var r=e,n=r.getUserConfirmation,i=n===void 0?tQ:n,a=r.hashType,o=a===void 0?"slash":a,u=e.basename?JZ(Fy(e.basename)):"",s=jOe[o],l=s.encodePath,f=s.decodePath;function d(){var ee=f(P0());return u&&(ee=QZ(ee,u)),Ko(ee)}var h=w4();function p(ee){yr(Z,ee),Z.length=t.length,h.notifyListeners(Z.location,Z.action)}var v=!1,S=null;function y(ee,R){return ee.pathname===R.pathname&&ee.search===R.search&&ee.hash===R.hash}function m(){var ee=P0(),R=l(ee);if(ee!==R)$O(R);else{var re=d(),se=Z.location;if(!v&&y(se,re)||S===pu(re))return;S=null,x(re)}}function x(ee){if(v)v=!1,p();else{var R="POP";h.confirmTransitionTo(ee,R,i,function(re){re?p({action:R,location:ee}):w(ee)})}}function w(ee){var R=Z.location,re=F.lastIndexOf(pu(R));re===-1&&(re=0);var se=F.lastIndexOf(pu(ee));se===-1&&(se=0);var ge=re-se;ge&&(v=!0,H(ge))}var E=P0(),A=l(E);E!==A&&$O(A);var g=d(),F=[pu(g)];function P(ee){var R=document.querySelector("base"),re="";return R&&R.getAttribute("href")&&(re=rQ(window.location.href)),re+"#"+l(u+pu(ee))}function N(ee,R){var re="PUSH",se=Ko(ee,void 0,void 0,Z.location);h.confirmTransitionTo(se,re,i,function(ge){if(ge){var Ce=pu(se),ke=l(u+Ce),Ke=P0()!==ke;if(Ke){S=Ce,UOe(ke);var Ee=F.lastIndexOf(pu(Z.location)),Se=F.slice(0,Ee+1);Se.push(Ce),F=Se,p({action:re,location:se})}else p()}})}function V(ee,R){var re="REPLACE",se=Ko(ee,void 0,void 0,Z.location);h.confirmTransitionTo(se,re,i,function(ge){if(ge){var Ce=pu(se),ke=l(u+Ce),Ke=P0()!==ke;Ke&&(S=Ce,$O(ke));var Ee=F.indexOf(pu(Z.location));Ee!==-1&&(F[Ee]=Ce),p({action:re,location:se})}})}function H(ee){t.go(ee)}function ie(){H(-1)}function pe(){H(1)}var de=0;function Be(ee){de+=ee,de===1&&ee===1?window.addEventListener(tU,m):de===0&&window.removeEventListener(tU,m)}var Fe=!1;function M(ee){ee===void 0&&(ee=!1);var R=h.setPrompt(ee);return Fe||(Be(1),Fe=!0),function(){return Fe&&(Fe=!1,Be(-1)),R()}}function G(ee){var R=h.appendListener(ee);return Be(1),function(){Be(-1),R()}}var Z={length:t.length,action:"POP",location:g,createHref:P,push:N,replace:V,go:H,goBack:ie,goForward:pe,block:M,listen:G};return Z}function rU(e,t,r){return Math.min(Math.max(e,t),r)}function HOe(e){e===void 0&&(e={});var t=e,r=t.getUserConfirmation,n=t.initialEntries,i=n===void 0?["/"]:n,a=t.initialIndex,o=a===void 0?0:a,u=t.keyLength,s=u===void 0?6:u,l=w4();function f(P){yr(F,P),F.length=F.entries.length,l.notifyListeners(F.location,F.action)}function d(){return Math.random().toString(36).substr(2,s)}var h=rU(o,0,i.length-1),p=i.map(function(P){return typeof P=="string"?Ko(P,void 0,d()):Ko(P,void 0,P.key||d())}),v=pu;function S(P,N){var V="PUSH",H=Ko(P,N,d(),F.location);l.confirmTransitionTo(H,V,r,function(ie){if(ie){var pe=F.index,de=pe+1,Be=F.entries.slice(0);Be.length>de?Be.splice(de,Be.length-de,H):Be.push(H),f({action:V,location:H,index:de,entries:Be})}})}function y(P,N){var V="REPLACE",H=Ko(P,N,d(),F.location);l.confirmTransitionTo(H,V,r,function(ie){ie&&(F.entries[F.index]=H,f({action:V,location:H}))})}function m(P){var N=rU(F.index+P,0,F.entries.length-1),V="POP",H=F.entries[N];l.confirmTransitionTo(H,V,r,function(ie){ie?f({action:V,location:H,index:N}):f()})}function x(){m(-1)}function w(){m(1)}function E(P){var N=F.index+P;return N>=0&&N<F.entries.length}function A(P){return P===void 0&&(P=!1),l.setPrompt(P)}function g(P){return l.appendListener(P)}var F={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:v,push:S,replace:y,go:m,goBack:x,goForward:w,canGo:E,block:A,listen:g};return F}var MO=1073741823,nU=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function WOe(){var e="__global_unique_id__";return nU[e]=(nU[e]||0)+1}function GOe(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function VOe(e){var t=[];return{on:function(n){t.push(n)},off:function(n){t=t.filter(function(i){return i!==n})},get:function(){return e},set:function(n,i){e=n,t.forEach(function(a){return a(e,i)})}}}function YOe(e){return Array.isArray(e)?e[0]:e}function XOe(e,t){var r,n,i="__create-react-context-"+WOe()+"__",a=function(u){Po(s,u);function s(){var f;return f=u.apply(this,arguments)||this,f.emitter=VOe(f.props.value),f}var l=s.prototype;return l.getChildContext=function(){var d;return d={},d[i]=this.emitter,d},l.componentWillReceiveProps=function(d){if(this.props.value!==d.value){var h=this.props.value,p=d.value,v;GOe(h,p)?v=0:(v=typeof t=="function"?t(h,p):MO,v|=0,v!==0&&this.emitter.set(d.value,v))}},l.render=function(){return this.props.children},s}(Le.Component);a.childContextTypes=(r={},r[i]=un.object.isRequired,r);var o=function(u){Po(s,u);function s(){var f;return f=u.apply(this,arguments)||this,f.state={value:f.getValue()},f.onUpdate=function(d,h){var p=f.observedBits|0;p&h&&f.setState({value:f.getValue()})},f}var l=s.prototype;return l.componentWillReceiveProps=function(d){var h=d.observedBits;this.observedBits=h??MO},l.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var d=this.props.observedBits;this.observedBits=d??MO},l.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},l.getValue=function(){return this.context[i]?this.context[i].get():e},l.render=function(){return YOe(this.props.children)(this.state.value)},s}(Le.Component);return o.contextTypes=(n={},n[i]=un.object,n),{Provider:a,Consumer:o}}var KOe=zt.createContext||XOe,_d={},ZOe={get exports(){return _d},set exports(e){_d=e}},QOe=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},ES=QOe;ZOe.exports=aQ;_d.parse=x4;_d.compile=e3e;_d.tokensToFunction=nQ;_d.tokensToRegExp=iQ;var JOe=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function x4(e,t){for(var r=[],n=0,i=0,a="",o=t&&t.delimiter||"/",u;(u=JOe.exec(e))!=null;){var s=u[0],l=u[1],f=u.index;if(a+=e.slice(i,f),i=f+s.length,l){a+=l[1];continue}var d=e[i],h=u[2],p=u[3],v=u[4],S=u[5],y=u[6],m=u[7];a&&(r.push(a),a="");var x=h!=null&&d!=null&&d!==h,w=y==="+"||y==="*",E=y==="?"||y==="*",A=u[2]||o,g=v||S;r.push({name:p||n++,prefix:h||"",delimiter:A,optional:E,repeat:w,partial:x,asterisk:!!m,pattern:g?n3e(g):m?".*":"[^"+R_(A)+"]+?"})}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function e3e(e,t){return nQ(x4(e,t),t)}function t3e(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function r3e(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function nQ(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",S4(t)));return function(i,a){for(var o="",u=i||{},s=a||{},l=s.pretty?t3e:encodeURIComponent,f=0;f<e.length;f++){var d=e[f];if(typeof d=="string"){o+=d;continue}var h=u[d.name],p;if(h==null)if(d.optional){d.partial&&(o+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(ES(h)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(h.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var v=0;v<h.length;v++){if(p=l(h[v]),!r[f].test(p))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(p)+"`");o+=(v===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?r3e(h):l(h),!r[f].test(p))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+p+'"');o+=d.prefix+p}return o}}function R_(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function n3e(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function _4(e,t){return e.keys=t,e}function S4(e){return e&&e.sensitive?"":"i"}function i3e(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return _4(e,t)}function a3e(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(aQ(e[i],t,r).source);var a=new RegExp("(?:"+n.join("|")+")",S4(r));return _4(a,t)}function o3e(e,t,r){return iQ(x4(e,r),t,r)}function iQ(e,t,r){ES(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,i=r.end!==!1,a="",o=0;o<e.length;o++){var u=e[o];if(typeof u=="string")a+=R_(u);else{var s=R_(u.prefix),l="(?:"+u.pattern+")";t.push(u),u.repeat&&(l+="(?:"+s+l+")*"),u.optional?u.partial?l=s+"("+l+")?":l="(?:"+s+"("+l+"))?":l=s+"("+l+")",a+=l}}var f=R_(r.delimiter||"/"),d=a.slice(-f.length)===f;return n||(a=(d?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),i?a+="$":a+=n&&d?"":"(?="+f+"|$)",_4(new RegExp("^"+a,S4(r)),t)}function aQ(e,t,r){return ES(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?i3e(e,t):ES(e)?a3e(e,t,r):o3e(e,t,r)}var oQ=function(t){var r=KOe();return r.displayName=t,r},u3e=oQ("Router-History"),Sd=oQ("Router"),cC=function(e){Po(t,e),t.computeRootMatch=function(i){return{path:"/",url:"/",params:{},isExact:i==="/"}};function t(n){var i;return i=e.call(this,n)||this,i.state={location:n.history.location},i._isMounted=!1,i._pendingLocation=null,n.staticContext||(i.unlisten=n.history.listen(function(a){i._isMounted?i.setState({location:a}):i._pendingLocation=a})),i}var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},r.render=function(){return zt.createElement(Sd.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},zt.createElement(u3e.Provider,{children:this.props.children||null,value:this.props.history}))},t}(zt.Component);zt.Component;var s3e=function(e){Po(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},r.componentDidUpdate=function(i){this.props.onUpdate&&this.props.onUpdate.call(this,this,i)},r.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},r.render=function(){return null},t}(zt.Component),NO={},l3e=1e4,iU=0;function f3e(e){if(NO[e])return NO[e];var t=_d.compile(e);return iU<l3e&&(NO[e]=t,iU++),t}function aU(e,t){return e===void 0&&(e="/"),t===void 0&&(t={}),e==="/"?e:f3e(e)(t,{pretty:!0})}function CYe(e){var t=e.computedMatch,r=e.to,n=e.push,i=n===void 0?!1:n;return zt.createElement(Sd.Consumer,null,function(a){a||tf(!1);var o=a.history,u=a.staticContext,s=i?o.push:o.replace,l=Ko(t?typeof r=="string"?aU(r,t.params):yr({},r,{pathname:aU(r.pathname,t.params)}):r);return u?(s(l),null):zt.createElement(s3e,{onMount:function(){s(l)},onUpdate:function(d,h){var p=Ko(h.to);MOe(p,yr({},l,{key:p.key}))||s(l)},to:r})})}var oU={},c3e=1e4,uU=0;function d3e(e,t){var r=""+t.end+t.strict+t.sensitive,n=oU[r]||(oU[r]={});if(n[e])return n[e];var i=[],a=_d(e,i,t),o={regexp:a,keys:i};return uU<c3e&&(n[e]=o,uU++),o}function E4(e,t){t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,i=r.exact,a=i===void 0?!1:i,o=r.strict,u=o===void 0?!1:o,s=r.sensitive,l=s===void 0?!1:s,f=[].concat(n);return f.reduce(function(d,h){if(!h&&h!=="")return null;if(d)return d;var p=d3e(h,{end:a,strict:u,sensitive:l}),v=p.regexp,S=p.keys,y=v.exec(e);if(!y)return null;var m=y[0],x=y.slice(1),w=e===m;return a&&!w?null:{path:h,url:h==="/"&&m===""?"/":m,isExact:w,params:S.reduce(function(E,A,g){return E[A.name]=x[g],E},{})}},null)}function h3e(e){return zt.Children.count(e)===0}var AYe=function(e){Po(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var i=this;return zt.createElement(Sd.Consumer,null,function(a){a||tf(!1);var o=i.props.location||a.location,u=i.props.computedMatch?i.props.computedMatch:i.props.path?E4(o.pathname,i.props):a.match,s=yr({},a,{location:o,match:u}),l=i.props,f=l.children,d=l.component,h=l.render;return Array.isArray(f)&&h3e(f)&&(f=null),zt.createElement(Sd.Provider,{value:s},s.match?f?typeof f=="function"?f(s):f:d?zt.createElement(d,s):h?h(s):null:typeof f=="function"?f(s):null)})},t}(zt.Component);function C4(e){return e.charAt(0)==="/"?e:"/"+e}function p3e(e,t){return e?yr({},t,{pathname:C4(e)+t.pathname}):t}function v3e(e,t){if(!e)return t;var r=C4(e);return t.pathname.indexOf(r)!==0?t:yr({},t,{pathname:t.pathname.substr(r.length)})}function sU(e){return typeof e=="string"?e:pu(e)}function FO(e){return function(){tf(!1)}}function lU(){}zt.Component;var kYe=function(e){Po(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var i=this;return zt.createElement(Sd.Consumer,null,function(a){a||tf(!1);var o=i.props.location||a.location,u,s;return zt.Children.forEach(i.props.children,function(l){if(s==null&&zt.isValidElement(l)){u=l;var f=l.props.path||l.props.from;s=f?E4(o.pathname,yr({},l.props,{path:f})):a.match}}),s?zt.cloneElement(u,{location:o,computedMatch:s}):null})},t}(zt.Component);function TYe(e){var t="withRouter("+(e.displayName||e.name)+")",r=function(i){var a=i.wrappedComponentRef,o=ks(i,["wrappedComponentRef"]);return zt.createElement(Sd.Consumer,null,function(u){return u||tf(!1),zt.createElement(e,yr({},o,u,{ref:a}))})};return r.displayName=t,r.WrappedComponent=e,gR(r,e)}zt.useContext;zt.Component;var OYe=function(e){Po(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.history=qOe(n.props),n}var r=t.prototype;return r.render=function(){return zt.createElement(cC,{history:this.history,children:this.props.children})},t}(zt.Component),E5=function(t,r){return typeof t=="function"?t(r):t},C5=function(t,r){return typeof t=="string"?Ko(t,null,null,r):t},A4=function(t){return t},jg=zt.forwardRef;typeof jg>"u"&&(jg=A4);function g3e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var m3e=jg(function(e,t){var r=e.innerRef,n=e.navigate,i=e.onClick,a=ks(e,["innerRef","navigate","onClick"]),o=a.target,u=yr({},a,{onClick:function(l){try{i&&i(l)}catch(f){throw l.preventDefault(),f}!l.defaultPrevented&&l.button===0&&(!o||o==="_self")&&!g3e(l)&&(l.preventDefault(),n())}});return A4!==jg?u.ref=t||r:u.ref=r,zt.createElement("a",u)}),y3e=jg(function(e,t){var r=e.component,n=r===void 0?m3e:r,i=e.replace,a=e.to,o=e.innerRef,u=ks(e,["component","replace","to","innerRef"]);return zt.createElement(Sd.Consumer,null,function(s){s||tf(!1);var l=s.history,f=C5(E5(a,s.location),s.location),d=f?l.createHref(f):"",h=yr({},u,{href:d,navigate:function(){var v=E5(a,s.location),S=pu(s.location)===pu(C5(v)),y=i||S?l.replace:l.push;y(v)}});return A4!==jg?h.ref=t||o:h.innerRef=o,zt.createElement(n,h)})}),uQ=function(t){return t},CS=zt.forwardRef;typeof CS>"u"&&(CS=uQ);function b3e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(n){return n}).join(" ")}CS(function(e,t){var r=e["aria-current"],n=r===void 0?"page":r,i=e.activeClassName,a=i===void 0?"active":i,o=e.activeStyle,u=e.className,s=e.exact,l=e.isActive,f=e.location,d=e.sensitive,h=e.strict,p=e.style,v=e.to,S=e.innerRef,y=ks(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return zt.createElement(Sd.Consumer,null,function(m){m||tf(!1);var x=f||m.location,w=C5(E5(v,x),x),E=w.pathname,A=E&&E.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),g=A?E4(x.pathname,{path:A,exact:s,sensitive:d,strict:h}):null,F=!!(l?l(g,x):g),P=typeof u=="function"?u(F):u,N=typeof p=="function"?p(F):p;F&&(P=b3e(P,a),N=yr({},N,o));var V=yr({"aria-current":F&&n||null,className:P,style:N,to:w},y);return uQ!==CS?V.ref=t||S:V.innerRef=S,zt.createElement(y3e,V)})});/*! js-cookie v3.0.5 | MIT */function Rx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var w3e={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function A5(e,t){function r(i,a,o){if(!(typeof document>"u")){o=Rx({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var s in o)o[s]&&(u+="; "+s,o[s]!==!0&&(u+="="+o[s].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+u}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},u=0;u<a.length;u++){var s=a[u].split("="),l=s.slice(1).join("=");try{var f=decodeURIComponent(s[0]);if(o[f]=e.read(l,f),i===f)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Rx({},a,{expires:-1}))},withAttributes:function(i){return A5(this.converter,Rx({},this.attributes,i))},withConverter:function(i){return A5(Rx({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var IYe=A5(w3e,{path:"/"});function RYe(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:n=l=>l.id||l.key,filter:i,initialFilterText:a=""}=e,[o,u]=Le.useState({items:t,selectedKeys:r==="all"?"all":new Set(r||[]),filterText:a}),s=Le.useMemo(()=>i?o.items.filter(l=>i(l,o.filterText)):o.items,[o.items,o.filterText,i]);return{...o,items:s,...x3e({getKey:n},u),getItem(l){return o.items.find(f=>n(f)===l)}}}function x3e(e,t){let{cursor:r,getKey:n}=e;return{setSelectedKeys(i){t(a=>({...a,selectedKeys:i}))},setFilterText(i){t(a=>({...a,filterText:i}))},insert(i,...a){t(o=>$0(o,i,...a))},insertBefore(i,...a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);if(u===-1)if(o.items.length===0)u=0;else return o;return $0(o,u,...a)})},insertAfter(i,...a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);if(u===-1)if(o.items.length===0)u=0;else return o;return $0(o,u+1,...a)})},prepend(...i){t(a=>$0(a,0,...i))},append(...i){t(a=>$0(a,a.items.length,...i))},remove(...i){t(a=>{let o=new Set(i),u=a.items.filter(l=>!o.has(n(l))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let l of i)s.delete(l)}return r==null&&u.length===0&&(s=new Set),{...a,items:u,selectedKeys:s}})},removeSelectedItems(){t(i=>{if(i.selectedKeys==="all")return{...i,items:[],selectedKeys:new Set};let a=i.selectedKeys,o=i.items.filter(u=>!a.has(n(u)));return{...i,items:o,selectedKeys:new Set}})},move(i,a){t(o=>{let u=o.items.findIndex(f=>n(f)===i);if(u===-1)return o;let s=o.items.slice(),[l]=s.splice(u,1);return s.splice(a,0,l),{...o,items:s}})},moveBefore(i,a){t(o=>{let u=o.items.findIndex(f=>n(f)===i);if(u===-1)return o;let l=(Array.isArray(a)?a:[...a]).map(f=>o.items.findIndex(d=>n(d)===f)).sort();return fU(o,l,u)})},moveAfter(i,a){t(o=>{let u=o.items.findIndex(f=>n(f)===i);if(u===-1)return o;let l=(Array.isArray(a)?a:[...a]).map(f=>o.items.findIndex(d=>n(d)===f)).sort();return fU(o,l,u+1)})},update(i,a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);return u===-1?o:{...o,items:[...o.items.slice(0,u),a,...o.items.slice(u+1)]}})}}}function $0(e,t,...r){return{...e,items:[...e.items.slice(0,t),...r,...e.items.slice(t)]}}function fU(e,t,r){r-=t.filter(a=>a<r).length;let n=t.map(a=>({from:a,to:r++}));for(let a=0;a<n.length;a++){let o=n[a].from;for(let u=a;u<n.length;u++)n[u].from>o&&n[u].from--}for(let a=0;a<n.length;a++){let o=n[a];for(let u=n.length-1;u>a;u--){let s=n[u];s.from<o.to?o.to++:s.from++}}let i=e.items.slice();for(let a of n){let[o]=i.splice(a.from,1);i.splice(a.to,0,o)}return{...e,items:i}}var cU={},_3e={get exports(){return cU},set exports(e){cU=e}};/*!
1242
+ }`}),n={};return{regl:t,draw:r,atlas:n}};Gn.prototype.update=function(t){var r=this;if(typeof t=="string")t={text:t};else if(!t)return;t=NAe(t,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),t.opacity!=null&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map(function(ge){return parseFloat(ge)}):this.opacity=parseFloat(t.opacity)),t.viewport!=null&&(this.viewport=jAe(t.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),t.kerning!=null&&(this.kerning=t.kerning),t.offset!=null&&(typeof t.offset=="number"&&(t.offset=[t.offset,0]),this.positionOffset=YAe(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!t.font&&(t.font=Gn.baseFontSize+"px sans-serif");var n=!1,i=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach(function(ge,Ce){if(typeof ge=="string")try{ge=dv.parse(ge)}catch{ge=dv.parse(Gn.baseFontSize+"px "+ge)}else ge=dv.parse(dv.stringify(ge));var ke=dv.stringify({size:Gn.baseFontSize,family:ge.family,stretch:T_?ge.stretch:void 0,variant:ge.variant,weight:ge.weight,style:ge.style}),Ke=qAe(ge.size),Ee=Math.round(Ke[0]*HAe(Ke[1]));if(Ee!==r.fontSize[Ce]&&(i=!0,r.fontSize[Ce]=Ee),(!r.font[Ce]||ke!=r.font[Ce].baseString)&&(n=!0,r.font[Ce]=Gn.fonts[ke],!r.font[Ce])){var Se=ge.family.join(", "),We=[ge.style];ge.style!=ge.variant&&We.push(ge.variant),ge.variant!=ge.weight&&We.push(ge.weight),T_&&ge.weight!=ge.stretch&&We.push(ge.stretch),r.font[Ce]={baseString:ke,family:Se,weight:ge.weight,stretch:ge.stretch,style:ge.style,variant:ge.variant,width:{},kerning:{},metrics:VAe(Se,{origin:"top",fontSize:Gn.baseFontSize,fontStyle:We.join(" ")})},Gn.fonts[ke]=r.font[Ce]}}),(n||i)&&this.font.forEach(function(ge,Ce){var ke=dv.stringify({size:r.fontSize[Ce],family:ge.family,stretch:T_?ge.stretch:void 0,variant:ge.variant,weight:ge.weight,style:ge.style});if(r.fontAtlas[Ce]=r.shader.atlas[ke],!r.fontAtlas[Ce]){var Ke=ge.metrics;r.shader.atlas[ke]=r.fontAtlas[Ce]={fontString:ke,step:Math.ceil(r.fontSize[Ce]*Ke.bottom*.5)*2,em:r.fontSize[Ce],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:r.regl.texture()}}t.text==null&&(t.text=r.text)}),typeof t.text=="string"&&t.position&&t.position.length>2){for(var a=Array(t.position.length*.5),o=0;o<a.length;o++)a[o]=t.text;t.text=a}var u;if(t.text!=null||n){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var s=1;s<t.text.length;s++)this.textOffsets[s]=this.textOffsets[s-1]+t.text[s-1].length,this.count+=t.text[s].length,this.counts.push(t.text[s].length);this.text=t.text.join("")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];u=[],this.font.forEach(function(ge,Ce){Gn.atlasContext.font=ge.baseString;for(var ke=r.fontAtlas[Ce],Ke=0;Ke<r.text.length;Ke++){var Ee=r.text.charAt(Ke);if(ke.ids[Ee]==null&&(ke.ids[Ee]=ke.chars.length,ke.chars.push(Ee),u.push(Ee)),ge.width[Ee]==null&&(ge.width[Ee]=Gn.atlasContext.measureText(Ee).width/Gn.baseFontSize,r.kerning)){var Se=[];for(var We in ge.width)Se.push(We+Ee,Ee+We);GAe(ge.kerning,WAe(ge.family,{pairs:Se}))}}})}if(t.position)if(t.position.length>2){for(var l=!t.position[0].length,f=Ac.mallocFloat(this.count*2),d=0,h=0;d<this.counts.length;d++){var p=this.counts[d];if(l)for(var v=0;v<p;v++)f[h++]=t.position[d*2],f[h++]=t.position[d*2+1];else for(var S=0;S<p;S++)f[h++]=t.position[d][0],f[h++]=t.position[d][1]}this.position.call?this.position({type:"float",data:f}):this.position=this.regl.buffer({type:"float",data:f}),Ac.freeFloat(f)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var y=Ac.mallocUint8(this.count),m=Ac.mallocFloat(this.count*2);this.textWidth=[];for(var x=0,w=0;x<this.counts.length;x++){for(var E=this.counts[x],A=this.font[x]||this.font[0],g=this.fontAtlas[x]||this.fontAtlas[0],F=0;F<E;F++){var P=this.text.charAt(w),N=this.text.charAt(w-1);if(y[w]=g.ids[P],m[w*2]=A.width[P],F){var V=m[w*2-2],H=m[w*2],ie=m[w*2-1],pe=ie+V*.5+H*.5;if(this.kerning){var de=A.kerning[N+P];de&&(pe+=de*.001)}m[w*2+1]=pe}else m[w*2+1]=m[w*2]*.5;w++}this.textWidth.push(m.length?m[w*2-2]*.5+m[w*2-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:y,type:"uint8",usage:"stream"}),this.sizeBuffer({data:m,type:"float",usage:"stream"}),Ac.freeUint8(y),Ac.freeFloat(m),u.length&&this.font.forEach(function(ge,Ce){var ke=r.fontAtlas[Ce],Ke=ke.step,Ee=Math.floor(Gn.maxAtlasSize/Ke),Se=Math.min(Ee,ke.chars.length),We=Math.ceil(ke.chars.length/Se),bt=Ej(Se*Ke),Ae=Ej(We*Ke);ke.width=bt,ke.height=Ae,ke.rows=We,ke.cols=Se,ke.em&&ke.texture({data:zAe({canvas:Gn.atlasCanvas,font:ke.fontString,chars:ke.chars,shape:[bt,Ae],step:[Ke,Ke]})})})}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map(function(ge,Ce){var ke=Array.isArray(r.align)?r.align.length>1?r.align[Ce]:r.align[0]:r.align;if(typeof ke=="number")return ke;switch(ke){case"right":case"end":return-ge;case"center":case"centre":case"middle":return-ge*.5}return 0})),this.baseline==null&&t.baseline==null&&(t.baseline=0),t.baseline!=null&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ge,Ce){var ke=(r.font[Ce]||r.font[0]).metrics,Ke=0;return Ke+=ke.bottom*.5,typeof ge=="number"?Ke+=ge-ke.baseline:Ke+=-ke[ge],Ke*=-1,Ke})),t.color!=null)if(t.color||(t.color="transparent"),typeof t.color=="string"||!isNaN(t.color))this.color=wO(t.color,"uint8");else{var Be;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var Fe=t.color.length;Be=Ac.mallocUint8(Fe);for(var M=(t.color.subarray||t.color.slice).bind(t.color),G=0;G<Fe;G+=4)Be.set(wO(M(G,G+4),"uint8"),G)}else{var Z=t.color.length;Be=Ac.mallocUint8(Z*4);for(var ee=0;ee<Z;ee++)Be.set(wO(t.color[ee]||0,"uint8"),ee*4)}this.color=Be}if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity){var R=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(R){var re=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(re);for(var se=0;se<this.batch.length;se++)this.batch[se]={count:this.counts.length>1?this.counts[se]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[se]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(se*4,se*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[se]:this.opacity,baseline:this.baselineOffset[se]!=null?this.baselineOffset[se]:this.baselineOffset[0],align:this.align?this.alignOffset[se]!=null?this.alignOffset[se]:this.alignOffset[0]:0,atlas:this.fontAtlas[se]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(se*2,se*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}};Gn.prototype.destroy=function(){};Gn.prototype.kerning=!0;Gn.prototype.position={constant:new Float32Array(2)};Gn.prototype.translate=null;Gn.prototype.scale=null;Gn.prototype.font=null;Gn.prototype.text="";Gn.prototype.positionOffset=[0,0];Gn.prototype.opacity=1;Gn.prototype.color=new Uint8Array([0,0,0,255]);Gn.prototype.alignOffset=[0,0];Gn.maxAtlasSize=1024;Gn.atlasCanvas=document.createElement("canvas");Gn.atlasContext=Gn.atlasCanvas.getContext("2d",{alpha:!1});Gn.baseFontSize=64;Gn.fonts={};function KAe(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var wYe=Gn;function ZAe(e,t){return e.parent===t.parent?1:2}function QAe(e){return e.reduce(JAe,0)/e.length}function JAe(e,t){return e+t.x}function eke(e){return 1+e.reduce(tke,0)}function tke(e,t){return Math.max(e,t.y)}function rke(e){for(var t;t=e.children;)e=t[0];return e}function nke(e){for(var t;t=e.children;)e=t[t.length-1];return e}function ike(){var e=ZAe,t=1,r=1,n=!1;function i(a){var o,u=0;a.eachAfter(function(h){var p=h.children;p?(h.x=QAe(p),h.y=eke(p)):(h.x=o?u+=e(h,o):0,h.y=0,o=h)});var s=rke(a),l=nke(a),f=s.x-e(s,l)/2,d=l.x+e(l,s)/2;return a.eachAfter(n?function(h){h.x=(h.x-a.x)*t,h.y=(a.y-h.y)*r}:function(h){h.x=(h.x-f)/(d-f)*t,h.y=(1-(a.y?h.y/a.y:1))*r})}return i.separation=function(a){return arguments.length?(e=a,i):e},i.size=function(a){return arguments.length?(n=!1,t=+a[0],r=+a[1],i):n?null:[t,r]},i.nodeSize=function(a){return arguments.length?(n=!0,t=+a[0],r=+a[1],i):n?[t,r]:null},i}function ake(e){var t=0,r=e.children,n=r&&r.length;if(!n)t=1;else for(;--n>=0;)t+=r[n].value;e.value=t}function oke(){return this.eachAfter(ake)}function uke(e){var t=this,r,n=[t],i,a,o;do for(r=n.reverse(),n=[];t=r.pop();)if(e(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)n.push(i[a]);while(n.length);return this}function ske(e){for(var t=this,r=[t],n,i;t=r.pop();)if(e(t),n=t.children,n)for(i=n.length-1;i>=0;--i)r.push(n[i]);return this}function lke(e){for(var t=this,r=[t],n=[],i,a,o;t=r.pop();)if(n.push(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)r.push(i[a]);for(;t=n.pop();)e(t);return this}function fke(e){return this.eachAfter(function(t){for(var r=+e(t.data)||0,n=t.children,i=n&&n.length;--i>=0;)r+=n[i].value;t.value=r})}function cke(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function dke(e){for(var t=this,r=hke(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var i=n.length;e!==r;)n.splice(i,0,e),e=e.parent;return n}function hke(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),i=null;for(e=r.pop(),t=n.pop();e===t;)i=e,e=r.pop(),t=n.pop();return i}function pke(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function vke(){var e=[];return this.each(function(t){e.push(t)}),e}function gke(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function mke(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function d4(e,t){var r=new Bg(e),n=+e.value&&(r.value=e.value),i,a=[r],o,u,s,l;for(t==null&&(t=bke);i=a.pop();)if(n&&(i.value=+i.data.value),(u=t(i.data))&&(l=u.length))for(i.children=new Array(l),s=l-1;s>=0;--s)a.push(o=i.children[s]=new Bg(u[s])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(uZ)}function yke(){return d4(this).eachBefore(wke)}function bke(e){return e.children}function wke(e){e.data=e.data.data}function uZ(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function Bg(e){this.data=e,this.depth=this.height=0,this.parent=null}Bg.prototype=d4.prototype={constructor:Bg,count:oke,each:uke,eachAfter:lke,eachBefore:ske,sum:fke,sort:cke,path:dke,ancestors:pke,descendants:vke,leaves:gke,links:mke,copy:yke};var xke=Array.prototype.slice;function _ke(e){for(var t=e.length,r,n;t;)n=Math.random()*t--|0,r=e[t],e[t]=e[n],e[n]=r;return e}function sZ(e){for(var t=0,r=(e=_ke(xke.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&lZ(a,i)?++t:(a=Eke(n=Ske(n,i)),t=0);return a}function Ske(e,t){var r,n;if(_O(t,e))return[t];for(r=0;r<e.length;++r)if(Cx(t,e[r])&&_O(ry(e[r],t),e))return[e[r],t];for(r=0;r<e.length-1;++r)for(n=r+1;n<e.length;++n)if(Cx(ry(e[r],e[n]),t)&&Cx(ry(e[r],t),e[n])&&Cx(ry(e[n],t),e[r])&&_O(fZ(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function Cx(e,t){var r=e.r-t.r,n=t.x-e.x,i=t.y-e.y;return r<0||r*r<n*n+i*i}function lZ(e,t){var r=e.r-t.r+1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function _O(e,t){for(var r=0;r<t.length;++r)if(!lZ(e,t[r]))return!1;return!0}function Eke(e){switch(e.length){case 1:return Cke(e[0]);case 2:return ry(e[0],e[1]);case 3:return fZ(e[0],e[1],e[2])}}function Cke(e){return{x:e.x,y:e.y,r:e.r}}function ry(e,t){var r=e.x,n=e.y,i=e.r,a=t.x,o=t.y,u=t.r,s=a-r,l=o-n,f=u-i,d=Math.sqrt(s*s+l*l);return{x:(r+a+s/d*f)/2,y:(n+o+l/d*f)/2,r:(d+i+u)/2}}function fZ(e,t,r){var n=e.x,i=e.y,a=e.r,o=t.x,u=t.y,s=t.r,l=r.x,f=r.y,d=r.r,h=n-o,p=n-l,v=i-u,S=i-f,y=s-a,m=d-a,x=n*n+i*i-a*a,w=x-o*o-u*u+s*s,E=x-l*l-f*f+d*d,A=p*v-h*S,g=(v*E-S*w)/(A*2)-n,F=(S*y-v*m)/A,P=(p*w-h*E)/(A*2)-i,N=(h*m-p*y)/A,V=F*F+N*N-1,H=2*(a+g*F+P*N),ie=g*g+P*P-a*a,pe=-(V?(H+Math.sqrt(H*H-4*V*ie))/(2*V):ie/H);return{x:n+g+F*pe,y:i+P+N*pe,r:pe}}function Aj(e,t,r){var n=e.x-t.x,i,a,o=e.y-t.y,u,s,l=n*n+o*o;l?(a=t.r+r.r,a*=a,s=e.r+r.r,s*=s,a>s?(i=(l+s-a)/(2*l),u=Math.sqrt(Math.max(0,s/l-i*i)),r.x=e.x-i*n-u*o,r.y=e.y-i*o+u*n):(i=(l+a-s)/(2*l),u=Math.sqrt(Math.max(0,a/l-i*i)),r.x=t.x+i*n-u*o,r.y=t.y+i*o+u*n)):(r.x=t.x+r.r,r.y=t.y)}function kj(e,t){var r=e.r+t.r-1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function Tj(e){var t=e._,r=e.next._,n=t.r+r.r,i=(t.x*r.r+r.x*t.r)/n,a=(t.y*r.r+r.y*t.r)/n;return i*i+a*a}function Ax(e){this._=e,this.next=null,this.previous=null}function cZ(e){if(!(i=e.length))return 0;var t,r,n,i,a,o,u,s,l,f,d;if(t=e[0],t.x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;Aj(r,t,n=e[2]),t=new Ax(t),r=new Ax(r),n=new Ax(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(u=3;u<i;++u){Aj(t._,r._,n=e[u]),n=new Ax(n),s=r.next,l=t.previous,f=r._.r,d=t._.r;do if(f<=d){if(kj(s._,n._)){r=s,t.next=r,r.previous=t,--u;continue e}f+=s._.r,s=s.next}else{if(kj(l._,n._)){t=l,t.next=r,r.previous=t,--u;continue e}d+=l._.r,l=l.previous}while(s!==l.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,a=Tj(t);(n=n.next)!==r;)(o=Tj(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=sZ(t),u=0;u<i;++u)t=e[u],t.x-=n.x,t.y-=n.y;return n.r}function Ake(e){return cZ(e),e}function kke(e){return e==null?null:bS(e)}function bS(e){if(typeof e!="function")throw new Error;return e}function mh(){return 0}function Ov(e){return function(){return e}}function Tke(e){return Math.sqrt(e.value)}function Oke(){var e=null,t=1,r=1,n=mh;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(Oj(e)).eachAfter(SO(n,.5)).eachBefore(Ij(1)):a.eachBefore(Oj(Tke)).eachAfter(SO(mh,1)).eachAfter(SO(n,a.r/Math.min(t,r))).eachBefore(Ij(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=kke(a),i):e},i.size=function(a){return arguments.length?(t=+a[0],r=+a[1],i):[t,r]},i.padding=function(a){return arguments.length?(n=typeof a=="function"?a:Ov(+a),i):n},i}function Oj(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function SO(e,t){return function(r){if(n=r.children){var n,i,a=n.length,o=e(r)*t||0,u;if(o)for(i=0;i<a;++i)n[i].r+=o;if(u=cZ(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=u+o}}}function Ij(e){return function(t){var r=t.parent;t.r*=e,r&&(t.x=r.x+e*t.x,t.y=r.y+e*t.y)}}function dZ(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function xb(e,t,r,n,i){for(var a=e.children,o,u=-1,s=a.length,l=e.value&&(n-t)/e.value;++u<s;)o=a[u],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*l}function Ike(){var e=1,t=1,r=0,n=!1;function i(o){var u=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/u,o.eachBefore(a(t,u)),n&&o.eachBefore(dZ),o}function a(o,u){return function(s){s.children&&xb(s,s.x0,o*(s.depth+1)/u,s.x1,o*(s.depth+2)/u);var l=s.x0,f=s.y0,d=s.x1-r,h=s.y1-r;d<l&&(l=d=(l+d)/2),h<f&&(f=h=(f+h)/2),s.x0=l,s.y0=f,s.x1=d,s.y1=h}}return i.round=function(o){return arguments.length?(n=!!o,i):n},i.size=function(o){return arguments.length?(e=+o[0],t=+o[1],i):[e,t]},i.padding=function(o){return arguments.length?(r=+o,i):r},i}var Rj="$",Rke={depth:-1},Dj={};function Dke(e){return e.id}function Pke(e){return e.parentId}function $ke(){var e=Dke,t=Pke;function r(n){var i,a,o=n.length,u,s,l,f=new Array(o),d,h,p={};for(a=0;a<o;++a)i=n[a],l=f[a]=new Bg(i),(d=e(i,a,n))!=null&&(d+="")&&(h=Rj+(l.id=d),p[h]=h in p?Dj:l);for(a=0;a<o;++a)if(l=f[a],d=t(n[a],a,n),d==null||!(d+="")){if(u)throw new Error("multiple roots");u=l}else{if(s=p[Rj+d],!s)throw new Error("missing: "+d);if(s===Dj)throw new Error("ambiguous: "+d);s.children?s.children.push(l):s.children=[l],l.parent=s}if(!u)throw new Error("no root");if(u.parent=Rke,u.eachBefore(function(v){v.depth=v.parent.depth+1,--o}).eachBefore(uZ),u.parent=null,o>0)throw new Error("cycle");return u}return r.id=function(n){return arguments.length?(e=bS(n),r):e},r.parentId=function(n){return arguments.length?(t=bS(n),r):t},r}function Mke(e,t){return e.parent===t.parent?1:2}function EO(e){var t=e.children;return t?t[0]:e.t}function CO(e){var t=e.children;return t?t[t.length-1]:e.t}function Nke(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function Fke(e){for(var t=0,r=0,n=e.children,i=n.length,a;--i>=0;)a=n[i],a.z+=t,a.m+=t,t+=a.s+(r+=a.c)}function Lke(e,t,r){return e.a.parent===t.parent?e.a:r}function O_(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}O_.prototype=Object.create(Bg.prototype);function Bke(e){for(var t=new O_(e,0),r,n=[t],i,a,o,u;r=n.pop();)if(a=r._.children)for(r.children=new Array(u=a.length),o=u-1;o>=0;--o)n.push(i=r.children[o]=new O_(a[o],o)),i.parent=r;return(t.parent=new O_(null,0)).children=[t],t}function zke(){var e=Mke,t=1,r=1,n=null;function i(l){var f=Bke(l);if(f.eachAfter(a),f.parent.m=-f.z,f.eachBefore(o),n)l.eachBefore(s);else{var d=l,h=l,p=l;l.eachBefore(function(x){x.x<d.x&&(d=x),x.x>h.x&&(h=x),x.depth>p.depth&&(p=x)});var v=d===h?1:e(d,h)/2,S=v-d.x,y=t/(h.x+v+S),m=r/(p.depth||1);l.eachBefore(function(x){x.x=(x.x+S)*y,x.y=x.depth*m})}return l}function a(l){var f=l.children,d=l.parent.children,h=l.i?d[l.i-1]:null;if(f){Fke(l);var p=(f[0].z+f[f.length-1].z)/2;h?(l.z=h.z+e(l._,h._),l.m=l.z-p):l.z=p}else h&&(l.z=h.z+e(l._,h._));l.parent.A=u(l,h,l.parent.A||d[0])}function o(l){l._.x=l.z+l.parent.m,l.m+=l.parent.m}function u(l,f,d){if(f){for(var h=l,p=l,v=f,S=h.parent.children[0],y=h.m,m=p.m,x=v.m,w=S.m,E;v=CO(v),h=EO(h),v&&h;)S=EO(S),p=CO(p),p.a=l,E=v.z+x-h.z-y+e(v._,h._),E>0&&(Nke(Lke(v,l,d),l,E),y+=E,m+=E),x+=v.m,y+=h.m,w+=S.m,m+=p.m;v&&!CO(p)&&(p.t=v,p.m+=x-m),h&&!EO(S)&&(S.t=h,S.m+=y-w,d=l)}return d}function s(l){l.x*=t,l.y=l.depth*r}return i.separation=function(l){return arguments.length?(e=l,i):e},i.size=function(l){return arguments.length?(n=!1,t=+l[0],r=+l[1],i):n?null:[t,r]},i.nodeSize=function(l){return arguments.length?(n=!0,t=+l[0],r=+l[1],i):n?[t,r]:null},i}function nC(e,t,r,n,i){for(var a=e.children,o,u=-1,s=a.length,l=e.value&&(i-r)/e.value;++u<s;)o=a[u],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*l}var hZ=(1+Math.sqrt(5))/2;function pZ(e,t,r,n,i,a){for(var o=[],u=t.children,s,l,f=0,d=0,h=u.length,p,v,S=t.value,y,m,x,w,E,A,g;f<h;){p=i-r,v=a-n;do y=u[d++].value;while(!y&&d<h);for(m=x=y,A=Math.max(v/p,p/v)/(S*e),g=y*y*A,E=Math.max(x/g,g/m);d<h;++d){if(y+=l=u[d].value,l<m&&(m=l),l>x&&(x=l),g=y*y*A,w=Math.max(x/g,g/m),w>E){y-=l;break}E=w}o.push(s={value:y,dice:p<v,children:u.slice(f,d)}),s.dice?xb(s,r,n,i,S?n+=v*y/S:a):nC(s,r,n,S?r+=p*y/S:i,a),S-=y,f=d}return o}const vZ=function e(t){function r(n,i,a,o,u){pZ(t,n,i,a,o,u)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(hZ);function jke(){var e=vZ,t=!1,r=1,n=1,i=[0],a=mh,o=mh,u=mh,s=mh,l=mh;function f(h){return h.x0=h.y0=0,h.x1=r,h.y1=n,h.eachBefore(d),i=[0],t&&h.eachBefore(dZ),h}function d(h){var p=i[h.depth],v=h.x0+p,S=h.y0+p,y=h.x1-p,m=h.y1-p;y<v&&(v=y=(v+y)/2),m<S&&(S=m=(S+m)/2),h.x0=v,h.y0=S,h.x1=y,h.y1=m,h.children&&(p=i[h.depth+1]=a(h)/2,v+=l(h)-p,S+=o(h)-p,y-=u(h)-p,m-=s(h)-p,y<v&&(v=y=(v+y)/2),m<S&&(S=m=(S+m)/2),e(h,v,S,y,m))}return f.round=function(h){return arguments.length?(t=!!h,f):t},f.size=function(h){return arguments.length?(r=+h[0],n=+h[1],f):[r,n]},f.tile=function(h){return arguments.length?(e=bS(h),f):e},f.padding=function(h){return arguments.length?f.paddingInner(h).paddingOuter(h):f.paddingInner()},f.paddingInner=function(h){return arguments.length?(a=typeof h=="function"?h:Ov(+h),f):a},f.paddingOuter=function(h){return arguments.length?f.paddingTop(h).paddingRight(h).paddingBottom(h).paddingLeft(h):f.paddingTop()},f.paddingTop=function(h){return arguments.length?(o=typeof h=="function"?h:Ov(+h),f):o},f.paddingRight=function(h){return arguments.length?(u=typeof h=="function"?h:Ov(+h),f):u},f.paddingBottom=function(h){return arguments.length?(s=typeof h=="function"?h:Ov(+h),f):s},f.paddingLeft=function(h){return arguments.length?(l=typeof h=="function"?h:Ov(+h),f):l},f}function Uke(e,t,r,n,i){var a=e.children,o,u=a.length,s,l=new Array(u+1);for(l[0]=s=o=0;o<u;++o)l[o+1]=s+=a[o].value;f(0,u,e.value,t,r,n,i);function f(d,h,p,v,S,y,m){if(d>=h-1){var x=a[d];x.x0=v,x.y0=S,x.x1=y,x.y1=m;return}for(var w=l[d],E=p/2+w,A=d+1,g=h-1;A<g;){var F=A+g>>>1;l[F]<E?A=F+1:g=F}E-l[A-1]<l[A]-E&&d+1<A&&--A;var P=l[A]-w,N=p-P;if(y-v>m-S){var V=(v*N+y*P)/p;f(d,A,P,v,S,V,m),f(A,h,N,V,S,y,m)}else{var H=(S*N+m*P)/p;f(d,A,P,v,S,y,H),f(A,h,N,v,H,y,m)}}}function qke(e,t,r,n,i){(e.depth&1?nC:xb)(e,t,r,n,i)}const Hke=function e(t){function r(n,i,a,o,u){if((s=n._squarify)&&s.ratio===t)for(var s,l,f,d,h=-1,p,v=s.length,S=n.value;++h<v;){for(l=s[h],f=l.children,d=l.value=0,p=f.length;d<p;++d)l.value+=f[d].value;l.dice?xb(l,i,a,o,a+=(u-a)*l.value/S):nC(l,i,a,i+=(o-i)*l.value/S,u),S-=l.value}else n._squarify=s=pZ(t,n,i,a,o,u),s.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(hZ),Wke=Object.freeze(Object.defineProperty({__proto__:null,cluster:ike,hierarchy:d4,pack:Oke,packEnclose:sZ,packSiblings:Ake,partition:Ike,stratify:$ke,tree:zke,treemap:jke,treemapBinary:Uke,treemapDice:xb,treemapResquarify:Hke,treemapSlice:nC,treemapSliceDice:qke,treemapSquarify:vZ},Symbol.toStringTag,{value:"Module"})),xYe=pp(Wke);function om(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function _b(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function $d(){}var Jh=.7,zg=1/Jh,ug="\\s*([+-]?\\d+)\\s*",O1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Vl="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Gke=/^#([0-9a-f]{3,8})$/,Vke=new RegExp(`^rgb\\(${ug},${ug},${ug}\\)$`),Yke=new RegExp(`^rgb\\(${Vl},${Vl},${Vl}\\)$`),Xke=new RegExp(`^rgba\\(${ug},${ug},${ug},${O1}\\)$`),Kke=new RegExp(`^rgba\\(${Vl},${Vl},${Vl},${O1}\\)$`),Zke=new RegExp(`^hsl\\(${O1},${Vl},${Vl}\\)$`),Qke=new RegExp(`^hsla\\(${O1},${Vl},${Vl},${O1}\\)$`),Pj={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};om($d,I1,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:$j,formatHex:$j,formatHex8:Jke,formatHsl:eTe,formatRgb:Mj,toString:Mj});function $j(){return this.rgb().formatHex()}function Jke(){return this.rgb().formatHex8()}function eTe(){return gZ(this).formatHsl()}function Mj(){return this.rgb().formatRgb()}function I1(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Gke.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Nj(t):r===3?new Za(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?kx(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?kx(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Vke.exec(e))?new Za(t[1],t[2],t[3],1):(t=Yke.exec(e))?new Za(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Xke.exec(e))?kx(t[1],t[2],t[3],t[4]):(t=Kke.exec(e))?kx(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Zke.exec(e))?Bj(t[1],t[2]/100,t[3]/100,1):(t=Qke.exec(e))?Bj(t[1],t[2]/100,t[3]/100,t[4]):Pj.hasOwnProperty(e)?Nj(Pj[e]):e==="transparent"?new Za(NaN,NaN,NaN,0):null}function Nj(e){return new Za(e>>16&255,e>>8&255,e&255,1)}function kx(e,t,r,n){return n<=0&&(e=t=r=NaN),new Za(e,t,r,n)}function h4(e){return e instanceof $d||(e=I1(e)),e?(e=e.rgb(),new Za(e.r,e.g,e.b,e.opacity)):new Za}function wS(e,t,r,n){return arguments.length===1?h4(e):new Za(e,t,r,n??1)}function Za(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}om(Za,wS,_b($d,{brighter(e){return e=e==null?zg:Math.pow(zg,e),new Za(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Jh:Math.pow(Jh,e),new Za(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Za(jh(this.r),jh(this.g),jh(this.b),xS(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Fj,formatHex:Fj,formatHex8:tTe,formatRgb:Lj,toString:Lj}));function Fj(){return`#${Rh(this.r)}${Rh(this.g)}${Rh(this.b)}`}function tTe(){return`#${Rh(this.r)}${Rh(this.g)}${Rh(this.b)}${Rh((isNaN(this.opacity)?1:this.opacity)*255)}`}function Lj(){const e=xS(this.opacity);return`${e===1?"rgb(":"rgba("}${jh(this.r)}, ${jh(this.g)}, ${jh(this.b)}${e===1?")":`, ${e})`}`}function xS(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function jh(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Rh(e){return e=jh(e),(e<16?"0":"")+e.toString(16)}function Bj(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new nl(e,t,r,n)}function gZ(e){if(e instanceof nl)return new nl(e.h,e.s,e.l,e.opacity);if(e instanceof $d||(e=I1(e)),!e)return new nl;if(e instanceof nl)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,u=a-i,s=(a+i)/2;return u?(t===a?o=(r-n)/u+(r<n)*6:r===a?o=(n-t)/u+2:o=(t-r)/u+4,u/=s<.5?a+i:2-a-i,o*=60):u=s>0&&s<1?0:o,new nl(o,u,s,e.opacity)}function m5(e,t,r,n){return arguments.length===1?gZ(e):new nl(e,t,r,n??1)}function nl(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}om(nl,m5,_b($d,{brighter(e){return e=e==null?zg:Math.pow(zg,e),new nl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Jh:Math.pow(Jh,e),new nl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Za(AO(e>=240?e-240:e+120,i,n),AO(e,i,n),AO(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new nl(zj(this.h),Tx(this.s),Tx(this.l),xS(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=xS(this.opacity);return`${e===1?"hsl(":"hsla("}${zj(this.h)}, ${Tx(this.s)*100}%, ${Tx(this.l)*100}%${e===1?")":`, ${e})`}`}}));function zj(e){return e=(e||0)%360,e<0?e+360:e}function Tx(e){return Math.max(0,Math.min(1,e||0))}function AO(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const mZ=Math.PI/180,yZ=180/Math.PI,_S=18,bZ=.96422,wZ=1,xZ=.82521,_Z=4/29,sg=6/29,SZ=3*sg*sg,rTe=sg*sg*sg;function EZ(e){if(e instanceof Yl)return new Yl(e.l,e.a,e.b,e.opacity);if(e instanceof Mf)return CZ(e);e instanceof Za||(e=h4(e));var t=IO(e.r),r=IO(e.g),n=IO(e.b),i=kO((.2225045*t+.7168786*r+.0606169*n)/wZ),a,o;return t===r&&r===n?a=o=i:(a=kO((.4360747*t+.3850649*r+.1430804*n)/bZ),o=kO((.0139322*t+.0971045*r+.7141733*n)/xZ)),new Yl(116*i-16,500*(a-i),200*(i-o),e.opacity)}function y5(e,t,r,n){return arguments.length===1?EZ(e):new Yl(e,t,r,n??1)}function Yl(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}om(Yl,y5,_b($d,{brighter(e){return new Yl(this.l+_S*(e??1),this.a,this.b,this.opacity)},darker(e){return new Yl(this.l-_S*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=bZ*TO(t),e=wZ*TO(e),r=xZ*TO(r),new Za(OO(3.1338561*t-1.6168667*e-.4906146*r),OO(-.9787684*t+1.9161415*e+.033454*r),OO(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function kO(e){return e>rTe?Math.pow(e,1/3):e/SZ+_Z}function TO(e){return e>sg?e*e*e:SZ*(e-_Z)}function OO(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function IO(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function nTe(e){if(e instanceof Mf)return new Mf(e.h,e.c,e.l,e.opacity);if(e instanceof Yl||(e=EZ(e)),e.a===0&&e.b===0)return new Mf(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*yZ;return new Mf(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function b5(e,t,r,n){return arguments.length===1?nTe(e):new Mf(e,t,r,n??1)}function Mf(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function CZ(e){if(isNaN(e.h))return new Yl(e.l,0,0,e.opacity);var t=e.h*mZ;return new Yl(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}om(Mf,b5,_b($d,{brighter(e){return new Mf(this.h,this.c,this.l+_S*(e??1),this.opacity)},darker(e){return new Mf(this.h,this.c,this.l-_S*(e??1),this.opacity)},rgb(){return CZ(this).rgb()}}));var AZ=-.14861,p4=1.78277,v4=-.29227,iC=-.90649,R1=1.97294,jj=R1*iC,Uj=R1*p4,qj=p4*v4-iC*AZ;function iTe(e){if(e instanceof Uh)return new Uh(e.h,e.s,e.l,e.opacity);e instanceof Za||(e=h4(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(qj*n+jj*t-Uj*r)/(qj+jj-Uj),a=n-i,o=(R1*(r-i)-v4*a)/iC,u=Math.sqrt(o*o+a*a)/(R1*i*(1-i)),s=u?Math.atan2(o,a)*yZ-120:NaN;return new Uh(s<0?s+360:s,u,i,e.opacity)}function w5(e,t,r,n){return arguments.length===1?iTe(e):new Uh(e,t,r,n??1)}function Uh(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}om(Uh,w5,_b($d,{brighter(e){return e=e==null?zg:Math.pow(zg,e),new Uh(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Jh:Math.pow(Jh,e),new Uh(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*mZ,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new Za(255*(t+r*(AZ*n+p4*i)),255*(t+r*(v4*n+iC*i)),255*(t+r*(R1*n)),this.opacity)}}));function kZ(e,t,r,n,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*r+(1+3*e+3*a-3*o)*n+o*i)/6}function TZ(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],o=n>0?e[n-1]:2*i-a,u=n<t-1?e[n+2]:2*a-i;return kZ((r-n/t)*t,o,i,a,u)}}function OZ(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],o=e[(n+1)%t],u=e[(n+2)%t];return kZ((r-n/t)*t,i,a,o,u)}}const aC=e=>()=>e;function IZ(e,t){return function(r){return e+r*t}}function aTe(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function oC(e,t){var r=t-e;return r?IZ(e,r>180||r<-180?r-360*Math.round(r/360):r):aC(isNaN(e)?t:e)}function oTe(e){return(e=+e)==1?Qa:function(t,r){return r-t?aTe(t,r,e):aC(isNaN(t)?r:t)}}function Qa(e,t){var r=t-e;return r?IZ(e,r):aC(isNaN(e)?t:e)}const x5=function e(t){var r=oTe(t);function n(i,a){var o=r((i=wS(i)).r,(a=wS(a)).r),u=r(i.g,a.g),s=r(i.b,a.b),l=Qa(i.opacity,a.opacity);return function(f){return i.r=o(f),i.g=u(f),i.b=s(f),i.opacity=l(f),i+""}}return n.gamma=e,n}(1);function RZ(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),a=new Array(r),o,u;for(o=0;o<r;++o)u=wS(t[o]),n[o]=u.r||0,i[o]=u.g||0,a[o]=u.b||0;return n=e(n),i=e(i),a=e(a),u.opacity=1,function(s){return u.r=n(s),u.g=i(s),u.b=a(s),u+""}}}var uTe=RZ(TZ),sTe=RZ(OZ);function g4(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function DZ(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function lTe(e,t){return(DZ(t)?g4:PZ)(e,t)}function PZ(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=uC(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function $Z(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Nl(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function MZ(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=uC(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var _5=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,RO=new RegExp(_5.source,"g");function fTe(e){return function(){return e}}function cTe(e){return function(t){return e(t)+""}}function NZ(e,t){var r=_5.lastIndex=RO.lastIndex=0,n,i,a,o=-1,u=[],s=[];for(e=e+"",t=t+"";(n=_5.exec(e))&&(i=RO.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,s.push({i:o,x:Nl(n,i)})),r=RO.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?s[0]?cTe(s[0].x):fTe(t):(t=s.length,function(l){for(var f=0,d;f<t;++f)u[(d=s[f]).i]=d.x(l);return u.join("")})}function uC(e,t){var r=typeof t,n;return t==null||r==="boolean"?aC(t):(r==="number"?Nl:r==="string"?(n=I1(t))?(t=n,x5):NZ:t instanceof I1?x5:t instanceof Date?$Z:DZ(t)?g4:Array.isArray(t)?PZ:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?MZ:Nl)(e,t)}function dTe(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function hTe(e,t){var r=oC(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function pTe(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var Hj=180/Math.PI,S5={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function FZ(e,t,r,n,i,a){var o,u,s;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(s=e*r+t*n)&&(r-=e*s,n-=t*s),(u=Math.sqrt(r*r+n*n))&&(r/=u,n/=u,s/=u),e*n<t*r&&(e=-e,t=-t,s=-s,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*Hj,skewX:Math.atan(s)*Hj,scaleX:o,scaleY:u}}var Ox;function vTe(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?S5:FZ(t.a,t.b,t.c,t.d,t.e,t.f)}function gTe(e){return e==null||(Ox||(Ox=document.createElementNS("http://www.w3.org/2000/svg","g")),Ox.setAttribute("transform",e),!(e=Ox.transform.baseVal.consolidate()))?S5:(e=e.matrix,FZ(e.a,e.b,e.c,e.d,e.e,e.f))}function LZ(e,t,r,n){function i(l){return l.length?l.pop()+" ":""}function a(l,f,d,h,p,v){if(l!==d||f!==h){var S=p.push("translate(",null,t,null,r);v.push({i:S-4,x:Nl(l,d)},{i:S-2,x:Nl(f,h)})}else(d||h)&&p.push("translate("+d+t+h+r)}function o(l,f,d,h){l!==f?(l-f>180?f+=360:f-l>180&&(l+=360),h.push({i:d.push(i(d)+"rotate(",null,n)-2,x:Nl(l,f)})):f&&d.push(i(d)+"rotate("+f+n)}function u(l,f,d,h){l!==f?h.push({i:d.push(i(d)+"skewX(",null,n)-2,x:Nl(l,f)}):f&&d.push(i(d)+"skewX("+f+n)}function s(l,f,d,h,p,v){if(l!==d||f!==h){var S=p.push(i(p)+"scale(",null,",",null,")");v.push({i:S-4,x:Nl(l,d)},{i:S-2,x:Nl(f,h)})}else(d!==1||h!==1)&&p.push(i(p)+"scale("+d+","+h+")")}return function(l,f){var d=[],h=[];return l=e(l),f=e(f),a(l.translateX,l.translateY,f.translateX,f.translateY,d,h),o(l.rotate,f.rotate,d,h),u(l.skewX,f.skewX,d,h),s(l.scaleX,l.scaleY,f.scaleX,f.scaleY,d,h),l=f=null,function(p){for(var v=-1,S=h.length,y;++v<S;)d[(y=h[v]).i]=y.x(p);return d.join("")}}}var mTe=LZ(vTe,"px, ","px)","deg)"),yTe=LZ(gTe,", ",")",")"),bTe=1e-12;function Wj(e){return((e=Math.exp(e))+1/e)/2}function wTe(e){return((e=Math.exp(e))-1/e)/2}function xTe(e){return((e=Math.exp(2*e))-1)/(e+1)}const _Te=function e(t,r,n){function i(a,o){var u=a[0],s=a[1],l=a[2],f=o[0],d=o[1],h=o[2],p=f-u,v=d-s,S=p*p+v*v,y,m;if(S<bTe)m=Math.log(h/l)/t,y=function(F){return[u+F*p,s+F*v,l*Math.exp(t*F*m)]};else{var x=Math.sqrt(S),w=(h*h-l*l+n*S)/(2*l*r*x),E=(h*h-l*l-n*S)/(2*h*r*x),A=Math.log(Math.sqrt(w*w+1)-w),g=Math.log(Math.sqrt(E*E+1)-E);m=(g-A)/t,y=function(F){var P=F*m,N=Wj(A),V=l/(r*x)*(N*xTe(t*P+A)-wTe(A));return[u+V*p,s+V*v,l*N/Wj(t*P+A)]}}return y.duration=m*1e3*t/Math.SQRT2,y}return i.rho=function(a){var o=Math.max(.001,+a),u=o*o,s=u*u;return e(o,u,s)},i}(Math.SQRT2,2,4);function BZ(e){return function(t,r){var n=e((t=m5(t)).h,(r=m5(r)).h),i=Qa(t.s,r.s),a=Qa(t.l,r.l),o=Qa(t.opacity,r.opacity);return function(u){return t.h=n(u),t.s=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const STe=BZ(oC);var ETe=BZ(Qa);function CTe(e,t){var r=Qa((e=y5(e)).l,(t=y5(t)).l),n=Qa(e.a,t.a),i=Qa(e.b,t.b),a=Qa(e.opacity,t.opacity);return function(o){return e.l=r(o),e.a=n(o),e.b=i(o),e.opacity=a(o),e+""}}function zZ(e){return function(t,r){var n=e((t=b5(t)).h,(r=b5(r)).h),i=Qa(t.c,r.c),a=Qa(t.l,r.l),o=Qa(t.opacity,r.opacity);return function(u){return t.h=n(u),t.c=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const ATe=zZ(oC);var kTe=zZ(Qa);function jZ(e){return function t(r){r=+r;function n(i,a){var o=e((i=w5(i)).h,(a=w5(a)).h),u=Qa(i.s,a.s),s=Qa(i.l,a.l),l=Qa(i.opacity,a.opacity);return function(f){return i.h=o(f),i.s=u(f),i.l=s(Math.pow(f,r)),i.opacity=l(f),i+""}}return n.gamma=t,n}(1)}const TTe=jZ(oC);var OTe=jZ(Qa);function ITe(e,t){t===void 0&&(t=e,e=uC);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function RTe(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const DTe=Object.freeze(Object.defineProperty({__proto__:null,interpolate:uC,interpolateArray:lTe,interpolateBasis:TZ,interpolateBasisClosed:OZ,interpolateCubehelix:TTe,interpolateCubehelixLong:OTe,interpolateDate:$Z,interpolateDiscrete:dTe,interpolateHcl:ATe,interpolateHclLong:kTe,interpolateHsl:STe,interpolateHslLong:ETe,interpolateHue:hTe,interpolateLab:CTe,interpolateNumber:Nl,interpolateNumberArray:g4,interpolateObject:MZ,interpolateRgb:x5,interpolateRgbBasis:uTe,interpolateRgbBasisClosed:sTe,interpolateRound:pTe,interpolateString:NZ,interpolateTransformCss:mTe,interpolateTransformSvg:yTe,interpolateZoom:_Te,piecewise:ITe,quantize:RTe},Symbol.toStringTag,{value:"Module"})),_Ye=pp(DTe);var PTe="Expected a function",UZ="__lodash_hash_undefined__",qZ=1/0,$Te=9007199254740991,MTe="[object Function]",NTe="[object GeneratorFunction]",FTe="[object Symbol]",LTe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,BTe=/^\w*$/,zTe=/^\./,jTe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,UTe=/[\\^$.*+?()[\]{}|]/g,qTe=/\\(\\)?/g,HTe=/^\[object .+?Constructor\]$/,WTe=/^(?:0|[1-9]\d*)$/,GTe=typeof qt=="object"&&qt&&qt.Object===Object&&qt,VTe=typeof self=="object"&&self&&self.Object===Object&&self,m4=GTe||VTe||Function("return this")();function YTe(e,t){return e?.[t]}function XTe(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var KTe=Array.prototype,ZTe=Function.prototype,HZ=Object.prototype,DO=m4["__core-js_shared__"],Gj=function(){var e=/[^.]+$/.exec(DO&&DO.keys&&DO.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),WZ=ZTe.toString,sC=HZ.hasOwnProperty,GZ=HZ.toString,QTe=RegExp("^"+WZ.call(sC).replace(UTe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vj=m4.Symbol,JTe=KTe.splice,eOe=VZ(m4,"Map"),D1=VZ(Object,"create"),Yj=Vj?Vj.prototype:void 0,Xj=Yj?Yj.toString:void 0;function ep(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function tOe(){this.__data__=D1?D1(null):{}}function rOe(e){return this.has(e)&&delete this.__data__[e]}function nOe(e){var t=this.__data__;if(D1){var r=t[e];return r===UZ?void 0:r}return sC.call(t,e)?t[e]:void 0}function iOe(e){var t=this.__data__;return D1?t[e]!==void 0:sC.call(t,e)}function aOe(e,t){var r=this.__data__;return r[e]=D1&&t===void 0?UZ:t,this}ep.prototype.clear=tOe;ep.prototype.delete=rOe;ep.prototype.get=nOe;ep.prototype.has=iOe;ep.prototype.set=aOe;function um(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function oOe(){this.__data__=[]}function uOe(e){var t=this.__data__,r=lC(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():JTe.call(t,r,1),!0}function sOe(e){var t=this.__data__,r=lC(t,e);return r<0?void 0:t[r][1]}function lOe(e){return lC(this.__data__,e)>-1}function fOe(e,t){var r=this.__data__,n=lC(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}um.prototype.clear=oOe;um.prototype.delete=uOe;um.prototype.get=sOe;um.prototype.has=lOe;um.prototype.set=fOe;function kp(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function cOe(){this.__data__={hash:new ep,map:new(eOe||um),string:new ep}}function dOe(e){return fC(this,e).delete(e)}function hOe(e){return fC(this,e).get(e)}function pOe(e){return fC(this,e).has(e)}function vOe(e,t){return fC(this,e).set(e,t),this}kp.prototype.clear=cOe;kp.prototype.delete=dOe;kp.prototype.get=hOe;kp.prototype.has=pOe;kp.prototype.set=vOe;function gOe(e,t,r){var n=e[t];(!(sC.call(e,t)&&YZ(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function lC(e,t){for(var r=e.length;r--;)if(YZ(e[r][0],t))return r;return-1}function mOe(e){if(!SS(e)||EOe(e))return!1;var t=TOe(e)||XTe(e)?QTe:HTe;return t.test(kOe(e))}function yOe(e,t,r,n){if(!SS(e))return e;t=_Oe(t,e)?[t]:wOe(t);for(var i=-1,a=t.length,o=a-1,u=e;u!=null&&++i<a;){var s=AOe(t[i]),l=r;if(i!=o){var f=u[s];l=n?n(f,s,u):void 0,l===void 0&&(l=SS(f)?f:xOe(t[i+1])?[]:{})}gOe(u,s,l),u=u[s]}return e}function bOe(e){if(typeof e=="string")return e;if(b4(e))return Xj?Xj.call(e):"";var t=e+"";return t=="0"&&1/e==-qZ?"-0":t}function wOe(e){return XZ(e)?e:COe(e)}function fC(e,t){var r=e.__data__;return SOe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function VZ(e,t){var r=YTe(e,t);return mOe(r)?r:void 0}function xOe(e,t){return t=t??$Te,!!t&&(typeof e=="number"||WTe.test(e))&&e>-1&&e%1==0&&e<t}function _Oe(e,t){if(XZ(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||b4(e)?!0:BTe.test(e)||!LTe.test(e)||t!=null&&e in Object(t)}function SOe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function EOe(e){return!!Gj&&Gj in e}var COe=y4(function(e){e=IOe(e);var t=[];return zTe.test(e)&&t.push(""),e.replace(jTe,function(r,n,i,a){t.push(i?a.replace(qTe,"$1"):n||r)}),t});function AOe(e){if(typeof e=="string"||b4(e))return e;var t=e+"";return t=="0"&&1/e==-qZ?"-0":t}function kOe(e){if(e!=null){try{return WZ.call(e)}catch{}try{return e+""}catch{}}return""}function y4(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(PTe);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o),o};return r.cache=new(y4.Cache||kp),r}y4.Cache=kp;function YZ(e,t){return e===t||e!==e&&t!==t}var XZ=Array.isArray;function TOe(e){var t=SS(e)?GZ.call(e):"";return t==MTe||t==NTe}function SS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function OOe(e){return!!e&&typeof e=="object"}function b4(e){return typeof e=="symbol"||OOe(e)&&GZ.call(e)==FTe}function IOe(e){return e==null?"":bOe(e)}function ROe(e,t,r){return e==null?e:yOe(e,t,r)}var SYe=ROe;function KZ(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(o){return function(u){return typeof u=="function"?u(i,a,e):o(u)}}};return t}var ZZ=KZ();ZZ.withExtraArgument=KZ;const EYe=ZZ;function Ix(e){return e.charAt(0)==="/"}function PO(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}function DOe(e,t){t===void 0&&(t="");var r=e&&e.split("/")||[],n=t&&t.split("/")||[],i=e&&Ix(e),a=t&&Ix(t),o=i||a;if(e&&Ix(e)?n=r:r.length&&(n.pop(),n=n.concat(r)),!n.length)return"/";var u;if(n.length){var s=n[n.length-1];u=s==="."||s===".."||s===""}else u=!1;for(var l=0,f=n.length;f>=0;f--){var d=n[f];d==="."?PO(n,f):d===".."?(PO(n,f),l++):l&&(PO(n,f),l--)}if(!o)for(;l--;l)n.unshift("..");o&&n[0]!==""&&(!n[0]||!Ix(n[0]))&&n.unshift("");var h=n.join("/");return u&&h.substr(-1)!=="/"&&(h+="/"),h}function Kj(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function I_(e,t){if(e===t)return!0;if(e==null||t==null)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(i,a){return I_(i,t[a])});if(typeof e=="object"||typeof t=="object"){var r=Kj(e),n=Kj(t);return r!==e||n!==t?I_(r,n):Object.keys(Object.assign({},e,t)).every(function(i){return I_(e[i],t[i])})}return!1}function Fy(e){return e.charAt(0)==="/"?e:"/"+e}function Zj(e){return e.charAt(0)==="/"?e.substr(1):e}function POe(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function QZ(e,t){return POe(e,t)?e.substr(t.length):e}function JZ(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function $Oe(e){var t=e||"/",r="",n="",i=t.indexOf("#");i!==-1&&(n=t.substr(i),t=t.substr(0,i));var a=t.indexOf("?");return a!==-1&&(r=t.substr(a),t=t.substr(0,a)),{pathname:t,search:r==="?"?"":r,hash:n==="#"?"":n}}function pu(e){var t=e.pathname,r=e.search,n=e.hash,i=t||"/";return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(i+=n.charAt(0)==="#"?n:"#"+n),i}function Ko(e,t,r,n){var i;typeof e=="string"?(i=$Oe(e),i.state=t):(i=yr({},e),i.pathname===void 0&&(i.pathname=""),i.search?i.search.charAt(0)!=="?"&&(i.search="?"+i.search):i.search="",i.hash?i.hash.charAt(0)!=="#"&&(i.hash="#"+i.hash):i.hash="",t!==void 0&&i.state===void 0&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return r&&(i.key=r),n?i.pathname?i.pathname.charAt(0)!=="/"&&(i.pathname=DOe(i.pathname,n.pathname)):i.pathname=n.pathname:i.pathname||(i.pathname="/"),i}function MOe(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&I_(e.state,t.state)}function w4(){var e=null;function t(o){return e=o,function(){e===o&&(e=null)}}function r(o,u,s,l){if(e!=null){var f=typeof e=="function"?e(o,u):e;typeof f=="string"?typeof s=="function"?s(f,l):l(!0):l(f!==!1)}else l(!0)}var n=[];function i(o){var u=!0;function s(){u&&o.apply(void 0,arguments)}return n.push(s),function(){u=!1,n=n.filter(function(l){return l!==s})}}function a(){for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];n.forEach(function(l){return l.apply(void 0,u)})}return{setPrompt:t,confirmTransitionTo:r,appendListener:i,notifyListeners:a}}var eQ=!!(typeof window<"u"&&window.document&&window.document.createElement);function tQ(e,t){t(window.confirm(e))}function NOe(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function FOe(){return window.navigator.userAgent.indexOf("Trident")===-1}function LOe(){return window.navigator.userAgent.indexOf("Firefox")===-1}function BOe(e){return e.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var Qj="popstate",Jj="hashchange";function eU(){try{return window.history.state||{}}catch{return{}}}function zOe(e){e===void 0&&(e={}),eQ||tf(!1);var t=window.history,r=NOe(),n=!FOe(),i=e,a=i.forceRefresh,o=a===void 0?!1:a,u=i.getUserConfirmation,s=u===void 0?tQ:u,l=i.keyLength,f=l===void 0?6:l,d=e.basename?JZ(Fy(e.basename)):"";function h(Z){var ee=Z||{},R=ee.key,re=ee.state,se=window.location,ge=se.pathname,Ce=se.search,ke=se.hash,Ke=ge+Ce+ke;return d&&(Ke=QZ(Ke,d)),Ko(Ke,re,R)}function p(){return Math.random().toString(36).substr(2,f)}var v=w4();function S(Z){yr(G,Z),G.length=t.length,v.notifyListeners(G.location,G.action)}function y(Z){BOe(Z)||w(h(Z.state))}function m(){w(h(eU()))}var x=!1;function w(Z){if(x)x=!1,S();else{var ee="POP";v.confirmTransitionTo(Z,ee,s,function(R){R?S({action:ee,location:Z}):E(Z)})}}function E(Z){var ee=G.location,R=g.indexOf(ee.key);R===-1&&(R=0);var re=g.indexOf(Z.key);re===-1&&(re=0);var se=R-re;se&&(x=!0,V(se))}var A=h(eU()),g=[A.key];function F(Z){return d+pu(Z)}function P(Z,ee){var R="PUSH",re=Ko(Z,ee,p(),G.location);v.confirmTransitionTo(re,R,s,function(se){if(se){var ge=F(re),Ce=re.key,ke=re.state;if(r)if(t.pushState({key:Ce,state:ke},null,ge),o)window.location.href=ge;else{var Ke=g.indexOf(G.location.key),Ee=g.slice(0,Ke+1);Ee.push(re.key),g=Ee,S({action:R,location:re})}else window.location.href=ge}})}function N(Z,ee){var R="REPLACE",re=Ko(Z,ee,p(),G.location);v.confirmTransitionTo(re,R,s,function(se){if(se){var ge=F(re),Ce=re.key,ke=re.state;if(r)if(t.replaceState({key:Ce,state:ke},null,ge),o)window.location.replace(ge);else{var Ke=g.indexOf(G.location.key);Ke!==-1&&(g[Ke]=re.key),S({action:R,location:re})}else window.location.replace(ge)}})}function V(Z){t.go(Z)}function H(){V(-1)}function ie(){V(1)}var pe=0;function de(Z){pe+=Z,pe===1&&Z===1?(window.addEventListener(Qj,y),n&&window.addEventListener(Jj,m)):pe===0&&(window.removeEventListener(Qj,y),n&&window.removeEventListener(Jj,m))}var Be=!1;function Fe(Z){Z===void 0&&(Z=!1);var ee=v.setPrompt(Z);return Be||(de(1),Be=!0),function(){return Be&&(Be=!1,de(-1)),ee()}}function M(Z){var ee=v.appendListener(Z);return de(1),function(){de(-1),ee()}}var G={length:t.length,action:"POP",location:A,createHref:F,push:P,replace:N,go:V,goBack:H,goForward:ie,block:Fe,listen:M};return G}var tU="hashchange",jOe={hashbang:{encodePath:function(t){return t.charAt(0)==="!"?t:"!/"+Zj(t)},decodePath:function(t){return t.charAt(0)==="!"?t.substr(1):t}},noslash:{encodePath:Zj,decodePath:Fy},slash:{encodePath:Fy,decodePath:Fy}};function rQ(e){var t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function P0(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)}function UOe(e){window.location.hash=e}function $O(e){window.location.replace(rQ(window.location.href)+"#"+e)}function qOe(e){e===void 0&&(e={}),eQ||tf(!1);var t=window.history;LOe();var r=e,n=r.getUserConfirmation,i=n===void 0?tQ:n,a=r.hashType,o=a===void 0?"slash":a,u=e.basename?JZ(Fy(e.basename)):"",s=jOe[o],l=s.encodePath,f=s.decodePath;function d(){var ee=f(P0());return u&&(ee=QZ(ee,u)),Ko(ee)}var h=w4();function p(ee){yr(Z,ee),Z.length=t.length,h.notifyListeners(Z.location,Z.action)}var v=!1,S=null;function y(ee,R){return ee.pathname===R.pathname&&ee.search===R.search&&ee.hash===R.hash}function m(){var ee=P0(),R=l(ee);if(ee!==R)$O(R);else{var re=d(),se=Z.location;if(!v&&y(se,re)||S===pu(re))return;S=null,x(re)}}function x(ee){if(v)v=!1,p();else{var R="POP";h.confirmTransitionTo(ee,R,i,function(re){re?p({action:R,location:ee}):w(ee)})}}function w(ee){var R=Z.location,re=F.lastIndexOf(pu(R));re===-1&&(re=0);var se=F.lastIndexOf(pu(ee));se===-1&&(se=0);var ge=re-se;ge&&(v=!0,H(ge))}var E=P0(),A=l(E);E!==A&&$O(A);var g=d(),F=[pu(g)];function P(ee){var R=document.querySelector("base"),re="";return R&&R.getAttribute("href")&&(re=rQ(window.location.href)),re+"#"+l(u+pu(ee))}function N(ee,R){var re="PUSH",se=Ko(ee,void 0,void 0,Z.location);h.confirmTransitionTo(se,re,i,function(ge){if(ge){var Ce=pu(se),ke=l(u+Ce),Ke=P0()!==ke;if(Ke){S=Ce,UOe(ke);var Ee=F.lastIndexOf(pu(Z.location)),Se=F.slice(0,Ee+1);Se.push(Ce),F=Se,p({action:re,location:se})}else p()}})}function V(ee,R){var re="REPLACE",se=Ko(ee,void 0,void 0,Z.location);h.confirmTransitionTo(se,re,i,function(ge){if(ge){var Ce=pu(se),ke=l(u+Ce),Ke=P0()!==ke;Ke&&(S=Ce,$O(ke));var Ee=F.indexOf(pu(Z.location));Ee!==-1&&(F[Ee]=Ce),p({action:re,location:se})}})}function H(ee){t.go(ee)}function ie(){H(-1)}function pe(){H(1)}var de=0;function Be(ee){de+=ee,de===1&&ee===1?window.addEventListener(tU,m):de===0&&window.removeEventListener(tU,m)}var Fe=!1;function M(ee){ee===void 0&&(ee=!1);var R=h.setPrompt(ee);return Fe||(Be(1),Fe=!0),function(){return Fe&&(Fe=!1,Be(-1)),R()}}function G(ee){var R=h.appendListener(ee);return Be(1),function(){Be(-1),R()}}var Z={length:t.length,action:"POP",location:g,createHref:P,push:N,replace:V,go:H,goBack:ie,goForward:pe,block:M,listen:G};return Z}function rU(e,t,r){return Math.min(Math.max(e,t),r)}function HOe(e){e===void 0&&(e={});var t=e,r=t.getUserConfirmation,n=t.initialEntries,i=n===void 0?["/"]:n,a=t.initialIndex,o=a===void 0?0:a,u=t.keyLength,s=u===void 0?6:u,l=w4();function f(P){yr(F,P),F.length=F.entries.length,l.notifyListeners(F.location,F.action)}function d(){return Math.random().toString(36).substr(2,s)}var h=rU(o,0,i.length-1),p=i.map(function(P){return typeof P=="string"?Ko(P,void 0,d()):Ko(P,void 0,P.key||d())}),v=pu;function S(P,N){var V="PUSH",H=Ko(P,N,d(),F.location);l.confirmTransitionTo(H,V,r,function(ie){if(ie){var pe=F.index,de=pe+1,Be=F.entries.slice(0);Be.length>de?Be.splice(de,Be.length-de,H):Be.push(H),f({action:V,location:H,index:de,entries:Be})}})}function y(P,N){var V="REPLACE",H=Ko(P,N,d(),F.location);l.confirmTransitionTo(H,V,r,function(ie){ie&&(F.entries[F.index]=H,f({action:V,location:H}))})}function m(P){var N=rU(F.index+P,0,F.entries.length-1),V="POP",H=F.entries[N];l.confirmTransitionTo(H,V,r,function(ie){ie?f({action:V,location:H,index:N}):f()})}function x(){m(-1)}function w(){m(1)}function E(P){var N=F.index+P;return N>=0&&N<F.entries.length}function A(P){return P===void 0&&(P=!1),l.setPrompt(P)}function g(P){return l.appendListener(P)}var F={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:v,push:S,replace:y,go:m,goBack:x,goForward:w,canGo:E,block:A,listen:g};return F}var MO=1073741823,nU=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function WOe(){var e="__global_unique_id__";return nU[e]=(nU[e]||0)+1}function GOe(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function VOe(e){var t=[];return{on:function(n){t.push(n)},off:function(n){t=t.filter(function(i){return i!==n})},get:function(){return e},set:function(n,i){e=n,t.forEach(function(a){return a(e,i)})}}}function YOe(e){return Array.isArray(e)?e[0]:e}function XOe(e,t){var r,n,i="__create-react-context-"+WOe()+"__",a=function(u){Po(s,u);function s(){var f;return f=u.apply(this,arguments)||this,f.emitter=VOe(f.props.value),f}var l=s.prototype;return l.getChildContext=function(){var d;return d={},d[i]=this.emitter,d},l.componentWillReceiveProps=function(d){if(this.props.value!==d.value){var h=this.props.value,p=d.value,v;GOe(h,p)?v=0:(v=typeof t=="function"?t(h,p):MO,v|=0,v!==0&&this.emitter.set(d.value,v))}},l.render=function(){return this.props.children},s}(Le.Component);a.childContextTypes=(r={},r[i]=un.object.isRequired,r);var o=function(u){Po(s,u);function s(){var f;return f=u.apply(this,arguments)||this,f.state={value:f.getValue()},f.onUpdate=function(d,h){var p=f.observedBits|0;p&h&&f.setState({value:f.getValue()})},f}var l=s.prototype;return l.componentWillReceiveProps=function(d){var h=d.observedBits;this.observedBits=h??MO},l.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var d=this.props.observedBits;this.observedBits=d??MO},l.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},l.getValue=function(){return this.context[i]?this.context[i].get():e},l.render=function(){return YOe(this.props.children)(this.state.value)},s}(Le.Component);return o.contextTypes=(n={},n[i]=un.object,n),{Provider:a,Consumer:o}}var KOe=zt.createContext||XOe,_d={},ZOe={get exports(){return _d},set exports(e){_d=e}},QOe=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},ES=QOe;ZOe.exports=aQ;_d.parse=x4;_d.compile=e3e;_d.tokensToFunction=nQ;_d.tokensToRegExp=iQ;var JOe=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function x4(e,t){for(var r=[],n=0,i=0,a="",o=t&&t.delimiter||"/",u;(u=JOe.exec(e))!=null;){var s=u[0],l=u[1],f=u.index;if(a+=e.slice(i,f),i=f+s.length,l){a+=l[1];continue}var d=e[i],h=u[2],p=u[3],v=u[4],S=u[5],y=u[6],m=u[7];a&&(r.push(a),a="");var x=h!=null&&d!=null&&d!==h,w=y==="+"||y==="*",E=y==="?"||y==="*",A=u[2]||o,g=v||S;r.push({name:p||n++,prefix:h||"",delimiter:A,optional:E,repeat:w,partial:x,asterisk:!!m,pattern:g?n3e(g):m?".*":"[^"+R_(A)+"]+?"})}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function e3e(e,t){return nQ(x4(e,t),t)}function t3e(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function r3e(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function nQ(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",S4(t)));return function(i,a){for(var o="",u=i||{},s=a||{},l=s.pretty?t3e:encodeURIComponent,f=0;f<e.length;f++){var d=e[f];if(typeof d=="string"){o+=d;continue}var h=u[d.name],p;if(h==null)if(d.optional){d.partial&&(o+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(ES(h)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(h.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var v=0;v<h.length;v++){if(p=l(h[v]),!r[f].test(p))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(p)+"`");o+=(v===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?r3e(h):l(h),!r[f].test(p))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+p+'"');o+=d.prefix+p}return o}}function R_(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function n3e(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function _4(e,t){return e.keys=t,e}function S4(e){return e&&e.sensitive?"":"i"}function i3e(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return _4(e,t)}function a3e(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(aQ(e[i],t,r).source);var a=new RegExp("(?:"+n.join("|")+")",S4(r));return _4(a,t)}function o3e(e,t,r){return iQ(x4(e,r),t,r)}function iQ(e,t,r){ES(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,i=r.end!==!1,a="",o=0;o<e.length;o++){var u=e[o];if(typeof u=="string")a+=R_(u);else{var s=R_(u.prefix),l="(?:"+u.pattern+")";t.push(u),u.repeat&&(l+="(?:"+s+l+")*"),u.optional?u.partial?l=s+"("+l+")?":l="(?:"+s+"("+l+"))?":l=s+"("+l+")",a+=l}}var f=R_(r.delimiter||"/"),d=a.slice(-f.length)===f;return n||(a=(d?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),i?a+="$":a+=n&&d?"":"(?="+f+"|$)",_4(new RegExp("^"+a,S4(r)),t)}function aQ(e,t,r){return ES(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?i3e(e,t):ES(e)?a3e(e,t,r):o3e(e,t,r)}var oQ=function(t){var r=KOe();return r.displayName=t,r},u3e=oQ("Router-History"),Sd=oQ("Router"),cC=function(e){Po(t,e),t.computeRootMatch=function(i){return{path:"/",url:"/",params:{},isExact:i==="/"}};function t(n){var i;return i=e.call(this,n)||this,i.state={location:n.history.location},i._isMounted=!1,i._pendingLocation=null,n.staticContext||(i.unlisten=n.history.listen(function(a){i._isMounted?i.setState({location:a}):i._pendingLocation=a})),i}var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},r.render=function(){return zt.createElement(Sd.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},zt.createElement(u3e.Provider,{children:this.props.children||null,value:this.props.history}))},t}(zt.Component);zt.Component;var s3e=function(e){Po(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},r.componentDidUpdate=function(i){this.props.onUpdate&&this.props.onUpdate.call(this,this,i)},r.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},r.render=function(){return null},t}(zt.Component),NO={},l3e=1e4,iU=0;function f3e(e){if(NO[e])return NO[e];var t=_d.compile(e);return iU<l3e&&(NO[e]=t,iU++),t}function aU(e,t){return e===void 0&&(e="/"),t===void 0&&(t={}),e==="/"?e:f3e(e)(t,{pretty:!0})}function CYe(e){var t=e.computedMatch,r=e.to,n=e.push,i=n===void 0?!1:n;return zt.createElement(Sd.Consumer,null,function(a){a||tf(!1);var o=a.history,u=a.staticContext,s=i?o.push:o.replace,l=Ko(t?typeof r=="string"?aU(r,t.params):yr({},r,{pathname:aU(r.pathname,t.params)}):r);return u?(s(l),null):zt.createElement(s3e,{onMount:function(){s(l)},onUpdate:function(d,h){var p=Ko(h.to);MOe(p,yr({},l,{key:p.key}))||s(l)},to:r})})}var oU={},c3e=1e4,uU=0;function d3e(e,t){var r=""+t.end+t.strict+t.sensitive,n=oU[r]||(oU[r]={});if(n[e])return n[e];var i=[],a=_d(e,i,t),o={regexp:a,keys:i};return uU<c3e&&(n[e]=o,uU++),o}function E4(e,t){t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,i=r.exact,a=i===void 0?!1:i,o=r.strict,u=o===void 0?!1:o,s=r.sensitive,l=s===void 0?!1:s,f=[].concat(n);return f.reduce(function(d,h){if(!h&&h!=="")return null;if(d)return d;var p=d3e(h,{end:a,strict:u,sensitive:l}),v=p.regexp,S=p.keys,y=v.exec(e);if(!y)return null;var m=y[0],x=y.slice(1),w=e===m;return a&&!w?null:{path:h,url:h==="/"&&m===""?"/":m,isExact:w,params:S.reduce(function(E,A,g){return E[A.name]=x[g],E},{})}},null)}function h3e(e){return zt.Children.count(e)===0}var AYe=function(e){Po(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var i=this;return zt.createElement(Sd.Consumer,null,function(a){a||tf(!1);var o=i.props.location||a.location,u=i.props.computedMatch?i.props.computedMatch:i.props.path?E4(o.pathname,i.props):a.match,s=yr({},a,{location:o,match:u}),l=i.props,f=l.children,d=l.component,h=l.render;return Array.isArray(f)&&h3e(f)&&(f=null),zt.createElement(Sd.Provider,{value:s},s.match?f?typeof f=="function"?f(s):f:d?zt.createElement(d,s):h?h(s):null:typeof f=="function"?f(s):null)})},t}(zt.Component);function C4(e){return e.charAt(0)==="/"?e:"/"+e}function p3e(e,t){return e?yr({},t,{pathname:C4(e)+t.pathname}):t}function v3e(e,t){if(!e)return t;var r=C4(e);return t.pathname.indexOf(r)!==0?t:yr({},t,{pathname:t.pathname.substr(r.length)})}function sU(e){return typeof e=="string"?e:pu(e)}function FO(e){return function(){tf(!1)}}function lU(){}zt.Component;var kYe=function(e){Po(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var i=this;return zt.createElement(Sd.Consumer,null,function(a){a||tf(!1);var o=i.props.location||a.location,u,s;return zt.Children.forEach(i.props.children,function(l){if(s==null&&zt.isValidElement(l)){u=l;var f=l.props.path||l.props.from;s=f?E4(o.pathname,yr({},l.props,{path:f})):a.match}}),s?zt.cloneElement(u,{location:o,computedMatch:s}):null})},t}(zt.Component);function TYe(e){var t="withRouter("+(e.displayName||e.name)+")",r=function(i){var a=i.wrappedComponentRef,o=ks(i,["wrappedComponentRef"]);return zt.createElement(Sd.Consumer,null,function(u){return u||tf(!1),zt.createElement(e,yr({},o,u,{ref:a}))})};return r.displayName=t,r.WrappedComponent=e,gR(r,e)}zt.useContext;var OYe=function(e){Po(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.history=zOe(n.props),n}var r=t.prototype;return r.render=function(){return zt.createElement(cC,{history:this.history,children:this.props.children})},t}(zt.Component);zt.Component;var E5=function(t,r){return typeof t=="function"?t(r):t},C5=function(t,r){return typeof t=="string"?Ko(t,null,null,r):t},A4=function(t){return t},jg=zt.forwardRef;typeof jg>"u"&&(jg=A4);function g3e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var m3e=jg(function(e,t){var r=e.innerRef,n=e.navigate,i=e.onClick,a=ks(e,["innerRef","navigate","onClick"]),o=a.target,u=yr({},a,{onClick:function(l){try{i&&i(l)}catch(f){throw l.preventDefault(),f}!l.defaultPrevented&&l.button===0&&(!o||o==="_self")&&!g3e(l)&&(l.preventDefault(),n())}});return A4!==jg?u.ref=t||r:u.ref=r,zt.createElement("a",u)}),y3e=jg(function(e,t){var r=e.component,n=r===void 0?m3e:r,i=e.replace,a=e.to,o=e.innerRef,u=ks(e,["component","replace","to","innerRef"]);return zt.createElement(Sd.Consumer,null,function(s){s||tf(!1);var l=s.history,f=C5(E5(a,s.location),s.location),d=f?l.createHref(f):"",h=yr({},u,{href:d,navigate:function(){var v=E5(a,s.location),S=pu(s.location)===pu(C5(v)),y=i||S?l.replace:l.push;y(v)}});return A4!==jg?h.ref=t||o:h.innerRef=o,zt.createElement(n,h)})}),uQ=function(t){return t},CS=zt.forwardRef;typeof CS>"u"&&(CS=uQ);function b3e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(n){return n}).join(" ")}CS(function(e,t){var r=e["aria-current"],n=r===void 0?"page":r,i=e.activeClassName,a=i===void 0?"active":i,o=e.activeStyle,u=e.className,s=e.exact,l=e.isActive,f=e.location,d=e.sensitive,h=e.strict,p=e.style,v=e.to,S=e.innerRef,y=ks(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return zt.createElement(Sd.Consumer,null,function(m){m||tf(!1);var x=f||m.location,w=C5(E5(v,x),x),E=w.pathname,A=E&&E.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),g=A?E4(x.pathname,{path:A,exact:s,sensitive:d,strict:h}):null,F=!!(l?l(g,x):g),P=typeof u=="function"?u(F):u,N=typeof p=="function"?p(F):p;F&&(P=b3e(P,a),N=yr({},N,o));var V=yr({"aria-current":F&&n||null,className:P,style:N,to:w},y);return uQ!==CS?V.ref=t||S:V.innerRef=S,zt.createElement(y3e,V)})});/*! js-cookie v3.0.5 | MIT */function Rx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var w3e={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function A5(e,t){function r(i,a,o){if(!(typeof document>"u")){o=Rx({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var s in o)o[s]&&(u+="; "+s,o[s]!==!0&&(u+="="+o[s].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+u}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},u=0;u<a.length;u++){var s=a[u].split("="),l=s.slice(1).join("=");try{var f=decodeURIComponent(s[0]);if(o[f]=e.read(l,f),i===f)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Rx({},a,{expires:-1}))},withAttributes:function(i){return A5(this.converter,Rx({},this.attributes,i))},withConverter:function(i){return A5(Rx({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var IYe=A5(w3e,{path:"/"});function RYe(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:n=l=>l.id||l.key,filter:i,initialFilterText:a=""}=e,[o,u]=Le.useState({items:t,selectedKeys:r==="all"?"all":new Set(r||[]),filterText:a}),s=Le.useMemo(()=>i?o.items.filter(l=>i(l,o.filterText)):o.items,[o.items,o.filterText,i]);return{...o,items:s,...x3e({getKey:n},u),getItem(l){return o.items.find(f=>n(f)===l)}}}function x3e(e,t){let{cursor:r,getKey:n}=e;return{setSelectedKeys(i){t(a=>({...a,selectedKeys:i}))},setFilterText(i){t(a=>({...a,filterText:i}))},insert(i,...a){t(o=>$0(o,i,...a))},insertBefore(i,...a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);if(u===-1)if(o.items.length===0)u=0;else return o;return $0(o,u,...a)})},insertAfter(i,...a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);if(u===-1)if(o.items.length===0)u=0;else return o;return $0(o,u+1,...a)})},prepend(...i){t(a=>$0(a,0,...i))},append(...i){t(a=>$0(a,a.items.length,...i))},remove(...i){t(a=>{let o=new Set(i),u=a.items.filter(l=>!o.has(n(l))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let l of i)s.delete(l)}return r==null&&u.length===0&&(s=new Set),{...a,items:u,selectedKeys:s}})},removeSelectedItems(){t(i=>{if(i.selectedKeys==="all")return{...i,items:[],selectedKeys:new Set};let a=i.selectedKeys,o=i.items.filter(u=>!a.has(n(u)));return{...i,items:o,selectedKeys:new Set}})},move(i,a){t(o=>{let u=o.items.findIndex(f=>n(f)===i);if(u===-1)return o;let s=o.items.slice(),[l]=s.splice(u,1);return s.splice(a,0,l),{...o,items:s}})},moveBefore(i,a){t(o=>{let u=o.items.findIndex(f=>n(f)===i);if(u===-1)return o;let l=(Array.isArray(a)?a:[...a]).map(f=>o.items.findIndex(d=>n(d)===f)).sort();return fU(o,l,u)})},moveAfter(i,a){t(o=>{let u=o.items.findIndex(f=>n(f)===i);if(u===-1)return o;let l=(Array.isArray(a)?a:[...a]).map(f=>o.items.findIndex(d=>n(d)===f)).sort();return fU(o,l,u+1)})},update(i,a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);return u===-1?o:{...o,items:[...o.items.slice(0,u),a,...o.items.slice(u+1)]}})}}}function $0(e,t,...r){return{...e,items:[...e.items.slice(0,t),...r,...e.items.slice(t)]}}function fU(e,t,r){r-=t.filter(a=>a<r).length;let n=t.map(a=>({from:a,to:r++}));for(let a=0;a<n.length;a++){let o=n[a].from;for(let u=a;u<n.length;u++)n[u].from>o&&n[u].from--}for(let a=0;a<n.length;a++){let o=n[a];for(let u=n.length-1;u>a;u--){let s=n[u];s.from<o.to?o.to++:s.from++}}let i=e.items.slice();for(let a of n){let[o]=i.splice(a.from,1);i.splice(a.to,0,o)}return{...e,items:i}}var cU={},_3e={get exports(){return cU},set exports(e){cU=e}};/*!
1243
1243
  * jQuery JavaScript Library v3.6.0
1244
1244
  * https://jquery.com/
1245
1245
  *
@@ -1311,4 +1311,4 @@ You can debug this error by doing:
1311
1311
  myDatabase.on('error', function (err) { debugger; });
1312
1312
  Please double-check your map/reduce function.`),mD("error",t)}}function O9e(e,t,r,n){function i(M,G,Z){try{G(Z)}catch(ee){A9(M,ee)}}function a(M,G,Z,ee,R){try{return{output:G(Z,ee,R)}}catch(re){return A9(M,re),{error:re}}}function o(M,G){var Z=fa(M.key,G.key);return Z!==0?Z:fa(M.value,G.value)}function u(M,G,Z){return Z=Z||0,typeof G=="number"?M.slice(Z,G+Z):Z>0?M.slice(Z):M}function s(M){var G=M.value,Z=G&&typeof G=="object"&&G._id||M.id;return Z}function l(M){M.rows.forEach(function(G){var Z=G.doc&&G.doc._attachments;Z&&Object.keys(Z).forEach(function(ee){var R=Z[ee];Z[ee].data=t9e(R.data,R.content_type)})})}function f(M){return function(G){return M.include_docs&&M.attachments&&M.binary&&l(G),G}}function d(M,G,Z,ee){var R=G[M];typeof R<"u"&&(ee&&(R=encodeURIComponent(JSON.stringify(R))),Z.push(M+"="+R))}function h(M){if(typeof M<"u"){var G=Number(M);return!isNaN(G)&&G===parseInt(M,10)?G:M}}function p(M){return M.group_level=h(M.group_level),M.limit=h(M.limit),M.skip=h(M.skip),M}function v(M){if(M){if(typeof M!="number")return new wh('Invalid value for integer: "'+M+'"');if(M<0)return new wh('Invalid value for positive integer: "'+M+'"')}}function S(M,G){var Z=M.descending?"endkey":"startkey",ee=M.descending?"startkey":"endkey";if(typeof M[Z]<"u"&&typeof M[ee]<"u"&&fa(M[Z],M[ee])>0)throw new wh("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(G.reduce&&M.reduce!==!1){if(M.include_docs)throw new wh("{include_docs:true} is invalid for reduce");if(M.keys&&M.keys.length>1&&!M.group&&!M.group_level)throw new wh("Multi-key fetches for reduce views must use {group: true}")}["group_level","limit","skip"].forEach(function(R){var re=v(M[R]);if(re)throw re})}function y(M,G,Z){var ee=[],R,re="GET",se,ge;if(d("reduce",Z,ee),d("include_docs",Z,ee),d("attachments",Z,ee),d("limit",Z,ee),d("descending",Z,ee),d("group",Z,ee),d("group_level",Z,ee),d("skip",Z,ee),d("stale",Z,ee),d("conflicts",Z,ee),d("startkey",Z,ee,!0),d("start_key",Z,ee,!0),d("endkey",Z,ee,!0),d("end_key",Z,ee,!0),d("inclusive_end",Z,ee),d("key",Z,ee,!0),d("update_seq",Z,ee),ee=ee.join("&"),ee=ee===""?"":"?"+ee,typeof Z.keys<"u"){var Ce=2e3,ke="keys="+encodeURIComponent(JSON.stringify(Z.keys));ke.length+ee.length+1<=Ce?ee+=(ee[0]==="?"?"&":"?")+ke:(re="POST",typeof G=="string"?R={keys:Z.keys}:G.keys=Z.keys)}if(typeof G=="string"){var Ke=R3(G);return M.fetch("_design/"+Ke[0]+"/_view/"+Ke[1]+ee,{headers:new M_({"Content-Type":"application/json"}),method:re,body:JSON.stringify(R)}).then(function(Ee){return se=Ee.ok,ge=Ee.status,Ee.json()}).then(function(Ee){if(!se)throw Ee.status=ge,cD(Ee);return Ee.rows.forEach(function(Se){if(Se.value&&Se.value.error&&Se.value.error==="builtin_reduce_error")throw new Error(Se.reason)}),Ee}).then(f(Z))}return R=R||{},Object.keys(G).forEach(function(Ee){Array.isArray(G[Ee])?R[Ee]=G[Ee]:R[Ee]=G[Ee].toString()}),M.fetch("_temp_view"+ee,{headers:new M_({"Content-Type":"application/json"}),method:"POST",body:JSON.stringify(R)}).then(function(Ee){return se=Ee.ok,ge=Ee.status,Ee.json()}).then(function(Ee){if(!se)throw Ee.status=ge,cD(Ee);return Ee}).then(f(Z))}function m(M,G,Z){return new Promise(function(ee,R){M._query(G,Z,function(re,se){if(re)return R(re);ee(se)})})}function x(M){return new Promise(function(G,Z){M._viewCleanup(function(ee,R){if(ee)return Z(ee);G(R)})})}function w(M){return function(G){if(G.status===404)return M;throw G}}function E(M,G,Z){var ee="_local/doc_"+M,R={_id:ee,keys:[]},re=Z.get(M),se=re[0],ge=re[1];function Ce(){return T9e(ge)?Promise.resolve(R):G.db.get(ee).catch(w(R))}function ke(Ee){return Ee.keys.length?G.db.allDocs({keys:Ee.keys,include_docs:!0}):Promise.resolve({rows:[]})}function Ke(Ee,Se){for(var We=[],bt=new L1,Ae=0,X=Se.rows.length;Ae<X;Ae++){var oe=Se.rows[Ae],B=oe.doc;if(B&&(We.push(B),bt.add(B._id),B._deleted=!se.has(B._id),!B._deleted)){var D=se.get(B._id);"value"in D&&(B.value=D.value)}}var j=I3(se);return j.forEach(function(te){if(!bt.has(te)){var Me={_id:te},tt=se.get(te);"value"in tt&&(Me.value=tt.value),We.push(Me)}}),Ee.keys=x9(j.concat(Ee.keys)),We.push(Ee),We}return Ce().then(function(Ee){return ke(Ee).then(function(Se){return Ke(Ee,Se)})})}function A(M,G,Z){var ee="_local/lastSeq";return M.db.get(ee).catch(w({_id:ee,seq:0})).then(function(R){var re=I3(G);return Promise.all(re.map(function(se){return E(se,M,G)})).then(function(se){var ge=w9(se);return R.seq=Z,ge.push(R),M.db.bulkDocs({docs:ge})})})}function g(M){var G=typeof M=="string"?M:M.name,Z=E9[G];return Z||(Z=E9[G]=new B1),Z}function F(M,G){return O3(g(M),function(){return P(M,G)})()}function P(M,G){var Z,ee;function R(Ae,X){var oe={id:ee._id,key:op(Ae)};typeof X<"u"&&X!==null&&(oe.value=op(X)),Z.push(oe)}var re=t(M.mapFun,R),se=M.seq||0;function ge(Ae,X){return function(){return A(M,Ae,X)}}let Ce=0,ke={view:M.name,indexed_docs:Ce};M.sourceDB.emit("indexing",ke);var Ke=new B1;function Ee(){return M.sourceDB.changes({return_docs:!0,conflicts:!0,include_docs:!0,style:"all_docs",since:se,limit:G.changes_batch_size}).then(Se)}function Se(Ae){var X=Ae.results;if(!X.length)return;var oe=We(X);Ke.add(ge(oe,se)),Ce=Ce+X.length;let B={view:M.name,last_seq:Ae.last_seq,results_count:X.length,indexed_docs:Ce};if(M.sourceDB.emit("indexing",B),!(X.length<G.changes_batch_size))return Ee()}function We(Ae){for(var X=new Hv,oe=0,B=Ae.length;oe<B;oe++){var D=Ae[oe];if(D.doc._id[0]!=="_"){Z=[],ee=D.doc,ee._deleted||i(M.sourceDB,re,ee),Z.sort(o);var j=bt(Z);X.set(D.doc._id,[j,D.changes])}se=D.seq}return X}function bt(Ae){for(var X=new Hv,oe,B=0,D=Ae.length;B<D;B++){var j=Ae[B],te=[j.key,j.id];B>0&&fa(j.key,oe)===0&&te.push(B),X.set(el(te),j),oe=j.key}return X}return Ee().then(function(){return Ke.finish()}).then(function(){M.seq=se})}function N(M,G,Z){Z.group_level===0&&delete Z.group_level;var ee=Z.group||Z.group_level,R=r(M.reduceFun),re=[],se=isNaN(Z.group_level)?Number.POSITIVE_INFINITY:Z.group_level;G.forEach(function(Ee){var Se=re[re.length-1],We=ee?Ee.key:null;if(ee&&Array.isArray(We)&&(We=We.slice(0,se)),Se&&fa(Se.groupKey,We)===0){Se.keys.push([Ee.key,Ee.id]),Se.values.push(Ee.value);return}re.push({keys:[[Ee.key,Ee.id]],values:[Ee.value],groupKey:We})}),G=[];for(var ge=0,Ce=re.length;ge<Ce;ge++){var ke=re[ge],Ke=a(M.sourceDB,R,ke.keys,ke.values,!1);if(Ke.error&&Ke.error instanceof zM)throw Ke.error;G.push({value:Ke.error?null:Ke.output,key:ke.groupKey})}return{rows:u(G,Z.limit,Z.skip)}}function V(M,G){return O3(g(M),function(){return H(M,G)})()}function H(M,G){var Z,ee=M.reduceFun&&G.reduce!==!1,R=G.skip||0;typeof G.keys<"u"&&!G.keys.length&&(G.limit=0,delete G.keys);function re(Ae){return Ae.include_docs=!0,M.db.allDocs(Ae).then(function(X){return Z=X.total_rows,X.rows.map(function(oe){if("value"in oe.doc&&typeof oe.doc.value=="object"&&oe.doc.value!==null){var B=Object.keys(oe.doc.value).sort(),D=["id","key","value"];if(!(B<D||B>D))return oe.doc.value}var j=u9e(oe.doc._id);return{key:j[0],id:j[1],value:"value"in oe.doc?oe.doc.value:null}})})}function se(Ae){var X;if(ee?X=N(M,Ae,G):typeof G.keys>"u"?X={total_rows:Z,offset:R,rows:Ae}:X={total_rows:Z,offset:R,rows:u(Ae,G.limit,G.skip)},G.update_seq&&(X.update_seq=M.seq),G.include_docs){var oe=x9(Ae.map(s));return M.sourceDB.allDocs({keys:oe,include_docs:!0,conflicts:G.conflicts,attachments:G.attachments,binary:G.binary}).then(function(B){var D=new Hv;return B.rows.forEach(function(j){D.set(j.id,j.doc)}),Ae.forEach(function(j){var te=s(j),Me=D.get(te);Me&&(j.doc=Me)}),X})}else return X}if(typeof G.keys<"u"){var ge=G.keys,Ce=ge.map(function(Ae){var X={startkey:el([Ae]),endkey:el([Ae,{}])};return G.update_seq&&(X.update_seq=!0),re(X)});return Promise.all(Ce).then(w9).then(se)}else{var ke={descending:G.descending};G.update_seq&&(ke.update_seq=!0);var Ke,Ee;if("start_key"in G&&(Ke=G.start_key),"startkey"in G&&(Ke=G.startkey),"end_key"in G&&(Ee=G.end_key),"endkey"in G&&(Ee=G.endkey),typeof Ke<"u"&&(ke.startkey=G.descending?el([Ke,{}]):el([Ke])),typeof Ee<"u"){var Se=G.inclusive_end!==!1;G.descending&&(Se=!Se),ke.endkey=el(Se?[Ee,{}]:[Ee])}if(typeof G.key<"u"){var We=el([G.key]),bt=el([G.key,{}]);ke.descending?(ke.endkey=We,ke.startkey=bt):(ke.startkey=We,ke.endkey=bt)}return ee||(typeof G.limit=="number"&&(ke.limit=G.limit),ke.skip=R),re(ke).then(se)}}function ie(M){return M.fetch("_view_cleanup",{headers:new M_({"Content-Type":"application/json"}),method:"POST"}).then(function(G){return G.json()})}function pe(M){return M.get("_local/"+e).then(function(G){var Z=new Hv;Object.keys(G.views).forEach(function(R){var re=R3(R),se="_design/"+re[0],ge=re[1],Ce=Z.get(se);Ce||(Ce=new L1,Z.set(se,Ce)),Ce.add(ge)});var ee={keys:I3(Z),include_docs:!0};return M.allDocs(ee).then(function(R){var re={};R.rows.forEach(function(Ce){var ke=Ce.key.substring(8);Z.get(Ce.key).forEach(function(Ke){var Ee=ke+"/"+Ke;G.views[Ee]||(Ee=Ke);var Se=Object.keys(G.views[Ee]),We=Ce.doc&&Ce.doc.views&&Ce.doc.views[Ke];Se.forEach(function(bt){re[bt]=re[bt]||We})})});var se=Object.keys(re).filter(function(Ce){return!re[Ce]}),ge=se.map(function(Ce){return O3(g(Ce),function(){return new M.constructor(Ce,M.__opts).destroy()})()});return Promise.all(ge).then(function(){return{ok:!0}})})},w({ok:!0}))}function de(M,G,Z){if(typeof M._query=="function")return m(M,G,Z);if(up(M))return y(M,G,Z);var ee={changes_batch_size:M.__opts.view_update_changes_batch_size||k9e};if(typeof G!="string")return S(Z,G),C9.add(function(){var Ce=S9(M,"temp_view/temp_view",G.map,G.reduce,!0,e);return Ce.then(function(ke){return C9e(F(ke,ee).then(function(){return V(ke,Z)}),function(){return ke.db.destroy()})})}),C9.finish();var R=G,re=R3(R),se=re[0],ge=re[1];return M.get("_design/"+se).then(function(Ce){var ke=Ce.views&&Ce.views[ge];if(!ke)throw new BM("ddoc "+Ce._id+" has no view named "+ge);n(Ce,ge),S(Z,ke);var Ke=S9(M,R,ke.map,ke.reduce,!1,e);return Ke.then(function(Ee){return Z.stale==="ok"||Z.stale==="update_after"?(Z.stale==="update_after"&&Wg(function(){F(Ee,ee)}),V(Ee,Z)):F(Ee,ee).then(function(){return V(Ee,Z)})})})}function Be(M,G,Z){var ee=this;typeof G=="function"&&(Z=G,G={}),G=G?p(G):{},typeof M=="function"&&(M={map:M});var R=Promise.resolve().then(function(){return de(ee,M,G)});return Ote(R,Z),R}var Fe=E9e(function(){var M=this;return typeof M._viewCleanup=="function"?x(M):up(M)?ie(M):pe(M)});return{query:Be,viewCleanup:Fe}}function qC(e,t){for(var r=e,n=0,i=t.length;n<i;n++){var a=t[n];if(r=r[a],!r)break}return r}function I9e(e,t,r){for(var n=0,i=t.length;n<i-1;n++){var a=t[n];e=e[a]=e[a]||{}}e[t[i-1]]=r}function jM(e,t){return e<t?-1:e>t?1:0}function gm(e){for(var t=[],r="",n=0,i=e.length;n<i;n++){var a=e[n];n>0&&e[n-1]==="\\"&&(a==="$"||a===".")?r=r.substring(0,r.length-1)+a:a==="."?(t.push(r),r=""):r+=a}return t.push(r),t}var R9e=["$or","$nor","$not"];function Ite(e){return R9e.indexOf(e)>-1}function Wu(e){return Object.keys(e)[0]}function UM(e){return e[Wu(e)]}function z1(e){var t={},r={$or:!0,$nor:!0};return e.forEach(function(n){Object.keys(n).forEach(function(i){var a=n[i];if(typeof a!="object"&&(a={$eq:a}),Ite(i))if(a instanceof Array){if(r[i]){r[i]=!1,t[i]=a;return}var o=[];t[i].forEach(function(s){Object.keys(a).forEach(function(l){var f=a[l],d=Math.max(Object.keys(s).length,Object.keys(f).length),h=z1([s,f]);Object.keys(h).length<=d||o.push(h)})}),t[i]=o}else t[i]=z1([a]);else{var u=t[i]=t[i]||{};Object.keys(a).forEach(function(s){var l=a[s];if(s==="$gt"||s==="$gte")return D9e(s,l,u);if(s==="$lt"||s==="$lte")return P9e(s,l,u);if(s==="$ne")return $9e(l,u);if(s==="$eq")return M9e(l,u);if(s==="$regex")return N9e(l,u);u[s]=l})}})}),t}function D9e(e,t,r){typeof r.$eq<"u"||(typeof r.$gte<"u"?e==="$gte"?t>r.$gte&&(r.$gte=t):t>=r.$gte&&(delete r.$gte,r.$gt=t):typeof r.$gt<"u"?e==="$gte"?t>r.$gt&&(delete r.$gt,r.$gte=t):t>r.$gt&&(r.$gt=t):r[e]=t)}function P9e(e,t,r){typeof r.$eq<"u"||(typeof r.$lte<"u"?e==="$lte"?t<r.$lte&&(r.$lte=t):t<=r.$lte&&(delete r.$lte,r.$lt=t):typeof r.$lt<"u"?e==="$lte"?t<r.$lt&&(delete r.$lt,r.$lte=t):t<r.$lt&&(r.$lt=t):r[e]=t)}function $9e(e,t){"$ne"in t?t.$ne.push(e):t.$ne=[e]}function M9e(e,t){delete t.$gt,delete t.$gte,delete t.$lt,delete t.$lte,delete t.$ne,t.$eq=e}function N9e(e,t){"$regex"in t?t.$regex.push(e):t.$regex=[e]}function Rte(e){for(var t in e){if(Array.isArray(e))for(var r in e)e[r].$and&&(e[r]=z1(e[r].$and));var n=e[t];typeof n=="object"&&Rte(n)}return e}function Dte(e,t){for(var r in e){r==="$and"&&(t=!0);var n=e[r];typeof n=="object"&&(t=Dte(n,t))}return t}function Pte(e){var t=Ed(e),r=!1;Dte(t,!1)&&(t=Rte(t),"$and"in t&&(t=z1(t.$and)),r=!0),["$or","$nor"].forEach(function(u){u in t&&t[u].forEach(function(s){for(var l=Object.keys(s),f=0;f<l.length;f++){var d=l[f],h=s[d];(typeof h!="object"||h===null)&&(s[d]={$eq:h})}})}),"$not"in t&&(t.$not=z1([t.$not]));for(var n=Object.keys(t),i=0;i<n.length;i++){var a=n[i],o=t[a];typeof o!="object"||o===null?o={$eq:o}:r||("$ne"in o&&(o.$ne=[o.$ne]),"$regex"in o&&(o.$regex=[o.$regex])),t[a]=o}return t}function F9e(e){function t(r){return e.map(function(n){var i=Wu(n),a=gm(i),o=qC(r,a);return o})}return function(r,n){var i=t(r.doc),a=t(n.doc),o=fa(i,a);return o!==0?o:jM(r.doc._id,n.doc._id)}}function $te(e,t,r){if(e=e.filter(function(o){return vg(o.doc,t.selector,r)}),t.sort){var n=F9e(t.sort);e=e.sort(n),typeof t.sort[0]!="string"&&UM(t.sort[0])==="desc"&&(e=e.reverse())}if("limit"in t||"skip"in t){var i=t.skip||0,a=("limit"in t?t.limit:e.length)+i;e=e.slice(i,a)}return e}function vg(e,t,r){return r.every(function(n){var i=t[n],a=gm(n),o=qC(e,a);return Ite(n)?L9e(n,i,e):US(i,e,a,o)})}function US(e,t,r,n){return e?typeof e=="object"?Object.keys(e).every(function(i){var a=e[i];if(i.indexOf("$")===0)return k9(i,t,a,r,n);var o=gm(i);if(n===void 0&&typeof a!="object"&&o.length>0)return!1;var u=qC(n,o);return typeof a=="object"?US(a,t,r,u):k9("$eq",t,a,o,u)}):e===n:!0}function L9e(e,t,r){return e==="$or"?t.some(function(n){return vg(r,n,Object.keys(n))}):e==="$not"?!vg(r,t,Object.keys(t)):!t.find(function(n){return vg(r,n,Object.keys(n))})}function k9(e,t,r,n,i){if(!O9[e])throw new Error('unknown operator "'+e+'" - should be one of $eq, $lte, $lt, $gt, $gte, $exists, $ne, $in, $nin, $size, $mod, $regex, $elemMatch, $type, $allMatch or $all');return O9[e](t,r,n,i)}function q0(e){return typeof e<"u"&&e!==null}function sh(e){return typeof e<"u"}function B9e(e,t){if(typeof e!="number"||parseInt(e,10)!==e)return!1;var r=t[0],n=t[1];return e%r===n}function T9(e,t){return t.some(function(r){return e instanceof Array?e.some(function(n){return fa(r,n)===0}):fa(r,e)===0})}function z9e(e,t){return t.every(function(r){return e.some(function(n){return fa(r,n)===0})})}function j9e(e,t){return e.length===t}function U9e(e,t){var r=new RegExp(t);return r.test(e)}function q9e(e,t){switch(t){case"null":return e===null;case"boolean":return typeof e=="boolean";case"number":return typeof e=="number";case"string":return typeof e=="string";case"array":return e instanceof Array;case"object":return{}.toString.call(e)==="[object Object]"}}var O9={$elemMatch:function(e,t,r,n){return!Array.isArray(n)||n.length===0?!1:typeof n[0]=="object"?n.some(function(i){return vg(i,t,Object.keys(t))}):n.some(function(i){return US(t,e,r,i)})},$allMatch:function(e,t,r,n){return!Array.isArray(n)||n.length===0?!1:typeof n[0]=="object"?n.every(function(i){return vg(i,t,Object.keys(t))}):n.every(function(i){return US(t,e,r,i)})},$eq:function(e,t,r,n){return sh(n)&&fa(n,t)===0},$gte:function(e,t,r,n){return sh(n)&&fa(n,t)>=0},$gt:function(e,t,r,n){return sh(n)&&fa(n,t)>0},$lte:function(e,t,r,n){return sh(n)&&fa(n,t)<=0},$lt:function(e,t,r,n){return sh(n)&&fa(n,t)<0},$exists:function(e,t,r,n){return t?sh(n):!sh(n)},$mod:function(e,t,r,n){return q0(n)&&B9e(n,t)},$ne:function(e,t,r,n){return t.every(function(i){return fa(n,i)!==0})},$in:function(e,t,r,n){return q0(n)&&T9(n,t)},$nin:function(e,t,r,n){return q0(n)&&!T9(n,t)},$size:function(e,t,r,n){return q0(n)&&Array.isArray(n)&&j9e(n,t)},$all:function(e,t,r,n){return Array.isArray(n)&&z9e(n,t)},$regex:function(e,t,r,n){return q0(n)&&typeof n=="string"&&t.every(function(i){return U9e(n,i)})},$type:function(e,t,r,n){return q9e(n,t)}};function HC(e,t){if(typeof t!="object")throw new Error("Selector error: expected a JSON object");t=Pte(t);var r={doc:e},n=$te([r],{selector:t},Object.keys(t));return n&&n.length===1}function Mte(e){return e=Ed(e),e.index||(e.index={}),["type","name","ddoc"].forEach(function(t){e.index[t]&&(e[t]=e.index[t],delete e.index[t])}),e.fields&&(e.index.fields=e.fields,delete e.fields),e.type||(e.type="json"),e}function H9e(e,t,r){var n="",i=t,a=!0;if(["$in","$nin","$or","$and","$mod","$nor","$all"].indexOf(e)!==-1&&(Array.isArray(t)||(n="Query operator "+e+" must be an array.")),["$not","$elemMatch","$allMatch"].indexOf(e)!==-1&&(!Array.isArray(t)&&typeof t=="object"&&t!==null||(n="Query operator "+e+" must be an object.")),e==="$mod"&&Array.isArray(t))if(t.length!==2)n="Query operator $mod must be in the format [divisor, remainder], where divisor and remainder are both integers.";else{var o=t[0],u=t[1];o===0&&(n="Query operator $mod's divisor cannot be 0, cannot divide by zero.",a=!1),(typeof o!="number"||parseInt(o,10)!==o)&&(n="Query operator $mod's divisor is not an integer.",i=o),parseInt(u,10)!==u&&(n="Query operator $mod's remainder is not an integer.",i=u)}if(e==="$exists"&&typeof t!="boolean"&&(n="Query operator $exists must be a boolean."),e==="$type"){var s=["null","boolean","number","string","array","object"],l='"'+s.slice(0,s.length-1).join('", "')+'", or "'+s[s.length-1]+'"';(typeof t!="string"||s.indexOf(t)==-1)&&(n="Query operator $type must be a string. Supported values: "+l+".")}if(e==="$size"&&parseInt(t,10)!==t&&(n="Query operator $size must be a integer."),e==="$regex"&&typeof t!="string"&&(console.log("here",r),r?n="Query operator $regex must be a string.":t instanceof RegExp||(n="Query operator $regex must be a string or an instance of a javascript regular expression.")),n){if(a){var f=i===null?" ":Array.isArray(i)?" array":" "+typeof i,d=typeof i=="object"&&i!==null?JSON.stringify(i,null," "):i;n+=" Received"+f+": "+d}throw new Error(n)}}var W9e=["$all","$allMatch","$and","$elemMatch","$exists","$in","$mod","$nin","$nor","$not","$or","$regex","$size","$type"],G9e=["$in","$nin","$mod","$all"],V9e=["$eq","$gt","$gte","$lt","$lte"];function qS(e,t){if(Array.isArray(e))for(var r of e)typeof r=="object"&&o!==null&&qS(r,t);else for(var n=Object.keys(e),i=0;i<n.length;i++){var a=n[i],o=e[a];W9e.indexOf(a)!==-1&&H9e(a,o,t),V9e.indexOf(a)===-1&&G9e.indexOf(a)===-1&&typeof o=="object"&&o!==null&&qS(o,t)}}function Zb(e,t,r,n){var i,a;r.headers=new M_({"Content-type":"application/json"}),e.fetch(t,r).then(function(o){return i=o.status,a=o.ok,o.json()}).then(function(o){if(a)n(null,o);else{o.status=i;var u=cD(o);n(u)}}).catch(n)}function Y9e(e,t,r){t=Mte(t),Zb(e,"_index",{method:"POST",body:JSON.stringify(t)},r)}function X9e(e,t,r){qS(t.selector,!0),Zb(e,"_find",{method:"POST",body:JSON.stringify(t)},r)}function K9e(e,t,r){Zb(e,"_explain",{method:"POST",body:JSON.stringify(t)},r)}function Z9e(e,t){Zb(e,"_index",{method:"GET"},t)}function Q9e(e,t,r){var n=t.ddoc,i=t.type||"json",a=t.name;if(!n)return r(new Error("you must provide an index's ddoc"));if(!a)return r(new Error("you must provide an index's name"));var o="_index/"+[n,i,a].map(encodeURIComponent).join("/");Zb(e,o,{method:"DELETE"},r)}function Nte(e){return function(){for(var t=arguments.length,r=new Array(t),n=-1;++n<t;)r[n]=arguments[n];return e.call(this,r)}}function Qb(e){return Nte(function(t){var r=t.pop(),n=e.apply(this,t);return J9e(n,r),n})}function J9e(e,t){return e.then(function(r){Wg(function(){t(null,r)})},function(r){Wg(function(){t(r)})}),e}var qM=Nte(function(e){for(var t=[],r=0,n=e.length;r<n;r++){var i=e[r];Array.isArray(i)?t=t.concat(qM.apply(null,i)):t.push(i)}return t});function HM(e){for(var t={},r=0,n=e.length;r<n;r++)t=LM(t,e[r]);return t}function eqe(e,t){for(var r={},n=0,i=t.length;n<i;n++){var a=gm(t[n]),o=qC(e,a);typeof o<"u"&&I9e(r,a,o)}return r}function Fte(e,t){for(var r=0,n=Math.min(e.length,t.length);r<n;r++)if(e[r]!==t[r])return!1;return!0}function tqe(e,t){return e.length>t.length?!1:Fte(e,t)}function rqe(e,t){e=e.slice();for(var r=0,n=t.length;r<n;r++){var i=t[r];if(!e.length)break;var a=e.indexOf(i);if(a===-1)return!1;e.splice(a,1)}return!0}function nqe(e){for(var t={},r=0,n=e.length;r<n;r++)t[e[r]]=!0;return t}function iqe(e,t){for(var r=null,n=-1,i=0,a=e.length;i<a;i++){var o=e[i],u=t(o);u>n&&(n=u,r=o)}return r}function I9(e,t){if(e.length!==t.length)return!1;for(var r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0}function aqe(e){for(var t={},r=0;r<e.length;r++)t["$"+e[r]]=!0;return Object.keys(t).map(function(n){return n.substring(1)})}function oqe(e,t,r){return function(n){if(!(r&&!HC(n,r))){for(var i=[],a=0,o=e.length;a<o;a++){for(var u=gm(e[a]),s=n,l=0,f=u.length;l<f;l++){var d=u[l];if(s=s[d],typeof s>"u")return}i.push(s)}t(i)}}}function uqe(e,t,r){var n=gm(e);return function(i){if(!(r&&!HC(i,r))){for(var a=i,o=0,u=n.length;o<u;o++){var s=n[o];if(a=a[s],typeof a>"u")return}t(a)}}}function sqe(e,t,r){return function(n){r&&!HC(n,r)||t(n[e])}}function lqe(e,t,r){return function(n){if(!(r&&!HC(n,r))){for(var i=[],a=0,o=e.length;a<o;a++)i.push(n[e[a]]);t(i)}}}function fqe(e){for(var t=0,r=e.length;t<r;t++){var n=e[t];if(n.indexOf(".")!==-1)return!1}return!0}function cqe(e,t,r){var n=fqe(e),i=e.length===1;return n?i?sqe(e[0],t,r):lqe(e,t,r):i?uqe(e[0],t,r):oqe(e,t,r)}function dqe(e,t){const r=Object.keys(e.fields),n=e.partial_filter_selector;return cqe(r,t,n)}function hqe(){throw new Error("reduce not supported")}function pqe(e,t){var r=e.views[t];if(!r.map||!r.map.fields)throw new Error("ddoc "+e._id+" with view "+t+" doesn't have map.fields defined. maybe it wasn't created by this plugin?")}var vqe=O9e("indexes",dqe,hqe,pqe);function WM(e){return e._customFindAbstractMapper||vqe}function gqe(e){if(!Array.isArray(e))throw new Error("invalid sort json - should be an array");return e.map(function(t){if(typeof t=="string"){var r={};return r[t]="asc",r}else return t})}function mqe(e){var t=[];return typeof e=="string"?t.push(e):t=e,t.map(function(r){return r.replace("_design/","")})}function Lte(e){return e.fields=e.fields.map(function(t){if(typeof t=="string"){var r={};return r[t]="asc",r}return t}),e}function yqe(e,t){for(var r=[],n=0;n<t.def.fields.length;n++){var i=Wu(t.def.fields[n]);r.push(e[i])}return r}function bqe(e,t,r){for(var n=r.def.fields,i=0,a=e.length;i<a;i++){var o=e[i],u=yqe(o.doc,r);if(n.length===1)u=u[0];else for(;u.length>t.length;)u.pop();if(Math.abs(fa(u,t))>0)break}return i>0?e.slice(i):e}function wqe(e){var t=Ed(e);return delete t.startkey,delete t.endkey,delete t.inclusive_start,delete t.inclusive_end,"endkey"in e&&(t.startkey=e.endkey),"startkey"in e&&(t.endkey=e.startkey),"inclusive_start"in e&&(t.inclusive_end=e.inclusive_start),"inclusive_end"in e&&(t.inclusive_start=e.inclusive_end),t}function xqe(e){var t=e.fields.filter(function(r){return UM(r)==="asc"});if(t.length!==0&&t.length!==e.fields.length)throw new Error("unsupported mixed sorting")}function _qe(e,t){if(t.defaultUsed&&e.sort){var r=e.sort.filter(function(n){return Object.keys(n)[0]!=="_id"}).map(function(n){return Object.keys(n)[0]});if(r.length>0)throw new Error('Cannot sort on field(s) "'+r.join(",")+'" when using the default index')}t.defaultUsed}function Sqe(e){if(typeof e.selector!="object")throw new Error("you must provide a selector when you find()")}function Eqe(e,t){var r=Object.keys(e),n=t?t.map(Wu):[],i;return r.length>=n.length?i=r:i=n,n.length===0?{fields:i}:(i=i.sort(function(a,o){var u=n.indexOf(a);u===-1&&(u=Number.MAX_VALUE);var s=n.indexOf(o);return s===-1&&(s=Number.MAX_VALUE),u<s?-1:u>s?1:0}),{fields:i,sortOrder:t.map(Wu)})}function Cqe(e,t){t=Mte(t);var r=Ed(t.index);t.index=Lte(t.index),xqe(t.index);var n;function i(){return n||(n=Ate(JSON.stringify(t)))}var a=t.name||"idx-"+i(),o=t.ddoc||"idx-"+i(),u="_design/"+o,s=!1,l=!1;function f(d){return d._rev&&d.language!=="query"&&(s=!0),d.language="query",d.views=d.views||{},l=!!d.views[a],l?!1:(d.views[a]={map:{fields:HM(t.index.fields)},reduce:"_count",options:{def:r}},d)}return e.constructor.emit("debug",["find","creating index",u]),UC(e,u,f).then(function(){if(s)throw new Error('invalid language for ddoc with id "'+u+'" (should be "query")')}).then(function(){var d=o+"/"+a;return WM(e).query.call(e,d,{limit:0,reduce:!1}).then(function(){return{id:u,name:a,result:l?"exists":"created"}})})}function Bte(e){return e.allDocs({startkey:"_design/",endkey:"_design/￿",include_docs:!0}).then(function(t){var r={indexes:[{ddoc:null,name:"_all_docs",type:"special",def:{fields:[{_id:"asc"}]}}]};return r.indexes=qM(r.indexes,t.rows.filter(function(n){return n.doc.language==="query"}).map(function(n){var i=n.doc.views!==void 0?Object.keys(n.doc.views):[];return i.map(function(a){var o=n.doc.views[a];return{ddoc:n.id,name:a,type:"json",def:Lte(o.options.def)}})})),r.indexes.sort(function(n,i){return jM(n.name,i.name)}),r.total_rows=r.indexes.length,r})}var HS=null,bD={"￿":{}};const Aqe={queryOpts:{limit:0,startkey:bD,endkey:HS},inMemoryFields:[]};function kqe(e,t){for(var r=e.def.fields.map(Wu),n=0,i=r.length;n<i;n++){var a=r[n];if(t===a)return!0}return!1}function Tqe(e,t){var r=e[t],n=Wu(r);return n!=="$eq"}function zte(e,t){var r=t.def.fields.map(Wu);return e.slice().sort(function(n,i){var a=r.indexOf(n),o=r.indexOf(i);return a===-1&&(a=Number.MAX_VALUE),o===-1&&(o=Number.MAX_VALUE),jM(a,o)})}function Oqe(e,t,r){r=zte(r,e);for(var n=!1,i=0,a=r.length;i<a;i++){var o=r[i];if(n||!kqe(e,o))return r.slice(i);i<a-1&&Tqe(t,o)&&(n=!0)}return[]}function Iqe(e){var t=[];return Object.keys(e).forEach(function(r){var n=e[r];Object.keys(n).forEach(function(i){i==="$ne"&&t.push(r)})}),t}function Rqe(e,t,r,n){var i=qM(e,Oqe(t,r,n),Iqe(r));return zte(aqe(i),t)}function Dqe(e,t,r){if(t){var n=tqe(t,e),i=Fte(r,e);return n&&i}return rqe(r,e)}var Pqe=["$eq","$gt","$gte","$lt","$lte"];function jte(e){return Pqe.indexOf(e)===-1}function $qe(e,t){var r=e[0],n=t[r];if(typeof n>"u")return!0;var i=Object.keys(n).length===1&&Wu(n)==="$ne";return!i}function Mqe(e,t,r,n){var i=e.def.fields.map(Wu),a=Dqe(i,t,r);return a?$qe(i,n):!1}function Nqe(e,t,r,n){return n.filter(function(i){return Mqe(i,r,t,e)})}function Fqe(e,t,r,n,i){var a=Nqe(e,t,r,n);if(a.length===0){if(i)throw{error:"no_usable_index",message:"There is no index available for this selector."};var o=n[0];return o.defaultUsed=!0,o}if(a.length===1&&!i)return a[0];var u=nqe(t);function s(h){for(var p=h.def.fields.map(Wu),v=0,S=0,y=p.length;S<y;S++){var m=p[S];u[m]&&v++}return v}if(i){var l="_design/"+i[0],f=i.length===2?i[1]:!1,d=a.find(function(h){return!!(f&&h.ddoc===l&&f===h.name||h.ddoc===l)});if(!d)throw{error:"unknown_error",message:"Could not find that index or could not use that index for the query"};return d}return iqe(a,s)}function Lqe(e,t){switch(e){case"$eq":return{key:t};case"$lte":return{endkey:t};case"$gte":return{startkey:t};case"$lt":return{endkey:t,inclusive_end:!1};case"$gt":return{startkey:t,inclusive_start:!1}}return{startkey:HS}}function Bqe(e,t){var r=Wu(t.def.fields[0]),n=e[r]||{},i=[],a=Object.keys(n),o;return a.forEach(function(u){jte(u)&&i.push(r);var s=n[u],l=Lqe(u,s);o?o=HM([o,l]):o=l}),{queryOpts:o,inMemoryFields:i}}function zqe(e,t){switch(e){case"$eq":return{startkey:t,endkey:t};case"$lte":return{endkey:t};case"$gte":return{startkey:t};case"$lt":return{endkey:t,inclusive_end:!1};case"$gt":return{startkey:t,inclusive_start:!1}}}function jqe(e,t){var r=t.def.fields.map(Wu),n=[],i=[],a=[],o,u;function s(N){o!==!1&&i.push(HS),u!==!1&&a.push(bD),n=r.slice(N)}for(var l=0,f=r.length;l<f;l++){var d=r[l],h=e[d];if(!h||!Object.keys(h).length){s(l);break}else if(Object.keys(h).some(jte)){s(l);break}else if(l>0){var p="$gt"in h||"$gte"in h||"$lt"in h||"$lte"in h,v=Object.keys(e[r[l-1]]),S=I9(v,["$eq"]),y=I9(v,Object.keys(h)),m=p&&!S&&!y;if(m){s(l);break}}for(var x=Object.keys(h),w=null,E=0;E<x.length;E++){var A=x[E],g=h[A],F=zqe(A,g);w?w=HM([w,F]):w=F}i.push("startkey"in w?w.startkey:HS),a.push("endkey"in w?w.endkey:bD),"inclusive_start"in w&&(o=w.inclusive_start),"inclusive_end"in w&&(u=w.inclusive_end)}var P={startkey:i,endkey:a};return typeof o<"u"&&(P.inclusive_start=o),typeof u<"u"&&(P.inclusive_end=u),{queryOpts:P,inMemoryFields:n}}function Uqe(e){return Object.keys(e).map(function(r){return e[r]}).some(function(r){return typeof r=="object"&&Object.keys(r).length===0})}function qqe(e){return{queryOpts:{startkey:null},inMemoryFields:[Object.keys(e)]}}function Hqe(e,t){return t.defaultUsed?qqe(e):t.def.fields.length===1?Bqe(e,t):jqe(e,t)}function Wqe(e,t){var r=e.selector,n=e.sort;if(Uqe(r))return LM({},Aqe,{index:t[0]});var i=Eqe(r,n),a=i.fields,o=i.sortOrder,u=Fqe(r,a,o,t,e.use_index),s=Hqe(r,u),l=s.queryOpts,f=s.inMemoryFields,d=Rqe(f,u,r,a),h={queryOpts:l,index:u,inMemoryFields:d};return h}function Gqe(e){return e.ddoc.substring(8)+"/"+e.name}function Vqe(e,t){var r=Ed(t);return r.descending?("endkey"in r&&typeof r.endkey!="string"&&(r.endkey=""),"startkey"in r&&typeof r.startkey!="string"&&(r.limit=0)):("startkey"in r&&typeof r.startkey!="string"&&(r.startkey=""),"endkey"in r&&typeof r.endkey!="string"&&(r.limit=0)),"key"in r&&typeof r.key!="string"&&(r.limit=0),r.limit>0&&r.indexes_count&&(r.original_limit=r.limit,r.limit+=r.indexes_count),e.allDocs(r).then(function(n){return n.rows=n.rows.filter(function(i){return!/^_design\//.test(i.id)}),r.original_limit&&(r.limit=r.original_limit),n.rows=n.rows.slice(0,r.limit),n})}function Ute(e,t,r){return t.selector&&(qS(t.selector,!1),t.selector=Pte(t.selector)),t.sort&&(t.sort=gqe(t.sort)),t.use_index&&(t.use_index=mqe(t.use_index)),Sqe(t),Bte(e).then(function(n){e.constructor.emit("debug",["find","planning query",t]);var i=Wqe(t,n.indexes);e.constructor.emit("debug",["find","query plan",i]);var a=i.index;_qe(t,a);var o=LM({include_docs:!0,reduce:!1,indexes_count:n.total_rows},i.queryOpts);if("startkey"in o&&"endkey"in o&&fa(o.startkey,o.endkey)>0)return{docs:[]};var u=t.sort&&typeof t.sort[0]!="string"&&UM(t.sort[0])==="desc";return u&&(o.descending=!0,o=wqe(o)),i.inMemoryFields.length||("limit"in t&&(o.limit=t.limit),"skip"in t&&(o.skip=t.skip)),r?Promise.resolve(i,o):Promise.resolve().then(function(){if(a.name==="_all_docs")return Vqe(e,o);var s=Gqe(a);return WM(e).query.call(e,s,o)}).then(function(s){o.inclusive_start===!1&&(s.rows=bqe(s.rows,o.startkey,a)),i.inMemoryFields.length&&(s.rows=$te(s.rows,t,i.inMemoryFields));var l={docs:s.rows.map(function(f){var d=f.doc;return t.fields?eqe(d,t.fields):d})};return a.defaultUsed&&(l.warning="No matching index found, create an index to optimize query time."),l})})}function Yqe(e,t){return Ute(e,t,!0).then(function(r){return{dbname:e.name,index:r.index,selector:t.selector,range:{start_key:r.queryOpts.startkey,end_key:r.queryOpts.endkey},opts:{use_index:t.use_index||[],bookmark:"nil",limit:t.limit,skip:t.skip,sort:t.sort||{},fields:t.fields,conflicts:!1,r:[49]},limit:t.limit,skip:t.skip||0,fields:t.fields}})}function Xqe(e,t){if(!t.ddoc)throw new Error("you must supply an index.ddoc when deleting");if(!t.name)throw new Error("you must supply an index.name when deleting");var r=t.ddoc,n=t.name;function i(a){return Object.keys(a.views).length===1&&a.views[n]?{_id:r,_deleted:!0}:(delete a.views[n],a)}return UC(e,r,i).then(function(){return WM(e).viewCleanup.apply(e)}).then(function(){return{ok:!0}})}var Kqe=Qb(Cqe),Zqe=Qb(Ute),Qqe=Qb(Yqe),Jqe=Qb(Bte),eHe=Qb(Xqe),Jb={};Jb.createIndex=Xb(function(e,t){if(typeof e!="object")return t(new Error("you must provide an index to create"));var r=up(this)?Y9e:Kqe;r(this,e,t)});Jb.find=Xb(function(e,t){if(typeof t>"u"&&(t=e,e=void 0),typeof e!="object")return t(new Error("you must provide search parameters to find()"));var r=up(this)?X9e:Zqe;r(this,e,t)});Jb.explain=Xb(function(e,t){if(typeof t>"u"&&(t=e,e=void 0),typeof e!="object")return t(new Error("you must provide search parameters to explain()"));var r=up(this)?K9e:Qqe;r(this,e,t)});Jb.getIndexes=Xb(function(e){var t=up(this)?Z9e:Jqe;t(this,e)});Jb.deleteIndex=Xb(function(e,t){if(typeof e!="object")return t(new Error("you must provide an index to delete"));var r=up(this)?Q9e:eHe;r(this,e,t)});var tHe={},ew={},tw={},WC={},qte={};(function(e){e.__esModule=!0;var t=function(r){var n={};return function(i){return i in n||(n[i]=r(i)),n[i]}};e.default=t})(qte);var Hte={},sp={};sp.__esModule=!0;sp.InternalServerError=sp.OK=void 0;sp.OK=200;sp.InternalServerError=500;(function(e){var t=qt&&qt.__spreadArray||function(u,s,l){if(l||arguments.length===2)for(var f=0,d=s.length,h;f<d;f++)(h||!(f in s))&&(h||(h=Array.prototype.slice.call(s,0,f)),h[f]=s[f]);return u.concat(h||Array.prototype.slice.call(s))};e.__esModule=!0;var r=Pg,n=Pg,i=sp,a=function(u){for(var s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];return typeof u!="string"?{on:function(f,d){d(new Error("URL must be a string."))}}:u.indexOf("https://")===0?n.get.apply(n,t([u],s,!1)):r.get.apply(r,t([u],s,!1))},o=function(u){return new Promise(function(s,l){a(u,function(f){if(f.statusCode!==i.OK)return l(new Error("HTTP Error Response: "+f.statusCode+" "+f.statusMessage+" ("+u+")"));var d=null;f.on("data",function(h){if(d===null){d=h;return}d+=h}),f.on("end",function(){return s(d)})}).on("error",l)})};e.default=o})(Hte);var Wte={},sd={};sd.__esModule=!0;sd.DONE=sd.OPENED=sd.UNSENT=void 0;sd.UNSENT=0;sd.OPENED=1;sd.DONE=4;(function(e){e.__esModule=!0;var t=sp,r=sd,n=function(i){return new Promise(function(a,o){var u=new XMLHttpRequest;u.onreadystatechange=function(){u.readyState===r.DONE&&(u.status===t.OK?a(u.responseText):o(new Error("HTTP Error Response: "+u.status+" "+u.statusText+" ("+i+")")))},u.open("GET",i,!0),u.send()})};e.default=n})(Wte);WC.__esModule=!0;WC.createLoadRemoteModule=void 0;var rHe=qte,nHe=Hte,iHe=Wte,aHe=typeof window<"u"&&typeof window.document<"u",oHe=aHe?iHe.default:nHe.default,uHe=function(e){throw new Error("Could not require '"+e+"'. The 'requires' function was not provided.")},sHe=function(e){var t=e===void 0?{}:e,r=t.requires,n=t.fetcher,i=r||uHe,a=n||oHe;return(0,rHe.default)(function(o){return a(o).then(function(u){var s={},l={exports:s},f=new Function("require","module","exports",u);return f(i,l,s),l.exports})})};WC.createLoadRemoteModule=sHe;var GC={};GC.__esModule=!0;GC.createRequires=void 0;var lHe=function(e){return function(t){var r=e||{};if(!(t in r))throw new Error("Could not require '"+t+"'. '"+t+"' does not exist in dependencies.");return r[t]}};GC.createRequires=lHe;(function(e){var t=qt&&qt.__createBinding||(Object.create?function(i,a,o,u){u===void 0&&(u=o),Object.defineProperty(i,u,{enumerable:!0,get:function(){return a[o]}})}:function(i,a,o,u){u===void 0&&(u=o),i[u]=a[o]});e.__esModule=!0,e.createRequires=e.default=void 0;var r=WC;t(e,r,"createLoadRemoteModule","default");var n=GC;t(e,n,"createRequires")})(tw);const HYe=KS(tw);var fHe=qt&&qt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};ew.__esModule=!0;ew.createUseRemoteComponent=void 0;var R9=Le,cHe=fHe(tw),dHe=function(e){var t=cHe.default(e),r=function(n,i){i===void 0&&(i="default");var a=R9.useState({loading:!0,err:void 0,component:void 0}),o=a[0],u=o.loading,s=o.err,l=o.component,f=a[1];return R9.useEffect(function(){var d=f;return d({loading:!0,err:void 0,component:void 0}),t(n).then(function(h){return d({loading:!1,err:void 0,component:h[i]})}).catch(function(h){return d({loading:!1,err:h,component:void 0})}),function(){d=function(){}}},[n]),[u,s,l]};return r};ew.createUseRemoteComponent=dHe;var rw={};rw.__esModule=!0;rw.createRequires=void 0;var hHe=function(e){return typeof e=="function"?e():e||{}},pHe=function(e){var t=!1;return function(r){if(t||(e=hHe(e),t=!0),!(r in e))throw new Error("Could not require '"+r+"'. '"+r+"' does not exist in dependencies.");return e[r]}};rw.createRequires=pHe;var GM={};(function(e){var t=qt&&qt.__assign||function(){return t=Object.assign||function(o){for(var u,s=1,l=arguments.length;s<l;s++){u=arguments[s];for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&(o[f]=u[f])}return o},t.apply(this,arguments)};e.__esModule=!0,e.getDependencies=e.ensureRemoteComponentConfig=void 0;var r=function(o){return o&&typeof o.message=="string"&&o.message.indexOf("Cannot find module")>-1},n=function(o){return typeof o=="object"&&"remote-component.config.js"in o},i=function(o){var u=o.resolve;if(n(u))return u;var s=t({},u);return s["remote-component.config.js"]={resolve:s},s};e.ensureRemoteComponentConfig=i;var a=function(){try{return e.ensureRemoteComponentConfig(require("remote-component.config.js"))}catch(o){if(!r(o))throw o;return{}}};e.getDependencies=a})(GM);var nw={},wD=qt&&qt.__assign||function(){return wD=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},wD.apply(this,arguments)},vHe=qt&&qt.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},gHe=qt&&qt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};nw.__esModule=!0;nw.createRemoteComponent=void 0;var D9=gHe(Le),mHe=ew,yHe=function(e){var t=mHe.createUseRemoteComponent(e),r=function(n){var i=n.url,a=n.fallback,o=a===void 0?null:a,u=n.render,s=vHe(n,["url","fallback","render"]),l=t(i),f=l[0],d=l[1],h=l[2];return f?o:u?u({err:d,Component:h}):d||!h?D9.default.createElement("div",null,"Unknown Error: ",(d||"UNKNOWN").toString()):D9.default.createElement(h,wD({},s))};return r};nw.createRemoteComponent=yHe;var VC={};VC.__esModule=!0;VC.RemoteComponent=void 0;var bHe=nw,wHe=rw,xHe=GM,_He=wHe.createRequires(xHe.getDependencies);VC.RemoteComponent=bHe.createRemoteComponent({requires:_He});var YC={},SHe=qt&&qt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};YC.__esModule=!0;YC.fetchRemoteComponent=void 0;var EHe=SHe(tw),CHe=function(e){var t=e.requires,r=e.fetcher,n=e.url,i=e.imports,a=i===void 0?"default":i,o=EHe.default({requires:t,fetcher:r});return o(n).then(function(u){var s=u&&u[a];if(!s)throw new Error("Could not load '"+a+"' from '"+n+"'.");return s})};YC.fetchRemoteComponent=CHe;var XC={},AHe=qt&&qt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};XC.__esModule=!0;XC.getServerSideProps=void 0;var kHe=AHe(tw),THe=function(e){var t=e.url,r=e.requires,n=e.context,i=e.imports,a=i===void 0?"default":i,o=kHe.default({requires:r});return o(t).then(function(u){var s=u&&u[a]&&u[a].getServerSideProps;return typeof s=="function"?s(n):{}})};XC.getServerSideProps=THe;(function(e){var t=qt&&qt.__createBinding||(Object.create?function(l,f,d,h){h===void 0&&(h=d),Object.defineProperty(l,h,{enumerable:!0,get:function(){return f[d]}})}:function(l,f,d,h){h===void 0&&(h=d),l[h]=f[d]});e.__esModule=!0,e.getServerSideProps=e.fetchRemoteComponent=e.RemoteComponent=e.createRemoteComponent=e.getDependencies=e.createRequires=e.createUseRemoteComponent=void 0;var r=ew;t(e,r,"createUseRemoteComponent");var n=rw;t(e,n,"createRequires");var i=GM;t(e,i,"getDependencies");var a=nw;t(e,a,"createRemoteComponent");var o=VC;t(e,o,"RemoteComponent");var u=YC;t(e,u,"fetchRemoteComponent");var s=XC;t(e,s,"getServerSideProps")})(tHe);var mm={},D3={},ca={},WS={},OHe={get exports(){return WS},set exports(e){WS=e}},P9;function Gte(){return P9||(P9=1,function(e){e.exports=Pg}(OHe)),WS}var $9,Kx;ca.base64=!0;ca.array=!0;ca.string=!0;ca.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";ca.nodebuffer=typeof Buffer<"u";ca.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Kx=ca.blob=!1;else{var M9=new ArrayBuffer(0);try{Kx=ca.blob=new Blob([M9],{type:"application/zip"}).size===0}catch{try{var IHe=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,N9=new IHe;N9.append(M9),Kx=ca.blob=N9.getBlob("application/zip").size===0}catch{Kx=ca.blob=!1}}}try{$9=ca.nodestream=!!Gte().Readable}catch{$9=ca.nodestream=!1}var Zx={},F9;function Vte(){if(F9)return Zx;F9=1;var e=Ui(),t=ca,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return Zx.encode=function(n){for(var i=[],a,o,u,s,l,f,d,h=0,p=n.length,v=p,S=e.getTypeOf(n)!=="string";h<n.length;)v=p-h,S?(a=n[h++],o=h<p?n[h++]:0,u=h<p?n[h++]:0):(a=n.charCodeAt(h++),o=h<p?n.charCodeAt(h++):0,u=h<p?n.charCodeAt(h++):0),s=a>>2,l=(a&3)<<4|o>>4,f=v>1?(o&15)<<2|u>>6:64,d=v>2?u&63:64,i.push(r.charAt(s)+r.charAt(l)+r.charAt(f)+r.charAt(d));return i.join("")},Zx.decode=function(n){var i,a,o,u,s,l,f,d=0,h=0,p="data:";if(n.substr(0,p.length)===p)throw new Error("Invalid base64 input, it looks like a data url.");n=n.replace(/[^A-Za-z0-9\+\/\=]/g,"");var v=n.length*3/4;if(n.charAt(n.length-1)===r.charAt(64)&&v--,n.charAt(n.length-2)===r.charAt(64)&&v--,v%1!==0)throw new Error("Invalid base64 input, bad content length.");var S;for(t.uint8array?S=new Uint8Array(v|0):S=new Array(v|0);d<n.length;)u=r.indexOf(n.charAt(d++)),s=r.indexOf(n.charAt(d++)),l=r.indexOf(n.charAt(d++)),f=r.indexOf(n.charAt(d++)),i=u<<2|s>>4,a=(s&15)<<4|l>>2,o=(l&3)<<6|f,S[h++]=i,l!==64&&(S[h++]=a),f!==64&&(S[h++]=o);return S},Zx}var KC={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},RHe=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)},P3,L9;function DHe(){if(L9)return P3;L9=1;var e=qt.MutationObserver||qt.WebKitMutationObserver,t;if(e){var r=0,n=new e(s),i=qt.document.createTextNode("");n.observe(i,{characterData:!0}),t=function(){i.data=r=++r%2}}else if(!qt.setImmediate&&typeof qt.MessageChannel<"u"){var a=new qt.MessageChannel;a.port1.onmessage=s,t=function(){a.port2.postMessage(0)}}else"document"in qt&&"onreadystatechange"in qt.document.createElement("script")?t=function(){var f=qt.document.createElement("script");f.onreadystatechange=function(){s(),f.onreadystatechange=null,f.parentNode.removeChild(f),f=null},qt.document.documentElement.appendChild(f)}:t=function(){setTimeout(s,0)};var o,u=[];function s(){o=!0;for(var f,d,h=u.length;h;){for(d=u,u=[],f=-1;++f<h;)d[f]();h=u.length}o=!1}P3=l;function l(f){u.push(f)===1&&!o&&t()}return P3}var $3,B9;function PHe(){if(B9)return $3;B9=1;var e=DHe();function t(){}var r={},n=["REJECTED"],i=["FULFILLED"],a=["PENDING"];$3=o;function o(y){if(typeof y!="function")throw new TypeError("resolver must be a function");this.state=a,this.queue=[],this.outcome=void 0,y!==t&&f(this,y)}o.prototype.finally=function(y){if(typeof y!="function")return this;var m=this.constructor;return this.then(x,w);function x(E){function A(){return E}return m.resolve(y()).then(A)}function w(E){function A(){throw E}return m.resolve(y()).then(A)}},o.prototype.catch=function(y){return this.then(null,y)},o.prototype.then=function(y,m){if(typeof y!="function"&&this.state===i||typeof m!="function"&&this.state===n)return this;var x=new this.constructor(t);if(this.state!==a){var w=this.state===i?y:m;s(x,w,this.outcome)}else this.queue.push(new u(x,y,m));return x};function u(y,m,x){this.promise=y,typeof m=="function"&&(this.onFulfilled=m,this.callFulfilled=this.otherCallFulfilled),typeof x=="function"&&(this.onRejected=x,this.callRejected=this.otherCallRejected)}u.prototype.callFulfilled=function(y){r.resolve(this.promise,y)},u.prototype.otherCallFulfilled=function(y){s(this.promise,this.onFulfilled,y)},u.prototype.callRejected=function(y){r.reject(this.promise,y)},u.prototype.otherCallRejected=function(y){s(this.promise,this.onRejected,y)};function s(y,m,x){e(function(){var w;try{w=m(x)}catch(E){return r.reject(y,E)}w===y?r.reject(y,new TypeError("Cannot resolve promise with itself")):r.resolve(y,w)})}r.resolve=function(y,m){var x=d(l,m);if(x.status==="error")return r.reject(y,x.value);var w=x.value;if(w)f(y,w);else{y.state=i,y.outcome=m;for(var E=-1,A=y.queue.length;++E<A;)y.queue[E].callFulfilled(m)}return y},r.reject=function(y,m){y.state=n,y.outcome=m;for(var x=-1,w=y.queue.length;++x<w;)y.queue[x].callRejected(m);return y};function l(y){var m=y&&y.then;if(y&&(typeof y=="object"||typeof y=="function")&&typeof m=="function")return function(){m.apply(y,arguments)}}function f(y,m){var x=!1;function w(F){x||(x=!0,r.reject(y,F))}function E(F){x||(x=!0,r.resolve(y,F))}function A(){m(E,w)}var g=d(A);g.status==="error"&&w(g.value)}function d(y,m){var x={};try{x.value=y(m),x.status="success"}catch(w){x.status="error",x.value=w}return x}o.resolve=h;function h(y){return y instanceof this?y:r.resolve(new this(t),y)}o.reject=p;function p(y){var m=new this(t);return r.reject(m,y)}o.all=v;function v(y){var m=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=y.length,w=!1;if(!x)return this.resolve([]);for(var E=new Array(x),A=0,g=-1,F=new this(t);++g<x;)P(y[g],g);return F;function P(N,V){m.resolve(N).then(H,function(ie){w||(w=!0,r.reject(F,ie))});function H(ie){E[V]=ie,++A===x&&!w&&(w=!0,r.resolve(F,E))}}}o.race=S;function S(y){var m=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=y.length,w=!1;if(!x)return this.resolve([]);for(var E=-1,A=new this(t);++E<x;)g(y[E]);return A;function g(F){m.resolve(F).then(function(P){w||(w=!0,r.resolve(A,P))},function(P){w||(w=!0,r.reject(A,P))})}}return $3}var xD=null;typeof Promise<"u"?xD=Promise:xD=PHe();var iw={Promise:xD},z9;function Ui(){return z9||(z9=1,function(e){var t=ca,r=Vte(),n=KC,i=RHe,a=iw;function o(p){var v=null;return t.uint8array?v=new Uint8Array(p.length):v=new Array(p.length),s(p,v)}e.newBlob=function(p,v){e.checkSupport("blob");try{return new Blob([p],{type:v})}catch{try{var S=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,y=new S;return y.append(p),y.getBlob(v)}catch{throw new Error("Bug : can't construct the Blob.")}}};function u(p){return p}function s(p,v){for(var S=0;S<p.length;++S)v[S]=p.charCodeAt(S)&255;return v}var l={stringifyByChunk:function(p,v,S){var y=[],m=0,x=p.length;if(x<=S)return String.fromCharCode.apply(null,p);for(;m<x;)v==="array"||v==="nodebuffer"?y.push(String.fromCharCode.apply(null,p.slice(m,Math.min(m+S,x)))):y.push(String.fromCharCode.apply(null,p.subarray(m,Math.min(m+S,x)))),m+=S;return y.join("")},stringifyByChar:function(p){for(var v="",S=0;S<p.length;S++)v+=String.fromCharCode(p[S]);return v},applyCanBeUsed:{uint8array:function(){try{return t.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return t.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}}()}};function f(p){var v=65536,S=e.getTypeOf(p),y=!0;if(S==="uint8array"?y=l.applyCanBeUsed.uint8array:S==="nodebuffer"&&(y=l.applyCanBeUsed.nodebuffer),y)for(;v>1;)try{return l.stringifyByChunk(p,S,v)}catch{v=Math.floor(v/2)}return l.stringifyByChar(p)}e.applyFromCharCode=f;function d(p,v){for(var S=0;S<p.length;S++)v[S]=p[S];return v}var h={};h.string={string:u,array:function(p){return s(p,new Array(p.length))},arraybuffer:function(p){return h.string.uint8array(p).buffer},uint8array:function(p){return s(p,new Uint8Array(p.length))},nodebuffer:function(p){return s(p,n.allocBuffer(p.length))}},h.array={string:f,array:u,arraybuffer:function(p){return new Uint8Array(p).buffer},uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return n.newBufferFrom(p)}},h.arraybuffer={string:function(p){return f(new Uint8Array(p))},array:function(p){return d(new Uint8Array(p),new Array(p.byteLength))},arraybuffer:u,uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return n.newBufferFrom(new Uint8Array(p))}},h.uint8array={string:f,array:function(p){return d(p,new Array(p.length))},arraybuffer:function(p){return p.buffer},uint8array:u,nodebuffer:function(p){return n.newBufferFrom(p)}},h.nodebuffer={string:f,array:function(p){return d(p,new Array(p.length))},arraybuffer:function(p){return h.nodebuffer.uint8array(p).buffer},uint8array:function(p){return d(p,new Uint8Array(p.length))},nodebuffer:u},e.transformTo=function(p,v){if(v||(v=""),!p)return v;e.checkSupport(p);var S=e.getTypeOf(v),y=h[S][p](v);return y},e.getTypeOf=function(p){if(typeof p=="string")return"string";if(Object.prototype.toString.call(p)==="[object Array]")return"array";if(t.nodebuffer&&n.isBuffer(p))return"nodebuffer";if(t.uint8array&&p instanceof Uint8Array)return"uint8array";if(t.arraybuffer&&p instanceof ArrayBuffer)return"arraybuffer"},e.checkSupport=function(p){var v=t[p.toLowerCase()];if(!v)throw new Error(p+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(p){var v="",S,y;for(y=0;y<(p||"").length;y++)S=p.charCodeAt(y),v+="\\x"+(S<16?"0":"")+S.toString(16).toUpperCase();return v},e.delay=function(p,v,S){i(function(){p.apply(S||null,v||[])})},e.inherits=function(p,v){var S=function(){};S.prototype=v.prototype,p.prototype=new S},e.extend=function(){var p={},v,S;for(v=0;v<arguments.length;v++)for(S in arguments[v])arguments[v].hasOwnProperty(S)&&typeof p[S]>"u"&&(p[S]=arguments[v][S]);return p},e.prepareContent=function(p,v,S,y,m){var x=a.Promise.resolve(v).then(function(w){var E=t.blob&&(w instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(w))!==-1);return E&&typeof FileReader<"u"?new a.Promise(function(A,g){var F=new FileReader;F.onload=function(P){A(P.target.result)},F.onerror=function(P){g(P.target.error)},F.readAsArrayBuffer(w)}):w});return x.then(function(w){var E=e.getTypeOf(w);return E?(E==="arraybuffer"?w=e.transformTo("uint8array",w):E==="string"&&(m?w=r.decode(w):S&&y!==!0&&(w=o(w))),w):a.Promise.reject(new Error("Can't read the data of '"+p+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}(D3)),D3}function Yte(e){this.name=e||"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}Yte.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return this.isFinished?!1:(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(r){t.processChunk(r)}),e.on("end",function(){t.end()}),e.on("error",function(r){t.error(r)}),this},pause:function(){return this.isPaused||this.isFinished?!1:(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},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 e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};var $s=Yte;(function(e){for(var t=Ui(),r=ca,n=KC,i=$s,a=new Array(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;a[254]=a[254]=1;var u=function(h){var p,v,S,y,m,x=h.length,w=0;for(y=0;y<x;y++)v=h.charCodeAt(y),(v&64512)===55296&&y+1<x&&(S=h.charCodeAt(y+1),(S&64512)===56320&&(v=65536+(v-55296<<10)+(S-56320),y++)),w+=v<128?1:v<2048?2:v<65536?3:4;for(r.uint8array?p=new Uint8Array(w):p=new Array(w),m=0,y=0;m<w;y++)v=h.charCodeAt(y),(v&64512)===55296&&y+1<x&&(S=h.charCodeAt(y+1),(S&64512)===56320&&(v=65536+(v-55296<<10)+(S-56320),y++)),v<128?p[m++]=v:v<2048?(p[m++]=192|v>>>6,p[m++]=128|v&63):v<65536?(p[m++]=224|v>>>12,p[m++]=128|v>>>6&63,p[m++]=128|v&63):(p[m++]=240|v>>>18,p[m++]=128|v>>>12&63,p[m++]=128|v>>>6&63,p[m++]=128|v&63);return p},s=function(h,p){var v;for(p=p||h.length,p>h.length&&(p=h.length),v=p-1;v>=0&&(h[v]&192)===128;)v--;return v<0||v===0?p:v+a[h[v]]>p?v:p},l=function(h){var p,v,S,y,m=h.length,x=new Array(m*2);for(v=0,p=0;p<m;){if(S=h[p++],S<128){x[v++]=S;continue}if(y=a[S],y>4){x[v++]=65533,p+=y-1;continue}for(S&=y===2?31:y===3?15:7;y>1&&p<m;)S=S<<6|h[p++]&63,y--;if(y>1){x[v++]=65533;continue}S<65536?x[v++]=S:(S-=65536,x[v++]=55296|S>>10&1023,x[v++]=56320|S&1023)}return x.length!==v&&(x.subarray?x=x.subarray(0,v):x.length=v),t.applyFromCharCode(x)};e.utf8encode=function(p){return r.nodebuffer?n.newBufferFrom(p,"utf-8"):u(p)},e.utf8decode=function(p){return r.nodebuffer?t.transformTo("nodebuffer",p).toString("utf-8"):(p=t.transformTo(r.uint8array?"uint8array":"array",p),l(p))};function f(){i.call(this,"utf-8 decode"),this.leftOver=null}t.inherits(f,i),f.prototype.processChunk=function(h){var p=t.transformTo(r.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var v=p;p=new Uint8Array(v.length+this.leftOver.length),p.set(this.leftOver,0),p.set(v,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var S=s(p),y=p;S!==p.length&&(r.uint8array?(y=p.subarray(0,S),this.leftOver=p.subarray(S,p.length)):(y=p.slice(0,S),this.leftOver=p.slice(S,p.length))),this.push({data:e.utf8decode(y),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=f;function d(){i.call(this,"utf-8 encode")}t.inherits(d,i),d.prototype.processChunk=function(h){this.push({data:e.utf8encode(h.data),meta:h.meta})},e.Utf8EncodeWorker=d})(mm);var Xte=$s,Kte=Ui();function VM(e){Xte.call(this,"ConvertWorker to "+e),this.destType=e}Kte.inherits(VM,Xte);VM.prototype.processChunk=function(e){this.push({data:Kte.transformTo(this.destType,e.data),meta:e.meta})};var $He=VM,M3,j9;function MHe(){if(j9)return M3;j9=1;var e=Gte().Readable,t=Ui();t.inherits(r,e);function r(n,i,a){e.call(this,i),this._helper=n;var o=this;n.on("data",function(u,s){o.push(u)||o._helper.pause(),a&&a(s)}).on("error",function(u){o.emit("error",u)}).on("end",function(){o.push(null)})}return r.prototype._read=function(){this._helper.resume()},M3=r,M3}var qh=Ui(),NHe=$He,FHe=$s,LHe=Vte(),BHe=ca,zHe=iw,Zte=null;if(BHe.nodestream)try{Zte=MHe()}catch{}function jHe(e,t,r){switch(e){case"blob":return qh.newBlob(qh.transformTo("arraybuffer",t),r);case"base64":return LHe.encode(t);default:return qh.transformTo(e,t)}}function UHe(e,t){var r,n=0,i=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function qHe(e,t){return new zHe.Promise(function(r,n){var i=[],a=e._internalType,o=e._outputType,u=e._mimeType;e.on("data",function(s,l){i.push(s),t&&t(l)}).on("error",function(s){i=[],n(s)}).on("end",function(){try{var s=jHe(o,UHe(a,i),u);r(s)}catch(l){n(l)}i=[]}).resume()})}function Qte(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string";break}try{this._internalType=n,this._outputType=t,this._mimeType=r,qh.checkSupport(n),this._worker=e.pipe(new NHe(n)),e.lock()}catch(i){this._worker=new FHe("error"),this._worker.error(i)}}Qte.prototype={accumulate:function(e){return qHe(this,e)},on:function(e,t){var r=this;return e==="data"?this._worker.on(e,function(n){t.call(r,n.data,n.meta)}):this._worker.on(e,function(){qh.delay(t,arguments,r)}),this},resume:function(){return qh.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(qh.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new Zte(this,{objectMode:this._outputType!=="nodebuffer"},e)}};var Jte=Qte,Ms={};Ms.base64=!1;Ms.binary=!1;Ms.dir=!1;Ms.createFolders=!0;Ms.date=null;Ms.compression=null;Ms.compressionOptions=null;Ms.comment=null;Ms.unixPermissions=null;Ms.dosPermissions=null;var ZC=Ui(),QC=$s,HHe=16*1024;function ym(e){QC.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(r){t.dataIsReady=!0,t.data=r,t.max=r&&r.length||0,t.type=ZC.getTypeOf(r),t.isPaused||t._tickAndRepeat()},function(r){t.error(r)})}ZC.inherits(ym,QC);ym.prototype.cleanUp=function(){QC.prototype.cleanUp.call(this),this.data=null};ym.prototype.resume=function(){return QC.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,ZC.delay(this._tickAndRepeat,[],this)),!0):!1};ym.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(ZC.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};ym.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=HHe,t=null,r=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,r);break;case"uint8array":t=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":t=this.data.slice(this.index,r);break}return this.index=r,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};var ere=ym,WHe=Ui(),YM=$s;function XM(e){YM.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}WHe.inherits(XM,YM);XM.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}YM.prototype.processChunk.call(this,e)};var tre=XM,GHe=Ui();function VHe(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var rre=VHe();function YHe(e,t,r,n){var i=rre,a=n+r;e=e^-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1}function XHe(e,t,r,n){var i=rre,a=n+r;e=e^-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t.charCodeAt(o))&255];return e^-1}var KM=function(t,r){if(typeof t>"u"||!t.length)return 0;var n=GHe.getTypeOf(t)!=="string";return n?YHe(r|0,t,t.length,0):XHe(r|0,t,t.length,0)},nre=$s,KHe=KM,ZHe=Ui();function ZM(){nre.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}ZHe.inherits(ZM,nre);ZM.prototype.processChunk=function(e){this.streamInfo.crc32=KHe(e.data,this.streamInfo.crc32||0),this.push(e)};var ire=ZM,U9=iw,q9=ere,GS=tre,QHe=ire,GS=tre;function QM(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}QM.prototype={getContentWorker:function(){var e=new q9(U9.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new GS("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new q9(U9.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};QM.createWorkerFrom=function(e,t,r){return e.pipe(new QHe).pipe(new GS("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new GS("compressedSize")).withStreamInfo("compression",t)};var JM=QM,JHe=Jte,eWe=ere,N3=mm,F3=JM,H9=$s,eN=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};eN.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");r=e.toLowerCase();var n=r==="string"||r==="text";(r==="binarystring"||r==="text")&&(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new N3.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new N3.Utf8DecodeWorker))}catch(a){t=new H9("error"),t.error(a)}return new JHe(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof F3&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new N3.Utf8EncodeWorker)),F3.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof F3?this._data.getContentWorker():this._data instanceof H9?this._data:new eWe(this._data)}};var W9=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],tWe=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(var L3=0;L3<W9.length;L3++)eN.prototype[W9[L3]]=tWe;var rWe=eN,are={},JC={},eA={},ic={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function r(a,o){return Object.prototype.hasOwnProperty.call(a,o)}e.assign=function(a){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var u=o.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var s in u)r(u,s)&&(a[s]=u[s])}}return a},e.shrinkBuf=function(a,o){return a.length===o?a:a.subarray?a.subarray(0,o):(a.length=o,a)};var n={arraySet:function(a,o,u,s,l){if(o.subarray&&a.subarray){a.set(o.subarray(u,u+s),l);return}for(var f=0;f<s;f++)a[l+f]=o[u+f]},flattenChunks:function(a){var o,u,s,l,f,d;for(s=0,o=0,u=a.length;o<u;o++)s+=a[o].length;for(d=new Uint8Array(s),l=0,o=0,u=a.length;o<u;o++)f=a[o],d.set(f,l),l+=f.length;return d}},i={arraySet:function(a,o,u,s,l){for(var f=0;f<s;f++)a[l+f]=o[u+f]},flattenChunks:function(a){return[].concat.apply([],a)}};e.setTyped=function(a){a?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)})(ic);var aw={},of={},bm={},nWe=ic,iWe=4,G9=0,V9=1,aWe=2;function wm(e){for(var t=e.length;--t>=0;)e[t]=0}var oWe=0,ore=1,uWe=2,sWe=3,lWe=258,tN=29,ow=256,j1=ow+1+tN,gg=30,rN=19,ure=2*j1+1,Nh=15,B3=16,fWe=7,nN=256,sre=16,lre=17,fre=18,_D=[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],N_=[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],cWe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],cre=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],dWe=512,Rf=new Array((j1+2)*2);wm(Rf);var Uy=new Array(gg*2);wm(Uy);var U1=new Array(dWe);wm(U1);var q1=new Array(lWe-sWe+1);wm(q1);var iN=new Array(tN);wm(iN);var VS=new Array(gg);wm(VS);function z3(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}var dre,hre,pre;function j3(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function vre(e){return e<256?U1[e]:U1[256+(e>>>7)]}function H1(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function mu(e,t,r){e.bi_valid>B3-r?(e.bi_buf|=t<<e.bi_valid&65535,H1(e,e.bi_buf),e.bi_buf=t>>B3-e.bi_valid,e.bi_valid+=r-B3):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Bl(e,t,r){mu(e,r[t*2],r[t*2+1])}function gre(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function hWe(e){e.bi_valid===16?(H1(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function pWe(e,t){var r=t.dyn_tree,n=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,u=t.stat_desc.extra_base,s=t.stat_desc.max_length,l,f,d,h,p,v,S=0;for(h=0;h<=Nh;h++)e.bl_count[h]=0;for(r[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<ure;l++)f=e.heap[l],h=r[r[f*2+1]*2+1]+1,h>s&&(h=s,S++),r[f*2+1]=h,!(f>n)&&(e.bl_count[h]++,p=0,f>=u&&(p=o[f-u]),v=r[f*2],e.opt_len+=v*(h+p),a&&(e.static_len+=v*(i[f*2+1]+p)));if(S!==0){do{for(h=s-1;e.bl_count[h]===0;)h--;e.bl_count[h]--,e.bl_count[h+1]+=2,e.bl_count[s]--,S-=2}while(S>0);for(h=s;h!==0;h--)for(f=e.bl_count[h];f!==0;)d=e.heap[--l],!(d>n)&&(r[d*2+1]!==h&&(e.opt_len+=(h-r[d*2+1])*r[d*2],r[d*2+1]=h),f--)}}function mre(e,t,r){var n=new Array(Nh+1),i=0,a,o;for(a=1;a<=Nh;a++)n[a]=i=i+r[a-1]<<1;for(o=0;o<=t;o++){var u=e[o*2+1];u!==0&&(e[o*2]=gre(n[u]++,u))}}function vWe(){var e,t,r,n,i,a=new Array(Nh+1);for(r=0,n=0;n<tN-1;n++)for(iN[n]=r,e=0;e<1<<_D[n];e++)q1[r++]=n;for(q1[r-1]=n,i=0,n=0;n<16;n++)for(VS[n]=i,e=0;e<1<<N_[n];e++)U1[i++]=n;for(i>>=7;n<gg;n++)for(VS[n]=i<<7,e=0;e<1<<N_[n]-7;e++)U1[256+i++]=n;for(t=0;t<=Nh;t++)a[t]=0;for(e=0;e<=143;)Rf[e*2+1]=8,e++,a[8]++;for(;e<=255;)Rf[e*2+1]=9,e++,a[9]++;for(;e<=279;)Rf[e*2+1]=7,e++,a[7]++;for(;e<=287;)Rf[e*2+1]=8,e++,a[8]++;for(mre(Rf,j1+1,a),e=0;e<gg;e++)Uy[e*2+1]=5,Uy[e*2]=gre(e,5);dre=new z3(Rf,_D,ow+1,j1,Nh),hre=new z3(Uy,N_,0,gg,Nh),pre=new z3(new Array(0),cWe,0,rN,fWe)}function yre(e){var t;for(t=0;t<j1;t++)e.dyn_ltree[t*2]=0;for(t=0;t<gg;t++)e.dyn_dtree[t*2]=0;for(t=0;t<rN;t++)e.bl_tree[t*2]=0;e.dyn_ltree[nN*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function bre(e){e.bi_valid>8?H1(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function gWe(e,t,r,n){bre(e),n&&(H1(e,r),H1(e,~r)),nWe.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function Y9(e,t,r,n){var i=t*2,a=r*2;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function U3(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&Y9(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Y9(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function X9(e,t,r){var n,i,a=0,o,u;if(e.last_lit!==0)do n=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,n===0?Bl(e,i,t):(o=q1[i],Bl(e,o+ow+1,t),u=_D[o],u!==0&&(i-=iN[o],mu(e,i,u)),n--,o=vre(n),Bl(e,o,r),u=N_[o],u!==0&&(n-=VS[o],mu(e,n,u)));while(a<e.last_lit);Bl(e,nN,t)}function SD(e,t){var r=t.dyn_tree,n=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,u,s=-1,l;for(e.heap_len=0,e.heap_max=ure,o=0;o<a;o++)r[o*2]!==0?(e.heap[++e.heap_len]=s=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)l=e.heap[++e.heap_len]=s<2?++s:0,r[l*2]=1,e.depth[l]=0,e.opt_len--,i&&(e.static_len-=n[l*2+1]);for(t.max_code=s,o=e.heap_len>>1;o>=1;o--)U3(e,r,o);l=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],U3(e,r,1),u=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=u,r[l*2]=r[o*2]+r[u*2],e.depth[l]=(e.depth[o]>=e.depth[u]?e.depth[o]:e.depth[u])+1,r[o*2+1]=r[u*2+1]=l,e.heap[1]=l++,U3(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],pWe(e,t),mre(r,s,e.bl_count)}function K9(e,t,r){var n,i=-1,a,o=t[0*2+1],u=0,s=7,l=4;for(o===0&&(s=138,l=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)a=o,o=t[(n+1)*2+1],!(++u<s&&a===o)&&(u<l?e.bl_tree[a*2]+=u:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[sre*2]++):u<=10?e.bl_tree[lre*2]++:e.bl_tree[fre*2]++,u=0,i=a,o===0?(s=138,l=3):a===o?(s=6,l=3):(s=7,l=4))}function Z9(e,t,r){var n,i=-1,a,o=t[0*2+1],u=0,s=7,l=4;for(o===0&&(s=138,l=3),n=0;n<=r;n++)if(a=o,o=t[(n+1)*2+1],!(++u<s&&a===o)){if(u<l)do Bl(e,a,e.bl_tree);while(--u!==0);else a!==0?(a!==i&&(Bl(e,a,e.bl_tree),u--),Bl(e,sre,e.bl_tree),mu(e,u-3,2)):u<=10?(Bl(e,lre,e.bl_tree),mu(e,u-3,3)):(Bl(e,fre,e.bl_tree),mu(e,u-11,7));u=0,i=a,o===0?(s=138,l=3):a===o?(s=6,l=3):(s=7,l=4)}}function mWe(e){var t;for(K9(e,e.dyn_ltree,e.l_desc.max_code),K9(e,e.dyn_dtree,e.d_desc.max_code),SD(e,e.bl_desc),t=rN-1;t>=3&&e.bl_tree[cre[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function yWe(e,t,r,n){var i;for(mu(e,t-257,5),mu(e,r-1,5),mu(e,n-4,4),i=0;i<n;i++)mu(e,e.bl_tree[cre[i]*2+1],3);Z9(e,e.dyn_ltree,t-1),Z9(e,e.dyn_dtree,r-1)}function bWe(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return G9;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return V9;for(r=32;r<ow;r++)if(e.dyn_ltree[r*2]!==0)return V9;return G9}var Q9=!1;function wWe(e){Q9||(vWe(),Q9=!0),e.l_desc=new j3(e.dyn_ltree,dre),e.d_desc=new j3(e.dyn_dtree,hre),e.bl_desc=new j3(e.bl_tree,pre),e.bi_buf=0,e.bi_valid=0,yre(e)}function wre(e,t,r,n){mu(e,(oWe<<1)+(n?1:0),3),gWe(e,t,r,!0)}function xWe(e){mu(e,ore<<1,3),Bl(e,nN,Rf),hWe(e)}function _We(e,t,r,n){var i,a,o=0;e.level>0?(e.strm.data_type===aWe&&(e.strm.data_type=bWe(e)),SD(e,e.l_desc),SD(e,e.d_desc),o=mWe(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=r+5,r+4<=i&&t!==-1?wre(e,t,r,n):e.strategy===iWe||a===i?(mu(e,(ore<<1)+(n?1:0),3),X9(e,Rf,Uy)):(mu(e,(uWe<<1)+(n?1:0),3),yWe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),X9(e,e.dyn_ltree,e.dyn_dtree)),yre(e),n&&bre(e)}function SWe(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(q1[r]+ow+1)*2]++,e.dyn_dtree[vre(t)*2]++),e.last_lit===e.lit_bufsize-1}bm._tr_init=wWe;bm._tr_stored_block=wre;bm._tr_flush_block=_We;bm._tr_tally=SWe;bm._tr_align=xWe;function EWe(e,t,r,n){for(var i=e&65535|0,a=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do i=i+t[n++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0}var xre=EWe;function CWe(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var AWe=CWe();function kWe(e,t,r,n){var i=AWe,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1}var _re=kWe,aN={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"},Xo=ic,_s=bm,Sre=xre,Oc=_re,TWe=aN,Rp=0,OWe=1,IWe=3,ld=4,J9=5,zl=0,eq=1,Ss=-2,RWe=-3,q3=-5,DWe=-1,PWe=1,Qx=2,$We=3,MWe=4,NWe=0,FWe=2,tA=8,LWe=9,BWe=15,zWe=8,jWe=29,UWe=256,ED=UWe+1+jWe,qWe=30,HWe=19,WWe=2*ED+1,GWe=15,In=3,Xc=258,sl=Xc+In+1,VWe=32,rA=42,CD=69,F_=73,L_=91,B_=103,Fh=113,sy=666,Ia=1,uw=2,lp=3,xm=4,YWe=3;function Kc(e,t){return e.msg=TWe[t],t}function tq(e){return(e<<1)-(e>4?9:0)}function zc(e){for(var t=e.length;--t>=0;)e[t]=0}function Ic(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(Xo.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function wo(e,t){_s._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ic(e.strm)}function qn(e,t){e.pending_buf[e.pending++]=t}function H0(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function XWe(e,t,r,n){var i=e.avail_in;return i>n&&(i=n),i===0?0:(e.avail_in-=i,Xo.arraySet(t,e.input,e.next_in,i,r),e.state.wrap===1?e.adler=Sre(e.adler,t,i,r):e.state.wrap===2&&(e.adler=Oc(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function Ere(e,t){var r=e.max_chain_length,n=e.strstart,i,a,o=e.prev_length,u=e.nice_match,s=e.strstart>e.w_size-sl?e.strstart-(e.w_size-sl):0,l=e.window,f=e.w_mask,d=e.prev,h=e.strstart+Xc,p=l[n+o-1],v=l[n+o];e.prev_length>=e.good_match&&(r>>=2),u>e.lookahead&&(u=e.lookahead);do if(i=t,!(l[i+o]!==v||l[i+o-1]!==p||l[i]!==l[n]||l[++i]!==l[n+1])){n+=2,i++;do;while(l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&n<h);if(a=Xc-(h-n),n=h-Xc,a>o){if(e.match_start=t,o=a,a>=u)break;p=l[n+o-1],v=l[n+o]}}while((t=d[t&f])>s&&--r!==0);return o<=e.lookahead?o:e.lookahead}function fp(e){var t=e.w_size,r,n,i,a,o;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-sl)){Xo.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,n=e.hash_size,r=n;do i=e.head[--r],e.head[r]=i>=t?i-t:0;while(--n);n=t,r=n;do i=e.prev[--r],e.prev[r]=i>=t?i-t:0;while(--n);a+=t}if(e.strm.avail_in===0)break;if(n=XWe(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=n,e.lookahead+e.insert>=In)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+In-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<In)););}while(e.lookahead<sl&&e.strm.avail_in!==0)}function KWe(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(fp(e),e.lookahead===0&&t===Rp)return Ia;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((e.strstart===0||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,wo(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-sl&&(wo(e,!1),e.strm.avail_out===0))return Ia}return e.insert=0,t===ld?(wo(e,!0),e.strm.avail_out===0?lp:xm):(e.strstart>e.block_start&&(wo(e,!1),e.strm.avail_out===0),Ia)}function H3(e,t){for(var r,n;;){if(e.lookahead<sl){if(fp(e),e.lookahead<sl&&t===Rp)return Ia;if(e.lookahead===0)break}if(r=0,e.lookahead>=In&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+In-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-sl&&(e.match_length=Ere(e,r)),e.match_length>=In)if(n=_s._tr_tally(e,e.strstart-e.match_start,e.match_length-In),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=In){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+In-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=_s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(wo(e,!1),e.strm.avail_out===0))return Ia}return e.insert=e.strstart<In-1?e.strstart:In-1,t===ld?(wo(e,!0),e.strm.avail_out===0?lp:xm):e.last_lit&&(wo(e,!1),e.strm.avail_out===0)?Ia:uw}function _v(e,t){for(var r,n,i;;){if(e.lookahead<sl){if(fp(e),e.lookahead<sl&&t===Rp)return Ia;if(e.lookahead===0)break}if(r=0,e.lookahead>=In&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+In-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=In-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-sl&&(e.match_length=Ere(e,r),e.match_length<=5&&(e.strategy===PWe||e.match_length===In&&e.strstart-e.match_start>4096)&&(e.match_length=In-1)),e.prev_length>=In&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-In,n=_s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-In),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+In-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=In-1,e.strstart++,n&&(wo(e,!1),e.strm.avail_out===0))return Ia}else if(e.match_available){if(n=_s._tr_tally(e,0,e.window[e.strstart-1]),n&&wo(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ia}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=_s._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<In-1?e.strstart:In-1,t===ld?(wo(e,!0),e.strm.avail_out===0?lp:xm):e.last_lit&&(wo(e,!1),e.strm.avail_out===0)?Ia:uw}function ZWe(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=Xc){if(fp(e),e.lookahead<=Xc&&t===Rp)return Ia;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=In&&e.strstart>0&&(i=e.strstart-1,n=o[i],n===o[++i]&&n===o[++i]&&n===o[++i])){a=e.strstart+Xc;do;while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=Xc-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=In?(r=_s._tr_tally(e,1,e.match_length-In),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=_s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(wo(e,!1),e.strm.avail_out===0))return Ia}return e.insert=0,t===ld?(wo(e,!0),e.strm.avail_out===0?lp:xm):e.last_lit&&(wo(e,!1),e.strm.avail_out===0)?Ia:uw}function QWe(e,t){for(var r;;){if(e.lookahead===0&&(fp(e),e.lookahead===0)){if(t===Rp)return Ia;break}if(e.match_length=0,r=_s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(wo(e,!1),e.strm.avail_out===0))return Ia}return e.insert=0,t===ld?(wo(e,!0),e.strm.avail_out===0?lp:xm):e.last_lit&&(wo(e,!1),e.strm.avail_out===0)?Ia:uw}function Ol(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}var Wv;Wv=[new Ol(0,0,0,0,KWe),new Ol(4,4,8,4,H3),new Ol(4,5,16,8,H3),new Ol(4,6,32,32,H3),new Ol(4,4,16,16,_v),new Ol(8,16,32,32,_v),new Ol(8,16,128,128,_v),new Ol(8,32,128,256,_v),new Ol(32,128,258,1024,_v),new Ol(32,258,258,4096,_v)];function JWe(e){e.window_size=2*e.w_size,zc(e.head),e.max_lazy_match=Wv[e.level].max_lazy,e.good_match=Wv[e.level].good_length,e.nice_match=Wv[e.level].nice_length,e.max_chain_length=Wv[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=In-1,e.match_available=0,e.ins_h=0}function eGe(){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=tA,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 Xo.Buf16(WWe*2),this.dyn_dtree=new Xo.Buf16((2*qWe+1)*2),this.bl_tree=new Xo.Buf16((2*HWe+1)*2),zc(this.dyn_ltree),zc(this.dyn_dtree),zc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Xo.Buf16(GWe+1),this.heap=new Xo.Buf16(2*ED+1),zc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Xo.Buf16(2*ED+1),zc(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 Cre(e){var t;return!e||!e.state?Kc(e,Ss):(e.total_in=e.total_out=0,e.data_type=FWe,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?rA:Fh,e.adler=t.wrap===2?0:1,t.last_flush=Rp,_s._tr_init(t),zl)}function Are(e){var t=Cre(e);return t===zl&&JWe(e.state),t}function tGe(e,t){return!e||!e.state||e.state.wrap!==2?Ss:(e.state.gzhead=t,zl)}function kre(e,t,r,n,i,a){if(!e)return Ss;var o=1;if(t===DWe&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>LWe||r!==tA||n<8||n>15||t<0||t>9||a<0||a>MWe)return Kc(e,Ss);n===8&&(n=9);var u=new eGe;return e.state=u,u.strm=e,u.wrap=o,u.gzhead=null,u.w_bits=n,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=i+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+In-1)/In),u.window=new Xo.Buf8(u.w_size*2),u.head=new Xo.Buf16(u.hash_size),u.prev=new Xo.Buf16(u.w_size),u.lit_bufsize=1<<i+6,u.pending_buf_size=u.lit_bufsize*4,u.pending_buf=new Xo.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=(1+2)*u.lit_bufsize,u.level=t,u.strategy=a,u.method=r,Are(e)}function rGe(e,t){return kre(e,t,tA,BWe,zWe,NWe)}function nGe(e,t){var r,n,i,a;if(!e||!e.state||t>J9||t<0)return e?Kc(e,Ss):Ss;if(n=e.state,!e.output||!e.input&&e.avail_in!==0||n.status===sy&&t!==ld)return Kc(e,e.avail_out===0?q3:Ss);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===rA)if(n.wrap===2)e.adler=0,qn(n,31),qn(n,139),qn(n,8),n.gzhead?(qn(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),qn(n,n.gzhead.time&255),qn(n,n.gzhead.time>>8&255),qn(n,n.gzhead.time>>16&255),qn(n,n.gzhead.time>>24&255),qn(n,n.level===9?2:n.strategy>=Qx||n.level<2?4:0),qn(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(qn(n,n.gzhead.extra.length&255),qn(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Oc(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=CD):(qn(n,0),qn(n,0),qn(n,0),qn(n,0),qn(n,0),qn(n,n.level===9?2:n.strategy>=Qx||n.level<2?4:0),qn(n,YWe),n.status=Fh);else{var o=tA+(n.w_bits-8<<4)<<8,u=-1;n.strategy>=Qx||n.level<2?u=0:n.level<6?u=1:n.level===6?u=2:u=3,o|=u<<6,n.strstart!==0&&(o|=VWe),o+=31-o%31,n.status=Fh,H0(n,o),n.strstart!==0&&(H0(n,e.adler>>>16),H0(n,e.adler&65535)),e.adler=1}if(n.status===CD)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(n.gzhead.extra.length&65535)&&!(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Oc(e.adler,n.pending_buf,n.pending-i,i)),Ic(e),i=n.pending,n.pending===n.pending_buf_size));)qn(n,n.gzhead.extra[n.gzindex]&255),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Oc(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=F_)}else n.status=F_;if(n.status===F_)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Oc(e.adler,n.pending_buf,n.pending-i,i)),Ic(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.name.length?a=n.gzhead.name.charCodeAt(n.gzindex++)&255:a=0,qn(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Oc(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.gzindex=0,n.status=L_)}else n.status=L_;if(n.status===L_)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Oc(e.adler,n.pending_buf,n.pending-i,i)),Ic(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.comment.length?a=n.gzhead.comment.charCodeAt(n.gzindex++)&255:a=0,qn(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Oc(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.status=B_)}else n.status=B_;if(n.status===B_&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ic(e),n.pending+2<=n.pending_buf_size&&(qn(n,e.adler&255),qn(n,e.adler>>8&255),e.adler=0,n.status=Fh)):n.status=Fh),n.pending!==0){if(Ic(e),e.avail_out===0)return n.last_flush=-1,zl}else if(e.avail_in===0&&tq(t)<=tq(r)&&t!==ld)return Kc(e,q3);if(n.status===sy&&e.avail_in!==0)return Kc(e,q3);if(e.avail_in!==0||n.lookahead!==0||t!==Rp&&n.status!==sy){var s=n.strategy===Qx?QWe(n,t):n.strategy===$We?ZWe(n,t):Wv[n.level].func(n,t);if((s===lp||s===xm)&&(n.status=sy),s===Ia||s===lp)return e.avail_out===0&&(n.last_flush=-1),zl;if(s===uw&&(t===OWe?_s._tr_align(n):t!==J9&&(_s._tr_stored_block(n,0,0,!1),t===IWe&&(zc(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Ic(e),e.avail_out===0))return n.last_flush=-1,zl}return t!==ld?zl:n.wrap<=0?eq:(n.wrap===2?(qn(n,e.adler&255),qn(n,e.adler>>8&255),qn(n,e.adler>>16&255),qn(n,e.adler>>24&255),qn(n,e.total_in&255),qn(n,e.total_in>>8&255),qn(n,e.total_in>>16&255),qn(n,e.total_in>>24&255)):(H0(n,e.adler>>>16),H0(n,e.adler&65535)),Ic(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?zl:eq)}function iGe(e){var t;return!e||!e.state?Ss:(t=e.state.status,t!==rA&&t!==CD&&t!==F_&&t!==L_&&t!==B_&&t!==Fh&&t!==sy?Kc(e,Ss):(e.state=null,t===Fh?Kc(e,RWe):zl))}function aGe(e,t){var r=t.length,n,i,a,o,u,s,l,f;if(!e||!e.state||(n=e.state,o=n.wrap,o===2||o===1&&n.status!==rA||n.lookahead))return Ss;for(o===1&&(e.adler=Sre(e.adler,t,r,0)),n.wrap=0,r>=n.w_size&&(o===0&&(zc(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new Xo.Buf8(n.w_size),Xo.arraySet(f,t,r-n.w_size,n.w_size,0),t=f,r=n.w_size),u=e.avail_in,s=e.next_in,l=e.input,e.avail_in=r,e.next_in=0,e.input=t,fp(n);n.lookahead>=In;){i=n.strstart,a=n.lookahead-(In-1);do n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+In-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++;while(--a);n.strstart=i,n.lookahead=In-1,fp(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=In-1,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=u,n.wrap=o,zl}of.deflateInit=rGe;of.deflateInit2=kre;of.deflateReset=Are;of.deflateResetKeep=Cre;of.deflateSetHeader=tGe;of.deflate=nGe;of.deflateEnd=iGe;of.deflateSetDictionary=aGe;of.deflateInfo="pako deflate (from Nodeca project)";var Dp={},nA=ic,Tre=!0,Ore=!0;try{String.fromCharCode.apply(null,[0])}catch{Tre=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Ore=!1}var W1=new nA.Buf8(256);for(var kc=0;kc<256;kc++)W1[kc]=kc>=252?6:kc>=248?5:kc>=240?4:kc>=224?3:kc>=192?2:1;W1[254]=W1[254]=1;Dp.string2buf=function(e){var t,r,n,i,a,o=e.length,u=0;for(i=0;i<o;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=new nA.Buf8(u),a=0,i=0;a<u;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|r&63):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|r&63):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|r&63);return t};function Ire(e,t){if(t<65534&&(e.subarray&&Ore||!e.subarray&&Tre))return String.fromCharCode.apply(null,nA.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}Dp.buf2binstring=function(e){return Ire(e,e.length)};Dp.binstring2buf=function(e){for(var t=new nA.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t};Dp.buf2string=function(e,t){var r,n,i,a,o=t||e.length,u=new Array(o*2);for(n=0,r=0;r<o;){if(i=e[r++],i<128){u[n++]=i;continue}if(a=W1[i],a>4){u[n++]=65533,r+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&r<o;)i=i<<6|e[r++]&63,a--;if(a>1){u[n++]=65533;continue}i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|i&1023)}return Ire(u,n)};Dp.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+W1[e[r]]>t?r:t};function oGe(){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}var Rre=oGe,qy=of,Hy=ic,AD=Dp,kD=aN,uGe=Rre,Dre=Object.prototype.toString,sGe=0,W3=4,mg=0,rq=1,nq=2,lGe=-1,fGe=0,cGe=8;function cp(e){if(!(this instanceof cp))return new cp(e);this.options=Hy.assign({level:lGe,method:cGe,chunkSize:16384,windowBits:15,memLevel:8,strategy:fGe,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new uGe,this.strm.avail_out=0;var r=qy.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==mg)throw new Error(kD[r]);if(t.header&&qy.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(typeof t.dictionary=="string"?n=AD.string2buf(t.dictionary):Dre.call(t.dictionary)==="[object ArrayBuffer]"?n=new Uint8Array(t.dictionary):n=t.dictionary,r=qy.deflateSetDictionary(this.strm,n),r!==mg)throw new Error(kD[r]);this._dict_set=!0}}cp.prototype.push=function(e,t){var r=this.strm,n=this.options.chunkSize,i,a;if(this.ended)return!1;a=t===~~t?t:t===!0?W3:sGe,typeof e=="string"?r.input=AD.string2buf(e):Dre.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Hy.Buf8(n),r.next_out=0,r.avail_out=n),i=qy.deflate(r,a),i!==rq&&i!==mg)return this.onEnd(i),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(a===W3||a===nq))&&(this.options.to==="string"?this.onData(AD.buf2binstring(Hy.shrinkBuf(r.output,r.next_out))):this.onData(Hy.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&i!==rq);return a===W3?(i=qy.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===mg):(a===nq&&(this.onEnd(mg),r.avail_out=0),!0)};cp.prototype.onData=function(e){this.chunks.push(e)};cp.prototype.onEnd=function(e){e===mg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Hy.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function oN(e,t){var r=new cp(t);if(r.push(e,!0),r.err)throw r.msg||kD[r.err];return r.result}function dGe(e,t){return t=t||{},t.raw=!0,oN(e,t)}function hGe(e,t){return t=t||{},t.gzip=!0,oN(e,t)}aw.Deflate=cp;aw.deflate=oN;aw.deflateRaw=dGe;aw.gzip=hGe;var sw={},vl={},Jx=30,pGe=12,vGe=function(t,r){var n,i,a,o,u,s,l,f,d,h,p,v,S,y,m,x,w,E,A,g,F,P,N,V,H;n=t.state,i=t.next_in,V=t.input,a=i+(t.avail_in-5),o=t.next_out,H=t.output,u=o-(r-t.avail_out),s=o+(t.avail_out-257),l=n.dmax,f=n.wsize,d=n.whave,h=n.wnext,p=n.window,v=n.hold,S=n.bits,y=n.lencode,m=n.distcode,x=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;e:do{S<15&&(v+=V[i++]<<S,S+=8,v+=V[i++]<<S,S+=8),E=y[v&x];t:for(;;){if(A=E>>>24,v>>>=A,S-=A,A=E>>>16&255,A===0)H[o++]=E&65535;else if(A&16){g=E&65535,A&=15,A&&(S<A&&(v+=V[i++]<<S,S+=8),g+=v&(1<<A)-1,v>>>=A,S-=A),S<15&&(v+=V[i++]<<S,S+=8,v+=V[i++]<<S,S+=8),E=m[v&w];r:for(;;){if(A=E>>>24,v>>>=A,S-=A,A=E>>>16&255,A&16){if(F=E&65535,A&=15,S<A&&(v+=V[i++]<<S,S+=8,S<A&&(v+=V[i++]<<S,S+=8)),F+=v&(1<<A)-1,F>l){t.msg="invalid distance too far back",n.mode=Jx;break e}if(v>>>=A,S-=A,A=o-u,F>A){if(A=F-A,A>d&&n.sane){t.msg="invalid distance too far back",n.mode=Jx;break e}if(P=0,N=p,h===0){if(P+=f-A,A<g){g-=A;do H[o++]=p[P++];while(--A);P=o-F,N=H}}else if(h<A){if(P+=f+h-A,A-=h,A<g){g-=A;do H[o++]=p[P++];while(--A);if(P=0,h<g){A=h,g-=A;do H[o++]=p[P++];while(--A);P=o-F,N=H}}}else if(P+=h-A,A<g){g-=A;do H[o++]=p[P++];while(--A);P=o-F,N=H}for(;g>2;)H[o++]=N[P++],H[o++]=N[P++],H[o++]=N[P++],g-=3;g&&(H[o++]=N[P++],g>1&&(H[o++]=N[P++]))}else{P=o-F;do H[o++]=H[P++],H[o++]=H[P++],H[o++]=H[P++],g-=3;while(g>2);g&&(H[o++]=H[P++],g>1&&(H[o++]=H[P++]))}}else if(A&64){t.msg="invalid distance code",n.mode=Jx;break e}else{E=m[(E&65535)+(v&(1<<A)-1)];continue r}break}}else if(A&64)if(A&32){n.mode=pGe;break e}else{t.msg="invalid literal/length code",n.mode=Jx;break e}else{E=y[(E&65535)+(v&(1<<A)-1)];continue t}break}}while(i<a&&o<s);g=S>>3,i-=g,S-=g<<3,v&=(1<<S)-1,t.next_in=i,t.next_out=o,t.avail_in=i<a?5+(a-i):5-(i-a),t.avail_out=o<s?257+(s-o):257-(o-s),n.hold=v,n.bits=S},iq=ic,Sv=15,aq=852,oq=592,uq=0,G3=1,sq=2,gGe=[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],mGe=[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],yGe=[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],bGe=[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],wGe=function(t,r,n,i,a,o,u,s){var l=s.bits,f=0,d=0,h=0,p=0,v=0,S=0,y=0,m=0,x=0,w=0,E,A,g,F,P,N=null,V=0,H,ie=new iq.Buf16(Sv+1),pe=new iq.Buf16(Sv+1),de=null,Be=0,Fe,M,G;for(f=0;f<=Sv;f++)ie[f]=0;for(d=0;d<i;d++)ie[r[n+d]]++;for(v=l,p=Sv;p>=1&&ie[p]===0;p--);if(v>p&&(v=p),p===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,s.bits=1,0;for(h=1;h<p&&ie[h]===0;h++);for(v<h&&(v=h),m=1,f=1;f<=Sv;f++)if(m<<=1,m-=ie[f],m<0)return-1;if(m>0&&(t===uq||p!==1))return-1;for(pe[1]=0,f=1;f<Sv;f++)pe[f+1]=pe[f]+ie[f];for(d=0;d<i;d++)r[n+d]!==0&&(u[pe[r[n+d]]++]=d);if(t===uq?(N=de=u,H=19):t===G3?(N=gGe,V-=257,de=mGe,Be-=257,H=256):(N=yGe,de=bGe,H=-1),w=0,d=0,f=h,P=o,S=v,y=0,g=-1,x=1<<v,F=x-1,t===G3&&x>aq||t===sq&&x>oq)return 1;for(;;){Fe=f-y,u[d]<H?(M=0,G=u[d]):u[d]>H?(M=de[Be+u[d]],G=N[V+u[d]]):(M=32+64,G=0),E=1<<f-y,A=1<<S,h=A;do A-=E,a[P+(w>>y)+A]=Fe<<24|M<<16|G|0;while(A!==0);for(E=1<<f-1;w&E;)E>>=1;if(E!==0?(w&=E-1,w+=E):w=0,d++,--ie[f]===0){if(f===p)break;f=r[n+u[d]]}if(f>v&&(w&F)!==g){for(y===0&&(y=v),P+=h,S=f-y,m=1<<S;S+y<p&&(m-=ie[S+y],!(m<=0));)S++,m<<=1;if(x+=1<<S,t===G3&&x>aq||t===sq&&x>oq)return 1;g=w&F,a[g]=v<<24|S<<16|P-o|0}}return w!==0&&(a[P+w]=f-y<<24|64<<16|0),s.bits=v,0},zu=ic,TD=xre,Il=_re,xGe=vGe,Wy=wGe,_Ge=0,Pre=1,$re=2,lq=4,SGe=5,e_=6,dp=0,EGe=1,CGe=2,Is=-2,Mre=-3,Nre=-4,AGe=-5,fq=8,Fre=1,cq=2,dq=3,hq=4,pq=5,vq=6,gq=7,mq=8,yq=9,bq=10,YS=11,Af=12,V3=13,wq=14,Y3=15,xq=16,_q=17,Sq=18,Eq=19,t_=20,r_=21,Cq=22,Aq=23,kq=24,Tq=25,Oq=26,X3=27,Iq=28,Rq=29,Mi=30,Lre=31,kGe=32,TGe=852,OGe=592,IGe=15,RGe=IGe;function Dq(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function DGe(){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 zu.Buf16(320),this.work=new zu.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Bre(e){var t;return!e||!e.state?Is:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Fre,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new zu.Buf32(TGe),t.distcode=t.distdyn=new zu.Buf32(OGe),t.sane=1,t.back=-1,dp)}function zre(e){var t;return!e||!e.state?Is:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Bre(e))}function jre(e,t){var r,n;return!e||!e.state||(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Is:(n.window!==null&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,zre(e))}function Ure(e,t){var r,n;return e?(n=new DGe,e.state=n,n.window=null,r=jre(e,t),r!==dp&&(e.state=null),r):Is}function PGe(e){return Ure(e,RGe)}var Pq=!0,K3,Z3;function $Ge(e){if(Pq){var t;for(K3=new zu.Buf32(512),Z3=new zu.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Wy(Pre,e.lens,0,288,K3,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Wy($re,e.lens,0,32,Z3,0,e.work,{bits:5}),Pq=!1}e.lencode=K3,e.lenbits=9,e.distcode=Z3,e.distbits=5}function qre(e,t,r,n){var i,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new zu.Buf8(a.wsize)),n>=a.wsize?(zu.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),zu.arraySet(a.window,t,r-n,i,a.wnext),n-=i,n?(zu.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function MGe(e,t){var r,n,i,a,o,u,s,l,f,d,h,p,v,S,y=0,m,x,w,E,A,g,F,P,N=new zu.Buf8(4),V,H,ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Is;r=e.state,r.mode===Af&&(r.mode=V3),o=e.next_out,i=e.output,s=e.avail_out,a=e.next_in,n=e.input,u=e.avail_in,l=r.hold,f=r.bits,d=u,h=s,P=dp;e:for(;;)switch(r.mode){case Fre:if(r.wrap===0){r.mode=V3;break}for(;f<16;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(r.wrap&2&&l===35615){r.check=0,N[0]=l&255,N[1]=l>>>8&255,r.check=Il(r.check,N,2,0),l=0,f=0,r.mode=cq;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=Mi;break}if((l&15)!==fq){e.msg="unknown compression method",r.mode=Mi;break}if(l>>>=4,f-=4,F=(l&15)+8,r.wbits===0)r.wbits=F;else if(F>r.wbits){e.msg="invalid window size",r.mode=Mi;break}r.dmax=1<<F,e.adler=r.check=1,r.mode=l&512?bq:Af,l=0,f=0;break;case cq:for(;f<16;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(r.flags=l,(r.flags&255)!==fq){e.msg="unknown compression method",r.mode=Mi;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=Mi;break}r.head&&(r.head.text=l>>8&1),r.flags&512&&(N[0]=l&255,N[1]=l>>>8&255,r.check=Il(r.check,N,2,0)),l=0,f=0,r.mode=dq;case dq:for(;f<32;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}r.head&&(r.head.time=l),r.flags&512&&(N[0]=l&255,N[1]=l>>>8&255,N[2]=l>>>16&255,N[3]=l>>>24&255,r.check=Il(r.check,N,4,0)),l=0,f=0,r.mode=hq;case hq:for(;f<16;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}r.head&&(r.head.xflags=l&255,r.head.os=l>>8),r.flags&512&&(N[0]=l&255,N[1]=l>>>8&255,r.check=Il(r.check,N,2,0)),l=0,f=0,r.mode=pq;case pq:if(r.flags&1024){for(;f<16;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}r.length=l,r.head&&(r.head.extra_len=l),r.flags&512&&(N[0]=l&255,N[1]=l>>>8&255,r.check=Il(r.check,N,2,0)),l=0,f=0}else r.head&&(r.head.extra=null);r.mode=vq;case vq:if(r.flags&1024&&(p=r.length,p>u&&(p=u),p&&(r.head&&(F=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),zu.arraySet(r.head.extra,n,a,p,F)),r.flags&512&&(r.check=Il(r.check,n,p,a)),u-=p,a+=p,r.length-=p),r.length))break e;r.length=0,r.mode=gq;case gq:if(r.flags&2048){if(u===0)break e;p=0;do F=n[a+p++],r.head&&F&&r.length<65536&&(r.head.name+=String.fromCharCode(F));while(F&&p<u);if(r.flags&512&&(r.check=Il(r.check,n,p,a)),u-=p,a+=p,F)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=mq;case mq:if(r.flags&4096){if(u===0)break e;p=0;do F=n[a+p++],r.head&&F&&r.length<65536&&(r.head.comment+=String.fromCharCode(F));while(F&&p<u);if(r.flags&512&&(r.check=Il(r.check,n,p,a)),u-=p,a+=p,F)break e}else r.head&&(r.head.comment=null);r.mode=yq;case yq:if(r.flags&512){for(;f<16;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(l!==(r.check&65535)){e.msg="header crc mismatch",r.mode=Mi;break}l=0,f=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Af;break;case bq:for(;f<32;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}e.adler=r.check=Dq(l),l=0,f=0,r.mode=YS;case YS:if(r.havedict===0)return e.next_out=o,e.avail_out=s,e.next_in=a,e.avail_in=u,r.hold=l,r.bits=f,CGe;e.adler=r.check=1,r.mode=Af;case Af:if(t===SGe||t===e_)break e;case V3:if(r.last){l>>>=f&7,f-=f&7,r.mode=X3;break}for(;f<3;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}switch(r.last=l&1,l>>>=1,f-=1,l&3){case 0:r.mode=wq;break;case 1:if($Ge(r),r.mode=t_,t===e_){l>>>=2,f-=2;break e}break;case 2:r.mode=_q;break;case 3:e.msg="invalid block type",r.mode=Mi}l>>>=2,f-=2;break;case wq:for(l>>>=f&7,f-=f&7;f<32;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if((l&65535)!==(l>>>16^65535)){e.msg="invalid stored block lengths",r.mode=Mi;break}if(r.length=l&65535,l=0,f=0,r.mode=Y3,t===e_)break e;case Y3:r.mode=xq;case xq:if(p=r.length,p){if(p>u&&(p=u),p>s&&(p=s),p===0)break e;zu.arraySet(i,n,a,p,o),u-=p,a+=p,s-=p,o+=p,r.length-=p;break}r.mode=Af;break;case _q:for(;f<14;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(r.nlen=(l&31)+257,l>>>=5,f-=5,r.ndist=(l&31)+1,l>>>=5,f-=5,r.ncode=(l&15)+4,l>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Mi;break}r.have=0,r.mode=Sq;case Sq:for(;r.have<r.ncode;){for(;f<3;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}r.lens[ie[r.have++]]=l&7,l>>>=3,f-=3}for(;r.have<19;)r.lens[ie[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,V={bits:r.lenbits},P=Wy(_Ge,r.lens,0,19,r.lencode,0,r.work,V),r.lenbits=V.bits,P){e.msg="invalid code lengths set",r.mode=Mi;break}r.have=0,r.mode=Eq;case Eq:for(;r.have<r.nlen+r.ndist;){for(;y=r.lencode[l&(1<<r.lenbits)-1],m=y>>>24,x=y>>>16&255,w=y&65535,!(m<=f);){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(w<16)l>>>=m,f-=m,r.lens[r.have++]=w;else{if(w===16){for(H=m+2;f<H;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(l>>>=m,f-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Mi;break}F=r.lens[r.have-1],p=3+(l&3),l>>>=2,f-=2}else if(w===17){for(H=m+3;f<H;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}l>>>=m,f-=m,F=0,p=3+(l&7),l>>>=3,f-=3}else{for(H=m+7;f<H;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}l>>>=m,f-=m,F=0,p=11+(l&127),l>>>=7,f-=7}if(r.have+p>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Mi;break}for(;p--;)r.lens[r.have++]=F}}if(r.mode===Mi)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Mi;break}if(r.lenbits=9,V={bits:r.lenbits},P=Wy(Pre,r.lens,0,r.nlen,r.lencode,0,r.work,V),r.lenbits=V.bits,P){e.msg="invalid literal/lengths set",r.mode=Mi;break}if(r.distbits=6,r.distcode=r.distdyn,V={bits:r.distbits},P=Wy($re,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,V),r.distbits=V.bits,P){e.msg="invalid distances set",r.mode=Mi;break}if(r.mode=t_,t===e_)break e;case t_:r.mode=r_;case r_:if(u>=6&&s>=258){e.next_out=o,e.avail_out=s,e.next_in=a,e.avail_in=u,r.hold=l,r.bits=f,xGe(e,h),o=e.next_out,i=e.output,s=e.avail_out,a=e.next_in,n=e.input,u=e.avail_in,l=r.hold,f=r.bits,r.mode===Af&&(r.back=-1);break}for(r.back=0;y=r.lencode[l&(1<<r.lenbits)-1],m=y>>>24,x=y>>>16&255,w=y&65535,!(m<=f);){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(x&&!(x&240)){for(E=m,A=x,g=w;y=r.lencode[g+((l&(1<<E+A)-1)>>E)],m=y>>>24,x=y>>>16&255,w=y&65535,!(E+m<=f);){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}l>>>=E,f-=E,r.back+=E}if(l>>>=m,f-=m,r.back+=m,r.length=w,x===0){r.mode=Oq;break}if(x&32){r.back=-1,r.mode=Af;break}if(x&64){e.msg="invalid literal/length code",r.mode=Mi;break}r.extra=x&15,r.mode=Cq;case Cq:if(r.extra){for(H=r.extra;f<H;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Aq;case Aq:for(;y=r.distcode[l&(1<<r.distbits)-1],m=y>>>24,x=y>>>16&255,w=y&65535,!(m<=f);){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(!(x&240)){for(E=m,A=x,g=w;y=r.distcode[g+((l&(1<<E+A)-1)>>E)],m=y>>>24,x=y>>>16&255,w=y&65535,!(E+m<=f);){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}l>>>=E,f-=E,r.back+=E}if(l>>>=m,f-=m,r.back+=m,x&64){e.msg="invalid distance code",r.mode=Mi;break}r.offset=w,r.extra=x&15,r.mode=kq;case kq:if(r.extra){for(H=r.extra;f<H;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Mi;break}r.mode=Tq;case Tq:if(s===0)break e;if(p=h-s,r.offset>p){if(p=r.offset-p,p>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Mi;break}p>r.wnext?(p-=r.wnext,v=r.wsize-p):v=r.wnext-p,p>r.length&&(p=r.length),S=r.window}else S=i,v=o-r.offset,p=r.length;p>s&&(p=s),s-=p,r.length-=p;do i[o++]=S[v++];while(--p);r.length===0&&(r.mode=r_);break;case Oq:if(s===0)break e;i[o++]=r.length,s--,r.mode=r_;break;case X3:if(r.wrap){for(;f<32;){if(u===0)break e;u--,l|=n[a++]<<f,f+=8}if(h-=s,e.total_out+=h,r.total+=h,h&&(e.adler=r.check=r.flags?Il(r.check,i,h,o-h):TD(r.check,i,h,o-h)),h=s,(r.flags?l:Dq(l))!==r.check){e.msg="incorrect data check",r.mode=Mi;break}l=0,f=0}r.mode=Iq;case Iq:if(r.wrap&&r.flags){for(;f<32;){if(u===0)break e;u--,l+=n[a++]<<f,f+=8}if(l!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=Mi;break}l=0,f=0}r.mode=Rq;case Rq:P=EGe;break e;case Mi:P=Mre;break e;case Lre:return Nre;case kGe:default:return Is}return e.next_out=o,e.avail_out=s,e.next_in=a,e.avail_in=u,r.hold=l,r.bits=f,(r.wsize||h!==e.avail_out&&r.mode<Mi&&(r.mode<X3||t!==lq))&&qre(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,r.total+=h,r.wrap&&h&&(e.adler=r.check=r.flags?Il(r.check,i,h,e.next_out-h):TD(r.check,i,h,e.next_out-h)),e.data_type=r.bits+(r.last?64:0)+(r.mode===Af?128:0)+(r.mode===t_||r.mode===Y3?256:0),(d===0&&h===0||t===lq)&&P===dp&&(P=AGe),P}function NGe(e){if(!e||!e.state)return Is;var t=e.state;return t.window&&(t.window=null),e.state=null,dp}function FGe(e,t){var r;return!e||!e.state||(r=e.state,!(r.wrap&2))?Is:(r.head=t,t.done=!1,dp)}function LGe(e,t){var r=t.length,n,i,a;return!e||!e.state||(n=e.state,n.wrap!==0&&n.mode!==YS)?Is:n.mode===YS&&(i=1,i=TD(i,t,r,0),i!==n.check)?Mre:(a=qre(e,t,r,r),a?(n.mode=Lre,Nre):(n.havedict=1,dp))}vl.inflateReset=zre;vl.inflateReset2=jre;vl.inflateResetKeep=Bre;vl.inflateInit=PGe;vl.inflateInit2=Ure;vl.inflate=MGe;vl.inflateEnd=NGe;vl.inflateGetHeader=FGe;vl.inflateSetDictionary=LGe;vl.inflateInfo="pako inflate (from Nodeca project)";var Hre={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};function BGe(){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}var zGe=BGe,yg=vl,Gy=ic,z_=Dp,Ji=Hre,OD=aN,jGe=Rre,UGe=zGe,Wre=Object.prototype.toString;function hp(e){if(!(this instanceof hp))return new hp(e);this.options=Gy.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new jGe,this.strm.avail_out=0;var r=yg.inflateInit2(this.strm,t.windowBits);if(r!==Ji.Z_OK)throw new Error(OD[r]);if(this.header=new UGe,yg.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=z_.string2buf(t.dictionary):Wre.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=yg.inflateSetDictionary(this.strm,t.dictionary),r!==Ji.Z_OK)))throw new Error(OD[r])}hp.prototype.push=function(e,t){var r=this.strm,n=this.options.chunkSize,i=this.options.dictionary,a,o,u,s,l,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Ji.Z_FINISH:Ji.Z_NO_FLUSH,typeof e=="string"?r.input=z_.binstring2buf(e):Wre.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Gy.Buf8(n),r.next_out=0,r.avail_out=n),a=yg.inflate(r,Ji.Z_NO_FLUSH),a===Ji.Z_NEED_DICT&&i&&(a=yg.inflateSetDictionary(this.strm,i)),a===Ji.Z_BUF_ERROR&&f===!0&&(a=Ji.Z_OK,f=!1),a!==Ji.Z_STREAM_END&&a!==Ji.Z_OK)return this.onEnd(a),this.ended=!0,!1;r.next_out&&(r.avail_out===0||a===Ji.Z_STREAM_END||r.avail_in===0&&(o===Ji.Z_FINISH||o===Ji.Z_SYNC_FLUSH))&&(this.options.to==="string"?(u=z_.utf8border(r.output,r.next_out),s=r.next_out-u,l=z_.buf2string(r.output,u),r.next_out=s,r.avail_out=n-s,s&&Gy.arraySet(r.output,r.output,u,s,0),this.onData(l)):this.onData(Gy.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&a!==Ji.Z_STREAM_END);return a===Ji.Z_STREAM_END&&(o=Ji.Z_FINISH),o===Ji.Z_FINISH?(a=yg.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Ji.Z_OK):(o===Ji.Z_SYNC_FLUSH&&(this.onEnd(Ji.Z_OK),r.avail_out=0),!0)};hp.prototype.onData=function(e){this.chunks.push(e)};hp.prototype.onEnd=function(e){e===Ji.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gy.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function uN(e,t){var r=new hp(t);if(r.push(e,!0),r.err)throw r.msg||OD[r.err];return r.result}function qGe(e,t){return t=t||{},t.raw=!0,uN(e,t)}sw.Inflate=hp;sw.inflate=uN;sw.inflateRaw=qGe;sw.ungzip=uN;var HGe=ic.assign,WGe=aw,GGe=sw,VGe=Hre,Gre={};HGe(Gre,WGe,GGe,VGe);var YGe=Gre,XGe=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",KGe=YGe,Vre=Ui(),iA=$s,ZGe=XGe?"uint8array":"array";eA.magic="\b\0";function Pp(e,t){iA.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}Vre.inherits(Pp,iA);Pp.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(Vre.transformTo(ZGe,e.data),!1)};Pp.prototype.flush=function(){iA.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};Pp.prototype.cleanUp=function(){iA.prototype.cleanUp.call(this),this._pako=null};Pp.prototype._createPako=function(){this._pako=new KGe[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};eA.compressWorker=function(e){return new Pp("Deflate",e)};eA.uncompressWorker=function(){return new Pp("Inflate",{})};var $q=$s;JC.STORE={magic:"\0\0",compressWorker:function(e){return new $q("STORE compression")},uncompressWorker:function(){return new $q("STORE decompression")}};JC.DEFLATE=eA;var Fd={};Fd.LOCAL_FILE_HEADER="PK";Fd.CENTRAL_FILE_HEADER="PK";Fd.CENTRAL_DIRECTORY_END="PK";Fd.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Fd.ZIP64_CENTRAL_DIRECTORY_END="PK";Fd.DATA_DESCRIPTOR="PK\x07\b";var Gv=Ui(),_m=$s,Q3=mm,Mq=KM,XS=Fd,mi=function(e,t){var r="",n;for(n=0;n<t;n++)r+=String.fromCharCode(e&255),e=e>>>8;return r},QGe=function(e,t){var r=e;return e||(r=t?16893:33204),(r&65535)<<16},JGe=function(e,t){return(e||0)&63},Yre=function(e,t,r,n,i,a){var o=e.file,u=e.compression,s=a!==Q3.utf8encode,l=Gv.transformTo("string",a(o.name)),f=Gv.transformTo("string",Q3.utf8encode(o.name)),d=o.comment,h=Gv.transformTo("string",a(d)),p=Gv.transformTo("string",Q3.utf8encode(d)),v=f.length!==o.name.length,S=p.length!==d.length,y,m,x="",w="",E="",A=o.dir,g=o.date,F={crc32:0,compressedSize:0,uncompressedSize:0};(!t||r)&&(F.crc32=e.crc32,F.compressedSize=e.compressedSize,F.uncompressedSize=e.uncompressedSize);var P=0;t&&(P|=8),!s&&(v||S)&&(P|=2048);var N=0,V=0;A&&(N|=16),i==="UNIX"?(V=798,N|=QGe(o.unixPermissions,A)):(V=20,N|=JGe(o.dosPermissions)),y=g.getUTCHours(),y=y<<6,y=y|g.getUTCMinutes(),y=y<<5,y=y|g.getUTCSeconds()/2,m=g.getUTCFullYear()-1980,m=m<<4,m=m|g.getUTCMonth()+1,m=m<<5,m=m|g.getUTCDate(),v&&(w=mi(1,1)+mi(Mq(l),4)+f,x+="up"+mi(w.length,2)+w),S&&(E=mi(1,1)+mi(Mq(h),4)+p,x+="uc"+mi(E.length,2)+E);var H="";H+=`
1313
1313
  \0`,H+=mi(P,2),H+=u.magic,H+=mi(y,2),H+=mi(m,2),H+=mi(F.crc32,4),H+=mi(F.compressedSize,4),H+=mi(F.uncompressedSize,4),H+=mi(l.length,2),H+=mi(x.length,2);var ie=XS.LOCAL_FILE_HEADER+H+l+x,pe=XS.CENTRAL_FILE_HEADER+mi(V,2)+H+mi(h.length,2)+"\0\0\0\0"+mi(N,4)+mi(n,4)+l+x+h;return{fileRecord:ie,dirRecord:pe}},eVe=function(e,t,r,n,i){var a="",o=Gv.transformTo("string",i(n));return a=XS.CENTRAL_DIRECTORY_END+"\0\0\0\0"+mi(e,2)+mi(e,2)+mi(t,4)+mi(r,4)+mi(o.length,2)+o,a},tVe=function(e){var t="";return t=XS.DATA_DESCRIPTOR+mi(e.crc32,4)+mi(e.compressedSize,4)+mi(e.uncompressedSize,4),t};function gl(e,t,r,n){_m.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Gv.inherits(gl,_m);gl.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,_m.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))};gl.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=Yre(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0};gl.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=Yre(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:tVe(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null};gl.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=eVe(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})};gl.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};gl.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(r){t.processChunk(r)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(r){t.error(r)}),this};gl.prototype.resume=function(){if(!_m.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};gl.prototype.error=function(e){var t=this._sources;if(!_m.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch{}return!0};gl.prototype.lock=function(){_m.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var rVe=gl,nVe=JC,iVe=rVe,aVe=function(e,t){var r=e||t,n=nVe[r];if(!n)throw new Error(r+" is not a valid compression method !");return n};are.generateWorker=function(e,t,r){var n=new iVe(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach(function(a,o){i++;var u=aVe(o.options.compression,t.compression),s=o.options.compressionOptions||t.compressionOptions||{},l=o.dir,f=o.date;o._compressWorker(u,s).withStreamInfo("file",{name:a,dir:l,date:f,comment:o.comment||"",unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions}).pipe(n)}),n.entriesCount=i}catch(a){n.error(a)}return n};var oVe=Ui(),aA=$s;function lw(e,t){aA.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}oVe.inherits(lw,aA);lw.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(r){t.push({data:r,meta:{percent:0}})}).on("error",function(r){t.isPaused?this.generatedError=r:t.error(r)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})};lw.prototype.pause=function(){return aA.prototype.pause.call(this)?(this._stream.pause(),!0):!1};lw.prototype.resume=function(){return aA.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};var uVe=lw,sVe=mm,Vy=Ui(),Xre=$s,lVe=Jte,Kre=Ms,Nq=JM,fVe=rWe,cVe=are,Fq=KC,dVe=uVe,Zre=function(e,t,r){var n=Vy.getTypeOf(t),i,a=Vy.extend(r||{},Kre);a.date=a.date||new Date,a.compression!==null&&(a.compression=a.compression.toUpperCase()),typeof a.unixPermissions=="string"&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&a.unixPermissions&16384&&(a.dir=!0),a.dosPermissions&&a.dosPermissions&16&&(a.dir=!0),a.dir&&(e=Qre(e)),a.createFolders&&(i=hVe(e))&&Jre.call(this,i,!0);var o=n==="string"&&a.binary===!1&&a.base64===!1;(!r||typeof r.binary>"u")&&(a.binary=!o);var u=t instanceof Nq&&t.uncompressedSize===0;(u||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",n="string");var s=null;t instanceof Nq||t instanceof Xre?s=t:Fq.isNode&&Fq.isStream(t)?s=new dVe(e,t):s=Vy.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var l=new fVe(e,s,a);this.files[e]=l},hVe=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Qre=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},Jre=function(e,t){return t=typeof t<"u"?t:Kre.createFolders,e=Qre(e),this.files[e]||Zre.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function Lq(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var pVe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)this.files.hasOwnProperty(t)&&(n=this.files[t],r=t.slice(this.root.length,t.length),r&&t.slice(0,this.root.length)===this.root&&e(r,n))},filter:function(e){var t=[];return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(arguments.length===1)if(Lq(e)){var n=e;return this.filter(function(a,o){return!o.dir&&n.test(a)})}else{var i=this.files[this.root+e];return i&&!i.dir?i:null}else e=this.root+e,Zre.call(this,e,t,r);return this},folder:function(e){if(!e)return this;if(Lq(e))return this.filter(function(i,a){return a.dir&&e.test(i)});var t=this.root+e,r=Jre.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(i,a){return a.name.slice(0,e.length)===e}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if(r=Vy.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:sVe.utf8encode}),r.type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),r.type==="binarystring"&&(r.type="string"),!r.type)throw new Error("No output type specified.");Vy.checkSupport(r.type),(r.platform==="darwin"||r.platform==="freebsd"||r.platform==="linux"||r.platform==="sunos")&&(r.platform="UNIX"),r.platform==="win32"&&(r.platform="DOS");var n=r.comment||this.comment||"";t=cVe.generateWorker(this,r,n)}catch(i){t=new Xre("error"),t.error(i)}return new lVe(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},vVe=pVe,gVe=Ui();function ene(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}ene.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(e){},readInt:function(e){var t=0,r;for(this.checkOffset(e),r=this.index+e-1;r>=this.index;r--)t=(t<<8)+this.byteAt(r);return this.index+=e,t},readString:function(e){return gVe.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};var tne=ene,rne=tne,mVe=Ui();function Sm(e){rne.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}mVe.inherits(Sm,rne);Sm.prototype.byteAt=function(e){return this.data[this.zero+e]};Sm.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1};Sm.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]};Sm.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var nne=Sm,ine=tne,yVe=Ui();function Em(e){ine.call(this,e)}yVe.inherits(Em,ine);Em.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};Em.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};Em.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};Em.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var bVe=Em,ane=nne,wVe=Ui();function sN(e){ane.call(this,e)}wVe.inherits(sN,ane);sN.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var one=sN,une=one,xVe=Ui();function lN(e){une.call(this,e)}xVe.inherits(lN,une);lN.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var _Ve=lN,n_=Ui(),Bq=ca,SVe=nne,EVe=bVe,CVe=_Ve,AVe=one,sne=function(e){var t=n_.getTypeOf(e);return n_.checkSupport(t),t==="string"&&!Bq.uint8array?new EVe(e):t==="nodebuffer"?new CVe(e):Bq.uint8array?new AVe(n_.transformTo("uint8array",e)):new SVe(n_.transformTo("array",e))},J3=sne,Tc=Ui(),kVe=JM,zq=KM,i_=mm,a_=JC,TVe=ca,OVe=0,IVe=3,RVe=function(e){for(var t in a_)if(a_.hasOwnProperty(t)&&a_[t].magic===e)return a_[t];return null};function lne(e,t){this.options=e,this.loadOptions=t}lne.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=RVe(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Tc.pretty(this.compressionMethod)+" unknown (inner file : "+Tc.transformTo("string",this.fileName)+")");this.decompressed=new kVe(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===OVe&&(this.dosPermissions=this.externalFileAttributes&63),e===IVe&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=J3(this.extraFields[1].value);this.uncompressedSize===Tc.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===Tc.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===Tc.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===Tc.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,r,n,i;for(this.extraFields||(this.extraFields={});e.index<t;)r=e.readInt(2),n=e.readInt(2),i=e.readData(n),this.extraFields[r]={id:r,length:n,value:i}},handleUTF8:function(){var e=TVe.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=i_.utf8decode(this.fileName),this.fileCommentStr=i_.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var r=Tc.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(n!==null)this.fileCommentStr=n;else{var i=Tc.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=J3(e.value);return t.readInt(1)!==1||zq(this.fileName)!==t.readInt(4)?null:i_.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=J3(e.value);return t.readInt(1)!==1||zq(this.fileComment)!==t.readInt(4)?null:i_.utf8decode(t.readData(e.length-5))}return null}};var DVe=lne,PVe=sne,kf=Ui(),Ks=Fd,$Ve=DVe,MVe=ca;function fne(e){this.files=[],this.loadOptions=e}fne.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+kf.pretty(t)+", expected "+kf.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4),i=n===t;return this.reader.setIndex(r),i},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 e=this.reader.readData(this.zipCommentLength),t=MVe.uint8array?"uint8array":"array",r=kf.transformTo(t,e);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 e=this.zip64EndOfCentralSize-44,t=0,r,n,i;t<e;)r=this.reader.readInt(2),n=this.reader.readInt(4),i=this.reader.readData(n),this.zip64ExtensibleData[r]={id:r,length:n,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(Ks.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Ks.CENTRAL_FILE_HEADER);)e=new $Ve({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);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 e=this.reader.lastIndexOfSignature(Ks.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,Ks.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var r=e;if(this.checkSignature(Ks.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===kf.MAX_VALUE_16BITS||this.diskWithCentralDirStart===kf.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===kf.MAX_VALUE_16BITS||this.centralDirRecords===kf.MAX_VALUE_16BITS||this.centralDirSize===kf.MAX_VALUE_32BITS||this.centralDirOffset===kf.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(Ks.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(Ks.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Ks.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Ks.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(Ks.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var i=r-n;if(i>0)this.isSignature(r,Ks.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=PVe(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var NVe=fne,ID=Ui(),j_=iw,FVe=mm,ID=Ui(),LVe=NVe,BVe=ire,jq=KC;function zVe(e){return new j_.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new BVe);n.on("error",function(i){r(i)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}var jVe=function(e,t){var r=this;return t=ID.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:FVe.utf8decode}),jq.isNode&&jq.isStream(e)?j_.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ID.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(n){var i=new LVe(t);return i.load(n),i}).then(function(i){var a=[j_.Promise.resolve(i)],o=i.files;if(t.checkCRC32)for(var u=0;u<o.length;u++)a.push(zVe(o[u]));return j_.Promise.all(a)}).then(function(i){for(var a=i.shift(),o=a.files,u=0;u<o.length;u++){var s=o[u];r.file(s.fileNameStr,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders})}return a.zipComment.length&&(r.comment=a.zipComment),r})};function Es(){if(!(this instanceof Es))return new Es;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new Es;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Es.prototype=vVe;Es.prototype.loadAsync=jVe;Es.support=ca;Es.defaults=Ms;Es.version="3.2.0";Es.loadAsync=function(e,t){return new Es().loadAsync(e,t)};Es.external=iw;var WYe=Es;export{Rde as $,Le as A,un as B,fN as C,WVe as D,UP as E,jL as F,SE as G,zt as H,xY as I,iYe as J,na as K,UB as L,nYe as M,HVe as N,qVe as O,SYe as P,aYe as Q,K0 as R,Ece as S,EYe as T,EE as U,JG as V,n$ as W,cU as X,k5 as Y,YVe as Z,Tde as _,uYe as a,hV as a0,tV as a1,tYe as a2,DYe as a3,ZVe as a4,QVe as a5,Jge as a6,DQ as a7,Vn as a8,NYe as a9,AYe as aA,CYe as aB,VVe as aC,dme as aD,JVe as aE,eYe as aF,rYe as aG,IYe as aH,RYe as aI,XVe as aJ,KVe as aK,tHe as aL,tw as aM,HYe as aN,eIe as aa,CQ as ab,jYe as ac,tp as ad,RQ as ae,rl as af,LYe as ag,sRe as ah,$Ye as ai,PYe as aj,FYe as ak,MYe as al,zYe as am,BYe as an,M1 as ao,EQ as ap,d$ as aq,UYe as ar,qYe as as,sn as at,Jb as au,WYe as av,GVe as aw,TYe as ax,OYe as ay,kYe as az,dYe as b,hYe as c,K8 as d,da as e,sYe as f,lYe as g,fYe as h,pS as i,n2e as j,vYe as k,KE as l,cYe as m,pYe as n,s5 as o,fK as p,v5 as q,oYe as r,gYe as s,yz as t,mYe as u,yYe as v,bYe as w,wYe as x,xYe as y,_Ye as z};
1314
- //# sourceMappingURL=vendor-997e1da1.js.map
1314
+ //# sourceMappingURL=vendor-4a7e2c7c.js.map