ownledger 2.4.1 → 2.4.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/CHANGELOG.md +5 -0
- package/assets/index.html +1 -1
- package/assets/static/{Account-CsYM8gHF.js → Account-jkuYredC.js} +1 -1
- package/assets/static/{Accounts-lS6XAdaj.js → Accounts-T0tTxTA9.js} +1 -1
- package/assets/static/{Attention-BenmtPd7.js → Attention-4DNKdkp7.js} +1 -1
- package/assets/static/{ByCategory-JX6VL0r5.js → ByCategory-DtU4Zkk3.js} +1 -1
- package/assets/static/CardBudgets-BtBHlz3C.js +1 -0
- package/assets/static/{CardDetail-DauEkok4.js → CardDetail-CB3g66IY.js} +1 -1
- package/assets/static/{Cards-BPdfO3mX.js → Cards-3bs9xSfj.js} +1 -1
- package/assets/static/{Cards-CJ6D_yWD.js → Cards-BUMVT6bE.js} +1 -1
- package/assets/static/{CardsValue-BJ7TcmzC.js → CardsValue-DMmX0mml.js} +1 -1
- package/assets/static/{Cashback-C4cG7mgh.js → Cashback-BoqqbHWy.js} +1 -1
- package/assets/static/{CategoryIcon-DIqlujCD.js → CategoryIcon-CflJmLil.js} +1 -1
- package/assets/static/{CategoryPicker-X4mud6cY.js → CategoryPicker-Dfej_xSa.js} +1 -1
- package/assets/static/{ChartWidget-BFvDbLgz.js → ChartWidget-BlUJfeP6.js} +1 -1
- package/assets/static/{Combobox-CAP3wl4l.js → Combobox-B8QZhrQa.js} +1 -1
- package/assets/static/{Deposits-RX3YoIZZ.js → Deposits-DPcvQQvF.js} +1 -1
- package/assets/static/{Field-C2-VycnC.js → Field-BBqplLmm.js} +1 -1
- package/assets/static/{HomeEditor-Bxu25He1.js → HomeEditor-DQkikr9Z.js} +1 -1
- package/assets/static/{Import-C4HY1ABv.js → Import-IK5EMRoT.js} +1 -1
- package/assets/static/{IncomeSpending-B2I7znyM.js → IncomeSpending-ClJrjJ2Z.js} +1 -1
- package/assets/static/{Left-ZqQxfEIH.js → Left-C5n3tXzC.js} +1 -1
- package/assets/static/{Money-NpAKIj6n.js → Money-B9s3HUmo.js} +1 -1
- package/assets/static/{NetWorth-CxAiM-YK.js → NetWorth-_833T_T_.js} +1 -1
- package/assets/static/{Pace-DLtERmT4.js → Pace-CieGQVy7.js} +1 -1
- package/assets/static/{Panel-B3szLNCa.js → Panel-DZw2fIkp.js} +1 -1
- package/assets/static/{PinDialog-CI2hlJTi.js → PinDialog-BGAWyDEO.js} +1 -1
- package/assets/static/{Plans-Cjtbl3jy.js → Plans-BxBS3k0j.js} +1 -1
- package/assets/static/{Recent-CLidi89q.js → Recent-_Xy-D3cP.js} +1 -1
- package/assets/static/{Reports-De-UPdvX.js → Reports-CgTqFaoP.js} +1 -1
- package/assets/static/{Settings-DTqQmDcd.js → Settings-zi9DztS0.js} +1 -1
- package/assets/static/{Transactions-DOs7gcHH.js → Transactions-D1Ly4hmw.js} +1 -1
- package/assets/static/{TxRow-BDwN3FU8.js → TxRow-DsexHAVz.js} +1 -1
- package/assets/static/{Unusual-Cl_nAUxh.js → Unusual-C07wSZLQ.js} +1 -1
- package/assets/static/{Upcoming-C8qpBQsr.js → Upcoming-DtW_cXdu.js} +1 -1
- package/assets/static/{WhichCard-CHIiyqNI.js → WhichCard-CyxZ2M0u.js} +1 -1
- package/assets/static/{bits-93kCxLrY.js → bits-DjQRuWi5.js} +1 -1
- package/assets/static/{cards-Chi71C59.js → cards-BK8_l-rA.js} +1 -1
- package/assets/static/{charts-qUKGFulK.js → charts-BOS_LSem.js} +1 -1
- package/assets/static/{dialog-BVeS01WF.js → dialog-f8fJAP_M.js} +1 -1
- package/assets/static/{index-CXJ1Qnlx.js → index-DlIU4Ie4.js} +3 -3
- package/assets/static/{select-CnfPMAV_.js → select-DRhU1nFO.js} +1 -1
- package/dist/worker/version.d.ts +1 -1
- package/dist/worker/version.js +1 -1
- package/package.json +1 -1
- package/assets/static/CardBudgets-D6pSYb4p.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as e,E as t,I as n,L as r,R as i,T as a,w as o,z as s}from"./queries-fhKGsTGv.js";import{t as c}from"./react-dom-ybupEBHK.js";import{t as l}from"./button-C7t0bIbi.js";import{u,yt as d}from"./index-CXJ1Qnlx.js";import{t as f}from"./DrillLink-yroQT8gZ.js";var p=e(n()),m=e(c()),h=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function g(e){return typeof e==`string`&&h.includes(e)}var _=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function v(e){return typeof e==`string`&&_.has(e)}function y(e){return typeof e==`string`&&e.startsWith(`data-`)}function b(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(v(n)||y(n))&&(t[n]=e[n]);return t}function x(e){if(e==null)return null;if((0,p.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return b(t)}return typeof e==`object`&&!Array.isArray(e)?b(e):null}function S(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(v(n)||y(n)||g(n))&&(t[n]=e[n]);return t}function C(e){return e==null?null:(0,p.isValidElement)(e)?S(e.props):typeof e==`object`&&!Array.isArray(e)?S(e):null}var w=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(null,arguments)}function E(e,t){if(e==null)return{};var n,r,i=D(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var O=(0,p.forwardRef)((e,n)=>{var r=e.children,i=e.width,a=e.height,o=e.viewBox,s=e.className,c=e.style,l=e.title,u=e.desc,d=E(e,w),f=o||{width:i,height:a,x:0,y:0},m=t(`recharts-surface`,s);return p.createElement(`svg`,T({},S(d),{className:m,width:i,height:a,style:c,viewBox:`${f.x} ${f.y} ${f.width} ${f.height}`,ref:n}),p.createElement(`title`,null,l),p.createElement(`desc`,null,u),r)}),k=[`children`,`className`];function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A.apply(null,arguments)}function j(e,t){if(e==null)return{};var n,r,i=M(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function M(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var N=p.forwardRef((e,n)=>{var r=e.children,i=e.className,a=j(e,k),o=t(`recharts-layer`,i);return p.createElement(`g`,A({className:o},S(a),{ref:n}),r)});function P(e){return e===`__proto__`}var F=Object.prototype.hasOwnProperty;function ee(e,t){return F.call(e,t)}var te=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function ne(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e===``||e.startsWith(`.`)||e.endsWith(`.`)?!1:te.test(e);default:return!1}}function re(e){var t;return typeof e==`string`||typeof e==`symbol`?e:Object.is(e==null||(t=e.valueOf)==null?void 0:t.call(e),-0)?`-0`:String(e)}function ie(e){return typeof e==`symbol`||e instanceof Symbol}function ae(e){if(typeof e==`string`)return e;if(Array.isArray(e)){let t=``;for(let n=0;n<e.length;n++)n>0&&(t+=`,`),t+=ae(e[n]);return t}if(ie(e))return e.toString();let t=e+``;return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function oe(e){return e==null?``:ae(e)}function se(e){if(Array.isArray(e))return e.map(re);if(typeof e==`symbol`)return[e];e=oe(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1,s=!1,c=/^-?\d+(?:\.\d+)?$/;for(e.charCodeAt(0)===46&&t.push(``);r<n;){let l=e[r];if(a)l===`\\`&&r+1<n?(r++,i+=e[r]):l===a?a=``:i+=l;else if(o){if(l===`"`||l===`'`)a=l,s=!0;else if(l===`]`){if(o=!1,!s&&i.includes(`.`)&&!c.test(i)){let e=i.split(`.`);for(let n=0;n<e.length;n++)e[n]!==``&&t.push(e[n])}else t.push(i);i=``}else i+=l}else if(l===`[`)o=!0,s=!1,i&&=(t.push(i),``);else if(l===`.`){i&&=(t.push(i),``);let n=e[r+1];(n===void 0||n===`.`)&&t.push(``)}else i+=l;r++}return i&&t.push(i),t}function ce(e,t,n){if(e==null)return n;switch(typeof t){case`string`:{if(P(t))return n;let r=e[t];return r===void 0?ne(t)&&!ee(e,t)?ce(e,se(t),n):n:r}case`number`:case`symbol`:{typeof t==`number`&&(t=re(t));let r=e[t];return r===void 0?n:r}default:{if(Array.isArray(t))return le(e,t,n);if(t=Object.is(t?.valueOf(),-0)?`-0`:String(t),P(t))return n;let r=e[t];return r===void 0?n:r}}}function le(e,t,n){if(t.length===0)return n;let r=e;for(let e=0;e<t.length;e++){if(r==null||P(t[e]))return n;r=r[t[e]]}return r===void 0?n:r}var ue=4;function de(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:ue),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function fe(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+de(i)+n},``)}var pe=e=>e===0?0:e>0?1:-1,me=e=>typeof e==`number`&&e!=+e,he=e=>typeof e==`string`&&e.length>1&&e.indexOf(`%`)===e.length-1,I=e=>(typeof e==`number`||e instanceof Number)&&!me(e),ge=e=>I(e)||typeof e==`string`,_e=0,ve=e=>{var t=++_e;return`${e||``}${t}`},ye=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!I(e)&&typeof e!=`string`)return n;var i;if(he(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return me(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},be=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n=new Set,r=0;r<t;r++){var i=String(e[r]);if(n.has(i))return!0;n.add(i)}return!1};function L(e,t,n){return I(e)&&I(t)?de(e+n*(t-e)):t}function xe(e,t,n){if(e&&e.length)return e.find(e=>e&&(typeof t==`function`?t(e):ce(e,t))===n)}var R=e=>e==null,Se=e=>R(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function Ce(e){return e!=null}function we(){}function Te(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Ee(Object(n),!0).forEach(function(t){Oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oe(e,t,n){return(t=ke(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e){var t=Ae(e,`string`);return typeof t==`symbol`?t:t+``}function Ae(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var je=e=>{var t=e.viewBox,n=e.position,r=e.offset,i=r===void 0?0:r,a=e.parentViewBox,o=e.clamp,s=Te(t),c=s.x,l=s.y,u=s.height,d=s.upperWidth,f=s.lowerWidth,p=c,m=c+(d-f)/2,h=(p+m)/2,g=(d+f)/2,_=p+d/2,v=u>=0?1:-1,y=v*i,b=v>0?`end`:`start`,x=v>0?`start`:`end`,S=d>=0?1:-1,C=S*i,w=S>0?`end`:`start`,T=S>0?`start`:`end`,E=a;if(n===`top`){var D={x:p+d/2,y:l-y,horizontalAnchor:`middle`,verticalAnchor:b};return o&&E&&(D.height=Math.max(l-E.y,0),D.width=d),D}if(n===`bottom`){var O={x:m+f/2,y:l+u+y,horizontalAnchor:`middle`,verticalAnchor:x};return o&&E&&(O.height=Math.max(E.y+E.height-(l+u),0),O.width=f),O}if(n===`left`){var k={x:h-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`};return o&&E&&(k.width=Math.max(k.x-E.x,0),k.height=u),k}if(n===`right`){var A={x:h+g+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`};return o&&E&&(A.width=Math.max(E.x+E.width-A.x,0),A.height=u),A}var j=o&&E?{width:g,height:u}:{};return n===`insideLeft`?De({x:h+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`},j):n===`insideRight`?De({x:h+g-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`},j):n===`insideTop`?De({x:p+d/2,y:l+y,horizontalAnchor:`middle`,verticalAnchor:x},j):n===`insideBottom`?De({x:m+f/2,y:l+u-y,horizontalAnchor:`middle`,verticalAnchor:b},j):n===`insideTopLeft`?De({x:p+C,y:l+y,horizontalAnchor:T,verticalAnchor:x},j):n===`insideTopRight`?De({x:p+d-C,y:l+y,horizontalAnchor:w,verticalAnchor:x},j):n===`insideBottomLeft`?De({x:m+C,y:l+u-y,horizontalAnchor:T,verticalAnchor:b},j):n===`insideBottomRight`?De({x:m+f-C,y:l+u-y,horizontalAnchor:w,verticalAnchor:b},j):n&&typeof n==`object`&&(I(n.x)||he(n.x))&&(I(n.y)||he(n.y))?De({x:c+ye(n.x,g),y:l+ye(n.y,u),horizontalAnchor:`end`,verticalAnchor:`end`},j):De({x:_,y:l+u/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},j)},Me=[`top`,`left`,`right`,`bottom`];function Ne(e){return e==null?!1:typeof e==`object`||Me.some(t=>t===e)}var Pe=(0,p.createContext)(null),Fe=Math.PI,Ie=2*Fe,Le=1e-6,Re=Ie-Le;function ze(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Be(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return ze;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}function Ve(e,t,n,r){return e===n&&t===r}function He(e){let t=Math.floor(e);if(!(t<=15))return Ve;let n=10**t,r=function(e){return Math.round(e*n)};return function(e,t,n,i){return r(e)===r(n)&&r(t)===r(i)}}var Ue=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?ze:Be(e),this._equal=e==null?Ve:He(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Le){if(!(Math.abs(u*s-c*l)>Le)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Fe-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Le&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;if(this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Le||Math.abs(this._y1-l)>Le)&&this._append`L${c},${l}`,n){if(d<0&&(d=d%Ie+Ie),d>Re)this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`;else if(d>Le){let a=e+n*Math.cos(i),o=t+n*Math.sin(i);if(d>=Fe&&this._equal(c,l,a,o)){d/=2;let i=r+d;this._append`A${n},${n},0,${+(d>=Fe)},${u},${e+n*Math.cos(i)},${t+n*Math.sin(i)}`}this._append`A${n},${n},0,${+(d>=Fe)},${u},${this._x1=a},${this._y1=o}`}}}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};Ue.prototype;function z(e){return function(){return e}}var We=Math.cos,Ge=Math.sin,Ke=Math.sqrt,qe=1e-12,Je=Math.PI;Je/2;var Ye=2*Je;function Xe(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Ue(t)}Array.prototype.slice;function Ze(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Qe(e){this._context=e}Qe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function $e(e){return new Qe(e)}function et(e){return e[0]}function tt(e){return e[1]}function nt(e,t){var n=z(!0),r=null,i=$e,a=null,o=Xe(s);e=typeof e==`function`?e:e===void 0?et:z(e),t=typeof t==`function`?t:t===void 0?tt:z(t);function s(s){var c,l=(s=Ze(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:z(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:z(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function rt(e,t,n){var r=null,i=z(!0),a=null,o=$e,s=null,c=Xe(l);e=typeof e==`function`?e:e===void 0?et:z(+e),t=typeof t==`function`?t:z(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?tt:z(+n);function l(l){var u,d,f,p=(l=Ze(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h){if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return nt().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:z(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:z(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:z(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:z(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:z(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}at($e);function it(e){this._curve=e}it.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};function at(e){function t(t){return new it(e(t))}return t._curve=e,t}var ot=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function st(e){return new ot(e,!0)}function ct(e){return new ot(e,!1)}Ke(3);var lt={draw(e,t){let n=Ke(t/Je);e.moveTo(n,0),e.arc(0,0,n,0,Ye)}},ut={draw(e,t){let n=Ke(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},dt=Ke(1/3),ft=dt*2,pt={draw(e,t){let n=Ke(t/ft),r=n*dt;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},mt={draw(e,t){let n=Ke(t),r=-n/2;e.rect(r,r,n,n)}},ht=.8908130915292852,gt=Ge(Je/10)/Ge(7*Je/10),_t=Ge(Ye/10)*gt,vt=-We(Ye/10)*gt,yt={draw(e,t){let n=Ke(t*ht),r=_t*n,i=vt*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=Ye*t/5,o=We(a),s=Ge(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},bt=Ke(3),xt={draw(e,t){let n=-Ke(t/(bt*3));e.moveTo(0,n*2),e.lineTo(-bt*n,-n),e.lineTo(bt*n,-n),e.closePath()}};Ke(3);var St=-.5,Ct=Ke(3)/2,wt=1/Ke(12),Tt=(wt/2+1)*3,Et={draw(e,t){let n=Ke(t/Tt),r=n/2,i=n*wt,a=r,o=n*wt+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(St*r-Ct*i,Ct*r+St*i),e.lineTo(St*a-Ct*o,Ct*a+St*o),e.lineTo(St*s-Ct*c,Ct*s+St*c),e.lineTo(St*r+Ct*i,St*i-Ct*r),e.lineTo(St*a+Ct*o,St*o-Ct*a),e.lineTo(St*s+Ct*c,St*c-Ct*s),e.closePath()}};function Dt(e,t){let n=null,r=Xe(i);e=typeof e==`function`?e:z(e||lt),t=typeof t==`function`?t:z(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:z(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),i):t},i.context=function(e){return arguments.length?(n=e??null,i):n},i}function Ot(){}function kt(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function At(e){this._context=e}At.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:kt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:kt(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function jt(e){return new At(e)}function Mt(e){this._context=e}Mt.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:kt(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Nt(e){return new Mt(e)}function Pt(e){this._context=e}Pt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:kt(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ft(e){return new Pt(e)}function It(e,t){this._basis=new At(e),this._beta=t}It.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},(function e(t){function n(e){return t===1?new At(e):new It(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function Lt(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Rt(e,t){this._context=e,this._k=(1-t)/6}Rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Lt(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Lt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return new Rt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function zt(e,t){this._context=e,this._k=(1-t)/6}zt.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Lt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return new zt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Bt(e,t){this._context=e,this._k=(1-t)/6}Bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Lt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return new Bt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Vt(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>qe){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>qe){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Ht(e,t){this._context=e,this._alpha=t}Ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Vt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return t?new Ht(e,t):new Rt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Ut(e,t){this._context=e,this._alpha=t}Ut.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Vt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return t?new Ut(e,t):new zt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Wt(e,t){this._context=e,this._alpha=t}Wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Vt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return t?new Wt(e,t):new Bt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Gt(e){this._context=e}Gt.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Kt(e){return new Gt(e)}function qt(e){return e<0?-1:1}function Jt(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(qt(a)+qt(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Yt(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Xt(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Zt(e){this._context=e}Zt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Xt(this,this._t0,Yt(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Xt(this,Yt(this,n=Jt(this,e,t)),n);break;default:Xt(this,this._t0,n=Jt(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function Qt(e){this._context=new $t(e)}(Qt.prototype=Object.create(Zt.prototype)).point=function(e,t){Zt.prototype.point.call(this,t,e)};function $t(e){this._context=e}$t.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function en(e){return new Zt(e)}function tn(e){return new Qt(e)}function nn(e){this._context=e}nn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=rn(e),i=rn(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o])}(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function rn(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function an(e){return new nn(e)}function on(e,t){this._context=e,this._t=t}on.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function sn(e){return new on(e,.5)}function cn(e){return new on(e,0)}function ln(e){return new on(e,1)}function un(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function dn(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function fn(e,t){return e[t]}function pn(e){let t=[];return t.key=e,t}function mn(){var e=z([]),t=dn,n=un,r=fn;function i(i){var a=Array.from(e.apply(this,arguments),pn),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=Ze(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:z(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:z(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?dn:typeof e==`function`?e:z(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??un,i):n},i}function hn(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}un(e,t)}}function gn(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}un(e,t)}}function _n(e,t){if((o=e.length)>0&&(a=(i=e[t[0]]).length)>0){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,un(e,t)}}function vn(e,t){return Cn(e)||Sn(e,t)||bn(e,t)||yn()}function yn(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
import{B as e,E as t,I as n,L as r,R as i,T as a,w as o,z as s}from"./queries-fhKGsTGv.js";import{t as c}from"./react-dom-ybupEBHK.js";import{t as l}from"./button-C7t0bIbi.js";import{u,yt as d}from"./index-DlIU4Ie4.js";import{t as f}from"./DrillLink-yroQT8gZ.js";var p=e(n()),m=e(c()),h=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function g(e){return typeof e==`string`&&h.includes(e)}var _=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function v(e){return typeof e==`string`&&_.has(e)}function y(e){return typeof e==`string`&&e.startsWith(`data-`)}function b(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(v(n)||y(n))&&(t[n]=e[n]);return t}function x(e){if(e==null)return null;if((0,p.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return b(t)}return typeof e==`object`&&!Array.isArray(e)?b(e):null}function S(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(v(n)||y(n)||g(n))&&(t[n]=e[n]);return t}function C(e){return e==null?null:(0,p.isValidElement)(e)?S(e.props):typeof e==`object`&&!Array.isArray(e)?S(e):null}var w=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(null,arguments)}function E(e,t){if(e==null)return{};var n,r,i=D(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var O=(0,p.forwardRef)((e,n)=>{var r=e.children,i=e.width,a=e.height,o=e.viewBox,s=e.className,c=e.style,l=e.title,u=e.desc,d=E(e,w),f=o||{width:i,height:a,x:0,y:0},m=t(`recharts-surface`,s);return p.createElement(`svg`,T({},S(d),{className:m,width:i,height:a,style:c,viewBox:`${f.x} ${f.y} ${f.width} ${f.height}`,ref:n}),p.createElement(`title`,null,l),p.createElement(`desc`,null,u),r)}),k=[`children`,`className`];function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A.apply(null,arguments)}function j(e,t){if(e==null)return{};var n,r,i=M(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function M(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var N=p.forwardRef((e,n)=>{var r=e.children,i=e.className,a=j(e,k),o=t(`recharts-layer`,i);return p.createElement(`g`,A({className:o},S(a),{ref:n}),r)});function P(e){return e===`__proto__`}var F=Object.prototype.hasOwnProperty;function ee(e,t){return F.call(e,t)}var te=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function ne(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e===``||e.startsWith(`.`)||e.endsWith(`.`)?!1:te.test(e);default:return!1}}function re(e){var t;return typeof e==`string`||typeof e==`symbol`?e:Object.is(e==null||(t=e.valueOf)==null?void 0:t.call(e),-0)?`-0`:String(e)}function ie(e){return typeof e==`symbol`||e instanceof Symbol}function ae(e){if(typeof e==`string`)return e;if(Array.isArray(e)){let t=``;for(let n=0;n<e.length;n++)n>0&&(t+=`,`),t+=ae(e[n]);return t}if(ie(e))return e.toString();let t=e+``;return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function oe(e){return e==null?``:ae(e)}function se(e){if(Array.isArray(e))return e.map(re);if(typeof e==`symbol`)return[e];e=oe(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1,s=!1,c=/^-?\d+(?:\.\d+)?$/;for(e.charCodeAt(0)===46&&t.push(``);r<n;){let l=e[r];if(a)l===`\\`&&r+1<n?(r++,i+=e[r]):l===a?a=``:i+=l;else if(o){if(l===`"`||l===`'`)a=l,s=!0;else if(l===`]`){if(o=!1,!s&&i.includes(`.`)&&!c.test(i)){let e=i.split(`.`);for(let n=0;n<e.length;n++)e[n]!==``&&t.push(e[n])}else t.push(i);i=``}else i+=l}else if(l===`[`)o=!0,s=!1,i&&=(t.push(i),``);else if(l===`.`){i&&=(t.push(i),``);let n=e[r+1];(n===void 0||n===`.`)&&t.push(``)}else i+=l;r++}return i&&t.push(i),t}function ce(e,t,n){if(e==null)return n;switch(typeof t){case`string`:{if(P(t))return n;let r=e[t];return r===void 0?ne(t)&&!ee(e,t)?ce(e,se(t),n):n:r}case`number`:case`symbol`:{typeof t==`number`&&(t=re(t));let r=e[t];return r===void 0?n:r}default:{if(Array.isArray(t))return le(e,t,n);if(t=Object.is(t?.valueOf(),-0)?`-0`:String(t),P(t))return n;let r=e[t];return r===void 0?n:r}}}function le(e,t,n){if(t.length===0)return n;let r=e;for(let e=0;e<t.length;e++){if(r==null||P(t[e]))return n;r=r[t[e]]}return r===void 0?n:r}var ue=4;function de(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:ue),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function fe(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+de(i)+n},``)}var pe=e=>e===0?0:e>0?1:-1,me=e=>typeof e==`number`&&e!=+e,he=e=>typeof e==`string`&&e.length>1&&e.indexOf(`%`)===e.length-1,I=e=>(typeof e==`number`||e instanceof Number)&&!me(e),ge=e=>I(e)||typeof e==`string`,_e=0,ve=e=>{var t=++_e;return`${e||``}${t}`},ye=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!I(e)&&typeof e!=`string`)return n;var i;if(he(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return me(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},be=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n=new Set,r=0;r<t;r++){var i=String(e[r]);if(n.has(i))return!0;n.add(i)}return!1};function L(e,t,n){return I(e)&&I(t)?de(e+n*(t-e)):t}function xe(e,t,n){if(e&&e.length)return e.find(e=>e&&(typeof t==`function`?t(e):ce(e,t))===n)}var R=e=>e==null,Se=e=>R(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function Ce(e){return e!=null}function we(){}function Te(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Ee(Object(n),!0).forEach(function(t){Oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oe(e,t,n){return(t=ke(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e){var t=Ae(e,`string`);return typeof t==`symbol`?t:t+``}function Ae(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var je=e=>{var t=e.viewBox,n=e.position,r=e.offset,i=r===void 0?0:r,a=e.parentViewBox,o=e.clamp,s=Te(t),c=s.x,l=s.y,u=s.height,d=s.upperWidth,f=s.lowerWidth,p=c,m=c+(d-f)/2,h=(p+m)/2,g=(d+f)/2,_=p+d/2,v=u>=0?1:-1,y=v*i,b=v>0?`end`:`start`,x=v>0?`start`:`end`,S=d>=0?1:-1,C=S*i,w=S>0?`end`:`start`,T=S>0?`start`:`end`,E=a;if(n===`top`){var D={x:p+d/2,y:l-y,horizontalAnchor:`middle`,verticalAnchor:b};return o&&E&&(D.height=Math.max(l-E.y,0),D.width=d),D}if(n===`bottom`){var O={x:m+f/2,y:l+u+y,horizontalAnchor:`middle`,verticalAnchor:x};return o&&E&&(O.height=Math.max(E.y+E.height-(l+u),0),O.width=f),O}if(n===`left`){var k={x:h-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`};return o&&E&&(k.width=Math.max(k.x-E.x,0),k.height=u),k}if(n===`right`){var A={x:h+g+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`};return o&&E&&(A.width=Math.max(E.x+E.width-A.x,0),A.height=u),A}var j=o&&E?{width:g,height:u}:{};return n===`insideLeft`?De({x:h+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`},j):n===`insideRight`?De({x:h+g-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`},j):n===`insideTop`?De({x:p+d/2,y:l+y,horizontalAnchor:`middle`,verticalAnchor:x},j):n===`insideBottom`?De({x:m+f/2,y:l+u-y,horizontalAnchor:`middle`,verticalAnchor:b},j):n===`insideTopLeft`?De({x:p+C,y:l+y,horizontalAnchor:T,verticalAnchor:x},j):n===`insideTopRight`?De({x:p+d-C,y:l+y,horizontalAnchor:w,verticalAnchor:x},j):n===`insideBottomLeft`?De({x:m+C,y:l+u-y,horizontalAnchor:T,verticalAnchor:b},j):n===`insideBottomRight`?De({x:m+f-C,y:l+u-y,horizontalAnchor:w,verticalAnchor:b},j):n&&typeof n==`object`&&(I(n.x)||he(n.x))&&(I(n.y)||he(n.y))?De({x:c+ye(n.x,g),y:l+ye(n.y,u),horizontalAnchor:`end`,verticalAnchor:`end`},j):De({x:_,y:l+u/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},j)},Me=[`top`,`left`,`right`,`bottom`];function Ne(e){return e==null?!1:typeof e==`object`||Me.some(t=>t===e)}var Pe=(0,p.createContext)(null),Fe=Math.PI,Ie=2*Fe,Le=1e-6,Re=Ie-Le;function ze(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Be(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return ze;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}function Ve(e,t,n,r){return e===n&&t===r}function He(e){let t=Math.floor(e);if(!(t<=15))return Ve;let n=10**t,r=function(e){return Math.round(e*n)};return function(e,t,n,i){return r(e)===r(n)&&r(t)===r(i)}}var Ue=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?ze:Be(e),this._equal=e==null?Ve:He(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Le){if(!(Math.abs(u*s-c*l)>Le)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Fe-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Le&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;if(this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Le||Math.abs(this._y1-l)>Le)&&this._append`L${c},${l}`,n){if(d<0&&(d=d%Ie+Ie),d>Re)this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`;else if(d>Le){let a=e+n*Math.cos(i),o=t+n*Math.sin(i);if(d>=Fe&&this._equal(c,l,a,o)){d/=2;let i=r+d;this._append`A${n},${n},0,${+(d>=Fe)},${u},${e+n*Math.cos(i)},${t+n*Math.sin(i)}`}this._append`A${n},${n},0,${+(d>=Fe)},${u},${this._x1=a},${this._y1=o}`}}}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};Ue.prototype;function z(e){return function(){return e}}var We=Math.cos,Ge=Math.sin,Ke=Math.sqrt,qe=1e-12,Je=Math.PI;Je/2;var Ye=2*Je;function Xe(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Ue(t)}Array.prototype.slice;function Ze(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Qe(e){this._context=e}Qe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function $e(e){return new Qe(e)}function et(e){return e[0]}function tt(e){return e[1]}function nt(e,t){var n=z(!0),r=null,i=$e,a=null,o=Xe(s);e=typeof e==`function`?e:e===void 0?et:z(e),t=typeof t==`function`?t:t===void 0?tt:z(t);function s(s){var c,l=(s=Ze(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:z(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:z(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function rt(e,t,n){var r=null,i=z(!0),a=null,o=$e,s=null,c=Xe(l);e=typeof e==`function`?e:e===void 0?et:z(+e),t=typeof t==`function`?t:z(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?tt:z(+n);function l(l){var u,d,f,p=(l=Ze(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h){if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return nt().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:z(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:z(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:z(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:z(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:z(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}at($e);function it(e){this._curve=e}it.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};function at(e){function t(t){return new it(e(t))}return t._curve=e,t}var ot=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function st(e){return new ot(e,!0)}function ct(e){return new ot(e,!1)}Ke(3);var lt={draw(e,t){let n=Ke(t/Je);e.moveTo(n,0),e.arc(0,0,n,0,Ye)}},ut={draw(e,t){let n=Ke(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},dt=Ke(1/3),ft=dt*2,pt={draw(e,t){let n=Ke(t/ft),r=n*dt;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},mt={draw(e,t){let n=Ke(t),r=-n/2;e.rect(r,r,n,n)}},ht=.8908130915292852,gt=Ge(Je/10)/Ge(7*Je/10),_t=Ge(Ye/10)*gt,vt=-We(Ye/10)*gt,yt={draw(e,t){let n=Ke(t*ht),r=_t*n,i=vt*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=Ye*t/5,o=We(a),s=Ge(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},bt=Ke(3),xt={draw(e,t){let n=-Ke(t/(bt*3));e.moveTo(0,n*2),e.lineTo(-bt*n,-n),e.lineTo(bt*n,-n),e.closePath()}};Ke(3);var St=-.5,Ct=Ke(3)/2,wt=1/Ke(12),Tt=(wt/2+1)*3,Et={draw(e,t){let n=Ke(t/Tt),r=n/2,i=n*wt,a=r,o=n*wt+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(St*r-Ct*i,Ct*r+St*i),e.lineTo(St*a-Ct*o,Ct*a+St*o),e.lineTo(St*s-Ct*c,Ct*s+St*c),e.lineTo(St*r+Ct*i,St*i-Ct*r),e.lineTo(St*a+Ct*o,St*o-Ct*a),e.lineTo(St*s+Ct*c,St*c-Ct*s),e.closePath()}};function Dt(e,t){let n=null,r=Xe(i);e=typeof e==`function`?e:z(e||lt),t=typeof t==`function`?t:z(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:z(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:z(+e),i):t},i.context=function(e){return arguments.length?(n=e??null,i):n},i}function Ot(){}function kt(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function At(e){this._context=e}At.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:kt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:kt(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function jt(e){return new At(e)}function Mt(e){this._context=e}Mt.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:kt(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Nt(e){return new Mt(e)}function Pt(e){this._context=e}Pt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:kt(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ft(e){return new Pt(e)}function It(e,t){this._basis=new At(e),this._beta=t}It.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},(function e(t){function n(e){return t===1?new At(e):new It(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function Lt(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Rt(e,t){this._context=e,this._k=(1-t)/6}Rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Lt(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Lt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return new Rt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function zt(e,t){this._context=e,this._k=(1-t)/6}zt.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Lt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return new zt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Bt(e,t){this._context=e,this._k=(1-t)/6}Bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Lt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return new Bt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Vt(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>qe){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>qe){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Ht(e,t){this._context=e,this._alpha=t}Ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Vt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return t?new Ht(e,t):new Rt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Ut(e,t){this._context=e,this._alpha=t}Ut.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Vt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return t?new Ut(e,t):new zt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Wt(e,t){this._context=e,this._alpha=t}Wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Vt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},(function e(t){function n(e){return t?new Wt(e,t):new Bt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Gt(e){this._context=e}Gt.prototype={areaStart:Ot,areaEnd:Ot,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Kt(e){return new Gt(e)}function qt(e){return e<0?-1:1}function Jt(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(qt(a)+qt(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Yt(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Xt(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Zt(e){this._context=e}Zt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Xt(this,this._t0,Yt(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Xt(this,Yt(this,n=Jt(this,e,t)),n);break;default:Xt(this,this._t0,n=Jt(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function Qt(e){this._context=new $t(e)}(Qt.prototype=Object.create(Zt.prototype)).point=function(e,t){Zt.prototype.point.call(this,t,e)};function $t(e){this._context=e}$t.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function en(e){return new Zt(e)}function tn(e){return new Qt(e)}function nn(e){this._context=e}nn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=rn(e),i=rn(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o])}(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function rn(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function an(e){return new nn(e)}function on(e,t){this._context=e,this._t=t}on.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function sn(e){return new on(e,.5)}function cn(e){return new on(e,0)}function ln(e){return new on(e,1)}function un(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function dn(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function fn(e,t){return e[t]}function pn(e){let t=[];return t.key=e,t}function mn(){var e=z([]),t=dn,n=un,r=fn;function i(i){var a=Array.from(e.apply(this,arguments),pn),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=Ze(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:z(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:z(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?dn:typeof e==`function`?e:z(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??un,i):n},i}function hn(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}un(e,t)}}function gn(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}un(e,t)}}function _n(e,t){if((o=e.length)>0&&(a=(i=e[t[0]]).length)>0){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,un(e,t)}}function vn(e,t){return Cn(e)||Sn(e,t)||bn(e,t)||yn()}function yn(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bn(e,t){if(e){if(typeof e==`string`)return xn(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xn(e,t):void 0}}function xn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Sn(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Cn(e){if(Array.isArray(e))return e}var wn=p.useId??(()=>vn(p.useState(()=>ve(`uid-`)),1)[0]);function Tn(e,t){var n=wn();return t||(e?`${e}-${n}`:n)}var En=(0,p.createContext)(void 0);En.Provider;var Dn=()=>(0,p.useContext)(En);function On(e){if(e!=null){if(e.pageBackground!=null)return e.pageBackground;var t=e.chart?.backgroundColor;return typeof t==`string`?t:void 0}}var kn=[`fill`,`active`];function An(e,t){if(e==null)return{};var n,r,i=jn(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function jn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Mn(e){return typeof e==`object`&&e?e:void 0}function Nn(e){return Mn(e)?.color??(typeof e==`string`?e:void 0)}function Pn(e){return Mn(e.fill)==null&&Mn(e.active?.fill)==null}var Fn=new WeakMap;function In(e){if(e!=null){if(Pn(e))return e;var t=Fn.get(e);if(t!=null)return t;var n=e.fill,r=e.active,i=An(e,kn),a=Nn(n);return a!=null&&(i.fill=a),r!=null&&(i.active=In(r)),Fn.set(e,i),i}}function Ln(e){var t=Dn();return t==null?void 0:Mn(e(t)?.fill)}function Rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Rn(Object(n),!0).forEach(function(t){Bn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bn(e,t,n){return(t=Vn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(e){var t=Hn(e,`string`);return typeof t==`symbol`?t:t+``}function Hn(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Un(e){return`url(#${e})`}function Wn(e){return e==null||typeof e==`string`?{color:e,fillObject:void 0}:{color:e.color,fillObject:e}}function Gn(e){return`${e}-fill`}function Kn(e){var t=e.id,n=e.fillObject,r=e.color,i=e.bounds,a=n.definition;return p.createElement(a,{id:t,color:r,bounds:i})}var qn=new WeakMap;function Jn(e){return typeof e==`function`||typeof e==`object`&&!!e&&`$$typeof`in e}function Yn(e){if(typeof e!=`object`||!e||!(`fill`in e))return{color:void 0,fillObject:void 0};var t=e.fill;if(typeof t==`string`)return{color:t,fillObject:void 0};if(typeof t!=`object`||!t)return{color:void 0,fillObject:void 0};var n=qn.get(t);if(n!=null)return{color:n.color,fillObject:n};var r=`definition`in t?t.definition:void 0;if(!Jn(r))return{color:void 0,fillObject:void 0};var i=`color`in t&&typeof t.color==`string`?t.color:void 0,a={color:i,definition:r};return qn.set(t,a),{color:i,fillObject:a}}function Xn(e,t){return`${e}-fill-${t}`}function Zn(e,t){var n=Yn(t),r=n.color;if(n.fillObject==null)return e;if(r!=null)return zn(zn({},e),{},{fill:r});var i=zn({},e);return Reflect.deleteProperty(i,`fill`),i}function Qn(e){var t=e.id,n=e.entries;return p.createElement(p.Fragment,null,n.map(e=>{var n=e.index,r=e.payload,i=e.color,a=Yn(r).fillObject;return a==null?null:p.createElement(Kn,{key:n,id:Xn(t,n),fillObject:a,color:i})}))}function $n(e){return e.some(e=>Yn(e).fillObject!=null)}function er(e,t,n,r){var i=Tn(n),a=Wn(e),o=a.color,s=a.fillObject,c=o??t;if(s==null)return{paint:c,color:c,definition:null,renderDefinition:()=>null};var l=e=>p.createElement(Kn,{id:i,fillObject:s,color:c,bounds:e});return{paint:Un(i),color:c,definition:l(r),renderDefinition:l}}function tr(e,t){var n=Tn(t),r=(e??[]).map((e,t)=>typeof e==`string`?e:Un(`${n}-${t}`));return e==null||e.every(e=>typeof e==`string`)?{paints:r,definitions:null}:{paints:r,definitions:e.map((e,t)=>{var r=Wn(e),i=r.color,a=r.fillObject;return a==null?null:p.createElement(Kn,{key:t,id:`${n}-${t}`,fillObject:a,color:i})})}}function nr(e,t){if(typeof e==`number`&&typeof t==`number`&&e>0&&t>0)return{width:e,height:t}}function rr(e){var t=e.fill,n=e.bounds,r=e.children,i=Tn(`recharts-shape-fill`);return p.createElement(p.Fragment,null,p.createElement(`defs`,null,p.createElement(Kn,{id:i,fillObject:t,color:t.color,bounds:n})),r(Un(i)))}var ir=[`type`,`size`,`sizeType`];function ar(){return ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ar.apply(null,arguments)}function or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?or(Object(n),!0).forEach(function(t){cr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cr(e,t,n){return(t=lr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){var t=ur(e,`string`);return typeof t==`symbol`?t:t+``}function ur(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function dr(e,t){if(e==null)return{};var n,r,i=fr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fr(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var pr={symbolCircle:lt,symbolCross:ut,symbolDiamond:pt,symbolSquare:mt,symbolStar:yt,symbolTriangle:xt,symbolWye:Et},mr=Math.PI/180,hr=e=>pr[`symbol${Se(e)}`]||lt,gr=(e,t,n)=>{if(t===`area`)return e;switch(n){case`cross`:return 5*e*e/9;case`diamond`:return .5*e*e/Math.sqrt(3);case`square`:return e*e;case`star`:var r=18*mr;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.tan(r)**2);case`triangle`:return Math.sqrt(3)*e*e/4;case`wye`:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},_r=(e,t)=>{pr[`symbol${Se(e)}`]=t},vr=e=>{var n=e.type,r=n===void 0?`circle`:n,i=e.size,a=i===void 0?64:i,o=e.sizeType,s=o===void 0?`area`:o,c=sr(sr({},dr(e,ir)),{},{type:r,size:a,sizeType:s}),l=`circle`;typeof r==`string`&&(l=r);var u=()=>{var e=hr(l),t=Dt().type(e).size(gr(a,s,l))();if(t!==null)return t},d=c.className,f=c.cx,m=c.cy,h=S(c);return I(f)&&I(m)&&I(a)?p.createElement(`path`,ar({},h,{className:t(`recharts-symbols`,d),transform:`translate(${f}, ${m})`,d:u()})):null};function yr(e,t){var n=e??64,r=t===`diameter`?n:Math.sqrt(n);return nr(r,r)}var br=e=>{var t=e.fill;return typeof t==`object`&&t?p.createElement(rr,{fill:t,bounds:yr(e.size,e.sizeType)},t=>p.createElement(vr,ar({},e,{fill:t}))):p.createElement(vr,ar({},e,{fill:t}))};br.registerSymbol=_r;var xr=e=>`radius`in e&&`startAngle`in e&&`endAngle`in e,Sr=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,p.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{g(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},Cr=(e,t,n)=>r=>(e(t,n,r),null),wr=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];g(i)&&typeof a==`function`&&(r||={},r[i]=Cr(a,t,n))}),r};function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Er(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Tr(Object(n),!0).forEach(function(t){Dr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Dr(e,t,n){return(t=Or(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e){var t=kr(e,`string`);return typeof t==`symbol`?t:t+``}function kr(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ar(e,t){var n=Er({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}function jr(e,t){var n=Er({},e);return Object.keys(t).forEach(e=>{var r=t[e];n[e]===void 0&&r!==void 0&&(n[e]=r)}),n}var Mr=(e,t,n)=>{var r=Dn();if(r==null)return n==null?t:jr(t,n);var i=e(r);return i==null?t:jr(t,i)};function Nr(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}function Pr(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}function Fr(e){return e}function Ir(e){return Number.isSafeInteger(e)&&e>=0}function Lr(e){return e!=null&&typeof e!=`function`&&Ir(e.length)}function Rr(e){return function(t){return ce(t,e)}}function zr(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function Br(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Vr=`[object RegExp]`,Hr=`[object String]`,Ur=`[object Number]`,Wr=`[object Boolean]`,Gr=`[object Arguments]`,Kr=`[object Symbol]`,qr=`[object Date]`,Jr=`[object Map]`,Yr=`[object Set]`,Xr=`[object Array]`,Zr=`[object Function]`,Qr=`[object ArrayBuffer]`,$r=`[object Object]`,ei=`[object Error]`,ti=`[object DataView]`,ni=`[object Uint8Array]`,ri=`[object Uint8ClampedArray]`,ii=`[object Uint16Array]`,ai=`[object Uint32Array]`,oi=`[object BigUint64Array]`,si=`[object Int8Array]`,ci=`[object Int16Array]`,li=`[object Int32Array]`,ui=`[object BigInt64Array]`,di=`[object Float32Array]`,fi=`[object Float64Array]`;function pi(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function mi(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}function hi(e,t,n){return typeof n==`function`?gi(e,t,function e(t,r,i,a,o,s){let c=n(t,r,i,a,o,s);return c===void 0?gi(t,r,e,s,!1):!!c},new Map,!0):hi(e,t,()=>void 0)}function gi(e,t,n,r,i=!1){if(t===e)return!0;switch(typeof t){case`object`:return _i(e,t,n,r,i);case`function`:return Object.keys(t).length>0?gi(e,Object.assign({},t),n,r,i):pi(e,t);default:return mi(e)&&i?typeof t!=`string`||t===``:pi(e,t)}}function _i(e,t,n,r,i=!1){if(t==null)return!0;if(Array.isArray(t))return yi(e,t,n,r);if(t instanceof Map)return vi(e,t,n,r);if(t instanceof Set)return bi(e,t,n,r);let a=Object.keys(t);if(e==null)return i&&a.length===0;if(i)zr(e)&&(e=Object(e));else{if(Br(t)===`[object Error]`)return Br(e)===`[object Error]`&&e.name===t.name&&e.message===t.message;let n=Br(e);if(n!==`[object Object]`&&n!==`[object Arguments]`)return!1}if(a.length===0)return!0;if(r?.has(t))return r.get(t)===e;r?.set(t,e);try{for(let i=0;i<a.length;i++){let o=a[i];if(!(o in e)||t[o]===void 0&&e[o]!==void 0||t[o]===null&&e[o]!==null||!n(e[o],t[o],o,e,t,r))return!1}return!0}finally{r?.delete(t)}}function vi(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function yi(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function bi(e,t,n,r){return t.size===0||e instanceof Set&&yi([...e],[...t],n,r)}function xi(e,t){return hi(e,t,()=>void 0)}function Si(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}var Ci=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function wi(e){return Ci.Buffer!==void 0&&Ci.Buffer.isBuffer(e)}function Ti(e){return wi(e)}function Ei(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Di(e){return Ei(e)}function Oi(e,t){return ki(e,void 0,e,new Map,t)}function ki(e,t,n,r,i){if(i!=null){let a=i(e,t,n,r);if(a!==void 0)return a}if(zr(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=ki(e[a],a,n,r,i);return ee(e,`index`)&&(t.index=e.index),ee(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;return r.set(e,t),e.forEach((e,a)=>{t.set(a,ki(e,a,n,r,i))}),t}if(e instanceof Set){let t=new Set;return r.set(e,t),e.forEach(e=>{t.add(ki(e,void 0,n,r,i))}),t}if(Ti(e))return e.subarray();if(Di(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=ki(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),Ai(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),Ai(t,e,n,r,i),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),Ai(t,e,n,r,i),t}let a=Br(e);if(a===`[object Error]`)return e===n?{}:e;switch(a){case Ur:case Hr:case Wr:{let t=new e.constructor(e.valueOf());return r.set(e,t),Ai(t,e,n,r,i),t}case Gr:{let t={};return r.set(e,t),Ai(t,e,n,r,i),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}}if(typeof e==`object`&&ji(a)){let t=a===`[object Object]`&&typeof e.constructor!=`function`?{}:Object.create(Object.getPrototypeOf(e));return r.set(e,t),Ai(t,e,n,r,i),t}return e}function Ai(e,t,n,r,i){let a=[...Object.keys(t),...Si(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=ki(t[s],s,n,r,i))}}function ji(e){switch(e){case Gr:case Xr:case Qr:case ti:case Wr:case qr:case di:case fi:case si:case ci:case li:case Jr:case Ur:case $r:case Vr:case Yr:case Hr:case Kr:case ni:case ri:case ii:case ai:return!0;default:return!1}}function Mi(e){return Oi(e)}function Ni(e){return e=Mi(e),t=>xi(t,e)}var Pi=/^(?:0|[1-9]\d*)$/;function Fi(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<t;case`symbol`:return!1;case`string`:return Pi.test(e)}}function Ii(e){return typeof e==`object`&&!!e&&Br(e)===`[object Arguments]`}function Li(e,t){let n;if(n=Array.isArray(t)?t:typeof t==`string`&&ne(t)&&!(t in Object(e))?se(t):[t],n.length===0)return!1;let r=e;for(let e=0;e<n.length;e++){let t=re(n[e]);if((r==null||!ee(r,t))&&!((Array.isArray(r)||Ii(r))&&Fi(t)&&Number(t)<r.length))return!1;r=r[t]}return!0}function Ri(e,t){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=re(e)}return t=Mi(t),function(n){let r=ce(n,e);return r===void 0?Li(n,e):t===void 0?r===void 0:xi(r,t)}}function zi(e){if(e==null)return Fr;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?Ri(e[0],e[1]):Ni(e);default:return Rr(e)}}function Bi(e){return e===0?0:e}function Vi(e,t=Fr){return Lr(e)?Nr(Array.from(e),Pr(zi(t),1)).map(Bi):[]}function Hi(e,t,n){return t===!0?Vi(e,n):typeof t==`function`?Vi(e,t):e}var Ui=i((e=>{var t=n(),r=d();function i(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:i,o=r.useSyncExternalStore,s=t.useRef,c=t.useEffect,l=t.useMemo,u=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}})),Wi=i(((e,t)=>{t.exports=Ui()}))(),Gi=(0,p.createContext)(null),Ki=e=>e,B=()=>{var e=(0,p.useContext)(Gi);return e?e.store.dispatch:Ki},qi=()=>{},Ji=()=>qi,Yi=(e,t)=>e===t;function V(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yi,n=(0,p.useContext)(Gi),r=(0,p.useMemo)(()=>n?t=>{if(t!=null)return e(t)}:qi,[n,e]);return(0,Wi.useSyncExternalStoreWithSelector)(n?n.subscription.addNestedSub:Ji,n?n.store.getState:qi,n?n.store.getState:qi,r,t)}function Xi(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function Zi(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var Qi=e=>Array.isArray(e)?e:[e];function $i(e){let t=Array.isArray(e[0])?e[0]:e;return Zi(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function ea(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var ta=class{constructor(e){this.value=e}deref(){return this.value}},na=typeof WeakRef>`u`?ta:WeakRef,ra=0,ia=1;function aa(){return{s:ra,v:void 0,o:null,p:null}}function oa(e){return e instanceof na?e.deref():e}function sa(e,t={}){let n=aa(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=aa(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=aa(),e.set(n,t)):t=r}}let s=t,c;if(t.s===ia)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=oa(i);e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new na(c):c}return s.s=ia,s.v=c,c}return o.clearCache=()=>{n=aa(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function ca(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),Xi(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=sa,argsMemoizeOptions:u=[]}={...n,...a},d=Qi(c),f=Qi(u),p=$i(e),m=s(function(){return t++,o.apply(null,arguments)},...d),h=l(function(){r++;let e=ea(p,arguments);return i=m.apply(null,e),i},...f);return Object.assign(h,{resultFunc:o,memoizedResultFunc:m,dependencies:p,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var H=ca(sa);function la(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}function ua(e,t,n){return mi(n)&&(typeof t==`number`&&Lr(n)&&Fi(t)&&t<n.length||typeof t==`string`&&t in n)?pi(n[t],e):!1}function da(e){let t=Object.keys(e),n=Array(t.length);for(let r=0;r<t.length;r++)n[r]=e[t[r]];return n}function fa(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}var pa=(e,t,n)=>{if(e!==t){let r=fa(e),i=fa(t);if(r===i&&r===0){if(e<t)return n===`desc`?1:-1;if(e>t)return n===`desc`?-1:1}return n===`desc`?i-r:r-i}return 0},ma=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ha=/^\w*$/;function ga(e,t){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||ie(e)?!0:typeof e==`string`&&(ha.test(e)||!ma.test(e))||t!=null&&ee(t,e)}function _a(e,t,n,r){if(e==null)return[];n=r?void 0:n,Array.isArray(e)||(e=Lr(e)?Array.from(e):da(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(n)||(n=n==null?[]:[n]),n=n.map(e=>String(e));let i=(e,t)=>{let n=e,r=0;for(;r<t.length&&n!=null;++r)n=n[t[r]];return r>0&&r===t.length?n:void 0},a=(e,t)=>{if(e==null)return t;if(t!=null)return typeof e==`object`&&`key`in e?ee(t,e.key)?t[e.key]:i(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?i(t,e):t[e]},o=t.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||ga(e)?e:{key:e,path:se(e)}));return e.map(e=>({original:e,criteria:o.map(t=>a(t,e))})).slice().sort((e,t)=>{for(let r=0;r<o.length;r++){let i=pa(e.criteria[r],t.criteria[r],n[r]);if(i!==0)return i}return 0}).map(e=>e.original)}function va(e,...t){let n=t.length;return n>1&&ua(e,t[0],t[1])?t=[]:n>2&&ua(t[0],t[1],t[2])&&(t=[t[0]]),_a(e,la(t),[`asc`])}var ya=e=>e.legend.settings,ba=e=>e.legend.size;H([e=>e.legend.payload,ya],(e,t)=>{var n=t.itemSorter,r=e.flat(1);return n?va(r,n):r});function xa(e,t){return Ea(e)||Ta(e,t)||Ca(e,t)||Sa()}function Sa(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ca(e,t){if(e){if(typeof e==`string`)return wa(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wa(e,t):void 0}}function wa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ta(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Ea(e){if(Array.isArray(e))return e}var Da=1;function Oa(e,t){return Math.abs(e.height-t.height)>Da||Math.abs(e.width-t.width)>Da}function ka(e){var t=e.getBoundingClientRect();return{height:t.height,left:t.left,top:t.top,width:t.width}}function Aa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=xa((0,p.useState)({height:0,left:0,top:0,width:0}),2),n=t[0],r=t[1],i=(0,p.useRef)(null),a=(0,p.useRef)(null),o=(0,p.useRef)(n),s=(0,p.useCallback)(()=>{var e=a.current;if(e!=null){var t=ka(e);Oa(t,o.current)&&(o.current=t,r(t))}},[]),c=(0,p.useCallback)(e=>{var t;if(a.current=e,(t=i.current)==null||t.disconnect(),i.current=null,e!=null&&(s(),typeof ResizeObserver<`u`)){var n=new ResizeObserver(s);n.observe(e),i.current=n}},[s]);return(0,p.useEffect)(s,[s,...e]),[n,c]}function ja(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Ma=typeof Symbol==`function`&&Symbol.observable||`@@observable`,Na=()=>Math.random().toString(36).substring(7).split(``).join(`.`),Pa={INIT:`@@redux/INIT${Na()}`,REPLACE:`@@redux/REPLACE${Na()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Na()}`};function Fa(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Ia(e,t,n){if(typeof e!=`function`)throw Error(ja(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(ja(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(ja(1));return n(Ia)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(ja(3));return i}function d(e){if(typeof e!=`function`)throw Error(ja(4));if(c)throw Error(ja(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(ja(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!Fa(e))throw Error(ja(7));if(e.type===void 0)throw Error(ja(8));if(typeof e.type!=`string`)throw Error(ja(17));if(c)throw Error(ja(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(ja(10));r=e,f({type:Pa.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(ja(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Ma](){return this}}}return f({type:Pa.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[Ma]:m}}function La(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:Pa.INIT})===void 0)throw Error(ja(12));if(n(void 0,{type:Pa.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(ja(13))})}function Ra(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{La(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(ja(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function za(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Ba(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(ja(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=za(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function Va(e){return Fa(e)&&`type`in e&&typeof e.type==`string`}var Ha=Symbol.for(`immer-nothing`),Ua=Symbol.for(`immer-draftable`),Wa=Symbol.for(`immer-state`);function Ga(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ka=Object,qa=Ka.getPrototypeOf,Ja=`constructor`,Ya=`prototype`,Xa=`configurable`,Za=`enumerable`,Qa=`writable`,$a=`value`,eo=e=>!!e&&!!e[Wa];function to(e){return e?io(e)||fo(e)||!!e[Ua]||!!e[Ja]?.[Ua]||po(e)||mo(e):!1}var no=Ka[Ya][Ja].toString(),ro=new WeakMap;function io(e){if(!e||!ho(e))return!1;let t=qa(e);if(t===null||t===Ka[Ya])return!0;let n=Ka.hasOwnProperty.call(t,Ja)&&t[Ja];if(n===Object)return!0;if(!go(n))return!1;let r=ro.get(n);return r===void 0&&(r=Function.toString.call(n),ro.set(n,r)),r===no}function ao(e,t,n=!0){oo(e)===0?(n?Reflect.ownKeys(e):Ka.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function oo(e){let t=e[Wa];return t?t.type_:fo(e)?1:po(e)?2:mo(e)?3:0}var so=(e,t,n=oo(e))=>n===2?e.has(t):Ka[Ya].hasOwnProperty.call(e,t),co=(e,t,n=oo(e))=>n===2?e.get(t):e[t],lo=(e,t,n,r=oo(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function uo(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var fo=Array.isArray,po=e=>e instanceof Map,mo=e=>e instanceof Set,ho=e=>typeof e==`object`,go=e=>typeof e==`function`,_o=e=>typeof e==`boolean`;function vo(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var yo=e=>e.copy_||e.base_,bo=e=>e.modified_?e.copy_:e.base_;function xo(e,t){if(po(e))return new Map(e);if(mo(e))return new Set(e);if(fo(e))return Array[Ya].slice.call(e);let n=io(e);if(t===!0||t===`class_only`&&!n){let t=Ka.getOwnPropertyDescriptors(e);delete t[Wa];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Qa]===!1&&(a[Qa]=!0,a[Xa]=!0),(a.get||a.set)&&(t[i]={[Xa]:!0,[Qa]:!0,[Za]:a[Za],[$a]:e[i]})}return Ka.create(qa(e),t)}{let t=qa(e);if(t!==null&&n)return{...e};let r=Ka.create(t);return Ka.assign(r,e)}}function So(e,t=!1){return To(e)||eo(e)||!to(e)||(oo(e)>1&&Ka.defineProperties(e,{set:wo,add:wo,clear:wo,delete:wo}),Ka.freeze(e),t&&ao(e,(e,t)=>{So(t,!0)},!1)),e}function Co(){Ga(2)}var wo={[$a]:Co};function To(e){return e===null||!ho(e)||Ka.isFrozen(e)}var Eo=`MapSet`,Do=`Patches`,Oo=`ArrayMethods`,ko={};function Ao(e){let t=ko[e];return t||Ga(0,e),t}var jo=e=>!!ko[e],Mo,No=()=>Mo,Po=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:jo(Eo)?Ao(Eo):void 0,arrayMethodsPlugin_:jo(Oo)?Ao(Oo):void 0});function Fo(e,t){t&&(e.patchPlugin_=Ao(Do),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Io(e){Lo(e),e.drafts_.forEach(zo),e.drafts_=null}function Lo(e){e===Mo&&(Mo=e.parent_)}var Ro=e=>Mo=Po(Mo,e);function zo(e){let t=e[Wa];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Bo(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[Wa].modified_&&(Io(t),Ga(4)),to(e)&&(e=Vo(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Wa].base_,e,t)}else e=Vo(t,n);return Ho(t,e,!0),Io(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Ha?void 0:e}function Vo(e,t){if(To(t))return t;let n=t[Wa];if(!n)return Xo(t,e.handledSet_,e);if(!Wo(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);Jo(n,e)}return n.copy_}function Ho(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&So(t,n)}function Uo(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Wo=(e,t)=>e.scope_===t,Go=[];function Ko(e,t,n,r){let i=yo(e),a=e.type_;if(r!==void 0&&co(i,r,a)===t){lo(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;ao(i,(e,n)=>{if(eo(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??Go;for(let e of o)lo(i,e,n,a)}function qo(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!Wo(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=bo(i);Ko(e,i.draft_??i,a,n),Jo(i,r)})}function Jo(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}Uo(e)}}function Yo(e,t,n){let{scope_:r}=e;if(eo(n)){let i=n[Wa];Wo(i,r)&&i.callbacks_.push(function(){as(e),Ko(e,n,bo(i),t)})}else to(n)&&e.callbacks_.push(function(){let i=yo(e);e.type_===3?i.has(n)&&Xo(n,r.handledSet_,r):co(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Xo(co(e.copy_,t,e.type_),r.handledSet_,r)})}function Xo(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||eo(e)||t.has(e)||!to(e)||To(e)||(t.add(e),ao(e,(r,i)=>{if(eo(i)){let t=i[Wa];Wo(t,n)&&(lo(e,r,bo(t),e.type_),Uo(t))}else to(i)&&Xo(i,t,n)})),e}function Zo(e,t){let n=fo(e),r={type_:+!!n,scope_:t?t.scope_:No(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=Qo;n&&(i=[r],a=$o);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var Qo={get(e,t){if(t===Wa)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=yo(e);if(!so(i,t,e.type_))return ns(e,i,t);let a=i[t];if(e.finalized_||!to(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&vo(t))return a;if(a===es(e.base_,t)||ts(e,t,a)){as(e);let n=e.type_===1?+t:t,r=ss(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in yo(e)},ownKeys(e){return Reflect.ownKeys(yo(e))},set(e,t,n){let r=rs(yo(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=es(yo(e),t),i=r?.[Wa];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.delete(t),!0;if(uo(n,r)&&(n!==void 0||so(e.base_,t,e.type_)))return!0;as(e),is(e)}return e.copy_[t]===n&&(n!==void 0||so(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),Yo(e,t,n)),!0},deleteProperty(e,t){return as(e),es(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),is(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=yo(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Qa]:!0,[Xa]:e.type_!==1||t!==`length`,[Za]:r[Za],[$a]:n[t]}},defineProperty(){Ga(11)},getPrototypeOf(e){return qa(e.base_)},setPrototypeOf(){Ga(12)}},$o={};for(let e in Qo){let t=Qo[e];$o[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}$o.deleteProperty=function(e,t){return $o.set.call(this,e,t,void 0)},$o.set=function(e,t,n){return Qo.set.call(this,e[0],t,n,e[0])};function es(e,t){let n=e[Wa];return(n?yo(n):e)[t]}function ts(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||!to(n)||n[Wa]?!1:e.baseRefs_.has(n)}function ns(e,t,n){let r=rs(t,n);return r?$a in r?r[$a]:r.get?.call(e.draft_):void 0}function rs(e,t){if(!(t in e))return;let n=qa(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=qa(n)}}function is(e){e.modified_||(e.modified_=!0,e.parent_&&is(e.parent_))}function as(e){e.copy_||=(e.assigned_=new Map,xo(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var os=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(go(e)&&!go(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}go(t)||Ga(6),n!==void 0&&!go(n)&&Ga(7);let r;if(to(e)){let i=Ro(this),a=ss(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Io(i):Lo(i)}return Fo(i,n),Bo(r,i)}if(!e||!ho(e)){if(r=t(e),r===void 0&&(r=e),r===Ha&&(r=void 0),this.autoFreeze_&&So(r,!0),n){let t=[],i=[];Ao(Do).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}Ga(1,e)},this.produceWithPatches=(e,t)=>{if(go(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},_o(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze);let t=e?.useStrictShallowCopy;(_o(t)||t===`class_only`)&&this.setUseStrictShallowCopy(t),_o(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){to(e)||Ga(8),eo(e)&&(e=cs(e));let t=Ro(this),n=ss(t,e,void 0);return n[Wa].isManual_=!0,Lo(t),n}finishDraft(e,t){let n=e&&e[Wa];n&&n.isManual_||Ga(9);let{scope_:r}=n;return Fo(r,t),Bo(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=Ao(Do).applyPatches_;return eo(e)?r(e,t):this.produce(e,e=>r(e,t))}};function ss(e,t,n,r){let[i,a]=po(t)?Ao(Eo).proxyMap_(t,n):mo(t)?Ao(Eo).proxySet_(t,n):Zo(t,n);return(n?.scope_??No()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?qo(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function cs(e){return eo(e)||Ga(10,e),ls(e)}function ls(e){if(!to(e)||To(e))return e;let t=e[Wa],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=xo(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=xo(e,!0);let i=n;return mo(n)&&(n=new Set),ao(i,(e,t)=>{lo(n,e,ls(t))},r),t&&(t.finalized_=!1),n}globalThis.Iterator?.from;var us=new os().produce,U=e=>e;function ds(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var fs=ds(),ps=ds,ms=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?za:za.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function hs(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(Cc(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>t!=null&&t.type===e&&Va(t),n}var gs=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function _s(e){return to(e)?us(e,()=>{}):e}function vs(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function ys(e){return typeof e==`boolean`}var bs=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new gs;return t&&(ys(t)?a.push(fs):a.push(ps(t.extraArgument))),a},xs=`RTK_autoBatch`,W=()=>e=>({payload:e,meta:{[xs]:!0}}),Ss=e=>t=>{setTimeout(t,e)},Cs=(e,t,n)=>r=>{let i=!1,a,o,s=()=>{i||(i=!0,t?.(a),clearTimeout(o),r())};a=e(s),o=setTimeout(s,n)},ws=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?Cs(window.requestAnimationFrame,window.cancelAnimationFrame,100):Ss(10):e.type===`callback`?e.queueNotification:Ss(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[xs],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},Ts=e=>function(t){let{autoBatch:n=!0}=t??{},r=new gs(e);return n&&r.push(ws(typeof n==`object`?n:void 0)),r};function Es(e){let t=bs(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(Fa(n))c=Ra(n);else throw Error(Cc(1));let l;l=typeof r==`function`?r(t):t();let u=za;i&&(u=ms({trace:!1,...typeof i==`object`&&i}));let d=Ts(Ba(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return Ia(c,o,p)}function Ds(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(Cc(28));if(r in t)throw Error(Cc(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function Os(e){return typeof e==`function`}function ks(e,t){let[n,r,i]=Ds(t),a;if(Os(e))a=()=>_s(e());else{let t=_s(e);a=()=>t}function o(e,t,n){if(eo(e)){let r=t(e,n);return r===void 0?e:r}if(to(e))return us(e,e=>t(e,n));{let r=t(e,n);if(r===void 0){if(e===null)return e;throw Error(Cc(9))}return r}}function s(e=a(),t){let s=n[t.type],c;for(let{matcher:e,reducer:n}of r)e(t)&&n&&(c??=[]).push(n);if(!s&&!c)return i?o(e,i,t):e;if(s&&(e=o(e,s,t)),c)for(let n of c)e=o(e,n,t);return e}return s.getInitialState=a,s}var As=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,js=(e=21)=>{let t=``,n=e;for(;n--;)t+=As[Math.random()*64|0];return t},Ms=Symbol.for(`rtk-slice-createasyncthunk`);function Ns(e,t){return`${e}/${t}`}function Ps({creators:e}={}){let t=e?.asyncThunk?.[Ms];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(Cc(11));let i=(typeof e.reducers==`function`?e.reducers(Ls()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(Cc(12));if(n in o.sliceCaseReducersByType)throw Error(Cc(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:Ns(n,r),createNotation:typeof e.reducers==`function`};zs(a)?Vs(o,a,s,t):Rs(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?Ds(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return ks(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=vs(d,r,m)),i}function i(t=l){return vs(vs(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=Fs(a,t,()=>vs(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function Fs(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var Is=Ps();function Ls(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function Rs({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!Bs(r))throw Error(Cc(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?hs(e,o):hs(e))}function zs(e){return e._reducerDefinitionType===`asyncThunk`}function Bs(e){return e._reducerDefinitionType===`reducerWithPrepare`}function Vs({type:e,reducerName:t},n,r,i){if(!i)throw Error(Cc(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||Hs,pending:s||Hs,rejected:c||Hs,settled:l||Hs})}function Hs(){}var Us=`task`,Ws=`listener`,Gs=`completed`,Ks=`cancelled`,qs=`task-${Ks}`,Js=`task-${Gs}`,Ys=`${Ws}-${Ks}`,Xs=`${Ws}-${Gs}`,Zs=class{code;name=`TaskAbortError`;message;constructor(e){this.code=e,this.message=`${Us} ${Ks} (reason: ${e})`}},Qs=(e,t)=>{if(typeof e!=`function`)throw TypeError(Cc(32))},$s=()=>{},ec=(e,t=$s)=>(e.catch(t),e),tc=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),nc=e=>{if(e.aborted)throw new Zs(e.reason)};function rc(e,t){let n=$s;return new Promise((r,i)=>{let a=()=>i(new Zs(e.reason));e.aborted?a():(n=tc(e,a),t.finally(()=>n()).then(r,i))}).finally(()=>{n=$s})}var ic=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof Zs?`cancelled`:`rejected`,error:e}}finally{t?.()}},ac=e=>t=>ec(rc(e,t).then(t=>(nc(e),t))),oc=e=>{let t=ac(e);return e=>{let n;return ec(t(new Promise(t=>{n=setTimeout(t,e)})).finally(()=>clearTimeout(n)))}},{assign:sc}=Object,cc={},lc=`listenerMiddleware`,uc=async e=>{for(;e.size;)await Promise.all(e)},dc=(e,t,n)=>(r,i)=>{Qs(r,`taskExecutor`);let a=new AbortController,{signal:o}=a,s=tc(e,()=>a.abort(e.reason)),c=ic(async()=>{nc(e),nc(o);let t=new Set,i;try{i=await r({getState:n.getState,dispatch:n.dispatch,pause:ac(o),delay:oc(o),signal:o,fork:dc(o,t,n)})}finally{await uc(t)}return nc(o),i},()=>{s(),a.abort(Js)});if(i?.autoJoin){let e=c.then(()=>{t.delete(e)});t.add(e)}return{result:ac(e)(c),cancel(){a.abort(qs)}}},fc=(e,t)=>{let n=async(n,r)=>{nc(t);let i=$s,a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})],o;r!=null&&a.push(new Promise(e=>{o=setTimeout(e,r,null)}));try{let e=await rc(t,Promise.race(a));return nc(t),e}finally{clearTimeout(o),i()}};return((e,t)=>ec(n(e,t)))},pc=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=hs(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(Cc(21));return Qs(a,`options.listener`),{predicate:i,type:t,effect:a}},mc=sc(e=>{let{type:t,predicate:n,effect:r}=pc(e);return{id:js(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(Cc(22))}}},{withTypes:()=>mc}),hc=(e,t)=>{let{type:n,effect:r,predicate:i}=pc(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},gc=(e,t)=>{e.unsubscribe(),t?.cancelActive&&e.pending.forEach(e=>{e.abort(Ys)})},_c=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},vc=sc(hs(`${lc}/add`),{withTypes:()=>vc}),yc=hs(`${lc}/removeAll`),bc=sc(hs(`${lc}/remove`),{withTypes:()=>bc}),xc=(...e)=>{console.error(`${lc}/error`,...e)},Sc=(e={})=>{let t=new Map,n=new Set,{extra:r,onError:i=xc}=e;Qs(i,`onError`);let a,o=()=>{if(!a){let e=Array.from(t.values()),n=new Set,r=!1;for(let t of e)typeof t.type==`string`?n.add(t.type):r=!0;a={entries:e,types:n,anyType:r}}return a},s=e=>{t.has(e.id)||(t.set(e.id,e),a=void 0)},c=e=>(e.unsubscribe=()=>{t.delete(e.id)&&(a=void 0)},s(e),t=>gc(e,t)),l=(e=>{let n=hc(t,e)??mc(e);return c(n)});sc(l,{withTypes:()=>l});let u=e=>{let n=hc(t,e);return n&&gc(n,e),!!n};sc(u,{withTypes:()=>u});let d=async(e,t,a,o)=>{let c=new AbortController,{signal:u}=c,d=fc(l,u),f=new Set;try{e.pending.add(c),n.add(c),await e.effect(t,sc({},a,{getOriginalState:o,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:oc(u),pause:ac(u),extra:r,signal:u,fork:dc(u,f,a),unsubscribe:e.unsubscribe,subscribe:()=>{s(e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==c&&(e.abort(Ys),n.delete(e))})},cancel:()=>{c.abort(Ys),e.pending.delete(c)},throwIfCancelled:()=>{nc(u)}}))}catch(e){e instanceof Zs||_c(i,e,{raisedBy:`effect`})}finally{await uc(f),c.abort(Xs),n.delete(c),e.pending.delete(c)}},f=()=>{n.forEach(e=>{e.abort(Ys)}),t.clear(),a=void 0};return{middleware:e=>t=>n=>{if(!Va(n))return t(n);if(vc.match(n))return l(n.payload);if(yc.match(n)){f();return}if(bc.match(n))return u(n.payload);let r=e.getState(),a=()=>{if(r===cc)throw Error(Cc(23));return r},s;try{s=t(n);let{entries:c,types:l,anyType:u}=o();if(u||l.has(n.type)){let t=e.getState();for(let o of c){if(typeof o.type==`string`&&o.type!==n.type)continue;let s=!1;try{s=o.predicate(n,t,r)}catch(e){_c(i,e,{raisedBy:`predicate`})}s&&d(o,n,e,a)}}}finally{r=cc}return s},startListening:l,stopListening:u,clearListeners:f}};function Cc(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var wc=Is({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),Tc=wc.actions,Ec=Tc.setMargin,Dc=Tc.setLayout,Oc=Tc.setChartSize,kc=Tc.setScale,Ac=wc.reducer;function jc(e,t,n){return Array.isArray(e)?e.slice(t,n+1):e}function G(e){return Number.isFinite(e)}function Mc(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}var Nc=[`ignoreDataEntryColors`];function Pc(e,t){if(e==null)return{};var n,r,i=Fc(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Fc(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ic(e,t){return Vc(e)||Bc(e,t)||Rc(e,t)||Lc()}function Lc(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rc(e,t){if(e){if(typeof e==`string`)return zc(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zc(e,t):void 0}}function zc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Bc(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Vc(e){if(Array.isArray(e))return e}function Hc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Uc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Hc(Object(n),!0).forEach(function(t){Wc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wc(e,t,n){return(t=Gc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){var t=Kc(e,`string`);return typeof t==`symbol`?t:t+``}function Kc(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function K(e,t,n){if(R(e)||R(t))return n;if(ge(t))return ce(e,t,n);if(typeof t==`function`){var r=t(e);return r===void 0?n:r}return n}var qc=(e,t,n)=>{if(t&&n){var r=n.width,i=n.height,a=t.align,o=t.verticalAlign,s=t.layout,c=t.position,l=t.offset,u=l===void 0?0:l;if(c!=null){if(Ne(c)){if(c===`top`&&I(e.top))return Uc(Uc({},e),{},{top:e.top+(i||0)+u});if(c===`bottom`&&I(e.bottom))return Uc(Uc({},e),{},{bottom:e.bottom+(i||0)+u});if(c===`left`&&I(e.left))return Uc(Uc({},e),{},{left:e.left+(r||0)+u});if(c===`right`&&I(e.right))return Uc(Uc({},e),{},{right:e.right+(r||0)+u})}return e}if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&I(e[a]))return Uc(Uc({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&I(e[o]))return Uc(Uc({},e),{},{[o]:e[o]+(i||0)})}return e},Jc=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,Yc=(e,t,n,r)=>{if(r)return e.map(e=>e.coordinate);var i,a,o=e.map(e=>(e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate));return i||o.push(t),a||o.push(n),o},Xc=(e,t,n)=>{if(!e)return null;var r=e.duplicateDomain,i=e.type,a=e.range,o=e.scale,s=e.realScaleType,c=e.isCategorical,l=e.categoricalDomain,u=e.tickCount,d=e.ticks,f=e.niceTicks,p=e.axisType;if(!o)return null;var m=s===`scaleBand`&&o.bandwidth?o.bandwidth()/2:2,h=(t||n)&&i===`category`&&o.bandwidth?o.bandwidth()/m:0;return p===`angleAxis`&&a&&a.length>=2&&(h=a[0]>a[1]?2*h:0),t&&(d||f)?(d||f||[]).map((e,t)=>{var n=r?r.indexOf(e):e,i=o.map(n);return G(i)?{coordinate:i+h,value:e,offset:h,index:t}:null}).filter(Ce):c&&l?l.map((e,t)=>{var n=o.map(e);return G(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(Ce):o.ticks&&!n&&u!=null?o.ticks(u).map((e,t)=>{var n=o.map(e);return G(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(Ce):o.domain().map((e,t)=>{var n=o.map(e);return G(n)?{coordinate:n+h,value:r?r[e]:e,index:t,offset:h}:null}).filter(Ce)},Zc=(e,t)=>{if(!t||t.length!==2||!I(t[0])||!I(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!I(e[0])||e[0]<n)&&(i[0]=n),(!I(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},Qc={sign:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=e[o]?.[r];if(s!=null){var c=s[1],l=s[0],u=me(c)?l:c;u>=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},expand:hn,none:un,silhouette:gn,wiggle:_n,positive:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0;a<t;++a){var o=e[a]?.[r];if(o!=null){var s=me(o[1])?o[0]:o[1];s>=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}}},$c=(e,t,n)=>{var r=Qc[n]??un,i=mn().keys(t).value((e,t)=>Number(K(e,t,0))).order(dn).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=K(e[i],t[r],0);Array.isArray(a)&&a.length===2&&I(a[0])&&I(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i};function el(e){return e==null?void 0:String(e)}function tl(e,t,n,r){var i=t?.[r];if(R(e))return i;var a=K(n,e);return i?.value===a?i:t&&xe(t,`value`,a)}function nl(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,a=e.index,o=e.dataKey;if(t.type===`category`){var s=tl(t.dataKey,n,i,a);return s?s.coordinate+r/2:null}var c=K(i,R(o)?t.dataKey:o),l=t.scale.map(c);return I(l)?l:null}var rl=e=>{var t=e.axis,n=e.ticks,r=e.offset,i=e.bandSize,a=e.entry,o=e.index;if(t.type===`category`){var s=tl(t.dataKey,n,a,o);return s?s.coordinate+r:null}var c=K(a,t.dataKey,t.scale.domain()[o]);if(R(c))return null;var l=t.scale.map(c);return I(l)?l-i/2+r:null},il=e=>{var t=e.numericAxis,n=t.scale.domain();if(t.type===`number`){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},al=e=>{var t=1/0,n=-1/0;for(var r of e.flat(2))I(r)&&(t=Math.min(t,r),n=Math.max(n,r));return[t,n]},ol=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],sl=(e,t,n)=>{if(e!=null&&Object.keys(e).length!==0)return ol(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var o=a.stackedData.reduce((e,r)=>{var i=al(jc(r,t,n));return!G(i[0])||!G(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]))},cl=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ll=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ul=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=va(t,e=>e.coordinate),a=[],o=0,s=1,c=i.length;s<c;s++){var l=(i[s]?.coordinate||0)-(i[s-1]?.coordinate||0);a.push(l),o=Math.max(l,o)}var u=o*1e-4,d=1/0;for(var f of a)f>u&&(d=Math.min(f,d));return d===1/0?0:d}var p=t?.length===1?t[0]:void 0;if(n&&e?.scale!=null&&p!=null){var m=Ic(e.scale.range(),2),h=m[0],g=h===void 0?0:h,_=m[1],v=_===void 0?0:_,y=p.coordinate,b=2*Math.min(Math.abs(y-g),Math.abs(v-y));if(b>0)return b}return n?void 0:0};function dl(e){var t=e.tooltipEntrySettings,n=e.dataKey,r=e.payload,i=e.value,a=e.name;return t.ignoreDataEntryColors,Uc(Uc({},Pc(t,Nc)),{},{dataKey:n,payload:r,value:i,name:a})}function fl(e,t){if(e!=null)return String(e);if(typeof t==`string`)return t}var pl=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},ml=(e,t)=>t===`centric`?e.angle:e.radius,hl=e=>e.layout.width,gl=e=>e.layout.height,_l=e=>e.layout.scale,vl=e=>e.layout.margin,yl=H(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),bl=H(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),xl=`data-recharts-item-index`;function Sl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Sl(Object(n),!0).forEach(function(t){wl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wl(e,t,n){return(t=Tl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){var t=El(e,`string`);return typeof t==`symbol`?t:t+``}function El(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Dl=e=>e.brush.height;function Ol(e){return bl(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function kl(e){return bl(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function Al(e){return yl(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+(typeof t.height==`number`?t.height:30):e,0)}function jl(e){return yl(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+(typeof t.height==`number`?t.height:30):e,0)}var Ml=H([hl,gl,vl,Dl,Ol,kl,Al,jl,ya,ba],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=Cl(Cl({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=qc(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return Cl(Cl({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),Nl=H(Ml,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),Pl=H(hl,gl,(e,t)=>({x:0,y:0,width:e,height:t})),Fl=(0,p.createContext)(null),Il=()=>(0,p.useContext)(Fl)!=null,Ll=e=>e.brush,Rl=H([Ll,Ml,vl],(e,t,n)=>({height:e.height,x:I(e.x)?e.x:t.left,y:I(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:I(e.width)?e.width:t.width}));function zl(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}function Bl(e,t=0,n={}){typeof n!=`object`&&(n={});let{leading:r=!1,trailing:i=!0,maxWait:a}=n,o=[,,];r&&(o[0]=`leading`),i&&(o[1]=`trailing`);let s,c=null,l=zl(function(...t){s=e.apply(this,t),c=null},t,{edges:o}),u=function(...t){return a!=null&&(c===null&&(c=Date.now()),Date.now()-c>=a)?((r||i)&&(s=e.apply(this,t)),c=Date.now(),l.cancel(),l.schedule(),s):(l.apply(this,t),s)};return u.cancel=l.cancel,u.flush=()=>(l.flush(),s),u}function Vl(e,t=0,n={}){let{leading:r=!0,trailing:i=!0}=n;return Bl(e,t,{leading:r,maxWait:t,trailing:i})}var Hl=function(e,t){var n=[...arguments].slice(2);if(typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e)){if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,()=>n[r++]))}}},Ul={width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},Wl=(e,t,n)=>{var r=n.width,i=r===void 0?Ul.width:r,a=n.height,o=a===void 0?Ul.height:a,s=n.aspect,c=n.maxHeight,l=he(i)?e:Number(i),u=he(o)?t:Number(o);return s&&s>0&&(l?u=l/s:u&&(l=u*s),c&&u!=null&&u>c&&(u=c)),{calculatedWidth:l,calculatedHeight:u}},Gl={width:0,height:0,overflow:`visible`},Kl={width:0,overflowX:`visible`},ql={height:0,overflowY:`visible`},Jl={},Yl=e=>{var t=e.width,n=e.height,r=he(t),i=he(n);return r&&i?Gl:r?Kl:i?ql:Jl};function Xl(e){var t=e.width,n=e.height,r=e.aspect,i=t,a=n;return i===void 0&&a===void 0?(i=Ul.width,a=Ul.height):i===void 0?i=r&&r>0?void 0:Ul.width:a===void 0&&(a=r&&r>0?void 0:Ul.height),{width:i,height:a}}var Zl=[`aspect`,`initialDimension`,`width`,`height`,`minWidth`,`minHeight`,`maxHeight`,`children`,`debounce`,`id`,`className`,`onResize`,`style`];function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ql.apply(null,arguments)}function $l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$l(Object(n),!0).forEach(function(t){tu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tu(e,t,n){return(t=nu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){var t=ru(e,`string`);return typeof t==`symbol`?t:t+``}function ru(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function iu(e,t){return lu(e)||cu(e,t)||ou(e,t)||au()}function au(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as e,L as t,T as n}from"./queries-fhKGsTGv.js";import{X as r,dt as i,ft as a,gt as o,ht as s,mt as c,pt as l,ut as u}from"./index-
|
|
1
|
+
import{I as e,L as t,T as n}from"./queries-fhKGsTGv.js";import{X as r,dt as i,ft as a,gt as o,ht as s,mt as c,pt as l,ut as u}from"./index-DlIU4Ie4.js";import{t as d}from"./button-C7t0bIbi.js";e();var f=t();function p({...e}){return(0,f.jsx)(u,{"data-slot":`dialog`,...e})}function m({...e}){return(0,f.jsx)(s,{"data-slot":`dialog-portal`,...e})}function h({className:e,...t}){return(0,f.jsx)(c,{"data-slot":`dialog-overlay`,className:n(`fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0`,e),...t})}function g({className:e,children:t,showCloseButton:o=!0,...s}){return(0,f.jsxs)(m,{children:[(0,f.jsx)(h,{}),(0,f.jsxs)(a,{"data-slot":`dialog-content`,className:n(`fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...s,children:[t,o&&(0,f.jsx)(i,{"data-slot":`dialog-close`,asChild:!0,children:(0,f.jsxs)(d,{variant:`ghost`,className:`absolute top-2 right-2`,size:`icon-sm`,children:[(0,f.jsx)(r,{}),(0,f.jsx)(`span`,{className:`sr-only`,children:`Close`})]})})]})]})}function _({className:e,...t}){return(0,f.jsx)(`div`,{"data-slot":`dialog-header`,className:n(`flex flex-col gap-2`,e),...t})}function v({className:e,showCloseButton:t=!1,children:r,...a}){return(0,f.jsxs)(`div`,{"data-slot":`dialog-footer`,className:n(`-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end`,e),...a,children:[r,t&&(0,f.jsx)(i,{asChild:!0,children:(0,f.jsx)(d,{variant:`outline`,children:`Close`})})]})}function y({className:e,...t}){return(0,f.jsx)(o,{"data-slot":`dialog-title`,className:n(`font-heading text-base leading-none font-medium`,e),...t})}function b({className:e,...t}){return(0,f.jsx)(l,{"data-slot":`dialog-description`,className:n(`text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,e),...t})}export{_ as a,v as i,g as n,y as o,b as r,p as t};
|