@perses-dev/prometheus-plugin 0.51.0-rc.0 → 0.51.0-rc.2
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/{622.d75cbbb4.js → 622.f8d6828c.js} +1 -1
- package/__mf/js/{Prometheus.4ed45674.js → Prometheus.b8130f02.js} +3 -3
- package/__mf/js/async/2285.15378f70.js +1 -0
- package/__mf/js/async/2675.99cf926f.js +1 -0
- package/__mf/js/async/3057.e568f9b6.js +7 -0
- package/__mf/js/async/{4489.3361e7bc.js.LICENSE.txt → 3057.e568f9b6.js.LICENSE.txt} +1 -17
- package/__mf/js/async/3090.9fb5fe73.js +2 -0
- package/__mf/js/async/3980.7cea5715.js +2 -0
- package/__mf/js/async/{6333.865a46e0.js.LICENSE.txt → 3980.7cea5715.js.LICENSE.txt} +2 -2
- package/__mf/js/async/4062.3ab7f987.js +1 -0
- package/__mf/js/async/4421.42e889f6.js +1 -0
- package/__mf/js/async/528.d364bb0e.js +1 -0
- package/__mf/js/async/{5345.8c2e4b4a.js → 5345.2e531d76.js} +1 -1
- package/__mf/js/async/5503.7153681d.js +1 -0
- package/__mf/js/async/5769.f14c9663.js +1 -0
- package/__mf/js/async/5913.4e5abd09.js +73 -0
- package/__mf/js/async/7376.c7eb05b9.js +1 -0
- package/__mf/js/async/8980.afe002d4.js +28 -0
- package/__mf/js/async/9550.e19763f8.js +38 -0
- package/__mf/js/async/__federation_expose_PrometheusDatasource.f9c8cf41.js +1 -0
- package/__mf/js/async/__federation_expose_PrometheusExplorer.f3fe63da.js +1 -0
- package/__mf/js/async/{__federation_expose_PrometheusLabelNamesVariable.86d0ad5a.js → __federation_expose_PrometheusLabelNamesVariable.873e5f4d.js} +1 -1
- package/__mf/js/async/{__federation_expose_PrometheusLabelValuesVariable.b2893484.js → __federation_expose_PrometheusLabelValuesVariable.6696e340.js} +1 -1
- package/__mf/js/async/{__federation_expose_PrometheusPromQLVariable.cd16f6e8.js → __federation_expose_PrometheusPromQLVariable.ab45c7cc.js} +1 -1
- package/__mf/js/async/__federation_expose_PrometheusTimeSeriesQuery.66611c9d.js +1 -0
- package/__mf/js/main.855882c0.js +1 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/filter/FinderFilters.js +5 -1
- package/lib/cjs/model/prometheus-selectors.js +5 -4
- package/lib/cjs/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js +3 -1
- package/lib/cjs/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js +3 -2
- package/lib/cjs/plugins/prometheus-time-series-query/get-time-series-data.js +4 -2
- package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.d.ts.map +1 -1
- package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.js +6 -2
- package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.js.map +1 -1
- package/lib/model/prometheus-selectors.d.ts +5 -4
- package/lib/model/prometheus-selectors.d.ts.map +1 -1
- package/lib/model/prometheus-selectors.js +7 -6
- package/lib/model/prometheus-selectors.js.map +1 -1
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.d.ts.map +1 -1
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js +4 -2
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js.map +1 -1
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.d.ts.map +1 -1
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js +4 -3
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js.map +1 -1
- package/lib/plugins/prometheus-time-series-query/get-time-series-data.d.ts.map +1 -1
- package/lib/plugins/prometheus-time-series-query/get-time-series-data.js +6 -4
- package/lib/plugins/prometheus-time-series-query/get-time-series-data.js.map +1 -1
- package/lib/plugins/prometheus-time-series-query/time-series-query-model.d.ts +2 -1
- package/lib/plugins/prometheus-time-series-query/time-series-query-model.d.ts.map +1 -1
- package/lib/plugins/prometheus-time-series-query/time-series-query-model.js.map +1 -1
- package/mf-manifest.json +194 -207
- package/mf-stats.json +200 -213
- package/package.json +9 -8
- package/__mf/js/async/1495.6c8b8071.js +0 -1
- package/__mf/js/async/1864.df7c4beb.js +0 -1
- package/__mf/js/async/1950.704c331e.js +0 -1
- package/__mf/js/async/1996.01084c88.js +0 -2
- package/__mf/js/async/2316.fec4907a.js +0 -1
- package/__mf/js/async/232.f3523a60.js +0 -1
- package/__mf/js/async/2675.c3b73822.js +0 -1
- package/__mf/js/async/3436.97c926a4.js +0 -1
- package/__mf/js/async/4421.1bcc1637.js +0 -1
- package/__mf/js/async/4489.3361e7bc.js +0 -29
- package/__mf/js/async/5387.fd6e16d6.js +0 -1
- package/__mf/js/async/5654.ecb41aea.js +0 -38
- package/__mf/js/async/5913.9d30fd07.js +0 -73
- package/__mf/js/async/6333.865a46e0.js +0 -2
- package/__mf/js/async/8265.b9e2c31e.js +0 -1
- package/__mf/js/async/8610.90592927.js +0 -1
- package/__mf/js/async/87.fdc843ac.js +0 -1
- package/__mf/js/async/8997.18901f45.js +0 -28
- package/__mf/js/async/__federation_expose_PrometheusDatasource.f6f57299.js +0 -1
- package/__mf/js/async/__federation_expose_PrometheusExplorer.e5f23291.js +0 -1
- package/__mf/js/async/__federation_expose_PrometheusTimeSeriesQuery.eb9eefa6.js +0 -1
- package/__mf/js/main.a79f60cc.js +0 -1
- /package/__mf/js/async/{1996.01084c88.js.LICENSE.txt → 3090.9fb5fe73.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5913.9d30fd07.js.LICENSE.txt → 5913.4e5abd09.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["2316"],{52889:function(e,t,a){a.d(t,{Z:()=>S});var r=a(54538),o=a(90496),l=a(82267),n=a(16838),i=a(90247),c=a(24246);let s=(0,i.Z)((0,c.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var d=a(51183),p=a(51640),u=a(14544),m=a(12709),v=a(82319),b=a(90433),g=a(51751),h=a(44124),f=a(6749);function y(e){return(0,f.ZP)("MuiChip",e)}let $=(0,h.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),C=e=>{let{classes:t,disabled:a,size:r,color:o,iconColor:n,onDelete:i,clickable:c,variant:s}=e,d={root:["root",s,a&&"disabled",`size${(0,p.Z)(r)}`,`color${(0,p.Z)(o)}`,c&&"clickable",c&&`clickableColor${(0,p.Z)(o)}`,i&&"deletable",i&&`deletableColor${(0,p.Z)(o)}`,`${s}${(0,p.Z)(o)}`],label:["label",`label${(0,p.Z)(r)}`],avatar:["avatar",`avatar${(0,p.Z)(r)}`,`avatarColor${(0,p.Z)(o)}`],icon:["icon",`icon${(0,p.Z)(r)}`,`iconColor${(0,p.Z)(n)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,p.Z)(r)}`,`deleteIconColor${(0,p.Z)(o)}`,`deleteIcon${(0,p.Z)(s)}Color${(0,p.Z)(o)}`]};return(0,l.Z)(d,y,t)},Z=(0,m.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e,{color:r,iconColor:o,clickable:l,onDelete:n,size:i,variant:c}=a;return[{[`& .${$.avatar}`]:t.avatar},{[`& .${$.avatar}`]:t[`avatar${(0,p.Z)(i)}`]},{[`& .${$.avatar}`]:t[`avatarColor${(0,p.Z)(r)}`]},{[`& .${$.icon}`]:t.icon},{[`& .${$.icon}`]:t[`icon${(0,p.Z)(i)}`]},{[`& .${$.icon}`]:t[`iconColor${(0,p.Z)(o)}`]},{[`& .${$.deleteIcon}`]:t.deleteIcon},{[`& .${$.deleteIcon}`]:t[`deleteIcon${(0,p.Z)(i)}`]},{[`& .${$.deleteIcon}`]:t[`deleteIconColor${(0,p.Z)(r)}`]},{[`& .${$.deleteIcon}`]:t[`deleteIcon${(0,p.Z)(c)}Color${(0,p.Z)(r)}`]},t.root,t[`size${(0,p.Z)(i)}`],t[`color${(0,p.Z)(r)}`],l&&t.clickable,l&&"default"!==r&&t[`clickableColor${(0,p.Z)(r)})`],n&&t.deletable,n&&"default"!==r&&t[`deletableColor${(0,p.Z)(r)}`],t[c],t[`${c}${(0,p.Z)(r)}`]]}})((0,v.Z)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${$.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${$.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${$.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${$.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${$.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${$.icon}`]:{marginLeft:5,marginRight:-6},[`& .${$.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,n.Fq)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,n.Fq)(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${$.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${$.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,b.Z)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${$.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:(0,n.Fq)(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${$.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${$.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,n.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter((0,b.Z)(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${$.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,n.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,n.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,b.Z)(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${$.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${$.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${$.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${$.avatar}`]:{marginLeft:4},[`& .${$.avatarSmall}`]:{marginLeft:2},[`& .${$.icon}`]:{marginLeft:4},[`& .${$.iconSmall}`]:{marginLeft:2},[`& .${$.deleteIcon}`]:{marginRight:5},[`& .${$.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,b.Z)()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,n.Fq)(e.palette[t].main,.7)}`,[`&.${$.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,n.Fq)(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,n.Fq)(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${$.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,n.Fq)(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),x=(0,m.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:a}=e,{size:r}=a;return[t.label,t[`label${(0,p.Z)(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function k(e){return"Backspace"===e.key||"Delete"===e.key}let S=r.forwardRef(function(e,t){let a=(0,g.i)({props:e,name:"MuiChip"}),{avatar:l,className:n,clickable:i,color:p="default",component:m,deleteIcon:v,disabled:b=!1,icon:h,label:f,onClick:y,onDelete:$,onKeyDown:S,onKeyUp:P,size:I="medium",variant:R="filled",tabIndex:w,skipFocusWhenDisabled:O=!1,...M}=a,z=r.useRef(null),L=(0,d.Z)(z,t),F=e=>{e.stopPropagation(),$&&$(e)},V=!1!==i&&!!y||i,T=V||$?u.Z:m||"div",j={...a,component:T,disabled:b,size:I,color:p,iconColor:r.isValidElement(h)&&h.props.color||p,onDelete:!!$,clickable:V,variant:R},B=C(j),q=T===u.Z?{component:m||"div",focusVisibleClassName:B.focusVisible,...$&&{disableRipple:!0}}:{},N=null;$&&(N=v&&r.isValidElement(v)?r.cloneElement(v,{className:(0,o.Z)(v.props.className,B.deleteIcon),onClick:F}):(0,c.jsx)(s,{className:(0,o.Z)(B.deleteIcon),onClick:F}));let E=null;l&&r.isValidElement(l)&&(E=r.cloneElement(l,{className:(0,o.Z)(B.avatar,l.props.className)}));let D=null;return h&&r.isValidElement(h)&&(D=r.cloneElement(h,{className:(0,o.Z)(B.icon,h.props.className)})),(0,c.jsxs)(Z,{as:T,className:(0,o.Z)(B.root,n),disabled:!!V&&!!b||void 0,onClick:y,onKeyDown:e=>{e.currentTarget===e.target&&k(e)&&e.preventDefault(),S&&S(e)},onKeyUp:e=>{e.currentTarget===e.target&&$&&k(e)&&$(e),P&&P(e)},ref:L,tabIndex:O&&b?-1:w,ownerState:j,...q,...M,children:[E||D,(0,c.jsx)(x,{className:(0,o.Z)(B.label),ownerState:j,children:f}),N]})})},38062:function(e,t,a){a.d(t,{V:()=>l,Z:()=>n});var r=a(44124),o=a(6749);function l(e){return(0,o.ZP)("MuiDivider",e)}let n=(0,r.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},28797:function(e,t,a){a.d(t,{Z:()=>Z});var r=a(54538),o=a(90496),l=a(82267),n=a(36683),i=a(12709),c=a(82319),s=a(51751),d=a(52054),p=a(51640),u=a(44124),m=a(6749);function v(e){return(0,m.ZP)("MuiFormControlLabel",e)}let b=(0,u.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var g=a(33567),h=a(16351),f=a(24246);let y=e=>{let{classes:t,disabled:a,labelPlacement:r,error:o,required:n}=e,i={root:["root",a&&"disabled",`labelPlacement${(0,p.Z)(r)}`,o&&"error",n&&"required"],label:["label",a&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,l.Z)(i,v,t)},$=(0,i.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[{[`& .${b.label}`]:t.label},t.root,t[`labelPlacement${(0,p.Z)(a.labelPlacement)}`]]}})((0,c.Z)(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${b.disabled}`]:{cursor:"default"},[`& .${b.label}`]:{[`&.${b.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}))),C=(0,i.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,c.Z)(({theme:e})=>({[`&.${b.error}`]:{color:(e.vars||e).palette.error.main}}))),Z=r.forwardRef(function(e,t){let a=(0,s.i)({props:e,name:"MuiFormControlLabel"}),{checked:l,className:i,componentsProps:c={},control:p,disabled:u,disableTypography:m,inputRef:v,label:b,labelPlacement:Z="end",name:x,onChange:k,required:S,slots:P={},slotProps:I={},value:R,...w}=a,O=(0,n.Z)(),M=u??p.props.disabled??O?.disabled,z=S??p.props.required,L={disabled:M,required:z};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===p.props[e]&&void 0!==a[e]&&(L[e]=a[e])});let F=(0,g.Z)({props:a,muiFormControl:O,states:["error"]}),V={...a,disabled:M,labelPlacement:Z,required:z,error:F.error},T=y(V),j={slots:P,slotProps:{...c,...I}},[B,q]=(0,h.Z)("typography",{elementType:d.Z,externalForwardedProps:j,ownerState:V}),N=b;return null==N||N.type===d.Z||m||(N=(0,f.jsx)(B,{component:"span",...q,className:(0,o.Z)(T.label,q?.className),children:N})),(0,f.jsxs)($,{className:(0,o.Z)(T.root,i),ownerState:V,ref:t,...w,children:[r.cloneElement(p,L),z?(0,f.jsxs)("div",{children:[N,(0,f.jsxs)(C,{ownerState:V,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]}):N]})})},14662:function(e,t,a){a.d(t,{L:()=>l,Z:()=>n});var r=a(44124),o=a(6749);function l(e){return(0,o.ZP)("MuiListItemText",e)}let n=(0,r.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},10517:function(e,t,a){a.d(t,{Z:()=>S});var r=a(54538),o=a(90496),l=a(82267),n=a(16838),i=a(73037),c=a(12709),s=a(82319),d=a(51751),p=a(78849),u=a(14544),m=a(16758),v=a(51183),b=a(38062),g=a(44124);let h=(0,g.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);var f=a(14662),y=a(6749);function $(e){return(0,y.ZP)("MuiMenuItem",e)}let C=(0,g.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var Z=a(24246);let x=e=>{let{disabled:t,dense:a,divider:r,disableGutters:o,selected:n,classes:i}=e,c=(0,l.Z)({root:["root",a&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",n&&"selected"]},$,i);return{...i,...c}},k=(0,c.ZP)(u.Z,{shouldForwardProp:e=>(0,i.Z)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.dense&&t.dense,a.divider&&t.divider,!a.disableGutters&&t.gutters]}})((0,s.Z)(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${C.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${C.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${C.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${C.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${C.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${b.Z.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${b.Z.inset}`]:{marginLeft:52},[`& .${f.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${f.Z.inset}`]:{paddingLeft:36},[`& .${h.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${h.root} svg`]:{fontSize:"1.25rem"}}}]}))),S=r.forwardRef(function(e,t){let a;let l=(0,d.i)({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:i="li",dense:c=!1,divider:s=!1,disableGutters:u=!1,focusVisibleClassName:b,role:g="menuitem",tabIndex:h,className:f,...y}=l,$=r.useContext(p.Z),C=r.useMemo(()=>({dense:c||$.dense||!1,disableGutters:u}),[$.dense,c,u]),S=r.useRef(null);(0,m.Z)(()=>{n&&S.current&&S.current.focus()},[n]);let P={...l,dense:C.dense,divider:s,disableGutters:u},I=x(l),R=(0,v.Z)(S,t);return l.disabled||(a=void 0!==h?h:-1),(0,Z.jsx)(p.Z.Provider,{value:C,children:(0,Z.jsx)(k,{ref:R,role:g,tabIndex:a,component:i,focusVisibleClassName:(0,o.Z)(I.focusVisible,b),className:(0,o.Z)(I.root,f),...y,ownerState:P,classes:I})})})},99140:function(e,t,a){a.d(t,{Z:()=>y});var r=a(54538),o=a(82267),l=a(51640),n=a(73037),i=a(12709),c=a(18817),s=a(36683),d=a(14544),p=a(44124),u=a(6749);function m(e){return(0,u.ZP)("PrivateSwitchBase",e)}(0,p.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=a(16351),b=a(24246);let g=e=>{let{classes:t,checked:a,disabled:r,edge:n}=e,i={root:["root",a&&"checked",r&&"disabled",n&&`edge${(0,l.Z)(n)}`],input:["input"]};return(0,o.Z)(i,m,t)},h=(0,i.ZP)(d.Z)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),f=(0,i.ZP)("input",{shouldForwardProp:n.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),y=r.forwardRef(function(e,t){let{autoFocus:a,checked:r,checkedIcon:o,defaultChecked:l,disabled:n,disableFocusRipple:i=!1,edge:d=!1,icon:p,id:u,inputProps:m,inputRef:y,name:$,onBlur:C,onChange:Z,onFocus:x,readOnly:k,required:S=!1,tabIndex:P,type:I,value:R,slots:w={},slotProps:O={},...M}=e,[z,L]=(0,c.Z)({controlled:r,default:!!l,name:"SwitchBase",state:"checked"}),F=(0,s.Z)(),V=e=>{x&&x(e),F&&F.onFocus&&F.onFocus(e)},T=e=>{C&&C(e),F&&F.onBlur&&F.onBlur(e)},j=e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;L(t),Z&&Z(e,t)},B=n;F&&void 0===B&&(B=F.disabled);let q="checkbox"===I||"radio"===I,N={...e,checked:z,disabled:B,disableFocusRipple:i,edge:d},E=g(N),D={slots:w,slotProps:{input:m,...O}},[H,W]=(0,v.Z)("root",{ref:t,elementType:h,className:E.root,shouldForwardComponentProp:!0,externalForwardedProps:{...D,component:"span",...M},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),V(t)},onBlur:t=>{e.onBlur?.(t),T(t)}}),ownerState:N,additionalProps:{centerRipple:!0,focusRipple:!i,disabled:B,role:void 0,tabIndex:null}}),[A,G]=(0,v.Z)("input",{ref:y,elementType:f,className:E.input,externalForwardedProps:D,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),j(t)}}),ownerState:N,additionalProps:{autoFocus:a,checked:r,defaultChecked:l,disabled:B,id:q?u:void 0,name:$,readOnly:k,required:S,tabIndex:P,type:I,..."checkbox"===I&&void 0===R?{}:{value:R}}});return(0,b.jsxs)(H,{...W,children:[(0,b.jsx)(A,{...G}),z?o:p]})})},23049:function(e,t,a){a.d(t,{Z:()=>l}),a(54538);var r=a(90247),o=a(24246);let l=(0,r.Z)((0,o.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},33755:function(e,t,a){t.default=void 0;var r,o=(r=a(30265))&&r.__esModule?r:{default:r};t.default=(0,o.default)("M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z","Plus")},75276:function(e,t,a){a.r(t),a.d(t,{default:()=>l});var r=a(54538);function o(e,t,a){return e[t]?e[t][0]?e[t][0][a]:e[t][a]:"contentBoxSize"===t?e.contentRect["inlineSize"===a?"width":"height"]:void 0}function l(e){void 0===e&&(e={});var t,a,l,n,i,c,s=e.onResize,d=(0,r.useRef)(void 0);d.current=s;var p=e.round||Math.round,u=(0,r.useRef)(),m=(0,r.useState)({width:void 0,height:void 0}),v=m[0],b=m[1],g=(0,r.useRef)(!1);(0,r.useEffect)(function(){return g.current=!1,function(){g.current=!0}},[]);var h=(0,r.useRef)({width:void 0,height:void 0}),f=(t=(0,r.useCallback)(function(t){return u.current&&u.current.box===e.box&&u.current.round===p||(u.current={box:e.box,round:p,instance:new ResizeObserver(function(t){var a=t[0],r="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",l=o(a,r,"inlineSize"),n=o(a,r,"blockSize"),i=l?p(l):void 0,c=n?p(n):void 0;if(h.current.width!==i||h.current.height!==c){var s={width:i,height:c};h.current.width=i,h.current.height=c,d.current?d.current(s):g.current||b(s)}})}),u.current.instance.observe(t,{box:e.box}),function(){u.current&&u.current.instance.unobserve(t)}},[e.box,p]),a=e.ref,l=(0,r.useRef)(null),(n=(0,r.useRef)(null)).current=a,i=(0,r.useRef)(null),(0,r.useEffect)(function(){c()}),c=(0,r.useCallback)(function(){var e=i.current,a=n.current,r=e||(a?a instanceof Element?a:a.current:null);(!l.current||l.current.element!==r||l.current.subscriber!==t)&&(l.current&&l.current.cleanup&&l.current.cleanup(),l.current={element:r,subscriber:t,cleanup:r?t(r):void 0})},[t]),(0,r.useEffect)(function(){return function(){l.current&&l.current.cleanup&&(l.current.cleanup(),l.current=null)}},[]),(0,r.useCallback)(function(e){i.current=e,c()},[c]));return(0,r.useMemo)(function(){return{ref:f,width:v.width,height:v.height}},[f,v.width,v.height])}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["232"],{40150:function(t,e,s){s.r(e),s.d(e,{useIsRestoring:()=>tv,dataTagErrorSymbol:()=>tc,QueryClientProvider:()=>tm,matchQuery:()=>c,useSuspenseQuery:()=>tU,QueryClientContext:()=>tp,IsRestoringProvider:()=>tg,Mutation:()=>K,usePrefetchInfiniteQuery:()=>tL,replaceEqualDeep:()=>y,useSuspenseQueries:()=>tK,defaultShouldDehydrateQuery:()=>ti,notifyManager:()=>T,useInfiniteQuery:()=>tX,matchMutation:()=>l,unsetMarker:()=>tl,MutationObserver:()=>te,useMutationState:()=>tJ,defaultShouldDehydrateMutation:()=>tr,Query:()=>A,dataTagSymbol:()=>th,HydrationBoundary:()=>tz,onlineManager:()=>P,useQueries:()=>tT,hydrate:()=>tu,skipToken:()=>S,experimental_streamedQuery:()=>to,dehydrate:()=>ta,QueryCache:()=>j,QueryClient:()=>B,CancelledError:()=>F,isCancelledError:()=>x,usePrefetchQuery:()=>tH,QueryObserver:()=>W,focusManager:()=>q,keepPreviousData:()=>R,useQueryErrorResetBoundary:()=>tC,useMutation:()=>tV,useSuspenseInfiniteQuery:()=>tj,useIsFetching:()=>tB,QueryErrorResetBoundary:()=>tQ,hashKey:()=>f,infiniteQueryOptions:()=>tG,useIsMutating:()=>tW,useQueryClient:()=>ty,InfiniteQueryObserver:()=>tt,useQuery:()=>tA,isServer:()=>i,MutationCache:()=>L,QueriesObserver:()=>Z,queryOptions:()=>t_});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},i="undefined"==typeof window||"Deno"in globalThis;function n(){}function a(t){return"number"==typeof t&&t>=0&&t!==1/0}function u(t,e){return Math.max(t+(e||0)-Date.now(),0)}function o(t,e){return"function"==typeof t?t(e):t}function h(t,e){return"function"==typeof t?t(e):t}function c(t,e){let{type:s="all",exact:r,fetchStatus:i,predicate:n,queryKey:a,stale:u}=t;if(a){if(r){if(e.queryHash!==d(a,e.options))return!1}else if(!p(e.queryKey,a))return!1}if("all"!==s){let t=e.isActive();if("active"===s&&!t||"inactive"===s&&t)return!1}return("boolean"!=typeof u||e.isStale()===u)&&(!i||i===e.state.fetchStatus)&&(!n||!!n(e))}function l(t,e){let{exact:s,status:r,predicate:i,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(s){if(f(e.options.mutationKey)!==f(n))return!1}else if(!p(e.options.mutationKey,n))return!1}return(!r||e.state.status===r)&&(!i||!!i(e))}function d(t,e){return(e?.queryKeyHashFn||f)(t)}function f(t){return JSON.stringify(t,(t,e)=>v(e)?Object.keys(e).sort().reduce((t,s)=>(t[s]=e[s],t),{}):e)}function p(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(s=>!p(t[s],e[s]))}function y(t,e){if(t===e)return t;let s=b(t)&&b(e);if(s||v(t)&&v(e)){let r=s?t:Object.keys(t),i=r.length,n=s?e:Object.keys(e),a=n.length,u=s?[]:{},o=0;for(let i=0;i<a;i++){let a=s?i:n[i];(!s&&r.includes(a)||s)&&void 0===t[a]&&void 0===e[a]?(u[a]=void 0,o++):(u[a]=y(t[a],e[a]),u[a]===t[a]&&void 0!==t[a]&&o++)}return i===a&&o===i?t:u}return e}function m(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let s in t)if(t[s]!==e[s])return!1;return!0}function b(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function v(t){if(!g(t))return!1;let e=t.constructor;if(void 0===e)return!0;let s=e.prototype;return!!(g(s)&&s.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(t)===Object.prototype}function g(t){return"[object Object]"===Object.prototype.toString.call(t)}function O(t,e,s){return"function"==typeof s.structuralSharing?s.structuralSharing(t,e):!1!==s.structuralSharing?y(t,e):e}function R(t){return t}function C(t,e,s=0){let r=[...t,e];return s&&r.length>s?r.slice(1):r}function Q(t,e,s=0){let r=[e,...t];return s&&r.length>s?r.slice(0,-1):r}var S=Symbol();function w(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==S?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}var q=new class extends r{#t;#e;#s;constructor(){super(),this.#s=t=>{if(!i&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#t?this.#t:globalThis.document?.visibilityState!=="hidden"}},P=new class extends r{#r=!0;#e;#s;constructor(){super(),this.#s=t=>{if(!i&&window.addEventListener){let e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#r!==t&&(this.#r=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#r}};function E(){let t,e;let s=new Promise((s,r)=>{t=s,e=r});function r(t){Object.assign(s,t),delete s.resolve,delete s.reject}return s.status="pending",s.catch(()=>{}),s.resolve=e=>{r({status:"fulfilled",value:e}),t(e)},s.reject=t=>{r({status:"rejected",reason:t}),e(t)},s}function M(t){return Math.min(1e3*2**t,3e4)}function D(t){return(t??"online")!=="online"||P.isOnline()}var F=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function x(t){return t instanceof F}function I(t){let e,s=!1,r=0,n=!1,a=E(),u=()=>q.isFocused()&&("always"===t.networkMode||P.isOnline())&&t.canRun(),o=()=>D(t.networkMode)&&t.canRun(),h=s=>{n||(n=!0,t.onSuccess?.(s),e?.(),a.resolve(s))},c=s=>{n||(n=!0,t.onError?.(s),e?.(),a.reject(s))},l=()=>new Promise(s=>{e=t=>{(n||u())&&s(t)},t.onPause?.()}).then(()=>{e=void 0,n||t.onContinue?.()}),d=()=>{let e;if(n)return;let a=0===r?t.initialPromise:void 0;try{e=a??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(h).catch(e=>{if(n)return;let a=t.retry??3*!i,o=t.retryDelay??M,h="function"==typeof o?o(r,e):o,f=!0===a||"number"==typeof a&&r<a||"function"==typeof a&&a(r,e);if(s||!f){c(e);return}r++,t.onFail?.(r,e),new Promise(t=>{setTimeout(t,h)}).then(()=>u()?void 0:l()).then(()=>{s?c(e):d()})})};return{promise:a,cancel:e=>{n||(c(new F(e)),t.abort?.())},continue:()=>(e?.(),a),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:o,start:()=>(o()?d():l().then(d),a)}}var T=function(){let t=[],e=0,s=t=>{t()},r=t=>{t()},i=t=>setTimeout(t,0),n=r=>{e?t.push(r):i(()=>{s(r)})},a=()=>{let e=t;t=[],e.length&&i(()=>{r(()=>{e.forEach(t=>{s(t)})})})};return{batch:t=>{let s;e++;try{s=t()}finally{--e||a()}return s},batchCalls:t=>(...e)=>{n(()=>{t(...e)})},schedule:n,setNotifyFunction:t=>{s=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{i=t}}}(),k=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),a(this.gcTime)&&(this.#i=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(i?1/0:3e5))}clearGcTimeout(){this.#i&&(clearTimeout(this.#i),this.#i=void 0)}},A=class extends k{#n;#a;#u;#o;#h;#c;#l;constructor(t){super(),this.#l=!1,this.#c=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#o=t.client,this.#u=this.#o.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#n=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,r=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#h?.promise}setOptions(t){this.options={...this.#c,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(t,e){let s=O(this.state.data,t,this.options);return this.#d({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t,e){this.#d({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#h?.promise;return this.#h?.cancel(t),e?e.then(n).catch(n):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#n)}isActive(){return this.observers.some(t=>!1!==h(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===S||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!u(this.state.dataUpdatedAt,t)}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#h?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#h?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#h&&(this.#l?this.#h.cancel({revert:!0}):this.#h.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#d({type:"invalidate"})}fetch(t,e){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#h)return this.#h.continueRetry(),this.#h.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let s=new AbortController,r=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#l=!0,s.signal)})},i={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:()=>{let t=w(this.options,e),s={client:this.#o,queryKey:this.queryKey,meta:this.meta};return(r(s),this.#l=!1,this.options.persister)?this.options.persister(t,s,this):t(s)}};r(i),this.options.behavior?.onFetch(i,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==i.fetchOptions?.meta)&&this.#d({type:"fetch",meta:i.fetchOptions?.meta});let n=t=>{x(t)&&t.silent||this.#d({type:"error",error:t}),x(t)||(this.#u.config.onError?.(t,this),this.#u.config.onSettled?.(this.state.data,t,this)),this.scheduleGc()};return this.#h=I({initialPromise:e?.initialPromise,fn:i.fetchFn,abort:s.abort.bind(s),onSuccess:t=>{if(void 0===t){n(Error(`${this.queryHash} data is undefined`));return}try{this.setData(t)}catch(t){n(t);return}this.#u.config.onSuccess?.(t,this),this.#u.config.onSettled?.(t,this.state.error,this),this.scheduleGc()},onError:n,onFail:(t,e)=>{this.#d({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0}),this.#h.start()}#d(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...U(e.data,this.options),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let s=t.error;if(x(s)&&s.revert&&this.#a)return{...this.#a,fetchStatus:"idle"};return{...e,error:s,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),T.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#u.notify({query:this,type:"updated",action:t})})}};function U(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:D(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}var j=class extends r{constructor(t={}){super(),this.config=t,this.#f=new Map}#f;build(t,e,s){let r=e.queryKey,i=e.queryHash??d(r,e),n=this.get(i);return n||(n=new A({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(n)),n}add(t){this.#f.has(t.queryHash)||(this.#f.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#f.get(t.queryHash);e&&(t.destroy(),e===t&&this.#f.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){T.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#f.get(t)}getAll(){return[...this.#f.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>c(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>c(t,e)):e}notify(t){T.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){T.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){T.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},K=class extends k{#p;#y;#h;constructor(t){super(),this.mutationId=t.mutationId,this.#y=t.mutationCache,this.#p=[],this.state=t.state||H(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#p.includes(t)||(this.#p.push(t),this.clearGcTimeout(),this.#y.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#p=this.#p.filter(e=>e!==t),this.scheduleGc(),this.#y.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#p.length||("pending"===this.state.status?this.scheduleGc():this.#y.remove(this))}continue(){return this.#h?.continue()??this.execute(this.state.variables)}async execute(t){this.#h=I({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#d({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#y.canRun(this)});let e="pending"===this.state.status,s=!this.#h.canStart();try{if(!e){this.#d({type:"pending",variables:t,isPaused:s}),await this.#y.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#d({type:"pending",context:e,variables:t,isPaused:s})}let r=await this.#h.start();return await this.#y.config.onSuccess?.(r,t,this.state.context,this),await this.options.onSuccess?.(r,t,this.state.context),await this.#y.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,t,this.state.context),this.#d({type:"success",data:r}),r}catch(e){try{throw await this.#y.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#y.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#d({type:"error",error:e})}}finally{this.#y.runNext(this)}}#d(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),T.batch(()=>{this.#p.forEach(e=>{e.onMutationUpdate(t)}),this.#y.notify({mutation:this,type:"updated",action:t})})}};function H(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var L=class extends r{constructor(t={}){super(),this.config=t,this.#m=new Set,this.#b=new Map,this.#v=0}#m;#b;#v;build(t,e,s){let r=new K({mutationCache:this,mutationId:++this.#v,options:t.defaultMutationOptions(e),state:s});return this.add(r),r}add(t){this.#m.add(t);let e=_(t);if("string"==typeof e){let s=this.#b.get(e);s?s.push(t):this.#b.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#m.delete(t)){let e=_(t);if("string"==typeof e){let s=this.#b.get(e);if(s){if(s.length>1){let e=s.indexOf(t);-1!==e&&s.splice(e,1)}else s[0]===t&&this.#b.delete(e)}}}this.notify({type:"removed",mutation:t})}canRun(t){let e=_(t);if("string"!=typeof e)return!0;{let s=this.#b.get(e),r=s?.find(t=>"pending"===t.state.status);return!r||r===t}}runNext(t){let e=_(t);if("string"!=typeof e)return Promise.resolve();{let s=this.#b.get(e)?.find(e=>e!==t&&e.state.isPaused);return s?.continue()??Promise.resolve()}}clear(){T.batch(()=>{this.#m.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#m.clear(),this.#b.clear()})}getAll(){return Array.from(this.#m)}find(t){let e={exact:!0,...t};return this.getAll().find(t=>l(e,t))}findAll(t={}){return this.getAll().filter(e=>l(t,e))}notify(t){T.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return T.batch(()=>Promise.all(t.map(t=>t.continue().catch(n))))}};function _(t){return t.options.scope?.id}function G(t){return{onFetch:(e,s)=>{let r=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,n=e.state.data?.pages||[],a=e.state.data?.pageParams||[],u={pages:[],pageParams:[]},o=0,h=async()=>{let s=!1,h=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e.signal.aborted?s=!0:e.signal.addEventListener("abort",()=>{s=!0}),e.signal)})},c=w(e.options,e.fetchOptions),l=async(t,r,i)=>{if(s)return Promise.reject();if(null==r&&t.pages.length)return Promise.resolve(t);let n={client:e.client,queryKey:e.queryKey,pageParam:r,direction:i?"backward":"forward",meta:e.options.meta};h(n);let a=await c(n),{maxPages:u}=e.options,o=i?Q:C;return{pages:o(t.pages,a,u),pageParams:o(t.pageParams,r,u)}};if(i&&n.length){let t="backward"===i,e={pages:n,pageParams:a},s=(t?z:N)(r,e);u=await l(e,s,t)}else{let e=t??n.length;do{let t=0===o?a[0]??r.initialPageParam:N(r,u);if(o>0&&null==t)break;u=await l(u,t),o++}while(o<e)}return u};e.options.persister?e.fetchFn=()=>e.options.persister?.(h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=h}}}function N(t,{pages:e,pageParams:s}){let r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}function z(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}var B=class{#g;#y;#c;#O;#R;#C;#Q;#S;constructor(t={}){this.#g=t.queryCache||new j,this.#y=t.mutationCache||new L,this.#c=t.defaultOptions||{},this.#O=new Map,this.#R=new Map,this.#C=0}mount(){this.#C++,1===this.#C&&(this.#Q=q.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#g.onFocus())}),this.#S=P.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#g.onOnline())}))}unmount(){this.#C--,0===this.#C&&(this.#Q?.(),this.#Q=void 0,this.#S?.(),this.#S=void 0)}isFetching(t){return this.#g.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#y.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#g.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.defaultQueryOptions(t),s=this.#g.build(this,e),r=s.state.data;return void 0===r?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(o(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#g.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){let r=this.defaultQueryOptions({queryKey:t}),i=this.#g.get(r.queryHash),n=i?.state.data,a="function"==typeof e?e(n):e;if(void 0!==a)return this.#g.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,e,s){return T.batch(()=>this.#g.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#g.get(e.queryHash)?.state}removeQueries(t){let e=this.#g;T.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let s=this.#g;return T.batch(()=>(s.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){let s={revert:!0,...e};return Promise.all(T.batch(()=>this.#g.findAll(t).map(t=>t.cancel(s)))).then(n).catch(n)}invalidateQueries(t,e={}){return T.batch(()=>(this.#g.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,e={}){let s={...e,cancelRefetch:e.cancelRefetch??!0};return Promise.all(T.batch(()=>this.#g.findAll(t).filter(t=>!t.isDisabled()).map(t=>{let e=t.fetch(void 0,s);return s.throwOnError||(e=e.catch(n)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(n)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let s=this.#g.build(this,e);return s.isStaleByTime(o(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(n).catch(n)}fetchInfiniteQuery(t){return t.behavior=G(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(n).catch(n)}ensureInfiniteQueryData(t){return t.behavior=G(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return P.isOnline()?this.#y.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#g}getMutationCache(){return this.#y}getDefaultOptions(){return this.#c}setDefaultOptions(t){this.#c=t}setQueryDefaults(t,e){this.#O.set(f(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#O.values()],s={};return e.forEach(e=>{p(t,e.queryKey)&&Object.assign(s,e.defaultOptions)}),s}setMutationDefaults(t,e){this.#R.set(f(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#R.values()],s={};return e.forEach(e=>{p(t,e.mutationKey)&&Object.assign(s,e.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#c.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=d(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===S&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#c.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#g.clear(),this.#y.clear()}},W=class extends r{constructor(t,e){super(),this.options=e,this.#o=t,this.#w=null,this.#q=E(),this.options.experimental_prefetchInRender||this.#q.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}#o;#P=void 0;#E=void 0;#M=void 0;#D;#F;#q;#w;#x;#I;#T;#k;#A;#U;#j=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#P.addObserver(this),$(this.#P,this.options)?this.#K():this.updateResult(),this.#H())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return J(this.#P,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return J(this.#P,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#L(),this.#_(),this.#P.removeObserver(this)}setOptions(t,e){let s=this.options,r=this.#P;if(this.options=this.#o.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof h(this.options.enabled,this.#P))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#G(),this.#P.setOptions(this.options),s._defaulted&&!m(this.options,s)&&this.#o.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#P,observer:this});let i=this.hasListeners();i&&V(this.#P,r,this.options,s)&&this.#K(),this.updateResult(e),i&&(this.#P!==r||h(this.options.enabled,this.#P)!==h(s.enabled,this.#P)||o(this.options.staleTime,this.#P)!==o(s.staleTime,this.#P))&&this.#N();let n=this.#z();i&&(this.#P!==r||h(this.options.enabled,this.#P)!==h(s.enabled,this.#P)||n!==this.#U)&&this.#B(n)}getOptimisticResult(t){var e,s;let r=this.#o.getQueryCache().build(this.#o,t),i=this.createResult(r,t);return e=this,s=i,m(e.getCurrentResult(),s)||(this.#M=i,this.#F=this.options,this.#D=this.#P.state),i}getCurrentResult(){return this.#M}trackResult(t,e){let s={};return Object.keys(t).forEach(r=>{Object.defineProperty(s,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),e?.(r),t[r])})}),s}trackProp(t){this.#j.add(t)}getCurrentQuery(){return this.#P}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#o.defaultQueryOptions(t),s=this.#o.getQueryCache().build(this.#o,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#K({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#M))}#K(t){this.#G();let e=this.#P.fetch(this.options,t);return t?.throwOnError||(e=e.catch(n)),e}#N(){this.#L();let t=o(this.options.staleTime,this.#P);if(i||this.#M.isStale||!a(t))return;let e=u(this.#M.dataUpdatedAt,t);this.#k=setTimeout(()=>{this.#M.isStale||this.updateResult()},e+1)}#z(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#P):this.options.refetchInterval)??!1}#B(t){this.#_(),this.#U=t,!i&&!1!==h(this.options.enabled,this.#P)&&a(this.#U)&&0!==this.#U&&(this.#A=setInterval(()=>{(this.options.refetchIntervalInBackground||q.isFocused())&&this.#K()},this.#U))}#H(){this.#N(),this.#B(this.#z())}#L(){this.#k&&(clearTimeout(this.#k),this.#k=void 0)}#_(){this.#A&&(clearInterval(this.#A),this.#A=void 0)}createResult(t,e){let s;let r=this.#P,i=this.options,n=this.#M,a=this.#D,u=this.#F,o=t!==r?t.state:this.#E,{state:h}=t,c={...h},l=!1;if(e._optimisticResults){let s=this.hasListeners(),n=!s&&$(t,e),a=s&&V(t,r,e,i);(n||a)&&(c={...c,...U(h.data,t.options)}),"isRestoring"===e._optimisticResults&&(c.fetchStatus="idle")}let{error:d,errorUpdatedAt:f,status:p}=c;if(e.select&&void 0!==c.data){if(n&&c.data===a?.data&&e.select===this.#x)s=this.#I;else try{this.#x=e.select,s=e.select(c.data),s=O(n?.data,s,e),this.#I=s,this.#w=null}catch(t){this.#w=t}}else s=c.data;if(void 0!==e.placeholderData&&void 0===s&&"pending"===p){let t;if(n?.isPlaceholderData&&e.placeholderData===u?.placeholderData)t=n.data;else if(t="function"==typeof e.placeholderData?e.placeholderData(this.#T?.state.data,this.#T):e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.#w=null}catch(t){this.#w=t}void 0!==t&&(p="success",s=O(n?.data,t,e),l=!0)}this.#w&&(d=this.#w,s=this.#I,f=Date.now(),p="error");let y="fetching"===c.fetchStatus,m="pending"===p,b="error"===p,v=m&&y,g=void 0!==s,R={status:p,fetchStatus:c.fetchStatus,isPending:m,isSuccess:"success"===p,isError:b,isInitialLoading:v,isLoading:v,data:s,dataUpdatedAt:c.dataUpdatedAt,error:d,errorUpdatedAt:f,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>o.dataUpdateCount||c.errorUpdateCount>o.errorUpdateCount,isFetching:y,isRefetching:y&&!m,isLoadingError:b&&!g,isPaused:"paused"===c.fetchStatus,isPlaceholderData:l,isRefetchError:b&&g,isStale:X(t,e),refetch:this.refetch,promise:this.#q};if(this.options.experimental_prefetchInRender){let e=t=>{"error"===R.status?t.reject(R.error):void 0!==R.data&&t.resolve(R.data)},s=()=>{e(this.#q=R.promise=E())},i=this.#q;switch(i.status){case"pending":t.queryHash===r.queryHash&&e(i);break;case"fulfilled":("error"===R.status||R.data!==i.value)&&s();break;case"rejected":("error"!==R.status||R.error!==i.reason)&&s()}}return R}updateResult(t){let e=this.#M,s=this.createResult(this.#P,this.options);if(this.#D=this.#P.state,this.#F=this.options,void 0!==this.#D.data&&(this.#T=this.#P),m(s,e))return;this.#M=s;let r={};t?.listeners!==!1&&(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,s="function"==typeof t?t():t;if("all"===s||!s&&!this.#j.size)return!0;let r=new Set(s??this.#j);return this.options.throwOnError&&r.add("error"),Object.keys(this.#M).some(t=>this.#M[t]!==e[t]&&r.has(t))})()&&(r.listeners=!0),this.#W({...r,...t})}#G(){let t=this.#o.getQueryCache().build(this.#o,this.options);if(t===this.#P)return;let e=this.#P;this.#P=t,this.#E=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#H()}#W(t){T.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#M)}),this.#o.getQueryCache().notify({query:this.#P,type:"observerResultsUpdated"})})}};function $(t,e){return!1!==h(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==e.retryOnMount)||void 0!==t.state.data&&J(t,e,e.refetchOnMount)}function J(t,e,s){if(!1!==h(e.enabled,t)){let r="function"==typeof s?s(t):s;return"always"===r||!1!==r&&X(t,e)}return!1}function V(t,e,s,r){return(t!==e||!1===h(r.enabled,t))&&(!s.suspense||"error"!==t.state.status)&&X(t,s)}function X(t,e){return!1!==h(e.enabled,t)&&t.isStaleByTime(o(e.staleTime,t))}function Y(t,e){return t.filter(t=>!e.includes(t))}var Z=class extends r{#o;#$;#f;#J;#p;#V;#X;#Y;#Z=[];constructor(t,e,s){super(),this.#o=t,this.#J=s,this.#f=[],this.#p=[],this.#$=[],this.setQueries(e)}onSubscribe(){1===this.listeners.size&&this.#p.forEach(t=>{t.subscribe(e=>{this.#tt(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#p.forEach(t=>{t.destroy()})}setQueries(t,e,s){this.#f=t,this.#J=e,T.batch(()=>{let t=this.#p,e=this.#te(this.#f);this.#Z=e,e.forEach(t=>t.observer.setOptions(t.defaultedQueryOptions,s));let r=e.map(t=>t.observer),i=r.map(t=>t.getCurrentResult()),n=r.some((e,s)=>e!==t[s]);if(t.length!==r.length||n)this.#p=r,this.#$=i,this.hasListeners()&&(Y(t,r).forEach(t=>{t.destroy()}),Y(r,t).forEach(t=>{t.subscribe(e=>{this.#tt(t,e)})}),this.#W())})}getCurrentResult(){return this.#$}getQueries(){return this.#p.map(t=>t.getCurrentQuery())}getObservers(){return this.#p}getOptimisticResult(t,e){let s=this.#te(t),r=s.map(t=>t.observer.getOptimisticResult(t.defaultedQueryOptions));return[r,t=>this.#ts(t??r,e),()=>this.#tr(r,s)]}#tr(t,e){return e.map((s,r)=>{let i=t[r];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,t=>{e.forEach(e=>{e.observer.trackProp(t)})})})}#ts(t,e){return e?(this.#V&&this.#$===this.#Y&&e===this.#X||(this.#X=e,this.#Y=this.#$,this.#V=y(this.#V,e(t))),this.#V):t}#te(t){let e=new Map(this.#p.map(t=>[t.options.queryHash,t])),s=[];return t.forEach(t=>{let r=this.#o.defaultQueryOptions(t),i=e.get(r.queryHash);i?s.push({defaultedQueryOptions:r,observer:i}):s.push({defaultedQueryOptions:r,observer:new W(this.#o,r)})}),s}#tt(t,e){let s=this.#p.indexOf(t);-1!==s&&(this.#$=function(t,e,s){let r=t.slice(0);return r[e]=s,r}(this.#$,s,e),this.#W())}#W(){if(this.hasListeners()){let t=this.#V,e=this.#tr(this.#$,this.#Z);t!==this.#ts(e,this.#J?.combine)&&T.batch(()=>{this.listeners.forEach(t=>{t(this.#$)})})}}},tt=class extends W{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions({...t,behavior:G()},e)}getOptimisticResult(t){return t.behavior=G(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){var s,r;let{state:i}=t,n=super.createResult(t,e),{isFetching:a,isRefetching:u,isError:o,isRefetchError:h}=n,c=i.fetchMeta?.fetchMore?.direction,l=o&&"forward"===c,d=a&&"forward"===c,f=o&&"backward"===c,p=a&&"backward"===c;return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(s=i.data)&&null!=N(e,s),hasPreviousPage:!!(r=i.data)&&!!e.getPreviousPageParam&&null!=z(e,r),isFetchNextPageError:l,isFetchingNextPage:d,isFetchPreviousPageError:f,isFetchingPreviousPage:p,isRefetchError:h&&!l&&!f,isRefetching:u&&!d&&!p}}},te=class extends r{#o;#M=void 0;#ti;#tn;constructor(t,e){super(),this.#o=t,this.setOptions(e),this.bindMethods(),this.#ta()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#o.defaultMutationOptions(t),m(this.options,e)||this.#o.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#ti,observer:this}),e?.mutationKey&&this.options.mutationKey&&f(e.mutationKey)!==f(this.options.mutationKey)?this.reset():this.#ti?.state.status==="pending"&&this.#ti.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#ti?.removeObserver(this)}onMutationUpdate(t){this.#ta(),this.#W(t)}getCurrentResult(){return this.#M}reset(){this.#ti?.removeObserver(this),this.#ti=void 0,this.#ta(),this.#W()}mutate(t,e){return this.#tn=e,this.#ti?.removeObserver(this),this.#ti=this.#o.getMutationCache().build(this.#o,this.options),this.#ti.addObserver(this),this.#ti.execute(t)}#ta(){let t=this.#ti?.state??H();this.#M={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#W(t){T.batch(()=>{if(this.#tn&&this.hasListeners()){let e=this.#M.variables,s=this.#M.context;t?.type==="success"?(this.#tn.onSuccess?.(t.data,e,s),this.#tn.onSettled?.(t.data,null,e,s)):t?.type==="error"&&(this.#tn.onError?.(t.error,e,s),this.#tn.onSettled?.(void 0,t.error,e,s))}this.listeners.forEach(t=>{t(this.#M)})})}};function ts(t){return t}function tr(t){return t.state.isPaused}function ti(t){return"success"===t.state.status}function tn(t){return!0}function ta(t,e={}){let s=e.shouldDehydrateMutation??t.getDefaultOptions().dehydrate?.shouldDehydrateMutation??tr,r=t.getMutationCache().getAll().flatMap(t=>s(t)?[{mutationKey:t.options.mutationKey,state:t.state,...t.options.scope&&{scope:t.options.scope},...t.meta&&{meta:t.meta}}]:[]),i=e.shouldDehydrateQuery??t.getDefaultOptions().dehydrate?.shouldDehydrateQuery??ti,n=e.shouldRedactErrors??t.getDefaultOptions().dehydrate?.shouldRedactErrors??tn,a=e.serializeData??t.getDefaultOptions().dehydrate?.serializeData??ts;return{mutations:r,queries:t.getQueryCache().getAll().flatMap(t=>i(t)?[{state:{...t.state,...void 0!==t.state.data&&{data:a(t.state.data)}},queryKey:t.queryKey,queryHash:t.queryHash,..."pending"===t.state.status&&{promise:t.promise?.then(a).catch(t=>n(t)?Promise.reject(Error("redacted")):Promise.reject(t))},...t.meta&&{meta:t.meta}}]:[])}}function tu(t,e,s){if("object"!=typeof e||null===e)return;let r=t.getMutationCache(),i=t.getQueryCache(),n=s?.defaultOptions?.deserializeData??t.getDefaultOptions().hydrate?.deserializeData??ts,a=e.mutations||[],u=e.queries||[];a.forEach(({state:e,...i})=>{r.build(t,{...t.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...i},e)}),u.forEach(({queryKey:e,state:r,queryHash:a,meta:u,promise:o})=>{let h=i.get(a),c=void 0===r.data?r.data:n(r.data);if(h){if(h.state.dataUpdatedAt<r.dataUpdatedAt){let{fetchStatus:t,...e}=r;h.setState({...e,data:c})}}else h=i.build(t,{...t.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:e,queryHash:a,meta:u},{...r,data:c,fetchStatus:"idle"});if(o){let t=Promise.resolve(o).then(n);h.fetch(void 0,{initialPromise:t})}})}function to({queryFn:t,refetchMode:e}){return async s=>{if("append"!==e){let t=s.client.getQueryCache().find({queryKey:s.queryKey,exact:!0});t&&void 0!==t.state.data&&t.setState({status:"pending",data:void 0,error:null,fetchStatus:"fetching"})}for await(let e of(await t(s))){if(s.signal.aborted)break;s.client.setQueryData(s.queryKey,(t=[])=>t.concat(e))}return s.client.getQueryData(s.queryKey)}}var th=Symbol("dataTagSymbol"),tc=Symbol("dataTagErrorSymbol"),tl=Symbol("unsetMarker"),td=s(54538),tf=s(24246),tp=td.createContext(void 0),ty=t=>{let e=td.useContext(tp);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},tm=({client:t,children:e})=>(td.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,tf.jsx)(tp.Provider,{value:t,children:e})),tb=td.createContext(!1),tv=()=>td.useContext(tb),tg=tb.Provider;function tO(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var tR=td.createContext(tO()),tC=()=>td.useContext(tR),tQ=({children:t})=>{let[e]=td.useState(()=>tO());return(0,tf.jsx)(tR.Provider,{value:e,children:"function"==typeof t?t(e):t})};function tS(t,e){return"function"==typeof t?t(...e):!!t}function tw(){}var tq=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&!e.isReset()&&(t.retryOnMount=!1)},tP=t=>{td.useEffect(()=>{t.clearReset()},[t])},tE=({result:t,errorResetBoundary:e,throwOnError:s,query:r,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(i&&void 0===t.data||tS(s,[t.error,r])),tM=(t,e)=>void 0===e.state.data,tD=t=>{let e=t.staleTime;t.suspense&&(t.staleTime="function"==typeof e?(...t)=>Math.max(e(...t),1e3):Math.max(e??1e3,1e3),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3)))},tF=(t,e)=>t.isLoading&&t.isFetching&&!e,tx=(t,e)=>t?.suspense&&e.isPending,tI=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function tT({queries:t,...e},s){let r=ty(s),i=tv(),n=tC(),a=td.useMemo(()=>t.map(t=>{let e=r.defaultQueryOptions(t);return e._optimisticResults=i?"isRestoring":"optimistic",e}),[t,r,i]);a.forEach(t=>{tD(t),tq(t,n)}),tP(n);let[u]=td.useState(()=>new Z(r,a,e)),[o,h,c]=u.getOptimisticResult(a,e.combine),l=!i&&!1!==e.subscribed;td.useSyncExternalStore(td.useCallback(t=>l?u.subscribe(T.batchCalls(t)):tw,[u,l]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),td.useEffect(()=>{u.setQueries(a,e,{listeners:!1})},[a,e,u]);let d=o.some((t,e)=>tx(a[e],t))?o.flatMap((t,e)=>{let s=a[e];if(s){let e=new W(r,s);if(tx(s,t))return tI(s,e,n);tF(t,i)&&tI(s,e,n)}return[]}):[];if(d.length>0)throw Promise.all(d);let f=o.find((t,e)=>{let s=a[e];return s&&tE({result:t,errorResetBoundary:n,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash),suspense:s.suspense})});if(f?.error)throw f.error;return h(c())}function tk(t,e,s){let r=ty(s),n=tv(),a=tC(),u=r.defaultQueryOptions(t);r.getDefaultOptions().queries?._experimental_beforeQuery?.(u),u._optimisticResults=n?"isRestoring":"optimistic",tD(u),tq(u,a),tP(a);let o=!r.getQueryCache().get(u.queryHash),[h]=td.useState(()=>new e(r,u)),c=h.getOptimisticResult(u),l=!n&&!1!==t.subscribed;if(td.useSyncExternalStore(td.useCallback(t=>{let e=l?h.subscribe(T.batchCalls(t)):tw;return h.updateResult(),e},[h,l]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),td.useEffect(()=>{h.setOptions(u,{listeners:!1})},[u,h]),tx(u,c))throw tI(u,h,a);if(tE({result:c,errorResetBoundary:a,throwOnError:u.throwOnError,query:r.getQueryCache().get(u.queryHash),suspense:u.suspense}))throw c.error;if(r.getDefaultOptions().queries?._experimental_afterQuery?.(u,c),u.experimental_prefetchInRender&&!i&&tF(c,n)){let t=o?tI(u,h,a):r.getQueryCache().get(u.queryHash)?.promise;t?.catch(tw).finally(()=>{h.updateResult()})}return u.notifyOnChangeProps?c:h.trackResult(c)}function tA(t,e){return tk(t,W,e)}function tU(t,e){return tk({...t,enabled:!0,suspense:!0,throwOnError:tM,placeholderData:void 0},W,e)}function tj(t,e){return tk({...t,enabled:!0,suspense:!0,throwOnError:tM},tt,e)}function tK(t,e){return tT({...t,queries:t.queries.map(t=>({...t,suspense:!0,throwOnError:tM,enabled:!0,placeholderData:void 0}))},e)}function tH(t,e){let s=ty(e);s.getQueryState(t.queryKey)||s.prefetchQuery(t)}function tL(t,e){let s=ty(e);s.getQueryState(t.queryKey)||s.prefetchInfiniteQuery(t)}function t_(t){return t}function tG(t){return t}var tN=(t,e)=>"object"==typeof t&&null!==t&&e in t,tz=({children:t,options:e={},state:s,queryClient:r})=>{let i=ty(r),[n,a]=td.useState(),u=td.useRef(e);return u.current=e,td.useMemo(()=>{if(s){if("object"!=typeof s)return;let t=i.getQueryCache(),e=s.queries||[],r=[],o=[];for(let s of e){let e=t.get(s.queryHash);if(e){let t=s.state.dataUpdatedAt>e.state.dataUpdatedAt||tN(s.promise,"status")&&tN(e.promise,"status")&&s.promise.status!==e.promise.status,r=n?.find(t=>t.queryHash===s.queryHash);t&&(!r||s.state.dataUpdatedAt>r.state.dataUpdatedAt)&&o.push(s)}else r.push(s)}r.length>0&&tu(i,{queries:r},u.current),o.length>0&&a(t=>t?[...t,...o]:o)}},[i,n,s]),td.useEffect(()=>{n&&(tu(i,{queries:n},u.current),a(void 0))},[i,n]),t};function tB(t,e){let s=ty(e),r=s.getQueryCache();return td.useSyncExternalStore(td.useCallback(t=>r.subscribe(T.batchCalls(t)),[r]),()=>s.isFetching(t),()=>s.isFetching(t))}function tW(t,e){let s=ty(e);return tJ({filters:{...t,status:"pending"}},s).length}function t$(t,e){return t.findAll(e.filters).map(t=>e.select?e.select(t):t.state)}function tJ(t={},e){let s=ty(e).getMutationCache(),r=td.useRef(t),i=td.useRef(null);return i.current||(i.current=t$(s,t)),td.useEffect(()=>{r.current=t}),td.useSyncExternalStore(td.useCallback(t=>s.subscribe(()=>{let e=y(i.current,t$(s,r.current));i.current!==e&&(i.current=e,T.schedule(t))}),[s]),()=>i.current,()=>i.current)}function tV(t,e){let s=ty(e),[r]=td.useState(()=>new te(s,t));td.useEffect(()=>{r.setOptions(t)},[r,t]);let i=td.useSyncExternalStore(td.useCallback(t=>r.subscribe(T.batchCalls(t)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),n=td.useCallback((t,e)=>{r.mutate(t,e).catch(tw)},[r]);if(i.error&&tS(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:n,mutateAsync:i.mutate}}function tX(t,e){return tk(t,tt,e)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["2675"],{75651:function(e,t,o){o.d(t,{Z:()=>eL});var r,n,i,a,p,s=o(6595),l=o(54538),f=o(97048),c=o(96858),u=o(80668);function d(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){var t=d(e).Element;return e instanceof t||e instanceof Element}function h(e){var t=d(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function g(e){if("undefined"==typeof ShadowRoot)return!1;var t=d(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var v=Math.max,y=Math.min,b=Math.round;function w(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function x(){return!/^((?!chrome|android).)*safari/i.test(w())}function O(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var r=e.getBoundingClientRect(),n=1,i=1;t&&h(e)&&(n=e.offsetWidth>0&&b(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&b(r.height)/e.offsetHeight||1);var a=(m(e)?d(e):window).visualViewport,p=!x()&&o,s=(r.left+(p&&a?a.offsetLeft:0))/n,l=(r.top+(p&&a?a.offsetTop:0))/i,f=r.width/n,c=r.height/i;return{width:f,height:c,top:l,right:s+f,bottom:l+c,left:s,x:s,y:l}}function Z(e){var t=d(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function R(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){return((m(e)?e.ownerDocument:e.document)||window.document).documentElement}function P(e){return O(E(e)).left+Z(e).scrollLeft}function T(e){return d(e).getComputedStyle(e)}function j(e){var t=T(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function M(e){var t=O(e),o=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-o)&&(o=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function L(e){return"html"===R(e)?e:e.assignedSlot||e.parentNode||(g(e)?e.host:null)||E(e)}function A(e,t){void 0===t&&(t=[]);var o,r=function e(t){return["html","body","#document"].indexOf(R(t))>=0?t.ownerDocument.body:h(t)&&j(t)?t:e(L(t))}(e),n=r===(null==(o=e.ownerDocument)?void 0:o.body),i=d(r),a=n?[i].concat(i.visualViewport||[],j(r)?r:[]):r,p=t.concat(a);return n?p:p.concat(A(L(a)))}function k(e){return h(e)&&"fixed"!==T(e).position?e.offsetParent:null}function S(e){for(var t=d(e),o=k(e);o&&["table","td","th"].indexOf(R(o))>=0&&"static"===T(o).position;)o=k(o);return o&&("html"===R(o)||"body"===R(o)&&"static"===T(o).position)?t:o||function(e){var t=/firefox/i.test(w());if(/Trident/i.test(w())&&h(e)&&"fixed"===T(e).position)return null;var o=L(e);for(g(o)&&(o=o.host);h(o)&&0>["html","body"].indexOf(R(o));){var r=T(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||t}var W="bottom",D="right",B="left",$="auto",C=["top",W,D,B],H="start",N="viewport",V="popper",I=C.reduce(function(e,t){return e.concat([t+"-"+H,t+"-end"])},[]),F=[].concat(C,[$]).reduce(function(e,t){return e.concat([t,t+"-"+H,t+"-end"])},[]),q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],U={placement:"bottom",modifiers:[],strategy:"absolute"};function z(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var _={passive:!0};function X(e){return e.split("-")[0]}function Y(e){return e.split("-")[1]}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function G(e){var t,o=e.reference,r=e.element,n=e.placement,i=n?X(n):null,a=n?Y(n):null,p=o.x+o.width/2-r.width/2,s=o.y+o.height/2-r.height/2;switch(i){case"top":t={x:p,y:o.y-r.height};break;case W:t={x:p,y:o.y+o.height};break;case D:t={x:o.x+o.width,y:s};break;case B:t={x:o.x-r.width,y:s};break;default:t={x:o.x,y:o.y}}var l=i?Q(i):null;if(null!=l){var f="y"===l?"height":"width";switch(a){case H:t[l]=t[l]-(o[f]/2-r[f]/2);break;case"end":t[l]=t[l]+(o[f]/2-r[f]/2)}}return t}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,o,r,n,i,a,p,s=e.popper,l=e.popperRect,f=e.placement,c=e.variation,u=e.offsets,m=e.position,h=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,y=e.isFixed,w=u.x,x=void 0===w?0:w,O=u.y,Z=void 0===O?0:O,R="function"==typeof v?v({x:x,y:Z}):{x:x,y:Z};x=R.x,Z=R.y;var P=u.hasOwnProperty("x"),j=u.hasOwnProperty("y"),M=B,L="top",A=window;if(g){var k=S(s),$="clientHeight",C="clientWidth";k===d(s)&&"static"!==T(k=E(s)).position&&"absolute"===m&&($="scrollHeight",C="scrollWidth"),("top"===f||(f===B||f===D)&&"end"===c)&&(L=W,Z-=(y&&k===A&&A.visualViewport?A.visualViewport.height:k[$])-l.height,Z*=h?1:-1),(f===B||("top"===f||f===W)&&"end"===c)&&(M=D,x-=(y&&k===A&&A.visualViewport?A.visualViewport.width:k[C])-l.width,x*=h?1:-1)}var H=Object.assign({position:m},g&&J),N=!0===v?(t={x:x,y:Z},o=d(s),r=t.x,n=t.y,{x:b(r*(i=o.devicePixelRatio||1))/i||0,y:b(n*i)/i||0}):{x:x,y:Z};return(x=N.x,Z=N.y,h)?Object.assign({},H,((p={})[L]=j?"0":"",p[M]=P?"0":"",p.transform=1>=(A.devicePixelRatio||1)?"translate("+x+"px, "+Z+"px)":"translate3d("+x+"px, "+Z+"px, 0)",p)):Object.assign({},H,((a={})[L]=j?Z+"px":"",a[M]=P?x+"px":"",a.transform="",a))}var ee={left:"right",right:"left",bottom:"top",top:"bottom"};function et(e){return e.replace(/left|right|bottom|top/g,function(e){return ee[e]})}var eo={start:"end",end:"start"};function er(e){return e.replace(/start|end/g,function(e){return eo[e]})}function en(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&g(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ei(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ea(e,t,o){var r,n,i,a,p,s,l,f,c,u;return t===N?ei(function(e,t){var o=d(e),r=E(e),n=o.visualViewport,i=r.clientWidth,a=r.clientHeight,p=0,s=0;if(n){i=n.width,a=n.height;var l=x();(l||!l&&"fixed"===t)&&(p=n.offsetLeft,s=n.offsetTop)}return{width:i,height:a,x:p+P(e),y:s}}(e,o)):m(t)?((r=O(t,!1,"fixed"===o)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):ei((n=E(e),a=E(n),p=Z(n),s=null==(i=n.ownerDocument)?void 0:i.body,l=v(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),f=v(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),c=-p.scrollLeft+P(n),u=-p.scrollTop,"rtl"===T(s||a).direction&&(c+=v(a.clientWidth,s?s.clientWidth:0)-l),{width:l,height:f,x:c,y:u}))}function ep(){return{top:0,right:0,bottom:0,left:0}}function es(e){return Object.assign({},ep(),e)}function el(e,t){return t.reduce(function(t,o){return t[o]=e,t},{})}function ef(e,t){void 0===t&&(t={});var o,r,n,i,a,p,s,l,f=t,c=f.placement,u=void 0===c?e.placement:c,d=f.strategy,g=void 0===d?e.strategy:d,b=f.boundary,w=f.rootBoundary,x=f.elementContext,Z=void 0===x?V:x,P=f.altBoundary,j=f.padding,M=void 0===j?0:j,k=es("number"!=typeof M?M:el(M,C)),B=e.rects.popper,$=e.elements[void 0!==P&&P?Z===V?"reference":V:Z],H=(o=m($)?$:$.contextElement||E(e.elements.popper),r=void 0===b?"clippingParents":b,n=void 0===w?N:w,s=(p=[].concat("clippingParents"===r?(i=A(L(o)),m(a=["absolute","fixed"].indexOf(T(o).position)>=0&&h(o)?S(o):o)?i.filter(function(e){return m(e)&&en(e,a)&&"body"!==R(e)}):[]):[].concat(r),[n]))[0],(l=p.reduce(function(e,t){var r=ea(o,t,g);return e.top=v(r.top,e.top),e.right=y(r.right,e.right),e.bottom=y(r.bottom,e.bottom),e.left=v(r.left,e.left),e},ea(o,s,g))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),I=O(e.elements.reference),F=G({reference:I,element:B,strategy:"absolute",placement:u}),q=ei(Object.assign({},B,F)),U=Z===V?q:I,z={top:H.top-U.top+k.top,bottom:U.bottom-H.bottom+k.bottom,left:H.left-U.left+k.left,right:U.right-H.right+k.right},_=e.modifiersData.offset;if(Z===V&&_){var X=_[u];Object.keys(z).forEach(function(e){var t=[D,W].indexOf(e)>=0?1:-1,o=["top",W].indexOf(e)>=0?"y":"x";z[e]+=X[o]*t})}return z}function ec(e,t,o){return v(e,y(t,o))}function eu(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function ed(e){return["top",D,W,B].some(function(t){return e[t]>=0})}var em=(i=void 0===(n=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,i=void 0===n||n,a=r.resize,p=void 0===a||a,s=d(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",o.update,_)}),p&&s.addEventListener("resize",o.update,_),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",o.update,_)}),p&&s.removeEventListener("resize",o.update,_)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=o.adaptive,i=o.roundOffsets,a=void 0===i||i,p={placement:X(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,K(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===n||n,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},r=t.attributes[e]||{},n=t.elements[e];h(n)&&R(n)&&(Object.assign(n.style,o),Object.keys(r).forEach(function(e){var t=r[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],n=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce(function(e,t){return e[t]="",e},{});h(r)&&R(r)&&(Object.assign(r.style,i),Object.keys(n).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.offset,i=void 0===n?[0,0]:n,a=F.reduce(function(e,o){var r,n,a,p,s,l;return e[o]=(r=t.rects,a=[B,"top"].indexOf(n=X(o))>=0?-1:1,s=(p="function"==typeof i?i(Object.assign({},r,{placement:o})):i)[0],l=p[1],s=s||0,l=(l||0)*a,[B,D].indexOf(n)>=0?{x:l,y:s}:{x:s,y:l}),e},{}),p=a[t.placement],s=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,i=void 0===n||n,a=o.altAxis,p=void 0===a||a,s=o.fallbackPlacements,l=o.padding,f=o.boundary,c=o.rootBoundary,u=o.altBoundary,d=o.flipVariations,m=void 0===d||d,h=o.allowedAutoPlacements,g=t.options.placement,v=X(g)===g,y=s||(v||!m?[et(g)]:function(e){if(X(e)===$)return[];var t=et(e);return[er(e),t,er(t)]}(g)),b=[g].concat(y).reduce(function(e,o){var r,n,i,a,p,s,u,d,g,v,y,b;return e.concat(X(o)===$?(n=(r={placement:o,boundary:f,rootBoundary:c,padding:l,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,p=r.padding,s=r.flipVariations,d=void 0===(u=r.allowedAutoPlacements)?F:u,0===(y=(v=(g=Y(n))?s?I:I.filter(function(e){return Y(e)===g}):C).filter(function(e){return d.indexOf(e)>=0})).length&&(y=v),Object.keys(b=y.reduce(function(e,o){return e[o]=ef(t,{placement:o,boundary:i,rootBoundary:a,padding:p})[X(o)],e},{})).sort(function(e,t){return b[e]-b[t]})):o)},[]),w=t.rects.reference,x=t.rects.popper,O=new Map,Z=!0,R=b[0],E=0;E<b.length;E++){var P=b[E],T=X(P),j=Y(P)===H,M=["top",W].indexOf(T)>=0,L=M?"width":"height",A=ef(t,{placement:P,boundary:f,rootBoundary:c,altBoundary:u,padding:l}),k=M?j?D:B:j?W:"top";w[L]>x[L]&&(k=et(k));var S=et(k),N=[];if(i&&N.push(A[T]<=0),p&&N.push(A[k]<=0,A[S]<=0),N.every(function(e){return e})){R=P,Z=!1;break}O.set(P,N)}if(Z)for(var V=m?3:1,q=function(e){var t=b.find(function(t){var o=O.get(t);if(o)return o.slice(0,e).every(function(e){return e})});if(t)return R=t,"break"},U=V;U>0&&"break"!==q(U);U--);t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.mainAxis,i=o.altAxis,a=o.boundary,p=o.rootBoundary,s=o.altBoundary,l=o.padding,f=o.tether,c=void 0===f||f,u=o.tetherOffset,d=void 0===u?0:u,m=ef(t,{boundary:a,rootBoundary:p,padding:l,altBoundary:s}),h=X(t.placement),g=Y(t.placement),b=!g,w=Q(h),x="x"===w?"y":"x",O=t.modifiersData.popperOffsets,Z=t.rects.reference,R=t.rects.popper,E="function"==typeof d?d(Object.assign({},t.rects,{placement:t.placement})):d,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(O){if(void 0===n||n){var L,A="y"===w?"top":B,k="y"===w?W:D,$="y"===w?"height":"width",C=O[w],N=C+m[A],V=C-m[k],I=c?-R[$]/2:0,F=g===H?Z[$]:R[$],q=g===H?-R[$]:-Z[$],U=t.elements.arrow,z=c&&U?M(U):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ep(),G=_[A],J=_[k],K=ec(0,Z[$],z[$]),ee=b?Z[$]/2-I-K-G-P.mainAxis:F-K-G-P.mainAxis,et=b?-Z[$]/2+I+K+J+P.mainAxis:q+K+J+P.mainAxis,eo=t.elements.arrow&&S(t.elements.arrow),er=eo?"y"===w?eo.clientTop||0:eo.clientLeft||0:0,en=null!=(L=null==T?void 0:T[w])?L:0,ei=ec(c?y(N,C+ee-en-er):N,C,c?v(V,C+et-en):V);O[w]=ei,j[w]=ei-C}if(void 0!==i&&i){var ea,es,el="x"===w?"top":B,eu="x"===w?W:D,ed=O[x],em="y"===x?"height":"width",eh=ed+m[el],eg=ed-m[eu],ev=-1!==["top",B].indexOf(h),ey=null!=(es=null==T?void 0:T[x])?es:0,eb=ev?eh:ed-Z[em]-R[em]-ey+P.altAxis,ew=ev?ed+Z[em]+R[em]-ey-P.altAxis:eg,ex=c&&ev?(ea=ec(eb,ed,ew))>ew?ew:ea:ec(c?eb:eh,ed,c?ew:eg);O[x]=ex,j[x]=ex-ed}t.modifiersData[r]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,p=r.modifiersData.popperOffsets,s=X(r.placement),l=Q(s),f=[B,D].indexOf(s)>=0?"height":"width";if(a&&p){var c=es("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:el(t,C)),u=M(a),d="y"===l?"top":B,m="y"===l?W:D,h=r.rects.reference[f]+r.rects.reference[l]-p[l]-r.rects.popper[f],g=p[l]-r.rects.reference[l],v=S(a),y=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=c[d],w=y-u[f]-c[m],x=y/2-u[f]/2+(h/2-g/2),O=ec(b,x,w);r.modifiersData[n]=((o={})[l]=O,o.centerOffset=O-x,o)}},effect:function(e){var t=e.state,o=e.options.element,r=void 0===o?"[data-popper-arrow]":o;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&en(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,i=t.modifiersData.preventOverflow,a=ef(t,{elementContext:"reference"}),p=ef(t,{altBoundary:!0}),s=eu(a,r),l=eu(p,n,i),f=ed(s),c=ed(l);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:f,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":c})}}]}).defaultModifiers)?[]:n,p=void 0===(a=r.defaultOptions)?U:a,function(e,t,o){void 0===o&&(o=p);var r,n,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,p),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,f={state:a,setOptions:function(o){var r,n,l,u,d,h,g="function"==typeof o?o(a.options):o;c(),a.options=Object.assign({},p,a.options,g),a.scrollParents={reference:m(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var v=(n=Object.keys(r=[].concat(i,a.options.modifiers).reduce(function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e},{})).map(function(e){return r[e]}),l=new Map,u=new Set,d=[],n.forEach(function(e){l.set(e.name,e)}),n.forEach(function(e){u.has(e.name)||function e(t){u.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!u.has(t)){var o=l.get(t);o&&e(o)}}),d.push(t)}(e)}),h=d,q.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=v.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,o=e.options,r=e.effect;if("function"==typeof r){var n=r({state:a,name:t,instance:f,options:void 0===o?{}:o});s.push(n||function(){})}}),f.update()},forceUpdate:function(){if(!l){var e,t,o,r,n,i,p,s,c,u,m,g=a.elements,v=g.reference,y=g.popper;if(z(v,y)){a.rects={reference:(e=S(y),t="fixed"===a.options.strategy,o=h(e),p=h(e)&&(n=b((r=e.getBoundingClientRect()).width)/e.offsetWidth||1,i=b(r.height)/e.offsetHeight||1,1!==n||1!==i),s=E(e),c=O(v,p,t),u={scrollLeft:0,scrollTop:0},m={x:0,y:0},(o||!o&&!t)&&(("body"!==R(e)||j(s))&&(u=function(e){return e!==d(e)&&h(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:Z(e)}(e)),h(e)?(m=O(e,!0),m.x+=e.clientLeft,m.y+=e.clientTop):s&&(m.x=P(s))),{x:c.left+u.scrollLeft-m.x,y:c.top+u.scrollTop-m.y,width:c.width,height:c.height}),popper:M(y)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var w=0;w<a.orderedModifiers.length;w++){if(!0===a.reset){a.reset=!1,w=-1;continue}var x=a.orderedModifiers[w],T=x.fn,L=x.options,A=void 0===L?{}:L,k=x.name;"function"==typeof T&&(a=T({state:a,options:A,name:k,instance:f})||a)}}}},update:(r=function(){return new Promise(function(e){f.forceUpdate(),e(a)})},function(){return n||(n=new Promise(function(e){Promise.resolve().then(function(){n=void 0,e(r())})})),n}),destroy:function(){c(),l=!0}};if(!z(e,t))return f;function c(){s.forEach(function(e){return e()}),s=[]}return f.setOptions(o).then(function(e){!l&&o.onFirstUpdate&&o.onFirstUpdate(e)}),f}),eh=o(82267),eg=o(25399),ev=o(7444),ey=o(44124),eb=o(6749);function ew(e){return(0,eb.ZP)("MuiPopper",e)}(0,ey.Z)("MuiPopper",["root"]);var ex=o(24246);function eO(e){return"function"==typeof e?e():e}let eZ=e=>{let{classes:t}=e;return(0,eh.Z)({root:["root"]},ew,t)},eR={},eE=l.forwardRef(function(e,t){let{anchorEl:o,children:r,direction:n,disablePortal:i,modifiers:a,open:p,placement:s,popperOptions:u,popperRef:d,slotProps:m={},slots:h={},TransitionProps:g,ownerState:v,...y}=e,b=l.useRef(null),w=(0,f.Z)(b,t),x=l.useRef(null),O=(0,f.Z)(x,d),Z=l.useRef(O);(0,c.Z)(()=>{Z.current=O},[O]),l.useImperativeHandle(d,()=>x.current,[]);let R=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(s,n),[E,P]=l.useState(R),[T,j]=l.useState(eO(o));l.useEffect(()=>{x.current&&x.current.forceUpdate()}),l.useEffect(()=>{o&&j(eO(o))},[o]),(0,c.Z)(()=>{if(!T||!p)return;let e=e=>{P(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{e(t)}}];null!=a&&(t=t.concat(a)),u&&null!=u.modifiers&&(t=t.concat(u.modifiers));let o=em(T,b.current,{placement:R,...u,modifiers:t});return Z.current(o),()=>{o.destroy(),Z.current(null)}},[T,i,a,p,u,R]);let M={placement:E};null!==g&&(M.TransitionProps=g);let L=eZ(e),A=h.root??"div",k=(0,eg.Z)({elementType:A,externalSlotProps:m.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:L.root});return(0,ex.jsx)(A,{...k,children:"function"==typeof r?r(M):r})}),eP=l.forwardRef(function(e,t){let o;let{anchorEl:r,children:n,container:i,direction:a="ltr",disablePortal:p=!1,keepMounted:s=!1,modifiers:f,open:c,placement:d="bottom",popperOptions:m=eR,popperRef:h,style:g,transition:v=!1,slotProps:y={},slots:b={},...w}=e,[x,O]=l.useState(!0);if(!s&&!c&&(!v||x))return null;if(i)o=i;else if(r){let e=eO(r);o=e&&void 0!==e.nodeType?(0,u.Z)(e).body:(0,u.Z)(null).body}let Z=!c&&s&&(!v||x)?"none":void 0,R=v?{in:c,onEnter:()=>{O(!1)},onExited:()=>{O(!0)}}:void 0;return(0,ex.jsx)(ev.Z,{disablePortal:p,container:o,children:(0,ex.jsx)(eE,{anchorEl:r,direction:a,disablePortal:p,modifiers:f,ref:t,open:v?!x:c,placement:d,popperOptions:m,popperRef:h,slotProps:y,slots:b,...w,style:{position:"fixed",top:0,left:0,display:Z,...g},TransitionProps:R,children:n})})});var eT=o(12709),ej=o(51751);let eM=(0,eT.ZP)(eP,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eL=l.forwardRef(function(e,t){let o=(0,s.V)(),{anchorEl:r,component:n,components:i,componentsProps:a,container:p,disablePortal:l,keepMounted:f,modifiers:c,open:u,placement:d,popperOptions:m,popperRef:h,transition:g,slots:v,slotProps:y,...b}=(0,ej.i)({props:e,name:"MuiPopper"}),w=v?.root??i?.Root,x={anchorEl:r,container:p,disablePortal:l,keepMounted:f,modifiers:c,open:u,placement:d,popperOptions:m,popperRef:h,transition:g,...b};return(0,ex.jsx)(eM,{as:n,direction:o?"rtl":"ltr",slots:{root:w},slotProps:y??a,...x,ref:t})})},32964:function(e,t,o){o.d(t,{Z:()=>S});var r=o(54538),n=o(90496),i=o(47126),a=o(82267),p=o(16838),s=o(6595),l=o(74111),f=o(94680),c=o(12709),u=o(94776),d=o(82319),m=o(51751),h=o(51640),g=o(23382),v=o(75651),y=o(67151),b=o(51183),w=o(56839),x=o(18817),O=o(16351),Z=o(87143),R=o(24246);let E=e=>{let{classes:t,disableInteractive:o,arrow:r,touch:n,placement:i}=e,p={popper:["popper",!o&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",n&&"touch",`tooltipPlacement${(0,h.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,a.Z)(p,Z.Q,t)},P=(0,c.ZP)(v.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.popper,!o.disableInteractive&&t.popperInteractive,o.arrow&&t.popperArrow,!o.open&&t.popperClose]}})((0,d.Z)(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Z.Z.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Z.Z.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Z.Z.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Z.Z.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Z.Z.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Z.Z.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Z.Z.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Z.Z.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),T=(0,c.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.tooltip,o.touch&&t.touch,o.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,h.Z)(o.placement.split("-")[0])}`]]}})((0,d.Z)(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,p.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Z.Z.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Z.Z.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Math.round(16/14*1e5)/1e5}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),j=(0,c.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((0,d.Z)(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,p.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))),M=!1,L=new i.V,A={x:0,y:0};function k(e,t){return(o,...r)=>{t&&t(o,...r),e(o,...r)}}let S=r.forwardRef(function(e,t){let o=(0,m.i)({props:e,name:"MuiTooltip"}),{arrow:a=!1,children:p,classes:c,components:d={},componentsProps:h={},describeChild:Z=!1,disableFocusListener:S=!1,disableHoverListener:W=!1,disableInteractive:D=!1,disableTouchListener:B=!1,enterDelay:$=100,enterNextDelay:C=0,enterTouchDelay:H=700,followCursor:N=!1,id:V,leaveDelay:I=0,leaveTouchDelay:F=1500,onClose:q,onOpen:U,open:z,placement:_="bottom",PopperComponent:X,PopperProps:Y={},slotProps:Q={},slots:G={},title:J,TransitionComponent:K,TransitionProps:ee,...et}=o,eo=r.isValidElement(p)?p:(0,R.jsx)("span",{children:p}),er=(0,u.Z)(),en=(0,s.V)(),[ei,ea]=r.useState(),[ep,es]=r.useState(null),el=r.useRef(!1),ef=D||N,ec=(0,i.Z)(),eu=(0,i.Z)(),ed=(0,i.Z)(),em=(0,i.Z)(),[eh,eg]=(0,x.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"}),ev=eh,ey=(0,w.Z)(V),eb=r.useRef(),ew=(0,y.Z)(()=>{void 0!==eb.current&&(document.body.style.WebkitUserSelect=eb.current,eb.current=void 0),em.clear()});r.useEffect(()=>ew,[ew]);let ex=e=>{L.clear(),M=!0,eg(!0),U&&!ev&&U(e)},eO=(0,y.Z)(e=>{L.start(800+I,()=>{M=!1}),eg(!1),q&&ev&&q(e),ec.start(er.transitions.duration.shortest,()=>{el.current=!1})}),eZ=e=>{(!el.current||"touchstart"===e.type)&&(ei&&ei.removeAttribute("title"),eu.clear(),ed.clear(),$||M&&C?eu.start(M?C:$,()=>{ex(e)}):ex(e))},eR=e=>{eu.clear(),ed.start(I,()=>{eO(e)})},[,eE]=r.useState(!1),eP=e=>{(0,l.Z)(e.target)||(eE(!1),eR(e))},eT=e=>{ei||ea(e.currentTarget),(0,l.Z)(e.target)&&(eE(!0),eZ(e))},ej=e=>{el.current=!0;let t=eo.props;t.onTouchStart&&t.onTouchStart(e)};r.useEffect(()=>{if(ev)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&eO(e)}},[eO,ev]);let eM=(0,b.Z)((0,f.Z)(eo),ea,t);J||0===J||(ev=!1);let eL=r.useRef(),eA={},ek="string"==typeof J;Z?(eA.title=ev||!ek||W?null:J,eA["aria-describedby"]=ev?ey:null):(eA["aria-label"]=ek?J:null,eA["aria-labelledby"]=ev&&!ek?ey:null);let eS={...eA,...et,...eo.props,className:(0,n.Z)(et.className,eo.props.className),onTouchStart:ej,ref:eM,...N?{onMouseMove:e=>{let t=eo.props;t.onMouseMove&&t.onMouseMove(e),A={x:e.clientX,y:e.clientY},eL.current&&eL.current.update()}}:{}},eW={};B||(eS.onTouchStart=e=>{ej(e),ed.clear(),ec.clear(),ew(),eb.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",em.start(H,()=>{document.body.style.WebkitUserSelect=eb.current,eZ(e)})},eS.onTouchEnd=e=>{eo.props.onTouchEnd&&eo.props.onTouchEnd(e),ew(),ed.start(F,()=>{eO(e)})}),W||(eS.onMouseOver=k(eZ,eS.onMouseOver),eS.onMouseLeave=k(eR,eS.onMouseLeave),ef||(eW.onMouseOver=eZ,eW.onMouseLeave=eR)),S||(eS.onFocus=k(eT,eS.onFocus),eS.onBlur=k(eP,eS.onBlur),ef||(eW.onFocus=eT,eW.onBlur=eP));let eD={...o,isRtl:en,arrow:a,disableInteractive:ef,placement:_,PopperComponentProp:X,touch:el.current},eB="function"==typeof Q.popper?Q.popper(eD):Q.popper,e$=r.useMemo(()=>{let e=[{name:"arrow",enabled:!!ep,options:{element:ep,padding:4}}];return Y.popperOptions?.modifiers&&(e=e.concat(Y.popperOptions.modifiers)),eB?.popperOptions?.modifiers&&(e=e.concat(eB.popperOptions.modifiers)),{...Y.popperOptions,...eB?.popperOptions,modifiers:e}},[ep,Y.popperOptions,eB?.popperOptions]),eC=E(eD),eH="function"==typeof Q.transition?Q.transition(eD):Q.transition,eN={slots:{popper:d.Popper,transition:d.Transition??K,tooltip:d.Tooltip,arrow:d.Arrow,...G},slotProps:{arrow:Q.arrow??h.arrow,popper:{...Y,...eB??h.popper},tooltip:Q.tooltip??h.tooltip,transition:{...ee,...eH??h.transition}}},[eV,eI]=(0,O.Z)("popper",{elementType:P,externalForwardedProps:eN,ownerState:eD,className:(0,n.Z)(eC.popper,Y?.className)}),[eF,eq]=(0,O.Z)("transition",{elementType:g.Z,externalForwardedProps:eN,ownerState:eD}),[eU,ez]=(0,O.Z)("tooltip",{elementType:T,className:eC.tooltip,externalForwardedProps:eN,ownerState:eD}),[e_,eX]=(0,O.Z)("arrow",{elementType:j,className:eC.arrow,externalForwardedProps:eN,ownerState:eD,ref:es});return(0,R.jsxs)(r.Fragment,{children:[r.cloneElement(eo,eS),(0,R.jsx)(eV,{as:X??v.Z,placement:_,anchorEl:N?{getBoundingClientRect:()=>({top:A.y,left:A.x,right:A.x,bottom:A.y,width:0,height:0})}:ei,popperRef:eL,open:!!ei&&ev,id:ey,transition:!0,...eW,...eI,popperOptions:e$,children:({TransitionProps:e})=>(0,R.jsx)(eF,{timeout:er.transitions.duration.shorter,...e,...eq,children:(0,R.jsxs)(eU,{...ez,children:[J,a?(0,R.jsx)(e_,{...eX}):null]})})})]})})},87143:function(e,t,o){o.d(t,{Q:()=>i,Z:()=>a});var r=o(44124),n=o(6749);function i(e){return(0,n.ZP)("MuiTooltip",e)}let a=(0,r.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"])},10763:function(e,t,o){t.default=void 0;var r,n=(r=o(30265))&&r.__esModule?r:{default:r};t.default=(0,n.default)("M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z","Close")}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["3436"],{70313:function(e,r,t){t.d(r,{d:()=>a});var n=t(54538),o=t(97048),u=t(81925),s=t(80668),i=t(94680);function c(e){return e.substring(2).toLowerCase()}function a(e){let{children:r,disableReactTree:t=!1,mouseEvent:a="onClick",onClickAway:l,touchEvent:f="onTouchEnd"}=e,d=n.useRef(!1),v=n.useRef(null),m=n.useRef(!1),p=n.useRef(!1);n.useEffect(()=>(setTimeout(()=>{m.current=!0},0),()=>{m.current=!1}),[]);let h=(0,o.Z)((0,i.Z)(r),v),E=(0,u.Z)(e=>{let r;let n=p.current;p.current=!1;let o=(0,s.Z)(v.current);if(m.current&&v.current&&(!("clientX"in e)||!(o.documentElement.clientWidth<e.clientX)&&!(o.documentElement.clientHeight<e.clientY))){if(d.current){d.current=!1;return}(e.composedPath?e.composedPath().includes(v.current):!o.documentElement.contains(e.target)||v.current.contains(e.target))||!t&&n||l(e)}}),w=e=>t=>{p.current=!0;let n=r.props[e];n&&n(t)},Z={ref:h};return!1!==f&&(Z[f]=w(f)),n.useEffect(()=>{if(!1!==f){let e=c(f),r=(0,s.Z)(v.current),t=()=>{d.current=!0};return r.addEventListener(e,E),r.addEventListener("touchmove",t),()=>{r.removeEventListener(e,E),r.removeEventListener("touchmove",t)}}},[E,f]),!1!==a&&(Z[a]=w(a)),n.useEffect(()=>{if(!1!==a){let e=c(a),r=(0,s.Z)(v.current);return r.addEventListener(e,E),()=>{r.removeEventListener(e,E)}}},[E,a]),n.cloneElement(r,Z)}},85843:function(e,r,t){t.d(r,{Z:()=>h});var n=t(54538),o=t(90496),u=t(82267),s=t(12709),i=t(51751),c=t(44124),a=t(6749);function l(e){return(0,a.ZP)("MuiFormGroup",e)}(0,c.Z)("MuiFormGroup",["root","row","error"]);var f=t(36683),d=t(33567),v=t(24246);let m=e=>{let{classes:r,row:t,error:n}=e;return(0,u.Z)({root:["root",t&&"row",n&&"error"]},l,r)},p=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,t.row&&r.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),h=n.forwardRef(function(e,r){let t=(0,i.i)({props:e,name:"MuiFormGroup"}),{className:n,row:u=!1,...s}=t,c=(0,f.Z)(),a=(0,d.Z)({props:t,muiFormControl:c,states:["error"]}),l={...t,row:u,error:a.error},h=m(l);return(0,v.jsx)(p,{className:(0,o.Z)(h.root,n),ownerState:l,ref:r,...s})})},67469:function(e,r,t){t.d(r,{z:()=>o});var n=t(54538);function o(e){let r=(0,n.useRef)(e);return(0,n.useLayoutEffect)(()=>{r.current=e}),(0,n.useCallback)((...e)=>r.current(...e),[])}},14371:function(e,r,t){r.default=void 0;var n,o=(n=t(30265))&&n.__esModule?n:{default:n};r.default=(0,o.default)("M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z","OpenInNew")},494:function(e,r,t){t.d(r,{F:()=>s});var n=t(84275),o=t(57576),u=function(e,r){for(var t={};e.length;){var n=e[0],u=n.code,s=n.message,i=n.path.join(".");if(!t[i]){if("unionErrors"in n){var c=n.unionErrors[0].errors[0];t[i]={message:c.message,type:c.code}}else t[i]={message:s,type:u}}if("unionErrors"in n&&n.unionErrors.forEach(function(r){return r.errors.forEach(function(r){return e.push(r)})}),r){var a=t[i].types,l=a&&a[n.code];t[i]=(0,o.appendErrors)(i,r,t,u,l?[].concat(l,n.message):n.message)}e.shift()}return t},s=function(e,r,t){return void 0===t&&(t={}),function(o,s,i){try{return Promise.resolve(function(u,s){try{var c=Promise.resolve(e["sync"===t.mode?"parse":"parseAsync"](o,r)).then(function(e){return i.shouldUseNativeValidation&&(0,n.validateFieldsNatively)({},i),{errors:{},values:t.raw?o:e}})}catch(e){return s(e)}return c&&c.then?c.then(void 0,s):c}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:(0,n.toNestErrors)(u(e.errors,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)};throw e}))}catch(e){return Promise.reject(e)}}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["4421"],{66694:function(t,e,r){"use strict";r.d(e,{Q:()=>n,U:()=>o});let o="1h",n="0s"},73223:function(t,e,r){"use strict";r.r(e),r.d(e,{useExplorerQueryParams:()=>I,ExplorerManagerProvider:()=>b,useExplorerManagerContext:()=>v,ExploreManager:()=>x,ViewExplore:()=>P,ExploreToolbar:()=>m,explorerQueryConfig:()=>E});var o=r(24246),n=r(36372),i=r(3553),a=r(66694),c=r(68393),p=r(68690),l=r(54538),u=r(76439),f=r(25283),s=r(87716),y=r(49408),d=r(84954),h=r(94776);let m=t=>{let{exploreTitleComponent:e}=t,r=(0,u.Z)((0,h.Z)().breakpoints.up("lg"));return(0,o.jsx)(f.Z,{"data-testid":"explore-toolbar",children:(0,o.jsxs)(n.Z,{sx:{display:"flex",width:"100%"},children:[e,(0,o.jsx)(f.Z,{direction:"row",spacing:1,ml:"auto",flexWrap:r?"nowrap":"wrap-reverse",justifyContent:"end",children:(0,o.jsx)(i.TimeRangeControls,{})})]})})},g=(0,l.createContext)(void 0);function b({children:t,store:e}){let[r,n]=(0,l.useState)({}),i=(0,l.useState)({explorer:void 0,data:{}}),[a,c]=e||i,{explorer:p,data:u}=a;return(0,o.jsx)(g.Provider,{value:{explorer:p,data:u,setExplorer:function(t){p&&(r[p]={data:u},n(r));let e=r[t]??{data:{}};c({explorer:t,data:e.data})},setData:function(t){c({explorer:p,data:t})}},children:t})}function v(){let t=(0,l.useContext)(g);if(void 0===t)throw Error("No ExplorerManagerContext found. Did you forget a Provider?");return t}function x(t){let{exploreTitleComponent:e}=t,{explorer:r,setExplorer:n}=v(),a=(0,i.useListPluginMetadata)(["Explore"]),c=(0,u.Z)("(max-width: 768px)"),p=(0,l.useMemo)(()=>Object.fromEntries(a.data?.map(t=>[`${t.module.name}-${t.spec.name}`,t])??[]),[a.data]);(0,l.useEffect)(()=>{let t=Object.keys(p);!r&&t?.[0]&&n(t[0])},[p,r,n]);let h=r?p[r]:void 0;return r?(0,o.jsxs)(f.Z,{sx:{width:"100%"},px:2,pb:2,pt:1.5,gap:3,children:[(0,o.jsx)(m,{exploreTitleComponent:e}),(0,o.jsxs)(f.Z,{direction:c?"column":"row",gap:2,sx:{width:"100%"},children:[(0,o.jsx)(s.Z,{orientation:c?"horizontal":"vertical",value:r,onChange:(t,e)=>n(e),variant:c?"fullWidth":"scrollable",sx:{borderRight:+!c,borderBottom:+!!c,borderColor:"divider",minWidth:"100px"},children:a.data?.map(t=>o.jsx(y.Z,{value:`${t.module.name}-${t.spec.name}`,label:t.spec.display.name},`${t.module.name}-${t.spec.name}`))}),(0,o.jsx)(d.Z,{sx:{padding:"10px",width:"100%"},children:h&&(0,o.jsx)(i.PluginLoaderComponent,{plugin:{name:h.spec.name,moduleName:h.module.name}},`${h.module.name}-${h.spec.name}`)})]})]}):(0,o.jsx)("div",{children:"No explorer plugin available"})}var S=r(51564);let w={explorer:(0,S.withDefault)(S.StringParam,void 0),data:(0,S.withDefault)(S.JsonParam,{})};function j({children:t}){let[e,r]=(0,S.useQueryParams)(w);return(0,o.jsx)(b,{store:[e,r],children:t})}function A(t){let{exploreTitleComponent:e}=t,r=(0,c.useChartsTheme)();return(0,o.jsx)(n.Z,{sx:{flexGrow:1,overflowX:"hidden",overflowY:"auto",display:"flex",flexDirection:"column"},children:(0,o.jsx)(c.ChartsProvider,{chartsTheme:r,enablePinning:!1,children:(0,o.jsx)(j,{children:(0,o.jsx)(x,{exploreTitleComponent:e})})})})}function P(t){let{datasourceApi:e,externalVariableDefinitions:r,sx:l,exploreTitleComponent:u,...f}=t,s=(0,i.useInitialTimeRange)(a.U),y=(0,i.useInitialRefreshInterval)(a.Q);return(0,o.jsx)(p.DatasourceStoreProvider,{datasourceApi:e,children:(0,o.jsx)(i.TimeRangeProviderWithQueryParams,{initialTimeRange:s,initialRefreshInterval:y,children:(0,o.jsx)(p.VariableProvider,{externalVariableDefinitions:r,children:(0,o.jsx)(n.Z,{sx:(0,c.combineSx)({display:"flex",width:"100%",height:"100%",position:"relative",overflow:"hidden"},l),...f,children:(0,o.jsx)(c.ErrorBoundary,{FallbackComponent:c.ErrorAlert,children:(0,o.jsx)(A,{exploreTitleComponent:u})})})})})})}var O=r(8139);let E={refresh:i.TimeRangeParam,start:i.TimeRangeParam,end:i.TimeRangeParam,explorer:S.StringParam,data:S.JsonParam};function I(t){let[e]=(0,S.useQueryParams)(E,{updateType:"replaceIn"});return(0,O.stringify)((0,S.encodeQueryParams)(E,{...e,...t}))}},6088:function(t,e,r){"use strict";var o=r(20132),n=r(52453),i=r(31720),a=r(68273);t.exports=a||o.call(i,n)},52453:function(t){"use strict";t.exports=Function.prototype.apply},31720:function(t){"use strict";t.exports=Function.prototype.call},11519:function(t,e,r){"use strict";var o=r(20132),n=r(31805),i=r(31720),a=r(6088);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new n("a function is required");return a(o,i,t)}},68273:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},75343:function(t,e,r){"use strict";var o=r(68750),n=r(11519),i=n([o("%String.prototype.indexOf%")]);t.exports=function(t,e){var r=o(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?n([r]):r}},97755:function(t,e,r){"use strict";var o,n=r(11519),i=r(77502);try{o=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var a=!!o&&i&&i(Object.prototype,"__proto__"),c=Object,p=c.getPrototypeOf;t.exports=a&&"function"==typeof a.get?n([a.get]):"function"==typeof p&&function(t){return p(null==t?t:c(t))}},51544:function(t){"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}t.exports=e},73573:function(t){"use strict";t.exports=EvalError},85513:function(t){"use strict";t.exports=Error},77679:function(t){"use strict";t.exports=RangeError},39269:function(t){"use strict";t.exports=ReferenceError},74329:function(t){"use strict";t.exports=SyntaxError},31805:function(t){"use strict";t.exports=TypeError},99491:function(t){"use strict";t.exports=URIError},19767:function(t){"use strict";t.exports=Object},68458:function(t){"use strict";var e=Object.prototype.toString,r=Math.max,o=function(t,e){for(var r=[],o=0;o<t.length;o+=1)r[o]=t[o];for(var n=0;n<e.length;n+=1)r[n+t.length]=e[n];return r},n=function(t,e){for(var r=[],o=e||0,n=0;o<t.length;o+=1,n+=1)r[n]=t[o];return r},i=function(t,e){for(var r="",o=0;o<t.length;o+=1)r+=t[o],o+1<t.length&&(r+=e);return r};t.exports=function(t){var a,c=this;if("function"!=typeof c||"[object Function]"!==e.apply(c))throw TypeError("Function.prototype.bind called on incompatible "+c);for(var p=n(arguments,1),l=r(0,c.length-p.length),u=[],f=0;f<l;f++)u[f]="$"+f;if(a=Function("binder","return function ("+i(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var e=c.apply(this,o(p,arguments));return Object(e)===e?e:this}return c.apply(t,o(p,arguments))}),c.prototype){var s=function(){};s.prototype=c.prototype,a.prototype=new s,s.prototype=null}return a}},20132:function(t,e,r){"use strict";var o=r(68458);t.exports=Function.prototype.bind||o},68750:function(t,e,r){"use strict";var o,n=r(19767),i=r(85513),a=r(73573),c=r(77679),p=r(39269),l=r(74329),u=r(31805),f=r(99491),s=r(36354),y=r(72244),d=r(24268),h=r(55139),m=r(89544),g=r(56298),b=r(87558),v=Function,x=function(t){try{return v('"use strict"; return ('+t+").constructor;")()}catch(t){}},S=r(77502),w=r(51544),j=function(){throw new u},A=S?function(){try{return arguments.callee,j}catch(t){try{return S(arguments,"callee").get}catch(t){return j}}}():j,P=r(40679)(),O=r(87778),E=r(77819),I=r(84578),R=r(52453),D=r(31720),M={},k="undefined"!=typeof Uint8Array&&O?O(Uint8Array):o,F={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":P&&O?O([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":M,"%AsyncGenerator%":M,"%AsyncGeneratorFunction%":M,"%AsyncIteratorPrototype%":M,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?o:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?o:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?o:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":M,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&O?O(O([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P&&O?O(new Map()[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":c,"%ReferenceError%":p,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P&&O?O(new Set()[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&O?O(""[Symbol.iterator]()):o,"%Symbol%":P?Symbol:o,"%SyntaxError%":l,"%ThrowTypeError%":A,"%TypedArray%":k,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":R,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":E,"%Math.abs%":s,"%Math.floor%":y,"%Math.max%":d,"%Math.min%":h,"%Math.pow%":m,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":I};if(O)try{null.error}catch(t){var T=O(O(t));F["%Error.prototype%"]=T}var N=function t(e){var r;if("%AsyncFunction%"===e)r=x("async function () {}");else if("%GeneratorFunction%"===e)r=x("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=x("async function* () {}");else if("%AsyncGenerator%"===e){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=t("%AsyncGenerator%");n&&O&&(r=O(n.prototype))}return F[e]=r,r},_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=r(20132),U=r(71712),B=C.call(D,Array.prototype.concat),W=C.call(R,Array.prototype.splice),L=C.call(D,String.prototype.replace),$=C.call(D,String.prototype.slice),K=C.call(D,RegExp.prototype.exec),Q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,H=function(t){var e=$(t,0,1),r=$(t,-1);if("%"===e&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new l("invalid intrinsic syntax, expected opening `%`");var o=[];return L(t,Q,function(t,e,r,n){o[o.length]=r?L(n,G,"$1"):e||t}),o},V=function(t,e){var r,o=t;if(U(_,o)&&(o="%"+(r=_[o])[0]+"%"),U(F,o)){var n=F[o];if(n===M&&(n=N(o)),void 0===n&&!e)throw new u("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new l("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new u('"allowMissing" argument must be a boolean');if(null===K(/^%?[^%]*%?$/,t))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=H(t),o=r.length>0?r[0]:"",n=V("%"+o+"%",e),i=n.name,a=n.value,c=!1,p=n.alias;p&&(o=p[0],W(r,B([0,1],p)));for(var f=1,s=!0;f<r.length;f+=1){var y=r[f],d=$(y,0,1),h=$(y,-1);if(('"'===d||"'"===d||"`"===d||'"'===h||"'"===h||"`"===h)&&d!==h)throw new l("property names with quotes must have matching quotes");if("constructor"!==y&&s||(c=!0),o+="."+y,U(F,i="%"+o+"%"))a=F[i];else if(null!=a){if(!(y in a)){if(!e)throw new u("base intrinsic for "+t+" exists, but the property is not available.");return}if(S&&f+1>=r.length){var m=S(a,y);a=(s=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[y]}else s=U(a,y),a=a[y];s&&!c&&(F[i]=a)}}return a}},77819:function(t,e,r){"use strict";var o=r(19767);t.exports=o.getPrototypeOf||null},84578:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},87778:function(t,e,r){"use strict";var o=r(84578),n=r(77819),i=r(97755);t.exports=o?function(t){return o(t)}:n?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return n(t)}:i?function(t){return i(t)}:null},76158:function(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},77502:function(t,e,r){"use strict";var o=r(76158);if(o)try{o([],"length")}catch(t){o=null}t.exports=o},40679:function(t,e,r){"use strict";var o="undefined"!=typeof Symbol&&Symbol,n=r(8186);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&n()}},8186:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var o in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},71712:function(t,e,r){"use strict";var o=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=r(20132);t.exports=i.call(o,n)},36354:function(t){"use strict";t.exports=Math.abs},72244:function(t){"use strict";t.exports=Math.floor},77890:function(t){"use strict";t.exports=Number.isNaN||function(t){return t!=t}},24268:function(t){"use strict";t.exports=Math.max},55139:function(t){"use strict";t.exports=Math.min},89544:function(t){"use strict";t.exports=Math.pow},56298:function(t){"use strict";t.exports=Math.round},87558:function(t,e,r){"use strict";var o=r(77890);t.exports=function(t){return o(t)||0===t?t:t<0?-1:1}},86524:function(t,e,r){var o="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&n&&"function"==typeof n.get?n.get:null,a=o&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=c&&p&&"function"==typeof p.get?p.get:null,u=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,s="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,x=String.prototype.toUpperCase,S=String.prototype.toLowerCase,w=RegExp.prototype.test,j=Array.prototype.concat,A=Array.prototype.join,P=Array.prototype.slice,O=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"==typeof Symbol&&"object"==typeof Symbol.iterator,M="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===D?"object":"symbol")?Symbol.toStringTag:null,k=Object.prototype.propertyIsEnumerable,F=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function T(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var o=t<0?-O(-t):O(t);if(o!==t){var n=String(o),i=b.call(e,n.length+1);return v.call(n,r,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,r,"$&_")}var N=r(56050),_=N.custom,C=Q(_)?_:null,U={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function W(t,e,r){var o=U[r.quoteStyle||e];return o+t+o}function L(t){return!M||!("object"==typeof t&&(M in t||void 0!==t[M]))}function $(t){return"[object Array]"===V(t)&&L(t)}function K(t){return"[object RegExp]"===V(t)&&L(t)}function Q(t){if(D)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!R)return!1;try{return R.call(t),!0}catch(t){}return!1}t.exports=function t(e,o,n,c){var p,h,x,w,O,I=o||{};if(H(I,"quoteStyle")&&!H(U,I.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(H(I,"maxStringLength")&&("number"==typeof I.maxStringLength?I.maxStringLength<0&&I.maxStringLength!==1/0:null!==I.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var _=!H(I,"customInspect")||I.customInspect;if("boolean"!=typeof _&&"symbol"!==_)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(I,"indent")&&null!==I.indent&&" "!==I.indent&&!(parseInt(I.indent,10)===I.indent&&I.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(H(I,"numericSeparator")&&"boolean"!=typeof I.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var G=I.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var o=e.length-r.maxStringLength;return t(b.call(e,0,r.maxStringLength),r)+("... "+o)+" more character"+(o>1?"s":"")}var n=B[r.quoteStyle||"single"];return n.lastIndex=0,W(v.call(v.call(e,n,"\\$1"),/[\x00-\x1f]/g,Z),"single",r)}(e,I);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var te=String(e);return G?T(e,te):te}if("bigint"==typeof e){var tr=String(e)+"n";return G?T(e,tr):tr}var to=void 0===I.depth?5:I.depth;if(void 0===n&&(n=0),n>=to&&to>0&&"object"==typeof e)return $(e)?"[Array]":"[Object]";var tn=function(t,e){var r;if(" "===t.indent)r=" ";else{if("number"!=typeof t.indent||!(t.indent>0))return null;r=A.call(Array(t.indent+1)," ")}return{base:r,prev:A.call(Array(e+1),r)}}(I,n);if(void 0===c)c=[];else if(z(c,e)>=0)return"[Circular]";function ti(e,r,o){if(r&&(c=P.call(c)).push(r),o){var i={depth:I.depth};return H(I,"quoteStyle")&&(i.quoteStyle=I.quoteStyle),t(e,i,n+1,c)}return t(e,I,n+1,c)}if("function"==typeof e&&!K(e)){var ta=function(t){if(t.name)return t.name;var e=g.call(m.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),tc=tt(e,ti);return"[Function"+(ta?": "+ta:" (anonymous)")+"]"+(tc.length>0?" { "+A.call(tc,", ")+" }":"")}if(Q(e)){var tp=D?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):R.call(e);return"object"!=typeof e||D?tp:q(tp)}if((tl=e)&&"object"==typeof tl&&("undefined"!=typeof HTMLElement&&tl instanceof HTMLElement||"string"==typeof tl.nodeName&&"function"==typeof tl.getAttribute)){for(var tl,tu,tf="<"+S.call(String(e.nodeName)),ts=e.attributes||[],ty=0;ty<ts.length;ty++){tf+=" "+ts[ty].name+"="+W((tu=ts[ty].value,v.call(String(tu),/"/g,""")),"double",I)}return tf+=">",e.childNodes&&e.childNodes.length&&(tf+="..."),tf+="</"+S.call(String(e.nodeName))+">"}if($(e)){if(0===e.length)return"[]";var td=tt(e,ti);return tn&&!function(t){for(var e=0;e<t.length;e++)if(z(t[e],"\n")>=0)return!1;return!0}(td)?"["+Y(td,tn)+"]":"[ "+A.call(td,", ")+" ]"}if("[object Error]"===V(p=e)&&L(p)){var th=tt(e,ti);return"cause"in Error.prototype||!("cause"in e)||k.call(e,"cause")?0===th.length?"["+String(e)+"]":"{ ["+String(e)+"] "+A.call(th,", ")+" }":"{ ["+String(e)+"] "+A.call(j.call("[cause]: "+ti(e.cause),th),", ")+" }"}if("object"==typeof e&&_){if(C&&"function"==typeof e[C]&&N)return N(e,{depth:to-n});if("symbol"!==_&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{l.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var tm=[];return a&&a.call(e,function(t,r){tm.push(ti(r,e,!0)+" => "+ti(t,e))}),X("Map",i.call(e),tm,tn)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var tg=[];return u&&u.call(e,function(t){tg.push(ti(t,e))}),X("Set",l.call(e),tg,tn)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{s.call(t,s)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!s||!t||"object"!=typeof t)return!1;try{s.call(t,s);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if("[object Number]"===V(h=e)&&L(h))return q(ti(Number(e)));if(function(t){if(!t||"object"!=typeof t||!E)return!1;try{return E.call(t),!0}catch(t){}return!1}(e))return q(ti(E.call(e)));if("[object Boolean]"===V(x=e)&&L(x))return q(d.call(e));if("[object String]"===V(w=e)&&L(w))return q(ti(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==r.g&&e===r.g)return"{ [object globalThis] }";if(!("[object Date]"===V(O=e)&&L(O))&&!K(e)){var tb=tt(e,ti),tv=F?F(e)===Object.prototype:e instanceof Object||e.constructor===Object,tx=e instanceof Object?"":"null prototype",tS=!tv&&M&&Object(e)===e&&M in e?b.call(V(e),8,-1):tx?"Object":"",tw=(tv||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tS||tx?"["+A.call(j.call([],tS||[],tx||[]),": ")+"] ":"");return 0===tb.length?tw+"{}":tn?tw+"{"+Y(tb,tn)+"}":tw+"{ "+A.call(tb,", ")+" }"}return String(e)};var G=Object.prototype.hasOwnProperty||function(t){return t in this};function H(t,e){return G.call(t,e)}function V(t){return h.call(t)}function z(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return -1}function Z(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+x.call(e.toString(16))}function q(t){return"Object("+t+")"}function J(t){return t+" { ? }"}function X(t,e,r,o){return t+" ("+e+") {"+(o?Y(r,o):A.call(r,", "))+"}"}function Y(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+A.call(t,","+r)+"\n"+e.prev}function tt(t,e){var r,o=$(t),n=[];if(o){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=H(t,i)?e(t[i],t):""}var a="function"==typeof I?I(t):[];if(D){r={};for(var c=0;c<a.length;c++)r["$"+a[c]]=a[c]}for(var p in t){if(H(t,p)&&(!o||String(Number(p))!==p||!(p<t.length)))!(D&&r["$"+p]instanceof Symbol)&&(w.call(/[^\w$]/,p)?n.push(e(p,t)+": "+e(t[p],t)):n.push(p+": "+e(t[p],t)))}if("function"==typeof I)for(var l=0;l<a.length;l++)k.call(t,a[l])&&n.push("["+e(a[l])+"]: "+e(t[a[l]],t));return n}},69771:function(t){"use strict";var e=String.prototype.replace,r=/%20/g,o="RFC3986";t.exports={default:o,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:o}},8139:function(t,e,r){"use strict";var o=r(56360),n=r(19520),i=r(69771);t.exports={formats:i,parse:n,stringify:o}},19520:function(t,e,r){"use strict";var o=r(54330),n=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:o.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},p=function(t,e){var r={__proto__:null},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l=e.parameterLimit===1/0?void 0:e.parameterLimit,u=p.split(e.delimiter,l),f=-1,s=e.charset;if(e.charsetSentinel)for(y=0;y<u.length;++y)0===u[y].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[y]?s="utf-8":"utf8=%26%2310003%3B"===u[y]&&(s="iso-8859-1"),f=y,y=u.length);for(y=0;y<u.length;++y)if(y!==f){var y,d,h,m=u[y],g=m.indexOf("]="),b=-1===g?m.indexOf("="):g+1;-1===b?(d=e.decoder(m,a.decoder,s,"key"),h=e.strictNullHandling?null:""):(d=e.decoder(m.slice(0,b),a.decoder,s,"key"),h=o.maybeMap(c(m.slice(b+1),e),function(t){return e.decoder(t,a.decoder,s,"value")})),h&&e.interpretNumericEntities&&"iso-8859-1"===s&&(h=h.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})),m.indexOf("[]=")>-1&&(h=i(h)?[h]:h);var v=n.call(r,d);v&&"combine"===e.duplicates?r[d]=o.combine(r[d],h):v&&"last"!==e.duplicates||(r[d]=h)}return r},l=function(t,e,r,o){for(var n=o?e:c(e,r),i=t.length-1;i>=0;--i){var a,p=t[i];if("[]"===p&&r.parseArrays)a=r.allowEmptyArrays&&(""===n||r.strictNullHandling&&null===n)?[]:[].concat(n);else{a=r.plainObjects?Object.create(null):{};var l="["===p.charAt(0)&&"]"===p.charAt(p.length-1)?p.slice(1,-1):p,u=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&p!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(a=[])[f]=n:"__proto__"!==u&&(a[u]=n):a={0:n}}n=a}return n},u=function(t,e,r,o){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,c=r.depth>0&&/(\[[^[\]]*])/.exec(i),p=c?i.slice(0,c.index):i,u=[];if(p){if(!r.plainObjects&&n.call(Object.prototype,p)&&!r.allowPrototypes)return;u.push(p)}for(var f=0;r.depth>0&&null!==(c=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&n.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(c[1])}if(c){if(!0===r.strictDepth)throw RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");u.push("["+i.slice(c.index)+"]")}return l(u,e,r,o)}},f=function(t){if(!t)return a;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset,r=void 0===t.duplicates?a.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||a.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||o.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}};t.exports=function(t,e){var r=f(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?p(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),c=0;c<a.length;++c){var l=a[c],s=u(l,n[l],r,"string"==typeof t);i=o.merge(i,s,r)}return!0===r.allowSparse?i:o.compact(i)}},56360:function(t,e,r){"use strict";var o=r(95337),n=r(54330),i=r(69771),a=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},p=Array.isArray,l=Array.prototype.push,u=function(t,e){l.apply(t,p(e)?e:[e])},f=Date.prototype.toISOString,s=i.default,y={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,format:s,formatter:i.formatters[s],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},d={},h=function t(e,r,i,a,c,l,f,s,h,m,g,b,v,x,S,w,j,A){for(var P,O,E=e,I=A,R=0,D=!1;void 0!==(I=I.get(d))&&!D;){var M=I.get(e);if(R+=1,void 0!==M){if(M===R)throw RangeError("Cyclic object value");D=!0}void 0===I.get(d)&&(R=0)}if("function"==typeof m?E=m(r,E):E instanceof Date?E=v(E):"comma"===i&&p(E)&&(E=n.maybeMap(E,function(t){return t instanceof Date?v(t):t})),null===E){if(l)return h&&!w?h(r,y.encoder,j,"key",x):r;E=""}if("string"==typeof(P=E)||"number"==typeof P||"boolean"==typeof P||"symbol"==typeof P||"bigint"==typeof P||n.isBuffer(E))return h?[S(w?r:h(r,y.encoder,j,"key",x))+"="+S(h(E,y.encoder,j,"value",x))]:[S(r)+"="+S(String(E))];var k=[];if(void 0===E)return k;if("comma"===i&&p(E))w&&h&&(E=n.maybeMap(E,h)),O=[{value:E.length>0?E.join(",")||null:void 0}];else if(p(m))O=m;else{var F=Object.keys(E);O=g?F.sort(g):F}var T=s?r.replace(/\./g,"%2E"):r,N=a&&p(E)&&1===E.length?T+"[]":T;if(c&&p(E)&&0===E.length)return N+"[]";for(var _=0;_<O.length;++_){var C=O[_],U="object"==typeof C&&void 0!==C.value?C.value:E[C];if(!f||null!==U){var B=b&&s?C.replace(/\./g,"%2E"):C,W=p(E)?"function"==typeof i?i(N,B):N:N+(b?"."+B:"["+B+"]");A.set(e,R);var L=o();L.set(d,A),u(k,t(U,W,i,a,c,l,f,s,"comma"===i&&w&&p(E)?null:h,m,g,b,v,x,S,w,j,L))}}return k},m=function(t){if(!t)return y;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw TypeError("Encoder has to be a function.");var e,r=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw TypeError("Unknown format option provided.");o=t.format}var n=i.formatters[o],l=y.filter;if(("function"==typeof t.filter||p(t.filter))&&(l=t.filter),e=t.arrayFormat in c?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":y.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===t.allowDots?!0===t.encodeDotInKeys||y.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:y.allowEmptyArrays,arrayFormat:e,charset:r,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:y.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:l,format:o,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}};t.exports=function(t,e){var r,n,i=t,a=m(e);"function"==typeof a.filter?i=(0,a.filter)("",i):p(a.filter)&&(r=a.filter);var l=[];if("object"!=typeof i||null===i)return"";var f=c[a.arrayFormat],s="comma"===f&&a.commaRoundTrip;r||(r=Object.keys(i)),a.sort&&r.sort(a.sort);for(var y=o(),d=0;d<r.length;++d){var g=r[d];(!a.skipNulls||null!==i[g])&&u(l,h(i[g],g,f,s,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,y))}var b=l.join(a.delimiter),v=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),b.length>0?v+b:""}},54330:function(t,e,r){"use strict";var o=r(69771),n=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);e.obj[e.prop]=o}}},p=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)void 0!==t[o]&&(r[o]=t[o]);return r};t.exports={arrayToObject:p,assign:function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o<e.length;++o)for(var n=e[o],i=n.obj[n.prop],a=Object.keys(i),p=0;p<a.length;++p){var l=a[p],u=i[l];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(e.push({obj:i,prop:l}),r.push(u))}return c(e),t},decode:function(t,e,r){var o=t.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(t){return o}},encode:function(t,e,r,n,i){if(0===t.length)return t;var c=t;if("symbol"==typeof t?c=Symbol.prototype.toString.call(t):"string"!=typeof t&&(c=String(t)),"iso-8859-1"===r)return escape(c).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var p="",l=0;l<c.length;l+=1024){for(var u=c.length>=1024?c.slice(l,l+1024):c,f=[],s=0;s<u.length;++s){var y=u.charCodeAt(s);if(45===y||46===y||95===y||126===y||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||i===o.RFC1738&&(40===y||41===y)){f[f.length]=u.charAt(s);continue}if(y<128){f[f.length]=a[y];continue}if(y<2048){f[f.length]=a[192|y>>6]+a[128|63&y];continue}if(y<55296||y>=57344){f[f.length]=a[224|y>>12]+a[128|y>>6&63]+a[128|63&y];continue}s+=1,y=65536+((1023&y)<<10|1023&u.charCodeAt(s)),f[f.length]=a[240|y>>18]+a[128|y>>12&63]+a[128|y>>6&63]+a[128|63&y]}p+=f.join("")}return p},isBuffer:function(t){return!!t&&"object"==typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],o=0;o<t.length;o+=1)r.push(e(t[o]));return r}return e(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=typeof r){if(i(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var a=e;return(i(e)&&!i(r)&&(a=p(e,o)),i(e)&&i(r))?(r.forEach(function(r,i){if(n.call(e,i)){var a=e[i];a&&"object"==typeof a&&r&&"object"==typeof r?e[i]=t(a,r,o):e.push(r)}else e[i]=r}),e):Object.keys(r).reduce(function(e,i){var a=r[i];return n.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e},a)}}},98842:function(t,e,r){"use strict";var o=r(86524),n=r(31805),i=function(t,e,r){for(var o,n=t;null!=(o=n.next);n=o)if(o.key===e)return n.next=o.next,r||(o.next=t.next,t.next=o),o},a=function(t,e){if(t){var r=i(t,e);return r&&r.value}},c=function(t,e,r){var o=i(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}},p=function(t,e){if(t)return i(t,e,!0)};t.exports=function(){var t,e={assert:function(t){if(!e.has(t))throw new n("Side channel does not contain "+o(t))},delete:function(e){var r=t&&t.next,o=p(t,e);return o&&r&&r===o&&(t=void 0),!!o},get:function(e){return a(t,e)},has:function(e){var r;return!!(r=t)&&!!i(r,e)},set:function(e,r){t||(t={next:void 0}),c(t,e,r)}};return e}},4249:function(t,e,r){"use strict";var o=r(68750),n=r(75343),i=r(86524),a=r(31805),c=o("%Map%",!0),p=n("Map.prototype.get",!0),l=n("Map.prototype.set",!0),u=n("Map.prototype.has",!0),f=n("Map.prototype.delete",!0),s=n("Map.prototype.size",!0);t.exports=!!c&&function(){var t,e={assert:function(t){if(!e.has(t))throw new a("Side channel does not contain "+i(t))},delete:function(e){if(t){var r=f(t,e);return 0===s(t)&&(t=void 0),r}return!1},get:function(e){if(t)return p(t,e)},has:function(e){return!!t&&u(t,e)},set:function(e,r){t||(t=new c),l(t,e,r)}};return e}},16725:function(t,e,r){"use strict";var o=r(68750),n=r(75343),i=r(86524),a=r(4249),c=r(31805),p=o("%WeakMap%",!0),l=n("WeakMap.prototype.get",!0),u=n("WeakMap.prototype.set",!0),f=n("WeakMap.prototype.has",!0),s=n("WeakMap.prototype.delete",!0);t.exports=p?function(){var t,e,r={assert:function(t){if(!r.has(t))throw new c("Side channel does not contain "+i(t))},delete:function(r){if(p&&r&&("object"==typeof r||"function"==typeof r)){if(t)return s(t,r)}else if(a&&e)return e.delete(r);return!1},get:function(r){return p&&r&&("object"==typeof r||"function"==typeof r)&&t?l(t,r):e&&e.get(r)},has:function(r){return p&&r&&("object"==typeof r||"function"==typeof r)&&t?f(t,r):!!e&&e.has(r)},set:function(r,o){p&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new p),u(t,r,o)):a&&(e||(e=a()),e.set(r,o))}};return r}:a},95337:function(t,e,r){"use strict";var o=r(31805),n=r(86524),i=r(98842),a=r(4249),c=r(16725)||a||i;t.exports=function(){var t,e={assert:function(t){if(!e.has(t))throw new o("Side channel does not contain "+n(t))},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:function(e){return!!t&&t.has(e)},set:function(e,r){t||(t=c()),t.set(e,r)}};return e}}}]);
|