diff --git a/client/_number_.655366a2.js b/client/_number_.655366a2.js index 582c6f002c..7f587ef94d 100644 --- a/client/_number_.655366a2.js +++ b/client/_number_.655366a2.js @@ -12,7 +12,7 @@ function st(){}const nt=function(){let t=0;return function(){return t++}}();func * (c) 2022 Jukka Kurkela * Released under the MIT License */ -function fe(t){return t+.5|0}const ge=(t,e,i)=>Math.max(Math.min(t,i),e);function pe(t){return ge(fe(2.55*t),0,255)}function me(t){return ge(fe(255*t),0,255)}function be(t){return ge(fe(t/2.55)/100,0,1)}function xe(t){return ge(fe(100*t),0,100)}const _e={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ye=[..."0123456789ABCDEF"],ve=t=>ye[15&t],we=t=>ye[(240&t)>>4]+ye[15&t],Me=t=>(240&t)>>4==(15&t);function ke(t){var e=(t=>Me(t.r)&&Me(t.g)&&Me(t.b)&&Me(t.a))(t)?ve:we;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Se=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function De(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function Pe(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function Oe(t,e,i){const s=De(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function Ce(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e>16&255,o>>8&255,255&o]}return t}(),ze.transparent=[0,0,0,0]);const e=ze[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const $e=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Ve=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Be=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Ne(t,e,i){if(t){let s=Ce(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=Te(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function We(t,e){return t?Object.assign(e||{},t):t}function He(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=me(t[3]))):(e=We(t,{r:0,g:0,b:0,a:1})).a=me(e.a),e}function je(t){return"r"===t.charAt(0)?function(t){const e=$e.exec(t);let i,s,n,o=255;if(e){if(e[7]!==i){const t=+e[7];o=e[8]?pe(t):ge(255*t,0,255)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?pe(i):ge(i,0,255)),s=255&(e[4]?pe(s):ge(s,0,255)),n=255&(e[6]?pe(n):ge(n,0,255)),{r:i,g:s,b:n,a:o}}}(t):Le(t)}class Ye{constructor(t){if(t instanceof Ye)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=He(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*_e[s[1]],g:255&17*_e[s[2]],b:255&17*_e[s[3]],a:5===o?17*_e[s[4]]:255}:7!==o&&9!==o||(n={r:_e[s[1]]<<4|_e[s[2]],g:_e[s[3]]<<4|_e[s[4]],b:_e[s[5]]<<4|_e[s[6]],a:9===o?_e[s[7]]<<4|_e[s[8]]:255})),i=n||Fe(t)||je(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=We(this._rgb);return t&&(t.a=be(t.a)),t}set rgb(t){this._rgb=He(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${be(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?ke(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=Ce(t),i=e[0],s=xe(e[1]),n=xe(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${be(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,l=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-l,i.r=255&l*i.r+n*s.r+.5,i.g=255&l*i.g+n*s.g+.5,i.b=255&l*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=Be(be(t.r)),n=Be(be(t.g)),o=Be(be(t.b));return{r:me(Ve(s+i*(Be(be(e.r))-s))),g:me(Ve(n+i*(Be(be(e.g))-n))),b:me(Ve(o+i*(Be(be(e.b))-o))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new Ye(this.rgb)}alpha(t){return this._rgb.a=me(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=fe(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ne(this._rgb,2,t),this}darken(t){return Ne(this._rgb,2,-t),this}saturate(t){return Ne(this._rgb,1,t),this}desaturate(t){return Ne(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=Ce(t);i[0]=Ee(i[0]+e),i=Te(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function Ue(t){return new Ye(t)}function Xe(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function qe(t){return Xe(t)?t:Ue(t)}function Ke(t){return Xe(t)?t:Ue(t).saturate(.5).darken(.1).hexString()}const Ge=Object.create(null),Ze=Object.create(null);function Je(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Ke(e.backgroundColor),this.hoverBorderColor=(t,e)=>Ke(e.borderColor),this.hoverColor=(t,e)=>Ke(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Qe(this,t,e)}get(t){return Je(this,t)}describe(t,e){return Qe(Ze,t,e)}override(t,e){return Qe(Ge,t,e)}route(t,e,i,s){const n=Je(this,t),o=Je(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return rt(t)?Object.assign({},e,t):ct(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function ei(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function ii(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let l,h,c,d,u;for(l=0;li.length){for(l=0;l0&&t.stroke()}}function ri(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.xe.top-i&&t.y0&&""!==o.strokeColor;let l,h;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);ot(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;l+t||0;function _i(t,e){const i={},s=rt(e),n=s?Object.keys(e):e,o=rt(t)?s?i=>ct(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=xi(o(t));return i}function yi(t){return _i(t,{top:"y",right:"x",bottom:"y",left:"x"})}function vi(t){return _i(t,["topLeft","topRight","bottomLeft","bottomRight"])}function wi(t){const e=yi(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Mi(t,e){t=t||{},e=e||ti.font;let i=ct(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=ct(t.style,e.style);s&&!(""+s).match(mi)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const n={family:ct(t.family,e.family),lineHeight:bi(ct(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:ct(t.weight,e.weight),string:""};return n.string=function(t){return!t||ot(t.size)||ot(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(n),n}function ki(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;nt[0])){kt(s)||(s=Fi("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:s,_getTarget:n,override:n=>Di([n,...t],e,i,s)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>Ti(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=Fi(Ci(o,t),i),kt(n))return Ai(t,n)?Ii(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>$i(t).includes(e),ownKeys:t=>$i(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function Pi(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Oi(t,s),setContext:e=>Pi(t,e,i,s),override:n=>Pi(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Ti(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];St(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t),e=e(o,a||s),r.delete(t),Ai(t,e)&&(e=Ii(n._scopes,n,t,e));return e}(e,r,t,i));at(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(kt(o.index)&&s(t))e=e[o.index%e.length];else if(rt(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=Ii(s,n,t,l);e.push(Pi(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable));Ai(e,r)&&(r=Pi(r,n,o&&o[e],a));return r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Oi(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:St(i)?i:()=>i,isIndexable:St(s)?s:()=>s}}const Ci=(t,e)=>t?t+Mt(e):e,Ai=(t,e)=>rt(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Ti(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=i();return t[e]=s,s}function Ei(t,e,i){return St(t)?t(e,i):t}const Li=(t,e)=>!0===t?e:"string"==typeof t?wt(e,t):void 0;function Ri(t,e,i,s,n){for(const o of e){const e=Li(i,o);if(e){t.add(e);const o=Ei(e._fallback,i,n);if(kt(o)&&o!==i&&o!==s)return o}else if(!1===e&&kt(s)&&i!==s)return null}return!1}function Ii(t,e,i,s){const n=e._rootScopes,o=Ei(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let l=zi(r,a,i,o||i,s);return null!==l&&((!kt(o)||o===i||(l=zi(r,a,o,l,s),null!==l))&&Di(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];if(at(n)&&rt(i))return i;return n}(e,i,s))))}function zi(t,e,i,s,n){for(;i;)i=Ri(t,e,i,s,n);return i}function Fi(t,e){for(const i of e){if(!i)continue;const e=i[t];if(kt(e))return e}}function $i(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function Vi(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,l,h,c;for(r=0,l=s;re"x"===t?"y":"x";function Hi(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=Yt(o,n),l=Yt(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function ji(t,e="x"){const i=Wi(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=Ni(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)ji(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;owindow.getComputedStyle(t,null);const Zi=["top","right","bottom","left"];function Ji(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=Zi[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Qi=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function ts(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=Gi(i),o="border-box"===n.boxSizing,a=Ji(n,"padding"),r=Ji(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,l=!1;if(Qi(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,l=!0}return{x:a,y:r,box:l}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const es=t=>Math.round(10*t)/10;function is(t,e,i,s){const n=Gi(t),o=Ji(n,"margin"),a=Ki(n.maxWidth,t,"clientWidth")||At,r=Ki(n.maxHeight,t,"clientHeight")||At,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=qi(t);if(o){const t=o.getBoundingClientRect(),a=Gi(o),r=Ji(a,"border","width"),l=Ji(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=Ki(a.maxWidth,o,"clientWidth"),n=Ki(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||At,maxHeight:n||At}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=Ji(n,"border","width"),e=Ji(n,"padding");h-=e.width+t.width,c-=e.height+t.height}return h=Math.max(0,h-o.width),c=Math.max(0,s?Math.floor(h/s):c-o.height),h=es(Math.min(h,a,l.maxWidth)),c=es(Math.min(c,r,l.maxHeight)),h&&!c&&(c=es(h/2)),{width:h,height:c}}function ss(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=n/s,t.width=o/s;const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const ns=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function os(t,e){const i=function(t,e){return Gi(t).getPropertyValue(e)}(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function as(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function rs(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function ls(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=as(t,n,i),r=as(n,o,i),l=as(o,e,i),h=as(a,r,i),c=as(r,l,i);return as(h,c,i)}const hs=new Map;function cs(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=hs.get(i);return s||(s=new Intl.NumberFormat(t,e),hs.set(i,s)),s}(e,i).format(t)}function ds(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function us(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function fs(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function gs(t){return"angle"===t?{between:qt,compare:Ut,normalize:Xt}:{between:Gt,compare:(t,e)=>t-e,normalize:t=>t}}function ps({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function ms(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=gs(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=gs(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;hx||l(n,b,p)&&0!==r(n,b),v=()=>!x||0===r(o,p)||l(o,b,p);for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==b&&(x=l(p,n,o),null===_&&y()&&(_=0===r(p,n)?t:i),null!==_&&v()&&(g.push(ps({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,b=p));return null!==_&&g.push(ps({start:_,end:d,loop:u,count:a,style:f})),g}function bs(t,e){const i=[],s=t.segments;for(let n=0;nMath.max(Math.min(t,i),e);function pe(t){return ge(fe(2.55*t),0,255)}function me(t){return ge(fe(255*t),0,255)}function be(t){return ge(fe(t/2.55)/100,0,1)}function xe(t){return ge(fe(100*t),0,100)}const _e={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ye=[..."0123456789ABCDEF"],ve=t=>ye[15&t],we=t=>ye[(240&t)>>4]+ye[15&t],Me=t=>(240&t)>>4==(15&t);function ke(t){var e=(t=>Me(t.r)&&Me(t.g)&&Me(t.b)&&Me(t.a))(t)?ve:we;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Se=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function De(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function Pe(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function Oe(t,e,i){const s=De(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function Ce(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e>16&255,o>>8&255,255&o]}return t}(),ze.transparent=[0,0,0,0]);const e=ze[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const $e=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Ve=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Be=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Ne(t,e,i){if(t){let s=Ce(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=Te(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function We(t,e){return t?Object.assign(e||{},t):t}function He(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=me(t[3]))):(e=We(t,{r:0,g:0,b:0,a:1})).a=me(e.a),e}function je(t){return"r"===t.charAt(0)?function(t){const e=$e.exec(t);let i,s,n,o=255;if(e){if(e[7]!==i){const t=+e[7];o=e[8]?pe(t):ge(255*t,0,255)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?pe(i):ge(i,0,255)),s=255&(e[4]?pe(s):ge(s,0,255)),n=255&(e[6]?pe(n):ge(n,0,255)),{r:i,g:s,b:n,a:o}}}(t):Le(t)}class Ye{constructor(t){if(t instanceof Ye)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=He(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*_e[s[1]],g:255&17*_e[s[2]],b:255&17*_e[s[3]],a:5===o?17*_e[s[4]]:255}:7!==o&&9!==o||(n={r:_e[s[1]]<<4|_e[s[2]],g:_e[s[3]]<<4|_e[s[4]],b:_e[s[5]]<<4|_e[s[6]],a:9===o?_e[s[7]]<<4|_e[s[8]]:255})),i=n||Fe(t)||je(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=We(this._rgb);return t&&(t.a=be(t.a)),t}set rgb(t){this._rgb=He(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${be(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?ke(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=Ce(t),i=e[0],s=xe(e[1]),n=xe(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${be(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,l=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-l,i.r=255&l*i.r+n*s.r+.5,i.g=255&l*i.g+n*s.g+.5,i.b=255&l*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=Be(be(t.r)),n=Be(be(t.g)),o=Be(be(t.b));return{r:me(Ve(s+i*(Be(be(e.r))-s))),g:me(Ve(n+i*(Be(be(e.g))-n))),b:me(Ve(o+i*(Be(be(e.b))-o))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new Ye(this.rgb)}alpha(t){return this._rgb.a=me(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=fe(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ne(this._rgb,2,t),this}darken(t){return Ne(this._rgb,2,-t),this}saturate(t){return Ne(this._rgb,1,t),this}desaturate(t){return Ne(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=Ce(t);i[0]=Ee(i[0]+e),i=Te(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function Ue(t){return new Ye(t)}function Xe(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function qe(t){return Xe(t)?t:Ue(t)}function Ke(t){return Xe(t)?t:Ue(t).saturate(.5).darken(.1).hexString()}const Ge=Object.create(null),Ze=Object.create(null);function Je(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Ke(e.backgroundColor),this.hoverBorderColor=(t,e)=>Ke(e.borderColor),this.hoverColor=(t,e)=>Ke(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Qe(this,t,e)}get(t){return Je(this,t)}describe(t,e){return Qe(Ze,t,e)}override(t,e){return Qe(Ge,t,e)}route(t,e,i,s){const n=Je(this,t),o=Je(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return rt(t)?Object.assign({},e,t):ct(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function ei(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function ii(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let l,h,c,d,u;for(l=0;li.length){for(l=0;l0&&t.stroke()}}function ri(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.xe.top-i&&t.y0&&""!==o.strokeColor;let l,h;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);ot(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;l+t||0;function _i(t,e){const i={},s=rt(e),n=s?Object.keys(e):e,o=rt(t)?s?i=>ct(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=xi(o(t));return i}function yi(t){return _i(t,{top:"y",right:"x",bottom:"y",left:"x"})}function vi(t){return _i(t,["topLeft","topRight","bottomLeft","bottomRight"])}function wi(t){const e=yi(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Mi(t,e){t=t||{},e=e||ti.font;let i=ct(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=ct(t.style,e.style);s&&!(""+s).match(mi)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const n={family:ct(t.family,e.family),lineHeight:bi(ct(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:ct(t.weight,e.weight),string:""};return n.string=function(t){return!t||ot(t.size)||ot(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(n),n}function ki(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;nt[0]){kt(s)||(s=Fi("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:s,_getTarget:n,override:n=>Di([n,...t],e,i,s)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>Ti(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=Fi(Ci(o,t),i),kt(n))return Ai(t,n)?Ii(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>$i(t).includes(e),ownKeys:t=>$i(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function Pi(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Oi(t,s),setContext:e=>Pi(t,e,i,s),override:n=>Pi(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Ti(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];St(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t),e=e(o,a||s),r.delete(t),Ai(t,e)&&(e=Ii(n._scopes,n,t,e));return e}(e,r,t,i));at(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(kt(o.index)&&s(t))e=e[o.index%e.length];else if(rt(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=Ii(s,n,t,l);e.push(Pi(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable));Ai(e,r)&&(r=Pi(r,n,o&&o[e],a));return r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Oi(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:St(i)?i:()=>i,isIndexable:St(s)?s:()=>s}}const Ci=(t,e)=>t?t+Mt(e):e,Ai=(t,e)=>rt(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Ti(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=i();return t[e]=s,s}function Ei(t,e,i){return St(t)?t(e,i):t}const Li=(t,e)=>!0===t?e:"string"==typeof t?wt(e,t):void 0;function Ri(t,e,i,s,n){for(const o of e){const e=Li(i,o);if(e){t.add(e);const o=Ei(e._fallback,i,n);if(kt(o)&&o!==i&&o!==s)return o}else if(!1===e&&kt(s)&&i!==s)return null}return!1}function Ii(t,e,i,s){const n=e._rootScopes,o=Ei(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let l=zi(r,a,i,o||i,s);return null!==l&&((!kt(o)||o===i||(l=zi(r,a,o,l,s),null!==l))&&Di(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];if(at(n)&&rt(i))return i;return n}(e,i,s))))}function zi(t,e,i,s,n){for(;i;)i=Ri(t,e,i,s,n);return i}function Fi(t,e){for(const i of e){if(!i)continue;const e=i[t];if(kt(e))return e}}function $i(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function Vi(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,l,h,c;for(r=0,l=s;re"x"===t?"y":"x";function Hi(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=Yt(o,n),l=Yt(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function ji(t,e="x"){const i=Wi(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=Ni(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)ji(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;owindow.getComputedStyle(t,null);const Zi=["top","right","bottom","left"];function Ji(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=Zi[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Qi=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function ts(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=Gi(i),o="border-box"===n.boxSizing,a=Ji(n,"padding"),r=Ji(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,l=!1;if(Qi(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,l=!0}return{x:a,y:r,box:l}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const es=t=>Math.round(10*t)/10;function is(t,e,i,s){const n=Gi(t),o=Ji(n,"margin"),a=Ki(n.maxWidth,t,"clientWidth")||At,r=Ki(n.maxHeight,t,"clientHeight")||At,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=qi(t);if(o){const t=o.getBoundingClientRect(),a=Gi(o),r=Ji(a,"border","width"),l=Ji(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=Ki(a.maxWidth,o,"clientWidth"),n=Ki(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||At,maxHeight:n||At}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=Ji(n,"border","width"),e=Ji(n,"padding");h-=e.width+t.width,c-=e.height+t.height}return h=Math.max(0,h-o.width),c=Math.max(0,s?Math.floor(h/s):c-o.height),h=es(Math.min(h,a,l.maxWidth)),c=es(Math.min(c,r,l.maxHeight)),h&&!c&&(c=es(h/2)),{width:h,height:c}}function ss(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=n/s,t.width=o/s;const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const ns=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function os(t,e){const i=function(t,e){return Gi(t).getPropertyValue(e)}(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function as(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function rs(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function ls(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=as(t,n,i),r=as(n,o,i),l=as(o,e,i),h=as(a,r,i),c=as(r,l,i);return as(h,c,i)}const hs=new Map;function cs(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=hs.get(i);return s||(s=new Intl.NumberFormat(t,e),hs.set(i,s)),s}(e,i).format(t)}function ds(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function us(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function fs(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function gs(t){return"angle"===t?{between:qt,compare:Ut,normalize:Xt}:{between:Gt,compare:(t,e)=>t-e,normalize:t=>t}}function ps({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function ms(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=gs(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=gs(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;hx||l(n,b,p)&&0!==r(n,b),v=()=>!x||0===r(o,p)||l(o,b,p);for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==b&&(x=l(p,n,o),null===_&&y()&&(_=0===r(p,n)?t:i),null!==_&&v()&&(g.push(ps({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,b=p));return null!==_&&g.push(ps({start:_,end:d,loop:u,count:a,style:f})),g}function bs(t,e){const i=[],s=t.segments;for(let n=0;n>1);n(r)<=s?e=r+1:t=r}return e}function p(e,t){if(f){for(!function(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if("HEAD"===e.nodeName){const e=[];for(let n=0;n0&&t[n[r]].claim_order<=o?r+1:h(1,r,(e=>t[n[e]].claim_order),o))-1;s[e]=n[i]+1;const a=i+1;n[a]=e,r=Math.max(a,r)}const o=[],i=[];let a=t.length-1;for(let e=n[r]+1;0!=e;e=s[e-1]){for(o.push(t[e-1]);a>=e;a--)i.push(t[a]);a--}for(;a>=0;a--)i.push(t[a]);o.reverse(),i.sort(((e,t)=>e.claim_order-t.claim_order));for(let t=0,n=0;t=o[n].claim_order;)n++;const s=ne.removeEventListener(t,n,s)}function S(e){return function(t){return t.preventDefault(),e.call(this,t)}}function T(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const A=["width","height"];function L(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const s in t)null==t[s]?e.removeAttribute(s):"style"===s?e.style.cssText=t[s]:"__value"===s?e.value=e[s]=t[s]:n[s]&&n[s].set&&-1===A.indexOf(s)?e[s]=t[s]:T(e,s,t[s])}function N(e){let t;return{p(...n){t=n,t.forEach((t=>e.push(t)))},r(){t.forEach((t=>e.splice(e.indexOf(t),1)))}}}function P(e){return Array.from(e.childNodes)}function I(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}function R(e,t,n,s,r=!1){I(e);const o=(()=>{for(let s=e.claim_info.last_index;s=0;s--){const o=e[s];if(t(o)){const t=n(o);return void 0===t?e.splice(s,1):e[s]=t,r?void 0===t&&e.claim_info.last_index--:e.claim_info.last_index=s,o}}return s()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function k(e,t,n,s){return R(e,(e=>e.nodeName===t),(e=>{const t=[];for(let s=0;se.removeAttribute(t)))}),(()=>s(t)))}function O(e,t,n){return k(e,t,n,v)}function H(e,t,n){return k(e,t,n,_)}function C(e,t){return R(e,(e=>3===e.nodeType),(e=>{const n=""+t;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n}),(()=>w(t)),!0)}function U(e){return C(e," ")}function M(e,t,n){for(let s=n;s{e.source===n.contentWindow&&t()}))):(n.src="about:blank",n.onload=()=>{r=x(n.contentWindow,"resize",t),t()}),function(e,t){e.appendChild(t)}(e,n),()=>{(s||r&&n.contentWindow)&&r(),y(n)}}function J(e,t){const n=[];let s=0;for(const r of t.childNodes)if(8===r.nodeType){const t=r.textContent.trim();t===`HEAD_${e}_END`?(s-=1,n.push(r)):t===`HEAD_${e}_START`&&(s+=1,n.push(r))}else s>0&&n.push(r);return n}class V{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=_(t.nodeName):this.e=v(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t{he.delete(e),s&&(n&&e.d(1),s())})),e.o(t)}else s&&s()}function ve(e,t){const n={},s={},r={$$scope:1};let o=e.length;for(;o--;){const i=e[o],a=t[o];if(a){for(const e in i)e in a||(s[e]=1);for(const e in a)r[e]||(n[e]=a[e],r[e]=1);e[o]=a}else for(const e in i)r[e]=1}for(const e in s)e in n||(n[e]=void 0);return n}function _e(e){return"object"==typeof e&&null!==e?e:{}}function we(e){e&&e.c()}function $e(e,t){e&&e.l(t)}function Ee(e,t,s,i){const{fragment:a,after_update:c}=e.$$;a&&a.m(t,s),i||ce((()=>{const t=e.$$.on_mount.map(n).filter(o);e.$$.on_destroy?e.$$.on_destroy.push(...t):r(t),e.$$.on_mount=[]})),c.forEach(ce)}function xe(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];re.forEach((s=>-1===e.indexOf(s)?t.push(s):n.push(s))),n.forEach((e=>e())),re=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Se(e,t){-1===e.$$.dirty[0]&&(ne.push(e),ae||(ae=!0,ie.then(de)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const r=s.length?s[0]:n;return h.ctx&&a(h.ctx[e],h.ctx[e]=r)&&(!h.skip_bound&&h.bound[e]&&h.bound[e](r),p&&Se(t,e)),n})):[],h.update(),p=!0,r(h.before_update),h.fragment=!!i&&i(h.ctx),n.target){if(n.hydrate){f=!0;const e=P(n.target);h.fragment&&h.fragment.l(e),e.forEach(y)}else h.fragment&&h.fragment.c();n.intro&&ye(t.$$.fragment),Ee(t,n.target,n.anchor,n.customElement),f=!1,de()}X(d)}class Ae{$destroy(){xe(this,1),this.$destroy=e}$on(t,n){if(!o(n))return e;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const e=s.indexOf(n);-1!==e&&s.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Le=[];function Ne(t,n=e){let s;const r=new Set;function o(e){if(i(t,e)&&(t=e,s)){const e=!Le.length;for(const e of r)e[1](),Le.push(e,t);if(e){for(let e=0;e{r.delete(c),0===r.size&&s&&(s(),s=null)}}}}const Pe={};var Ie={owner:"Linerly",repo:"status",sites:[{name:"Website",url:"https://linerly.xyz/en",icon:"https://linerly.xyz/assets/icon-optimized.svg"},{name:"Immich",url:"https://media.linerly.xyz",icon:"https://media.linerly.xyz/favicon.png",__dangerous__body_down:"Argo Tunnel error"},{name:"Statistics",url:"https://stats.linerly.xyz",icon:"https://static.zgo.at/favicon/apple-touch-icon.png"}],"status-website":{cname:"status.linerly.xyz",name:"Service Status - Linerly",introTitle:"See all the status of Linerly's services",introMessage:"Powered by Upptime on GitHub",navbar:[{title:"Status",href:"/"},{title:"Website",href:"https://linerly.xyz"},{title:"Blog",href:"https://linerly.xyz/en/blog"}],logoUrl:"https://linerly.xyz/assets/icon-optimized.svg",favicon:"https://linerly.xyz/favicon.ico",faviconSvg:"https://linerly.xyz/assets/icon-optimized.svg",themeUrl:"https://status.linerly.xyz/theme.css",metaTags:[{name:"theme-color",content:"#1e90ff"},{name:"author",content:"Linerly"},{name:"description",content:"See the status of Linerly's services"},{name:"keywords",content:"Linerly, Status, Uptime, Downtime, Up, Down, Online, Offline, Upptime, GitHub, Pages, GitHub Pages"}]},path:"https://status.linerly.xyz",i18n:{activeIncidents:"Active Incidents",allSystemsOperational:"All systems are operational",incidentReport:"Incident #$NUMBER report →",activeIncidentSummary:"Opened at $DATE with $POSTS posts",incidentTitle:"Incident $NUMBER Details",incidentDetails:"Incident Details",incidentFixed:"Fixed",incidentOngoing:"Ongoing",incidentOpenedAt:"Opened at",incidentClosedAt:"Closed at",incidentViewOnGitHub:"View and Subscribe on GitHub",incidentCommentSummary:"Posted at $DATE by $AUTHOR",incidentBack:"← Back to all incidents",pastIncidents:"Past Incidents",pastIncidentsResolved:"Resolved in $MINUTES minutes with $POSTS posts",liveStatus:"Live Status",overallUptime:"Overall uptime: $UPTIME",overallUptimeTitle:"Overall uptime",averageResponseTime:"Average response time: $TIMEms",averageResponseTimeTitle:"Average response",sevelDayResponseTime:"7-day response time",responseTimeMs:"Response time (ms)",up:"Up",down:"Down",degraded:"Degraded",ms:"ms",loading:"Loading",navGitHub:"GitHub",footer:"This page is [open source]($REPO), powered by [Upptime](https://upptime.js.org)",rateLimitExceededTitle:"Rate limit exceeded",rateLimitExceededIntro:"You have exceeded the number of requests you can do in an hour, so you'll have to wait before accessing this website again. Alternately, you can add a GitHub Personal Access Token to continue to use this website.",rateLimitExceededWhatDoesErrorMean:"What does this error mean?",rateLimitExceededErrorMeaning:"This website uses the GitHub API to access real-time data about our websites' status. By default, GitHub allows each IP address 60 requests per hour, which you have consumed.",rateLimitExceededErrorHowCanFix:"How can I fix it?",rateLimitExceededErrorFix:"You can wait for another hour and your IP address' limit will be restored. Alternately, you can add your GitHub Personal Access Token, which gives you an additional 5,000 requests per hour.",rateLimitExceededGeneratePAT:"Learn how to generate a Personal Access Token",rateLimitExceededHasSet:"You have a personal access token set.",rateLimitExceededRemoveToken:"Remove token",rateLimitExceededGitHubPAT:"GitHub Personal Access Token",rateLimitExceededCopyPastePAT:"Copy and paste your token",rateLimitExceededSaveToken:"Save token",errorTitle:"An error occurred",errorIntro:"An error occurred in trying to get the latest status details.",errorText:"You can try again in a few moments.",errorHome:"Go to the homepage",pastScheduledMaintenance:"Past Scheduled Maintenance",scheduledMaintenance:"Scheduled Maintenance",scheduledMaintenanceSummaryStarted:"Started at $DATE for $DURATION minutes",scheduledMaintenanceSummaryStarts:"Starts at $DATE for $DURATION minutes",startedAt:"Started at",startsAt:"Starts at",duration:"Duration",durationMin:"$DURATION minutes",incidentCompleted:"Completed",incidentScheduled:"Scheduled",duration24H:"24h",duration7D:"7d",duration30D:"30d",duration1Y:"1y",durationAll:"all",locale:"en-US"}};function Re(e,t,n){const s=e.slice();return s[1]=t[n],s}function ke(t){let n,s,r,o=Ie["status-website"]&&!Ie["status-website"].hideNavLogo&&function(t){let n,s;return{c(){n=v("img"),this.h()},l(e){n=O(e,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){T(n,"alt",""),c(n.src,s=Ie["status-website"].logoUrl)||T(n,"src",s),T(n,"class","svelte-a08hsz")},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}(),i=Ie["status-website"]&&!Ie["status-website"].hideNavTitle&&function(t){let n,s,r=Ie["status-website"].name+"";return{c(){n=v("div"),s=w(r)},l(e){n=O(e,"DIV",{});var t=P(n);s=C(t,r),t.forEach(y)},m(e,t){g(e,n,t),p(n,s)},p:e,d(e){e&&y(n)}}}();return{c(){n=v("div"),s=v("a"),o&&o.c(),r=$(),i&&i.c(),this.h()},l(e){n=O(e,"DIV",{});var t=P(n);s=O(t,"A",{href:!0,class:!0});var a=P(s);o&&o.l(a),r=U(a),i&&i.l(a),a.forEach(y),t.forEach(y),this.h()},h(){T(s,"href",Ie["status-website"].logoHref||Ie.path),T(s,"class","logo svelte-a08hsz")},m(e,t){g(e,n,t),p(n,s),o&&o.m(s,null),p(s,r),i&&i.m(s,null)},p(e,t){Ie["status-website"]&&!Ie["status-website"].hideNavLogo&&o.p(e,t),Ie["status-website"]&&!Ie["status-website"].hideNavTitle&&i.p(e,t)},d(e){e&&y(n),o&&o.d(),i&&i.d()}}}function Oe(e){let t,n,s,r,o,i=e[1].title+"";return{c(){t=v("li"),n=v("a"),s=w(i),o=$(),this.h()},l(e){t=O(e,"LI",{});var r=P(t);n=O(r,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var a=P(n);s=C(a,i),a.forEach(y),o=U(r),r.forEach(y),this.h()},h(){T(n,"aria-current",r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0),T(n,"href",e[1].href.replace("$OWNER",Ie.owner).replace("$REPO",Ie.repo)),T(n,"target",e[1].target||"_self"),T(n,"class","svelte-a08hsz")},m(e,r){g(e,t,r),p(t,n),p(n,s),p(t,o)},p(e,t){1&t&&r!==(r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0)&&T(n,"aria-current",r)},d(e){e&&y(t)}}}function He(t){let n,s,r,o,i,a=Ie["status-website"]&&Ie["status-website"].logoUrl&&ke(),c=Ie["status-website"]&&Ie["status-website"].navbar&&function(e){let t,n=Ie["status-website"].navbar,s=[];for(let t=0;t{"segment"in e&&n(0,s=e.segment)},[s]}class Ue extends Ae{constructor(e){super(),Te(this,e,Ce,He,i,{segment:0})}}var Me={"":["",""],_:["",""],"*":["",""],"~":["",""],"\n":["
"]," ":["
"],"-":["
"]};function ze(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function De(e){return(e+"").replace(/"/g,""").replace(//g,">")}function je(e,t){var n,s,r,o,i,a=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t| {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|( \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,c=[],l="",u=t||{},d=0;function f(e){var t=Me[e[1]||""],n=c[c.length-1]==e;return t?t[1]?(n?c.pop():c.push(e),t[0|n]):t[0]:e}function h(){for(var e="";c.length;)e+=f(c[c.length-1]);return e}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(e,t,n){return u[t.toLowerCase()]=n,""})).replace(/^\n+|\n+$/g,"");r=a.exec(e);)s=e.substring(d,r.index),d=a.lastIndex,n=r[0],s.match(/[^\\](\\\\)*\\$/)||((i=r[3]||r[4])?n='
"+ze(De(i).replace(/^\n+|\n+$/g,""))+"
":(i=r[6])?(i.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),o=je(ze(r[5].replace(/^\s*[>*+.-]/gm,""))),">"==i?i="blockquote":(i=i.match(/\./)?"ol":"ul",o=o.replace(/^(.*)(\n|$)/gm,"
  • $1
  • ")),n="<"+i+">"+o+""):r[8]?n=''+De(r[7])+'':r[10]?(l=l.replace("",''),n=h()+""):r[9]?n="":r[12]||r[14]?n="<"+(i="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+je(r[12]||r[15],u)+"":r[16]?n=""+De(r[16])+"":(r[17]||r[1])&&(n=f(r[17]||"--"))),l+=s,l+=n;return(l+e.substring(d)+h()).replace(/^\n+|\n+$/g,"")}function Ge(e,t,n){const s=e.slice();return s[3]=t[n],s}function Be(e,t,n){const s=e.slice();return s[3]=t[n],s}function qe(e,t,n){const s=e.slice();return s[8]=t[n],s}function Ke(t){let n,s,r,o,i,a;return{c(){n=v("script"),s=w("// If `prefers-color-scheme` is not supported, fall back to light mode.\n // In this case, light.css will be downloaded with `highest` priority.\n if (typeof window !== \"undefined\" && typeof document !== \"undefined\" && \"matchMedia\" in window && window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {\n document.documentElement.style.display = 'none';\n document.head.insertAdjacentHTML(\n 'beforeend',\n '',\n );\n }"),r=$(),o=v("link"),i=$(),a=v("link"),this.h()},l(e){n=O(e,"SCRIPT",{});var t=P(n);s=C(t,"// If `prefers-color-scheme` is not supported, fall back to light mode.\n // In this case, light.css will be downloaded with `highest` priority.\n if (typeof window !== \"undefined\" && typeof document !== \"undefined\" && \"matchMedia\" in window && window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {\n document.documentElement.style.display = 'none';\n document.head.insertAdjacentHTML(\n 'beforeend',\n '',\n );\n }"),t.forEach(y),r=U(e),o=O(e,"LINK",{rel:!0,href:!0,media:!0}),i=U(e),a=O(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){T(o,"rel","stylesheet"),T(o,"href",`${Ie.path}/themes/light.css`),T(o,"media","(prefers-color-scheme: light)"),T(a,"rel","stylesheet"),T(a,"href",`${Ie.path}/themes/dark.css`),T(a,"media","(prefers-color-scheme: dark)")},m(e,t){g(e,n,t),p(n,s),g(e,r,t),g(e,o,t),g(e,i,t),g(e,a,t)},p:e,d(e){e&&y(n),e&&y(r),e&&y(o),e&&y(i),e&&y(a)}}}function We(t){let n;return{c(){n=v("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href",`${Ie.path}/themes/${Ie["status-website"].theme}.css`)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Je(t){let n;return{c(){n=v("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href",(Ie["status-website"]||{}).themeUrl)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Ve(t){let n,s;return{c(){n=v("script"),this.h()},l(e){n=O(e,"SCRIPT",{src:!0}),P(n).forEach(y),this.h()},h(){c(n.src,s=t[8].src)||T(n,"src",s),n.async=!!t[8].async,n.defer=!!t[8].async},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Ye(t){let n;return{c(){n=v("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){T(n,"rel",t[3].rel),T(n,"href",t[3].href),T(n,"media",t[3].media)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Fe(t){let n;return{c(){n=v("meta"),this.h()},l(e){n=O(e,"META",{name:!0,content:!0}),this.h()},h(){T(n,"name",t[3].name),T(n,"content",t[3].content)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Xe(t){let n,s,r,o,i,a,c,u,d,f,h,m,_,w,x,S,A,L,N=je(Ie.i18n.footer.replace(/\$REPO/,`https://github.com/${Ie.owner}/${Ie.repo}`))+"",I=(Ie["status-website"]||{}).customHeadHtml&&function(t){let n,s,r=(Ie["status-website"]||{}).customHeadHtml+"";return{c(){n=new Y(!1),s=E(),this.h()},l(e){n=z(e,!1),s=E(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}();let R=((Ie["status-website"]||{}).themeUrl?Je:(Ie["status-website"]||{}).theme?We:Ke)(t),k=(Ie["status-website"]||{}).scripts&&function(e){let t,n=(Ie["status-website"]||{}).scripts,s=[];for(let t=0;t${Ie["status-website"].css}`;return{c(){n=new Y(!1),s=E(),this.h()},l(e){n=z(e,!1),s=E(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}(),D=Ie["status-website"].js&&function(t){let n,s,r=`