@cdc/chart 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdcchart.js +85 -0
- package/examples/age-adjusted-rates.json +1218 -0
- package/examples/case-rate-example-config.json +36 -0
- package/examples/case-rate-example-data.json +33602 -0
- package/examples/covid-confidence-example-config.json +35 -0
- package/examples/covid-example-config.json +36 -0
- package/examples/covid-example-data-confidence.json +32 -0
- package/examples/covid-example-data.json +22 -0
- package/examples/cutoff-example-config.json +36 -0
- package/examples/cutoff-example-data.json +38 -0
- package/examples/date-exclusions-config.json +62 -0
- package/examples/date-exclusions-data.json +162 -0
- package/examples/horizontal-chart.json +35 -0
- package/examples/horizontal-stacked-bar-chart.json +36 -0
- package/examples/line-chart.json +76 -0
- package/examples/paired-bar-data.json +14 -0
- package/examples/paired-bar-example.json +48 -0
- package/examples/paired-bar-formatted.json +37 -0
- package/examples/planet-chart-horizontal-example-config.json +35 -0
- package/examples/planet-combo-example-config.json +31 -0
- package/examples/planet-example-config.json +35 -0
- package/examples/planet-example-data.json +56 -0
- package/examples/planet-pie-example-config.json +28 -0
- package/examples/private/newtest.csv +101 -0
- package/examples/private/test.json +10124 -0
- package/examples/temp-example-config.json +57 -0
- package/examples/temp-example-data.json +130 -0
- package/package.json +9 -8
- package/src/CdcChart.tsx +836 -0
- package/src/components/BarChart.tsx +571 -0
- package/src/components/BarStackVertical.js +0 -0
- package/src/components/DataTable.tsx +229 -0
- package/src/components/EditorPanel.js +1319 -0
- package/src/components/LineChart.tsx +76 -0
- package/src/components/LinearChart.tsx +459 -0
- package/src/components/PairedBarChart.tsx +144 -0
- package/src/components/PieChart.tsx +189 -0
- package/src/components/SparkLine.js +206 -0
- package/src/context.tsx +5 -0
- package/src/data/initial-state.js +61 -0
- package/src/hooks/useActiveElement.js +19 -0
- package/src/hooks/useColorPalette.ts +83 -0
- package/src/hooks/useReduceData.ts +43 -0
- package/src/images/active-checkmark.svg +1 -0
- package/src/images/asc.svg +1 -0
- package/src/images/desc.svg +1 -0
- package/src/images/inactive-checkmark.svg +1 -0
- package/src/images/warning.svg +1 -0
- package/src/index.html +68 -0
- package/src/index.tsx +21 -0
- package/src/scss/DataTable.scss +23 -0
- package/src/scss/LinearChart.scss +0 -0
- package/src/scss/editor-panel.scss +693 -0
- package/src/scss/main.scss +426 -0
- package/src/scss/mixins.scss +0 -0
- package/src/scss/variables.scss +1 -0
package/dist/cdcchart.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.CdcChart=t(require("react"),require("react-dom")):e.CdcChart=t(e.react,e["react-dom"])}(self,(function(e,t){return function(){var n={99127:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizeObserver:function(){return U},ResizeObserverEntry:function(){return k},ResizeObserverSize:function(){return l}});var r,o=[],i="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var a,c=function(e){return Object.freeze(e)},l=function(e,t){this.inlineSize=e,this.blockSize=t,c(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),s=function(e){return e instanceof SVGElement&&"getBBox"in e},p=function(e){if(s(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},d=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},f="undefined"!=typeof window?window:{},h=new WeakMap,m=/auto|scroll/,v=/^tb|vertical/,g=/msie|trident/i.test(f.navigator&&f.navigator.userAgent),b=function(e){return parseFloat(e||"0")},y=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new l((n?t:e)||0,(n?e:t)||0)},x=c({devicePixelContentBoxSize:y(),borderBoxSize:y(),contentBoxSize:y(),contentRect:new u(0,0,0,0)}),_=function(e,t){if(void 0===t&&(t=!1),h.has(e)&&!t)return h.get(e);if(p(e))return h.set(e,x),x;var n=getComputedStyle(e),r=s(e)&&e.ownerSVGElement&&e.getBBox(),o=!g&&"border-box"===n.boxSizing,i=v.test(n.writingMode||""),a=!r&&m.test(n.overflowY||""),l=!r&&m.test(n.overflowX||""),d=r?0:b(n.paddingTop),f=r?0:b(n.paddingRight),_=r?0:b(n.paddingBottom),w=r?0:b(n.paddingLeft),k=r?0:b(n.borderTopWidth),E=r?0:b(n.borderRightWidth),T=r?0:b(n.borderBottomWidth),S=w+f,C=d+_,A=(r?0:b(n.borderLeftWidth))+E,O=k+T,R=l?e.offsetHeight-O-e.clientHeight:0,z=a?e.offsetWidth-A-e.clientWidth:0,P=o?S+A:0,M=o?C+O:0,I=r?r.width:b(n.width)-P-z,N=r?r.height:b(n.height)-M-R,D=I+S+z+A,L=N+C+R+O,B=c({devicePixelContentBoxSize:y(Math.round(I*devicePixelRatio),Math.round(N*devicePixelRatio),i),borderBoxSize:y(D,L,i),contentBoxSize:y(I,N,i),contentRect:new u(w,d,I,N)});return h.set(e,B),B},w=function(e,t,n){var o=_(e,n),i=o.borderBoxSize,a=o.contentBoxSize,c=o.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return c;case r.BORDER_BOX:return i;default:return a}},k=function(e){var t=_(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=c([t.borderBoxSize]),this.contentBoxSize=c([t.contentBoxSize]),this.devicePixelContentBoxSize=c([t.devicePixelContentBoxSize])},E=function(e){if(p(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},T=function(){var e=1/0,t=[];o.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new k(t.target),o=E(t.target);r.push(n),t.lastReportedSize=w(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},S=function(e){o.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(E(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},C=function(){var e,t=0;for(S(t);o.some((function(e){return e.activeTargets.length>0}));)t=T(),S(t);return o.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:i}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=i),window.dispatchEvent(e)),t>0},A=[],O=function(e){if(!a){var t=0,n=document.createTextNode("");new MutationObserver((function(){return A.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),a=function(){n.textContent=""+(t?t--:t++)}}A.push(e),a()},R=0,z={attributes:!0,characterData:!0,childList:!0,subtree:!0},P=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],M=function(e){return void 0===e&&(e=0),Date.now()+e},I=!1,N=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!I){I=!0;var n,r=M(e);n=function(){var n=!1;try{n=C()}finally{if(I=!1,e=r-M(),!R)return;n?t.run(1e3):e>0?t.run(e):t.start()}},O((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,z)};document.body?t():f.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),P.forEach((function(t){return f.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),P.forEach((function(t){return f.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),D=function(e){!R&&e>0&&N.start(),!(R+=e)&&N.stop()},L=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=w(this.target,this.observedBox,!0);return e=this.target,s(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),B=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},j=new WeakMap,F=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},H=function(){function e(){}return e.connect=function(e,t){var n=new B(e,t);j.set(e,n)},e.observe=function(e,t,n){var r=j.get(e),i=0===r.observationTargets.length;F(r.observationTargets,t)<0&&(i&&o.push(r),r.observationTargets.push(new L(t,n&&n.box)),D(1),N.schedule())},e.unobserve=function(e,t){var n=j.get(e),r=F(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&o.splice(o.indexOf(n),1),n.observationTargets.splice(r,1),D(-1))},e.disconnect=function(e){var t=this,n=j.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),U=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");H.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");H.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");H.unobserve(this,e)},e.prototype.disconnect=function(){H.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},70390:function(e,t,n){"use strict";t.Z=d;var r=u(n(13980)),o=u(n(54073)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(69297)),a=n(99127),c=["className","children","debounceTime","ignoreDimensions","parentSizeStyles","enableDebounceLeadingCall"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var p=[];function d(e){var t=e.className,n=e.children,r=e.debounceTime,l=void 0===r?300:r,u=e.ignoreDimensions,d=void 0===u?p:u,f=e.parentSizeStyles,h=void 0===f?{width:"100%",height:"100%"}:f,m=e.enableDebounceLeadingCall,v=void 0===m||m,g=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,c),b=(0,i.useRef)(null),y=(0,i.useRef)(0),x=(0,i.useState)({width:0,height:0,top:0,left:0}),_=x[0],w=x[1],k=(0,i.useMemo)((function(){var e=Array.isArray(d)?d:[d];return(0,o.default)((function(t){w((function(n){return Object.keys(n).filter((function(e){return n[e]!==t[e]})).every((function(t){return e.includes(t)}))?n:t}))}),l,{leading:v})}),[l,v,d]);return(0,i.useEffect)((function(){var e=new a.ResizeObserver((function(e){void 0===e&&(e=[]),e.forEach((function(e){var t=e.contentRect,n=t.left,r=t.top,o=t.width,i=t.height;y.current=window.requestAnimationFrame((function(){k({width:o,height:i,top:r,left:n})}))}))}));return b.current&&e.observe(b.current),function(){window.cancelAnimationFrame(y.current),e.disconnect(),null!=k&&k.cancel&&k.cancel()}}),[k]),i.default.createElement("div",s({style:h,ref:b,className:t},g),n(s({},_,{ref:b.current,resize:k})))}d.propTypes={className:r.default.string,debounceTime:r.default.number,enableDebounceLeadingCall:r.default.bool,ignoreDimensions:r.default.oneOfType([r.default.any,r.default.arrayOf(r.default.any)]),children:r.default.func.isRequired}},33270:function(e,t){"use strict";var n=Math.PI,r=2*n,o=1e-6,i=r-o;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new a}a.prototype=c.prototype={constructor:a,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,i){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(e,t,r,i,a){e=+e,t=+t,r=+r,i=+i,a=+a;var c=this._x1,l=this._y1,u=r-e,s=i-t,p=c-e,d=l-t,f=p*p+d*d;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>o)if(Math.abs(d*u-s*p)>o&&a){var h=r-c,m=i-l,v=u*u+s*s,g=h*h+m*m,b=Math.sqrt(v),y=Math.sqrt(f),x=a*Math.tan((n-Math.acos((v+f-g)/(2*b*y)))/2),_=x/y,w=x/b;Math.abs(_-1)>o&&(this._+="L"+(e+_*p)+","+(t+_*d)),this._+="A"+a+","+a+",0,0,"+ +(d*h>p*m)+","+(this._x1=e+w*u)+","+(this._y1=t+w*s)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,a,c,l,u){e=+e,t=+t,u=!!u;var s=(a=+a)*Math.cos(c),p=a*Math.sin(c),d=e+s,f=t+p,h=1^u,m=u?c-l:l-c;if(a<0)throw new Error("negative radius: "+a);null===this._x1?this._+="M"+d+","+f:(Math.abs(this._x1-d)>o||Math.abs(this._y1-f)>o)&&(this._+="L"+d+","+f),a&&(m<0&&(m=m%r+r),m>i?this._+="A"+a+","+a+",0,1,"+h+","+(e-s)+","+(t-p)+"A"+a+","+a+",0,1,"+h+","+(this._x1=d)+","+(this._y1=f):m>o&&(this._+="A"+a+","+a+",0,"+ +(m>=n)+","+h+","+(this._x1=e+a*Math.cos(l))+","+(this._y1=t+a*Math.sin(l))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.Z=c},29615:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r=Array.prototype.slice},62991:function(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{Z:function(){return r}})},7363:function(e,t,n){"use strict";function r(e){this._context=e}function o(e){return new r(e)}n.d(t,{Z:function(){return o}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&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)}}}},7152:function(e,t,n){"use strict";n.r(t),n.d(t,{arc:function(){return T},area:function(){return O},areaRadial:function(){return B},curveBasis:function(){return be},curveBasisClosed:function(){return xe},curveBasisOpen:function(){return we},curveBundle:function(){return Ee},curveCardinal:function(){return Ce},curveCardinalClosed:function(){return Oe},curveCardinalOpen:function(){return ze},curveCatmullRom:function(){return Ie},curveCatmullRomClosed:function(){return De},curveCatmullRomOpen:function(){return Be},curveLinear:function(){return S.Z},curveLinearClosed:function(){return Fe},curveMonotoneX:function(){return Ze},curveMonotoneY:function(){return Ye},curveNatural:function(){return Je},curveStep:function(){return et},curveStepAfter:function(){return nt},curveStepBefore:function(){return tt},line:function(){return C.Z},lineRadial:function(){return L},linkHorizontal:function(){return K},linkRadial:function(){return Y},linkVertical:function(){return Z},pie:function(){return P},pointRadial:function(){return j},radialArea:function(){return B},radialLine:function(){return L},stack:function(){return rt.Z},stackOffsetDiverging:function(){return it.Z},stackOffsetExpand:function(){return ot.Z},stackOffsetNone:function(){return at.Z},stackOffsetSilhouette:function(){return ct.Z},stackOffsetWiggle:function(){return lt.Z},stackOrderAppearance:function(){return ut.Z},stackOrderAscending:function(){return st.Z},stackOrderDescending:function(){return pt.Z},stackOrderInsideOut:function(){return dt.Z},stackOrderNone:function(){return ft.Z},stackOrderReverse:function(){return ht.Z},symbol:function(){return he},symbolCircle:function(){return $},symbolCross:function(){return X},symbolDiamond:function(){return ee},symbolSquare:function(){return ie},symbolStar:function(){return oe},symbolTriangle:function(){return ce},symbolWye:function(){return de},symbols:function(){return fe}});var r=n(33270),o=n(62991),i=Math.abs,a=Math.atan2,c=Math.cos,l=Math.max,u=Math.min,s=Math.sin,p=Math.sqrt,d=1e-12,f=Math.PI,h=f/2,m=2*f;function v(e){return e>1?0:e<-1?f:Math.acos(e)}function g(e){return e>=1?h:e<=-1?-h:Math.asin(e)}function b(e){return e.innerRadius}function y(e){return e.outerRadius}function x(e){return e.startAngle}function _(e){return e.endAngle}function w(e){return e&&e.padAngle}function k(e,t,n,r,o,i,a,c){var l=n-e,u=r-t,s=a-o,p=c-i,f=p*l-s*u;if(!(f*f<d))return[e+(f=(s*(t-i)-p*(e-o))/f)*l,t+f*u]}function E(e,t,n,r,o,i,a){var c=e-n,u=t-r,s=(a?i:-i)/p(c*c+u*u),d=s*u,f=-s*c,h=e+d,m=t+f,v=n+d,g=r+f,b=(h+v)/2,y=(m+g)/2,x=v-h,_=g-m,w=x*x+_*_,k=o-i,E=h*g-v*m,T=(_<0?-1:1)*p(l(0,k*k*w-E*E)),S=(E*_-x*T)/w,C=(-E*x-_*T)/w,A=(E*_+x*T)/w,O=(-E*x+_*T)/w,R=S-b,z=C-y,P=A-b,M=O-y;return R*R+z*z>P*P+M*M&&(S=A,C=O),{cx:S,cy:C,x01:-d,y01:-f,x11:S*(o/k-1),y11:C*(o/k-1)}}function T(){var e=b,t=y,n=(0,o.Z)(0),l=null,T=x,S=_,C=w,A=null;function O(){var o,b,y=+e.apply(this,arguments),x=+t.apply(this,arguments),_=T.apply(this,arguments)-h,w=S.apply(this,arguments)-h,O=i(w-_),R=w>_;if(A||(A=o=(0,r.Z)()),x<y&&(b=x,x=y,y=b),x>d)if(O>m-d)A.moveTo(x*c(_),x*s(_)),A.arc(0,0,x,_,w,!R),y>d&&(A.moveTo(y*c(w),y*s(w)),A.arc(0,0,y,w,_,R));else{var z,P,M=_,I=w,N=_,D=w,L=O,B=O,j=C.apply(this,arguments)/2,F=j>d&&(l?+l.apply(this,arguments):p(y*y+x*x)),H=u(i(x-y)/2,+n.apply(this,arguments)),U=H,G=H;if(F>d){var W=g(F/y*s(j)),q=g(F/x*s(j));(L-=2*W)>d?(N+=W*=R?1:-1,D-=W):(L=0,N=D=(_+w)/2),(B-=2*q)>d?(M+=q*=R?1:-1,I-=q):(B=0,M=I=(_+w)/2)}var V=x*c(M),K=x*s(M),Z=y*c(D),Y=y*s(D);if(H>d){var $,X=x*c(I),J=x*s(I),Q=y*c(N),ee=y*s(N);if(O<f&&($=k(V,K,Q,ee,X,J,Z,Y))){var te=V-$[0],ne=K-$[1],re=X-$[0],oe=J-$[1],ie=1/s(v((te*re+ne*oe)/(p(te*te+ne*ne)*p(re*re+oe*oe)))/2),ae=p($[0]*$[0]+$[1]*$[1]);U=u(H,(y-ae)/(ie-1)),G=u(H,(x-ae)/(ie+1))}}B>d?G>d?(z=E(Q,ee,V,K,x,G,R),P=E(X,J,Z,Y,x,G,R),A.moveTo(z.cx+z.x01,z.cy+z.y01),G<H?A.arc(z.cx,z.cy,G,a(z.y01,z.x01),a(P.y01,P.x01),!R):(A.arc(z.cx,z.cy,G,a(z.y01,z.x01),a(z.y11,z.x11),!R),A.arc(0,0,x,a(z.cy+z.y11,z.cx+z.x11),a(P.cy+P.y11,P.cx+P.x11),!R),A.arc(P.cx,P.cy,G,a(P.y11,P.x11),a(P.y01,P.x01),!R))):(A.moveTo(V,K),A.arc(0,0,x,M,I,!R)):A.moveTo(V,K),y>d&&L>d?U>d?(z=E(Z,Y,X,J,y,-U,R),P=E(V,K,Q,ee,y,-U,R),A.lineTo(z.cx+z.x01,z.cy+z.y01),U<H?A.arc(z.cx,z.cy,U,a(z.y01,z.x01),a(P.y01,P.x01),!R):(A.arc(z.cx,z.cy,U,a(z.y01,z.x01),a(z.y11,z.x11),!R),A.arc(0,0,y,a(z.cy+z.y11,z.cx+z.x11),a(P.cy+P.y11,P.cx+P.x11),R),A.arc(P.cx,P.cy,U,a(P.y11,P.x11),a(P.y01,P.x01),!R))):A.arc(0,0,y,D,N,R):A.lineTo(Z,Y)}else A.moveTo(0,0);if(A.closePath(),o)return A=null,o+""||null}return O.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+T.apply(this,arguments)+ +S.apply(this,arguments))/2-f/2;return[c(r)*n,s(r)*n]},O.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(+t),O):e},O.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.Z)(+e),O):t},O.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.Z)(+e),O):n},O.padRadius=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,o.Z)(+e),O):l},O.startAngle=function(e){return arguments.length?(T="function"==typeof e?e:(0,o.Z)(+e),O):T},O.endAngle=function(e){return arguments.length?(S="function"==typeof e?e:(0,o.Z)(+e),O):S},O.padAngle=function(e){return arguments.length?(C="function"==typeof e?e:(0,o.Z)(+e),O):C},O.context=function(e){return arguments.length?(A=null==e?null:e,O):A},O}var S=n(7363),C=n(22932),A=n(42317);function O(){var e=A.x,t=null,n=(0,o.Z)(0),i=A.y,a=(0,o.Z)(!0),c=null,l=S.Z,u=null;function s(o){var s,p,d,f,h,m=o.length,v=!1,g=new Array(m),b=new Array(m);for(null==c&&(u=l(h=(0,r.Z)())),s=0;s<=m;++s){if(!(s<m&&a(f=o[s],s,o))===v)if(v=!v)p=s,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),d=s-1;d>=p;--d)u.point(g[d],b[d]);u.lineEnd(),u.areaEnd()}v&&(g[s]=+e(f,s,o),b[s]=+n(f,s,o),u.point(t?+t(f,s,o):g[s],i?+i(f,s,o):b[s]))}if(h)return u=null,h+""||null}function p(){return(0,C.Z)().defined(a).curve(l).context(c)}return s.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,o.Z)(+n),t=null,s):e},s.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(+t),s):e},s.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,o.Z)(+e),s):t},s.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.Z)(+e),i=null,s):n},s.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.Z)(+e),s):n},s.y1=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:(0,o.Z)(+e),s):i},s.lineX0=s.lineY0=function(){return p().x(e).y(n)},s.lineY1=function(){return p().x(e).y(i)},s.lineX1=function(){return p().x(t).y(n)},s.defined=function(e){return arguments.length?(a="function"==typeof e?e:(0,o.Z)(!!e),s):a},s.curve=function(e){return arguments.length?(l=e,null!=c&&(u=l(c)),s):l},s.context=function(e){return arguments.length?(null==e?c=u=null:u=l(c=e),s):c},s}function R(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function z(e){return e}function P(){var e=z,t=R,n=null,r=(0,o.Z)(0),i=(0,o.Z)(m),a=(0,o.Z)(0);function c(o){var c,l,u,s,p,d=o.length,f=0,h=new Array(d),v=new Array(d),g=+r.apply(this,arguments),b=Math.min(m,Math.max(-m,i.apply(this,arguments)-g)),y=Math.min(Math.abs(b)/d,a.apply(this,arguments)),x=y*(b<0?-1:1);for(c=0;c<d;++c)(p=v[h[c]=c]=+e(o[c],c,o))>0&&(f+=p);for(null!=t?h.sort((function(e,n){return t(v[e],v[n])})):null!=n&&h.sort((function(e,t){return n(o[e],o[t])})),c=0,u=f?(b-d*x)/f:0;c<d;++c,g=s)l=h[c],s=g+((p=v[l])>0?p*u:0)+x,v[l]={data:o[l],index:c,value:p,startAngle:g,endAngle:s,padAngle:y};return v}return c.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(+t),c):e},c.sortValues=function(e){return arguments.length?(t=e,n=null,c):t},c.sort=function(e){return arguments.length?(n=e,t=null,c):n},c.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.Z)(+e),c):r},c.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:(0,o.Z)(+e),c):i},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:(0,o.Z)(+e),c):a},c}var M=N(S.Z);function I(e){this._curve=e}function N(e){function t(t){return new I(e(t))}return t._curve=e,t}function D(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(N(e)):t()._curve},e}function L(){return D((0,C.Z)().curve(M))}function B(){var e=O().curve(M),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,i=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return D(n())},delete e.lineX0,e.lineEndAngle=function(){return D(r())},delete e.lineX1,e.lineInnerRadius=function(){return D(o())},delete e.lineY0,e.lineOuterRadius=function(){return D(i())},delete e.lineY1,e.curve=function(e){return arguments.length?t(N(e)):t()._curve},e}function j(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}I.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))}};var F=n(29615);function H(e){return e.source}function U(e){return e.target}function G(e){var t=H,n=U,i=A.x,a=A.y,c=null;function l(){var o,l=F.t.call(arguments),u=t.apply(this,l),s=n.apply(this,l);if(c||(c=o=(0,r.Z)()),e(c,+i.apply(this,(l[0]=u,l)),+a.apply(this,l),+i.apply(this,(l[0]=s,l)),+a.apply(this,l)),o)return c=null,o+""||null}return l.source=function(e){return arguments.length?(t=e,l):t},l.target=function(e){return arguments.length?(n=e,l):n},l.x=function(e){return arguments.length?(i="function"==typeof e?e:(0,o.Z)(+e),l):i},l.y=function(e){return arguments.length?(a="function"==typeof e?e:(0,o.Z)(+e),l):a},l.context=function(e){return arguments.length?(c=null==e?null:e,l):c},l}function W(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,o,r,o)}function q(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+o)/2,r,n,r,o)}function V(e,t,n,r,o){var i=j(t,n),a=j(t,n=(n+o)/2),c=j(r,n),l=j(r,o);e.moveTo(i[0],i[1]),e.bezierCurveTo(a[0],a[1],c[0],c[1],l[0],l[1])}function K(){return G(W)}function Z(){return G(q)}function Y(){var e=G(V);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var $={draw:function(e,t){var n=Math.sqrt(t/f);e.moveTo(n,0),e.arc(0,0,n,0,m)}},X={draw:function(e,t){var n=Math.sqrt(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()}},J=Math.sqrt(1/3),Q=2*J,ee={draw:function(e,t){var n=Math.sqrt(t/Q),r=n*J;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},te=Math.sin(f/10)/Math.sin(7*f/10),ne=Math.sin(m/10)*te,re=-Math.cos(m/10)*te,oe={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=ne*n,o=re*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=m*i/5,c=Math.cos(a),l=Math.sin(a);e.lineTo(l*n,-c*n),e.lineTo(c*r-l*o,l*r+c*o)}e.closePath()}},ie={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},ae=Math.sqrt(3),ce={draw:function(e,t){var n=-Math.sqrt(t/(3*ae));e.moveTo(0,2*n),e.lineTo(-ae*n,-n),e.lineTo(ae*n,-n),e.closePath()}},le=-.5,ue=Math.sqrt(3)/2,se=1/Math.sqrt(12),pe=3*(se/2+1),de={draw:function(e,t){var n=Math.sqrt(t/pe),r=n/2,o=n*se,i=r,a=n*se+n,c=-i,l=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(c,l),e.lineTo(le*r-ue*o,ue*r+le*o),e.lineTo(le*i-ue*a,ue*i+le*a),e.lineTo(le*c-ue*l,ue*c+le*l),e.lineTo(le*r+ue*o,le*o-ue*r),e.lineTo(le*i+ue*a,le*a-ue*i),e.lineTo(le*c+ue*l,le*l-ue*c),e.closePath()}},fe=[$,X,ee,ie,oe,ce,de];function he(){var e=(0,o.Z)($),t=(0,o.Z)(64),n=null;function i(){var o;if(n||(n=o=(0,r.Z)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return i.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.Z)(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i}function me(){}function ve(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 ge(e){this._context=e}function be(e){return new ge(e)}function ye(e){this._context=e}function xe(e){return new ye(e)}function _e(e){this._context=e}function we(e){return new _e(e)}function ke(e,t){this._basis=new ge(e),this._beta=t}ge.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:ve(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&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:ve(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ye.prototype={areaStart:me,areaEnd:me,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:ve(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},_e.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||0!==this._line&&3===this._point)&&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:ve(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ke.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,o=e[0],i=t[0],a=e[n]-o,c=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*a),this._beta*t[l]+(1-this._beta)*(i+r*c));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Ee=function e(t){function n(e){return 1===t?new ge(e):new ke(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Te(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 Se(e,t){this._context=e,this._k=(1-t)/6}Se.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:Te(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&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:Te(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}};var Ce=function e(t){function n(e){return new Se(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ae(e,t){this._context=e,this._k=(1-t)/6}Ae.prototype={areaStart:me,areaEnd:me,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:Te(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}};var Oe=function e(t){function n(e){return new Ae(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Re(e,t){this._context=e,this._k=(1-t)/6}Re.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||0!==this._line&&3===this._point)&&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:Te(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}};var ze=function e(t){function n(e){return new Re(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t,n){var r=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>d){var c=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*c-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*c-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>d){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(r,o,i,a,e._x2,e._y2)}function Me(e,t){this._context=e,this._alpha=t}Me.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||0!==this._line&&1===this._point)&&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=Math.pow(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:Pe(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}};var Ie=function e(t){function n(e){return t?new Me(e,t):new Se(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ne(e,t){this._context=e,this._alpha=t}Ne.prototype={areaStart:me,areaEnd:me,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=Math.pow(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:Pe(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}};var De=function e(t){function n(e){return t?new Ne(e,t):new Ae(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Le(e,t){this._context=e,this._alpha=t}Le.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||0!==this._line&&3===this._point)&&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=Math.pow(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:Pe(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}};var Be=function e(t){function n(e){return t?new Le(e,t):new Re(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function je(e){this._context=e}function Fe(e){return new je(e)}function He(e){return e<0?-1:1}function Ue(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),c=(i*o+a*r)/(r+o);return(He(i)+He(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(c))||0}function Ge(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function We(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,c=(i-r)/3;e._context.bezierCurveTo(r+c,o+c*t,i-c,a-c*n,i,a)}function qe(e){this._context=e}function Ve(e){this._context=new Ke(e)}function Ke(e){this._context=e}function Ze(e){return new qe(e)}function Ye(e){return new Ve(e)}function $e(e){this._context=e}function Xe(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function Je(e){return new $e(e)}function Qe(e,t){this._context=e,this._t=t}function et(e){return new Qe(e,.5)}function tt(e){return new Qe(e,0)}function nt(e){return new Qe(e,1)}je.prototype={areaStart:me,areaEnd:me,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))}},qe.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:We(this,this._t0,Ge(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+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,We(this,Ge(this,n=Ue(this,e,t)),n);break;default:We(this,this._t0,n=Ue(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Ve.prototype=Object.create(qe.prototype)).point=function(e,t){qe.prototype.point.call(this,t,e)},Ke.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,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},$e.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]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Xe(e),o=Xe(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&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)}},Qe.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&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&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}};var rt=n(20281),ot=n(37598),it=n(18750),at=n(81341),ct=n(22196),lt=n(32362),ut=n(774),st=n(78335),pt=n(80937),dt=n(9790),ft=n(45922),ht=n(83771)},22932:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(33270),o=n(62991),i=n(7363),a=n(42317);function c(){var e=a.x,t=a.y,n=(0,o.Z)(!0),c=null,l=i.Z,u=null;function s(o){var i,a,s,p=o.length,d=!1;for(null==c&&(u=l(s=(0,r.Z)())),i=0;i<=p;++i)!(i<p&&n(a=o[i],i,o))===d&&((d=!d)?u.lineStart():u.lineEnd()),d&&u.point(+e(a,i,o),+t(a,i,o));if(s)return u=null,s+""||null}return s.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.Z)(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.Z)(!!e),s):n},s.curve=function(e){return arguments.length?(l=e,null!=c&&(u=l(c)),s):l},s.context=function(e){return arguments.length?(null==e?c=u=null:u=l(c=e),s):c},s}},18750:function(e,t,n){"use strict";function r(e,t){if((c=e.length)>0)for(var n,r,o,i,a,c,l=0,u=e[t[0]].length;l<u;++l)for(i=a=0,n=0;n<c;++n)(o=(r=e[t[n]][l])[1]-r[0])>0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)}n.d(t,{Z:function(){return r}})},37598:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(81341);function o(e,t){if((o=e.length)>0){for(var n,o,i,a=0,c=e[0].length;a<c;++a){for(i=n=0;n<o;++n)i+=e[n][a][1]||0;if(i)for(n=0;n<o;++n)e[n][a][1]/=i}(0,r.Z)(e,t)}}},81341:function(e,t,n){"use strict";function r(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],c=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<c;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}n.d(t,{Z:function(){return r}})},22196:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(81341);function o(e,t){if((n=e.length)>0){for(var n,o=0,i=e[t[0]],a=i.length;o<a;++o){for(var c=0,l=0;c<n;++c)l+=e[c][o][1]||0;i[o][1]+=i[o][0]=-l/2}(0,r.Z)(e,t)}}},32362:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(81341);function o(e,t){if((i=e.length)>0&&(o=(n=e[t[0]]).length)>0){for(var n,o,i,a=0,c=1;c<o;++c){for(var l=0,u=0,s=0;l<i;++l){for(var p=e[t[l]],d=p[c][1]||0,f=(d-(p[c-1][1]||0))/2,h=0;h<l;++h){var m=e[t[h]];f+=(m[c][1]||0)-(m[c-1][1]||0)}u+=d,s+=f*d}n[c-1][1]+=n[c-1][0]=a,u&&(a-=s/u)}n[c-1][1]+=n[c-1][0]=a,(0,r.Z)(e,t)}}},774:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(45922);function o(e){var t=e.map(i);return(0,r.Z)(e).sort((function(e,n){return t[e]-t[n]}))}function i(e){for(var t,n=-1,r=0,o=e.length,i=-1/0;++n<o;)(t=+e[n][1])>i&&(i=t,r=n);return r}},78335:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},S:function(){return i}});var r=n(45922);function o(e){var t=e.map(i);return(0,r.Z)(e).sort((function(e,n){return t[e]-t[n]}))}function i(e){for(var t,n=0,r=-1,o=e.length;++r<o;)(t=+e[r][1])&&(n+=t);return n}},80937:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(78335);function o(e){return(0,r.Z)(e).reverse()}},9790:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(774),o=n(78335);function i(e){var t,n,i=e.length,a=e.map(o.S),c=(0,r.Z)(e),l=0,u=0,s=[],p=[];for(t=0;t<i;++t)n=c[t],l<u?(l+=a[n],s.push(n)):(u+=a[n],p.push(n));return p.reverse().concat(s)}},45922:function(e,t,n){"use strict";function r(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}n.d(t,{Z:function(){return r}})},83771:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(45922);function o(e){return(0,r.Z)(e).reverse()}},42317:function(e,t,n){"use strict";function r(e){return e[0]}function o(e){return e[1]}n.d(t,{x:function(){return r},y:function(){return o}})},20281:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(29615),o=n(62991),i=n(81341),a=n(45922);function c(e,t){return e[t]}function l(){var e=(0,o.Z)([]),t=a.Z,n=i.Z,l=c;function u(r){var o,i,a=e.apply(this,arguments),c=r.length,u=a.length,s=new Array(u);for(o=0;o<u;++o){for(var p,d=a[o],f=s[o]=new Array(c),h=0;h<c;++h)f[h]=p=[0,+l(r[h],d,h,r)],p.data=r[h];f.key=d}for(o=0,i=t(s);o<u;++o)s[i[o]].index=o;return n(s,i),s}return u.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(r.t.call(t)),u):e},u.value=function(e){return arguments.length?(l="function"==typeof e?e:(0,o.Z)(+e),u):l},u.order=function(e){return arguments.length?(t=null==e?a.Z:"function"==typeof e?e:(0,o.Z)(r.t.call(e)),u):t},u.offset=function(e){return arguments.length?(n=null==e?i.Z:e,u):n},u}},77111:function(e,t,n){var r=n(9859),o=n(26733),i=n(59821),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},57988:function(e,t,n){var r=n(9859),o=n(82359),i=n(59821),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},88505:function(e,t,n){var r=n(9859),o=n(26733),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},9736:function(e,t,n){var r=n(70095),o=n(22391),i=n(31787),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},36637:function(e,t,n){"use strict";var r=n(30966).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},57728:function(e,t,n){var r=n(9859),o=n(91321),i=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},21176:function(e,t,n){var r=n(9859),o=n(85052),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},53339:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},92460:function(e,t,n){var r=n(24229);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},9918:function(e,t,n){"use strict";var r,o,i,a=n(53339),c=n(7400),l=n(9859),u=n(26733),s=n(85052),p=n(98270),d=n(81589),f=n(59821),h=n(75762),m=n(14768),v=n(31787).f,g=n(91321),b=n(67567),y=n(56540),x=n(70095),_=n(81441),w=l.Int8Array,k=w&&w.prototype,E=l.Uint8ClampedArray,T=E&&E.prototype,S=w&&b(w),C=k&&b(k),A=Object.prototype,O=l.TypeError,R=x("toStringTag"),z=_("TYPED_ARRAY_TAG"),P=_("TYPED_ARRAY_CONSTRUCTOR"),M=a&&!!y&&"Opera"!==d(l.opera),I=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},L=function(e){if(!s(e))return!1;var t=d(e);return p(N,t)||p(D,t)};for(r in N)(i=(o=l[r])&&o.prototype)?h(i,P,o):M=!1;for(r in D)(i=(o=l[r])&&o.prototype)&&h(i,P,o);if((!M||!u(S)||S===Function.prototype)&&(S=function(){throw O("Incorrect invocation")},M))for(r in N)l[r]&&y(l[r],S);if((!M||!C||C===A)&&(C=S.prototype,M))for(r in N)l[r]&&y(l[r].prototype,C);if(M&&b(T)!==C&&y(T,C),c&&!p(C,R))for(r in I=!0,v(C,R,{get:function(){return s(this)?this[z]:void 0}}),N)l[r]&&h(l[r],z,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:P,TYPED_ARRAY_TAG:I&&z,aTypedArray:function(e){if(L(e))return e;throw O("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!y||g(S,e)))return e;throw O(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(c){if(n)for(var o in N){var i=l[o];if(i&&p(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}C[e]&&!n||m(C,e,n?t:M&&k[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(c){if(y){if(n)for(r in N)if((o=l[r])&&p(o,e))try{delete o[e]}catch(e){}if(S[e]&&!n)return;try{return m(S,e,n?t:M&&S[e]||t)}catch(e){}}for(r in N)!(o=l[r])||o[e]&&!n||m(o,e,t)}},isView:function(e){if(!s(e))return!1;var t=d(e);return"DataView"===t||p(N,t)||p(D,t)},isTypedArray:L,TypedArray:S,TypedArrayPrototype:C}},53816:function(e,t,n){"use strict";var r=n(9859),o=n(65968),i=n(7400),a=n(53339),c=n(51805),l=n(75762),u=n(8312),s=n(24229),p=n(57728),d=n(43329),f=n(34237),h=n(7331),m=n(56201),v=n(67567),g=n(56540),b=n(78151).f,y=n(31787).f,x=n(97065),_=n(69794),w=n(54555),k=n(56407),E=c.PROPER,T=c.CONFIGURABLE,S=k.get,C=k.set,A="ArrayBuffer",O="DataView",R="Wrong index",z=r.ArrayBuffer,P=z,M=P&&P.prototype,I=r.DataView,N=I&&I.prototype,D=Object.prototype,L=r.Array,B=r.RangeError,j=o(x),F=o([].reverse),H=m.pack,U=m.unpack,G=function(e){return[255&e]},W=function(e){return[255&e,e>>8&255]},q=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},V=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},K=function(e){return H(e,23,4)},Z=function(e){return H(e,52,8)},Y=function(e,t){y(e.prototype,t,{get:function(){return S(this)[t]}})},$=function(e,t,n,r){var o=h(n),i=S(e);if(o+t>i.byteLength)throw B(R);var a=S(i.buffer).bytes,c=o+i.byteOffset,l=_(a,c,c+t);return r?l:F(l)},X=function(e,t,n,r,o,i){var a=h(n),c=S(e);if(a+t>c.byteLength)throw B(R);for(var l=S(c.buffer).bytes,u=a+c.byteOffset,s=r(+o),p=0;p<t;p++)l[u+p]=s[i?p:t-p-1]};if(a){var J=E&&z.name!==A;if(s((function(){z(1)}))&&s((function(){new z(-1)}))&&!s((function(){return new z,new z(1.5),new z(NaN),J&&!T})))J&&T&&l(z,"name",A);else{(P=function(e){return p(this,M),new z(h(e))}).prototype=M;for(var Q,ee=b(z),te=0;ee.length>te;)(Q=ee[te++])in P||l(P,Q,z[Q]);M.constructor=P}g&&v(N)!==D&&g(N,D);var ne=new I(new P(2)),re=o(N.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||u(N,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else M=(P=function(e){p(this,M);var t=h(e);C(this,{bytes:j(L(t),0),byteLength:t}),i||(this.byteLength=t)}).prototype,N=(I=function(e,t,n){p(this,N),p(e,M);var r=S(e).byteLength,o=d(t);if(o<0||o>r)throw B("Wrong offset");if(o+(n=void 0===n?r-o:f(n))>r)throw B("Wrong length");C(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)}).prototype,i&&(Y(P,"byteLength"),Y(I,"buffer"),Y(I,"byteLength"),Y(I,"byteOffset")),u(N,{getInt8:function(e){return $(this,1,e)[0]<<24>>24},getUint8:function(e){return $(this,1,e)[0]},getInt16:function(e){var t=$(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=$(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return V($(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return V($(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return U($(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return U($(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){X(this,1,e,G,t)},setUint8:function(e,t){X(this,1,e,G,t)},setInt16:function(e,t){X(this,2,e,W,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){X(this,2,e,W,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){X(this,4,e,q,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){X(this,4,e,q,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){X(this,4,e,K,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){X(this,8,e,Z,t,arguments.length>2?arguments[2]:void 0)}});w(P,A),w(I,O),e.exports={ArrayBuffer:P,DataView:I}},77154:function(e,t,n){"use strict";var r=n(92991),o=n(43231),i=n(39646),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),c=i(n),l=o(e,c),u=o(t,c),s=arguments.length>2?arguments[2]:void 0,p=a((void 0===s?c:o(s,c))-u,c-l),d=1;for(u<l&&l<u+p&&(d=-1,u+=p-1,l+=p-1);p-- >0;)u in n?n[l]=n[u]:delete n[l],l+=d,u+=d;return n}},97065:function(e,t,n){"use strict";var r=n(92991),o=n(43231),i=n(39646);e.exports=function(e){for(var t=r(this),n=i(t),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:o(l,n);u>c;)t[c++]=e;return t}},86570:function(e,t,n){"use strict";var r=n(89996).forEach,o=n(96038)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},41253:function(e,t,n){var r=n(39646);e.exports=function(e,t){for(var n=0,o=r(t),i=new e(o);o>n;)i[n]=t[n++];return i}},10507:function(e,t,n){"use strict";var r=n(9859),o=n(97636),i=n(20266),a=n(92991),c=n(64960),l=n(91943),u=n(82359),s=n(39646),p=n(62324),d=n(28403),f=n(78830),h=r.Array;e.exports=function(e){var t=a(e),n=u(this),r=arguments.length,m=r>1?arguments[1]:void 0,v=void 0!==m;v&&(m=o(m,r>2?arguments[2]:void 0));var g,b,y,x,_,w,k=f(t),E=0;if(!k||this==h&&l(k))for(g=s(t),b=n?new this(g):h(g);g>E;E++)w=v?m(t[E],E):t[E],p(b,E,w);else for(_=(x=d(t,k)).next,b=n?new this:[];!(y=i(_,x)).done;E++)w=v?c(x,m,[y.value,E],!0):y.value,p(b,E,w);return b.length=E,b}},19540:function(e,t,n){var r=n(10905),o=n(43231),i=n(39646),a=function(e){return function(t,n,a){var c,l=r(t),u=i(l),s=o(a,u);if(e&&n!=n){for(;u>s;)if((c=l[s++])!=c)return!0}else for(;u>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},89996:function(e,t,n){var r=n(97636),o=n(65968),i=n(9337),a=n(92991),c=n(39646),l=n(87501),u=o([].push),s=function(e){var t=1==e,n=2==e,o=3==e,s=4==e,p=6==e,d=7==e,f=5==e||p;return function(h,m,v,g){for(var b,y,x=a(h),_=i(x),w=r(m,v),k=c(_),E=0,T=g||l,S=t?T(h,k):n||d?T(h,0):void 0;k>E;E++)if((f||E in _)&&(y=w(b=_[E],E,x),e))if(t)S[E]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return E;case 2:u(S,b)}else switch(e){case 4:return!1;case 7:u(S,b)}return p?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},86462:function(e,t,n){"use strict";var r=n(53171),o=n(10905),i=n(43329),a=n(39646),c=n(96038),l=Math.min,u=[].lastIndexOf,s=!!u&&1/[1].lastIndexOf(1,-0)<0,p=c("lastIndexOf"),d=s||!p;e.exports=d?function(e){if(s)return r(u,this,arguments)||0;var t=o(this),n=a(t),c=n-1;for(arguments.length>1&&(c=l(c,i(arguments[1]))),c<0&&(c=n+c);c>=0;c--)if(c in t&&t[c]===e)return c||0;return-1}:u},31460:function(e,t,n){var r=n(24229),o=n(70095),i=n(6358),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},96038:function(e,t,n){"use strict";var r=n(24229);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},43143:function(e,t,n){var r=n(9859),o=n(77111),i=n(92991),a=n(9337),c=n(39646),l=r.TypeError,u=function(e){return function(t,n,r,u){o(n);var s=i(t),p=a(s),d=c(s),f=e?d-1:0,h=e?-1:1;if(r<2)for(;;){if(f in p){u=p[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw l("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in p&&(u=n(u,p[f],f,s));return u}};e.exports={left:u(!1),right:u(!0)}},69794:function(e,t,n){var r=n(9859),o=n(43231),i=n(39646),a=n(62324),c=r.Array,l=Math.max;e.exports=function(e,t,n){for(var r=i(e),u=o(t,r),s=o(void 0===n?r:n,r),p=c(l(s-u,0)),d=0;u<s;u++,d++)a(p,d,e[u]);return p.length=d,p}},1909:function(e,t,n){var r=n(65968);e.exports=r([].slice)},33867:function(e,t,n){var r=n(69794),o=Math.floor,i=function(e,t){var n=e.length,l=o(n/2);return n<8?a(e,t):c(e,i(r(e,0,l),t),i(r(e,l),t),t)},a=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},c=function(e,t,n,r){for(var o=t.length,i=n.length,a=0,c=0;a<o||c<i;)e[a+c]=a<o&&c<i?r(t[a],n[c])<=0?t[a++]:n[c++]:a<o?t[a++]:n[c++];return e};e.exports=i},18760:function(e,t,n){var r=n(9859),o=n(33718),i=n(82359),a=n(85052),c=n(70095)("species"),l=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(i(t)&&(t===l||o(t.prototype))||a(t)&&null===(t=t[c]))&&(t=void 0)),void 0===t?l:t}},87501:function(e,t,n){var r=n(18760);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},17291:function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n={},r=0;r<66;r++)n[t.charAt(r)]=r;e.exports={itoc:t,ctoi:n}},64960:function(e,t,n){var r=n(21176),o=n(57281);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},74575:function(e,t,n){var r=n(70095)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},27079:function(e,t,n){var r=n(65968),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},81589:function(e,t,n){var r=n(9859),o=n(71601),i=n(26733),a=n(27079),c=n(70095)("toStringTag"),l=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),c))?n:u?a(t):"Object"==(r=a(t))&&i(t.callee)?"Arguments":r}},71590:function(e,t,n){var r=n(65968),o=Error,i=r("".replace),a=String(o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,l=c.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},98081:function(e,t,n){"use strict";var r=n(31787).f,o=n(22391),i=n(8312),a=n(97636),c=n(57728),l=n(89003),u=n(67675),s=n(71832),p=n(7400),d=n(95926).fastKey,f=n(56407),h=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,n,u){var s=e((function(e,r){c(e,f),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=r&&l(r,e[u],{that:e,AS_ENTRIES:n})})),f=s.prototype,v=m(t),g=function(e,t,n){var r,o,i=v(e),a=b(e,t);return a?a.value=n:(i.last=a={index:o=d(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),p?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var n,r=v(e),o=d(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(f,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=b(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(f,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),p&&r(f,"size",{get:function(){return v(this).size}}),s},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);u(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},34945:function(e,t,n){"use strict";var r=n(65968),o=n(8312),i=n(95926).getWeakData,a=n(21176),c=n(85052),l=n(57728),u=n(89003),s=n(89996),p=n(98270),d=n(56407),f=d.set,h=d.getterFor,m=s.find,v=s.findIndex,g=r([].splice),b=0,y=function(e){return e.frozen||(e.frozen=new x)},x=function(){this.entries=[]},_=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};x.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&g(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var s=e((function(e,o){l(e,d),f(e,{type:t,id:b++,frozen:void 0}),null!=o&&u(o,e[r],{that:e,AS_ENTRIES:n})})),d=s.prototype,m=h(t),v=function(e,t,n){var r=m(e),o=i(a(t),!0);return!0===o?y(r).set(t,n):o[r.id]=n,e};return o(d,{delete:function(e){var t=m(this);if(!c(e))return!1;var n=i(e);return!0===n?y(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!c(e))return!1;var n=i(e);return!0===n?y(t).has(e):n&&p(n,t.id)}}),o(d,n?{get:function(e){var t=m(this);if(c(e)){var n=i(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),s}}},69789:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(65968),a=n(46541),c=n(14768),l=n(95926),u=n(89003),s=n(57728),p=n(26733),d=n(85052),f=n(24229),h=n(74575),m=n(54555),v=n(20835);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=g?"set":"add",x=o[e],_=x&&x.prototype,w=x,k={},E=function(e){var t=i(_[e]);c(_,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!d(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!d(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!d(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!p(x)||!(b||_.forEach&&!f((function(){(new x).entries().next()})))))w=n.getConstructor(t,e,g,y),l.enable();else if(a(e,!0)){var T=new w,S=T[y](b?{}:-0,1)!=T,C=f((function(){T.has(1)})),A=h((function(e){new x(e)})),O=!b&&f((function(){for(var e=new x,t=5;t--;)e[y](t,t);return!e.has(-0)}));A||((w=t((function(e,t){s(e,_);var n=v(new x,e,w);return null!=t&&u(t,n[y],{that:n,AS_ENTRIES:g}),n}))).prototype=_,_.constructor=w),(C||O)&&(E("delete"),E("has"),g&&E("get")),(O||S)&&E(y),b&&_.clear&&delete _.clear}return k[e]=w,r({global:!0,forced:w!=x},k),m(w,e),b||n.setStrong(w,e,g),w}},77081:function(e,t,n){var r=n(98270),o=n(4826),i=n(97933),a=n(31787);e.exports=function(e,t,n){for(var c=o(t),l=a.f,u=i.f,s=0;s<c.length;s++){var p=c[s];r(e,p)||n&&r(n,p)||l(e,p,u(t,p))}}},48127:function(e,t,n){var r=n(70095)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},27528:function(e,t,n){var r=n(24229);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},81720:function(e,t,n){var r=n(65968),o=n(58885),i=n(83326),a=/"/g,c=r("".replace);e.exports=function(e,t,n,r){var l=i(o(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+c(i(r),a,""")+'"'),u+">"+l+"</"+t+">"}},93723:function(e,t,n){"use strict";var r=n(60693).IteratorPrototype,o=n(22391),i=n(65358),a=n(54555),c=n(45495),l=function(){return this};e.exports=function(e,t,n,u){var s=t+" Iterator";return e.prototype=o(r,{next:i(+!u,n)}),a(e,s,!1,!0),c[s]=l,e}},75762:function(e,t,n){var r=n(7400),o=n(31787),i=n(65358);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},65358:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},62324:function(e,t,n){"use strict";var r=n(39310),o=n(31787),i=n(65358);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},26966:function(e,t,n){"use strict";var r=n(9859),o=n(65968),i=n(24229),a=n(46650).start,c=r.RangeError,l=Math.abs,u=Date.prototype,s=u.toISOString,p=o(u.getTime),d=o(u.getUTCDate),f=o(u.getUTCFullYear),h=o(u.getUTCHours),m=o(u.getUTCMilliseconds),v=o(u.getUTCMinutes),g=o(u.getUTCMonth),b=o(u.getUTCSeconds);e.exports=i((function(){return"0385-07-25T07:06:39.999Z"!=s.call(new Date(-50000000000001))}))||!i((function(){s.call(new Date(NaN))}))?function(){if(!isFinite(p(this)))throw c("Invalid time value");var e=this,t=f(e),n=m(e),r=t<0?"-":t>9999?"+":"";return r+a(l(t),r?6:4,0)+"-"+a(g(e)+1,2,0)+"-"+a(d(e),2,0)+"T"+a(h(e),2,0)+":"+a(v(e),2,0)+":"+a(b(e),2,0)+"."+a(n,3,0)+"Z"}:s},19778:function(e,t,n){"use strict";var r=n(9859),o=n(21176),i=n(32914),a=r.TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw a("Incorrect hint");return i(this,e)}},96616:function(e,t,n){var r=n(16039),o=n(31787);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},14768:function(e,t,n){var r=n(9859),o=n(26733),i=n(75762),a=n(16039),c=n(12079);e.exports=function(e,t,n,l){var u=!!l&&!!l.unsafe,s=!!l&&!!l.enumerable,p=!!l&&!!l.noTargetGet,d=l&&void 0!==l.name?l.name:t;return o(n)&&a(n,d,l),e===r?(s?e[t]=n:c(t,n),e):(u?!p&&e[t]&&(s=!0):delete e[t],s?e[t]=n:i(e,t,n),e)}},8312:function(e,t,n){var r=n(14768);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},67675:function(e,t,n){"use strict";var r=n(23103),o=n(20266),i=n(24231),a=n(51805),c=n(26733),l=n(93723),u=n(67567),s=n(56540),p=n(54555),d=n(75762),f=n(14768),h=n(70095),m=n(45495),v=n(60693),g=a.PROPER,b=a.CONFIGURABLE,y=v.IteratorPrototype,x=v.BUGGY_SAFARI_ITERATORS,_=h("iterator"),w="keys",k="values",E="entries",T=function(){return this};e.exports=function(e,t,n,a,h,v,S){l(n,t,a);var C,A,O,R=function(e){if(e===h&&N)return N;if(!x&&e in M)return M[e];switch(e){case w:case k:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},z=t+" Iterator",P=!1,M=e.prototype,I=M[_]||M["@@iterator"]||h&&M[h],N=!x&&I||R(h),D="Array"==t&&M.entries||I;if(D&&(C=u(D.call(new e)))!==Object.prototype&&C.next&&(i||u(C)===y||(s?s(C,y):c(C[_])||f(C,_,T)),p(C,z,!0,!0),i&&(m[z]=T)),g&&h==k&&I&&I.name!==k&&(!i&&b?d(M,"name",k):(P=!0,N=function(){return o(I,this)})),h)if(A={values:R(k),keys:v?N:R(w),entries:R(E)},S)for(O in A)(x||P||!(O in M))&&f(M,O,A[O]);else r({target:t,proto:!0,forced:x||P},A);return i&&!S||M[_]===N||f(M,_,N,{name:h}),m[t]=N,A}},38423:function(e,t,n){var r=n(49276),o=n(98270),i=n(55391),a=n(31787).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7400:function(e,t,n){var r=n(24229);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},22635:function(e,t,n){var r=n(9859),o=n(85052),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},57445:function(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},95694:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},18865:function(e,t,n){var r=n(22635)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},22671:function(e,t,n){var r=n(80598).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},48639:function(e){e.exports="object"==typeof window&&"object"!=typeof Deno},48506:function(e,t,n){var r=n(80598);e.exports=/MSIE|Trident/.test(r)},8983:function(e,t,n){var r=n(80598),o=n(9859);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},32023:function(e,t,n){var r=n(80598);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},28801:function(e,t,n){var r=n(27079),o=n(9859);e.exports="process"==r(o.process)},10263:function(e,t,n){var r=n(80598);e.exports=/web0s(?!.*chrome)/i.test(r)},80598:function(e,t,n){var r=n(31333);e.exports=r("navigator","userAgent")||""},6358:function(e,t,n){var r,o,i=n(9859),a=n(80598),c=i.process,l=i.Deno,u=c&&c.versions||l&&l.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},49811:function(e,t,n){var r=n(80598).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},13837:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},20373:function(e,t,n){var r=n(24229),o=n(65358);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},98864:function(e,t,n){"use strict";var r=n(7400),o=n(24229),i=n(21176),a=n(22391),c=n(40635),l=Error.prototype.toString,u=o((function(){if(r){var e=a(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==l.call(e))return!0}return"2: 1"!==l.call({message:1,name:2})||"Error"!==l.call({})}));e.exports=u?function(){var e=i(this),t=c(e.name,"Error"),n=c(e.message);return t?n?t+": "+n:t:n}:l},23103:function(e,t,n){var r=n(9859),o=n(97933).f,i=n(75762),a=n(14768),c=n(12079),l=n(77081),u=n(46541);e.exports=function(e,t){var n,s,p,d,f,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||c(h,{}):(r[h]||{}).prototype)for(s in t){if(d=t[s],p=e.noTargetGet?(f=o(n,s))&&f.value:n[s],!u(m?s:h+(v?".":"#")+s,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(n,s,d,e)}}},24229:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},94954:function(e,t,n){"use strict";n(77950);var r=n(65968),o=n(14768),i=n(63466),a=n(24229),c=n(70095),l=n(75762),u=c("species"),s=RegExp.prototype;e.exports=function(e,t,n,p){var d=c(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!h||n){var m=r(/./[d]),v=t(d,""[e],(function(e,t,n,o,a){var c=r(e),l=t.exec;return l===i||l===s.exec?f&&!a?{done:!0,value:m(t,n,o)}:{done:!0,value:c(n,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,d,v[1])}p&&l(s[d],"sham",!0)}},34990:function(e,t,n){"use strict";var r=n(9859),o=n(33718),i=n(39646),a=n(97636),c=r.TypeError,l=function(e,t,n,r,u,s,p,d){for(var f,h,m=u,v=0,g=!!p&&a(p,d);v<r;){if(v in n){if(f=g?g(n[v],v,t):n[v],s>0&&o(f))h=i(f),m=l(e,t,f,h,m,s-1)-1;else{if(m>=9007199254740991)throw c("Exceed the acceptable array length");e[m]=f}m++}v++}return m};e.exports=l},68476:function(e,t,n){var r=n(24229);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},53171:function(e,t,n){var r=n(57188),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},97636:function(e,t,n){var r=n(65968),o=n(77111),i=n(57188),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},57188:function(e,t,n){var r=n(24229);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},94128:function(e,t,n){"use strict";var r=n(9859),o=n(65968),i=n(77111),a=n(85052),c=n(98270),l=n(1909),u=n(57188),s=r.Function,p=o([].concat),d=o([].join),f={},h=function(e,t,n){if(!c(f,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";f[t]=s("C,a","return new C("+d(r,",")+")")}return f[t](e,n)};e.exports=u?s.bind:function(e){var t=i(this),n=t.prototype,r=l(arguments,1),o=function(){var n=p(r,l(arguments));return this instanceof o?h(t,n.length,n):t.apply(e,n)};return a(n)&&(o.prototype=n),o}},20266:function(e,t,n){var r=n(57188),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},51805:function(e,t,n){var r=n(7400),o=n(98270),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),l=c&&"something"===function(){}.name,u=c&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:l,CONFIGURABLE:u}},65968:function(e,t,n){var r=n(57188),o=Function.prototype,i=o.bind,a=o.call,c=r&&i.bind(a,a);e.exports=r?function(e){return e&&c(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},31333:function(e,t,n){var r=n(9859),o=n(26733),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},78830:function(e,t,n){var r=n(81589),o=n(55300),i=n(45495),a=n(70095)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},28403:function(e,t,n){var r=n(9859),o=n(20266),i=n(77111),a=n(21176),c=n(59821),l=n(78830),u=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(i(n))return a(o(n,e));throw u(c(e)+" is not iterable")}},55300:function(e,t,n){var r=n(77111);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},70017:function(e,t,n){var r=n(65968),o=n(92991),i=Math.floor,a=r("".charAt),c=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,p,d){var f=n+e.length,h=r.length,m=s;return void 0!==p&&(p=o(p),m=u),c(d,m,(function(o,c){var u;switch(a(c,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":u=p[l(c,1,-1)];break;default:var s=+c;if(0===s)return o;if(s>h){var d=i(s/10);return 0===d?o:d<=h?void 0===r[d-1]?a(c,1):r[d-1]+a(c,1):o}u=r[s-1]}return void 0===u?"":u}))}},9859:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},98270:function(e,t,n){var r=n(65968),o=n(92991),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},95977:function(e){e.exports={}},14665:function(e,t,n){var r=n(9859);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},53777:function(e,t,n){var r=n(31333);e.exports=r("document","documentElement")},64394:function(e,t,n){var r=n(7400),o=n(24229),i=n(22635);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},56201:function(e,t,n){var r=n(9859).Array,o=Math.abs,i=Math.pow,a=Math.floor,c=Math.log,l=Math.LN2;e.exports={pack:function(e,t,n){var u,s,p,d=r(n),f=8*n-t-1,h=(1<<f)-1,m=h>>1,v=23===t?i(2,-24)-i(2,-77):0,g=e<0||0===e&&1/e<0?1:0,b=0;for((e=o(e))!=e||e===1/0?(s=e!=e?1:0,u=h):(u=a(c(e)/l),e*(p=i(2,-u))<1&&(u--,p*=2),(e+=u+m>=1?v/p:v*i(2,1-m))*p>=2&&(u++,p/=2),u+m>=h?(s=0,u=h):u+m>=1?(s=(e*p-1)*i(2,t),u+=m):(s=e*i(2,m-1)*i(2,t),u=0));t>=8;)d[b++]=255&s,s/=256,t-=8;for(u=u<<t|s,f+=t;f>0;)d[b++]=255&u,u/=256,f-=8;return d[--b]|=128*g,d},unpack:function(e,t){var n,r=e.length,o=8*r-t-1,a=(1<<o)-1,c=a>>1,l=o-7,u=r-1,s=e[u--],p=127&s;for(s>>=7;l>0;)p=256*p+e[u--],l-=8;for(n=p&(1<<-l)-1,p>>=-l,l+=t;l>0;)n=256*n+e[u--],l-=8;if(0===p)p=1-c;else{if(p===a)return n?NaN:s?-1/0:1/0;n+=i(2,t),p-=c}return(s?-1:1)*n*i(2,p-t)}}},9337:function(e,t,n){var r=n(9859),o=n(65968),i=n(24229),a=n(27079),c=r.Object,l=o("".split);e.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):c(e)}:c},20835:function(e,t,n){var r=n(26733),o=n(85052),i=n(56540);e.exports=function(e,t,n){var a,c;return i&&r(a=t.constructor)&&a!==n&&o(c=a.prototype)&&c!==n.prototype&&i(e,c),e}},8511:function(e,t,n){var r=n(65968),o=n(26733),i=n(85353),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},79679:function(e,t,n){var r=n(85052),o=n(75762);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},95926:function(e,t,n){var r=n(23103),o=n(65968),i=n(95977),a=n(85052),c=n(98270),l=n(31787).f,u=n(78151),s=n(10166),p=n(35343),d=n(81441),f=n(68476),h=!1,m=d("meta"),v=0,g=function(e){l(e,m,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=u.f,t=o([].splice),n={};n[m]=1,e(n).length&&(u.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===m){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:s.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,m)){if(!p(e))return"F";if(!t)return"E";g(e)}return e[m].objectID},getWeakData:function(e,t){if(!c(e,m)){if(!p(e))return!0;if(!t)return!1;g(e)}return e[m].weakData},onFreeze:function(e){return f&&h&&p(e)&&!c(e,m)&&g(e),e}};i[m]=!0},56407:function(e,t,n){var r,o,i,a=n(18694),c=n(9859),l=n(65968),u=n(85052),s=n(75762),p=n(98270),d=n(85353),f=n(44399),h=n(95977),m="Object already initialized",v=c.TypeError,g=c.WeakMap;if(a||d.state){var b=d.state||(d.state=new g),y=l(b.get),x=l(b.has),_=l(b.set);r=function(e,t){if(x(b,e))throw new v(m);return t.facade=e,_(b,e,t),t},o=function(e){return y(b,e)||{}},i=function(e){return x(b,e)}}else{var w=f("state");h[w]=!0,r=function(e,t){if(p(e,w))throw new v(m);return t.facade=e,s(e,w,t),t},o=function(e){return p(e,w)?e[w]:{}},i=function(e){return p(e,w)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},91943:function(e,t,n){var r=n(70095),o=n(45495),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},33718:function(e,t,n){var r=n(27079);e.exports=Array.isArray||function(e){return"Array"==r(e)}},26733:function(e){e.exports=function(e){return"function"==typeof e}},82359:function(e,t,n){var r=n(65968),o=n(24229),i=n(26733),a=n(81589),c=n(31333),l=n(8511),u=function(){},s=[],p=c("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),h=!d.exec(u),m=function(e){if(!i(e))return!1;try{return p(u,s,e),!0}catch(e){return!1}},v=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,l(e))}catch(e){return!0}};v.sham=!0,e.exports=!p||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},90193:function(e,t,n){var r=n(98270);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},46541:function(e,t,n){var r=n(24229),o=n(26733),i=/#|\.prototype\./,a=function(e,t){var n=l[c(e)];return n==s||n!=u&&(o(t)?r(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},82292:function(e,t,n){var r=n(85052),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},85052:function(e,t,n){var r=n(26733);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},24231:function(e){e.exports=!1},48311:function(e,t,n){var r=n(85052),o=n(27079),i=n(70095)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},49395:function(e,t,n){var r=n(9859),o=n(31333),i=n(26733),a=n(91321),c=n(66969),l=r.Object;e.exports=c?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&a(t.prototype,l(e))}},89003:function(e,t,n){var r=n(9859),o=n(97636),i=n(20266),a=n(21176),c=n(59821),l=n(91943),u=n(39646),s=n(91321),p=n(28403),d=n(78830),f=n(57281),h=r.TypeError,m=function(e,t){this.stopped=e,this.result=t},v=m.prototype;e.exports=function(e,t,n){var r,g,b,y,x,_,w,k=n&&n.that,E=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),C=o(t,k),A=function(e){return r&&f(r,"normal",e),new m(!0,e)},O=function(e){return E?(a(e),S?C(e[0],e[1],A):C(e[0],e[1])):S?C(e,A):C(e)};if(T)r=e;else{if(!(g=d(e)))throw h(c(e)+" is not iterable");if(l(g)){for(b=0,y=u(e);y>b;b++)if((x=O(e[b]))&&s(v,x))return x;return new m(!1)}r=p(e,g)}for(_=r.next;!(w=i(_,r)).done;){try{x=O(w.value)}catch(e){f(r,"throw",e)}if("object"==typeof x&&x&&s(v,x))return x}return new m(!1)}},57281:function(e,t,n){var r=n(20266),o=n(21176),i=n(55300);e.exports=function(e,t,n){var a,c;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){c=!0,a=e}if("throw"===t)throw n;if(c)throw a;return o(a),n}},60693:function(e,t,n){"use strict";var r,o,i,a=n(24229),c=n(26733),l=n(22391),u=n(67567),s=n(14768),p=n(70095),d=n(24231),f=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[f].call(e)!==e}))?r={}:d&&(r=l(r)),c(r[f])||s(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},45495:function(e){e.exports={}},39646:function(e,t,n){var r=n(34237);e.exports=function(e){return r(e.length)}},16039:function(e,t,n){var r=n(24229),o=n(26733),i=n(98270),a=n(31787).f,c=n(51805).CONFIGURABLE,l=n(8511),u=n(56407),s=u.enforce,p=u.get,d=!r((function(){return 8!==a((function(){}),"length",{value:8}).length})),f=String(String).split("String"),h=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&a(e,"name",{value:t,configurable:!0}),d&&n&&i(n,"arity")&&e.length!==n.arity&&a(e,"length",{value:n.arity});var r=s(e);return i(r,"source")||(r.source=f.join("string"==typeof t?t:"")),e};Function.prototype.toString=h((function(){return o(this)&&p(this).source||l(this)}),"toString")},3514:function(e){var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:n(e)-1}:t},80781:function(e,t,n){var r=n(57235),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),l=i(2,127)*(2-c),u=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),s=r(e);return i<u?s*(i/u/c+1/a-1/a)*u*c:(n=(t=(1+c/a)*i)-(t-i))>l||n!=n?s*(1/0):s*n}},20988:function(e){var t=Math.log,n=Math.LOG10E;e.exports=Math.log10||function(e){return t(e)*n}},89037:function(e){var t=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:t(1+e)}},57235:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},24794:function(e,t,n){var r,o,i,a,c,l,u,s,p=n(9859),d=n(97636),f=n(97933).f,h=n(55795).set,m=n(32023),v=n(8983),g=n(10263),b=n(28801),y=p.MutationObserver||p.WebKitMutationObserver,x=p.document,_=p.process,w=p.Promise,k=f(p,"queueMicrotask"),E=k&&k.value;E||(r=function(){var e,t;for(b&&(e=_.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},m||b||g||!y||!x?!v&&w&&w.resolve?((u=w.resolve(void 0)).constructor=w,s=d(u.then,u),a=function(){s(r)}):b?a=function(){_.nextTick(r)}:(h=d(h,p),a=function(){h(r)}):(c=!0,l=x.createTextNode(""),new y(r).observe(l,{characterData:!0}),a=function(){l.data=c=!c})),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},75506:function(e,t,n){var r=n(63839);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},63839:function(e,t,n){var r=n(6358),o=n(24229);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},77274:function(e,t,n){var r=n(24229),o=n(70095),i=n(24231),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},18694:function(e,t,n){var r=n(9859),o=n(26733),i=n(8511),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},16485:function(e,t,n){"use strict";var r=n(77111),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},40635:function(e,t,n){var r=n(83326);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},47272:function(e,t,n){var r=n(9859),o=n(48311),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},53775:function(e,t,n){var r=n(9859).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},45496:function(e,t,n){var r=n(9859),o=n(24229),i=n(65968),a=n(83326),c=n(1017).trim,l=n(41647),u=i("".charAt),s=r.parseFloat,p=r.Symbol,d=p&&p.iterator,f=1/s(l+"-0")!=-1/0||d&&!o((function(){s(Object(d))}));e.exports=f?function(e){var t=c(a(e)),n=s(t);return 0===n&&"-"==u(t,0)?-0:n}:s},36596:function(e,t,n){var r=n(9859),o=n(24229),i=n(65968),a=n(83326),c=n(1017).trim,l=n(41647),u=r.parseInt,s=r.Symbol,p=s&&s.iterator,d=/^[+-]?0x/i,f=i(d.exec),h=8!==u(l+"08")||22!==u(l+"0x16")||p&&!o((function(){u(Object(p))}));e.exports=h?function(e,t){var n=c(a(e));return u(n,t>>>0||(f(d,n)?16:10))}:u},47:function(e,t,n){"use strict";var r=n(7400),o=n(65968),i=n(20266),a=n(24229),c=n(65632),l=n(10894),u=n(19195),s=n(92991),p=n(9337),d=Object.assign,f=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||c(d({},t)).join("")!=o}))?function(e,t){for(var n=s(e),o=arguments.length,a=1,d=l.f,f=u.f;o>a;)for(var m,v=p(arguments[a++]),g=d?h(c(v),d(v)):c(v),b=g.length,y=0;b>y;)m=g[y++],r&&!i(f,v,m)||(n[m]=v[m]);return n}:d},22391:function(e,t,n){var r,o=n(21176),i=n(90219),a=n(13837),c=n(95977),l=n(53777),u=n(22635),s=n(44399),p=s("IE_PROTO"),d=function(){},f=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};c[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[p]=e):n=m(),void 0===t?n:i.f(n,t)}},90219:function(e,t,n){var r=n(7400),o=n(17137),i=n(31787),a=n(21176),c=n(10905),l=n(65632);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=c(t),o=l(t),u=o.length,s=0;u>s;)i.f(e,n=o[s++],r[n]);return e}},31787:function(e,t,n){var r=n(9859),o=n(7400),i=n(64394),a=n(17137),c=n(21176),l=n(39310),u=r.TypeError,s=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=o?a?function(e,t,n){if(c(e),t=l(t),c(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n.writable){var r=p(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:f in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return s(e,t,n)}:s:function(e,t,n){if(c(e),t=l(t),c(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},97933:function(e,t,n){var r=n(7400),o=n(20266),i=n(19195),a=n(65358),c=n(10905),l=n(39310),u=n(98270),s=n(64394),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=c(e),t=l(t),s)try{return p(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},10166:function(e,t,n){var r=n(27079),o=n(10905),i=n(78151).f,a=n(69794),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return c&&"Window"==r(e)?function(e){try{return i(e)}catch(e){return a(c)}}(e):i(o(e))}},78151:function(e,t,n){var r=n(90140),o=n(13837).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},10894:function(e,t){t.f=Object.getOwnPropertySymbols},67567:function(e,t,n){var r=n(9859),o=n(98270),i=n(26733),a=n(92991),c=n(44399),l=n(27528),u=c("IE_PROTO"),s=r.Object,p=s.prototype;e.exports=l?s.getPrototypeOf:function(e){var t=a(e);if(o(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof s?p:null}},35343:function(e,t,n){var r=n(24229),o=n(85052),i=n(27079),a=n(92460),c=Object.isExtensible,l=r((function(){c(1)}));e.exports=l||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!=i(e))&&(!c||c(e)))}:c},91321:function(e,t,n){var r=n(65968);e.exports=r({}.isPrototypeOf)},90140:function(e,t,n){var r=n(65968),o=n(98270),i=n(10905),a=n(19540).indexOf,c=n(95977),l=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,s=[];for(n in r)!o(c,n)&&o(r,n)&&l(s,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(s,n)||l(s,n));return s}},65632:function(e,t,n){var r=n(90140),o=n(13837);e.exports=Object.keys||function(e){return r(e,o)}},19195:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},15020:function(e,t,n){"use strict";var r=n(24231),o=n(9859),i=n(24229),a=n(49811);e.exports=r||!i((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}}))},56540:function(e,t,n){var r=n(65968),o=n(21176),i=n(88505);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},87664:function(e,t,n){var r=n(7400),o=n(65968),i=n(65632),a=n(10905),c=o(n(19195).f),l=o([].push),u=function(e){return function(t){for(var n,o=a(t),u=i(o),s=u.length,p=0,d=[];s>p;)n=u[p++],r&&!c(o,n)||l(d,e?[n,o[n]]:o[n]);return d}};e.exports={entries:u(!0),values:u(!1)}},44059:function(e,t,n){"use strict";var r=n(71601),o=n(81589);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},32914:function(e,t,n){var r=n(9859),o=n(20266),i=n(26733),a=n(85052),c=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!a(r=o(n,e)))return r;if(i(n=e.valueOf)&&!a(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!a(r=o(n,e)))return r;throw c("Can't convert object to primitive value")}},4826:function(e,t,n){var r=n(31333),o=n(65968),i=n(78151),a=n(10894),c=n(21176),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=a.f;return n?l(t,n(e)):t}},49276:function(e,t,n){var r=n(9859);e.exports=r},64624:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},38321:function(e,t,n){var r=n(9859),o=n(74473),i=n(26733),a=n(46541),c=n(8511),l=n(70095),u=n(48639),s=n(24231),p=n(6358),d=o&&o.prototype,f=l("species"),h=!1,m=i(r.PromiseRejectionEvent),v=a("Promise",(function(){var e=c(o),t=e!==String(o);if(!t&&66===p)return!0;if(s&&(!d.catch||!d.finally))return!0;if(p>=51&&/native code/.test(e))return!1;var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[f]=r,!(h=n.then((function(){}))instanceof r)||!t&&u&&!m}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:m,SUBCLASSING:h}},74473:function(e,t,n){var r=n(9859);e.exports=r.Promise},62391:function(e,t,n){var r=n(21176),o=n(85052),i=n(16485);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},96866:function(e,t,n){var r=n(74473),o=n(74575),i=n(38321).CONSTRUCTOR;e.exports=i||!o((function(e){r.all(e).then(void 0,(function(){}))}))},26060:function(e,t,n){var r=n(31787).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},93358:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},98115:function(e,t,n){var r=n(9859),o=n(20266),i=n(21176),a=n(26733),c=n(27079),l=n(63466),u=r.TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var r=o(n,e,t);return null!==r&&i(r),r}if("RegExp"===c(e))return o(l,e,t);throw u("RegExp#exec called on incompatible receiver")}},63466:function(e,t,n){"use strict";var r,o,i=n(20266),a=n(65968),c=n(83326),l=n(30895),u=n(25650),s=n(33036),p=n(22391),d=n(56407).get,f=n(42926),h=n(10461),m=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,g=v,b=a("".charAt),y=a("".indexOf),x=a("".replace),_=a("".slice),w=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),k=u.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(w||E||k||f||h)&&(g=function(e){var t,n,r,o,a,u,s,f=this,h=d(f),T=c(e),S=h.raw;if(S)return S.lastIndex=f.lastIndex,t=i(g,S,T),f.lastIndex=S.lastIndex,t;var C=h.groups,A=k&&f.sticky,O=i(l,f),R=f.source,z=0,P=T;if(A&&(O=x(O,"y",""),-1===y(O,"g")&&(O+="g"),P=_(T,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==b(T,f.lastIndex-1))&&(R="(?: "+R+")",P=" "+P,z++),n=new RegExp("^(?:"+R+")",O)),E&&(n=new RegExp("^"+R+"$(?!\\s)",O)),w&&(r=f.lastIndex),o=i(v,A?n:f,P),A?o?(o.input=_(o.input,z),o[0]=_(o[0],z),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:w&&o&&(f.lastIndex=f.global?o.index+o[0].length:r),E&&o&&o.length>1&&i(m,o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&C)for(o.groups=u=p(null),a=0;a<C.length;a++)u[(s=C[a])[0]]=o[s[1]];return o}),e.exports=g},30895:function(e,t,n){"use strict";var r=n(21176);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},83349:function(e,t,n){var r=n(20266),o=n(98270),i=n(91321),a=n(30895),c=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in c||o(e,"flags")||!i(c,e)?t:r(a,e)}},25650:function(e,t,n){var r=n(24229),o=n(9859).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),c=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:c,MISSED_STICKY:a,UNSUPPORTED_Y:i}},42926:function(e,t,n){var r=n(24229),o=n(9859).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},10461:function(e,t,n){var r=n(24229),o=n(9859).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},58885:function(e,t,n){var r=n(9859).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},72101:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},24752:function(e,t,n){var r=n(9859),o=n(53171),i=n(26733),a=n(80598),c=n(1909),l=n(77579),u=/MSIE .\./.test(a),s=r.Function,p=function(e){return u?function(t,n){var r=l(arguments.length,1)>2,a=i(t)?t:s(t),u=r?c(arguments,2):void 0;return e(r?function(){o(a,this,u)}:a,n)}:e};e.exports={setTimeout:p(r.setTimeout),setInterval:p(r.setInterval)}},12079:function(e,t,n){var r=n(9859),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},71832:function(e,t,n){"use strict";var r=n(31333),o=n(31787),i=n(70095),a=n(7400),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},54555:function(e,t,n){var r=n(31787).f,o=n(98270),i=n(70095)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},44399:function(e,t,n){var r=n(33036),o=n(81441),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},85353:function(e,t,n){var r=n(9859),o=n(12079),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},33036:function(e,t,n){var r=n(24231),o=n(85353);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.4",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})},37942:function(e,t,n){var r=n(21176),o=n(57988),i=n(70095)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},59540:function(e,t,n){var r=n(24229);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},30966:function(e,t,n){var r=n(65968),o=n(43329),i=n(83326),a=n(58885),c=r("".charAt),l=r("".charCodeAt),u=r("".slice),s=function(e){return function(t,n){var r,s,p=i(a(t)),d=o(n),f=p.length;return d<0||d>=f?e?"":void 0:(r=l(p,d))<55296||r>56319||d+1===f||(s=l(p,d+1))<56320||s>57343?e?c(p,d):r:e?u(p,d,d+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},57456:function(e,t,n){var r=n(80598);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},46650:function(e,t,n){var r=n(65968),o=n(34237),i=n(83326),a=n(93124),c=n(58885),l=r(a),u=r("".slice),s=Math.ceil,p=function(e){return function(t,n,r){var a,p,d=i(c(t)),f=o(n),h=d.length,m=void 0===r?" ":i(r);return f<=h||""==m?d:((p=l(m,s((a=f-h)/m.length))).length>a&&(p=u(p,0,a)),e?d+p:p+d)}};e.exports={start:p(!1),end:p(!0)}},77321:function(e,t,n){"use strict";var r=n(9859),o=n(65968),i=2147483647,a=/[^\0-\u007E]/,c=/[.\u3002\uFF0E\uFF61]/g,l="Overflow: input needs wider integers to process",u=r.RangeError,s=o(c.exec),p=Math.floor,d=String.fromCharCode,f=o("".charCodeAt),h=o([].join),m=o([].push),v=o("".replace),g=o("".split),b=o("".toLowerCase),y=function(e){return e+22+75*(e<26)},x=function(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;)e=p(e/35),r+=36;return p(r+36*e/(e+38))},_=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=f(e,n++);if(o>=55296&&o<=56319&&n<r){var i=f(e,n++);56320==(64512&i)?m(t,((1023&o)<<10)+(1023&i)+65536):(m(t,o),n--)}else m(t,o)}return t}(e);var n,r,o=e.length,a=128,c=0,s=72;for(n=0;n<e.length;n++)(r=e[n])<128&&m(t,d(r));var v=t.length,g=v;for(v&&m(t,"-");g<o;){var b=i;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<b&&(b=r);var _=g+1;if(b-a>p((i-c)/_))throw u(l);for(c+=(b-a)*_,a=b,n=0;n<e.length;n++){if((r=e[n])<a&&++c>i)throw u(l);if(r==a){for(var w=c,k=36;;){var E=k<=s?1:k>=s+26?26:k-s;if(w<E)break;var T=w-E,S=36-E;m(t,d(y(E+T%S))),w=p(T/S),k+=36}m(t,d(y(w))),s=x(c,_,g==v),c=0,g++}}c++,a++}return h(t,"")};e.exports=function(e){var t,n,r=[],o=g(v(b(e),c,"."),".");for(t=0;t<o.length;t++)n=o[t],m(r,s(a,n)?"xn--"+_(n):n);return h(r,".")}},93124:function(e,t,n){"use strict";var r=n(9859),o=n(43329),i=n(83326),a=n(58885),c=r.RangeError;e.exports=function(e){var t=i(a(this)),n="",r=o(e);if(r<0||r==1/0)throw c("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},61466:function(e,t,n){"use strict";var r=n(1017).end,o=n(9445);e.exports=o("trimEnd")?function(){return r(this)}:"".trimEnd},9445:function(e,t,n){var r=n(51805).PROPER,o=n(24229),i=n(41647);e.exports=function(e){return o((function(){return!!i[e]()||"
"!=="
"[e]()||r&&i[e].name!==e}))}},58747:function(e,t,n){"use strict";var r=n(1017).start,o=n(9445);e.exports=o("trimStart")?function(){return r(this)}:"".trimStart},1017:function(e,t,n){var r=n(65968),o=n(58885),i=n(83326),a=n(41647),c=r("".replace),l="["+a+"]",u=RegExp("^"+l+l+"*"),s=RegExp(l+l+"*$"),p=function(e){return function(t){var n=i(o(t));return 1&e&&(n=c(n,u,"")),2&e&&(n=c(n,s,"")),n}};e.exports={start:p(1),end:p(2),trim:p(3)}},66481:function(e,t,n){var r=n(20266),o=n(31333),i=n(70095),a=n(14768);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,c=i("toPrimitive");t&&!t[c]&&a(t,c,(function(e){return r(n,this)}),{arity:1})}},55795:function(e,t,n){var r,o,i,a,c=n(9859),l=n(53171),u=n(97636),s=n(26733),p=n(98270),d=n(24229),f=n(53777),h=n(1909),m=n(22635),v=n(77579),g=n(32023),b=n(28801),y=c.setImmediate,x=c.clearImmediate,_=c.process,w=c.Dispatch,k=c.Function,E=c.MessageChannel,T=c.String,S=0,C={},A="onreadystatechange";try{r=c.location}catch(e){}var O=function(e){if(p(C,e)){var t=C[e];delete C[e],t()}},R=function(e){return function(){O(e)}},z=function(e){O(e.data)},P=function(e){c.postMessage(T(e),r.protocol+"//"+r.host)};y&&x||(y=function(e){v(arguments.length,1);var t=s(e)?e:k(e),n=h(arguments,1);return C[++S]=function(){l(t,void 0,n)},o(S),S},x=function(e){delete C[e]},b?o=function(e){_.nextTick(R(e))}:w&&w.now?o=function(e){w.now(R(e))}:E&&!g?(a=(i=new E).port2,i.port1.onmessage=z,o=u(a.postMessage,a)):c.addEventListener&&s(c.postMessage)&&!c.importScripts&&r&&"file:"!==r.protocol&&!d(P)?(o=P,c.addEventListener("message",z,!1)):o=A in m("script")?function(e){f.appendChild(m("script")).onreadystatechange=function(){f.removeChild(this),O(e)}}:function(e){setTimeout(R(e),0)}),e.exports={set:y,clear:x}},90143:function(e,t,n){var r=n(65968);e.exports=r(1..valueOf)},43231:function(e,t,n){var r=n(43329),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},7331:function(e,t,n){var r=n(9859),o=n(43329),i=n(34237),a=r.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=o(e),n=i(t);if(t!==n)throw a("Wrong length or index");return n}},10905:function(e,t,n){var r=n(9337),o=n(58885);e.exports=function(e){return r(o(e))}},43329:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){var r=+e;return r!=r||0===r?0:(r>0?n:t)(r)}},34237:function(e,t,n){var r=n(43329),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},92991:function(e,t,n){var r=n(9859),o=n(58885),i=r.Object;e.exports=function(e){return i(o(e))}},84262:function(e,t,n){var r=n(9859),o=n(72002),i=r.RangeError;e.exports=function(e,t){var n=o(e);if(n%t)throw i("Wrong offset");return n}},72002:function(e,t,n){var r=n(9859),o=n(43329),i=r.RangeError;e.exports=function(e){var t=o(e);if(t<0)throw i("The argument can't be less than 0");return t}},92066:function(e,t,n){var r=n(9859),o=n(20266),i=n(85052),a=n(49395),c=n(55300),l=n(32914),u=n(70095),s=r.TypeError,p=u("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,r=c(e,p);if(r){if(void 0===t&&(t="default"),n=o(r,e,t),!i(n)||a(n))return n;throw s("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},39310:function(e,t,n){var r=n(92066),o=n(49395);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},71601:function(e,t,n){var r={};r[n(70095)("toStringTag")]="z",e.exports="[object z]"===String(r)},83326:function(e,t,n){var r=n(9859),o=n(81589),i=r.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},14165:function(e,t,n){var r=n(28801);e.exports=function(e){try{if(r)return Function('return require("'+e+'")')()}catch(e){}}},59821:function(e,t,n){var r=n(9859).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},42574:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(20266),a=n(7400),c=n(48200),l=n(9918),u=n(53816),s=n(57728),p=n(65358),d=n(75762),f=n(82292),h=n(34237),m=n(7331),v=n(84262),g=n(39310),b=n(98270),y=n(81589),x=n(85052),_=n(49395),w=n(22391),k=n(91321),E=n(56540),T=n(78151).f,S=n(35215),C=n(89996).forEach,A=n(71832),O=n(31787),R=n(97933),z=n(56407),P=n(20835),M=z.get,I=z.set,N=O.f,D=R.f,L=Math.round,B=o.RangeError,j=u.ArrayBuffer,F=j.prototype,H=u.DataView,U=l.NATIVE_ARRAY_BUFFER_VIEWS,G=l.TYPED_ARRAY_CONSTRUCTOR,W=l.TYPED_ARRAY_TAG,q=l.TypedArray,V=l.TypedArrayPrototype,K=l.aTypedArrayConstructor,Z=l.isTypedArray,Y="BYTES_PER_ELEMENT",$="Wrong length",X=function(e,t){K(e);for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o},J=function(e,t){N(e,t,{get:function(){return M(this)[t]}})},Q=function(e){var t;return k(F,e)||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},ee=function(e,t){return Z(e)&&!_(t)&&t in e&&f(+t)&&t>=0},te=function(e,t){return t=g(t),ee(e,t)?p(2,e[t]):D(e,t)},ne=function(e,t,n){return t=g(t),!(ee(e,t)&&x(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?N(e,t,n):(e[t]=n.value,e)};a?(U||(R.f=te,O.f=ne,J(V,"buffer"),J(V,"byteOffset"),J(V,"byteLength"),J(V,"length")),r({target:"Object",stat:!0,forced:!U},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,l=e+(n?"Clamped":"")+"Array",u="get"+e,p="set"+e,f=o[l],g=f,b=g&&g.prototype,y={},_=function(e,t){N(e,t,{get:function(){return function(e,t){var n=M(e);return n.view[u](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=M(e);n&&(r=(r=L(r))<0?0:r>255?255:255&r),o.view[p](t*a+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};U?c&&(g=t((function(e,t,n,r){return s(e,b),P(x(t)?Q(t)?void 0!==r?new f(t,v(n,a),r):void 0!==n?new f(t,v(n,a)):new f(t):Z(t)?X(g,t):i(S,g,t):new f(m(t)),e,g)})),E&&E(g,q),C(T(f),(function(e){e in g||d(g,e,f[e])})),g.prototype=b):(g=t((function(e,t,n,r){s(e,b);var o,c,l,u=0,p=0;if(x(t)){if(!Q(t))return Z(t)?X(g,t):i(S,g,t);o=t,p=v(n,a);var d=t.byteLength;if(void 0===r){if(d%a)throw B($);if((c=d-p)<0)throw B($)}else if((c=h(r)*a)+p>d)throw B($);l=c/a}else l=m(t),o=new j(c=l*a);for(I(e,{buffer:o,byteOffset:p,byteLength:c,length:l,view:new H(o)});u<l;)_(e,u++)})),E&&E(g,q),b=g.prototype=w(V)),b.constructor!==g&&d(b,"constructor",g),d(b,G,g),W&&d(b,W,l),y[l]=g,r({global:!0,forced:g!=f,sham:!U},y),Y in g||d(g,Y,a),Y in b||d(b,Y,a),A(l)}):e.exports=function(){}},48200:function(e,t,n){var r=n(9859),o=n(24229),i=n(74575),a=n(9918).NATIVE_ARRAY_BUFFER_VIEWS,c=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new c(2),1,void 0).length}))},88874:function(e,t,n){var r=n(41253),o=n(54622);e.exports=function(e,t){return r(o(e),t)}},35215:function(e,t,n){var r=n(97636),o=n(20266),i=n(57988),a=n(92991),c=n(39646),l=n(28403),u=n(78830),s=n(91943),p=n(9918).aTypedArrayConstructor;e.exports=function(e){var t,n,d,f,h,m,v=i(this),g=a(e),b=arguments.length,y=b>1?arguments[1]:void 0,x=void 0!==y,_=u(g);if(_&&!s(_))for(m=(h=l(g,_)).next,g=[];!(f=o(m,h)).done;)g.push(f.value);for(x&&b>2&&(y=r(y,arguments[2])),n=c(g),d=new(p(v))(n),t=0;n>t;t++)d[t]=x?y(g[t],t):g[t];return d}},54622:function(e,t,n){var r=n(9918),o=n(37942),i=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;e.exports=function(e){return a(o(e,e[i]))}},81441:function(e,t,n){var r=n(65968),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},66969:function(e,t,n){var r=n(63839);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},17137:function(e,t,n){var r=n(7400),o=n(24229);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},77579:function(e,t,n){var r=n(9859).TypeError;e.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},55391:function(e,t,n){var r=n(70095);t.f=r},70095:function(e,t,n){var r=n(9859),o=n(33036),i=n(98270),a=n(81441),c=n(63839),l=n(66969),u=o("wks"),s=r.Symbol,p=s&&s.for,d=l?s:s&&s.withoutSetter||a;e.exports=function(e){if(!i(u,e)||!c&&"string"!=typeof u[e]){var t="Symbol."+e;c&&i(s,e)?u[e]=s[e]:u[e]=l&&p?p(t):d(t)}return u[e]}},41647:function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},93949:function(e,t,n){"use strict";var r=n(31333),o=n(98270),i=n(75762),a=n(91321),c=n(56540),l=n(77081),u=n(26060),s=n(20835),p=n(40635),d=n(79679),f=n(71590),h=n(20373),m=n(7400),v=n(24231);e.exports=function(e,t,n,g){var b="stackTraceLimit",y=g?2:1,x=e.split("."),_=x[x.length-1],w=r.apply(null,x);if(w){var k=w.prototype;if(!v&&o(k,"cause")&&delete k.cause,!n)return w;var E=r("Error"),T=t((function(e,t){var n=p(g?t:e,void 0),r=g?new w(e):new w;return void 0!==n&&i(r,"message",n),h&&i(r,"stack",f(r.stack,2)),this&&a(k,this)&&s(r,this,T),arguments.length>y&&d(r,arguments[y]),r}));if(T.prototype=k,"Error"!==_?c?c(T,E):l(T,E,{name:!0}):m&&b in w&&(u(T,w,b),u(T,w,"prepareStackTrace")),l(T,w),!v)try{k.name!==_&&i(k,"name",_),k.constructor=T}catch(e){}return T}}},99588:function(e,t,n){var r=n(23103),o=n(31333),i=n(53171),a=n(24229),c=n(93949),l="AggregateError",u=o(l),s=!a((function(){return 1!==u([1]).errors[0]}))&&a((function(){return 7!==u([1],l,{cause:7}).cause}));r({global:!0,arity:2,forced:s},{AggregateError:c(l,(function(e){return function(t,n){return i(e,this,arguments)}}),s,!0)})},38418:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(91321),a=n(67567),c=n(56540),l=n(77081),u=n(22391),s=n(75762),p=n(65358),d=n(71590),f=n(79679),h=n(89003),m=n(40635),v=n(70095),g=n(20373),b=v("toStringTag"),y=o.Error,x=[].push,_=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=i(w,this);c?n=c(new y,o?a(this):w):(n=o?this:u(w),s(n,b,"Error")),void 0!==t&&s(n,"message",m(t)),g&&s(n,"stack",d(n.stack,1)),f(n,r);var l=[];return h(e,x,{that:l}),s(n,"errors",l),n};c?c(_,y):l(_,y,{name:!0});var w=_.prototype=u(y.prototype,{constructor:p(1,_),message:p(1,""),name:p(1,"AggregateError")});r({global:!0},{AggregateError:_})},95738:function(e,t,n){n(38418)},65388:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(53816),a=n(71832),c="ArrayBuffer",l=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==l},{ArrayBuffer:l}),a(c)},48777:function(e,t,n){var r=n(23103),o=n(9918);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},72994:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(24229),a=n(53816),c=n(21176),l=n(43231),u=n(34237),s=n(37942),p=a.ArrayBuffer,d=a.DataView,f=d.prototype,h=o(p.prototype.slice),m=o(f.getUint8),v=o(f.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new p(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(c(this),e);for(var n=c(this).byteLength,r=l(e,n),o=l(void 0===t?n:t,n),i=new(s(this,p))(u(o-r)),a=new d(this),f=new d(i),g=0;r<o;)v(f,g++,m(a,r++));return i}})},30724:function(e,t,n){"use strict";var r=n(23103),o=n(92991),i=n(39646),a=n(43329),c=n(9736);r({target:"Array",proto:!0},{at:function(e){var t=o(this),n=i(t),r=a(e),c=r>=0?r:n+r;return c<0||c>=n?void 0:t[c]}}),c("at")},18178:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(24229),a=n(33718),c=n(85052),l=n(92991),u=n(39646),s=n(62324),p=n(87501),d=n(31460),f=n(70095),h=n(6358),m=f("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",b=o.TypeError,y=h>=51||!i((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),x=d("concat"),_=function(e){if(!c(e))return!1;var t=e[m];return void 0!==t?!!t:a(e)};r({target:"Array",proto:!0,arity:1,forced:!y||!x},{concat:function(e){var t,n,r,o,i,a=l(this),c=p(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(_(i=-1===t?a:arguments[t])){if(d+(o=u(i))>v)throw b(g);for(n=0;n<o;n++,d++)n in i&&s(c,d,i[n])}else{if(d>=v)throw b(g);s(c,d++,i)}return c.length=d,c}})},21021:function(e,t,n){var r=n(23103),o=n(77154),i=n(9736);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},28986:function(e,t,n){"use strict";var r=n(23103),o=n(89996).every;r({target:"Array",proto:!0,forced:!n(96038)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},92656:function(e,t,n){var r=n(23103),o=n(97065),i=n(9736);r({target:"Array",proto:!0},{fill:o}),i("fill")},95342:function(e,t,n){"use strict";var r=n(23103),o=n(89996).filter;r({target:"Array",proto:!0,forced:!n(31460)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},9949:function(e,t,n){"use strict";var r=n(23103),o=n(89996).findIndex,i=n(9736),a="findIndex",c=!0;a in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},49228:function(e,t,n){"use strict";var r=n(23103),o=n(89996).find,i=n(9736),a="find",c=!0;a in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},84870:function(e,t,n){"use strict";var r=n(23103),o=n(34990),i=n(77111),a=n(92991),c=n(39646),l=n(87501);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),r=c(n);return i(e),(t=l(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},27072:function(e,t,n){"use strict";var r=n(23103),o=n(34990),i=n(92991),a=n(39646),c=n(43329),l=n(87501);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:c(e)),r}})},38695:function(e,t,n){"use strict";var r=n(23103),o=n(86570);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},27233:function(e,t,n){var r=n(23103),o=n(10507);r({target:"Array",stat:!0,forced:!n(74575)((function(e){Array.from(e)}))},{from:o})},39529:function(e,t,n){"use strict";var r=n(23103),o=n(19540).includes,i=n(24229),a=n(9736);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},74083:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(19540).indexOf,a=n(96038),c=o([].indexOf),l=!!c&&1/c([1],1,-0)<0,u=a("indexOf");r({target:"Array",proto:!0,forced:l||!u},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?c(this,e,t)||0:i(this,e,t)}})},18145:function(e,t,n){n(23103)({target:"Array",stat:!0},{isArray:n(33718)})},15735:function(e,t,n){"use strict";var r=n(10905),o=n(9736),i=n(45495),a=n(56407),c=n(31787).f,l=n(67675),u=n(24231),s=n(7400),p="Array Iterator",d=a.set,f=a.getterFor(p);e.exports=l(Array,"Array",(function(e,t){d(this,{type:p,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!u&&s&&"values"!==h.name)try{c(h,"name",{value:"values"})}catch(e){}},16781:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(9337),a=n(10905),c=n(96038),l=o([].join),u=i!=Object,s=c("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(e){return l(a(this),void 0===e?",":e)}})},74660:function(e,t,n){var r=n(23103),o=n(86462);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},43450:function(e,t,n){"use strict";var r=n(23103),o=n(89996).map;r({target:"Array",proto:!0,forced:!n(31460)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},63370:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(24229),a=n(82359),c=n(62324),l=o.Array;r({target:"Array",stat:!0,forced:i((function(){function e(){}return!(l.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new(a(this)?this:l)(t);t>e;)c(n,e,arguments[e++]);return n.length=t,n}})},9731:function(e,t,n){"use strict";var r=n(23103),o=n(43143).right,i=n(96038),a=n(6358),c=n(28801);r({target:"Array",proto:!0,forced:!i("reduceRight")||!c&&a>79&&a<83},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},43108:function(e,t,n){"use strict";var r=n(23103),o=n(43143).left,i=n(96038),a=n(6358),c=n(28801);r({target:"Array",proto:!0,forced:!i("reduce")||!c&&a>79&&a<83},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},49992:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(33718),a=o([].reverse),c=[1,2];r({target:"Array",proto:!0,forced:String(c)===String(c.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},32501:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(33718),a=n(82359),c=n(85052),l=n(43231),u=n(39646),s=n(10905),p=n(62324),d=n(70095),f=n(31460),h=n(1909),m=f("slice"),v=d("species"),g=o.Array,b=Math.max;r({target:"Array",proto:!0,forced:!m},{slice:function(e,t){var n,r,o,d=s(this),f=u(d),m=l(e,f),y=l(void 0===t?f:t,f);if(i(d)&&(n=d.constructor,(a(n)&&(n===g||i(n.prototype))||c(n)&&null===(n=n[v]))&&(n=void 0),n===g||void 0===n))return h(d,m,y);for(r=new(void 0===n?g:n)(b(y-m,0)),o=0;m<y;m++,o++)m in d&&p(r,o,d[m]);return r.length=o,r}})},67321:function(e,t,n){"use strict";var r=n(23103),o=n(89996).some;r({target:"Array",proto:!0,forced:!n(96038)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},43430:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(77111),a=n(92991),c=n(39646),l=n(83326),u=n(24229),s=n(33867),p=n(96038),d=n(22671),f=n(48506),h=n(6358),m=n(49811),v=[],g=o(v.sort),b=o(v.push),y=u((function(){v.sort(void 0)})),x=u((function(){v.sort(null)})),_=p("sort"),w=!u((function(){if(h)return h<70;if(!(d&&d>3)){if(f)return!0;if(m)return m<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:y||!x||!_||!w},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(w)return void 0===e?g(t):g(t,e);var n,r,o=[],u=c(t);for(r=0;r<u;r++)r in t&&b(o,t[r]);for(s(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:l(t)>l(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<u;)delete t[r++];return t}})},50747:function(e,t,n){n(71832)("Array")},99805:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(43231),a=n(43329),c=n(39646),l=n(92991),u=n(87501),s=n(62324),p=n(31460)("splice"),d=o.TypeError,f=Math.max,h=Math.min,m=9007199254740991,v="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var n,r,o,p,g,b,y=l(this),x=c(y),_=i(e,x),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=x-_):(n=w-2,r=h(f(a(t),0),x-_)),x+n-r>m)throw d(v);for(o=u(y,r),p=0;p<r;p++)(g=_+p)in y&&s(o,p,y[g]);if(o.length=r,n<r){for(p=_;p<x-r;p++)b=p+n,(g=p+r)in y?y[b]=y[g]:delete y[b];for(p=x;p>x-r+n;p--)delete y[p-1]}else if(n>r)for(p=x-r;p>_;p--)b=p+n-1,(g=p+r-1)in y?y[b]=y[g]:delete y[b];for(p=0;p<n;p++)y[p+_]=arguments[p+2];return y.length=x-r+n,o}})},53985:function(e,t,n){n(9736)("flatMap")},67694:function(e,t,n){n(9736)("flat")},19610:function(e,t,n){var r=n(23103),o=n(53816);r({global:!0,forced:!n(53339)},{DataView:o.DataView})},95206:function(e,t,n){n(19610)},44593:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(24229)((function(){return 120!==new Date(16e11).getYear()})),a=o(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:i},{getYear:function(){return a(this)-1900}})},24895:function(e,t,n){var r=n(23103),o=n(9859),i=n(65968),a=o.Date,c=i(a.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return c(new a)}})},15160:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(43329),a=Date.prototype,c=o(a.getTime),l=o(a.setFullYear);r({target:"Date",proto:!0},{setYear:function(e){c(this);var t=i(e);return l(this,0<=t&&t<=99?t+1900:t)}})},41913:function(e,t,n){n(23103)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},85713:function(e,t,n){var r=n(23103),o=n(26966);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},94148:function(e,t,n){"use strict";var r=n(23103),o=n(24229),i=n(92991),a=n(92066);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t,"number");return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},96264:function(e,t,n){var r=n(98270),o=n(14768),i=n(19778),a=n(70095)("toPrimitive"),c=Date.prototype;r(c,a)||o(c,a,i)},99120:function(e,t,n){var r=n(65968),o=n(14768),i=Date.prototype,a="Invalid Date",c="toString",l=r(i.toString),u=r(i.getTime);String(new Date(NaN))!=a&&o(i,c,(function(){var e=u(this);return e==e?l(this):a}))},71372:function(e,t,n){var r=n(23103),o=n(9859),i=n(53171),a=n(93949),c="WebAssembly",l=o.WebAssembly,u=7!==Error("e",{cause:7}).cause,s=function(e,t){var n={};n[e]=a(e,t,u),r({global:!0,arity:1,forced:u},n)},p=function(e,t){if(l&&l[e]){var n={};n[e]=a("WebAssembly."+e,t,u),r({target:c,stat:!0,arity:1,forced:u},n)}};s("Error",(function(e){return function(t){return i(e,this,arguments)}})),s("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),s("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),s("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),s("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),s("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),s("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},72147:function(e,t,n){var r=n(14768),o=n(98864),i=Error.prototype;i.toString!==o&&r(i,"toString",o)},64655:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(83326),a=o("".charAt),c=o("".charCodeAt),l=o(/./.exec),u=o(1..toString),s=o("".toUpperCase),p=/[\w*+\-./@]/,d=function(e,t){for(var n=u(e,16);n.length<t;)n="0"+n;return n};r({global:!0},{escape:function(e){for(var t,n,r=i(e),o="",u=r.length,f=0;f<u;)t=a(r,f++),l(p,t)?o+=t:o+=(n=c(t,0))<256?"%"+d(n,2):"%u"+s(d(n,4));return o}})},65584:function(e,t,n){var r=n(23103),o=n(94128);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},14326:function(e,t,n){"use strict";var r=n(26733),o=n(85052),i=n(31787),a=n(67567),c=n(70095),l=n(16039),u=c("hasInstance"),s=Function.prototype;u in s||i.f(s,u,{value:l((function(e){if(!r(this)||!o(e))return!1;var t=this.prototype;if(!o(t))return e instanceof this;for(;e=a(e);)if(t===e)return!0;return!1}),u)})},26936:function(e,t,n){var r=n(7400),o=n(51805).EXISTS,i=n(65968),a=n(31787).f,c=Function.prototype,l=i(c.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(c,"name",{configurable:!0,get:function(){try{return s(u,l(this))[1]}catch(e){return""}}})},4173:function(e,t,n){n(23103)({global:!0},{globalThis:n(9859)})},6710:function(e,t,n){var r=n(23103),o=n(31333),i=n(53171),a=n(20266),c=n(65968),l=n(24229),u=n(33718),s=n(26733),p=n(85052),d=n(49395),f=n(1909),h=n(63839),m=o("JSON","stringify"),v=c(/./.exec),g=c("".charAt),b=c("".charCodeAt),y=c("".replace),x=c(1..toString),_=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,E=!h||l((function(){var e=o("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),T=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),S=function(e,t){var n=f(arguments),r=t;if((p(t)||void 0!==e)&&!d(e))return u(t)||(t=function(e,t){if(s(r)&&(t=a(r,this,e,t)),!d(t))return t}),n[1]=t,i(m,null,n)},C=function(e,t,n){var r=g(n,t-1),o=g(n,t+1);return v(w,e)&&!v(k,o)||v(k,e)&&!v(w,r)?"\\u"+x(b(e,0),16):e};m&&r({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(e,t,n){var r=f(arguments),o=i(E?S:m,null,r);return T&&"string"==typeof o?y(o,_,C):o}})},17525:function(e,t,n){var r=n(9859);n(54555)(r.JSON,"JSON",!0)},19294:function(e,t,n){"use strict";n(69789)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(98081))},79321:function(e,t,n){n(19294)},63498:function(e,t,n){var r=n(23103),o=n(89037),i=Math.acosh,a=Math.log,c=Math.sqrt,l=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:o(e-1+c(e-1)*c(e+1))}})},15290:function(e,t,n){var r=n(23103),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},30619:function(e,t,n){var r=n(23103),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},12644:function(e,t,n){var r=n(23103),o=n(57235),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},88276:function(e,t,n){var r=n(23103),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},78788:function(e,t,n){var r=n(23103),o=n(3514),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*c*c))*(c/2)}})},29208:function(e,t,n){var r=n(23103),o=n(3514);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},1100:function(e,t,n){n(23103)({target:"Math",stat:!0},{fround:n(80781)})},39509:function(e,t,n){var r=n(23103),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,c=0,l=arguments.length,u=0;c<l;)u<(n=i(arguments[c++]))?(o=o*(r=u/n)*r+1,u=n):o+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*a(o)}})},36348:function(e,t,n){var r=n(23103),o=n(24229),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},97890:function(e,t,n){n(23103)({target:"Math",stat:!0},{log10:n(20988)})},27681:function(e,t,n){n(23103)({target:"Math",stat:!0},{log1p:n(89037)})},5377:function(e,t,n){var r=n(23103),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},74279:function(e,t,n){n(23103)({target:"Math",stat:!0},{sign:n(57235)})},8373:function(e,t,n){var r=n(23103),o=n(24229),i=n(3514),a=Math.abs,c=Math.exp,l=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(c(e-1)-c(-e-1))*(l/2)}})},47122:function(e,t,n){var r=n(23103),o=n(3514),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},18275:function(e,t,n){n(54555)(Math,"Math",!0)},31969:function(e,t,n){var r=n(23103),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},71245:function(e,t,n){"use strict";var r=n(7400),o=n(9859),i=n(65968),a=n(46541),c=n(14768),l=n(98270),u=n(20835),s=n(91321),p=n(49395),d=n(92066),f=n(24229),h=n(78151).f,m=n(97933).f,v=n(31787).f,g=n(90143),b=n(1017).trim,y="Number",x=o.Number,_=x.prototype,w=o.TypeError,k=i("".slice),E=i("".charCodeAt),T=function(e){var t=d(e,"number");return"bigint"==typeof t?t:S(t)},S=function(e){var t,n,r,o,i,a,c,l,u=d(e,"number");if(p(u))throw w("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=b(u),43===(t=E(u,0))||45===t){if(88===(n=E(u,2))||120===n)return NaN}else if(48===t){switch(E(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=k(u,2)).length,c=0;c<a;c++)if((l=E(i,c))<48||l>o)return NaN;return parseInt(i,r)}return+u};if(a(y,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var C,A=function(e){var t=arguments.length<1?0:x(T(e)),n=this;return s(_,n)&&f((function(){g(n)}))?u(Object(t),n,A):t},O=r?h(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),R=0;O.length>R;R++)l(x,C=O[R])&&!l(A,C)&&v(A,C,m(x,C));A.prototype=_,_.constructor=A,c(o,y,A)}},23271:function(e,t,n){n(23103)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},66466:function(e,t,n){n(23103)({target:"Number",stat:!0},{isFinite:n(53775)})},33132:function(e,t,n){n(23103)({target:"Number",stat:!0},{isInteger:n(82292)})},14586:function(e,t,n){n(23103)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},87412:function(e,t,n){var r=n(23103),o=n(82292),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},58143:function(e,t,n){n(23103)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},72023:function(e,t,n){n(23103)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},48836:function(e,t,n){var r=n(23103),o=n(45496);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},77208:function(e,t,n){var r=n(23103),o=n(36596);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},42310:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(65968),a=n(43329),c=n(90143),l=n(93124),u=n(20988),s=n(24229),p=o.RangeError,d=o.String,f=o.isFinite,h=Math.abs,m=Math.floor,v=Math.pow,g=Math.round,b=i(1..toExponential),y=i(l),x=i("".slice),_="-6.9000e-11"===b(-69e-12,4)&&"1.25e+0"===b(1.255,2)&&"1.235e+4"===b(12345,3)&&"3e+1"===b(25,0),w=s((function(){b(1,1/0)}))&&s((function(){b(1,-1/0)})),k=!s((function(){b(1/0,1/0)}))&&!s((function(){b(NaN,1/0)}));r({target:"Number",proto:!0,forced:!_||!w||!k},{toExponential:function(e){var t=c(this);if(void 0===e)return b(t);var n=a(e);if(!f(t))return d(t);if(n<0||n>20)throw p("Incorrect fraction digits");if(_)return b(t,n);var r="",o="",i=0,l="",s="";if(t<0&&(r="-",t=-t),0===t)i=0,o=y("0",n+1);else{var w=u(t);i=m(w);var k=0,E=v(10,i-n);2*t>=(2*(k=g(t/E))+1)*E&&(k+=1),k>=v(10,n+1)&&(k/=10,i+=1),o=d(k)}return 0!==n&&(o=x(o,0,1)+"."+x(o,1)),0===i?(l="+",s="0"):(l=i>0?"+":"-",s=d(h(i))),r+(o+="e"+l+s)}})},61657:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(65968),a=n(43329),c=n(90143),l=n(93124),u=n(24229),s=o.RangeError,p=o.String,d=Math.floor,f=i(l),h=i("".slice),m=i(1..toFixed),v=function(e,t,n){return 0===t?n:t%2==1?v(e,t-1,n*e):v(e*e,t/2,n)},g=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=d(o/1e7)},b=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=d(r/t),r=r%t*1e7},y=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=p(e[t]);n=""===n?r:n+f("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u((function(){return"0.000"!==m(8e-5,3)||"1"!==m(.9,0)||"1.25"!==m(1.255,2)||"1000000000000000128"!==m(0xde0b6b3a7640080,0)}))||!u((function(){m({})}))},{toFixed:function(e){var t,n,r,o,i=c(this),l=a(e),u=[0,0,0,0,0,0],d="",m="0";if(l<0||l>20)throw s("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return p(i);if(i<0&&(d="-",i=-i),i>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*v(2,69,1))-69)<0?i*v(2,-t,1):i/v(2,t,1),n*=4503599627370496,(t=52-t)>0){for(g(u,0,n),r=l;r>=7;)g(u,1e7,0),r-=7;for(g(u,v(10,r,1),0),r=t-1;r>=23;)b(u,1<<23),r-=23;b(u,1<<r),g(u,1,1),b(u,2),m=y(u)}else g(u,0,n),g(u,1<<-t,0),m=y(u)+f("0",l);return m=l>0?d+((o=m.length)<=l?"0."+f("0",l-o)+m:h(m,0,o-l)+"."+h(m,o-l)):d+m}})},46465:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(24229),a=n(90143),c=o(1..toPrecision);r({target:"Number",proto:!0,forced:i((function(){return"1"!==c(1,void 0)}))||!i((function(){c({})}))},{toPrecision:function(e){return void 0===e?c(a(this)):c(a(this),e)}})},43105:function(e,t,n){var r=n(23103),o=n(47);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},47256:function(e,t,n){n(23103)({target:"Object",stat:!0,sham:!n(7400)},{create:n(22391)})},37846:function(e,t,n){"use strict";var r=n(23103),o=n(7400),i=n(15020),a=n(77111),c=n(92991),l=n(31787);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(c(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},76555:function(e,t,n){var r=n(23103),o=n(7400),i=n(90219).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},95094:function(e,t,n){var r=n(23103),o=n(7400),i=n(31787).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},16635:function(e,t,n){"use strict";var r=n(23103),o=n(7400),i=n(15020),a=n(77111),c=n(92991),l=n(31787);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(c(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},35883:function(e,t,n){var r=n(23103),o=n(87664).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},22144:function(e,t,n){var r=n(23103),o=n(68476),i=n(24229),a=n(85052),c=n(95926).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!o},{freeze:function(e){return l&&a(e)?l(c(e)):e}})},81804:function(e,t,n){var r=n(23103),o=n(89003),i=n(62324);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},68625:function(e,t,n){var r=n(23103),o=n(24229),i=n(10905),a=n(97933).f,c=n(7400),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},62775:function(e,t,n){var r=n(23103),o=n(7400),i=n(4826),a=n(10905),c=n(97933),l=n(62324);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=c.f,u=i(r),s={},p=0;u.length>p;)void 0!==(n=o(r,t=u[p++]))&&l(s,t,n);return s}})},24905:function(e,t,n){var r=n(23103),o=n(24229),i=n(10166).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},82067:function(e,t,n){var r=n(23103),o=n(63839),i=n(24229),a=n(10894),c=n(92991);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(c(e)):[]}})},96928:function(e,t,n){var r=n(23103),o=n(24229),i=n(92991),a=n(67567),c=n(27528);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},90336:function(e,t,n){n(23103)({target:"Object",stat:!0},{hasOwn:n(98270)})},58892:function(e,t,n){var r=n(23103),o=n(35343);r({target:"Object",stat:!0,forced:Object.isExtensible!==o},{isExtensible:o})},45060:function(e,t,n){var r=n(23103),o=n(24229),i=n(85052),a=n(27079),c=n(92460),l=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){l(1)}))||c},{isFrozen:function(e){return!i(e)||(!(!c||"ArrayBuffer"!=a(e))||!!l&&l(e))}})},2321:function(e,t,n){var r=n(23103),o=n(24229),i=n(85052),a=n(27079),c=n(92460),l=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){l(1)}))||c},{isSealed:function(e){return!i(e)||(!(!c||"ArrayBuffer"!=a(e))||!!l&&l(e))}})},49170:function(e,t,n){n(23103)({target:"Object",stat:!0},{is:n(72101)})},34769:function(e,t,n){var r=n(23103),o=n(92991),i=n(65632);r({target:"Object",stat:!0,forced:n(24229)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},42586:function(e,t,n){"use strict";var r=n(23103),o=n(7400),i=n(15020),a=n(92991),c=n(39310),l=n(67567),u=n(97933).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=c(e);do{if(t=u(n,r))return t.get}while(n=l(n))}})},43045:function(e,t,n){"use strict";var r=n(23103),o=n(7400),i=n(15020),a=n(92991),c=n(39310),l=n(67567),u=n(97933).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=c(e);do{if(t=u(n,r))return t.set}while(n=l(n))}})},84682:function(e,t,n){var r=n(23103),o=n(85052),i=n(95926).onFreeze,a=n(68476),c=n(24229),l=Object.preventExtensions;r({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&o(e)?l(i(e)):e}})},73280:function(e,t,n){var r=n(23103),o=n(85052),i=n(95926).onFreeze,a=n(68476),c=n(24229),l=Object.seal;r({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{seal:function(e){return l&&o(e)?l(i(e)):e}})},52506:function(e,t,n){n(23103)({target:"Object",stat:!0},{setPrototypeOf:n(56540)})},58188:function(e,t,n){var r=n(71601),o=n(14768),i=n(44059);r||o(Object.prototype,"toString",i,{unsafe:!0})},67890:function(e,t,n){var r=n(23103),o=n(87664).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},13489:function(e,t,n){var r=n(23103),o=n(45496);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},68995:function(e,t,n){var r=n(23103),o=n(36596);r({global:!0,forced:parseInt!=o},{parseInt:o})},37919:function(e,t,n){"use strict";var r=n(23103),o=n(20266),i=n(77111),a=n(16485),c=n(64624),l=n(89003);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,s=c((function(){var n=i(t.resolve),a=[],c=0,u=1;l(e,(function(e){var i=c++,l=!1;u++,o(n,t,e).then((function(e){l||(l=!0,a[i]={status:"fulfilled",value:e},--u||r(a))}),(function(e){l||(l=!0,a[i]={status:"rejected",reason:e},--u||r(a))}))})),--u||r(a)}));return s.error&&u(s.value),n.promise}})},56032:function(e,t,n){"use strict";var r=n(23103),o=n(20266),i=n(77111),a=n(16485),c=n(64624),l=n(89003);r({target:"Promise",stat:!0,forced:n(96866)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,s=c((function(){var n=i(t.resolve),a=[],c=0,s=1;l(e,(function(e){var i=c++,l=!1;s++,o(n,t,e).then((function(e){l||(l=!0,a[i]=e,--s||r(a))}),u)})),--s||r(a)}));return s.error&&u(s.value),n.promise}})},57178:function(e,t,n){"use strict";var r=n(23103),o=n(20266),i=n(77111),a=n(31333),c=n(16485),l=n(64624),u=n(89003),s="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a("AggregateError"),r=c.f(t),p=r.resolve,d=r.reject,f=l((function(){var r=i(t.resolve),a=[],c=0,l=1,f=!1;u(e,(function(e){var i=c++,u=!1;l++,o(r,t,e).then((function(e){u||f||(f=!0,p(e))}),(function(e){u||f||(u=!0,a[i]=e,--l||d(new n(a,s)))}))})),--l||d(new n(a,s))}));return f.error&&d(f.value),r.promise}})},6135:function(e,t,n){"use strict";var r=n(23103),o=n(24231),i=n(38321).CONSTRUCTOR,a=n(74473),c=n(31333),l=n(26733),u=n(14768),s=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&l(a)){var p=c("Promise").prototype.catch;s.catch!==p&&u(s,"catch",p,{unsafe:!0})}},86087:function(e,t,n){"use strict";var r,o,i,a=n(23103),c=n(24231),l=n(28801),u=n(9859),s=n(20266),p=n(14768),d=n(56540),f=n(54555),h=n(71832),m=n(77111),v=n(26733),g=n(85052),b=n(57728),y=n(37942),x=n(55795).set,_=n(24794),w=n(14665),k=n(64624),E=n(93358),T=n(56407),S=n(74473),C=n(38321),A=n(16485),O="Promise",R=C.CONSTRUCTOR,z=C.REJECTION_EVENT,P=C.SUBCLASSING,M=T.getterFor(O),I=T.set,N=S&&S.prototype,D=S,L=N,B=u.TypeError,j=u.document,F=u.process,H=A.f,U=H,G=!!(j&&j.createEvent&&u.dispatchEvent),W="unhandledrejection",q=function(e){var t;return!(!g(e)||!v(t=e.then))&&t},V=function(e,t){var n,r,o,i=t.value,a=1==t.state,c=a?e.ok:e.fail,l=e.resolve,u=e.reject,p=e.domain;try{c?(a||(2===t.rejection&&X(t),t.rejection=1),!0===c?n=i:(p&&p.enter(),n=c(i),p&&(p.exit(),o=!0)),n===e.promise?u(B("Promise-chain cycle")):(r=q(n))?s(r,n,l,u):l(n)):u(i)}catch(e){p&&!o&&p.exit(),u(e)}},K=function(e,t){e.notified||(e.notified=!0,_((function(){for(var n,r=e.reactions;n=r.get();)V(n,e);e.notified=!1,t&&!e.rejection&&Y(e)})))},Z=function(e,t,n){var r,o;G?((r=j.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!z&&(o=u["on"+e])?o(r):e===W&&w("Unhandled promise rejection",n)},Y=function(e){s(x,u,(function(){var t,n=e.facade,r=e.value;if($(e)&&(t=k((function(){l?F.emit("unhandledRejection",r,n):Z(W,n,r)})),e.rejection=l||$(e)?2:1,t.error))throw t.value}))},$=function(e){return 1!==e.rejection&&!e.parent},X=function(e){s(x,u,(function(){var t=e.facade;l?F.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},J=function(e,t,n){return function(r){e(t,r,n)}},Q=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,K(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=q(t);r?_((function(){var n={done:!1};try{s(r,t,J(ee,n,e),J(Q,n,e))}catch(t){Q(n,t,e)}})):(e.value=t,e.state=1,K(e,!1))}catch(t){Q({done:!1},t,e)}}};if(R&&(L=(D=function(e){b(this,L),m(e),s(r,this);var t=M(this);try{e(J(ee,t),J(Q,t))}catch(e){Q(t,e)}}).prototype,(r=function(e){I(this,{type:O,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=p(L,"then",(function(e,t){var n=M(this),r=H(y(this,D));return n.parent=!0,r.ok=!v(e)||e,r.fail=v(t)&&t,r.domain=l?F.domain:void 0,0==n.state?n.reactions.add(r):_((function(){V(r,n)})),r.promise})),o=function(){var e=new r,t=M(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(Q,t)},A.f=H=function(e){return e===D||undefined===e?new o(e):U(e)},!c&&v(S)&&N!==Object.prototype)){i=N.then,P||p(N,"then",(function(e,t){var n=this;return new D((function(e,t){s(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete N.constructor}catch(e){}d&&d(N,L)}a({global:!0,wrap:!0,forced:R},{Promise:D}),f(D,O,!1,!0),h(O)},21515:function(e,t,n){"use strict";var r=n(23103),o=n(24231),i=n(74473),a=n(24229),c=n(31333),l=n(26733),u=n(37942),s=n(62391),p=n(14768),d=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,c("Promise")),n=l(e);return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}}),!o&&l(i)){var f=c("Promise").prototype.finally;d.finally!==f&&p(d,"finally",f,{unsafe:!0})}},73439:function(e,t,n){n(86087),n(56032),n(6135),n(26767),n(39320),n(52047)},26767:function(e,t,n){"use strict";var r=n(23103),o=n(20266),i=n(77111),a=n(16485),c=n(64624),l=n(89003);r({target:"Promise",stat:!0,forced:n(96866)},{race:function(e){var t=this,n=a.f(t),r=n.reject,u=c((function(){var a=i(t.resolve);l(e,(function(e){o(a,t,e).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}})},39320:function(e,t,n){"use strict";var r=n(23103),o=n(20266),i=n(16485);r({target:"Promise",stat:!0,forced:n(38321).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},52047:function(e,t,n){"use strict";var r=n(23103),o=n(31333),i=n(24231),a=n(74473),c=n(38321).CONSTRUCTOR,l=n(62391),u=o("Promise"),s=i&&!c;r({target:"Promise",stat:!0,forced:i||c},{resolve:function(e){return l(s&&this===u?a:this,e)}})},45725:function(e,t,n){var r=n(23103),o=n(53171),i=n(77111),a=n(21176);r({target:"Reflect",stat:!0,forced:!n(24229)((function(){Reflect.apply((function(){}))}))},{apply:function(e,t,n){return o(i(e),t,a(n))}})},61229:function(e,t,n){var r=n(23103),o=n(31333),i=n(53171),a=n(94128),c=n(57988),l=n(21176),u=n(85052),s=n(22391),p=n(24229),d=o("Reflect","construct"),f=Object.prototype,h=[].push,m=p((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),v=!p((function(){d((function(){}))})),g=m||v;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(e,t){c(e),l(t);var n=arguments.length<3?e:c(arguments[2]);if(v&&!m)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(h,r,t),new(i(a,e,r))}var o=n.prototype,p=s(u(o)?o:f),g=i(e,p,t);return u(g)?g:p}})},55019:function(e,t,n){var r=n(23103),o=n(7400),i=n(21176),a=n(39310),c=n(31787);r({target:"Reflect",stat:!0,forced:n(24229)((function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t);i(n);try{return c.f(e,r,n),!0}catch(e){return!1}}})},3776:function(e,t,n){var r=n(23103),o=n(21176),i=n(97933).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},41903:function(e,t,n){var r=n(23103),o=n(7400),i=n(21176),a=n(97933);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},89913:function(e,t,n){var r=n(23103),o=n(21176),i=n(67567);r({target:"Reflect",stat:!0,sham:!n(27528)},{getPrototypeOf:function(e){return i(o(e))}})},54565:function(e,t,n){var r=n(23103),o=n(20266),i=n(85052),a=n(21176),c=n(90193),l=n(97933),u=n(67567);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,s,p=arguments.length<3?t:arguments[2];return a(t)===p?t[n]:(r=l.f(t,n))?c(r)?r.value:void 0===r.get?void 0:o(r.get,p):i(s=u(t))?e(s,n,p):void 0}})},73490:function(e,t,n){n(23103)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},92268:function(e,t,n){var r=n(23103),o=n(21176),i=n(35343);r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),i(e)}})},67609:function(e,t,n){n(23103)({target:"Reflect",stat:!0},{ownKeys:n(4826)})},73763:function(e,t,n){var r=n(23103),o=n(31333),i=n(21176);r({target:"Reflect",stat:!0,sham:!n(68476)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},66193:function(e,t,n){var r=n(23103),o=n(21176),i=n(88505),a=n(56540);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},98738:function(e,t,n){var r=n(23103),o=n(20266),i=n(21176),a=n(85052),c=n(90193),l=n(24229),u=n(31787),s=n(97933),p=n(67567),d=n(65358);r({target:"Reflect",stat:!0,forced:l((function(){var e=function(){},t=u.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}))},{set:function e(t,n,r){var l,f,h,m=arguments.length<4?t:arguments[3],v=s.f(i(t),n);if(!v){if(a(f=p(t)))return e(f,n,r,m);v=d(0)}if(c(v)){if(!1===v.writable||!a(m))return!1;if(l=s.f(m,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=r,u.f(m,n,l)}else u.f(m,n,d(0,r))}else{if(void 0===(h=v.set))return!1;o(h,m,r)}return!0}})},92215:function(e,t,n){var r=n(23103),o=n(9859),i=n(54555);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},17368:function(e,t,n){var r=n(7400),o=n(9859),i=n(65968),a=n(46541),c=n(20835),l=n(75762),u=n(78151).f,s=n(91321),p=n(48311),d=n(83326),f=n(83349),h=n(25650),m=n(26060),v=n(14768),g=n(24229),b=n(98270),y=n(56407).enforce,x=n(71832),_=n(70095),w=n(42926),k=n(10461),E=_("match"),T=o.RegExp,S=T.prototype,C=o.SyntaxError,A=i(S.exec),O=i("".charAt),R=i("".replace),z=i("".indexOf),P=i("".slice),M=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,N=/a/g,D=new T(I)!==I,L=h.MISSED_STICKY,B=h.UNSUPPORTED_Y,j=r&&(!D||L||w||k||g((function(){return N[E]=!1,T(I)!=I||T(N)==N||"/a/i"!=T(I,"i")})));if(a("RegExp",j)){for(var F=function(e,t){var n,r,o,i,a,u,h=s(S,this),m=p(e),v=void 0===t,g=[],x=e;if(!h&&m&&v&&e.constructor===F)return e;if((m||s(S,e))&&(e=e.source,v&&(t=f(x))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),x=e,w&&"dotAll"in I&&(r=!!t&&z(t,"s")>-1)&&(t=R(t,/s/g,"")),n=t,L&&"sticky"in I&&(o=!!t&&z(t,"y")>-1)&&B&&(t=R(t,/y/g,"")),k&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},c=!1,l=!1,u=0,s="";r<=n;r++){if("\\"===(t=O(e,r)))t+=O(e,++r);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:A(M,P(e,r+1))&&(r+=2,l=!0),o+=t,u++;continue;case">"===t&&l:if(""===s||b(a,s))throw new C("Invalid capture group name");a[s]=!0,i[i.length]=[s,u],l=!1,s="";continue}l?s+=t:o+=t}return[o,i]}(e),e=i[0],g=i[1]),a=c(T(e,t),h?this:S,F),(r||o||g.length)&&(u=y(a),r&&(u.dotAll=!0,u.raw=F(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=O(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+O(e,++r);return o}(e),n)),o&&(u.sticky=!0),g.length&&(u.groups=g)),e!==x)try{l(a,"source",""===x?"(?:)":x)}catch(e){}return a},H=u(T),U=0;H.length>U;)m(F,T,H[U++]);S.constructor=F,F.prototype=S,v(o,"RegExp",F)}x("RegExp")},24471:function(e,t,n){var r=n(9859),o=n(7400),i=n(42926),a=n(27079),c=n(96616),l=n(56407).get,u=RegExp.prototype,s=r.TypeError;o&&i&&c(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!l(this).dotAll;throw s("Incompatible receiver, RegExp required")}}})},77950:function(e,t,n){"use strict";var r=n(23103),o=n(63466);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},90103:function(e,t,n){var r=n(7400),o=n(96616),i=n(30895),a=n(24229),c=RegExp.prototype;r&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(c,"flags").get.call({dotAll:!0,sticky:!0})}))&&o(c,"flags",{configurable:!0,get:i})},51172:function(e,t,n){var r=n(9859),o=n(7400),i=n(25650).MISSED_STICKY,a=n(27079),c=n(96616),l=n(56407).get,u=RegExp.prototype,s=r.TypeError;o&&i&&c(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!l(this).sticky;throw s("Incompatible receiver, RegExp required")}}})},21850:function(e,t,n){"use strict";n(77950);var r,o,i=n(23103),a=n(9859),c=n(20266),l=n(65968),u=n(26733),s=n(85052),p=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),d=a.Error,f=l(/./.test);i({target:"RegExp",proto:!0,forced:!p},{test:function(e){var t=this.exec;if(!u(t))return f(this,e);var n=c(t,this,e);if(null!==n&&!s(n))throw new d("RegExp exec method returned something other than an Object or null");return!!n}})},88233:function(e,t,n){"use strict";var r=n(51805).PROPER,o=n(14768),i=n(21176),a=n(83326),c=n(24229),l=n(83349),u="toString",s=RegExp.prototype.toString,p=c((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),d=r&&s.name!=u;(p||d)&&o(RegExp.prototype,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(l(e))}),{unsafe:!0})},72560:function(e,t,n){"use strict";n(69789)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(98081))},93244:function(e,t,n){n(72560)},41549:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},6406:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(58885),a=n(43329),c=n(83326),l=n(24229),u=o("".charAt);r({target:"String",proto:!0,forced:l((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=c(i(this)),n=t.length,r=a(e),o=r>=0?r:n+r;return o<0||o>=n?void 0:u(t,o)}})},80066:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("big")},{big:function(){return o(this,"big","","")}})},51482:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("blink")},{blink:function(){return o(this,"blink","","")}})},35744:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("bold")},{bold:function(){return o(this,"b","","")}})},4618:function(e,t,n){"use strict";var r=n(23103),o=n(30966).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},96708:function(e,t,n){"use strict";var r,o=n(23103),i=n(65968),a=n(97933).f,c=n(34237),l=n(83326),u=n(47272),s=n(58885),p=n(48127),d=n(24231),f=i("".endsWith),h=i("".slice),m=Math.min,v=p("endsWith");o({target:"String",proto:!0,forced:!!(d||v||(r=a(String.prototype,"endsWith"),!r||r.writable))&&!v},{endsWith:function(e){var t=l(s(this));u(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:m(c(n),r),i=l(e);return f?f(t,i,o):h(t,o-i.length,o)===i}})},9538:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("fixed")},{fixed:function(){return o(this,"tt","","")}})},27268:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},96362:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},84605:function(e,t,n){var r=n(23103),o=n(9859),i=n(65968),a=n(43231),c=o.RangeError,l=String.fromCharCode,u=String.fromCodePoint,s=i([].join);r({target:"String",stat:!0,arity:1,forced:!!u&&1!=u.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],a(t,1114111)!==t)throw c(t+" is not a valid code point");n[o]=t<65536?l(t):l(55296+((t-=65536)>>10),t%1024+56320)}return s(n,"")}})},31235:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(47272),a=n(58885),c=n(83326),l=n(48127),u=o("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~u(c(a(this)),c(i(e)),arguments.length>1?arguments[1]:void 0)}})},53969:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("italics")},{italics:function(){return o(this,"i","","")}})},28673:function(e,t,n){"use strict";var r=n(30966).charAt,o=n(83326),i=n(56407),a=n(67675),c="String Iterator",l=i.set,u=i.getterFor(c);a(String,"String",(function(e){l(this,{type:c,string:o(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},72508:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("link")},{link:function(e){return o(this,"a","href",e)}})},96920:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(20266),a=n(65968),c=n(93723),l=n(58885),u=n(34237),s=n(83326),p=n(21176),d=n(27079),f=n(48311),h=n(83349),m=n(55300),v=n(14768),g=n(24229),b=n(70095),y=n(37942),x=n(36637),_=n(98115),w=n(56407),k=n(24231),E=b("matchAll"),T="RegExp String",S="RegExp String Iterator",C=w.set,A=w.getterFor(S),O=RegExp.prototype,R=o.TypeError,z=a("".indexOf),P=a("".matchAll),M=!!P&&!g((function(){P("a",/./)})),I=c((function(e,t,n,r){C(this,{type:S,regexp:e,string:t,global:n,unicode:r,done:!1})}),T,(function(){var e=A(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=_(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""===s(r[0])&&(t.lastIndex=x(n,u(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),N=function(e){var t,n,r,o=p(this),i=s(e),a=y(o,RegExp),c=s(h(o));return t=new a(a===RegExp?o.source:o,c),n=!!~z(c,"g"),r=!!~z(c,"u"),t.lastIndex=u(o.lastIndex),new I(t,i,n,r)};r({target:"String",proto:!0,forced:M},{matchAll:function(e){var t,n,r,o,a=l(this);if(null!=e){if(f(e)&&(t=s(l(h(e))),!~z(t,"g")))throw R("`.matchAll` does not allow non-global regexes");if(M)return P(a,e);if(void 0===(r=m(e,E))&&k&&"RegExp"==d(e)&&(r=N),r)return i(r,e,a)}else if(M)return P(a,e);return n=s(a),o=new RegExp(e,"g"),k?i(N,o,n):o[E](n)}}),k||E in O||v(O,E,N)},74069:function(e,t,n){"use strict";var r=n(20266),o=n(94954),i=n(21176),a=n(34237),c=n(83326),l=n(58885),u=n(55300),s=n(36637),p=n(98115);o("match",(function(e,t,n){return[function(t){var n=l(this),o=null==t?void 0:u(t,e);return o?r(o,t,n):new RegExp(t)[e](c(n))},function(e){var r=i(this),o=c(e),l=n(t,r,o);if(l.done)return l.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var d,f=[],h=0;null!==(d=p(r,o));){var m=c(d[0]);f[h]=m,""===m&&(r.lastIndex=s(o,a(r.lastIndex),u)),h++}return 0===h?null:f}]}))},90977:function(e,t,n){"use strict";var r=n(23103),o=n(46650).end;r({target:"String",proto:!0,forced:n(57456)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},35734:function(e,t,n){"use strict";var r=n(23103),o=n(46650).start;r({target:"String",proto:!0,forced:n(57456)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},64805:function(e,t,n){var r=n(23103),o=n(65968),i=n(10905),a=n(92991),c=n(83326),l=n(39646),u=o([].push),s=o([].join);r({target:"String",stat:!0},{raw:function(e){for(var t=i(a(e).raw),n=l(t),r=arguments.length,o=[],p=0;n>p;){if(u(o,c(t[p++])),p===n)return s(o,"");p<r&&u(o,c(arguments[p]))}}})},67789:function(e,t,n){n(23103)({target:"String",proto:!0},{repeat:n(93124)})},71639:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(20266),a=n(65968),c=n(58885),l=n(26733),u=n(48311),s=n(83326),p=n(55300),d=n(83349),f=n(70017),h=n(70095),m=n(24231),v=h("replace"),g=o.TypeError,b=a("".indexOf),y=a("".replace),x=a("".slice),_=Math.max,w=function(e,t,n){return n>e.length?-1:""===t?n:b(e,t,n)};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,a,h,k,E,T,S,C=c(this),A=0,O=0,R="";if(null!=e){if((n=u(e))&&(r=s(c(d(e))),!~b(r,"g")))throw g("`.replaceAll` does not allow non-global regexes");if(o=p(e,v))return i(o,e,C,t);if(m&&n)return y(s(C),e,t)}for(a=s(C),h=s(e),(k=l(t))||(t=s(t)),E=h.length,T=_(1,E),A=w(a,h,0);-1!==A;)S=k?s(t(h,A,a)):f(h,a,A,[],void 0,t),R+=x(a,O,A)+S,O=A+E,A=w(a,h,A+T);return O<a.length&&(R+=x(a,O)),R}})},85940:function(e,t,n){"use strict";var r=n(53171),o=n(20266),i=n(65968),a=n(94954),c=n(24229),l=n(21176),u=n(26733),s=n(43329),p=n(34237),d=n(83326),f=n(58885),h=n(36637),m=n(55300),v=n(70017),g=n(98115),b=n(70095)("replace"),y=Math.max,x=Math.min,_=i([].concat),w=i([].push),k=i("".indexOf),E=i("".slice),T="$0"==="a".replace(/./,"$0"),S=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,n){var i=S?"$":"$0";return[function(e,n){var r=f(this),i=null==e?void 0:m(e,b);return i?o(i,e,r,n):o(t,d(r),e,n)},function(e,o){var a=l(this),c=d(e);if("string"==typeof o&&-1===k(o,i)&&-1===k(o,"$<")){var f=n(t,a,c,o);if(f.done)return f.value}var m=u(o);m||(o=d(o));var b=a.global;if(b){var T=a.unicode;a.lastIndex=0}for(var S=[];;){var C=g(a,c);if(null===C)break;if(w(S,C),!b)break;""===d(C[0])&&(a.lastIndex=h(c,p(a.lastIndex),T))}for(var A,O="",R=0,z=0;z<S.length;z++){for(var P=d((C=S[z])[0]),M=y(x(s(C.index),c.length),0),I=[],N=1;N<C.length;N++)w(I,void 0===(A=C[N])?A:String(A));var D=C.groups;if(m){var L=_([P],I,M,c);void 0!==D&&w(L,D);var B=d(r(o,void 0,L))}else B=v(P,c,M,I,D,o);M>=R&&(O+=E(c,R,M)+B,R=M+P.length)}return O+E(c,R)}]}),!!c((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!T||S)},94908:function(e,t,n){"use strict";var r=n(20266),o=n(94954),i=n(21176),a=n(58885),c=n(72101),l=n(83326),u=n(55300),s=n(98115);o("search",(function(e,t,n){return[function(t){var n=a(this),o=null==t?void 0:u(t,e);return o?r(o,t,n):new RegExp(t)[e](l(n))},function(e){var r=i(this),o=l(e),a=n(t,r,o);if(a.done)return a.value;var u=r.lastIndex;c(u,0)||(r.lastIndex=0);var p=s(r,o);return c(r.lastIndex,u)||(r.lastIndex=u),null===p?-1:p.index}]}))},8532:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("small")},{small:function(){return o(this,"small","","")}})},48319:function(e,t,n){"use strict";var r=n(53171),o=n(20266),i=n(65968),a=n(94954),c=n(48311),l=n(21176),u=n(58885),s=n(37942),p=n(36637),d=n(34237),f=n(83326),h=n(55300),m=n(69794),v=n(98115),g=n(63466),b=n(25650),y=n(24229),x=b.UNSUPPORTED_Y,_=4294967295,w=Math.min,k=[].push,E=i(/./.exec),T=i(k),S=i("".slice),C=!y((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=f(u(this)),a=void 0===n?_:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!c(e))return o(t,i,e,a);for(var l,s,p,d=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,b=new RegExp(e.source,h+"g");(l=o(g,b,i))&&!((s=b.lastIndex)>v&&(T(d,S(i,v,l.index)),l.length>1&&l.index<i.length&&r(k,d,m(l,1)),p=l[0].length,v=s,d.length>=a));)b.lastIndex===l.index&&b.lastIndex++;return v===i.length?!p&&E(b,"")||T(d,""):T(d,S(i,v)),d.length>a?m(d,0,a):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=u(this),a=null==t?void 0:h(t,e);return a?o(a,t,r,n):o(i,f(r),t,n)},function(e,r){var o=l(this),a=f(e),c=n(i,o,a,r,i!==t);if(c.done)return c.value;var u=s(o,RegExp),h=o.unicode,m=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(x?"g":"y"),g=new u(x?"^(?:"+o.source+")":o,m),b=void 0===r?_:r>>>0;if(0===b)return[];if(0===a.length)return null===v(g,a)?[a]:[];for(var y=0,k=0,E=[];k<a.length;){g.lastIndex=x?0:k;var C,A=v(g,x?S(a,k):a);if(null===A||(C=w(d(g.lastIndex+(x?k:0)),a.length))===y)k=p(a,k,h);else{if(T(E,S(a,y,k)),E.length===b)return E;for(var O=1;O<=A.length-1;O++)if(T(E,A[O]),E.length===b)return E;k=y=C}}return T(E,S(a,y)),E}]}),!C,x)},44112:function(e,t,n){"use strict";var r,o=n(23103),i=n(65968),a=n(97933).f,c=n(34237),l=n(83326),u=n(47272),s=n(58885),p=n(48127),d=n(24231),f=i("".startsWith),h=i("".slice),m=Math.min,v=p("startsWith");o({target:"String",proto:!0,forced:!!(d||v||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!v},{startsWith:function(e){var t=l(s(this));u(e);var n=c(m(arguments.length>1?arguments[1]:void 0,t.length)),r=l(e);return f?f(t,r,n):h(t,n,n+r.length)===r}})},8101:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("strike")},{strike:function(){return o(this,"strike","","")}})},24033:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("sub")},{sub:function(){return o(this,"sub","","")}})},76080:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(58885),a=n(43329),c=n(83326),l=o("".slice),u=Math.max,s=Math.min;r({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(e,t){var n,r,o=c(i(this)),p=o.length,d=a(e);return d===1/0&&(d=0),d<0&&(d=u(p+d,0)),(n=void 0===t?p:a(t))<=0||n===1/0||d>=(r=s(d+n,p))?"":l(o,d,r)}})},50740:function(e,t,n){"use strict";var r=n(23103),o=n(81720);r({target:"String",proto:!0,forced:n(59540)("sup")},{sup:function(){return o(this,"sup","","")}})},18827:function(e,t,n){n(65625);var r=n(23103),o=n(61466);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==o},{trimEnd:o})},18763:function(e,t,n){var r=n(23103),o=n(58747);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==o},{trimLeft:o})},65625:function(e,t,n){var r=n(23103),o=n(61466);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==o},{trimRight:o})},41715:function(e,t,n){n(18763);var r=n(23103),o=n(58747);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==o},{trimStart:o})},45794:function(e,t,n){"use strict";var r=n(23103),o=n(1017).trim;r({target:"String",proto:!0,forced:n(9445)("trim")},{trim:function(){return o(this)}})},96882:function(e,t,n){n(38423)("asyncIterator")},39956:function(e,t,n){"use strict";var r=n(23103),o=n(9859),i=n(20266),a=n(65968),c=n(24231),l=n(7400),u=n(63839),s=n(24229),p=n(98270),d=n(91321),f=n(21176),h=n(10905),m=n(39310),v=n(83326),g=n(65358),b=n(22391),y=n(65632),x=n(78151),_=n(10166),w=n(10894),k=n(97933),E=n(31787),T=n(90219),S=n(19195),C=n(14768),A=n(33036),O=n(44399),R=n(95977),z=n(81441),P=n(70095),M=n(55391),I=n(38423),N=n(66481),D=n(54555),L=n(56407),B=n(89996).forEach,j=O("hidden"),F="Symbol",H=L.set,U=L.getterFor(F),G=Object.prototype,W=o.Symbol,q=W&&W.prototype,V=o.TypeError,K=o.QObject,Z=k.f,Y=E.f,$=_.f,X=S.f,J=a([].push),Q=A("symbols"),ee=A("op-symbols"),te=A("wks"),ne=!K||!K.prototype||!K.prototype.findChild,re=l&&s((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Z(G,t);r&&delete G[t],Y(e,t,n),r&&e!==G&&Y(G,t,r)}:Y,oe=function(e,t){var n=Q[e]=b(q);return H(n,{type:F,tag:e,description:t}),l||(n.description=t),n},ie=function(e,t,n){e===G&&ie(ee,t,n),f(e);var r=m(t);return f(n),p(Q,r)?(n.enumerable?(p(e,j)&&e[j][r]&&(e[j][r]=!1),n=b(n,{enumerable:g(0,!1)})):(p(e,j)||Y(e,j,g(1,{})),e[j][r]=!0),re(e,r,n)):Y(e,r,n)},ae=function(e,t){f(e);var n=h(t),r=y(n).concat(se(n));return B(r,(function(t){l&&!i(ce,n,t)||ie(e,t,n[t])})),e},ce=function(e){var t=m(e),n=i(X,this,t);return!(this===G&&p(Q,t)&&!p(ee,t))&&(!(n||!p(this,t)||!p(Q,t)||p(this,j)&&this[j][t])||n)},le=function(e,t){var n=h(e),r=m(t);if(n!==G||!p(Q,r)||p(ee,r)){var o=Z(n,r);return!o||!p(Q,r)||p(n,j)&&n[j][r]||(o.enumerable=!0),o}},ue=function(e){var t=$(h(e)),n=[];return B(t,(function(e){p(Q,e)||p(R,e)||J(n,e)})),n},se=function(e){var t=e===G,n=$(t?ee:h(e)),r=[];return B(n,(function(e){!p(Q,e)||t&&!p(G,e)||J(r,Q[e])})),r};u||(W=function(){if(d(q,this))throw V("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=z(e),n=function(e){this===G&&i(n,ee,e),p(this,j)&&p(this[j],t)&&(this[j][t]=!1),re(this,t,g(1,e))};return l&&ne&&re(G,t,{configurable:!0,set:n}),oe(t,e)},C(q=W.prototype,"toString",(function(){return U(this).tag})),C(W,"withoutSetter",(function(e){return oe(z(e),e)})),S.f=ce,E.f=ie,T.f=ae,k.f=le,x.f=_.f=ue,w.f=se,M.f=function(e){return oe(P(e),e)},l&&(Y(q,"description",{configurable:!0,get:function(){return U(this).description}}),c||C(G,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),B(y(te),(function(e){I(e)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!l},{create:function(e,t){return void 0===t?b(e):ae(b(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ue}),N(),D(W,F),R[j]=!0},634:function(e,t,n){"use strict";var r=n(23103),o=n(7400),i=n(9859),a=n(65968),c=n(98270),l=n(26733),u=n(91321),s=n(83326),p=n(31787).f,d=n(77081),f=i.Symbol,h=f&&f.prototype;if(o&&l(f)&&(!("description"in h)||void 0!==f().description)){var m={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),t=u(h,this)?new f(e):void 0===e?f():f(e);return""===e&&(m[t]=!0),t};d(v,f),v.prototype=h,h.constructor=v;var g="Symbol(test)"==String(f("test")),b=a(h.toString),y=a(h.valueOf),x=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),w=a("".slice);p(h,"description",{configurable:!0,get:function(){var e=y(this),t=b(e);if(c(m,e))return"";var n=g?w(t,7,-1):_(t,x,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},23352:function(e,t,n){var r=n(23103),o=n(31333),i=n(98270),a=n(83326),c=n(33036),l=n(75506),u=c("string-to-symbol-registry"),s=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(i(u,t))return u[t];var n=o("Symbol")(t);return u[t]=n,s[n]=t,n}})},68858:function(e,t,n){n(38423)("hasInstance")},72220:function(e,t,n){n(38423)("isConcatSpreadable")},20796:function(e,t,n){n(38423)("iterator")},34115:function(e,t,n){n(39956),n(23352),n(49717),n(6710),n(82067)},49717:function(e,t,n){var r=n(23103),o=n(98270),i=n(49395),a=n(59821),c=n(33036),l=n(75506),u=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},85960:function(e,t,n){n(38423)("matchAll")},64844:function(e,t,n){n(38423)("match")},40225:function(e,t,n){n(38423)("replace")},71686:function(e,t,n){n(38423)("search")},75605:function(e,t,n){n(38423)("species")},68223:function(e,t,n){n(38423)("split")},9575:function(e,t,n){var r=n(38423),o=n(66481);r("toPrimitive"),o()},38859:function(e,t,n){var r=n(31333),o=n(38423),i=n(54555);o("toStringTag"),i(r("Symbol"),"Symbol")},96100:function(e,t,n){n(38423)("unscopables")},94898:function(e,t,n){"use strict";var r=n(9918),o=n(39646),i=n(43329),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(e){var t=a(this),n=o(t),r=i(e),c=r>=0?r:n+r;return c<0||c>=n?void 0:t[c]}))},5825:function(e,t,n){"use strict";var r=n(65968),o=n(9918),i=r(n(77154)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},67170:function(e,t,n){"use strict";var r=n(9918),o=n(89996).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},38857:function(e,t,n){"use strict";var r=n(9918),o=n(20266),i=n(97065),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return o(i,a(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},58329:function(e,t,n){"use strict";var r=n(9918),o=n(89996).filter,i=n(88874),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},427:function(e,t,n){"use strict";var r=n(9918),o=n(89996).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},76279:function(e,t,n){"use strict";var r=n(9918),o=n(89996).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},81382:function(e,t,n){n(42574)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},91982:function(e,t,n){n(42574)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},11159:function(e,t,n){"use strict";var r=n(9918),o=n(89996).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},26618:function(e,t,n){"use strict";var r=n(48200);(0,n(9918).exportTypedArrayStaticMethod)("from",n(35215),r)},42516:function(e,t,n){"use strict";var r=n(9918),o=n(19540).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},64349:function(e,t,n){"use strict";var r=n(9918),o=n(19540).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},24074:function(e,t,n){n(42574)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},64696:function(e,t,n){n(42574)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},73229:function(e,t,n){n(42574)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},15273:function(e,t,n){"use strict";var r=n(9859),o=n(24229),i=n(65968),a=n(9918),c=n(15735),l=n(70095)("iterator"),u=r.Uint8Array,s=i(c.values),p=i(c.keys),d=i(c.entries),f=a.aTypedArray,h=a.exportTypedArrayMethod,m=u&&u.prototype,v=!o((function(){m[l].call([1])})),g=!!m&&m.values&&m[l]===m.values&&"values"===m.values.name,b=function(){return s(f(this))};h("entries",(function(){return d(f(this))}),v),h("keys",(function(){return p(f(this))}),v),h("values",b,v||!g,{name:"values"}),h(l,b,v||!g,{name:"values"})},16729:function(e,t,n){"use strict";var r=n(9918),o=n(65968),i=r.aTypedArray,a=r.exportTypedArrayMethod,c=o([].join);a("join",(function(e){return c(i(this),e)}))},41801:function(e,t,n){"use strict";var r=n(9918),o=n(53171),i=n(86462),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},50574:function(e,t,n){"use strict";var r=n(9918),o=n(89996).map,i=n(54622),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},49527:function(e,t,n){"use strict";var r=n(9918),o=n(48200),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},39271:function(e,t,n){"use strict";var r=n(9918),o=n(43143).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},5787:function(e,t,n){"use strict";var r=n(9918),o=n(43143).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},73160:function(e,t,n){"use strict";var r=n(9918),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,n=o(t).length,r=a(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},65688:function(e,t,n){"use strict";var r=n(9859),o=n(20266),i=n(9918),a=n(39646),c=n(84262),l=n(92991),u=n(24229),s=r.RangeError,p=r.Int8Array,d=p&&p.prototype,f=d&&d.set,h=i.aTypedArray,m=i.exportTypedArrayMethod,v=!u((function(){var e=new Uint8ClampedArray(2);return o(f,e,{length:1,0:3},1),3!==e[1]})),g=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new p(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){h(this);var t=c(arguments.length>1?arguments[1]:void 0,1),n=l(e);if(v)return o(f,this,n,t);var r=this.length,i=a(n),u=0;if(i+t>r)throw s("Wrong length");for(;u<i;)this[t+u]=n[u++]}),!v||g)},93157:function(e,t,n){"use strict";var r=n(9918),o=n(54622),i=n(24229),a=n(1909),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(c(this),e,t),r=o(this),i=0,l=n.length,u=new r(l);l>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},33333:function(e,t,n){"use strict";var r=n(9918),o=n(89996).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},70315:function(e,t,n){"use strict";var r=n(9859),o=n(65968),i=n(24229),a=n(77111),c=n(33867),l=n(9918),u=n(22671),s=n(48506),p=n(6358),d=n(49811),f=l.aTypedArray,h=l.exportTypedArrayMethod,m=r.Uint16Array,v=m&&o(m.prototype.sort),g=!(!v||i((function(){v(new m(2),null)}))&&i((function(){v(new m(2),{})}))),b=!!v&&!i((function(){if(p)return p<74;if(u)return u<67;if(s)return!0;if(d)return d<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(v(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),b?v(this,e):c(f(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!b||g)},28314:function(e,t,n){"use strict";var r=n(9918),o=n(34237),i=n(43231),a=n(54622),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),r=n.length,l=i(e,r);return new(a(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},50556:function(e,t,n){"use strict";var r=n(9859),o=n(53171),i=n(9918),a=n(24229),c=n(1909),l=r.Int8Array,u=i.aTypedArray,s=i.exportTypedArrayMethod,p=[].toLocaleString,d=!!l&&a((function(){p.call(new l(1))}));s("toLocaleString",(function(){return o(p,d?c(u(this)):u(this),c(arguments))}),a((function(){return[1,2].toLocaleString()!=new l([1,2]).toLocaleString()}))||!a((function(){l.prototype.toLocaleString.call([1,2])})))},29224:function(e,t,n){"use strict";var r=n(9918).exportTypedArrayMethod,o=n(24229),i=n(9859),a=n(65968),c=i.Uint8Array,l=c&&c.prototype||{},u=[].toString,s=a([].join);o((function(){u.call({})}))&&(u=function(){return s(this)});var p=l.toString!=u;r("toString",u,p)},13161:function(e,t,n){n(42574)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},90723:function(e,t,n){n(42574)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},13675:function(e,t,n){n(42574)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},36920:function(e,t,n){n(42574)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},30608:function(e,t,n){"use strict";var r=n(23103),o=n(65968),i=n(83326),a=String.fromCharCode,c=o("".charAt),l=o(/./.exec),u=o("".slice),s=/^[\da-f]{2}$/i,p=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(e){for(var t,n,r=i(e),o="",d=r.length,f=0;f<d;){if("%"===(t=c(r,f++)))if("u"===c(r,f)){if(n=u(r,f+1,f+5),l(p,n)){o+=a(parseInt(n,16)),f+=5;continue}}else if(n=u(r,f,f+2),l(s,n)){o+=a(parseInt(n,16)),f+=2;continue}o+=t}return o}})},6418:function(e,t,n){"use strict";var r,o=n(9859),i=n(65968),a=n(8312),c=n(95926),l=n(69789),u=n(34945),s=n(85052),p=n(35343),d=n(56407).enforce,f=n(18694),h=!o.ActiveXObject&&"ActiveXObject"in o,m=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=l("WeakMap",m,u);if(f&&h){r=u.getConstructor(m,"WeakMap",!0),c.enable();var g=v.prototype,b=i(g.delete),y=i(g.has),x=i(g.get),_=i(g.set);a(g,{delete:function(e){if(s(e)&&!p(e)){var t=d(this);return t.frozen||(t.frozen=new r),b(this,e)||t.frozen.delete(e)}return b(this,e)},has:function(e){if(s(e)&&!p(e)){var t=d(this);return t.frozen||(t.frozen=new r),y(this,e)||t.frozen.has(e)}return y(this,e)},get:function(e){if(s(e)&&!p(e)){var t=d(this);return t.frozen||(t.frozen=new r),y(this,e)?x(this,e):t.frozen.get(e)}return x(this,e)},set:function(e,t){if(s(e)&&!p(e)){var n=d(this);n.frozen||(n.frozen=new r),y(this,e)?_(this,e,t):n.frozen.set(e,t)}else _(this,e,t);return this}})}},52356:function(e,t,n){n(6418)},92975:function(e,t,n){"use strict";n(69789)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(34945))},61391:function(e,t,n){n(92975)},34707:function(e,t,n){var r=n(23103),o=n(31333),i=n(65968),a=n(24229),c=n(83326),l=n(98270),u=n(77579),s=n(17291).ctoi,p=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,f=/[=]+$/,h=o("atob"),m=String.fromCharCode,v=i("".charAt),g=i("".replace),b=i(p.exec),y=a((function(){return""!==h(" ")})),x=!a((function(){h("a")})),_=!y&&!x&&!a((function(){h()})),w=!y&&!x&&1!==h.length;r({global:!0,enumerable:!0,forced:y||x||_||w},{atob:function(e){if(u(arguments.length,1),_||w)return h(e);var t,n,r=g(c(e),d,""),i="",a=0,y=0;if(r.length%4==0&&(r=g(r,f,"")),r.length%4==1||b(p,r))throw new(o("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;t=v(r,a++);)l(s,t)&&(n=y%4?64*n+s[t]:s[t],y++%4&&(i+=m(255&n>>(-2*y&6))));return i}})},7901:function(e,t,n){var r=n(23103),o=n(31333),i=n(65968),a=n(24229),c=n(83326),l=n(77579),u=n(17291).itoc,s=o("btoa"),p=i("".charAt),d=i("".charCodeAt),f=!!s&&!a((function(){s()})),h=!!s&&a((function(){return"bnVsbA=="!==s(null)})),m=!!s&&1!==s.length;r({global:!0,enumerable:!0,forced:f||h||m},{btoa:function(e){if(l(arguments.length,1),f||h||m)return s(c(e));for(var t,n,r=c(e),i="",a=0,v=u;p(r,a)||(v="=",a%1);){if((n=d(r,a+=3/4))>255)throw new(o("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");i+=p(v,63&(t=t<<8|n)>>8-a%1*8)}return i}})},78596:function(e,t,n){var r=n(23103),o=n(9859),i=n(55795).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},1939:function(e,t,n){var r=n(9859),o=n(95694),i=n(18865),a=n(86570),c=n(75762),l=function(e){if(e&&e.forEach!==a)try{c(e,"forEach",a)}catch(t){e.forEach=a}};for(var u in o)o[u]&&l(r[u]&&r[u].prototype);l(i)},6886:function(e,t,n){var r=n(9859),o=n(95694),i=n(18865),a=n(15735),c=n(75762),l=n(70095),u=l("iterator"),s=l("toStringTag"),p=a.values,d=function(e,t){if(e){if(e[u]!==p)try{c(e,u,p)}catch(t){e[u]=p}if(e[s]||c(e,s,t),o[t])for(var n in a)if(e[n]!==a[n])try{c(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var f in o)d(r[f]&&r[f].prototype,f);d(i,"DOMTokenList")},81497:function(e,t,n){"use strict";var r=n(23103),o=n(14165),i=n(31333),a=n(24229),c=n(22391),l=n(65358),u=n(31787).f,s=n(14768),p=n(96616),d=n(98270),f=n(57728),h=n(21176),m=n(98864),v=n(40635),g=n(57445),b=n(71590),y=n(56407),x=n(7400),_=n(24231),w="DOMException",k="DATA_CLONE_ERR",E=i("Error"),T=i(w)||function(){try{(new(i("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name==k&&25==e.code)return e.constructor}}(),S=T&&T.prototype,C=E.prototype,A=y.set,O=y.getterFor(w),R="stack"in E(w),z=function(e){return d(g,e)&&g[e].m?g[e].c:0},P=function(){f(this,M);var e=arguments.length,t=v(e<1?void 0:arguments[0]),n=v(e<2?void 0:arguments[1],"Error"),r=z(n);if(A(this,{type:w,name:n,message:t,code:r}),x||(this.name=n,this.message=t,this.code=r),R){var o=E(t);o.name=w,u(this,"stack",l(1,b(o.stack,1)))}},M=P.prototype=c(C),I=function(e){return{enumerable:!0,configurable:!0,get:e}},N=function(e){return I((function(){return O(this)[e]}))};x&&(p(M,"code",N("code")),p(M,"message",N("message")),p(M,"name",N("name"))),u(M,"constructor",l(1,P));var D=a((function(){return!(new T instanceof E)})),L=D||a((function(){return C.toString!==m||"2: 1"!==String(new T(1,2))})),B=D||a((function(){return 25!==new T(1,"DataCloneError").code})),j=D||25!==T.DATA_CLONE_ERR||25!==S.DATA_CLONE_ERR,F=_?L||B||j:D;r({global:!0,forced:F},{DOMException:F?P:T});var H=i(w),U=H.prototype;for(var G in L&&(_||T===H)&&s(U,"toString",m),B&&x&&T===H&&p(U,"code",I((function(){return z(h(this).name)}))),g)if(d(g,G)){var W=g[G],q=W.s,V=l(6,W.c);d(H,q)||u(H,q,V),d(U,q)||u(U,q,V)}},75640:function(e,t,n){"use strict";var r=n(23103),o=n(31333),i=n(65358),a=n(31787).f,c=n(98270),l=n(57728),u=n(20835),s=n(40635),p=n(57445),d=n(71590),f=n(24231),h="DOMException",m=o("Error"),v=o(h),g=function(){l(this,b);var e=arguments.length,t=s(e<1?void 0:arguments[0]),n=s(e<2?void 0:arguments[1],"Error"),r=new v(t,n),o=m(t);return o.name=h,a(r,"stack",i(1,d(o.stack,1))),u(r,this,g),r},b=g.prototype=v.prototype,y="stack"in m(h),x="stack"in new v(1,2),_=y&&!x;r({global:!0,forced:f||_},{DOMException:_?g:v});var w=o(h),k=w.prototype;if(k.constructor!==w)for(var E in f||a(k,"constructor",i(1,w)),p)if(c(p,E)){var T=p[E],S=T.s;c(w,S)||a(w,S,i(6,T.c))}},1871:function(e,t,n){var r=n(31333),o="DOMException";n(54555)(r(o),o)},46106:function(e,t,n){n(78596),n(86471)},19866:function(e,t,n){var r=n(23103),o=n(9859),i=n(24794),a=n(77111),c=n(77579),l=n(28801),u=o.process;r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){c(arguments.length,1),a(e);var t=l&&u.domain;i(t?t.bind(e):e)}})},86471:function(e,t,n){var r=n(23103),o=n(9859),i=n(55795).set;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},73801:function(e,t,n){var r=n(23103),o=n(9859),i=n(24752).setInterval;r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},98540:function(e,t,n){var r=n(23103),o=n(9859),i=n(24752).setTimeout;r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},59472:function(e,t,n){var r,o=n(24231),i=n(23103),a=n(9859),c=n(31333),l=n(65968),u=n(24229),s=n(81441),p=n(26733),d=n(82359),f=n(85052),h=n(49395),m=n(89003),v=n(21176),g=n(81589),b=n(98270),y=n(62324),x=n(75762),_=n(39646),w=n(77579),k=n(83349),E=n(20373),T=a.Object,S=a.Date,C=a.Error,A=a.EvalError,O=a.RangeError,R=a.ReferenceError,z=a.SyntaxError,P=a.TypeError,M=a.URIError,I=a.PerformanceMark,N=a.WebAssembly,D=N&&N.CompileError||C,L=N&&N.LinkError||C,B=N&&N.RuntimeError||C,j=c("DOMException"),F=c("Set"),H=c("Map"),U=H.prototype,G=l(U.has),W=l(U.get),q=l(U.set),V=l(F.prototype.add),K=c("Object","keys"),Z=l([].push),Y=l((!0).valueOf),$=l(1..valueOf),X=l("".valueOf),J=l(S.prototype.getTime),Q=s("structuredClone"),ee="DataCloneError",te="Transferring",ne=function(e){return!u((function(){var t=new a.Set([7]),n=e(t),r=e(T(7));return n==t||!n.has(7)||"object"!=typeof r||7!=r}))&&e},re=a.structuredClone,oe=o||(r=re,!(!u((function(){var e=r(new a.AggregateError([1],Q,{cause:3}));return"AggregateError"!=e.name||1!=e.errors[0]||e.message!=Q||3!=e.cause}))&&r)),ie=!re&&ne((function(e){return new I(Q,{detail:e}).detail})),ae=ne(re)||ie,ce=function(e){throw new j("Uncloneable type: "+e,ee)},le=function(e,t){throw new j((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",ee)},ue=function(e,t){if(h(e)&&ce("Symbol"),!f(e))return e;if(t){if(G(t,e))return W(t,e)}else t=new H;var n,r,o,i,l,u,s,m,v,w,I=g(e),N=!1;switch(I){case"Array":o=[],N=!0;break;case"Object":o={},N=!0;break;case"Map":o=new H,N=!0;break;case"Set":o=new F,N=!0;break;case"RegExp":o=new RegExp(e.source,k(e));break;case"Error":switch(r=e.name){case"AggregateError":o=c("AggregateError")([]);break;case"EvalError":o=A();break;case"RangeError":o=O();break;case"ReferenceError":o=R();break;case"SyntaxError":o=z();break;case"TypeError":o=P();break;case"URIError":o=M();break;case"CompileError":o=D();break;case"LinkError":o=L();break;case"RuntimeError":o=B();break;default:o=C()}N=!0;break;case"DOMException":o=new j(e.message,e.name),N=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":n=a[I],f(n)||le(I),o=new n(ue(e.buffer,t),e.byteOffset,"DataView"===I?e.byteLength:e.length);break;case"DOMQuad":try{o=new DOMQuad(ue(e.p1,t),ue(e.p2,t),ue(e.p3,t),ue(e.p4,t))}catch(t){ae?o=ae(e):le(I)}break;case"FileList":if(n=a.DataTransfer,d(n)){for(i=new n,l=0,u=_(e);l<u;l++)i.items.add(ue(e[l],t));o=i.files}else ae?o=ae(e):le(I);break;case"ImageData":try{o=new ImageData(ue(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(t){ae?o=ae(e):le(I)}break;default:if(ae)o=ae(e);else switch(I){case"BigInt":o=T(e.valueOf());break;case"Boolean":o=T(Y(e));break;case"Number":o=T($(e));break;case"String":o=T(X(e));break;case"Date":o=new S(J(e));break;case"ArrayBuffer":(n=a.DataView)||"function"==typeof e.slice||le(I);try{if("function"==typeof e.slice)o=e.slice(0);else for(u=e.byteLength,o=new ArrayBuffer(u),v=new n(e),w=new n(o),l=0;l<u;l++)w.setUint8(l,v.getUint8(l))}catch(e){throw new j("ArrayBuffer is detached",ee)}break;case"SharedArrayBuffer":o=e;break;case"Blob":try{o=e.slice(0,e.size,e.type)}catch(e){le(I)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[I];try{o=n.fromPoint?n.fromPoint(e):new n(e.x,e.y,e.z,e.w)}catch(e){le(I)}break;case"DOMRect":case"DOMRectReadOnly":n=a[I];try{o=n.fromRect?n.fromRect(e):new n(e.x,e.y,e.width,e.height)}catch(e){le(I)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[I];try{o=n.fromMatrix?n.fromMatrix(e):new n(e)}catch(e){le(I)}break;case"AudioData":case"VideoFrame":p(e.clone)||le(I);try{o=e.clone()}catch(e){ce(I)}break;case"File":try{o=new File([e],e.name,e)}catch(e){le(I)}break;case"CryptoKey":case"GPUCompilationMessage":case"GPUCompilationInfo":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":le(I);default:ce(I)}}if(q(t,e,o),N)switch(I){case"Array":case"Object":for(s=K(e),l=0,u=_(s);l<u;l++)m=s[l],y(o,m,ue(e[m],t));break;case"Map":e.forEach((function(e,n){q(o,ue(n,t),ue(e,t))}));break;case"Set":e.forEach((function(e){V(o,ue(e,t))}));break;case"Error":x(o,"message",ue(e.message,t)),b(e,"cause")&&x(o,"cause",ue(e.cause,t)),"AggregateError"==r&&(o.errors=ue(e.errors,t));case"DOMException":E&&x(o,"stack",ue(e.stack,t))}return o},se=re&&!u((function(){var e=new ArrayBuffer(8),t=re(e,{transfer:[e]});return 0!=e.byteLength||8!=t.byteLength})),pe=function(e,t){if(!f(e))throw P("Transfer option cannot be converted to a sequence");var n=[];m(e,(function(e){Z(n,v(e))}));var r,o,i,c,l,u,s=0,h=_(n);if(se)for(c=re(n,{transfer:n});s<h;)q(t,n[s],c[s++]);else for(;s<h;){if(r=n[s++],G(t,r))throw new j("Duplicate transferable",ee);switch(o=g(r)){case"ImageBitmap":i=a.OffscreenCanvas,d(i)||le(o,te);try{(u=new i(r.width,r.height)).getContext("bitmaprenderer").transferFromImageBitmap(r),l=u.transferToImageBitmap()}catch(e){}break;case"AudioData":case"VideoFrame":p(r.clone)&&p(r.close)||le(o,te);try{l=r.clone(),r.close()}catch(e){}break;case"ArrayBuffer":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":le(o,te)}if(void 0===l)throw new j("This object cannot be transferred: "+o,ee);q(t,r,l)}};i({global:!0,enumerable:!0,sham:!se,forced:oe},{structuredClone:function(e){var t,n=w(arguments.length,1)>1&&null!=arguments[1]?v(arguments[1]):void 0,r=n?n.transfer:void 0;return void 0!==r&&(t=new H,pe(r,t)),ue(e,t)}})},54226:function(e,t,n){n(73801),n(98540)},62653:function(e,t,n){"use strict";n(15735);var r=n(23103),o=n(9859),i=n(20266),a=n(65968),c=n(7400),l=n(77274),u=n(14768),s=n(8312),p=n(54555),d=n(93723),f=n(56407),h=n(57728),m=n(26733),v=n(98270),g=n(97636),b=n(81589),y=n(21176),x=n(85052),_=n(83326),w=n(22391),k=n(65358),E=n(28403),T=n(78830),S=n(77579),C=n(70095),A=n(33867),O=C("iterator"),R="URLSearchParams",z="URLSearchParamsIterator",P=f.set,M=f.getterFor(R),I=f.getterFor(z),N=Object.getOwnPropertyDescriptor,D=function(e){if(!c)return o[e];var t=N(o,e);return t&&t.value},L=D("fetch"),B=D("Request"),j=D("Headers"),F=B&&B.prototype,H=j&&j.prototype,U=o.RegExp,G=o.TypeError,W=o.decodeURIComponent,q=o.encodeURIComponent,V=a("".charAt),K=a([].join),Z=a([].push),Y=a("".replace),$=a([].shift),X=a([].splice),J=a("".split),Q=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=U("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return W(e)}catch(t){return e}},oe=function(e){var t=Y(e,ee," "),n=4;try{return W(t)}catch(e){for(;n;)t=Y(t,ne(n--),re);return t}},ie=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ce=function(e){return ae[e]},le=function(e){return Y(q(e),ie,ce)},ue=d((function(e,t){P(this,{type:z,iterator:E(M(e).entries),kind:t})}),"Iterator",(function(){var e=I(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),se=function(e){this.entries=[],this.url=null,void 0!==e&&(x(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===V(e,0)?Q(e,1):e:_(e)))};se.prototype={type:R,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,a,c,l,u=T(e);if(u)for(n=(t=E(e,u)).next;!(r=i(n,t)).done;){if(a=(o=E(y(r.value))).next,(c=i(a,o)).done||(l=i(a,o)).done||!i(a,o).done)throw G("Expected sequence with length 2");Z(this.entries,{key:_(c.value),value:_(l.value)})}else for(var s in e)v(e,s)&&Z(this.entries,{key:s,value:_(e[s])})},parseQuery:function(e){if(e)for(var t,n,r=J(e,"&"),o=0;o<r.length;)(t=r[o++]).length&&(n=J(t,"="),Z(this.entries,{key:oe($(n)),value:oe(K(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],Z(n,le(e.key)+"="+le(e.value));return K(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pe=function(){h(this,de);var e=arguments.length>0?arguments[0]:void 0;P(this,new se(e))},de=pe.prototype;if(s(de,{append:function(e,t){S(arguments.length,2);var n=M(this);Z(n.entries,{key:_(e),value:_(t)}),n.updateURL()},delete:function(e){S(arguments.length,1);for(var t=M(this),n=t.entries,r=_(e),o=0;o<n.length;)n[o].key===r?X(n,o,1):o++;t.updateURL()},get:function(e){S(arguments.length,1);for(var t=M(this).entries,n=_(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){S(arguments.length,1);for(var t=M(this).entries,n=_(e),r=[],o=0;o<t.length;o++)t[o].key===n&&Z(r,t[o].value);return r},has:function(e){S(arguments.length,1);for(var t=M(this).entries,n=_(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){S(arguments.length,1);for(var n,r=M(this),o=r.entries,i=!1,a=_(e),c=_(t),l=0;l<o.length;l++)(n=o[l]).key===a&&(i?X(o,l--,1):(i=!0,n.value=c));i||Z(o,{key:a,value:c}),r.updateURL()},sort:function(){var e=M(this);A(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=M(this).entries,r=g(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),u(de,O,de.entries,{name:"entries"}),u(de,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),p(pe,R),r({global:!0,forced:!l},{URLSearchParams:pe}),!l&&m(j)){var fe=a(H.has),he=a(H.set),me=function(e){if(x(e)){var t,n=e.body;if(b(n)===R)return t=e.headers?new j(e.headers):new j,fe(t,"content-type")||he(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(e,{body:k(0,_(n)),headers:k(0,t)})}return e};if(m(L)&&r({global:!0,enumerable:!0,noTargetGet:!0,forced:!0},{fetch:function(e){return L(e,arguments.length>1?me(arguments[1]):{})}}),m(B)){var ve=function(e){return h(this,F),new B(e,arguments.length>1?me(arguments[1]):{})};F.constructor=ve,ve.prototype=F,r({global:!0,forced:!0,noTargetGet:!0},{Request:ve})}}e.exports={URLSearchParams:pe,getState:M}},60523:function(e,t,n){n(62653)},95340:function(e,t,n){"use strict";n(28673);var r,o=n(23103),i=n(7400),a=n(77274),c=n(9859),l=n(97636),u=n(65968),s=n(14768),p=n(96616),d=n(57728),f=n(98270),h=n(47),m=n(10507),v=n(69794),g=n(30966).codeAt,b=n(77321),y=n(83326),x=n(54555),_=n(77579),w=n(62653),k=n(56407),E=k.set,T=k.getterFor("URL"),S=w.URLSearchParams,C=w.getState,A=c.URL,O=c.TypeError,R=c.parseInt,z=Math.floor,P=Math.pow,M=u("".charAt),I=u(/./.exec),N=u([].join),D=u(1..toString),L=u([].pop),B=u([].push),j=u("".replace),F=u([].shift),H=u("".split),U=u("".slice),G=u("".toLowerCase),W=u([].unshift),q="Invalid scheme",V="Invalid host",K="Invalid port",Z=/[a-z]/i,Y=/[\d+-.a-z]/i,$=/\d/,X=/^0x/i,J=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,ie=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)W(t,e%256),e=z(e/256);return N(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=D(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},ce=h({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),le=h({},ce,{"#":1,"?":1,"{":1,"}":1}),ue=h({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),se=function(e,t){var n=g(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},pe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var n;return 2==e.length&&I(Z,M(e,0))&&(":"==(n=M(e,1))||!t&&"|"==n)},fe=function(e){var t;return e.length>1&&de(U(e,0,2))&&(2==e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===G(e)},me={},ve={},ge={},be={},ye={},xe={},_e={},we={},ke={},Ee={},Te={},Se={},Ce={},Ae={},Oe={},Re={},ze={},Pe={},Me={},Ie={},Ne={},De=function(e,t,n){var r,o,i,a=y(e);if(t){if(o=this.parse(a))throw O(o);this.searchParams=null}else{if(void 0!==n&&(r=new De(n,!0)),o=this.parse(a,null,r))throw O(o);(i=C(new S)).bindURL(this),this.searchParams=i}};De.prototype={type:"URL",parse:function(e,t,n){var o,i,a,c,l,u=this,s=t||me,p=0,d="",h=!1,g=!1,b=!1;for(e=y(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=j(e,re,"")),e=j(e,oe,""),o=m(e);p<=o.length;){switch(i=o[p],s){case me:if(!i||!I(Z,i)){if(t)return q;s=ge;continue}d+=G(i),s=ve;break;case ve:if(i&&(I(Y,i)||"+"==i||"-"==i||"."==i))d+=G(i);else{if(":"!=i){if(t)return q;d="",s=ge,p=0;continue}if(t&&(u.isSpecial()!=f(pe,d)||"file"==d&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=d,t)return void(u.isSpecial()&&pe[u.scheme]==u.port&&(u.port=null));d="","file"==u.scheme?s=Ae:u.isSpecial()&&n&&n.scheme==u.scheme?s=be:u.isSpecial()?s=we:"/"==o[p+1]?(s=ye,p++):(u.cannotBeABaseURL=!0,B(u.path,""),s=Me)}break;case ge:if(!n||n.cannotBeABaseURL&&"#"!=i)return q;if(n.cannotBeABaseURL&&"#"==i){u.scheme=n.scheme,u.path=v(n.path),u.query=n.query,u.fragment="",u.cannotBeABaseURL=!0,s=Ne;break}s="file"==n.scheme?Ae:xe;continue;case be:if("/"!=i||"/"!=o[p+1]){s=xe;continue}s=ke,p++;break;case ye:if("/"==i){s=Ee;break}s=Pe;continue;case xe:if(u.scheme=n.scheme,i==r)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query;else if("/"==i||"\\"==i&&u.isSpecial())s=_e;else if("?"==i)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query="",s=Ie;else{if("#"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.path.length--,s=Pe;continue}u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query,u.fragment="",s=Ne}break;case _e:if(!u.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,s=Pe;continue}s=Ee}else s=ke;break;case we:if(s=ke,"/"!=i||"/"!=M(d,p+1))continue;p++;break;case ke:if("/"!=i&&"\\"!=i){s=Ee;continue}break;case Ee:if("@"==i){h&&(d="%40"+d),h=!0,a=m(d);for(var x=0;x<a.length;x++){var _=a[x];if(":"!=_||b){var w=se(_,ue);b?u.password+=w:u.username+=w}else b=!0}d=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()){if(h&&""==d)return"Invalid authority";p-=m(d).length+1,d="",s=Te}else d+=i;break;case Te:case Se:if(t&&"file"==u.scheme){s=Re;continue}if(":"!=i||g){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()){if(u.isSpecial()&&""==d)return V;if(t&&""==d&&(u.includesCredentials()||null!==u.port))return;if(c=u.parseHost(d))return c;if(d="",s=ze,t)return;continue}"["==i?g=!0:"]"==i&&(g=!1),d+=i}else{if(""==d)return V;if(c=u.parseHost(d))return c;if(d="",s=Ce,t==Se)return}break;case Ce:if(!I($,i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()||t){if(""!=d){var k=R(d,10);if(k>65535)return K;u.port=u.isSpecial()&&k===pe[u.scheme]?null:k,d=""}if(t)return;s=ze;continue}return K}d+=i;break;case Ae:if(u.scheme="file","/"==i||"\\"==i)s=Oe;else{if(!n||"file"!=n.scheme){s=Pe;continue}if(i==r)u.host=n.host,u.path=v(n.path),u.query=n.query;else if("?"==i)u.host=n.host,u.path=v(n.path),u.query="",s=Ie;else{if("#"!=i){fe(N(v(o,p),""))||(u.host=n.host,u.path=v(n.path),u.shortenPath()),s=Pe;continue}u.host=n.host,u.path=v(n.path),u.query=n.query,u.fragment="",s=Ne}}break;case Oe:if("/"==i||"\\"==i){s=Re;break}n&&"file"==n.scheme&&!fe(N(v(o,p),""))&&(de(n.path[0],!0)?B(u.path,n.path[0]):u.host=n.host),s=Pe;continue;case Re:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&de(d))s=Pe;else if(""==d){if(u.host="",t)return;s=ze}else{if(c=u.parseHost(d))return c;if("localhost"==u.host&&(u.host=""),t)return;d="",s=ze}continue}d+=i;break;case ze:if(u.isSpecial()){if(s=Pe,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=r&&(s=Pe,"/"!=i))continue}else u.fragment="",s=Ne;else u.query="",s=Ie;break;case Pe:if(i==r||"/"==i||"\\"==i&&u.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(l=G(l=d))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(u.shortenPath(),"/"==i||"\\"==i&&u.isSpecial()||B(u.path,"")):he(d)?"/"==i||"\\"==i&&u.isSpecial()||B(u.path,""):("file"==u.scheme&&!u.path.length&&de(d)&&(u.host&&(u.host=""),d=M(d,0)+":"),B(u.path,d)),d="","file"==u.scheme&&(i==r||"?"==i||"#"==i))for(;u.path.length>1&&""===u.path[0];)F(u.path);"?"==i?(u.query="",s=Ie):"#"==i&&(u.fragment="",s=Ne)}else d+=se(i,le);break;case Me:"?"==i?(u.query="",s=Ie):"#"==i?(u.fragment="",s=Ne):i!=r&&(u.path[0]+=se(i,ae));break;case Ie:t||"#"!=i?i!=r&&("'"==i&&u.isSpecial()?u.query+="%27":u.query+="#"==i?"%23":se(i,ae)):(u.fragment="",s=Ne);break;case Ne:i!=r&&(u.fragment+=se(i,ce))}p++}},parseHost:function(e){var t,n,r;if("["==M(e,0)){if("]"!=M(e,e.length-1))return V;if(t=function(e){var t,n,r,o,i,a,c,l=[0,0,0,0,0,0,0,0],u=0,s=null,p=0,d=function(){return M(e,p)};if(":"==d()){if(":"!=M(e,1))return;p+=2,s=++u}for(;d();){if(8==u)return;if(":"!=d()){for(t=n=0;n<4&&I(ee,d());)t=16*t+R(d(),16),p++,n++;if("."==d()){if(0==n)return;if(p-=n,u>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;p++}if(!I($,d()))return;for(;I($,d());){if(i=R(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;p++}l[u]=256*l[u]+o,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==d()){if(p++,!d())return}else if(d())return;l[u++]=t}else{if(null!==s)return;p++,s=++u}}if(null!==s)for(a=u-s,u=7;0!=u&&a>0;)c=l[u],l[u--]=l[s+a-1],l[s+--a]=c;else if(8!=u)return;return l}(U(e,1,-1)),!t)return V;this.host=t}else if(this.isSpecial()){if(e=b(e),I(te,e))return V;if(t=function(e){var t,n,r,o,i,a,c,l=H(e,".");if(l.length&&""==l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==M(o,0)&&(i=I(X,o)?16:8,o=U(o,8==i?1:2)),""===o)a=0;else{if(!I(10==i?Q:8==i?J:ee,o))return e;a=R(o,i)}B(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(c=L(n),r=0;r<n.length;r++)c+=n[r]*P(256,3-r);return c}(e),null===t)return V;this.host=t}else{if(I(ne,e))return V;for(t="",n=m(e),r=0;r<n.length;r++)t+=se(n[r],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return f(pe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,c=e.query,l=e.fragment,u=t+":";return null!==o?(u+="//",e.includesCredentials()&&(u+=n+(r?":"+r:"")+"@"),u+=ie(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+N(a,"/"):"",null!==c&&(u+="?"+c),null!==l&&(u+="#"+l),u},setHref:function(e){var t=this.parse(e);if(t)throw O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Le(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ie(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(y(e)+":",me)},getUsername:function(){return this.username},setUsername:function(e){var t=m(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=se(t[n],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=se(t[n],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ie(e):ie(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getHostname:function(){var e=this.host;return null===e?"":ie(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getPort:function(){var e=this.port;return null===e?"":y(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=y(e))?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+N(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ze))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=y(e))?this.query=null:("?"==M(e,0)&&(e=U(e,1)),this.query="",this.parse(e,Ie)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=y(e))?("#"==M(e,0)&&(e=U(e,1)),this.fragment="",this.parse(e,Ne)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Le=function(e){var t=d(this,Be),n=_(arguments.length,1)>1?arguments[1]:void 0,r=E(t,new De(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Be=Le.prototype,je=function(e,t){return{get:function(){return T(this)[e]()},set:t&&function(e){return T(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(p(Be,"href",je("serialize","setHref")),p(Be,"origin",je("getOrigin")),p(Be,"protocol",je("getProtocol","setProtocol")),p(Be,"username",je("getUsername","setUsername")),p(Be,"password",je("getPassword","setPassword")),p(Be,"host",je("getHost","setHost")),p(Be,"hostname",je("getHostname","setHostname")),p(Be,"port",je("getPort","setPort")),p(Be,"pathname",je("getPathname","setPathname")),p(Be,"search",je("getSearch","setSearch")),p(Be,"searchParams",je("getSearchParams")),p(Be,"hash",je("getHash","setHash"))),s(Be,"toJSON",(function(){return T(this).serialize()}),{enumerable:!0}),s(Be,"toString",(function(){return T(this).serialize()}),{enumerable:!0}),A){var Fe=A.createObjectURL,He=A.revokeObjectURL;Fe&&s(Le,"createObjectURL",l(Fe,A)),He&&s(Le,"revokeObjectURL",l(He,A))}x(Le,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Le})},14121:function(e,t,n){n(95340)},85371:function(e,t,n){"use strict";var r=n(23103),o=n(20266);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},98323:function(e,t,n){n(34115),n(634),n(96882),n(68858),n(72220),n(20796),n(64844),n(85960),n(40225),n(71686),n(75605),n(68223),n(9575),n(38859),n(96100),n(71372),n(72147),n(95738),n(99588),n(30724),n(18178),n(21021),n(28986),n(92656),n(95342),n(49228),n(9949),n(27072),n(84870),n(38695),n(27233),n(39529),n(74083),n(18145),n(15735),n(16781),n(74660),n(43450),n(63370),n(43108),n(9731),n(49992),n(32501),n(67321),n(43430),n(50747),n(99805),n(67694),n(53985),n(65388),n(48777),n(72994),n(95206),n(44593),n(24895),n(15160),n(41913),n(85713),n(94148),n(96264),n(99120),n(64655),n(65584),n(14326),n(26936),n(4173),n(6710),n(17525),n(79321),n(63498),n(15290),n(30619),n(12644),n(88276),n(78788),n(29208),n(1100),n(39509),n(36348),n(97890),n(27681),n(5377),n(74279),n(8373),n(47122),n(18275),n(31969),n(71245),n(23271),n(66466),n(33132),n(14586),n(87412),n(58143),n(72023),n(48836),n(77208),n(42310),n(61657),n(46465),n(43105),n(47256),n(37846),n(76555),n(95094),n(16635),n(35883),n(22144),n(81804),n(68625),n(62775),n(24905),n(96928),n(90336),n(49170),n(58892),n(45060),n(2321),n(34769),n(42586),n(43045),n(84682),n(73280),n(52506),n(58188),n(67890),n(13489),n(68995),n(73439),n(37919),n(57178),n(21515),n(45725),n(61229),n(55019),n(3776),n(54565),n(41903),n(89913),n(73490),n(92268),n(67609),n(73763),n(98738),n(66193),n(92215),n(17368),n(24471),n(77950),n(90103),n(51172),n(21850),n(88233),n(93244),n(6406),n(4618),n(96708),n(84605),n(31235),n(28673),n(74069),n(96920),n(90977),n(35734),n(64805),n(67789),n(85940),n(71639),n(94908),n(48319),n(44112),n(76080),n(45794),n(18827),n(41715),n(41549),n(80066),n(51482),n(35744),n(9538),n(27268),n(96362),n(53969),n(72508),n(8532),n(8101),n(24033),n(50740),n(81382),n(91982),n(73229),n(24074),n(64696),n(13675),n(36920),n(13161),n(90723),n(94898),n(5825),n(67170),n(38857),n(58329),n(76279),n(427),n(11159),n(26618),n(42516),n(64349),n(15273),n(16729),n(41801),n(50574),n(49527),n(5787),n(39271),n(73160),n(65688),n(93157),n(33333),n(70315),n(28314),n(50556),n(29224),n(30608),n(52356),n(61391),n(34707),n(7901),n(1939),n(6886),n(81497),n(75640),n(1871),n(46106),n(19866),n(59472),n(54226),n(14121),n(85371),n(60523),n(49276)},63888:function(e,t,n){"use strict";n.r(t);var r=n(82609),o=n.n(r)()(!1);o.push([e.id,"",""]),t.default=o},60942:function(e,t,n){"use strict";n.r(t);var r=n(82609),o=n.n(r),i=n(78991),a=n.n(i),c=n(65417),l=n(26530),u=n(64613),s=n(99029),p=o()(!1),d=a()(c.Z),f=a()(l.Z),h=a()(u.Z),m=a()(s.Z);p.push([e.id,".cdc-open-viz-module{margin:0;font:1em/1.6 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Fira Sans,sans-serif;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#111}.cdc-open-viz-module div,.cdc-open-viz-module span,.cdc-open-viz-module applet,.cdc-open-viz-module object,.cdc-open-viz-module iframe,.cdc-open-viz-module h1,.cdc-open-viz-module h2,.cdc-open-viz-module h3,.cdc-open-viz-module h4,.cdc-open-viz-module h5,.cdc-open-viz-module h6,.cdc-open-viz-module p,.cdc-open-viz-module blockquote,.cdc-open-viz-module pre,.cdc-open-viz-module a,.cdc-open-viz-module abbr,.cdc-open-viz-module acronym,.cdc-open-viz-module address,.cdc-open-viz-module big,.cdc-open-viz-module cite,.cdc-open-viz-module code,.cdc-open-viz-module del,.cdc-open-viz-module dfn,.cdc-open-viz-module em,.cdc-open-viz-module img,.cdc-open-viz-module ins,.cdc-open-viz-module kbd,.cdc-open-viz-module q,.cdc-open-viz-module s,.cdc-open-viz-module samp,.cdc-open-viz-module small,.cdc-open-viz-module strike,.cdc-open-viz-module strong,.cdc-open-viz-module sub,.cdc-open-viz-module sup,.cdc-open-viz-module tt,.cdc-open-viz-module var,.cdc-open-viz-module b,.cdc-open-viz-module u,.cdc-open-viz-module i,.cdc-open-viz-module center,.cdc-open-viz-module dl,.cdc-open-viz-module dt,.cdc-open-viz-module dd,.cdc-open-viz-module ol,.cdc-open-viz-module ul,.cdc-open-viz-module li,.cdc-open-viz-module fieldset,.cdc-open-viz-module form,.cdc-open-viz-module label,.cdc-open-viz-module legend,.cdc-open-viz-module table,.cdc-open-viz-module caption,.cdc-open-viz-module tbody,.cdc-open-viz-module tfoot,.cdc-open-viz-module thead,.cdc-open-viz-module tr,.cdc-open-viz-module th,.cdc-open-viz-module td,.cdc-open-viz-module article,.cdc-open-viz-module aside,.cdc-open-viz-module canvas,.cdc-open-viz-module details,.cdc-open-viz-module embed,.cdc-open-viz-module figure,.cdc-open-viz-module figcaption,.cdc-open-viz-module footer,.cdc-open-viz-module header,.cdc-open-viz-module hgroup,.cdc-open-viz-module menu,.cdc-open-viz-module nav,.cdc-open-viz-module output,.cdc-open-viz-module ruby,.cdc-open-viz-module section,.cdc-open-viz-module summary,.cdc-open-viz-module time,.cdc-open-viz-module mark,.cdc-open-viz-module audio,.cdc-open-viz-module video{margin:0;padding:0;border:0;font-family:sans-serif;font-weight:normal;vertical-align:baseline}.cdc-open-viz-module button{border:0;cursor:pointer}.cdc-open-viz-module button:focus{outline:0}.cdc-open-viz-module *{box-sizing:border-box}.cdc-open-viz-module sub,.cdc-open-viz-module sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.cdc-open-viz-module sup{top:-0.5em}.cdc-open-viz-module sub{bottom:-0.25em}.cdc-open-viz-module{position:relative;color:#333;font-size:14px !important;line-height:1.4}.cdc-open-viz-module.md,.cdc-open-viz-module.lg{font-size:16px !important}.cdc-open-viz-module .collapsed+.table-container{border-bottom:none}.cdc-open-viz-module .table-container{overflow-x:auto;border-right:1px solid #c7c7c7;border-left:1px solid #c7c7c7;border-bottom:1px solid #c7c7c7}.cdc-open-viz-module div.data-table-heading{background:rgba(0,0,0,.05);padding:.5em .7em;border:#c7c7c7 1px solid;border-bottom:0;cursor:pointer;background-image:url("+d+");background-size:15px 15px;background-position:right .7em center;background-repeat:no-repeat}.cdc-open-viz-module div.data-table-heading:focus{z-index:2;position:relative}.cdc-open-viz-module div.data-table-heading.collapsed{background-image:url("+f+");background-size:15px 15px;background-position:right .7em center;background-repeat:no-repeat;border-bottom:#c7c7c7 1px solid}.cdc-open-viz-module table.data-table{width:100%;background:#fff;position:relative;border:none;overflow-x:auto;border-collapse:collapse;overflow:auto;appearance:none}.cdc-open-viz-module table.data-table *{box-sizing:border-box}.cdc-open-viz-module table.data-table thead{user-select:none;-moz-user-select:none;user-select:none}.cdc-open-viz-module table.data-table thead button{background:none;font-size:initial;color:#fff}.cdc-open-viz-module table.data-table thead tr{background:none}.cdc-open-viz-module table.data-table thead{color:#fff;background-color:#565656}.cdc-open-viz-module table.data-table thead .resizer{cursor:e-resize;width:10px;position:absolute;top:0;bottom:0;right:0;touch-action:none}.cdc-open-viz-module table.data-table thead tr{text-align:left}.cdc-open-viz-module table.data-table thead th,.cdc-open-viz-module table.data-table thead td{padding:.5em 1.3em .5em .7em;line-height:normal;position:relative;text-align:left;cursor:pointer;border-right:1px solid #c7c7c7 !important}.cdc-open-viz-module table.data-table thead th svg,.cdc-open-viz-module table.data-table thead td svg{margin-left:1rem}.cdc-open-viz-module table.data-table thead th.sort{background-color:#3d3d3d;background-repeat:no-repeat;background-position:right .5em center;background-size:10px 5px}.cdc-open-viz-module table.data-table thead th.sort-asc,.cdc-open-viz-module table.data-table thead td.sort-asc{background-image:url("+h+")}.cdc-open-viz-module table.data-table thead th.sort-desc,.cdc-open-viz-module table.data-table thead td.sort-desc{background-image:url("+m+')}.cdc-open-viz-module table.data-table thead th:last-child,.cdc-open-viz-module table.data-table thead td:last-child{border-right:0}.cdc-open-viz-module table.data-table tbody tr{width:100%}.cdc-open-viz-module table.data-table tbody tr:hover{background:rgba(0,0,0,.05)}.cdc-open-viz-module table.data-table tr{border-bottom:solid 1px #e5e5e5;min-width:100%}.cdc-open-viz-module table.data-table tr:last-child{border-bottom:0}.cdc-open-viz-module table.data-table td{padding:.3em .7em;border-right:1px solid rgba(0,0,0,.1)}.cdc-open-viz-module table.data-table th,.cdc-open-viz-module table.data-table td{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cdc-open-viz-module table.data-table th:last-child,.cdc-open-viz-module table.data-table td:last-child{border-right:0 !important}.cdc-open-viz-module table.data-table th:first-child,.cdc-open-viz-module table.data-table td:first-child{flex-grow:1}.cdc-open-viz-module table.data-table td{position:relative}.cdc-open-viz-module table.data-table td a{padding:.3em .7em;position:absolute;top:0;bottom:0;right:0;left:0;display:block;color:inherit;text-decoration:none}.cdc-open-viz-module table.data-table td span.table-link{text-decoration:underline;cursor:pointer;color:#075290}.cdc-open-viz-module table.data-table td span.table-link svg{max-width:13px;vertical-align:baseline;margin-left:5px}.cdc-open-viz-module .no-data{position:relative}.cdc-open-viz-module .no-data .no-data-message{background:rgba(255,255,255,.5);top:0;left:0;right:0;bottom:0;position:absolute;text-align:center;display:flex;align-items:center;justify-content:center;z-index:7}.cdc-open-viz-module .no-data .no-data-message h3{font-size:1.3rem;font-weight:600;margin-bottom:.3rem}.cdc-open-viz-module .no-data tr:hover{background:#fff}.cdc-open-viz-module .no-data th,.cdc-open-viz-module .no-data td{width:50%}.cdc-open-viz-module .no-data th::before,.cdc-open-viz-module .no-data td::before{content:" "}.cdc-open-viz-module .data-table-pagination{margin:1rem 0;display:flex;align-items:center}.cdc-open-viz-module .data-table-pagination ul{list-style:none;margin:0 1rem 0 0;display:flex}.cdc-open-viz-module .data-table-pagination ul li+li{margin-left:.3rem}.cdc-open-viz-module .data-table-pagination ul button{background:#565656;padding:.6rem .8rem}.cdc-open-viz-module .data-table-pagination ul button:hover{background:#636363}.cdc-open-viz-module .data-table-pagination ul button.btn-next::before{content:" ";background-image:url('+h+');background-size:10px 5px;width:10px;height:5px;display:block;transform:rotate(90deg)}.cdc-open-viz-module .data-table-pagination ul button.btn-prev::before{content:" ";background-image:url('+h+');background-size:10px 5px;width:10px;height:5px;display:block;transform:rotate(-90deg)}.cdc-open-viz-module .data-table-pagination ul button[disabled]{background:#565656;opacity:.3;cursor:default}.cdc-open-viz-module .data-table-pagination ul button[disabled]:hover{background:#565656}.cdc-open-viz-module .btn-download{color:#fff;float:right;text-decoration:none;transition:.3s all;margin:1em 0}.cdc-open-viz-module .btn-download:hover{transition:.3s all}.cdc-open-viz-module strong{font-weight:600}.cdc-open-viz-module .subtext{margin-top:1em}.cdc-open-viz-module .error-box{background:#ffc2c2;display:flex;justify-content:space-between;padding:.3rem 1rem;font-size:.9rem}.cdc-open-viz-module .error-box strong{font-weight:600}.cdc-open-viz-module .error-box p{margin:0}.cdc-open-viz-module .error-box .dismiss-error{flex-shrink:0;font-size:.8rem;cursor:pointer}.cdc-open-viz-module .cdcdataviz-sr-only,.cdc-open-viz-module .cdcdataviz-sr-only-focusable:not(:focus){position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important;display:flex}.cdc-open-viz-module .inline-icon{width:1em !important;height:auto !important;font-size:1rem;color:inherit}@media all and (-ms-high-contrast: none){.cdc-open-viz-module .inline-icon{height:30px !important}}.cdc-open-viz-module .inline-icon path{fill:currentColor}.cdc-open-viz-module .btn{background:#005eaa;color:#fff;border:0;padding:.4em .8em;font-size:1em;display:block;border-radius:.3em;transition:.1s background-color;cursor:pointer}.cdc-open-viz-module .btn.full-width{width:100%}.cdc-open-viz-module .btn:hover{transition:.1s background-color}.cdc-open-viz-module .btn.secondary{font-size:.8em;padding:.3em 1em;background:rgba(0,0,0,.3);display:inline-block;margin-bottom:1em}.cdc-open-viz-module .btn.secondary:hover{background:rgba(0,0,0,.5)}.cdc-open-viz-module .btn.danger{background-color:#d8000c;color:#fff}.cdc-open-viz-module .btn.danger:hover{background-color:#bf000b}.cdc-open-viz-module .btn:hover{transition:.1s all;background:#006cc4}.cdc-open-viz-module .btn svg{width:16px;height:16px;position:relative;top:2px;margin-left:5px}.cdc-open-viz-module input[type=text],.cdc-open-viz-module input[type=date],.cdc-open-viz-module input[role=combobox],.cdc-open-viz-module input[type=number],.cdc-open-viz-module input[type=search],.cdc-open-viz-module textarea{padding:.5em .5em;font-size:1em;font-weight:normal;font-family:sans-serif;border:rgba(0,0,0,.3) 1px solid !important}.cdc-open-viz-module input[type=text]:focus,.cdc-open-viz-module input[type=date]:focus,.cdc-open-viz-module input[role=combobox]:focus,.cdc-open-viz-module input[type=number]:focus,.cdc-open-viz-module input[type=search]:focus,.cdc-open-viz-module textarea:focus{border:rgba(0,0,0,.7) 1px solid !important;outline:0}.cdc-open-viz-module textarea{min-height:140px}.cdc-open-viz-module select{width:100%;font-size:1em;font-weight:normal;text-transform:none;border:rgba(0,0,0,.3) 1px solid !important}.cdc-open-viz-module .input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.cdc-open-viz-module .guidance-link{margin:2em 0 1em;padding:.75em 1em;display:flex;text-decoration:none;color:#444;border:#c7c7c7 1px solid;position:relative;transition:.2s all;font-size:1em}.cdc-open-viz-module .guidance-link:before{content:" ";width:5px;background:#005eaa;left:-1px;top:-1px;bottom:-1px;position:absolute}.cdc-open-viz-module .guidance-link:hover{background:#f2f2f2;transition:.2s all;color:#444}.cdc-open-viz-module .guidance-link>div{font-size:.9em}.cdc-open-viz-module .guidance-link svg{width:60px;color:#005eaa;margin-right:1rem}.cdc-open-viz-module .guidance-link svg path{fill:currentColor}.cdc-open-viz-module .guidance-link h3{font-weight:600;font-size:1.2rem}div.dashboard-title.theme-purple,div.chart-title.theme-purple,div.map-title.theme-purple,.color-palette li.theme-purple,.btn.theme-purple{background:#712177;border-bottom-color:#b890bb}div.dashboard-title.theme-brown,div.chart-title.theme-brown,div.map-title.theme-brown,.color-palette li.theme-brown,.btn.theme-brown{background:#705043;border-bottom-color:#ad907b}div.dashboard-title.theme-teal,div.chart-title.theme-teal,div.map-title.theme-teal,.color-palette li.theme-teal,.btn.theme-teal{background:#00695c;border-bottom-color:#4ebaaa}div.dashboard-title.theme-pink,div.chart-title.theme-pink,div.map-title.theme-pink,.color-palette li.theme-pink,.btn.theme-pink{background:#af4448;border-bottom-color:#e57373}div.dashboard-title.theme-orange,div.chart-title.theme-orange,div.map-title.theme-orange,.color-palette li.theme-orange,.btn.theme-orange{background:#bb4d00;border-bottom-color:#ffad42}div.dashboard-title.theme-slate,div.chart-title.theme-slate,div.map-title.theme-slate,.color-palette li.theme-slate,.btn.theme-slate{background:#29434e;border-bottom-color:#7e9ba5}div.dashboard-title.theme-indigo,div.chart-title.theme-indigo,div.map-title.theme-indigo,.color-palette li.theme-indigo,.btn.theme-indigo{background:#26418f;border-bottom-color:#92a6dd}div.dashboard-title.theme-cyan,div.chart-title.theme-cyan,div.map-title.theme-cyan,.color-palette li.theme-cyan,.btn.theme-cyan{background:#007b91;border-bottom-color:#65b0bd}div.dashboard-title.theme-green,div.chart-title.theme-green,div.map-title.theme-green,.color-palette li.theme-green,.btn.theme-green{background:#4b830d;border-bottom-color:#84bc49}div.dashboard-title.theme-amber,div.chart-title.theme-amber,div.map-title.theme-amber,.color-palette li.theme-amber,.btn.theme-amber{background:#fbab18;border-bottom-color:#ffd54f}div.dashboard-title.theme-blue,div.chart-title.theme-blue,div.map-title.theme-blue,.color-palette li.theme-blue,.btn.theme-blue{background:#005eaa;border-bottom-color:#88c3ea}.markup-include .theme-amber,.type-waffle-chart .theme-amber,.type-data-bite .theme-amber,.cdc-open-viz-module.type-chart.type-sparkline .theme-amber,.cove .theme-amber{background-color:#fbab18;border-color:#ffd54f;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #fbab18;border-right:1px solid #fbab18;border-bottom:1px solid #fbab18}.markup-include.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #fbab18}.markup-include.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-amber .cove-component__header,.type-waffle-chart.theme-amber .cove-component__header,.type-data-bite.theme-amber .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__header,.cove.theme-amber .cove-component__header{border-color:#ffd54f}.markup-include.theme-amber .cove-component__content.component--has-accent,.type-waffle-chart.theme-amber .cove-component__content.component--has-accent,.type-data-bite.theme-amber .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__content.component--has-accent,.cove.theme-amber .cove-component__content.component--has-accent{border-left:.5rem solid #fbab18 !important}.markup-include.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ffecb3}.markup-include .theme-blue,.type-waffle-chart .theme-blue,.type-data-bite .theme-blue,.cdc-open-viz-module.type-chart.type-sparkline .theme-blue,.cove .theme-blue{background-color:#005eaa;border-color:#88c3ea;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #005eaa;border-right:1px solid #005eaa;border-bottom:1px solid #005eaa}.markup-include.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #005eaa}.markup-include.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-blue .cove-component__header,.type-waffle-chart.theme-blue .cove-component__header,.type-data-bite.theme-blue .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__header,.cove.theme-blue .cove-component__header{border-color:#88c3ea}.markup-include.theme-blue .cove-component__content.component--has-accent,.type-waffle-chart.theme-blue .cove-component__content.component--has-accent,.type-data-bite.theme-blue .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__content.component--has-accent,.cove.theme-blue .cove-component__content.component--has-accent{border-left:.5rem solid #005eaa !important}.markup-include.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#c0e9ff}.markup-include .theme-brown,.type-waffle-chart .theme-brown,.type-data-bite .theme-brown,.cdc-open-viz-module.type-chart.type-sparkline .theme-brown,.cove .theme-brown{background-color:#705043;border-color:#ad907b;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #705043;border-right:1px solid #705043;border-bottom:1px solid #705043}.markup-include.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #705043}.markup-include.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-brown .cove-component__header,.type-waffle-chart.theme-brown .cove-component__header,.type-data-bite.theme-brown .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__header,.cove.theme-brown .cove-component__header{border-color:#ad907b}.markup-include.theme-brown .cove-component__content.component--has-accent,.type-waffle-chart.theme-brown .cove-component__content.component--has-accent,.type-data-bite.theme-brown .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__content.component--has-accent,.cove.theme-brown .cove-component__content.component--has-accent{border-left:.5rem solid #705043 !important}.markup-include.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#d7ccc8}.markup-include .theme-cyan,.type-waffle-chart .theme-cyan,.type-data-bite .theme-cyan,.cdc-open-viz-module.type-chart.type-sparkline .theme-cyan,.cove .theme-cyan{background-color:#006778;border-color:#65b0bd;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #006778;border-right:1px solid #006778;border-bottom:1px solid #006778}.markup-include.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #006778}.markup-include.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-cyan .cove-component__header,.type-waffle-chart.theme-cyan .cove-component__header,.type-data-bite.theme-cyan .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__header,.cove.theme-cyan .cove-component__header{border-color:#65b0bd}.markup-include.theme-cyan .cove-component__content.component--has-accent,.type-waffle-chart.theme-cyan .cove-component__content.component--has-accent,.type-data-bite.theme-cyan .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__content.component--has-accent,.cove.theme-cyan .cove-component__content.component--has-accent{border-left:.5rem solid #006778 !important}.markup-include.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#cce5e9}.markup-include .theme-green,.type-waffle-chart .theme-green,.type-data-bite .theme-green,.cdc-open-viz-module.type-chart.type-sparkline .theme-green,.cove .theme-green{background-color:#4b830d;border-color:#84bc49;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #4b830d;border-right:1px solid #4b830d;border-bottom:1px solid #4b830d}.markup-include.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #4b830d}.markup-include.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-green .cove-component__header,.type-waffle-chart.theme-green .cove-component__header,.type-data-bite.theme-green .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__header,.cove.theme-green .cove-component__header{border-color:#84bc49}.markup-include.theme-green .cove-component__content.component--has-accent,.type-waffle-chart.theme-green .cove-component__content.component--has-accent,.type-data-bite.theme-green .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__content.component--has-accent,.cove.theme-green .cove-component__content.component--has-accent{border-left:.5rem solid #4b830d !important}.markup-include.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#dcedc8}.markup-include .theme-indigo,.type-waffle-chart .theme-indigo,.type-data-bite .theme-indigo,.cdc-open-viz-module.type-chart.type-sparkline .theme-indigo,.cove .theme-indigo{background-color:#26418f;border-color:#92a6dd;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #26418f;border-right:1px solid #26418f;border-bottom:1px solid #26418f}.markup-include.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #26418f}.markup-include.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-indigo .cove-component__header,.type-waffle-chart.theme-indigo .cove-component__header,.type-data-bite.theme-indigo .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__header,.cove.theme-indigo .cove-component__header{border-color:#92a6dd}.markup-include.theme-indigo .cove-component__content.component--has-accent,.type-waffle-chart.theme-indigo .cove-component__content.component--has-accent,.type-data-bite.theme-indigo .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__content.component--has-accent,.cove.theme-indigo .cove-component__content.component--has-accent{border-left:.5rem solid #26418f !important}.markup-include.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#dee8ff}.markup-include .theme-orange,.type-waffle-chart .theme-orange,.type-data-bite .theme-orange,.cdc-open-viz-module.type-chart.type-sparkline .theme-orange,.cove .theme-orange{background-color:#bb4d00;border-color:#ffad42;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #bb4d00;border-right:1px solid #bb4d00;border-bottom:1px solid #bb4d00}.markup-include.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #bb4d00}.markup-include.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-orange .cove-component__header,.type-waffle-chart.theme-orange .cove-component__header,.type-data-bite.theme-orange .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__header,.cove.theme-orange .cove-component__header{border-color:#ffad42}.markup-include.theme-orange .cove-component__content.component--has-accent,.type-waffle-chart.theme-orange .cove-component__content.component--has-accent,.type-data-bite.theme-orange .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__content.component--has-accent,.cove.theme-orange .cove-component__content.component--has-accent{border-left:.5rem solid #bb4d00 !important}.markup-include.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ffe97d}.markup-include .theme-pink,.type-waffle-chart .theme-pink,.type-data-bite .theme-pink,.cdc-open-viz-module.type-chart.type-sparkline .theme-pink,.cove .theme-pink{background-color:#af4448;border-color:#e57373;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #af4448;border-right:1px solid #af4448;border-bottom:1px solid #af4448}.markup-include.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #af4448}.markup-include.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-pink .cove-component__header,.type-waffle-chart.theme-pink .cove-component__header,.type-data-bite.theme-pink .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__header,.cove.theme-pink .cove-component__header{border-color:#e57373}.markup-include.theme-pink .cove-component__content.component--has-accent,.type-waffle-chart.theme-pink .cove-component__content.component--has-accent,.type-data-bite.theme-pink .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__content.component--has-accent,.cove.theme-pink .cove-component__content.component--has-accent{border-left:.5rem solid #af4448 !important}.markup-include.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ffc2c2}.markup-include .theme-purple,.type-waffle-chart .theme-purple,.type-data-bite .theme-purple,.cdc-open-viz-module.type-chart.type-sparkline .theme-purple,.cove .theme-purple{background-color:#712177;border-color:#b890bb;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #712177;border-right:1px solid #712177;border-bottom:1px solid #712177}.markup-include.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #712177}.markup-include.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-purple .cove-component__header,.type-waffle-chart.theme-purple .cove-component__header,.type-data-bite.theme-purple .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__header,.cove.theme-purple .cove-component__header{border-color:#b890bb}.markup-include.theme-purple .cove-component__content.component--has-accent,.type-waffle-chart.theme-purple .cove-component__content.component--has-accent,.type-data-bite.theme-purple .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__content.component--has-accent,.cove.theme-purple .cove-component__content.component--has-accent{border-left:.5rem solid #712177 !important}.markup-include.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#e3d3e4}.markup-include .theme-slate,.type-waffle-chart .theme-slate,.type-data-bite .theme-slate,.cdc-open-viz-module.type-chart.type-sparkline .theme-slate,.cove .theme-slate{background-color:#29434e;border-color:#7e9ba5;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #29434e;border-right:1px solid #29434e;border-bottom:1px solid #29434e}.markup-include.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #29434e}.markup-include.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-slate .cove-component__header,.type-waffle-chart.theme-slate .cove-component__header,.type-data-bite.theme-slate .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__header,.cove.theme-slate .cove-component__header{border-color:#7e9ba5}.markup-include.theme-slate .cove-component__content.component--has-accent,.type-waffle-chart.theme-slate .cove-component__content.component--has-accent,.type-data-bite.theme-slate .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__content.component--has-accent,.cove.theme-slate .cove-component__content.component--has-accent{border-left:.5rem solid #29434e !important}.markup-include.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#b6c6d2}.markup-include .theme-teal,.type-waffle-chart .theme-teal,.type-data-bite .theme-teal,.cdc-open-viz-module.type-chart.type-sparkline .theme-teal,.cove .theme-teal{background-color:#00695c;border-color:#4ebaaa;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #00695c;border-right:1px solid #00695c;border-bottom:1px solid #00695c}.markup-include.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #00695c}.markup-include.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-teal .cove-component__header,.type-waffle-chart.theme-teal .cove-component__header,.type-data-bite.theme-teal .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__header,.cove.theme-teal .cove-component__header{border-color:#4ebaaa}.markup-include.theme-teal .cove-component__content.component--has-accent,.type-waffle-chart.theme-teal .cove-component__content.component--has-accent,.type-data-bite.theme-teal .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__content.component--has-accent,.cove.theme-teal .cove-component__content.component--has-accent{border-left:.5rem solid #00695c !important}.markup-include.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ceece7}.form-container{overflow:scroll}.d-flex{display:flex}.flex-column-reverse{flex-direction:column-reverse}.cdc-open-viz-module.type-chart{border-radius:3px}.cdc-open-viz-module.type-chart.md .data-table-container,.cdc-open-viz-module.type-chart.lg .data-table-container{margin:1em}.cdc-open-viz-module.type-chart .data-table-container .region-table{display:table}.cdc-open-viz-module.type-chart .data-table-container .region-table thead,.cdc-open-viz-module.type-chart .data-table-container .region-table tbody{display:table-row-group}.cdc-open-viz-module.type-chart .data-table-container .region-table thead tr,.cdc-open-viz-module.type-chart .data-table-container .region-table tbody tr{display:table-row}.cdc-open-viz-module.type-chart .data-table-container .region-table thead tr td,.cdc-open-viz-module.type-chart .data-table-container .region-table tbody tr td{display:table-cell !important}.cdc-open-viz-module.type-chart .cove .cove-tooltip{position:relative}.cdc-open-viz-module.type-chart .cove .cove-tooltip--target{cursor:pointer}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content{max-width:280px;padding:10px 8px;text-align:left;font-size:.875rem;color:#333;background-color:#fff;border-radius:5px;user-select:none;cursor:default;opacity:0}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-top.has-shadow{box-shadow:0 4px 14px rgba(0,0,0,.15),0 4px 8px rgba(0,0,0,.1)}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-top.show{animation:tooltip-btt 500ms cubic-bezier(0.16, 1, 0.3, 1) 50ms 1 forwards}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-right.has-shadow{box-shadow:-4px 4px 14px rgba(0,0,0,.15),-4px 4px 8px rgba(0,0,0,.1)}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-right.show{animation:tooltip-ltr 500ms cubic-bezier(0.16, 1, 0.3, 1) 50ms 1 forwards}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-bottom.has-shadow{box-shadow:0 -4px 14px rgba(0,0,0,.15),0 8px 8px rgba(0,0,0,.1)}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-bottom.show{animation:tooltip-ttb 500ms cubic-bezier(0.16, 1, 0.3, 1) 50ms 1 forwards}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-left.has-shadow{box-shadow:4px 4px 14px rgba(0,0,0,.15),4px 4px 8px rgba(0,0,0,.1)}.cdc-open-viz-module.type-chart .cove .cove-tooltip__content.place-left.show{animation:tooltip-rtl 500ms cubic-bezier(0.16, 1, 0.3, 1) 50ms 1 forwards}.cdc-open-viz-module.type-chart .cove .interactive a{pointer-events:all}.cdc-open-viz-module.type-chart .cove .cove-tooltip--border-0{border-width:0}.cdc-open-viz-module.type-chart .cove .cove-tooltip--border-1{border-width:1px}.cdc-open-viz-module.type-chart .cove .cove-tooltip--border-2{border-width:2px}@keyframes tooltip-ltr{0%{opacity:0;transform:translateX(-8px)}100%{opacity:1;transform:translateX(0)}}@keyframes tooltip-rtl{0%{opacity:0;transform:translateX(8px)}100%{opacity:1;transform:translateX(0)}}@keyframes tooltip-ttb{0%{opacity:0;transform:translateY(-8px)}100%{opacity:1;transform:translateY(0)}}@keyframes tooltip-btt{0%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:translateY(0)}}.cdc-open-viz-module.type-chart .editor-panel{display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;width:350px;background:#fff;z-index:8}.cdc-open-viz-module.type-chart .editor-panel.hidden{display:none}.cdc-open-viz-module.type-chart .editor-panel .two-col-inputs{display:flex;margin-top:1em;justify-content:space-between}.cdc-open-viz-module.type-chart .editor-panel .two-col-inputs>label{width:48%;margin-top:0 !important}.cdc-open-viz-module.type-chart .editor-panel .helper-tooltip{padding:5px;max-width:300px}.cdc-open-viz-module.type-chart .editor-panel .helper{position:relative;opacity:.7;cursor:pointer;width:17px;height:17px;align-self:center;margin-left:.3rem;margin-top:-0.3rem;border:none !important;box-shadow:none !important}.cdc-open-viz-module.type-chart .editor-panel .helper svg{position:absolute;top:0;left:0;width:100%;height:100%}.cdc-open-viz-module.type-chart .editor-panel .divider-heading{display:block;font-size:1em;margin-top:1em}.cdc-open-viz-module.type-chart .editor-panel .series-list{list-style:none;border:#c7c7c7 1px solid}.cdc-open-viz-module.type-chart .editor-panel .series-list:empty{border:none !important}.cdc-open-viz-module.type-chart .editor-panel .series-list li{padding:.3em .5em;display:flex;align-items:center;justify-content:space-between;font-size:.9em}.cdc-open-viz-module.type-chart .editor-panel .series-list li:hover{background-color:#f2f2f2}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name{position:relative;user-select:none}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate[data-title]{position:relative}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate[data-title]::before,.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate[data-title]::after{opacity:0;pointer-events:none;position:absolute;transition:opacity 250ms cubic-bezier(0.16, 1, 0.3, 1);z-index:1}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate[data-title]::before{content:attr(data-title);bottom:-39px;padding:6px 10px;background:rgba(34,34,34,.9);color:#fff;font-size:14px;white-space:nowrap;border-radius:4px}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate[data-title]::after{content:"";bottom:-8px;left:10px;border:7px solid rgba(0,0,0,0);border-bottom:6px solid rgba(34,34,34,.9)}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate[data-title]:hover::before,.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate[data-title]:hover::after{opacity:1}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__name.series-list__name--truncate .series-list__name-text{cursor:pointer}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__dropdown{font-size:.8em}.cdc-open-viz-module.type-chart .editor-panel .series-list li .series-list__remove{padding:0 4px;font-size:1.125rem;color:red;cursor:pointer}.cdc-open-viz-module.type-chart .editor-panel .series-list li+li{border-top:#c7c7c7 1px solid}.cdc-open-viz-module.type-chart .editor-panel .series-list__name-text{max-width:150px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cdc-open-viz-module.type-chart .editor-panel .accordion__heading{background:#f2f2f2}.cdc-open-viz-module.type-chart .editor-panel .accordion__item select{text-transform:capitalize;outline:none}.cdc-open-viz-module.type-chart .editor-panel .accordion__item .number-narrow{min-width:auto;width:75px}.cdc-open-viz-module.type-chart .editor-panel .form-container{border-right:#c7c7c7 1px solid;flex-grow:1}.cdc-open-viz-module.type-chart .editor-panel .guidance-link{margin:2em 1em 0;padding:.75em 1em}.cdc-open-viz-module.type-chart .editor-panel .guidance-link svg{width:60px;color:#005eaa;margin-right:1rem;height:60px}.cdc-open-viz-module.type-chart .editor-panel .guidance-link svg path{fill:currentColor}.cdc-open-viz-module.type-chart .editor-panel .warning{color:#d8000c;background-color:#ffd2d2;padding:.75em 1em;margin:1em 0;font-size:.8em;border:#d8000c 1px solid;border-radius:.4em}.cdc-open-viz-module.type-chart .editor-panel .warning strong{font-weight:600;display:block}.cdc-open-viz-module.type-chart .editor-panel .accordion__button{cursor:pointer;font-size:1em;padding:.3em 1em;width:100%;text-align:left;position:relative;border-bottom:1px solid rgba(0,0,0,.2)}.cdc-open-viz-module.type-chart .editor-panel .accordion__button::before{display:inline-block;content:"";height:7px;width:7px;margin-right:1em;border-bottom:2px solid currentColor;border-right:2px solid currentColor;right:0;position:absolute;top:50%;transform:rotate(-45deg) translateY(-50%);transition:.1s all}.cdc-open-viz-module.type-chart .editor-panel .accordion__button[aria-expanded=true]::before{transform:rotate(45deg) translateY(-50%);transform-origin:right;margin-right:1.3em;transition:.1s all}.cdc-open-viz-module.type-chart .editor-panel .accordion__panel{border-bottom:1px solid rgba(0,0,0,.2);padding:1em 1.25em 2em;animation:fadein .2s ease-in}.cdc-open-viz-module.type-chart .editor-panel .accordion__panel:first-child{margin-top:0}.cdc-open-viz-module.type-chart .editor-panel .accordion__panel h5{font-size:.8em}.cdc-open-viz-module.type-chart .editor-panel .advanced{padding:0 1em 1em;text-align:left}.cdc-open-viz-module.type-chart .editor-panel .advanced p{font-size:.8rem}.cdc-open-viz-module.type-chart .editor-panel .advanced .advanced-toggle-link{padding-top:1em;display:block;text-align:left;cursor:pointer;color:rgba(0,0,0,.5);text-decoration:underline}.cdc-open-viz-module.type-chart .editor-panel .advanced .advanced-toggle-link span{text-decoration:none;display:inline-block;font-family:monospace;padding-right:5px}.cdc-open-viz-module.type-chart .editor-panel .advanced .advanced-toggle-link:hover{color:rgba(0,0,0,.7)}.cdc-open-viz-module.type-chart .editor-panel .advanced textarea{height:400px;width:100%;font-size:.9em;padding:.5em;font-family:monospace;box-sizing:border-box}@keyframes fadein{0%{opacity:0}100%{opacity:1}}.cdc-open-viz-module.type-chart .editor-panel .heading-2{background:#565656;color:#fff;font-size:1.1em;padding:.6em 1em;position:relative;border-bottom:#565656 3px solid;z-index:3}.cdc-open-viz-module.type-chart .editor-panel label{text-transform:uppercase;display:block;font-size:.8em;font-weight:600;user-select:none}.cdc-open-viz-module.type-chart .editor-panel label:not(:first-child){margin-top:1em}.cdc-open-viz-module.type-chart .editor-panel label span.edit-label{margin-bottom:.3em;display:block}.cdc-open-viz-module.type-chart .editor-panel label span.column-heading{font-size:1em}.cdc-open-viz-module.type-chart .editor-panel label.checkbox{display:flex}.cdc-open-viz-module.type-chart .editor-panel label.checkbox input{margin-left:0;width:inherit;display:inline}.cdc-open-viz-module.type-chart .editor-panel input[type=text],.cdc-open-viz-module.type-chart .editor-panel input[role=combobox],.cdc-open-viz-module.type-chart .editor-panel input[type=number],.cdc-open-viz-module.type-chart .editor-panel textarea{min-width:100%;max-width:100%}.cdc-open-viz-module.type-chart .editor-panel textarea{min-height:140px}.cdc-open-viz-module.type-chart .editor-panel .header .color-palette li{width:21px;height:21px;border-radius:40px;margin-right:2.8px}.cdc-open-viz-module.type-chart .editor-panel .color-palette{display:flex;max-width:100%;padding:0;margin:.5em 0 0 0;list-style:none;flex-wrap:wrap}.cdc-open-viz-module.type-chart .editor-panel .color-palette li{width:45px;height:23px;margin-right:4px;margin-bottom:10px;display:flex;border-radius:5px;overflow:hidden;cursor:pointer;position:relative}.cdc-open-viz-module.type-chart .editor-panel .color-palette li .click-target{position:absolute;top:0;left:0;right:0;bottom:0}.cdc-open-viz-module.type-chart .editor-panel .color-palette li.selected{border:rgba(0,0,0,.8) 2px solid}.cdc-open-viz-module.type-chart .editor-panel .color-palette li span{width:33.3%}.cdc-open-viz-module.type-chart .editor-panel fieldset{display:block}.cdc-open-viz-module.type-chart .editor-panel .primary-fieldset{padding:0;margin:0;border:0}.cdc-open-viz-module.type-chart .editor-panel ul.column-edit{list-style:none}.cdc-open-viz-module.type-chart .editor-panel ul.column-edit li{margin-top:1em}.cdc-open-viz-module.type-chart .editor-panel ul.column-edit .three-col{display:flex;justify-content:space-between}.cdc-open-viz-module.type-chart .editor-panel ul.column-edit .three-col>label{margin-top:0;width:30%;display:inline-block}.cdc-open-viz-module.type-chart .editor-panel ul.column-edit .three-col>label input[type=text],.cdc-open-viz-module.type-chart .editor-panel ul.column-edit .three-col>label input[type=number]{width:50px}.cdc-open-viz-module.type-chart .editor-panel .emove-column{float:right;text-transform:uppercase;color:#c32b2b;font-size:.7em;line-height:1.6em;border-radius:5px;margin:0 auto;transition:.1s all;border:0;text-decoration:underline;outline:0;cursor:pointer;font-weight:bold}.cdc-open-viz-module.type-chart .editor-panel .edit-block{padding-left:1em;border-left:rgba(0,0,0,.2) 4px solid;transition:.2s all}.cdc-open-viz-module.type-chart .editor-panel .edit-block:not(:first-child){margin-top:2em}.cdc-open-viz-module.type-chart .editor-panel .edit-block input[type=text],.cdc-open-viz-module.type-chart .editor-panel .edit-block input[type=number]{font-size:1em}.cdc-open-viz-module.type-chart .editor-panel .edit-block label{margin-top:0}.cdc-open-viz-module.type-chart .editor-panel .edit-block label+label{margin-top:1em}.cdc-open-viz-module.type-chart .editor-panel .edit-block:hover{border-left:rgba(0,0,0,.7) 4px solid;transition:.2s all}.cdc-open-viz-module.type-chart .editor-panel span.subtext{display:block;color:rgba(0,0,0,.5);text-transform:none;font-weight:normal}.cdc-open-viz-module.type-chart .editor-panel .btn{margin-top:1em}.cdc-open-viz-module.type-chart .editor-panel .sort-list{list-style:none}.cdc-open-viz-module.type-chart .editor-panel .sort-list>li{margin-right:.3em;margin-bottom:.3em}.cdc-open-viz-module.type-chart .editor-panel .sort-list li>div{display:block;box-sizing:border-box;border:1px solid #d1d1d1;border-radius:2px;background:#f1f1f1;padding:.4em .6em;font-size:.8em;margin-bottom:.3em;cursor:move}.cdc-open-viz-module.type-chart .editor-panel .info{font-size:.8em;line-height:1.4em;font-style:italic;padding-top:10px}.cdc-open-viz-module.type-chart .editor-panel .react-tags__search{width:100%}.cdc-open-viz-module.type-chart .editor-panel .react-tags{position:relative;cursor:text}.cdc-open-viz-module.type-chart .editor-panel .react-tags input.react-tags__search-input{font-size:.8rem}.cdc-open-viz-module.type-chart .editor-panel .react-tags span{display:inline}.cdc-open-viz-module.type-chart .editor-panel .react-tags.is-focused{border-color:rgba(0,0,0,.7)}.cdc-open-viz-module.type-chart .editor-panel .react-tags__selected{display:inline}.cdc-open-viz-module.type-chart .editor-panel .react-tags__selected-tag{display:inline-block;box-sizing:border-box;border:1px solid #d1d1d1;border-radius:2px;background:#f1f1f1;padding:.4em .6em;font-size:.8em;margin-right:.3em;margin-bottom:.3em}.cdc-open-viz-module.type-chart .editor-panel .react-tags__selected-tag:after{content:"✕";color:#aaa;margin-left:8px}.cdc-open-viz-module.type-chart .editor-panel .react-tags__selected-tag:hover,.cdc-open-viz-module.type-chart .editor-panel .react-tags__selected-tag:focus{border-color:#b1b1b1}.cdc-open-viz-module.type-chart .editor-panel .react-tags__search{display:inline-block;max-width:100%}@media screen and (min-width: 30em){.cdc-open-viz-module.type-chart .editor-panel .react-tags__search{position:relative}}.cdc-open-viz-module.type-chart .editor-panel .react-tags__search input{max-width:100%;margin:0;outline:none;padding:.5em .3em;font-size:inherit;line-height:inherit}.cdc-open-viz-module.type-chart .editor-panel .react-tags__search input::-ms-clear{display:none}.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions{position:absolute;top:100%;left:0;width:100%}@media screen and (min-width: 30em){.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions{width:240px}}.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions ul{margin:4px -1px;padding:0;list-style:none;background:#fff;border:1px solid #d1d1d1;border-radius:2px;box-shadow:0 2px 6px rgba(0,0,0,.2)}.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions li{border-bottom:1px solid #ddd;padding:6px 8px}.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions li mark{text-decoration:underline;background:none;font-weight:600}.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions li:hover{cursor:pointer;background:#eee}.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions li.is-active{background:#b7cfe0}.cdc-open-viz-module.type-chart .editor-panel .react-tags__suggestions li.is-disabled{opacity:.5;cursor:auto}.cdc-open-viz-module.type-chart .editor-panel [type=radio]{border:1px solid #8c8f94;border-radius:50%;margin-right:5px}.cdc-open-viz-module.type-chart .editor-toggle{background:#f2f2f2;border-radius:60px;color:#000;font-size:1em;border:0;position:fixed;z-index:100;transition:.1s background;cursor:pointer;width:25px;height:25px;left:307px;top:10px;box-shadow:rgba(0,0,0,.5) 0 1px 2px}.cdc-open-viz-module.type-chart .editor-toggle:before{top:43%;left:50%;transform:translate(-50%, -50%);position:absolute;content:"«"}.cdc-open-viz-module.type-chart .editor-toggle.collapsed{left:1em;margin-left:0}.cdc-open-viz-module.type-chart .editor-toggle.collapsed:before{content:"»"}.cdc-open-viz-module.type-chart .editor-toggle:hover{background:#fff}.cdc-open-viz-module.type-chart.md .editor-panel:not(.hidden)+.cdc-chart-inner-container,.cdc-open-viz-module.type-chart.lg .editor-panel:not(.hidden)+.cdc-chart-inner-container{padding-left:350px}.cdc-open-viz-module.type-chart .visually-hidden{position:fixed;left:-10000px}.cdc-open-viz-module.type-chart .loader{width:100%;text-align:center;display:inline-block;animation:spin 1s linear infinite}.cdc-open-viz-module.type-chart .loader::before{content:"↻"}.cdc-open-viz-module.type-chart .btn{background:#005eaa;color:#fff !important;border:0;padding:.4em .8em;display:block;border-radius:5px;transition:.1s all;cursor:pointer}.cdc-open-viz-module.type-chart .btn[disabled]{opacity:.5;z-index:-1;position:relative}.cdc-open-viz-module.type-chart .warning-icon{position:relative;top:2px;width:15px;height:15px;margin-left:5px}.cdc-open-viz-module.type-chart .warning-icon path{fill:#d8000c}.cdc-open-viz-module.type-chart .chart-title{position:relative;padding:.6em .8em;margin:0;color:#fff;font-size:1.1em;border-bottom-width:3px;border-bottom-style:solid;border-top-left-radius:3px;border-top-right-radius:3px}.cdc-open-viz-module.type-chart .chart-title em{font-style:italic}.cdc-open-viz-module.type-chart .chart-title strong{font-weight:bold}.cdc-open-viz-module.type-chart .chart-title:not(:empty){margin:0 0 1rem 0 !important;padding:.6em .8em;border-bottom-width:3px;border-bottom-style:solid}.cdc-open-viz-module.type-chart .chart-description{margin-bottom:20px}.cdc-open-viz-module.type-chart .legend-container{background:#fff;width:100%;padding:15px;vertical-align:top;text-align:center;border:1px solid #c7c7c7;order:1;position:relative}.cdc-open-viz-module.type-chart .legend-container .legend-reset{font-size:.7em;color:rgba(0,0,0,.6);position:absolute;right:1em;background:rgba(0,0,0,.1);text-transform:uppercase;transition:.3s all;padding:.375rem;top:1em;border-radius:3px}.cdc-open-viz-module.type-chart .legend-container .legend-reset:hover{background:rgba(0,0,0,.15);transition:.3s all}.cdc-open-viz-module.type-chart .legend-container .legend-item{text-align:left;align-items:flex-start !important;user-select:none}.cdc-open-viz-module.type-chart .legend-container .legend-item>.legend-item{display:inline-block;margin-right:.5rem;flex:0 0 auto}.cdc-open-viz-module.type-chart .legend-container h2{font-size:1.3em;margin-bottom:.3em}.cdc-open-viz-module.type-chart .legend-container .legend-item{cursor:pointer;transition:.2s all}.cdc-open-viz-module.type-chart .legend-container .legend-item.inactive{opacity:.5;transition:.2s all}.cdc-open-viz-module.type-chart .tooltip{background-color:#fff;border:rgba(0,0,0,.3) 1px solid !important;box-shadow:rgba(0,0,0,.1) 3px 3px 7px;line-height:1.4em;font-size:1em !important;border-radius:4px !important;padding:8px 12px !important;opacity:1}.cdc-open-viz-module.type-chart .region-table{margin-top:15px}.cdc-open-viz-module.type-chart .chart-container{display:flex;align-items:flex-start;flex-wrap:wrap;margin-bottom:1em}.cdc-open-viz-module.type-chart .chart-container.legend-hidden>svg{width:100% !important}.cdc-open-viz-module.type-chart .chart-container>svg{overflow:visible;font-size:14px;margin:1rem 0 2rem}.cdc-open-viz-module.type-chart .chart-container>svg .visx-linepath{pointer-events:none}.cdc-open-viz-module.type-chart .chart-container>svg circle{opacity:0}.cdc-open-viz-module.type-chart .chart-container.chart-line--hover>svg circle{opacity:0}.cdc-open-viz-module.type-chart .chart-container.chart-line--hover>svg circle:hover{opacity:1}.cdc-open-viz-module.type-chart .chart-container.chart-line--always>svg circle{opacity:1}.cdc-open-viz-module.type-chart .chart-container.chart-bar--no-border .visx-group:not(.visx-axis) rect{stroke:none}.cdc-open-viz-module.type-chart .filters-section{display:inline-block}.cdc-open-viz-module.type-chart .filters-section label:not(:empty){margin-right:.4em}.cdc-open-viz-module.type-chart .filters-section select{font-size:1em}.cdc-open-viz-module.type-chart .filters-section .single-filter+.single-filter{margin-left:1em}.cdc-open-viz-module.type-chart.xs.font-small,.cdc-open-viz-module.type-chart.xxs.font-small{font-size:.8em}.cdc-open-viz-module.type-chart.xs.font-small .chart-container>svg,.cdc-open-viz-module.type-chart.xxs.font-small .chart-container>svg{font-size:12px}.cdc-open-viz-module.type-chart.xs.font-medium,.cdc-open-viz-module.type-chart.xxs.font-medium{font-size:.9em}.cdc-open-viz-module.type-chart.xs.font-medium .chart-container>svg,.cdc-open-viz-module.type-chart.xxs.font-medium .chart-container>svg{font-size:14px}.cdc-open-viz-module.type-chart.xs.font-large,.cdc-open-viz-module.type-chart.xxs.font-large{font-size:1em}.cdc-open-viz-module.type-chart.xs.font-large .chart-container>svg,.cdc-open-viz-module.type-chart.xxs.font-large .chart-container>svg{font-size:16px}.cdc-open-viz-module.type-chart.md .filters-section,.cdc-open-viz-module.type-chart.md .chart-container:not(.sparkline),.cdc-open-viz-module.type-chart.lg .filters-section,.cdc-open-viz-module.type-chart.lg .chart-container:not(.sparkline){margin-left:1em;margin-right:1em}.cdc-open-viz-module.type-chart.md .chart-container,.cdc-open-viz-module.type-chart.lg .chart-container{flex-wrap:nowrap}.cdc-open-viz-module.type-chart.md .chart-container .legend-container,.cdc-open-viz-module.type-chart.lg .chart-container .legend-container{width:25%;margin-left:1em;order:2}.cdc-open-viz-module.type-chart.md .chart-container .legend-container.left,.cdc-open-viz-module.type-chart.lg .chart-container .legend-container.left{margin-left:0;margin-right:1em;order:0}.cdc-open-viz-module.type-chart.md .chart-container>svg,.cdc-open-viz-module.type-chart.lg .chart-container>svg{font-size:16px;width:75%;order:1}.cdc-open-viz-module.type-chart.md .chart-container>svg circle,.cdc-open-viz-module.type-chart.lg .chart-container>svg circle{filter:drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));transform-origin:50% 50%}.cdc-open-viz-module.type-chart.md.font-small,.cdc-open-viz-module.type-chart.lg.font-small{font-size:.9em}.cdc-open-viz-module.type-chart.md.font-small .chart-container>svg,.cdc-open-viz-module.type-chart.lg.font-small .chart-container>svg{font-size:14px}.cdc-open-viz-module.type-chart.md.font-large,.cdc-open-viz-module.type-chart.lg.font-large{font-size:1.1em}.cdc-open-viz-module.type-chart.md.font-large .chart-container>svg,.cdc-open-viz-module.type-chart.lg.font-large .chart-container>svg{font-size:18px}.cdc-open-viz-module.type-chart.lg.font-small{font-size:1em}.cdc-open-viz-module.type-chart.lg.font-small .chart-container>svg{font-size:16px}.cdc-open-viz-module.type-chart.lg.font-medium{font-size:1.1em}.cdc-open-viz-module.type-chart.lg.font-medium .chart-container>svg{font-size:18px}.cdc-open-viz-module.type-chart.lg.font-large{font-size:1.2em}.cdc-open-viz-module.type-chart.lg.font-large .chart-container>svg{font-size:20px}.cdc-open-viz-module.type-chart [tabindex]:focus-visible{outline:2px solid #005fcc !important}#paired-bar-legend{text-align:center}#paired-bar-legend div{margin:0 .5em;display:flex}#paired-bar-legend .indicator{width:1em;height:1em;vertical-align:middle;margin:.25em}.isEditor.type-sparkline .cdc-chart-inner-container{margin:3em auto 0;max-width:60%}.cdc-open-viz-module.type-chart.lg.type-sparkline .chart-container>svg{width:100%}.chart-container.sparkline{display:flex !important;flex-wrap:wrap !important}.cdc-open-viz-module.type-chart.type-sparkline .cove-component__content{background:#f2f2f2}.cdc-open-viz-module.type-chart.type-sparkline .cove-component__content.component--hideBackgroundColor{background:rgba(0,0,0,0)}.cdc-open-viz-module.type-chart.type-sparkline .chart-title:not(:empty){margin-bottom:0 !important}.cdc-open-viz-module.type-chart.type-sparkline .cove-component__content .chart-container{padding:1em}.cdc-open-viz-module.type-chart.type-sparkline .cove-component__content:not(.no-borders){border:1px solid #c7c7c7}.cdc-open-viz-module.type-chart.type-sparkline .cove-component__header~.cove-component__content:not(.no-borders){border-top:none !important}.cdc-open-viz-module.type-chart.type-sparkline .subtext{margin-top:0px}.cdc-open-viz-module.type-chart.type-sparkline .isEditor{position:relative}.cdc-open-viz-module.type-chart.type-sparkline .subtext{margin-bottom:15px}.cdc-open-viz-module .cove-component__content.sparkline{padding:1em}.cove-component__content.sparkline{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.cove-component__content.sparkline .visx-axis-tick:first-of-type{transform:translate(20px, 0)}.cove-component__content.sparkline .visx-axis-tick:last-of-type{transform:translate(-20px, 0)}',""]),t.default=p},44013:function(e,t,n){"use strict";n.r(t);var r=n(82609),o=n.n(r)()(!1);o.push([e.id,"/*!\n * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/)\n * Copyright 2015 Daniel Cardoso <@DanielCardoso>\n * Licensed under MIT\n */@keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(0.75);-moz-transform:scale(0.75);-o-transform:scale(0.75);transform:scale(0.75)}100%{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}.cdc-open-viz-module .loading{text-align:center;position:absolute;z-index:3;background:rgba(255,255,255,.5);left:0;right:0;bottom:0;top:0;min-height:30%}.cdc-open-viz-module .loading span{display:block;margin-bottom:1em;font-size:1.3em}.cdc-open-viz-module .loading .la-ball-beat{position:relative;box-sizing:border-box;margin:0 auto;transform:scale(1.3);font-size:0;color:#777;display:flex;justify-content:center;align-items:center;width:108px;height:36px}.cdc-open-viz-module .loading .la-ball-beat.sm,.cdc-open-viz-module .loading .la-ball-beat.xs,.cdc-open-viz-module .loading .la-ball-beat.xxs{transform:scale(0.7)}.cdc-open-viz-module .loading .la-ball-beat div+div{margin-left:10px}.cdc-open-viz-module .loading .la-ball-beat>div{position:relative;box-sizing:border-box;width:20px;height:20px;border-radius:100%;animation:ball-beat .7s -0.15s infinite linear;display:inline-block;background-color:currentColor;border:0 solid currentColor}.cdc-open-viz-module .loading .la-ball-beat>div:nth-child(2n-1){animation-delay:-0.5s}",""]),t.default=o},18458:function(e,t,n){"use strict";n.r(t);var r=n(82609),o=n.n(r)()(!1);o.push([e.id,".cove-icon{display:inline-flex;width:1em;height:auto;justify-content:center;align-items:center}@media all and (-ms-high-contrast: none){.cove-icon{height:30px}}.cove-icon>svg{width:auto;height:auto;max-width:100%;max-height:100%;pointer-events:none}.cove-icon>svg path{fill:currentColor}",""]),t.default=o},73924:function(e,t,n){"use strict";n.r(t);var r=n(82609),o=n.n(r)()(!1);o.push([e.id,'.markup-include .theme-amber,.type-waffle-chart .theme-amber,.type-data-bite .theme-amber,.cdc-open-viz-module.type-chart.type-sparkline .theme-amber,.cove .theme-amber{background-color:#fbab18;border-color:#ffd54f;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-amber .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #fbab18;border-right:1px solid #fbab18;border-bottom:1px solid #fbab18}.markup-include.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #fbab18}.markup-include.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-amber .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-amber .cove-component__header,.type-waffle-chart.theme-amber .cove-component__header,.type-data-bite.theme-amber .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__header,.cove.theme-amber .cove-component__header{border-color:#ffd54f}.markup-include.theme-amber .cove-component__content.component--has-accent,.type-waffle-chart.theme-amber .cove-component__content.component--has-accent,.type-data-bite.theme-amber .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__content.component--has-accent,.cove.theme-amber .cove-component__content.component--has-accent{border-left:.5rem solid #fbab18 !important}.markup-include.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-amber .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ffecb3}.markup-include .theme-blue,.type-waffle-chart .theme-blue,.type-data-bite .theme-blue,.cdc-open-viz-module.type-chart.type-sparkline .theme-blue,.cove .theme-blue{background-color:#005eaa;border-color:#88c3ea;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-blue .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #005eaa;border-right:1px solid #005eaa;border-bottom:1px solid #005eaa}.markup-include.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #005eaa}.markup-include.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-blue .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-blue .cove-component__header,.type-waffle-chart.theme-blue .cove-component__header,.type-data-bite.theme-blue .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__header,.cove.theme-blue .cove-component__header{border-color:#88c3ea}.markup-include.theme-blue .cove-component__content.component--has-accent,.type-waffle-chart.theme-blue .cove-component__content.component--has-accent,.type-data-bite.theme-blue .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__content.component--has-accent,.cove.theme-blue .cove-component__content.component--has-accent{border-left:.5rem solid #005eaa !important}.markup-include.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-blue .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#c0e9ff}.markup-include .theme-brown,.type-waffle-chart .theme-brown,.type-data-bite .theme-brown,.cdc-open-viz-module.type-chart.type-sparkline .theme-brown,.cove .theme-brown{background-color:#705043;border-color:#ad907b;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-brown .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #705043;border-right:1px solid #705043;border-bottom:1px solid #705043}.markup-include.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #705043}.markup-include.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-brown .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-brown .cove-component__header,.type-waffle-chart.theme-brown .cove-component__header,.type-data-bite.theme-brown .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__header,.cove.theme-brown .cove-component__header{border-color:#ad907b}.markup-include.theme-brown .cove-component__content.component--has-accent,.type-waffle-chart.theme-brown .cove-component__content.component--has-accent,.type-data-bite.theme-brown .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__content.component--has-accent,.cove.theme-brown .cove-component__content.component--has-accent{border-left:.5rem solid #705043 !important}.markup-include.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-brown .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#d7ccc8}.markup-include .theme-cyan,.type-waffle-chart .theme-cyan,.type-data-bite .theme-cyan,.cdc-open-viz-module.type-chart.type-sparkline .theme-cyan,.cove .theme-cyan{background-color:#006778;border-color:#65b0bd;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-cyan .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #006778;border-right:1px solid #006778;border-bottom:1px solid #006778}.markup-include.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #006778}.markup-include.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-cyan .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-cyan .cove-component__header,.type-waffle-chart.theme-cyan .cove-component__header,.type-data-bite.theme-cyan .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__header,.cove.theme-cyan .cove-component__header{border-color:#65b0bd}.markup-include.theme-cyan .cove-component__content.component--has-accent,.type-waffle-chart.theme-cyan .cove-component__content.component--has-accent,.type-data-bite.theme-cyan .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__content.component--has-accent,.cove.theme-cyan .cove-component__content.component--has-accent{border-left:.5rem solid #006778 !important}.markup-include.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-cyan .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#cce5e9}.markup-include .theme-green,.type-waffle-chart .theme-green,.type-data-bite .theme-green,.cdc-open-viz-module.type-chart.type-sparkline .theme-green,.cove .theme-green{background-color:#4b830d;border-color:#84bc49;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-green .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #4b830d;border-right:1px solid #4b830d;border-bottom:1px solid #4b830d}.markup-include.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #4b830d}.markup-include.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-green .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-green .cove-component__header,.type-waffle-chart.theme-green .cove-component__header,.type-data-bite.theme-green .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__header,.cove.theme-green .cove-component__header{border-color:#84bc49}.markup-include.theme-green .cove-component__content.component--has-accent,.type-waffle-chart.theme-green .cove-component__content.component--has-accent,.type-data-bite.theme-green .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__content.component--has-accent,.cove.theme-green .cove-component__content.component--has-accent{border-left:.5rem solid #4b830d !important}.markup-include.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-green .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#dcedc8}.markup-include .theme-indigo,.type-waffle-chart .theme-indigo,.type-data-bite .theme-indigo,.cdc-open-viz-module.type-chart.type-sparkline .theme-indigo,.cove .theme-indigo{background-color:#26418f;border-color:#92a6dd;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-indigo .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #26418f;border-right:1px solid #26418f;border-bottom:1px solid #26418f}.markup-include.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #26418f}.markup-include.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-indigo .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-indigo .cove-component__header,.type-waffle-chart.theme-indigo .cove-component__header,.type-data-bite.theme-indigo .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__header,.cove.theme-indigo .cove-component__header{border-color:#92a6dd}.markup-include.theme-indigo .cove-component__content.component--has-accent,.type-waffle-chart.theme-indigo .cove-component__content.component--has-accent,.type-data-bite.theme-indigo .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__content.component--has-accent,.cove.theme-indigo .cove-component__content.component--has-accent{border-left:.5rem solid #26418f !important}.markup-include.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-indigo .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#dee8ff}.markup-include .theme-orange,.type-waffle-chart .theme-orange,.type-data-bite .theme-orange,.cdc-open-viz-module.type-chart.type-sparkline .theme-orange,.cove .theme-orange{background-color:#bb4d00;border-color:#ffad42;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-orange .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #bb4d00;border-right:1px solid #bb4d00;border-bottom:1px solid #bb4d00}.markup-include.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #bb4d00}.markup-include.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-orange .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-orange .cove-component__header,.type-waffle-chart.theme-orange .cove-component__header,.type-data-bite.theme-orange .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__header,.cove.theme-orange .cove-component__header{border-color:#ffad42}.markup-include.theme-orange .cove-component__content.component--has-accent,.type-waffle-chart.theme-orange .cove-component__content.component--has-accent,.type-data-bite.theme-orange .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__content.component--has-accent,.cove.theme-orange .cove-component__content.component--has-accent{border-left:.5rem solid #bb4d00 !important}.markup-include.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-orange .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ffe97d}.markup-include .theme-pink,.type-waffle-chart .theme-pink,.type-data-bite .theme-pink,.cdc-open-viz-module.type-chart.type-sparkline .theme-pink,.cove .theme-pink{background-color:#af4448;border-color:#e57373;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-pink .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #af4448;border-right:1px solid #af4448;border-bottom:1px solid #af4448}.markup-include.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #af4448}.markup-include.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-pink .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-pink .cove-component__header,.type-waffle-chart.theme-pink .cove-component__header,.type-data-bite.theme-pink .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__header,.cove.theme-pink .cove-component__header{border-color:#e57373}.markup-include.theme-pink .cove-component__content.component--has-accent,.type-waffle-chart.theme-pink .cove-component__content.component--has-accent,.type-data-bite.theme-pink .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__content.component--has-accent,.cove.theme-pink .cove-component__content.component--has-accent{border-left:.5rem solid #af4448 !important}.markup-include.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-pink .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ffc2c2}.markup-include .theme-purple,.type-waffle-chart .theme-purple,.type-data-bite .theme-purple,.cdc-open-viz-module.type-chart.type-sparkline .theme-purple,.cove .theme-purple{background-color:#712177;border-color:#b890bb;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-purple .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #712177;border-right:1px solid #712177;border-bottom:1px solid #712177}.markup-include.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #712177}.markup-include.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-purple .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-purple .cove-component__header,.type-waffle-chart.theme-purple .cove-component__header,.type-data-bite.theme-purple .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__header,.cove.theme-purple .cove-component__header{border-color:#b890bb}.markup-include.theme-purple .cove-component__content.component--has-accent,.type-waffle-chart.theme-purple .cove-component__content.component--has-accent,.type-data-bite.theme-purple .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__content.component--has-accent,.cove.theme-purple .cove-component__content.component--has-accent{border-left:.5rem solid #712177 !important}.markup-include.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-purple .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#e3d3e4}.markup-include .theme-slate,.type-waffle-chart .theme-slate,.type-data-bite .theme-slate,.cdc-open-viz-module.type-chart.type-sparkline .theme-slate,.cove .theme-slate{background-color:#29434e;border-color:#7e9ba5;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-slate .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #29434e;border-right:1px solid #29434e;border-bottom:1px solid #29434e}.markup-include.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #29434e}.markup-include.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-slate .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-slate .cove-component__header,.type-waffle-chart.theme-slate .cove-component__header,.type-data-bite.theme-slate .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__header,.cove.theme-slate .cove-component__header{border-color:#7e9ba5}.markup-include.theme-slate .cove-component__content.component--has-accent,.type-waffle-chart.theme-slate .cove-component__content.component--has-accent,.type-data-bite.theme-slate .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__content.component--has-accent,.cove.theme-slate .cove-component__content.component--has-accent{border-left:.5rem solid #29434e !important}.markup-include.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-slate .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#b6c6d2}.markup-include .theme-teal,.type-waffle-chart .theme-teal,.type-data-bite .theme-teal,.cdc-open-viz-module.type-chart.type-sparkline .theme-teal,.cove .theme-teal{background-color:#00695c;border-color:#4ebaaa;border-bottom-style:solid;border-bottom-width:4px}.markup-include.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-waffle-chart.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.type-data-bite.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme,.cove.theme-teal .cove-component__content:not(.no-borders).component--has-borderColorTheme{border-left:1px solid #00695c;border-right:1px solid #00695c;border-bottom:1px solid #00695c}.markup-include.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-waffle-chart.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.type-data-bite.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders),.cove.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content.component--has-borderColorTheme:not(.no-borders){border-top:1px solid #00695c}.markup-include.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.type-waffle-chart.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.type-data-bite.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content,.cove.theme-teal .cove-component__inner:not(.component--has-title) .cove-component__content{border-top:1px solid #ccc}.markup-include.theme-teal .cove-component__header,.type-waffle-chart.theme-teal .cove-component__header,.type-data-bite.theme-teal .cove-component__header,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__header,.cove.theme-teal .cove-component__header{border-color:#4ebaaa}.markup-include.theme-teal .cove-component__content.component--has-accent,.type-waffle-chart.theme-teal .cove-component__content.component--has-accent,.type-data-bite.theme-teal .cove-component__content.component--has-accent,.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__content.component--has-accent,.cove.theme-teal .cove-component__content.component--has-accent{border-left:.5rem solid #00695c !important}.markup-include.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-waffle-chart.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.type-data-bite.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cdc-open-viz-module.type-chart.type-sparkline.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor),.cove.theme-teal .cove-component__content.component--has-background:not(.component--hideBackgroundColor){background:#ceece7}input,datalist,textarea,select{transition:border-color 200ms cubic-bezier(0.16, 1, 0.3, 1);font-family:sans-serif}input[type=text],input[type=number],input[type=date],input[type=search],datalist,textarea,select{padding:.5em .5em;border-width:1px;border-style:solid;border-color:#cbcbcb;border-radius:3px;width:100%}input[type=text]::placeholder,input[type=number]::placeholder,input[type=date]::placeholder,input[type=search]::placeholder,datalist::placeholder,textarea::placeholder,select::placeholder{transition:opacity 400ms cubic-bezier(0.16, 1, 0.3, 1);color:#b3b3b3;opacity:1}input[type=text]:focus,input[type=number]:focus,input[type=date]:focus,input[type=search]:focus,datalist:focus,textarea:focus,select:focus{border-width:1px;border-style:solid;border-color:#4c4c4c;outline:0}input[type=text]:focus::placeholder,input[type=number]:focus::placeholder,input[type=date]:focus::placeholder,input[type=search]:focus::placeholder,datalist:focus::placeholder,textarea:focus::placeholder,select:focus::placeholder{opacity:0}select.input--small{padding:0}textarea{width:100%;min-height:140px;max-width:100%;line-height:1.5em}label{display:block;font-size:.8em;text-transform:uppercase;user-select:none}label:not(:first-child){margin-top:1em}.cove-input-group:not(:last-child){margin-bottom:1.5em}.cove-input-group>label{margin-bottom:.5rem}.cove-input-group .cove-input-group--checkbox:last-of-type,.cove-input-group .cove-input-group--radio:last-of-type{margin-bottom:0}.cove-input-group--checkbox{margin-bottom:1rem}.cove-input-group--checkbox,.cove-input-group--radio{display:flex;align-items:center}.cove-input-group--checkbox label,.cove-input-group--checkbox input[type=checkbox],.cove-input-group--checkbox input[type=radio],.cove-input-group--radio label,.cove-input-group--radio input[type=checkbox],.cove-input-group--radio input[type=radio]{cursor:pointer;user-select:none}.cove-input-group--checkbox label,.cove-input-group--radio label{padding-right:6px}.cove-input-group--checkbox label+input[type=checkbox],.cove-input-group--checkbox label+input[type=radio],.cove-input-group--radio label+input[type=checkbox],.cove-input-group--radio label+input[type=radio]{margin-left:0}.cove-input-group--checkbox input[type=checkbox],.cove-input-group--checkbox input[type=radio],.cove-input-group--radio input[type=checkbox],.cove-input-group--radio input[type=radio]{display:inline-block;margin-right:0;margin-left:0}.cove-input-group--checkbox input[type=checkbox]+label,.cove-input-group--checkbox input[type=radio]+label,.cove-input-group--radio input[type=checkbox]+label,.cove-input-group--radio input[type=radio]+label{padding-right:0;padding-left:6px}.cove-input-group--checkbox input[type=radio],.cove-input-group--radio input[type=radio]{margin-bottom:5px}.cove-input--hidden{position:absolute;z-index:-999;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}.cove-input__toggle,.cove-input__toggle--large,.cove-input__toggle--small{display:inline-block;position:relative;width:60px;height:26px;padding:3px;cursor:pointer}.cove-input__toggle.active .cove-input__toggle-button,.active.cove-input__toggle--large .cove-input__toggle-button,.active.cove-input__toggle--small .cove-input__toggle-button{left:100%;transform:translateX(-100%)}.cove-input__toggle.active .cove-input__toggle-track,.active.cove-input__toggle--large .cove-input__toggle-track,.active.cove-input__toggle--small .cove-input__toggle-track{background-color:#75b936}.cove-input__toggle.toggle--block,.toggle--block.cove-input__toggle--large,.toggle--block.cove-input__toggle--small{width:unset;aspect-ratio:1.85/1;padding:4px}.cove-input__toggle.toggle--block .cove-input__toggle-button,.toggle--block.cove-input__toggle--large .cove-input__toggle-button,.toggle--block.cove-input__toggle--small .cove-input__toggle-button{border-radius:10%;box-shadow:0 2px 5px 0 rgba(0,0,0,.2)}.cove-input__toggle.toggle--block .cove-input__toggle-track,.toggle--block.cove-input__toggle--large .cove-input__toggle-track,.toggle--block.cove-input__toggle--small .cove-input__toggle-track{border-radius:4px;box-shadow:0 0 0 rgba(0,0,0,0)}.cove-input__toggle.toggle--block.active .cove-input__toggle-track,.toggle--block.active.cove-input__toggle--large .cove-input__toggle-track,.toggle--block.active.cove-input__toggle--small .cove-input__toggle-track{box-shadow:inset -40px 0 10px -10px rgba(0,0,0,.15)}.cove-input__toggle.toggle--pill,.toggle--pill.cove-input__toggle--large,.toggle--pill.cove-input__toggle--small{width:60px;height:25px}.cove-input__toggle.toggle--pill .cove-input__toggle-button,.toggle--pill.cove-input__toggle--large .cove-input__toggle-button,.toggle--pill.cove-input__toggle--small .cove-input__toggle-button{border-radius:999px;aspect-ratio:1.75/1}.cove-input__toggle.toggle--pill .cove-input__toggle-button::before,.toggle--pill.cove-input__toggle--large .cove-input__toggle-button::before,.toggle--pill.cove-input__toggle--small .cove-input__toggle-button::before,.cove-input__toggle.toggle--pill .cove-input__toggle-button::after,.toggle--pill.cove-input__toggle--large .cove-input__toggle-button::after,.toggle--pill.cove-input__toggle--small .cove-input__toggle-button::after{content:"";display:block;width:1px;height:calc(100% - 10px);background:linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(227, 227, 227) 30%, rgb(227, 227, 227) 70%, rgb(255, 255, 255) 100%);position:absolute;top:5px}.cove-input__toggle.toggle--pill .cove-input__toggle-button::before,.toggle--pill.cove-input__toggle--large .cove-input__toggle-button::before,.toggle--pill.cove-input__toggle--small .cove-input__toggle-button::before{left:42%}.cove-input__toggle.toggle--pill .cove-input__toggle-button::after,.toggle--pill.cove-input__toggle--large .cove-input__toggle-button::after,.toggle--pill.cove-input__toggle--small .cove-input__toggle-button::after{right:42%}.cove-input__toggle.toggle--3d .cove-input__toggle-button,.toggle--3d.cove-input__toggle--large .cove-input__toggle-button,.toggle--3d.cove-input__toggle--small .cove-input__toggle-button{background:radial-gradient(circle at 100% 0%, rgb(255, 255, 255) 45%, rgb(200, 200, 200) 100%);box-shadow:0 1px 3px 1px rgba(0,0,0,.4),inset 0 0 3px 2px #fff;height:160%;top:-30%;transform:translateX(-20%)}.cove-input__toggle.toggle--3d .cove-input__toggle-button:after,.toggle--3d.cove-input__toggle--large .cove-input__toggle-button:after,.toggle--3d.cove-input__toggle--small .cove-input__toggle-button:after{content:"";display:block;position:absolute;top:0;left:0;width:calc(100% - 6px);height:calc(100% - 6px);border:1px solid #ececec;border-radius:999px;margin:3px}.cove-input__toggle.toggle--3d .cove-input__toggle-track,.toggle--3d.cove-input__toggle--large .cove-input__toggle-track,.toggle--3d.cove-input__toggle--small .cove-input__toggle-track{box-shadow:inset 1px 1px 3px rgba(0,0,0,.4)}.cove-input__toggle.toggle--3d.active .cove-input__toggle-button,.toggle--3d.active.cove-input__toggle--large .cove-input__toggle-button,.toggle--3d.active.cove-input__toggle--small .cove-input__toggle-button{transform:translateX(-80%)}.cove-input__toggle.toggle--3d.active .cove-input__toggle-track,.toggle--3d.active.cove-input__toggle--large .cove-input__toggle-track,.toggle--3d.active.cove-input__toggle--small .cove-input__toggle-track{box-shadow:inset 1px 1px 3px rgba(0,0,0,.6)}.cove-input__toggle--small{width:40px;height:20px}.cove-input__toggle--small.toggle--pill{width:45px;height:20px}.cove-input__toggle--small.toggle--pill .cove-input__toggle-button{aspect-ratio:1.5/1}.cove-input__toggle--small.toggle--pill .cove-input__toggle-button:before,.cove-input__toggle--small.toggle--pill .cove-input__toggle-button:after{display:none}.cove-input__toggle--small.toggle--3d .cove-input__toggle-button{box-shadow:0 1px 2px 2px rgba(0,0,0,.22),inset 0 0 3px 2px #fff}.cove-input__toggle--small.toggle--3d .cove-input__toggle-button:after{width:calc(100% - 4px);height:calc(100% - 4px);margin:2px}.cove-input__toggle--large{width:80px;height:35px}.cove-input__toggle--large.toggle--pill{width:80px;height:30px}.cove-input__toggle--large.toggle--3d .cove-input__toggle-button:after{width:calc(100% - 8px);height:calc(100% - 8px);margin:4px}.cove-input__toggle-button{position:relative;left:0;height:100%;aspect-ratio:1/1;background-color:#fff;box-shadow:-2px 4px 10px -7px #000;border-radius:100%;transition:all 200ms cubic-bezier(0.16, 1, 0.3, 1);z-index:2}.cove-input__toggle-track{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#ccc;border-radius:999px;transition:all 200ms cubic-bezier(0.16, 1, 0.3, 1)}.cove-input__checkbox,.cove-input__checkbox--large,.cove-input__checkbox--small{display:inline-block;width:1.75rem;aspect-ratio:1/1;cursor:pointer}.cove-input__checkbox--small{width:1.25rem}.cove-input__checkbox--large{width:2.25rem}.cove-input__checkbox.active .cove-input__checkbox-box,.active.cove-input__checkbox--small .cove-input__checkbox-box,.active.cove-input__checkbox--large .cove-input__checkbox-box{background-color:#fff}.cove-input__checkbox.active .cove-input__checkbox-box.custom-color,.active.cove-input__checkbox--small .cove-input__checkbox-box.custom-color,.active.cove-input__checkbox--large .cove-input__checkbox-box.custom-color{box-shadow:none}.cove-input__checkbox.active .cove-input__checkbox-check,.active.cove-input__checkbox--small .cove-input__checkbox-check,.active.cove-input__checkbox--large .cove-input__checkbox-check{opacity:1;transform:translateY(-1px)}.cove-input__checkbox-box{position:relative;width:100%;height:100%;background-color:#f4f4f4;border-radius:3px;box-shadow:inset 0 0 0 1px #c4c4c4;transition:all 150ms cubic-bezier(0.16, 1, 0.3, 1)}.cove-input__checkbox-check{position:absolute;top:0;right:0;bottom:0;left:0;margin:3px;fill:#fff;pointer-events:none;transform:translateY(-1px);transition:all 250ms cubic-bezier(0.16, 1, 0.3, 1);opacity:0}',""]),t.default=o},82609:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,c=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(l," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,c,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},78991:function(e){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},73463:function(e,t,n){"use strict";var r=n(48570),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return r.isMemo(e)?a:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var u=Object.defineProperty,s=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=s(n);p&&(a=a.concat(p(n)));for(var c=l(t),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||c&&c[g])){var b=d(n,g);try{u(t,g,b)}catch(e){}}}}return t}},50857:function(e,t,n){var r=n(37772).Symbol;e.exports=r},53366:function(e,t,n){var r=n(50857),o=n(62107),i=n(37157),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},51704:function(e,t,n){var r=n(52153),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},51242:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},62107:function(e,t,n){var r=n(50857),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}},37157:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},37772:function(e,t,n){var r=n(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},52153:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},54073:function(e,t,n){var r=n(29259),o=n(61100),i=n(7642),a=Math.max,c=Math.min;e.exports=function(e,t,n){var l,u,s,p,d,f,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=l,r=u;return l=u=void 0,h=t,p=e.apply(r,n)}function y(e){return h=e,d=setTimeout(_,t),m?b(e):p}function x(e){var n=e-f;return void 0===f||n>=t||n<0||v&&e-h>=s}function _(){var e=o();if(x(e))return w(e);d=setTimeout(_,function(e){var n=t-(e-f);return v?c(n,s-(e-h)):n}(e))}function w(e){return d=void 0,g&&l?b(e):(l=u=void 0,p)}function k(){var e=o(),n=x(e);if(l=arguments,u=this,f=e,n){if(void 0===d)return y(f);if(v)return clearTimeout(d),d=setTimeout(_,t),b(f)}return void 0===d&&(d=setTimeout(_,t)),p}return t=i(t)||0,r(n)&&(m=!!n.leading,s=(v="maxWait"in n)?a(i(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=f=u=d=void 0},k.flush=function(){return void 0===d?p:w(o())},k}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,n){var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},61100:function(e,t,n){var r=n(37772);e.exports=function(){return r.Date.now()}},7642:function(e,t,n){var r=n(51704),o=n(29259),i=n(4795),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},68262:function(e,t,n){"use strict";var r=n(23586);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},13980:function(e,t,n){e.exports=n(68262)()},23586:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},66866:function(e,t){"use strict";
|
|
2
|
+
/** @license React v16.13.1
|
|
3
|
+
* react-is.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,s=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case s:case p:case i:case c:case a:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case v:case m:case l:return e;default:return t}}case o:return t}}}function w(e){return _(e)===p}t.AsyncMode=s,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return w(e)||_(e)===s},t.isConcurrentMode=w,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===c},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===x||e.$$typeof===g)},t.typeOf=_},48570:function(e,t,n){"use strict";e.exports=n(66866)},98559:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,c=60109,l=60110,u=60112,s=60113,p=60120,d=60115,f=60116,h=60121,m=60122,v=60117,g=60129,b=60131;
|
|
10
|
+
/** @license React v17.0.2
|
|
11
|
+
* react-is.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;n=y("react.element"),r=y("react.portal"),o=y("react.fragment"),i=y("react.strict_mode"),a=y("react.profiler"),c=y("react.provider"),l=y("react.context"),u=y("react.forward_ref"),s=y("react.suspense"),p=y("react.suspense_list"),d=y("react.memo"),f=y("react.lazy"),h=y("react.block"),m=y("react.server.block"),v=y("react.fundamental"),g=y("react.debug_trace_mode"),b=y("react.legacy_hidden")}function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case s:case p:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case d:case c:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return x(e)===l}},63920:function(e,t,n){"use strict";e.exports=n(98559)},5567:function(e,t,n){var r=n(46062),o=n(63888);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},4874:function(e,t,n){var r=n(46062),o=n(60942);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},88291:function(e,t,n){var r=n(46062),o=n(44013);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},16892:function(e,t,n){var r=n(46062),o=n(18458);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},56319:function(e,t,n){var r=n(46062),o=n(73924);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},46062:function(e,t,n){"use strict";var r=function(){var e;return function(){return void 0===e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var c=e[o],l=t.base?c[0]+t.base:c[0],u=n[l]||0,s="".concat(l," ").concat(u);n[l]=u+1;var p=a(s),d={css:c[1],media:c[2],sourceMap:c[3]};-1!==p?(i[p].references++,i[p].updater(d)):i.push({identifier:s,updater:m(d,t),references:1}),r.push(s)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,s=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=s(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var f=null,h=0;function m(e,t){var n,r,o;if(t.singleton){var i=h++;n=f||(f=l(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=l(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);i[o].references--}for(var l=c(e,t),u=0;u<n.length;u++){var s=a(n[u]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=l}}}},64613:function(e,t){"use strict";t.Z="data:image/svg+xml,%3csvg viewBox='0 0 10 5' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0 5l5-5 5 5z' fill='white' fill-rule='nonzero'/%3e%3c/svg%3e"},99029:function(e,t){"use strict";t.Z="data:image/svg+xml,%3csvg viewBox='0 0 10 5' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0 0l5 5 5-5z' fill='white' fill-rule='nonzero'/%3e%3c/svg%3e"},65417:function(e,t){"use strict";t.Z="data:image/svg+xml,%3csvg viewBox='0 0 10 2' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 0H0v2h10V0H6z' fill-rule='nonzero'/%3e%3c/svg%3e"},26530:function(e,t){"use strict";t.Z="data:image/svg+xml,%3csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 0H4v4H0v2h4v4h2V6h4V4H6z' fill-rule='nonzero'/%3e%3c/svg%3e"},87757:function(e,t,n){e.exports=n(35666)},99599:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(45697),o=n.n(r),i=n(69297),a=n.n(i),c=n(94184),l=n.n(c);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function s(e){var t=e.top,n=void 0===t?0:t,r=e.left,o=void 0===r?0:r,i=e.transform,c=e.className,s=e.children,p=e.innerRef,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["top","left","transform","className","children","innerRef"]);return a().createElement("g",u({ref:p,className:l()("visx-group",c),transform:i||"translate("+o+", "+n+")"},d),s)}s.propTypes={top:o().number,left:o().number,transform:o().string,className:o().string,children:o().node,innerRef:o().oneOfType([o().string,o().func,o().object])}},58788:function(e,t,n){"use strict";n.r(t),n.d(t,{Group:function(){return r.Z}});var r=n(99599)},73391:function(e,t,n){"use strict";t.Z=function(e){var t=e.className,n=e.top,c=e.left,u=e.data,s=void 0===u?[]:u,p=e.centroid,d=e.innerRadius,f=void 0===d?0:d,h=e.outerRadius,m=e.cornerRadius,v=e.startAngle,g=e.endAngle,b=e.padAngle,y=e.padRadius,x=e.pieSort,_=e.pieSortValues,w=e.pieValue,k=e.children,E=e.fill,T=void 0===E?"":E,S=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["className","top","left","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","pieSort","pieSortValues","pieValue","children","fill"]),C=(0,a.arc)({innerRadius:f,outerRadius:h,cornerRadius:m,padRadius:y}),A=(0,a.pie)({startAngle:v,endAngle:g,padAngle:b,value:w,sort:x,sortValues:_}),O=A(s);return k?r.default.createElement(r.default.Fragment,null,k({arcs:O,path:C,pie:A})):r.default.createElement(i.Group,{className:"visx-pie-arcs-group",top:n,left:c},O.map((function(e,n){return r.default.createElement("g",{key:"pie-arc-"+n},r.default.createElement("path",l({className:(0,o.default)("visx-pie-arc",t),d:C(e)||"",fill:null==T||"string"==typeof T?T:T(e)},S)),null==p?void 0:p(C.centroid(e),e))})))};var r=c(n(69297)),o=c(n(94184)),i=n(58788),a=n(55882);function c(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}},55882:function(e,t,n){"use strict";t.__esModule=!0,t.arc=function(e){var t=void 0===e?{}:e,n=t.innerRadius,i=t.outerRadius,a=t.cornerRadius,c=t.startAngle,l=t.endAngle,u=t.padAngle,s=t.padRadius,p=(0,r.arc)();null!=n&&(0,o.default)(p.innerRadius,n);null!=i&&(0,o.default)(p.outerRadius,i);null!=a&&(0,o.default)(p.cornerRadius,a);null!=c&&(0,o.default)(p.startAngle,c);null!=l&&(0,o.default)(p.endAngle,l);null!=u&&(0,o.default)(p.padAngle,u);null!=s&&(0,o.default)(p.padRadius,s);return p},t.area=function(e){var t=void 0===e?{}:e,n=t.x,i=t.x0,a=t.x1,c=t.y,l=t.y0,u=t.y1,s=t.defined,p=t.curve,d=(0,r.area)();n&&(0,o.default)(d.x,n);i&&(0,o.default)(d.x0,i);a&&(0,o.default)(d.x1,a);c&&(0,o.default)(d.y,c);l&&(0,o.default)(d.y0,l);u&&(0,o.default)(d.y1,u);s&&d.defined(s);p&&d.curve(p);return d},t.line=function(e){var t=void 0===e?{}:e,n=t.x,i=t.y,a=t.defined,c=t.curve,l=(0,r.line)();n&&(0,o.default)(l.x,n);i&&(0,o.default)(l.y,i);a&&l.defined(a);c&&l.curve(c);return l},t.pie=function(e){var t=void 0===e?{}:e,n=t.startAngle,i=t.endAngle,a=t.padAngle,c=t.value,l=t.sort,u=t.sortValues,s=(0,r.pie)();(null===l||null!=l)&&s.sort(l);(null===u||null!=u)&&s.sortValues(u);null!=c&&s.value(c);null!=a&&(0,o.default)(s.padAngle,a);null!=n&&(0,o.default)(s.startAngle,n);null!=i&&(0,o.default)(s.endAngle,i);return s},t.radialLine=function(e){var t=void 0===e?{}:e,n=t.angle,i=t.radius,a=t.defined,c=t.curve,l=(0,r.radialLine)();n&&(0,o.default)(l.angle,n);i&&(0,o.default)(l.radius,i);a&&l.defined(a);c&&l.curve(c);return l},t.stack=function(e){var t=e.keys,n=e.value,c=e.order,l=e.offset,u=(0,r.stack)();t&&u.keys(t);n&&(0,o.default)(u.value,n);c&&u.order((0,i.default)(c));l&&u.offset((0,a.default)(l));return u};var r=n(7152),o=c(n(57181)),i=c(n(22532)),a=c(n(39168));function c(e){return e&&e.__esModule?e:{default:e}}},57181:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){e(t)}},39168:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e&&o[e]||o.none},t.STACK_OFFSET_NAMES=t.STACK_OFFSETS=void 0;var r=n(7152),o={expand:r.stackOffsetExpand,diverging:r.stackOffsetDiverging,none:r.stackOffsetNone,silhouette:r.stackOffsetSilhouette,wiggle:r.stackOffsetWiggle};t.STACK_OFFSETS=o;var i=Object.keys(o);t.STACK_OFFSET_NAMES=i},22532:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e&&o[e]||o.none},t.STACK_ORDER_NAMES=t.STACK_ORDERS=void 0;var r=n(7152),o={ascending:r.stackOrderAscending,descending:r.stackOrderDescending,insideout:r.stackOrderInsideOut,none:r.stackOrderNone,reverse:r.stackOrderReverse};t.STACK_ORDERS=o;var i=Object.keys(o);t.STACK_ORDER_NAMES=i},5623:function(e){function t(e,t,o){e instanceof RegExp&&(e=n(e,o)),t instanceof RegExp&&(t=n(t,o));var i=r(e,t,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+e.length,i[1]),post:o.slice(i[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,o,i,a,c,l=n.indexOf(e),u=n.indexOf(t,l+1),s=l;if(l>=0&&u>0){for(r=[],i=n.length;s>=0&&!c;)s==l?(r.push(s),l=n.indexOf(e,s+1)):1==r.length?c=[r.pop(),u]:((o=r.pop())<i&&(i=o,a=u),u=n.indexOf(t,s+1)),s=l<u&&l>=0?l:u;r.length&&(c=[i,a])}return c}e.exports=t,t.range=r},65792:function(e){
|
|
18
|
+
/**
|
|
19
|
+
* chroma.js - JavaScript library for color conversions
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) 2011-2019, Gregor Aisch
|
|
22
|
+
* All rights reserved.
|
|
23
|
+
*
|
|
24
|
+
* Redistribution and use in source and binary forms, with or without
|
|
25
|
+
* modification, are permitted provided that the following conditions are met:
|
|
26
|
+
*
|
|
27
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
28
|
+
* list of conditions and the following disclaimer.
|
|
29
|
+
*
|
|
30
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
31
|
+
* this list of conditions and the following disclaimer in the documentation
|
|
32
|
+
* and/or other materials provided with the distribution.
|
|
33
|
+
*
|
|
34
|
+
* 3. The name Gregor Aisch may not be used to endorse or promote products
|
|
35
|
+
* derived from this software without specific prior written permission.
|
|
36
|
+
*
|
|
37
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
38
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
39
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
40
|
+
* DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
|
41
|
+
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
42
|
+
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
43
|
+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
|
44
|
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
45
|
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
|
46
|
+
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
47
|
+
*
|
|
48
|
+
* -------------------------------------------------------
|
|
49
|
+
*
|
|
50
|
+
* chroma.js includes colors from colorbrewer2.org, which are released under
|
|
51
|
+
* the following license:
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) 2002 Cynthia Brewer, Mark Harrower,
|
|
54
|
+
* and The Pennsylvania State University.
|
|
55
|
+
*
|
|
56
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
57
|
+
* you may not use this file except in compliance with the License.
|
|
58
|
+
* You may obtain a copy of the License at
|
|
59
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
60
|
+
*
|
|
61
|
+
* Unless required by applicable law or agreed to in writing,
|
|
62
|
+
* software distributed under the License is distributed on an
|
|
63
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
|
64
|
+
* either express or implied. See the License for the specific
|
|
65
|
+
* language governing permissions and limitations under the License.
|
|
66
|
+
*
|
|
67
|
+
* ------------------------------------------------------
|
|
68
|
+
*
|
|
69
|
+
* Named colors are taken from X11 Color Names.
|
|
70
|
+
* http://www.w3.org/TR/css3-color/#svg-color
|
|
71
|
+
*
|
|
72
|
+
* @preserve
|
|
73
|
+
*/
|
|
74
|
+
e.exports=function(){"use strict";for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t=e,n=function(e){e._clipped=!1,e._unclipped=e.slice(0);for(var n=0;n<=3;n++)n<3?((e[n]<0||e[n]>255)&&(e._clipped=!0),e[n]=t(e[n],0,255)):3===n&&(e[n]=t(e[n],0,1));return e},r={},o=0,i=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];o<i.length;o+=1){var a=i[o];r["[object "+a+"]"]=a.toLowerCase()}var c=function(e){return r[Object.prototype.toString.call(e)]||"object"},l=c,u=function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==l(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},s=c,p=function(e){if(e.length<2)return null;var t=e.length-1;return"string"==s(e[t])?e[t].toLowerCase():null},d=Math.PI,f={clip_rgb:n,limit:e,type:c,unpack:u,last:p,PI:d,TWOPI:2*d,PITHIRD:d/3,DEG2RAD:d/180,RAD2DEG:180/d},h={format:{},autodetect:[]},m=f.last,v=f.clip_rgb,g=f.type,b=h,y=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===g(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=m(e),o=!1;if(!r){o=!0,b.sorted||(b.autodetect=b.autodetect.sort((function(e,t){return t.p-e.p})),b.sorted=!0);for(var i=0,a=b.autodetect;i<a.length;i+=1){var c=a[i];if(r=c.test.apply(c,e))break}}if(!b.format[r])throw new Error("unknown format: "+e);var l=b.format[r].apply(null,o?e:e.slice(0,-1));n._rgb=v(l),3===n._rgb.length&&n._rgb.push(1)};y.prototype.toString=function(){return"function"==g(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var x=y,_=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(_.Color,[null].concat(e)))};_.Color=x,_.version="2.4.2";var w=_,k=f.unpack,E=Math.max,T=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=k(e,"rgb"),r=n[0],o=n[1],i=n[2],a=1-E(r/=255,E(o/=255,i/=255)),c=a<1?1/(1-a):0;return[(1-r-a)*c,(1-o-a)*c,(1-i-a)*c,a]},S=T,C=f.unpack,A=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=C(e,"cmyk"))[0],r=e[1],o=e[2],i=e[3],a=e.length>4?e[4]:1;return 1===i?[0,0,0,a]:[n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),o>=1?0:255*(1-o)*(1-i),a]},O=A,R=w,z=x,P=h,M=f.unpack,I=f.type,N=S;z.prototype.cmyk=function(){return N(this._rgb)},R.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(z,[null].concat(e,["cmyk"])))},P.format.cmyk=O,P.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=M(e,"cmyk"),"array"===I(e)&&4===e.length)return"cmyk"}});var D=f.unpack,L=f.last,B=function(e){return Math.round(100*e)/100},j=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=D(e,"hsla"),r=L(e)||"lsa";return n[0]=B(n[0]||0),n[1]=B(100*n[1])+"%",n[2]=B(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},F=j,H=f.unpack,U=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=H(e,"rgba"))[0],r=e[1],o=e[2];n/=255,r/=255,o/=255;var i,a,c=Math.min(n,r,o),l=Math.max(n,r,o),u=(l+c)/2;return l===c?(i=0,a=Number.NaN):i=u<.5?(l-c)/(l+c):(l-c)/(2-l-c),n==l?a=(r-o)/(l-c):r==l?a=2+(o-n)/(l-c):o==l&&(a=4+(n-r)/(l-c)),(a*=60)<0&&(a+=360),e.length>3&&void 0!==e[3]?[a,i,u,e[3]]:[a,i,u]},G=U,W=f.unpack,q=f.last,V=F,K=G,Z=Math.round,Y=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=W(e,"rgba"),r=q(e)||"rgb";return"hsl"==r.substr(0,3)?V(K(n),r):(n[0]=Z(n[0]),n[1]=Z(n[1]),n[2]=Z(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},$=Y,X=f.unpack,J=Math.round,Q=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r,o,i,a=(t=X(t,"hsl"))[0],c=t[1],l=t[2];if(0===c)r=o=i=255*l;else{var u=[0,0,0],s=[0,0,0],p=l<.5?l*(1+c):l+c-l*c,d=2*l-p,f=a/360;u[0]=f+1/3,u[1]=f,u[2]=f-1/3;for(var h=0;h<3;h++)u[h]<0&&(u[h]+=1),u[h]>1&&(u[h]-=1),6*u[h]<1?s[h]=d+6*(p-d)*u[h]:2*u[h]<1?s[h]=p:3*u[h]<2?s[h]=d+(p-d)*(2/3-u[h])*6:s[h]=d;r=(e=[J(255*s[0]),J(255*s[1]),J(255*s[2])])[0],o=e[1],i=e[2]}return t.length>3?[r,o,i,t[3]]:[r,o,i,1]},ee=Q,te=ee,ne=h,re=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,oe=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,ie=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,ae=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ce=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,le=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ue=Math.round,se=function(e){var t;if(e=e.toLowerCase().trim(),ne.format.named)try{return ne.format.named(e)}catch(e){}if(t=e.match(re)){for(var n=t.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(t=e.match(oe)){for(var o=t.slice(1,5),i=0;i<4;i++)o[i]=+o[i];return o}if(t=e.match(ie)){for(var a=t.slice(1,4),c=0;c<3;c++)a[c]=ue(2.55*a[c]);return a[3]=1,a}if(t=e.match(ae)){for(var l=t.slice(1,5),u=0;u<3;u++)l[u]=ue(2.55*l[u]);return l[3]=+l[3],l}if(t=e.match(ce)){var s=t.slice(1,4);s[1]*=.01,s[2]*=.01;var p=te(s);return p[3]=1,p}if(t=e.match(le)){var d=t.slice(1,4);d[1]*=.01,d[2]*=.01;var f=te(d);return f[3]=+t[4],f}};se.test=function(e){return re.test(e)||oe.test(e)||ie.test(e)||ae.test(e)||ce.test(e)||le.test(e)};var pe=se,de=w,fe=x,he=h,me=f.type,ve=$,ge=pe;fe.prototype.css=function(e){return ve(this._rgb,e)},de.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(fe,[null].concat(e,["css"])))},he.format.css=ge,he.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===me(e)&&ge.test(e))return"css"}});var be=x,ye=w,xe=h,_e=f.unpack;xe.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=_e(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},ye.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(be,[null].concat(e,["gl"])))},be.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var we=f.unpack,ke=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=we(e,"rgb"),o=r[0],i=r[1],a=r[2],c=Math.min(o,i,a),l=Math.max(o,i,a),u=l-c,s=100*u/255,p=c/(255-u)*100;return 0===u?n=Number.NaN:(o===l&&(n=(i-a)/u),i===l&&(n=2+(a-o)/u),a===l&&(n=4+(o-i)/u),(n*=60)<0&&(n+=360)),[n,s,p]},Ee=ke,Te=f.unpack,Se=Math.floor,Ce=function(){for(var e,t,n,r,o,i,a=[],c=arguments.length;c--;)a[c]=arguments[c];var l,u,s,p=(a=Te(a,"hcg"))[0],d=a[1],f=a[2];f*=255;var h=255*d;if(0===d)l=u=s=f;else{360===p&&(p=0),p>360&&(p-=360),p<0&&(p+=360);var m=Se(p/=60),v=p-m,g=f*(1-d),b=g+h*(1-v),y=g+h*v,x=g+h;switch(m){case 0:l=(e=[x,y,g])[0],u=e[1],s=e[2];break;case 1:l=(t=[b,x,g])[0],u=t[1],s=t[2];break;case 2:l=(n=[g,x,y])[0],u=n[1],s=n[2];break;case 3:l=(r=[g,b,x])[0],u=r[1],s=r[2];break;case 4:l=(o=[y,g,x])[0],u=o[1],s=o[2];break;case 5:l=(i=[x,g,b])[0],u=i[1],s=i[2]}}return[l,u,s,a.length>3?a[3]:1]},Ae=Ce,Oe=f.unpack,Re=f.type,ze=w,Pe=x,Me=h,Ie=Ee;Pe.prototype.hcg=function(){return Ie(this._rgb)},ze.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Pe,[null].concat(e,["hcg"])))},Me.format.hcg=Ae,Me.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Oe(e,"hcg"),"array"===Re(e)&&3===e.length)return"hcg"}});var Ne=f.unpack,De=f.last,Le=Math.round,Be=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ne(e,"rgba"),r=n[0],o=n[1],i=n[2],a=n[3],c=De(e)||"auto";void 0===a&&(a=1),"auto"===c&&(c=a<1?"rgba":"rgb");var l="000000"+((r=Le(r))<<16|(o=Le(o))<<8|(i=Le(i))).toString(16);l=l.substr(l.length-6);var u="0"+Le(255*a).toString(16);switch(u=u.substr(u.length-2),c.toLowerCase()){case"rgba":return"#"+l+u;case"argb":return"#"+u+l;default:return"#"+l}},je=Be,Fe=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,He=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Ue=function(e){if(e.match(Fe)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(He)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},Ge=w,We=x,qe=f.type,Ve=h,Ke=je;We.prototype.hex=function(e){return Ke(this._rgb,e)},Ge.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(We,[null].concat(e,["hex"])))},Ve.format.hex=Ue,Ve.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===qe(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var Ze=f.unpack,Ye=f.TWOPI,$e=Math.min,Xe=Math.sqrt,Je=Math.acos,Qe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=Ze(e,"rgb"),o=r[0],i=r[1],a=r[2],c=$e(o/=255,i/=255,a/=255),l=(o+i+a)/3,u=l>0?1-c/l:0;return 0===u?n=NaN:(n=(o-i+(o-a))/2,n/=Xe((o-i)*(o-i)+(o-a)*(i-a)),n=Je(n),a>i&&(n=Ye-n),n/=Ye),[360*n,u,l]},et=Qe,tt=f.unpack,nt=f.limit,rt=f.TWOPI,ot=f.PITHIRD,it=Math.cos,at=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=tt(e,"hsi"))[0],a=e[1],c=e[2];return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?r=1-((o=(1-a)/3)+(n=(1+a*it(rt*i)/it(ot-rt*i))/3)):i<2/3?o=1-((n=(1-a)/3)+(r=(1+a*it(rt*(i-=1/3))/it(ot-rt*i))/3)):n=1-((r=(1-a)/3)+(o=(1+a*it(rt*(i-=2/3))/it(ot-rt*i))/3)),[255*(n=nt(c*n*3)),255*(r=nt(c*r*3)),255*(o=nt(c*o*3)),e.length>3?e[3]:1]},ct=at,lt=f.unpack,ut=f.type,st=w,pt=x,dt=h,ft=et;pt.prototype.hsi=function(){return ft(this._rgb)},st.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(pt,[null].concat(e,["hsi"])))},dt.format.hsi=ct,dt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=lt(e,"hsi"),"array"===ut(e)&&3===e.length)return"hsi"}});var ht=f.unpack,mt=f.type,vt=w,gt=x,bt=h,yt=G;gt.prototype.hsl=function(){return yt(this._rgb)},vt.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(gt,[null].concat(e,["hsl"])))},bt.format.hsl=ee,bt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ht(e,"hsl"),"array"===mt(e)&&3===e.length)return"hsl"}});var xt=f.unpack,_t=Math.min,wt=Math.max,kt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=xt(e,"rgb"))[0],a=e[1],c=e[2],l=_t(i,a,c),u=wt(i,a,c),s=u-l;return o=u/255,0===u?(n=Number.NaN,r=0):(r=s/u,i===u&&(n=(a-c)/s),a===u&&(n=2+(c-i)/s),c===u&&(n=4+(i-a)/s),(n*=60)<0&&(n+=360)),[n,r,o]},Et=kt,Tt=f.unpack,St=Math.floor,Ct=function(){for(var e,t,n,r,o,i,a=[],c=arguments.length;c--;)a[c]=arguments[c];var l,u,s,p=(a=Tt(a,"hsv"))[0],d=a[1],f=a[2];if(f*=255,0===d)l=u=s=f;else{360===p&&(p=0),p>360&&(p-=360),p<0&&(p+=360);var h=St(p/=60),m=p-h,v=f*(1-d),g=f*(1-d*m),b=f*(1-d*(1-m));switch(h){case 0:l=(e=[f,b,v])[0],u=e[1],s=e[2];break;case 1:l=(t=[g,f,v])[0],u=t[1],s=t[2];break;case 2:l=(n=[v,f,b])[0],u=n[1],s=n[2];break;case 3:l=(r=[v,g,f])[0],u=r[1],s=r[2];break;case 4:l=(o=[b,v,f])[0],u=o[1],s=o[2];break;case 5:l=(i=[f,v,g])[0],u=i[1],s=i[2]}}return[l,u,s,a.length>3?a[3]:1]},At=Ct,Ot=f.unpack,Rt=f.type,zt=w,Pt=x,Mt=h,It=Et;Pt.prototype.hsv=function(){return It(this._rgb)},zt.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Pt,[null].concat(e,["hsv"])))},Mt.format.hsv=At,Mt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ot(e,"hsv"),"array"===Rt(e)&&3===e.length)return"hsv"}});var Nt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},Dt=Nt,Lt=f.unpack,Bt=Math.pow,jt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Lt(e,"rgb"),r=n[0],o=n[1],i=n[2],a=Ut(r,o,i),c=a[0],l=a[1],u=116*l-16;return[u<0?0:u,500*(c-l),200*(l-a[2])]},Ft=function(e){return(e/=255)<=.04045?e/12.92:Bt((e+.055)/1.055,2.4)},Ht=function(e){return e>Dt.t3?Bt(e,1/3):e/Dt.t2+Dt.t0},Ut=function(e,t,n){return e=Ft(e),t=Ft(t),n=Ft(n),[Ht((.4124564*e+.3575761*t+.1804375*n)/Dt.Xn),Ht((.2126729*e+.7151522*t+.072175*n)/Dt.Yn),Ht((.0193339*e+.119192*t+.9503041*n)/Dt.Zn)]},Gt=jt,Wt=Nt,qt=f.unpack,Vt=Math.pow,Kt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=qt(e,"lab"))[0],a=e[1],c=e[2];return r=(i+16)/116,n=isNaN(a)?r:r+a/500,o=isNaN(c)?r:r-c/200,r=Wt.Yn*Yt(r),n=Wt.Xn*Yt(n),o=Wt.Zn*Yt(o),[Zt(3.2404542*n-1.5371385*r-.4985314*o),Zt(-.969266*n+1.8760108*r+.041556*o),Zt(.0556434*n-.2040259*r+1.0572252*o),e.length>3?e[3]:1]},Zt=function(e){return 255*(e<=.00304?12.92*e:1.055*Vt(e,1/2.4)-.055)},Yt=function(e){return e>Wt.t1?e*e*e:Wt.t2*(e-Wt.t0)},$t=Kt,Xt=f.unpack,Jt=f.type,Qt=w,en=x,tn=h,nn=Gt;en.prototype.lab=function(){return nn(this._rgb)},Qt.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(en,[null].concat(e,["lab"])))},tn.format.lab=$t,tn.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Xt(e,"lab"),"array"===Jt(e)&&3===e.length)return"lab"}});var rn=f.unpack,on=f.RAD2DEG,an=Math.sqrt,cn=Math.atan2,ln=Math.round,un=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=rn(e,"lab"),r=n[0],o=n[1],i=n[2],a=an(o*o+i*i),c=(cn(i,o)*on+360)%360;return 0===ln(1e4*a)&&(c=Number.NaN),[r,a,c]},sn=un,pn=f.unpack,dn=Gt,fn=sn,hn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=pn(e,"rgb"),r=n[0],o=n[1],i=n[2],a=dn(r,o,i),c=a[0],l=a[1],u=a[2];return fn(c,l,u)},mn=hn,vn=f.unpack,gn=f.DEG2RAD,bn=Math.sin,yn=Math.cos,xn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=vn(e,"lch"),r=n[0],o=n[1],i=n[2];return isNaN(i)&&(i=0),[r,yn(i*=gn)*o,bn(i)*o]},_n=xn,wn=f.unpack,kn=_n,En=$t,Tn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=wn(e,"lch"))[0],r=e[1],o=e[2],i=kn(n,r,o),a=i[0],c=i[1],l=i[2],u=En(a,c,l);return[u[0],u[1],u[2],e.length>3?e[3]:1]},Sn=Tn,Cn=f.unpack,An=Sn,On=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Cn(e,"hcl").reverse();return An.apply(void 0,n)},Rn=On,zn=f.unpack,Pn=f.type,Mn=w,In=x,Nn=h,Dn=mn;In.prototype.lch=function(){return Dn(this._rgb)},In.prototype.hcl=function(){return Dn(this._rgb).reverse()},Mn.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(In,[null].concat(e,["lch"])))},Mn.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(In,[null].concat(e,["hcl"])))},Nn.format.lch=Sn,Nn.format.hcl=Rn,["lch","hcl"].forEach((function(e){return Nn.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=zn(t,e),"array"===Pn(t)&&3===t.length)return e}})}));var Ln={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Bn=x,jn=h,Fn=f.type,Hn=Ln,Un=Ue,Gn=je;Bn.prototype.name=function(){for(var e=Gn(this._rgb,"rgb"),t=0,n=Object.keys(Hn);t<n.length;t+=1){var r=n[t];if(Hn[r]===e)return r.toLowerCase()}return e},jn.format.named=function(e){if(e=e.toLowerCase(),Hn[e])return Un(Hn[e]);throw new Error("unknown color name: "+e)},jn.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===Fn(e)&&Hn[e.toLowerCase()])return"named"}});var Wn=f.unpack,qn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Wn(e,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},Vn=qn,Kn=f.type,Zn=function(e){if("number"==Kn(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},Yn=Zn,$n=w,Xn=x,Jn=h,Qn=f.type,er=Vn;Xn.prototype.num=function(){return er(this._rgb)},$n.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Xn,[null].concat(e,["num"])))},Jn.format.num=Yn,Jn.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===Qn(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var tr=w,nr=x,rr=h,or=f.unpack,ir=f.type,ar=Math.round;nr.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ar)},nr.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:ar(t):t}))},tr.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(nr,[null].concat(e,["rgb"])))},rr.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=or(e,"rgba");return void 0===n[3]&&(n[3]=1),n},rr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=or(e,"rgba"),"array"===ir(e)&&(3===e.length||4===e.length&&"number"==ir(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var cr=Math.log,lr=function(e){var t,n,r,o=e/100;return o<66?(t=255,n=o<6?0:-155.25485562709179-.44596950469579133*(n=o-2)+104.49216199393888*cr(n),r=o<20?0:.8274096064007395*(r=o-10)-254.76935184120902+115.67994401066147*cr(r)):(t=351.97690566805693+.114206453784165*(t=o-55)-40.25366309332127*cr(t),n=325.4494125711974+.07943456536662342*(n=o-50)-28.0852963507957*cr(n),r=255),[t,n,r,1]},ur=lr,sr=f.unpack,pr=Math.round,dr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,r=sr(e,"rgb"),o=r[0],i=r[2],a=1e3,c=4e4,l=.4;c-a>l;){var u=ur(n=.5*(c+a));u[2]/u[0]>=i/o?c=n:a=n}return pr(n)},fr=w,hr=x,mr=h,vr=dr;hr.prototype.temp=hr.prototype.kelvin=hr.prototype.temperature=function(){return vr(this._rgb)},fr.temp=fr.kelvin=fr.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(hr,[null].concat(e,["temp"])))},mr.format.temp=mr.format.kelvin=mr.format.temperature=lr;var gr=f.unpack,br=Math.cbrt,yr=Math.pow,xr=Math.sign,_r=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=gr(e,"rgb"),r=n[0],o=n[1],i=n[2],a=[kr(r/255),kr(o/255),kr(i/255)],c=a[0],l=a[1],u=a[2],s=br(.4122214708*c+.5363325363*l+.0514459929*u),p=br(.2119034982*c+.6806995451*l+.1073969566*u),d=br(.0883024619*c+.2817188376*l+.6299787005*u);return[.2104542553*s+.793617785*p-.0040720468*d,1.9779984951*s-2.428592205*p+.4505937099*d,.0259040371*s+.7827717662*p-.808675766*d]},wr=_r;function kr(e){var t=Math.abs(e);return t<.04045?e/12.92:(xr(e)||1)*yr((t+.055)/1.055,2.4)}var Er=f.unpack,Tr=Math.pow,Sr=Math.sign,Cr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=Er(e,"lab"))[0],r=e[1],o=e[2],i=Tr(n+.3963377774*r+.2158037573*o,3),a=Tr(n-.1055613458*r-.0638541728*o,3),c=Tr(n-.0894841775*r-1.291485548*o,3);return[255*Or(4.0767416621*i-3.3077115913*a+.2309699292*c),255*Or(-1.2684380046*i+2.6097574011*a-.3413193965*c),255*Or(-.0041960863*i-.7034186147*a+1.707614701*c),e.length>3?e[3]:1]},Ar=Cr;function Or(e){var t=Math.abs(e);return t>.0031308?(Sr(e)||1)*(1.055*Tr(t,1/2.4)-.055):12.92*e}var Rr=f.unpack,zr=f.type,Pr=w,Mr=x,Ir=h,Nr=wr;Mr.prototype.oklab=function(){return Nr(this._rgb)},Pr.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Mr,[null].concat(e,["oklab"])))},Ir.format.oklab=Ar,Ir.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Rr(e,"oklab"),"array"===zr(e)&&3===e.length)return"oklab"}});var Dr=f.unpack,Lr=wr,Br=sn,jr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Dr(e,"rgb"),r=n[0],o=n[1],i=n[2],a=Lr(r,o,i),c=a[0],l=a[1],u=a[2];return Br(c,l,u)},Fr=jr,Hr=f.unpack,Ur=_n,Gr=Ar,Wr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=Hr(e,"lch"))[0],r=e[1],o=e[2],i=Ur(n,r,o),a=i[0],c=i[1],l=i[2],u=Gr(a,c,l);return[u[0],u[1],u[2],e.length>3?e[3]:1]},qr=Wr,Vr=f.unpack,Kr=f.type,Zr=w,Yr=x,$r=h,Xr=Fr;Yr.prototype.oklch=function(){return Xr(this._rgb)},Zr.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Yr,[null].concat(e,["oklch"])))},$r.format.oklch=qr,$r.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Vr(e,"oklch"),"array"===Kr(e)&&3===e.length)return"oklch"}});var Jr=x,Qr=f.type;Jr.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Qr(e)?t?(this._rgb[3]=e,this):new Jr([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},x.prototype.clipped=function(){return this._rgb._clipped||!1};var eo=x,to=Nt;eo.prototype.darken=function(e){void 0===e&&(e=1);var t=this,n=t.lab();return n[0]-=to.Kn*e,new eo(n,"lab").alpha(t.alpha(),!0)},eo.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},eo.prototype.darker=eo.prototype.darken,eo.prototype.brighter=eo.prototype.brighten,x.prototype.get=function(e){var t=e.split("."),n=t[0],r=t[1],o=this[n]();if(r){var i=n.indexOf(r)-("ok"===n.substr(0,2)?2:0);if(i>-1)return o[i];throw new Error("unknown channel "+r+" in mode "+n)}return o};var no=x,ro=f.type,oo=Math.pow,io=1e-7,ao=20;no.prototype.luminance=function(e){if(void 0!==e&&"number"===ro(e)){if(0===e)return new no([0,0,0,this._rgb[3]],"rgb");if(1===e)return new no([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n="rgb",r=ao,o=function(t,i){var a=t.interpolate(i,.5,n),c=a.luminance();return Math.abs(e-c)<io||!r--?a:c>e?o(t,a):o(a,i)},i=(t>e?o(new no([0,0,0]),this):o(this,new no([255,255,255]))).rgb();return new no(i.concat([this._rgb[3]]))}return co.apply(void 0,this._rgb.slice(0,3))};var co=function(e,t,n){return.2126*(e=lo(e))+.7152*(t=lo(t))+.0722*(n=lo(n))},lo=function(e){return(e/=255)<=.03928?e/12.92:oo((e+.055)/1.055,2.4)},uo={},so=x,po=f.type,fo=uo,ho=function(e,t,n){void 0===n&&(n=.5);for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=r[0]||"lrgb";if(fo[i]||r.length||(i=Object.keys(fo)[0]),!fo[i])throw new Error("interpolation mode "+i+" is not defined");return"object"!==po(e)&&(e=new so(e)),"object"!==po(t)&&(t=new so(t)),fo[i](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))},mo=x,vo=ho;mo.prototype.mix=mo.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return vo.apply(void 0,[this,e,t].concat(n))};var go=x;go.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new go([t[0]*n,t[1]*n,t[2]*n,n],"rgb")};var bo=x,yo=Nt;bo.prototype.saturate=function(e){void 0===e&&(e=1);var t=this,n=t.lch();return n[1]+=yo.Kn*e,n[1]<0&&(n[1]=0),new bo(n,"lch").alpha(t.alpha(),!0)},bo.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var xo=x,_o=f.type;xo.prototype.set=function(e,t,n){void 0===n&&(n=!1);var r=e.split("."),o=r[0],i=r[1],a=this[o]();if(i){var c=o.indexOf(i)-("ok"===o.substr(0,2)?2:0);if(c>-1){if("string"==_o(t))switch(t.charAt(0)){case"+":case"-":a[c]+=+t;break;case"*":a[c]*=+t.substr(1);break;case"/":a[c]/=+t.substr(1);break;default:a[c]=+t}else{if("number"!==_o(t))throw new Error("unsupported value for Color.set");a[c]=t}var l=new xo(a,o);return n?(this._rgb=l._rgb,this):l}throw new Error("unknown channel "+i+" in mode "+o)}return a};var wo=x,ko=function(e,t,n){var r=e._rgb,o=t._rgb;return new wo(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"rgb")};uo.rgb=ko;var Eo=x,To=Math.sqrt,So=Math.pow,Co=function(e,t,n){var r=e._rgb,o=r[0],i=r[1],a=r[2],c=t._rgb,l=c[0],u=c[1],s=c[2];return new Eo(To(So(o,2)*(1-n)+So(l,2)*n),To(So(i,2)*(1-n)+So(u,2)*n),To(So(a,2)*(1-n)+So(s,2)*n),"rgb")};uo.lrgb=Co;var Ao=x,Oo=function(e,t,n){var r=e.lab(),o=t.lab();return new Ao(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"lab")};uo.lab=Oo;var Ro=x,zo=function(e,t,n,r){var o,i,a,c,l,u,s,p,d,f,h,m,v;return"hsl"===r?(a=e.hsl(),c=t.hsl()):"hsv"===r?(a=e.hsv(),c=t.hsv()):"hcg"===r?(a=e.hcg(),c=t.hcg()):"hsi"===r?(a=e.hsi(),c=t.hsi()):"lch"===r||"hcl"===r?(r="hcl",a=e.hcl(),c=t.hcl()):"oklch"===r&&(a=e.oklch().reverse(),c=t.oklch().reverse()),"h"!==r.substr(0,1)&&"oklch"!==r||(l=(o=a)[0],s=o[1],d=o[2],u=(i=c)[0],p=i[1],f=i[2]),isNaN(l)||isNaN(u)?isNaN(l)?isNaN(u)?m=Number.NaN:(m=u,1!=d&&0!=d||"hsv"==r||(h=p)):(m=l,1!=f&&0!=f||"hsv"==r||(h=s)):m=l+n*(u>l&&u-l>180?u-(l+360):u<l&&l-u>180?u+360-l:u-l),void 0===h&&(h=s+n*(p-s)),v=d+n*(f-d),new Ro("oklch"===r?[v,h,m]:[m,h,v],r)},Po=zo,Mo=function(e,t,n){return Po(e,t,n,"lch")};uo.lch=Mo,uo.hcl=Mo;var Io=x,No=function(e,t,n){var r=e.num(),o=t.num();return new Io(r+n*(o-r),"num")};uo.num=No;var Do=zo,Lo=function(e,t,n){return Do(e,t,n,"hcg")};uo.hcg=Lo;var Bo=zo,jo=function(e,t,n){return Bo(e,t,n,"hsi")};uo.hsi=jo;var Fo=zo,Ho=function(e,t,n){return Fo(e,t,n,"hsl")};uo.hsl=Ho;var Uo=zo,Go=function(e,t,n){return Uo(e,t,n,"hsv")};uo.hsv=Go;var Wo=x,qo=function(e,t,n){var r=e.oklab(),o=t.oklab();return new Wo(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"oklab")};uo.oklab=qo;var Vo=zo,Ko=function(e,t,n){return Vo(e,t,n,"oklch")};uo.oklch=Ko;var Zo=x,Yo=f.clip_rgb,$o=Math.pow,Xo=Math.sqrt,Jo=Math.PI,Qo=Math.cos,ei=Math.sin,ti=Math.atan2,ni=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var r=e.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var o=r/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=o})),e=e.map((function(e){return new Zo(e)})),"lrgb"===t)return ri(e,n);for(var i=e.shift(),a=i.get(t),c=[],l=0,u=0,s=0;s<a.length;s++)if(a[s]=(a[s]||0)*n[0],c.push(isNaN(a[s])?0:n[0]),"h"===t.charAt(s)&&!isNaN(a[s])){var p=a[s]/180*Jo;l+=Qo(p)*n[0],u+=ei(p)*n[0]}var d=i.alpha()*n[0];e.forEach((function(e,r){var o=e.get(t);d+=e.alpha()*n[r+1];for(var i=0;i<a.length;i++)if(!isNaN(o[i]))if(c[i]+=n[r+1],"h"===t.charAt(i)){var s=o[i]/180*Jo;l+=Qo(s)*n[r+1],u+=ei(s)*n[r+1]}else a[i]+=o[i]*n[r+1]}));for(var f=0;f<a.length;f++)if("h"===t.charAt(f)){for(var h=ti(u/c[f],l/c[f])/Jo*180;h<0;)h+=360;for(;h>=360;)h-=360;a[f]=h}else a[f]=a[f]/c[f];return d/=r,new Zo(a,t).alpha(d>.99999?1:d,!0)},ri=function(e,t){for(var n=e.length,r=[0,0,0,0],o=0;o<e.length;o++){var i=e[o],a=t[o]/n,c=i._rgb;r[0]+=$o(c[0],2)*a,r[1]+=$o(c[1],2)*a,r[2]+=$o(c[2],2)*a,r[3]+=c[3]*a}return r[0]=Xo(r[0]),r[1]=Xo(r[1]),r[2]=Xo(r[2]),r[3]>.9999999&&(r[3]=1),new Zo(Yo(r))},oi=w,ii=f.type,ai=Math.pow,ci=function(e){var t="rgb",n=oi("#ccc"),r=0,o=[0,1],i=[],a=[0,0],c=!1,l=[],u=!1,s=0,p=1,d=!1,f={},h=!0,m=1,v=function(e){if((e=e||["#fff","#000"])&&"string"===ii(e)&&oi.brewer&&oi.brewer[e.toLowerCase()]&&(e=oi.brewer[e.toLowerCase()]),"array"===ii(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=oi(e[t]);i.length=0;for(var n=0;n<e.length;n++)i.push(n/(e.length-1))}return _(),l=e},g=function(e){if(null!=c){for(var t=c.length-1,n=0;n<t&&e>=c[n];)n++;return n-1}return 0},b=function(e){return e},y=function(e){return e},x=function(e,r){var o,u;if(null==r&&(r=!1),isNaN(e)||null===e)return n;u=r?e:c&&c.length>2?g(e)/(c.length-2):p!==s?(e-s)/(p-s):1,u=y(u),r||(u=b(u)),1!==m&&(u=ai(u,m)),u=a[0]+u*(1-a[0]-a[1]),u=Math.min(1,Math.max(0,u));var d=Math.floor(1e4*u);if(h&&f[d])o=f[d];else{if("array"===ii(l))for(var v=0;v<i.length;v++){var x=i[v];if(u<=x){o=l[v];break}if(u>=x&&v===i.length-1){o=l[v];break}if(u>x&&u<i[v+1]){u=(u-x)/(i[v+1]-x),o=oi.interpolate(l[v],l[v+1],u,t);break}}else"function"===ii(l)&&(o=l(u));h&&(f[d]=o)}return o},_=function(){return f={}};v(e);var w=function(e){var t=oi(x(e));return u&&t[u]?t[u]():t};return w.classes=function(e){if(null!=e){if("array"===ii(e))c=e,o=[e[0],e[e.length-1]];else{var t=oi.analyze(o);c=0===e?[t.min,t.max]:oi.limits(t,"e",e)}return w}return c},w.domain=function(e){if(!arguments.length)return o;s=e[0],p=e[e.length-1],i=[];var t=l.length;if(e.length===t&&s!==p)for(var n=0,r=Array.from(e);n<r.length;n+=1){var a=r[n];i.push((a-s)/(p-s))}else{for(var c=0;c<t;c++)i.push(c/(t-1));if(e.length>2){var u=e.map((function(t,n){return n/(e.length-1)})),d=e.map((function(e){return(e-s)/(p-s)}));d.every((function(e,t){return u[t]===e}))||(y=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var n=(e-d[t])/(d[t+1]-d[t]);return u[t]+n*(u[t+1]-u[t])})}}return o=[s,p],w},w.mode=function(e){return arguments.length?(t=e,_(),w):t},w.range=function(e,t){return v(e),w},w.out=function(e){return u=e,w},w.spread=function(e){return arguments.length?(r=e,w):r},w.correctLightness=function(e){return null==e&&(e=!0),d=e,_(),b=d?function(e){for(var t=x(0,!0).lab()[0],n=x(1,!0).lab()[0],r=t>n,o=x(e,!0).lab()[0],i=t+(n-t)*e,a=o-i,c=0,l=1,u=20;Math.abs(a)>.01&&u-- >0;)r&&(a*=-1),a<0?(c=e,e+=.5*(l-e)):(l=e,e+=.5*(c-e)),o=x(e,!0).lab()[0],a=o-i;return e}:function(e){return e},w},w.padding=function(e){return null!=e?("number"===ii(e)&&(e=[e,e]),a=e,w):a},w.colors=function(t,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=l.slice(0);else if(1===t)r=[w(.5)];else if(t>1){var i=o[0],a=o[1]-i;r=li(0,t,!1).map((function(e){return w(i+e/(t-1)*a)}))}else{e=[];var u=[];if(c&&c.length>2)for(var s=1,p=c.length,d=1<=p;d?s<p:s>p;d?s++:s--)u.push(.5*(c[s-1]+c[s]));else u=o;r=u.map((function(e){return w(e)}))}return oi[n]&&(r=r.map((function(e){return e[n]()}))),r},w.cache=function(e){return null!=e?(h=e,w):h},w.gamma=function(e){return null!=e?(m=e,w):m},w.nodata=function(e){return null!=e?(n=oi(e),w):n},w};function li(e,t,n){for(var r=[],o=e<t,i=n?o?t+1:t-1:t,a=e;o?a<i:a>i;o?a++:a--)r.push(a);return r}var ui=x,si=ci,pi=function(e){for(var t=[1,1],n=1;n<e;n++){for(var r=[1],o=1;o<=t.length;o++)r[o]=(t[o]||0)+t[o-1];t=r}return t},di=function(e){var t,n,r,o,i,a,c;if(2===(e=e.map((function(e){return new ui(e)}))).length)t=e.map((function(e){return e.lab()})),i=t[0],a=t[1],o=function(e){var t=[0,1,2].map((function(t){return i[t]+e*(a[t]-i[t])}));return new ui(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),i=n[0],a=n[1],c=n[2],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*i[t]+2*(1-e)*e*a[t]+e*e*c[t]}));return new ui(t,"lab")};else if(4===e.length){var l;r=e.map((function(e){return e.lab()})),i=r[0],a=r[1],c=r[2],l=r[3],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*i[t]+3*(1-e)*(1-e)*e*a[t]+3*(1-e)*e*e*c[t]+e*e*e*l[t]}));return new ui(t,"lab")}}else{if(!(e.length>=5))throw new RangeError("No point in running bezier with only one color.");var u,s,p;u=e.map((function(e){return e.lab()})),p=e.length-1,s=pi(p),o=function(e){var t=1-e,n=[0,1,2].map((function(n){return u.reduce((function(r,o,i){return r+s[i]*Math.pow(t,p-i)*Math.pow(e,i)*o[n]}),0)}));return new ui(n,"lab")}}return o},fi=function(e){var t=di(e);return t.scale=function(){return si(t)},t},hi=w,mi=function(e,t,n){if(!mi[n])throw new Error("unknown blend mode "+n);return mi[n](e,t)},vi=function(e){return function(t,n){var r=hi(n).rgb(),o=hi(t).rgb();return hi.rgb(e(r,o))}},gi=function(e){return function(t,n){var r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r}},bi=function(e){return e},yi=function(e,t){return e*t/255},xi=function(e,t){return e>t?t:e},_i=function(e,t){return e>t?e:t},wi=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},ki=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},Ei=function(e,t){return 255*(1-(1-t/255)/(e/255))},Ti=function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e};mi.normal=vi(gi(bi)),mi.multiply=vi(gi(yi)),mi.screen=vi(gi(wi)),mi.overlay=vi(gi(ki)),mi.darken=vi(gi(xi)),mi.lighten=vi(gi(_i)),mi.dodge=vi(gi(Ti)),mi.burn=vi(gi(Ei));for(var Si=mi,Ci=f.type,Ai=f.clip_rgb,Oi=f.TWOPI,Ri=Math.pow,zi=Math.sin,Pi=Math.cos,Mi=w,Ii=function(e,t,n,r,o){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===o&&(o=[0,1]);var i,a=0;"array"===Ci(o)?i=o[1]-o[0]:(i=0,o=[o,o]);var c=function(c){var l=Oi*((e+120)/360+t*c),u=Ri(o[0]+i*c,r),s=(0!==a?n[0]+c*a:n)*u*(1-u)/2,p=Pi(l),d=zi(l);return Mi(Ai([255*(u+s*(-.14861*p+1.78277*d)),255*(u+s*(-.29227*p-.90649*d)),255*(u+s*(1.97294*p)),1]))};return c.start=function(t){return null==t?e:(e=t,c)},c.rotations=function(e){return null==e?t:(t=e,c)},c.gamma=function(e){return null==e?r:(r=e,c)},c.hue=function(e){return null==e?n:("array"===Ci(n=e)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,c)},c.lightness=function(e){return null==e?o:("array"===Ci(e)?(o=e,i=e[1]-e[0]):(o=[e,e],i=0),c)},c.scale=function(){return Mi.scale(c)},c.hue(n),c},Ni=x,Di="0123456789abcdef",Li=Math.floor,Bi=Math.random,ji=function(){for(var e="#",t=0;t<6;t++)e+=Di.charAt(Li(16*Bi()));return new Ni(e,"hex")},Fi=c,Hi=Math.log,Ui=Math.pow,Gi=Math.floor,Wi=Math.abs,qi=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Fi(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===Fi(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return Vi(n,e,t)},n},Vi=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==Fi(e)&&(e=qi(e));var r=e.min,o=e.max,i=e.values.sort((function(e,t){return e-t}));if(1===n)return[r,o];var a=[];if("c"===t.substr(0,1)&&(a.push(r),a.push(o)),"e"===t.substr(0,1)){a.push(r);for(var c=1;c<n;c++)a.push(r+c/n*(o-r));a.push(o)}else if("l"===t.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*Hi(r),u=Math.LOG10E*Hi(o);a.push(r);for(var s=1;s<n;s++)a.push(Ui(10,l+s/n*(u-l)));a.push(o)}else if("q"===t.substr(0,1)){a.push(r);for(var p=1;p<n;p++){var d=(i.length-1)*p/n,f=Gi(d);if(f===d)a.push(i[f]);else{var h=d-f;a.push(i[f]*(1-h)+i[f+1]*h)}}a.push(o)}else if("k"===t.substr(0,1)){var m,v=i.length,g=new Array(v),b=new Array(n),y=!0,x=0,_=null;(_=[]).push(r);for(var w=1;w<n;w++)_.push(r+w/n*(o-r));for(_.push(o);y;){for(var k=0;k<n;k++)b[k]=0;for(var E=0;E<v;E++)for(var T=i[E],S=Number.MAX_VALUE,C=void 0,A=0;A<n;A++){var O=Wi(_[A]-T);O<S&&(S=O,C=A),b[C]++,g[E]=C}for(var R=new Array(n),z=0;z<n;z++)R[z]=null;for(var P=0;P<v;P++)null===R[m=g[P]]?R[m]=i[P]:R[m]+=i[P];for(var M=0;M<n;M++)R[M]*=1/b[M];y=!1;for(var I=0;I<n;I++)if(R[I]!==_[I]){y=!0;break}_=R,++x>200&&(y=!1)}for(var N={},D=0;D<n;D++)N[D]=[];for(var L=0;L<v;L++)N[m=g[L]].push(i[L]);for(var B=[],j=0;j<n;j++)B.push(N[j][0]),B.push(N[j][N[j].length-1]);B=B.sort((function(e,t){return e-t})),a.push(B[0]);for(var F=1;F<B.length;F+=2){var H=B[F];isNaN(H)||-1!==a.indexOf(H)||a.push(H)}}return a},Ki={analyze:qi,limits:Vi},Zi=x,Yi=function(e,t){e=new Zi(e),t=new Zi(t);var n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},$i=x,Xi=Math.sqrt,Ji=Math.pow,Qi=Math.min,ea=Math.max,ta=Math.atan2,na=Math.abs,ra=Math.cos,oa=Math.sin,ia=Math.exp,aa=Math.PI,ca=function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=1),void 0===o&&(o=1);var i=function(e){return 360*e/(2*aa)},a=function(e){return 2*aa*e/360};e=new $i(e),t=new $i(t);var c=Array.from(e.lab()),l=c[0],u=c[1],s=c[2],p=Array.from(t.lab()),d=p[0],f=p[1],h=p[2],m=(l+d)/2,v=(Xi(Ji(u,2)+Ji(s,2))+Xi(Ji(f,2)+Ji(h,2)))/2,g=.5*(1-Xi(Ji(v,7)/(Ji(v,7)+Ji(25,7)))),b=u*(1+g),y=f*(1+g),x=Xi(Ji(b,2)+Ji(s,2)),_=Xi(Ji(y,2)+Ji(h,2)),w=(x+_)/2,k=i(ta(s,b)),E=i(ta(h,y)),T=k>=0?k:k+360,S=E>=0?E:E+360,C=na(T-S)>180?(T+S+360)/2:(T+S)/2,A=1-.17*ra(a(C-30))+.24*ra(a(2*C))+.32*ra(a(3*C+6))-.2*ra(a(4*C-63)),O=S-T;O=na(O)<=180?O:S<=T?O+360:O-360,O=2*Xi(x*_)*oa(a(O)/2);var R=d-l,z=_-x,P=1+.015*Ji(m-50,2)/Xi(20+Ji(m-50,2)),M=1+.045*w,I=1+.015*w*A,N=30*ia(-Ji((C-275)/25,2)),D=-2*Xi(Ji(w,7)/(Ji(w,7)+Ji(25,7)))*oa(2*a(N)),L=Xi(Ji(R/(n*P),2)+Ji(z/(r*M),2)+Ji(O/(o*I),2)+D*(z/(r*M))*(O/(o*I)));return ea(0,Qi(100,L))},la=x,ua=function(e,t,n){void 0===n&&(n="lab"),e=new la(e),t=new la(t);var r=e.get(n),o=t.get(n),i=0;for(var a in r){var c=(r[a]||0)-(o[a]||0);i+=c*c}return Math.sqrt(i)},sa=x,pa=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(sa,[null].concat(e))),!0}catch(e){return!1}},da=w,fa=ci,ha={cool:function(){return fa([da.hsl(180,1,.9),da.hsl(250,.7,.4)])},hot:function(){return fa(["#000","#f00","#ff0","#fff"]).mode("rgb")}},ma={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},va=0,ga=Object.keys(ma);va<ga.length;va+=1){var ba=ga[va];ma[ba.toLowerCase()]=ma[ba]}var ya=ma,xa=w;return xa.average=ni,xa.bezier=fi,xa.blend=Si,xa.cubehelix=Ii,xa.mix=xa.interpolate=ho,xa.random=ji,xa.scale=ci,xa.analyze=Ki.analyze,xa.contrast=Yi,xa.deltaE=ca,xa.distance=ua,xa.limits=Ki.limits,xa.valid=pa,xa.scales=ha,xa.colors=Ln,xa.brewer=ya,xa}()},94184:function(e,t){var n;
|
|
75
|
+
/*!
|
|
76
|
+
Copyright (c) 2018 Jed Watson.
|
|
77
|
+
Licensed under the MIT License (MIT), see
|
|
78
|
+
http://jedwatson.github.io/classnames
|
|
79
|
+
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var c in n)r.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},99960:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},97790:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(99960),c=new Map([[a.ElementType.Tag,1],[a.ElementType.Script,1],[a.ElementType.Style,1],[a.ElementType.Directive,1],[a.ElementType.Text,3],[a.ElementType.CDATA,4],[a.ElementType.Comment,8],[a.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=c.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=l;var u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=u;var s=function(e){function t(t){return e.call(this,a.ElementType.Text,t)||this}return o(t,e),t}(u);t.Text=s;var p=function(e){function t(t){return e.call(this,a.ElementType.Comment,t)||this}return o(t,e),t}(u);t.Comment=p;var d=function(e){function t(t,n){var r=e.call(this,a.ElementType.Directive,n)||this;return r.name=t,r}return o(t,e),t}(u);t.ProcessingInstruction=d;var f=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=f;var h=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(f);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,r)||this;return i.name=t,i.attribs=n,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function v(e){return(0,a.isTag)(e)}function g(e){return e.type===a.ElementType.CDATA}function b(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function _(e){return e.type===a.ElementType.Root}function w(e,t){var n;if(void 0===t&&(t=!1),b(e))n=new s(e.data);else if(y(e))n=new p(e.data);else if(v(e)){var r=t?k(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(g(e)){r=t?k(e.children):[];var c=new f(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=c})),n=c}else if(_(e)){r=t?k(e.children):[];var l=new h(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var u=new d(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),n=u}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function k(e){for(var t=e.map((function(e){return w(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=v,t.isCDATA=g,t.isText=b,t.isComment=y,t.isDirective=x,t.isDocument=_,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},60885:function(e){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},38276:function(e,t,n){var r="html",o="head",i="body",a=/<([a-zA-Z]+[0-9]?)/,c=/<head.*>/i,l=/<body.*>/i,u=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},s=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var p=new window.DOMParser;u=s=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),p.parseFromString(e,"text/html")}}if(document.implementation){var d=n(1507).isIE,f=document.implementation.createHTMLDocument(d()?"html-dom-parser":void 0);u=function(e,t){return t?(f.documentElement.getElementsByTagName(t)[0].innerHTML=e,f):(f.documentElement.innerHTML=e,f)}}var h,m=document.createElement("template");m.content&&(h=function(e){return m.innerHTML=e,m.content.childNodes}),e.exports=function(e){var t,n,p,d,f=e.match(a);switch(f&&f[1]&&(t=f[1].toLowerCase()),t){case r:return n=s(e),c.test(e)||(p=n.getElementsByTagName(o)[0])&&p.parentNode.removeChild(p),l.test(e)||(p=n.getElementsByTagName(i)[0])&&p.parentNode.removeChild(p),n.getElementsByTagName(r);case o:case i:return d=u(e).getElementsByTagName(t),l.test(e)&&c.test(e)?d[0].parentNode.childNodes:d;default:return h?h(e):u(e,i).getElementsByTagName(i)[0].childNodes}}},14152:function(e,t,n){var r=n(38276),o=n(1507).formatDOM,i=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},1507:function(e,t,n){for(var r,o=n(60885),i=n(97790),a=o.CASE_SENSITIVE_TAG_NAMES,c=i.Comment,l=i.Element,u=i.ProcessingInstruction,s=i.Text,p={},d=0,f=a.length;d<f;d++)r=a[d],p[r.toLowerCase()]=r;function h(e){for(var t,n={},r=0,o=e.length;r<o;r++)n[(t=e[r]).name]=t.value;return n}function m(e){var t=function(e){return p[e]}(e=e.toLowerCase());return t||e}e.exports={formatAttributes:h,formatDOM:function e(t,n,r){n=n||null;for(var o=[],i=0,a=t.length;i<a;i++){var p,d=t[i];switch(d.nodeType){case 1:(p=new l(m(d.nodeName),h(d.attributes))).children=e(d.childNodes,p);break;case 3:p=new s(d.nodeValue);break;case 8:p=new c(d.nodeValue);break;default:continue}var f=o[i-1]||null;f&&(f.next=p),p.parent=n,p.prev=f,p.next=null,o.push(p)}return r&&((p=new u(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=o[0]||null,p.parent=n,o.unshift(p),o[1]&&(o[1].prev=o[0])),o},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},30488:function(e,t,n){var r=n(53670),o=n(50484),i=n(14152);i="function"==typeof i.default?i.default:i;var a={lowerCaseAttributeNames:!1};function c(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:r(i(e,(t=t||{}).htmlparser2||a),t)}c.domToReact=r,c.htmlToDOM=i,c.attributesToProps=o,c.Element=n(97790).Element,e.exports=c,e.exports.default=c},50484:function(e,t,n){var r=n(25726),o=n(74606);function i(e){return r.possibleStandardNames[e]}e.exports=function(e){var t,n,a,c,l,u={},s=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(a=e[t],r.isCustomAttribute(t))u[t]=a;else if(c=i(n=t.toLowerCase()))switch(l=r.getPropertyInfo(c),"checked"!==c&&"value"!==c||s||(c=i("default"+n)),u[c]=a,l&&l.type){case r.BOOLEAN:u[c]=!0;break;case r.OVERLOADED_BOOLEAN:""===a&&(u[c]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(u[t]=a);return o.setStyleProp(e.style,u),u}},53670:function(e,t,n){var r=n(69297),o=n(50484),i=n(74606),a=i.setStyleProp,c=i.canTextBeChildOfNode;function l(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&i.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var i,u,s,p,d,f=(n=n||{}).library||r,h=f.cloneElement,m=f.createElement,v=f.isValidElement,g=[],b="function"==typeof n.replace,y=n.trim,x=0,_=t.length;x<_;x++)if(i=t[x],b&&v(s=n.replace(i)))_>1&&(s=h(s,{key:s.key||x})),g.push(s);else if("text"!==i.type){switch(p=i.attribs,l(i)?a(p.style,p):p&&(p=o(p)),d=null,i.type){case"script":case"style":i.children[0]&&(p.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?p.defaultValue=i.children[0].data:i.children&&i.children.length&&(d=e(i.children,n));break;default:continue}_>1&&(p.key=x),g.push(m(i.name,p,d))}else{if((u=!i.data.trim().length)&&i.parent&&!c(i.parent))continue;if(y&&u)continue;g.push(i.data)}return 1===g.length?g[0]:g}},74606:function(e,t,n){var r=n(69297),o=n(41476).default;var i={reactCompat:!0};var a=r.version.split(".")[0]>=16,c=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!c.has(e.name)},elementsWithNoTextChildren:c}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function s(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,d=1;function f(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:p,column:d};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:p,column:d},this.source=l.source}m.prototype.content=e;var v=[];function g(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n;v.push(n)}function b(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(){b(r)}function x(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=b(o);if(n){if(_(),!b(i))return g("property missing ':'");var r=b(a),l=e({type:"declaration",property:s(n[0].replace(t,u)),value:r?s(r[0].replace(t,u)):u});return b(c),l}}return y(),function(){var e,t=[];for(x(t);e=w();)!1!==e&&(t.push(e),x(t));return t}()}},19575:function(e,t,n){var r,o;o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this,e.exports=function(n){"use strict";var o,i=(n=n||{}).Base64,a="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(c),u=String.fromCharCode,s=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},p=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(p,s)},f=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[c.charAt(n>>>18),c.charAt(n>>>12&63),t>=2?"=":c.charAt(n>>>6&63),t>=1?"=":c.charAt(63&n)].join("")},h=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,f)},m=function(e){return h(d(String(e)))},v=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},g=function(e,t){return t?v(m(e)):m(e)},b=function(e){return g(e,!0)};n.Uint8Array&&(o=function(e,t){for(var n="",r=0,o=e.length;r<o;r+=3){var i=e[r],a=e[r+1],l=e[r+2],u=i<<16|a<<8|l;n+=c.charAt(u>>>18)+c.charAt(u>>>12&63)+(void 0!==a?c.charAt(u>>>6&63):"=")+(void 0!==l?c.charAt(63&u):"=")}return t?v(n):n});var y,x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,_=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u(55296+(t>>>10))+u(56320+(1023&t));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(x,_)},k=function(e){var t=e.length,n=t%4,r=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),o=[u(r>>>16),u(r>>>8&255),u(255&r)];return o.length-=[0,0,2,1][n],o.join("")},E=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,k)},T=function(e){return E(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},S=function(e){return w(E(e))},C=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},A=function(e){return S(C(e))};n.Uint8Array&&(y=function(e){return Uint8Array.from(T(C(e)),(function(e){return e.charCodeAt(0)}))});var O=function(){var e=n.Base64;return n.Base64=i,e};if(n.Base64={VERSION:a,atob:T,btoa:h,fromBase64:A,toBase64:g,utob:d,encode:g,encodeURI:b,btou:w,decode:A,noConflict:O,fromUint8Array:o,toUint8Array:y},"function"==typeof Object.defineProperty){var R=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",R((function(){return A(this)}))),Object.defineProperty(String.prototype,"toBase64",R((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",R((function(){return g(this,!0)})))}}return n.Meteor&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r),{Base64:n.Base64}}(o)},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),c=n(81866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=c,e.exports=l},38407:function(e,t,n){var r=n(27040),o=n(14125),i=n(82117),a=n(67518),c=n(54705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=c,e.exports=l},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),o=n(11285),i=n(96e3),a=n(49916),c=n(95265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=c,e.exports=l},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},28458:function(e,t,n){var r=n(23560),o=n(15346),i=n(13218),a=n(80346),c=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,s=l.toString,p=u.hasOwnProperty,d=RegExp("^"+s.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:c).test(a(e))}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10852:function(e,t,n){var r=n(28458),o=n(47801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},89607:function(e,t,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},81866:function(e,t,n){var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,n){var r,o=n(14429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},88306:function(e,t,n){var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},22087:function(e,t,n){var r=n(28361);r.prototype.formulaEval=function(){"use strict";for(var e,t,n,r=[],o=this.value,i=0;i<o.length;i++)1===o[i].type||3===o[i].type?r.push({value:3===o[i].type?o[i].show:o[i].value,type:1}):13===o[i].type?r.push({value:o[i].show,type:1}):0===o[i].type?r[r.length-1]={value:o[i].show+("-"!=o[i].show?"(":"")+r[r.length-1].value+("-"!=o[i].show?")":""),type:0}:7===o[i].type?r[r.length-1]={value:(1!=r[r.length-1].type?"(":"")+r[r.length-1].value+(1!=r[r.length-1].type?")":"")+o[i].show,type:7}:10===o[i].type?(e=r.pop(),t=r.pop(),"P"===o[i].show||"C"===o[i].show?r.push({value:"<sup>"+t.value+"</sup>"+o[i].show+"<sub>"+e.value+"</sub>",type:10}):r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+"<sup>"+e.value+"</sup>",type:1})):2===o[i].type||9===o[i].type?(e=r.pop(),t=r.pop(),r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+o[i].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:o[i].type})):12===o[i].type&&(e=r.pop(),t=r.pop(),n=r.pop(),r.push({value:o[i].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return r[0].value},e.exports=r},17735:function(e,t,n){"use strict";var r=n(93553);function o(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var i=["sin","cos","tan","pi","(",")","P","C"," ","asin","acos","atan","7","8","9","int","cosh","acosh","ln","^","root","4","5","6","/","!","tanh","atanh","Mod","1","2","3","*","sinh","asinh","e","log","0",".","+","-",",","Sigma","n","Pi","pow","&"],a=["sin","cos","tan","π","(",")","P","C"," ","asin","acos","atan","7","8","9","Int","cosh","acosh"," ln","^","root","4","5","6","÷","!","tanh","atanh"," Mod ","1","2","3","×","sinh","asinh","e"," log","0",".","+","-",",","Σ","n","Π","pow","&"],c=[r.math.sin,r.math.cos,r.math.tan,"PI","(",")",r.math.P,r.math.C," ".anchor,r.math.asin,r.math.acos,r.math.atan,"7","8","9",Math.floor,r.math.cosh,r.math.acosh,Math.log,Math.pow,Math.sqrt,"4","5","6",r.math.div,r.math.fact,r.math.tanh,r.math.atanh,r.math.mod,"1","2","3",r.math.mul,r.math.sinh,r.math.asinh,"E",r.math.log,"0",".",r.math.add,r.math.sub,",",r.math.sigma,"n",r.math.Pi,Math.pow,r.math.and],l={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1},u=[0,0,0,3,4,5,10,10,14,0,0,0,1,1,1,0,0,0,0,10,0,1,1,1,2,7,0,0,2,1,1,1,2,0,0,3,0,1,6,9,9,11,12,13,12,8,9],s={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},p={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},d={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},f={},h={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},m={1:!0},v=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function g(e,t,n,r){for(var o=0;o<r;o++)if(e[n+o]!==t[o])return!1;return!0}r.addToken=function(e){for(var t=0;t<e.length;t++){var n=e[t].token.length,r=-1;v[n]=v[n]||[];for(var o=0;o<v[n].length;o++)if(e[t].token===v[n][o]){r=i.indexOf(v[n][o]);break}-1===r?(i.push(e[t].token),u.push(e[t].type),v.length<=e[t].token.length&&(v[e[t].token.length]=[]),v[e[t].token.length].push(e[t].token),c.push(e[t].value),a.push(e[t].show)):(i[r]=e[t].token,u[r]=e[t].type,c[r]=e[t].value,a[r]=e[t].show)}},r.lex=function(e,t){var n,b={value:r.math.changeSign,type:0,pre:21,show:"-"},y={value:")",show:")",type:5,pre:0},x={value:"(",type:4,pre:0,show:"("},_=[x],w=[],k=e,E=s,T=0,S=f,C="";void 0!==t&&r.addToken(t);var A={},O=function(e){for(var t,n,o,s=[],p=e.length,d=0;d<p;d++)if(!(d<p-1&&" "===e[d]&&" "===e[d+1])){for(t="",n=e.length-d>v.length-2?v.length-1:e.length-d;n>0;n--)if(void 0!==v[n])for(o=0;o<v[n].length;o++)g(e,v[n][o],d,n)&&(t=v[n][o],o=v[n].length,n=0);if(d+=t.length-1,""===t)throw new r.Exception("Can't understand after "+e.slice(d));var f=i.indexOf(t);s.push({index:f,token:t,type:u[f],eval:c[f],precedence:l[u[f]],show:a[f]})}return s}(k);for(n=0;n<O.length;n++){var R=O[n];if(14!==R.type){var z,P=R.token,M=R.type,I=R.eval,N=R.precedence,D=R.show,L=_[_.length-1];for(z=w.length;z--&&0===w[z];)if(-1!==[0,2,3,4,5,9,11,12,13].indexOf(M)){if(!0!==E[M])throw new r.Exception(P+" is not allowed after "+C);_.push(y),E=p,S=h,w.pop()}if(!0!==E[M])throw new r.Exception(P+" is not allowed after "+C);if(!0===S[M]&&(M=2,I=r.math.mul,D="×",N=3,n-=1),A={value:I,type:M,pre:N,show:D},0===M)E=s,S=f,o(w,2),_.push(A),4!==O[n+1].type&&(_.push(x),w.push(2));else if(1===M)1===L.type?(L.value+=I,o(w,1)):_.push(A),E=p,S=d;else if(2===M)E=s,S=f,o(w,2),_.push(A);else if(3===M)_.push(A),E=p,S=h;else if(4===M)o(w,1),T++,E=s,S=f,_.push(A);else if(5===M){if(!T)throw new r.Exception("Closing parenthesis are more than opening one, wait What!!!");T--,E=p,S=h,_.push(A),o(w,1)}else if(6===M){if(L.hasDec)throw new r.Exception("Two decimals are not allowed in one number");1!==L.type&&(L={value:0,type:1,pre:0},_.push(L)),E=m,o(w,1),S=f,L.value+=I,L.hasDec=!0}else 7===M&&(E=p,S=h,o(w,1),_.push(A));8===M?(E=s,S=f,o(w,4),_.push(A),4!==O[n+1].type&&(_.push(x),w.push(4))):9===M?(9===L.type?L.value===r.math.add?(L.value=I,L.show=D,o(w,1)):L.value===r.math.sub&&"-"===D&&(L.value=r.math.add,L.show="+",o(w,1)):5!==L.type&&7!==L.type&&1!==L.type&&3!==L.type&&13!==L.type?"-"===P&&(E=s,S=f,o(w,2).push(2),_.push(b),_.push(x)):(_.push(A),o(w,2)),E=s,S=f):10===M?(E=s,S=f,o(w,2),_.push(A)):11===M?(E=s,S=f,_.push(A)):12===M?(E=s,S=f,o(w,6),_.push(A),4!==O[n+1].type&&(_.push(x),w.push(6))):13===M&&(E=p,S=h,_.push(A)),o(w,-1),C=P}else if(n>0&&n<O.length-1&&1===O[n+1].type&&(1===O[n-1].type||6===O[n-1].type))throw new r.Exception("Unexpected Space")}for(z=w.length;z--;)_.push(y);if(!0!==E[5])throw new r.Exception("complete the expression");for(;T--;)_.push(y);return _.push(y),new r(_)},e.exports=r},93553:function(e){"use strict";var t=function(e){this.value=e};t.math={isDegree:!0,acos:function(e){return t.math.isDegree?180/Math.PI*Math.acos(e):Math.acos(e)},add:function(e,t){return e+t},asin:function(e){return t.math.isDegree?180/Math.PI*Math.asin(e):Math.asin(e)},atan:function(e){return t.math.isDegree?180/Math.PI*Math.atan(e):Math.atan(e)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(e,n){var r=1,o=e-n,i=n;i<o&&(i=o,o=n);for(var a=i+1;a<=e;a++)r*=a;return r/t.math.fact(o)},changeSign:function(e){return-e},cos:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.cos(e)},cosh:function(e){return(Math.pow(Math.E,e)+Math.pow(Math.E,-1*e))/2},div:function(e,t){return e/t},fact:function(e){if(e%1!=0)return"NaN";for(var t=1,n=2;n<=e;n++)t*=n;return t},inverse:function(e){return 1/e},log:function(e){return Math.log(e)/Math.log(10)},mod:function(e,t){return e%t},mul:function(e,t){return e*t},P:function(e,t){for(var n=1,r=Math.floor(e)-Math.floor(t)+1;r<=Math.floor(e);r++)n*=r;return n},Pi:function(e,t,n){for(var r=1,o=e;o<=t;o++)r*=Number(n.postfixEval({n:o}));return r},pow10x:function(e){for(var t=1;e--;)t*=10;return t},sigma:function(e,t,n){for(var r=0,o=e;o<=t;o++)r+=Number(n.postfixEval({n:o}));return r},sin:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.sin(e)},sinh:function(e){return(Math.pow(Math.E,e)-Math.pow(Math.E,-1*e))/2},sub:function(e,t){return e-t},tan:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.tan(e)},tanh:function(e){return t.sinha(e)/t.cosha(e)},toRadian:function(e){return e*Math.PI/180},and:function(e,t){return e&t}},t.Exception=function(e){this.message=e},e.exports=t},27186:function(e,t,n){var r=n(17735);r.prototype.toPostfix=function(){"use strict";for(var e,t,n,o,i,a=[],c=[{value:"(",type:4,pre:0}],l=this.value,u=1;u<l.length;u++)if(1===l[u].type||3===l[u].type||13===l[u].type)1===l[u].type&&(l[u].value=Number(l[u].value)),a.push(l[u]);else if(4===l[u].type)c.push(l[u]);else if(5===l[u].type)for(;4!==(t=c.pop()).type;)a.push(t);else if(11===l[u].type){for(;4!==(t=c.pop()).type;)a.push(t);c.push(t)}else{o=(e=l[u]).pre,n=(i=c[c.length-1]).pre;var s="Math.pow"==i.value&&"Math.pow"==e.value;if(o>n)c.push(e);else{for(;n>=o&&!s||s&&o<n;)t=c.pop(),i=c[c.length-1],a.push(t),n=i.pre,s="Math.pow"==e.value&&"Math.pow"==i.value;c.push(e)}}return new r(a)},e.exports=r},28361:function(e,t,n){var r=n(27186);r.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,n,o,i=[],a=this.value,c=void 0!==e.n,l=0;l<a.length;l++)1===a[l].type?i.push({value:a[l].value,type:1}):3===a[l].type?i.push({value:e[a[l].value],type:1}):0===a[l].type||7===a[l].type?void 0===i[i.length-1].type?i[i.length-1].value.push(a[l]):i[i.length-1].value=a[l].value(i[i.length-1].value):8===a[l].type?(t=i.pop(),n=i.pop(),i.push({type:1,value:a[l].value(n.value,t.value)})):10===a[l].type?(t=i.pop(),void 0===(n=i.pop()).type?(n.value=n.concat(t),n.value.push(a[l]),i.push(n)):void 0===t.type?(t.unshift(n),t.push(a[l]),i.push(t)):i.push({type:1,value:a[l].value(n.value,t.value)})):2===a[l].type||9===a[l].type?(t=i.pop(),void 0===(n=i.pop()).type?((n=n.concat(t)).push(a[l]),i.push(n)):void 0===t.type?(t.unshift(n),t.push(a[l]),i.push(t)):i.push({type:1,value:a[l].value(n.value,t.value)})):12===a[l].type?(void 0!==(t=i.pop()).type&&(t=[t]),n=i.pop(),o=i.pop(),i.push({type:1,value:a[l].value(o.value,n.value,new r(t))})):13===a[l].type&&(c?i.push({value:e[a[l].value],type:3}):i.push([a[l]]));if(i.length>1)throw new r.Exception("Uncaught Syntax error");return i[0].value>1e15?"Infinity":parseFloat(i[0].value.toFixed(15))},r.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},e.exports=r},57460:function(e,t){var n,r,o;
|
|
80
|
+
/* @license
|
|
81
|
+
Papa Parse
|
|
82
|
+
v5.3.2
|
|
83
|
+
https://github.com/mholt/PapaParse
|
|
84
|
+
License: MIT
|
|
85
|
+
*/r=[],n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=n&&/blob:/i.test((t.location||{}).protocol),o={},i=0,a={parse:function(n,r){var c=(r=r||{}).dynamicTyping||!1;if(_(c)&&(r.dynamicTypingFunction=c,c={}),r.dynamicTyping=c,r.transform=!!_(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var l=function(){if(!a.WORKERS_SUPPORTED)return!1;var n,r,c=(n=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=n.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(c);return l.onmessage=v,l.id=i++,o[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return a.NODE_STREAM_INPUT,"string"==typeof n?f=r.download?new u(r):new p(r):!0===n.readable&&_(n.read)&&_(n.on)?f=new d(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new s(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,o=",",i="\r\n",c='"',l=c+c,u=!1,s=null,p=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(o=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(i=t.newline),"string"==typeof t.quoteChar&&(c=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");s=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+c),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(p=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var d=new RegExp(h(c),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,u);if("object"==typeof e[0])return f(s||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||s),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],u);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var c=Array.isArray(e)&&0<e.length,l=!Array.isArray(t[0]);if(c&&r){for(var u=0;u<e.length;u++)0<u&&(a+=o),a+=m(e[u],u);0<t.length&&(a+=i)}for(var s=0;s<t.length;s++){var p=c?e.length:t[s].length,d=!1,f=c?0===Object.keys(t[s]).length:0===t[s].length;if(n&&!c&&(d="greedy"===n?""===t[s].join("").trim():1===t[s].length&&0===t[s][0].length),"greedy"===n&&c){for(var h=[],v=0;v<p;v++){var g=l?e[v]:v;h.push(t[s][g])}d=""===h.join("").trim()}if(!d){for(var b=0;b<p;b++){0<b&&!f&&(a+=o);var y=c&&l?e[b]:b;a+=m(t[s][y],b)}s<t.length-1&&(!n||0<p&&!f)&&(a+=i)}}return a}function m(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var r=!1;p&&"string"==typeof e&&p.test(e)&&(e="'"+e,r=!0);var i=e.toString().replace(d,l);return(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(i,a.BAD_DELIMITERS)||-1<i.indexOf(o)||" "===i.charAt(0)||" "===i.charAt(i.length-1))?c+i+c:i}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!n&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=f,a.NetworkStreamer=u,a.FileStreamer=s,a.StringStreamer=p,a.ReadableStreamStreamer=d,t.jQuery){var c=t.jQuery;c.fn.parse=function(e){var n=e.config||{},r=[];return this.each((function(e){if("INPUT"!==c(this).prop("tagName").toUpperCase()||"file"!==c(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var o=0;o<this.files.length;o++)r.push({file:this.files[o],inputElem:this,instanceConfig:c.extend({},n)})})),o(),this;function o(){if(0!==r.length){var t,n,o,l,u=r[0];if(_(e.before)){var s=e.before(u.file,u.inputElem);if("object"==typeof s){if("abort"===s.action)return t="AbortError",n=u.file,o=u.inputElem,l=s.reason,void(_(e.error)&&e.error({name:t},n,o,l));if("skip"===s.action)return void i();"object"==typeof s.config&&(u.instanceConfig=c.extend(u.instanceConfig,s.config))}else if("skip"===s)return void i()}var p=u.instanceConfig.complete;u.instanceConfig.complete=function(e){_(p)&&p(e,u.file,u.inputElem),i()},a.parse(u.file,u.instanceConfig)}else _(e.complete)&&e.complete()}function i(){r.splice(0,1),o()}}}function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=y(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new f(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){if(this.isFirstChunk&&_(this._config.beforeFirstChunk)){var o=this._config.beforeFirstChunk(e);void 0!==o&&(e=o)}this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e;this._partialLine="";var c=this._handle.parse(i,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var l=c.meta.cursor;this._finished||(this._partialLine=i.substring(l-this._baseIndex),this._baseIndex=l),c&&c.data&&(this._rowCount+=c.data.length);var u=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:c,workerId:a.WORKER_ID,finished:u});else if(_(this._config.chunk)&&!n){if(this._config.chunk(c,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);c=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(c.data),this._completeResults.errors=this._completeResults.errors.concat(c.errors),this._completeResults.meta=c.meta),this._completed||!u||!_(this._config.complete)||c&&c.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),u||c&&c.meta.paused||this._nextChunk(),c}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var o=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+o)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function s(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var o=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,o)}var i=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function p(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function d(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=x((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=x((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=x((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,o=Math.pow(2,53),i=-o,c=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,u=this,s=0,p=0,d=!1,f=!1,v=[],g={data:[],errors:[],meta:{}};if(_(e.step)){var b=e.step;e.step=function(t){if(g=t,k())w();else{if(w(),0===g.data.length)return;s+=t.data.length,e.preview&&s>e.preview?n.abort():(g.data=g.data[0],b(g,u))}}}function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){return g&&r&&(T("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(g.data=g.data.filter((function(e){return!x(e)}))),k()&&function(){if(g)if(Array.isArray(g.data[0])){for(var t=0;k()&&t<g.data.length;t++)g.data[t].forEach(n);g.data.splice(0,1)}else g.data.forEach(n);function n(t,n){_(e.transformHeader)&&(t=e.transformHeader(t,n)),v.push(t)}}(),function(){if(!g||!e.header&&!e.dynamicTyping&&!e.transform)return g;function t(t,n){var r,o=e.header?{}:[];for(r=0;r<t.length;r++){var i=r,a=t[r];e.header&&(i=r>=v.length?"__parsed_extra":v[r]),e.transform&&(a=e.transform(a,i)),a=E(i,a),"__parsed_extra"===i?(o[i]=o[i]||[],o[i].push(a)):o[i]=a}return e.header&&(r>v.length?T("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+r,p+n):r<v.length&&T("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+r,p+n)),o}var n=1;return!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(t),n=g.data.length):g.data=t(g.data,0),e.header&&g.meta&&(g.meta.fields=v),p+=n,g}()}function k(){return e.header&&0===v.length}function E(t,n){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(e){if(c.test(e)){var t=parseFloat(e);if(i<t&&t<o)return!0}return!1}(n)?parseFloat(n):l.test(n)?new Date(n):""===n?null:n):n;var r}function T(e,t,n,r){var o={type:e,code:t,message:n};void 0!==r&&(o.row=r),g.errors.push(o)}this.parse=function(o,i,c){var l=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var n=new RegExp(h(t)+"([^]*?)"+h(t),"gm"),r=(e=e.replace(n,"")).split("\r"),o=e.split("\n"),i=1<o.length&&o[0].length<r[0].length;if(1===r.length||i)return"\n";for(var a=0,c=0;c<r.length;c++)"\n"===r[c][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(o,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(o),g.meta.delimiter=e.delimiter);else{var u=function(t,n,r,o,i){var c,l,u,s;i=i||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var p=0;p<i.length;p++){var d=i[p],f=0,h=0,v=0;u=void 0;for(var g=new m({comments:o,delimiter:d,newline:n,preview:10}).parse(t),b=0;b<g.data.length;b++)if(r&&x(g.data[b]))v++;else{var y=g.data[b].length;h+=y,void 0!==u?0<y&&(f+=Math.abs(y-u),u=y):u=y}0<g.data.length&&(h/=g.data.length-v),(void 0===l||f<=l)&&(void 0===s||s<h)&&1.99<h&&(l=f,c=d,s=h)}return{successful:!!(e.delimiter=c),bestDelimiter:c}}(o,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);u.successful?e.delimiter=u.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter}var s=y(e);return e.preview&&e.header&&s.preview++,t=o,n=new m(s),g=n.parse(t,i,c),w(),d?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,n.abort(),t=_(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){u.streamer._halted?(d=!1,u.streamer.parseChunk(t,!0)):setTimeout(u.resume,3)},this.aborted=function(){return f},this.abort=function(){f=!0,n.abort(),g.meta.aborted=!0,_(e.complete)&&e.complete(g),t=""}}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t,n=(e=e||{}).delimiter,r=e.newline,o=e.comments,i=e.step,c=e.preview,l=e.fastMode,u=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(u=e.escapeChar),("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=","),o===n)throw new Error("Comment character same as delimiter");!0===o?o="#":("string"!=typeof o||-1<a.BAD_DELIMITERS.indexOf(o))&&(o=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var s=0,p=!1;this.parse=function(e,a,d){if("string"!=typeof e)throw new Error("Input must be a string");var f=e.length,m=n.length,v=r.length,g=o.length,b=_(i),y=[],x=[],w=[],k=s=0;if(!e)return D();if(l||!1!==l&&-1===e.indexOf(t)){for(var E=e.split(r),T=0;T<E.length;T++){if(w=E[T],s+=w.length,T!==E.length-1)s+=r.length;else if(d)return D();if(!o||w.substring(0,g)!==o){if(b){if(y=[],P(w.split(n)),L(),p)return D()}else P(w.split(n));if(c&&c<=T)return y=y.slice(0,c),D(!0)}}return D()}for(var S=e.indexOf(n,s),C=e.indexOf(r,s),A=new RegExp(h(u)+h(t),"g"),O=e.indexOf(t,s);;)if(e[s]!==t)if(o&&0===w.length&&e.substring(s,s+g)===o){if(-1===C)return D();s=C+v,C=e.indexOf(r,s),S=e.indexOf(n,s)}else if(-1!==S&&(S<C||-1===C))w.push(e.substring(s,S)),s=S+m,S=e.indexOf(n,s);else{if(-1===C)break;if(w.push(e.substring(s,C)),N(C+v),b&&(L(),p))return D();if(c&&y.length>=c)return D(!0)}else for(O=s,s++;;){if(-1===(O=e.indexOf(t,O+1)))return d||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:y.length,index:s}),I();if(O===f-1)return I(e.substring(s,O).replace(A,t));if(t!==u||e[O+1]!==u){if(t===u||0===O||e[O-1]!==u){-1!==S&&S<O+1&&(S=e.indexOf(n,O+1)),-1!==C&&C<O+1&&(C=e.indexOf(r,O+1));var R=M(-1===C?S:Math.min(S,C));if(e.substr(O+1+R,m)===n){w.push(e.substring(s,O).replace(A,t)),e[s=O+1+R+m]!==t&&(O=e.indexOf(t,s)),S=e.indexOf(n,s),C=e.indexOf(r,s);break}var z=M(C);if(e.substring(O+1+z,O+1+z+v)===r){if(w.push(e.substring(s,O).replace(A,t)),N(O+1+z+v),S=e.indexOf(n,s),O=e.indexOf(t,s),b&&(L(),p))return D();if(c&&y.length>=c)return D(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:y.length,index:s}),O++}}else O++}return I();function P(e){y.push(e),k=s}function M(t){var n=0;if(-1!==t){var r=e.substring(O+1,t);r&&""===r.trim()&&(n=r.length)}return n}function I(t){return d||(void 0===t&&(t=e.substring(s)),w.push(t),s=f,P(w),b&&L()),D()}function N(t){s=t,P(w),w=[],C=e.indexOf(r,s)}function D(e){return{data:y,errors:x,meta:{delimiter:n,linebreak:r,aborted:p,truncated:!!e,cursor:k+(a||0)}}}function L(){i(D()),y=[],x=[]}},this.abort=function(){p=!0},this.getCharIndex=function(){return s}}function v(e){var t=e.data,n=o[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,g(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(_(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else _(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&g(t.workerId,t.results)}function g(e,t){var n=o[e];_(n.userComplete)&&n.userComplete(t),n.terminate(),delete o[e]}function b(){throw new Error("Not implemented.")}function y(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=y(e[n]);return t}function x(e,t){return function(){e.apply(t,arguments)}}function _(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var n=e.data;if(void 0===a.WORKER_ID&&n&&(a.WORKER_ID=n.workerId),"string"==typeof n.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(n.input,n.config),finished:!0});else if(t.File&&n.input instanceof File||n.input instanceof Object){var r=a.parse(n.input,n.config);r&&t.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(u.prototype=Object.create(l.prototype)).constructor=u,(s.prototype=Object.create(l.prototype)).constructor=s,(p.prototype=Object.create(p.prototype)).constructor=p,(d.prototype=Object.create(l.prototype)).constructor=d,a},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},92703:function(e,t,n){"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},25726:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0});function i(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var a={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){a[e]=new i(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=r(e,2),n=t[0],o=t[1];a[n]=new i(n,1,!1,o,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){a[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){a[e]=new i(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){a[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){a[e]=new i(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){a[e]=new i(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){a[e]=new i(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){a[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)}));var c=/[\-\:]([a-z])/g,l=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(c,l);a[t]=new i(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(c,l);a[t]=new i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(c,l);a[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){a[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}));a.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){a[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)}));var u=n(78229),s=u.CAMELCASE,p=u.SAME,d=u.possibleStandardNames,f=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),h=Object.keys(d).reduce((function(e,t){var n=d[t];return n===p?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return a.hasOwnProperty(e)?a[e]:null},t.isCustomAttribute=f,t.possibleStandardNames=h},78229:function(e,t){t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},40217:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,l,"next",e)}function l(e){n(a,o,i,c,l,"throw",e)}c(void 0)}))}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var c={init:"init"},l=function(e){var t=e.value;return void 0===t?"":t},u=function(){return t.createElement(t.Fragment,null," ")},s={Cell:l,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){var n=t.style,r=t.className;return e=o({},e,{},i(t,["style","className"])),n&&(e.style=e.style?o({},e.style||{},{},n||{}):n),r&&(e.className=e.className?e.className+" "+r:r),""===e.className&&delete e.className,e}),{})}var d=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce((function(e,r){return function e(t,n,r){return"function"==typeof n?e({},n(t,r)):Array.isArray(n)?p.apply(void 0,[t].concat(n)):p(t,n)}(e,r,o({},t,{userProps:n}))}),{})}},f=function(e,t,n,r){return void 0===n&&(n={}),e.reduce((function(e,t){return t(e,n)}),t)},h=function(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){e(t,n)}))};function m(e,t,n,r){e.findIndex((function(e){return e.pluginName===n})),t.forEach((function(t){e.findIndex((function(e){return e.pluginName===t}))}))}function v(e,t){return"function"==typeof e?e(t):e}function g(e){var n=t.useRef();return n.current=e,t.useCallback((function(){return n.current}),[])}var b="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function y(e,n){var r=t.useRef(!1);b((function(){r.current&&e(),r.current=!0}),n)}function x(e,t,n){return void 0===n&&(n={}),function(r,i){void 0===i&&(i={});var a="string"==typeof r?t[r]:r;if(void 0===a)throw console.info(t),new Error("Renderer Error ☝️");return _(a,o({},e,{column:t},n,{},i))}}function _(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?t.createElement(e,n):e;var r}function w(e,t,n){return void 0===n&&(n=0),e.map((function(e){return E(e=o({},e,{parent:t,depth:n})),e.columns&&(e.columns=w(e.columns,e,n+1)),e}))}function k(e){return R(e,"columns")}function E(e){var t=e.id,n=e.accessor,r=e.Header;if("string"==typeof n){t=t||n;var o=n.split(".");n=function(e){return function(e,t,n){if(!t)return e;var r,o="function"==typeof t?t:JSON.stringify(t),i=C.get(o)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}(e).map((function(e){return String(e).replace(".","_")})).join(".").replace(D,".").replace(L,"").split(".")}(t);return C.set(o,e),e}();try{r=i.reduce((function(e,t){return e[t]}),e)}catch(e){}return void 0!==r?r:n}(e,o)}}if(!t&&"string"==typeof r&&r&&(t=r),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function T(e,t){if(!t)throw new Error;return Object.assign(e,o({Header:u,Footer:u},s,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}function S(e,t,n){void 0===n&&(n=function(){return{}});for(var r=[],i=e,a=0,c=function(){return a++},l=function(){var e={headers:[]},a=[],l=i.some((function(e){return e.parent}));i.forEach((function(r){var i,u=[].concat(a).reverse()[0];l&&(i=r.parent?o({},r.parent,{originalId:r.parent.id,id:r.parent.id+"_"+c(),headers:[r]},n(r)):T(o({originalId:r.id+"_placeholder",id:r.id+"_placeholder_"+c(),placeholderOf:r,headers:[r]},n(r)),t),u&&u.originalId===i.originalId?u.headers.push(r):a.push(i)),e.headers.push(r)})),r.push(e),i=a};i.length;)l();return r.reverse()}var C=new Map;function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<t.length;r+=1)if(void 0!==t[r])return t[r]}function O(e){if("function"==typeof e)return e}function R(e,t){var n=[];return function e(r){r.forEach((function(r){r[t]?e(r[t]):n.push(r)}))}(e),n}function z(e,t){var n=t.manualExpandedKey,r=t.expanded,o=t.expandSubRows,i=void 0===o||o,a=[];return e.forEach((function(e){return function e(t,o){void 0===o&&(o=!0),t.isExpanded=t.original&&t.original[n]||r[t.id],t.canExpand=t.subRows&&!!t.subRows.length,o&&a.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach((function(t){return e(t,i)}))}(e)})),a}function P(e,t,n){return O(e)||t[e]||n[e]||n.text}function M(e,t,n){return e?e(t,n):void 0===t}function I(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var N=null,D=/\[/g,L=/\]/g,B=function(e){return o({role:"table"},e)},j=function(e){return o({role:"rowgroup"},e)},F=function(e,t){var n=t.column;return o({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},H=function(e,t){var n=t.column;return o({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},U=function(e,t){return o({key:"headerGroup_"+t.index,role:"row"},e)},G=function(e,t){return o({key:"footerGroup_"+t.index},e)},W=function(e,t){return o({key:"row_"+t.row.id,role:"row"},e)},q=function(e,t){var n=t.cell;return o({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function V(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[B],getTableBodyProps:[j],getHeaderGroupProps:[U],getFooterGroupProps:[G],getHeaderProps:[F],getFooterProps:[H],getRowProps:[W],getCellProps:[q],useFinalInstance:[]}}c.resetHiddenColumns="resetHiddenColumns",c.toggleHideColumn="toggleHideColumn",c.setHiddenColumns="setHiddenColumns",c.toggleHideAllColumns="toggleHideAllColumns";var K=function(e){e.getToggleHiddenProps=[Z],e.getToggleHideAllColumnsProps=[Y],e.stateReducers.push($),e.useInstanceBeforeDimensions.push(X),e.headerGroupsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])})),e.useInstance.push(J)};K.pluginName="useColumnVisibility";var Z=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},Y=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function $(e,t,n,r){if(t.type===c.init)return o({hiddenColumns:[]},e);if(t.type===c.resetHiddenColumns)return o({},e,{hiddenColumns:r.initialState.hiddenColumns||[]});if(t.type===c.toggleHideColumn){var i=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter((function(e){return e!==t.columnId}));return o({},e,{hiddenColumns:i})}return t.type===c.setHiddenColumns?o({},e,{hiddenColumns:v(t.value,e.hiddenColumns)}):t.type===c.toggleHideAllColumns?o({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?r.allColumns.map((function(e){return e.id})):[]}):void 0}function X(e){var n=e.headers,r=e.state.hiddenColumns;t.useRef(!1).current;var o=0;n.forEach((function(e){return o+=function e(t,n){t.isVisible=n&&!r.includes(t.id);var o=0;return t.headers&&t.headers.length?t.headers.forEach((function(n){return o+=e(n,t.isVisible)})):o=t.isVisible?1:0,t.totalVisibleHeaderCount=o,o}(e,!0)}))}function J(e){var n=e.columns,r=e.flatHeaders,o=e.dispatch,i=e.allColumns,a=e.getHooks,l=e.state.hiddenColumns,u=e.autoResetHiddenColumns,s=void 0===u||u,p=g(e),f=i.length===l.length,h=t.useCallback((function(e,t){return o({type:c.toggleHideColumn,columnId:e,value:t})}),[o]),m=t.useCallback((function(e){return o({type:c.setHiddenColumns,value:e})}),[o]),v=t.useCallback((function(e){return o({type:c.toggleHideAllColumns,value:e})}),[o]),b=d(a().getToggleHideAllColumnsProps,{instance:p()});r.forEach((function(e){e.toggleHidden=function(t){o({type:c.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=d(a().getToggleHiddenProps,{instance:p(),column:e})}));var x=g(s);y((function(){x()&&o({type:c.resetHiddenColumns})}),[o,n]),Object.assign(e,{allColumnsHidden:f,toggleHideColumn:h,setHiddenColumns:m,toggleHideAllColumns:v,getToggleHideAllColumnsProps:b})}var Q={},ee={},te=function(e,t,n){return e},ne=function(e,t){return e.subRows||[]},re=function(e,t,n){return""+(n?[n.id,t].join("."):t)},oe=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?Q:t,r=e.defaultColumn,a=void 0===r?ee:r,c=e.getSubRows,l=void 0===c?ne:c,u=e.getRowId,s=void 0===u?re:u,p=e.stateReducer,d=void 0===p?te:p,f=e.useControlledState,h=void 0===f?oe:f;return o({},i(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:a,getSubRows:l,getRowId:s,stateReducer:d,useControlledState:h})}function ae(e,t){void 0===t&&(t=0);var n=0,r=0,o=0,i=0;return e.forEach((function(e){var a=e.headers;if(e.totalLeft=t,a&&a.length){var c=ae(a,t),l=c[0],u=c[1],s=c[2],p=c[3];e.totalMinWidth=l,e.totalWidth=u,e.totalMaxWidth=s,e.totalFlexWidth=p}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,r+=e.totalWidth,o+=e.totalMaxWidth,i+=e.totalFlexWidth)})),[n,r,o,i]}function ce(e){var t=e.data,n=e.rows,r=e.flatRows,o=e.rowsById,i=e.column,a=e.getRowId,c=e.getSubRows,l=e.accessValueHooks,u=e.getInstance;t.forEach((function(e,s){return function e(n,s,p,d,h){void 0===p&&(p=0);var m=n,v=a(n,s,d),g=o[v];if(g)g.subRows&&g.originalSubRows.forEach((function(t,n){return e(t,n,p+1,g)}));else if((g={id:v,original:m,index:s,depth:p,cells:[{}]}).cells.map=I,g.cells.filter=I,g.cells.forEach=I,g.cells[0].getCellProps=I,g.values={},h.push(g),r.push(g),o[v]=g,g.originalSubRows=c(n,s),g.originalSubRows){var b=[];g.originalSubRows.forEach((function(t,n){return e(t,n,p+1,g,b)})),g.subRows=b}i.accessor&&(g.values[i.id]=i.accessor(n,s,g,h,t)),g.values[i.id]=f(l,g.values[i.id],{row:g,column:i,instance:u()})}(e,s,0,void 0,n)}))}c.resetExpanded="resetExpanded",c.toggleRowExpanded="toggleRowExpanded",c.toggleAllRowsExpanded="toggleAllRowsExpanded";var le=function(e){e.getToggleAllRowsExpandedProps=[ue],e.getToggleRowExpandedProps=[se],e.stateReducers.push(pe),e.useInstance.push(de),e.prepareRow.push(fe)};le.pluginName="useExpanded";var ue=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},se=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function pe(e,t,n,r){if(t.type===c.init)return o({expanded:{}},e);if(t.type===c.resetExpanded)return o({},e,{expanded:r.initialState.expanded||{}});if(t.type===c.toggleAllRowsExpanded){var l=t.value,u=r.isAllRowsExpanded,s=r.rowsById;if(void 0!==l?l:!u){var p={};return Object.keys(s).forEach((function(e){p[e]=!0})),o({},e,{expanded:p})}return o({},e,{expanded:{}})}if(t.type===c.toggleRowExpanded){var d,f=t.id,h=t.value,m=e.expanded[f],v=void 0!==h?h:!m;if(!m&&v)return o({},e,{expanded:o({},e.expanded,(d={},d[f]=!0,d))});if(m&&!v){var g=e.expanded;return g[f],o({},e,{expanded:i(g,[f].map(a))})}return e}}function de(e){var n=e.data,r=e.rows,o=e.rowsById,i=e.manualExpandedKey,a=void 0===i?"expanded":i,l=e.paginateExpandedRows,u=void 0===l||l,s=e.expandSubRows,p=void 0===s||s,f=e.autoResetExpanded,h=void 0===f||f,v=e.getHooks,b=e.plugins,x=e.state.expanded,_=e.dispatch;m(b,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var w=g(h),k=Boolean(Object.keys(o).length&&Object.keys(x).length);k&&Object.keys(o).some((function(e){return!x[e]}))&&(k=!1),y((function(){w()&&_({type:c.resetExpanded})}),[_,n]);var E=t.useCallback((function(e,t){_({type:c.toggleRowExpanded,id:e,value:t})}),[_]),T=t.useCallback((function(e){return _({type:c.toggleAllRowsExpanded,value:e})}),[_]),S=t.useMemo((function(){return u?z(r,{manualExpandedKey:a,expanded:x,expandSubRows:p}):r}),[u,r,a,x,p]),C=t.useMemo((function(){return function(e){var t=0;return Object.keys(e).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t}(x)}),[x]),A=g(e),O=d(v().getToggleAllRowsExpandedProps,{instance:A()});Object.assign(e,{preExpandedRows:r,expandedRows:S,rows:S,expandedDepth:C,isAllRowsExpanded:k,toggleRowExpanded:E,toggleAllRowsExpanded:T,getToggleAllRowsExpandedProps:O})}function fe(e,t){var n=t.instance.getHooks,r=t.instance;e.toggleRowExpanded=function(t){return r.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=d(n().getToggleRowExpandedProps,{instance:r,row:e})}var he=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return String(r).toLowerCase().includes(String(n).toLowerCase())}))}))};he.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return void 0===r||String(r).toLowerCase()===String(n).toLowerCase()}))}))};me.autoRemove=function(e){return!e};var ve=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return void 0===r||String(r)===String(n)}))}))};ve.autoRemove=function(e){return!e};var ge=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t].includes(n)}))}))};ge.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return r&&r.length&&n.every((function(e){return r.includes(e)}))}))}))};be.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return r&&r.length&&n.some((function(e){return r.includes(e)}))}))}))};ye.autoRemove=function(e){return!e||!e.length};var xe=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return n.includes(r)}))}))};xe.autoRemove=function(e){return!e||!e.length};var _e=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]===n}))}))};_e.autoRemove=function(e){return void 0===e};var we=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]==n}))}))};we.autoRemove=function(e){return null==e};var ke=function(e,t,n){var r=n||[],o=r[0],i=r[1];if((o="number"==typeof o?o:-1/0)>(i="number"==typeof i?i:1/0)){var a=o;o=i,i=a}return e.filter((function(e){return t.some((function(t){var n=e.values[t];return n>=o&&n<=i}))}))};ke.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Ee=Object.freeze({__proto__:null,text:he,exactText:me,exactTextCase:ve,includes:ge,includesAll:be,includesSome:ye,includesValue:xe,exact:_e,equals:we,between:ke});c.resetFilters="resetFilters",c.setFilter="setFilter",c.setAllFilters="setAllFilters";var Te=function(e){e.stateReducers.push(Se),e.useInstance.push(Ce)};function Se(e,t,n,r){if(t.type===c.init)return o({filters:[]},e);if(t.type===c.resetFilters)return o({},e,{filters:r.initialState.filters||[]});if(t.type===c.setFilter){var i=t.columnId,a=t.filterValue,l=r.allColumns,u=r.filterTypes,s=l.find((function(e){return e.id===i}));if(!s)throw new Error("React-Table: Could not find a column with id: "+i);var p=P(s.filter,u||{},Ee),d=e.filters.find((function(e){return e.id===i})),f=v(a,d&&d.value);return M(p.autoRemove,f,s)?o({},e,{filters:e.filters.filter((function(e){return e.id!==i}))}):o({},e,d?{filters:e.filters.map((function(e){return e.id===i?{id:i,value:f}:e}))}:{filters:[].concat(e.filters,[{id:i,value:f}])})}if(t.type===c.setAllFilters){var h=t.filters,m=r.allColumns,g=r.filterTypes;return o({},e,{filters:v(h,e.filters).filter((function(e){var t=m.find((function(t){return t.id===e.id}));return!M(P(t.filter,g||{},Ee).autoRemove,e.value,t)}))})}}function Ce(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.rowsById,a=e.allColumns,l=e.filterTypes,u=e.manualFilters,s=e.defaultCanFilter,p=void 0!==s&&s,d=e.disableFilters,f=e.state.filters,h=e.dispatch,m=e.autoResetFilters,v=void 0===m||m,b=t.useCallback((function(e,t){h({type:c.setFilter,columnId:e,filterValue:t})}),[h]),x=t.useCallback((function(e){h({type:c.setAllFilters,filters:e})}),[h]);a.forEach((function(e){var t=e.id,n=e.accessor,r=e.defaultCanFilter,o=e.disableFilters;e.canFilter=n?A(!0!==o&&void 0,!0!==d&&void 0,!0):A(r,p,!1),e.setFilter=function(t){return b(e.id,t)};var i=f.find((function(e){return e.id===t}));e.filterValue=i&&i.value}));var _=t.useMemo((function(){if(u||!f.length)return[r,o,i];var e=[],t={};return[function n(r,o){void 0===o&&(o=0);var i=r;return(i=f.reduce((function(e,t){var n=t.id,r=t.value,i=a.find((function(e){return e.id===n}));if(!i)return e;0===o&&(i.preFilteredRows=e);var c=P(i.filter,l||{},Ee);return c?(i.filteredRows=c(e,[n],r),i.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+i.id+"."),e)}),r)).forEach((function(r){e.push(r),t[r.id]=r,r.subRows&&(r.subRows=r.subRows&&r.subRows.length>0?n(r.subRows,o+1):r.subRows)})),i}(r),e,t]}),[u,f,r,o,i,a,l]),w=_[0],k=_[1],E=_[2];t.useMemo((function(){a.filter((function(e){return!f.find((function(t){return t.id===e.id}))})).forEach((function(e){e.preFilteredRows=w,e.filteredRows=w}))}),[w,f,a]);var T=g(v);y((function(){T()&&h({type:c.resetFilters})}),[h,u?null:n]),Object.assign(e,{preFilteredRows:r,preFilteredFlatRows:o,preFilteredRowsById:i,filteredRows:w,filteredFlatRows:k,filteredRowsById:E,rows:w,flatRows:k,rowsById:E,setFilter:b,setAllFilters:x})}Te.pluginName="useFilters",c.resetGlobalFilter="resetGlobalFilter",c.setGlobalFilter="setGlobalFilter";var Ae=function(e){e.stateReducers.push(Oe),e.useInstance.push(Re)};function Oe(e,t,n,r){if(t.type===c.resetGlobalFilter)return o({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===c.setGlobalFilter){var a=t.filterValue,l=r.userFilterTypes,u=P(r.globalFilter,l||{},Ee),s=v(a,e.globalFilter);return M(u.autoRemove,s)?(e.globalFilter,i(e,["globalFilter"])):o({},e,{globalFilter:s})}}function Re(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.rowsById,a=e.allColumns,l=e.filterTypes,u=e.globalFilter,s=e.manualGlobalFilter,p=e.state.globalFilter,d=e.dispatch,f=e.autoResetGlobalFilter,h=void 0===f||f,m=e.disableGlobalFilter,v=t.useCallback((function(e){d({type:c.setGlobalFilter,filterValue:e})}),[d]),b=t.useMemo((function(){if(s||void 0===p)return[r,o,i];var e=[],t={},n=P(u,l||{},Ee);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),r;a.forEach((function(e){var t=e.disableGlobalFilter;e.canFilter=A(!0!==t&&void 0,!0!==m&&void 0,!0)}));var c=a.filter((function(e){return!0===e.canFilter}));return[function r(o){return(o=n(o,c.map((function(e){return e.id})),p)).forEach((function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?r(n.subRows):n.subRows})),o}(r),e,t]}),[s,p,u,l,a,r,o,i,m]),x=b[0],_=b[1],w=b[2],k=g(h);y((function(){k()&&d({type:c.resetGlobalFilter})}),[d,s?null:n]),Object.assign(e,{preGlobalFilteredRows:r,preGlobalFilteredFlatRows:o,preGlobalFilteredRowsById:i,globalFilteredRows:x,globalFilteredFlatRows:_,globalFilteredRowsById:w,rows:x,flatRows:_,rowsById:w,setGlobalFilter:v,disableGlobalFilter:m})}function ze(e,t){return t.reduce((function(e,t){return e+("number"==typeof t?t:0)}),0)}Ae.pluginName="useGlobalFilter";var Pe=Object.freeze({__proto__:null,sum:ze,min:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e))})),t},max:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.max(t,e))})),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))})),t+".."+n},average:function(e){return ze(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort((function(e,t){return e-t}));return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),Me=[],Ie={};c.resetGroupBy="resetGroupBy",c.setGroupBy="setGroupBy",c.toggleGroupBy="toggleGroupBy";var Ne=function(e){e.getGroupByToggleProps=[De],e.stateReducers.push(Le),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])})),e.visibleColumns.push(Be),e.useInstance.push(Fe),e.prepareRow.push(He)};Ne.pluginName="useGroupBy";var De=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Le(e,t,n,r){if(t.type===c.init)return o({groupBy:[]},e);if(t.type===c.resetGroupBy)return o({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===c.setGroupBy)return o({},e,{groupBy:t.value});if(t.type===c.toggleGroupBy){var i=t.columnId,a=t.value,l=void 0!==a?a:!e.groupBy.includes(i);return o({},e,l?{groupBy:[].concat(e.groupBy,[i])}:{groupBy:e.groupBy.filter((function(e){return e!==i}))})}}function Be(e,t){var n=t.instance.state.groupBy,r=n.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean),o=e.filter((function(e){return!n.includes(e.id)}));return(e=[].concat(r,o)).forEach((function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)})),e}var je={};function Fe(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.rowsById,a=e.allColumns,l=e.flatHeaders,u=e.groupByFn,s=void 0===u?Ue:u,p=e.manualGroupBy,f=e.aggregations,h=void 0===f?je:f,v=e.plugins,b=e.state.groupBy,x=e.dispatch,_=e.autoResetGroupBy,w=void 0===_||_,k=e.disableGroupBy,E=e.defaultCanGroupBy,T=e.getHooks;m(v,["useColumnOrder","useFilters"],"useGroupBy");var S=g(e);a.forEach((function(t){var n=t.accessor,r=t.defaultGroupBy,o=t.disableGroupBy;t.canGroupBy=n?A(t.canGroupBy,!0!==o&&void 0,!0!==k&&void 0,!0):A(t.canGroupBy,r,E,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell}));var C=t.useCallback((function(e,t){x({type:c.toggleGroupBy,columnId:e,value:t})}),[x]),O=t.useCallback((function(e){x({type:c.setGroupBy,value:e})}),[x]);l.forEach((function(e){e.getGroupByToggleProps=d(T().getGroupByToggleProps,{instance:S(),header:e})}));var z=t.useMemo((function(){if(p||!b.length)return[r,o,i,Me,Ie,o,i];var e=b.filter((function(e){return a.find((function(t){return t.id===e}))})),t=[],n={},c=[],l={},u=[],d={},f=function r(o,i,p){if(void 0===i&&(i=0),i===e.length)return o;var f=e[i],m=s(o,f);return Object.entries(m).map((function(o,s){var m=o[0],v=o[1],g=f+":"+m,b=r(v,i+1,g=p?p+">"+g:g),y=i?R(v,"leafRows"):v,x=function(t,n,r){var o={};return a.forEach((function(i){if(e.includes(i.id))o[i.id]=n[0]?n[0].values[i.id]:null;else{var a="function"==typeof i.aggregate?i.aggregate:h[i.aggregate]||Pe[i.aggregate];if(a){var c=n.map((function(e){return e.values[i.id]})),l=t.map((function(e){var t=e.values[i.id];if(!r&&i.aggregateValue){var n="function"==typeof i.aggregateValue?i.aggregateValue:h[i.aggregateValue]||Pe[i.aggregateValue];if(!n)throw console.info({column:i}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,i)}return t}));o[i.id]=a(l,c)}else{if(i.aggregate)throw console.info({column:i}),new Error("React Table: Invalid column.aggregate option for column listed above");o[i.id]=null}}})),o}(y,v,i),_={id:g,isGrouped:!0,groupByID:f,groupByVal:m,values:x,subRows:b,leafRows:y,depth:i,index:s};return b.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(c.push(e),l[e.id]=e):(u.push(e),d[e.id]=e)})),_}))}(r);return f.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(c.push(e),l[e.id]=e):(u.push(e),d[e.id]=e)})),[f,t,n,c,l,u,d]}),[p,b,r,o,i,a,h,s]),P=z[0],M=z[1],I=z[2],N=z[3],D=z[4],L=z[5],B=z[6],j=g(w);y((function(){j()&&x({type:c.resetGroupBy})}),[x,p?null:n]),Object.assign(e,{preGroupedRows:r,preGroupedFlatRow:o,preGroupedRowsById:i,groupedRows:P,groupedFlatRows:M,groupedRowsById:I,onlyGroupedFlatRows:N,onlyGroupedRowsById:D,nonGroupedFlatRows:L,nonGroupedRowsById:B,rows:P,flatRows:M,rowsById:I,toggleGroupBy:C,setGroupBy:O})}function He(e){e.allCells.forEach((function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)}))}function Ue(e,t){return e.reduce((function(e,n,r){var o=""+n.values[t];return e[o]=Array.isArray(e[o])?e[o]:[],e[o].push(n),e}),{})}var Ge=/([0-9]+)/gm;function We(e,t){return e===t?0:e>t?1:-1}function qe(e,t,n){return[e.values[n],t.values[n]]}function Ve(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ke=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=qe(e,t,n),o=r[0],i=r[1];for(o=Ve(o),i=Ve(i),o=o.split(Ge).filter(Boolean),i=i.split(Ge).filter(Boolean);o.length&&i.length;){var a=o.shift(),c=i.shift(),l=parseInt(a,10),u=parseInt(c,10),s=[l,u].sort();if(isNaN(s[0])){if(a>c)return 1;if(c>a)return-1}else{if(isNaN(s[1]))return isNaN(l)?-1:1;if(l>u)return 1;if(u>l)return-1}}return o.length-i.length},datetime:function(e,t,n){var r=qe(e,t,n),o=r[0],i=r[1];return We(o=o.getTime(),i=i.getTime())},basic:function(e,t,n){var r=qe(e,t,n);return We(r[0],r[1])},string:function(e,t,n){var r=qe(e,t,n),o=r[0],i=r[1];for(o=o.split("").filter(Boolean),i=i.split("").filter(Boolean);o.length&&i.length;){var a=o.shift(),c=i.shift(),l=a.toLowerCase(),u=c.toLowerCase();if(l>u)return 1;if(u>l)return-1;if(a>c)return 1;if(c>a)return-1}return o.length-i.length},number:function(e,t,n){var r=qe(e,t,n),o=r[0],i=r[1],a=/[^0-9.]/gi;return We(o=Number(String(o).replace(a,"")),i=Number(String(i).replace(a,"")))}});c.resetSortBy="resetSortBy",c.setSortBy="setSortBy",c.toggleSortBy="toggleSortBy",c.clearSortBy="clearSortBy",s.sortType="alphanumeric",s.sortDescFirst=!1;var Ze=function(e){e.getSortByToggleProps=[Ye],e.stateReducers.push($e),e.useInstance.push(Xe)};Ze.pluginName="useSortBy";var Ye=function(e,t){var n=t.instance,r=t.column,o=n.isMultiSortEvent,i=void 0===o?function(e){return e.shiftKey}:o;return[e,{onClick:r.canSort?function(e){e.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&i(e))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function $e(e,t,n,r){if(t.type===c.init)return o({sortBy:[]},e);if(t.type===c.resetSortBy)return o({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===c.clearSortBy)return o({},e,{sortBy:e.sortBy.filter((function(e){return e.id!==t.columnId}))});if(t.type===c.setSortBy)return o({},e,{sortBy:t.sortBy});if(t.type===c.toggleSortBy){var i,a=t.columnId,l=t.desc,u=t.multi,s=r.allColumns,p=r.disableMultiSort,d=r.disableSortRemove,f=r.disableMultiRemove,h=r.maxMultiSortColCount,m=void 0===h?Number.MAX_SAFE_INTEGER:h,v=e.sortBy,g=s.find((function(e){return e.id===a})).sortDescFirst,b=v.find((function(e){return e.id===a})),y=v.findIndex((function(e){return e.id===a})),x=null!=l,_=[];return"toggle"!=(i=!p&&u?b?"toggle":"add":y!==v.length-1||1!==v.length?"replace":b?"toggle":"replace")||d||x||u&&f||!(b&&b.desc&&!g||!b.desc&&g)||(i="remove"),"replace"===i?_=[{id:a,desc:x?l:g}]:"add"===i?(_=[].concat(v,[{id:a,desc:x?l:g}])).splice(0,_.length-m):"toggle"===i?_=v.map((function(e){return e.id===a?o({},e,{desc:x?l:!b.desc}):e})):"remove"===i&&(_=v.filter((function(e){return e.id!==a}))),o({},e,{sortBy:_})}}function Xe(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.allColumns,a=e.orderByFn,l=void 0===a?Je:a,u=e.sortTypes,s=e.manualSortBy,p=e.defaultCanSort,f=e.disableSortBy,h=e.flatHeaders,v=e.state.sortBy,b=e.dispatch,x=e.plugins,_=e.getHooks,w=e.autoResetSortBy,k=void 0===w||w;m(x,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var E=t.useCallback((function(e){b({type:c.setSortBy,sortBy:e})}),[b]),T=t.useCallback((function(e,t,n){b({type:c.toggleSortBy,columnId:e,desc:t,multi:n})}),[b]),S=g(e);h.forEach((function(e){var t=e.accessor,n=e.canSort,r=e.disableSortBy,o=e.id,i=t?A(!0!==r&&void 0,!0!==f&&void 0,!0):A(p,n,!1);e.canSort=i,e.canSort&&(e.toggleSortBy=function(t,n){return T(e.id,t,n)},e.clearSortBy=function(){b({type:c.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=d(_().getSortByToggleProps,{instance:S(),column:e});var a=v.find((function(e){return e.id===o}));e.isSorted=!!a,e.sortedIndex=v.findIndex((function(e){return e.id===o})),e.isSortedDesc=e.isSorted?a.desc:void 0}));var C=t.useMemo((function(){if(s||!v.length)return[r,o];var e=[],t=v.filter((function(e){return i.find((function(t){return t.id===e.id}))}));return[function n(r){var o=l(r,t.map((function(e){var t=i.find((function(t){return t.id===e.id}));if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,r=O(n)||(u||{})[n]||Ke[n];if(!r)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return r(t,n,e.id,e.desc)}})),t.map((function(e){var t=i.find((function(t){return t.id===e.id}));return t&&t.sortInverted?e.desc:!e.desc})));return o.forEach((function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))})),o}(r),e]}),[s,v,r,o,i,l,u]),R=C[0],z=C[1],P=g(k);y((function(){P()&&b({type:c.resetSortBy})}),[s?null:n]),Object.assign(e,{preSortedRows:r,preSortedFlatRows:o,sortedRows:R,sortedFlatRows:z,rows:R,flatRows:z,setSortBy:E,toggleSortBy:T})}function Je(e,t,n){return[].concat(e).sort((function(e,r){for(var o=0;o<t.length;o+=1){var i=t[o],a=!1===n[o]||"desc"===n[o],c=i(e,r);if(0!==c)return a?-c:c}return n[0]?e.index-r.index:r.index-e.index}))}c.resetPage="resetPage",c.gotoPage="gotoPage",c.setPageSize="setPageSize";var Qe=function(e){e.stateReducers.push(et),e.useInstance.push(tt)};function et(e,t,n,r){if(t.type===c.init)return o({pageSize:10,pageIndex:0},e);if(t.type===c.resetPage)return o({},e,{pageIndex:r.initialState.pageIndex||0});if(t.type===c.gotoPage){var i=r.pageCount,a=r.page,l=v(t.pageIndex,e.pageIndex),u=!1;return l>e.pageIndex?u=-1===i?a.length>=e.pageSize:l<i:l<e.pageIndex&&(u=l>-1),u?o({},e,{pageIndex:l}):e}if(t.type===c.setPageSize){var s=t.pageSize,p=e.pageSize*e.pageIndex;return o({},e,{pageIndex:Math.floor(p/s),pageSize:s})}}function tt(e){var n=e.rows,r=e.autoResetPage,o=void 0===r||r,i=e.manualExpandedKey,a=void 0===i?"expanded":i,l=e.plugins,u=e.pageCount,s=e.paginateExpandedRows,p=void 0===s||s,d=e.expandSubRows,f=void 0===d||d,h=e.state,v=h.pageSize,b=h.pageIndex,x=h.expanded,_=h.globalFilter,w=h.filters,k=h.groupBy,E=h.sortBy,T=e.dispatch,S=e.data,C=e.manualPagination;m(l,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var A=g(o);y((function(){A()&&T({type:c.resetPage})}),[T,C?null:S,_,w,k,E]);var O=C?u:Math.ceil(n.length/v),R=t.useMemo((function(){return O>0?[].concat(new Array(O)).fill(null).map((function(e,t){return t})):[]}),[O]),P=t.useMemo((function(){var e;if(C)e=n;else{var t=v*b,r=t+v;e=n.slice(t,r)}return p?e:z(e,{manualExpandedKey:a,expanded:x,expandSubRows:f})}),[f,x,a,C,b,v,p,n]),M=b>0,I=-1===O?P.length>=v:b<O-1,N=t.useCallback((function(e){T({type:c.gotoPage,pageIndex:e})}),[T]),D=t.useCallback((function(){return N((function(e){return e-1}))}),[N]),L=t.useCallback((function(){return N((function(e){return e+1}))}),[N]),B=t.useCallback((function(e){T({type:c.setPageSize,pageSize:e})}),[T]);Object.assign(e,{pageOptions:R,pageCount:O,page:P,canPreviousPage:M,canNextPage:I,gotoPage:N,previousPage:D,nextPage:L,setPageSize:B})}Qe.pluginName="usePagination",c.resetPivot="resetPivot",c.togglePivot="togglePivot";var nt=function(e){e.getPivotToggleProps=[ot],e.stateReducers.push(it),e.useInstanceAfterData.push(at),e.allColumns.push(ct),e.accessValue.push(lt),e.materializedColumns.push(ut),e.materializedColumnsDeps.push(st),e.visibleColumns.push(pt),e.visibleColumnsDeps.push(dt),e.useInstance.push(ft),e.prepareRow.push(ht)};nt.pluginName="usePivotColumns";var rt=[],ot=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,r){if(t.type===c.init)return o({pivotColumns:rt},e);if(t.type===c.resetPivot)return o({},e,{pivotColumns:r.initialState.pivotColumns||rt});if(t.type===c.togglePivot){var i=t.columnId,a=t.value,l=void 0!==a?a:!e.pivotColumns.includes(i);return o({},e,l?{pivotColumns:[].concat(e.pivotColumns,[i])}:{pivotColumns:e.pivotColumns.filter((function(e){return e!==i}))})}}function at(e){e.allColumns.forEach((function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)}))}function ct(e,t){var n=t.instance;return e.forEach((function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set})),e}function lt(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function ut(e,t){var n=t.instance,r=n.allColumns,i=n.state;if(!i.pivotColumns.length||!i.groupBy||!i.groupBy.length)return e;var a=i.pivotColumns.map((function(e){return r.find((function(t){return t.id===e}))})).filter(Boolean),c=r.filter((function(e){return!e.isPivotSource&&!i.groupBy.includes(e.id)&&!i.pivotColumns.includes(e.id)})),l=k(function e(t,n,r){void 0===t&&(t=0),void 0===r&&(r=[]);var i=a[t];return i?Array.from(i.uniqueValues).sort().map((function(a){var c=o({},i,{Header:i.PivotHeader||"string"==typeof i.header?i.Header+": "+a:a,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+i.id+"."+a:i.id+"."+a,pivotValue:a});return c.columns=e(t+1,c,[].concat(r,[function(e){return e.values[i.id]===a}])),c})):c.map((function(e){return o({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,o){if(r.every((function(e){return e(o)})))return o.values[e.id]}})}))}());return[].concat(e,l)}function st(e,t){var n=t.instance.state,r=n.pivotColumns,o=n.groupBy;return[].concat(e,[r,o])}function pt(e,t){var n=t.instance.state;return e=e.filter((function(e){return!e.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter((function(e){return e.isGrouped||e.isPivoted}))),e}function dt(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function ft(e){var t=e.columns,n=e.allColumns,r=e.flatHeaders,o=e.getHooks,i=e.plugins,a=e.dispatch,l=e.autoResetPivot,u=void 0===l||l,s=e.manaulPivot,p=e.disablePivot,f=e.defaultCanPivot;m(i,["useGroupBy"],"usePivotColumns");var h=g(e);n.forEach((function(t){var n=t.accessor,r=t.defaultPivot,o=t.disablePivot;t.canPivot=n?A(t.canPivot,!0!==o&&void 0,!0!==p&&void 0,!0):A(t.canPivot,r,f,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell})),r.forEach((function(e){e.getPivotToggleProps=d(o().getPivotToggleProps,{instance:h(),header:e})}));var v=g(u);y((function(){v()&&a({type:c.resetPivot})}),[a,s?null:t]),Object.assign(e,{togglePivot:function(e,t){a({type:c.togglePivot,columnId:e,value:t})}})}function ht(e){e.allCells.forEach((function(e){e.isPivoted=e.column.isPivoted}))}c.resetSelectedRows="resetSelectedRows",c.toggleAllRowsSelected="toggleAllRowsSelected",c.toggleRowSelected="toggleRowSelected",c.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var mt=function(e){e.getToggleRowSelectedProps=[vt],e.getToggleAllRowsSelectedProps=[gt],e.getToggleAllPageRowsSelectedProps=[bt],e.stateReducers.push(yt),e.useInstance.push(xt),e.prepareRow.push(_t)};mt.pluginName="useRowSelect";var vt=function(e,t){var n=t.instance,r=t.row,o=n.manualRowSelectedKey,i=void 0===o?"isSelected":o;return[e,{onChange:function(e){r.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!r.original||!r.original[i])||r.isSelected,title:"Toggle Row Selected",indeterminate:r.isSomeSelected}]},gt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},bt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(e){var t=e.id;return n.state.selectedRowIds[t]})))}]};function yt(e,t,n,r){if(t.type===c.init)return o({selectedRowIds:{}},e);if(t.type===c.resetSelectedRows)return o({},e,{selectedRowIds:r.initialState.selectedRowIds||{}});if(t.type===c.toggleAllRowsSelected){var i=t.value,a=r.isAllRowsSelected,l=r.rowsById,u=r.nonGroupedRowsById,s=void 0===u?l:u,p=void 0!==i?i:!a,d=Object.assign({},e.selectedRowIds);return p?Object.keys(s).forEach((function(e){d[e]=!0})):Object.keys(s).forEach((function(e){delete d[e]})),o({},e,{selectedRowIds:d})}if(t.type===c.toggleRowSelected){var f=t.id,h=t.value,m=r.rowsById,v=r.selectSubRows,g=void 0===v||v,b=r.getSubRows,y=e.selectedRowIds[f],x=void 0!==h?h:!y;if(y===x)return e;var _=o({},e.selectedRowIds);return function e(t){var n=m[t];if(n.isGrouped||(x?_[t]=!0:delete _[t]),g&&b(n))return b(n).forEach((function(t){return e(t.id)}))}(f),o({},e,{selectedRowIds:_})}if(t.type===c.toggleAllPageRowsSelected){var w=t.value,k=r.page,E=r.rowsById,T=r.selectSubRows,S=void 0===T||T,C=r.isAllPageRowsSelected,A=r.getSubRows,O=void 0!==w?w:!C,R=o({},e.selectedRowIds);return k.forEach((function(e){return function e(t){var n=E[t];if(n.isGrouped||(O?R[t]=!0:delete R[t]),S&&A(n))return A(n).forEach((function(t){return e(t.id)}))}(e.id)})),o({},e,{selectedRowIds:R})}return e}function xt(e){var n=e.data,r=e.rows,o=e.getHooks,i=e.plugins,a=e.rowsById,l=e.nonGroupedRowsById,u=void 0===l?a:l,s=e.autoResetSelectedRows,p=void 0===s||s,f=e.state.selectedRowIds,h=e.selectSubRows,v=void 0===h||h,b=e.dispatch,x=e.page,_=e.getSubRows;m(i,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var w=t.useMemo((function(){var e=[];return r.forEach((function(t){var n=v?function e(t,n,r){if(n[t.id])return!0;var o=r(t);if(o&&o.length){var i=!0,a=!1;return o.forEach((function(t){a&&!i||(e(t,n,r)?a=!0:i=!1)})),!!i||!!a&&null}return!1}(t,f,_):!!f[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)})),e}),[r,v,f,_]),k=Boolean(Object.keys(u).length&&Object.keys(f).length),E=k;k&&Object.keys(u).some((function(e){return!f[e]}))&&(k=!1),k||x&&x.length&&x.some((function(e){var t=e.id;return!f[t]}))&&(E=!1);var T=g(p);y((function(){T()&&b({type:c.resetSelectedRows})}),[b,n]);var S=t.useCallback((function(e){return b({type:c.toggleAllRowsSelected,value:e})}),[b]),C=t.useCallback((function(e){return b({type:c.toggleAllPageRowsSelected,value:e})}),[b]),A=t.useCallback((function(e,t){return b({type:c.toggleRowSelected,id:e,value:t})}),[b]),O=g(e),R=d(o().getToggleAllRowsSelectedProps,{instance:O()}),z=d(o().getToggleAllPageRowsSelectedProps,{instance:O()});Object.assign(e,{selectedFlatRows:w,isAllRowsSelected:k,isAllPageRowsSelected:E,toggleRowSelected:A,toggleAllRowsSelected:S,getToggleAllRowsSelectedProps:R,getToggleAllPageRowsSelectedProps:z,toggleAllPageRowsSelected:C})}function _t(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=d(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var wt=function(e){return{}},kt=function(e){return{}};c.setRowState="setRowState",c.setCellState="setCellState",c.resetRowState="resetRowState";var Et=function(e){e.stateReducers.push(Tt),e.useInstance.push(St),e.prepareRow.push(Ct)};function Tt(e,t,n,r){var i=r.initialRowStateAccessor,a=void 0===i?wt:i,l=r.initialCellStateAccessor,u=void 0===l?kt:l,s=r.rowsById;if(t.type===c.init)return o({rowState:{}},e);if(t.type===c.resetRowState)return o({},e,{rowState:r.initialState.rowState||{}});if(t.type===c.setRowState){var p,d=t.rowId,f=t.value,h=void 0!==e.rowState[d]?e.rowState[d]:a(s[d]);return o({},e,{rowState:o({},e.rowState,(p={},p[d]=v(f,h),p))})}if(t.type===c.setCellState){var m,g,b,y,x,_=t.rowId,w=t.columnId,k=t.value,E=void 0!==e.rowState[_]?e.rowState[_]:a(s[_]),T=void 0!==(null==E||null==(m=E.cellState)?void 0:m[w])?E.cellState[w]:u(null==(g=s[_])||null==(b=g.cells)?void 0:b.find((function(e){return e.column.id===w})));return o({},e,{rowState:o({},e.rowState,(x={},x[_]=o({},E,{cellState:o({},E.cellState||{},(y={},y[w]=v(k,T),y))}),x))})}}function St(e){var n=e.autoResetRowState,r=void 0===n||n,o=e.data,i=e.dispatch,a=t.useCallback((function(e,t){return i({type:c.setRowState,rowId:e,value:t})}),[i]),l=t.useCallback((function(e,t,n){return i({type:c.setCellState,rowId:e,columnId:t,value:n})}),[i]),u=g(r);y((function(){u()&&i({type:c.resetRowState})}),[o]),Object.assign(e,{setRowState:a,setCellState:l})}function Ct(e,t){var n=t.instance,r=n.initialRowStateAccessor,o=void 0===r?wt:r,i=n.initialCellStateAccessor,a=void 0===i?kt:i,c=n.state.rowState;e&&(e.state=void 0!==c[e.id]?c[e.id]:o(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach((function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:a(t),t.setState=function(r){return n.setCellState(e.id,t.column.id,r)}})))}Et.pluginName="useRowState",c.resetColumnOrder="resetColumnOrder",c.setColumnOrder="setColumnOrder";var At=function(e){e.stateReducers.push(Ot),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])})),e.visibleColumns.push(Rt),e.useInstance.push(zt)};function Ot(e,t,n,r){return t.type===c.init?o({columnOrder:[]},e):t.type===c.resetColumnOrder?o({},e,{columnOrder:r.initialState.columnOrder||[]}):t.type===c.setColumnOrder?o({},e,{columnOrder:v(t.columnOrder,e.columnOrder)}):void 0}function Rt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var r=[].concat(n),o=[].concat(e),i=[],a=function(){var e=r.shift(),t=o.findIndex((function(t){return t.id===e}));t>-1&&i.push(o.splice(t,1)[0])};o.length&&r.length;)a();return[].concat(i,o)}function zt(e){var n=e.dispatch;e.setColumnOrder=t.useCallback((function(e){return n({type:c.setColumnOrder,columnOrder:e})}),[n])}At.pluginName="useColumnOrder",s.canResize=!0,c.columnStartResizing="columnStartResizing",c.columnResizing="columnResizing",c.columnDoneResizing="columnDoneResizing",c.resetResize="resetResize";var Pt=function(e){e.getResizerProps=[Mt],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(It),e.useInstance.push(Dt),e.useInstanceBeforeDimensions.push(Nt)},Mt=function(e,t){var n=t.instance,r=t.header,o=n.dispatch,i=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var r=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map((function(e){return[e.id,e.totalWidth]})),i=n?Math.round(e.touches[0].clientX):e.clientX,a=function(e){o({type:c.columnResizing,clientX:e})},l=function(){return o({type:c.columnDoneResizing})},u={mouse:{moveEvent:"mousemove",moveHandler:function(e){return a(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",u.mouse.moveHandler),document.removeEventListener("mouseup",u.mouse.upHandler),l()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),a(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(u.touch.moveEvent,u.touch.moveHandler),document.removeEventListener(u.touch.upEvent,u.touch.moveHandler),l()}}},s=n?u.touch:u.mouse,p=!!function(){if("boolean"==typeof N)return N;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return N=e}()&&{passive:!1};document.addEventListener(s.moveEvent,s.moveHandler,p),document.addEventListener(s.upEvent,s.upHandler,p),o({type:c.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:r,clientX:i})};return[e,{onMouseDown:function(e){return e.persist()||i(e,r)},onTouchStart:function(e){return e.persist()||i(e,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function It(e,t){if(t.type===c.init)return o({columnResizing:{columnWidths:{}}},e);if(t.type===c.resetResize)return o({},e,{columnResizing:{columnWidths:{}}});if(t.type===c.columnStartResizing){var n=t.clientX,r=t.columnId,i=t.columnWidth,a=t.headerIdWidths;return o({},e,{columnResizing:o({},e.columnResizing,{startX:n,headerIdWidths:a,columnWidth:i,isResizingColumn:r})})}if(t.type===c.columnResizing){var l=t.clientX,u=e.columnResizing,s=u.startX,p=u.columnWidth,d=u.headerIdWidths,f=(l-s)/p,h={};return(void 0===d?[]:d).forEach((function(e){var t=e[0],n=e[1];h[t]=Math.max(n+n*f,0)})),o({},e,{columnResizing:o({},e.columnResizing,{columnWidths:o({},e.columnResizing.columnWidths,{},h)})})}return t.type===c.columnDoneResizing?o({},e,{columnResizing:o({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}Pt.pluginName="useResizeColumns";var Nt=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,o=e.state.columnResizing,i=g(e);t.forEach((function(e){var t=A(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=o.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=o.isResizingColumn===e.id,t&&(e.getResizerProps=d(r().getResizerProps,{instance:i(),header:e}))}))};function Dt(e){var n=e.plugins,r=e.dispatch,o=e.autoResetResize,i=void 0===o||o,a=e.columns;m(n,["useAbsoluteLayout"],"useResizeColumns");var l=g(i);y((function(){l()&&r({type:c.resetResize})}),[a]);var u=t.useCallback((function(){return r({type:c.resetResize})}),[r]);Object.assign(e,{resetResizing:u})}var Lt={position:"absolute",top:0},Bt=function(e){e.getTableBodyProps.push(jt),e.getRowProps.push(jt),e.getHeaderGroupProps.push(jt),e.getFooterGroupProps.push(jt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:o({},Lt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:o({},Lt,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:o({},Lt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Bt.pluginName="useAbsoluteLayout";var jt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Ft={display:"inline-block",boxSizing:"border-box"},Ht=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},Ut=function(e){e.getRowProps.push(Ht),e.getHeaderGroupProps.push(Ht),e.getFooterGroupProps.push(Ht),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:o({},Ft,{width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:o({},Ft,{width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:o({},Ft,{width:n.totalWidth+"px"})}]}))};function Gt(e){e.getTableProps.push(Wt),e.getRowProps.push(qt),e.getHeaderGroupProps.push(qt),e.getFooterGroupProps.push(qt),e.getHeaderProps.push(Vt),e.getCellProps.push(Kt),e.getFooterProps.push(Zt)}Ut.pluginName="useBlockLayout",Gt.pluginName="useFlexLayout";var Wt=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},qt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Vt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Kt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Zt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function Yt(e){e.stateReducers.push(Jt),e.getTableProps.push($t),e.getHeaderProps.push(Xt)}Yt.pluginName="useGridLayout";var $t=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map((function(e){return e})).join(" ")}}]},Xt=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function Jt(e,t,n,r){if("init"===t.type)return o({gridLayout:{columnWidths:r.columns.map((function(){return"auto"}))}},e);if("columnStartResizing"===t.type){var i=t.columnId,a=r.visibleColumns.findIndex((function(e){return e.id===i})),c=function(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}(i);return void 0!==c?o({},e,{gridLayout:o({},e.gridLayout,{columnId:i,columnIndex:a,startingWidth:c})}):e}if("columnResizing"===t.type){var l=e.gridLayout,u=l.columnIndex,s=l.startingWidth,p=l.columnWidths,d=s-(e.columnResizing.startX-t.clientX),f=[].concat(p);return f[u]=d+"px",o({},e,{gridLayout:o({},e.gridLayout,{columnWidths:f})})}}e._UNSTABLE_usePivotColumns=nt,e.actions=c,e.defaultColumn=s,e.defaultGroupByFn=Ue,e.defaultOrderByFn=Je,e.defaultRenderer=l,e.emptyRenderer=u,e.ensurePluginOrder=m,e.flexRender=_,e.functionalUpdate=v,e.loopHooks=h,e.makePropGetter=d,e.makeRenderer=x,e.reduceHooks=f,e.safeUseLayoutEffect=b,e.useAbsoluteLayout=Bt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var o=t.useRef({}),i=g(e),a=g(n);return t.useCallback(function(){var e=r(regeneratorRuntime.mark((function e(){var t,n,c,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=l.length,n=new Array(t),c=0;c<t;c++)n[c]=l[c];return o.current.promise||(o.current.promise=new Promise((function(e,t){o.current.resolve=e,o.current.reject=t}))),o.current.timeout&&clearTimeout(o.current.timeout),o.current.timeout=setTimeout(r(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete o.current.timeout,e.prev=1,e.t0=o.current,e.next=5,i().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),o.current.reject(e.t2);case 12:return e.prev=12,delete o.current.promise,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])}))),a()),e.abrupt("return",o.current.promise);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[i,a])},e.useBlockLayout=Ut,e.useColumnOrder=At,e.useExpanded=le,e.useFilters=Te,e.useFlexLayout=Gt,e.useGetLatest=g,e.useGlobalFilter=Ae,e.useGridLayout=Yt,e.useGroupBy=Ne,e.useMountedLayoutEffect=y,e.usePagination=Qe,e.useResizeColumns=Pt,e.useRowSelect=mt,e.useRowState=Et,e.useSortBy=Ze,e.useTable=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e=ie(e),r=[K].concat(r);var a=g(t.useRef({}).current);Object.assign(a(),o({},e,{plugins:r,hooks:V()})),r.filter(Boolean).forEach((function(e){e(a().hooks)}));var l=g(a().hooks);a().getHooks=l,delete a().hooks,Object.assign(a(),f(l().useOptions,ie(e)));var u=a(),s=u.data,p=u.columns,m=u.initialState,v=u.defaultColumn,b=u.getSubRows,y=u.getRowId,_=u.stateReducer,C=u.useControlledState,A=g(_),O=t.useCallback((function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(l().stateReducers,Array.isArray(A())?A():[A()]).reduce((function(n,r){return r(n,t,e,a())||n}),e)}),[l,A,a]),R=t.useReducer(O,void 0,(function(){return O(m,{type:c.init})})),z=R[0],P=R[1],M=f([].concat(l().useControlledState,[C]),z,{instance:a()});Object.assign(a(),{state:M,dispatch:P});var I=t.useMemo((function(){return w(f(l().columns,p,{instance:a()}))}),[l,a,p].concat(f(l().columnsDeps,[],{instance:a()})));a().columns=I;var N=t.useMemo((function(){return f(l().allColumns,k(I),{instance:a()}).map(E)}),[I,l,a].concat(f(l().allColumnsDeps,[],{instance:a()})));a().allColumns=N;var D=t.useMemo((function(){for(var e=[],t=[],n={},r=[].concat(N);r.length;){var o=r.shift();ce({data:s,rows:e,flatRows:t,rowsById:n,column:o,getRowId:y,getSubRows:b,accessValueHooks:l().accessValue,getInstance:a})}return[e,t,n]}),[N,s,y,b,l,a]),L=D[0],B=D[1],j=D[2];Object.assign(a(),{rows:L,initialRows:[].concat(L),flatRows:B,rowsById:j}),h(l().useInstanceAfterData,a());var F=t.useMemo((function(){return f(l().visibleColumns,N,{instance:a()}).map((function(e){return T(e,v)}))}),[l,N,a,v].concat(f(l().visibleColumnsDeps,[],{instance:a()})));N=t.useMemo((function(){var e=[].concat(F);return N.forEach((function(t){e.find((function(e){return e.id===t.id}))||e.push(t)})),e}),[N,F]),a().allColumns=N;var H=t.useMemo((function(){return f(l().headerGroups,S(F,v),a())}),[l,F,v,a].concat(f(l().headerGroupsDeps,[],{instance:a()})));a().headerGroups=H;var U=t.useMemo((function(){return H.length?H[0].headers:[]}),[H]);a().headers=U,a().flatHeaders=H.reduce((function(e,t){return[].concat(e,t.headers)}),[]),h(l().useInstanceBeforeDimensions,a());var G=F.filter((function(e){return e.isVisible})).map((function(e){return e.id})).sort().join("_");F=t.useMemo((function(){return F.filter((function(e){return e.isVisible}))}),[F,G]),a().visibleColumns=F;var W=ae(U),q=W[0],Z=W[1],Y=W[2];return a().totalColumnsMinWidth=q,a().totalColumnsWidth=Z,a().totalColumnsMaxWidth=Y,h(l().useInstance,a()),[].concat(a().flatHeaders,a().allColumns).forEach((function(e){e.render=x(a(),e),e.getHeaderProps=d(l().getHeaderProps,{instance:a(),column:e}),e.getFooterProps=d(l().getFooterProps,{instance:a(),column:e})})),a().headerGroups=t.useMemo((function(){return H.filter((function(e,t){return e.headers=e.headers.filter((function(e){return e.headers?function e(t){return t.filter((function(t){return t.headers?e(t.headers):t.isVisible})).length}(e.headers):e.isVisible})),!!e.headers.length&&(e.getHeaderGroupProps=d(l().getHeaderGroupProps,{instance:a(),headerGroup:e,index:t}),e.getFooterGroupProps=d(l().getFooterGroupProps,{instance:a(),headerGroup:e,index:t}),!0)}))}),[H,a,l]),a().footerGroups=[].concat(a().headerGroups).reverse(),a().prepareRow=t.useCallback((function(e){e.getRowProps=d(l().getRowProps,{instance:a(),row:e}),e.allCells=N.map((function(t){var n=e.values[t.id],r={column:t,row:e,value:n};return r.getCellProps=d(l().getCellProps,{instance:a(),cell:r}),r.render=x(a(),t,{row:e,cell:r,value:n}),r})),e.cells=F.map((function(t){return e.allCells.find((function(e){return e.column.id===t.id}))})),h(l().prepareRow,e,{instance:a()})}),[l,a,N,F]),a().getTableProps=d(l().getTableProps,{instance:a()}),a().getTableBodyProps=d(l().getTableBodyProps,{instance:a()}),h(l().useFinalInstance,a()),a()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(69297))},79521:function(e,t,n){e.exports=n(40217)},26488:function(e,t,n){var r,o=n(5623),i=n(86913),a=n(22087),c=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){function n(e,i,l){if(r++>100)throw r=0,new Error("Call stack overflow for "+l);if(""===e)throw new Error(i+"(): '"+l+"' must contain a non-whitespace string");e=function(e,t){e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");var r,i="",a=e;for(;r=c.exec(a);){r[0].index>0&&(i+=a.substring(0,r[0].index));var l=o("(",")",a.substring([0].index));if(""===l.body)throw new Error("'"+e+"' must contain a non-whitespace string");var u=n(l.body,"",t);i+=l.pre+u,a=l.post}return i+a}(e,l);var u=function(e){var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,o=r.exec(e);for(;o;)o&&o[1]&&(-1===n.indexOf(o[1].toLowerCase())&&(t.push(o[1]),n.push(o[1].toLowerCase())),o=r.exec(e));return t}(e);if(u.length>1||e.indexOf("var(")>-1)return i+"("+e+")";var s=u[0]||"";"%"===s&&(e=e.replace(/\b[0-9\.]+%/g,(function(e){return.01*parseFloat(e.slice(0,-1))})));var p,d=e.replace(new RegExp(s,"gi"),"");try{p=a.eval(d)}catch(t){return i+"("+e+")"}return"%"===s&&(p*=100),(i.length||"%"===s)&&(p=Math.round(p*t)/t),p+=s}return r=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),i(e,/((?:\-[a-z]+\-)?calc)\(/,n)}},86913:function(e,t,n){var r=n(12076);function o(e,t,n){var i=e;return function(e,t){var n=[],o="string"==typeof t?new RegExp("\\b("+t+")\\("):t;do{var i=o.exec(e);if(!i)return n;if(void 0===i[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+t);var a=i[1],c=i.index,l=r("(",")",e.substring(c));if(!l||l.start!==i[0].length-1)throw new SyntaxError(a+"(): missing closing ')' in the value '"+e+"'");n.push({matches:l,functionIdentifier:a}),e=l.post}while(o.test(e));return n}(e,t).reduce((function(e,r){return e.replace(r.functionIdentifier+"("+r.matches.body+")",function(e,t,n,r,i){return n(o(e,i,n),t,r)}(r.matches.body,r.functionIdentifier,n,i,t))}),e)}e.exports=o},12076:function(e){"use strict";function t(e,t,o){e instanceof RegExp&&(e=n(e,o)),t instanceof RegExp&&(t=n(t,o));var i=r(e,t,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+e.length,i[1]),post:o.slice(i[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,o,i,a,c,l=n.indexOf(e),u=n.indexOf(t,l+1),s=l;if(l>=0&&u>0){if(e===t)return[l,u];for(r=[],i=n.length;s>=0&&!c;)s==l?(r.push(s),l=n.indexOf(e,s+1)):1==r.length?c=[r.pop(),u]:((o=r.pop())<i&&(i=o,a=u),u=n.indexOf(t,s+1)),s=l<u&&l>=0?l:u;r.length&&(c=[i,a])}return c}e.exports=t,t.range=r},35666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new A(r||[]);return i._invoke=function(e,t,n){var r=p;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return R()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=T(a,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=s(e,t,n);if("normal"===l.type){if(r=n.done?h:d,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",d="suspendedYield",f="executing",h="completed",m={};function v(){}function g(){}function b(){}var y={};l(y,i,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(O([])));_&&_!==n&&r.call(_,i)&&(y=_);var w=b.prototype=v.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,p=u.value;return p&&"object"==typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function T(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function O(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:R}}function R(){return{value:t,done:!0}}return g.prototype=b,l(w,"constructor",b),l(b,"constructor",g),g.displayName=l(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},k(E.prototype),l(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(w),l(w,c,"Generator"),l(w,i,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},41476:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=r(n(57848)),i=n(26678);t.default=function(e,t){var n={};return e&&"string"==typeof e?(o.default(e,(function(e,r){e&&r&&(n[i.camelCase(e,t)]=r)})),n):n}},26678:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=function(e,t){return t.toUpperCase()},c=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(i,c)),e.replace(r,a))}},57848:function(e,t,n){var r=n(18139);e.exports=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,a,c=r(e),l="function"==typeof t,u=0,s=c.length;u<s;u++)i=(n=c[u]).property,a=n.value,l?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}},47977:function(e,t,n){"use strict";var r=n(232);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},65279:function(e,t,n){e.exports=n(47977)()},232:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},69297:function(t){"use strict";t.exports=e},93168:function(e){"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){"use strict";o.r(i),o.d(i,{default:function(){return wx}});var e=o(69297),t=o.n(e),n=(o(98323),function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}()),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),c="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,s=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function a(){c(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),p=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},f=y(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=h(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,c=h(r.width),l=h(r.height);if("border-box"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=m(r,"left","right")+i),Math.round(l+a)!==n&&(l-=m(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var u=Math.round(c+i)-t,s=Math.round(l+a)-n;1!==Math.abs(u)&&(c-=u),1!==Math.abs(s)&&(l-=s)}return y(o.left,o.top,c,l)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return r?g(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):v(e):f}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var x=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,r,o,i,a,c,l,u=(r=(n=t).x,o=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(c.prototype),p(l,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),l);p(this,{target:e,contentRect:u})},w=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new x(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),k="undefined"!=typeof WeakMap?new WeakMap:new n,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new w(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var T=void 0!==a.ResizeObserver?a.ResizeObserver:E,S="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==S&&S,C="URLSearchParams"in S,A="Symbol"in S&&"iterator"in Symbol,O="FileReader"in S&&"Blob"in S&&function(){try{return new Blob,!0}catch(e){return!1}}(),R="FormData"in S,z="ArrayBuffer"in S;if(z)var P=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],M=ArrayBuffer.isView||function(e){return e&&P.indexOf(Object.prototype.toString.call(e))>-1};function I(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function N(e){return"string"!=typeof e&&(e=String(e)),e}function D(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return A&&(t[Symbol.iterator]=function(){return t}),t}function L(e){this.map={},e instanceof L?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function B(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function j(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function F(e){var t=new FileReader,n=j(t);return t.readAsArrayBuffer(e),n}function H(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function U(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:O&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:R&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:C&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():z&&O&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=H(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):z&&(ArrayBuffer.prototype.isPrototypeOf(e)||M(e))?this._bodyArrayBuffer=H(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):C&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},O&&(this.blob=function(){var e=B(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=B(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(F)}),this.text=function(){var e,t,n,r=B(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=j(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},R&&(this.formData=function(){return this.text().then(q)}),this.json=function(){return this.text().then(JSON.parse)},this}L.prototype.append=function(e,t){e=I(e),t=N(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},L.prototype.delete=function(e){delete this.map[I(e)]},L.prototype.get=function(e){return e=I(e),this.has(e)?this.map[e]:null},L.prototype.has=function(e){return this.map.hasOwnProperty(I(e))},L.prototype.set=function(e,t){this.map[I(e)]=N(t)},L.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},L.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),D(e)},L.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),D(e)},L.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),D(e)},A&&(L.prototype[Symbol.iterator]=L.prototype.entries);var G=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function W(e,t){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,o=(t=t||{}).body;if(e instanceof W){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new L(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new L(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),G.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function q(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function V(e,t){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new L(t.headers),this.url=t.url||"",this._initBody(e)}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})},U.call(W.prototype),U.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new L(this.headers),url:this.url})},V.error=function(){var e=new V(null,{status:0,statusText:""});return e.type="error",e};var K=[301,302,303,307,308];V.redirect=function(e,t){if(-1===K.indexOf(t))throw new RangeError("Invalid status code");return new V(null,{status:t,headers:{location:e}})};var Z=S.DOMException;try{new Z}catch(e){Z=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},Z.prototype=Object.create(Error.prototype),Z.prototype.constructor=Z}function Y(e,t){return new Promise((function(n,r){var o=new W(e,t);if(o.signal&&o.signal.aborted)return r(new Z("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var e,t,r={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new L,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){n(new V(o,r))}),0)},i.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){r(new Z("Aborted","AbortError"))}),0)},i.open(o.method,function(e){try{return""===e&&S.location.href?S.location.href:e}catch(t){return e}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(O?i.responseType="blob":z&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof L?o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,N(t.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}Y.polyfill=!0,S.fetch||(S.fetch=Y,S.Headers=L,S.Request=W,S.Response=V);var $=o(45697),X=o.n($),J=o(94184),Q=o.n(J);function ee(){return ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ee.apply(this,arguments)}function te(e){var n=e.flexDirection,r=void 0===n?"row":n,o=e.alignItems,i=void 0===o?"center":o,a=e.margin,c=void 0===a?"0":a,l=e.display,u=void 0===l?"flex":l,s=e.children,p=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["flexDirection","alignItems","margin","display","children"]);return t().createElement("div",ee({className:"visx-legend-item",style:{display:u,alignItems:i,flexDirection:r,margin:c}},p),s)}function ne(){return ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ne.apply(this,arguments)}function re(e){var n=e.flex,r=void 0===n?"1":n,o=e.label,i=e.margin,a=void 0===i?"5px 0":i,c=e.align,l=void 0===c?"left":c,u=e.children,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["flex","label","margin","align","children"]);return t().createElement("div",ne({className:"visx-legend-label",style:{justifyContent:l,display:"flex",flex:r,margin:a}},s),u||o)}function oe(){return oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(this,arguments)}function ie(e){var n=e.fill,r=e.width,o=e.height,i=e.style;return t().createElement("div",{style:oe({width:r,height:o,background:n},i)})}te.propTypes={alignItems:X().string,margin:X().oneOfType([X().string,X().number]),children:X().node,display:X().string},re.propTypes={align:X().string,label:X().node,flex:X().oneOfType([X().string,X().number]),margin:X().oneOfType([X().string,X().number]),children:X().node},ie.propTypes={fill:X().string,width:X().oneOfType([X().string,X().number]),height:X().oneOfType([X().string,X().number])};var ae=o(99599);function ce(e){var n=e.fill,r=e.width,o=e.height,i=e.style,a="string"==typeof r||void 0===r?0:r,c="string"==typeof o||void 0===o?0:o,l=Math.max(a,c),u=l/2;return t().createElement("svg",{width:l,height:l},t().createElement(ae.Z,{top:u,left:u},t().createElement("circle",{r:u,fill:n,style:i})))}function le(e){var n=e.fill,r=e.width,o=e.height,i=e.style,a="string"==typeof o||void 0===o?0:o,c="number"==typeof(null==i?void 0:i.strokeWidth)?null==i?void 0:i.strokeWidth:2;return t().createElement("svg",{width:r,height:o},t().createElement(ae.Z,{top:a/2-c/2},t().createElement("line",{x1:0,x2:r,y1:0,y2:0,stroke:n,strokeWidth:c,style:i})))}function ue(){return ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}ce.propTypes={fill:X().string,width:X().oneOfType([X().string,X().number]),height:X().oneOfType([X().string,X().number])},le.propTypes={fill:X().string,width:X().oneOfType([X().string,X().number]),height:X().oneOfType([X().string,X().number])};var se=function(){};function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}function de(e){var n=e.shape,r=void 0===n?ie:n,o=e.width,i=e.height,a=e.margin,c=e.label,l=e.item,u=e.itemIndex,s=e.fill,p=e.size,d=e.shapeStyle;return t().createElement("div",{className:"visx-legend-shape",style:{display:"flex",width:p?p(pe({},c)):o,height:p?p(pe({},c)):i,margin:a}},function(e){var n=e.shape,r=void 0===n?"rect":n,o=e.fill,i=void 0===o?se:o,a=e.size,c=void 0===a?se:a,l=e.width,u=e.height,s=e.label,p=e.item,d=e.itemIndex,f=e.shapeStyle,h=void 0===f?se:f,m={width:l,height:u,item:p,itemIndex:d,label:s,fill:i(ue({},s)),size:c(ue({},s)),style:h(ue({},s))};return"string"==typeof r?"circle"===r?t().createElement(ce,m):"line"===r?t().createElement(le,m):t().createElement(ie,m):t().isValidElement(r)?t().cloneElement(r,m):r?t().createElement(r,m):null}({shape:r,item:l,itemIndex:u,label:c,width:o,height:i,fill:s,shapeStyle:d}))}function fe(e){return e&&"object"==typeof e&&"value"in e&&void 0!==e.value?e.value:e}function he(e){return String(fe(e))}function me(e){var t=e.scale,n=e.labelFormat;return function(e,r){return{datum:e,index:r,text:""+n(e,r),value:t(e)}}}function ve(){return ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(this,arguments)}de.propTypes={itemIndex:X().number.isRequired,margin:X().oneOfType([X().string,X().number]),fill:X().func,size:X().func,shapeStyle:X().func,width:X().oneOfType([X().string,X().number]),height:X().oneOfType([X().string,X().number])};var ge={display:"flex"};function be(e){var n=e.className,r=e.style,o=void 0===r?ge:r,i=e.scale,a=e.shape,c=e.domain,l=e.fill,u=void 0===l?he:l,s=e.size,p=void 0===s?he:s,d=e.labelFormat,f=void 0===d?fe:d,h=e.labelTransform,m=void 0===h?me:h,v=e.shapeWidth,g=void 0===v?15:v,b=e.shapeHeight,y=void 0===b?15:b,x=e.shapeMargin,_=void 0===x?"2px 4px 2px 0":x,w=e.shapeStyle,k=e.labelAlign,E=void 0===k?"left":k,T=e.labelFlex,S=void 0===T?"1":T,C=e.labelMargin,A=void 0===C?"0 4px":C,O=e.itemMargin,R=void 0===O?"0":O,z=e.direction,P=void 0===z?"column":z,M=e.itemDirection,I=void 0===M?"row":M,N=e.legendLabelProps,D=e.children,L=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["className","style","scale","shape","domain","fill","size","labelFormat","labelTransform","shapeWidth","shapeHeight","shapeMargin","shapeStyle","labelAlign","labelFlex","labelMargin","itemMargin","direction","itemDirection","legendLabelProps","children"]),B=c||("domain"in i?i.domain():[]),j=m({scale:i,labelFormat:f}),F=B.map(j);return D?t().createElement(t().Fragment,null,D(F)):t().createElement("div",{className:Q()("visx-legend",n),style:ve({},o,{flexDirection:P})},F.map((function(e,n){return t().createElement(te,ve({key:"legend-"+e.text+"-"+n,margin:R,flexDirection:I},L),t().createElement(de,{shape:a,height:y,width:g,margin:_,item:B[n],itemIndex:n,label:e,fill:u,size:p,shapeStyle:w}),t().createElement(re,ve({label:e.text,flex:S,margin:A,align:E},N)))})))}function ye(e){return t().createElement(be,e)}function xe(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function _e(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return we(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}be.propTypes={children:X().func,className:X().string,domain:X().array,shapeWidth:X().oneOfType([X().string,X().number]),shapeHeight:X().oneOfType([X().string,X().number]),shapeMargin:X().oneOfType([X().string,X().number]),labelAlign:X().string,labelFlex:X().oneOfType([X().string,X().number]),labelMargin:X().oneOfType([X().string,X().number]),itemMargin:X().oneOfType([X().string,X().number]),fill:X().func,size:X().func,shapeStyle:X().func};var ke=Symbol("implicit");function Ee(){var e=new Map,t=[],n=[],r=ke;function o(o){var i=o+"",a=e.get(i);if(!a){if(r!==ke)return r;e.set(i,a=t.push(o))}return n[(a-1)%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;var r,i=_e(n);try{for(i.s();!(r=i.n()).done;){var a=r.value,c=a+"";e.has(c)||e.set(c,t.push(a))}}catch(e){i.e(e)}finally{i.f()}return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return Ee(t,n).unknown(r)},xe.apply(o,arguments),o}function Te(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Se(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Ce(){}var Ae=.7,Oe=1/Ae,Re="\\s*([+-]?\\d+)\\s*",ze="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Pe="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Me=/^#([0-9a-f]{3,8})$/,Ie=new RegExp("^rgb\\("+[Re,Re,Re]+"\\)$"),Ne=new RegExp("^rgb\\("+[Pe,Pe,Pe]+"\\)$"),De=new RegExp("^rgba\\("+[Re,Re,Re,ze]+"\\)$"),Le=new RegExp("^rgba\\("+[Pe,Pe,Pe,ze]+"\\)$"),Be=new RegExp("^hsl\\("+[ze,Pe,Pe]+"\\)$"),je=new RegExp("^hsla\\("+[ze,Pe,Pe,ze]+"\\)$"),Fe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function He(){return this.rgb().formatHex()}function Ue(){return this.rgb().formatRgb()}function Ge(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Me.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?We(t):3===n?new Ze(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?qe(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?qe(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ie.exec(e))?new Ze(t[1],t[2],t[3],1):(t=Ne.exec(e))?new Ze(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=De.exec(e))?qe(t[1],t[2],t[3],t[4]):(t=Le.exec(e))?qe(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Be.exec(e))?Je(t[1],t[2]/100,t[3]/100,1):(t=je.exec(e))?Je(t[1],t[2]/100,t[3]/100,t[4]):Fe.hasOwnProperty(e)?We(Fe[e]):"transparent"===e?new Ze(NaN,NaN,NaN,0):null}function We(e){return new Ze(e>>16&255,e>>8&255,255&e,1)}function qe(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ze(e,t,n,r)}function Ve(e){return e instanceof Ce||(e=Ge(e)),e?new Ze((e=e.rgb()).r,e.g,e.b,e.opacity):new Ze}function Ke(e,t,n,r){return 1===arguments.length?Ve(e):new Ze(e,t,n,null==r?1:r)}function Ze(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ye(){return"#"+Xe(this.r)+Xe(this.g)+Xe(this.b)}function $e(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Xe(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Je(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new tt(e,t,n,r)}function Qe(e){if(e instanceof tt)return new tt(e.h,e.s,e.l,e.opacity);if(e instanceof Ce||(e=Ge(e)),!e)return new tt;if(e instanceof tt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,c=i-o,l=(i+o)/2;return c?(a=t===i?(n-r)/c+6*(n<r):n===i?(r-t)/c+2:(t-n)/c+4,c/=l<.5?i+o:2-i-o,a*=60):c=l>0&&l<1?0:a,new tt(a,c,l,e.opacity)}function et(e,t,n,r){return 1===arguments.length?Qe(e):new tt(e,t,n,null==r?1:r)}function tt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function nt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Te(Ce,Ge,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:He,formatHex:He,formatHsl:function(){return Qe(this).formatHsl()},formatRgb:Ue,toString:Ue}),Te(Ze,Ke,Se(Ce,{brighter:function(e){return e=null==e?Oe:Math.pow(Oe,e),new Ze(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Ae:Math.pow(Ae,e),new Ze(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ye,formatHex:Ye,formatRgb:$e,toString:$e})),Te(tt,et,Se(Ce,{brighter:function(e){return e=null==e?Oe:Math.pow(Oe,e),new tt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Ae:Math.pow(Ae,e),new tt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ze(nt(e>=240?e-240:e+120,o,r),nt(e,o,r),nt(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var rt=Math.PI/180,ot=180/Math.PI,it=.96422,at=.82521,ct=4/29,lt=6/29,ut=3*lt*lt;function st(e){if(e instanceof dt)return new dt(e.l,e.a,e.b,e.opacity);if(e instanceof yt)return xt(e);e instanceof Ze||(e=Ve(e));var t,n,r=vt(e.r),o=vt(e.g),i=vt(e.b),a=ft((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=ft((.4360747*r+.3850649*o+.1430804*i)/it),n=ft((.0139322*r+.0971045*o+.7141733*i)/at)),new dt(116*a-16,500*(t-a),200*(a-n),e.opacity)}function pt(e,t,n,r){return 1===arguments.length?st(e):new dt(e,t,n,null==r?1:r)}function dt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ft(e){return e>.008856451679035631?Math.pow(e,1/3):e/ut+ct}function ht(e){return e>lt?e*e*e:ut*(e-ct)}function mt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function vt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function gt(e){if(e instanceof yt)return new yt(e.h,e.c,e.l,e.opacity);if(e instanceof dt||(e=st(e)),0===e.a&&0===e.b)return new yt(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ot;return new yt(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function bt(e,t,n,r){return 1===arguments.length?gt(e):new yt(e,t,n,null==r?1:r)}function yt(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function xt(e){if(isNaN(e.h))return new dt(e.l,0,0,e.opacity);var t=e.h*rt;return new dt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function _t(e){return function(){return e}}function wt(e,t){return function(n){return e+n*t}}function kt(e,t){var n=t-e;return n?wt(e,n>180||n<-180?n-360*Math.round(n/360):n):_t(isNaN(e)?t:e)}function Et(e){return 1==(e=+e)?Tt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):_t(isNaN(t)?n:t)}}function Tt(e,t){var n=t-e;return n?wt(e,n):_t(isNaN(e)?t:e)}function St(e){return function(t,n){var r=e((t=bt(t)).h,(n=bt(n)).h),o=Tt(t.c,n.c),i=Tt(t.l,n.l),a=Tt(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=o(e),t.l=i(e),t.opacity=a(e),t+""}}}Te(dt,pt,Se(Ce,{brighter:function(e){return new dt(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new dt(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ze(mt(3.1338561*(t=it*ht(t))-1.6168667*(e=1*ht(e))-.4906146*(n=at*ht(n))),mt(-.9787684*t+1.9161415*e+.033454*n),mt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Te(yt,bt,Se(Ce,{brighter:function(e){return new yt(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new yt(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return xt(this).rgb()}}));var Ct=St(kt),At=St(Tt);function Ot(e){return function(t,n){var r=e((t=et(t)).h,(n=et(n)).h),o=Tt(t.s,n.s),i=Tt(t.l,n.l),a=Tt(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=o(e),t.l=i(e),t.opacity=a(e),t+""}}}var Rt=Ot(kt),zt=Ot(Tt),Pt=-.14861,Mt=1.78277,It=-.29227,Nt=-.90649,Dt=1.97294,Lt=Dt*Nt,Bt=Dt*Mt,jt=Mt*It-Nt*Pt;function Ft(e){if(e instanceof Ut)return new Ut(e.h,e.s,e.l,e.opacity);e instanceof Ze||(e=Ve(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(jt*r+Lt*t-Bt*n)/(jt+Lt-Bt),i=r-o,a=(Dt*(n-o)-It*i)/Nt,c=Math.sqrt(a*a+i*i)/(Dt*o*(1-o)),l=c?Math.atan2(a,i)*ot-120:NaN;return new Ut(l<0?l+360:l,c,o,e.opacity)}function Ht(e,t,n,r){return 1===arguments.length?Ft(e):new Ut(e,t,n,null==r?1:r)}function Ut(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Gt(e){return function t(n){function r(t,r){var o=e((t=Ht(t)).h,(r=Ht(r)).h),i=Tt(t.s,r.s),a=Tt(t.l,r.l),c=Tt(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=c(e),t+""}}return n=+n,r.gamma=t,r}(1)}Te(Ut,Ht,Se(Ce,{brighter:function(e){return e=null==e?Oe:Math.pow(Oe,e),new Ut(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Ae:Math.pow(Ae,e),new Ut(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*rt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Ze(255*(t+n*(Pt*r+Mt*o)),255*(t+n*(It*r+Nt*o)),255*(t+n*(Dt*r)),this.opacity)}}));var Wt=Gt(kt),qt=Gt(Tt);function Vt(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}var Kt=function e(t){var n=Et(t);function r(e,t){var r=n((e=Ke(e)).r,(t=Ke(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Tt(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Zt(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),c=new Array(o);for(n=0;n<o;++n)r=Ke(t[n]),i[n]=r.r||0,a[n]=r.g||0,c[n]=r.b||0;return i=e(i),a=e(a),c=e(c),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=c(e),r+""}}}Zt((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,c=r<t-1?e[r+2]:2*i-o;return Vt((n-r/t)*t,a,o,i,c)}})),Zt((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],c=e[(r+2)%t];return Vt((n-r/t)*t,o,i,a,c)}}));var Yt={lab:function(e,t){var n=Tt((e=pt(e)).l,(t=pt(t)).l),r=Tt(e.a,t.a),o=Tt(e.b,t.b),i=Tt(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=o(t),e.opacity=i(t),e+""}},hcl:Ct,"hcl-long":At,hsl:Rt,"hsl-long":zt,cubehelix:Wt,"cubehelix-long":qt,rgb:Kt};var $t=new Date,Xt=new Date;function Jt(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,c=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return c;do{c.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return c},o.filter=function(n){return Jt((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return $t.setTime(+t),Xt.setTime(+r),e($t),e(Xt),Math.floor(n($t,Xt))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var Qt=1e3,en=6e4,tn=36e5,nn=864e5,rn=6048e5,on=Jt((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*en)/nn}),(function(e){return e.getDate()-1})),an=on,cn=(on.range,Jt((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Qt-e.getMinutes()*en)}),(function(e,t){e.setTime(+e+t*tn)}),(function(e,t){return(t-e)/tn}),(function(e){return e.getHours()}))),ln=cn,un=(cn.range,Jt((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Qt)}),(function(e,t){e.setTime(+e+t*en)}),(function(e,t){return(t-e)/en}),(function(e){return e.getMinutes()}))),sn=un,pn=(un.range,Jt((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),dn=pn,fn=(pn.range,Jt((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Qt)}),(function(e,t){return(t-e)/Qt}),(function(e){return e.getUTCSeconds()}))),hn=fn;fn.range;function mn(e){return Jt((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*en)/rn}))}var vn=mn(0),gn=mn(1),bn=mn(2),yn=mn(3),xn=mn(4),_n=mn(5),wn=mn(6),kn=(vn.range,gn.range,bn.range,yn.range,xn.range,_n.range,wn.range,Jt((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));kn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Jt((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var En=kn,Tn=(kn.range,Jt((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/nn}),(function(e){return e.getUTCDate()-1}))),Sn=Tn,Cn=(Tn.range,Jt((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*tn)}),(function(e,t){return(t-e)/tn}),(function(e){return e.getUTCHours()}))),An=Cn,On=(Cn.range,Jt((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*en)}),(function(e,t){return(t-e)/en}),(function(e){return e.getUTCMinutes()}))),Rn=On,zn=(On.range,Jt((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),Pn=zn;zn.range;function Mn(e){return Jt((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/rn}))}var In=Mn(0),Nn=Mn(1),Dn=Mn(2),Ln=Mn(3),Bn=Mn(4),jn=Mn(5),Fn=Mn(6),Hn=(In.range,Nn.range,Dn.range,Ln.range,Bn.range,jn.range,Fn.range,Jt((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Hn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Jt((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var Un=Hn,Gn=(Hn.range,new Date(Date.UTC(2020,1,2,3,4,5)));var Wn={day:an,hour:ln,minute:sn,month:dn,second:hn,week:vn,year:En},qn={day:Sn,hour:An,minute:Rn,month:Pn,second:hn,week:In,year:Un};function Vn(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var Kn=["domain","nice","zero","interpolate","round","range","reverse","align","base","clamp","constant","exponent","padding","unknown"],Zn={domain:function(e,t){t.domain&&e.domain(t.domain)},nice:function(e,t){if("nice"in t&&void 0!==t.nice&&"nice"in e){var n=t.nice;if("boolean"==typeof n)n&&e.nice();else if("number"==typeof n)e.nice(n);else{var r=e,o=function(e){return"2020-02-02 03:04"===e.tickFormat(1,"%Y-%m-%d %H:%M")(Gn)}(r);if("string"==typeof n)r.nice(o?qn[n]:Wn[n]);else{var i=n.interval,a=n.step,c=(o?qn[i]:Wn[i]).every(a);null!=c&&r.nice(c)}}}},zero:function(e,t){if("zero"in t&&!0===t.zero){var n=e.domain(),r=n[0],o=n[1],i=o<r,a=i?[o,r]:[r,o],c=a[0],l=a[1],u=[Math.min(0,c),Math.max(0,l)];e.domain(i?u.reverse():u)}},interpolate:function(e,t){if("interpolate"in t&&"interpolate"in e&&void 0!==t.interpolate){var n=function(e){switch(e){case"lab":case"hcl":case"hcl-long":case"hsl":case"hsl-long":case"cubehelix":case"cubehelix-long":case"rgb":return Yt[e]}var t=e.type,n=e.gamma,r=Yt[t];return void 0===n?r:r.gamma(n)}(t.interpolate);e.interpolate(n)}},round:function(e,t){"round"in t&&void 0!==t.round&&(t.round&&"interpolate"in t&&void 0!==t.interpolate?console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:",t):"round"in e?e.round(t.round):"interpolate"in e&&t.round&&e.interpolate(Vn))},align:function(e,t){"align"in e&&"align"in t&&void 0!==t.align&&e.align(t.align)},base:function(e,t){"base"in e&&"base"in t&&void 0!==t.base&&e.base(t.base)},clamp:function(e,t){"clamp"in e&&"clamp"in t&&void 0!==t.clamp&&e.clamp(t.clamp)},constant:function(e,t){"constant"in e&&"constant"in t&&void 0!==t.constant&&e.constant(t.constant)},exponent:function(e,t){"exponent"in e&&"exponent"in t&&void 0!==t.exponent&&e.exponent(t.exponent)},padding:function(e,t){"padding"in e&&"padding"in t&&void 0!==t.padding&&e.padding(t.padding),"paddingInner"in e&&"paddingInner"in t&&void 0!==t.paddingInner&&e.paddingInner(t.paddingInner),"paddingOuter"in e&&"paddingOuter"in t&&void 0!==t.paddingOuter&&e.paddingOuter(t.paddingOuter)},range:function(e,t){t.range&&e.range(t.range)},reverse:function(e,t){if(t.reverse){var n=e.range().slice().reverse();e.range(n)}},unknown:function(e,t){"unknown"in e&&"unknown"in t&&void 0!==t.unknown&&e.unknown(t.unknown)}};function Yn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=new Set(t),o=Kn.filter((function(e){return r.has(e)}));return function(e,t){return void 0!==t&&o.forEach((function(n){Zn[n](e,t)})),e}}var $n=Yn("domain","range","reverse","unknown");var Xn=o(70390);function Jn(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Qn(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function er(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var tr,nr,rr,or={"-":"",_:" ",0:"0"},ir=/^\s*\d+/,ar=/^%/,cr=/[\\^$*+?|[\]().{}]/g;function lr(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function ur(e){return e.replace(cr,"\\$&")}function sr(e){return new RegExp("^(?:"+e.map(ur).join("|")+")","i")}function pr(e){return new Map(e.map((function(e,t){return[e.toLowerCase(),t]})))}function dr(e,t,n){var r=ir.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function fr(e,t,n){var r=ir.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function hr(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function mr(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function vr(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function gr(e,t,n){var r=ir.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function br(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function yr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function xr(e,t,n){var r=ir.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function _r(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function wr(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function kr(e,t,n){var r=ir.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Er(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Tr(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Sr(e,t,n){var r=ir.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Cr(e,t,n){var r=ir.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=ir.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Or(e,t,n){var r=ar.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Rr(e,t,n){var r=ir.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=ir.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Pr(e,t){return lr(e.getDate(),t,2)}function Mr(e,t){return lr(e.getHours(),t,2)}function Ir(e,t){return lr(e.getHours()%12||12,t,2)}function Nr(e,t){return lr(1+an.count(En(e),e),t,3)}function Dr(e,t){return lr(e.getMilliseconds(),t,3)}function Lr(e,t){return Dr(e,t)+"000"}function Br(e,t){return lr(e.getMonth()+1,t,2)}function jr(e,t){return lr(e.getMinutes(),t,2)}function Fr(e,t){return lr(e.getSeconds(),t,2)}function Hr(e){var t=e.getDay();return 0===t?7:t}function Ur(e,t){return lr(vn.count(En(e)-1,e),t,2)}function Gr(e){var t=e.getDay();return t>=4||0===t?xn(e):xn.ceil(e)}function Wr(e,t){return e=Gr(e),lr(xn.count(En(e),e)+(4===En(e).getDay()),t,2)}function qr(e){return e.getDay()}function Vr(e,t){return lr(gn.count(En(e)-1,e),t,2)}function Kr(e,t){return lr(e.getFullYear()%100,t,2)}function Zr(e,t){return lr((e=Gr(e)).getFullYear()%100,t,2)}function Yr(e,t){return lr(e.getFullYear()%1e4,t,4)}function $r(e,t){var n=e.getDay();return lr((e=n>=4||0===n?xn(e):xn.ceil(e)).getFullYear()%1e4,t,4)}function Xr(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+lr(t/60|0,"0",2)+lr(t%60,"0",2)}function Jr(e,t){return lr(e.getUTCDate(),t,2)}function Qr(e,t){return lr(e.getUTCHours(),t,2)}function eo(e,t){return lr(e.getUTCHours()%12||12,t,2)}function to(e,t){return lr(1+Sn.count(Un(e),e),t,3)}function no(e,t){return lr(e.getUTCMilliseconds(),t,3)}function ro(e,t){return no(e,t)+"000"}function oo(e,t){return lr(e.getUTCMonth()+1,t,2)}function io(e,t){return lr(e.getUTCMinutes(),t,2)}function ao(e,t){return lr(e.getUTCSeconds(),t,2)}function co(e){var t=e.getUTCDay();return 0===t?7:t}function lo(e,t){return lr(In.count(Un(e)-1,e),t,2)}function uo(e){var t=e.getUTCDay();return t>=4||0===t?Bn(e):Bn.ceil(e)}function so(e,t){return e=uo(e),lr(Bn.count(Un(e),e)+(4===Un(e).getUTCDay()),t,2)}function po(e){return e.getUTCDay()}function fo(e,t){return lr(Nn.count(Un(e)-1,e),t,2)}function ho(e,t){return lr(e.getUTCFullYear()%100,t,2)}function mo(e,t){return lr((e=uo(e)).getUTCFullYear()%100,t,2)}function vo(e,t){return lr(e.getUTCFullYear()%1e4,t,4)}function go(e,t){var n=e.getUTCDay();return lr((e=n>=4||0===n?Bn(e):Bn.ceil(e)).getUTCFullYear()%1e4,t,4)}function bo(){return"+0000"}function yo(){return"%"}function xo(e){return+e}function _o(e){return Math.floor(+e/1e3)}tr=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,c=e.months,l=e.shortMonths,u=sr(o),s=pr(o),p=sr(i),d=pr(i),f=sr(a),h=pr(a),m=sr(c),v=pr(c),g=sr(l),b=pr(l),y={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Pr,e:Pr,f:Lr,g:Zr,G:$r,H:Mr,I:Ir,j:Nr,L:Dr,m:Br,M:jr,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:xo,s:_o,S:Fr,u:Hr,U:Ur,V:Wr,w:qr,W:Vr,x:null,X:null,y:Kr,Y:Yr,Z:Xr,"%":yo},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Jr,e:Jr,f:ro,g:mo,G:go,H:Qr,I:eo,j:to,L:no,m:oo,M:io,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:xo,s:_o,S:ao,u:co,U:lo,V:so,w:po,W:fo,x:null,X:null,y:ho,Y:vo,Z:bo,"%":yo},_={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:wr,e:wr,f:Ar,g:br,G:gr,H:Er,I:Er,j:kr,L:Cr,m:_r,M:Tr,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=s.get(r[0].toLowerCase()),n+r[0].length):-1},q:xr,Q:Rr,s:zr,S:Sr,u:fr,U:hr,V:mr,w:dr,W:vr,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:br,Y:gr,Z:yr,"%":Or};function w(e,t){return function(n){var r,o,i,a=[],c=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++c<u;)37===e.charCodeAt(c)&&(a.push(e.slice(l,c)),null!=(o=or[r=e.charAt(++c)])?r=e.charAt(++c):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=c+1);return a.push(e.slice(l,c)),a.join("")}}function k(e,t){return function(n){var r,o,i=er(1900,void 0,1);if(E(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Qn(er(i.y,0,1))).getUTCDay(),r=o>4||0===o?Nn.ceil(r):Nn(r),r=Sn.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Jn(er(i.y,0,1))).getDay(),r=o>4||0===o?gn.ceil(r):gn(r),r=an.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Qn(er(i.y,0,1)).getUTCDay():Jn(er(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Qn(i)):Jn(i)}}function E(e,t,n,r){for(var o,i,a=0,c=t.length,l=n.length;a<c;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=_[o in or?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return y.x=w(n,y),y.X=w(r,y),y.c=w(t,y),x.x=w(n,x),x.X=w(r,x),x.c=w(t,x),{format:function(e){var t=w(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),nr=tr.format,rr=tr.parse,tr.utcFormat,tr.utcParse;var wo=o(57460),ko=o.n(wo),Eo=o(30488),To=(Eo.domToReact,Eo.htmlToDOM,Eo.attributesToProps,Eo.Element,Eo);o(88291);function So(e){var n=e.viewport,r=void 0===n?"lg":n;return t().createElement("section",{className:"loading","aria-live":"assertive"},t().createElement("span",{className:"sr-only",style:{display:"none"}},"Content is loading."),t().createElement("div",{className:"la-ball-beat la-dark ".concat(r)},t().createElement("div",null),t().createElement("div",null),t().createElement("div",null)))}function Co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ao(e){return Ao="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ao(e)}function Oo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ro=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constants={errorMessageEmtpyData:"Your data file is empty.",errorMessageFormat:"Your datatype is not supported.",descriptionHeader:1,descriptionRoot:2,descriptionSeriesFilter:3}}var t,n,r;return t=e,(n=[{key:"autoStandardize",value:function(e){var t=[];if(0===e.length&&t.push(this.constants.errorMessageEmptyData),(!e.filter||e.filter((function(e){return"object"!==Ao(e)})).length>0)&&t.push(this.constants.errorMessageFormat),!(t.length>0)){if(e.filter((function(e){return e.constructor!==Object})).length>0){for(var n=[],r=function(t){var r={};e[t].forEach((function(t,n){r[e[0][n]]=t})),n.push(r)},o=1;o<e.length;o++)r(o);e=n}return e}console.error(t)}},{key:"developerStandardize",value:function(e,t){if(t&&void 0!==t.horizontal&&void 0!==t.series&&(!0!==t.series||!1!==t.horizontal||void 0!==t.singleRow)){if(!0===t.horizontal){if(!0===t.series){if(!t.seriesKey)return;var n={},r=[];return e.forEach((function(e){var r=[];Object.keys(e).forEach((function(n){n!==t.seriesKey&&isNaN(parseFloat(e[n]))&&r.push(n)})),Object.keys(e).forEach((function(o){if(o!==t.seriesKey&&-1===r.indexOf(o)){var i,a=o+"|"+r.map((function(t){return t+"="+e[t]}));n[a]||(n[a]=(Co(i={},e[t.seriesKey],e[o]),Co(i,"key",o),i),r.forEach((function(t){n[a][t]=e[t]}))),n[a][e[t.seriesKey]]=e[o]}}))})),Object.keys(n).forEach((function(e){r.push(n[e])})),r}var o=[];return e.forEach((function(e){var t=[];Object.keys(e).forEach((function(n){isNaN(parseFloat(e[n]))&&t.push(n)})),Object.keys(e).forEach((function(n){if(-1===t.indexOf(n)){var r={key:n,value:e[n]};t.forEach((function(t){r[t]=e[t]})),o.push(r)}}))})),o}if(!0!==t.series||!1!==t.singleRow)return e;if(void 0!==t.seriesKey&&void 0!==t.xKey&&void 0!==t.valueKey){var i={},a=[];return e.forEach((function(e){var n,r=[],o=e[t.xKey];Object.keys(e).forEach((function(n){n!==t.xKey&&n!==t.seriesKey&&n!==t.valueKey&&(o+="|"+n+"="+e[n],r.push(n))})),i[o]?i[o][e[t.seriesKey]]=e[t.valueKey]:(i[o]=(Co(n={},t.xKey,e[t.xKey]),Co(n,e[t.seriesKey],e[t.valueKey]),n),r.forEach((function(t){i[o][t]=e[t]})))})),Object.keys(i).forEach((function(e){a.push(i[e])})),a}}}}])&&Oo(t.prototype,n),r&&Oo(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function zo(e){var t="lg",n={lg:1200,md:992,sm:768,xs:576,xxs:350};if(e>1200)return t;for(var r in n)e<=n[r]&&(t=r);return t}function Po(){return Po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Po.apply(this,arguments)}function Mo(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Io(e){return function(e){if(Array.isArray(e))return Lo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Do(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function No(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Do(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function Do(e,t){if(e){if("string"==typeof e)return Lo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lo(e,t):void 0}}function Lo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bo(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jo(e,t)}function jo(e,t){return jo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},jo(e,t)}function Fo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Go(e);if(t){var o=Go(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ho(this,n)}}function Ho(e,t){if(t&&("object"===Zo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Uo(e)}function Uo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Go(e)}function Wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vo(e,t,n){return t&&qo(e.prototype,t),n&&qo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zo(e){return Zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zo(e)}var Yo={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(Zo(e)!==Zo(t))return!1;if(Yo.str(e)||Yo.num(e))return e===t;if(Yo.obj(e)&&Yo.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!Yo.und(n)||e===t}};function $o(){var t=(0,e.useState)(!1)[1];return(0,e.useCallback)((function(){return t((function(e){return!e}))}),[])}function Xo(e,t){return Yo.und(e)||Yo.nul(e)?t:e}function Jo(e){return Yo.und(e)?[]:Yo.arr(e)?e:[e]}function Qo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Yo.fun(e)?e.apply(void 0,n):e}function ei(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,Mo(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(Yo.und(t))return Po({to:t},e);var n=Object.keys(e).reduce((function(n,r){return Yo.und(t[r])?Po({},n,Ko({},r,e[r])):n}),{});return Po({to:t},n)}var ti,ni,ri=function(){function e(){Wo(this,e),this.payload=void 0,this.children=[]}return Vo(e,[{key:"getAnimatedValue",value:function(){return this.getValue()}},{key:"getPayload",value:function(){return this.payload||this}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"getChildren",value:function(){return this.children}},{key:"addChild",value:function(e){0===this.children.length&&this.attach(),this.children.push(e)}},{key:"removeChild",value:function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}]),e}(),oi=function(e){Bo(n,e);var t=Fo(n);function n(){var e;return Wo(this,n),(e=t.apply(this,arguments)).payload=[],e.attach=function(){return e.payload.forEach((function(t){return t instanceof ri&&t.addChild(Uo(e))}))},e.detach=function(){return e.payload.forEach((function(t){return t instanceof ri&&t.removeChild(Uo(e))}))},e}return Vo(n)}(ri),ii=function(e){Bo(n,e);var t=Fo(n);function n(){var e;return Wo(this,n),(e=t.apply(this,arguments)).payload={},e.attach=function(){return Object.values(e.payload).forEach((function(t){return t instanceof ri&&t.addChild(Uo(e))}))},e.detach=function(){return Object.values(e.payload).forEach((function(t){return t instanceof ri&&t.removeChild(Uo(e))}))},e}return Vo(n,[{key:"getValue",value:function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof ri)&&(t[n]=r instanceof ri?r[e?"getAnimatedValue":"getValue"]():r)}return t}},{key:"getAnimatedValue",value:function(){return this.getValue(!0)}}]),n}(ri);function ai(e,t){ti={fn:e,transform:t}}function ci(e){ni=e}var li,ui=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1};function si(e){li=e}var pi=function(){return Date.now()};function di(e){e}var fi,hi,mi=function(e){return e.current};function vi(e){fi=e}var gi=function(e){Bo(n,e);var t=Fo(n);function n(e,r){var o;return Wo(this,n),(o=t.call(this)).update=void 0,o.payload=e.style?Po({},e,{style:fi(e.style)}):e,o.update=r,o.attach(),o}return Vo(n)}(ii),bi=!1,yi=new Set,xi=function e(){if(!bi)return!1;var t,n=pi(),r=No(yi);try{for(r.s();!(t=r.n()).done;){for(var o=t.value,i=!1,a=0;a<o.configs.length;a++){for(var c=o.configs[a],l=void 0,u=void 0,s=0;s<c.animatedValues.length;s++){var p=c.animatedValues[s];if(!p.done){var d=c.fromValues[s],f=c.toValues[s],h=p.lastPosition,m=f instanceof ri,v=Array.isArray(c.initialVelocity)?c.initialVelocity[s]:c.initialVelocity;if(m&&(f=f.getValue()),c.immediate)p.setValue(f),p.done=!0;else if("string"!=typeof d&&"string"!=typeof f){if(void 0!==c.duration)h=d+c.easing((n-p.startTime)/c.duration)*(f-d),l=n>=p.startTime+c.duration;else if(c.decay)h=d+v/(1-.998)*(1-Math.exp(-(1-.998)*(n-p.startTime))),(l=Math.abs(p.lastPosition-h)<.1)&&(f=h);else{u=void 0!==p.lastTime?p.lastTime:n,v=void 0!==p.lastVelocity?p.lastVelocity:c.initialVelocity,n>u+64&&(u=n);for(var g=Math.floor(n-u),b=0;b<g;++b){h+=1*(v+=1*((-c.tension*(h-f)+-c.friction*v)/c.mass)/1e3)/1e3}var y=!(!c.clamp||0===c.tension)&&(d<f?h>f:h<f),x=Math.abs(v)<=c.precision,_=0===c.tension||Math.abs(f-h)<=c.precision;l=y||x&&_,p.lastVelocity=v,p.lastTime=n}m&&!c.toValues[s].done&&(l=!1),l?(p.value!==f&&(h=f),p.done=!0):i=!0,p.setValue(h),p.lastPosition=h}else p.setValue(f),p.done=!0}}o.props.onFrame&&(o.values[c.name]=c.interpolation.getValue())}o.props.onFrame&&o.props.onFrame(o.values),i||(yi.delete(o),o.stop(!0))}}catch(e){r.e(e)}finally{r.f()}return yi.size?hi?hi():ui(e):bi=!1,bi};function _i(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return _i({range:e,output:t,extrapolate:n});if(li&&"string"==typeof e.output[0])return li(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,c,l){var u=l?l(e):e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>n){if("identity"===c)return u;"clamp"===c&&(u=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t);u=i(u),r===-1/0?u=-u:o===1/0?u+=r:u=u*(o-r)+r;return u}(e,i[t],i[t+1],o[t],o[t+1],l,a,c,r.map)}}var wi=function(e){Bo(n,e);var t=Fo(n);function n(e,r,o,i){var a;return Wo(this,n),(a=t.call(this)).calc=void 0,a.payload=e instanceof oi&&!(e instanceof n)?e.getPayload():Array.isArray(e)?e:[e],a.calc=_i(r,o,i),a}return Vo(n,[{key:"getValue",value:function(){return this.calc.apply(this,Io(this.payload.map((function(e){return e.getValue()}))))}},{key:"updateConfig",value:function(e,t,n){this.calc=_i(e,t,n)}},{key:"interpolate",value:function(e,t,r){return new n(this,e,t,r)}}]),n}(oi),ki=function(e,t,n){return e&&new wi(e,t,n)};function Ei(e,t){"update"in e?t.add(e):e.getChildren().forEach((function(e){return Ei(e,t)}))}var Ti=function(e){Bo(n,e);var t=Fo(n);function n(e){var r,o;return Wo(this,n),r=t.call(this),o=Uo(r),r.animatedStyles=new Set,r.value=void 0,r.startPosition=void 0,r.lastPosition=void 0,r.lastVelocity=void 0,r.startTime=void 0,r.lastTime=void 0,r.done=!1,r.setValue=function(e,t){void 0===t&&(t=!0),o.value=e,t&&o.flush()},r.value=e,r.startPosition=e,r.lastPosition=e,r}return Vo(n,[{key:"flush",value:function(){0===this.animatedStyles.size&&Ei(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))}},{key:"clearStyles",value:function(){this.animatedStyles.clear()}},{key:"getValue",value:function(){return this.value}},{key:"interpolate",value:function(e,t,n){return new wi(this,e,t,n)}}]),n}(ri),Si=function(e){Bo(n,e);var t=Fo(n);function n(e){var r;return Wo(this,n),(r=t.call(this)).payload=e.map((function(e){return new Ti(e)})),r}return Vo(n,[{key:"setValue",value:function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))}},{key:"getValue",value:function(){return this.payload.map((function(e){return e.getValue()}))}},{key:"interpolate",value:function(e,t){return new wi(this,e,t)}}]),n}(oi),Ci=0,Ai=function(){function e(){var t=this;Wo(this,e),this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return t.interpolations},this.id=Ci++}return Vo(e,[{key:"update",value:function(e){if(!e)return this;var t=ei(e),n=t.delay,r=void 0===n?0:n,o=t.to,i=Mo(t,["delay","to"]);if(Yo.arr(o)||Yo.fun(o))this.queue.push(Po({},i,{delay:r,to:o}));else if(o){var a={};Object.entries(o).forEach((function(e){var t=e[0],n=Po({to:Ko({},t,e[1]),delay:Qo(r,t)},i),o=a[n.delay]&&a[n.delay].to;a[n.delay]=Po({},a[n.delay],n,{to:Po({},o,n.to)})})),this.queue=Object.values(a)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(i),this}},{key:"start",value:function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,o=e.to,i=void 0===o?{}:o;Yo.obj(r)&&(n.merged=Po({},r,n.merged)),Yo.obj(i)&&(n.merged=Po({},n.merged,i))}));var r=this.local=++this.guid,o=this.localQueue=this.queue;this.queue=[],o.forEach((function(t,i){var a=t.delay,c=Mo(t,["delay"]),l=function(t){i===o.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},u=Yo.arr(c.to)||Yo.fun(c.to);a?setTimeout((function(){r===n.guid&&(u?n.runAsync(c,l):n.diff(c).start(l))}),a):u?n.runAsync(c,l):n.diff(c).start(l)}))}else Yo.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,yi.has(t)||yi.add(t),bi||(bi=!0,ui(hi||xi));return this}},{key:"stop",value:function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this}},{key:"pause",value:function(e){var t;return this.stop(!0),e&&(t=this,yi.has(t)&&yi.delete(t)),this}},{key:"runAsync",value:function(e,t){var n=this,r=this,o=(e.delay,Mo(e,["delay"])),i=this.local,a=Promise.resolve(void 0);if(Yo.arr(o.to))for(var c=function(e){var t=e,r=Po({},o,ei(o.to[t]));Yo.arr(r.config)&&(r.config=r.config[t]),a=a.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(r).start(e)}))}))},l=0;l<o.to.length;l++)c(l);else if(Yo.fun(o.to)){var u,s=0;a=a.then((function(){return o.to((function(e){var t=Po({},o,ei(e));if(Yo.arr(t.config)&&(t.config=t.config[s]),s++,i===n.guid)return u=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),r.stop(e)})).then((function(){return u}))}))}a.then(t)}},{key:"diff",value:function(e){var t=this;this.props=Po({},this.props,e);var n=this.props,r=n.from,o=void 0===r?{}:r,i=n.to,a=void 0===i?{}:i,c=n.config,l=void 0===c?{}:c,u=n.reverse,s=n.attach,p=n.reset,d=n.immediate;if(u){var f=[a,o];o=f[0],a=f[1]}this.merged=Po({},o,this.merged,a),this.hasChanged=!1;var h=s&&s(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],i=n[1],a=e[r]||{},c=Yo.num(i),u=Yo.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!ni[i],s=Yo.arr(i),f=!c&&!s&&!u,m=Yo.und(o[r])?i:o[r],v=c||s||u?i:1,g=Qo(l,r);h&&(v=h.animations[r].parent);var b,y=a.parent,x=a.interpolation,_=Jo(h?v.getPayload():v),w=i;f&&(w=li({range:[0,1],output:[i,i]})(1));var k=x&&x.getValue(),E=!Yo.und(y)&&a.animatedValues.some((function(e){return!e.done})),T=!Yo.equ(w,k),S=!Yo.equ(w,a.previous),C=!Yo.equ(g,a.config);if(p||S&&T||C){if(c||u)y=x=a.parent||new Ti(m);else if(s)y=x=a.parent||new Si(m);else if(f){var A=a.interpolation&&a.interpolation.calc(a.parent.value);A=void 0===A||p?m:A,a.parent?(y=a.parent).setValue(0,!1):y=new Ti(0);var O={output:[A,i]};a.interpolation?(x=a.interpolation,a.interpolation.updateConfig(O)):x=y.interpolate(O)}return _=Jo(h?v.getPayload():v),b=Jo(y.getPayload()),p&&!f&&y.setValue(m,!1),t.hasChanged=!0,b.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=E?e.lastVelocity:void 0,e.lastTime=E?e.lastTime:void 0,e.startTime=pi(),e.done=!1,e.animatedStyles.clear()})),Qo(d,r)&&y.setValue(f?v:i,!1),Po({},e,Ko({},r,Po({},a,{name:r,parent:y,interpolation:x,animatedValues:b,toValues:_,previous:w,config:g,fromValues:Jo(y.getValue()),immediate:Qo(d,r),initialVelocity:Xo(g.velocity,0),clamp:Xo(g.clamp,!1),precision:Xo(g.precision,.01),tension:Xo(g.tension,170),friction:Xo(g.friction,26),mass:Xo(g.mass,1),duration:g.duration,easing:Xo(g.easing,(function(e){return e})),decay:g.decay})))}return T?e:(f&&(y.setValue(1,!1),x.updateConfig({output:[w,w]})),y.done=!0,t.hasChanged=!0,Po({},e,Ko({},r,Po({},e[r],{previous:w}))))}),this.animations),this.hasChanged)for(var m in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[m]=this.animations[m].interpolation,this.values[m]=this.animations[m].interpolation.getValue();return this}},{key:"destroy",value:function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}}]),e}(),Oi=0,Ri="enter",zi="leave",Pi="update",Mi=function(e,t){return("function"==typeof t?e.map(t):Jo(t)).map(String)},Ii=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,o=Mo(e,["items","keys"]);return Po({items:t=Jo(void 0!==t?t:null),keys:Mi(t,r)},o)};function Ni(t,n,r){var o=Po({items:t,keys:n||function(e){return e}},r),i=Ii(o),a=i.lazy,c=void 0!==a&&a,l=(i.unique,i.reset),u=void 0!==l&&l,s=(i.enter,i.leave,i.update,i.onDestroyed),p=(i.keys,i.items,i.onFrame),d=i.onRest,f=i.onStart,h=i.ref,m=Mo(i,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),v=$o(),g=(0,e.useRef)(!1),b=(0,e.useRef)({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!o.ref,instances:!g.current&&new Map,forceUpdate:v});return(0,e.useImperativeHandle)(o.ref,(function(){return{start:function(){return Promise.all(Array.from(b.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(b.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(b.current.instances).map((function(e){return e[1]}))}}})),b.current=function(e,t){var n=e.first,r=e.prevProps,o=Mo(e,["first","prevProps"]),i=Ii(t),a=i.items,c=i.keys,l=i.initial,u=i.from,s=i.enter,p=i.leave,d=i.update,f=i.trail,h=void 0===f?0:f,m=i.unique,v=i.config,g=i.order,b=void 0===g?[Ri,zi,Pi]:g,y=Ii(r),x=y.keys,_=y.items,w=Po({},o.current),k=Io(o.deleted),E=Object.keys(w),T=new Set(E),S=new Set(c),C=c.filter((function(e){return!T.has(e)})),A=o.transitions.filter((function(e){return!e.destroyed&&!S.has(e.originalKey)})).map((function(e){return e.originalKey})),O=c.filter((function(e){return T.has(e)})),R=-h;for(;b.length;){switch(b.shift()){case Ri:C.forEach((function(e,t){m&&k.find((function(t){return t.originalKey===e}))&&(k=k.filter((function(t){return t.originalKey!==e})));var r=c.indexOf(e),o=a[r],i=n&&void 0!==l?"initial":Ri;w[e]={slot:i,originalKey:e,key:m?String(e):Oi++,item:o,trail:R+=h,config:Qo(v,o,i),from:Qo(n&&void 0!==l?l||{}:u,o),to:Qo(s,o)}}));break;case zi:A.forEach((function(e){var t=x.indexOf(e),n=_[t],r=zi;k.unshift(Po({},w[e],{slot:r,destroyed:!0,left:x[Math.max(0,t-1)],right:x[Math.min(x.length,t+1)],trail:R+=h,config:Qo(v,n,r),to:Qo(p,n)})),delete w[e]}));break;case Pi:O.forEach((function(e){var t=c.indexOf(e),n=a[t],r=Pi;w[e]=Po({},w[e],{item:n,slot:r,trail:R+=h,config:Qo(v,n,r),to:Qo(d,n)})}))}}var z=c.map((function(e){return w[e]}));return k.forEach((function(e){var t,n=e.left,r=(e.right,Mo(e,["left","right"]));-1!==(t=z.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),z=[].concat(Io(z.slice(0,t)),[r],Io(z.slice(t)))})),Po({},o,{changed:C.length||A.length||O.length,first:n&&0===C.length,transitions:z,current:w,deleted:k,prevProps:t})}(b.current,o),b.current.changed&&b.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,o=e.config,i=e.trail,a=e.key,l=e.item;b.current.instances.has(a)||b.current.instances.set(a,new Ai);var v=b.current.instances.get(a),g=Po({},m,{to:r,from:n,config:o,ref:h,onRest:function(n){b.current.mounted&&(e.destroyed&&(h||c||Di(b,a),s&&s(l)),!Array.from(b.current.instances).some((function(e){return!e[1].idle}))&&(h||c)&&b.current.deleted.length>0&&Di(b),d&&d(l,t,n))},onStart:f&&function(){return f(l,t)},onFrame:p&&function(e){return p(l,t,e)},delay:i,reset:u&&t===Ri});v.update(g),b.current.paused||v.start()})),(0,e.useEffect)((function(){return b.current.mounted=g.current=!0,function(){b.current.mounted=g.current=!1,Array.from(b.current.instances).map((function(e){return e[1].destroy()})),b.current.instances.clear()}}),[]),b.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:b.current.instances.get(r).getValues()}}))}function Di(e,t){var n,r=No(e.current.deleted);try{var o=function(){var r=n.value.key,o=function(e){return e.key!==r};(Yo.und(t)||t===r)&&(e.current.instances.delete(r),e.current.transitions=e.current.transitions.filter(o),e.current.deleted=e.current.deleted.filter(o))};for(r.s();!(n=r.n()).done;)o()}catch(e){r.e(e)}finally{r.f()}e.current.forceUpdate()}var Li=function(e){Bo(n,e);var t=Fo(n);function n(e){var r;return Wo(this,n),void 0===e&&(e={}),r=t.call(this),!e.transform||e.transform instanceof ri||(e=ti.transform(e)),r.payload=e,r}return Vo(n)}(ii),Bi={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},ji="[-+]?\\d*\\.?\\d+",Fi=ji+"%";function Hi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var Ui=new RegExp("rgb"+Hi(ji,ji,ji)),Gi=new RegExp("rgba"+Hi(ji,ji,ji,ji)),Wi=new RegExp("hsl"+Hi(ji,Fi,Fi)),qi=new RegExp("hsla"+Hi(ji,Fi,Fi,ji)),Vi=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ki=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Zi=/^#([0-9a-fA-F]{6})$/,Yi=/^#([0-9a-fA-F]{8})$/;function $i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Xi(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=$i(o,r,e+1/3),a=$i(o,r,e),c=$i(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*c)<<8}function Ji(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function Qi(e){return(parseFloat(e)%360+360)%360/360}function ea(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ta(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function na(e){var t=function(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Zi.exec(e))?parseInt(t[1]+"ff",16)>>>0:Bi.hasOwnProperty(e)?Bi[e]:(t=Ui.exec(e))?(Ji(t[1])<<24|Ji(t[2])<<16|Ji(t[3])<<8|255)>>>0:(t=Gi.exec(e))?(Ji(t[1])<<24|Ji(t[2])<<16|Ji(t[3])<<8|ea(t[4]))>>>0:(t=Vi.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Yi.exec(e))?parseInt(t[1],16)>>>0:(t=Ki.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Wi.exec(e))?(255|Xi(Qi(t[1]),ta(t[2]),ta(t[3])))>>>0:(t=qi.exec(e))?(Xi(Qi(t[1]),ta(t[2]),ta(t[3]))|ea(t[4]))>>>0:null}(e);if(null===t)return e;var n=(16711680&(t=t||0))>>>16,r=(65280&t)>>>8,o=(255&t)/255;return"rgba(".concat((4278190080&t)>>>24,", ").concat(n,", ").concat(r,", ").concat(o,")")}var ra=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,oa=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ia=new RegExp("(".concat(Object.keys(Bi).join("|"),")"),"g"),aa={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ca=["Webkit","Ms","Moz","O"];function la(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||aa.hasOwnProperty(e)&&aa[e]?(""+t).trim():t+"px"}aa=Object.keys(aa).reduce((function(e,t){return ca.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),aa);var ua={};vi((function(e){return new Li(e)})),di("div"),si((function(e){var t=e.output.map((function(e){return e.replace(oa,na)})).map((function(e){return e.replace(ia,na)})),n=t[0].match(ra).map((function(){return[]}));t.forEach((function(e){e.match(ra).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(ra).map((function(t,r){return _i(Po({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(ra,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba(".concat(Math.round(t),", ").concat(Math.round(n),", ").concat(Math.round(r),", ").concat(o,")")}))}})),ci(Bi),ai((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,a=Mo(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),s=la(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,s):e.style[l]=s}for(var p in a){var d=c?p:ua[p]||(ua[p]=p.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(d)&&e.setAttribute(d,a[p])}}),(function(e){return e}));var sa,pa,da=(sa=function(n){return(0,e.forwardRef)((function(r,o){var i=$o(),a=(0,e.useRef)(!0),c=(0,e.useRef)(null),l=(0,e.useRef)(null),u=(0,e.useCallback)((function(e){var t=c.current;c.current=new gi(e,(function(){var e=!1;l.current&&(e=ti.fn(l.current,c.current.getAnimatedValue())),l.current&&!1!==e||i()})),t&&t.detach()}),[]);(0,e.useEffect)((function(){return function(){a.current=!1,c.current&&c.current.detach()}}),[]),(0,e.useImperativeHandle)(o,(function(){return mi(l,a,i)})),u(r);var s,p=c.current.getValue(),d=(p.scrollTop,p.scrollLeft,Mo(p,["scrollTop","scrollLeft"])),f=(s=n,!Yo.fun(s)||s.prototype instanceof t().Component?function(e){return l.current=function(e,t){return t&&(Yo.fun(t)?t(e):Yo.obj(t)&&(t.current=e)),e}(e,o)}:void 0);return t().createElement(n,Po({},d,{ref:f}))}))},void 0===(pa=!1)&&(pa=!0),function(e){return(Yo.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=pa?t[0].toLowerCase()+t.substring(1):t;return e[n]=sa(n),e}),sa)}),fa=da(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ha="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),ma=new Uint8Array(16);function va(){if(!ha)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ha(ma)}for(var ga=[],ba=0;ba<256;++ba)ga[ba]=(ba+256).toString(16).substr(1);var ya=function(e,t){var n=t||0,r=ga;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var xa=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||va)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[r+i]=o[i];return t||ya(o)};function _a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wa(e,t,n){return t&&_a(e.prototype,t),n&&_a(e,n),e}function ka(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ea(){return Ea=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ea.apply(this,arguments)}function Ta(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 Sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ta(Object(n),!0).forEach((function(t){ka(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ta(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ca(e)}function Aa(e,t){return Aa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Aa(e,t)}function Oa(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Ra={HIDE:"__react_tooltip_hide_event",REBUILD:"__react_tooltip_rebuild_event",SHOW:"__react_tooltip_show_event"},za=function(e,t){var n;"function"==typeof window.CustomEvent?n=new window.CustomEvent(e,{detail:t}):(n=document.createEvent("Event")).initEvent(e,!1,!0,t),window.dispatchEvent(n)};var Pa=function(e,t){var n=this.state.show,r=this.props.id,o=this.isCapture(t.currentTarget),i=t.currentTarget.getAttribute("currentItem");o||t.stopPropagation(),n&&"true"===i?e||this.hideTooltip(t):(t.currentTarget.setAttribute("currentItem","true"),Ma(t.currentTarget,this.getTargetArray(r)),this.showTooltip(t))},Ma=function(e,t){for(var n=0;n<t.length;n++)e!==t[n]?t[n].setAttribute("currentItem","false"):t[n].setAttribute("currentItem","true")},Ia={id:"9b69f92e-d3fe-498b-b1b4-c5e63a51b0cf",set:function(e,t,n){this.id in e?e[this.id][t]=n:Object.defineProperty(e,this.id,{configurable:!0,value:ka({},t,n)})},get:function(e,t){var n=e[this.id];if(void 0!==n)return n[t]}};var Na=function(e,t,n){var r=t.respectEffect,o=void 0!==r&&r,i=t.customEvent,a=void 0!==i&&i,c=this.props.id,l=n.target.getAttribute("data-tip")||null,u=n.target.getAttribute("data-for")||null,s=n.target;if(!this.isCustomEvent(s)||a){var p=null==c&&null==u||u===c;if(null!=l&&(!o||"float"===this.getEffect(s))&&p){var d=function(e){var t={};for(var n in e)"function"==typeof e[n]?t[n]=e[n].bind(e):t[n]=e[n];return t}(n);d.currentTarget=s,e(d)}}},Da=function(e,t){var n={};return e.forEach((function(e){var r=e.getAttribute(t);r&&r.split(" ").forEach((function(e){return n[e]=!0}))})),n},La=function(){return document.getElementsByTagName("body")[0]};function Ba(e,t,n,r,o,i,a){for(var c=ja(n),l=c.width,u=c.height,s=ja(t),p=s.width,d=s.height,f=Fa(e,t,i),h=f.mouseX,m=f.mouseY,v=Ha(i,p,d,l,u),g=Ua(a),b=g.extraOffsetX,y=g.extraOffsetY,x=window.innerWidth,_=window.innerHeight,w=Ga(n),k=w.parentTop,E=w.parentLeft,T=function(e){var t=v[e].l;return h+t+b},S=function(e){var t=v[e].t;return m+t+y},C=function(e){return function(e){var t=v[e].r;return h+t+b}(e)>x},A=function(e){return function(e){var t=v[e].b;return m+t+y}(e)>_},O=function(e){return function(e){return T(e)<0}(e)||C(e)||function(e){return S(e)<0}(e)||A(e)},R=function(e){return!O(e)},z=["top","bottom","left","right"],P=[],M=0;M<4;M++){var I=z[M];R(I)&&P.push(I)}var N,D=!1,L=o!==r;return R(o)&&L?(D=!0,N=o):P.length>0&&O(o)&&O(r)&&(D=!0,N=P[0]),D?{isNewState:!0,newState:{place:N}}:{isNewState:!1,position:{left:parseInt(T(r)-E,10),top:parseInt(S(r)-k,10)}}}var ja=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.width;return{height:parseInt(n,10),width:parseInt(r,10)}},Fa=function(e,t,n){var r=t.getBoundingClientRect(),o=r.top,i=r.left,a=ja(t),c=a.width,l=a.height;return"float"===n?{mouseX:e.clientX,mouseY:e.clientY}:{mouseX:i+c/2,mouseY:o+l/2}},Ha=function(e,t,n,r,o){var i,a,c,l;return"float"===e?(i={l:-r/2,r:r/2,t:-(o+3+2),b:-3},c={l:-r/2,r:r/2,t:15,b:o+3+2+12},l={l:-(r+3+2),r:-3,t:-o/2,b:o/2},a={l:3,r:r+3+2,t:-o/2,b:o/2}):"solid"===e&&(i={l:-r/2,r:r/2,t:-(n/2+o+2),b:-n/2},c={l:-r/2,r:r/2,t:n/2,b:n/2+o+2},l={l:-(r+t/2+2),r:-t/2,t:-o/2,b:o/2},a={l:t/2,r:r+t/2+2,t:-o/2,b:o/2}),{top:i,bottom:c,left:l,right:a}},Ua=function(e){var t=0,n=0;for(var r in"[object String]"===Object.prototype.toString.apply(e)&&(e=JSON.parse(e.toString().replace(/'/g,'"'))),e)"top"===r?n-=parseInt(e[r],10):"bottom"===r?n+=parseInt(e[r],10):"left"===r?t-=parseInt(e[r],10):"right"===r&&(t+=parseInt(e[r],10));return{extraOffsetX:t,extraOffsetY:n}},Ga=function(e){for(var t=e;t&&"none"===window.getComputedStyle(t).getPropertyValue("transform");)t=t.parentElement;return{parentTop:t&&t.getBoundingClientRect().top||0,parentLeft:t&&t.getBoundingClientRect().left||0}};function Wa(e,n,r,o){if(n)return n;if(null!=r)return r;if(null===r)return null;var i=/<br\s*\/?>/;return o&&"false"!==o&&i.test(e)?e.split(i).map((function(e,n){return t().createElement("span",{key:n,className:"multi-line"},e)})):e}function qa(e){var t={};return Object.keys(e).filter((function(e){return/(^aria-\w+$|^role$)/.test(e)})).forEach((function(n){t[n]=e[n]})),t}function Va(e){var t=e.length;return e.hasOwnProperty?Array.prototype.slice.call(e):new Array(t).fill().map((function(t){return e[t]}))}!function(e){if(e&&"undefined"!=typeof window){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}}('.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n padding: 8px 21px;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n bottom: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-bottom::before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n top: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-left::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n right: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip.place-right::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n left: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}');var Ka,Za,Ya,$a={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}};function Xa(e,t,n,r){return function(e,t){var n=t.text,r=t.background,o=t.border,i=t.arrow;return"\n \t.".concat(e," {\n\t color: ").concat(n,";\n\t background: ").concat(r,";\n\t border: 1px solid ").concat(o,";\n \t}\n\n \t.").concat(e,".place-top {\n margin-top: -10px;\n }\n .").concat(e,".place-top::before {\n border-top: 8px solid ").concat(o,";\n }\n .").concat(e,".place-top::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n bottom: -6px;\n left: 50%;\n margin-left: -8px;\n border-top-color: ").concat(i,";\n border-top-style: solid;\n border-top-width: 6px;\n }\n\n .").concat(e,".place-bottom {\n margin-top: 10px;\n }\n .").concat(e,".place-bottom::before {\n border-bottom: 8px solid ").concat(o,";\n }\n .").concat(e,".place-bottom::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n top: -6px;\n left: 50%;\n margin-left: -8px;\n border-bottom-color: ").concat(i,";\n border-bottom-style: solid;\n border-bottom-width: 6px;\n }\n\n .").concat(e,".place-left {\n margin-left: -10px;\n }\n .").concat(e,".place-left::before {\n border-left: 8px solid ").concat(o,";\n }\n .").concat(e,".place-left::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n right: -6px;\n top: 50%;\n margin-top: -4px;\n border-left-color: ").concat(i,";\n border-left-style: solid;\n border-left-width: 6px;\n }\n\n .").concat(e,".place-right {\n margin-left: 10px;\n }\n .").concat(e,".place-right::before {\n border-right: 8px solid ").concat(o,";\n }\n .").concat(e,".place-right::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n left: -6px;\n top: 50%;\n margin-top: -4px;\n border-right-color: ").concat(i,";\n border-right-style: solid;\n border-right-width: 6px;\n }\n ")}(e,function(e,t,n){var r=e.text,o=e.background,i=e.border,a=e.arrow?e.arrow:e.background,c=function(e){return $a[e]?Sa({},$a[e]):void 0}(t);r&&(c.text=r);o&&(c.background=o);n&&(c.border=i||("light"===t?"black":"white"));a&&(c.arrow=a);return c}(t,n,r))}var Ja=function(e){e.hide=function(e){za(Ra.HIDE,{target:e})},e.rebuild=function(){za(Ra.REBUILD)},e.show=function(e){za(Ra.SHOW,{target:e})},e.prototype.globalRebuild=function(){this.mount&&(this.unbindListener(),this.bindListener())},e.prototype.globalShow=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.showTooltip({currentTarget:t&&e.detail.target},!0)}},e.prototype.globalHide=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.hideTooltip({currentTarget:t&&e.detail.target},t)}}}(Ka=function(e){e.prototype.bindWindowEvents=function(e){window.removeEventListener(Ra.HIDE,this.globalHide),window.addEventListener(Ra.HIDE,this.globalHide,!1),window.removeEventListener(Ra.REBUILD,this.globalRebuild),window.addEventListener(Ra.REBUILD,this.globalRebuild,!1),window.removeEventListener(Ra.SHOW,this.globalShow),window.addEventListener(Ra.SHOW,this.globalShow,!1),e&&(window.removeEventListener("resize",this.onWindowResize),window.addEventListener("resize",this.onWindowResize,!1))},e.prototype.unbindWindowEvents=function(){window.removeEventListener(Ra.HIDE,this.globalHide),window.removeEventListener(Ra.REBUILD,this.globalRebuild),window.removeEventListener(Ra.SHOW,this.globalShow),window.removeEventListener("resize",this.onWindowResize)},e.prototype.onWindowResize=function(){this.mount&&this.hideTooltip()}}(Ka=function(e){e.prototype.isCustomEvent=function(e){return this.state.event||!!e.getAttribute("data-event")},e.prototype.customBindListener=function(e){var t=this,n=this.state,r=n.event,o=n.eventOff,i=e.getAttribute("data-event")||r,a=e.getAttribute("data-event-off")||o;i.split(" ").forEach((function(n){e.removeEventListener(n,Ia.get(e,n));var r=Pa.bind(t,a);Ia.set(e,n,r),e.addEventListener(n,r,!1)})),a&&a.split(" ").forEach((function(n){e.removeEventListener(n,t.hideTooltip),e.addEventListener(n,t.hideTooltip,!1)}))},e.prototype.customUnbindListener=function(e){var t=this.state,n=t.event,r=t.eventOff,o=n||e.getAttribute("data-event"),i=r||e.getAttribute("data-event-off");e.removeEventListener(o,Ia.get(e,n)),i&&e.removeEventListener(i,this.hideTooltip)}}(Ka=function(e){e.prototype.isCapture=function(e){return e&&"true"===e.getAttribute("data-iscapture")||this.props.isCapture||!1}}(Ka=function(e){e.prototype.getEffect=function(e){return e.getAttribute("data-effect")||this.props.effect||"float"}}(Ka=function(e){e.prototype.isBodyMode=function(){return!!this.props.bodyMode},e.prototype.bindBodyListener=function(e){var t=this,n=this.state,r=n.event,o=n.eventOff,i=n.possibleCustomEvents,a=n.possibleCustomEventsOff,c=La(),l=Da(e,"data-event"),u=Da(e,"data-event-off");null!=r&&(l[r]=!0),null!=o&&(u[o]=!0),i.split(" ").forEach((function(e){return l[e]=!0})),a.split(" ").forEach((function(e){return u[e]=!0})),this.unbindBodyListener(c);var s=this.bodyModeListeners={};for(var p in null==r&&(s.mouseover=Na.bind(this,this.showTooltip,{}),s.mousemove=Na.bind(this,this.updateTooltip,{respectEffect:!0}),s.mouseout=Na.bind(this,this.hideTooltip,{})),l)s[p]=Na.bind(this,(function(e){var n=e.currentTarget.getAttribute("data-event-off")||o;Pa.call(t,n,e)}),{customEvent:!0});for(var d in u)s[d]=Na.bind(this,this.hideTooltip,{customEvent:!0});for(var f in s)c.addEventListener(f,s[f])},e.prototype.unbindBodyListener=function(e){e=e||La();var t=this.bodyModeListeners;for(var n in t)e.removeEventListener(n,t[n])}}(Ka=function(e){e.prototype.bindRemovalTracker=function(){var e=this,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(null!=t){var n=new t((function(t){for(var n=0;n<t.length;n++)for(var r=t[n],o=0;o<r.removedNodes.length;o++){if(r.removedNodes[o]===e.state.currentTarget)return void e.hideTooltip()}}));n.observe(window.document,{childList:!0,subtree:!0}),this.removalTracker=n}},e.prototype.unbindRemovalTracker=function(){this.removalTracker&&(this.removalTracker.disconnect(),this.removalTracker=null)}}((Ya=Za=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=Oa(this,Ca(n).call(this,e))).state={uuid:e.uuid||"t"+xa(),place:e.place||"top",desiredPlace:e.place||"top",type:"dark",effect:"float",show:!1,border:!1,customColors:{},offset:{},extraClass:"",html:!1,delayHide:0,delayShow:0,event:e.event||null,eventOff:e.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:qa(e),isEmptyTip:!1,disable:!1,possibleCustomEvents:e.possibleCustomEvents||"",possibleCustomEventsOff:e.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},t.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),t.mount=!0,t.delayShowLoop=null,t.delayHideLoop=null,t.delayReshow=null,t.intervalUpdateContent=null,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Aa(e,t)}(n,e),wa(n,null,[{key:"propTypes",get:function(){return{uuid:X().string,children:X().any,place:X().string,type:X().string,effect:X().string,offset:X().object,multiline:X().bool,border:X().bool,textColor:X().string,backgroundColor:X().string,borderColor:X().string,arrowColor:X().string,insecure:X().bool,class:X().string,className:X().string,id:X().string,html:X().bool,delayHide:X().number,delayUpdate:X().number,delayShow:X().number,event:X().string,eventOff:X().string,isCapture:X().bool,globalEventOff:X().string,getContent:X().any,afterShow:X().func,afterHide:X().func,overridePosition:X().func,disable:X().bool,scrollHide:X().bool,resizeHide:X().bool,wrapper:X().string,bodyMode:X().bool,possibleCustomEvents:X().string,possibleCustomEventsOff:X().string,clickable:X().bool}}}]),wa(n,[{key:"bind",value:function(e){var t=this;e.forEach((function(e){t[e]=t[e].bind(t)}))}},{key:"componentDidMount",value:function(){var e=this.props,t=(e.insecure,e.resizeHide);this.bindListener(),this.bindWindowEvents(t)}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"mouseOnToolTip",value:function(){return!(!this.state.show||!this.tooltipRef)&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(e){var t,n=[];if(e){var r=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');t='[data-tip][data-for="'.concat(r,'"]')}else t="[data-tip]:not([data-for])";return Va(document.getElementsByTagName("*")).filter((function(e){return e.shadowRoot})).forEach((function(e){n=n.concat(Va(e.shadowRoot.querySelectorAll(t)))})),n.concat(Va(document.querySelectorAll(t)))}},{key:"bindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff,o=t.isCapture,i=this.getTargetArray(n);i.forEach((function(t){null===t.getAttribute("currentItem")&&t.setAttribute("currentItem","false"),e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)})),this.isBodyMode()?this.bindBodyListener(i):i.forEach((function(t){var n=e.isCapture(t),r=e.getEffect(t);e.isCustomEvent(t)?e.customBindListener(t):(t.addEventListener("mouseenter",e.showTooltip,n),"float"===r&&t.addEventListener("mousemove",e.updateTooltip,n),t.addEventListener("mouseleave",e.hideTooltip,n))})),r&&(window.removeEventListener(r,this.hideTooltip),window.addEventListener(r,this.hideTooltip,o)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(n).forEach((function(t){e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)}));r&&window.removeEventListener(r,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(e){var t=this.isCapture(e);e.removeEventListener("mouseenter",this.showTooltip,t),e.removeEventListener("mousemove",this.updateTooltip,t),e.removeEventListener("mouseleave",this.hideTooltip,t)}},{key:"getTooltipContent",value:function(){var e,t=this.props,n=t.getContent,r=t.children;return n&&(e=Array.isArray(n)?n[0]&&n[0](this.state.originTooltip):n(this.state.originTooltip)),Wa(this.state.originTooltip,r,e,this.state.isMultiline)}},{key:"isEmptyTip",value:function(e){return"string"==typeof e&&""===e||null===e}},{key:"showTooltip",value:function(e,t){if(this.tooltipRef){if(t)if(!this.getTargetArray(this.props.id).some((function(t){return t===e.currentTarget})))return;var n=this.props,r=n.multiline,o=n.getContent,i=e.currentTarget.getAttribute("data-tip"),a=e.currentTarget.getAttribute("data-multiline")||r||!1,c=e instanceof window.FocusEvent||t,l=!0;e.currentTarget.getAttribute("data-scroll-hide")?l="true"===e.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(l=this.props.scrollHide);var u=e.currentTarget.getAttribute("data-place")||this.props.place||"top",s=c?"solid":this.getEffect(e.currentTarget),p=e.currentTarget.getAttribute("data-offset")||this.props.offset||{},d=Ba(e,e.currentTarget,this.tooltipRef,u,u,s,p);d.position&&this.props.overridePosition&&(d.position=this.props.overridePosition(d.position,e,e.currentTarget,this.tooltipRef,u,u,s,p));var f=d.isNewState?d.newState.place:u;this.clearTimer();var h=e.currentTarget,m=this.state.show?h.getAttribute("data-delay-update")||this.props.delayUpdate:0,v=this,g=function(){v.setState({originTooltip:i,isMultiline:a,desiredPlace:u,place:f,type:h.getAttribute("data-type")||v.props.type||"dark",customColors:{text:h.getAttribute("data-text-color")||v.props.textColor||null,background:h.getAttribute("data-background-color")||v.props.backgroundColor||null,border:h.getAttribute("data-border-color")||v.props.borderColor||null,arrow:h.getAttribute("data-arrow-color")||v.props.arrowColor||null},effect:s,offset:p,html:(h.getAttribute("data-html")?"true"===h.getAttribute("data-html"):v.props.html)||!1,delayShow:h.getAttribute("data-delay-show")||v.props.delayShow||0,delayHide:h.getAttribute("data-delay-hide")||v.props.delayHide||0,delayUpdate:h.getAttribute("data-delay-update")||v.props.delayUpdate||0,border:(h.getAttribute("data-border")?"true"===h.getAttribute("data-border"):v.props.border)||!1,extraClass:h.getAttribute("data-class")||v.props.class||v.props.className||"",disable:(h.getAttribute("data-tip-disable")?"true"===h.getAttribute("data-tip-disable"):v.props.disable)||!1,currentTarget:h},(function(){l&&v.addScrollListener(v.state.currentTarget),v.updateTooltip(e),o&&Array.isArray(o)&&(v.intervalUpdateContent=setInterval((function(){if(v.mount){var e=v.props.getContent,t=Wa(i,"",e[0](),a),n=v.isEmptyTip(t);v.setState({isEmptyTip:n}),v.updatePosition()}}),o[1]))}))};m?this.delayReshow=setTimeout(g,m):g()}}},{key:"updateTooltip",value:function(e){var t=this,n=this.state,r=n.delayShow,o=n.disable,i=this.props.afterShow,a=this.getTooltipContent(),c=parseInt(r,10),l=e.currentTarget||e.target;if(!this.mouseOnToolTip()&&!this.isEmptyTip(a)&&!o){var u=function(){if(Array.isArray(a)&&a.length>0||a){var n=!t.state.show;t.setState({currentEvent:e,currentTarget:l,show:!0},(function(){t.updatePosition(),n&&i&&i(e)}))}};clearTimeout(this.delayShowLoop),r?this.delayShowLoop=setTimeout(u,c):u()}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},o=this.state.disable,i=r.isScroll,a=i?0:this.state.delayHide,c=this.props.afterHide,l=this.getTooltipContent();if(this.mount&&!this.isEmptyTip(l)&&!o){if(t){var u=this.getTargetArray(this.props.id),s=u.some((function(t){return t===e.currentTarget}));if(!s||!this.state.show)return}var p=function(){var t=n.state.show;n.mouseOnToolTip()?n.listenForTooltipExit():(n.removeListenerForTooltipExit(),n.setState({show:!1},(function(){n.removeScrollListener(n.state.currentTarget),t&&c&&c(e)})))};this.clearTimer(),a?this.delayHideLoop=setTimeout(p,parseInt(a,10)):p()}}},{key:"hideTooltipOnScroll",value:function(e,t){this.hideTooltip(e,t,{isScroll:!0})}},{key:"addScrollListener",value:function(e){var t=this.isCapture(e);window.addEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"removeScrollListener",value:function(e){var t=this.isCapture(e);window.removeEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"updatePosition",value:function(){var e=this,t=this.state,n=t.currentEvent,r=t.currentTarget,o=t.place,i=t.desiredPlace,a=t.effect,c=t.offset,l=this.tooltipRef,u=Ba(n,r,l,o,i,a,c);if(u.position&&this.props.overridePosition&&(u.position=this.props.overridePosition(u.position,n,r,l,o,i,a,c)),u.isNewState)return this.setState(u.newState,(function(){e.updatePosition()}));l.style.left=u.position.left+"px",l.style.top=u.position.top+"px"}},{key:"clearTimer",value:function(){clearTimeout(this.delayShowLoop),clearTimeout(this.delayHideLoop),clearTimeout(this.delayReshow),clearInterval(this.intervalUpdateContent)}},{key:"hasCustomColors",value:function(){var e=this;return Boolean(Object.keys(this.state.customColors).find((function(t){return"border"!==t&&e.state.customColors[t]}))||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var e=this,r=this.state,o=r.extraClass,i=r.html,a=r.ariaProps,c=r.disable,l=this.getTooltipContent(),u=this.isEmptyTip(l),s=Xa(this.state.uuid,this.state.customColors,this.state.type,this.state.border),p="__react_component_tooltip"+" ".concat(this.state.uuid)+(!this.state.show||c||u?"":" show")+(this.state.border?" border":"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),d=this.props.wrapper;n.supportedWrappers.indexOf(d)<0&&(d=n.defaultProps.wrapper);var f=[p,o].filter(Boolean).join(" ");if(i){var h="".concat(l,"\n<style>").concat(s,"</style>");return t().createElement(d,Ea({className:"".concat(f),id:this.props.id,ref:function(t){return e.tooltipRef=t}},a,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:h}}))}return t().createElement(d,Ea({className:"".concat(f),id:this.props.id},a,{ref:function(t){return e.tooltipRef=t},"data-id":"tooltip"}),t().createElement("style",{dangerouslySetInnerHTML:{__html:s}}),l)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.ariaProps,r=qa(e);return Object.keys(r).some((function(e){return r[e]!==n[e]}))?Sa({},t,{ariaProps:r}):null}}]),n}(t().Component),ka(Za,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),ka(Za,"supportedWrappers",["div","span"]),ka(Za,"displayName","ReactTooltip"),Ka=Ya))||Ka)||Ka)||Ka)||Ka)||Ka)||Ka)||Ka,Qa=Ja,ec=o(73391),tc=o(65792),nc=o.n(tc),rc=o(26488),oc=o.n(rc),ic=o(88306),ac="__react_svg_text_measurement_id";var cc=o.n(ic)()((function(e,t){try{var n=document.getElementById(ac);if(!n){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.style.width="0",r.style.height="0",r.style.position="absolute",r.style.top="-100%",r.style.left="-100%",(n=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",ac),r.appendChild(n),document.body.appendChild(r)}return Object.assign(n.style,t),n.textContent=e,n.getComputedTextLength()}catch(e){return null}}),(function(e,t){return e+"_"+JSON.stringify(t)}));function lc(e){return"number"==typeof e}function uc(e){return"number"==typeof e&&Number.isFinite(e)||"string"==typeof e}function sc(t){var n=t.verticalAnchor,r=void 0===n?"end":n,o=t.scaleToFit,i=void 0!==o&&o,a=t.angle,c=t.width,l=t.lineHeight,u=void 0===l?"1em":l,s=t.capHeight,p=void 0===s?"0.71em":s,d=t.children,f=t.style,h=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["verticalAnchor","scaleToFit","angle","width","lineHeight","capHeight","children","style"]),m=h.x,v=void 0===m?0:m,g=h.y,b=void 0===g?0:g,y=!uc(v)||!uc(b),x=(0,e.useMemo)((function(){return{wordsWithWidth:(null==d?[]:d.toString().split(/(?:(?!\u00A0+)\s+)/)).map((function(e){return{word:e,wordWidth:cc(e,f)||0}})),spaceWidth:cc(" ",f)||0}}),[d,f]),_=x.wordsWithWidth,w=x.spaceWidth,k=(0,e.useMemo)((function(){return y?[]:c||i?_.reduce((function(e,t){var n=t.word,r=t.wordWidth,o=e[e.length-1];if(o&&(null==c||i||(o.width||0)+r+w<c))o.words.push(n),o.width=o.width||0,o.width+=r+w;else{var a={words:[n],width:r};e.push(a)}return e}),[]):[{words:null==d?[]:d.toString().split(/(?:(?!\u00A0+)\s+)/)}]}),[y,c,i,d,_,w]),E=(0,e.useMemo)((function(){return y?"":"start"===r?oc()("calc("+p+")"):"middle"===r?oc()("calc("+(k.length-1)/2+" * -"+u+" + ("+p+" / 2))"):oc()("calc("+(k.length-1)+" * -"+u+")")}),[y,r,p,k.length,u]),T=(0,e.useMemo)((function(){var e=[];if(y)return"";if(lc(v)&&lc(b)&&lc(c)&&i&&k.length>0){var t=k[0].width||1,n=c/t,r=n,o=v-n*v,l=b-r*b;e.push("matrix("+n+", 0, 0, "+r+", "+o+", "+l+")")}return a&&e.push("rotate("+a+", "+v+", "+b+")"),e.length>0?e.join(" "):""}),[y,v,b,c,i,k,a]);return{wordsByLines:k,startDy:E,transform:T}}function pc(){return pc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pc.apply(this,arguments)}var dc={overflow:"visible"};function fc(e){var n=e.dx,r=void 0===n?0:n,o=e.dy,i=void 0===o?0:o,a=e.textAnchor,c=void 0===a?"start":a,l=e.innerRef,u=e.innerTextRef,s=(e.verticalAnchor,e.angle,e.lineHeight),p=void 0===s?"1em":s,d=(e.scaleToFit,e.capHeight,e.width,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["dx","dy","textAnchor","innerRef","innerTextRef","verticalAnchor","angle","lineHeight","scaleToFit","capHeight","width"])),f=d.x,h=void 0===f?0:f,m=d.fontSize,v=sc(e),g=v.wordsByLines,b=v.startDy,y=v.transform;return t().createElement("svg",{ref:l,x:r,y:i,fontSize:m,style:dc},g.length>0?t().createElement("text",pc({ref:u,transform:y},d,{textAnchor:c}),g.map((function(e,n){return t().createElement("tspan",{key:n,x:h,dy:0===n?b:p},e.words.join(" "))}))):null)}var hc=(0,e.createContext)({});function mc(e){return mc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mc(e)}function vc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gc(e,t){return gc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},gc(e,t)}function bc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xc(e);if(t){var o=xc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yc(this,n)}}function yc(e,t){if(t&&("object"===mc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},xc(e)}var _c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gc(e,t)}(a,e);var n,r,o,i=bc(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={hasError:!1},t}return n=a,r=[{key:"componentDidCatch",value:function(e,t){console.warn(e,t)}},{key:"render",value:function(){return this.state.hasError?this.props.component?t().createElement("h1",null,"Something went wrong with component ",this.props.component,"."):t().createElement("h1",null,"Something went wrong."):this.props.children}}],o=[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0}}}],r&&vc(n.prototype,r),o&&vc(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t().Component),wc=_c,kc=function(){return kc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},kc.apply(this,arguments)},Ec=function(e){return{startAngle:e.startAngle,endAngle:e.endAngle}};function Tc(){var n=(0,e.useContext)(hc),r=n.transformedData,o=n.config,i=n.dimensions,a=n.seriesHighlight,c=n.colorScale,l=n.formatNumber,u=n.currentViewport,s=(0,e.useState)(void 0),p=s[0],d=s[1];function f(e){var n=e.arcs,r=e.path,i=Ni(n,e.getKey,{from:Ec,enter:Ec,update:Ec,leave:Ec});return t().createElement(t().Fragment,null,i.map((function(e){var n=e.item,i=e.props,u=e.key,s=o.runtime.yAxis.label?"".concat(o.runtime.yAxis.label,": ").concat(l(n.data[o.runtime.yAxis.dataKey])):l(n.data[o.runtime.yAxis.dataKey]),p=o.runtime.xAxis.label?"".concat(o.runtime.xAxis.label,": ").concat(n.data[o.runtime.xAxis.dataKey]):n.data[o.runtime.xAxis.dataKey],d="<div>\n ".concat(s,"<br />\n ").concat(p,"<br />");return t().createElement(ae.Z,{key:u,style:{opacity:"highlight"===o.legend.behavior&&a.length>0&&-1===a.indexOf(n.data[o.runtime.xAxis.dataKey])?.5:1}},t().createElement(fa.path,{d:ki([i.startAngle,i.endAngle],(function(e,t){return r(kc(kc({},n),{startAngle:e,endAngle:t}))})),fill:c(n.data[o.runtime.xAxis.dataKey]),"data-tip":d,"data-for":"cdc-open-viz-tooltip-".concat(o.runtime.uniqueId)}))})),i.map((function(e){var n=e.item,i=e.key,a=r.centroid(n),l=a[0],u=a[1],s=n.endAngle-n.startAngle>=.1,p="#FFF";return nc().contrast(p,c(n.data[o.runtime.xAxis.dataKey]))<3.5&&(p="000"),t().createElement(fa.g,{key:i},s&&t().createElement(fc,{style:{fill:p},x:l,y:u,dy:".33em",textAnchor:"middle",pointerEvents:"none"},Math.round(180*(n.endAngle-n.startAngle)/Math.PI/360*100)+"%"))})))}var h=i[0];o&&o.legend&&!o.legend.hide&&"lg"===u&&(h*=.73);var m=o.aspectRatio?h*o.aspectRatio:o.height,v=Math.min(h,m)/2,g=m/2,b=h/2,y="Donut"===o.pieType?75:v;return(0,e.useEffect)((function(){if(a.length>0&&"highlight"!==o.legend.behavior){var e=[];r.forEach((function(t){-1!==a.indexOf(t[o.runtime.xAxis.dataKey])&&e.push(t)})),d(e)}else d(void 0)}),[a]),(0,e.useEffect)((function(){Qa.rebuild()})),t().createElement(wc,{component:"PieChart"},t().createElement("svg",{width:h,height:m},t().createElement(ae.Z,{top:g,left:b},t().createElement(ec.Z,{data:p||r,pieValue:function(e){return e[o.runtime.yAxis.dataKey]},pieSortValues:function(){return-1},innerRadius:v-y,outerRadius:v},(function(e){return t().createElement(f,kc({},e,{getKey:function(e){return e.data[o.runtime.xAxis.dataKey]}}))})))),t().createElement(Qa,{id:"cdc-open-viz-tooltip-".concat(o.runtime.uniqueId),html:!0,type:"light",arrowColor:"rgba(0,0,0,0)",className:"tooltip"}))}function Sc(){return Sc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sc.apply(this,arguments)}function Cc(e){var n=e.from,r=void 0===n?{x:0,y:0}:n,o=e.to,i=void 0===o?{x:1,y:1}:o,a=e.fill,c=void 0===a?"transparent":a,l=e.className,u=e.innerRef,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["from","to","fill","className","innerRef"]),p=r.x===i.x||r.y===i.y;return t().createElement("line",Sc({ref:u,className:Q()("visx-line",l),x1:r.x,y1:r.y,x2:i.x,y2:i.y,fill:c,shapeRendering:p?"crispEdges":"auto"},s))}var Ac=Math.sqrt(50),Oc=Math.sqrt(10),Rc=Math.sqrt(2);function zc(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=Ac?10:i>=Oc?5:i>=Rc?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=Ac?10:i>=Oc?5:i>=Rc?2:1)}function Pc(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Mc(e){var t=e,n=e;function r(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return Pc(e(t),n)}}(e)),{left:r,center:function(e,n,o,i){null==o&&(o=0),null==i&&(i=e.length);var a=r(e,n,o,i-1);return a>o&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}o(87757);var Ic=Mc(Pc),Nc=Ic.right,Dc=(Ic.left,Mc((function(e){return null===e?NaN:+e})).center,Nc);function Lc(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Bc(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function jc(){}var Fc=.7,Hc=1/Fc,Uc="\\s*([+-]?\\d+)\\s*",Gc="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Wc="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",qc=/^#([0-9a-f]{3,8})$/,Vc=new RegExp("^rgb\\("+[Uc,Uc,Uc]+"\\)$"),Kc=new RegExp("^rgb\\("+[Wc,Wc,Wc]+"\\)$"),Zc=new RegExp("^rgba\\("+[Uc,Uc,Uc,Gc]+"\\)$"),Yc=new RegExp("^rgba\\("+[Wc,Wc,Wc,Gc]+"\\)$"),$c=new RegExp("^hsl\\("+[Gc,Wc,Wc]+"\\)$"),Xc=new RegExp("^hsla\\("+[Gc,Wc,Wc,Gc]+"\\)$"),Jc={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Qc(){return this.rgb().formatHex()}function el(){return this.rgb().formatRgb()}function tl(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=qc.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?nl(t):3===n?new al(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?rl(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?rl(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Vc.exec(e))?new al(t[1],t[2],t[3],1):(t=Kc.exec(e))?new al(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Zc.exec(e))?rl(t[1],t[2],t[3],t[4]):(t=Yc.exec(e))?rl(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=$c.exec(e))?sl(t[1],t[2]/100,t[3]/100,1):(t=Xc.exec(e))?sl(t[1],t[2]/100,t[3]/100,t[4]):Jc.hasOwnProperty(e)?nl(Jc[e]):"transparent"===e?new al(NaN,NaN,NaN,0):null}function nl(e){return new al(e>>16&255,e>>8&255,255&e,1)}function rl(e,t,n,r){return r<=0&&(e=t=n=NaN),new al(e,t,n,r)}function ol(e){return e instanceof jc||(e=tl(e)),e?new al((e=e.rgb()).r,e.g,e.b,e.opacity):new al}function il(e,t,n,r){return 1===arguments.length?ol(e):new al(e,t,n,null==r?1:r)}function al(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function cl(){return"#"+ul(this.r)+ul(this.g)+ul(this.b)}function ll(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function ul(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function sl(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new dl(e,t,n,r)}function pl(e){if(e instanceof dl)return new dl(e.h,e.s,e.l,e.opacity);if(e instanceof jc||(e=tl(e)),!e)return new dl;if(e instanceof dl)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,c=i-o,l=(i+o)/2;return c?(a=t===i?(n-r)/c+6*(n<r):n===i?(r-t)/c+2:(t-n)/c+4,c/=l<.5?i+o:2-i-o,a*=60):c=l>0&&l<1?0:a,new dl(a,c,l,e.opacity)}function dl(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function fl(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function hl(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}Lc(jc,tl,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Qc,formatHex:Qc,formatHsl:function(){return pl(this).formatHsl()},formatRgb:el,toString:el}),Lc(al,il,Bc(jc,{brighter:function(e){return e=null==e?Hc:Math.pow(Hc,e),new al(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Fc:Math.pow(Fc,e),new al(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:cl,formatHex:cl,formatRgb:ll,toString:ll})),Lc(dl,(function(e,t,n,r){return 1===arguments.length?pl(e):new dl(e,t,n,null==r?1:r)}),Bc(jc,{brighter:function(e){return e=null==e?Hc:Math.pow(Hc,e),new dl(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Fc:Math.pow(Fc,e),new dl(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new al(fl(e>=240?e-240:e+120,o,r),fl(e,o,r),fl(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var ml=function(e){return function(){return e}};function vl(e,t){return function(n){return e+n*t}}function gl(e){return 1==(e=+e)?bl:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):ml(isNaN(t)?n:t)}}function bl(e,t){var n=t-e;return n?vl(e,n):ml(isNaN(e)?t:e)}var yl=function e(t){var n=gl(t);function r(e,t){var r=n((e=il(e)).r,(t=il(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=bl(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function xl(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),c=new Array(o);for(n=0;n<o;++n)r=il(t[n]),i[n]=r.r||0,a[n]=r.g||0,c[n]=r.b||0;return i=e(i),a=e(a),c=e(c),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=c(e),r+""}}}xl((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,c=r<t-1?e[r+2]:2*i-o;return hl((n-r/t)*t,a,o,i,c)}})),xl((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],c=e[(r+2)%t];return hl((n-r/t)*t,o,i,a,c)}}));function _l(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=zl(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function wl(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function kl(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function El(e){return El="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},El(e)}function Tl(e,t){var n,r={},o={};for(n in null!==e&&"object"===El(e)||(e={}),null!==t&&"object"===El(t)||(t={}),t)n in e?r[n]=zl(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var Sl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Cl=new RegExp(Sl.source,"g");function Al(e,t){var n,r,o,i=Sl.lastIndex=Cl.lastIndex=0,a=-1,c=[],l=[];for(e+="",t+="";(n=Sl.exec(e))&&(r=Cl.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),c[a]?c[a]+=o:c[++a]=o),(n=n[0])===(r=r[0])?c[a]?c[a]+=r:c[++a]=r:(c[++a]=null,l.push({i:a,x:kl(n,r)})),i=Cl.lastIndex;return i<t.length&&(o=t.slice(i),c[a]?c[a]+=o:c[++a]=o),c.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)c[(n=l[r]).i]=n.x(e);return c.join("")})}function Ol(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function Rl(e){return Rl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rl(e)}function zl(e,t){var n,r,o=Rl(t);return null==t||"boolean"===o?ml(t):("number"===o?kl:"string"===o?(n=tl(t))?(t=n,yl):Al:t instanceof tl?yl:t instanceof Date?wl:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?_l:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Tl:kl:Ol))(e,t)}function Pl(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Ml(e){return+e}var Il=[0,1];function Nl(e){return e}function Dl(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function Ll(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=Dl(o,r),i=n(a,i)):(r=Dl(r,o),i=n(i,a)),function(e){return i(r(e))}}function Bl(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=Dl(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=Dc(e,t,1,r)-1;return i[n](o[n](t))}}function jl(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Fl(){var e,t,n,r,o,i,a=Il,c=Il,l=zl,u=Nl;function s(){var e,t,n,l=Math.min(a.length,c.length);return u!==Nl&&(e=a[0],t=a[l-1],e>t&&(n=e,e=t,t=n),u=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?Bl:Ll,o=i=null,p}function p(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),c,l)))(e(u(t)))}return p.invert=function(n){return u(t((i||(i=r(c,a.map(e),kl)))(n)))},p.domain=function(e){return arguments.length?(a=Array.from(e,Ml),s()):a.slice()},p.range=function(e){return arguments.length?(c=Array.from(e),s()):c.slice()},p.rangeRound=function(e){return c=Array.from(e),l=Pl,s()},p.clamp=function(e){return arguments.length?(u=!!e||Nl,s()):u!==Nl},p.interpolate=function(e){return arguments.length?(l=e,s()):l},p.unknown=function(e){return arguments.length?(n=e,p):n},function(n,r){return e=n,t=r,s()}}function Hl(){return Fl()(Nl,Nl)}var Ul,Gl=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Wl(e){if(!(t=Gl.exec(e)))throw new Error("invalid format: "+e);var t;return new ql({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function ql(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Vl(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Kl(e){return(e=Vl(Math.abs(e)))?e[1]:NaN}function Zl(e,t){var n=Vl(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Wl.prototype=ql.prototype,ql.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Yl={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Zl(100*e,t)},r:Zl,s:function(e,t){var n=Vl(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Ul=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Vl(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function $l(e){return e}var Xl,Jl,Ql,eu=Array.prototype.map,tu=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function nu(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?$l:(t=eu.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,c=t[0],l=0;o>0&&c>0&&(l+c+1>r&&(c=Math.max(1,r-l)),i.push(e.substring(o-=c,o+c)),!((l+=c+1)>r));)c=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?$l:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(eu.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function p(e){var t=(e=Wl(e)).fill,n=e.align,p=e.sign,d=e.symbol,f=e.zero,h=e.width,m=e.comma,v=e.precision,g=e.trim,b=e.type;"n"===b?(m=!0,b="g"):Yl[b]||(void 0===v&&(v=12),g=!0,b="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var y="$"===d?o:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===d?i:/[%p]/.test(b)?l:"",_=Yl[b],w=/[defgprs%]/.test(b);function k(e){var o,i,l,d=y,k=x;if("c"===b)k=_(e)+k,e="";else{var E=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:_(Math.abs(e),v),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),E&&0==+e&&"+"!==p&&(E=!1),d=(E?"("===p?p:u:"-"===p||"("===p?"":p)+d,k=("s"===b?tu[8+Ul/3]:"")+k+(E&&"("===p?")":""),w)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){k=(46===l?a+e.slice(o+1):e.slice(o))+k,e=e.slice(0,o);break}}m&&!f&&(e=r(e,1/0));var T=d.length+e.length+k.length,S=T<h?new Array(h-T+1).join(t):"";switch(m&&f&&(e=r(S+e,S.length?h-k.length:1/0),S=""),n){case"<":e=d+e+k+S;break;case"=":e=d+S+e+k;break;case"^":e=S.slice(0,T=S.length>>1)+d+e+k+S.slice(T);break;default:e=S+d+e+k}return c(e)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return e+""},k}return{format:p,formatPrefix:function(e,t){var n=p(((e=Wl(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Kl(t)/3))),o=Math.pow(10,-r),i=tu[8+r/3];return function(e){return n(o*e)+i}}}}function ru(e,t,n,r){var o,i=function(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=Ac?o*=10:i>=Oc?o*=5:i>=Rc&&(o*=2),t<e?-o:o}(e,t,n);switch((r=Wl(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Kl(t)/3)))-Kl(Math.abs(e)))}(i,a))||(r.precision=o),Ql(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Kl(t)-Kl(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-Kl(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return Jl(r)}function ou(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){var r,o,i,a,c=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(a=zc(e,t,n))||!isFinite(a))return[];if(a>0){var l=Math.round(e/a),u=Math.round(t/a);for(l*a<e&&++l,u*a>t&&--u,i=new Array(o=u-l+1);++c<o;)i[c]=(l+c)*a}else{a=-a;var s=Math.round(e*a),p=Math.round(t*a);for(s/a<e&&++s,p/a>t&&--p,i=new Array(o=p-s+1);++c<o;)i[c]=(s+c)/a}return r&&i.reverse(),i}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return ru(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,c=i.length-1,l=i[a],u=i[c],s=10;for(u<l&&(o=l,l=u,u=o,o=a,a=c,c=o);s-- >0;){if((o=zc(l,u,n))===r)return i[a]=l,i[c]=u,t(i);if(o>0)l=Math.floor(l/o)*o,u=Math.ceil(u/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,u=Math.floor(u*o)/o}r=o}return e},e}function iu(){var e=Hl();return e.copy=function(){return jl(e,iu())},xe.apply(e,arguments),ou(e)}!function(e){Xl=nu(e),Jl=Xl.format,Ql=Xl.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});var au=Yn("domain","range","reverse","clamp","interpolate","nice","round","zero");function cu(e){return au(iu(),e)}function lu(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}function uu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return su(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return su(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function su(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pu(){var e,t,n=Ee().unknown(void 0),r=n.domain,o=n.range,i=0,a=1,c=!1,l=0,u=0,s=.5;function p(){var n=r().length,p=a<i,d=p?a:i,f=p?i:a;e=(f-d)/Math.max(1,n-l+2*u),c&&(e=Math.floor(e)),d+=(f-d-e*(n-l))*s,t=e*(1-l),c&&(d=Math.round(d),t=Math.round(t));var h=lu(n).map((function(t){return d+e*t}));return o(p?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),p()):r()},n.range=function(e){var t;return arguments.length?(t=uu(e,2),i=t[0],a=t[1],i=+i,a=+a,p()):[i,a]},n.rangeRound=function(e){var t;return t=uu(e,2),i=t[0],a=t[1],i=+i,a=+a,c=!0,p()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(c=!!e,p()):c},n.padding=function(e){return arguments.length?(l=Math.min(1,u=+e),p()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),p()):l},n.paddingOuter=function(e){return arguments.length?(u=+e,p()):u},n.align=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),p()):s},n.copy=function(){return pu(r(),[i,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},xe.apply(p(),arguments)}function du(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return du(t())},e}var fu=Yn("domain","range","reverse","align","padding","round");function hu(e){return fu(function(){return du(pu.apply(null,arguments).paddingInner(1))}(),e)}var mu={top:"top",left:"left",right:"right",bottom:"bottom"};function vu(){return vu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vu.apply(this,arguments)}function gu(e){var n=e.hideTicks,r=e.horizontal,o=e.orientation,i=e.tickClassName,a=e.tickComponent,c=e.tickLabelProps,l=e.tickStroke,u=void 0===l?"#222":l,s=e.tickTransform,p=e.ticks,d=e.strokeWidth,f=e.tickLineProps;return p.map((function(e){var l,p=e.value,h=e.index,m=e.from,v=e.to,g=e.formattedValue,b=null!=(l=c[h])?l:{},y=Math.max(10,"number"==typeof b.fontSize&&b.fontSize||0),x=v.y+(r&&o!==mu.top?y:0);return t().createElement(ae.Z,{key:"visx-tick-"+p+"-"+h,className:Q()("visx-axis-tick",i),transform:s},!n&&t().createElement(Cc,vu({from:m,to:v,stroke:u,strokeWidth:d,strokeLinecap:"square"},f)),a?a(vu({},b,{x:v.x,y:x,formattedValue:g})):t().createElement(fc,vu({x:v.x,y:x},b),g))}))}function bu(){return bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bu.apply(this,arguments)}var yu={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"};function xu(e){var n=e.axisFromPoint,r=e.axisLineClassName,o=e.axisToPoint,i=e.hideAxisLine,a=e.hideTicks,c=e.horizontal,l=e.label,u=void 0===l?"":l,s=e.labelClassName,p=e.labelOffset,d=void 0===p?14:p,f=e.labelProps,h=void 0===f?yu:f,m=e.orientation,v=void 0===m?mu.bottom:m,g=e.scale,b=e.stroke,y=void 0===b?"#222":b,x=e.strokeDasharray,_=e.strokeWidth,w=void 0===_?1:_,k=e.tickClassName,E=e.tickComponent,T=e.tickLineProps,S=e.tickLabelProps,C=void 0===S?function(){return yu}:S,A=e.tickLength,O=void 0===A?8:A,R=e.tickStroke,z=void 0===R?"#222":R,P=e.tickTransform,M=e.ticks,I=e.ticksComponent,N=void 0===I?gu:I,D=M.map((function(e){var t=e.value,n=e.index;return C(t,n,M)})),L=Math.max.apply(Math,[10].concat(D.map((function(e){return"number"==typeof e.fontSize?e.fontSize:0}))));return t().createElement(t().Fragment,null,N({hideTicks:a,horizontal:c,orientation:v,scale:g,tickClassName:k,tickComponent:E,tickLabelProps:D,tickStroke:z,tickTransform:P,ticks:M,strokeWidth:w,tickLineProps:T}),!i&&t().createElement(Cc,{className:Q()("visx-axis-line",r),from:n,to:o,stroke:y,strokeWidth:w,strokeDasharray:x}),u&&t().createElement(fc,bu({className:Q()("visx-axis-label",s)},function(e){var t,n,r,o=e.labelOffset,i=e.labelProps,a=e.orientation,c=e.range,l=e.tickLabelFontSize,u=e.tickLength,s=a===mu.left||a===mu.top?-1:1;if(a===mu.top||a===mu.bottom){var p=a===mu.bottom&&"number"==typeof i.fontSize?i.fontSize:0;t=(Number(c[0])+Number(c[c.length-1]))/2,n=s*(u+o+l+p)}else t=s*((Number(c[0])+Number(c[c.length-1]))/2),n=-(u+o),r="rotate("+90*s+")";return{x:t,y:n,transform:r}}({labelOffset:d,labelProps:h,orientation:v,range:g.range(),tickLabelFontSize:L,tickLength:O}),h),u))}function _u(e){return null==e?void 0:e.toString()}function wu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ku=function(){function e(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r;wu(this,"x",0),wu(this,"y",0),this.x=n,this.y=o}var t=e.prototype;return t.value=function(){return{x:this.x,y:this.y}},t.toArray=function(){return[this.x,this.y]},e}();function Eu(e,t){var n=e.x,r=e.y;return new ku(t?{x:n,y:r}:{x:r,y:n})}function Tu(){return Tu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tu.apply(this,arguments)}function Su(e){var n=e.children,r=void 0===n?xu:n,o=e.axisClassName,i=e.hideAxisLine,a=void 0!==i&&i,c=e.hideTicks,l=void 0!==c&&c,u=e.hideZero,s=void 0!==u&&u,p=e.left,d=void 0===p?0:p,f=e.numTicks,h=void 0===f?10:f,m=e.orientation,v=void 0===m?mu.bottom:m,g=e.rangePadding,b=void 0===g?0:g,y=e.scale,x=e.tickFormat,_=e.tickLength,w=void 0===_?8:_,k=e.tickValues,E=e.top,T=void 0===E?0:E,S=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","axisClassName","hideAxisLine","hideTicks","hideZero","left","numTicks","orientation","rangePadding","scale","tickFormat","tickLength","tickValues","top"]),C=null!=x?x:function(e){return"tickFormat"in e?e.tickFormat():_u}(y),A=v===mu.left,O=v===mu.top,R=O||v===mu.bottom,z=function(e,t){void 0===t&&(t="center");var n=e;if("start"!==t&&"bandwidth"in n){var r=n.bandwidth();return"center"===t&&(r/=2),n.round()&&(r=Math.round(r)),function(e){var t=n(e);return"number"==typeof t?t+r:t}}return e}(y),P=A||O?-1:1,M=y.range(),I=Eu({x:Number(M[0])+.5-b,y:0},R),N=Eu({x:Number(M[M.length-1])+.5+b,y:0},R),D=(null!=k?k:function(e,t){var n=e;return"ticks"in n?n.ticks(t):n.domain().filter((function(e,n,r){return null==t||r.length<=t||n%Math.round((r.length-1)/t)==0}))}(y,h)).filter((function(e){return!s||0!==e&&"0"!==e})).map((function(e,t){return{value:e,index:t}})),L=D.map((function(e){var t=e.value,n=e.index,r=function(e){if(("function"==typeof e||"object"==typeof e&&e)&&"valueOf"in e){var t=e.valueOf();if("number"==typeof t)return t}return e}(z(t));return{value:t,index:n,from:Eu({x:r,y:0},R),to:Eu({x:r,y:w*P},R),formattedValue:C(t,n,D)}}));return t().createElement(ae.Z,{className:Q()("visx-axis",o),top:T,left:d},r(Tu({},S,{axisFromPoint:I,axisToPoint:N,hideAxisLine:a,hideTicks:l,hideZero:s,horizontal:R,numTicks:h,orientation:v,rangePadding:b,scale:y,tickFormat:C,tickLength:w,tickPosition:z,tickSign:P,ticks:L})))}function Cu(){return Cu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cu.apply(this,arguments)}var Au=function(){return{dx:"-0.25em",dy:"0.25em",fill:"#222",fontFamily:"Arial",fontSize:10,textAnchor:"end"}};function Ou(e){var n=e.axisClassName,r=e.labelOffset,o=void 0===r?36:r,i=e.tickLabelProps,a=void 0===i?Au:i,c=e.tickLength,l=void 0===c?8:c,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["axisClassName","labelOffset","tickLabelProps","tickLength"]);return t().createElement(Su,Cu({axisClassName:Q()("visx-axis-left",n),labelOffset:o,orientation:mu.left,tickLabelProps:a,tickLength:l},u))}function Ru(){return Ru=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ru.apply(this,arguments)}var zu=function(){return{dy:"0.25em",fill:"#222",fontFamily:"Arial",fontSize:10,textAnchor:"middle"}};function Pu(e){var n=e.axisClassName,r=e.labelOffset,o=void 0===r?8:r,i=e.tickLabelProps,a=void 0===i?zu:i,c=e.tickLength,l=void 0===c?8:c,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["axisClassName","labelOffset","tickLabelProps","tickLength"]);return t().createElement(Su,Ru({axisClassName:Q()("visx-axis-bottom",n),labelOffset:o,orientation:mu.bottom,tickLabelProps:a,tickLength:l},u))}var Mu=o(20281);function Iu(e){return null==e?void 0:e[0]}function Nu(e){return null==e?void 0:e[1]}function Du(e){if("bandwidth"in e)return e.bandwidth();var t=e.range(),n=e.domain();return Math.abs(t[t.length-1]-t[0])/n.length}function Lu(e,t){e(t)}var Bu=o(78335),ju=o(80937),Fu=o(9790),Hu=o(45922),Uu=o(83771),Gu={ascending:Bu.Z,descending:ju.Z,insideout:Fu.Z,none:Hu.Z,reverse:Uu.Z};Object.keys(Gu);function Wu(e){return e&&Gu[e]||Gu.none}var qu=o(37598),Vu=o(18750),Ku=o(81341),Zu=o(22196),Yu=o(32362),$u={expand:qu.Z,diverging:Vu.Z,none:Ku.Z,silhouette:Zu.Z,wiggle:Yu.Z};Object.keys($u);function Xu(e){return e&&$u[e]||$u.none}function Ju(){return Ju=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ju.apply(this,arguments)}function Qu(e){var n=e.className,r=e.innerRef,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["className","innerRef"]);return t().createElement("rect",Ju({ref:r,className:Q()("visx-bar",n)},o))}function es(){return es=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},es.apply(this,arguments)}function ts(e){var n=e.data,r=e.className,o=e.top,i=e.left,a=e.x,c=e.y0,l=void 0===c?Iu:c,u=e.y1,s=void 0===u?Nu:u,p=e.xScale,d=e.yScale,f=e.color,h=e.keys,m=e.value,v=e.order,g=e.offset,b=e.children,y=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"]),x=(0,Mu.Z)();h&&x.keys(h),m&&Lu(x.value,m),v&&x.order(Wu(v)),g&&x.offset(Xu(g));var _=x(n),w=Du(p),k=_.map((function(e,t){var n=e.key;return{index:t,key:n,bars:e.map((function(t,r){var o=(d(l(t))||0)-(d(s(t))||0),i=d(s(t)),c="bandwidth"in p?p(a(t.data)):Math.max((p(a(t.data))||0)-w/2);return{bar:t,key:n,index:r,height:o,width:w,x:c||0,y:i||0,color:f(e.key,r)}}))}}));return b?t().createElement(t().Fragment,null,b(k)):t().createElement(ae.Z,{className:Q()("visx-bar-stack",r),top:o,left:i},k.map((function(e){return e.bars.map((function(n){return t().createElement(Qu,es({key:"bar-stack-"+e.index+"-"+n.index,x:n.x,y:n.y,height:n.height,width:n.width,fill:n.color},y))}))})))}function ns(){return ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(this,arguments)}function rs(e){var n=e.data,r=e.className,o=e.top,i=e.left,a=e.x0,c=e.x0Scale,l=e.x1Scale,u=e.yScale,s=e.color,p=e.keys,d=e.height,f=e.children,h=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["data","className","top","left","x0","x0Scale","x1Scale","yScale","color","keys","height","children"]),m=Du(l),v=n.map((function(e,t){return{index:t,x0:c(a(e)),bars:p.map((function(t,n){var r=e[t];return{index:n,key:t,value:r,width:m,x:l(t)||0,y:u(r)||0,color:s(t,n),height:d-(u(r)||0)}}))}}));return f?t().createElement(t().Fragment,null,f(v)):t().createElement(ae.Z,{className:Q()("visx-bar-group",r),top:o,left:i},v.map((function(e){return t().createElement(ae.Z,{key:"bar-group-"+e.index+"-"+e.x0,left:e.x0},e.bars.map((function(n){return t().createElement(Qu,ns({key:"bar-group-bar-"+e.index+"-"+n.index+"-"+n.value+"-"+n.key,x:n.x,y:n.y,width:n.width,height:n.height,fill:n.color},h))})))})))}function os(){return os=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},os.apply(this,arguments)}function is(e){var n=e.data,r=e.className,o=e.top,i=e.left,a=e.y,c=e.x0,l=void 0===c?Iu:c,u=e.x1,s=void 0===u?Nu:u,p=e.xScale,d=e.yScale,f=e.color,h=e.keys,m=e.value,v=e.order,g=e.offset,b=e.children,y=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"]),x=(0,Mu.Z)();h&&x.keys(h),m&&Lu(x.value,m),v&&x.order(Wu(v)),g&&x.offset(Xu(g));var _=x(n),w=Du(d),k=_.map((function(e,t){var n=e.key;return{index:t,key:n,bars:e.map((function(t,r){var o=(p(s(t))||0)-(p(l(t))||0),i=p(l(t)),c="bandwidth"in d?d(a(t.data)):Math.max((d(a(t.data))||0)-o/2);return{bar:t,key:n,index:r,height:w,width:o,x:i||0,y:c||0,color:f(e.key,r)}}))}}));return b?t().createElement(t().Fragment,null,b(k)):t().createElement(ae.Z,{className:Q()("visx-bar-stack-horizontal",r),top:o,left:i},k.map((function(e){return e.bars.map((function(n){return t().createElement(Qu,os({key:"bar-stack-"+e.index+"-"+n.index,x:n.x,y:n.y,height:n.height,width:n.width,fill:n.color},y))}))})))}var as=function(){return as=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},as.apply(this,arguments)};function cs(n){var r=n.xScale,o=n.yScale,i=n.seriesScale,a=n.xMax,c=n.yMax,l=n.getXAxisData,u=n.getYAxisData,s=(0,e.useContext)(hc),p=s.transformedData,d=s.colorScale,f=s.seriesHighlight,h=s.config,m=s.formatNumber,v=s.updateConfig,g=(s.setParentConfig,s.colorPalettes,s.formatDate),b=s.parseDate,y=h.orientation,x=h.visualizationSubType,_="horizontal"===y,w="large"===h.lollipopSize?7:"medium"===h.lollipopSize?6:5,k="large"===h.lollipopSize?14:"medium"===h.lollipopSize?12:10,E="Below Bar"===h.yAxis.labelPlacement,T="On Date/Category Axis"===h.yAxis.labelPlacement,S="On Bar"===h.yAxis.labelPlacement,C=!h.yAxis.labelPlacement,A=h.yAxis.displayNumbersOnBar,O="horizontal"===h.orientation?"yAxis":"xAxis",R=(h.barStyle,h.visualizationSubType,h.tipRounding,"standard"===h.roundingStyle||("shallow"===h.roundingStyle||h.roundingStyle),h.runtime.seriesKeys.length,(0,e.useState)(null)),z=R[0],P=(R[1],(0,e.useState)(null)),M=P[0],I=P[1];return(0,e.useEffect)((function(){"horizontal"!==y||h.yAxis.labelPlacement||v(as(as({},h),{yAxis:as(as({},h),{labelPlacement:"Below Bar"})}))}),[h,v]),(0,e.useEffect)((function(){!1===h.isLollipopChart&&h.barHeight<25&&v(as(as({},h),{barHeight:25}))}),[h.isLollipopChart]),(0,e.useEffect)((function(){"horizontal"===h.visualizationSubType&&v(as(as({},h),{orientation:"horizontal"}))}),[]),t().createElement(wc,{component:"BarChart"},t().createElement(ae.Z,{left:h.runtime.yAxis.size},"stacked"===h.visualizationSubType&&!_&&t().createElement(ts,{data:p,keys:h.runtime.barSeriesKeys||h.runtime.seriesKeys,x:function(e){return e[h.runtime.xAxis.dataKey]},xScale:r,yScale:o,color:d},(function(e){return e.reverse().map((function(e){return e.bars.map((function(n){var r="date"===h.runtime.xAxis.type?g(b(p[n.index][h.runtime.xAxis.dataKey])):p[n.index][h.runtime.xAxis.dataKey],o=h.runtime.yAxis.label?"".concat(h.runtime.yAxis.label,": ").concat(m(n.bar?n.bar.data[n.key]:0)):m(n.bar?n.bar.data[n.key]:0),i=h.runtime.xAxis.label?"".concat(h.runtime.xAxis.label,": ").concat(r):r,c="<div>\n ".concat(o,"<br />\n ").concat(i,"<br />\n ").concat(h.seriesLabel?"".concat(h.seriesLabel,": ").concat(n.key):""),l="highlight"===h.legend.behavior&&f.length>0&&-1===f.indexOf(n.key),u="highlight"===h.legend.behavior||0===f.length||-1!==f.indexOf(n.key),s=a/e.bars.length,d=s*(h.barThickness||.8),v=s*(1-(h.barThickness||.8))/2;return t().createElement(ae.Z,{key:"bar-stack-".concat(e.index,"-").concat(n.index)},t().createElement(fc,{display:h.labels&&u?"block":"none",opacity:l?.5:1,x:s*(n.index+.5)+v,y:n.y-5,fill:n.color,textAnchor:"middle"},m(n.bar?n.bar.data[n.key]:0)),t().createElement("rect",{key:"bar-stack-".concat(e.index,"-").concat(n.index),x:s*n.index+v,y:n.y,height:n.height,width:d,fill:n.color,stroke:"#333",strokeWidth:h.barBorderThickness||1,opacity:l?.5:1,display:u?"block":"none","data-tip":c,"data-for":"cdc-open-viz-tooltip-".concat(h.runtime.uniqueId)}))}))}))})),"stacked"===h.visualizationSubType&&_&&t().createElement(t().Fragment,null,t().createElement(is,{data:p,keys:h.runtime.barSeriesKeys||h.runtime.seriesKeys,height:c,y:function(e){return e[h.runtime.yAxis.dataKey]},xScale:r,yScale:o,color:d,offset:"none"},(function(e){return e.map((function(e){return e.bars.map((function(n,r){var o="date"===h.runtime.yAxis.type?g(b(p[n.index][h.runtime.originalXAxis.dataKey])):p[n.index][h.runtime.originalXAxis.dataKey],i=h.yAxis.label?"".concat(h.yAxis.label,": ").concat(m(p[n.index][n.key])):"".concat(n.key,": ").concat(m(p[n.index][n.key])),a=h.xAxis.label?"".concat(h.xAxis.label,": ").concat(o):o,c="<div>\n ".concat(i,"<br />\n ").concat(a,"<br />\n ").concat(h.seriesLabel?"".concat(h.seriesLabel,": ").concat(n.key):""),l="highlight"===h.legend.behavior&&f.length>0&&-1===f.indexOf(n.key),u="highlight"===h.legend.behavior||0===f.length||-1!==f.indexOf(n.key),s=(h.series.length,h.barHeight?h.barHeight:25),d=s;h.barHeight=Number(h.barHeight),"horizontal"===y&&(h.barPadding=E||C||T?s<40?40:Number(d):Number(d)/2),h.height=Number(s)*p.length+Number(h.barPadding)*p.length;var v="#000000",w=n.y-h.barPadding/2-Number(h.barHeight/2)+Number(h.barHeight)+5;return nc().contrast(v,n.color)<4.9&&(v="#FFFFFF"),t().createElement(ae.Z,{key:r},t().createElement("rect",{key:"barstack-horizontal-".concat(e.index,"-").concat(n.index,"-").concat(r),x:n.x,y:n.y-h.barPadding/2-h.barHeight/2,width:n.width,height:h.barHeight,fill:n.color,stroke:"#333",strokeWidth:h.barBorderThickness||1,opacity:l?.5:1,display:u?"block":"none","data-tip":c,"data-for":"cdc-open-viz-tooltip-".concat(h.runtime.uniqueId)}),"horizontal"===y&&"stacked"===x&&E&&0===e.index&&!h.yAxis.hideLabel&&t().createElement(fc,{x:"".concat(n.x+(h.isLollipopChart?15:5)),y:w,fill:"#000000",textAnchor:"start",verticalAnchor:"start"},_?o:m(o)),A&&M+50<n.width&&t().createElement(fc,{display:u?"block":"none",x:n.x+e.bars[n.index].width/2,y:w-5-h.barHeight/2,fill:v,textAnchor:"middle",verticalAnchor:"middle",innerRef:function(e){if(e){var t=e.getBBox();I(t.width)}}},m(p[n.index][n.key])))}))}))}))),"stacked"!==h.visualizationSubType&&t().createElement(ae.Z,null,t().createElement(rs,{data:p,keys:h.runtime.barSeriesKeys||h.runtime.seriesKeys,height:c,x0:function(e){return e[h.runtime.originalXAxis.dataKey]},x0Scale:h.runtime.horizontal?o:r,x1Scale:i,yScale:h.runtime.horizontal?r:o,color:function(){return""}},(function(e){if("horizontal"===y){var n=h.series.length,r=h.barHeight?h.barHeight:25,i=r;h.barPadding=E||C||T?r<40?40:i:i/2,h.isLollipopChart&&"Below Bar"===h.yAxis.labelPlacement&&(h.barPadding=h.barPadding+7),h.barHeight=h.isLollipopChart?w:r,h.height=n*r*e.length+h.barPadding*e.length}return e.map((function(n,r){return t().createElement(ae.Z,{className:"bar-group-".concat(n.index,"-").concat(n.x0,"--").concat(r),key:"bar-group-".concat(n.index,"-").concat(n.x0,"--").concat(r),top:h.runtime.horizontal?c/e.length*n.index:0,left:h.runtime.horizontal?0:a/e.length*n.index},n.bars.map((function(r,i){var l="highlight"===h.legend.behavior&&f.length>0&&-1===f.indexOf(r.key),u="highlight"===h.legend.behavior||0===f.length||-1!==f.indexOf(r.key),s="horizontal"===y?h.barHeight:Math.abs(o(r.value)-o(0)),v=r.value>=0?r.y:o(0),x=(h.runtime.horizontal?c:a)/e.length*(h.barThickness||.8),C=(h.runtime.horizontal?c:a)/e.length*(1-(h.barThickness||.8))/2;h.isLollipopChart&&(C=(h.runtime.horizontal?c:a)/e.length/2-w/2);var R=h.isLollipopChart?w:x/n.bars.length,P=h.runtime.seriesLabels&&h.runtime.seriesLabels[r.key]?d(h.runtime.seriesLabels[r.key]):d(r.key),N=m(r.value),D="date"===h.runtime[O].type?g(b(p[n.index][h.runtime.originalXAxis.dataKey])):p[n.index][h.runtime.originalXAxis.dataKey];if(h.runtime.horizontal){var L=N;N=D,D=L,R=h.barHeight}var B=h.runtime.yAxis.label?"".concat(h.runtime.yAxis.label,": ").concat(N):N,j=h.runtime.xAxis.label?"".concat(h.runtime.xAxis.label,": ").concat(D):D,F=null,H="#000000";nc().contrast(H,P)<4.9&&(H="#FFFFFF"),F="small"===h.fontSize?16:"medium"===h.fontSize?18:20;var U="<div>\n ".concat(B,"<br />\n ").concat(j,"<br />\n ").concat(h.seriesLabel?"".concat(h.seriesLabel,": ").concat(r.key):"");return t().createElement(ae.Z,{key:"bar-sub-group-".concat(n.index,"-").concat(n.x0,"-").concat(v,"--").concat(i)},t().createElement(fc,{display:h.labels&&u?"block":"none",opacity:l?.5:1,x:R*(n.bars.length-r.index-.5)+C,y:v-5,fill:P,textAnchor:"middle"},m(r.value)),t().createElement("rect",{key:"bar-group-bar-".concat(n.index,"-").concat(r.index,"-").concat(r.value,"-").concat(r.key),x:h.runtime.horizontal?0:R*(n.bars.length-r.index-1)+C,y:h.runtime.horizontal?R*(n.bars.length-r.index-1)+(h.isLollipopChart&&T?C:0):v,width:h.runtime.horizontal?r.y:R,height:h.runtime.horizontal?R:s,fill:h.isLollipopChart&&"regular"===h.lollipopColorStyle?P:h.isLollipopChart&&"two-tone"===h.lollipopColorStyle?nc()(P).brighten(1):P,stroke:"#333",strokeWidth:h.isLollipopChart?0:h.barBorderThickness||1,opacity:l?.5:1,display:u?"block":"none","data-tip":U,"data-for":"cdc-open-viz-tooltip-".concat(h.runtime.uniqueId)}),h.isLollipopChart&&"circle"===h.lollipopShape&&t().createElement("circle",{cx:"horizontal"===y?r.y:R*(n.bars.length-r.index-1)+(E&&"horizontal"===y?0:C)+k/3.5,cy:"horizontal"===y?k/3.5+(E&&"horizontal"===y?0:C):r.y,r:k/2,fill:P,key:"circle--".concat(r.index),"data-tip":U,"data-for":"cdc-open-viz-tooltip-".concat(h.runtime.uniqueId),style:{opacity:1,filter:"unset"}}),h.isLollipopChart&&"square"===h.lollipopShape&&t().createElement("rect",{x:"horizontal"===y&&r.y>10?r.y-k/2:"horizontal"===y&&r.y<10?0:"horizontal"!==y?C-w/2:R*(n.bars.length-r.index-1)+C-5.25,y:"horizontal"===y?0-w/2+(E?0:C):h.height-r.y>10?r.y-k/2:0,width:k,height:k,fill:P,key:"circle--".concat(r.index),"data-tip":U,"data-for":"cdc-open-viz-tooltip-".concat(h.runtime.uniqueId),style:{opacity:1,filter:"unset"}}),"horizontal"===y&&M+100<r.y?"On Bar"===h.yAxis.labelPlacement&&t().createElement(ae.Z,null,t().createElement(fc,{innerRef:function(e){if(e){var t=e.getBBox();I(t.width),h.barHeight=2*t.height+2*F+12.5,h.barPadding=z/2}},x:r.y-F,y:s*(n.bars.length-r.index-1)+2*F,fill:H,textAnchor:"end"},N),t().createElement(fc,{x:r.y-F,y:R*(n.bars.length-r.index-1)+2*F+25,fill:H,textAnchor:"end"},D)):S&&t().createElement(ae.Z,null,t().createElement(fc,{x:r.y+F,y:R*(n.bars.length-r.index-1)+2*F,fill:"#000",textAnchor:"start",verticalAnchor:"end"},N),t().createElement(fc,{x:r.y+F,y:R*(n.bars.length-r.index-1)+2*F+25,fill:"#000",textAnchor:"start",verticalAnchor:"start"},D)),"horizontal"===y&&E&&!h.yAxis.hideLabel&&t().createElement(t().Fragment,null,t().createElement(fc,{x:h.yAxis.hideAxis?0:5,y:h.isLollipopChart?k*h.series.length+2:R*h.series.length+7,verticalAnchor:"start",textAnchor:"start"},"date"===h.runtime.yAxis.type?g(b(p[n.index][h.runtime.originalXAxis.dataKey])):_?p[n.index][h.runtime.originalXAxis.dataKey]:m(p[n.index][h.runtime.originalXAxis.dataKey])),A?M+100<r.y&&!h.isLollipopChart?t().createElement(fc,{display:u?"block":"none",x:r.y-5,y:h.isLollipopChart?C:h.barHeight/2+h.barHeight*(n.bars.length-r.index-1),fill:H,textAnchor:"end",verticalAnchor:"middle"},D):t().createElement(fc,{display:u?"block":"none",x:"".concat(r.y+(h.isLollipopChart?15:5)+(h.isLollipopChart&&n.bars.length===r.index?C:0)),y:h.isLollipopChart?0:h.barHeight/2+h.barHeight*(n.bars.length-r.index-1),fill:"#000000",textAnchor:"start",verticalAnchor:"middle",fontWeight:"normal"},D):""),T&&"horizontal"===y&&t().createElement(t().Fragment,null,A?M+100<r.y&&!h.isLollipopChart?t().createElement(fc,{display:u?"block":"none",x:r.y-5,y:h.isLollipopChart?h.barHeight*(n.bars.length-r.index-1)+C:h.barHeight*(n.bars.length-r.index-1)+h.barHeight/2,fill:H,textAnchor:"end",verticalAnchor:"middle"},m(D)):t().createElement(fc,{display:u?"block":"none",x:"".concat(r.y+(h.isLollipopChart?15:5)),y:h.isLollipopChart?h.barHeight*(n.bars.length-r.index-1)+C:h.barHeight*(n.bars.length-r.index-1)+h.barHeight/2,fill:"#000000",textAnchor:"start",verticalAnchor:"middle"},m(D)):""))})))}))})),Object.keys(h.confidenceKeys).length>0?p.map((function(e){var n=r(l(e)),i=o(u(e,h.confidenceKeys.lower)),a=o(u(e,h.confidenceKeys.upper));return t().createElement("path",{key:"confidence-interval-".concat(e[h.runtime.originalXAxis.dataKey]),stroke:"#333",strokeWidth:"2px",d:"\n M".concat(n-5," ").concat(i,"\n L").concat(n+5," ").concat(i,"\n M").concat(n," ").concat(i,"\n L").concat(n," ").concat(a,"\n M").concat(n-5," ").concat(a,"\n L").concat(n+5," ").concat(a)})})):"")))}var ls=o(7363),us=o(22932);function ss(){return ss=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ss.apply(this,arguments)}function ps(e){var n=e.children,r=e.data,o=void 0===r?[]:r,i=e.x,a=e.y,c=e.fill,l=void 0===c?"transparent":c,u=e.className,s=e.curve,p=e.innerRef,d=e.defined,f=void 0===d?function(){return!0}:d,h=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","data","x","y","fill","className","curve","innerRef","defined"]),m=function(e){var t=void 0===e?{}:e,n=t.x,r=t.y,o=t.defined,i=t.curve,a=(0,us.Z)();return n&&Lu(a.x,n),r&&Lu(a.y,r),o&&a.defined(o),i&&a.curve(i),a}({x:i,y:a,defined:f,curve:s});return n?t().createElement(t().Fragment,null,n({path:m})):t().createElement("path",ss({ref:p,className:Q()("visx-linepath",u),d:m(o)||"",fill:l,strokeLinecap:"round"},h))}function ds(n){var r=n.xScale,o=n.yScale,i=n.getXAxisData,a=n.getYAxisData,c=(0,e.useContext)(hc),l=c.transformedData,u=c.colorScale,s=c.seriesHighlight,p=c.config,d=c.formatNumber,f=c.formatDate,h=c.parseDate;return t().createElement(wc,{component:"LineChart"},t().createElement(ae.Z,{left:p.runtime.yAxis.size},(p.runtime.lineSeriesKeys||p.runtime.seriesKeys).map((function(e,n){return t().createElement(ae.Z,{key:"series-".concat(e),opacity:"highlight"===p.legend.behavior&&s.length>0&&-1===s.indexOf(e)?.5:1,display:"highlight"===p.legend.behavior||0===s.length||-1!==s.indexOf(e)?"block":"none"},l.map((function(n,c){var l="date"===p.runtime.xAxis.type?f(h(n[p.runtime.xAxis.dataKey])):n[p.runtime.xAxis.dataKey],s=p.runtime.yAxis.label?"".concat(p.runtime.yAxis.label,": ").concat(d(a(n,e))):d(a(n,e)),m=p.runtime.xAxis.label?"".concat(p.runtime.xAxis.label,": ").concat(l):l,v="<div>\n ".concat(s,"<br />\n ").concat(m,"<br />\n ").concat(p.seriesLabel?"".concat(p.seriesLabel,": ").concat(e):""," \n </div>");return t().createElement(ae.Z,{key:"series-".concat(e,"-point-").concat(c)},t().createElement(fc,{display:p.labels?"block":"none",x:r(i(n)),y:o(a(n,e)),fill:u?u(p.runtime.seriesLabels?p.runtime.seriesLabels[e]:e):"#000",textAnchor:"middle"},d(n[e])),t().createElement("circle",{key:"".concat(e,"-").concat(c),r:4.5,cx:r(i(n)),cy:o(a(n,e)),fill:u?u(p.runtime.seriesLabels?p.runtime.seriesLabels[e]:e):"#000",style:{fill:u?u(p.runtime.seriesLabels?p.runtime.seriesLabels[e]:e):"#000"},"data-tip":v,"data-for":"cdc-open-viz-tooltip-".concat(p.runtime.uniqueId)}))})),t().createElement(ps,{curve:ls.Z,data:l,x:function(e){return r(i(e))},y:function(t){return o(a(t,e))},stroke:u?u(p.runtime.seriesLabels?p.runtime.seriesLabels[e]:e):"#000",strokeWidth:2,strokeOpacity:1,shapeRendering:"geometricPrecision"}))}))))}var fs=Yn("domain","range","reverse","align","padding","round");var hs=function(n){var r,o=n.width,i=n.height,a=(0,e.useContext)(hc),c=a.config,l=a.colorScale,u=a.transformedData;if(c&&!((null===(r=null==c?void 0:c.series)||void 0===r?void 0:r.length)<2)){var s=u,p=i,d=o/2,f={parentKey:c.dataDescription.seriesKey,dataKey:c.series[0].dataKey,color:l(c.runtime.seriesLabels[c.series[0].dataKey]),max:Math.max.apply(Math,s.map((function(e){return e[c.series[0].dataKey]}))),labelColor:""},h={parentKey:c.dataDescription.seriesKey,dataKey:c.series[1].dataKey,color:l(c.runtime.seriesLabels[c.series[1].dataKey]),max:Math.max.apply(Math,s.map((function(e){return e[c.series[1].dataKey]}))),labelColor:""},m=cu({domain:[0,Math.max(f.max,h.max)],range:[0,d]}),v=function(e){return fs(pu(),e)}({range:[0,p],domain:s.map((function(e){return e[c.dataDescription.xKey]})),padding:.2}),g="#000000";return nc().contrast(g,f.color)<4.9&&(f.labelColor="#FFFFFF"),nc().contrast(g,h.color)<4.9&&(h.labelColor="#FFFFFF"),o>0&&t().createElement(t().Fragment,null,t().createElement("svg",{id:"cdc-visualization__paired-bar-chart",width:o,height:i},t().createElement(ae.Z,{top:0,left:c.xAxis.size},s.filter((function(e){return c.series[0].dataKey===f.dataKey})).map((function(e){var n=m(e[c.series[0].dataKey]);return t().createElement(ae.Z,{key:"group-".concat(f.dataKey,"-").concat(e[c.xAxis.dataKey])},t().createElement(Qu,{className:"bar",key:"bar-".concat(f.dataKey,"-").concat(e[c.dataDescription.xKey]),x:d-n,y:v([e[c.dataDescription.xKey]]),width:m(e[c.series[0].dataKey]),height:v.bandwidth(),fill:f.color,"data-tip":"<p>\n\t\t\t\t\t\t\t\t\t\t".concat(c.dataDescription.seriesKey,": ").concat(f.dataKey,"<br/>\n\t\t\t\t\t\t\t\t\t\t").concat(c.xAxis.dataKey,": ").concat(e[c.xAxis.dataKey],"<br/>\n\t\t\t\t\t\t\t\t\t\t").concat(c.dataDescription.valueKey,": ").concat(e[f.dataKey],"\n\t\t\t\t\t\t\t\t\t</p>"),"data-for":"cdc-open-viz-tooltip-".concat(c.runtime.uniqueId)}),t().createElement(fc,{textAnchor:n<100?"end":"start",x:d-(n<100?n+10:n-5),y:v([e[c.dataDescription.xKey]])+v.bandwidth()/1.5,fill:n>100?f.labelColor:"#000"},e[c.dataDescription.xKey]))})),s.filter((function(e){return c.series[1].dataKey===h.dataKey})).map((function(e){var n=m(e[c.series[1].dataKey]);return t().createElement(ae.Z,{key:"group-".concat(h.dataKey,"-").concat(e[c.dataDescription.xKey])},t().createElement(Qu,{className:"bar",key:"bar-".concat(h.dataKey,"-").concat(e[c.dataDescription.xKey]),x:d,y:v([e[c.dataDescription.xKey]]),width:m(e[c.series[1].dataKey]),height:v.bandwidth(),fill:h.color,"data-tip":"<p>\n\t\t\t\t\t\t\t\t\t\t\t".concat(c.dataDescription.seriesKey,": ").concat(h.dataKey,"<br/>\n\t\t\t\t\t\t\t\t\t\t\t").concat(c.xAxis.dataKey,": ").concat(e[c.xAxis.dataKey],"<br/>\n\t\t\t\t\t\t\t\t\t\t\t").concat(c.dataDescription.valueKey,": ").concat(e[h.dataKey],"\n\t\t\t\t\t\t\t\t\t\t</p>"),"data-for":"cdc-open-viz-tooltip-".concat(c.runtime.uniqueId)}),t().createElement(fc,{textAnchor:n<100?"start":"end",x:d+(n<100?n+10:n-10),y:v([e[c.dataDescription.xKey]])+v.bandwidth()/1.5,fill:n>100?h.labelColor:"#000"},e[c.dataDescription.xKey]))})))))}};o(5567);var ms=function(e,t){var n,r=function(){var n;if("Bar"===e.visualizationType&&"stacked"===e.visualizationSubType){var r=t.reduce((function(t,r){var o=e.runtime.seriesKeys.reduce((function(e,t){return e+=Number(r[t])}),0);return t.push(o),o>n&&(n=o),t}),[]);n=Math.max.apply(Math,r)}else n="Bar"===e.visualizationType&&e.confidenceKeys&&e.confidenceKeys.upper?Math.max.apply(Math,t.map((function(t){return Number(t[e.confidenceKeys.upper])}))):Math.max.apply(Math,t.map((function(t){return Math.max.apply(Math,e.runtime.seriesKeys.map((function(e){return Number(t[e])})))})));return n}();return{minValue:(n=Math.min.apply(Math,t.map((function(t){return Math.min.apply(Math,e.runtime.seriesKeys.map((function(e){return Number(t[e])})))}))),String(n)),maxValue:r}};function vs(){var n=(0,e.useContext)(hc),r=n.transformedData,o=n.dimensions,i=n.config,a=n.parseDate,c=n.formatDate,l=n.currentViewport,u=n.formatNumber,s=o[0],p=ms(i,r),d=p.minValue,f=p.maxValue;!i||!i.legend||i.legend.hide||"lg"!==l&&"md"!==l||(s*=.73);var h,m,v,g=i.aspectRatio?s*i.aspectRatio:i.height,b=s-i.runtime.yAxis.size,y=g-i.runtime.xAxis.size,x=function(e){return"date"===i.runtime.xAxis.type?a(e[i.runtime.originalXAxis.dataKey]).getTime():e[i.runtime.originalXAxis.dataKey]},_=function(e,t){return e[t]};if(r){var w=void 0!==i.runtime.yAxis.min?i.runtime.yAxis.min:d,k=void 0!==i.runtime.yAxis.max?i.runtime.yAxis.max:Number.MIN_VALUE;if(("Bar"===i.visualizationType||"Combo"===i.visualizationType)&&w>0&&(w=0),k===Number.MIN_VALUE&&(k=f),i.runtime.yAxis.paddingPercent){var E=(k-w)*i.runtime.yAxis.paddingPercent;w-=E,k+=E}var T=r.map((function(e){return x(e)}));if(i.runtime.horizontal?(h=cu({domain:[w,k],range:[0,b]}),m="date"===i.runtime.xAxis.type?cu({domain:[Math.min.apply(Math,T),Math.max.apply(Math,T)]}):hu({domain:T,padding:.5}),v=hu({domain:i.runtime.barSeriesKeys||i.runtime.seriesKeys,range:[0,y]}),m.rangeRound([0,y])):(m=cu({domain:[w=w<0?1.11*w:w,k],range:[y,0]}),h=hu({domain:T,range:[0,b],padding:.5}),v=hu({domain:i.runtime.barSeriesKeys||i.runtime.seriesKeys,range:[0,b]})),"Paired Bar"===i.visualizationType)var S=Math.max.apply(Math,r.map((function(e){return e[i.series[0].dataKey]}))),C=Math.max.apply(Math,r.map((function(e){return e[i.series[1].dataKey]}))),A=cu({domain:[0,Math.max(S,C)],range:[b/2,0]}),O=cu({domain:A.domain(),range:[b/2,b]})}return(0,e.useEffect)((function(){Qa.rebuild()})),t().createElement(wc,{component:"LinearChart"},t().createElement("svg",{width:s,height:g,className:"linear"},i.regions?i.regions.map((function(e){if(!Object.keys(e).includes("from")||!Object.keys(e).includes("to"))return null;var n=h(a(e.from).getTime()),r=h(a(e.to).getTime()),o=r-n;return t().createElement(ae.Z,{className:"regions",left:i.runtime.yAxis.size,key:e.label},t().createElement("path",{stroke:"#333",d:"M".concat(n," -5\n L").concat(n," 5\n M").concat(n," 0\n L").concat(r," 0\n M").concat(r," -5\n L").concat(r," 5")}),t().createElement("rect",{x:n,y:0,width:o,height:y,fill:e.background,opacity:.3}),t().createElement(fc,{x:n+o/2,y:5,fill:e.color,verticalAnchor:"start",textAnchor:"middle"},e.label))})):"","Spark Line"!==i.visualizationType&&t().createElement(Ou,{scale:m,left:i.runtime.yAxis.size,label:i.runtime.yAxis.label,stroke:"#333",tickFormat:function(e){return"date"===i.runtime.yAxis.type?c(a(e)):"vertical"===i.orientation?u(e):e},numTicks:i.runtime.yAxis.numTicks||void 0},(function(n){"large"===i.lollipopSize||i.lollipopSize;var r=i.runtime.horizontal?(n.axisToPoint.y-n.axisFromPoint.y)/2:(n.axisFromPoint.y-n.axisToPoint.y)/2,o=y/n.ticks.length/2-y/n.ticks.length*(1-i.barThickness)+5;return t().createElement(ae.Z,{className:"left-axis"},n.ticks.map((function(n,r){return t().createElement(ae.Z,{key:"vx-tick-".concat(n.value,"-").concat(r),className:"vx-axis-tick"},!i.runtime.yAxis.hideTicks&&t().createElement(Cc,{from:n.from,to:n.to,stroke:"#333",display:i.runtime.horizontal?"none":"block"}),i.runtime.yAxis.gridLines?t().createElement(Cc,{from:{x:n.from.x+b,y:n.from.y},to:n.from,stroke:"rgba(0,0,0,0.3)"}):"","horizontal"===i.orientation&&"stacked"!==i.visualizationSubType&&"On Date/Category Axis"===i.yAxis.labelPlacement&&!i.yAxis.hideLabel&&t().createElement(e.Fragment,null,t().createElement(fc,{transform:"translate(".concat(n.to.x-5,", ").concat(i.isLollipopChart?n.from.y:n.from.y-17,") rotate(-").concat(i.runtime.horizontal?i.runtime.yAxis.tickRotation:0,")"),verticalAnchor:(i.isLollipopChart,"middle"),textAnchor:"end"},u(n.formattedValue))),"horizontal"===i.orientation&&"stacked"===i.visualizationSubType&&"On Date/Category Axis"===i.yAxis.labelPlacement&&!i.yAxis.hideLabel&&t().createElement(fc,{transform:"translate(".concat(n.to.x-5,", ").concat(n.from.y-i.barHeight/2-3,") rotate(-").concat(i.runtime.horizontal?i.runtime.yAxis.tickRotation:0,")"),verticalAnchor:(i.isLollipopChart,"middle"),textAnchor:"end"},u(n.formattedValue)),"horizontal"===i.orientation&&"Paired Bar"===i.visualizationType&&!i.yAxis.hideLabel&&t().createElement(fc,{transform:"translate(".concat(-15,", ").concat(n.from.y,") rotate(-").concat(i.runtime.horizontal?i.runtime.yAxis.tickRotation:0,")"),verticalAnchor:(i.isLollipopChart,"middle"),textAnchor:"end"},u(n.formattedValue)),"horizontal"!==i.orientation&&"Paired Bar"!==i.visualizationType&&!i.yAxis.hideLabel&&t().createElement(fc,{x:i.runtime.horizontal?n.from.x+2:n.to.x,y:n.to.y+(i.runtime.horizontal?o:0),verticalAnchor:i.runtime.horizontal?"start":"middle",textAnchor:i.runtime.horizontal?"start":"end"},u(n.value)))})),!i.yAxis.hideAxis&&t().createElement(Cc,{from:n.axisFromPoint,to:n.axisToPoint,stroke:"#333"}),m.domain()[0]<0&&t().createElement(Cc,{from:{x:n.axisFromPoint.x,y:m(0)},to:{x:b,y:m(0)},stroke:"#333"}),t().createElement(fc,{className:"y-label",textAnchor:"middle",verticalAnchor:"start",transform:"translate(".concat(-1*i.runtime.yAxis.size,", ").concat(r,") rotate(-90)"),fontWeight:"bold"},n.label))})),"Paired Bar"!==i.visualizationType&&"Spark Line"!==i.visualizationType&&t().createElement(Pu,{top:y,left:i.runtime.yAxis.size,label:i.runtime.xAxis.label,tickFormat:function(e){return"date"===i.runtime.xAxis.type?c(e):"horizontal"===i.orientation?u(e):e},scale:h,stroke:"#333",tickStroke:"#333",numTicks:i.runtime.xAxis.numTicks||void 0},(function(e){var n=(e.axisToPoint.x-e.axisFromPoint.x)/2;return t().createElement(ae.Z,{className:"bottom-axis"},e.ticks.map((function(n,r){var o=b/e.ticks.length;return t().createElement(ae.Z,{key:"vx-tick-".concat(n.value,"-").concat(r),className:"vx-axis-tick"},!i.xAxis.hideTicks&&t().createElement(Cc,{from:n.from,to:n.to,stroke:"#333"}),!i.xAxis.hideLabel&&t().createElement(fc,{transform:"translate(".concat(n.to.x,", ").concat(n.to.y,") rotate(-").concat(i.runtime.horizontal?0:i.runtime.xAxis.tickRotation,")"),verticalAnchor:"start",textAnchor:i.runtime.xAxis.tickRotation&&"0"!==i.runtime.xAxis.tickRotation?"end":"middle",width:i.runtime.xAxis.tickRotation&&"0"!==i.runtime.xAxis.tickRotation?void 0:o},n.formattedValue))})),!i.xAxis.hideAxis&&t().createElement(Cc,{from:e.axisFromPoint,to:e.axisToPoint,stroke:"#333"}),t().createElement(fc,{x:n,y:i.runtime.xAxis.size,textAnchor:"middle",verticalAnchor:"end",fontWeight:"bold"},e.label))})),"Paired Bar"===i.visualizationType&&t().createElement(t().Fragment,null,t().createElement(Pu,{top:y,left:i.runtime.yAxis.size,label:i.runtime.xAxis.label,tickFormat:"date"===i.runtime.xAxis.type?c:function(e){return e},scale:A,stroke:"#333",tickStroke:"#333",numTicks:i.runtime.xAxis.numTicks||void 0},(function(e){e.axisToPoint.x,e.axisFromPoint.x;return t().createElement(ae.Z,{className:"bottom-axis"},e.ticks.map((function(n,r){var o=b/e.ticks.length;return t().createElement(ae.Z,{key:"vx-tick-".concat(n.value,"-").concat(r),className:"vx-axis-tick"},!i.runtime.yAxis.hideTicks&&t().createElement(Cc,{from:n.from,to:n.to,stroke:"#333"}),!i.runtime.yAxis.hideLabel&&t().createElement(fc,{transform:"translate(".concat(n.to.x,", ").concat(n.to.y,") rotate(-").concat(60,")"),verticalAnchor:"start",textAnchor:"end",width:i.runtime.xAxis.tickRotation&&"0"!==i.runtime.xAxis.tickRotation?void 0:o},u(n.formattedValue)))})),!i.runtime.yAxis.hideAxis&&t().createElement(Cc,{from:e.axisFromPoint,to:e.axisToPoint,stroke:"#333"}))})),t().createElement(Pu,{top:y,left:i.runtime.yAxis.size,label:i.runtime.xAxis.label,tickFormat:"date"===i.runtime.xAxis.type?c:function(e){return e},scale:O,stroke:"#333",tickStroke:"#333",numTicks:i.runtime.xAxis.numTicks||void 0},(function(e){e.axisToPoint.x,e.axisFromPoint.x;return t().createElement(ae.Z,{className:"bottom-axis"},e.ticks.map((function(n,r){var o=b/e.ticks.length;return t().createElement(ae.Z,{key:"vx-tick-".concat(n.value,"-").concat(r),className:"vx-axis-tick"},t().createElement(Cc,{from:n.from,to:n.to,stroke:"#333"}),t().createElement(fc,{transform:"translate(".concat(n.to.x,", ").concat(n.to.y,") rotate(-").concat(60,")"),verticalAnchor:"start",textAnchor:"end",width:i.runtime.xAxis.tickRotation&&"0"!==i.runtime.xAxis.tickRotation?void 0:o},n.formattedValue))})),t().createElement(Cc,{from:e.axisFromPoint,to:e.axisToPoint,stroke:"#333"}))}))),"Paired Bar"===i.visualizationType&&t().createElement(hs,{width:b,height:y}),"Line"!==i.visualizationType&&"Paired Bar"!==i.visualizationType&&t().createElement(cs,{xScale:h,yScale:m,seriesScale:v,xMax:b,yMax:y,getXAxisData:x,getYAxisData:_}),"Bar"!==i.visualizationType&&"Paired Bar"!==i.visualizationType&&t().createElement(ds,{xScale:h,yScale:m,getXAxisData:x,getYAxisData:_})),t().createElement(Qa,{id:"cdc-open-viz-tooltip-".concat(i.runtime.uniqueId),html:!0,type:"light",arrowColor:"rgba(0,0,0,0)",className:"tooltip"}))}var gs=o(79521),bs=o(19575);function ys(e){var n={marginRight:"5px",borderRadius:"300px",verticalAlign:"middle",display:"inline-block",height:"1em",width:"1em",border:"rgba(0,0,0,.3) 1px solid",backgroundColor:e.fill};return t().createElement("span",{className:"legend-item",style:n})}var xs=function(){return xs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xs.apply(this,arguments)};function _s(){var n,r,o=(0,e.useContext)(hc),i=o.rawData,a=o.transformedData,c=o.config,l=o.colorScale,u=o.parseDate,s=o.formatDate,p=o.formatNumber,d="horizontal"===c.orientation?"yAxis":"xAxis",f=(0,e.useState)(c.table.expanded),h=f[0],m=f[1],v=(0,e.useState)(""),g=v[0],b=v[1],y=(0,e.useMemo)((function(){var n="Pie"===c.visualizationType?[]:[{Header:"",Cell:function(n){var r=n.row,o=c.runtime.seriesLabels?c.runtime.seriesLabels[r.original]:r.original;return t().createElement(e.Fragment,null,"Pie"!==c.visualizationType&&t().createElement(ys,{fill:l(o)}),t().createElement("span",null,o))},id:"series-label"}];return a.forEach((function(e){var r={Header:"date"===c.runtime[d].type?s(u(e[c.runtime.originalXAxis.dataKey])):e[c.runtime.originalXAxis.dataKey],Cell:function(n){var r=n.row;return t().createElement(t().Fragment,null,p(e[r.original]))},id:e[c.runtime.originalXAxis.dataKey],canSort:!0};n.push(r)})),n}),[c,l]),x=(0,e.useMemo)((function(){return"Pie"===c.visualizationType?[c.yAxis.dataKey]:c.runtime.seriesKeys}),[c.runtime.seriesKeys]);(0,e.useEffect)((function(){var e="Accessible data table.",t="Accessible data table. This table is currently collapsed visually but can still be read using a screen reader.";!0===h&&g!==e&&b(e),!1===h&&g!==t&&b(t)}),[h]);var _=(0,e.useMemo)((function(){return{minWidth:150,width:200,maxWidth:400}}),[]),w=(0,gs.useTable)({columns:y,data:x,defaultColumn:_},gs.useSortBy,gs.useBlockLayout,gs.useResizeColumns),k=w.getTableProps,E=w.getTableBodyProps,T=w.headerGroups,S=w.rows,C=w.prepareRow;return t().createElement(wc,{component:"DataTable"},t().createElement("section",{id:(null==c?void 0:c.title)?"dataTableSection__".concat(null==c?void 0:c.title.replace(/\s/g,"")):"dataTableSection",className:"data-table-container","aria-label":g},t().createElement("div",{role:"button",className:h?"data-table-heading":"collapsed data-table-heading",tabIndex:0,onClick:function(){m(!h)},onKeyDown:function(e){13===e.keyCode&&m(!h)}},c.table.label),t().createElement("div",{className:"table-container"},t().createElement("table",xs({className:h?"data-table":"data-table cdcdataviz-sr-only",hidden:!h},k(),{"aria-rowcount":(null===(n=null==c?void 0:c.series)||void 0===n?void 0:n.length)?null===(r=null==c?void 0:c.series)||void 0===r?void 0:r.length:"-1"}),t().createElement("caption",{className:"visually-hidden"},c.table.label),t().createElement("thead",null,T.map((function(e,n){return t().createElement("tr",xs({},e.getHeaderGroupProps(),{key:"headerGroups--".concat(n)}),e.headers.map((function(e,n){return t().createElement("th",xs({tabIndex:"0",title:e.Header,key:"trth--".concat(n),role:"columnheader",scope:"col"},e.getHeaderProps(e.getSortByToggleProps()),{className:e.isSorted?e.isSortedDesc?"sort sort-desc":"sort sort-asc":"sort"},e.isSorted?e.isSortedDesc?{"aria-sort":"descending"}:{"aria-sort":"ascending"}:null),0===n&&c.table.indexLabel?c.table.indexLabel:e.render("Header"),t().createElement("button",null,t().createElement("span",{className:"cdcdataviz-sr-only"},"Sort by ".concat("string"==typeof e.render("Header")?e.render("Header").toLowerCase():e.render("Header")," in ").concat(e.isSorted?e.isSortedDesc?"descending":"ascending":"no"," ")," order")),t().createElement("div",xs({},e.getResizerProps(),{className:"resizer"})))})))}))),t().createElement("tbody",xs({},E()),S.map((function(e,n){return C(e),t().createElement("tr",xs({},e.getRowProps(),{key:"tbody__tr-".concat(n)}),e.cells.map((function(e,n){return t().createElement("td",xs({tabIndex:"0"},e.getCellProps(),{key:"tbody__tr__td-".concat(n),role:"gridcell"}),e.render("Cell"))})))})))),c.regions&&c.regions.length>0?t().createElement("table",{className:"region-table data-table"},t().createElement("caption",{className:"visually-hidden"},"Table of the highlighted regions in the visualization"),t().createElement("thead",null,t().createElement("tr",null,t().createElement("th",null,"Region Name"),t().createElement("th",null,"Start Date"),t().createElement("th",null,"End Date"))),t().createElement("tbody",null,c.regions.map((function(e,n){return Object.keys(e).includes("from")&&Object.keys(e).includes("to")?t().createElement("tr",{key:"row-".concat(e.label,"--").concat(n)},t().createElement("td",null,e.label),t().createElement("td",null,s(u(e.from))),t().createElement("td",null,s(u(e.to)))):null})))):""),c.table.download&&t().createElement((function(e){var n=e.data,r="".concat(c.title.substring(0,50),".csv"),o=ko().unparse(n);return t().createElement("a",{download:r,onClick:function(){if("function"==typeof window.navigator.msSaveBlob){var e=new Blob([o],{type:"text/csv;charset=utf-8;"});window.navigator.msSaveBlob(e,r)}},href:"data:text/csv;base64,".concat(bs.Base64.encode(o)),"aria-label":"Download this data in a CSV file format.",className:"btn btn-download no-border"},"Download Data (CSV)")}),{data:i})))}var ws={type:"chart",title:"",theme:"theme-blue",fontSize:"medium",lineDatapointStyle:"hover",barHasBorder:"false",isLollipopChart:!1,lollipopShape:"circle",lollipopColorStyle:"two-tone",visualizationSubType:"regular",padding:{left:5,right:5},yAxis:{hideAxis:!1,hideLabel:!1,hideTicks:!1,size:50,gridLines:!1,min:void 0,max:void 0},barThickness:.35,height:300,xAxis:{type:"categorical",hideAxis:!1,hideLabel:!1,hideTicks:!1,size:75,tickRotation:0,min:void 0,max:void 0},table:{label:"Data Table",expanded:!0},orientation:"vertical",legend:{behavior:"isolate",position:"right",reverseLabelOrder:!1},exclusions:{active:!1,keys:[]},palette:"qualitative-bold",isPaletteReversed:!1,labels:!1,dataFormat:{},confidenceKeys:{},visual:{border:!0,accent:!0,background:!0}};function ks(e,t){return ks=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ks(e,t)}function Es(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ks(e,t)}function Ts(){return Ts=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ts.apply(this,arguments)}function Ss(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cs(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 As(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cs(Object(n),!0).forEach((function(t){Ss(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Os(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 Rs="function"==typeof Symbol&&Symbol.observable||"@@observable",zs=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ps={INIT:"@@redux/INIT"+zs(),REPLACE:"@@redux/REPLACE"+zs(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zs()}};function Ms(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Is(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Os(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Os(1));return n(Is)(e,t)}if("function"!=typeof e)throw new Error(Os(2));var o=e,i=t,a=[],c=a,l=!1;function u(){c===a&&(c=a.slice())}function s(){if(l)throw new Error(Os(3));return i}function p(e){if("function"!=typeof e)throw new Error(Os(4));if(l)throw new Error(Os(5));var t=!0;return u(),c.push(e),function(){if(t){if(l)throw new Error(Os(6));t=!1,u();var n=c.indexOf(e);c.splice(n,1),a=null}}}function d(e){if(!Ms(e))throw new Error(Os(7));if(void 0===e.type)throw new Error(Os(8));if(l)throw new Error(Os(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=c,n=0;n<t.length;n++){(0,t[n])()}return e}function f(e){if("function"!=typeof e)throw new Error(Os(10));o=e,d({type:Ps.REPLACE})}function h(){var e,t=p;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Os(11));function n(){e.next&&e.next(s())}return n(),{unsubscribe:t(n)}}})[Rs]=function(){return this},e}return d({type:Ps.INIT}),(r={dispatch:d,subscribe:p,getState:s,replaceReducer:f})[Rs]=h,r}function Ns(e,t){return function(){return t(e.apply(this,arguments))}}function Ds(e,t){if("function"==typeof e)return Ns(e,t);if("object"!=typeof e||null===e)throw new Error(Os(16));var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=Ns(o,t))}return n}function Ls(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Bs=t().createContext(null);var js=function(e){e()},Fs=function(){return js};var Hs={notify:function(){},get:function(){return[]}};function Us(e,t){var n,r=Hs;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=Fs(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=Hs)},getListeners:function(){return r}};return a}var Gs="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;var Ws=function(n){var r=n.store,o=n.context,i=n.children,a=(0,e.useMemo)((function(){var e=Us(r);return{store:r,subscription:e}}),[r]),c=(0,e.useMemo)((function(){return r.getState()}),[r]);Gs((function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==r.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,c]);var l=o||Bs;return t().createElement(l.Provider,{value:a},i)};function qs(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Vs=o(73463),Ks=o.n(Vs),Zs=o(63920),Ys=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],$s=["reactReduxForwardedRef"],Xs=[],Js=[null,null];function Qs(e,t){var n=e[1];return[t.payload,n+1]}function ep(e,t,n){Gs((function(){return e.apply(void 0,t)}),n)}function tp(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function np(e,t,n,r,o,i,a,c,l,u){if(e){var s=!1,p=null,d=function(){if(!s){var e,n,d=t.getState();try{e=r(d,o.current)}catch(e){n=e,p=e}n||(p=null),e===i.current?a.current||l():(i.current=e,c.current=e,a.current=!0,u({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(s=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var rp=function(){return[null,0]};function op(n,r){void 0===r&&(r={});var o=r,i=o.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,c=o.methodName,l=void 0===c?"connectAdvanced":c,u=o.renderCountProp,s=void 0===u?void 0:u,p=o.shouldHandleStateChanges,d=void 0===p||p,f=o.storeKey,h=void 0===f?"store":f,m=(o.withRef,o.forwardRef),v=void 0!==m&&m,g=o.context,b=void 0===g?Bs:g,y=qs(o,Ys),x=b;return function(r){var o=r.displayName||r.name||"Component",i=a(o),c=Ts({},y,{getDisplayName:a,methodName:l,renderCountProp:s,shouldHandleStateChanges:d,storeKey:h,displayName:i,wrappedComponentName:o,WrappedComponent:r}),u=y.pure;var p=u?e.useMemo:function(e){return e()};function f(o){var i=(0,e.useMemo)((function(){var e=o.reactReduxForwardedRef,t=qs(o,$s);return[o.context,e,t]}),[o]),a=i[0],l=i[1],u=i[2],s=(0,e.useMemo)((function(){return a&&a.Consumer&&(0,Zs.isContextConsumer)(t().createElement(a.Consumer,null))?a:x}),[a,x]),f=(0,e.useContext)(s),h=Boolean(o.store)&&Boolean(o.store.getState)&&Boolean(o.store.dispatch);Boolean(f)&&Boolean(f.store);var m=h?o.store:f.store,v=(0,e.useMemo)((function(){return function(e){return n(e.dispatch,c)}(m)}),[m]),g=(0,e.useMemo)((function(){if(!d)return Js;var e=Us(m,h?null:f.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[m,h,f]),b=g[0],y=g[1],_=(0,e.useMemo)((function(){return h?f:Ts({},f,{subscription:b})}),[h,f,b]),w=(0,e.useReducer)(Qs,Xs,rp),k=w[0][0],E=w[1];if(k&&k.error)throw k.error;var T=(0,e.useRef)(),S=(0,e.useRef)(u),C=(0,e.useRef)(),A=(0,e.useRef)(!1),O=p((function(){return C.current&&u===S.current?C.current:v(m.getState(),u)}),[m,k,u]);ep(tp,[S,T,A,u,O,C,y]),ep(np,[d,m,b,v,S,T,A,C,y,E],[m,b,v]);var R=(0,e.useMemo)((function(){return t().createElement(r,Ts({},O,{ref:l}))}),[l,r,O]);return(0,e.useMemo)((function(){return d?t().createElement(s.Provider,{value:_},R):R}),[s,R,_])}var m=u?t().memo(f):f;if(m.WrappedComponent=r,m.displayName=f.displayName=i,v){var g=t().forwardRef((function(e,n){return t().createElement(m,Ts({},e,{reactReduxForwardedRef:n}))}));return g.displayName=i,g.WrappedComponent=r,Ks()(g,r)}return Ks()(m,r)}}function ip(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function ap(e,t){if(ip(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!ip(e[n[o]],t[n[o]]))return!1;return!0}function cp(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function lp(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function up(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=lp(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=lp(o),o=r(t,n)),o},r}}var sp=[function(e){return"function"==typeof e?up(e):void 0},function(e){return e?void 0:cp((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?cp((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var pp=[function(e){return"function"==typeof e?up(e):void 0},function(e){return e?void 0:cp((function(){return{}}))}];function dp(e,t,n){return Ts({},n,e,t)}var fp=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,c){var l=e(t,n,c);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return dp}}],hp=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function mp(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function vp(e,t,n,r,o){var i,a,c,l,u,s=o.areStatesEqual,p=o.areOwnPropsEqual,d=o.areStatePropsEqual,f=!1;function h(o,f){var h,m,v=!p(f,a),g=!s(o,i);return i=o,a=f,v&&g?(c=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),u=n(c,l,a)):v?(e.dependsOnOwnProps&&(c=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),u=n(c,l,a)):g?(h=e(i,a),m=!d(h,c),c=h,m&&(u=n(c,l,a)),u):u}return function(o,s){return f?h(o,s):(c=e(i=o,a=s),l=t(r,a),u=n(c,l,a),f=!0,u)}}function gp(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=qs(t,hp),a=n(e,i),c=r(e,i),l=o(e,i);return(i.pure?vp:mp)(a,c,l,e,i)}var bp=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function yp(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function xp(e,t){return e===t}function _p(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?op:n,o=t.mapStateToPropsFactories,i=void 0===o?pp:o,a=t.mapDispatchToPropsFactories,c=void 0===a?sp:a,l=t.mergePropsFactories,u=void 0===l?fp:l,s=t.selectorFactory,p=void 0===s?gp:s;return function(e,t,n,o){void 0===o&&(o={});var a=o,l=a.pure,s=void 0===l||l,d=a.areStatesEqual,f=void 0===d?xp:d,h=a.areOwnPropsEqual,m=void 0===h?ap:h,v=a.areStatePropsEqual,g=void 0===v?ap:v,b=a.areMergedPropsEqual,y=void 0===b?ap:b,x=qs(a,bp),_=yp(e,i,"mapStateToProps"),w=yp(t,c,"mapDispatchToProps"),k=yp(n,u,"mergeProps");return r(p,Ts({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:w,initMergeProps:k,pure:s,areStatesEqual:f,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:y},x))}}var wp=_p();var kp,Ep=o(93168),Tp=o.n(Ep);function Sp(t,n){var r=(0,e.useState)((function(){return{inputs:n,result:t()}}))[0],o=(0,e.useRef)(!0),i=(0,e.useRef)(r),a=o.current||Boolean(n&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(n,i.current.inputs)),c=a?i.current:{inputs:n,result:t()};return(0,e.useEffect)((function(){o.current=!1,i.current=c}),[c]),c.result}kp=Ep.unstable_batchedUpdates,js=kp;var Cp=Sp,Ap=function(e,t){return Sp((function(){return e}),t)},Op="Invariant failed";var Rp=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},zp=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},Pp=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},Mp={top:0,right:0,bottom:0,left:0},Ip=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?Mp:n,o=e.border,i=void 0===o?Mp:o,a=e.padding,c=void 0===a?Mp:a,l=Rp(zp(t,r)),u=Rp(Pp(t,i)),s=Rp(Pp(u,c));return{marginBox:l,borderBox:Rp(t),paddingBox:u,contentBox:s,margin:r,border:i,padding:c}},Np=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){if(!e)throw new Error(Op)}(!1),n},Dp=function(e,t){var n=e.borderBox,r=e.border,o=e.margin,i=e.padding,a=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}}(n,t);return Ip({borderBox:a,border:r,margin:o,padding:i})},Lp=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),Dp(e,t)},Bp=function(e,t){var n={top:Np(t.marginTop),right:Np(t.marginRight),bottom:Np(t.marginBottom),left:Np(t.marginLeft)},r={top:Np(t.paddingTop),right:Np(t.paddingRight),bottom:Np(t.paddingBottom),left:Np(t.paddingLeft)},o={top:Np(t.borderTopWidth),right:Np(t.borderRightWidth),bottom:Np(t.borderBottomWidth),left:Np(t.borderLeftWidth)};return Ip({borderBox:e,margin:n,padding:r,border:o})},jp=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Bp(t,n)},Fp=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Hp(e,t){return e===t||!(!Fp(e)||!Fp(t))}function Up(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Hp(e[n],t[n]))return!1;return!0}var Gp=function(e,t){var n;void 0===t&&(t=Up);var r,o=[],i=!1;return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}},Wp=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function qp(e,t){}qp.bind(null,"warn"),qp.bind(null,"error");function Vp(){}function Kp(e,t,n){var r=t.map((function(t){var r=function(e,t){return Ts({},e,{},t)}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var Zp="Invariant failed";function Yp(e){this.message=e}function $p(e,t){if(!e)throw new Yp(Zp)}Yp.prototype.toString=function(){return this.message};var Xp=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=Vp,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Yp&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}Es(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Kp(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Yp))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(t().Component),Jp=function(e){return e+1},Qp=function(e,t){var n=e.droppableId===t.droppableId,r=Jp(e.index),o=Jp(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},ed=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},td=function(e){return"\n The item has returned to its starting position\n of "+Jp(e.index)+"\n"},nd="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",rd=function(e){return"\n You have lifted an item in position "+Jp(e.source.index)+"\n"},od=function(e){var t=e.destination;if(t)return Qp(e.source,t);var n=e.combine;return n?ed(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},id=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+td(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+Qp(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+ed(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+td(e.source)+"\n "},ad={x:0,y:0},cd=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},ld=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},ud=function(e,t){return e.x===t.x&&e.y===t.y},sd=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},pd=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},dd=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},fd=function(e,t){return Math.min.apply(Math,t.map((function(t){return dd(e,t)})))},hd=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},md=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},vd=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},gd=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=Rp({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):Rp(e)},bd=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,i=function(e,t){return t?md(e,t.scroll.diff.displacement):e}(t.marginBox,o),a=function(e,t,n){var r;return n&&n.increasedBy?Ts({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(i,r,n);return{page:t,withPlaceholder:n,active:gd(a,o)}},yd=function(e,t){e.frame||$p(!1);var n=e.frame,r=ld(t,n.scroll.initial),o=sd(r),i=Ts({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}});return Ts({},e,{frame:i,subject:bd({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i})})};function xd(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function _d(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function wd(e,t){if(e.find)return e.find(t);var n=_d(e,t);return-1!==n?e[n]:void 0}function kd(e){return Array.prototype.slice.call(e)}var Ed=Gp((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Td=Gp((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Sd=Gp((function(e){return xd(e)})),Cd=Gp((function(e){return xd(e)})),Ad=Gp((function(e,t){var n=Cd(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function Od(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function Rd(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var zd=Gp((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),Pd=function(e,t){return e.descriptor.droppableId===t.descriptor.id},Md={point:ad,value:0},Id={invisible:{},visible:{},all:[]},Nd={displaced:Id,displacedBy:Md,at:null},Dd=function(e,t){return function(n){return e<=n&&n<=t}},Ld=function(e){var t=Dd(e.top,e.bottom),n=Dd(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,c=r.left<e.left&&r.right>e.right;return!(!a||!c)||(a&&i||c&&o)}},Bd=function(e){var t=Dd(e.top,e.bottom),n=Dd(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},jd={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Fd={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Hd=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:ad;return md(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,i)&&function(e,t,n){return n(t)(e)}(a,r,i)},Ud=function(e){return Hd(Ts({},e,{isVisibleThroughFrameFn:Ld}))},Gd=function(e){return Hd(Ts({},e,{isVisibleThroughFrameFn:Bd}))};function Wd(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var c=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return Rp(zp(n,r))}(t,r),l=t.descriptor.id;if(e.all.push(l),!Ud({target:c,destination:n,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u=function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var i=o[e];return!i||i.shouldAnimate}(l,a,i),s={draggableId:l,shouldAnimate:u};return e.visible[l]=s,e}),{all:[],visible:{},invisible:{}})}function qd(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,i=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:Id,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function Vd(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,c=e.index,l=e.forceShouldAnimate,u=Pd(t,r);if(null==c)return qd({insideDestination:n,inHomeList:u,displacedBy:i,destination:r});var s=wd(n,(function(e){return e.descriptor.index===c}));if(!s)return qd({insideDestination:n,inHomeList:u,displacedBy:i,destination:r});var p=zd(t,n),d=n.indexOf(s);return{displaced:Wd({afterDragging:p.slice(d),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:l}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:c}}}}function Kd(e,t){return Boolean(t.effected[e])}var Zd=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,c=e.previousImpact,l=e.viewport,u=e.afterCritical,s=c.at;if(s||$p(!1),"REORDER"===s.type){var p=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var i=o.index,a=t?i+1:i-1,c=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a<c||a>(n?l:l+1)?null:a}({isMovingForward:t,isInHomeList:n,location:s.destination,insideDestination:a});return null==p?null:Vd({draggable:r,insideDestination:a,destination:i,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:p})}var d=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,o=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,c=r[a].descriptor.index;return Kd(a,i)?t?c:c-1:t?c+1:c}({isMovingForward:t,destination:i,displaced:c.displaced,draggables:o,combine:s.combine,afterCritical:u});return null==d?null:Vd({draggable:r,insideDestination:a,destination:i,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:d})},Yd=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=Rd(n);o||$p(!1);var i=o.draggableId,a=r[i].page.borderBox.center,c=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return Kd(r,n)?i?ad:sd(o.point):i?o.point:ad}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return cd(a,c)},$d=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Xd=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Jd=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return pd(t.line,n.marginBox[t.end]+$d(t,r),Xd(t,n.marginBox,r))},Qd=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return pd(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Xd(t,n.marginBox,r))},ef=function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,i=e.afterCritical,a=Ad(o.descriptor.id,r),c=n.page,l=o.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return pd(t.line,n.contentBox[t.start]+$d(t,r),Xd(t,n.contentBox,r))}({axis:l,moveInto:o.page,isMoving:c});var u=t.displaced,s=t.displacedBy,p=u.all[0];if(p){var d=r[p];if(Kd(p,i))return Qd({axis:l,moveRelativeTo:d.page,isMoving:c});var f=Dp(d.page,s.point);return Qd({axis:l,moveRelativeTo:f,isMoving:c})}var h=a[a.length-1];if(h.descriptor.id===n.descriptor.id)return c.borderBox.center;if(Kd(h.descriptor.id,i)){var m=Dp(h.page,sd(i.displacedBy.point));return Jd({axis:l,moveRelativeTo:m,isMoving:c})}return Jd({axis:l,moveRelativeTo:h.page,isMoving:c})},tf=function(e,t){var n=e.frame;return n?cd(t,n.scroll.diff.displacement):t},nf=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.afterCritical,a=n.page.borderBox.center,c=t.at;return r&&c?"REORDER"===c.type?ef({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i}):Yd({impact:t,draggables:o,afterCritical:i}):a}(e),n=e.droppable;return n?tf(n,t):t},rf=function(e,t){var n=ld(t,e.scroll.initial),r=sd(n);return{frame:Rp({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function of(e,t){return e.map((function(e){return t[e]}))}var af=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return cd(e.scroll.diff.displacement,t)}(e.viewport,t),o=ld(r,n.page.borderBox.center);return cd(n.client.borderBox.center,o)},cf=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,a=e.onlyOnMainAxis,c=void 0!==a&&a,l=ld(r,t.page.borderBox.center),u={target:md(t.page.borderBox,l),destination:n,withDroppableDisplacement:i,viewport:o};return c?function(e){return Hd(Ts({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=Dd(e.top,e.bottom),r=Dd(e.left,e.right);return function(e){return t===jd?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(u):Gd(u)},lf=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,i=e.previousImpact,a=e.viewport,c=e.previousPageBorderBoxCenter,l=e.previousClientSelection,u=e.afterCritical;if(!r.isEnabled)return null;var s=Ad(r.descriptor.id,o),p=Pd(n,r),d=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact;if(!r.isCombineEnabled)return null;if(!Od(i))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return Ts({},i,{at:t})}var c=i.displaced.all,l=c.length?c[0]:null;if(t)return l?a(l):null;var u=zd(n,o);if(!l)return u.length?a(u[u.length-1].descriptor.id):null;var s=_d(u,(function(e){return e.descriptor.id===l}));-1===s&&$p(!1);var p=s-1;return p<0?null:a(u[p].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:s,previousImpact:i})||Zd({isMovingForward:t,isInHomeList:p,draggable:n,draggables:o,destination:r,insideDestination:s,previousImpact:i,viewport:a,afterCritical:u});if(!d)return null;var f=nf({impact:d,draggable:n,droppable:r,draggables:o,afterCritical:u});if(cf({draggable:n,destination:r,newPageBorderBoxCenter:f,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:af({pageBorderBoxCenter:f,draggable:n,viewport:a}),impact:d,scrollJumpRequest:null};var h=ld(f,c),m=function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,i=e.maxScrollChange,a=rf(n,cd(n.scroll.current,i)),c=r.frame?yd(r,cd(r.frame.scroll.current,i)):r,l=t.displaced,u=Wd({afterDragging:of(l.all,o),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),s=Wd({afterDragging:of(l.all,o),destination:c,displacedBy:t.displacedBy,viewport:n.frame,last:l,forceShouldAnimate:!1}),p={},d={},f=[l,u,s];return l.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,f);t?d[e]=t:p[e]=!0})),Ts({},t,{displaced:{all:l.all,invisible:p,visible:d}})}({impact:d,viewport:a,destination:r,draggables:o,maxScrollChange:h});return{clientSelection:l,impact:m,scrollJumpRequest:h}},uf=function(e){var t=e.subject.active;return t||$p(!1),t},sf=function(e,t){var n=e.page.borderBox.center;return Kd(e.descriptor.id,t)?ld(n,t.displacedBy.point):n},pf=function(e,t){var n=e.page.borderBox;return Kd(e.descriptor.id,t)?md(n,sd(t.displacedBy.point)):n},df=Gp((function(e,t){var n=t[e.line];return{value:n,point:pd(e.line,n)}})),ff=function(e,t){return Ts({},e,{scroll:Ts({},e.scroll,{max:t})})},hf=function(e,t,n){var r=e.frame;Pd(t,e)&&$p(!1),e.subject.withPlaceholder&&$p(!1);var o=df(e.axis,t.displaceBy).point,i=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return pd(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],i=Ad(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return i<=0?null:pd(r.line,i)}(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return Ts({},e,{subject:bd({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var c=i?cd(r.scroll.max,i):r.scroll.max,l=ff(r,c);return Ts({},e,{subject:bd({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},mf=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,i=e.draggables,a=e.droppables,c=e.viewport,l=e.afterCritical,u=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.subject.active;if(!a)return null;var c=r.axis,l=Dd(a[c.start],a[c.end]),u=Sd(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return Ld(i.frame)(uf(e))})).filter((function(e){var n=uf(e);return t?a[c.crossAxisEnd]<n[c.crossAxisEnd]:n[c.crossAxisStart]<a[c.crossAxisStart]})).filter((function(e){var t=uf(e),n=Dd(t[c.start],t[c.end]);return l(t[c.start])||l(t[c.end])||n(a[c.start])||n(a[c.end])})).sort((function(e,n){var r=uf(e)[c.crossAxisStart],o=uf(n)[c.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return uf(e)[c.crossAxisStart]===uf(n[0])[c.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var s=u.filter((function(e){return Dd(uf(e)[c.start],uf(e)[c.end])(n[c.line])}));return 1===s.length?s[0]:s.length>1?s.sort((function(e,t){return uf(e)[c.start]-uf(t)[c.start]}))[0]:u.sort((function(e,t){var r=fd(n,vd(uf(e))),o=fd(n,vd(uf(t)));return r!==o?r-o:uf(e)[c.start]-uf(t)[c.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:a,viewport:c});if(!u)return null;var s=Ad(u.descriptor.id,i),p=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.insideDestination,i=e.afterCritical,a=o.filter((function(e){return Gd({target:pf(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=dd(t,tf(r,sf(e,i))),a=dd(t,tf(r,sf(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}));return a[0]||null}({pageBorderBoxCenter:n,viewport:c,destination:u,insideDestination:s,afterCritical:l}),d=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,i=e.draggables,a=e.destination,c=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var u={displaced:Id,displacedBy:Md,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},s=nf({impact:u,draggable:o,droppable:a,draggables:i,afterCritical:l}),p=Pd(o,a)?a:hf(a,o,i);return cf({draggable:o,destination:p,newPageBorderBoxCenter:s,viewport:c.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var d,f=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),h=(d=n.descriptor.index,n.descriptor.id===o.descriptor.id||f?d:d+1),m=df(a.axis,o.displaceBy);return Vd({draggable:o,insideDestination:r,destination:a,viewport:c,displacedBy:m,last:Id,index:h})}({previousPageBorderBoxCenter:n,destination:u,draggable:r,draggables:i,moveRelativeTo:p,insideDestination:s,viewport:c,afterCritical:l});if(!d)return null;var f=nf({impact:d,draggable:r,droppable:u,draggables:i,afterCritical:l});return{clientSelection:af({pageBorderBoxCenter:f,draggable:r,viewport:c}),impact:d,scrollJumpRequest:null}},vf=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},gf=function(e){var t=e.state,n=e.type,r=function(e,t){var n=vf(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],a=r||i,c=a.axis.direction,l="vertical"===c&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===c&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!o)return null;var u="MOVE_DOWN"===n||"MOVE_RIGHT"===n,s=t.dimensions.draggables[t.critical.draggable.id],p=t.current.page.borderBoxCenter,d=t.dimensions,f=d.draggables,h=d.droppables;return l?lf({isMovingForward:u,previousPageBorderBoxCenter:p,draggable:s,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):mf({isMovingForward:u,previousPageBorderBoxCenter:p,draggable:s,isOver:a,draggables:f,droppables:h,viewport:t.viewport,afterCritical:t.afterCritical})};function bf(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function yf(e){var t=Dd(e.top,e.bottom),n=Dd(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function xf(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=Sd(r).filter((function(e){if(!e.isEnabled)return!1;var n=e.subject.active;if(!n)return!1;if(!function(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}(t,n))return!1;if(yf(n)(t.center))return!0;var r=e.axis,o=n.center[r.crossAxisLine],i=t[r.crossAxisStart],a=t[r.crossAxisEnd],c=Dd(n[r.crossAxisStart],n[r.crossAxisEnd]),l=c(i),u=c(a);return!l&&!u||(l?i<o:a>o)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,o=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=pd(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:dd(o,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}var _f=function(e,t){return Rp(md(e,t))};function wf(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var kf=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,c=e.afterCritical,l=_f(n.page.borderBox,t),u=xf({pageBorderBox:l,draggable:n,droppables:o});if(!u)return Nd;var s=o[u],p=Ad(s.descriptor.id,r),d=function(e,t){var n=e.frame;return n?_f(t,n.scroll.diff.value):t}(s,l);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var c=o.axis,l=df(o.axis,t.displaceBy),u=l.value,s=n[c.start],p=n[c.end],d=wd(zd(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[c.size]/4,i=Kd(t,a),l=wf({displaced:r.displaced,id:t});return i?l?p>n[c.start]+o&&p<n[c.end]-o:s>n[c.start]-u+o&&s<n[c.end]-u-o:l?p>n[c.start]+u+o&&p<n[c.end]+u-o:s>n[c.start]+o&&s<n[c.end]-o}));return d?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:d.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:d,draggable:n,previousImpact:i,destination:s,insideDestination:p,afterCritical:c})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.last,a=e.viewport,c=e.afterCritical,l=r.axis,u=df(r.axis,n.displaceBy),s=u.value,p=t[l.start],d=t[l.end],f=function(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:wd(zd(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=Kd(t,c),o=wf({displaced:i,id:t});return r?o?d<=n:p<n-s:o?d<=n+s:p<n})),inHomeList:Pd(n,r)});return Vd({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:u,index:f})}({pageBorderBoxWithDroppableScroll:d,draggable:n,destination:s,insideDestination:p,last:i.displaced,viewport:a,afterCritical:c})},Ef=function(e,t){var n;return Ts({},e,((n={})[t.descriptor.id]=t,n))},Tf=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=vf(t),i=vf(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var c=function(e){var t=e.subject.withPlaceholder;t||$p(!1);var n=e.frame;if(!n)return Ts({},e,{subject:bd({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||$p(!1);var o=ff(n,r);return Ts({},e,{subject:bd({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null}),frame:o})}(a);return Ef(r,c)},Sf=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,i=e.impact,a=e.scrollJumpRequest,c=o||t.viewport,l=r||t.dimensions,u=n||t.current.client.selection,s=ld(u,t.initial.client.selection),p={offset:s,selection:u,borderBoxCenter:cd(t.initial.client.borderBoxCenter,s)},d={selection:cd(p.selection,c.scroll.current),borderBoxCenter:cd(p.borderBoxCenter,c.scroll.current),offset:cd(p.offset,c.scroll.diff.value)},f={client:p,page:d};if("COLLECTING"===t.phase)return Ts({phase:"COLLECTING"},t,{dimensions:l,viewport:c,current:f});var h=l.draggables[t.critical.draggable.id],m=i||kf({pageOffset:d.offset,draggable:h,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:c,afterCritical:t.afterCritical}),v=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.previousImpact,i=e.impact,a=Tf({previousImpact:o,impact:i,droppables:r}),c=vf(i);if(!c)return a;var l=r[c];if(Pd(t,l))return a;if(l.subject.withPlaceholder)return a;var u=hf(l,t,n);return Ef(a,u)}({draggable:h,impact:m,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return Ts({},t,{current:f,dimensions:{draggables:l.draggables,droppables:v},impact:m,viewport:c,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var Cf=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,i=e.forceShouldAnimate,a=t.displaced,c=function(e,t){return e.map((function(e){return t[e]}))}(a.all,r);return Ts({},t,{displaced:Wd({afterDragging:c,destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a})})},Af=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.viewport,a=e.afterCritical,c=nf({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a});return af({pageBorderBoxCenter:c,draggable:n,viewport:i})},Of=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&$p(!1);var o=t.impact,i=r||t.viewport,a=n||t.dimensions,c=a.draggables,l=a.droppables,u=c[t.critical.draggable.id],s=vf(o);s||$p(!1);var p=l[s],d=Cf({impact:o,viewport:i,destination:p,draggables:c}),f=Af({impact:d,draggable:u,droppable:p,draggables:c,viewport:i,afterCritical:t.afterCritical});return Sf({impact:d,clientSelection:f,state:t,dimensions:a,viewport:i})},Rf=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,i=df(n.axis,t.displaceBy),a=Ad(n.descriptor.id,r),c=a.indexOf(t);-1===c&&$p(!1);var l,u=a.slice(c+1),s=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),p={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:s};return{impact:{displaced:Wd({afterDragging:u,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:p}},zf=function(e){0},Pf=function(e){0},Mf=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,i=function(e){var t=e.frame;return t||$p(!1),t}(n[t]),a=i.scroll.diff.value,c=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=Dp(t.client,n),i=Lp(o,r);return Ts({},t,{placeholder:Ts({},t.placeholder,{client:o}),client:o,page:i})}({draggable:e,offset:cd(o,a),initialWindowScroll:r.scroll.initial});return c}))},If=function(e){return"SNAP"===e.movementMode},Nf=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:Ef(e.droppables,t)}}(e.dimensions,t);return!If(e)||n?Sf({state:e,dimensions:r}):Of({state:e,dimensions:r})};function Df(e){return e.isDragging&&"SNAP"===e.movementMode?Ts({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var Lf={phase:"IDLE",completed:null,shouldFlush:!1},Bf=function(e,t){if(void 0===e&&(e=Lf),"FLUSH"===t.type)return Ts({},Lf,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&$p(!1);var n=t.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,c=n.movementMode,l=a.draggables[r.draggable.id],u=a.droppables[r.droppable.id],s={selection:o,borderBoxCenter:l.client.borderBox.center,offset:ad},p={client:s,page:{selection:cd(s.selection,i.scroll.initial),borderBoxCenter:cd(s.selection,i.scroll.initial),offset:cd(s.selection,i.scroll.diff.value)}},d=Sd(a.droppables).every((function(e){return!e.isFixedOnPage})),f=Rf({draggable:l,home:u,draggables:a.draggables,viewport:i}),h=f.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:c,dimensions:a,initial:p,current:p,isWindowScrollAllowed:d,impact:h,afterCritical:f.afterCritical,onLiftImpact:h,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&$p(!1),Ts({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&$p(!1),function(e){var t=e.state,n=e.published;zf();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return yd(n,e.scroll)})),o=Ts({},t.dimensions.droppables,{},Ed(r)),i=Td(Mf({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),a=Ts({},t.dimensions.draggables,{},i);n.removals.forEach((function(e){delete a[e]}));var c={droppables:o,draggables:a},l=vf(t.impact),u=l?c.droppables[l]:null,s=c.draggables[t.critical.draggable.id],p=c.droppables[t.critical.droppable.id],d=Rf({draggable:s,home:p,draggables:a,viewport:t.viewport}),f=d.impact,h=d.afterCritical,m=u&&u.isCombineEnabled?t.impact:f,v=kf({pageOffset:t.current.page.offset,draggable:c.draggables[t.critical.draggable.id],draggables:c.draggables,droppables:c.droppables,previousImpact:m,viewport:t.viewport,afterCritical:h});Pf();var g=Ts({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:v,onLiftImpact:f,dimensions:c,afterCritical:h,forceShouldAnimate:!1});return"COLLECTING"===t.phase?g:Ts({phase:"DROP_PENDING"},g,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;bf(e)||$p(!1);var m=t.payload.client;return ud(m,e.current.client.selection)?e:Sf({state:e,clientSelection:m,impact:If(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return Df(e);if("COLLECTING"===e.phase)return Df(e);bf(e)||$p(!1);var v=t.payload,g=v.id,b=v.newScroll,y=e.dimensions.droppables[g];if(!y)return e;var x=yd(y,b);return Nf(e,x,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;bf(e)||$p(!1);var _=t.payload,w=_.id,k=_.isEnabled,E=e.dimensions.droppables[w];E||$p(!1),E.isEnabled===k&&$p(!1);var T=Ts({},E,{isEnabled:k});return Nf(e,T,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;bf(e)||$p(!1);var S=t.payload,C=S.id,A=S.isCombineEnabled,O=e.dimensions.droppables[C];O||$p(!1),O.isCombineEnabled===A&&$p(!1);var R=Ts({},O,{isCombineEnabled:A});return Nf(e,R,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;bf(e)||$p(!1),e.isWindowScrollAllowed||$p(!1);var z=t.payload.newScroll;if(ud(e.viewport.scroll.current,z))return Df(e);var P=rf(e.viewport,z);return If(e)?Of({state:e,viewport:P}):Sf({state:e,viewport:P})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!bf(e))return e;var M=t.payload.maxScroll;if(ud(M,e.viewport.scroll.max))return e;var I=Ts({},e.viewport,{scroll:Ts({},e.viewport.scroll,{max:M})});return Ts({phase:"DRAGGING"},e,{viewport:I})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&$p(!1);var N=gf({state:e,type:t.type});return N?Sf({state:e,impact:N.impact,clientSelection:N.clientSelection,scrollJumpRequest:N.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var D=t.payload.reason;return"COLLECTING"!==e.phase&&$p(!1),Ts({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:D})}if("DROP_ANIMATE"===t.type){var L=t.payload,B=L.completed,j=L.dropDuration,F=L.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&$p(!1),{phase:"DROP_ANIMATING",completed:B,dropDuration:j,newHomeClientOffset:F,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},jf=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},Ff=function(){return{type:"COLLECTION_STARTING",payload:null}},Hf=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Uf=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},Gf=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Wf=function(e){return{type:"MOVE",payload:e}},qf=function(){return{type:"MOVE_UP",payload:null}},Vf=function(){return{type:"MOVE_DOWN",payload:null}},Kf=function(){return{type:"MOVE_RIGHT",payload:null}},Zf=function(){return{type:"MOVE_LEFT",payload:null}},Yf=function(e){return{type:"DROP_COMPLETE",payload:e}},$f=function(e){return{type:"DROP",payload:e}},Xf=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Jf="cubic-bezier(.2,1,.1,1)",Qf={drop:0,combining:.7},eh={drop:.75},th=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",nh={fluid:"opacity "+th,snap:"transform "+th+", opacity "+th,drop:function(e){var t=e+"s "+Jf;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+th,placeholder:"height "+th+", width "+th+", margin "+th},rh=function(e){return ud(e,ad)?null:"translate("+e.x+"px, "+e.y+"px)"},oh=rh,ih=function(e,t){var n=rh(e);return n?t?n+" scale("+eh.drop+")":n:null},ah=.33,ch=.55,lh=ch-ah,uh=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&$p(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&$p(!1);var a=o.critical,c=o.dimensions,l=c.draggables[o.critical.draggable.id],u=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,i=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:Ts({},r,{displaced:Id}),didDropInsideDroppable:!0}:{impact:Cf({draggables:t,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),s=u.impact,p=u.didDropInsideDroppable,d=p?Od(s):null,f=p?Rd(s):null,h={index:a.draggable.index,droppableId:a.droppable.id},m={draggableId:l.descriptor.id,type:l.descriptor.type,source:h,reason:i,mode:o.movementMode,destination:d,combine:f},v=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,i=e.afterCritical,a=r.draggables,c=r.droppables,l=vf(t),u=l?c[l]:null,s=c[n.descriptor.droppableId],p=Af({impact:t,draggable:n,draggables:a,afterCritical:i,droppable:u||s,viewport:o});return ld(p,n.client.borderBox.center)}({impact:s,draggable:l,dimensions:c,viewport:o.viewport,afterCritical:o.afterCritical}),g={critical:o.critical,afterCritical:o.afterCritical,result:m,impact:s};if(!ud(o.current.client.offset,v)||Boolean(m.combine)){var b=function(e){var t=e.current,n=e.destination,r=e.reason,o=dd(t,n);if(o<=0)return ah;if(o>=1500)return ch;var i=ah+lh*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:v,reason:i});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:v,dropDuration:b,completed:g}))}else n(Yf({completed:g}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(r)}}},sh=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function ph(e){var t=e.onWindowScroll;var n=Wp((function(){t(sh())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=Vp;function i(){return o!==Vp}return{start:function(){i()&&$p(!1),o=Kp(window,[r])},stop:function(){i()||$p(!1),n.cancel(),o(),o=Vp},isActive:i}}var dh=function(e){var t=ph({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},fh=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=_d(e,(function(e){return e.timerId===t}));-1===n&&$p(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},hh=function(e,t){zf(),t(),Pf()},mh=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},vh=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},gh=function(e,t){var n=function(e,t){var n=fh(),r=null,o=function(n){r||$p(!1),r=null,hh(0,(function(){return vh(e().onDragEnd,n,t,id)}))};return{beforeCapture:function(t,n){r&&$p(!1),hh(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&$p(!1),hh(0,(function(){var r=e().onBeforeDragStart;r&&r(mh(t,n))}))},start:function(o,i){r&&$p(!1);var a=mh(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){hh(0,(function(){return vh(e().onDragStart,a,t,rd)}))}))},update:function(o,i){var a=Od(i),c=Rd(i);r||$p(!1);var l=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(o,r.lastCritical);l&&(r.lastCritical=o);var u=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.droppableId===t.droppableId&&e.index===t.index}(r.lastLocation,a);u&&(r.lastLocation=a);var s=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,c);if(s&&(r.lastCombine=c),l||u||s){var p=Ts({},mh(o,r.mode),{combine:c,destination:a});n.add((function(){hh(0,(function(){return vh(e().onDragUpdate,p,t,od)}))}))}},flush:function(){r||$p(!1),n.flush()},drop:o,abort:function(){if(r){var e=Ts({},mh(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},bh=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&$p(!1),e.dispatch(Yf({completed:r.completed}))}else t(n)}}},yh=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=Kp(window,[i])}))}}}},xh=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch($f({reason:r.reason})))}}}},_h=Ls,wh=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,c=e.autoScroller;return Is(Bf,_h(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(Os(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=Ls.apply(void 0,i)(n.dispatch),As(As({},n),{},{dispatch:r})}}}((t=o,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,c=i.clientSelection,l=i.movementMode,u=n();"DROP_ANIMATING"===u.phase&&r(Yf({completed:u.completed})),"IDLE"!==n().phase&&$p(!1),r({type:"FLUSH",payload:null}),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var s={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},p=e.startPublishing(s),d=p.critical,f=p.dimensions,h=p.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:d,dimensions:f,clientSelection:c,movementMode:l,viewport:h}})}else t(o)}}}}(n),uh,bh,yh,xh,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=t.getState();return"DRAGGING"!==o.phase&&$p(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(c),dh,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),gh(i,a))))};var kh=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=ld({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},Eh=function(){var e=document.documentElement;return e||$p(!1),e},Th=function(){var e=Eh();return kh({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},Sh=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;zf();var o,i,a,c,l,u,s,p=(o=sh(),i=Th(),a=o.y,c=o.x,l=Eh(),u=l.clientWidth,s=l.clientHeight,{frame:Rp({top:a,left:c,right:c+u,bottom:a+s}),scroll:{initial:o,current:o,max:i,diff:{value:ad,displacement:ad}}}),d=p.scroll.current,f=t.droppable,h=r.droppable.getAllByType(f.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(d,n)})),m=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(d)})),v={draggables:Td(m),droppables:Ed(h)};return Pf(),{dimensions:v,critical:t,viewport:p}};function Ch(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var Ah,Oh,Rh=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null,zf();var e=r,i=e.additions,a=e.removals,c=e.modified,l=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(ad)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(c).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:l,removals:Object.keys(a),modified:u};r={additions:{},removals:{},modified:{}},Pf(),n.publish(s)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],i()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||$p(!1);var o=n.critical.draggable;"ADDITION"===t.type&&Ch(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&Ch(e,o,t.value)&&r.remove(t.value)},i={updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||$p(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||$p(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||$p(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&$p(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},c=e.subscribe(o);return n={critical:a,unsubscribe:c},Sh({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}};return i},zh=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},Ph=function(e){window.scrollBy(e.x,e.y)},Mh=Gp((function(e){return Sd(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),Ih=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}var i=function(e,t){var n=wd(Mh(t),(function(t){return t.frame||$p(!1),yf(t.frame.pageMarginBox)(e)}));return n}(t,r);return i},Nh=.25,Dh=.05,Lh=28,Bh=function(e){return Math.pow(e,2)},jh={stopDampeningAt:1200,accelerateAt:360},Fh=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},Hh=jh.accelerateAt,Uh=jh.stopDampeningAt,Gh=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Lh;if(e===t.startScrollingFrom)return 1;var n=Fh({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=Lh*Bh(1-n);return Math.ceil(r)}(t,n);return 0===i?0:o?Math.max(function(e,t){var n=t,r=Uh,o=Date.now()-n;if(o>=Uh)return e;if(o<Hh)return 1;var i=Fh({startOfRange:Hh,endOfRange:r,current:o}),a=e*Bh(i);return Math.ceil(a)}(i,r),1):i},Wh=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,i=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*Nh,maxScrollValueAt:e[t.size]*Dh}}(t,o);return n[o.end]<n[o.start]?Gh({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*Gh({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},qh=hd((function(e){return 0===e?0:e})),Vh=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,i=e.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},c=Wh({container:n,distanceToEdges:a,dragStartTime:t,axis:jd,shouldUseTimeDampening:i}),l=Wh({container:n,distanceToEdges:a,dragStartTime:t,axis:Fd,shouldUseTimeDampening:i}),u=qh({x:l,y:c});if(ud(u,ad))return null;var s=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,i=n.width>t.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:u});return s?ud(s,ad)?null:s:null},Kh=hd((function(e){return 0===e?0:e>0?1:-1})),Zh=(Ah=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,o=cd(t,r),i={x:Ah(o.x,n.x),y:Ah(o.y,n.y)};return ud(i,ad)?null:i}),Yh=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=Kh(r),a=Zh({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},$h=function(e,t){return Yh({current:e.scroll.current,max:e.scroll.max,change:t})},Xh=function(e,t){var n=e.frame;return!!n&&Yh({current:n.scroll.current,max:n.scroll.max,change:t})},Jh=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,c=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=Vh({dragStartTime:o,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&$h(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:c,center:a,shouldUseTimeDampening:r});if(l)return void o(l)}var u=Ih({center:a,destination:vf(t.impact),droppables:t.dimensions.droppables});if(u){var s=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var c=Vh({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return c&&Xh(t,c)?c:null}({dragStartTime:n,droppable:u,subject:c,center:a,shouldUseTimeDampening:r});s&&i(u.descriptor.id,s)}},Qh=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,o=function(e,t){if(!Xh(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Xh(e,t)?Zh({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=ld(t,r);return n(e.descriptor.id,o),ld(t,o)},i=function(e,t,n){if(!e)return n;if(!$h(t,n))return n;var o=function(e,t){if(!$h(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Zh({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var i=ld(n,o);return r(i),ld(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=vf(e.impact);r||$p(!1);var a=o(e.dimensions.droppables[r],n);if(a){var c=e.viewport,l=i(e.isWindowScrollAllowed,c,a);l&&function(e,n){var r=cd(e.current.client.selection,n);t({client:r})}(e,l)}}}},em=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=Wp(t),o=Wp(n),i=null,a=function(e){i||$p(!1);var t=i,n=t.shouldUseTimeDampening,a=t.dragStartTime;Jh({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(e){zf(),i&&$p(!1);var t=Date.now(),n=!1,r=function(){n=!0};Jh({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},Pf(),n&&a(e)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),i=Qh({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},tm={base:Oh="data-rbd-drag-handle",draggableId:Oh+"-draggable-id",contextId:Oh+"-context-id"},nm=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),rm=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),om={contextId:"data-rbd-scroll-container-context-id"},im=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},am="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,cm=function(){var e=document.querySelector("head");return e||$p(!1),e},lm=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function um(t,n){var r=Cp((function(){return function(e){var t,n,r=function(e){return function(t){return"["+t+'="'+e+'"]'}}(e),o=(t="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:r(tm.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:t,dragging:"pointer-events: none;",dropAnimating:t}}),i=[(n="\n transition: "+nh.outOfTheWay+";\n ",{selector:r(nm.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}}),o,{selector:r(rm.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:im(i,"always"),resting:im(i,"resting"),dragging:im(i,"dragging"),dropAnimating:im(i,"dropAnimating"),userCancel:im(i,"userCancel")}}(t)}),[t]),o=(0,e.useRef)(null),i=(0,e.useRef)(null),a=Ap(Gp((function(e){var t=i.current;t||$p(!1),t.textContent=e})),[]),c=Ap((function(e){var t=o.current;t||$p(!1),t.textContent=e}),[]);am((function(){(o.current||i.current)&&$p(!1);var e=lm(n),l=lm(n);return o.current=e,i.current=l,e.setAttribute("data-rbd-always",t),l.setAttribute("data-rbd-dynamic",t),cm().appendChild(e),cm().appendChild(l),c(r.always),a(r.resting),function(){var e=function(e){var t=e.current;t||$p(!1),cm().removeChild(t),e.current=null};e(o),e(i)}}),[n,c,a,r.always,r.resting,t]);var l=Ap((function(){return a(r.dragging)}),[a,r.dragging]),u=Ap((function(e){a("DROP"!==e?r.userCancel:r.dropAnimating)}),[a,r.dropAnimating,r.userCancel]),s=Ap((function(){i.current&&a(r.resting)}),[a,r.resting]);return Cp((function(){return{dragging:l,dropping:u,resting:s}}),[l,u,s])}var sm=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function pm(e){return e instanceof sm(e).HTMLElement}function dm(e,t){var n="["+tm.contextId+'="'+e+'"]',r=kd(document.querySelectorAll(n));if(!r.length)return null;var o=wd(r,(function(e){return e.getAttribute(tm.draggableId)===t}));return o&&pm(o)?o:null}function fm(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function o(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||$p(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return xd(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=o(e);return t||$p(!1),t},findById:o,exists:function(e){return Boolean(o(e))},getAllByType:function(t){return xd(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var hm=t().createContext(null),mm=function(){var e=document.body;return e||$p(!1),e},vm={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var gm=0,bm={separator:"::"};function ym(e,t){return void 0===t&&(t=bm),Cp((function(){return""+e+t.separator+gm++}),[t.separator,e])}var xm=t().createContext(null);function _m(e){0}function wm(e,t){_m()}function km(){wm()}function Em(t){var n=(0,e.useRef)(t);return(0,e.useEffect)((function(){n.current=t})),n}var Tm,Sm=((Tm={})[13]=!0,Tm[9]=!0,Tm),Cm=function(e){Sm[e.keyCode]&&e.preventDefault()},Am=function(){var e="visibilitychange";return"undefined"==typeof document?e:wd([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var Om,Rm={type:"IDLE"};function zm(e){var t=e.cancel,n=e.completed,r=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,i=e.clientY;if(0===t){var a={x:n,y:i},c=r();if("DRAGGING"===c.type)return e.preventDefault(),void c.actions.move(a);"PENDING"!==c.type&&$p(!1);var l=c.point;if(u=l,s=a,Math.abs(s.x-u.x)>=5||Math.abs(s.y-u.y)>=5){var u,s;e.preventDefault();var p=c.actions.fluidLift(a);o({type:"DRAGGING",actions:p})}}}},{eventName:"mouseup",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void Cm(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&$p(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:Am,fn:t}]}function Pm(){}var Mm=((Om={})[34]=!0,Om[33]=!0,Om[36]=!0,Om[35]=!0,Om);function Im(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(Mm[r.keyCode]?r.preventDefault():Cm(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:Am,fn:n}]}var Nm={type:"IDLE"};var Dm={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Lm(e,t){if(null==t)return!1;if(Boolean(Dm[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&Lm(e,t.parentElement)}function Bm(e,t){var n=t.target;return!!pm(n)&&Lm(e,n)}var jm=function(e){return Rp(e.getBoundingClientRect()).center};var Fm=function(){var e="matches";return"undefined"==typeof document?e:wd([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Hm(e,t){return null==e?null:e[Fm](t)?e:Hm(e.parentElement,t)}function Um(e,t){return e.closest?e.closest(t):Hm(e,t)}function Gm(e,t){var n,r=t.target;if(!((n=r)instanceof sm(n).Element))return null;var o=function(e){return"["+tm.contextId+'="'+e+'"]'}(e),i=Um(r,o);return i&&pm(i)?i:null}function Wm(e){e.preventDefault()}function qm(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function Vm(e){var t=e.lockAPI,n=e.store,r=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&(!!i.options.isEnabled&&!!zh(n.getState(),o))}function Km(e){var t=e.lockAPI,n=e.contextId,r=e.store,o=e.registry,i=e.draggableId,a=e.forceSensorStop,c=e.sourceEvent;if(!Vm({lockAPI:t,store:r,registry:o,draggableId:i}))return null;var l=o.draggable.getById(i),u=function(e,t){var n="["+nm.contextId+'="'+e+'"]',r=wd(kd(document.querySelectorAll(n)),(function(e){return e.getAttribute(nm.id)===t}));return r&&pm(r)?r:null}(n,l.descriptor.id);if(!u)return null;if(c&&!l.options.canDragInteractiveElements&&Bm(u,c))return null;var s=t.claim(a||Vp),p="PRE_DRAG";function d(){return l.options.shouldRespectForcePress}function f(){return t.isActive(s)}var h=function(e,t){qm({expected:e,phase:p,isLockActive:f,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function m(e){function n(){t.release(),p="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var i=Kp(window,[{eventName:"click",fn:Wm,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch($f({reason:t}))}return"PRE_DRAG"!==p&&(n(),"PRE_DRAG"!==p&&$p(!1)),r.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),p="DRAGGING",Ts({isActive:function(){return qm({expected:"DRAGGING",phase:p,isLockActive:f,shouldWarn:!1})},shouldRespectForcePress:d,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}return{isActive:function(){return qm({expected:"PRE_DRAG",phase:p,isLockActive:f,shouldWarn:!1})},shouldRespectForcePress:d,fluidLift:function(e){var t=Wp((function(e){h((function(){return Wf({client:e})}))}));return Ts({},m({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return h(qf)},moveRight:function(){return h(Kf)},moveDown:function(){return h(Vf)},moveLeft:function(){return h(Zf)}};return m({liftActionArgs:{id:i,clientSelection:jm(u),movementMode:"SNAP"},cleanup:Vp,actions:e})},abort:function(){qm({expected:"PRE_DRAG",phase:p,isLockActive:f,shouldWarn:!0})&&t.release()}}}var Zm=[function(t){var n=(0,e.useRef)(Rm),r=(0,e.useRef)(Vp),o=Cp((function(){return{eventName:"mousedown",fn:function(e){if(!e.defaultPrevented&&0===e.button&&!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)){var n=t.findClosestDraggableId(e);if(n){var o=t.tryGetLock(n,c,{sourceEvent:e});if(o){e.preventDefault();var i={x:e.clientX,y:e.clientY};r.current(),s(o,i)}}}}}}),[t]),i=Cp((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(e){if(!e.defaultPrevented){var n=t.findClosestDraggableId(e);if(n){var r=t.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||t.canGetLock(n)&&e.preventDefault())}}}}}),[t]),a=Ap((function(){r.current=Kp(window,[i,o],{passive:!1,capture:!0})}),[i,o]),c=Ap((function(){"IDLE"!==n.current.type&&(n.current=Rm,r.current(),a())}),[a]),l=Ap((function(){var e=n.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),u=Ap((function(){var e=zm({cancel:l,completed:c,getPhase:function(){return n.current},setPhase:function(e){n.current=e}});r.current=Kp(window,e,{capture:!0,passive:!1})}),[l,c]),s=Ap((function(e,t){"IDLE"!==n.current.type&&$p(!1),n.current={type:"PENDING",point:t,actions:e},u()}),[u]);am((function(){return a(),function(){r.current()}}),[a])},function(t){var n=(0,e.useRef)(Pm),r=Cp((function(){return{eventName:"keydown",fn:function(e){if(!e.defaultPrevented&&32===e.keyCode){var r=t.findClosestDraggableId(e);if(r){var i=t.tryGetLock(r,l,{sourceEvent:e});if(i){e.preventDefault();var a=!0,c=i.snapLift();n.current(),n.current=Kp(window,Im(c,l),{capture:!0,passive:!1})}}}function l(){a||$p(!1),a=!1,n.current(),o()}}}}),[t]),o=Ap((function(){n.current=Kp(window,[r],{passive:!1,capture:!0})}),[r]);am((function(){return o(),function(){n.current()}}),[o])},function(t){var n=(0,e.useRef)(Nm),r=(0,e.useRef)(Vp),o=Ap((function(){return n.current}),[]),i=Ap((function(e){n.current=e}),[]),a=Cp((function(){return{eventName:"touchstart",fn:function(e){if(!e.defaultPrevented){var n=t.findClosestDraggableId(e);if(n){var o=t.tryGetLock(n,l,{sourceEvent:e});if(o){var i=e.touches[0],a={x:i.clientX,y:i.clientY};r.current(),d(o,a)}}}}}}),[t]),c=Ap((function(){r.current=Kp(window,[a],{capture:!0,passive:!1})}),[a]),l=Ap((function(){var e=n.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(Nm),r.current(),c())}),[c,i]),u=Ap((function(){var e=n.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=Ap((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:l,getPhase:o},n=Kp(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var o=e.touches[0],i={x:o.clientX,y:o.clientY};e.preventDefault(),n.actions.move(i)}else t()}},{eventName:"touchend",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&$p(!1);var o=e.touches[0];if(o&&o.force>=.15){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:Am,fn:t}]}(t),e),i=Kp(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:Am,fn:t}]}(t),e);r.current=function(){n(),i()}}),[u,o,l]),p=Ap((function(){var e=o();"PENDING"!==e.type&&$p(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[o,i]),d=Ap((function(e,t){"IDLE"!==o().type&&$p(!1);var n=setTimeout(p,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),s()}),[s,o,i,p]);am((function(){return c(),function(){r.current();var e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(Nm))}}),[o,c,i]),am((function(){return Kp(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Ym(t){var n=t.contextId,r=t.store,o=t.registry,i=t.customSensors,a=t.enableDefaultSensors,c=[].concat(a?Zm:[],i||[]),l=(0,e.useState)((function(){return function(){var e=null;function t(){e||$p(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&$p(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],u=Ap((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);am((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();u(e,t),e=t}))}),[l,r,u]),am((function(){return l.tryAbandon}),[l.tryAbandon]);var s=Ap((function(e){return Vm({lockAPI:l,registry:o,store:r,draggableId:e})}),[l,o,r]),p=Ap((function(e,t,i){return Km({lockAPI:l,registry:o,contextId:n,store:r,draggableId:e,forceSensorStop:t,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[n,l,o,r]),d=Ap((function(e){return function(e,t){var n=Gm(e,t);return n?n.getAttribute(tm.draggableId):null}(n,e)}),[n]),f=Ap((function(e){var t=o.draggable.findById(e);return t?t.options:null}),[o.draggable]),h=Ap((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch({type:"FLUSH",payload:null}))}),[l,r]),m=Ap(l.isClaimed,[l]),v=Cp((function(){return{canGetLock:s,tryGetLock:p,findClosestDraggableId:d,findOptionsForDraggable:f,tryReleaseLock:h,isLockClaimed:m}}),[s,p,d,f,h,m]);_m();for(var g=0;g<c.length;g++)c[g](v)}function $m(e){return e.current||$p(!1),e.current}function Xm(n){var r=n.contextId,o=n.setCallbacks,i=n.sensors,a=n.nonce,c=n.dragHandleUsageInstructions,l=(0,e.useRef)(null);km();var u=Em(n),s=Ap((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(u.current)}),[u]),p=function(t){var n=Cp((function(){return function(e){return"rbd-announcement-"+e}(t)}),[t]),r=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=document.createElement("div");return r.current=e,e.id=n,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),Ts(e.style,vm),mm().appendChild(e),function(){setTimeout((function(){var t=mm();t.contains(e)&&t.removeChild(e),e===r.current&&(r.current=null)}))}}),[n]),Ap((function(e){var t=r.current;t&&(t.textContent=e)}),[])}(r),d=function(t){var n=t.contextId,r=t.text,o=ym("hidden-text",{separator:"-"}),i=Cp((function(){return"rbd-hidden-text-"+(e={contextId:n,uniqueId:o}).contextId+"-"+e.uniqueId;var e}),[o,n]);return(0,e.useEffect)((function(){var e=document.createElement("div");return e.id=i,e.textContent=r,e.style.display="none",mm().appendChild(e),function(){var t=mm();t.contains(e)&&t.removeChild(e)}}),[i,r]),i}({contextId:r,text:c}),f=um(r,a),h=Ap((function(e){$m(l).dispatch(e)}),[]),m=Cp((function(){return Ds({publishWhileDragging:jf,updateDroppableScroll:Hf,updateDroppableIsEnabled:Uf,updateDroppableIsCombineEnabled:Gf,collectionStarting:Ff},h)}),[h]),v=function(){var t=Cp(fm,[]);return(0,e.useEffect)((function(){return function(){requestAnimationFrame(t.clean)}}),[t]),t}(),g=Cp((function(){return Rh(v,m)}),[v,m]),b=Cp((function(){return em(Ts({scrollWindow:Ph,scrollDroppable:g.scrollDroppable},Ds({move:Wf},h)))}),[g.scrollDroppable,h]),y=function(t){var n=(0,e.useRef)({}),r=(0,e.useRef)(null),o=(0,e.useRef)(null),i=(0,e.useRef)(!1),a=Ap((function(e,t){var r={id:e,focus:t};return n.current[e]=r,function(){var t=n.current;t[e]!==r&&delete t[e]}}),[]),c=Ap((function(e){var n=dm(t,e);n&&n!==document.activeElement&&n.focus()}),[t]),l=Ap((function(e,t){r.current===e&&(r.current=t)}),[]),u=Ap((function(){o.current||i.current&&(o.current=requestAnimationFrame((function(){o.current=null;var e=r.current;e&&c(e)})))}),[c]),s=Ap((function(e){r.current=null;var t=document.activeElement;t&&t.getAttribute(tm.draggableId)===e&&(r.current=e)}),[]);return am((function(){return i.current=!0,function(){i.current=!1;var e=o.current;e&&cancelAnimationFrame(e)}}),[]),Cp((function(){return{register:a,tryRecordFocus:s,tryRestoreFocusRecorded:u,tryShiftRecord:l}}),[a,s,u,l])}(r),x=Cp((function(){return wh({announce:p,autoScroller:b,dimensionMarshal:g,focusMarshal:y,getResponders:s,styleMarshal:f})}),[p,b,g,y,s,f]);l.current=x;var _=Ap((function(){var e=$m(l);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),w=Ap((function(){var e=$m(l).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);o(Cp((function(){return{isDragging:w,tryAbort:_}}),[w,_]));var k=Ap((function(e){return zh($m(l).getState(),e)}),[]),E=Ap((function(){return bf($m(l).getState())}),[]),T=Cp((function(){return{marshal:g,focus:y,contextId:r,canLift:k,isMovementAllowed:E,dragHandleUsageInstructionsId:d,registry:v}}),[r,g,d,y,k,E,v]);return Ym({contextId:r,store:x,registry:v,customSensors:i,enableDefaultSensors:!1!==n.enableDefaultSensors}),(0,e.useEffect)((function(){return _}),[_]),t().createElement(xm.Provider,{value:T},t().createElement(Ws,{context:hm,store:x},n.children))}var Jm=0;function Qm(e){var n=Cp((function(){return""+Jm++}),[]),r=e.dragHandleUsageInstructions||nd;return t().createElement(Xp,null,(function(o){return t().createElement(Xm,{nonce:e.nonce,contextId:n,setCallbacks:o,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var ev=function(e){return function(t){return e===t}},tv=ev("scroll"),nv=ev("auto"),rv=(ev("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),ov=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return rv(n,tv)||rv(n,nv)},iv=function e(t){return null==t||t===document.body||t===document.documentElement?null:ov(t)?t:e(t.parentElement)},av=function(e){return{x:e.scrollLeft,y:e.scrollTop}},cv=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},lv=function(e){return{closestScrollable:iv(e),isFixedOnPage:cv(e)}},uv=function(e){var t=e.ref,n=e.descriptor,r=e.env,o=e.windowScroll,i=e.direction,a=e.isDropDisabled,c=e.isCombineEnabled,l=e.shouldClipSubject,u=r.closestScrollable,s=function(e,t){var n=jp(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,a=o+t.scrollWidth,c=zp({top:r,right:a,bottom:i,left:o},n.border);return Ip({borderBox:c,margin:n.margin,border:n.border,padding:n.padding})}(t,u),p=Lp(s,o),d=function(){if(!u)return null;var e=jp(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:Lp(e,o),scroll:av(u),scrollSize:t,shouldClipSubject:l}}(),f=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,o=e.isFixedOnPage,i=e.direction,a=e.client,c=e.page,l=e.closest,u=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=kh({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:ad,displacement:ad}}}}(),s="vertical"===i?jd:Fd;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:o,axis:s,isEnabled:n,client:a,page:c,frame:u,subject:bd({page:c,withPlaceholder:null,axis:s,frame:u})}}({descriptor:n,isEnabled:!a,isCombineEnabled:c,isFixedOnPage:r.isFixedOnPage,direction:i,client:s,page:p,closest:d});return f},sv={passive:!1},pv={passive:!0},dv=function(e){return e.shouldPublishImmediately?sv:pv};function fv(t){var n=(0,e.useContext)(t);return n||$p(!1),n}var hv=function(e){return e&&e.env.closestScrollable||null};function mv(){}var vv={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},gv=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,o=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?vv:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?nh.placeholder:null}};var bv=t().memo((function(n){var r=(0,e.useRef)(null),o=Ap((function(){r.current&&(clearTimeout(r.current),r.current=null)}),[]),i=n.animate,a=n.onTransitionEnd,c=n.onClose,l=n.contextId,u=(0,e.useState)("open"===n.animate),s=u[0],p=u[1];(0,e.useEffect)((function(){return s?"open"!==i?(o(),p(!1),mv):r.current?mv:(r.current=setTimeout((function(){r.current=null,p(!1)})),o):mv}),[i,s,o]);var d=Ap((function(e){"height"===e.propertyName&&(a(),"close"===i&&c())}),[i,c,a]),f=gv({isAnimatingOpenOnMount:s,animate:n.animate,placeholder:n.placeholder});return t().createElement(n.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":l,onTransitionEnd:d,ref:n.innerRef})})),yv=t().createContext(null);var xv=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return Es(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(t().PureComponent),_v=5e3,wv=4500,kv=function(e,t){return t?nh.drop(t.duration):e?nh.snap:nh.fluid},Ev=function(e,t){return e?t?Qf.drop:Qf.combining:null};function Tv(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,o=e.dropping,i=Boolean(r),a=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),c=Boolean(o),l=c?ih(n,i):oh(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:kv(a,o),transform:l,opacity:Ev(i,c),zIndex:c?wv:_v,pointerEvents:"none"}}(e):{transform:oh((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}function Sv(t){var n=ym("draggable"),r=t.descriptor,o=t.registry,i=t.getDraggableRef,a=t.canDragInteractiveElements,c=t.shouldRespectForcePress,l=t.isEnabled,u=Cp((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:c,isEnabled:l}}),[a,l,c]),s=Ap((function(e){var t=i();return t||$p(!1),function(e,t,n){void 0===n&&(n=ad);var r=window.getComputedStyle(t),o=t.getBoundingClientRect(),i=Bp(o,r),a=Lp(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(r,t,e)}),[r,i]),p=Cp((function(){return{uniqueId:n,descriptor:r,options:u,getDimension:s}}),[r,s,u,n]),d=(0,e.useRef)(p),f=(0,e.useRef)(!0);am((function(){return o.draggable.register(d.current),function(){return o.draggable.unregister(d.current)}}),[o.draggable]),am((function(){if(f.current)f.current=!1;else{var e=d.current;d.current=p,o.draggable.update(p,e)}}),[p,o.draggable])}function Cv(e,t,n){wm()}function Av(e){e.preventDefault()}var Ov=function(e,t){return e===t},Rv=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function zv(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var Pv={mapped:{type:"SECONDARY",offset:ad,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:zv(null)}};var Mv=wp((function(){var e,t,n,r=(e=Gp((function(e,t){return{x:e,y:t}})),t=Gp((function(e,t,n,r,o){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Gp((function(e,n,r,o,i,a,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:c,snapshot:t(n,o,i,a,null)}}})),function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],c=vf(r.impact),l=(s=r.impact).at&&"COMBINE"===s.at.type?s.at.combine.draggableId:null,u=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,a,o.isClone,c,l,u)}var s;if("DROP_ANIMATING"===r.phase){var p=r.completed;if(p.result.draggableId!==o.draggableId)return null;var d=o.isClone,f=r.dimensions.draggables[o.draggableId],h=p.result,m=h.mode,v=Rv(h),g=function(e){return e.combine?e.combine.draggableId:null}(h),b={duration:r.dropDuration,curve:Jf,moveTo:r.newHomeClientOffset,opacity:g?Qf.drop:null,scale:g?eh.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:f,dropping:b,draggingOver:v,combineWith:g,mode:m,forceShouldAnimate:null,snapshot:t(m,d,v,g,b)}}}return null}),o=function(){var e=Gp((function(e,t){return{x:e,y:t}})),t=Gp(zv),n=Gp((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(ad,e,!0):null},o=function(t,o,i,a){var c=i.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),u=Rd(i),s=u&&u.draggableId===t?o:null;if(!c){if(!l)return r(s);if(i.displaced.invisible[t])return null;var p=sd(a.displacedBy.point),d=e(p.x,p.y);return n(d,s,!0)}if(l)return r(s);var f=i.displacedBy.point,h=e(f.x,f.y);return n(h,s,c.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:o(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||o(e,t)||Pv}}),{dropAnimationFinished:Xf},null,{context:hm,pure:!0,areStatePropsEqual:Ov})((function(t){var n=(0,e.useRef)(null),r=Ap((function(e){n.current=e}),[]),o=Ap((function(){return n.current}),[]),i=fv(xm),a=i.contextId,c=i.dragHandleUsageInstructionsId,l=i.registry,u=fv(yv),s=u.type,p=u.droppableId,d=Cp((function(){return{id:t.draggableId,index:t.index,type:s,droppableId:p}}),[t.draggableId,t.index,s,p]),f=t.children,h=t.draggableId,m=t.isEnabled,v=t.shouldRespectForcePress,g=t.canDragInteractiveElements,b=t.isClone,y=t.mapped,x=t.dropAnimationFinished;Cv(),_m(),b||Sv(Cp((function(){return{descriptor:d,registry:l,getDraggableRef:o,canDragInteractiveElements:g,shouldRespectForcePress:v,isEnabled:m}}),[d,l,o,g,v,m]));var _=Cp((function(){return m?{tabIndex:0,role:"button","aria-describedby":c,"data-rbd-drag-handle-draggable-id":h,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:Av}:null}),[a,c,h,m]),w=Ap((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&x()}),[x,y]),k=Cp((function(){var e=Tv(y),t="DRAGGING"===y.type&&y.dropping?w:null;return{innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":h,style:e,onTransitionEnd:t},dragHandleProps:_}}),[a,_,h,y,w,r]),E=Cp((function(){return{draggableId:d.id,type:d.type,source:{index:d.index,droppableId:d.droppableId}}}),[d.droppableId,d.id,d.index,d.type]);return f(k,y.snapshot,E)}));function Iv(e){return fv(yv).isUsingCloneFor!==e.draggableId||e.isClone?t().createElement(Mv,e):null}function Nv(e){var n="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=Boolean(e.disableInteractiveElementBlocking),o=Boolean(e.shouldRespectForcePress);return t().createElement(Iv,Ts({},e,{isClone:!1,isEnabled:n,canDragInteractiveElements:r,shouldRespectForcePress:o}))}var Dv=function(e,t){return e===t.droppable.type},Lv=function(e,t){return t.draggables[e.draggable.id]};var Bv={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||$p(!1),document.body}},jv=wp((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=Ts({},e,{shouldAnimatePlaceholder:!1}),n=Gp((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=Gp((function(r,o,i,a,c,l){var u=c.descriptor.id;if(c.descriptor.droppableId===r){var s=l?{render:l,dragging:n(c.descriptor)}:null,p={isDraggingOver:i,draggingOverWith:i?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:p,useClone:s}}if(!o)return t;if(!a)return e;var d={isDraggingOver:i,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:d,useClone:null}}));return function(n,o){var i=o.droppableId,a=o.type,c=!o.isDropDisabled,l=o.renderClone;if(n.isDragging){var u=n.critical;if(!Dv(a,u))return t;var s=Lv(u,n.dimensions),p=vf(n.impact)===i;return r(i,c,p,p,s,l)}if("DROP_ANIMATING"===n.phase){var d=n.completed;if(!Dv(a,d.critical))return t;var f=Lv(d.critical,n.dimensions);return r(i,c,Rv(d.result)===i,vf(d.impact)===i,f,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var h=n.completed;if(!Dv(a,h.critical))return t;var m=vf(h.impact)===i,v=Boolean(h.impact.at&&"COMBINE"===h.impact.at.type),g=h.critical.droppable.id===i;return m?v?e:t:g?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:hm,pure:!0,areStatePropsEqual:Ov})((function(n){var r=(0,e.useContext)(xm);r||$p(!1);var o=r.contextId,i=r.isMovementAllowed,a=(0,e.useRef)(null),c=(0,e.useRef)(null),l=n.children,u=n.droppableId,s=n.type,p=n.mode,d=n.direction,f=n.ignoreContainerClipping,h=n.isDropDisabled,m=n.isCombineEnabled,v=n.snapshot,g=n.useClone,b=n.updateViewportMaxScroll,y=n.getContainerForClone,x=Ap((function(){return a.current}),[]),_=Ap((function(e){a.current=e}),[]),w=(Ap((function(){return c.current}),[]),Ap((function(e){c.current=e}),[]));wm();var k=Ap((function(){i()&&b({maxScroll:Th()})}),[i,b]);!function(t){var n=(0,e.useRef)(null),r=fv(xm),o=ym("droppable"),i=r.registry,a=r.marshal,c=Em(t),l=Cp((function(){return{id:t.droppableId,type:t.type,mode:t.mode}}),[t.droppableId,t.mode,t.type]),u=(0,e.useRef)(l),s=Cp((function(){return Gp((function(e,t){n.current||$p(!1);var r={x:e,y:t};a.updateDroppableScroll(l.id,r)}))}),[l.id,a]),p=Ap((function(){var e=n.current;return e&&e.env.closestScrollable?av(e.env.closestScrollable):ad}),[]),d=Ap((function(){var e=p();s(e.x,e.y)}),[p,s]),f=Cp((function(){return Wp(d)}),[d]),h=Ap((function(){var e=n.current,t=hv(e);e&&t||$p(!1),e.scrollOptions.shouldPublishImmediately?d():f()}),[f,d]),m=Ap((function(e,t){n.current&&$p(!1);var o=c.current,i=o.getDroppableRef();i||$p(!1);var a=lv(i),u={ref:i,descriptor:l,env:a,scrollOptions:t};n.current=u;var s=uv({ref:i,descriptor:l,env:a,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),p=a.closestScrollable;return p&&(p.setAttribute(om.contextId,r.contextId),p.addEventListener("scroll",h,dv(u.scrollOptions))),s}),[r.contextId,l,h,c]),v=Ap((function(){var e=n.current,t=hv(e);return e&&t||$p(!1),av(t)}),[]),g=Ap((function(){var e=n.current;e||$p(!1);var t=hv(e);n.current=null,t&&(f.cancel(),t.removeAttribute(om.contextId),t.removeEventListener("scroll",h,dv(e.scrollOptions)))}),[h,f]),b=Ap((function(e){var t=n.current;t||$p(!1);var r=hv(t);r||$p(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),y=Cp((function(){return{getDimensionAndWatchScroll:m,getScrollWhileDragging:v,dragStopped:g,scroll:b}}),[g,m,v,b]),x=Cp((function(){return{uniqueId:o,descriptor:l,callbacks:y}}),[y,l,o]);am((function(){return u.current=x.descriptor,i.droppable.register(x),function(){n.current&&g(),i.droppable.unregister(x)}}),[y,l,g,x,a,i.droppable]),am((function(){n.current&&a.updateDroppableIsEnabled(u.current.id,!t.isDropDisabled)}),[t.isDropDisabled,a]),am((function(){n.current&&a.updateDroppableIsCombineEnabled(u.current.id,t.isCombineEnabled)}),[t.isCombineEnabled,a])}({droppableId:u,type:s,mode:p,direction:d,isDropDisabled:h,isCombineEnabled:m,ignoreContainerClipping:f,getDroppableRef:x});var E=t().createElement(xv,{on:n.placeholder,shouldAnimate:n.shouldAnimatePlaceholder},(function(e){var n=e.onClose,r=e.data,i=e.animate;return t().createElement(bv,{placeholder:r,onClose:n,innerRef:w,animate:i,contextId:o,onTransitionEnd:k})})),T=Cp((function(){return{innerRef:_,placeholder:E,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":o}}}),[o,u,E,_]),S=g?g.dragging.draggableId:null,C=Cp((function(){return{droppableId:u,type:s,isUsingCloneFor:S}}),[u,S,s]);return t().createElement(yv.Provider,{value:C},l(T,v),function(){if(!g)return null;var e=g.dragging,n=g.render,r=t().createElement(Iv,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(t,r){return n(t,r,e)}));return Tp().createPortal(r,y())}())}));function Fv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uv(e,t,n){return t&&Hv(e.prototype,t),n&&Hv(e,n),e}function Gv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wv(){return Wv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wv.apply(this,arguments)}function qv(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 Vv(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function Kv(e){return Kv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Kv(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Zv(e,t)}function Yv(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xv(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?$v(e):t}function Jv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kv(e);if(t){var o=Kv(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xv(this,n)}}function Qv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||tg(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eg(e){return function(e){if(Array.isArray(e))return ng(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||tg(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tg(e,t){if(e){if("string"==typeof e)return ng(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ng(e,t):void 0}}function ng(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}jv.defaultProps=Bv;var rg=function e(t){var n=this,r=t.expanded,o=void 0===r?[]:r,i=t.allowMultipleExpanded,a=void 0!==i&&i,c=t.allowZeroExpanded,l=void 0!==c&&c;Fv(this,e),Gv(this,"expanded",void 0),Gv(this,"allowMultipleExpanded",void 0),Gv(this,"allowZeroExpanded",void 0),Gv(this,"toggleExpanded",(function(e){return n.isItemDisabled(e)?n:n.isItemExpanded(e)?n.augment({expanded:n.expanded.filter((function(t){return t!==e}))}):n.augment({expanded:n.allowMultipleExpanded?[].concat(eg(n.expanded),[e]):[e]})})),Gv(this,"isItemDisabled",(function(e){var t=n.isItemExpanded(e),r=1===n.expanded.length;return Boolean(t&&!n.allowZeroExpanded&&r)})),Gv(this,"isItemExpanded",(function(e){return-1!==n.expanded.indexOf(e)})),Gv(this,"getPanelAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e);return{role:n.allowMultipleExpanded?void 0:"region","aria-hidden":n.allowMultipleExpanded?!r:void 0,"aria-labelledby":n.getButtonId(e),id:n.getPanelId(e),hidden:!r||void 0}})),Gv(this,"getHeadingAttributes",(function(){return{role:"heading"}})),Gv(this,"getButtonAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e),o=n.isItemDisabled(e);return{id:n.getButtonId(e),"aria-disabled":o,"aria-expanded":r,"aria-controls":n.getPanelId(e),role:"button",tabIndex:0}})),Gv(this,"getPanelId",(function(e){return"accordion__panel-".concat(e)})),Gv(this,"getButtonId",(function(e){return"accordion__heading-".concat(e)})),Gv(this,"augment",(function(t){return new e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qv(Object(n),!0).forEach((function(t){Gv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({expanded:n.expanded,allowMultipleExpanded:n.allowMultipleExpanded,allowZeroExpanded:n.allowZeroExpanded},t))})),this.expanded=o,this.allowMultipleExpanded=a,this.allowZeroExpanded=l},og=(0,e.createContext)(null),ig=function(t){Vv(r,t);var n=Jv(r);function r(){var e;Fv(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return Gv($v(e=n.call.apply(n,[this].concat(o))),"state",new rg({expanded:e.props.preExpanded,allowMultipleExpanded:e.props.allowMultipleExpanded,allowZeroExpanded:e.props.allowZeroExpanded})),Gv($v(e),"toggleExpanded",(function(t){e.setState((function(e){return e.toggleExpanded(t)}),(function(){e.props.onChange&&e.props.onChange(e.state.expanded)}))})),Gv($v(e),"isItemDisabled",(function(t){return e.state.isItemDisabled(t)})),Gv($v(e),"isItemExpanded",(function(t){return e.state.isItemExpanded(t)})),Gv($v(e),"getPanelAttributes",(function(t,n){return e.state.getPanelAttributes(t,n)})),Gv($v(e),"getHeadingAttributes",(function(){return e.state.getHeadingAttributes()})),Gv($v(e),"getButtonAttributes",(function(t,n){return e.state.getButtonAttributes(t,n)})),e}return Uv(r,[{key:"render",value:function(){var t=this.state,n=t.allowZeroExpanded,r=t.allowMultipleExpanded;return(0,e.createElement)(og.Provider,{value:{allowMultipleExpanded:r,allowZeroExpanded:n,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),r}(e.PureComponent);Gv(ig,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var ag,cg=function(t){Vv(r,t);var n=Jv(r);function r(){var e;Fv(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return Gv($v(e=n.call.apply(n,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return Uv(r,[{key:"render",value:function(){return(0,e.createElement)(og.Consumer,null,this.renderChildren)}}]),r}(e.PureComponent),lg=function(t){var n=t.className,r=void 0===n?"accordion":n,o=t.allowMultipleExpanded,i=t.allowZeroExpanded,a=t.onChange,c=t.preExpanded,l=Yv(t,["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"]);return(0,e.createElement)(ig,{preExpanded:c,allowMultipleExpanded:o,allowZeroExpanded:i,onChange:a},(0,e.createElement)("div",Wv({"data-accordion-component":"Accordion",className:r},l)))};!function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"}(ag||(ag={}));var ug=ag,sg=0;var pg=/[\u0009\u000a\u000c\u000d\u0020]/g;function dg(e){return""!==e&&!pg.test(e)||(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1)}var fg=(0,e.createContext)(null),hg=function(t){var n=t.children,r=t.uuid,o=t.accordionContext,i=t.dangerouslySetExpanded,a=function(){o.toggleExpanded(r)},c=function(t){var o=null!=i?i:t.isItemExpanded(r),c=t.isItemDisabled(r),l=t.getPanelAttributes(r,i),u=t.getHeadingAttributes(r),s=t.getButtonAttributes(r,i);return(0,e.createElement)(fg.Provider,{value:{uuid:r,expanded:o,disabled:c,toggleExpanded:a,panelAttributes:l,headingAttributes:u,buttonAttributes:s}},n)};return(0,e.createElement)(cg,null,c)},mg=function(t){return(0,e.createElement)(cg,null,(function(n){return(0,e.createElement)(hg,Wv({},t,{accordionContext:n}))}))},vg=function(t){var n=t.children,r=function(e){return e?n(e):null};return(0,e.createElement)(fg.Consumer,null,r)},gg=function(t){var n,r=t.uuid,o=t.dangerouslySetExpanded,i=t.className,a=void 0===i?"accordion__item":i,c=t.activeClassName,l=Yv(t,["uuid","dangerouslySetExpanded","className","activeClassName"]),u=Qv((0,e.useState)((n=sg,sg+=1,"raa-".concat(n))),1)[0],s=null!=r?r:u,p=function(t){var n=t.expanded&&c?c:a;return(0,e.createElement)("div",Wv({"data-accordion-component":"AccordionItem",className:n},l))};return dg(s.toString()),l.id&&dg(l.id),(0,e.createElement)(mg,{uuid:s,dangerouslySetExpanded:o},(0,e.createElement)(vg,null,p))};function bg(e){return e&&(e.matches('[data-accordion-component="Accordion"]')?e:bg(e.parentElement))}function yg(e){var t=bg(e);return t&&Array.from(t.querySelectorAll('[data-accordion-component="AccordionItemButton"]'))}gg.displayName=ug.AccordionItem;var xg="End",_g="Enter",wg="Home",kg=" ",Eg="Spacebar",Tg="ArrowUp",Sg="ArrowDown",Cg="ArrowLeft",Ag="ArrowRight",Og=function(t){var n=t.toggleExpanded,r=t.className,o=void 0===r?"accordion__button":r,i=Yv(t,["toggleExpanded","className"]);return i.id&&dg(i.id),(0,e.createElement)("div",Wv({className:o},i,{role:"button",tabIndex:0,onClick:n,onKeyDown:function(e){var t,r,o=e.key;if(o!==_g&&o!==kg&&o!==Eg||(e.preventDefault(),n()),e.target instanceof HTMLElement)switch(o){case wg:e.preventDefault(),t=e.target,(r=(yg(t)||[])[0])&&r.focus();break;case xg:e.preventDefault(),function(e){var t=yg(e)||[],n=t[t.length-1];n&&n.focus()}(e.target);break;case Cg:case Tg:e.preventDefault(),function(e){var t=yg(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n-1];r&&r.focus()}}(e.target);break;case Ag:case Sg:e.preventDefault(),function(e){var t=yg(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n+1];r&&r.focus()}}(e.target)}},"data-accordion-component":"AccordionItemButton"}))},Rg=function(t){return(0,e.createElement)(vg,null,(function(n){var r=n.toggleExpanded,o=n.buttonAttributes;return(0,e.createElement)(Og,Wv({toggleExpanded:r},t,o))}))},zg=function(t){Vv(r,t);var n=Jv(r);function r(){var e;Fv(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return Gv($v(e=n.call.apply(n,[this].concat(o))),"ref",void 0),Gv($v(e),"setRef",(function(t){e.ref=t})),e}return Uv(r,[{key:"componentDidUpdate",value:function(){r.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){r.VALIDATE(this.ref)}},{key:"render",value:function(){return(0,e.createElement)("div",Wv({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(e){if(void 0===e)throw new Error("ref is undefined");if(1!==e.childElementCount||!e.firstElementChild||"AccordionItemButton"!==e.firstElementChild.getAttribute("data-accordion-component"))throw new Error("AccordionItemButton may contain only one child element, which must be an instance of AccordionItemButton.\n\nFrom the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):\n\n“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”\n\n")}}]),r}(e.PureComponent);Gv(zg,"defaultProps",{className:"accordion__heading","aria-level":3});var Pg=function(t){return(0,e.createElement)(vg,null,(function(n){var r=n.headingAttributes;return t.id&&dg(t.id),(0,e.createElement)(zg,Wv({},t,r))}))};Pg.displayName=ug.AccordionItemHeading;var Mg=function(t){var n=t.className,r=void 0===n?"accordion__panel":n,o=t.id,i=Yv(t,["className","id"]),a=function(t){var n=t.panelAttributes;return o&&dg(o),(0,e.createElement)("div",Wv({"data-accordion-component":"AccordionItemPanel",className:r},i,n))};return(0,e.createElement)(vg,null,a)};function Ig(e,t){return e===t}function Ng(e){return"function"==typeof e?function(){return e}:e}function Dg(t,n,r){var o=r&&r.equalityFn||Ig,i=function(t){var n=(0,e.useState)(Ng(t)),r=n[0],o=n[1],i=(0,e.useCallback)((function(e){return o(Ng(e))}),[]);return[r,i]}(t),a=i[0],c=i[1],l=function(t,n,r){var o=this,i=(0,e.useRef)(null),a=(0,e.useRef)(0),c=(0,e.useRef)(null),l=(0,e.useRef)([]),u=(0,e.useRef)(),s=(0,e.useRef)(),p=(0,e.useRef)(t),d=(0,e.useRef)(!0);p.current=t;var f=!n&&0!==n&&"undefined"!=typeof window;if("function"!=typeof t)throw new TypeError("Expected a function");n=+n||0;var h=!!(r=r||{}).leading,m=!("trailing"in r)||!!r.trailing,v="maxWait"in r,g=v?Math.max(+r.maxWait||0,n):null;(0,e.useEffect)((function(){return d.current=!0,function(){d.current=!1}}),[]);var b=(0,e.useMemo)((function(){var e=function(e){var t=l.current,n=u.current;return l.current=u.current=null,a.current=e,s.current=p.current.apply(n,t)},t=function(e,t){f&&cancelAnimationFrame(c.current),c.current=f?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!d.current)return!1;var t=e-i.current,r=e-a.current;return!i.current||t>=n||t<0||v&&r>=g},b=function(t){return c.current=null,m&&l.current?e(t):(l.current=u.current=null,s.current)},y=function(){var e=Date.now();if(r(e))return b(e);if(d.current){var o=e-i.current,c=e-a.current,l=n-o,u=v?Math.min(l,g-c):l;t(y,u)}},x=function(){for(var p=[],f=0;f<arguments.length;f++)p[f]=arguments[f];var m=Date.now(),g=r(m);if(l.current=p,u.current=o,i.current=m,g){if(!c.current&&d.current)return a.current=i.current,t(y,n),h?e(i.current):s.current;if(v)return t(y,n),e(i.current)}return c.current||t(y,n),s.current};return x.cancel=function(){c.current&&(f?cancelAnimationFrame(c.current):clearTimeout(c.current)),a.current=0,l.current=i.current=u.current=c.current=null},x.isPending=function(){return!!c.current},x.flush=function(){return c.current?b(Date.now()):s.current},x}),[h,v,n,g,m,f]);return b}((0,e.useCallback)((function(e){return c(e)}),[c]),n,r),u=(0,e.useRef)(t);return(0,e.useEffect)((function(){o(u.current,t)||(l(t),u.current=t)}),[t,l,o]),[a,{cancel:l.cancel,isPending:l.isPending,flush:l.flush}]}var Lg=["styles"];function Bg(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jg(){return jg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jg.apply(this,arguments)}var Fg=function(e){e.styles;var n=Bg(e,Lg);return t().createElement("svg",jg({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},n),t().createElement("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}))},Hg=["styles"];function Ug(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Gg(){return Gg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gg.apply(this,arguments)}var Wg=function(e){e.styles;var n=Ug(e,Hg);return t().createElement("svg",Gg({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},n),t().createElement("path",{d:"M0 117.66v346.32c0 11.32 11.43 19.06 21.94 14.86L160 416V32L20.12 87.95A32.006 32.006 0 000 117.66zM192 416l192 64V96L192 32v384zM554.06 33.16L416 96v384l139.88-55.95A31.996 31.996 0 00576 394.34V48.02c0-11.32-11.43-19.06-21.94-14.86z"}))},qg=["styles"];function Vg(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Kg(){return Kg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kg.apply(this,arguments)}var Zg=function(e){var n=e.styles,r=void 0===n?{}:n,o=Vg(e,qg);return t().createElement("svg",Kg({"aria-hidden":"true","data-prefix":"fas","data-icon":"chart-bar",className:(r["svg-inline--fa"]||"svg-inline--fa")+" "+(r["fa-chart-bar"]||"fa-chart-bar")+" "+(r["fa-w-16"]||"fa-w-16"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},o),t().createElement("path",{fill:"currentColor",d:"M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}))},Yg=["styles"];function $g(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Xg(){return Xg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xg.apply(this,arguments)}var Jg=function(e){e.styles;var n=$g(e,Yg);return t().createElement("svg",Xg({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},n),t().createElement("path",{fill:"currentColor",d:"M414.8 40.79l-128 448.01c-4.9 17-22.6 26.8-39.6 22-17-4.9-26.8-22.6-22-39.6l128-447.99c4.9-16.994 22.6-26.834 39.6-21.978 17 4.855 26.8 22.568 22 39.558zm103.8 80.61l112 112c12.5 12.5 12.5 32.7 0 45.2l-112 112c-12.5 12.5-32.7 12.5-45.2 0s-12.5-32.7 0-45.2l89.3-89.4-89.3-89.4c-12.5-12.5-12.5-32.7 0-45.2s32.7-12.5 45.2 0zm-352 45.2L77.25 256l89.35 89.4c12.5 12.5 12.5 32.7 0 45.2s-32.7 12.5-45.2 0L9.372 278.6c-12.496-12.5-12.496-32.7 0-45.2l112.028-112c12.5-12.5 32.7-12.5 45.2 0s12.5 32.7 0 45.2z"}))};function Qg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return eb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eb(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var tb=function(n){var r=n.loadConfig,o=n.state,i=n.convertStateToConfig,a=Qg((0,e.useState)(!1),2),c=a[0],l=a[1],u=Qg((0,e.useState)({}),2),s=u[0],p=u[1];(0,e.useEffect)((function(){var e=i(),t=JSON.stringify(e,void 0,2);p(t)}),[o]);var d={chart:["Charts","https://www.cdc.gov/wcms/4.0/cdc-wp/data-presentation/bar-chart.html",t().createElement(Zg,null)],map:["Maps","https://www.cdc.gov/wcms/4.0/cdc-wp/data-presentation/data-map.html",t().createElement(Wg,null)],"markup-include":["Markup Include","https://www.cdc.gov/wcms/4.0/cdc-wp/data-presentation/Markup-Include.html",t().createElement(Jg,null)]};if(o.type)return t().createElement(t().Fragment,null,t().createElement("a",{href:d[o.type][1],target:"_blank",rel:"noopener noreferrer",className:"guidance-link"},d[o.type][2],t().createElement("div",null,t().createElement("span",{className:"heading-3"},"Get Help with ",d[o.type][0]),t().createElement("p",null,"Examples and documentation"))),t().createElement("div",{className:"advanced"},t().createElement("span",{className:"advanced-toggle-link",onClick:function(){return l(!c)}},t().createElement("span",null,c?"— ":"+ "),"Advanced Options"),c&&t().createElement(t().Fragment,null,t().createElement("section",{className:"error-box py-2 px-3 my-2"},t().createElement("div",null,t().createElement("strong",{className:"pt-1"},"Warning"),t().createElement("p",null,"This can cause serious errors in your visualization."))),t().createElement("p",{className:"pb-2"},"This tool displays the actual ",t().createElement("acronym",{title:"JavaScript Object Notation"},"JSON")," configuration"," ","that is generated by this editor and allows you to edit properties directly and apply them."),t().createElement("textarea",{value:s,onChange:function(e){return p(e.target.value)}}),t().createElement("button",{className:"btn full-width",onClick:function(){return r(JSON.parse(s))}},"Apply"))))},nb=function(){return nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nb.apply(this,arguments)},rb="SEQUENTIAL",ob={filteredPallets:[],isPaletteReversed:!1,filteredQualitative:[],paletteName:void 0};function ib(e,t){var n=Object.keys(t.payload),r="";switch(t.type){case"GET_PALETTE":return nb(nb({},e),{paletteName:t.paletteName});case rb:r=e.paletteName&&e.paletteName.endsWith("reverse")?String(e.paletteName).substring(0,e.paletteName.length-7):String(e.paletteName);var o=n.filter((function(e){return String(e).startsWith("qualitative")&&!String(e).endsWith("reverse")})),i=n.filter((function(e){return String(e).startsWith("sequential")&&!String(e).endsWith("reverse")}));return nb(nb({},e),{filteredPallets:i,filteredQualitative:o,paletteName:r,isPaletteReversed:!1});case"SEQUENTIAL_REVERSE":r=n.find((function(t){return t===String(e.paletteName).concat("reverse")||t===String(e.paletteName).concat("-reverse")}));var a=n.filter((function(e){return String(e).startsWith("qualitative")&&String(e).endsWith("reverse")})),c=n.filter((function(e){return String(e).startsWith("sequential")&&String(e).endsWith("reverse")}));return nb(nb({},e),{filteredQualitative:a,filteredPallets:c,paletteName:r,isPaletteReversed:!0});default:return e}}function ab(e){return e}o(56319);var cb=o(65279),lb=o.n(cb),ub=["label","toggleType","size","activeColor","section","subsection","fieldName","updateField","value","i","min","max"];function sb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pb(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function db(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var fb=function(n){var r,o=n.label,i=n.toggleType,a=void 0===i?"flat":i,c=n.size,l=void 0===c?"medium":c,u=n.activeColor,s=void 0===u?null:u,p=n.section,d=void 0===p?null:p,f=n.subsection,h=void 0===f?null:f,m=n.fieldName,v=n.updateField,g=n.value,b=n.i,y=void 0===b?null:b,x=(n.min,n.max,db(n,ub),sb((0,e.useState)(g),2)),_=x[0],w=x[1];return(0,e.useEffect)((function(){void 0!==g&&g!==_&&w(g)}),[g]),(0,e.useEffect)((function(){void 0!==g&&g!==_&&v&&v(d,h,m,_,y)}),[_]),t().createElement("div",{className:"input-group"},o&&t().createElement("label",null,o),t().createElement("div",{className:"cove-input__toggle"+("small"===l?"--small":"large"===l?"--large":"")+({flat:" toggle--flat",block:" toggle--block",pill:" toggle--pill","3d":" toggle--3d"}[a]||"")+(_?" active":""),onClick:function(){return w(!_)}},t().createElement("div",{className:"cove-input__toggle-button"}),t().createElement("div",{className:"cove-input__toggle-track",style:_&&s?{backgroundColor:s}:null}),t().createElement("input",{className:"cove-input--hidden",type:"checkbox",name:(r="",d&&(r+=d+"-"),h&&(r+=h+"-"),m&&(r+=m),r),checked:_||!1,readOnly:!0})))};fb.propTypes={label:lb().string,toggleType:lb().oneOf(["flat","block","pill","3d"]),size:lb().oneOf(["small","medium","large"]),activeColor:lb().string,section:lb().string,subsection:lb().string,fieldName:lb().string,updateField:lb().func,stateValue:lb().object};var hb=fb,mb="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),vb=new Uint8Array(16);function gb(){if(!mb)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return mb(vb)}for(var bb=[],yb=0;yb<256;++yb)bb[yb]=(yb+256).toString(16).substr(1);var xb=function(e,t){var n=t||0,r=bb;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var _b=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||gb)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[r+i]=o[i];return t||xb(o)};function wb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kb(e,t,n){return t&&wb(e.prototype,t),n&&wb(e,n),e}function Eb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tb(){return Tb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tb.apply(this,arguments)}function Sb(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 Cb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sb(Object(n),!0).forEach((function(t){Eb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ab(e){return Ab=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ab(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ob(e,t)}function Rb(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var zb={HIDE:"__react_tooltip_hide_event",REBUILD:"__react_tooltip_rebuild_event",SHOW:"__react_tooltip_show_event"},Pb=function(e,t){var n;"function"==typeof window.CustomEvent?n=new window.CustomEvent(e,{detail:t}):(n=document.createEvent("Event")).initEvent(e,!1,!0,t),window.dispatchEvent(n)};var Mb=function(e,t){var n=this.state.show,r=this.props.id,o=this.isCapture(t.currentTarget),i=t.currentTarget.getAttribute("currentItem");o||t.stopPropagation(),n&&"true"===i?e||this.hideTooltip(t):(t.currentTarget.setAttribute("currentItem","true"),Ib(t.currentTarget,this.getTargetArray(r)),this.showTooltip(t))},Ib=function(e,t){for(var n=0;n<t.length;n++)e!==t[n]?t[n].setAttribute("currentItem","false"):t[n].setAttribute("currentItem","true")},Nb={id:"9b69f92e-d3fe-498b-b1b4-c5e63a51b0cf",set:function(e,t,n){this.id in e?e[this.id][t]=n:Object.defineProperty(e,this.id,{configurable:!0,value:Eb({},t,n)})},get:function(e,t){var n=e[this.id];if(void 0!==n)return n[t]}};var Db=function(e,t,n){var r=t.respectEffect,o=void 0!==r&&r,i=t.customEvent,a=void 0!==i&&i,c=this.props.id,l=n.target.getAttribute("data-tip")||null,u=n.target.getAttribute("data-for")||null,s=n.target;if(!this.isCustomEvent(s)||a){var p=null==c&&null==u||u===c;if(null!=l&&(!o||"float"===this.getEffect(s))&&p){var d=function(e){var t={};for(var n in e)"function"==typeof e[n]?t[n]=e[n].bind(e):t[n]=e[n];return t}(n);d.currentTarget=s,e(d)}}},Lb=function(e,t){var n={};return e.forEach((function(e){var r=e.getAttribute(t);r&&r.split(" ").forEach((function(e){return n[e]=!0}))})),n},Bb=function(){return document.getElementsByTagName("body")[0]};function jb(e,t,n,r,o,i,a){for(var c=Fb(n),l=c.width,u=c.height,s=Fb(t),p=s.width,d=s.height,f=Hb(e,t,i),h=f.mouseX,m=f.mouseY,v=Ub(i,p,d,l,u),g=Gb(a),b=g.extraOffsetX,y=g.extraOffsetY,x=window.innerWidth,_=window.innerHeight,w=Wb(n),k=w.parentTop,E=w.parentLeft,T=function(e){var t=v[e].l;return h+t+b},S=function(e){var t=v[e].t;return m+t+y},C=function(e){return function(e){var t=v[e].r;return h+t+b}(e)>x},A=function(e){return function(e){var t=v[e].b;return m+t+y}(e)>_},O=function(e){return function(e){return T(e)<0}(e)||C(e)||function(e){return S(e)<0}(e)||A(e)},R=function(e){return!O(e)},z=["top","bottom","left","right"],P=[],M=0;M<4;M++){var I=z[M];R(I)&&P.push(I)}var N,D=!1,L=o!==r;return R(o)&&L?(D=!0,N=o):P.length>0&&O(o)&&O(r)&&(D=!0,N=P[0]),D?{isNewState:!0,newState:{place:N}}:{isNewState:!1,position:{left:parseInt(T(r)-E,10),top:parseInt(S(r)-k,10)}}}var Fb=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.width;return{height:parseInt(n,10),width:parseInt(r,10)}},Hb=function(e,t,n){var r=t.getBoundingClientRect(),o=r.top,i=r.left,a=Fb(t),c=a.width,l=a.height;return"float"===n?{mouseX:e.clientX,mouseY:e.clientY}:{mouseX:i+c/2,mouseY:o+l/2}},Ub=function(e,t,n,r,o){var i,a,c,l;return"float"===e?(i={l:-r/2,r:r/2,t:-(o+3+2),b:-3},c={l:-r/2,r:r/2,t:15,b:o+3+2+12},l={l:-(r+3+2),r:-3,t:-o/2,b:o/2},a={l:3,r:r+3+2,t:-o/2,b:o/2}):"solid"===e&&(i={l:-r/2,r:r/2,t:-(n/2+o+2),b:-n/2},c={l:-r/2,r:r/2,t:n/2,b:n/2+o+2},l={l:-(r+t/2+2),r:-t/2,t:-o/2,b:o/2},a={l:t/2,r:r+t/2+2,t:-o/2,b:o/2}),{top:i,bottom:c,left:l,right:a}},Gb=function(e){var t=0,n=0;for(var r in"[object String]"===Object.prototype.toString.apply(e)&&(e=JSON.parse(e.toString().replace(/'/g,'"'))),e)"top"===r?n-=parseInt(e[r],10):"bottom"===r?n+=parseInt(e[r],10):"left"===r?t-=parseInt(e[r],10):"right"===r&&(t+=parseInt(e[r],10));return{extraOffsetX:t,extraOffsetY:n}},Wb=function(e){for(var t=e;t&&"none"===window.getComputedStyle(t).getPropertyValue("transform");)t=t.parentElement;return{parentTop:t&&t.getBoundingClientRect().top||0,parentLeft:t&&t.getBoundingClientRect().left||0}};function qb(e,n,r,o){if(n)return n;if(null!=r)return r;if(null===r)return null;var i=/<br\s*\/?>/;return o&&"false"!==o&&i.test(e)?e.split(i).map((function(e,n){return t().createElement("span",{key:n,className:"multi-line"},e)})):e}function Vb(e){var t={};return Object.keys(e).filter((function(e){return/(^aria-\w+$|^role$)/.test(e)})).forEach((function(n){t[n]=e[n]})),t}function Kb(e){var t=e.length;return e.hasOwnProperty?Array.prototype.slice.call(e):new Array(t).fill().map((function(t){return e[t]}))}!function(e){if(e&&"undefined"!=typeof window){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}}('.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n padding: 8px 21px;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n bottom: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-bottom::before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n top: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-left::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n right: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip.place-right::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n left: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}');var Zb,Yb,$b,Xb={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}};function Jb(e,t,n,r){return function(e,t){var n=t.text,r=t.background,o=t.border,i=t.arrow;return"\n \t.".concat(e," {\n\t color: ").concat(n,";\n\t background: ").concat(r,";\n\t border: 1px solid ").concat(o,";\n \t}\n\n \t.").concat(e,".place-top {\n margin-top: -10px;\n }\n .").concat(e,".place-top::before {\n border-top: 8px solid ").concat(o,";\n }\n .").concat(e,".place-top::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n bottom: -6px;\n left: 50%;\n margin-left: -8px;\n border-top-color: ").concat(i,";\n border-top-style: solid;\n border-top-width: 6px;\n }\n\n .").concat(e,".place-bottom {\n margin-top: 10px;\n }\n .").concat(e,".place-bottom::before {\n border-bottom: 8px solid ").concat(o,";\n }\n .").concat(e,".place-bottom::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n top: -6px;\n left: 50%;\n margin-left: -8px;\n border-bottom-color: ").concat(i,";\n border-bottom-style: solid;\n border-bottom-width: 6px;\n }\n\n .").concat(e,".place-left {\n margin-left: -10px;\n }\n .").concat(e,".place-left::before {\n border-left: 8px solid ").concat(o,";\n }\n .").concat(e,".place-left::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n right: -6px;\n top: 50%;\n margin-top: -4px;\n border-left-color: ").concat(i,";\n border-left-style: solid;\n border-left-width: 6px;\n }\n\n .").concat(e,".place-right {\n margin-left: 10px;\n }\n .").concat(e,".place-right::before {\n border-right: 8px solid ").concat(o,";\n }\n .").concat(e,".place-right::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n left: -6px;\n top: 50%;\n margin-top: -4px;\n border-right-color: ").concat(i,";\n border-right-style: solid;\n border-right-width: 6px;\n }\n ")}(e,function(e,t,n){var r=e.text,o=e.background,i=e.border,a=e.arrow?e.arrow:e.background,c=function(e){return Xb[e]?Cb({},Xb[e]):void 0}(t);r&&(c.text=r);o&&(c.background=o);n&&(c.border=i||("light"===t?"black":"white"));a&&(c.arrow=a);return c}(t,n,r))}var Qb=function(e){e.hide=function(e){Pb(zb.HIDE,{target:e})},e.rebuild=function(){Pb(zb.REBUILD)},e.show=function(e){Pb(zb.SHOW,{target:e})},e.prototype.globalRebuild=function(){this.mount&&(this.unbindListener(),this.bindListener())},e.prototype.globalShow=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.showTooltip({currentTarget:t&&e.detail.target},!0)}},e.prototype.globalHide=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.hideTooltip({currentTarget:t&&e.detail.target},t)}}}(Zb=function(e){e.prototype.bindWindowEvents=function(e){window.removeEventListener(zb.HIDE,this.globalHide),window.addEventListener(zb.HIDE,this.globalHide,!1),window.removeEventListener(zb.REBUILD,this.globalRebuild),window.addEventListener(zb.REBUILD,this.globalRebuild,!1),window.removeEventListener(zb.SHOW,this.globalShow),window.addEventListener(zb.SHOW,this.globalShow,!1),e&&(window.removeEventListener("resize",this.onWindowResize),window.addEventListener("resize",this.onWindowResize,!1))},e.prototype.unbindWindowEvents=function(){window.removeEventListener(zb.HIDE,this.globalHide),window.removeEventListener(zb.REBUILD,this.globalRebuild),window.removeEventListener(zb.SHOW,this.globalShow),window.removeEventListener("resize",this.onWindowResize)},e.prototype.onWindowResize=function(){this.mount&&this.hideTooltip()}}(Zb=function(e){e.prototype.isCustomEvent=function(e){return this.state.event||!!e.getAttribute("data-event")},e.prototype.customBindListener=function(e){var t=this,n=this.state,r=n.event,o=n.eventOff,i=e.getAttribute("data-event")||r,a=e.getAttribute("data-event-off")||o;i.split(" ").forEach((function(n){e.removeEventListener(n,Nb.get(e,n));var r=Mb.bind(t,a);Nb.set(e,n,r),e.addEventListener(n,r,!1)})),a&&a.split(" ").forEach((function(n){e.removeEventListener(n,t.hideTooltip),e.addEventListener(n,t.hideTooltip,!1)}))},e.prototype.customUnbindListener=function(e){var t=this.state,n=t.event,r=t.eventOff,o=n||e.getAttribute("data-event"),i=r||e.getAttribute("data-event-off");e.removeEventListener(o,Nb.get(e,n)),i&&e.removeEventListener(i,this.hideTooltip)}}(Zb=function(e){e.prototype.isCapture=function(e){return e&&"true"===e.getAttribute("data-iscapture")||this.props.isCapture||!1}}(Zb=function(e){e.prototype.getEffect=function(e){return e.getAttribute("data-effect")||this.props.effect||"float"}}(Zb=function(e){e.prototype.isBodyMode=function(){return!!this.props.bodyMode},e.prototype.bindBodyListener=function(e){var t=this,n=this.state,r=n.event,o=n.eventOff,i=n.possibleCustomEvents,a=n.possibleCustomEventsOff,c=Bb(),l=Lb(e,"data-event"),u=Lb(e,"data-event-off");null!=r&&(l[r]=!0),null!=o&&(u[o]=!0),i.split(" ").forEach((function(e){return l[e]=!0})),a.split(" ").forEach((function(e){return u[e]=!0})),this.unbindBodyListener(c);var s=this.bodyModeListeners={};for(var p in null==r&&(s.mouseover=Db.bind(this,this.showTooltip,{}),s.mousemove=Db.bind(this,this.updateTooltip,{respectEffect:!0}),s.mouseout=Db.bind(this,this.hideTooltip,{})),l)s[p]=Db.bind(this,(function(e){var n=e.currentTarget.getAttribute("data-event-off")||o;Mb.call(t,n,e)}),{customEvent:!0});for(var d in u)s[d]=Db.bind(this,this.hideTooltip,{customEvent:!0});for(var f in s)c.addEventListener(f,s[f])},e.prototype.unbindBodyListener=function(e){e=e||Bb();var t=this.bodyModeListeners;for(var n in t)e.removeEventListener(n,t[n])}}(Zb=function(e){e.prototype.bindRemovalTracker=function(){var e=this,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(null!=t){var n=new t((function(t){for(var n=0;n<t.length;n++)for(var r=t[n],o=0;o<r.removedNodes.length;o++){if(r.removedNodes[o]===e.state.currentTarget)return void e.hideTooltip()}}));n.observe(window.document,{childList:!0,subtree:!0}),this.removalTracker=n}},e.prototype.unbindRemovalTracker=function(){this.removalTracker&&(this.removalTracker.disconnect(),this.removalTracker=null)}}(($b=Yb=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=Rb(this,Ab(n).call(this,e))).state={uuid:e.uuid||"t"+_b(),place:e.place||"top",desiredPlace:e.place||"top",type:"dark",effect:"float",show:!1,border:!1,customColors:{},offset:{},extraClass:"",html:!1,delayHide:0,delayShow:0,event:e.event||null,eventOff:e.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:Vb(e),isEmptyTip:!1,disable:!1,possibleCustomEvents:e.possibleCustomEvents||"",possibleCustomEventsOff:e.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},t.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),t.mount=!0,t.delayShowLoop=null,t.delayHideLoop=null,t.delayReshow=null,t.intervalUpdateContent=null,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}(n,e),kb(n,null,[{key:"propTypes",get:function(){return{uuid:lb().string,children:lb().any,place:lb().string,type:lb().string,effect:lb().string,offset:lb().object,multiline:lb().bool,border:lb().bool,textColor:lb().string,backgroundColor:lb().string,borderColor:lb().string,arrowColor:lb().string,insecure:lb().bool,class:lb().string,className:lb().string,id:lb().string,html:lb().bool,delayHide:lb().number,delayUpdate:lb().number,delayShow:lb().number,event:lb().string,eventOff:lb().string,isCapture:lb().bool,globalEventOff:lb().string,getContent:lb().any,afterShow:lb().func,afterHide:lb().func,overridePosition:lb().func,disable:lb().bool,scrollHide:lb().bool,resizeHide:lb().bool,wrapper:lb().string,bodyMode:lb().bool,possibleCustomEvents:lb().string,possibleCustomEventsOff:lb().string,clickable:lb().bool}}}]),kb(n,[{key:"bind",value:function(e){var t=this;e.forEach((function(e){t[e]=t[e].bind(t)}))}},{key:"componentDidMount",value:function(){var e=this.props,t=(e.insecure,e.resizeHide);this.bindListener(),this.bindWindowEvents(t)}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"mouseOnToolTip",value:function(){return!(!this.state.show||!this.tooltipRef)&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(e){var t,n=[];if(e){var r=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');t='[data-tip][data-for="'.concat(r,'"]')}else t="[data-tip]:not([data-for])";return Kb(document.getElementsByTagName("*")).filter((function(e){return e.shadowRoot})).forEach((function(e){n=n.concat(Kb(e.shadowRoot.querySelectorAll(t)))})),n.concat(Kb(document.querySelectorAll(t)))}},{key:"bindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff,o=t.isCapture,i=this.getTargetArray(n);i.forEach((function(t){null===t.getAttribute("currentItem")&&t.setAttribute("currentItem","false"),e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)})),this.isBodyMode()?this.bindBodyListener(i):i.forEach((function(t){var n=e.isCapture(t),r=e.getEffect(t);e.isCustomEvent(t)?e.customBindListener(t):(t.addEventListener("mouseenter",e.showTooltip,n),"float"===r&&t.addEventListener("mousemove",e.updateTooltip,n),t.addEventListener("mouseleave",e.hideTooltip,n))})),r&&(window.removeEventListener(r,this.hideTooltip),window.addEventListener(r,this.hideTooltip,o)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(n).forEach((function(t){e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)}));r&&window.removeEventListener(r,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(e){var t=this.isCapture(e);e.removeEventListener("mouseenter",this.showTooltip,t),e.removeEventListener("mousemove",this.updateTooltip,t),e.removeEventListener("mouseleave",this.hideTooltip,t)}},{key:"getTooltipContent",value:function(){var e,t=this.props,n=t.getContent,r=t.children;return n&&(e=Array.isArray(n)?n[0]&&n[0](this.state.originTooltip):n(this.state.originTooltip)),qb(this.state.originTooltip,r,e,this.state.isMultiline)}},{key:"isEmptyTip",value:function(e){return"string"==typeof e&&""===e||null===e}},{key:"showTooltip",value:function(e,t){if(this.tooltipRef){if(t)if(!this.getTargetArray(this.props.id).some((function(t){return t===e.currentTarget})))return;var n=this.props,r=n.multiline,o=n.getContent,i=e.currentTarget.getAttribute("data-tip"),a=e.currentTarget.getAttribute("data-multiline")||r||!1,c=e instanceof window.FocusEvent||t,l=!0;e.currentTarget.getAttribute("data-scroll-hide")?l="true"===e.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(l=this.props.scrollHide);var u=e.currentTarget.getAttribute("data-place")||this.props.place||"top",s=c?"solid":this.getEffect(e.currentTarget),p=e.currentTarget.getAttribute("data-offset")||this.props.offset||{},d=jb(e,e.currentTarget,this.tooltipRef,u,u,s,p);d.position&&this.props.overridePosition&&(d.position=this.props.overridePosition(d.position,e,e.currentTarget,this.tooltipRef,u,u,s,p));var f=d.isNewState?d.newState.place:u;this.clearTimer();var h=e.currentTarget,m=this.state.show?h.getAttribute("data-delay-update")||this.props.delayUpdate:0,v=this,g=function(){v.setState({originTooltip:i,isMultiline:a,desiredPlace:u,place:f,type:h.getAttribute("data-type")||v.props.type||"dark",customColors:{text:h.getAttribute("data-text-color")||v.props.textColor||null,background:h.getAttribute("data-background-color")||v.props.backgroundColor||null,border:h.getAttribute("data-border-color")||v.props.borderColor||null,arrow:h.getAttribute("data-arrow-color")||v.props.arrowColor||null},effect:s,offset:p,html:(h.getAttribute("data-html")?"true"===h.getAttribute("data-html"):v.props.html)||!1,delayShow:h.getAttribute("data-delay-show")||v.props.delayShow||0,delayHide:h.getAttribute("data-delay-hide")||v.props.delayHide||0,delayUpdate:h.getAttribute("data-delay-update")||v.props.delayUpdate||0,border:(h.getAttribute("data-border")?"true"===h.getAttribute("data-border"):v.props.border)||!1,extraClass:h.getAttribute("data-class")||v.props.class||v.props.className||"",disable:(h.getAttribute("data-tip-disable")?"true"===h.getAttribute("data-tip-disable"):v.props.disable)||!1,currentTarget:h},(function(){l&&v.addScrollListener(v.state.currentTarget),v.updateTooltip(e),o&&Array.isArray(o)&&(v.intervalUpdateContent=setInterval((function(){if(v.mount){var e=v.props.getContent,t=qb(i,"",e[0](),a),n=v.isEmptyTip(t);v.setState({isEmptyTip:n}),v.updatePosition()}}),o[1]))}))};m?this.delayReshow=setTimeout(g,m):g()}}},{key:"updateTooltip",value:function(e){var t=this,n=this.state,r=n.delayShow,o=n.disable,i=this.props.afterShow,a=this.getTooltipContent(),c=parseInt(r,10),l=e.currentTarget||e.target;if(!this.mouseOnToolTip()&&!this.isEmptyTip(a)&&!o){var u=function(){if(Array.isArray(a)&&a.length>0||a){var n=!t.state.show;t.setState({currentEvent:e,currentTarget:l,show:!0},(function(){t.updatePosition(),n&&i&&i(e)}))}};clearTimeout(this.delayShowLoop),r?this.delayShowLoop=setTimeout(u,c):u()}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},o=this.state.disable,i=r.isScroll,a=i?0:this.state.delayHide,c=this.props.afterHide,l=this.getTooltipContent();if(this.mount&&!this.isEmptyTip(l)&&!o){if(t){var u=this.getTargetArray(this.props.id),s=u.some((function(t){return t===e.currentTarget}));if(!s||!this.state.show)return}var p=function(){var t=n.state.show;n.mouseOnToolTip()?n.listenForTooltipExit():(n.removeListenerForTooltipExit(),n.setState({show:!1},(function(){n.removeScrollListener(n.state.currentTarget),t&&c&&c(e)})))};this.clearTimer(),a?this.delayHideLoop=setTimeout(p,parseInt(a,10)):p()}}},{key:"hideTooltipOnScroll",value:function(e,t){this.hideTooltip(e,t,{isScroll:!0})}},{key:"addScrollListener",value:function(e){var t=this.isCapture(e);window.addEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"removeScrollListener",value:function(e){var t=this.isCapture(e);window.removeEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"updatePosition",value:function(){var e=this,t=this.state,n=t.currentEvent,r=t.currentTarget,o=t.place,i=t.desiredPlace,a=t.effect,c=t.offset,l=this.tooltipRef,u=jb(n,r,l,o,i,a,c);if(u.position&&this.props.overridePosition&&(u.position=this.props.overridePosition(u.position,n,r,l,o,i,a,c)),u.isNewState)return this.setState(u.newState,(function(){e.updatePosition()}));l.style.left=u.position.left+"px",l.style.top=u.position.top+"px"}},{key:"clearTimer",value:function(){clearTimeout(this.delayShowLoop),clearTimeout(this.delayHideLoop),clearTimeout(this.delayReshow),clearInterval(this.intervalUpdateContent)}},{key:"hasCustomColors",value:function(){var e=this;return Boolean(Object.keys(this.state.customColors).find((function(t){return"border"!==t&&e.state.customColors[t]}))||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var e=this,r=this.state,o=r.extraClass,i=r.html,a=r.ariaProps,c=r.disable,l=this.getTooltipContent(),u=this.isEmptyTip(l),s=Jb(this.state.uuid,this.state.customColors,this.state.type,this.state.border),p="__react_component_tooltip"+" ".concat(this.state.uuid)+(!this.state.show||c||u?"":" show")+(this.state.border?" border":"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),d=this.props.wrapper;n.supportedWrappers.indexOf(d)<0&&(d=n.defaultProps.wrapper);var f=[p,o].filter(Boolean).join(" ");if(i){var h="".concat(l,"\n<style>").concat(s,"</style>");return t().createElement(d,Tb({className:"".concat(f),id:this.props.id,ref:function(t){return e.tooltipRef=t}},a,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:h}}))}return t().createElement(d,Tb({className:"".concat(f),id:this.props.id},a,{ref:function(t){return e.tooltipRef=t},"data-id":"tooltip"}),t().createElement("style",{dangerouslySetInnerHTML:{__html:s}}),l)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.ariaProps,r=Vb(e);return Object.keys(r).some((function(e){return r[e]!==n[e]}))?Cb({},t,{ariaProps:r}):null}}]),n}(t().Component),Eb(Yb,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),Eb(Yb,"supportedWrappers",["div","span"]),Eb(Yb,"displayName","ReactTooltip"),Zb=$b))||Zb)||Zb)||Zb)||Zb)||Zb)||Zb)||Zb,ey=Qb,ty=["position","trigger","float","shadow","border","borderColor","hideOnScroll","children","style"];function ny(){return ny=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ny.apply(this,arguments)}function ry(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var oy=function(){return null},iy=function(){return null},ay=function(e){var n=e.position,r=void 0===n?"top":n,o=e.trigger,i=void 0===o?"hover":o,a=e.float,c=void 0!==a&&a,l=e.shadow,u=void 0===l||l,s=e.border,p=void 0===s?null:s,d=e.borderColor,f=void 0===d?"#bdbdbd":d,h=e.hideOnScroll,m=void 0===h||h,v=e.children,g=e.style,b=ry(e,ty),y=v.find((function(e){return e.type===oy})),x=v.find((function(e){return e.type===iy})),_="tooltip-"+Math.floor(1e5*Math.random());return t().createElement("span",ny({className:"cove-tooltip",style:g},b),t().createElement("a",{className:"cove-tooltip--target","data-for":_,"data-place":r,"data-event":"click"!==i?null:"click focus","data-effect":c?"float":"solid","data-scroll-hide":m,"data-tip":!0},y?y.props.children:null),t().createElement(ey,{id:_,className:"cove-tooltip__content"+("click"===i?" interactive":"")+(p?" cove-tooltip--border-"+p:"")+(u?" has-shadow":""),type:"light",effect:"solid",border:!!p,borderColor:f,globalEventOff:"click"},x?x.props.children:null))};ay.Target=oy,ay.Content=iy;var cy=ay,ly=["styles"];function uy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function sy(){return sy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sy.apply(this,arguments)}var py=["styles"];function dy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fy(){return fy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fy.apply(this,arguments)}var hy=["styles"];function my(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vy(){return vy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vy.apply(this,arguments)}var gy=["styles"];function by(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function yy(){return yy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yy.apply(this,arguments)}var xy=["styles"];function _y(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wy(){return wy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wy.apply(this,arguments)}var ky=["styles"];function Ey(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ty(){return Ty=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ty.apply(this,arguments)}var Sy=["styles"];function Cy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ay(){return Ay=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ay.apply(this,arguments)}o(16892);var Oy=["display","base","alt","size","color","style"];function Ry(){return Ry=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ry.apply(this,arguments)}function zy(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 Py(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zy(Object(n),!0).forEach((function(t){My(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function My(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ny={close:function(e){e.styles;var n=uy(e,ly);return t().createElement("svg",sy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},n),t().createElement("path",{fill:"currentColor",d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}))},question:function(e){var n=e.styles,r=void 0===n?{}:n,o=dy(e,py);return t().createElement("svg",fy({"aria-hidden":"true","data-prefix":"fas","data-icon":"question-circle",className:(r["svg-inline--fa"]||"svg-inline--fa")+" "+(r["fa-question-circle"]||"fa-question-circle")+" "+(r["fa-w-16"]||"fa-w-16"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},o),t().createElement("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"}))},link:function(e){e.styles;var n=my(e,hy);return t().createElement("svg",vy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},n),t().createElement("path",{d:"M314.222 197.78c51.091 51.091 54.377 132.287 9.75 187.16-6.242 7.73-2.784 3.865-84.94 86.02-54.696 54.696-143.266 54.745-197.99 0-54.711-54.69-54.734-143.255 0-197.99 32.773-32.773 51.835-51.899 63.409-63.457 7.463-7.452 20.331-2.354 20.486 8.192a173.31 173.31 0 004.746 37.828c.966 4.029-.272 8.269-3.202 11.198L80.632 312.57c-32.755 32.775-32.887 85.892 0 118.8 32.775 32.755 85.892 32.887 118.8 0l75.19-75.2c32.718-32.725 32.777-86.013 0-118.79a83.722 83.722 0 00-22.814-16.229c-4.623-2.233-7.182-7.25-6.561-12.346 1.356-11.122 6.296-21.885 14.815-30.405l4.375-4.375c3.625-3.626 9.177-4.594 13.76-2.294 12.999 6.524 25.187 15.211 36.025 26.049zM470.958 41.04c-54.724-54.745-143.294-54.696-197.99 0-82.156 82.156-78.698 78.29-84.94 86.02-44.627 54.873-41.341 136.069 9.75 187.16 10.838 10.838 23.026 19.525 36.025 26.049 4.582 2.3 10.134 1.331 13.76-2.294l4.375-4.375c8.52-8.519 13.459-19.283 14.815-30.405.621-5.096-1.938-10.113-6.561-12.346a83.706 83.706 0 01-22.814-16.229c-32.777-32.777-32.718-86.065 0-118.79l75.19-75.2c32.908-32.887 86.025-32.755 118.8 0 32.887 32.908 32.755 86.025 0 118.8l-45.848 45.84c-2.93 2.929-4.168 7.169-3.202 11.198a173.31 173.31 0 014.746 37.828c.155 10.546 13.023 15.644 20.486 8.192 11.574-11.558 30.636-30.684 63.409-63.457 54.733-54.735 54.71-143.3-.001-197.991z"}))},upload:function(e){var n=e.styles,r=void 0===n?{}:n,o=by(e,gy);return t().createElement("svg",yy({"aria-hidden":"true","data-prefix":"fas","data-icon":"upload",className:(r["svg-inline--fa"]||"svg-inline--fa")+" "+(r["fa-upload"]||"fa-upload")+" "+(r["fa-w-16"]||"fa-w-16"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},o),t().createElement("path",{fill:"currentColor",d:"M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}))},fileUpload:function(e){e.styles;var n=_y(e,xy);return t().createElement("svg",wy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},n),t().createElement("path",{d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm65.18 216.01H224v80c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-80H94.82c-14.28 0-21.41-17.29-11.27-27.36l96.42-95.7c6.65-6.61 17.39-6.61 24.04 0l96.42 95.7c10.15 10.07 3.03 27.36-11.25 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"}))},warning:function(e){e.styles;var n=Ey(e,ky);return t().createElement("svg",Ty({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},n),t().createElement("path",{d:"M506.3 417L293 53c-16.33-28-57.54-28-73.98 0L5.82 417c-16.41 27.9 4.029 63 36.92 63h426.6c32.76 0 53.26-35 36.96-63zM232 168c0-13.25 10.75-24 24-24s24 10.8 24 24v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zm24 248c-17.36 0-31.44-14.08-31.44-31.44s14.07-31.44 31.44-31.44 31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"}))},info:function(e){e.styles;var n=Cy(e,Sy);return t().createElement("svg",Ay({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},n),t().createElement("path",{d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm0 128c17.67 0 32 14.33 32 32s-14.33 32-32 32-32-14.3-32-32 14.3-32 32-32zm40 256h-80c-13.2 0-24-10.7-24-24s10.75-24 24-24h16v-64h-8c-13.25 0-24-10.75-24-24s10.8-24 24-24h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24s-10.7 24-24 24z"}))}},Dy=function(e){var n=e.display,r=void 0===n?null:n,o=e.base,i=e.alt,a=void 0===i?"":i,c=e.size,l=e.color,u=e.style,s=Iy(e,Oy),p=Ny[r]||null,d=Py({},s);delete d.className;var f=Py(Py({},u),{},{color:l||null,width:c?c+"px":null});return t().createElement(t().Fragment,null,o?t().createElement(p,{title:a}):t().createElement("span",Ry({className:"cove-icon".concat(s.className?" "+s.className:""),style:f},d),t().createElement(p,{title:a})))};Dy.propTypes={display:lb().oneOf(Object.keys(Ny)),base:lb().bool,alt:lb().string,size:lb().number,color:lb().string};var Ly=Dy,By=["label","tooltip","section","subsection","fieldName","updateField","value","type","i","min"],jy=["label","value","fieldName","section","subsection","tooltip","updateField"],Fy=["label","value","options","fieldName","section","subsection","required","tooltip","updateField","initial"];function Hy(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 Uy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hy(Object(n),!0).forEach((function(t){Gy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wy(e){return function(e){if(Array.isArray(e))return Zy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ky(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qy(){return qy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qy.apply(this,arguments)}function Vy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||Ky(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ky(e,t){if(e){if("string"==typeof e)return Zy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zy(e,t):void 0}}function Zy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Yy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var $y=(0,e.memo)((function(n){var r=n.label,o=n.tooltip,i=n.section,a=void 0===i?null:i,c=n.subsection,l=void 0===c?null:c,u=n.fieldName,s=n.updateField,p=n.value,d=n.type,f=void 0===d?"input":d,h=n.i,m=void 0===h?null:h,v=n.min,g=void 0===v?null:v,b=Yy(n,By),y=Vy((0,e.useState)(p),2),x=y[0],_=y[1],w=Vy(Dg(x,500),1)[0];(0,e.useEffect)((function(){"string"==typeof w&&p!==w&&s(a,l,u,w,m)}),[w]);var k="".concat(a,"-").concat(l,"-").concat(u),E=function(e){"number"!==f||null===g||!e.target.value||g<=parseFloat(e.target.value)?_(e.target.value):_(g.toString())},T=t().createElement("input",qy({type:"text",name:k,onChange:E},b,{value:x}));return"textarea"===f&&(T=t().createElement("textarea",qy({name:k,onChange:E},b,{value:x}))),"number"===f&&(T=t().createElement("input",qy({type:"number",name:k,onChange:E},b,{value:x}))),"date"===f&&(T=t().createElement("input",qy({type:"date",name:k,onChange:E},b,{value:x}))),t().createElement("label",null,t().createElement("span",{className:"edit-label column-heading"},r,o),T)})),Xy=(0,e.memo)((function(e){var n=e.label,r=e.value,o=e.fieldName,i=e.section,a=void 0===i?null:i,c=e.subsection,l=void 0===c?null:c,u=e.tooltip,s=e.updateField,p=Yy(e,jy);return t().createElement("label",{className:"checkbox"},t().createElement("input",qy({type:"checkbox",name:o,checked:r,onChange:function(){s(a,l,o,!r)}},p)),t().createElement("span",{className:"edit-label"},n,u))})),Jy=(0,e.memo)((function(e){var n=e.label,r=e.value,o=e.options,i=e.fieldName,a=e.section,c=void 0===a?null:a,l=e.subsection,u=void 0===l?null:l,s=e.required,p=void 0!==s&&s,d=e.tooltip,f=e.updateField,h=e.initial,m=Yy(e,Fy),v=o.map((function(e,n){return t().createElement("option",{value:e,key:n},e)}));return h&&v.unshift(t().createElement("option",{value:"",key:"initial"},h)),t().createElement("label",null,t().createElement("span",{className:"edit-label"},n,d),t().createElement("select",qy({className:p&&!r?"warning":"",name:i,value:r,onChange:function(e){f(c,u,i,e.target.value)}},m),v))})),Qy=(0,e.memo)((function(e){var n=e.config,r=e.updateConfig,o=function(e,t,o){var i=[];n.regions&&(i=Wy(n.regions)),i[o][e]=t,r(Uy(Uy({},n),{},{regions:i}))},i=function(e,t,n,r,i){return o(n,r,i)};return t().createElement(t().Fragment,null,n.regions&&n.regions.map((function(e,a){var c=e.label,l=e.color,u=e.from,s=e.to,p=e.background;return t().createElement("div",{className:"edit-block",key:"region-".concat(a)},t().createElement("button",{type:"button",className:"remove-column",onClick:function(e){e.preventDefault(),function(e){var t=[];n.regions&&(t=Wy(n.regions)),t.splice(e,1),r(Uy(Uy({},n),{},{regions:t}))}(a)}},"Remove"),t().createElement($y,{value:c,label:"Region Label",fieldName:"label",i:a,updateField:i}),t().createElement("div",{className:"two-col-inputs"},t().createElement($y,{value:l,label:"Text Color",fieldName:"color",updateField:function(e,t,n,r){return o(n,r,a)}}),t().createElement($y,{value:p,label:"Background",fieldName:"background",updateField:function(e,t,n,r){return o(n,r,a)}})),t().createElement("div",{className:"two-col-inputs"},t().createElement($y,{value:u,label:"From Value",fieldName:"from",updateField:function(e,t,n,r){return o(n,r,a)}}),t().createElement($y,{value:s,label:"To Value",fieldName:"to",updateField:function(e,t,n,r){return o(n,r,a)}})))})),!n.regions&&t().createElement("p",{style:{textAlign:"center"}},"There are currently no regions."),t().createElement("button",{type:"button",className:"btn full-width",onClick:function(e){var t;e.preventDefault(),t=[],n.regions&&(t=Wy(n.regions)),t.push({}),r(Uy(Uy({},n),{},{regions:t}))}},"Add Region"))})),ex=["theme-blue","theme-purple","theme-brown","theme-teal","theme-pink","theme-orange","theme-slate","theme-indigo","theme-cyan","theme-green","theme-amber"],tx=function(){var n,r,o,i,a=(0,e.useContext)(hc),c=a.config,l=a.updateConfig,u=a.transformedData,s=a.loading,p=a.colorPalettes,d=a.unfilteredData,f=a.excludedData,h=(a.transformedData,a.isDashboard),m=a.setParentConfig,v=a.missingRequiredSections,g=a.setFilteredData,b=ms(c,u),y=b.minValue,x=b.maxValue,_=function(t,n){var r=(0,e.useReducer)(ib,ob,ab),o=r[0],i=r[1],a=o.paletteName,c=o.isPaletteReversed,l=o.filteredPallets,u=o.filteredQualitative;return(0,e.useEffect)((function(){i({type:rb,payload:t})}),[]),(0,e.useEffect)((function(){if(n.isPaletteReversed)return i({type:"SEQUENTIAL_REVERSE",payload:t}),function(){return i({type:"SEQUENTIAL",payload:t})}}),[n.isPaletteReversed,i,t]),{paletteName:a,isPaletteReversed:c,filteredPallets:l,filteredQualitative:u,dispatch:i}}(p,c),w=_.paletteName,k=_.isPaletteReversed,E=_.filteredPallets,T=_.filteredQualitative,S=_.dispatch;(0,e.useEffect)((function(){w&&l(Uy(Uy({},c),{},{palette:w}))}),[w]),(0,e.useEffect)((function(){S({type:"GET_PALETTE",payload:p,paletteName:c.palette})}),[S,c.palette]),(0,e.useEffect)((function(){S({type:"GET_PALETTE",payload:p,paletteName:c.palette})}),[S,c.palette]);var C=[{label:"Ascending Alphanumeric",value:"asc"},{label:"Descending Alphanumeric",value:"desc"},{label:"Custom",value:"cust"}],A=function(e){"horizontal"===e.orientation&&(e.labels=!1),void 0===e.table.show&&(e.table.show=!h)},O=function(e,t,n,r){if(null===e&&null===t){var o=Uy(Uy({},c),{},Gy({},n,r));return A(o),void l(o)}var i=Array.isArray(c[e]),a=i?[].concat(Wy(c[e]),[r]):Uy(Uy({},c[e]),{},Gy({},n,r));null!==t&&(i?(a=Wy(c[e]))[t]=Uy(Uy({},a[t]),{},Gy({},n,r)):"string"==typeof r?a[t]=r:a=Uy(Uy({},c[e]),{},Gy({},t,Uy(Uy({},c[e][t]),{},Gy({},n,r)))));var u=Uy(Uy({},c),{},Gy({},e,a));A(u),l(u)},R=Vy((0,e.useState)(!0),2),z=R[0],P=R[1],M=Vy((0,e.useState)("two-tone"),2);M[0],M[1];if(s)return null;var I=function(e,t,n){var r=Wy(c.filters);r[t][e]=n,l(Uy(Uy({},c),{},{filters:r}))},N=function(e){for(var t=Wy(c.series),n=-1,r=0;r<t.length;r++)if(t[r].dataKey===e){n=r;break}if(-1!==n){t.splice(n,1);var o=Uy(Uy({},c),{},{series:t});0===t.length&&delete o.series,l(o)}"Paired Bar"===c.visualizationType&&l(Uy(Uy({},c),{},{series:[]}))},D=function(e){var t=Wy(c.exclusions.keys);t.push(e);var n=Uy(Uy({},c.exclusions),{},{keys:t});l(Uy(Uy({},c),{},{exclusions:n}))},L=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};if(d.map((function(e){Object.keys(e).forEach((function(e){return t[e]=!0}))})),e){var n,r,o,i;(null===(n=c.confidenceKeys)||void 0===n?void 0:n.upper)&&(null===(r=c.confidenceKeys)||void 0===r||r.upper),(null===(o=c.confidenceKeys)||void 0===o?void 0:o.lower)&&(null===(i=c.confidenceKeys)||void 0===i||i.lower);Object.keys(t).forEach((function(e){(c.series&&c.series.filter((function(t){return t.dataKey===e})).length>0||c.confidenceKeys&&Object.keys(c.confidenceKeys).includes(e))&&delete t[e]}))}return Object.keys(t)},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];return f.map((function(t){n.push(t[e])})),t?Wy(new Set(n)):n},j=function(){return t().createElement("section",{className:"waiting"},t().createElement("section",{className:"waiting-container"},t().createElement("h3",null,"Error With Configuration"),t().createElement("p",null,c.runtime.editorErrorMessage)))},F=function(){return t().createElement("section",{className:"waiting"},t().createElement("section",{className:"waiting-container"},t().createElement("h3",null,"Finish Configuring"),t().createElement("p",null,"Set all required options to the left and confirm below to display a preview of the chart."),t().createElement("button",{className:"btn",style:{margin:"1em auto"},disabled:v(),onClick:function(e){e.preventDefault();var t=Uy({},c);delete t.newViz,l(t)}},"I'm Done")))},H=function(){var e=JSON.parse(JSON.stringify(c));return!1===v()&&delete e.newViz,delete e.runtime,e};(0,e.useEffect)((function(){if(m){var e=H();m(e)}}),[c]),(0,e.useEffect)((function(){"horizontal"===c.orientation&&l(Uy(Uy({},c),{},{lollipopShape:c.lollipopShape}))}),[c.isLollipopChart,c.lollipopShape]);var U=(0,e.useCallback)((function(){var e=Wy(c.exclusions.keys);return t().createElement("ul",{className:"series-list"},e.map((function(e,n){return t().createElement("li",{key:e},t().createElement("div",{className:"series-list__name","data-title":e},t().createElement("div",{className:"series-list__name--text"},e)),t().createElement("span",{className:"series-list__remove",onClick:function(){return function(e){for(var t=-1,n=Wy(c.exclusions.keys),r=0;r<n.length;r++)if(n[r]===e){t=r;break}if(-1!==t){n.splice(t,1);var o=Uy(Uy({},c.exclusions),{},{keys:n}),i=Uy(Uy({},c),{},{exclusions:o});0===n.length&&delete i.exclusions.keys,l(i)}}(e)}},"×"))})))}),[c]);c.isLollipopChart&&(null==c||null===(n=c.series)||void 0===n?void 0:n.length)>1&&(c.runtime.editorErrorMessage="Lollipop charts must use only one data series"),c.isLollipopChart&&0===(null==c||null===(r=c.series)||void 0===r?void 0:r.length)&&(c.runtime.editorErrorMessage="Add a data series");var G="horizontal"===c.orientation?"xAxis":"yAxis",W=Vy((0,e.useState)({maxMsg:"",minMsg:""}),2),q=W[0],V=W[1],K=function(e){var t,n,r=e.target.value;if(c.runtime.seriesKeys)for(var o=function(e){t=u.some((function(t){return t[c.runtime.seriesKeys[e]]>=0}))},i=0;i<c.runtime.seriesKeys.length;i++)o(i);Number(r)>=x&&(n=r,V((function(e){return Uy(Uy({},e),{},{maxMsg:""})}))),Number(r)<x&&t&&V((function(e){return Uy(Uy({},e),{},{maxMsg:"Max value must be more than "+x})})),Number(r)<x&&!t&&V((function(e){return Uy(Uy({},e),{},{maxMsg:"Value must be more than or equal to 0"})})),O(G,null,"max",n),r.length||V((function(e){return Uy(Uy({},e),{},{maxMsg:""})}))};return(0,e.useEffect)((function(){c[G].max&&c[G].max<x&&(O(G,null,"max",x),V((function(e){return Uy(Uy({},e),{},{maxMsg:"Entered value ".concat(c[G].max," is not valid ")})})))}),[u,x]),(0,e.useEffect)((function(){"Line"===c.visualizationType?c[G].min&&c[G].min>y&&(V((function(e){return Uy(Uy({},e),{},{minMsg:"Entered value ".concat(c[G].min," is not valid")})})),O(G,null,"min",y)):c[G].min&&c[G].min<y&&(V((function(e){return Uy(Uy({},e),{},{minMsg:"Entered value ".concat(c[G].min," is not valid")})})),O(G,null,"min",y))}),[u,y]),t().createElement(wc,{component:"EditorPanel"},c.newViz&&t().createElement(F,null),void 0===c.newViz&&c.runtime&&c.runtime.editorErrorMessage&&t().createElement(j,null),t().createElement("button",{className:z?"editor-toggle":"editor-toggle collapsed",title:z?"Collapse Editor":"Expand Editor",onClick:function(){P(!z)}}),t().createElement("section",{className:"".concat(z?"editor-panel cove":"hidden editor-panel cove").concat(h?" dashboard":"")},t().createElement("div",{"aria-level":"2",role:"heading",className:"heading-2"},"Configure Chart"),t().createElement("section",{className:"form-container"},t().createElement("form",null,t().createElement(lg,{allowZeroExpanded:!0},t().createElement(gg,null," ",t().createElement(Pg,null,t().createElement(Rg,null,"General")),t().createElement(Mg,null,t().createElement(Jy,{value:c.visualizationType,fieldName:"visualizationType",label:"Chart Type",updateField:O,options:["Pie","Line","Bar","Combo","Paired Bar"]}),"Bar"===c.visualizationType&&t().createElement(Jy,{value:c.visualizationSubType||"Regular",fieldName:"visualizationSubType",label:"Chart Subtype",updateField:O,options:["regular","stacked"]}),"Bar"===c.visualizationType&&t().createElement(Jy,{value:c.orientation||"vertical",fieldName:"orientation",label:"Orientation",updateField:O,options:["vertical","horizontal"]}),"Bar"===c.visualizationType&&"horizontal"===c.orientation&&t().createElement(Jy,{value:c.yAxis.labelPlacement||"Below Bar",section:"yAxis",fieldName:"labelPlacement",label:"Label Placement",updateField:O,options:["Below Bar","On Date/Category Axis"]}),"Bar"===c.visualizationType&&("horizontal"===c.orientation||"regular"===c.orientation)&&"stacked"!==c.visualizationSubType&&t().createElement(Xy,{value:c.isLollipopChart,fieldName:"isLollipopChart",label:"Use lollipop styling",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"Select this option to replace each bar with a line and a dot at the end.")))}),"horizontal"===c.orientation&&("Below Bar"===c.yAxis.labelPlacement||"On Date/Category Axis"===c.yAxis.labelPlacement)&&t().createElement(Xy,{value:c.yAxis.displayNumbersOnBar,section:"yAxis",fieldName:"displayNumbersOnBar",label:c.isLollipopChart?"Display Numbers after Bar":"Display Numbers on Bar",updateField:O}),"Pie"===c.visualizationType&&t().createElement(Jy,{fieldName:"pieType",label:"Pie Chart Type",updateField:O,options:["Regular","Donut"]}),t().createElement($y,{value:c.title,fieldName:"title",label:"Title",updateField:O}),t().createElement($y,{type:"textarea",value:c.description,fieldName:"description",label:"Subtext",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"Enter supporting text to display below the data visualization, if applicable. The following HTML tags are supported: strong, em, sup, and sub.")))}),"horizontal"!==c.visualizationSubType&&t().createElement($y,{type:"number",value:c.height,fieldName:"height",label:"Chart Height",updateField:O}))),"Pie"!==c.visualizationType&&t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Data Series ",(!c.series||0===c.series.length||"Paired Bar"===c.visualizationType&&c.series.length<2)&&t().createElement(Fg,{width:"25",className:"warning-icon"}))),t().createElement(Mg,null,(!c.series||0===c.series.length)&&"Paired Bar"!==c.visualizationType&&t().createElement("p",{className:"warning"},"At least one series is required"),(!c.series||0===c.series.length||c.series.length<2)&&"Paired Bar"===c.visualizationType&&t().createElement("p",{className:"warning"},"Select two data series for paired bar chart (e.g., Male and Female)."),c.series&&0!==c.series.length&&t().createElement(t().Fragment,null,t().createElement("label",null,t().createElement("span",{className:"edit-label"},"Displaying",t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"A data series is a set of related data points plotted in a chart and typically represented in the chart legend."))))),t().createElement("ul",{className:"series-list"},c.series.map((function(e,n){if("Combo"===c.visualizationType){var r=t().createElement("select",{value:e.type,onChange:function(e){!function(e,t){var n=Wy(c.series);n[e].type=t,l(Uy(Uy({},c),{},{series:n}))}(n,e.target.value)},style:{width:"100px",marginRight:"10px"}},t().createElement("option",{value:"",default:!0},"Select"),t().createElement("option",{value:"Bar"},"Bar"),t().createElement("option",{value:"Line"},"Line"));return t().createElement("li",{key:e.dataKey},t().createElement("div",{className:"series-list__name".concat(e.dataKey.length>15?" series-list__name--truncate":""),"data-title":e.dataKey},t().createElement("div",{className:"series-list__name-text"},e.dataKey)),t().createElement("span",null,t().createElement("span",{className:"series-list__dropdown"},r),c.series.length>1&&t().createElement("span",{className:"series-list__remove",onClick:function(){return N(e.dataKey)}},"×")))}return t().createElement("li",{key:e.dataKey},t().createElement("div",{className:"series-list__name","data-title":e.dataKey},t().createElement("div",{className:"series-list__name--text"},e.dataKey)),c.series.length>1&&t().createElement("span",{className:"series-list__remove",onClick:function(){return N(e.dataKey)}},"×"))})))),t().createElement(Jy,{fieldName:"visualizationType",label:"Add Data Series",initial:"Select",onChange:function(e){var t,n;""!==e.target.value&&"Select"!==e.target.value&&(t=e.target.value,(n=c.series?Wy(c.series):[]).push({dataKey:t,type:"Bar"}),l(Uy(Uy({},c),{},{series:n}))),e.target.value=""},options:L()}),c.series&&c.series.length<=1&&"Bar"===c.visualizationType&&t().createElement(t().Fragment,null,t().createElement("span",{className:"divider-heading"},"Confidence Keys"),t().createElement(Jy,{value:c.confidenceKeys.upper||"",section:"confidenceKeys",fieldName:"upper",label:"Upper",updateField:O,initial:"Select",options:L()}),t().createElement(Jy,{value:c.confidenceKeys.lower||"",section:"confidenceKeys",fieldName:"lower",label:"Lower",updateField:O,initial:"Select",options:L()})))),t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Pie"!==c.visualizationType?(c.visualizationType,"Value Axis"):"Data Format","Pie"===c.visualizationType&&!c.yAxis.dataKey&&t().createElement(Fg,{width:"25",className:"warning-icon"}))),t().createElement(Mg,null,"Pie"===c.visualizationType&&t().createElement(Jy,{value:c.yAxis.dataKey||"",section:"yAxis",fieldName:"dataKey",label:"Data Column",initial:"Select",required:!0,updateField:O,options:L(!1),tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"Select the source data to be visually represented.")))}),"Pie"!==c.visualizationType&&t().createElement(t().Fragment,null,t().createElement($y,{value:c.yAxis.label,section:"yAxis",fieldName:"label",label:"Label",updateField:O}),t().createElement($y,{value:c.yAxis.numTicks,placeholder:"Auto",type:"number",section:"yAxis",fieldName:"numTicks",label:"Number of ticks",className:"number-narrow",updateField:O}),t().createElement($y,{value:c.yAxis.size,type:"number",section:"yAxis",fieldName:"size",label:"horizontal"===c.orientation?"Size (Height)":"Size (Width)",className:"number-narrow",updateField:O}),"horizontal"!==c.orientation&&t().createElement(Xy,{value:c.yAxis.gridLines,section:"yAxis",fieldName:"gridLines",label:"Display Gridlines",updateField:O})),t().createElement("span",{className:"divider-heading"},"Number Formatting"),t().createElement(Xy,{value:c.dataFormat.commas,section:"dataFormat",fieldName:"commas",label:"Add commas",updateField:O}),t().createElement($y,{value:c.dataFormat.roundTo,type:"number",section:"dataFormat",fieldName:"roundTo",label:"Round to decimal point",className:"number-narrow",updateField:O,min:0}),t().createElement("div",{className:"two-col-inputs"},t().createElement($y,{value:c.dataFormat.prefix,section:"dataFormat",fieldName:"prefix",label:"Prefix",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,"Pie"===c.visualizationType&&t().createElement("p",null,"Enter a data prefix to display in the data table and chart tooltips, if applicable."),"Pie"!==c.visualizationType&&t().createElement("p",null,'Enter a data prefix (such as "$"), if applicable.')))}),t().createElement($y,{value:c.dataFormat.suffix,section:"dataFormat",fieldName:"suffix",label:"Suffix",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,"Pie"===c.visualizationType&&t().createElement("p",null,"Enter a data suffix to display in the data table and tooltips, if applicable."),"Pie"!==c.visualizationType&&t().createElement("p",null,'Enter a data suffix (such as "%"), if applicable.')))})),"horizontal"===c.orientation?t().createElement(t().Fragment,null,t().createElement(Xy,{value:c.xAxis.hideAxis,section:"xAxis",fieldName:"hideAxis",label:"Hide Axis",updateField:O}),t().createElement(Xy,{value:c.xAxis.hideLabel,section:"xAxis",fieldName:"hideLabel",label:"Hide Label",updateField:O}),t().createElement(Xy,{value:c.xAxis.hideTicks,section:"xAxis",fieldName:"hideTicks",label:"Hide Ticks",updateField:O}),t().createElement($y,{value:c.xAxis.max,type:"number",label:"update max value",placeholder:"Auto",onChange:function(e){return K(e)}}),t().createElement("span",{style:{color:"red",display:"block"}},q.maxMsg)):"Pie"!==c.visualizationType&&t().createElement(t().Fragment,null,t().createElement(Xy,{value:c.yAxis.hideAxis,section:"yAxis",fieldName:"hideAxis",label:"Hide Axis",updateField:O}),t().createElement(Xy,{value:c.yAxis.hideLabel,section:"yAxis",fieldName:"hideLabel",label:"Hide Label",updateField:O}),t().createElement(Xy,{value:c.yAxis.hideTicks,section:"yAxis",fieldName:"hideTicks",label:"Hide Ticks",updateField:O}),t().createElement($y,{value:c.yAxis.max,type:"number",label:"update max value",placeholder:"Auto",onChange:function(e){return K(e)}}),t().createElement("span",{style:{color:"red",display:"block"}},q.maxMsg),t().createElement($y,{value:c.yAxis.min,type:"number",label:"update min value",placeholder:"Auto",onChange:function(e){return function(e){var t,n=e.target.value;"Line"===c.visualizationType?Number(n)>y?V((function(e){return Uy(Uy({},e),{},{minMsg:"Value must be less than "+y})})):(t=n,V((function(e){return Uy(Uy({},e),{},{minMsg:""})}))):Number(n)>y?V((function(e){return Uy(Uy({},e),{},{minMsg:"Value must be less than "+y})})):Number(n)>0?V((function(e){return Uy(Uy({},e),{},{minMsg:"Value must be less than or equal to 0"})})):(t=n,V((function(e){return Uy(Uy({},e),{},{minMsg:""})}))),O(G,null,"min",t),n.length||V((function(e){return Uy(Uy({},e),{},{minMsg:""})}))}(e)}}),t().createElement("span",{style:{color:"red",display:"block"}},q.minMsg)))),t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Pie"!==c.visualizationType?(c.visualizationType,"Date/Category Axis"):"Segments",!c.xAxis.dataKey&&t().createElement(Fg,{width:"25",className:"warning-icon"}))),t().createElement(Mg,null,"Pie"!==c.visualizationType&&t().createElement(t().Fragment,null,t().createElement(Jy,{value:c.xAxis.type,section:"xAxis",fieldName:"type",label:"Data Type",updateField:O,options:["categorical","date"]}),t().createElement(Jy,{value:c.xAxis.dataKey||"",section:"xAxis",fieldName:"dataKey",label:"Data Key",initial:"Select",required:!0,updateField:O,options:L(!1),tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"Select the column or row containing the categories or dates for this axis. ")))})),"Pie"===c.visualizationType&&t().createElement(Jy,{value:c.xAxis.dataKey||"",section:"xAxis",fieldName:"dataKey",label:"Segment Labels",initial:"Select",required:!0,updateField:O,options:L(!1),tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,'Select the source row or column that contains the segment labels. Depending on the data structure, it may be listed as "Key."')))}),"Pie"!==c.visualizationType&&t().createElement(t().Fragment,null,t().createElement($y,{value:c.xAxis.label,section:"xAxis",fieldName:"label",label:"Label",updateField:O}),"date"===c.xAxis.type&&t().createElement(t().Fragment,null,t().createElement("p",{style:{padding:"1.5em 0 0.5em",fontSize:".9rem",lineHeight:"1rem"}},"Format how charts should parse and display your dates using ",t().createElement("a",{href:"https://github.com/d3/d3-time-format#locale_format",target:"_blank",rel:"noreferrer"},"these guidelines"),"."),t().createElement($y,{value:c.xAxis.dateParseFormat,section:"xAxis",fieldName:"dateParseFormat",placeholder:"Ex. %Y-%m-%d",label:"Date Parse Format",updateField:O}),t().createElement($y,{value:c.xAxis.dateDisplayFormat,section:"xAxis",fieldName:"dateDisplayFormat",placeholder:"Ex. %Y-%m-%d",label:"Date Display Format",updateField:O})),t().createElement(Xy,{value:c.exclusions.active,section:"exclusions",fieldName:"active",label:"date"===c.xAxis.type?"Limit by start and/or end dates":"Exclude one or more values",tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"When this option is checked, you can select source-file values for exclusion from the date/category axis. "))),updateField:O}),c.exclusions.active&&t().createElement(t().Fragment,null,"categorical"===c.xAxis.type&&t().createElement(t().Fragment,null,c.exclusions.keys.length>0&&t().createElement(t().Fragment,null,t().createElement("label",null,t().createElement("span",{className:"edit-label"},"Excluded Keys")),t().createElement(U,null)),t().createElement(Jy,{fieldName:"visualizationType",label:"Add Exclusion",initial:"Select",onChange:function(e){""!==e.target.value&&"Select"!==e.target.value&&D(e.target.value),e.target.value=""},options:B(c.xAxis.dataKey,!0)})),"date"===c.xAxis.type&&t().createElement(t().Fragment,null,t().createElement($y,{type:"date",section:"exclusions",fieldName:"dateStart",label:"Start Date",updateField:O,value:c.exclusions.dateStart||""}),t().createElement($y,{type:"date",section:"exclusions",fieldName:"dateEnd",label:"End Date",updateField:O,value:c.exclusions.dateEnd||""}))),"date"===c.xAxis.type&&t().createElement(t().Fragment,null,t().createElement($y,{value:c.xAxis.numTicks,placeholder:"Auto",type:"number",min:"1",section:"xAxis",fieldName:"numTicks",label:"Number of ticks",className:"number-narrow",updateField:O})),t().createElement($y,{value:c.xAxis.size,type:"number",min:"0",section:"xAxis",fieldName:"size",label:"horizontal"===c.orientation?"Size (Width)":"Size (Height)",className:"number-narrow",updateField:O}),"Below Bar"!==c.yAxis.labelPlacement&&t().createElement($y,{value:c.xAxis.tickRotation,type:"number",min:"0",section:"xAxis",fieldName:"tickRotation",label:"Tick rotation (Degrees)",className:"number-narrow",updateField:O}),"horizontal"===c.orientation?t().createElement(t().Fragment,null,t().createElement(Xy,{value:c.yAxis.hideAxis,section:"yAxis",fieldName:"hideAxis",label:"Hide Axis",updateField:O}),t().createElement(Xy,{value:c.yAxis.hideLabel,section:"yAxis",fieldName:"hideLabel",label:"Hide Label",updateField:O})):t().createElement(t().Fragment,null,t().createElement(Xy,{value:c.xAxis.hideAxis,section:"xAxis",fieldName:"hideAxis",label:"Hide Axis",updateField:O}),t().createElement(Xy,{value:c.xAxis.hideLabel,section:"xAxis",fieldName:"hideLabel",label:"Hide Label",updateField:O}),t().createElement(Xy,{value:c.xAxis.hideTicks,section:"xAxis",fieldName:"hideTicks",label:"Hide Ticks",updateField:O}))),"Pie"===c.visualizationType&&t().createElement(t().Fragment,null,t().createElement(Xy,{value:c.exclusions.active,section:"exclusions",fieldName:"active",label:"Exclude one or more values",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"When this option is checked, you can select values for exclusion from the pie segments.")))}),c.exclusions.active&&t().createElement(t().Fragment,null,c.exclusions.keys.length>0&&t().createElement(t().Fragment,null,t().createElement("label",null,t().createElement("span",{className:"edit-label"},"Excluded Keys")),t().createElement(U,null)),t().createElement(Jy,{fieldName:"visualizationType",label:"Add Exclusion",initial:"Select",onChange:function(e){""!==e.target.value&&"Select"!==e.target.value&&D(e.target.value),e.target.value=""},options:B(c.xAxis.dataKey,!0)}))))),"Pie"!==c.visualizationType&&"Paired Bar"!==c.visualizationType&&t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Regions")),t().createElement(Mg,null,t().createElement(Qy,{config:c,updateConfig:l}))),t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Legend")),t().createElement(Mg,null,t().createElement(Xy,{value:c.legend.reverseLabelOrder,section:"legend",fieldName:"reverseLabelOrder",label:"Reverse Labels",updateField:O}),t().createElement(Xy,{value:c.legend.hide,section:"legend",fieldName:"hide",label:"Hide Legend",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"With a single-series chart, consider hiding the legend to reduce visual clutter.")))}),t().createElement(Jy,{value:c.legend.behavior,section:"legend",fieldName:"behavior",label:"Legend Behavior (When clicked)",updateField:O,options:["highlight","isolate"]}),t().createElement($y,{value:c.legend.label,section:"legend",fieldName:"label",label:"Title",updateField:O}),t().createElement(Jy,{value:c.legend.position,section:"legend",fieldName:"position",label:"Position",updateField:O,options:["right","left"]}))),t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Filters")),t().createElement(Mg,null,c.filters&&t().createElement("ul",{className:"filters-list"},c.filters.map((function(e,n){return t().createElement("fieldset",{className:"edit-block",key:n},t().createElement("button",{type:"button",className:"remove-column",onClick:function(){!function(e){var t=Wy(c.filters);t.splice(e,1),l(Uy(Uy({},c),{},{filters:t}))}(n)}},"Remove"),t().createElement("label",null,t().createElement("span",{className:"edit-label column-heading"},"Filter"),t().createElement("select",{value:e.columnName,onChange:function(e){I("columnName",n,e.target.value)}},t().createElement("option",{value:""},"- Select Option -"),L().map((function(e,n){return t().createElement("option",{value:e,key:n},e)})))),t().createElement("label",null,t().createElement("span",{className:"edit-label column-heading"},"Label"),t().createElement("input",{type:"text",value:e.label,onChange:function(e){I("label",n,e.target.value)}})),t().createElement("label",null,t().createElement("span",{className:"edit-filterOrder column-heading"},"Filter Order"),t().createElement("select",{value:e.order?e.order:"asc",onChange:function(e){return I("order",n,e.target.value)}},C.map((function(e,n){return t().createElement("option",{value:e.value,key:"filter-".concat(n)},e.label)}))),"cust"===e.order&&t().createElement(Qm,{onDragEnd:function(e){var t=e.source,r=e.destination;return function(e,t,n,r){var o=r.values,i=Vy(o.splice(e,1),1)[0];o.splice(t,0,i);var a=Wy(c.filters),l=Uy({},c.filters[n]);l.active=r.values[0],l.values=o,l.order="cust",a[n]=l,g(a)}(t.index,r.index,n,c.filters[n])}},t().createElement(jv,{droppableId:"filter_order"},(function(e){var r;return t().createElement("ul",qy({},e.droppableProps,{className:"sort-list",ref:e.innerRef,style:{marginTop:"1em"}}),null===(r=c.filters[n])||void 0===r?void 0:r.values.map((function(e,n){return t().createElement(Nv,{key:e,draggableId:"draggableFilter-".concat(e),index:n},(function(n,r){return t().createElement("li",null,t().createElement("div",qy({className:r.isDragging?"currently-dragging":"",style:(r.isDragging,o=n.draggableProps.style,Uy({},o)),ref:n.innerRef},n.draggableProps,n.dragHandleProps),e));var o}))})),e.placeholder)})))))}))),!c.filters&&t().createElement("p",{style:{textAlign:"center"}},"There are currently no filters."),t().createElement("button",{type:"button",onClick:function(){var e=c.filters?Wy(c.filters):[];e.push({values:[]}),l(Uy(Uy({},c),{},{filters:e}))},className:"btn full-width"},"Add Filter"))),t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Visual")),t().createElement(Mg,null,c.isLollipopChart&&t().createElement(t().Fragment,null,t().createElement("label",{className:"header"},t().createElement("span",{className:"edit-label"},"Lollipop Shape"),t().createElement("div",{onChange:function(e){var t;t=e.target.value,l(Uy(Uy({},c),{},{lollipopShape:t}))}},t().createElement("label",null,t().createElement("input",{type:"radio",name:"lollipopShape",value:"circle",checked:"circle"===c.lollipopShape}),"Circle"),t().createElement("label",null,t().createElement("input",{type:"radio",name:"lollipopShape",value:"square",checked:"square"===c.lollipopShape}),"Square"))),t().createElement(Jy,{value:c.lollipopColorStyle?c.lollipopColorStyle:"two-tone",fieldName:"lollipopColorStyle",label:"Lollipop Color Style",updateField:O,options:["regular","two-tone"]}),t().createElement(Jy,{value:c.lollipopSize?c.lollipopSize:"small",fieldName:"lollipopSize",label:"Lollipop Size",updateField:O,options:["small","medium","large"]})),t().createElement(Jy,{value:c.fontSize,fieldName:"fontSize",label:"Font Size",updateField:O,options:["small","medium","large"]}),(null===(o=c.series)||void 0===o?void 0:o.some((function(e){return"Bar"===e.type})))&&t().createElement(Jy,{value:c.barHasBorder,fieldName:"barHasBorder",label:"Bar Borders",updateField:O,options:["true","false"]}),((null===(i=c.series)||void 0===i?void 0:i.some((function(e){return"Line"===e.type})))&&"Combo"===c.visualizationType||"Line"===c.visualizationType)&&t().createElement(Jy,{value:c.lineDatapointStyle,fieldName:"lineDatapointStyle",label:"Line Datapoint Style",updateField:O,options:["hidden","hover","always show"]}),t().createElement("label",{className:"header"},t().createElement("span",{className:"edit-label"},"Header Theme"),t().createElement("ul",{className:"color-palette"},ex.map((function(e){return t().createElement("li",{title:e,key:e,onClick:function(){l(Uy(Uy({},c),{},{theme:e}))},className:c.theme===e?"selected "+e:e})})))),t().createElement("label",null,t().createElement("span",{className:"edit-label"},"Chart Color Palette")),t().createElement(hb,{fieldName:"isPaletteReversed",size:"small",label:"Use selected palette in reverse order",updateField:O,value:k}),t().createElement("span",null,"Sequential"),t().createElement("ul",{className:"color-palette"},E.map((function(e){var n={backgroundColor:p[e][2]},r={backgroundColor:p[e][3]},o={backgroundColor:p[e][5]};return t().createElement("li",{title:e,key:e,onClick:function(){l(Uy(Uy({},c),{},{palette:e}))},className:c.palette===e?"selected":""},t().createElement("span",{style:n}),t().createElement("span",{style:r}),t().createElement("span",{style:o}))}))),t().createElement("span",null,"Non-Sequential"),t().createElement("ul",{className:"color-palette"},T.map((function(e){var n={backgroundColor:p[e][2]},r={backgroundColor:p[e][4]},o={backgroundColor:p[e][6]};return t().createElement("li",{title:e,key:e,onClick:function(){l(Uy(Uy({},c),{},{palette:e}))},className:c.palette===e?"selected":""},t().createElement("span",{style:n}),t().createElement("span",{style:r}),t().createElement("span",{style:o}))}))),"Pie"!==c.visualizationType&&t().createElement(t().Fragment,null,"horizontal"!==c.orientation&&t().createElement(Xy,{value:c.labels,fieldName:"labels",label:"Display label on data",updateField:O}),t().createElement($y,{value:c.dataCutoff,type:"number",fieldName:"dataCutoff",className:"number-narrow",label:"Data Cutoff",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,'Any value below the cut-off value is included in a special "less than" category. This option supports special conditions like suppressed data.')))})),"horizontal"===c.orientation&&"On Bar"!==c.yAxis.labelPlacement&&t().createElement($y,{type:"number",value:c.barHeight||"25",fieldName:"barHeight",label:"Bar Thickness",updateField:O,min:"15"}),("Bar"===c.visualizationType&&"horizontal"!==c.orientation||"Combo"===c.visualizationType)&&t().createElement($y,{value:c.barThickness,type:"number",fieldName:"barThickness",label:"Bar Thickness",updateField:O}))),t().createElement(gg,null,t().createElement(Pg,null,t().createElement(Rg,null,"Data Table")),t().createElement(Mg,null,t().createElement(Xy,{value:c.table.show,section:"table",fieldName:"show",label:"Show Table",updateField:O,tooltip:t().createElement(cy,{style:{textTransform:"none"}},t().createElement(cy.Target,null,t().createElement(Ly,{display:"question",style:{marginLeft:"0.5rem"}})),t().createElement(cy.Content,null,t().createElement("p",null,"Hiding the data table may affect accessibility. An alternate form of accessing visualization data is a 508 requirement.")))}),t().createElement(Xy,{value:c.table.expanded,section:"table",fieldName:"expanded",label:"Expanded by Default",updateField:O}),t().createElement(Xy,{value:c.table.download,section:"table",fieldName:"download",label:"Display Download Button",updateField:O}),t().createElement($y,{value:c.table.label,section:"table",fieldName:"label",label:"Label",updateField:O}),t().createElement($y,{value:c.table.indexLabel,section:"table",fieldName:"indexLabel",label:"Index Column Header",updateField:O}))))),"Spark Line"!==c.type&&t().createElement(tb,{loadConfig:l,state:c,convertStateToConfig:H}))))};function nx(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t&&"category"===(null==n||null===(e=n.legend)||void 0===e?void 0:e.type))return t;var r=/[^\d.-]/g;return!1===Number.isNaN(parseFloat(t))&&null===String(t).match(r)?parseFloat(t):t}function rx(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 ox(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rx(Object(n),!0).forEach((function(t){ix(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ix(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ax(e){return function(e){if(Array.isArray(e))return ux(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||lx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||lx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lx(e,t){if(e){if("string"==typeof e)return ux(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ux(e,t):void 0}}function ux(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sx(e){delete e.qualitative9;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=cx(r[n],2),i=o[0],a=o[1],c=String(i);if(c.endsWith("reverse"))t=ox({},e);else t[c.concat("reverse")]=ax(a).reverse()}return ox(ox({},t),e)}var px=sx({"qualitative-bold":["#377eb8","#ff7f00","#4daf4a","#984ea3","#e41a1c","#ffff33","#a65628","#f781bf","#3399CC"],"qualitative-soft":["#A6CEE3","#1F78B4","#B2DF8A","#33A02C","#FB9A99","#E31A1C","#FDBF6F","#FF7F00","#ACA9EB"],"sequential-blue":["#C6DBEF","#9ECAE1","#6BAED6","#4292C6","#2171B5","#084594"],"sequential-blue-2-(MPX)":["#D5F6F9","#99E2ED","#5FB6D1","#3189B0","#116091","#0A3E72"],"sequential-orange-(MPX)":["#FFEFCF","#FFD49C","#F7A866","#EB7723","#B95117","#862B0B"],"sequential-green":["#C7E9C0","#A1D99B","#74C476","#41AB5D","#238B45","#005A32"]});sx({yelloworangered:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],yelloworangebrown:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],pinkpurple:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],bluegreen:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],orangered:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],red:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],greenblue:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],yellowpurple:["#FFF0B0","#F5CC76","#EDAE4B","#E3683C","#BF2A48","#6D2059","#8F0C4B","#310958","#0E0943"],qualitative1:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#6a3d9a","#cab2d6","#E31A90","#15017A","#C2C0FC"],qualitative2:["#7fc97f","#beaed4","#ff9","#386cb0","#f0027f","#bf5b17","#666","#fedab8"],qualitative3:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666"],qualitative4:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ff3","#a65628","#f781bf"],qualitative9:["#497d0c","#84BC49","#88c3ea","#fcad90","#f26b4f","#c31b1f","#c31b1f"],"sequential-blue-2(MPX)":["#F5FEFF","#E1FBFF","#C0F2FD","#94E2ED","#5EBAD4","#3695BE","#2273A0","#0E5181","#093460"],"sequential-orange(MPX)":["#FFFDF0","#FFF7DC","#FFE9C2","#FFD097","#F7A866","#EB7723","#B95117","#853209","#661F00"]});function dx(){return dx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dx.apply(this,arguments)}function fx(e){var n=e.id,r=e.markerWidth,o=void 0===r?3:r,i=e.markerHeight,a=void 0===i?3:i,c=e.markerUnits,l=void 0===c?"userSpaceOnUse":c,u=e.children,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["id","markerWidth","markerHeight","markerUnits","children"]);return t().createElement("defs",null,t().createElement("marker",dx({id:n,markerWidth:o,markerHeight:a,markerUnits:l},s),u))}function hx(){return hx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hx.apply(this,arguments)}function mx(e){var n=e.id,r=e.size,o=void 0===r?9:r,i=e.strokeWidth,a=void 0===i?1:i,c=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["id","size","strokeWidth"]),l=o+2*a,u=o,s=l/2,p="0 0, "+o+" "+o/2+", 0 "+o;return t().createElement(fx,hx({id:n,markerWidth:l,markerHeight:l,refX:u,refY:s,orient:"auto",markerUnits:"strokeWidth",fill:"none",strokeWidth:a},c),t().createElement("g",{transform:"translate("+a+", "+a+")"},t().createElement("polyline",{points:p})))}function vx(e){return function(e){if(Array.isArray(e))return gx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gx(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bx(n){var r,o,i=n.width,a=n.height,c=(0,e.useContext)(hc),l=c.transformedData,u=(c.dimensions,c.config),s=c.parseDate,p=c.formatDate,d=(c.currentViewport,c.seriesHighlight),f=c.formatNumber,h=c.colorScale,m=i,v=ms(u,l),g=v.minValue,b=v.maxValue,y=5,x=10,_=10,w=10,k=a,E=m-u.runtime.yAxis.size,T=k-y-20,S=function(e){return"date"===u.runtime.xAxis.type?s(e[u.runtime.originalXAxis.dataKey]).getTime():e[u.runtime.originalXAxis.dataKey]},C=function(e,t){return e[t]};if(l){var A=void 0!==u.runtime.yAxis.min?u.runtime.yAxis.min:g,O=void 0!==u.runtime.yAxis.max?u.runtime.yAxis.max:Number.MIN_VALUE;if(("Bar"===u.visualizationType||"Combo"===u.visualizationType)&&A>0&&(A=0),O===Number.MIN_VALUE&&(O=b),u.runtime.yAxis.paddingPercent){var R=(O-A)*u.runtime.yAxis.paddingPercent;A-=R,O+=R}var z=l.map((function(e){return S(e)}));u.runtime.horizontal?(r=cu({domain:[A,O],range:[0,E]}),o="date"===u.runtime.xAxis.type?cu({domain:[Math.min.apply(Math,vx(z)),Math.max.apply(Math,vx(z))]}):hu({domain:z,padding:.5}),hu({domain:u.runtime.barSeriesKeys||u.runtime.seriesKeys,range:[0,T]}),o.rangeRound([0,T])):(o=cu({domain:[A=A<0?1.11*A:A,O],range:[T-_,y]}),r=hu({domain:z,range:[w,m-x]}),hu({domain:u.runtime.barSeriesKeys||u.runtime.seriesKeys,range:[0,E]}))}var P=[r.domain()[0],r.domain()[r.domain().length-1]];return(0,e.useEffect)((function(){Qa.rebuild()})),t().createElement(wc,{component:"SparkLine"},t().createElement("svg",{width:m,height:k,className:"sparkline"},(u.runtime.lineSeriesKeys||u.runtime.seriesKeys).map((function(e,n){return t().createElement(t().Fragment,null,t().createElement(ae.Z,{className:"sparkline-group",height:a,top:y,key:"series-".concat(e),opacity:"highlight"===u.legend.behavior&&d.length>0&&-1===d.indexOf(e)?.5:1,display:"highlight"===u.legend.behavior||0===d.length||-1!==d.indexOf(e)?"block":"none"},l.map((function(n,i){var a=u.runtime.yAxis.label?"".concat(u.runtime.yAxis.label,": ").concat(f(C(n,e))):f(C(n,e)),c=u.runtime.xAxis.label?"".concat(u.runtime.xAxis.label,": ").concat(n[u.runtime.xAxis.dataKey]):n[u.runtime.xAxis.dataKey],s="<div>\n\t\t\t\t".concat(a,"<br />\n\t\t\t\t").concat(c,"<br />\n\t\t\t\t").concat(u.seriesLabel?"".concat(u.seriesLabel,": ").concat(e):""," \n\t\t\t\t</div>");return t().createElement(ae.Z,{key:"series-".concat(e,"-point-").concat(i)},t().createElement(fc,{display:u.labels?"block":"none",x:r(S(n)),y:o(C(n,e)),fill:h?h(u.runtime.seriesLabels?u.runtime.seriesLabels[e]:e):"#000",textAnchor:"middle"},f(n[e])),i+1!==l.length&&t().createElement("circle",{key:"".concat(e,"-").concat(i),r:4.5,cx:r(S(n)),cy:o(C(n,e)),fill:h?h(u.runtime.seriesLabels?u.runtime.seriesLabels[e]:e):"#000",style:{fill:h?h(u.runtime.seriesLabels?u.runtime.seriesLabels[e]:e):"#000"},"data-tip":s,"data-for":"cdc-open-viz-tooltip-".concat(u.runtime.uniqueId)}))})),t().createElement(ps,{curve:ls.Z,data:l,x:function(e){return r(S(e))},y:function(t){return o(C(t,e))},stroke:h?h(u.runtime.seriesLabels?u.runtime.seriesLabels[e]:e):"#000",strokeWidth:2,strokeOpacity:1,shapeRendering:"geometricPrecision","marker-end":"url(#arrow)"}),t().createElement(mx,{id:"arrow",refX:2,size:6,"marker-end":"url(#arrow)",fill:h?h(u.runtime.seriesLabels?u.runtime.seriesLabels[e]:e):"#000"})),t().createElement(Pu,{top:T+y,hideAxisLine:!0,hideTicks:!0,scale:r,tickValues:P,tickFormat:p,stroke:"black",tickStroke:"black",tickLabelProps:function(){return{fill:"black",fontSize:11,textAnchor:"middle"}}}))}))))}fx.propTypes={id:X().string.isRequired,size:X().number,markerWidth:X().oneOfType([X().string,X().number]),markerHeight:X().oneOfType([X().string,X().number]),markerUnits:X().string,refX:X().oneOfType([X().string,X().number]),refY:X().oneOfType([X().string,X().number]),strokeWidth:X().number,children:X().node.isRequired};o(4874);var yx=function(){return yx=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},yx.apply(this,arguments)},xx=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function c(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,c)}l((r=r.apply(e,t||[])).next())}))},_x=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}};function wx(n){var r,o,i,a,c,l,u=this,s=n.configUrl,p=n.config,d=n.isEditor,f=void 0!==d&&d,h=n.isDashboard,m=void 0!==h&&h,v=n.setConfig,g=n.setEditing,b=(n.hostname,new Ro),y=(0,e.useState)(!0),x=y[0],_=y[1],w=(0,e.useState)(null),k=w[0],E=w[1],S=(0,e.useState)({}),C=S[0],A=S[1],O=(0,e.useState)(C.data||[]),R=O[0],z=O[1],P=(0,e.useState)(),M=P[0],I=P[1],N=(0,e.useState)(),D=N[0],L=N[1],B=(0,e.useState)([]),j=B[0],F=B[1],H=(0,e.useState)("lg"),U=H[0],G=H[1],W=(0,e.useState)([]),q=W[0],V=W[1],K=(0,e.useState)(!1),Z=(K[0],K[1],(0,e.useState)([])),Y=Z[0],$=Z[1],X=(0,e.useState)(),J=X[0],Q=X[1],ee=(0,e.useState)(!1),ne=ee[0],oe=ee[1],ie=C.showSidebar?"#legend":(null==C?void 0:C.title)?"#dataTableSection__".concat(C.title.replace(/\s/g,"")):"#dataTableSection",ae=function(){var e=new Date;return new Date(e.getTime()-e.getTime()%9e5).toISOString()},ce=function(){return xx(u,void 0,void 0,(function(){var e,t,n,r,o;return _x(this,(function(i){switch(i.label){case 0:return(t=p)?[3,3]:[4,fetch(s)];case 1:return[4,i.sent().json()];case 2:t=i.sent(),i.label=3;case 3:if(n=(e=t).formattedData||e.data||{},!e.dataUrl)return[3,11];i.label=4;case 4:return i.trys.push([4,9,,10]),"csv"!==(r=/(?:\.([^.]+))?$/.exec(e.dataUrl)[1])?[3,6]:[4,fetch(e.dataUrl+"?v=".concat(ae())).then((function(e){return e.text()})).then((function(e){return ko().parse(e,{header:!0,dynamicTyping:!0,skipEmptyLines:!0}).data}))];case 5:n=i.sent(),i.label=6;case 6:return"json"!==r?[3,8]:[4,fetch(e.dataUrl+"?v=".concat(ae())).then((function(e){return e.json()}))];case 7:n=i.sent(),i.label=8;case 8:return[3,10];case 9:return i.sent(),console.error("Cannot parse URL: ".concat(e.dataUrl)),n=[],[3,10];case 10:e.dataDescription&&(n=b.autoStandardize(n),n=b.developerStandardize(n,e.dataDescription)),i.label=11;case 11:return n&&(z(n),I(n)),void 0===(o=yx(yx({},ws),e)).table.show&&(o.table.show=!m),le(o,n),[2]}}))}))},le=function(e,t){var n;void 0===t&&(t=void 0);var r,o,i=t||R;if(Object.keys(ws).forEach((function(t){e[t]&&"object"==typeof e[t]&&!Array.isArray(e[t])&&(e[t]=yx(yx({},ws[t]),e[t]))})),e.exclusions&&e.exclusions.active)if("categorical"===e.xAxis.type&&(null===(n=e.exclusions.keys)||void 0===n?void 0:n.length)>0)r=i.filter((function(t){return!e.exclusions.keys.includes(t[e.xAxis.dataKey])}));else if("date"===e.xAxis.type&&(e.exclusions.dateStart||e.exclusions.dateEnd)&&e.xAxis.dateParseFormat){var a=function(e){return new Date(e).getTime()},c=a(e.exclusions.dateStart),l=a(e.exclusions.dateEnd)+86399999,u=void 0!==typeof c&&!1===isNaN(c),s=void 0!==typeof l&&!1===isNaN(l);u&&s?r=i.filter((function(t){return a(t[e.xAxis.dataKey])>=c&&a(t[e.xAxis.dataKey])<=l})):u?r=i.filter((function(t){return a(t[e.xAxis.dataKey])>=c})):s&&(r=i.filter((function(t){return a(t[e.xAxis.dataKey])<=l})))}else r=t||R;else r=t||R;I(r),e.filters&&(e.filters.forEach((function(t,n){var o;o=se(t.columnName,r),e.filters[n].values=o,e.filters[n].active=o[0]})),o=ue(e.filters,r),L(o)),e.runtime={},e.runtime.seriesLabels={},e.runtime.seriesLabelsAll=[],e.runtime.originalXAxis=e.xAxis,"Pie"===e.visualizationType?(e.runtime.seriesKeys=(t||i).map((function(t){return t[e.xAxis.dataKey]})),e.runtime.seriesLabelsAll=e.runtime.seriesKeys):e.runtime.seriesKeys=e.series?e.series.map((function(t){return e.runtime.seriesLabels[t.dataKey]=t.label||t.dataKey,e.runtime.seriesLabelsAll.push(t.label||t.dataKey),t.dataKey})):[],"Combo"===e.visualizationType&&e.series&&(e.runtime.barSeriesKeys=[],e.runtime.lineSeriesKeys=[],e.series.forEach((function(t){"Bar"===t.type&&e.runtime.barSeriesKeys.push(t.dataKey),"Line"===t.type&&e.runtime.lineSeriesKeys.push(t.dataKey)}))),"Bar"===e.visualizationType&&"horizontal"===e.orientation||"Paired Bar"===e.visualizationType?(e.runtime.xAxis=e.yAxis,e.runtime.yAxis=e.xAxis,e.runtime.horizontal=!0):(e.runtime.xAxis=e.xAxis,e.runtime.yAxis=e.yAxis,e.runtime.horizontal=!1),e.runtime.uniqueId=Date.now(),e.runtime.editorErrorMessage="Pie"!==e.visualizationType||e.yAxis.dataKey?"":"Data Key property in Y Axis section must be set for pie charts.",o||(o=r);var p={};if("Paired Bar"!==e.visualizationType)for(var d=0;d<o.length;d++)p[o[d][e.xAxis.dataKey]]?e.runtime.editorErrorMessage="Duplicate keys in data. Try adding a filter.":p[o[d][e.xAxis.dataKey]]=!0;A(e)},ue=function(e,t){var n=[];return t.forEach((function(t){var r=!0;e.forEach((function(e){t[e.columnName]!==e.active&&(r=!1)})),r&&n.push(t)})),n},se=function(e,t){void 0===t&&(t=u.state.data);var n=[];return t.forEach((function(t){var r=t[e];r&&!1===n.includes(r)&&n.push(r)})),n},pe=function(e,t){var n="Bar"===C.visualizationType&&"horizontal"===C.visualizationSubType?C.xAxis.dataKey:C.yAxis.sortKey,r=parseFloat(e[n]),o=parseFloat(t[n]);return r<o?"ascending"===C.sortData?1:-1:r>o?"ascending"===C.sortData?-1:1:0},de=new T((function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t],o=r.contentRect,i=o.width,a=o.height,c=zo(i);G(c),f&&(i-=350),"true"===r.target.dataset.lollipop&&(i-=2.5),V([i-=32,a])}})),fe=(0,e.useCallback)((function(e){null!==e&&de.observe(e),Q(e)}),[]);(0,e.useEffect)((function(){ce()}),[]),(0,e.useEffect)((function(){var e,t;J&&(t=C,0!==Object.keys(t).length)&&!ne&&(e=new CustomEvent("cove_loaded",{detail:{config:C}}),document.dispatchEvent(e),oe(!0))}),[J,C]),(0,e.useEffect)((function(){var e,t,n=function(e){var t=[];t.push(e.detail),$(t)};return e="cove_filterData",t=function(e){return n(e)},document.addEventListener(e,t),function(){!function(e,t){document.removeEventListener(e,t)}("cove_filterData",n)}}),[C]),(0,e.useEffect)((function(){if(Y[0]&&!Y[0].hasOwnProperty("active")){var e=yx({},C);delete e.filters,A(e),L(ue(Y,M))}if(Y.length>0&&Y.length>0&&Y[0].hasOwnProperty("active")){var t=yx(yx({},C),{filters:Y});A(t),L(ue(Y,M))}}),[Y]),p&&(0,e.useEffect)((function(){ce()}),[p.data]),(0,e.useEffect)((function(){if(R&&C.xAxis&&C.runtime.seriesKeys){for(var e=C.customColors||px[C.palette],t=C.runtime.seriesKeys.length;t>e.length;)e=e.concat(e);e=e.slice(0,t);E((function(){return function(e){return $n(Ee(),e)}({domain:C.runtime.seriesLabelsAll,range:e})})),_(!1)}C&&R&&C.sortData&&R.sort(pe)}),[C,R]);var he=function(e){var t=[];if(j.length+1!==C.runtime.seriesKeys.length){j.forEach((function(e){t.push(e)}));var n=e.datum;if(C.runtime.seriesLabels)for(var r=0;r<C.runtime.seriesKeys.length;r++)if(C.runtime.seriesLabels[C.runtime.seriesKeys[r]]===e.datum){n=C.runtime.seriesKeys[r];break}-1!==t.indexOf(n)?t.splice(t.indexOf(n),1):t.push(n),F(t)}else me()},me=function(){F([])},ve="horizontal"===C.orientation?"yAxis":"xAxis",ge=function(e){var t=rr(C.runtime[ve].dateParseFormat)(e);return t||(C.runtime.editorErrorMessage='Error parsing date "'.concat(e,'". Try reviewing your data and date parse settings in the X Axis section.'),new Date)},be=C.legend,xe=C.title,_e=C.description,we=C.visualizationType,ke={"Paired Bar":t().createElement(vs,null),Bar:t().createElement(vs,null),Line:t().createElement(vs,null),Combo:t().createElement(vs,null),Pie:t().createElement(Tc,null)},Te=function(){if("Pie"===C.visualizationType){if(void 0===(null==C?void 0:C.yAxis.dataKey))return!0}else if(void 0===(null==C?void 0:C.series)||!1==(null==C?void 0:C.series.length)>0)return!0;return!C.xAxis.dataKey},Se=["cove-component__inner"];C.title&&Se.push("component--has-title"),C.subtext&&Se.push("component--has-subtext"),C.biteStyle&&Se.push("bite__style--".concat(C.biteStyle)),(null===(r=C.general)||void 0===r?void 0:r.isCompactStyle)&&Se.push("component--isCompactStyle");var Ce=["cove-component__content"];"Spark Line"===C.visualizationType&&Ce.push("sparkline"),!(null===(o=C.visual)||void 0===o?void 0:o.border)&&Ce.push("no-borders"),(null===(i=C.visual)||void 0===i?void 0:i.borderColorTheme)&&Ce.push("component--has-borderColorTheme"),(null===(a=C.visual)||void 0===a?void 0:a.accent)&&Ce.push("component--has-accent"),(null===(c=C.visual)||void 0===c?void 0:c.background)&&Ce.push("component--has-background"),(null===(l=C.visual)||void 0===l?void 0:l.hideBackgroundColor)&&Ce.push("component--hideBackgroundColor");var Ae=t().createElement(So,null),Oe="",Re="";!1===x&&("hover"===C.lineDatapointStyle&&(Oe=" chart-line--hover"),"always show"===C.lineDatapointStyle&&(Oe=" chart-line--always"),"false"===C.barHasBorder&&(Re=" chart-bar--no-border"),Ae=t().createElement(t().Fragment,null,f&&t().createElement(tx,null),!Te()&&!C.newViz&&t().createElement("div",{className:"cdc-chart-inner-container"},t().createElement(t().Fragment,null,xe&&t().createElement("div",{role:"heading",className:"chart-title ".concat(C.theme," cove-component__header"),"aria-level":2},To(xe)),t().createElement("a",{id:"skip-chart-container",className:"cdcdataviz-sr-only-focusable",href:ie},"Skip Over Chart Container"),C.filters&&!Y&&t().createElement((function(){var e="";return C.filters&&(e=C.filters.map((function(e,n){var r=[];return e.order&&""!==e.order||(e.order="asc"),"desc"===e.order&&(e.values=e.values.sort((function(e,t){return t.toString().localeCompare(e.toString(),"en",{numeric:!0})}))),"asc"===e.order&&(e.values=e.values.sort((function(e,t){return e.toString().localeCompare(t.toString(),"en",{numeric:!0})}))),e.values.forEach((function(e,n){r.push(t().createElement("option",{key:n,value:e},e))})),t().createElement("div",{className:"single-filter",key:n},t().createElement("label",{htmlFor:"filter-".concat(n)},e.label),t().createElement("select",{id:"filter-".concat(n),className:"filter-select","data-index":"0",value:e.active,onChange:function(t){!function(e,t){var n=C.filters;n[e].active=t,A(yx(yx({},C),{filters:n})),L(ue(n,M))}(n,t.target.value),"Filter ".concat(e.label," value has been changed to ").concat(t.target.value,", please reference the data table to see updated values.")}},r))}))),t().createElement("section",{className:"filters-section"},e)}),null),t().createElement("div",{className:"chart-container".concat(C.legend.hide?" legend-hidden":"").concat(Oe).concat(Re," ").concat(Ce.join(" "))},"Spark Line"!==C.visualizationType&&ke[we],"Spark Line"===C.visualizationType&&t().createElement(t().Fragment,null,_e&&t().createElement("div",{className:"subtext"},To(_e)),t().createElement("div",{style:{width:"100%",height:"100px"}},t().createElement(Xn.Z,null,(function(e){return t().createElement(t().Fragment,null,t().createElement(bx,{width:e.width,height:e.height}))})))),!C.legend.hide&&"Spark Line"!==C.visualizationType&&t().createElement((function(){var e=["legend-container"],n=["legend-container__inner"];return"left"===C.legend.position&&e.push("left"),C.legend.reverseLabelOrder&&(n.push("d-flex"),n.push("flex-column-reverse")),t().createElement("aside",{id:"legend",className:e.join(" "),role:"region","aria-label":"legend",tabIndex:0},be.label&&t().createElement("h2",null,be.label),t().createElement(ye,{scale:k,itemDirection:"row",labelMargin:"0 20px 0 0",shapeMargin:"0 10px 0"},(function(e){return t().createElement("div",{className:n.join(" ")},e.map((function(e,n){var r,o="legend-item",i=e.datum;if(!C.exclusions.active||!(null===(r=C.exclusions.keys)||void 0===r?void 0:r.includes(i))){if(C.runtime.seriesLabels){var a=C.runtime.seriesLabelsAll.indexOf(i);i=C.runtime.seriesKeys[a]}return j.length>0&&!1===j.includes(i)&&(o+=" inactive"),t().createElement(te,{className:o,tabIndex:0,key:"legend-quantile-".concat(n),onKeyPress:function(t){"Enter"===t.key&&he(e)},onClick:function(){he(e)}},t().createElement(ys,{fill:e.value}),t().createElement(re,{align:"left",margin:"0 0 0 4px"},e.text))}})),j.length>0&&t().createElement("button",{className:"legend-reset ".concat(C.theme),onClick:me},"Reset"))})))}),null))),_e&&"Spark Line"!==C.visualizationType&&t().createElement("div",{className:"subtext"},To(_e)),C.xAxis.dataKey&&C.table.show&&"Spark Line"!==C.visualizationType&&t().createElement(_s,null))));var ze={getXAxisData:function(e){return"date"===C.runtime.xAxis.type?ge(e[C.runtime.originalXAxis.dataKey]).getTime():e[C.runtime.originalXAxis.dataKey]},getYAxisData:function(e,t){return e[t]},config:C,rawData:null!=R?R:{},excludedData:M,transformedData:D||M,unfilteredData:R,seriesHighlight:j,colorScale:k,dimensions:q,currentViewport:U,parseDate:ge,formatDate:function(e){return nr(C.runtime[ve].dateDisplayFormat)(e)},formatNumber:function(e){if(null==e)return"";if(-1!==String(e).indexOf(",")&&(e=e.replaceAll(",","")),isNaN(e))return e;var t=e,n=C.dataFormat.prefix,r={useGrouping:!!C.dataFormat.commas,minimumFractionDigits:C.dataFormat.roundTo?Number(C.dataFormat.roundTo):0,maximumFractionDigits:C.dataFormat.roundTo?Number(C.dataFormat.roundTo):0};if(e=nx(e),isNaN(e))return C.runtime.editorErrorMessage="Unable to parse number from data ".concat(t,". Try reviewing your data and selections in the Data Series section."),t;if(!C.dataFormat)return e;if(C.dataCutoff){var o=nx(C.dataCutoff);e<o&&(n="< "+(n||""),e=o)}var i="";return n&&(i+=n),i+=e=e.toLocaleString("en-US",r),C.dataFormat.suffix&&(i+=C.dataFormat.suffix),String(i)},loading:x,updateConfig:le,colorPalettes:px,isDashboard:m,setParentConfig:v,missingRequiredSections:Te,setEditing:g,setFilteredData:L},Pe=["cdc-open-viz-module","type-chart","".concat(U),"font-".concat(C.fontSize),"".concat(C.theme)];return"Spark Line"===C.visualizationType&&Pe.push("type-sparkline"),f&&Pe.push("spacing-wrapper"),f&&Pe.push("isEditor"),t().createElement(hc.Provider,{value:ze},t().createElement("div",{className:"".concat(Pe.join(" ")),ref:fe,"data-lollipop":C.isLollipopChart},Ae))}}(),i}()}));
|