From 96ce58e099a5eac4348f9d50d7d2cbb1e605368a Mon Sep 17 00:00:00 2001 From: Minotriz02 <71906722+Minotriz02@users.noreply.github.com> Date: Thu, 14 Nov 2024 19:00:58 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20CIAT-DAP?= =?UTF-8?q?A/aclimate=5Fsusano@7fa8a2a13d98d5a25df2cd9a11e40940c5c6d6c5=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/{main.d02a123e.js => main.a5b7cc79.js} | 6 +++--- ...d02a123e.js.LICENSE.txt => main.a5b7cc79.js.LICENSE.txt} | 0 static/js/main.a5b7cc79.js.map | 1 + static/js/main.d02a123e.js.map | 1 - 6 files changed, 8 insertions(+), 8 deletions(-) rename static/js/{main.d02a123e.js => main.a5b7cc79.js} (65%) rename static/js/{main.d02a123e.js.LICENSE.txt => main.a5b7cc79.js.LICENSE.txt} (100%) create mode 100644 static/js/main.a5b7cc79.js.map delete mode 100644 static/js/main.d02a123e.js.map diff --git a/asset-manifest.json b/asset-manifest.json index f0955c6..8d3b8b1 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,18 +1,18 @@ { "files": { "main.css": "/aclimate_susano/static/css/main.c94ac995.css", - "main.js": "/aclimate_susano/static/js/main.d02a123e.js", + "main.js": "/aclimate_susano/static/js/main.a5b7cc79.js", "static/js/453.b93acbb1.chunk.js": "/aclimate_susano/static/js/453.b93acbb1.chunk.js", "static/media/logo.png": "/aclimate_susano/static/media/logo.4e27fd7d9947997ac1a2.png", "static/media/bg-home1.jpg": "/aclimate_susano/static/media/bg-home1.f0210149397ded0505d2.jpg", "static/media/no-data.jpg": "/aclimate_susano/static/media/no-data.28eb5a7d6b2cdf92dd66.jpg", "index.html": "/aclimate_susano/index.html", "main.c94ac995.css.map": "/aclimate_susano/static/css/main.c94ac995.css.map", - "main.d02a123e.js.map": "/aclimate_susano/static/js/main.d02a123e.js.map", + "main.a5b7cc79.js.map": "/aclimate_susano/static/js/main.a5b7cc79.js.map", "453.b93acbb1.chunk.js.map": "/aclimate_susano/static/js/453.b93acbb1.chunk.js.map" }, "entrypoints": [ "static/css/main.c94ac995.css", - "static/js/main.d02a123e.js" + "static/js/main.a5b7cc79.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 9dc866f..eee809a 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
t||125 t||125t.ownerDocument.defaultView.getComputedStyle(t,null);const jh=["top","right","bottom","left"];function Dh(t,e,n){const i={};n=n?"-"+n:"";for(let o=0;o<4;o++){const r=jh[o];i[r]=parseFloat(t[e+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const Ih=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Bh(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:i}=e,o=zh(n),r="border-box"===o.boxSizing,s=Dh(o,"padding"),a=Dh(o,"border","width"),{x:l,y:c,box:u}=function(t,e){const n=t.touches,i=n&&n.length?n[0]:t,{offsetX:o,offsetY:r}=i;let s,a,l=!1;if(Ih(o,r,t.target))s=o,a=r;else{const t=e.getBoundingClientRect();s=i.clientX-t.left,a=i.clientY-t.top,l=!0}return{x:s,y:a,box:l}}(t,n),h=s.left+(u&&a.left),d=s.top+(u&&a.top);let{width:f,height:p}=e;return r&&(f-=s.width+a.width,p-=s.height+a.height),{x:Math.round((l-h)/f*n.width/i),y:Math.round((c-d)/p*n.height/i)}}const Fh=t=>Math.round(10*t)/10;function Hh(t,e,n,i){const o=zh(t),r=Dh(o,"margin"),s=Rh(o.maxWidth,t,"clientWidth")||Uc,a=Rh(o.maxHeight,t,"clientHeight")||Uc,l=function(t,e,n){let i,o;if(void 0===e||void 0===n){const r=t&&Nh(t);if(r){const t=r.getBoundingClientRect(),s=zh(r),a=Dh(s,"border","width"),l=Dh(s,"padding");e=t.width-l.width-a.width,n=t.height-l.height-a.height,i=Rh(s.maxWidth,r,"clientWidth"),o=Rh(s.maxHeight,r,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:i||Uc,maxHeight:o||Uc}}(t,e,n);let{width:c,height:u}=l;if("content-box"===o.boxSizing){const t=Dh(o,"border","width"),e=Dh(o,"padding");c-=e.width+t.width,u-=e.height+t.height}c=Math.max(0,c-r.width),u=Math.max(0,i?c/i:u-r.height),c=Fh(Math.min(c,s,l.maxWidth)),u=Fh(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Fh(c/2));return(void 0!==e||void 0!==n)&&i&&l.height&&u>l.height&&(u=l.height,c=Fh(Math.floor(u*i))),{width:c,height:u}}function Wh(t,e,n){const i=e||1,o=Math.floor(t.height*i),r=Math.floor(t.width*i);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||s.height!==o||s.width!==r)&&(t.currentDevicePixelRatio=i,s.height=o,s.width=r,t.ctx.setTransform(i,0,0,i,0,0),!0)}const Uh=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Ah()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(fv){}return t}();function Zh(t,e){const n=function(t,e){return zh(t).getPropertyValue(e)}(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Vh(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function qh(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:"middle"===i?n<.5?t.y:e.y:"after"===i?n<1?t.y:e.y:n>0?e.y:t.y}}function Kh(t,e,n,i){const o={x:t.cp2x,y:t.cp2y},r={x:e.cp1x,y:e.cp1y},s=Vh(t,o,n),a=Vh(o,r,n),l=Vh(r,e,n),c=Vh(s,a,n),u=Vh(a,l,n);return Vh(c,u,n)}function Yh(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function $h(t,e){let n,i;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function Xh(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Gh(t){return"angle"===t?{between:au,compare:ru,normalize:su}:{between:cu,compare:(t,e)=>t-e,normalize:t=>t}}function Qh(t){let{start:e,end:n,count:i,loop:o,style:r}=t;return{start:e%i,end:n%i,loop:o&&(n-e+1)%i===0,style:r}}function Jh(t,e,n){if(!n)return[t];const{property:i,start:o,end:r}=n,s=e.length,{compare:a,between:l,normalize:c}=Gh(i),{start:u,end:h,loop:d,style:f}=function(t,e,n){const{property:i,start:o,end:r}=n,{between:s,normalize:a}=Gh(i),l=e.length;let c,u,{start:h,end:d,loop:f}=t;if(f){for(h+=l,d+=l,c=0,u=l;cy||l(o,v,m)&&0!==a(o,v),x=()=>!y||0===a(r,m)||l(r,v,m);for(let w=u,k=u;w<=h;++w)g=e[w%s],g.skip||(m=c(g[i]),m!==v&&(y=l(m,o,r),null===_&&b()&&(_=0===a(m,o)?w:k),null!==_&&x()&&(p.push(Qh({start:_,end:w,loop:d,count:s,style:f})),_=null),k=w,v=m));return null!==_&&p.push(Qh({start:_,end:h,loop:d,count:s,style:f})),p}function td(t,e){const n=[],i=t.segments;for(let o=0;o{i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function Wd(t,e,n,i){const o=[];let r,s,a,l,c,u;for(r=0,s=t.length,c=0;rt.box.fullSize)),!0),i=jd(Rd(e,"left"),!0),o=jd(Rd(e,"right")),r=jd(Rd(e,"top"),!0),s=jd(Rd(e,"bottom")),a=zd(e,"x"),l=zd(e,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:o.concat(l).concat(s).concat(a),chartArea:Rd(e,"chartArea"),vertical:i.concat(o).concat(l),horizontal:r.concat(s).concat(a)}}(t.boxes),l=a.vertical,c=a.horizontal;Cc(t.boxes,(t=>{"function"===typeof t.beforeLayout&&t.beforeLayout()}));const u=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:r,availableHeight:s,vBoxMaxWidth:r/2/u,hBoxMaxHeight:s/2}),d=Object.assign({},o);Bd(d,lh(i));const f=Object.assign({maxPadding:d,w:r,h:s,x:o.left,y:o.top},o),p=Dd(l.concat(c),h);Wd(a.fullSize,f,h,p),Wd(l,f,h,p),Wd(c,f,h,p)&&Wd(l,f,h,p),function(t){const e=t.maxPadding;function n(n){const i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(f),Zd(a.leftAndTop,f,h,p),f.x+=f.w,f.y+=f.h,Zd(a.rightAndBottom,f,h,p),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Cc(a.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class qd{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,i){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,i?Math.floor(e/i):n)}}isAttached(t){return!0}updateConfig(t){}}class Kd extends qd{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Yd="$chartjs",$d={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Xd=t=>null===t||""===t;const Gd=!!Uh&&{passive:!0};function Qd(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Gd)}function Jd(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function tf(t,e,n){const i=t.canvas,o=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Jd(n.addedNodes,i),e=e&&!Jd(n.removedNodes,i);e&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}function ef(t,e,n){const i=t.canvas,o=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Jd(n.removedNodes,i),e=e&&!Jd(n.addedNodes,i);e&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}const nf=new Map;let of=0;function rf(){const t=window.devicePixelRatio;t!==of&&(of=t,nf.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function sf(t,e,n){const i=t.canvas,o=i&&Nh(i);if(!o)return;const r=vu(((t,e)=>{const i=o.clientWidth;n(t,e),i0}_computeGridLineItems(t){const e=this.axis,n=this.chart,i=this.options,{grid:o,position:r,border:s}=i,a=o.offset,l=this.isHorizontal(),c=this.ticks.length+(a?1:0),u=vf(o),h=[],d=s.setContext(this.getContext()),f=d.display?d.width:0,p=f/2,m=function(t){return Wu(n,t,f)};let g,v,y,_,b,x,w,k,S,E,C,P;if("top"===r)g=m(this.bottom),x=this.bottom-u,k=g-p,E=m(t.top)+p,P=t.bottom;else if("bottom"===r)g=m(this.top),E=t.top,P=m(t.bottom)-p,x=g+p,k=this.top+u;else if("left"===r)g=m(this.right),b=this.right-u,w=g-p,S=m(t.left)+p,C=t.right;else if("right"===r)g=m(this.left),S=t.left,C=m(t.right)-p,b=g+p,w=this.left+u;else if("x"===e){if("center"===r)g=m((t.top+t.bottom)/2+.5);else if(bc(r)){const t=Object.keys(r)[0],e=r[t];g=m(this.chart.scales[t].getPixelForValue(e))}E=t.top,P=t.bottom,x=g+p,k=x+u}else if("y"===e){if("center"===r)g=m((t.left+t.right)/2);else if(bc(r)){const t=Object.keys(r)[0],e=r[t];g=m(this.chart.scales[t].getPixelForValue(e))}b=g-p,w=b-u,S=t.left,C=t.right}const T=kc(i.ticks.maxTicksLimit,c),L=Math.max(1,Math.ceil(c/T));for(v=0;va&&r>a;return{count:i,start:l,loop:e.loop,ilen:c{let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=t.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}};class hp extends uf{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Ec(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,i=ch(n.font),o=i.size,r=this._computeTitleHeight(),{boxWidth:s,itemHeight:a}=up(n,o);let l,c;e.font=i.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(r,o,s,a)+10):(c=this.maxHeight,l=this._fitCols(r,i,s,a)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,i){const{ctx:o,maxWidth:r,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],l=this.lineWidths=[0],c=i+s;let u=t;o.textAlign="left",o.textBaseline="middle";let h=-1,d=-c;return this.legendItems.forEach(((t,f)=>{const p=n+e/2+o.measureText(t.text).width;(0===f||l[l.length-1]+p+2*s>r)&&(u+=c,l[l.length-(f>0?0:1)]=0,d+=c,h++),a[f]={left:0,top:d,row:h,width:p,height:i},l[l.length-1]+=p+s})),u}_fitCols(t,e,n,i){const{ctx:o,maxHeight:r,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],l=this.columnSizes=[],c=r-t;let u=s,h=0,d=0,f=0,p=0;return this.legendItems.forEach(((t,r)=>{const{itemWidth:m,itemHeight:g}=function(t,e,n,i,o){const r=function(t,e,n,i){let o=t.text;o&&"string"!==typeof o&&(o=o.reduce(((t,e)=>t.length>e.length?t:e)));return e+n.size/2+i.measureText(o).width}(i,t,e,n),s=function(t,e,n){let i=t;"string"!==typeof e.text&&(i=dp(e,n));return i}(o,i,e.lineHeight);return{itemWidth:r,itemHeight:s}}(n,e,o,t,i);r>0&&d+g+2*s>c&&(u+=h+s,l.push({width:h,height:d}),f+=h+s,p++,h=d=0),a[r]={left:f,top:d,col:p,width:m,height:g},h=Math.max(h,m),d+=g+s})),u+=h,l.push({width:h,height:d}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:i},rtl:o}}=this,r=Yh(o,this.left,this.width);if(this.isHorizontal()){let o=0,s=_u(n,this.left+i,this.right-this.lineWidths[o]);for(const a of e)o!==a.row&&(o=a.row,s=_u(n,this.left+i,this.right-this.lineWidths[o])),a.top+=this.top+t+i,a.left=r.leftForLtr(r.x(s),a.width),s+=a.width+i}else{let o=0,s=_u(n,this.top+t+i,this.bottom-this.columnSizes[o].height);for(const a of e)a.col!==o&&(o=a.col,s=_u(n,this.top+t+i,this.bottom-this.columnSizes[o].height)),a.top=s,a.left+=this.left+i,a.left=r.leftForLtr(r.x(a.left),a.width),s+=a.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Ku(t,this),this._draw(),Yu(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:i}=this,{align:o,labels:r}=t,s=Fu.color,a=Yh(t.rtl,this.left,this.width),l=ch(r.font),{padding:c}=r,u=l.size,h=u/2;let d;this.drawTitle(),i.textAlign=a.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=l.string;const{boxWidth:f,boxHeight:p,itemHeight:m}=up(r,u),g=this.isHorizontal(),v=this._computeTitleHeight();d=g?{x:_u(o,this.left+c,this.right-n[0]),y:this.top+c+v,line:0}:{x:this.left+c,y:_u(o,this.top+v+c,this.bottom-e[0].height),line:0},$h(this.ctx,t.textDirection);const y=m+c;this.legendItems.forEach(((_,b)=>{i.strokeStyle=_.fontColor,i.fillStyle=_.fontColor;const x=i.measureText(_.text).width,w=a.textAlign(_.textAlign||(_.textAlign=r.textAlign)),k=f+h+x;let S=d.x,E=d.y;a.setWidth(this.width),g?b>0&&S+k+c>this.right&&(E=d.y+=y,d.line++,S=d.x=_u(o,this.left+c,this.right-n[d.line])):b>0&&E+y>this.bottom&&(S=d.x=S+e[d.line].width+c,d.line++,E=d.y=_u(o,this.top+v+c,this.bottom-e[d.line].height));if(function(t,e,n){if(isNaN(f)||f<=0||isNaN(p)||p<0)return;i.save();const o=kc(n.lineWidth,1);if(i.fillStyle=kc(n.fillStyle,s),i.lineCap=kc(n.lineCap,"butt"),i.lineDashOffset=kc(n.lineDashOffset,0),i.lineJoin=kc(n.lineJoin,"miter"),i.lineWidth=o,i.strokeStyle=kc(n.strokeStyle,s),i.setLineDash(kc(n.lineDash,[])),r.usePointStyle){const s={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},l=a.xPlus(t,f/2);Vu(i,s,l,e+h,r.pointStyleWidth&&f)}else{const r=e+Math.max((u-p)/2,0),s=a.leftForLtr(t,f),l=ah(n.borderRadius);i.beginPath(),Object.values(l).some((t=>0!==t))?th(i,{x:s,y:r,w:f,h:p,radius:l}):i.rect(s,r,f,p),i.fill(),0!==o&&i.stroke()}i.restore()}(a.x(S),E,_),S=((t,e,n,i)=>t===(i?"left":"right")?n:"center"===t?(e+n)/2:e)(w,S+f+h,g?S+k:this.right,t.rtl),function(t,e,n){Ju(i,n.text,t,e+m/2,l,{strikethrough:n.hidden,textAlign:a.textAlign(n.textAlign)})}(a.x(S),E,_),g)d.x+=k+c;else if("string"!==typeof _.text){const t=l.lineHeight;d.y+=dp(_,t)+c}else d.y+=y})),Xh(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=ch(e.font),i=lh(e.padding);if(!e.display)return;const o=Yh(t.rtl,this.left,this.width),r=this.ctx,s=e.position,a=n.size/2,l=i.top+a;let c,u=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),c=this.top+l,u=_u(t.align,u,this.right-h);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);c=l+_u(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const d=_u(s,u,u+h);r.textAlign=o.textAlign(yu(s)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=n.string,Ju(r,e.text,d,c,n)}_computeTitleHeight(){const t=this.options.title,e=ch(t.font),n=lh(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,i,o;if(cu(t,this.left,this.right)&&cu(e,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;nr(l,n))c