@perses-dev/gauge-chart-plugin 0.14.0-beta.2 → 0.14.0-beta.3
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.
- package/__mf/js/{GaugeChart.d0898a25.js → GaugeChart.04ea4c25.js} +5 -5
- package/__mf/js/async/{121.923647b2.js → 121.f74500b6.js} +2 -2
- package/__mf/js/async/{192.66cc8639.js → 192.bf48c4d3.js} +1 -1
- package/__mf/js/async/{208.1dc9d791.js → 208.89d62809.js} +1 -1
- package/__mf/js/async/{235.3d14b76d.js → 235.5138fe4d.js} +1 -1
- package/__mf/js/async/{274.481c2cff.js → 274.399785ca.js} +2 -2
- package/__mf/js/async/356.87842240.js +1 -0
- package/__mf/js/async/{377.5ac59bcd.js → 377.f267226a.js} +1 -1
- package/__mf/js/async/{392.589be345.js → 392.156ea9ba.js} +2 -2
- package/__mf/js/async/{403.f63f0b01.js → 403.40b59212.js} +2 -2
- package/__mf/js/async/{410.41a2ea21.js → 410.df2ea576.js} +1 -1
- package/__mf/js/async/{458.c3d7080e.js → 458.48a11b45.js} +1 -1
- package/__mf/js/async/{463.1623acc4.js → 463.562ddfd8.js} +5 -5
- package/__mf/js/async/{470.a5788e56.js → 470.ff27e6ad.js} +2 -2
- package/__mf/js/async/{496.ddfbee86.js → 496.2724ab87.js} +1 -1
- package/__mf/js/async/587.5c0f3202.js +1 -0
- package/__mf/js/async/{588.231edddc.js → 588.5667535c.js} +1 -1
- package/__mf/js/async/{616.56af3d9a.js → 616.ce8a11c6.js} +1 -1
- package/__mf/js/async/{71.5c044eb7.js → 71.415ba237.js} +1 -1
- package/__mf/js/async/750.ce952d80.js +29 -0
- package/__mf/js/async/{77.84340477.js → 77.14e20a7a.js} +1 -1
- package/__mf/js/async/{823.ed9ab057.js → 823.eddd2367.js} +2 -2
- package/__mf/js/async/{844.8884c953.js → 844.16a20c02.js} +1 -1
- package/__mf/js/async/{854.23201b26.js → 854.2db30a80.js} +1 -1
- package/__mf/js/async/868.1c835f67.js +53 -0
- package/__mf/js/async/{873.828ee17a.js → 873.abcbd6eb.js} +1 -1
- package/__mf/js/async/{941.f2b7612e.js → 941.50baa732.js} +2 -2
- package/__mf/js/async/{963.8f8fc110.js → 963.4dd8fd92.js} +1 -1
- package/__mf/js/async/968.e98d087b.js +1 -0
- package/__mf/js/async/{978.75bd4607.js → 978.d4707799.js} +1 -1
- package/__mf/js/async/{__federation_expose_GaugeChart.a608d5e4.js → __federation_expose_GaugeChart.76e991f2.js} +1 -1
- package/__mf/js/async/{lib-router.a426c87f.js → lib-router.70e6341d.js} +2 -2
- package/__mf/js/{main.7041202d.js → main.53a8ccee.js} +5 -5
- package/mf-manifest.json +39 -39
- package/mf-stats.json +39 -39
- package/package.json +5 -5
- package/__mf/js/async/356.81432231.js +0 -1
- package/__mf/js/async/407.549724e8.js +0 -4
- package/__mf/js/async/587.b53469e7.js +0 -1
- package/__mf/js/async/710.63c7c633.js +0 -29
- package/__mf/js/async/968.fbee556d.js +0 -1
- /package/__mf/js/async/{121.923647b2.js.LICENSE.txt → 121.f74500b6.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{274.481c2cff.js.LICENSE.txt → 274.399785ca.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.589be345.js.LICENSE.txt → 392.156ea9ba.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{403.f63f0b01.js.LICENSE.txt → 403.40b59212.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{463.1623acc4.js.LICENSE.txt → 463.562ddfd8.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{470.a5788e56.js.LICENSE.txt → 470.ff27e6ad.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{823.ed9ab057.js.LICENSE.txt → 823.eddd2367.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{407.549724e8.js.LICENSE.txt → 868.1c835f67.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.f2b7612e.js.LICENSE.txt → 941.50baa732.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.a426c87f.js.LICENSE.txt → lib-router.70e6341d.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 941.
|
|
2
|
-
"use strict";(self.
|
|
1
|
+
/*! For license information please see 941.50baa732.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_GaugeChart_0_14_0_beta_3=self.chunk_GaugeChart_0_14_0_beta_3||[]).push([["941"],{7470(e,r,t){var o=t(20231);r.createRoot=o.createRoot,r.hydrateRoot=o.hydrateRoot},2192(e,r,t){var o=t(70451),_=Symbol.for("react.element"),a=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,t){var o,a={},c=null,u=null;for(o in void 0!==t&&(c=""+t),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(u=r.ref),r)n.call(r,o)&&!s.hasOwnProperty(o)&&(a[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===a[o]&&(a[o]=r[o]);return{$$typeof:_,type:e,key:c,ref:u,props:a,_owner:f.current}}r.Fragment=a,r.jsx=c,r.jsxs=c},62540(e,r,t){e.exports=t(2192)},86604(e,r,t){t.r(r);var o=t(62540),_=t(70451),a=t.n(_);t(7470).createRoot(document.getElementById("root")).render((0,o.jsx)(a().StrictMode,{}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.chunk_GaugeChart_0_14_0_beta_2=self.chunk_GaugeChart_0_14_0_beta_2||[]).push([["963"],{38662(e,t,r){r.r(t),r.d(t,{Immer:()=>X,applyPatches:()=>et,castDraft:()=>ea,castImmutable:()=>ei,createDraft:()=>er,current:()=>q,enableMapSet:()=>H,enablePatches:()=>B,finishDraft:()=>en,freeze:()=>z,immerable:()=>i,isDraft:()=>u,isDraftable:()=>l,nothing:()=>a,original:()=>h,produce:()=>T,produceWithPatches:()=>V,setAutoFreeze:()=>Y,setUseStrictIteration:()=>ee,setUseStrictShallowCopy:()=>Z});var n,a=Symbol.for("immer-nothing"),i=Symbol.for("immer-draftable"),s=Symbol.for("immer-state");function o(e){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var c=Object.getPrototypeOf;function u(e){return!!e&&!!e[s]}function l(e){return!!e&&(_(e)||Array.isArray(e)||!!e[i]||!!e.constructor?.[i]||m(e)||S(e))}var f=Object.prototype.constructor.toString(),p=new WeakMap;function _(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);if(null===t||t===Object.prototype)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(r===Object)return!0;if("function"!=typeof r)return!1;let n=p.get(r);return void 0===n&&(n=Function.toString.call(r),p.set(r,n)),n===f}function h(e){return u(e)||o(15,e),e[s].base_}function d(e,t,r=!0){0===y(e)?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function y(e){let t=e[s];return t?t.type_:Array.isArray(e)?1:m(e)?2:3*!!S(e)}function b(e,t){return 2===y(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function v(e,t){return 2===y(e)?e.get(t):e[t]}function g(e,t,r){let n=y(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function m(e){return e instanceof Map}function S(e){return e instanceof Set}function w(e){return e.copy_||e.base_}function P(e,t){if(m(e))return new Map(e);if(S(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=_(e);if(!0!==t&&("class_only"!==t||r)){let t=c(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[s];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let a=r[n],i=t[a];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(c(e),t)}}function z(e,t=!1){return j(e)||u(e)||!l(e)||(y(e)>1&&Object.defineProperties(e,{set:O,add:O,clear:O,delete:O}),Object.freeze(e),t&&Object.values(e).forEach(e=>z(e,!0))),e}var O={value:function(){o(2)}};function j(e){return null===e||"object"!=typeof e||Object.isFrozen(e)}var M={};function A(e){let t=M[e];return t||o(0,e),t}function k(e,t){t&&(A("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function D(e){F(e),e.drafts_.forEach(E),e.drafts_=null}function F(e){e===n&&(n=e.parent_)}function I(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function E(e){let t=e[s];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function x(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[s].modified_&&(D(t),o(4)),l(e)&&(e=C(t,e),t.parent_||N(t,e)),t.patches_&&A("Patches").generateReplacementPatches_(r[s].base_,e,t.patches_,t.inversePatches_)):e=C(t,r,[]),D(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==a?e:void 0}function C(e,t,r){if(j(t))return t;let n=e.immer_.shouldUseStrictIteration(),a=t[s];if(!a)return d(t,(n,i)=>U(e,a,t,n,i,r),n),t;if(a.scope_!==e)return t;if(!a.modified_)return N(e,a.base_,!0),a.base_;if(!a.finalized_){a.finalized_=!0,a.scope_.unfinalizedDrafts_--;let t=a.copy_,i=t,s=!1;3===a.type_&&(i=new Set(t),t.clear(),s=!0),d(i,(n,i)=>U(e,a,t,n,i,r,s),n),N(e,t,!1),r&&e.patches_&&A("Patches").generatePatches_(a,r,e.patches_,e.inversePatches_)}return a.copy_}function U(e,t,r,n,a,i,s){if(null==a||"object"!=typeof a&&!s)return;let o=j(a);if(!o||s){if(u(a)){let s=C(e,a,i&&t&&3!==t.type_&&!b(t.assigned_,n)?i.concat(n):void 0);if(g(r,n,s),!u(s))return;e.canAutoFreeze_=!1}else s&&r.add(a);if(l(a)&&!o){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[n]===a&&o)return;C(e,a),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&(m(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&N(e,a)}}}function N(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&z(t,r)}var R={get(e,t){if(t===s)return e;let r=w(e);if(!b(r,t)){var n;let a;return n=e,(a=G(r,t))?"value"in a?a.value:a.get?.call(n.draft_):void 0}let a=r[t];return e.finalized_||!l(a)?a:a===K(e.base_,t)?(J(e),e.copy_[t]=$(a,e)):a},has:(e,t)=>t in w(e),ownKeys:e=>Reflect.ownKeys(w(e)),set(e,t,r){let n=G(w(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=K(w(e),t),a=n?.[s];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||b(e.base_,t)))return!0;J(e),L(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==K(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,J(e),L(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=w(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){o(11)},getPrototypeOf:e=>c(e.base_),setPrototypeOf(){o(12)}},W={};function K(e,t){let r=e[s];return(r?w(r):e)[t]}function G(e,t){if(!(t in e))return;let r=c(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=c(r)}}function L(e){!e.modified_&&(e.modified_=!0,e.parent_&&L(e.parent_))}function J(e){e.copy_||(e.copy_=P(e.base_,e.scope_.immer_.useStrictShallowCopy_))}d(R,(e,t)=>{W[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),W.deleteProperty=function(e,t){return W.set.call(this,e,t,void 0)},W.set=function(e,t,r){return R.set.call(this,e[0],t,r,e[0])};var X=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...a){return n.produce(e,e=>t.call(this,e,...a))}}if("function"!=typeof t&&o(6),void 0!==r&&"function"!=typeof r&&o(7),l(e)){let a=I(this),i=$(e,void 0),s=!0;try{n=t(i),s=!1}finally{s?D(a):F(a)}return k(a,r),x(n,a)}if(e&&"object"==typeof e)o(1,e);else{if(void 0===(n=t(e))&&(n=e),n===a&&(n=void 0),this.autoFreeze_&&z(n,!0),r){let t=[],a=[];A("Patches").generateReplacementPatches_(e,n,t,a),r(t,a)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),"boolean"==typeof e?.useStrictIteration&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){l(e)||o(8),u(e)&&(e=q(e));let t=I(this),r=$(e,void 0);return r[s].isManual_=!0,F(t),r}finishDraft(e,t){let r=e&&e[s];r&&r.isManual_||o(9);let{scope_:n}=r;return k(n,t),x(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=A("Patches").applyPatches_;return u(e)?n(e,t):this.produce(e,e=>n(e,t))}};function $(e,t){let r=m(e)?A("MapSet").proxyMap_(e,t):S(e)?A("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),a={type_:+!!r,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=a,s=R;r&&(i=[a],s=W);let{revoke:o,proxy:c}=Proxy.revocable(i,s);return a.draft_=c,a.revoke_=o,c}(e,t);return(t?t.scope_:n).drafts_.push(r),r}function q(e){return u(e)||o(10,e),function e(t){let r;if(!l(t)||j(t))return t;let n=t[s],a=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=P(t,n.scope_.immer_.useStrictShallowCopy_),a=n.scope_.immer_.shouldUseStrictIteration()}else r=P(t,!0);return d(r,(t,n)=>{g(r,t,e(n))},a),n&&(n.finalized_=!1),r}(e)}function B(){let e="replace",t="remove";function r(e){if(!l(e))return e;if(Array.isArray(e))return e.map(r);if(m(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,r(t)]));if(S(e))return new Set(Array.from(e).map(r));let t=Object.create(c(e));for(let n in e)t[n]=r(e[n]);return b(e,i)&&(t[i]=e[i]),t}function n(e){return u(e)?r(e):e}M.Patches||(M.Patches={applyPatches_:function(n,a){return a.forEach(a=>{let{path:i,op:s}=a,c=n;for(let e=0;e<i.length-1;e++){let t=y(c),r=i[e];"string"!=typeof r&&"number"!=typeof r&&(r=""+r),(0===t||1===t)&&("__proto__"===r||"constructor"===r)&&o(19),"function"==typeof c&&"prototype"===r&&o(19),"object"!=typeof(c=v(c,r))&&o(18,i.join("/"))}let u=y(c),l=r(a.value),f=i[i.length-1];switch(s){case e:switch(u){case 2:return c.set(f,l);case 3:o(16);default:return c[f]=l}case"add":switch(u){case 1:return"-"===f?c.push(l):c.splice(f,0,l);case 2:return c.set(f,l);case 3:return c.add(l);default:return c[f]=l}case t:switch(u){case 1:return c.splice(f,1);case 2:return c.delete(f);case 3:return c.delete(a.value);default:return delete c[f]}default:o(17,s)}}),n},generatePatches_:function(r,a,i,s){switch(r.type_){case 0:case 2:return function(r,a,i,s){let{base_:o,copy_:c}=r;d(r.assigned_,(r,u)=>{let l=v(o,r),f=v(c,r),p=u?b(o,r)?e:"add":t;if(l===f&&p===e)return;let _=a.concat(r);i.push(p===t?{op:p,path:_}:{op:p,path:_,value:f}),s.push("add"===p?{op:t,path:_}:p===t?{op:"add",path:_,value:n(l)}:{op:e,path:_,value:n(l)})})}(r,a,i,s);case 1:return function(r,a,i,s){let{base_:o,assigned_:c}=r,u=r.copy_;u.length<o.length&&([o,u]=[u,o],[i,s]=[s,i]);for(let t=0;t<o.length;t++)if(c[t]&&u[t]!==o[t]){let r=a.concat([t]);i.push({op:e,path:r,value:n(u[t])}),s.push({op:e,path:r,value:n(o[t])})}for(let e=o.length;e<u.length;e++){let t=a.concat([e]);i.push({op:"add",path:t,value:n(u[e])})}for(let e=u.length-1;o.length<=e;--e){let r=a.concat([e]);s.push({op:t,path:r})}}(r,a,i,s);case 3:return function(e,r,n,a){let{base_:i,copy_:s}=e,o=0;i.forEach(e=>{if(!s.has(e)){let i=r.concat([o]);n.push({op:t,path:i,value:e}),a.unshift({op:"add",path:i,value:e})}o++}),o=0,s.forEach(e=>{if(!i.has(e)){let i=r.concat([o]);n.push({op:"add",path:i,value:e}),a.unshift({op:t,path:i,value:e})}o++})}(r,a,i,s)}},generateReplacementPatches_:function(t,r,n,i){n.push({op:e,path:[],value:r===a?void 0:r}),i.push({op:e,path:[],value:t})}})}function H(){class e extends Map{constructor(e,t){super(),this[s]={type_:2,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:e,draft_:this,isManual_:!1,revoked_:!1}}get size(){return w(this[s]).size}has(e){return w(this[s]).has(e)}set(e,r){let n=this[s];return i(n),w(n).has(e)&&w(n).get(e)===r||(t(n),L(n),n.assigned_.set(e,!0),n.copy_.set(e,r),n.assigned_.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let r=this[s];return i(r),t(r),L(r),r.base_.has(e)?r.assigned_.set(e,!1):r.assigned_.delete(e),r.copy_.delete(e),!0}clear(){let e=this[s];i(e),w(e).size&&(t(e),L(e),e.assigned_=new Map,d(e.base_,t=>{e.assigned_.set(t,!1)}),e.copy_.clear())}forEach(e,t){w(this[s]).forEach((r,n,a)=>{e.call(t,this.get(n),n,this)})}get(e){let r=this[s];i(r);let n=w(r).get(e);if(r.finalized_||!l(n)||n!==r.base_.get(e))return n;let a=$(n,r);return t(r),r.copy_.set(e,a),a}keys(){return w(this[s]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();return t.done?t:{done:!1,value:this.get(t.value)}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:[t.value,r]}}}}[Symbol.iterator](){return this.entries()}}function t(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}class r extends Set{constructor(e,t){super(),this[s]={type_:3,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,base_:e,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return w(this[s]).size}has(e){let t=this[s];return(i(t),t.copy_)?!!(t.copy_.has(e)||t.drafts_.has(e)&&t.copy_.has(t.drafts_.get(e))):t.base_.has(e)}add(e){let t=this[s];return i(t),this.has(e)||(a(t),L(t),t.copy_.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[s];return i(t),a(t),L(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))}clear(){let e=this[s];i(e),w(e).size&&(a(e),L(e),e.copy_.clear())}values(){let e=this[s];return i(e),a(e),e.copy_.values()}entries(){let e=this[s];return i(e),a(e),e.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let r=this.values(),n=r.next();for(;!n.done;)e.call(t,n.value,n.value,this),n=r.next()}}function a(e){e.copy_||(e.copy_=new Set,e.base_.forEach(t=>{if(l(t)){let r=$(t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)}))}function i(e){e.revoked_&&o(3,JSON.stringify(w(e)))}M.MapSet||(M.MapSet={proxyMap_:function(t,r){return new e(t,r)},proxySet_:function(e,t){return new r(e,t)}})}var Q=new X,T=Q.produce,V=Q.produceWithPatches.bind(Q),Y=Q.setAutoFreeze.bind(Q),Z=Q.setUseStrictShallowCopy.bind(Q),ee=Q.setUseStrictIteration.bind(Q),et=Q.applyPatches.bind(Q),er=Q.createDraft.bind(Q),en=Q.finishDraft.bind(Q);function ea(e){return e}function ei(e){return e}}}]);
|
|
1
|
+
"use strict";(self.chunk_GaugeChart_0_14_0_beta_3=self.chunk_GaugeChart_0_14_0_beta_3||[]).push([["963"],{38662(e,t,r){r.r(t),r.d(t,{Immer:()=>X,applyPatches:()=>et,castDraft:()=>ea,castImmutable:()=>ei,createDraft:()=>er,current:()=>q,enableMapSet:()=>H,enablePatches:()=>B,finishDraft:()=>en,freeze:()=>z,immerable:()=>i,isDraft:()=>u,isDraftable:()=>l,nothing:()=>a,original:()=>h,produce:()=>T,produceWithPatches:()=>V,setAutoFreeze:()=>Y,setUseStrictIteration:()=>ee,setUseStrictShallowCopy:()=>Z});var n,a=Symbol.for("immer-nothing"),i=Symbol.for("immer-draftable"),s=Symbol.for("immer-state");function o(e){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var c=Object.getPrototypeOf;function u(e){return!!e&&!!e[s]}function l(e){return!!e&&(_(e)||Array.isArray(e)||!!e[i]||!!e.constructor?.[i]||m(e)||S(e))}var f=Object.prototype.constructor.toString(),p=new WeakMap;function _(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);if(null===t||t===Object.prototype)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(r===Object)return!0;if("function"!=typeof r)return!1;let n=p.get(r);return void 0===n&&(n=Function.toString.call(r),p.set(r,n)),n===f}function h(e){return u(e)||o(15,e),e[s].base_}function d(e,t,r=!0){0===y(e)?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function y(e){let t=e[s];return t?t.type_:Array.isArray(e)?1:m(e)?2:3*!!S(e)}function b(e,t){return 2===y(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function v(e,t){return 2===y(e)?e.get(t):e[t]}function g(e,t,r){let n=y(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function m(e){return e instanceof Map}function S(e){return e instanceof Set}function w(e){return e.copy_||e.base_}function P(e,t){if(m(e))return new Map(e);if(S(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=_(e);if(!0!==t&&("class_only"!==t||r)){let t=c(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[s];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let a=r[n],i=t[a];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(c(e),t)}}function z(e,t=!1){return j(e)||u(e)||!l(e)||(y(e)>1&&Object.defineProperties(e,{set:O,add:O,clear:O,delete:O}),Object.freeze(e),t&&Object.values(e).forEach(e=>z(e,!0))),e}var O={value:function(){o(2)}};function j(e){return null===e||"object"!=typeof e||Object.isFrozen(e)}var M={};function A(e){let t=M[e];return t||o(0,e),t}function k(e,t){t&&(A("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function D(e){F(e),e.drafts_.forEach(E),e.drafts_=null}function F(e){e===n&&(n=e.parent_)}function I(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function E(e){let t=e[s];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function x(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[s].modified_&&(D(t),o(4)),l(e)&&(e=C(t,e),t.parent_||N(t,e)),t.patches_&&A("Patches").generateReplacementPatches_(r[s].base_,e,t.patches_,t.inversePatches_)):e=C(t,r,[]),D(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==a?e:void 0}function C(e,t,r){if(j(t))return t;let n=e.immer_.shouldUseStrictIteration(),a=t[s];if(!a)return d(t,(n,i)=>U(e,a,t,n,i,r),n),t;if(a.scope_!==e)return t;if(!a.modified_)return N(e,a.base_,!0),a.base_;if(!a.finalized_){a.finalized_=!0,a.scope_.unfinalizedDrafts_--;let t=a.copy_,i=t,s=!1;3===a.type_&&(i=new Set(t),t.clear(),s=!0),d(i,(n,i)=>U(e,a,t,n,i,r,s),n),N(e,t,!1),r&&e.patches_&&A("Patches").generatePatches_(a,r,e.patches_,e.inversePatches_)}return a.copy_}function U(e,t,r,n,a,i,s){if(null==a||"object"!=typeof a&&!s)return;let o=j(a);if(!o||s){if(u(a)){let s=C(e,a,i&&t&&3!==t.type_&&!b(t.assigned_,n)?i.concat(n):void 0);if(g(r,n,s),!u(s))return;e.canAutoFreeze_=!1}else s&&r.add(a);if(l(a)&&!o){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[n]===a&&o)return;C(e,a),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&(m(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&N(e,a)}}}function N(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&z(t,r)}var R={get(e,t){if(t===s)return e;let r=w(e);if(!b(r,t)){var n;let a;return n=e,(a=G(r,t))?"value"in a?a.value:a.get?.call(n.draft_):void 0}let a=r[t];return e.finalized_||!l(a)?a:a===K(e.base_,t)?(J(e),e.copy_[t]=$(a,e)):a},has:(e,t)=>t in w(e),ownKeys:e=>Reflect.ownKeys(w(e)),set(e,t,r){let n=G(w(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=K(w(e),t),a=n?.[s];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||b(e.base_,t)))return!0;J(e),L(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==K(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,J(e),L(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=w(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){o(11)},getPrototypeOf:e=>c(e.base_),setPrototypeOf(){o(12)}},W={};function K(e,t){let r=e[s];return(r?w(r):e)[t]}function G(e,t){if(!(t in e))return;let r=c(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=c(r)}}function L(e){!e.modified_&&(e.modified_=!0,e.parent_&&L(e.parent_))}function J(e){e.copy_||(e.copy_=P(e.base_,e.scope_.immer_.useStrictShallowCopy_))}d(R,(e,t)=>{W[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),W.deleteProperty=function(e,t){return W.set.call(this,e,t,void 0)},W.set=function(e,t,r){return R.set.call(this,e[0],t,r,e[0])};var X=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...a){return n.produce(e,e=>t.call(this,e,...a))}}if("function"!=typeof t&&o(6),void 0!==r&&"function"!=typeof r&&o(7),l(e)){let a=I(this),i=$(e,void 0),s=!0;try{n=t(i),s=!1}finally{s?D(a):F(a)}return k(a,r),x(n,a)}if(e&&"object"==typeof e)o(1,e);else{if(void 0===(n=t(e))&&(n=e),n===a&&(n=void 0),this.autoFreeze_&&z(n,!0),r){let t=[],a=[];A("Patches").generateReplacementPatches_(e,n,t,a),r(t,a)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),"boolean"==typeof e?.useStrictIteration&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){l(e)||o(8),u(e)&&(e=q(e));let t=I(this),r=$(e,void 0);return r[s].isManual_=!0,F(t),r}finishDraft(e,t){let r=e&&e[s];r&&r.isManual_||o(9);let{scope_:n}=r;return k(n,t),x(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=A("Patches").applyPatches_;return u(e)?n(e,t):this.produce(e,e=>n(e,t))}};function $(e,t){let r=m(e)?A("MapSet").proxyMap_(e,t):S(e)?A("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),a={type_:+!!r,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=a,s=R;r&&(i=[a],s=W);let{revoke:o,proxy:c}=Proxy.revocable(i,s);return a.draft_=c,a.revoke_=o,c}(e,t);return(t?t.scope_:n).drafts_.push(r),r}function q(e){return u(e)||o(10,e),function e(t){let r;if(!l(t)||j(t))return t;let n=t[s],a=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=P(t,n.scope_.immer_.useStrictShallowCopy_),a=n.scope_.immer_.shouldUseStrictIteration()}else r=P(t,!0);return d(r,(t,n)=>{g(r,t,e(n))},a),n&&(n.finalized_=!1),r}(e)}function B(){let e="replace",t="remove";function r(e){if(!l(e))return e;if(Array.isArray(e))return e.map(r);if(m(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,r(t)]));if(S(e))return new Set(Array.from(e).map(r));let t=Object.create(c(e));for(let n in e)t[n]=r(e[n]);return b(e,i)&&(t[i]=e[i]),t}function n(e){return u(e)?r(e):e}M.Patches||(M.Patches={applyPatches_:function(n,a){return a.forEach(a=>{let{path:i,op:s}=a,c=n;for(let e=0;e<i.length-1;e++){let t=y(c),r=i[e];"string"!=typeof r&&"number"!=typeof r&&(r=""+r),(0===t||1===t)&&("__proto__"===r||"constructor"===r)&&o(19),"function"==typeof c&&"prototype"===r&&o(19),"object"!=typeof(c=v(c,r))&&o(18,i.join("/"))}let u=y(c),l=r(a.value),f=i[i.length-1];switch(s){case e:switch(u){case 2:return c.set(f,l);case 3:o(16);default:return c[f]=l}case"add":switch(u){case 1:return"-"===f?c.push(l):c.splice(f,0,l);case 2:return c.set(f,l);case 3:return c.add(l);default:return c[f]=l}case t:switch(u){case 1:return c.splice(f,1);case 2:return c.delete(f);case 3:return c.delete(a.value);default:return delete c[f]}default:o(17,s)}}),n},generatePatches_:function(r,a,i,s){switch(r.type_){case 0:case 2:return function(r,a,i,s){let{base_:o,copy_:c}=r;d(r.assigned_,(r,u)=>{let l=v(o,r),f=v(c,r),p=u?b(o,r)?e:"add":t;if(l===f&&p===e)return;let _=a.concat(r);i.push(p===t?{op:p,path:_}:{op:p,path:_,value:f}),s.push("add"===p?{op:t,path:_}:p===t?{op:"add",path:_,value:n(l)}:{op:e,path:_,value:n(l)})})}(r,a,i,s);case 1:return function(r,a,i,s){let{base_:o,assigned_:c}=r,u=r.copy_;u.length<o.length&&([o,u]=[u,o],[i,s]=[s,i]);for(let t=0;t<o.length;t++)if(c[t]&&u[t]!==o[t]){let r=a.concat([t]);i.push({op:e,path:r,value:n(u[t])}),s.push({op:e,path:r,value:n(o[t])})}for(let e=o.length;e<u.length;e++){let t=a.concat([e]);i.push({op:"add",path:t,value:n(u[e])})}for(let e=u.length-1;o.length<=e;--e){let r=a.concat([e]);s.push({op:t,path:r})}}(r,a,i,s);case 3:return function(e,r,n,a){let{base_:i,copy_:s}=e,o=0;i.forEach(e=>{if(!s.has(e)){let i=r.concat([o]);n.push({op:t,path:i,value:e}),a.unshift({op:"add",path:i,value:e})}o++}),o=0,s.forEach(e=>{if(!i.has(e)){let i=r.concat([o]);n.push({op:"add",path:i,value:e}),a.unshift({op:t,path:i,value:e})}o++})}(r,a,i,s)}},generateReplacementPatches_:function(t,r,n,i){n.push({op:e,path:[],value:r===a?void 0:r}),i.push({op:e,path:[],value:t})}})}function H(){class e extends Map{constructor(e,t){super(),this[s]={type_:2,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:e,draft_:this,isManual_:!1,revoked_:!1}}get size(){return w(this[s]).size}has(e){return w(this[s]).has(e)}set(e,r){let n=this[s];return i(n),w(n).has(e)&&w(n).get(e)===r||(t(n),L(n),n.assigned_.set(e,!0),n.copy_.set(e,r),n.assigned_.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let r=this[s];return i(r),t(r),L(r),r.base_.has(e)?r.assigned_.set(e,!1):r.assigned_.delete(e),r.copy_.delete(e),!0}clear(){let e=this[s];i(e),w(e).size&&(t(e),L(e),e.assigned_=new Map,d(e.base_,t=>{e.assigned_.set(t,!1)}),e.copy_.clear())}forEach(e,t){w(this[s]).forEach((r,n,a)=>{e.call(t,this.get(n),n,this)})}get(e){let r=this[s];i(r);let n=w(r).get(e);if(r.finalized_||!l(n)||n!==r.base_.get(e))return n;let a=$(n,r);return t(r),r.copy_.set(e,a),a}keys(){return w(this[s]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();return t.done?t:{done:!1,value:this.get(t.value)}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:[t.value,r]}}}}[Symbol.iterator](){return this.entries()}}function t(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}class r extends Set{constructor(e,t){super(),this[s]={type_:3,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,base_:e,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return w(this[s]).size}has(e){let t=this[s];return(i(t),t.copy_)?!!(t.copy_.has(e)||t.drafts_.has(e)&&t.copy_.has(t.drafts_.get(e))):t.base_.has(e)}add(e){let t=this[s];return i(t),this.has(e)||(a(t),L(t),t.copy_.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[s];return i(t),a(t),L(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))}clear(){let e=this[s];i(e),w(e).size&&(a(e),L(e),e.copy_.clear())}values(){let e=this[s];return i(e),a(e),e.copy_.values()}entries(){let e=this[s];return i(e),a(e),e.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let r=this.values(),n=r.next();for(;!n.done;)e.call(t,n.value,n.value,this),n=r.next()}}function a(e){e.copy_||(e.copy_=new Set,e.base_.forEach(t=>{if(l(t)){let r=$(t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)}))}function i(e){e.revoked_&&o(3,JSON.stringify(w(e)))}M.MapSet||(M.MapSet={proxyMap_:function(t,r){return new e(t,r)},proxySet_:function(e,t){return new r(e,t)}})}var Q=new X,T=Q.produce,V=Q.produceWithPatches.bind(Q),Y=Q.setAutoFreeze.bind(Q),Z=Q.setUseStrictShallowCopy.bind(Q),ee=Q.setUseStrictIteration.bind(Q),et=Q.applyPatches.bind(Q),er=Q.createDraft.bind(Q),en=Q.finishDraft.bind(Q);function ea(e){return e}function ei(e){return e}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_GaugeChart_0_14_0_beta_3=self.chunk_GaugeChart_0_14_0_beta_3||[]).push([["968"],{75150(e,t,r){r.r(t),r.d(t,{toNestErrors:()=>a,validateFieldsNatively:()=>l});var s=r(79215);let i=(e,t,r)=>{if(e&&"reportValidity"in e){let i=(0,s.get)(r,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},l=(e,t)=>{for(let r in t.fields){let s=t.fields[r];s&&s.ref&&"reportValidity"in s.ref?i(s.ref,r,e):s&&s.refs&&s.refs.forEach(t=>i(t,r,e))}},a=(e,t)=>{t.shouldUseNativeValidation&&l(e,t);let r={};for(let i in e){let l=(0,s.get)(t.fields,i),a=Object.assign(e[i]||{},{ref:l&&l.refs?l.refs[0]:l&&l.ref});if(f(t.names||Object.keys(e),i)){let e=Object.assign({},(0,s.get)(r,i));(0,s.set)(e,"root",a),(0,s.set)(r,i,e)}else(0,s.set)(r,i,a)}return r},f=(e,t)=>{let r=n(t).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some(e=>n(e).match(`^${r}\\.\\d+`))};function n(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.
|
|
1
|
+
"use strict";(self.chunk_GaugeChart_0_14_0_beta_3=self.chunk_GaugeChart_0_14_0_beta_3||[]).push([["978"],{61153(e,t,n){n.r(t),n.d(t,{getTimezoneOffset:()=>Q,toDate:()=>H,toZonedTime:()=>J,format:()=>B,formatInTimeZone:()=>K,fromZonedTime:()=>L});var r=n(96962),a=n(31829);function i(e,t,n){var r,i,u,l,o;let c,s,f=(0,a.getDefaultOptions)(),d=(r=e,i=n.timeZone,u=n.locale??f.locale,new Intl.DateTimeFormat(u?[u.code,"en-US"]:void 0,{timeZone:i,timeZoneName:r}));return"formatToParts"in d?function(e,t){let n=e.formatToParts(t);for(let e=n.length-1;e>=0;--e)if("timeZoneName"===n[e].type)return n[e].value}(d,t):(l=d,o=t,c=l.format(o).replace(/\u200E/g,""),(s=/ [\w-+ ]+$/.exec(c))?s[0].substr(1):"")}let u={year:0,month:1,day:2,hour:3,minute:4,second:5},l={},o=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),c="06/25/2014, 00:00:00"===o||"06/25/2014 00:00:00"===o;function s(e,t,n,r,a,i,u){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(r,a,i,u),l}let f=/^(Z)$/,d=/^([+-]\d{2})$/,g=/^([+-])(\d{2}):?(\d{2})$/;function m(e,t,n){let r,a;if(!e)return 0;let i=f.exec(e);if(i)return 0;if(i=d.exec(e))return h(r=parseInt(i[1],10))?-(36e5*r):NaN;if(i=g.exec(e)){r=parseInt(i[2],10);let e=parseInt(i[3],10);return h(r,e)?(a=36e5*Math.abs(r)+6e4*e,"+"===i[1]?-a:a):NaN}if(function(e){if(N[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),N[e]=!0,!0}catch(e){return!1}}(e)){var u;t=new Date(t||Date.now());let r=D(n?t:s((u=t).getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,a=D(new Date(r),n);if(t===a)return t;let i=D(new Date(r-=a-t),n);return a===i?a:Math.max(a,i)}(t,r,e))}return NaN}function D(e,t){var n,r,a;let i,o,f,d=(l[n=t]||(l[n]=c?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(f=l[n])?function(e,t){try{let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let t=u[n[e].type];void 0!==t&&(r[t]=parseInt(n[e].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(f,e):(r=f,a=e,i=r.format(a),[parseInt((o=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(i))[3],10),parseInt(o[1],10),parseInt(o[2],10),parseInt(o[4],10),parseInt(o[5],10),parseInt(o[6],10)])),g=s(d[0],d[1]-1,d[2],d[3]%24,d[4],d[5],0).getTime(),m=e.getTime(),D=m%1e3;return g-(m-=D>=0?D:1e3+D)}function h(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let N={},p={X:function(e,t,n){let r=w(n.timeZone,e);if(0===r)return"Z";switch(t){case"X":return I(r);case"XXXX":case"XX":return x(r);default:return x(r,":")}},x:function(e,t,n){let r=w(n.timeZone,e);switch(t){case"x":return I(r);case"xxxx":case"xx":return x(r);default:return x(r,":")}},O:function(e,t,n){let r=w(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+T(i,2)}(r,":");default:return"GMT"+x(r,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return i("short",e,n);default:return i("long",e,n)}}};function w(e,t){let n=e?m(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw RangeError("Invalid time zone specified: "+e);return n}function T(e,t){let n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return(e<0?"-":"")+n}function x(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+T(Math.floor(n/60),2)+t+T(Math.floor(n%60),2)}function I(e,t){return e%60==0?(e>0?"-":"+")+T(Math.abs(e)/60,2):x(e,t)}function Z(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let y=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,C=/^([0-9W+-]+)(T| )(.*)/,U=/^([0-9W+-]+)(.*)/,b=/^(\d{2})$/,M=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],F=/^(\d{4})/,S=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],$=/^-(\d{2})$/,O=/^-?(\d{3})$/,_=/^-?(\d{2})-?(\d{2})$/,z=/^-?W(\d{2})$/,Y=/^-?W(\d{2})-?(\d{1})$/,v=/^(\d{2}([.,]\d*)?)$/,X=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,j=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function H(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);let r=function(e){let t,n={},r=C.exec(e);if(r?(n.date=r[1],t=r[3]):(r=U.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=y.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:a,restDateString:i}=function(e,t){if(e){let n=M[t],r=S[t],a=F.exec(e)||r.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=b.exec(e)||n.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),u=function(e,t){let n,r,a;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let i=$.exec(e);if(i)return(n=new Date(0),W(t,r=parseInt(i[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(NaN);if(i=O.exec(e)){n=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let n=A(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(NaN):(n.setUTCFullYear(t,0,e),n)}if(i=_.exec(e)){n=new Date(0),r=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return W(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(NaN)}if(i=z.exec(e))return k(a=parseInt(i[1],10)-1)?E(t,a):new Date(NaN);if(i=Y.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return k(a,e)?E(t,a,e):new Date(NaN)}return null}(i,a);if(null===u||isNaN(u.getTime())||!u)return new Date(NaN);{let e,n=u.getTime(),a=0;if(r.time&&(null===(a=function(e){let t,n,r=v.exec(e);if(r)return R(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:NaN;if(r=X.exec(e))return R(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:NaN;if(r=j.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return R(t,n,e)?t%24*36e5+6e4*n+1e3*e:NaN}return null}(r.time))||isNaN(a)))return new Date(NaN);if(r.timeZone||t.timeZone){if(isNaN(e=m(r.timeZone||t.timeZone,new Date(n+a))))return new Date(NaN)}else e=Z(new Date(n+a)),e=Z(new Date(n+a+e));return new Date(n+a+e)}}function E(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}let G=[31,28,31,30,31,30,31,31,30,31,30,31],P=[31,29,31,30,31,30,31,31,30,31,30,31];function A(e){return e%400==0||e%4==0&&e%100!=0}function W(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=A(e);if(r&&n>P[t]||!r&&n>G[t])return!1}return!0}function k(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function R(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}let q=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function B(e,t,n={}){let a=(t=String(t)).match(q);if(a){let r=H(n.originalDate||e,n);t=a.reduce(function(e,t){if("'"===t[0])return e;let a=e.indexOf(t),i="'"===e[a-1],u=e.replace(t,"'"+p[t[0]](r,t,n)+"'");return i?u.substring(0,a-1)+u.substring(a+1):u},t)}return(0,r.GP)(e,t,n)}function J(e,t,n){let r=m(t,e=H(e,n),!0),a=new Date(e.getTime()-r),i=new Date(0);return i.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),i.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),i}function K(e,t,n,r){return r={...r,timeZone:t,originalDate:e},B(J(e,t,{timeZone:r.timeZone}),n,r)}function L(e,t,n){if("string"==typeof e&&!e.match(y))return H(e,{...n,timeZone:t});let r=s((e=H(e,n)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),a=m(t,new Date(r));return new Date(r+a)}function Q(e,t){return-m(e,t)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.
|
|
1
|
+
(self.chunk_GaugeChart_0_14_0_beta_3=self.chunk_GaugeChart_0_14_0_beta_3||[]).push([["204"],{44272(e){e.exports=function(e,t){for(var n=-1,l=null==e?0:e.length,o=Array(l);++n<l;)o[n]=t(e[n],n,e);return o}},93305(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},25814(e,t,n){var l=n(61414),o=n(44272),r=n(93305),a=n(36204),i=n(75569),h=Math.max;e.exports=function(e){if(!(e&&e.length))return[];var t=0;return e=l(e,function(e){if(i(e))return t=h(e.length,t),!0}),a(t,function(t){return o(e,r(t))})}},10007(e,t,n){e.exports=n(71506)(n(25814))},23470(e,t,n){"use strict";n.r(t),n.d(t,{GaugeChart:()=>T});let l={unit:"percent-decimal"};var o=n(62540),r=n(93648),a=n(68003),i=n(32794),h=n(23724),s=n(43945),u=n(25632),d=n.n(u),c=n(315),p=n(74628),g=n(33313),m=n(70451),f=n(49828),x=n(59738),v=n(72106),w=n(55875),C=n(74653),M=n(37573);function j(e){let{width:t,height:n,data:l,format:r,axisLine:a,max:h,valueFontSize:s,progressWidth:u,titleFontSize:d}=e,c=(0,i.useChartsTheme)(),p=(0,i.useDeepMemo)(()=>{var e;if(void 0===l.value)return c.noDataOption;let n={type:"gauge",center:["50%","65%"],startAngle:200,endAngle:-20,min:0,max:h,axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},data:[{value:l.value}]};return{title:{show:!1},tooltip:{show:!1},series:[{...n,radius:"90%",silent:!0,progress:{show:!0,width:u,itemStyle:{color:"auto"}},axisLine:{lineStyle:{color:[[1,"rgba(127,127,127,0.35)"]],width:u}},pointer:{show:!1},anchor:{show:!1},title:{show:!1},detail:{show:!1}},{...n,radius:"100%",pointer:{show:!0,icon:t>170?"path://M12.8,0.7l12,40.1H0.7L12.8,0.7z":"none",length:10,width:5,offsetCenter:[0,"-49%"],itemStyle:{color:"auto"}},axisLine:a,detail:{show:!0,width:"60%",borderRadius:8,offsetCenter:[0,"-9%"],color:"inherit",fontSize:s,formatter:null===l.value?()=>"null":e=>(0,i.formatValue)(e,r)},data:[{value:l.value,name:l.label,title:{show:!0,color:(null==(e=c.echartsTheme.textStyle)?void 0:e.color)??"inherit",offsetCenter:[0,"55%"],overflow:"truncate",fontSize:d,width:.8*t}}]}]}},[l,t,n,c,r,a,h,s,u,d]);return(0,o.jsx)(i.EChart,{style:{width:t,height:n},sx:{padding:`${c.container.padding.default}px`},option:p,theme:c.echartsTheme})}(0,C.Y)([f.a,x.a,v.a,w.a,M.a]);var b=n(10007),S=n.n(b);let y={steps:[{value:0}]},A={label:"",value:void 0};function L(e,t){return Math.max(10,Math.min(48,Math.round(.1*Math.min(e,t))))}function _(e,t,n,l){let o=Math.max(("number"==typeof e?(0,i.formatValue)(e,t):`${e}`).length,6),r=Math.min(n,l);return`clamp(8px, ${r/o}px, 64px)`}function E(e,t){return Math.max(10,Math.min(16,Math.round(.06*Math.min(e,t))))}let T={PanelComponent:function(e){let{spec:t,contentDimensions:n,queryResults:r}=e,{calculation:a,max:s,legend:u}=t,{thresholds:g}=(0,i.useChartsTheme)(),f=(null==u?void 0:u.show)??!0,x=d()({},l,t.format),v=t.thresholds??y,w=(0,m.useMemo)(()=>{let e=[];h.CalculationsMap[a]||console.warn(`Invalid GaugeChart panel calculation ${a}, fallback to ${h.DEFAULT_CALCULATION}`);let t=h.CalculationsMap[a]??h.CalculationsMap[h.DEFAULT_CALCULATION];for(let n of r)for(let l of n.data.series)e.push({value:t(l.values),label:f?l.formattedName??"":""});return e},[r,a,f]);if(!n)return null;let C=s;void 0===C&&(C="percent"===x.unit?100:1);let M=function(e,t,n){let l=e.defaultColor??n.defaultColor,o=[[0,l]];if(void 0===e.steps)return o;{let o=e.steps.map(n=>"percent"===e.mode?n.value/100:n.value/t);o.push(1);let r=e.steps.map((e,t)=>e.color??n.palette[t]);return r.unshift(l),S()(o,r).map(e=>[e[0]??1,e[1]??l])}}(v,C,g),b=n.width/w.length-20;b<90&&w.length>1&&(b=90);let T=L(b,n.height),O=Math.round(.2*T),z=E(b,n.height),F={show:!0,lineStyle:{width:O,color:M}};if(!w.length){let e=_(null,x,n.width,n.height),t=L(n.width,n.height),l=E(n.width,n.height);return(0,o.jsx)(j,{width:n.width,height:n.height,data:A,format:x,axisLine:F,max:C,valueFontSize:e,progressWidth:t,titleFontSize:l})}let G=w.length>1;return(0,o.jsx)(c.A,{direction:"row",spacing:2*!!G,justifyContent:G?"left":"center",alignItems:"center",sx:{overflowX:w.length>1?"scroll":"auto"},children:w.map((e,t)=>{let l=_(e.value??null,x,b,n.height);return(0,o.jsx)(p.A,{children:(0,o.jsx)(j,{width:b,height:n.height,data:e,format:x,axisLine:F,max:C,valueFontSize:l,progressWidth:T,titleFontSize:z})},`gauge-series-${t}`)})})},LoadingComponent:function(e){let{contentDimensions:t}=e;return t?(0,o.jsx)(g.A,{sx:{margin:"0 auto"},variant:"circular",width:t.width>t.height?t.height:t.width,height:t.height}):null},supportedQueryTypes:["TimeSeriesQuery"],panelOptionsEditorComponents:[{label:"Settings",content:function(e){var t;let{onChange:n,value:u}=e,c=(null==u||null==(t=u.legend)?void 0:t.show)??!0,p=d()({},l,u.format),g="Enter value";return"percent"===p.unit?g="100":"percent-decimal"===p.unit&&(g="1"),(0,o.jsxs)(i.OptionsEditorGrid,{children:[(0,o.jsx)(i.OptionsEditorColumn,{children:(0,o.jsxs)(i.OptionsEditorGroup,{title:"Misc",children:[(0,o.jsx)(i.FormatControls,{value:p,onChange:e=>{n((0,s.produce)(u,t=>{t.format=e}))}}),(0,o.jsx)(h.CalculationSelector,{value:u.calculation,onChange:e=>{n((0,s.produce)(u,t=>{t.calculation=e}))}}),(0,o.jsx)(i.OptionsEditorControl,{label:"Max",control:(0,o.jsx)(r.A,{type:"number",value:u.max??"",onChange:e=>{let t=e.target.value?Number(e.target.value):void 0;n((0,s.produce)(u,e=>{e.max=t}))},placeholder:g})})]})}),(0,o.jsxs)(i.OptionsEditorColumn,{children:[(0,o.jsx)(i.ThresholdsEditor,{thresholds:u.thresholds,onChange:e=>{n((0,s.produce)(u,t=>{t.thresholds=e}))}}),(0,o.jsx)(i.OptionsEditorControl,{label:"Show legend",control:(0,o.jsx)(a.A,{onChange:()=>{n((0,s.produce)(u,e=>{e.legend={...e.legend,show:!c}}))},checked:c})})]})]})}}],createInitialOptions:function(){return{calculation:"last-number",format:l,thresholds:{steps:[{value:.8},{value:.9}]}}}}}}]);
|