@perses-dev/logs-table-plugin 0.2.0 → 0.3.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mf/css/async/5369.85c2cbf6.css +1 -0
- package/__mf/css/async/__federation_expose_LogsTable.eedb54d8.css +1 -0
- package/__mf/font/inter-cyrillic-300-normal.432f2b21.woff +0 -0
- package/__mf/font/inter-cyrillic-300-normal.9da91009.woff2 +0 -0
- package/__mf/font/inter-cyrillic-400-normal.372704ff.woff2 +0 -0
- package/__mf/font/inter-cyrillic-400-normal.a6b6ef6f.woff +0 -0
- package/__mf/font/inter-cyrillic-500-normal.7c15bba8.woff2 +0 -0
- package/__mf/font/inter-cyrillic-500-normal.b9f8c929.woff +0 -0
- package/__mf/font/inter-cyrillic-600-normal.2f42892a.woff2 +0 -0
- package/__mf/font/inter-cyrillic-600-normal.c3987adc.woff +0 -0
- package/__mf/font/inter-cyrillic-700-normal.93eba3c3.woff +0 -0
- package/__mf/font/inter-cyrillic-700-normal.e9e5b2dc.woff2 +0 -0
- package/__mf/font/inter-cyrillic-900-normal.f285bd7a.woff2 +0 -0
- package/__mf/font/inter-cyrillic-900-normal.ffbd8a3a.woff +0 -0
- package/__mf/font/inter-cyrillic-ext-300-normal.95bb9038.woff2 +0 -0
- package/__mf/font/inter-cyrillic-ext-300-normal.cfc143a9.woff +0 -0
- package/__mf/font/inter-cyrillic-ext-400-normal.2a31c04b.woff +0 -0
- package/__mf/font/inter-cyrillic-ext-400-normal.f572b170.woff2 +0 -0
- package/__mf/font/inter-cyrillic-ext-500-normal.5a6bb1da.woff +0 -0
- package/__mf/font/inter-cyrillic-ext-500-normal.fe0d9b14.woff2 +0 -0
- package/__mf/font/inter-cyrillic-ext-600-normal.ecbdecad.woff +0 -0
- package/__mf/font/inter-cyrillic-ext-600-normal.f7b3c15b.woff2 +0 -0
- package/__mf/font/inter-cyrillic-ext-700-normal.4b4022a6.woff +0 -0
- package/__mf/font/inter-cyrillic-ext-700-normal.74b516d2.woff2 +0 -0
- package/__mf/font/inter-cyrillic-ext-900-normal.9970ddb5.woff +0 -0
- package/__mf/font/inter-cyrillic-ext-900-normal.a0d59adc.woff2 +0 -0
- package/__mf/font/inter-greek-300-normal.0d7be683.woff2 +0 -0
- package/__mf/font/inter-greek-300-normal.8f0b988e.woff +0 -0
- package/__mf/font/inter-greek-400-normal.cc58c11b.woff +0 -0
- package/__mf/font/inter-greek-400-normal.d7020e3c.woff2 +0 -0
- package/__mf/font/inter-greek-500-normal.d9a33207.woff +0 -0
- package/__mf/font/inter-greek-500-normal.f41f43db.woff2 +0 -0
- package/__mf/font/inter-greek-600-normal.4ec0c1c1.woff +0 -0
- package/__mf/font/inter-greek-600-normal.cc532937.woff2 +0 -0
- package/__mf/font/inter-greek-700-normal.5ec6c758.woff +0 -0
- package/__mf/font/inter-greek-700-normal.97f0eeeb.woff2 +0 -0
- package/__mf/font/inter-greek-900-normal.46b66369.woff2 +0 -0
- package/__mf/font/inter-greek-900-normal.9ae3a3c5.woff +0 -0
- package/__mf/font/inter-greek-ext-300-normal.10247a66.woff2 +0 -0
- package/__mf/font/inter-greek-ext-300-normal.4668e5cb.woff +0 -0
- package/__mf/font/inter-greek-ext-400-normal.4ce1df5d.woff2 +0 -0
- package/__mf/font/inter-greek-ext-400-normal.88ede1ea.woff +0 -0
- package/__mf/font/inter-greek-ext-500-normal.7a4aa726.woff +0 -0
- package/__mf/font/inter-greek-ext-500-normal.cbd51e2d.woff2 +0 -0
- package/__mf/font/inter-greek-ext-600-normal.089a95ee.woff +0 -0
- package/__mf/font/inter-greek-ext-600-normal.1f33d317.woff2 +0 -0
- package/__mf/font/inter-greek-ext-700-normal.31f1075d.woff +0 -0
- package/__mf/font/inter-greek-ext-700-normal.827cd618.woff2 +0 -0
- package/__mf/font/inter-greek-ext-900-normal.531bcee7.woff +0 -0
- package/__mf/font/inter-greek-ext-900-normal.8a9b36b9.woff2 +0 -0
- package/__mf/font/inter-latin-300-normal.15fb600d.woff2 +0 -0
- package/__mf/font/inter-latin-300-normal.6f95f590.woff +0 -0
- package/__mf/font/inter-latin-400-normal.2c7a775c.woff +0 -0
- package/__mf/font/inter-latin-400-normal.ef6d3f52.woff2 +0 -0
- package/__mf/font/inter-latin-500-normal.b7b43ace.woff2 +0 -0
- package/__mf/font/inter-latin-500-normal.cb4c8ceb.woff +0 -0
- package/__mf/font/inter-latin-600-normal.8fb1a964.woff2 +0 -0
- package/__mf/font/inter-latin-600-normal.ce0f5f43.woff +0 -0
- package/__mf/font/inter-latin-700-normal.953b7aa5.woff2 +0 -0
- package/__mf/font/inter-latin-700-normal.9c21d4dc.woff +0 -0
- package/__mf/font/inter-latin-900-normal.2a8028ec.woff2 +0 -0
- package/__mf/font/inter-latin-900-normal.fa252135.woff +0 -0
- package/__mf/font/inter-latin-ext-300-normal.167cc8c9.woff2 +0 -0
- package/__mf/font/inter-latin-ext-300-normal.f695be66.woff +0 -0
- package/__mf/font/inter-latin-ext-400-normal.32a25442.woff2 +0 -0
- package/__mf/font/inter-latin-ext-400-normal.4edcaace.woff +0 -0
- package/__mf/font/inter-latin-ext-500-normal.a19a84a6.woff +0 -0
- package/__mf/font/inter-latin-ext-500-normal.d9b491de.woff2 +0 -0
- package/__mf/font/inter-latin-ext-600-normal.38b075d8.woff2 +0 -0
- package/__mf/font/inter-latin-ext-600-normal.49faa47a.woff +0 -0
- package/__mf/font/inter-latin-ext-700-normal.93534b50.woff +0 -0
- package/__mf/font/inter-latin-ext-700-normal.b63daa1a.woff2 +0 -0
- package/__mf/font/inter-latin-ext-900-normal.0efdb307.woff +0 -0
- package/__mf/font/inter-latin-ext-900-normal.9c0fc2c7.woff2 +0 -0
- package/__mf/font/inter-vietnamese-300-normal.aad496d8.woff +0 -0
- package/__mf/font/inter-vietnamese-300-normal.ad9ef503.woff2 +0 -0
- package/__mf/font/inter-vietnamese-400-normal.a9dd2faf.woff +0 -0
- package/__mf/font/inter-vietnamese-400-normal.de4fc44f.woff2 +0 -0
- package/__mf/font/inter-vietnamese-500-normal.7c0a695f.woff2 +0 -0
- package/__mf/font/inter-vietnamese-500-normal.a3a73b95.woff +0 -0
- package/__mf/font/inter-vietnamese-600-normal.9d518599.woff2 +0 -0
- package/__mf/font/inter-vietnamese-600-normal.c5ce3fcb.woff +0 -0
- package/__mf/font/inter-vietnamese-700-normal.bc68b199.woff +0 -0
- package/__mf/font/inter-vietnamese-700-normal.faf12809.woff2 +0 -0
- package/__mf/font/inter-vietnamese-900-normal.2b782045.woff +0 -0
- package/__mf/font/inter-vietnamese-900-normal.e639b65a.woff2 +0 -0
- package/__mf/js/LogsTable.471dc288.js +7 -0
- package/__mf/js/async/1159.9276d668.js +22 -0
- package/__mf/js/async/1519.40e06bfc.js +1 -0
- package/__mf/js/async/1616.1b9a06fe.js +1 -0
- package/__mf/js/async/1805.ab82c1ef.js +1 -0
- package/__mf/js/async/20.b04ebcaa.js +3 -0
- package/__mf/js/async/2043.956cdbbb.js +2 -0
- package/__mf/js/async/256.20a94089.js +1 -0
- package/__mf/js/async/2842.4aad5bc1.js +1 -0
- package/__mf/js/async/304.8985bacb.js +37 -0
- package/__mf/js/async/392.f9cb0cfc.js +2 -0
- package/__mf/js/async/4077.e9103d7c.js +1 -0
- package/__mf/js/async/4121.c9ef0518.js +2 -0
- package/__mf/js/async/4869.940da5d7.js +1 -0
- package/__mf/js/async/5002.1fe02654.js +1 -0
- package/__mf/js/async/5071.87183f5a.js +1 -0
- package/__mf/js/async/5369.0aa8782c.js +7 -0
- package/__mf/js/async/{1129.e0f0503a.js.LICENSE.txt → 5369.0aa8782c.js.LICENSE.txt} +19 -1
- package/__mf/js/async/540.d4d0de7f.js +2 -0
- package/__mf/js/async/540.d4d0de7f.js.LICENSE.txt +1 -0
- package/__mf/js/async/5587.c7e5a39c.js +1 -0
- package/__mf/js/async/5652.e6029fc8.js +2 -0
- package/__mf/js/async/{1117.0a72bc85.js.LICENSE.txt → 5652.e6029fc8.js.LICENSE.txt} +1 -1
- package/__mf/js/async/6274.940dee19.js +2 -0
- package/__mf/js/async/6458.b2359789.js +1 -0
- package/__mf/js/async/7177.44516b97.js +1 -0
- package/__mf/js/async/7192.84e9432b.js +1 -0
- package/__mf/js/async/7250.78e3cd06.js +1 -0
- package/__mf/js/async/7413.581476fb.js +1 -0
- package/__mf/js/async/7445.73c38e72.js +110 -0
- package/__mf/js/async/{7445.28262ec0.js.LICENSE.txt → 7445.73c38e72.js.LICENSE.txt} +1 -1
- package/__mf/js/async/7452.7c6fe277.js +2 -0
- package/__mf/js/async/7968.aaf8a8bc.js +1 -0
- package/__mf/js/async/7978.35e0aa88.js +1 -0
- package/__mf/js/async/8356.355b4afe.js +1 -0
- package/__mf/js/async/8470.878f89da.js +2 -0
- package/__mf/js/async/8542.e30a008f.js +1 -0
- package/__mf/js/async/8608.072381d3.js +1 -0
- package/__mf/js/async/873.a4b44e41.js +1 -0
- package/__mf/js/async/9235.33a97899.js +1 -0
- package/__mf/js/async/9293.77eed9f0.js +2 -0
- package/__mf/js/async/941.c74117a1.js +2 -0
- package/__mf/js/async/9588.4e751733.js +1 -0
- package/__mf/js/async/__federation_expose_LogsTable.b2bc5b29.js +1 -0
- package/__mf/js/async/lib-router.47d4d226.js +2 -0
- package/__mf/js/main.04ea2a20.js +7 -0
- package/lib/LogsTable.d.ts.map +1 -1
- package/lib/LogsTable.js +8 -1
- package/lib/LogsTable.js.map +1 -1
- package/lib/LogsTableExportAction.d.ts +3 -0
- package/lib/LogsTableExportAction.d.ts.map +1 -0
- package/lib/LogsTableExportAction.js +67 -0
- package/lib/LogsTableExportAction.js.map +1 -0
- package/lib/cjs/LogsTable.js +8 -1
- package/lib/cjs/LogsTableExportAction.js +80 -0
- package/lib/cjs/components/LogRow/LogDetailsTable.js +60 -5
- package/lib/cjs/components/LogRow/LogRow.js +18 -7
- package/lib/cjs/components/VirtualizedLogsList.js +4 -4
- package/lib/cjs/utils/ansi.js +60 -0
- package/lib/cjs/utils/copyHelpers.js +4 -2
- package/lib/components/LogRow/LogDetailsTable.d.ts +2 -1
- package/lib/components/LogRow/LogDetailsTable.d.ts.map +1 -1
- package/lib/components/LogRow/LogDetailsTable.js +22 -3
- package/lib/components/LogRow/LogDetailsTable.js.map +1 -1
- package/lib/components/LogRow/LogRow.d.ts +2 -1
- package/lib/components/LogRow/LogRow.d.ts.map +1 -1
- package/lib/components/LogRow/LogRow.js +20 -9
- package/lib/components/LogRow/LogRow.js.map +1 -1
- package/lib/components/LogsList.d.ts +1 -1
- package/lib/components/LogsList.js.map +1 -1
- package/lib/components/VirtualizedLogsList.d.ts +1 -1
- package/lib/components/VirtualizedLogsList.d.ts.map +1 -1
- package/lib/components/VirtualizedLogsList.js +5 -5
- package/lib/components/VirtualizedLogsList.js.map +1 -1
- package/lib/components/hooks/useExpandedRows.d.ts +3 -2
- package/lib/components/hooks/useExpandedRows.d.ts.map +1 -1
- package/lib/components/hooks/useExpandedRows.js.map +1 -1
- package/lib/components/hooks/useSeverity.d.ts +1 -1
- package/lib/components/hooks/useSeverity.d.ts.map +1 -1
- package/lib/components/hooks/useSeverity.js.map +1 -1
- package/lib/components/utils.d.ts +1 -1
- package/lib/components/utils.js.map +1 -1
- package/lib/model.d.ts +2 -1
- package/lib/model.d.ts.map +1 -1
- package/lib/model.js.map +1 -1
- package/lib/utils/ansi.d.ts +3 -0
- package/lib/utils/ansi.d.ts.map +1 -0
- package/lib/utils/ansi.js +39 -0
- package/lib/utils/ansi.js.map +1 -0
- package/lib/utils/copyHelpers.d.ts +1 -1
- package/lib/utils/copyHelpers.d.ts.map +1 -1
- package/lib/utils/copyHelpers.js +4 -2
- package/lib/utils/copyHelpers.js.map +1 -1
- package/mf-manifest.json +93 -72
- package/mf-stats.json +109 -74
- package/package.json +9 -5
- package/__mf/css/async/3061.d3010b86.css +0 -1
- package/__mf/css/async/5442.d3010b86.css +0 -1
- package/__mf/css/async/7823.d3010b86.css +0 -1
- package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
- package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
- package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
- package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
- package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
- package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
- package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
- package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
- package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
- package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
- package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
- package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
- package/__mf/js/LogsTable.2781dfd7.js +0 -6
- package/__mf/js/async/1117.0a72bc85.js +0 -2
- package/__mf/js/async/1129.e0f0503a.js +0 -7
- package/__mf/js/async/1240.1a0b69fc.js +0 -1
- package/__mf/js/async/1616.832c6e3d.js +0 -1
- package/__mf/js/async/2043.3343388c.js +0 -2
- package/__mf/js/async/304.d0edd380.js +0 -37
- package/__mf/js/async/392.2e457deb.js +0 -2
- package/__mf/js/async/3982.ab5d25af.js +0 -1
- package/__mf/js/async/4077.4c4e9533.js +0 -1
- package/__mf/js/async/4121.6fa52018.js +0 -2
- package/__mf/js/async/5002.c1c54a52.js +0 -1
- package/__mf/js/async/5019.84406c37.js +0 -1
- package/__mf/js/async/5071.a0b2c6c3.js +0 -1
- package/__mf/js/async/5587.180213b1.js +0 -1
- package/__mf/js/async/6034.130a9e6d.js +0 -22
- package/__mf/js/async/6274.145959f1.js +0 -2
- package/__mf/js/async/6458.4d73f1df.js +0 -1
- package/__mf/js/async/648.0ddef36d.js +0 -1
- package/__mf/js/async/7177.848ebbb2.js +0 -1
- package/__mf/js/async/7192.269aa1db.js +0 -1
- package/__mf/js/async/7445.28262ec0.js +0 -110
- package/__mf/js/async/7452.60dd8e7a.js +0 -2
- package/__mf/js/async/7968.2c2a16b3.js +0 -1
- package/__mf/js/async/7978.8fed4f5a.js +0 -1
- package/__mf/js/async/8356.9ea56838.js +0 -1
- package/__mf/js/async/8470.6f543f7d.js +0 -2
- package/__mf/js/async/8542.1802a06b.js +0 -1
- package/__mf/js/async/8608.4e8b55b4.js +0 -1
- package/__mf/js/async/873.6dbef0bc.js +0 -1
- package/__mf/js/async/8859.f8f648fc.js +0 -1
- package/__mf/js/async/9235.3d5006e1.js +0 -1
- package/__mf/js/async/9293.7e278959.js +0 -2
- package/__mf/js/async/941.66a54646.js +0 -2
- package/__mf/js/async/9588.1ab96620.js +0 -1
- package/__mf/js/async/__federation_expose_LogsTable.f2d6f7ad.js +0 -1
- package/__mf/js/async/lib-router.04411383.js +0 -2
- package/__mf/js/main.76fc2531.js +0 -6
- /package/__mf/js/async/{6034.130a9e6d.js.LICENSE.txt → 1159.9276d668.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{2043.3343388c.js.LICENSE.txt → 2043.956cdbbb.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.2e457deb.js.LICENSE.txt → 392.f9cb0cfc.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4121.6fa52018.js.LICENSE.txt → 4121.c9ef0518.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6274.145959f1.js.LICENSE.txt → 6274.940dee19.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7452.60dd8e7a.js.LICENSE.txt → 7452.7c6fe277.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{8470.6f543f7d.js.LICENSE.txt → 8470.878f89da.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.66a54646.js.LICENSE.txt → 941.c74117a1.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.04411383.js.LICENSE.txt → lib-router.47d4d226.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 5652.e6029fc8.js.LICENSE.txt */
|
|
2
|
+
(self["chunk_LogsTable "]=self["chunk_LogsTable "]||[]).push([["5652"],{92890(t,e,r){"use strict";r.d(e,{A:()=>S});var n=r(70451),i=r(11750),o=r(81023),s=r(54553),a=r(24726),u=r(10972),l=r(96313),c=r(11502),f=r(29009),h=r(46733);function p(t){return(0,h.Ay)("MuiDialog",t)}let d=(0,f.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var m=r(37042),g=r(32309),v=r(77308),y=r(56599),w=r(23434),b=r(72052),x=r(73397),N=r(62540);let M=(0,v.A)(g.A,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),A=(0,v.A)(u.A,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),_=(0,v.A)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.container,e[`scroll${(0,a.A)(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),E=(0,v.A)(c.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.paper,e[`scrollPaper${(0,a.A)(r.scroll)}`],e[`paperWidth${(0,a.A)(String(r.maxWidth))}`],r.fullWidth&&e.paperFullWidth,r.fullScreen&&e.paperFullScreen]}})((0,w.A)(({theme:t})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${d.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(t.breakpoints.values).filter(t=>"xs"!==t).map(e=>({props:{maxWidth:e},style:{maxWidth:`${t.breakpoints.values[e]}${t.breakpoints.unit}`,[`&.${d.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[e]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${d.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),S=n.forwardRef(function(t,e){let r=(0,b.b)({props:t,name:"MuiDialog"}),u=(0,y.A)(),f={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{"aria-describedby":h,"aria-labelledby":d,"aria-modal":g=!0,BackdropComponent:v,BackdropProps:w,children:S,className:O,disableEscapeKeyDown:C=!1,fullScreen:B=!1,fullWidth:T=!1,maxWidth:P="sm",onBackdropClick:$,onClick:z,onClose:D,open:F,PaperComponent:k=c.A,PaperProps:I={},scroll:R="paper",slots:j={},slotProps:L={},TransitionComponent:q=l.A,transitionDuration:U=f,TransitionProps:W,...Z}=r,Y={...r,disableEscapeKeyDown:C,fullScreen:B,fullWidth:T,maxWidth:P,scroll:R},G=(t=>{let{classes:e,scroll:r,maxWidth:n,fullWidth:i,fullScreen:s}=t,u={root:["root"],container:["container",`scroll${(0,a.A)(r)}`],paper:["paper",`paperScroll${(0,a.A)(r)}`,`paperWidth${(0,a.A)(String(n))}`,i&&"paperFullWidth",s&&"paperFullScreen"]};return(0,o.A)(u,p,e)})(Y),H=n.useRef(),V=(0,s.A)(d),X=n.useMemo(()=>({titleId:V}),[V]),K={slots:{transition:q,...j},slotProps:{transition:W,paper:I,backdrop:w,...L}},[J,Q]=(0,x.A)("root",{elementType:A,shouldForwardComponentProp:!0,externalForwardedProps:K,ownerState:Y,className:(0,i.A)(G.root,O),ref:e}),[tt,te]=(0,x.A)("backdrop",{elementType:M,shouldForwardComponentProp:!0,externalForwardedProps:K,ownerState:Y}),[tr,tn]=(0,x.A)("paper",{elementType:E,shouldForwardComponentProp:!0,externalForwardedProps:K,ownerState:Y,className:(0,i.A)(G.paper,I.className)}),[ti,to]=(0,x.A)("container",{elementType:_,externalForwardedProps:K,ownerState:Y,className:(0,i.A)(G.container)}),[ts,ta]=(0,x.A)("transition",{elementType:l.A,externalForwardedProps:K,ownerState:Y,additionalProps:{appear:!0,in:F,timeout:U,role:"presentation"}});return(0,N.jsx)(J,{closeAfterTransition:!0,slots:{backdrop:tt},slotProps:{backdrop:{transitionDuration:U,as:v,...te}},disableEscapeKeyDown:C,onClose:D,open:F,onClick:t=>{z&&z(t),H.current&&(H.current=null,$&&$(t),D&&D(t,"backdropClick"))},...Q,...Z,children:(0,N.jsx)(ts,{...ta,children:(0,N.jsx)(ti,{onMouseDown:t=>{H.current=t.target===t.currentTarget},...to,children:(0,N.jsx)(tr,{as:k,elevation:24,role:"dialog","aria-describedby":h,"aria-labelledby":V,"aria-modal":g,...tn,children:(0,N.jsx)(m.A.Provider,{value:X,children:S})})})})})})},37042(t,e,r){"use strict";r.d(e,{A:()=>n});let n=r(70451).createContext({})},39750(t,e,r){"use strict";r.d(e,{A:()=>p});var n=r(70451),i=r(11750),o=r(81023),s=r(77308),a=r(72052),u=r(29009),l=r(46733);function c(t){return(0,l.Ay)("MuiDialogActions",t)}(0,u.A)("MuiDialogActions",["root","spacing"]);var f=r(62540);let h=(0,s.A)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,!r.disableSpacing&&e.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:t})=>!t.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),p=n.forwardRef(function(t,e){let r=(0,a.b)({props:t,name:"MuiDialogActions"}),{className:n,disableSpacing:s=!1,...u}=r,l={...r,disableSpacing:s},p=(t=>{let{classes:e,disableSpacing:r}=t;return(0,o.A)({root:["root",!r&&"spacing"]},c,e)})(l);return(0,f.jsx)(h,{className:(0,i.A)(p.root,n),ownerState:l,ref:e,...u})})},66834(t,e,r){"use strict";r.d(e,{A:()=>m});var n=r(70451),i=r(11750),o=r(81023),s=r(77308),a=r(23434),u=r(72052),l=r(29009),c=r(46733);function f(t){return(0,c.Ay)("MuiDialogContent",t)}(0,l.A)("MuiDialogContent",["root","dividers"]);var h=r(36831),p=r(62540);let d=(0,s.A)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.dividers&&e.dividers]}})((0,a.A)(({theme:t})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${h.A.root} + &`]:{paddingTop:0}}}]}))),m=n.forwardRef(function(t,e){let r=(0,u.b)({props:t,name:"MuiDialogContent"}),{className:n,dividers:s=!1,...a}=r,l={...r,dividers:s},c=(t=>{let{classes:e,dividers:r}=t;return(0,o.A)({root:["root",r&&"dividers"]},f,e)})(l);return(0,p.jsx)(d,{className:(0,i.A)(c.root,n),ownerState:l,ref:e,...a})})},91467(t,e,r){"use strict";r.d(e,{A:()=>p});var n=r(70451),i=r(11750),o=r(81023),s=r(88091),a=r(77308),u=r(72052),l=r(36831),c=r(37042),f=r(62540);let h=(0,a.A)(s.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:"16px 24px",flex:"0 0 auto"}),p=n.forwardRef(function(t,e){let r=(0,u.b)({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...p}=r,d=(t=>{let{classes:e}=t;return(0,o.A)({root:["root"]},l.t,e)})(r),{titleId:m=a}=n.useContext(c.A);return(0,f.jsx)(h,{component:"h2",className:(0,i.A)(d.root,s),ownerState:r,ref:e,variant:"h6",id:a??m,...p})})},36831(t,e,r){"use strict";r.d(e,{A:()=>s,t:()=>o});var n=r(29009),i=r(46733);function o(t){return(0,i.Ay)("MuiDialogTitle",t)}let s=(0,n.A)("MuiDialogTitle",["root"])},33868(t,e,r){"use strict";r.d(e,{A:()=>v});var n=r(70451),i=r(11750),o=r(81023),s=r(1337),a=r(24726),u=r(77308),l=r(23434),c=r(72052),f=r(29009),h=r(46733);function p(t){return(0,h.Ay)("MuiTab",t)}let d=(0,f.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]);var m=r(62540);let g=(0,u.A)(s.A,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.label&&r.icon&&e.labelIcon,e[`textColor${(0,a.A)(r.textColor)}`],r.fullWidth&&e.fullWidth,r.wrapped&&e.wrapped,{[`& .${d.iconWrapper}`]:e.iconWrapper},{[`& .${d.icon}`]:e.icon}]}})((0,l.A)(({theme:t})=>({...t.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&("top"===t.iconPosition||"bottom"===t.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&"top"!==t.iconPosition&&"bottom"!==t.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:e})=>t.icon&&t.label&&"top"===e,style:{[`& > .${d.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:e})=>t.icon&&t.label&&"bottom"===e,style:{[`& > .${d.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:e})=>t.icon&&t.label&&"start"===e,style:{[`& > .${d.icon}`]:{marginRight:t.spacing(1)}}},{props:({ownerState:t,iconPosition:e})=>t.icon&&t.label&&"end"===e,style:{[`& > .${d.icon}`]:{marginLeft:t.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${d.selected}`]:{opacity:1},[`&.${d.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${d.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${d.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${d.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${d.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:t.typography.pxToRem(12)}}]}))),v=n.forwardRef(function(t,e){let r=(0,c.b)({props:t,name:"MuiTab"}),{className:s,disabled:u=!1,disableFocusRipple:l=!1,fullWidth:f,icon:h,iconPosition:d="top",indicator:v,label:y,onChange:w,onClick:b,onFocus:x,selected:N,selectionFollowsFocus:M,textColor:A="inherit",value:_,wrapped:E=!1,...S}=r,O={...r,disabled:u,disableFocusRipple:l,selected:N,icon:!!h,iconPosition:d,label:!!y,fullWidth:f,textColor:A,wrapped:E},C=(t=>{let{classes:e,textColor:r,fullWidth:n,wrapped:i,icon:s,label:u,selected:l,disabled:c}=t,f={root:["root",s&&u&&"labelIcon",`textColor${(0,a.A)(r)}`,n&&"fullWidth",i&&"wrapped",l&&"selected",c&&"disabled"],icon:["iconWrapper","icon"]};return(0,o.A)(f,p,e)})(O),B=h&&y&&n.isValidElement(h)?n.cloneElement(h,{className:(0,i.A)(C.icon,h.props.className)}):h;return(0,m.jsxs)(g,{focusRipple:!l,className:(0,i.A)(C.root,s),ref:e,role:"tab","aria-selected":N,disabled:u,onClick:t=>{!N&&w&&w(t,_),b&&b(t)},onFocus:t=>{M&&!N&&w&&w(t,_),x&&x(t)},ownerState:O,tabIndex:N?0:-1,...S,children:["top"===d||"start"===d?(0,m.jsxs)(n.Fragment,{children:[B,y]}):(0,m.jsxs)(n.Fragment,{children:[y,B]}),v]})})},87034(t,e,r){"use strict";r.d(e,{A:()=>j});var n=r(70451),i=r(11750),o=r(81023),s=r(35216),a=r(77893),u=r(77308),l=r(56599),c=r(23434),f=r(72052),h=r(55403);function p(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}var d=r(54382),m=r(63025),g=r(62540);let v={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var y=r(96913),w=r(70776),b=r(1337),x=r(29009),N=r(46733);function M(t){return(0,N.Ay)("MuiTabScrollButton",t)}let A=(0,x.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),_=(0,u.A)(b.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.orientation&&e[r.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${A.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),E=n.forwardRef(function(t,e){let r=(0,f.b)({props:t,name:"MuiTabScrollButton"}),{className:n,slots:u={},slotProps:l={},direction:c,orientation:h,disabled:p,...d}=r,m=(0,s.I)(),v={isRtl:m,...r},b=(t=>{let{classes:e,orientation:r,disabled:n}=t;return(0,o.A)({root:["root",r,n&&"disabled"]},M,e)})(v),x=u.StartScrollButtonIcon??y.A,N=u.EndScrollButtonIcon??w.A,A=(0,a.A)({elementType:x,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v}),E=(0,a.A)({elementType:N,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v});return(0,g.jsx)(_,{component:"div",className:(0,i.A)(b.root,n),ref:e,role:null,ownerState:v,tabIndex:null,...d,style:{...d.style,..."vertical"===h&&{"--TabScrollButton-svgRotate":`rotate(${m?-90:90}deg)`}},children:"left"===c?(0,g.jsx)(x,{...A}):(0,g.jsx)(N,{...E})})});var S=r(32398),O=r(22857),C=r(1092),B=r(73397);let T=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,P=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,$=(t,e,r)=>{let n=!1,i=r(t,e);for(;i;){if(i===t.firstChild){if(n)return;n=!0}let e=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!e)return void i.focus();i=r(t,i)}},z=(0,u.A)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[{[`& .${O.A.scrollButtons}`]:e.scrollButtons},{[`& .${O.A.scrollButtons}`]:r.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,r.vertical&&e.vertical]}})((0,c.A)(({theme:t})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${O.A.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}}]}))),D=(0,u.A)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.scroller,r.fixed&&e.fixed,r.hideScrollbar&&e.hideScrollbar,r.scrollableX&&e.scrollableX,r.scrollableY&&e.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:t})=>t.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:t})=>t.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:t})=>t.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:t})=>t.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),F=(0,u.A)("div",{name:"MuiTabs",slot:"List",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.list,e.flexContainer,r.vertical&&e.flexContainerVertical,r.centered&&e.centered]}})({display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.centered,style:{justifyContent:"center"}}]}),k=(0,u.A)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})((0,c.A)(({theme:t})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(t.vars||t).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(t.vars||t).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),I=(0,u.A)(function(t){let{onChange:e,...r}=t,i=n.useRef(),o=n.useRef(null),s=()=>{i.current=o.current.offsetHeight-o.current.clientHeight};return(0,d.A)(()=>{let t=(0,h.A)(()=>{let t=i.current;s(),t!==i.current&&e(i.current)}),r=(0,m.A)(o.current);return r.addEventListener("resize",t),()=>{t.clear(),r.removeEventListener("resize",t)}},[e]),n.useEffect(()=>{s(),e(i.current)},[e]),(0,g.jsx)("div",{style:v,...r,ref:o})})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),R={},j=n.forwardRef(function(t,e){let r,u,c=(0,f.b)({props:t,name:"MuiTabs"}),d=(0,l.A)(),v=(0,s.I)(),{"aria-label":y,"aria-labelledby":w,action:b,centered:x=!1,children:N,className:M,component:A="div",allowScrollButtonsMobile:_=!1,indicatorColor:j="primary",onChange:L,orientation:q="horizontal",ScrollButtonComponent:U,scrollButtons:W="auto",selectionFollowsFocus:Z,slots:Y={},slotProps:G={},TabIndicatorProps:H={},TabScrollButtonProps:V={},textColor:X="primary",value:K,variant:J="standard",visibleScrollbar:Q=!1,...tt}=c,te="scrollable"===J,tr="vertical"===q,tn=tr?"scrollTop":"scrollLeft",ti=tr?"top":"left",to=tr?"bottom":"right",ts=tr?"clientHeight":"clientWidth",ta=tr?"height":"width",tu={...c,component:A,allowScrollButtonsMobile:_,indicatorColor:j,orientation:q,vertical:tr,scrollButtons:W,textColor:X,variant:J,visibleScrollbar:Q,fixed:!te,hideScrollbar:te&&!Q,scrollableX:te&&!tr,scrollableY:te&&tr,centered:x&&!te,scrollButtonsHideMobile:!_},tl=(t=>{let{vertical:e,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:s,centered:a,scrollButtonsHideMobile:u,classes:l}=t;return(0,o.A)({root:["root",e&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",s&&"scrollableY"],list:["list","flexContainer",e&&"flexContainerVertical",e&&"vertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},O.H,l)})(tu),tc=(0,a.A)({elementType:Y.StartScrollButtonIcon,externalSlotProps:G.startScrollButtonIcon,ownerState:tu}),tf=(0,a.A)({elementType:Y.EndScrollButtonIcon,externalSlotProps:G.endScrollButtonIcon,ownerState:tu}),[th,tp]=n.useState(!1),[td,tm]=n.useState(R),[tg,tv]=n.useState(!1),[ty,tw]=n.useState(!1),[tb,tx]=n.useState(!1),[tN,tM]=n.useState({overflow:"hidden",scrollbarWidth:0}),tA=new Map,t_=n.useRef(null),tE=n.useRef(null),tS={slots:Y,slotProps:{indicator:H,scrollButton:V,...G}},tO=()=>{let t,e,r=t_.current;if(r){let e=r.getBoundingClientRect();t={clientWidth:r.clientWidth,scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollWidth:r.scrollWidth,top:e.top,bottom:e.bottom,left:e.left,right:e.right}}if(r&&!1!==K){let t=tE.current.children;if(t.length>0){let r=t[tA.get(K)];e=r?r.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:e}},tC=(0,S.A)(()=>{let t,{tabsMeta:e,tabMeta:r}=tO(),n=0;tr?(t="top",r&&e&&(n=r.top-e.top+e.scrollTop)):(t=v?"right":"left",r&&e&&(n=(v?-1:1)*(r[t]-e[t]+e.scrollLeft)));let i={[t]:n,[ta]:r?r[ta]:0};if("number"!=typeof td[t]||"number"!=typeof td[ta])tm(i);else{let e=Math.abs(td[t]-i[t]),r=Math.abs(td[ta]-i[ta]);(e>=1||r>=1)&&tm(i)}}),tB=(t,{animation:e=!0}={})=>{e?function(t,e,r,n={},i=()=>{}){let{ease:o=p,duration:s=300}=n,a=null,u=e[t],l=!1,c=n=>{if(l)return void i(Error("Animation cancelled"));null===a&&(a=n);let f=Math.min(1,(n-a)/s);(e[t]=o(f)*(r-u)+u,f>=1)?requestAnimationFrame(()=>{i(null)}):requestAnimationFrame(c)};u===r?i(Error("Element already at target position")):requestAnimationFrame(c)}(tn,t_.current,t,{duration:d.transitions.duration.standard}):t_.current[tn]=t},tT=t=>{let e=t_.current[tn];tr?e+=t:e+=t*(v?-1:1),tB(e)},tP=()=>{let t=t_.current[ts],e=0,r=Array.from(tE.current.children);for(let n=0;n<r.length;n+=1){let i=r[n];if(e+i[ts]>t){0===n&&(e=t);break}e+=i[ts]}return e},[t$,{onChange:tz,...tD}]=(0,B.A)("scrollbar",{className:(0,i.A)(tl.scrollableX,tl.hideScrollbar),elementType:I,shouldForwardComponentProp:!0,externalForwardedProps:tS,ownerState:tu}),tF=n.useCallback(t=>{tz?.(t),tM({overflow:null,scrollbarWidth:t})},[tz]),[tk,tI]=(0,B.A)("scrollButtons",{className:(0,i.A)(tl.scrollButtons,V.className),elementType:E,externalForwardedProps:tS,ownerState:tu,additionalProps:{orientation:q,slots:{StartScrollButtonIcon:Y.startScrollButtonIcon||Y.StartScrollButtonIcon,EndScrollButtonIcon:Y.endScrollButtonIcon||Y.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:tc,endScrollButtonIcon:tf}}}),tR=(0,S.A)(t=>{let{tabsMeta:e,tabMeta:r}=tO();r&&e&&(r[ti]<e[ti]?tB(e[tn]+(r[ti]-e[ti]),{animation:t}):r[to]>e[to]&&tB(e[tn]+(r[to]-e[to]),{animation:t}))}),tj=(0,S.A)(()=>{te&&!1!==W&&tx(!tb)});n.useEffect(()=>{let t,e,r=(0,h.A)(()=>{t_.current&&tC()}),n=(0,m.A)(t_.current);return n.addEventListener("resize",r),"u">typeof ResizeObserver&&(t=new ResizeObserver(r),Array.from(tE.current.children).forEach(e=>{t.observe(e)})),"u">typeof MutationObserver&&(e=new MutationObserver(e=>{e.forEach(e=>{e.removedNodes.forEach(e=>{t?.unobserve(e)}),e.addedNodes.forEach(e=>{t?.observe(e)})}),r(),tj()})).observe(tE.current,{childList:!0}),()=>{r.clear(),n.removeEventListener("resize",r),e?.disconnect(),t?.disconnect()}},[tC,tj]),n.useEffect(()=>{let t=Array.from(tE.current.children),e=t.length;if("u">typeof IntersectionObserver&&e>0&&te&&!1!==W){let r=t[0],n=t[e-1],i={root:t_.current,threshold:.99},o=new IntersectionObserver(t=>{tv(!t[0].isIntersecting)},i);o.observe(r);let s=new IntersectionObserver(t=>{tw(!t[0].isIntersecting)},i);return s.observe(n),()=>{o.disconnect(),s.disconnect()}}},[te,W,tb,N?.length]),n.useEffect(()=>{tp(!0)},[]),n.useEffect(()=>{tC()}),n.useEffect(()=>{tR(R!==td)},[tR,td]),n.useImperativeHandle(b,()=>({updateIndicator:tC,updateScrollButtons:tj}),[tC,tj]);let[tL,tq]=(0,B.A)("indicator",{className:(0,i.A)(tl.indicator,H.className),elementType:k,externalForwardedProps:tS,ownerState:tu,additionalProps:{style:td}}),tU=(0,g.jsx)(tL,{...tq}),tW=0,tZ=n.Children.map(N,t=>{if(!n.isValidElement(t))return null;let e=void 0===t.props.value?tW:t.props.value;tA.set(e,tW);let r=e===K;return tW+=1,n.cloneElement(t,{fullWidth:"fullWidth"===J,indicator:r&&!th&&tU,selected:r,selectionFollowsFocus:Z,onChange:L,textColor:X,value:e,...1===tW&&!1===K&&!t.props.tabIndex?{tabIndex:0}:{}})}),tY=((r={}).scrollbarSizeListener=te?(0,g.jsx)(t$,{...tD,onChange:tF}):null,r.scrollButtonStart=(u=te&&("auto"===W&&(tg||ty)||!0===W))?(0,g.jsx)(tk,{direction:v?"right":"left",onClick:()=>{tT(-1*tP())},disabled:!tg,...tI}):null,r.scrollButtonEnd=u?(0,g.jsx)(tk,{direction:v?"left":"right",onClick:()=>{tT(tP())},disabled:!ty,...tI}):null,r),[tG,tH]=(0,B.A)("root",{ref:e,className:(0,i.A)(tl.root,M),elementType:z,externalForwardedProps:{...tS,...tt,component:A},ownerState:tu}),[tV,tX]=(0,B.A)("scroller",{ref:t_,className:tl.scroller,elementType:D,externalForwardedProps:tS,ownerState:tu,additionalProps:{style:{overflow:tN.overflow,[tr?`margin${v?"Left":"Right"}`:"marginBottom"]:Q?void 0:-tN.scrollbarWidth}}}),[tK,tJ]=(0,B.A)("list",{ref:tE,className:(0,i.A)(tl.list,tl.flexContainer),elementType:F,externalForwardedProps:tS,ownerState:tu,getSlotProps:t=>({...t,onKeyDown:e=>{(t=>{if(t.altKey||t.shiftKey||t.ctrlKey||t.metaKey)return;let e=tE.current,r=(0,C.A)(e).activeElement;if("tab"!==r.getAttribute("role"))return;let n="horizontal"===q?"ArrowLeft":"ArrowUp",i="horizontal"===q?"ArrowRight":"ArrowDown";switch("horizontal"===q&&v&&(n="ArrowRight",i="ArrowLeft"),t.key){case n:t.preventDefault(),$(e,r,P);break;case i:t.preventDefault(),$(e,r,T);break;case"Home":t.preventDefault(),$(e,null,T);break;case"End":t.preventDefault(),$(e,null,P)}})(e),t.onKeyDown?.(e)}})});return(0,g.jsxs)(tG,{...tH,children:[tY.scrollButtonStart,tY.scrollbarSizeListener,(0,g.jsxs)(tV,{...tX,children:[(0,g.jsx)(tK,{"aria-label":y,"aria-labelledby":w,"aria-orientation":"vertical"===q?"vertical":null,role:"tablist",...tJ,children:tZ}),th&&tU]}),tY.scrollButtonEnd]})})},22857(t,e,r){"use strict";r.d(e,{A:()=>s,H:()=>o});var n=r(29009),i=r(46733);function o(t){return(0,i.Ay)("MuiTabs",t)}let s=(0,n.A)("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"])},31729(t,e,r){"use strict";r.d(e,{A:()=>w});var n=r(70451),i=r(11750),o=r(52215),s=r(81023),a=r(59238),u=r(1337),l=r(24726),c=r(77308),f=r(23434),h=r(26952),p=r(72052),d=r(76145),m=r(40180),g=r(4992),v=r(62540);let y=(0,c.A)(u.A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,e[`size${(0,l.A)(r.size)}`]]}})((0,f.A)(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${d.A.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,a.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${d.A.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,a.X4)(t.palette.text.primary,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,a.X4)(t.palette.text.primary,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,a.X4)(t.palette.text.primary,t.palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter((0,h.A)()).map(([e])=>({props:{color:e},style:{[`&.${d.A.selected}`]:{color:(t.vars||t).palette[e].main,backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,a.X4)(t.palette[e].main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,a.X4)(t.palette[e].main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,a.X4)(t.palette[e].main,t.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),w=n.forwardRef(function(t,e){var r;let{value:a,...u}=n.useContext(m.A),c=n.useContext(g.A),f=(0,o.A)({...u,selected:(r=t.value,void 0!==a&&void 0!==r&&(Array.isArray(a)?a.includes(r):r===a))},t),h=(0,p.b)({props:f,name:"MuiToggleButton"}),{children:w,className:b,color:x="standard",disabled:N=!1,disableFocusRipple:M=!1,fullWidth:A=!1,onChange:_,onClick:E,selected:S,size:O="medium",value:C,...B}=h,T={...h,color:x,disabled:N,disableFocusRipple:M,fullWidth:A,size:O},P=(t=>{let{classes:e,fullWidth:r,selected:n,disabled:i,size:o,color:a}=t,u={root:["root",n&&"selected",i&&"disabled",r&&"fullWidth",`size${(0,l.A)(o)}`,a]};return(0,s.A)(u,d.J,e)})(T);return(0,v.jsx)(y,{className:(0,i.A)(u.className,P.root,b,c||""),disabled:N,focusRipple:!M,ref:e,onClick:t=>{E&&(E(t,C),t.defaultPrevented)||_&&_(t,C)},onChange:_,value:C,ownerState:T,"aria-pressed":S,...B,children:w})})},76145(t,e,r){"use strict";r.d(e,{A:()=>s,J:()=>o});var n=r(29009),i=r(46733);function o(t){return(0,i.Ay)("MuiToggleButton",t)}let s=(0,n.A)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"])},61375(t,e,r){"use strict";r.d(e,{A:()=>b});var n=r(70451),i=r(11750),o=r(81023),s=r(41953),a=r(77308),u=r(23434),l=r(72052),c=r(24726),f=r(29009),h=r(46733);function p(t){return(0,h.Ay)("MuiToggleButtonGroup",t)}let d=(0,f.A)("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);var m=r(40180),g=r(4992),v=r(76145),y=r(62540);let w=(0,a.A)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[{[`& .${d.grouped}`]:e.grouped},{[`& .${d.grouped}`]:e[`grouped${(0,c.A)(r.orientation)}`]},{[`& .${d.firstButton}`]:e.firstButton},{[`& .${d.lastButton}`]:e.lastButton},{[`& .${d.middleButton}`]:e.middleButton},e.root,"vertical"===r.orientation&&e.vertical,r.fullWidth&&e.fullWidth]}})((0,u.A)(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${d.grouped}`]:{[`&.${d.selected} + .${d.grouped}.${d.selected}`]:{borderTop:0,marginTop:0}},[`& .${d.firstButton},& .${d.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${d.lastButton},& .${d.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${d.lastButton}.${v.A.disabled},& .${d.middleButton}.${v.A.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${d.grouped}`]:{[`&.${d.selected} + .${d.grouped}.${d.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${d.firstButton},& .${d.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${d.lastButton},& .${d.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${d.lastButton}.${v.A.disabled},& .${d.middleButton}.${v.A.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),b=n.forwardRef(function(t,e){let r=(0,l.b)({props:t,name:"MuiToggleButtonGroup"}),{children:a,className:u,color:f="standard",disabled:h=!1,exclusive:d=!1,fullWidth:v=!1,onChange:b,orientation:x="horizontal",size:N="medium",value:M,...A}=r,_={...r,disabled:h,fullWidth:v,orientation:x,size:N},E=(t=>{let{classes:e,orientation:r,fullWidth:n,disabled:i}=t,s={root:["root",r,n&&"fullWidth"],grouped:["grouped",`grouped${(0,c.A)(r)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,o.A)(s,p,e)})(_),S=n.useCallback((t,e)=>{let r;if(!b)return;let n=M&&M.indexOf(e);M&&n>=0?(r=M.slice()).splice(n,1):r=M?M.concat(e):[e],b(t,r)},[b,M]),O=n.useCallback((t,e)=>{b&&b(t,M===e?null:e)},[b,M]),C=n.useMemo(()=>({className:E.grouped,onChange:d?O:S,value:M,size:N,fullWidth:v,color:f,disabled:h}),[E.grouped,d,O,S,M,N,v,f,h]),B=(0,s.A)(a),T=B.length;return(0,y.jsx)(w,{role:"group",className:(0,i.A)(E.root,u),ref:e,ownerState:_,...A,children:(0,y.jsx)(m.A.Provider,{value:C,children:B.map((t,e)=>{let r,n;return(0,y.jsx)(g.A.Provider,{value:(r=0===e,n=e===T-1,r&&n?"":r?E.firstButton:n?E.lastButton:E.middleButton),children:t},e)})})})})},4992(t,e,r){"use strict";r.d(e,{A:()=>n});let n=r(70451).createContext(void 0)},40180(t,e,r){"use strict";r.d(e,{A:()=>n});let n=r(70451).createContext({})},96913(t,e,r){"use strict";r.d(e,{A:()=>o}),r(70451);var n=r(22402),i=r(62540);let o=(0,n.A)((0,i.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},70776(t,e,r){"use strict";r.d(e,{A:()=>o}),r(70451);var n=r(22402),i=r(62540);let o=(0,n.A)((0,i.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},42524(t,e,r){"use strict";var n;e.default=void 0,e.default=(0,((n=r(1448))&&n.__esModule?n:{default:n}).default)("M19,13H5V11H19V13Z","Minus")},20009(t,e,r){"use strict";r.d(e,{A:()=>L});var n,i,o,s,a,u,l,c,f="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==r.g?r.g:"u">typeof self?self:{};function h(){if(s)return o;s=1;let t=[{key:"ZiB",factor:11805916207174113e5},{key:"ZB",factor:1e21},{key:"YiB",factor:12089258196146292e8},{key:"YB",factor:1e24},{key:"TiB",factor:0x10000000000},{key:"TB",factor:1e12},{key:"PiB",factor:0x4000000000000},{key:"PB",factor:1e15},{key:"MiB",factor:1048576},{key:"MB",factor:1e6},{key:"KiB",factor:1024},{key:"KB",factor:1e3},{key:"GiB",factor:0x40000000},{key:"GB",factor:1e9},{key:"EiB",factor:0x1000000000000000},{key:"EB",factor:1e18},{key:"B",factor:1}];function e(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}return o={unformat:function(r,n){let i,o=m(),s=o.currentDelimiters(),a=o.currentCurrency().symbol,u=o.currentOrdinal(),l=o.getZeroFormat(),c=o.currentAbbreviations();if("string"==typeof r)if(function(t,e){if(!(t.indexOf(":")&&":"!==e.thousands))return!1;let r=t.split(":");if(3!==r.length)return!1;let n=+r[0],i=+r[1],o=+r[2];return!isNaN(n)&&!isNaN(i)&&!isNaN(o)}(r,s)){let t,e,n;e=+(t=r.split(":"))[0],n=+t[1],i=+t[2]+60*n+3600*e}else i=function(r,n,i="",o,s,a){if(""!==r)return r===s?0:function r(n,i,o,s,a,u,l){if(!isNaN(+n))return+n;let c="",f=n.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(f!==n)return -1*r(f,i,o,s,a,u);for(let e=0;e<t.length;e++){let l=t[e];if((c=n.replace(RegExp(`([0-9 ])(${l.key})$`),"$1"))!==n)return r(c,i,o,s,a,u)*l.factor}if((c=n.replace("%",""))!==n)return r(c,i,o,s,a,u)/100;let h=parseFloat(n);if(isNaN(h))return;let p=s(h);if(p&&"."!==p&&(c=n.replace(RegExp(`${e(p)}$`),""))!==n)return r(c,i,o,s,a,u);let d={};Object.keys(u).forEach(t=>{d[u[t]]=t});let m=Object.keys(d).sort().reverse(),g=m.length;for(let t=0;t<g;t++){let e=m[t],l=d[e];if((c=n.replace(e,""))!==n){let t;switch(l){case"thousand":t=1e3;break;case"million":t=1e6;break;case"billion":t=1e9;break;case"trillion":t=1e12}return r(c,i,o,s,a,u)*t}}}(r.replace(i,"").replace(RegExp(`([0-9])${e(n.thousands)}([0-9])`,"g"),"$1$2").replace(n.decimal,"."),n,i,o,s,a)}(r,s,a,u,l,c);else{if("number"!=typeof r)return;i=r}if(void 0!==i)return i}}}function p(){if(u)return a;u=1;let t=h(),e=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r={output:{type:"string",validValues:["currency","percent","byte","time","ordinal","number"]},base:{type:"string",validValues:["decimal","binary","general"],restriction:(t,e)=>"byte"===e.output,message:"`base` must be provided only when the output is `byte`",mandatory:t=>"byte"===t.output},characteristic:{type:"number",restriction:t=>t>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:["trillion","billion","million","thousand"]},average:"boolean",lowPrecision:{type:"boolean",restriction:(t,e)=>!0===e.average,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:["prefix","infix","postfix"]},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:t=>t>=0,message:"value must be positive"},{restriction:(t,e)=>!e.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:t=>t>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:["sign","parenthesis"]},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(t,e)=>"percent"===e.output,message:"`prefixSymbol` can be provided only when the output is `percent`"}},n={languageTag:{type:"string",mandatory:!0,restriction:t=>t.match(e),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:{type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function i(e){return void 0!==t.unformat(e)}function o(t,e,n,i=!1){let s=Object.keys(t).map(i=>{if(!e[i])return console.error(`${n} Invalid key: ${i}`),!1;let s=t[i],a=e[i];if("string"==typeof a&&(a={type:a}),"format"===a.type){if(!o(s,r,`[Validate ${i}]`,!0))return!1}else if(typeof s!==a.type)return console.error(`${n} ${i} type mismatched: "${a.type}" expected, "${typeof s}" provided`),!1;if(a.restrictions&&a.restrictions.length){let e=a.restrictions.length;for(let r=0;r<e;r++){let{restriction:e,message:o}=a.restrictions[r];if(!e(s,t))return console.error(`${n} ${i} invalid value: ${o}`),!1}}return a.restriction&&!a.restriction(s,t)?(console.error(`${n} ${i} invalid value: ${a.message}`),!1):a.validValues&&-1===a.validValues.indexOf(s)?(console.error(`${n} ${i} invalid value: must be among ${JSON.stringify(a.validValues)}, "${s}" provided`),!1):(!a.children||!!o(s,a.children,`[Validate ${i}]`))&&!0});return i||s.push(...Object.keys(e).map(r=>{let i=e[r];if("string"==typeof i&&(i={type:i}),i.mandatory){let e=i.mandatory;if("function"==typeof e&&(e=e(t)),e&&void 0===t[r])return console.error(`${n} Missing mandatory key "${r}"`),!1}return!0})),s.reduce((t,e)=>t&&e,!0)}function s(t){return o(t,r,"[Validate format]")}return a={validate:function(t,e){let r=i(t),n=s(e);return r&&n},validateFormat:s,validateInput:i,validateLanguage:function(t){return o(t,n,"[Validate language]")}}}var d=function(t,e={}){var r,n,i,o,s,a;let u,l,c,f,h;if("string"!=typeof t)return t;n=t=(u=(r=t).match(/^{([^}]*)}/))?(e.prefix=u[1],r.slice(u[0].length)):r,function(t,e){if(-1!==t.indexOf("$")){e.output="currency";return}if(-1!==t.indexOf("%")){e.output="percent";return}if(-1!==t.indexOf("bd")){e.output="byte",e.base="general";return}if(-1!==t.indexOf("b")){e.output="byte",e.base="binary";return}if(-1!==t.indexOf("d")){e.output="byte",e.base="decimal";return}if(-1!==t.indexOf(":")){e.output="time";return}-1!==t.indexOf("o")&&(e.output="ordinal")}(t=(l=n.match(/{([^}]*)}$/))?(e.postfix=l[1],n.slice(0,-l[0].length)):n,e),(c=t.match(/[1-9]+[0-9]*/))&&(e.totalLength=+c[0]),(f=t.split(".")[0].match(/0+/))&&(e.characteristic=f[0].length),-1!==(i=t).indexOf(".")&&(e.optionalCharacteristic=-1===i.split(".")[0].indexOf("0")),-1!==t.indexOf("a")&&(e.average=!0),-1!==(o=t).indexOf("K")?e.forceAverage="thousand":-1!==o.indexOf("M")?e.forceAverage="million":-1!==o.indexOf("B")?e.forceAverage="billion":-1!==o.indexOf("T")&&(e.forceAverage="trillion");let p=t.split(".")[1];if(p){let t=p.match(/0+/);t&&(e.mantissa=t[0].length)}return(s=t).match(/\[\.]/)?e.optionalMantissa=!0:s.match(/\./)&&(e.optionalMantissa=!1),(h=t.split(".")[1])&&(e.trimMantissa=-1!==h.indexOf("[")),-1!==t.indexOf(",")&&(e.thousandSeparated=!0),-1!==t.indexOf(" ")&&(e.spaceSeparated=!0,e.spaceSeparatedCurrency=!0,(e.average||e.forceAverage)&&(e.spaceSeparatedAbbreviation=!0)),(a=t).match(/^\+?\([^)]*\)$/)&&(e.negative="parenthesis"),a.match(/^\+?-/)&&(e.negative="sign"),t.match(/^\+/)&&(e.forceSign=!0),e};function m(){let t;if(c)return l;c=1;let e=i?n:(i=1,n={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(t){let e=t%10;return 1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),r=p(),o={},s={},a=null,u={};function f(){return s[t]}return o.languages=()=>Object.assign({},s),o.currentLanguage=()=>t,o.currentBytes=()=>f().bytes||{},o.currentCurrency=()=>f().currency,o.currentAbbreviations=()=>f().abbreviations,o.currentDelimiters=()=>f().delimiters,o.currentOrdinal=()=>f().ordinal,o.currentDefaults=()=>Object.assign({},f().defaults,u),o.currentOrdinalDefaultFormat=()=>Object.assign({},o.currentDefaults(),f().ordinalFormat),o.currentByteDefaultFormat=()=>Object.assign({},o.currentDefaults(),f().byteFormat),o.currentPercentageDefaultFormat=()=>Object.assign({},o.currentDefaults(),f().percentageFormat),o.currentCurrencyDefaultFormat=()=>Object.assign({},o.currentDefaults(),f().currencyFormat),o.currentTimeDefaultFormat=()=>Object.assign({},o.currentDefaults(),f().timeFormat),o.setDefaults=t=>{t=d(t),r.validateFormat(t)&&(u=t)},o.getZeroFormat=()=>a,o.setZeroFormat=t=>a="string"==typeof t?t:null,o.hasZeroFormat=()=>null!==a,o.languageData=t=>{if(t){if(s[t])return s[t];throw Error(`Unknown tag "${t}"`)}return f()},o.registerLanguage=(e,n=!1)=>{if(!r.validateLanguage(e))throw Error("Invalid language data");s[e.languageTag]=e,n&&(t=e.languageTag)},o.setLanguage=(r,n=e.languageTag)=>{if(!s[r]){let e=r.split("-")[0],i=Object.keys(s).find(t=>t.split("-")[0]===e);return s[i]?void(t=i):void(t=n)}t=r},o.registerLanguage(e),t=e.languageTag,l=o}var g={exports:{}};(function(t){var e,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,n=Math.ceil,i=Math.floor,o="[BigNumber Error] ",s=o+"Number primitive has more than 15 significant digits: ",a=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function u(t){var e=0|t;return t>0||t===e?e:e-1}function l(t){for(var e,r,n=1,i=t.length,o=t[0]+"";n<i;){for(r=14-(e=t[n++]+"").length;r--;e="0"+e);o+=e}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function c(t,e){var r,n,i=t.c,o=e.c,s=t.s,a=e.s,u=t.e,l=e.e;if(!s||!a)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-a:s;if(s!=a)return s;if(r=s<0,n=u==l,!i||!o)return n?0:!i^r?1:-1;if(!n)return u>l^r?1:-1;for(s=0,a=(u=i.length)<(l=o.length)?u:l;s<a;s++)if(i[s]!=o[s])return i[s]>o[s]^r?1:-1;return u==l?0:u>l^r?1:-1}function f(t,e,r,n){if(t<e||t>r||t!==i(t))throw Error(o+(n||"Argument")+("number"==typeof t?t<e||t>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function h(t){var e=t.c.length-1;return u(t.e/14)==e&&t.c[e]%2!=0}function p(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function d(t,e,r){var n,i;if(e<0){for(i=r+".";++e;i+=r);t=i+t}else if(n=t.length,++e>n){for(i=r,e-=n;--e;i+=r);t+=i}else e<n&&(t=t.slice(0,e)+"."+t.slice(e));return t}(e=function t(e){var m,g,v,y,w,b,x,N,M,A=I.prototype={constructor:I,toString:null,valueOf:null},_=new I(1),E=20,S=4,O=-7,C=21,B=-1e7,T=1e7,P=!1,$=1,z=0,D={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},F="0123456789abcdefghijklmnopqrstuvwxyz",k=!0;function I(t,e){var n,o,a,u,l,c,h,p,d=this;if(!(d instanceof I))return new I(t,e);if(null==e){if(t&&!0===t._isBigNumber){d.s=t.s,!t.c||t.e>T?d.c=d.e=null:t.e<B?d.c=[d.e=0]:(d.e=t.e,d.c=t.c.slice());return}if((c="number"==typeof t)&&0*t==0){if(d.s=1/t<0?(t=-t,-1):1,t===~~t){for(u=0,l=t;l>=10;l/=10,u++);u>T?d.c=d.e=null:(d.e=u,d.c=[t]);return}p=String(t)}else{if(!r.test(p=String(t)))return M(d,p,c);d.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(l=p.search(/e/i))>0?(u<0&&(u=l),u+=+p.slice(l+1),p=p.substring(0,l)):u<0&&(u=p.length)}else{if(f(e,2,F.length,"Base"),10==e&&k)return q(d=new I(t),E+d.e+1,S);if(p=String(t),c="number"==typeof t){if(0*t!=0)return M(d,p,c,e);if(d.s=1/t<0?(p=p.slice(1),-1):1,I.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(s+t)}else d.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=F.slice(0,e),u=l=0,h=p.length;l<h;l++)if(0>n.indexOf(o=p.charAt(l))){if("."==o){if(l>u){u=h;continue}}else if(!a&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){a=!0,l=-1,u=0;continue}return M(d,String(t),c,e)}c=!1,(u=(p=N(p,e,10,d.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(l=0;48===p.charCodeAt(l);l++);for(h=p.length;48===p.charCodeAt(--h););if(p=p.slice(l,++h)){if(h-=l,c&&I.DEBUG&&h>15&&(t>0x1fffffffffffff||t!==i(t)))throw Error(s+d.s*t);if((u=u-l-1)>T)d.c=d.e=null;else if(u<B)d.c=[d.e=0];else{if(d.e=u,d.c=[],l=(u+1)%14,u<0&&(l+=14),l<h){for(l&&d.c.push(+p.slice(0,l)),h-=14;l<h;)d.c.push(+p.slice(l,l+=14));l=14-(p=p.slice(l)).length}else l-=h;for(;l--;p+="0");d.c.push(+p)}}else d.c=[d.e=0]}function R(t,e,r,n){var i,o,s,a,u;if(null==r?r=S:f(r,0,8),!t.c)return t.toString();if(i=t.c[0],s=t.e,null==e)u=l(t.c),u=1==n||2==n&&(s<=O||s>=C)?p(u,s):d(u,s,"0");else if(o=(t=q(new I(t),e,r)).e,a=(u=l(t.c)).length,1==n||2==n&&(e<=o||o<=O)){for(;a<e;u+="0",a++);u=p(u,o)}else if(e-=s,u=d(u,o,"0"),o+1>a){if(--e>0)for(u+=".";e--;u+="0");}else if((e+=o-a)>0)for(o+1==a&&(u+=".");e--;u+="0");return t.s<0&&i?"-"+u:u}function j(t,e){for(var r,n,i=1,o=new I(t[0]);i<t.length;i++)(n=new I(t[i])).s&&(r=c(o,n))!==e&&(0!==r||o.s!==e)||(o=n);return o}function L(t,e,r){for(var n=1,i=e.length;!e[--i];e.pop());for(i=e[0];i>=10;i/=10,n++);return(r=n+14*r-1)>T?t.c=t.e=null:r<B?t.c=[t.e=0]:(t.e=r,t.c=e),t}function q(t,e,r,o){var s,u,l,c,f,h,p,d=t.c;if(d){t:{for(s=1,c=d[0];c>=10;c/=10,s++);if((u=e-s)<0)u+=14,l=e,p=i((f=d[h=0])/a[s-l-1]%10);else if((h=n((u+1)/14))>=d.length)if(o){for(;d.length<=h;d.push(0));f=p=0,s=1,u%=14,l=u-14+1}else break t;else{for(s=1,f=c=d[h];c>=10;c/=10,s++);u%=14,p=(l=u-14+s)<0?0:i(f/a[s-l-1]%10)}if(o=o||e<0||null!=d[h+1]||(l<0?f:f%a[s-l-1]),o=r<4?(p||o)&&(0==r||r==(t.s<0?3:2)):p>5||5==p&&(4==r||o||6==r&&(u>0?l>0?f/a[s-l]:0:d[h-1])%10&1||r==(t.s<0?8:7)),e<1||!d[0])return d.length=0,o?(e-=t.e+1,d[0]=a[(14-e%14)%14],t.e=-e||0):d[0]=t.e=0,t;if(0==u?(d.length=h,c=1,h--):(d.length=h+1,c=a[14-u],d[h]=l>0?i(f/a[s-l]%a[l])*c:0),o)for(;;)if(0==h){for(u=1,l=d[0];l>=10;l/=10,u++);for(l=d[0]+=c,c=1;l>=10;l/=10,c++);u!=c&&(t.e++,1e14==d[0]&&(d[0]=1));break}else{if(d[h]+=c,1e14!=d[h])break;d[h--]=0,c=1}for(u=d.length;0===d[--u];d.pop());}t.e>T?t.c=t.e=null:t.e<B&&(t.c=[t.e=0])}return t}function U(t){var e,r=t.e;return null===r?t.toString():(e=l(t.c),e=r<=O||r>=C?p(e,r):d(e,r,"0"),t.s<0?"-"+e:e)}return I.clone=t,I.ROUND_UP=0,I.ROUND_DOWN=1,I.ROUND_CEIL=2,I.ROUND_FLOOR=3,I.ROUND_HALF_UP=4,I.ROUND_HALF_DOWN=5,I.ROUND_HALF_EVEN=6,I.ROUND_HALF_CEIL=7,I.ROUND_HALF_FLOOR=8,I.EUCLID=9,I.config=I.set=function(t){var e,r;if(null!=t)if("object"==typeof t){if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(f(r=t[e],0,1e9,e),E=r),t.hasOwnProperty(e="ROUNDING_MODE")&&(f(r=t[e],0,8,e),S=r),t.hasOwnProperty(e="EXPONENTIAL_AT")&&((r=t[e])&&r.pop?(f(r[0],-1e9,0,e),f(r[1],0,1e9,e),O=r[0],C=r[1]):(f(r,-1e9,1e9,e),O=-(C=r<0?-r:r))),t.hasOwnProperty(e="RANGE"))if((r=t[e])&&r.pop)f(r[0],-1e9,-1,e),f(r[1],1,1e9,e),B=r[0],T=r[1];else if(f(r,-1e9,1e9,e),r)B=-(T=r<0?-r:r);else throw Error(o+e+" cannot be zero: "+r);if(t.hasOwnProperty(e="CRYPTO"))if(!!(r=t[e])===r)if(r)if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))P=r;else throw P=!r,Error(o+"crypto unavailable");else P=r;else throw Error(o+e+" not true or false: "+r);if(t.hasOwnProperty(e="MODULO_MODE")&&(f(r=t[e],0,9,e),$=r),t.hasOwnProperty(e="POW_PRECISION")&&(f(r=t[e],0,1e9,e),z=r),t.hasOwnProperty(e="FORMAT"))if("object"==typeof(r=t[e]))D=r;else throw Error(o+e+" not an object: "+r);if(t.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(r=t[e])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(o+e+" invalid: "+r);k="0123456789"==r.slice(0,10),F=r}}else throw Error(o+"Object expected: "+t);return{DECIMAL_PLACES:E,ROUNDING_MODE:S,EXPONENTIAL_AT:[O,C],RANGE:[B,T],CRYPTO:P,MODULO_MODE:$,POW_PRECISION:z,FORMAT:D,ALPHABET:F}},I.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!I.DEBUG)return!0;var e,r,n=t.c,s=t.e,a=t.s;t:if("[object Array]"==({}).toString.call(n)){if((1===a||-1===a)&&s>=-1e9&&s<=1e9&&s===i(s)){if(0===n[0]){if(0===s&&1===n.length)return!0;break t}if((e=(s+1)%14)<1&&(e+=14),String(n[0]).length==e){for(e=0;e<n.length;e++)if((r=n[e])<0||r>=1e14||r!==i(r))break t;if(0!==r)return!0}}}else if(null===n&&null===s&&(null===a||1===a||-1===a))return!0;throw Error(o+"Invalid BigNumber: "+t)},I.maximum=I.max=function(){return j(arguments,-1)},I.minimum=I.min=function(){return j(arguments,1)},m=0x20000000000000*Math.random()&2097151?function(){return i(0x20000000000000*Math.random())}:function(){return(0x40000000*Math.random()|0)*8388608+(8388608*Math.random()|0)},I.random=function(t){var e,r,s,u,l,c=0,h=[],p=new I(_);if(null==t?t=E:f(t,0,1e9),u=n(t/14),P)if(crypto.getRandomValues){for(e=crypto.getRandomValues(new Uint32Array(u*=2));c<u;)(l=131072*e[c]+(e[c+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),e[c]=r[0],e[c+1]=r[1]):(h.push(l%1e14),c+=2);c=u/2}else if(crypto.randomBytes){for(e=crypto.randomBytes(u*=7);c<u;)(l=(31&e[c])*0x1000000000000+0x10000000000*e[c+1]+0x100000000*e[c+2]+0x1000000*e[c+3]+(e[c+4]<<16)+(e[c+5]<<8)+e[c+6])>=9e15?crypto.randomBytes(7).copy(e,c):(h.push(l%1e14),c+=7);c=u/7}else throw P=!1,Error(o+"crypto unavailable");if(!P)for(;c<u;)(l=m())<9e15&&(h[c++]=l%1e14);for(u=h[--c],t%=14,u&&t&&(l=a[14-t],h[c]=i(u/l)*l);0===h[c];h.pop(),c--);if(c<0)h=[s=0];else{for(s=-1;0===h[0];h.splice(0,1),s-=14);for(c=1,l=h[0];l>=10;l/=10,c++);c<14&&(s-=14-c)}return p.e=s,p.c=h,p},I.sum=function(){for(var t=1,e=arguments,r=new I(e[0]);t<e.length;)r=r.plus(e[t++]);return r},N=function(){var t="0123456789";function e(t,e,r,n){for(var i,o,s=[0],a=0,u=t.length;a<u;){for(o=s.length;o--;s[o]*=e);for(s[0]+=n.indexOf(t.charAt(a++)),i=0;i<s.length;i++)s[i]>r-1&&(null==s[i+1]&&(s[i+1]=0),s[i+1]+=s[i]/r|0,s[i]%=r)}return s.reverse()}return function(r,n,i,o,s){var a,u,c,f,h,p,m,g,v=r.indexOf("."),y=E,w=S;for(v>=0&&(f=z,z=0,r=r.replace(".",""),p=(g=new I(n)).pow(r.length-v),z=f,g.c=e(d(l(p.c),p.e,"0"),10,i,t),g.e=g.c.length),c=f=(m=e(r,n,i,s?(a=F,t):(a=t,F))).length;0==m[--f];m.pop());if(!m[0])return a.charAt(0);if(v<0?--c:(p.c=m,p.e=c,p.s=o,m=(p=x(p,g,y,w,i)).c,h=p.r,c=p.e),v=m[u=c+y+1],f=i/2,h=h||u<0||null!=m[u+1],h=w<4?(null!=v||h)&&(0==w||w==(p.s<0?3:2)):v>f||v==f&&(4==w||h||6==w&&1&m[u-1]||w==(p.s<0?8:7)),u<1||!m[0])r=h?d(a.charAt(1),-y,a.charAt(0)):a.charAt(0);else{if(m.length=u,h)for(--i;++m[--u]>i;)m[u]=0,u||(++c,m=[1].concat(m));for(f=m.length;!m[--f];);for(v=0,r="";v<=f;r+=a.charAt(m[v++]));r=d(r,c,a.charAt(0))}return r}}(),x=function(){function t(t,e,r){var n,i,o,s,a=0,u=t.length,l=e%1e7,c=e/1e7|0;for(t=t.slice();u--;)n=c*(o=t[u]%1e7)+(s=t[u]/1e7|0)*l,a=((i=l*o+n%1e7*1e7+a)/r|0)+(n/1e7|0)+c*s,t[u]=i%r;return a&&(t=[a].concat(t)),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=+(t[r]<e[r]),t[r]=i*n+t[r]-e[r];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(n,o,s,a,l){var c,f,h,p,d,m,g,v,y,w,b,x,N,M,A,_,E,S=n.s==o.s?1:-1,O=n.c,C=o.c;if(!O||!O[0]||!C||!C[0])return new I(!n.s||!o.s||(O?C&&O[0]==C[0]:!C)?NaN:O&&0==O[0]||!C?0*S:S/0);for(y=(v=new I(S)).c=[],S=s+(f=n.e-o.e)+1,l||(l=1e14,f=u(n.e/14)-u(o.e/14),S=S/14|0),h=0;C[h]==(O[h]||0);h++);if(C[h]>(O[h]||0)&&f--,S<0)y.push(1),p=!0;else{for(M=O.length,_=C.length,h=0,S+=2,(d=i(l/(C[0]+1)))>1&&(C=t(C,d,l),O=t(O,d,l),_=C.length,M=O.length),N=_,b=(w=O.slice(0,_)).length;b<_;w[b++]=0);E=[0].concat(E=C.slice()),A=C[0],C[1]>=l/2&&A++;do{if(d=0,(c=e(C,w,_,b))<0){if(x=w[0],_!=b&&(x=x*l+(w[1]||0)),(d=i(x/A))>1)for(d>=l&&(d=l-1),g=(m=t(C,d,l)).length,b=w.length;1==e(m,w,g,b);)d--,r(m,_<g?E:C,g,l),g=m.length,c=1;else 0==d&&(c=d=1),g=(m=C.slice()).length;if(g<b&&(m=[0].concat(m)),r(w,m,b,l),b=w.length,-1==c)for(;1>e(C,w,_,b);)d++,r(w,_<b?E:C,b,l),b=w.length}else 0===c&&(d++,w=[0]);y[h++]=d,w[0]?w[b++]=O[N]||0:(w=[O[N]],b=1)}while((N++<M||null!=w[0])&&S--);p=null!=w[0],y[0]||y.splice(0,1)}if(1e14==l){for(h=1,S=y[0];S>=10;S/=10,h++);q(v,s+(v.e=h+14*f-1)+1,a,p)}else v.e=f,v.r=+p;return v}}(),g=/^(-?)0([xbo])(?=\w[\w.]*$)/i,v=/^([^.]+)\.$/,y=/^\.([^.]+)$/,w=/^-?(Infinity|NaN)$/,b=/^\s*\+(?=[\w.])|^\s+|\s+$/g,M=function(t,e,r,n){var i,s=r?e:e.replace(b,"");if(w.test(s))t.s=isNaN(s)?null:s<0?-1:1;else{if(!r&&(s=s.replace(g,function(t,e,r){return i="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=i?t:e}),n&&(i=n,s=s.replace(v,"$1").replace(y,"0.$1")),e!=s))return new I(s,i);if(I.DEBUG)throw Error(o+"Not a"+(n?" base "+n:"")+" number: "+e);t.s=null}t.c=t.e=null},A.absoluteValue=A.abs=function(){var t=new I(this);return t.s<0&&(t.s=1),t},A.comparedTo=function(t,e){return c(this,new I(t,e))},A.decimalPlaces=A.dp=function(t,e){var r,n,i;if(null!=t)return f(t,0,1e9),null==e?e=S:f(e,0,8),q(new I(this),t+this.e+1,e);if(!(r=this.c))return null;if(n=((i=r.length-1)-u(this.e/14))*14,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},A.dividedBy=A.div=function(t,e){return x(this,new I(t,e),E,S)},A.dividedToIntegerBy=A.idiv=function(t,e){return x(this,new I(t,e),0,1)},A.exponentiatedBy=A.pow=function(t,e){var r,s,a,u,l,c,f,p,d,m=this;if((t=new I(t)).c&&!t.isInteger())throw Error(o+"Exponent not an integer: "+U(t));if(null!=e&&(e=new I(e)),c=t.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!t.c||!t.c[0])return d=new I(Math.pow(+U(m),c?t.s*(2-h(t)):+U(t))),e?d.mod(e):d;if(f=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new I(NaN);(s=!f&&m.isInteger()&&e.isInteger())&&(m=m.mod(e))}else{if(t.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||c&&m.c[1]>=24e7:m.c[0]<8e13||c&&m.c[0]<=9999975e7)))return u=m.s<0&&h(t)?-0:0,m.e>-1&&(u=1/u),new I(f?1/u:u);z&&(u=n(z/14+2))}for(c?(r=new I(.5),f&&(t.s=1),p=h(t)):p=(a=Math.abs(+U(t)))%2,d=new I(_);;){if(p){if(!(d=d.times(m)).c)break;u?d.c.length>u&&(d.c.length=u):s&&(d=d.mod(e))}if(a){if(0===(a=i(a/2)))break;p=a%2}else if(q(t=t.times(r),t.e+1,1),t.e>14)p=h(t);else{if(0==(a=+U(t)))break;p=a%2}m=m.times(m),u?m.c&&m.c.length>u&&(m.c.length=u):s&&(m=m.mod(e))}return s?d:(f&&(d=_.div(d)),e?d.mod(e):u?q(d,z,S,l):d)},A.integerValue=function(t){var e=new I(this);return null==t?t=S:f(t,0,8),q(e,e.e+1,t)},A.isEqualTo=A.eq=function(t,e){return 0===c(this,new I(t,e))},A.isFinite=function(){return!!this.c},A.isGreaterThan=A.gt=function(t,e){return c(this,new I(t,e))>0},A.isGreaterThanOrEqualTo=A.gte=function(t,e){return 1===(e=c(this,new I(t,e)))||0===e},A.isInteger=function(){return!!this.c&&u(this.e/14)>this.c.length-2},A.isLessThan=A.lt=function(t,e){return 0>c(this,new I(t,e))},A.isLessThanOrEqualTo=A.lte=function(t,e){return -1===(e=c(this,new I(t,e)))||0===e},A.isNaN=function(){return!this.s},A.isNegative=function(){return this.s<0},A.isPositive=function(){return this.s>0},A.isZero=function(){return!!this.c&&0==this.c[0]},A.minus=function(t,e){var r,n,i,o,s=this.s;if(e=(t=new I(t,e)).s,!s||!e)return new I(NaN);if(s!=e)return t.s=-e,this.plus(t);var a=this.e/14,l=t.e/14,c=this.c,f=t.c;if(!a||!l){if(!c||!f)return c?(t.s=-e,t):new I(f?this:NaN);if(!c[0]||!f[0])return f[0]?(t.s=-e,t):new I(c[0]?this:3==S?-0:0)}if(a=u(a),l=u(l),c=c.slice(),s=a-l){for((o=s<0)?(s=-s,i=c):(l=a,i=f),i.reverse(),e=s;e--;i.push(0));i.reverse()}else for(n=(o=(s=c.length)<(e=f.length))?s:e,s=e=0;e<n;e++)if(c[e]!=f[e]){o=c[e]<f[e];break}if(o&&(i=c,c=f,f=i,t.s=-t.s),(e=(n=f.length)-(r=c.length))>0)for(;e--;c[r++]=0);for(e=1e14-1;n>s;){if(c[--n]<f[n]){for(r=n;r&&!c[--r];c[r]=e);--c[r],c[n]+=1e14}c[n]-=f[n]}for(;0==c[0];c.splice(0,1),--l);return c[0]?L(t,c,l):(t.s=3==S?-1:1,t.c=[t.e=0],t)},A.modulo=A.mod=function(t,e){var r,n;return(t=new I(t,e),this.c&&t.s&&(!t.c||t.c[0]))?t.c&&(!this.c||this.c[0])?(9==$?(n=t.s,t.s=1,r=x(this,t,0,3),t.s=n,r.s*=n):r=x(this,t,0,$),(t=this.minus(r.times(t))).c[0]||1!=$||(t.s=this.s),t):new I(this):new I(NaN)},A.multipliedBy=A.times=function(t,e){var r,n,i,o,s,a,l,c,f,h,p,d,m,g=this.c,v=(t=new I(t,e)).c;if(!g||!v||!g[0]||!v[0])return this.s&&t.s&&(!g||g[0]||v)&&(!v||v[0]||g)?(t.s*=this.s,g&&v?(t.c=[0],t.e=0):t.c=t.e=null):t.c=t.e=t.s=null,t;for(n=u(this.e/14)+u(t.e/14),t.s*=this.s,(l=g.length)<(h=v.length)&&(m=g,g=v,v=m,i=l,l=h,h=i),i=l+h,m=[];i--;m.push(0));for(i=h;--i>=0;){for(r=0,p=v[i]%1e7,d=v[i]/1e7|0,o=i+(s=l);o>i;)a=d*(c=g[--s]%1e7)+(f=g[s]/1e7|0)*p,r=((c=p*c+a%1e7*1e7+m[o]+r)/1e14|0)+(a/1e7|0)+d*f,m[o--]=c%1e14;m[o]=r}return r?++n:m.splice(0,1),L(t,m,n)},A.negated=function(){var t=new I(this);return t.s=-t.s||null,t},A.plus=function(t,e){var r,n=this.s;if(e=(t=new I(t,e)).s,!n||!e)return new I(NaN);if(n!=e)return t.s=-e,this.minus(t);var i=this.e/14,o=t.e/14,s=this.c,a=t.c;if(!i||!o){if(!s||!a)return new I(n/0);if(!s[0]||!a[0])return a[0]?t:new I(s[0]?this:0*n)}if(i=u(i),o=u(o),s=s.slice(),n=i-o){for(n>0?(o=i,r=a):(n=-n,r=s),r.reverse();n--;r.push(0));r.reverse()}for((n=s.length)-(e=a.length)<0&&(r=a,a=s,s=r,e=n),n=0;e;)n=(s[--e]=s[e]+a[e]+n)/1e14|0,s[e]=1e14===s[e]?0:s[e]%1e14;return n&&(s=[n].concat(s),++o),L(t,s,o)},A.precision=A.sd=function(t,e){var r,n,i;if(null!=t&&!!t!==t)return f(t,1,1e9),null==e?e=S:f(e,0,8),q(new I(this),t,e);if(!(r=this.c))return null;if(n=14*(i=r.length-1)+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return t&&this.e+1>n&&(n=this.e+1),n},A.shiftedBy=function(t){return f(t,-0x1fffffffffffff,0x1fffffffffffff),this.times("1e"+t)},A.squareRoot=A.sqrt=function(){var t,e,r,n,i,o=this.c,s=this.s,a=this.e,c=E+4,f=new I("0.5");if(1!==s||!o||!o[0])return new I(!s||s<0&&(!o||o[0])?NaN:o?this:1/0);if(0==(s=Math.sqrt(+U(this)))||s==1/0?(((e=l(o)).length+a)%2==0&&(e+="0"),s=Math.sqrt(+e),a=u((a+1)/2)-(a<0||a%2),r=new I(e=s==1/0?"5e"+a:(e=s.toExponential()).slice(0,e.indexOf("e")+1)+a)):r=new I(s+""),r.c[0]){for((s=(a=r.e)+c)<3&&(s=0);;)if(i=r,r=f.times(i.plus(x(this,i,c,1))),l(i.c).slice(0,s)===(e=l(r.c)).slice(0,s)){if(r.e<a&&--s,"9999"!=(e=e.slice(s-3,s+1))&&(n||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(q(r,r.e+E+2,1),t=!r.times(r).eq(this));break}if(!n&&(q(i,i.e+E+2,0),i.times(i).eq(this))){r=i;break}c+=4,s+=4,n=1}}return q(r,r.e+E+1,S,t)},A.toExponential=function(t,e){return null!=t&&(f(t,0,1e9),t++),R(this,t,e,1)},A.toFixed=function(t,e){return null!=t&&(f(t,0,1e9),t=t+this.e+1),R(this,t,e)},A.toFormat=function(t,e,r){var n;if(null==r)null!=t&&e&&"object"==typeof e?(r=e,e=null):t&&"object"==typeof t?(r=t,t=e=null):r=D;else if("object"!=typeof r)throw Error(o+"Argument not an object: "+r);if(n=this.toFixed(t,e),this.c){var i,s=n.split("."),a=+r.groupSize,u=+r.secondaryGroupSize,l=r.groupSeparator||"",c=s[0],f=s[1],h=this.s<0,p=h?c.slice(1):c,d=p.length;if(u&&(i=a,a=u,u=i,d-=i),a>0&&d>0){for(i=d%a||a,c=p.substr(0,i);i<d;i+=a)c+=l+p.substr(i,a);u>0&&(c+=l+p.slice(i)),h&&(c="-"+c)}n=f?c+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?f.replace(RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):c}return(r.prefix||"")+n+(r.suffix||"")},A.toFraction=function(t){var e,r,n,i,s,u,c,f,h,p,d,m,g=this.c;if(null!=t&&(!(c=new I(t)).isInteger()&&(c.c||1!==c.s)||c.lt(_)))throw Error(o+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+U(c));if(!g)return new I(this);for(e=new I(_),h=r=new I(_),n=f=new I(_),m=l(g),s=e.e=m.length-this.e-1,e.c[0]=a[(u=s%14)<0?14+u:u],t=!t||c.comparedTo(e)>0?s>0?e:h:c,u=T,T=1/0,c=new I(m),f.c[0]=0;p=x(c,e,0,1),1!=(i=r.plus(p.times(n))).comparedTo(t);)r=n,n=i,h=f.plus(p.times(i=h)),f=i,e=c.minus(p.times(i=e)),c=i;return i=x(t.minus(r),n,0,1),f=f.plus(i.times(h)),r=r.plus(i.times(n)),f.s=h.s=this.s,s*=2,d=1>x(h,n,s,S).minus(this).abs().comparedTo(x(f,r,s,S).minus(this).abs())?[h,n]:[f,r],T=u,d},A.toNumber=function(){return+U(this)},A.toPrecision=function(t,e){return null!=t&&f(t,1,1e9),R(this,t,e,2)},A.toString=function(t){var e,r=this,n=r.s,i=r.e;return null===i?n?(e="Infinity",n<0&&(e="-"+e)):e="NaN":(null==t?e=i<=O||i>=C?p(l(r.c),i):d(l(r.c),i,"0"):10===t&&k?e=d(l((r=q(new I(r),E+i+1,S)).c),r.e,"0"):(f(t,2,F.length,"Base"),e=N(d(l(r.c),i,"0"),10,t,n,!0)),n<0&&r.c[0]&&(e="-"+e)),e},A.valueOf=A.toJSON=function(){return U(this)},A._isBigNumber=!0,null!=e&&I.set(e),I}()).default=e.BigNumber=e,g.exports?g.exports=e:(t||(t="u">typeof self&&self?self:window),t.BigNumber=e)})(f);var v=g.exports;let y=m(),w=p(),b={trillion:1e12,billion:1e9,million:1e6,thousand:1e3},x={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:N,decimalSuffixes:M}=y.currentBytes(),A={scale:1024,suffixes:M,marker:"bd"},_={scale:1024,suffixes:N,marker:"b"},E={scale:1e3,suffixes:M,marker:"d"};function S(t,e,r){let n=e[0],i=Math.abs(t);if(i>=r){for(let o=1;o<e.length;++o){let s=Math.pow(r,o),a=Math.pow(r,o+1);if(i>=s&&i<a){n=e[o],t/=s;break}}n===e[0]&&(t/=Math.pow(r,e.length-1),n=e[e.length-1])}return{value:t,suffix:n}}function O(t){let e="";for(let r=0;r<t;r++)e+="0";return e}function C({instance:t,providedFormat:e,state:r=y,decimalSeparator:n,defaults:i=r.currentDefaults()}){var o,s,a,u,l;let c,f,h,p,d,m,g,w=t._value;if(0===w&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(w))return w.toString();let N=Object.assign({},x,i,e),M=N.totalLength,A=M?0:N.characteristic,_=N.optionalCharacteristic,E=N.forceAverage,S=N.lowPrecision,B=!!M||!!E||N.average,T=M?-1:B&&void 0===e.mantissa?0:N.mantissa,P=!M&&(void 0===e.optionalMantissa?-1===T:N.optionalMantissa),$=N.trimMantissa,z=N.thousandSeparated,D=N.spaceSeparated,F=N.negative,k=N.forceSign,I=N.exponential,R=N.roundingFunction,j="";if(B){let t=function({value:t,forceAverage:e,lowPrecision:r=!0,abbreviations:n,spaceSeparated:i=!1,totalLength:o=0,roundingFunction:s=Math.round}){let a="",u=Math.abs(t),l=-1;if(e&&n[e]&&b[e]?(a=n[e],t/=b[e]):u>=b.trillion||r&&1===s(u/b.trillion)?(a=n.trillion,t/=b.trillion):u<b.trillion&&u>=b.billion||r&&1===s(u/b.billion)?(a=n.billion,t/=b.billion):u<b.billion&&u>=b.million||r&&1===s(u/b.million)?(a=n.million,t/=b.million):(u<b.million&&u>=b.thousand||r&&1===s(u/b.thousand))&&(a=n.thousand,t/=b.thousand),a&&(a=(i?" ":"")+a),o){let e=t<0,r=t.toString().split(".")[0];l=Math.max(o-(e?r.length-1:r.length),0)}return{value:t,abbreviation:a,mantissaPrecision:l}}({value:w,forceAverage:E,lowPrecision:S,abbreviations:r.currentAbbreviations(),spaceSeparated:D,roundingFunction:R,totalLength:M});w=t.value,j+=t.abbreviation,M&&(T=t.mantissaPrecision)}if(I){let t=function({value:t,characteristicPrecision:e}){let[r,n]=t.toExponential().split("e"),i=+r;return e&&1<e&&(i*=Math.pow(10,e-1),n-=e-1,n=n>=0?`+${n}`:n),{value:i,abbreviation:`e${n}`}}({value:w,characteristicPrecision:A});w=t.value,j=t.abbreviation+j}let L=function(t,e,r,n,i,o){if(-1===n)return t;let s=function(t,e,r=Math.round){return -1!==t.toString().indexOf("e")?function(t,e){let r=t.toString(),[n,i]=r.split("e"),[o,s=""]=n.split(".");if(+i>0)r=o+s+O(i-s.length);else{let t=".";t=0>+o?`-0${t}`:`0${t}`;let n=(O(-i-1)+Math.abs(o)+s).substr(0,e);n.length<e&&(n+=O(e-n.length)),r=t+n}return+i>0&&e>0&&(r+=`.${O(e)}`),r}(t,e):new v(r(+`${t}e+${e}`)/Math.pow(10,e)).toFixed(e)}(e,n,o),[a,u=""]=s.toString().split(".");if(u.match(/^0+$/)&&(r||i))return a;let l=u.match(/0+$/);return i&&l?`${a}.${u.toString().slice(0,l.index)}`:s.toString()}(w.toString(),w,P,T,$,R);return o=L=function(t,e,r,n){let i=t,[o,s]=i.toString().split(".");if(o.match(/^-?0$/)&&r)return s?`${o.replace("0","")}.${s}`:o.replace("0","");let a=e<0&&0===o.indexOf("-");if(a&&(o=o.slice(1),i=i.slice(1)),o.length<n){let t=n-o.length;for(let e=0;e<t;e++)i=`0${i}`}return a&&(i=`-${i}`),i.toString()}(L,w,_,A),s=w,a=n,f=(c=r.currentDelimiters()).thousands,a=a||c.decimal,h=c.thousandsSize||3,d=(p=o.toString()).split(".")[0],m=p.split(".")[1],g=s<0&&0===d.indexOf("-"),z&&(g&&(d=d.slice(1)),(function(t,e){let r=[],n=0;for(let i=t;i>0;i--)n===e&&(r.unshift(i),n=0),n++;return r})(d.length,h).forEach((t,e)=>{d=d.slice(0,t+e)+f+d.slice(t+e)}),g&&(d=`-${d}`)),L=p=m?d+a+m:d,(B||I)&&(L+=j),(k||w<0)&&(u=L,L=0===(l=w)?u:0==+u?u.replace("-",""):l>0?`+${u}`:"sign"===F?u:`(${u.replace("-","")})`),L}function B(t,e){if(!t)return e;let r=Object.keys(t);return 1===r.length&&"output"===r[0]?e:t}function T(t,e,r){let n=new v(t._value),i=e;return r.isNumbro(e)&&(i=e._value),i=new v(i),t._value=n.minus(i).toNumber(),t}let P=m(),$=p(),z={loadLanguagesInNode:t=>{t.forEach(t=>{let e;try{e=function(t){throw Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../languages/${t}`)}catch(e){console.error(`Unable to load "${t}". No matching language file found.`)}e&&j.registerLanguage(e)})}},D=h(),F={format:(...t)=>(function(t,e={},r){if("string"==typeof e&&(e=d(e)),!w.validateFormat(e))return"ERROR: invalid format";let n=e.prefix||"",i=e.postfix||"",o=function(t,e,r){var n,i,o;switch(e.output){case"currency":let s,a,u,l,c,f,h,p,d,m;return n=e=B(e,y.currentCurrencyDefaultFormat()),s=y.currentCurrency(),u=Object.assign({},x,a=Object.assign({},n)),c="",f=!!u.totalLength||!!u.forceAverage||u.average,h=a.currencyPosition||s.position,p=a.currencySymbol||s.symbol,d=void 0!==u.spaceSeparatedCurrency?u.spaceSeparatedCurrency:u.spaceSeparated,void 0===a.lowPrecision&&(a.lowPrecision=!1),d&&(c=" "),"infix"===h&&(l=c+p+c),m=C({instance:t,providedFormat:a,state:y,decimalSeparator:l}),"prefix"===h&&(m=t._value<0&&"sign"===u.negative?`-${c}${p}${m.slice(1)}`:t._value>0&&u.forceSign?`+${c}${p}${m.slice(1)}`:p+c+m),h&&"postfix"!==h||(m=m+(c=!u.spaceSeparatedAbbreviation&&f?"":c)+p),m;case"percent":let g,v,w;return i=e=B(e,y.currentPercentageDefaultFormat()),g=i.prefixSymbol,v=C({instance:r(100*t._value),providedFormat:i,state:y}),w=Object.assign({},x,i),g?`%${w.spaceSeparated?" ":""}${v}`:`${v}${w.spaceSeparated?" ":""}%`;case"byte":return function(t,e,r,n){let i=e.base||"binary",o=Object.assign({},x,e),{binarySuffixes:s,decimalSuffixes:a}=r.currentBytes(),u={general:{scale:1024,suffixes:a||M,marker:"bd"},binary:{scale:1024,suffixes:s||N,marker:"b"},decimal:{scale:1e3,suffixes:a||M,marker:"d"}}[i],{value:l,suffix:c}=S(t._value,u.suffixes,u.scale),f=C({instance:n(l),providedFormat:e,state:r,defaults:r.currentByteDefaultFormat()});return`${f}${o.spaceSeparated?" ":""}${c}`}(t,e=B(e,y.currentByteDefaultFormat()),y,r);case"time":let b,A,_;return e=B(e,y.currentTimeDefaultFormat()),b=Math.floor(t._value/60/60),A=Math.floor((t._value-60*b*60)/60),_=Math.round(t._value-60*b*60-60*A),`${b}:${A<10?"0":""}${A}:${_<10?"0":""}${_}`;case"ordinal":let E,O,T,P;return o=e=B(e,y.currentOrdinalDefaultFormat()),E=y.currentOrdinal(),O=Object.assign({},x,o),T=C({instance:t,providedFormat:o,state:y}),P=E(t._value),`${T}${O.spaceSeparated?" ":""}${P}`;default:return C({instance:t,providedFormat:e,numbro:r})}}(t,e,r);return(o=n+o)+i})(...t,j),getByteUnit:(...t)=>(function(t){return S(t._value,A.suffixes,A.scale).suffix})(...t),getBinaryByteUnit:(...t)=>(function(t){return S(t._value,_.suffixes,_.scale).suffix})(...t),getDecimalByteUnit:(...t)=>(function(t){return S(t._value,E.suffixes,E.scale).suffix})(...t),formatOrDefault:B},k={add:(t,e)=>{let r,n;return r=new v(t._value),n=e,j.isNumbro(e)&&(n=e._value),n=new v(n),t._value=r.plus(n).toNumber(),t},subtract:(t,e)=>T(t,e,j),multiply:(t,e)=>{let r,n;return r=new v(t._value),n=e,j.isNumbro(e)&&(n=e._value),n=new v(n),t._value=r.times(n).toNumber(),t},divide:(t,e)=>{let r,n;return r=new v(t._value),n=e,j.isNumbro(e)&&(n=e._value),n=new v(n),t._value=r.dividedBy(n).toNumber(),t},set:(t,e)=>{let r;return r=e,j.isNumbro(e)&&(r=e._value),t._value=r,t},difference:(t,e)=>{let r;return T(r=j(t._value),e,j),Math.abs(r._value)},BigNumber:v};class I{constructor(t){this._value=t}clone(){return j(this._value)}format(t={}){return F.format(this,t)}formatCurrency(t){return"string"==typeof t&&(t=d(t)),(t=F.formatOrDefault(t,P.currentCurrencyDefaultFormat())).output="currency",F.format(this,t)}formatTime(t={}){return t.output="time",F.format(this,t)}binaryByteUnits(){return F.getBinaryByteUnit(this)}decimalByteUnits(){return F.getDecimalByteUnit(this)}byteUnits(){return F.getByteUnit(this)}difference(t){return k.difference(this,t)}add(t){return k.add(this,t)}subtract(t){return k.subtract(this,t)}multiply(t){return k.multiply(this,t)}divide(t){return k.divide(this,t)}set(t){return k.set(this,R(t))}value(){return this._value}valueOf(){return this._value}}function R(t){let e=t;return j.isNumbro(t)?e=t._value:"string"==typeof t?e=j.unformat(t):isNaN(t)&&(e=NaN),e}function j(t){return new I(R(t))}j.version="2.5.0",j.isNumbro=function(t){return t instanceof I},j.language=P.currentLanguage,j.registerLanguage=P.registerLanguage,j.setLanguage=P.setLanguage,j.languages=P.languages,j.languageData=P.languageData,j.zeroFormat=P.setZeroFormat,j.defaultFormat=P.currentDefaults,j.setDefaults=P.setDefaults,j.defaultCurrencyFormat=P.currentCurrencyDefaultFormat,j.validate=$.validate,j.loadLanguagesInNode=z.loadLanguagesInNode,j.unformat=D.unformat,j.BigNumber=k.BigNumber;var L=j&&j.__esModule&&Object.prototype.hasOwnProperty.call(j,"default")?j.default:j},23420(t){function e(){}e.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function i(){n.off(t,i),e.apply(r,arguments)}return i._=e,this.on(t,i,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,i=r.length;n<i;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],i=[];if(n&&e)for(var o=0,s=n.length;o<s;o++)n[o].fn!==e&&n[o].fn._!==e&&i.push(n[o]);return i.length?r[t]=i:delete r[t],this}},t.exports=e,t.exports.TinyEmitter=e},42915(t){"use strict";var e;e=function(){function t(){return!0}function e(){return!1}function r(){}return function n(){var i=[{name:"number",test:function(t){return"number"==typeof t}},{name:"string",test:function(t){return"string"==typeof t}},{name:"boolean",test:function(t){return"boolean"==typeof t}},{name:"Function",test:function(t){return"function"==typeof t}},{name:"Array",test:Array.isArray},{name:"Date",test:function(t){return t instanceof Date}},{name:"RegExp",test:function(t){return t instanceof RegExp}},{name:"Object",test:function(t){return"object"==typeof t&&null!==t&&t.constructor===Object}},{name:"null",test:function(t){return null===t}},{name:"undefined",test:function(t){return void 0===t}}],o={name:"any",test:t},s=[],a=[],u={types:i,conversions:a,ignore:s};function l(t){var e=F(u.types,function(e){return e.name===t});if(e)return e;if("any"===t)return o;var r=F(u.types,function(e){return e.name.toLowerCase()===t.toLowerCase()});throw TypeError('Unknown type "'+t+'"'+(r?'. Did you mean "'+r.name+'"?':""))}function c(t){return t===o?999:u.types.indexOf(t)}function f(t){var e=F(u.types,function(e){return e.test(t)});if(e)return e.name;throw TypeError("Value has unknown type. Value: "+t)}function h(t){return t.map(function(t){var e=t.types.map(y);return(t.restParam?"...":"")+e.join("|")}).join(",")}function p(t){var e=z(t);return!!e&&e.restParam}function d(t){return t.types.some(function(t){return null!=t.conversion})}function m(e){if(!e||0===e.types.length)return t;if(1===e.types.length)return l(e.types[0].name).test;if(2===e.types.length){var r=l(e.types[0].name).test,n=l(e.types[1].name).test;return function(t){return r(t)||n(t)}}var i=e.types.map(function(t){return l(t.name).test});return function(t){for(var e=0;e<i.length;e++)if(i[e](t))return!0;return!1}}function g(t,e){return e<t.params.length?t.params[e]:p(t.params)?z(t.params):null}function v(t,e,r){var n=g(t,e);return(n?r?n.types.filter(w):n.types:[]).map(y)}function y(t){return t.name}function w(t){return null===t.conversion||void 0===t.conversion}function b(t,e){var r=function(t){for(var e={},r=0;r<t.length;r++)e[t[r]]=!0;return Object.keys(e)}(k(t,function(t){return v(t,e,!1)}));return -1!==r.indexOf("any")?["any"]:r}function x(t,e,r){var n,i,o,s=t||"unnamed",a=r;for(o=0;o<e.length;o++){var u=a.filter(function(t){var r=m(g(t,o));return(o<t.params.length||p(t.params))&&r(e[o])});if(0===u.length){if((i=b(a,o)).length>0){var l=f(e[o]);return(n=TypeError("Unexpected type of argument in function "+s+" (expected: "+i.join(" or ")+", actual: "+l+", index: "+o+")")).data={category:"wrongType",fn:s,index:o,actual:l,expected:i},n}}else a=u}var c=a.map(function(t){return p(t.params)?1/0:t.params.length});if(e.length<Math.min.apply(null,c))return(n=TypeError("Too few arguments in function "+s+" (expected: "+(i=b(a,o)).join(" or ")+", index: "+e.length+")")).data={category:"tooFewArgs",fn:s,index:e.length,expected:i},n;var h=Math.max.apply(null,c);return e.length>h?(n=TypeError("Too many arguments in function "+s+" (expected: "+h+", actual: "+e.length+")")).data={category:"tooManyArgs",fn:s,index:e.length,expectedLength:h}:(n=TypeError('Arguments of type "'+e.join(", ")+'" do not match any of the defined signatures of function '+s+".")).data={category:"mismatch",actual:e.map(f)},n}function N(t){for(var e=999,r=0;r<t.types.length;r++)w(t.types[r])&&(e=Math.min(e,t.types[r].typeIndex));return e}function M(t){for(var e=999,r=0;r<t.types.length;r++)w(t.types[r])||(e=Math.min(e,t.types[r].conversionIndex));return e}function A(t,e){var r,n,i=Math.min(t.params.length,e.params.length);if(0!=(n=t.params.some(d)-e.params.some(d)))return n;for(r=0;r<i;r++)if(0!=(n=d(t.params[r])-d(e.params[r])))return n;for(r=0;r<i;r++)if(0!==(n=function(t,e){var r;return 0!=(r=t.restParam-e.restParam)||0!=(r=d(t)-d(e))||0!=(r=N(t)-N(e))?r:M(t)-M(e)}(t.params[r],e.params[r])))return n;return t.params.length-e.params.length}function _(t){var e,r,n,i,o=[],s=[];switch(t.types.forEach(function(t){t.conversion&&(o.push(l(t.conversion.from).test),s.push(t.conversion.convert))}),s.length){case 0:return function(t){return t};case 1:return e=o[0],n=s[0],function(t){return e(t)?n(t):t};case 2:return e=o[0],r=o[1],n=s[0],i=s[1],function(t){return e(t)?n(t):r(t)?i(t):t};default:return function(t){for(var e=0;e<s.length;e++)if(o[e](t))return s[e](t);return t}}}function E(t,e){return function t(r,n,i){if(!(n<r.length))return[i.map(function(t,e){return{types:t,restParam:e===r.length-1&&p(r)}})];var o,s=r[n],a=e?s.types.filter(w):s.types;if(s.restParam){var u=a.filter(w);o=u.length<a.length?[u,a]:[a]}else o=a.map(function(t){return[t]});return k(o,function(e){return t(r,n+1,i.concat([e]))})}(t,0,[])}function S(t,n){if(0===Object.keys(n).length)throw SyntaxError("No signatures provided");var i,o=[];Object.keys(n).map(function(t){var e,r,i;return e=n[t],r=u.conversions,i=[],(""!==t.trim()&&(i=t.split(",").map(B).map(function(t,e,n){var i,o,s,a,u,f,h,p,d=(i=r,o=u=((a=0===t.indexOf("..."))?t.length>3?t.slice(3):"any":t).split("|").map(B).filter(T).filter(C),s={},i.forEach(function(t){-1!==o.indexOf(t.from)||-1===o.indexOf(t.to)||s[t.from]||(s[t.from]=t)}),f=Object.keys(s).map(function(t){return s[t]}),h=u.map(function(t){var e=l(t);return{name:t,typeIndex:c(e),test:e.test,conversion:null,conversionIndex:-1}}),p=f.map(function(t){var e=l(t.from);return{name:t.from,typeIndex:c(e),test:e.test,conversion:t,conversionIndex:r.indexOf(t)}}),{types:h.concat(p),restParam:a});if(d.restParam&&e!==n.length-1)throw SyntaxError('Unexpected rest parameter "'+t+'": only allowed for the last parameter');return d})),i.some($))?null:{params:i,fn:e}}).filter(P).forEach(function(t){var e=F(o,function(e){return function(t,e){for(var r=Math.max(t.params.length,e.params.length),n=0;n<r;n++)if(!function(t,e){for(var r,n=0;n<t.length;n++)if(r=t[n],-1!==e.indexOf(r))return!0;return!1}(v(t,n,!0),v(e,n,!0)))return!1;var i=t.params.length,o=e.params.length,s=p(t.params),a=p(e.params);return s?a?i===o:o>=i:a?i>=o:i===o}(e,t)});if(e)throw TypeError('Conflicting signatures "'+h(e.params)+'" and "'+h(t.params)+'".');o.push(t)});var s=k(o,function(t){return(t?E(t.params,!1):[]).map(function(e){return{params:e,fn:t.fn}})}).filter(P);s.sort(A);var a=s[0]&&s[0].params.length<=2&&!p(s[0].params),f=s[1]&&s[1].params.length<=2&&!p(s[1].params),g=s[2]&&s[2].params.length<=2&&!p(s[2].params),y=s[3]&&s[3].params.length<=2&&!p(s[3].params),w=s[4]&&s[4].params.length<=2&&!p(s[4].params),b=s[5]&&s[5].params.length<=2&&!p(s[5].params),x=s.map(function(t){return function(t){var e,r,n;if(p(t)){var i,o=(e=(i=t).slice(0,i.length-1).map(m)).length,s=m(z(t)),a=function(t){for(var e=o;e<t.length;e++)if(!s(t[e]))return!1;return!0};return function(t){for(var r=0;r<e.length;r++)if(!e[r](t[r]))return!1;return a(t)&&t.length>=o+1}}return 0===t.length?function(t){return 0===t.length}:1===t.length?(r=m(t[0]),function(t){return r(t[0])&&1===t.length}):2===t.length?(r=m(t[0]),n=m(t[1]),function(t){return r(t[0])&&n(t[1])&&2===t.length}):(e=t.map(m),function(t){for(var r=0;r<e.length;r++)if(!e[r](t[r]))return!1;return t.length===e.length})}(t.params)}),N=a?m(s[0].params[0]):e,M=f?m(s[1].params[0]):e,S=g?m(s[2].params[0]):e,O=y?m(s[3].params[0]):e,I=w?m(s[4].params[0]):e,R=b?m(s[5].params[0]):e,j=a?m(s[0].params[1]):e,L=f?m(s[1].params[1]):e,q=g?m(s[2].params[1]):e,U=y?m(s[3].params[1]):e,W=w?m(s[4].params[1]):e,Z=b?m(s[5].params[1]):e,Y=s.map(function(t){return function(t,e){var r=e;if(t.some(d)){var n=p(t),i=t.map(_);r=function(){for(var t=[],r=n?arguments.length-1:arguments.length,o=0;o<r;o++)t[o]=i[o](arguments[o]);return n&&(t[r]=arguments[r].map(i[r])),e.apply(this,t)}}var o=r;if(p(t)){var s=t.length-1;o=function(){return r.apply(this,D(arguments,0,s).concat([D(arguments,s)]))}}return o}(t.params,t.fn)}),G=a?Y[0]:r,H=f?Y[1]:r,V=g?Y[2]:r,X=y?Y[3]:r,K=w?Y[4]:r,J=b?Y[5]:r,Q=a?s[0].params.length:-1,tt=f?s[1].params.length:-1,te=g?s[2].params.length:-1,tr=y?s[3].params.length:-1,tn=w?s[4].params.length:-1,ti=b?s[5].params.length:-1,to=6*!!(a&&f&&g&&y&&w&&b),ts=s.length,ta=function(){for(var e=to;e<ts;e++)if(x[e](arguments))return Y[e].apply(this,arguments);return u.onMismatch(t,arguments,s)},tu=function t(e,r){return arguments.length===Q&&N(e)&&j(r)?G.apply(t,arguments):arguments.length===tt&&M(e)&&L(r)?H.apply(t,arguments):arguments.length===te&&S(e)&&q(r)?V.apply(t,arguments):arguments.length===tr&&O(e)&&U(r)?X.apply(t,arguments):arguments.length===tn&&I(e)&&W(r)?K.apply(t,arguments):arguments.length===ti&&R(e)&&Z(r)?J.apply(t,arguments):ta.apply(t,arguments)};try{Object.defineProperty(tu,"name",{value:t})}catch(t){}return i={},s.forEach(function(t){t.params.some(d)||E(t.params,!0).forEach(function(e){i[h(e)]=t.fn})}),tu.signatures=i,tu}function O(t,e,r){throw x(t,e,r)}function C(t){return -1===u.ignore.indexOf(t)}function B(t){return t.trim()}function T(t){return!!t}function P(t){return null!==t}function $(t){return 0===t.types.length}function z(t){return t[t.length-1]}function D(t,e,r){return Array.prototype.slice.call(t,e,r)}function F(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return t[r]}function k(t,e){return Array.prototype.concat.apply([],t.map(e))}function I(t){for(var e="",r=0;r<t.length;r++){var n=t[r];if(("object"==typeof n.signatures||"string"==typeof n.signature)&&""!==n.name){if(""===e)e=n.name;else if(e!==n.name){var i=Error("Function names do not match (expected: "+e+", actual: "+n.name+")");throw i.data={actual:n.name,expected:e},i}}}return e}function R(t){var e,r={};function n(t,n){if(r.hasOwnProperty(t)&&n!==r[t])throw(e=Error('Signature "'+t+'" is defined twice')).data={signature:t},e}for(var i=0;i<t.length;i++){var o=t[i];if("object"==typeof o.signatures)for(var s in o.signatures)o.signatures.hasOwnProperty(s)&&(n(s,o.signatures[s]),r[s]=o.signatures[s]);else if("string"==typeof o.signature)n(o.signature,o),r[o.signature]=o;else throw(e=TypeError("Function is no typed-function (index: "+i+")")).data={index:i},e}return r}return(u=S("typed",{"string, Object":S,Object:function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(t[r]);return S(I(e),t)},"...Function":function(t){return S(I(t),R(t))},"string, ...Function":function(t,e){return S(t,R(e))}})).create=n,u.types=i,u.conversions=a,u.ignore=s,u.onMismatch=O,u.throwMismatchError=O,u.createError=x,u.convert=function(t,e){var r=f(t);if(e===r)return t;for(var n=0;n<u.conversions.length;n++){var i=u.conversions[n];if(i.from===r&&i.to===e)return i.convert(t)}throw Error("Cannot convert from "+r+" to "+e)},u.find=function(t,e){if(!t.signatures)throw TypeError("Function is no typed-function");if("string"==typeof e){r=e.split(",");for(var r,n=0;n<r.length;n++)r[n]=r[n].trim()}else if(Array.isArray(e))r=e;else throw TypeError("String array or a comma separated string expected");var i=r.join(","),o=t.signatures[i];if(o)return o;throw TypeError("Signature not found (signature: "+(t.name||"unnamed")+"("+r.join(", ")+"))")},u.addType=function(t,e){if(!t||"string"!=typeof t.name||"function"!=typeof t.test)throw TypeError("Object with properties {name: string, test: function} expected");if(!1!==e){for(var r=0;r<u.types.length;r++)if("Object"===u.types[r].name)return void u.types.splice(r,0,t)}u.types.push(t)},u.addConversion=function(t){if(!t||"string"!=typeof t.from||"string"!=typeof t.to||"function"!=typeof t.convert)throw TypeError("Object with properties {from: string, to: string, convert: function} expected");u.conversions.push(t)},u}()},"function"==typeof define&&define.amd?define([],e):t.exports=e()},18615(t,e,r){"use strict";r.d(e,{v:()=>g});var n=r(68102),i=r(32718),o=r(23420),s=r(46797),a=r(1207),u=r(49204);function l(t,e,r,n){if(!(this instanceof l))throw SyntaxError("Constructor must be called with the new operator");this.fn=t,this.count=e,this.min=r,this.max=n,this.message="Wrong number of arguments in function "+t+" ("+e+" provided, "+r+(null!=n?"-"+n:"")+" expected)",this.stack=Error().stack}l.prototype=Error(),l.prototype.constructor=Error,l.prototype.name="ArgumentsError",l.prototype.isArgumentsError=!0;var c={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null},f=["Matrix","Array"],h=["number","BigNumber","Fraction"];function p(t,e,r){var n;void 0!==t[e]&&(n=t[e],-1===r.indexOf(n))&&console.warn('Warning: Unknown value "'+t[e]+'" for configuration option "'+e+'". Available options: '+r.map(t=>JSON.stringify(t)).join(", ")+".")}var d=r(15562),m=r(16086);function g(t,e){var r,v,y=(0,n.A)({},c,e);if("function"!=typeof Object.create)throw Error("ES5 not supported by this JavaScript engine. Please load the es5-shim and es5-sham library for compatibility.");var w=((r={isNumber:s.Et,isComplex:s.Zd,isBigNumber:s.C4,isFraction:s.fU,isUnit:s.vO,isString:s.Kg,isArray:s.cy,isMatrix:s.OA,isCollection:s.P3,isDenseMatrix:s.zR,isSparseMatrix:s.AF,isRange:s._Z,isIndex:s.nw,isBoolean:s.Lm,isResultSet:s.eW,isHelp:s.gS,isFunction:s.Tn,isDate:s.$P,isRegExp:s.gd,isObject:s.Gv,isNull:s.kZ,isUndefined:s.b0,isAccessorNode:s.AS,isArrayNode:s.gO,isAssignmentNode:s.qM,isBlockNode:s.CD,isConditionalNode:s.PO,isConstantNode:s.BA,isFunctionAssignmentNode:s.m2,isFunctionNode:s.Px,isIndexNode:s.$I,isNode:s.Ll,isObjectNode:s.GJ,isOperatorNode:s.$$,isParenthesisNode:s.tv,isRangeNode:s.Ye,isSymbolNode:s.li,isChain:s.o_}).on=(v=new o).on.bind(v),r.off=v.off.bind(v),r.once=v.once.bind(v),r.emit=v.emit.bind(v),r);w.config=function(t,e){function r(r){if(!r)return(0,i.s8)(t,i.o8);var n=(0,i.s8)(t,i.o8);p(r,"matrix",f),p(r,"number",h),(0,i.zw)(t,r);var o=(0,i.s8)(t,i.o8);return e("config",o,n,(0,i.s8)(r,i.o8)),o}return r.MATRIX_OPTIONS=f,r.NUMBER_OPTIONS=h,Object.keys(c).forEach(e=>{Object.defineProperty(r,e,{get:()=>t[e],enumerable:!0,configurable:!0})}),r}(y,w.emit),w.expression={transform:{},mathWithTransform:{config:w.config}};var b={},x=function(t,e,r){function n(t,r){r&&"function"==typeof r.transform?(e.expression.transform[t]=r.transform,c(t)&&(e.expression.mathWithTransform[t]=r.transform)):(delete e.expression.transform[t],c(t)&&(e.expression.mathWithTransform[t]=r))}function o(t){return"function"==typeof t&&"object"==typeof t.signatures}function c(t){return!(0,i.mQ)(h,t)}function f(t){return void 0!==t&&void 0!==t.meta&&!0===t.meta.isTransformFunction}var h={expression:!0,type:!0,docs:!0,error:!0,json:!0,chain:!0};return function(p,d){var m=arguments.length;if(1!==m&&2!==m)throw new l("import",m,1,2);d||(d={});var g={};for(var v in!function t(e,r,n){if(Array.isArray(r))r.forEach(r=>t(e,r));else if("object"==typeof r)for(var o in r)(0,i.mQ)(r,o)&&t(e,r[o],o);else if((0,a.T$)(r)||void 0!==n){var s=(0,a.T$)(r)?f(r)?r.fn+".transform":r.fn:n;if((0,i.mQ)(e,s)&&e[s]!==r&&!d.silent)throw Error('Cannot import "'+s+'" twice');e[s]=r}else if(!d.silent)throw TypeError("Factory, Object, or Array expected")}(g,p),g)if((0,i.mQ)(g,v)){var y,w=g[v];if((0,a.T$)(w))!function(n,s){var l,p,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.fn;if((0,u.gR)(d,"."))throw Error("Factory name should not contain a nested path. Name: "+JSON.stringify(d));var m=f(n)?e.expression.transform:e,g=d in e.expression.transform,v=(0,i.mQ)(m,d)?m[d]:void 0,y=function(){var r={};n.dependencies.map(a.Py).forEach(t=>{if((0,u.gR)(t,"."))throw Error("Factory dependency should not contain a nested path. Name: "+JSON.stringify(t));"math"===t?r.math=e:"mathWithTransform"===t?r.mathWithTransform=e.expression.mathWithTransform:"classes"===t?r.classes=e:r[t]=e[t]});var i=n(r);if(i&&"function"==typeof i.transform)throw Error('Transforms cannot be attached to factory functions. Please create a separate function for it with exports.path="expression.transform"');if(void 0===v||s.override)return i;if(o(v)&&o(i))return t(v,i);if(s.silent)return v;throw Error('Cannot import "'+d+'": already exists')};n.meta&&!1===n.meta.lazy?m[d]=y():(0,i.RZ)(m,d,y),v&&g?(l=d,delete e.expression.transform[l],c(l)?e.expression.mathWithTransform[l]=e[l]:delete e.expression.mathWithTransform[l]):!f(n)&&(-1!==(p=n).fn.indexOf(".")||(0,i.mQ)(h,p.fn)||p.meta&&p.meta.isClass)||(0,i.RZ)(e.expression.mathWithTransform,d,()=>m[d]),r[d]=n,e.emit("import",d,y)}(w,d);else{if("function"==typeof(y=w)||"number"==typeof y||"string"==typeof y||"boolean"==typeof y||null===y||(0,s.vO)(y)||(0,s.Zd)(y)||(0,s.C4)(y)||(0,s.fU)(y)||(0,s.OA)(y)||Array.isArray(y))!function(i,s,a){var u;if(a.wrap&&"function"==typeof s&&(s=function(t){var r=function(){for(var r=[],n=0,i=arguments.length;n<i;n++){var o=arguments[n];r[n]=o&&o.valueOf()}return t.apply(e,r)};return t.transform&&(r.transform=t.transform),r}(s)),"function"==typeof(u=s)&&"string"==typeof u.signature&&(s=t(i,{[s.signature]:s})),o(e[i])&&o(s)){s=a.override?t(i,s.signatures):t(e[i],s),e[i]=s,delete r[i],n(i,s),e.emit("import",i,function(){return s});return}if(void 0===e[i]||a.override){e[i]=s,delete r[i],n(i,s),e.emit("import",i,function(){return s});return}if(!a.silent)throw Error('Cannot import "'+i+'": already exists')}(v,w,d);else if(!d.silent)throw TypeError("Factory, Object, or Array expected")}}}}(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return w.typed.apply(w.typed,e)},w,b);return w.import=x,w.on("config",()=>{(0,i.zu)(b).forEach(t=>{t&&t.meta&&t.meta.recreateOnConfigChange&&x(t,{override:!0})})}),w.create=g.bind(null,t),w.factory=a.P9,w.import((0,i.zu)((0,i.rU)(t))),w.ArgumentsError=l,w.DimensionError=d.h,w.IndexError=m.d,w}},95343(t,e,r){"use strict";r.d(e,{P:()=>tD});var n,i,o="0123456789abcdef",s="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",a="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",u={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},l=!0,c="[DecimalError] ",f=c+"Invalid argument: ",h=c+"Precision limit exceeded",p=c+"crypto unavailable",d="[object Decimal]",m=Math.floor,g=Math.pow,v=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,y=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,w=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,b=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,x=s.length-1,N=a.length-1,M={toStringTag:d};function A(t){var e,r,n,i=t.length-1,o="",s=t[0];if(i>0){for(o+=s,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=D(r)),o+=n;(r=7-(n=(s=t[e])+"").length)&&(o+=D(r))}else if(0===s)return"0";for(;s%10==0;)s/=10;return o+s}function _(t,e,r){if(t!==~~t||t<e||t>r)throw Error(f+t)}function E(t,e,r,n){var i,o,s,a;for(o=t[0];o>=10;o/=10)--e;return--e<0?(e+=7,i=0):(i=Math.ceil((e+1)/7),e%=7),o=g(10,7-e),a=t[i]%o|0,null==n?e<3?(0==e?a=a/100|0:1==e&&(a=a/10|0),s=r<4&&99999==a||r>3&&49999==a||5e4==a||0==a):s=(r<4&&a+1==o||r>3&&a+1==o/2)&&(t[i+1]/o/100|0)==g(10,e-2)-1||(a==o/2||0==a)&&(t[i+1]/o/100|0)==0:e<4?(0==e?a=a/1e3|0:1==e?a=a/100|0:2==e&&(a=a/10|0),s=(n||r<4)&&9999==a||!n&&r>3&&4999==a):s=((n||r<4)&&a+1==o||!n&&r>3&&a+1==o/2)&&(t[i+1]/o/1e3|0)==g(10,e-3)-1,s}function S(t,e,r){for(var n,i,s=[0],a=0,u=t.length;a<u;){for(i=s.length;i--;)s[i]*=e;for(s[0]+=o.indexOf(t.charAt(a++)),n=0;n<s.length;n++)s[n]>r-1&&(void 0===s[n+1]&&(s[n+1]=0),s[n+1]+=s[n]/r|0,s[n]%=r)}return s.reverse()}M.absoluteValue=M.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),C(t)},M.ceil=function(){return C(new this.constructor(this),this.e+1,2)},M.clampedTo=M.clamp=function(t,e){var r=this.constructor;if(t=new r(t),e=new r(e),!t.s||!e.s)return new r(NaN);if(t.gt(e))throw Error(f+e);return 0>this.cmp(t)?t:this.cmp(e)>0?e:new r(this)},M.comparedTo=M.cmp=function(t){var e,r,n,i,o=this.d,s=(t=new this.constructor(t)).d,a=this.s,u=t.s;if(!o||!s)return a&&u?a!==u?a:o===s?0:!o^a<0?1:-1:NaN;if(!o[0]||!s[0])return o[0]?a:s[0]?-u:0;if(a!==u)return a;if(this.e!==t.e)return this.e>t.e^a<0?1:-1;for(e=0,r=(n=o.length)<(i=s.length)?n:i;e<r;++e)if(o[e]!==s[e])return o[e]>s[e]^a<0?1:-1;return n===i?0:n>i^a<0?1:-1},M.cosine=M.cos=function(){var t,e,r=this,n=r.constructor;return r.d?r.d[0]?(t=n.precision,e=n.rounding,n.precision=t+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(t,e){var r,n,i;if(e.isZero())return e;(n=e.d.length)<32?i=(1/W(4,r=Math.ceil(n/3))).toString():(r=16,i="2.3283064365386962890625e-10"),t.precision+=r,e=U(t,1,e.times(i),new t(1));for(var o=r;o--;){var s=e.times(e);e=s.times(s).minus(s).times(8).plus(1)}return t.precision-=r,e}(n,Z(n,r)),n.precision=t,n.rounding=e,C(2==i||3==i?r.neg():r,t,e,!0)):new n(1):new n(NaN)},M.cubeRoot=M.cbrt=function(){var t,e,r,n,i,o,s,a,u,c,f=this.constructor;if(!this.isFinite()||this.isZero())return new f(this);for(l=!1,(o=this.s*g(this.s*this,1/3))&&Math.abs(o)!=1/0?n=new f(o.toString()):(r=A(this.d),(o=((t=this.e)-r.length+1)%3)&&(r+=1==o||-2==o?"0":"00"),o=g(r,1/3),t=m((t+1)/3)-(t%3==(t<0?-1:2)),(n=new f(r=o==1/0?"5e"+t:(r=o.toExponential()).slice(0,r.indexOf("e")+1)+t)).s=this.s),s=(t=f.precision)+3;;)if(n=O((c=(u=(a=n).times(a).times(a)).plus(this)).plus(this).times(a),c.plus(u),s+2,1),A(a.d).slice(0,s)===(r=A(n.d)).slice(0,s)){if("9999"!=(r=r.slice(s-3,s+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(C(n,t+1,1),e=!n.times(n).times(n).eq(this));break}if(!i&&(C(a,t+1,0),a.times(a).times(a).eq(this))){n=a;break}s+=4,i=1}return l=!0,C(n,t,f.rounding,e)},M.decimalPlaces=M.dp=function(){var t,e=this.d,r=NaN;if(e){if(r=((t=e.length-1)-m(this.e/7))*7,t=e[t])for(;t%10==0;t/=10)r--;r<0&&(r=0)}return r},M.dividedBy=M.div=function(t){return O(this,new this.constructor(t))},M.dividedToIntegerBy=M.divToInt=function(t){var e=this.constructor;return C(O(this,new e(t),0,1,1),e.precision,e.rounding)},M.equals=M.eq=function(t){return 0===this.cmp(t)},M.floor=function(){return C(new this.constructor(this),this.e+1,3)},M.greaterThan=M.gt=function(t){return this.cmp(t)>0},M.greaterThanOrEqualTo=M.gte=function(t){var e=this.cmp(t);return 1==e||0===e},M.hyperbolicCosine=M.cosh=function(){var t,e,r,n,i,o=this,s=o.constructor,a=new s(1);if(!o.isFinite())return new s(o.s?1/0:NaN);if(o.isZero())return a;r=s.precision,n=s.rounding,s.precision=r+Math.max(o.e,o.sd())+4,s.rounding=1,(i=o.d.length)<32?e=(1/W(4,t=Math.ceil(i/3))).toString():(t=16,e="2.3283064365386962890625e-10"),o=U(s,1,o.times(e),new s(1),!0);for(var u,l=t,c=new s(8);l--;)u=o.times(o),o=a.minus(u.times(c.minus(u.times(c))));return C(o,s.precision=r,s.rounding=n,!0)},M.hyperbolicSine=M.sinh=function(){var t,e,r,n,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(e=o.precision,r=o.rounding,o.precision=e+Math.max(i.e,i.sd())+4,o.rounding=1,(n=i.d.length)<3)i=U(o,2,i,i,!0);else{t=(t=1.4*Math.sqrt(n))>16?16:0|t,i=U(o,2,i=i.times(1/W(5,t)),i,!0);for(var s,a=new o(5),u=new o(16),l=new o(20);t--;)s=i.times(i),i=i.times(a.plus(s.times(u.times(s).plus(l))))}return o.precision=e,o.rounding=r,C(i,e,r,!0)},M.hyperbolicTangent=M.tanh=function(){var t,e,r=this.constructor;return this.isFinite()?this.isZero()?new r(this):(t=r.precision,e=r.rounding,r.precision=t+7,r.rounding=1,O(this.sinh(),this.cosh(),r.precision=t,r.rounding=e)):new r(this.s)},M.inverseCosine=M.acos=function(){var t=this,e=t.constructor,r=t.abs().cmp(1),n=e.precision,i=e.rounding;return -1!==r?0===r?t.isNeg()?$(e,n,i):new e(0):new e(NaN):t.isZero()?$(e,n+4,i).times(.5):(e.precision=n+6,e.rounding=1,t=new e(1).minus(t).div(t.plus(1)).sqrt().atan(),e.precision=n,e.rounding=i,t.times(2))},M.inverseHyperbolicCosine=M.acosh=function(){var t,e,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(t=n.precision,e=n.rounding,n.precision=t+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,l=!1,r=r.times(r).minus(1).sqrt().plus(r),l=!0,n.precision=t,n.rounding=e,r.ln()):new n(r)},M.inverseHyperbolicSine=M.asinh=function(){var t,e,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,l=!1,r=r.times(r).plus(1).sqrt().plus(r),l=!0,n.precision=t,n.rounding=e,r.ln())},M.inverseHyperbolicTangent=M.atanh=function(){var t,e,r,n,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(t=o.precision,e=o.rounding,Math.max(n=i.sd(),t)<-(2*i.e)-1)?C(new o(i),t,e,!0):(o.precision=r=n-i.e,i=O(i.plus(1),new o(1).minus(i),r+t,1),o.precision=t+4,o.rounding=1,i=i.ln(),o.precision=t,o.rounding=e,i.times(.5)):new o(NaN)},M.inverseSine=M.asin=function(){var t,e,r,n,i=this,o=i.constructor;return i.isZero()?new o(i):(e=i.abs().cmp(1),r=o.precision,n=o.rounding,-1!==e)?0===e?((t=$(o,r+4,n).times(.5)).s=i.s,t):new o(NaN):(o.precision=r+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=r,o.rounding=n,i.times(2))},M.inverseTangent=M.atan=function(){var t,e,r,n,i,o,s,a,u,c=this,f=c.constructor,h=f.precision,p=f.rounding;if(c.isFinite()){if(c.isZero())return new f(c);else if(c.abs().eq(1)&&h+4<=N)return(s=$(f,h+4,p).times(.25)).s=c.s,s}else{if(!c.s)return new f(NaN);if(h+4<=N)return(s=$(f,h+4,p).times(.5)).s=c.s,s}for(f.precision=a=h+10,f.rounding=1,t=r=Math.min(28,a/7+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(l=!1,e=Math.ceil(a/7),n=1,u=c.times(c),s=new f(c),i=c;-1!==t;)if(i=i.times(u),o=s.minus(i.div(n+=2)),i=i.times(u),void 0!==(s=o.plus(i.div(n+=2))).d[e])for(t=e;s.d[t]===o.d[t]&&t--;);return r&&(s=s.times(2<<r-1)),l=!0,C(s,f.precision=h,f.rounding=p,!0)},M.isFinite=function(){return!!this.d},M.isInteger=M.isInt=function(){return!!this.d&&m(this.e/7)>this.d.length-2},M.isNaN=function(){return!this.s},M.isNegative=M.isNeg=function(){return this.s<0},M.isPositive=M.isPos=function(){return this.s>0},M.isZero=function(){return!!this.d&&0===this.d[0]},M.lessThan=M.lt=function(t){return 0>this.cmp(t)},M.lessThanOrEqualTo=M.lte=function(t){return 1>this.cmp(t)},M.logarithm=M.log=function(t){var e,r,n,i,o,s,a,u=this.constructor,c=u.precision,f=u.rounding;if(null==t)t=new u(10),e=!0;else{if(r=(t=new u(t)).d,t.s<0||!r||!r[0]||t.eq(1))return new u(NaN);e=t.eq(10)}if(r=this.d,this.s<0||!r||!r[0]||this.eq(1))return new u(r&&!r[0]?-1/0:1!=this.s?NaN:r?0:1/0);if(e)if(r.length>1)i=!0;else{for(n=r[0];n%10==0;)n/=10;i=1!==n}if(l=!1,E((a=O(o=j(this,s=c+5),e?P(u,s+10):j(t,s),s,1)).d,n=c,f))do if(s+=10,a=O(o=j(this,s),e?P(u,s+10):j(t,s),s,1),!i){+A(a.d).slice(n+1,n+15)+1==1e14&&(a=C(a,c+1,0));break}while(E(a.d,n+=10,f));return l=!0,C(a,c,f)},M.minus=M.sub=function(t){var e,r,n,i,o,s,a,u,c,f,h,p,d=this.constructor;if(t=new d(t),!this.d||!t.d)return this.s&&t.s?this.d?t.s=-t.s:t=new d(t.d||this.s!==t.s?this:NaN):t=new d(NaN),t;if(this.s!=t.s)return t.s=-t.s,this.plus(t);if(c=this.d,p=t.d,a=d.precision,u=d.rounding,!c[0]||!p[0]){if(p[0])t.s=-t.s;else{if(!c[0])return new d(3===u?-0:0);t=new d(this)}return l?C(t,a,u):t}if(r=m(t.e/7),f=m(this.e/7),c=c.slice(),o=f-r){for((h=o<0)?(e=c,o=-o,s=p.length):(e=p,r=f,s=c.length),o>(n=Math.max(Math.ceil(a/7),s)+2)&&(o=n,e.length=1),e.reverse(),n=o;n--;)e.push(0);e.reverse()}else{for((h=(n=c.length)<(s=p.length))&&(s=n),n=0;n<s;n++)if(c[n]!=p[n]){h=c[n]<p[n];break}o=0}for(h&&(e=c,c=p,p=e,t.s=-t.s),s=c.length,n=p.length-s;n>0;--n)c[s++]=0;for(n=p.length;n>o;){if(c[--n]<p[n]){for(i=n;i&&0===c[--i];)c[i]=1e7-1;--c[i],c[n]+=1e7}c[n]-=p[n]}for(;0===c[--s];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=T(c,r),l?C(t,a,u):t):new d(3===u?-0:0)},M.modulo=M.mod=function(t){var e,r=this.constructor;return(t=new r(t),this.d&&t.s&&(!t.d||t.d[0]))?t.d&&(!this.d||this.d[0])?(l=!1,9==r.modulo?(e=O(this,t.abs(),0,3,1),e.s*=t.s):e=O(this,t,0,r.modulo,1),e=e.times(t),l=!0,this.minus(e)):C(new r(this),r.precision,r.rounding):new r(NaN)},M.naturalExponential=M.exp=function(){return R(this)},M.naturalLogarithm=M.ln=function(){return j(this)},M.negated=M.neg=function(){var t=new this.constructor(this);return t.s=-t.s,C(t)},M.plus=M.add=function(t){var e,r,n,i,o,s,a,u,c,f,h=this.constructor;if(t=new h(t),!this.d||!t.d)return this.s&&t.s?this.d||(t=new h(t.d||this.s===t.s?this:NaN)):t=new h(NaN),t;if(this.s!=t.s)return t.s=-t.s,this.minus(t);if(c=this.d,f=t.d,a=h.precision,u=h.rounding,!c[0]||!f[0])return f[0]||(t=new h(this)),l?C(t,a,u):t;if(o=m(this.e/7),n=m(t.e/7),c=c.slice(),i=o-n){for(i<0?(r=c,i=-i,s=f.length):(r=f,n=o,s=c.length),i>(s=(o=Math.ceil(a/7))>s?o+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=c.length)-(i=f.length)<0&&(i=s,r=f,f=c,c=r),e=0;i;)e=(c[--i]=c[i]+f[i]+e)/1e7|0,c[i]%=1e7;for(e&&(c.unshift(e),++n),s=c.length;0==c[--s];)c.pop();return t.d=c,t.e=T(c,n),l?C(t,a,u):t},M.precision=M.sd=function(t){var e;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(f+t);return this.d?(e=z(this.d),t&&this.e+1>e&&(e=this.e+1)):e=NaN,e},M.round=function(){var t=this.constructor;return C(new t(this),this.e+1,t.rounding)},M.sine=M.sin=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(t,e){var r,n=e.d.length;if(n<3)return e.isZero()?e:U(t,2,e,e);r=(r=1.4*Math.sqrt(n))>16?16:0|r,e=U(t,2,e=e.times(1/W(5,r)),e);for(var i,o=new t(5),s=new t(16),a=new t(20);r--;)i=e.times(e),e=e.times(o.plus(i.times(s.times(i).minus(a))));return e}(n,Z(n,r)),n.precision=t,n.rounding=e,C(i>2?r.neg():r,t,e,!0)):new n(NaN)},M.squareRoot=M.sqrt=function(){var t,e,r,n,i,o,s=this.d,a=this.e,u=this.s,c=this.constructor;if(1!==u||!s||!s[0])return new c(!u||u<0&&(!s||s[0])?NaN:s?this:1/0);for(l=!1,0==(u=Math.sqrt(+this))||u==1/0?(((e=A(s)).length+a)%2==0&&(e+="0"),u=Math.sqrt(e),a=m((a+1)/2)-(a<0||a%2),n=new c(e=u==1/0?"5e"+a:(e=u.toExponential()).slice(0,e.indexOf("e")+1)+a)):n=new c(u.toString()),r=(a=c.precision)+3;;)if(n=(o=n).plus(O(this,o,r+2,1)).times(.5),A(o.d).slice(0,r)===(e=A(n.d)).slice(0,r)){if("9999"!=(e=e.slice(r-3,r+1))&&(i||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(C(n,a+1,1),t=!n.times(n).eq(this));break}if(!i&&(C(o,a+1,0),o.times(o).eq(this))){n=o;break}r+=4,i=1}return l=!0,C(n,a,c.rounding,t)},M.tangent=M.tan=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+10,n.rounding=1,(r=r.sin()).s=1,r=O(r,new n(1).minus(r.times(r)).sqrt(),t+10,0),n.precision=t,n.rounding=e,C(2==i||4==i?r.neg():r,t,e,!0)):new n(NaN)},M.times=M.mul=function(t){var e,r,n,i,o,s,a,u,c,f=this.constructor,h=this.d,p=(t=new f(t)).d;if(t.s*=this.s,!h||!h[0]||!p||!p[0])return new f(!t.s||h&&!h[0]&&!p||p&&!p[0]&&!h?NaN:!h||!p?t.s/0:0*t.s);for(r=m(this.e/7)+m(t.e/7),(u=h.length)<(c=p.length)&&(o=h,h=p,p=o,s=u,u=c,c=s),o=[],n=s=u+c;n--;)o.push(0);for(n=c;--n>=0;){for(e=0,i=u+n;i>n;)a=o[i]+p[n]*h[i-n-1]+e,o[i--]=a%1e7|0,e=a/1e7|0;o[i]=(o[i]+e)%1e7|0}for(;!o[--s];)o.pop();return e?++r:o.shift(),t.d=o,t.e=T(o,r),l?C(t,f.precision,f.rounding):t},M.toBinary=function(t,e){return Y(this,2,t,e)},M.toDecimalPlaces=M.toDP=function(t,e){var r=this,n=r.constructor;return(r=new n(r),void 0===t)?r:(_(t,0,1e9),void 0===e?e=n.rounding:_(e,0,8),C(r,t+r.e+1,e))},M.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=B(n,!0):(_(t,0,1e9),void 0===e?e=i.rounding:_(e,0,8),r=B(n=C(new i(n),t+1,e),!0,t+1)),n.isNeg()&&!n.isZero()?"-"+r:r},M.toFixed=function(t,e){var r,n,i=this.constructor;return void 0===t?r=B(this):(_(t,0,1e9),void 0===e?e=i.rounding:_(e,0,8),r=B(n=C(new i(this),t+this.e+1,e),!1,t+n.e+1)),this.isNeg()&&!this.isZero()?"-"+r:r},M.toFraction=function(t){var e,r,n,i,o,s,a,u,c,h,p,d,m=this.d,v=this.constructor;if(!m)return new v(this);if(c=r=new v(1),n=u=new v(0),s=(o=(e=new v(n)).e=z(m)-this.e-1)%7,e.d[0]=g(10,s<0?7+s:s),null==t)t=o>0?e:c;else{if(!(a=new v(t)).isInt()||a.lt(c))throw Error(f+a);t=a.gt(e)?o>0?e:c:a}for(l=!1,a=new v(A(m)),h=v.precision,v.precision=o=7*m.length*2;p=O(a,e,0,1,1),1!=(i=r.plus(p.times(n))).cmp(t);)r=n,n=i,i=c,c=u.plus(p.times(i)),u=i,i=e,e=a.minus(p.times(i)),a=i;return i=O(t.minus(r),n,0,1,1),u=u.plus(i.times(c)),r=r.plus(i.times(n)),u.s=c.s=this.s,d=1>O(c,n,o,1).minus(this).abs().cmp(O(u,r,o,1).minus(this).abs())?[c,n]:[u,r],v.precision=h,l=!0,d},M.toHexadecimal=M.toHex=function(t,e){return Y(this,16,t,e)},M.toNearest=function(t,e){var r=this,n=r.constructor;if(r=new n(r),null==t){if(!r.d)return r;t=new n(1),e=n.rounding}else{if(t=new n(t),void 0===e?e=n.rounding:_(e,0,8),!r.d)return t.s?r:t;if(!t.d)return t.s&&(t.s=r.s),t}return t.d[0]?(l=!1,r=O(r,t,0,e,1).times(t),l=!0,C(r)):(t.s=r.s,r=t),r},M.toNumber=function(){return+this},M.toOctal=function(t,e){return Y(this,8,t,e)},M.toPower=M.pow=function(t){var e,r,n,i,o,s,a=this,u=a.constructor,c=+(t=new u(t));if(!a.d||!t.d||!a.d[0]||!t.d[0])return new u(g(+a,c));if((a=new u(a)).eq(1))return a;if(n=u.precision,o=u.rounding,t.eq(1))return C(a,n,o);if((e=m(t.e/7))>=t.d.length-1&&(r=c<0?-c:c)<=0x1fffffffffffff)return i=F(u,a,r,n),t.s<0?new u(1).div(i):C(i,n,o);if((s=a.s)<0){if(e<t.d.length-1)return new u(NaN);if((1&t.d[e])==0&&(s=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=s,a}return(e=0!=(r=g(+a,c))&&isFinite(r)?new u(r+"").e:m(c*(Math.log("0."+A(a.d))/Math.LN10+a.e+1)))>u.maxE+1||e<u.minE-1?new u(e>0?s/0:0):(l=!1,u.rounding=a.s=1,r=Math.min(12,(e+"").length),(i=R(t.times(j(a,n+r)),n)).d&&E((i=C(i,n+5,1)).d,n,o)&&(e=n+10,+A((i=C(R(t.times(j(a,e+r)),e),e+5,1)).d).slice(n+1,n+15)+1==1e14&&(i=C(i,n+1,0))),i.s=s,l=!0,u.rounding=o,C(i,n,o))},M.toPrecision=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=B(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(_(t,1,1e9),void 0===e?e=i.rounding:_(e,0,8),r=B(n=C(new i(n),t,e),t<=n.e||n.e<=i.toExpNeg,t)),n.isNeg()&&!n.isZero()?"-"+r:r},M.toSignificantDigits=M.toSD=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(_(t,1,1e9),void 0===e?e=r.rounding:_(e,0,8)),C(new r(this),t,e)},M.toString=function(){var t=this.constructor,e=B(this,this.e<=t.toExpNeg||this.e>=t.toExpPos);return this.isNeg()&&!this.isZero()?"-"+e:e},M.truncated=M.trunc=function(){return C(new this.constructor(this),this.e+1,1)},M.valueOf=M.toJSON=function(){var t=this.constructor,e=B(this,this.e<=t.toExpNeg||this.e>=t.toExpPos);return this.isNeg()?"-"+e:e};var O=function(){function t(t,e,r){var n,i=0,o=t.length;for(t=t.slice();o--;)n=t[o]*e+i,t[o]=n%r|0,i=n/r|0;return i&&t.unshift(i),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=+(t[r]<e[r]),t[r]=i*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(i,o,s,a,u,l){var c,f,h,p,d,g,v,y,w,b,x,N,M,A,_,E,S,O,B,T,P=i.constructor,$=i.s==o.s?1:-1,z=i.d,D=o.d;if(!z||!z[0]||!D||!D[0])return new P(!i.s||!o.s||(z?D&&z[0]==D[0]:!D)?NaN:z&&0==z[0]||!D?0*$:$/0);for(l?(d=1,f=i.e-o.e):(l=1e7,d=7,f=m(i.e/d)-m(o.e/d)),B=D.length,S=z.length,b=(w=new P($)).d=[],h=0;D[h]==(z[h]||0);h++);if(D[h]>(z[h]||0)&&f--,null==s?(A=s=P.precision,a=P.rounding):A=u?s+(i.e-o.e)+1:s,A<0)b.push(1),g=!0;else{if(A=A/d+2|0,h=0,1==B){for(p=0,D=D[0],A++;(h<S||p)&&A--;h++)_=p*l+(z[h]||0),b[h]=_/D|0,p=_%D|0;g=p||h<S}else{for((p=l/(D[0]+1)|0)>1&&(D=t(D,p,l),z=t(z,p,l),B=D.length,S=z.length),E=B,N=(x=z.slice(0,B)).length;N<B;)x[N++]=0;(T=D.slice()).unshift(0),O=D[0],D[1]>=l/2&&++O;do p=0,(c=e(D,x,B,N))<0?(M=x[0],B!=N&&(M=M*l+(x[1]||0)),(p=M/O|0)>1?(p>=l&&(p=l-1),y=(v=t(D,p,l)).length,N=x.length,1==(c=e(v,x,y,N))&&(p--,r(v,B<y?T:D,y,l))):(0==p&&(c=p=1),v=D.slice()),(y=v.length)<N&&v.unshift(0),r(x,v,N,l),-1==c&&(N=x.length,(c=e(D,x,B,N))<1&&(p++,r(x,B<N?T:D,N,l))),N=x.length):0===c&&(p++,x=[0]),b[h++]=p,c&&x[0]?x[N++]=z[E]||0:(x=[z[E]],N=1);while((E++<S||void 0!==x[0])&&A--);g=void 0!==x[0]}b[0]||b.shift()}if(1==d)w.e=f,n=g;else{for(h=1,p=b[0];p>=10;p/=10)h++;w.e=h+f*d-1,C(w,u?s+w.e+1:s,a,g)}return w}}();function C(t,e,r,n){var i,o,s,a,u,c,f,h,p,d=t.constructor;t:if(null!=e){if(!(h=t.d))return t;for(i=1,a=h[0];a>=10;a/=10)i++;if((o=e-i)<0)o+=7,s=e,u=(f=h[p=0])/g(10,i-s-1)%10|0;else if((p=Math.ceil((o+1)/7))>=(a=h.length))if(n){for(;a++<=p;)h.push(0);f=u=0,i=1,o%=7,s=o-7+1}else break t;else{for(i=1,f=a=h[p];a>=10;a/=10)i++;o%=7,u=(s=o-7+i)<0?0:f/g(10,i-s-1)%10|0}if(n=n||e<0||void 0!==h[p+1]||(s<0?f:f%g(10,i-s-1)),c=r<4?(u||n)&&(0==r||r==(t.s<0?3:2)):u>5||5==u&&(4==r||n||6==r&&(o>0?s>0?f/g(10,i-s):0:h[p-1])%10&1||r==(t.s<0?8:7)),e<1||!h[0])return h.length=0,c?(e-=t.e+1,h[0]=g(10,(7-e%7)%7),t.e=-e||0):h[0]=t.e=0,t;if(0==o?(h.length=p,a=1,p--):(h.length=p+1,a=g(10,7-o),h[p]=s>0?(f/g(10,i-s)%g(10,s)|0)*a:0),c)for(;;)if(0==p){for(o=1,s=h[0];s>=10;s/=10)o++;for(s=h[0]+=a,a=1;s>=10;s/=10)a++;o!=a&&(t.e++,1e7==h[0]&&(h[0]=1));break}else{if(h[p]+=a,1e7!=h[p])break;h[p--]=0,a=1}for(o=h.length;0===h[--o];)h.pop()}return l&&(t.e>d.maxE?(t.d=null,t.e=NaN):t.e<d.minE&&(t.e=0,t.d=[0])),t}function B(t,e,r){if(!t.isFinite())return L(t);var n,i=t.e,o=A(t.d),s=o.length;return e?(r&&(n=r-s)>0?o=o.charAt(0)+"."+o.slice(1)+D(n):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(t.e<0?"e":"e+")+t.e):i<0?(o="0."+D(-i-1)+o,r&&(n=r-s)>0&&(o+=D(n))):i>=s?(o+=D(i+1-s),r&&(n=r-i-1)>0&&(o=o+"."+D(n))):((n=i+1)<s&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-s)>0&&(i+1===s&&(o+="."),o+=D(n))),o}function T(t,e){var r=t[0];for(e*=7;r>=10;r/=10)e++;return e}function P(t,e,r){if(e>x)throw l=!0,r&&(t.precision=r),Error(h);return C(new t(s),e,1,!0)}function $(t,e,r){if(e>N)throw Error(h);return C(new t(a),e,r,!0)}function z(t){var e=t.length-1,r=7*e+1;if(e=t[e]){for(;e%10==0;e/=10)r--;for(e=t[0];e>=10;e/=10)r++}return r}function D(t){for(var e="";t--;)e+="0";return e}function F(t,e,r,n){var i,o=new t(1),s=Math.ceil(n/7+4);for(l=!1;;){if(r%2&&G((o=o.times(e)).d,s)&&(i=!0),0===(r=m(r/2))){r=o.d.length-1,i&&0===o.d[r]&&++o.d[r];break}G((e=e.times(e)).d,s)}return l=!0,o}function k(t){return 1&t.d[t.d.length-1]}function I(t,e,r){for(var n,i,o=new t(e[0]),s=0;++s<e.length;){if(!(i=new t(e[s])).s){o=i;break}((n=o.cmp(i))===r||0===n&&o.s===r)&&(o=i)}return o}function R(t,e){var r,n,i,o,s,a,u,c=0,f=0,h=0,p=t.constructor,d=p.rounding,m=p.precision;if(!t.d||!t.d[0]||t.e>17)return new p(t.d?!t.d[0]?1:t.s<0?0:1/0:t.s?t.s<0?0:t:0/0);for(null==e?(l=!1,u=m):u=e,a=new p(.03125);t.e>-2;)t=t.times(a),h+=5;for(u+=n=Math.log(g(2,h))/Math.LN10*2+5|0,r=o=s=new p(1),p.precision=u;;){if(o=C(o.times(t),u,1),r=r.times(++f),A((a=s.plus(O(o,r,u,1))).d).slice(0,u)===A(s.d).slice(0,u)){for(i=h;i--;)s=C(s.times(s),u,1);if(null!=e)return p.precision=m,s;if(!(c<3&&E(s.d,u-n,d,c)))return C(s,p.precision=m,d,l=!0);p.precision=u+=10,r=o=a=new p(1),f=0,c++}s=a}}function j(t,e){var r,n,i,o,s,a,u,c,f,h,p,d=1,m=t,g=m.d,v=m.constructor,y=v.rounding,w=v.precision;if(m.s<0||!g||!g[0]||!m.e&&1==g[0]&&1==g.length)return new v(g&&!g[0]?-1/0:1!=m.s?NaN:g?0:m);if(null==e?(l=!1,f=w):f=e,v.precision=f+=10,n=(r=A(g)).charAt(0),!(15e14>Math.abs(o=m.e)))return c=P(v,f+2,w).times(o+""),m=j(new v(n+"."+r.slice(1)),f-10).plus(c),v.precision=w,null==e?C(m,w,y,l=!0):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=A((m=m.times(t)).d)).charAt(0),d++;for(o=m.e,n>1?(m=new v("0."+r),o++):m=new v(n+"."+r.slice(1)),h=m,u=s=m=O(m.minus(1),m.plus(1),f,1),p=C(m.times(m),f,1),i=3;;){if(s=C(s.times(p),f,1),A((c=u.plus(O(s,new v(i),f,1))).d).slice(0,f)===A(u.d).slice(0,f)){if(u=u.times(2),0!==o&&(u=u.plus(P(v,f+2,w).times(o+""))),u=O(u,new v(d),f,1),null!=e)return v.precision=w,u;if(!E(u.d,f-10,y,a))return C(u,v.precision=w,y,l=!0);v.precision=f+=10,c=s=m=O(h.minus(1),h.plus(1),f,1),p=C(m.times(m),f,1),i=a=1}u=c,i+=2}}function L(t){return String(t.s*t.s/0)}function q(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);n++);for(i=e.length;48===e.charCodeAt(i-1);--i);if(e=e.slice(n,i)){if(i-=n,t.e=r=r-n-1,t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";t.d.push(+e),l&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function U(t,e,r,n,i){var o,s,a,u,c=t.precision,f=Math.ceil(c/7);for(l=!1,u=r.times(r),a=new t(n);;){if(s=O(a.times(u),new t(e++*e++),c,1),a=i?n.plus(s):n.minus(s),n=O(s.times(u),new t(e++*e++),c,1),void 0!==(s=a.plus(n)).d[f]){for(o=f;s.d[o]===a.d[o]&&o--;);if(-1==o)break}o=a,a=n,n=s,s=o}return l=!0,s.d.length=f+1,s}function W(t,e){for(var r=t;--e;)r*=t;return r}function Z(t,e){var r,n=e.s<0,o=$(t,t.precision,1),s=o.times(.5);if((e=e.abs()).lte(s))return i=n?4:1,e;if((r=e.divToInt(o)).isZero())i=n?3:2;else{if((e=e.minus(r.times(o))).lte(s))return i=k(r)?n?2:3:n?4:1,e;i=k(r)?n?1:4:n?3:2}return e.minus(o).abs()}function Y(t,e,r,i){var s,a,u,l,c,f,h,p,d,m=t.constructor,g=void 0!==r;if(g?(_(r,1,1e9),void 0===i?i=m.rounding:_(i,0,8)):(r=m.precision,i=m.rounding),t.isFinite()){for(u=(h=B(t)).indexOf("."),g?(s=2,16==e?r=4*r-3:8==e&&(r=3*r-2)):s=e,u>=0&&(h=h.replace(".",""),(d=new m(1)).e=h.length-u,d.d=S(B(d),10,s),d.e=d.d.length),a=c=(p=S(h,10,s)).length;0==p[--c];)p.pop();if(p[0]){if(u<0?a--:((t=new m(t)).d=p,t.e=a,p=(t=O(t,d,r,i,0,s)).d,a=t.e,f=n),u=p[r],l=s/2,f=f||void 0!==p[r+1],f=i<4?(void 0!==u||f)&&(0===i||i===(t.s<0?3:2)):u>l||u===l&&(4===i||f||6===i&&1&p[r-1]||i===(t.s<0?8:7)),p.length=r,f)for(;++p[--r]>s-1;)p[r]=0,r||(++a,p.unshift(1));for(c=p.length;!p[c-1];--c);for(u=0,h="";u<c;u++)h+=o.charAt(p[u]);if(g){if(c>1)if(16==e||8==e){for(u=16==e?4:3,--c;c%u;c++)h+="0";for(c=(p=S(h,s,e)).length;!p[c-1];--c);for(u=1,h="1.";u<c;u++)h+=o.charAt(p[u])}else h=h.charAt(0)+"."+h.slice(1);h=h+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)h="0"+h;h="0."+h}else if(++a>c)for(a-=c;a--;)h+="0";else a<c&&(h=h.slice(0,a)+"."+h.slice(a))}else h=g?"0p+0":"0";h=(16==e?"0x":2==e?"0b":8==e?"0o":"")+h}else h=L(t);return t.s<0?"-"+h:h}function G(t,e){if(t.length>e)return t.length=e,!0}function H(t){return new this(t).abs()}function V(t){return new this(t).acos()}function X(t){return new this(t).acosh()}function K(t,e){return new this(t).plus(e)}function J(t){return new this(t).asin()}function Q(t){return new this(t).asinh()}function tt(t){return new this(t).atan()}function te(t){return new this(t).atanh()}function tr(t,e){t=new this(t),e=new this(e);var r,n=this.precision,i=this.rounding,o=n+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(r=e.s<0?$(this,n,i):new this(0)).s=t.s:!t.d||e.isZero()?(r=$(this,o,1).times(.5)).s=t.s:e.s<0?(this.precision=o,this.rounding=1,r=this.atan(O(t,e,o,1)),e=$(this,o,1),this.precision=n,this.rounding=i,r=t.s<0?r.minus(e):r.plus(e)):r=this.atan(O(t,e,o,1)):(r=$(this,o,1).times(e.s>0?.25:.75)).s=t.s:r=new this(NaN),r}function tn(t){return new this(t).cbrt()}function ti(t){return C(t=new this(t),t.e+1,2)}function to(t,e,r){return new this(t).clamp(e,r)}function ts(t){if(!t||"object"!=typeof t)throw Error(c+"Object expected");var e,r,n,i=!0===t.defaults,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-9e15,0,"toExpPos",0,9e15,"maxE",0,9e15,"minE",-9e15,0,"modulo",0,9];for(e=0;e<o.length;e+=3)if(r=o[e],i&&(this[r]=u[r]),void 0!==(n=t[r]))if(m(n)===n&&n>=o[e+1]&&n<=o[e+2])this[r]=n;else throw Error(f+r+": "+n);if(r="crypto",i&&(this[r]=u[r]),void 0!==(n=t[r]))if(!0===n||!1===n||0===n||1===n)if(n)if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(p);else this[r]=!1;else throw Error(f+r+": "+n);return this}function ta(t){return new this(t).cos()}function tu(t){return new this(t).cosh()}function tl(t,e){return new this(t).div(e)}function tc(t){return new this(t).exp()}function tf(t){return C(t=new this(t),t.e+1,3)}function th(){var t,e,r=new this(0);for(t=0,l=!1;t<arguments.length;)if(e=new this(arguments[t++]),e.d)r.d&&(r=r.plus(e.times(e)));else{if(e.s)return l=!0,new this(1/0);r=e}return l=!0,r.sqrt()}function tp(t){return t instanceof tz||t&&t.toStringTag===d||!1}function td(t){return new this(t).ln()}function tm(t,e){return new this(t).log(e)}function tg(t){return new this(t).log(2)}function tv(t){return new this(t).log(10)}function ty(){return I(this,arguments,-1)}function tw(){return I(this,arguments,1)}function tb(t,e){return new this(t).mod(e)}function tx(t,e){return new this(t).mul(e)}function tN(t,e){return new this(t).pow(e)}function tM(t){var e,r,n,i,o=0,s=new this(1),a=[];if(void 0===t?t=this.precision:_(t,1,1e9),n=Math.ceil(t/7),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(n));o<n;)(i=e[o])>=429e7?e[o]=crypto.getRandomValues(new Uint32Array(1))[0]:a[o++]=i%1e7;else if(crypto.randomBytes){for(e=crypto.randomBytes(n*=4);o<n;)(i=e[o]+(e[o+1]<<8)+(e[o+2]<<16)+((127&e[o+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,o):(a.push(i%1e7),o+=4);o=n/4}else throw Error(p);else for(;o<n;)a[o++]=1e7*Math.random()|0;for(n=a[--o],t%=7,n&&t&&(i=g(10,7-t),a[o]=(n/i|0)*i);0===a[o];o--)a.pop();if(o<0)r=0,a=[0];else{for(r=-1;0===a[0];r-=7)a.shift();for(n=1,i=a[0];i>=10;i/=10)n++;n<7&&(r-=7-n)}return s.e=r,s.d=a,s}function tA(t){return C(t=new this(t),t.e+1,this.rounding)}function t_(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function tE(t){return new this(t).sin()}function tS(t){return new this(t).sinh()}function tO(t){return new this(t).sqrt()}function tC(t,e){return new this(t).sub(e)}function tB(){var t=0,e=arguments,r=new this(e[0]);for(l=!1;r.s&&++t<e.length;)r=r.plus(e[t]);return l=!0,C(r,this.precision,this.rounding)}function tT(t){return new this(t).tan()}function tP(t){return new this(t).tanh()}function t$(t){return C(t=new this(t),t.e+1,1)}M[Symbol.for("nodejs.util.inspect.custom")]=M.toString,M[Symbol.toStringTag]="Decimal";var tz=M.constructor=function t(e){var r,n,i;function o(t){var e,r,n;if(!(this instanceof o))return new o(t);if(this.constructor=o,tp(t)){this.s=t.s,l?!t.d||t.e>o.maxE?(this.e=NaN,this.d=null):t.e<o.minE?(this.e=0,this.d=[0]):(this.e=t.e,this.d=t.d.slice()):(this.e=t.e,this.d=t.d?t.d.slice():t.d);return}if("number"==(n=typeof t)){if(0===t){this.s=1/t<0?-1:1,this.e=0,this.d=[0];return}if(t<0?(t=-t,this.s=-1):this.s=1,t===~~t&&t<1e7){for(e=0,r=t;r>=10;r/=10)e++;l?e>o.maxE?(this.e=NaN,this.d=null):e<o.minE?(this.e=0,this.d=[0]):(this.e=e,this.d=[t]):(this.e=e,this.d=[t]);return}if(0*t!=0){t||(this.s=NaN),this.e=NaN,this.d=null;return}return q(this,t.toString())}if("string"===n)return 45===(r=t.charCodeAt(0))?(t=t.slice(1),this.s=-1):(43===r&&(t=t.slice(1)),this.s=1),b.test(t)?q(this,t):function(t,e){var r,n,i,o,s,a,u,c,h;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),b.test(e))return q(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(y.test(e))r=16,e=e.toLowerCase();else if(v.test(e))r=2;else if(w.test(e))r=8;else throw Error(f+e);for((o=e.search(/p/i))>0?(u=+e.slice(o+1),e=e.substring(2,o)):e=e.slice(2),s=(o=e.indexOf("."))>=0,n=t.constructor,s&&(o=(a=(e=e.replace(".","")).length)-o,i=F(n,new n(r),o,2*o)),o=h=(c=S(e,r,1e7)).length-1;0===c[o];--o)c.pop();return o<0?new n(0*t.s):(t.e=T(c,h),t.d=c,l=!1,s&&(t=O(t,i,4*a)),u&&(t=t.times(54>Math.abs(u)?g(2,u):tz.pow(2,u))),l=!0,t)}(this,t);if("bigint"===n)return t<0?(t=-t,this.s=-1):this.s=1,q(this,t.toString());throw Error(f+t)}if(o.prototype=M,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=ts,o.clone=t,o.isDecimal=tp,o.abs=H,o.acos=V,o.acosh=X,o.add=K,o.asin=J,o.asinh=Q,o.atan=tt,o.atanh=te,o.atan2=tr,o.cbrt=tn,o.ceil=ti,o.clamp=to,o.cos=ta,o.cosh=tu,o.div=tl,o.exp=tc,o.floor=tf,o.hypot=th,o.ln=td,o.log=tm,o.log10=tv,o.log2=tg,o.max=ty,o.min=tw,o.mod=tb,o.mul=tx,o.pow=tN,o.random=tM,o.round=tA,o.sign=t_,o.sin=tE,o.sinh=tS,o.sqrt=tO,o.sub=tC,o.sum=tB,o.tan=tT,o.tanh=tP,o.trunc=t$,void 0===e&&(e={}),e&&!0!==e.defaults)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(u);s=new tz(s),a=new tz(a);var tD={createBigNumberClass:(0,r(1207).P9)("BigNumber",["?on","config"],t=>{var{on:e,config:r}=t,n=tz.clone({precision:r.precision,modulo:tz.EUCLID});return n.prototype=Object.create(n.prototype),n.prototype.type="BigNumber",n.prototype.isBigNumber=!0,n.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},n.fromJSON=function(t){return new n(t.value)},e&&e("config",function(t,e){t.precision!==e.precision&&n.config({precision:t.precision})}),n},{isClass:!0})}},80185(t,e,r){"use strict";r.d(e,{k:()=>f});var n=r(27340),i=r(46797),o=r(49204),s=r(93988),a=r(55624),u=r(32718),l=r(15562),c=(0,r(1207).P9)("DenseMatrix",["Matrix"],t=>{var{Matrix:e}=t;function r(t,e){if(!(this instanceof r))throw SyntaxError("Constructor must be called with the new operator");if(e&&!(0,i.Kg)(e))throw Error("Invalid datatype: "+e);if((0,i.OA)(t))"DenseMatrix"===t.type?(this._data=(0,u.o8)(t._data),this._size=(0,u.o8)(t._size)):(this._data=t.toArray(),this._size=t.size()),this._datatype=e||t._datatype;else if(t&&(0,i.cy)(t.data)&&(0,i.cy)(t.size))this._data=t.data,this._size=t.size,(0,o.tf)(this._data,this._size),this._datatype=e||t.datatype;else if((0,i.cy)(t))this._data=function t(e){for(var r=0,n=e.length;r<n;r++){var o=e[r];(0,i.cy)(o)?e[r]=t(o):o&&!0===o.isMatrix&&(e[r]=t(o.valueOf()))}return e}(t),this._size=(0,o.LO)(this._data),(0,o.tf)(this._data,this._size),this._datatype=e;else if(t)throw TypeError("Unsupported type of data ("+(0,i.QP)(t)+")");else this._data=[],this._size=[0],this._datatype=e}function n(t,e,r){if(0===e.length){for(var n=t._data;(0,i.cy)(n);)n=n[0];return n}return t._size=e.slice(0),t._data=(0,o.XR)(t._data,t._size,r),t}function c(t,e,r){for(var i=t._size.slice(0),o=!1;i.length<e.length;)i.push(0),o=!0;for(var s=0,a=e.length;s<a;s++)e[s]>i[s]&&(i[s]=e[s],o=!0);o&&n(t,i,r)}return r.prototype=new e,r.prototype.createDenseMatrix=function(t,e){return new r(t,e)},r.prototype.type="DenseMatrix",r.prototype.isDenseMatrix=!0,r.prototype.getDataType=function(){return(0,o.ig)(this._data,i.QP)},r.prototype.storage=function(){return"dense"},r.prototype.datatype=function(){return this._datatype},r.prototype.create=function(t,e){return new r(t,e)},r.prototype.subset=function(t,e,n){switch(arguments.length){case 1:return function(t,e){if(!(0,i.nw)(e))throw TypeError("Invalid index");if(e.isScalar())return t.get(e.min());var n=e.size();if(n.length!==t._size.length)throw new l.h(n.length,t._size.length);for(var s=e.min(),a=e.max(),u=0,c=t._size.length;u<c;u++)(0,o.r7)(s[u],t._size[u]),(0,o.r7)(a[u],t._size[u]);return new r(function t(e,r,n,i){var s=i===n-1,a=r.dimension(i);return s?a.map(function(t){return(0,o.r7)(t,e.length),e[t]}).valueOf():a.map(function(s){return(0,o.r7)(s,e.length),t(e[s],r,n,i+1)}).valueOf()}(t._data,e,n.length,0),t._datatype)}(this,t);case 2:case 3:return function(t,e,r,n){if(!e||!0!==e.isIndex)throw TypeError("Invalid index");var s,a=e.size(),f=e.isScalar();if((0,i.OA)(r)?(s=r.size(),r=r.valueOf()):s=(0,o.LO)(r),f){if(0!==s.length)throw TypeError("Scalar expected");t.set(e.min(),r,n)}else{if(a.length<t._size.length)throw new l.h(a.length,t._size.length,"<");if(s.length<a.length){for(var h=0,p=0;1===a[h]&&1===s[h];)h++;for(;1===a[h];)p++,h++;r=(0,o.iD)(r,a.length,p,s)}if(!(0,u.QO)(a,s))throw new l.h(a,s,">");c(t,e.max().map(function(t){return t+1}),n);var d=a.length;!function t(e,r,n,i,s){var a=s===i-1,u=r.dimension(s);a?u.forEach(function(t,r){(0,o.r7)(t),e[t]=n[r[0]]}):u.forEach(function(a,u){(0,o.r7)(a),t(e[a],r,n[u[0]],i,s+1)})}(t._data,e,r,d,0)}return t}(this,t,e,n);default:throw SyntaxError("Wrong number of arguments")}},r.prototype.get=function(t){if(!(0,i.cy)(t))throw TypeError("Array expected");if(t.length!==this._size.length)throw new l.h(t.length,this._size.length);for(var e=0;e<t.length;e++)(0,o.r7)(t[e],this._size[e]);for(var r=this._data,n=0,s=t.length;n<s;n++){var a=t[n];(0,o.r7)(a,r.length),r=r[a]}return r},r.prototype.set=function(t,e,r){if(!(0,i.cy)(t))throw TypeError("Array expected");if(t.length<this._size.length)throw new l.h(t.length,this._size.length,"<");c(this,t.map(function(t){return t+1}),r);var n,s,a,u=this._data;for(n=0,s=t.length-1;n<s;n++)a=t[n],(0,o.r7)(a,u.length),u=u[a];return a=t[t.length-1],(0,o.r7)(a,u.length),u[a]=e,this},r.prototype.resize=function(t,e,r){if(!(0,i.P3)(t))throw TypeError("Array or Matrix expected");var o=t.valueOf().map(t=>Array.isArray(t)&&1===t.length?t[0]:t);return n(r?this.clone():this,o,e)},r.prototype.reshape=function(t,e){var r=e?this.clone():this;r._data=(0,o.tQ)(r._data,t);var n=r._size.reduce((t,e)=>t*e);return r._size=(0,o.cs)(t,n),r},r.prototype.clone=function(){return new r({data:(0,u.o8)(this._data),size:(0,u.o8)(this._size),datatype:this._datatype})},r.prototype.size=function(){return this._size.slice(0)},r.prototype.map=function(t){var e=this,n=function r(n,o){return(0,i.cy)(n)?n.map(function(t,e){return r(t,o.concat(e))}):t(n,o,e)}(this._data,[]),s=void 0!==this._datatype?(0,o.ig)(n,i.QP):void 0;return new r(n,s)},r.prototype.forEach=function(t){var e=this;!function r(n,o){(0,i.cy)(n)?n.forEach(function(t,e){r(t,o.concat(e))}):t(n,o,e)}(this._data,[])},r.prototype[Symbol.iterator]=function*(){var t=function* t(e,r){if((0,i.cy)(e))for(var n=0;n<e.length;n++)yield*t(e[n],r.concat(n));else yield{value:e,index:r}};yield*t(this._data,[])},r.prototype.rows=function(){var t=[];if(2!==this.size().length)throw TypeError("Rows can only be returned for a 2D matrix.");for(var e of this._data)t.push(new r([e],this._datatype));return t},r.prototype.columns=function(){var t=this,e=[],n=this.size();if(2!==n.length)throw TypeError("Rows can only be returned for a 2D matrix.");for(var i=this._data,o=function(n){var o=i.map(t=>[t[n]]);e.push(new r(o,t._datatype))},s=0;s<n[1];s++)o(s);return e},r.prototype.toArray=function(){return(0,u.o8)(this._data)},r.prototype.valueOf=function(){return this._data},r.prototype.format=function(t){return(0,s.GP)(this._data,t)},r.prototype.toString=function(){return(0,s.GP)(this._data)},r.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},r.prototype.diagonal=function(t){if(t){if((0,i.C4)(t)&&(t=t.toNumber()),!(0,i.Et)(t)||!(0,a.YN)(t))throw TypeError("The parameter k must be an integer number")}else t=0;for(var e=t>0?t:0,n=t<0?-t:0,o=Math.min(this._size[0]-n,this._size[1]-e),s=[],u=0;u<o;u++)s[u]=this._data[u+n][u+e];return new r({data:s,size:[o],datatype:this._datatype})},r.diagonal=function(t,e,n,s){if(!(0,i.cy)(t))throw TypeError("Array expected, size parameter");if(2!==t.length)throw Error("Only two dimensions matrix are supported");if(t=t.map(function(t){if((0,i.C4)(t)&&(t=t.toNumber()),!(0,i.Et)(t)||!(0,a.YN)(t)||t<1)throw Error("Size values must be positive integers");return t}),n){if((0,i.C4)(n)&&(n=n.toNumber()),!(0,i.Et)(n)||!(0,a.YN)(n))throw TypeError("The parameter k must be an integer number")}else n=0;var u,l=n>0?n:0,c=n<0?-n:0,f=t[0],h=t[1],p=Math.min(f-c,h-l);if((0,i.cy)(e)){if(e.length!==p)throw Error("Invalid value array length");u=function(t){return e[t]}}else if((0,i.OA)(e)){var d=e.size();if(1!==d.length||d[0]!==p)throw Error("Invalid matrix length");u=function(t){return e.get([t])}}else u=function(){return e};s||(s=(0,i.C4)(u(0))?u(0).mul(0):0);var m=[];if(t.length>0){m=(0,o.XR)(m,t,s);for(var g=0;g<p;g++)m[g+c][g+l]=u(g)}return new r({data:m,size:[f,h]})},r.fromJSON=function(t){return new r(t)},r.prototype.swapRows=function(t,e){if(!(0,i.Et)(t)||!(0,a.YN)(t)||!(0,i.Et)(e)||!(0,a.YN)(e))throw Error("Row index must be positive integers");if(2!==this._size.length)throw Error("Only two dimensional matrix is supported");return(0,o.r7)(t,this._size[0]),(0,o.r7)(e,this._size[0]),r._swapRows(t,e,this._data),this},r._swapRows=function(t,e,r){var n=r[t];r[t]=r[e],r[e]=n},r},{isClass:!0}),f={MatrixDependencies:n.t,createDenseMatrixClass:c}},53684(t,e,r){"use strict";r.d(e,{u:()=>u});var n=r(45588),i=r(55624),o=r(1207),s="equalScalar",a=(0,o.P9)(s,["typed","config"],t=>{var{typed:e,config:r}=t;return e(s,{"boolean, boolean":function(t,e){return t===e},"number, number":function(t,e){return(0,i.q8)(t,e,r.epsilon)},"BigNumber, BigNumber":function(t,e){return t.eq(e)||function(t,e,r){if(null==r)return t.eq(e);if(t.eq(e))return!0;if(t.isNaN()||e.isNaN())return!1;if(t.isFinite()&&e.isFinite()){var n=t.minus(e).abs();if(n.isZero())return!0;var i=t.constructor.max(t.abs(),e.abs());return n.lte(i.times(r))}return!1}(t,e,r.epsilon)},"Fraction, Fraction":function(t,e){return t.equals(e)},"Complex, Complex":function(t,e){var n;return n=r.epsilon,(0,i.q8)(t.re,e.re,n)&&(0,i.q8)(t.im,e.im,n)},"Unit, Unit":function(t,e){if(!t.equalBase(e))throw Error("Cannot compare units with different base");return this(t.value,e.value)}})});(0,o.P9)(s,["typed","config"],t=>{var{typed:e,config:r}=t;return e(s,{"number, number":function(t,e){return(0,i.q8)(t,e,r.epsilon)}})});var u={typedDependencies:n.U,createEqualScalar:a}},91165(t,e,r){"use strict";r.d(e,{_:()=>v});var n=r(95343),i=r(80185),o=r(53684),s=r(43163),a=r(45588),u=r(1207),l=r(15562),c=(0,u.P9)("algorithm01",["typed"],t=>{var{typed:e}=t;return function(t,r,n,i){var o,s,a=t._data,u=t._size,c=t._datatype,f=r._values,h=r._index,p=r._ptr,d=r._size,m=r._datatype;if(u.length!==d.length)throw new l.h(u.length,d.length);if(u[0]!==d[0]||u[1]!==d[1])throw RangeError("Dimension mismatch. Matrix A ("+u+") must match Matrix B ("+d+")");if(!f)throw Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var g=u[0],v=u[1],y="string"==typeof c&&c===m?c:void 0,w=y?e.find(n,[y,y]):n,b=[];for(o=0;o<g;o++)b[o]=[];var x=[],N=[];for(s=0;s<v;s++){for(var M=s+1,A=p[s],_=p[s+1],E=A;E<_;E++)x[o=h[E]]=i?w(f[E],a[o][s]):w(a[o][s],f[E]),N[o]=M;for(o=0;o<g;o++)N[o]===M?b[o][s]=x[o]:b[o][s]=a[o][s]}return t.createDenseMatrix({data:b,size:[g,v],datatype:y})}}),f=(0,u.P9)("algorithm04",["typed","equalScalar"],t=>{var{typed:e,equalScalar:r}=t;return function(t,n,i){var o,s,a,u,c,f,h=t._values,p=t._index,d=t._ptr,m=t._size,g=t._datatype,v=n._values,y=n._index,w=n._ptr,b=n._size,x=n._datatype;if(m.length!==b.length)throw new l.h(m.length,b.length);if(m[0]!==b[0]||m[1]!==b[1])throw RangeError("Dimension mismatch. Matrix A ("+m+") must match Matrix B ("+b+")");var N=m[0],M=m[1],A=r,_=0,E=i;"string"==typeof g&&g===x&&(o=g,A=e.find(r,[o,o]),_=e.convert(0,o),E=e.find(i,[o,o]));var S=h&&v?[]:void 0,O=[],C=[],B=h&&v?[]:void 0,T=h&&v?[]:void 0,P=[],$=[];for(a=0;a<M;a++){C[a]=O.length;var z=a+1;for(c=d[a],f=d[a+1],u=c;u<f;u++)s=p[u],O.push(s),P[s]=z,B&&(B[s]=h[u]);for(c=w[a],f=w[a+1],u=c;u<f;u++)if(P[s=y[u]]===z){if(B){var D=E(B[s],v[u]);A(D,_)?P[s]=null:B[s]=D}}else O.push(s),$[s]=z,T&&(T[s]=v[u]);if(B&&T)for(u=C[a];u<O.length;)P[s=O[u]]===z?(S[u]=B[s],u++):$[s]===z?(S[u]=T[s],u++):O.splice(u,1)}return C[M]=O.length,t.createSparseMatrix({values:S,index:O,ptr:C,size:[N,M],datatype:o})}}),h=(0,u.P9)("algorithm10",["typed","DenseMatrix"],t=>{var{typed:e,DenseMatrix:r}=t;return function(t,n,i,o){var s,a=t._values,u=t._index,l=t._ptr,c=t._size,f=t._datatype;if(!a)throw Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var h=c[0],p=c[1],d=i;"string"==typeof f&&(s=f,n=e.convert(n,s),d=e.find(i,[s,s]));for(var m=[],g=[],v=[],y=0;y<p;y++){for(var w=y+1,b=l[y],x=l[y+1],N=b;N<x;N++){var M=u[N];g[M]=a[N],v[M]=w}for(var A=0;A<h;A++)0===y&&(m[A]=[]),v[A]===w?m[A][y]=o?d(n,g[A]):d(g[A],n):m[A][y]=n}return new r({data:m,size:[h,p],datatype:s})}}),p=(0,u.P9)("algorithm13",["typed"],t=>{var{typed:e}=t;return function(t,r,n){var i,o=t._data,s=t._size,a=t._datatype,u=r._data,c=r._size,f=r._datatype,h=[];if(s.length!==c.length)throw new l.h(s.length,c.length);for(var p=0;p<s.length;p++){if(s[p]!==c[p])throw RangeError("Dimension mismatch. Matrix A ("+s+") must match Matrix B ("+c+")");h[p]=s[p]}var d=n;"string"==typeof a&&a===f&&(i=a,d=e.find(n,[i,i]));var m=h.length>0?function t(e,r,n,i,o,s){var a=[];if(r===n.length-1)for(var u=0;u<i;u++)a[u]=e(o[u],s[u]);else for(var l=0;l<i;l++)a[l]=t(e,r+1,n,n[r+1],o[l],s[l]);return a}(d,0,h,h[0],o,u):[];return t.createDenseMatrix({data:m,size:h,datatype:i})}}),d=r(77666),m=r(34046),g=(0,u.P9)("gcd",["typed","matrix","equalScalar","BigNumber","DenseMatrix"],t=>{var{typed:e,matrix:r,equalScalar:n,BigNumber:i,DenseMatrix:o}=t,s=c({typed:e}),a=f({typed:e,equalScalar:n}),u=h({typed:e,DenseMatrix:o}),l=p({typed:e}),g=(0,d.f)({typed:e});return e("gcd",{"number, number":m.aU,"BigNumber, BigNumber":function(t,e){if(!t.isInt()||!e.isInt())throw Error("Parameters in function gcd must be integer numbers");for(var r=new i(0);!e.isZero();){var n=t.mod(e);t=e,e=n}return t.lt(r)?t.neg():t},"Fraction, Fraction":function(t,e){return t.gcd(e)},"SparseMatrix, SparseMatrix":function(t,e){return a(t,e,this)},"SparseMatrix, DenseMatrix":function(t,e){return s(e,t,this,!0)},"DenseMatrix, SparseMatrix":function(t,e){return s(t,e,this,!1)},"DenseMatrix, DenseMatrix":function(t,e){return l(t,e,this)},"Array, Array":function(t,e){return this(r(t),r(e)).valueOf()},"Array, Matrix":function(t,e){return this(r(t),e)},"Matrix, Array":function(t,e){return this(t,r(e))},"SparseMatrix, number | BigNumber":function(t,e){return u(t,e,this,!1)},"DenseMatrix, number | BigNumber":function(t,e){return g(t,e,this,!1)},"number | BigNumber, SparseMatrix":function(t,e){return u(e,t,this,!0)},"number | BigNumber, DenseMatrix":function(t,e){return g(e,t,this,!0)},"Array, number | BigNumber":function(t,e){return g(r(t),e,this,!1).valueOf()},"number | BigNumber, Array":function(t,e){return g(r(e),t,this,!0).valueOf()},"Array | Matrix | number | BigNumber, Array | Matrix | number | BigNumber, ...Array | Matrix | number | BigNumber":function(t,e,r){for(var n=this(t,e),i=0;i<r.length;i++)n=this(n,r[i]);return n}})}),v={BigNumberDependencies:n.P,DenseMatrixDependencies:i.k,equalScalarDependencies:o.u,matrixDependencies:s.p,typedDependencies:a.U,createGcd:g}},43163(t,e,r){"use strict";r.d(e,{p:()=>y});var n=r(80185),i=r(27340),o=r(53684),s=r(45588),a=r(46797),u=r(55624),l=r(93988),c=r(32718),f=r(49204),h=r(1207),p=r(15562),d=(0,h.P9)("SparseMatrix",["typed","equalScalar","Matrix"],t=>{var{typed:e,equalScalar:r,Matrix:n}=t;function i(t,e){if(!(this instanceof i))throw SyntaxError("Constructor must be called with the new operator");if(e&&!(0,a.Kg)(e))throw Error("Invalid datatype: "+e);if((0,a.OA)(t)){var r,n,s;r=this,n=t,s=e,"SparseMatrix"===n.type?(r._values=n._values?(0,c.o8)(n._values):void 0,r._index=(0,c.o8)(n._index),r._ptr=(0,c.o8)(n._ptr),r._size=(0,c.o8)(n._size),r._datatype=s||n._datatype):o(r,n.valueOf(),s||n._datatype)}else if(t&&(0,a.cy)(t.index)&&(0,a.cy)(t.ptr)&&(0,a.cy)(t.size))this._values=t.values,this._index=t.index,this._ptr=t.ptr,this._size=t.size,this._datatype=e||t.datatype;else if((0,a.cy)(t))o(this,t,e);else if(t)throw TypeError("Unsupported type of data ("+(0,a.QP)(t)+")");else this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=e}function o(t,n,i){t._values=[],t._index=[],t._ptr=[],t._datatype=i;var o=n.length,s=0,u=r,l=0;if((0,a.Kg)(i)&&(u=e.find(r,[i,i])||r,l=e.convert(0,i)),o>0){var c=0;do{t._ptr.push(t._index.length);for(var f=0;f<o;f++){var h=n[f];if((0,a.cy)(h)){if(0===c&&s<h.length&&(s=h.length),c<h.length){var p=h[c];u(p,l)||(t._values.push(p),t._index.push(f))}}else 0===c&&s<1&&(s=1),u(h,l)||(t._values.push(h),t._index.push(f))}c++}while(c<s)}t._ptr.push(t._index.length),t._size=[o,s]}function s(t,e,r,n){if(r-e==0)return r;for(var i=e;i<r;i++)if(n[i]===t)return i;return e}function h(t,e,r,n,i,o,s){i.splice(t,0,n),o.splice(t,0,e);for(var a=r+1;a<s.length;a++)s[a]++}function d(t,n,i,o){var s,u,l,c=o||0,f=r,h=0;(0,a.Kg)(t._datatype)&&(f=e.find(r,[t._datatype,t._datatype])||r,h=e.convert(0,t._datatype),c=e.convert(c,t._datatype));var p=!f(c,h),d=t._size[0],m=t._size[1];if(i>m){for(u=m;u<i;u++)if(t._ptr[u]=t._values.length,p)for(s=0;s<d;s++)t._values.push(c),t._index.push(s);t._ptr[i]=t._values.length}else i<m&&(t._ptr.splice(i+1,m-i),t._values.splice(t._ptr[i],t._values.length),t._index.splice(t._ptr[i],t._index.length));if(m=i,n>d){if(p){var g=0;for(u=0;u<m;u++){t._ptr[u]=t._ptr[u]+g,l=t._ptr[u+1]+g;var v=0;for(s=d;s<n;s++,v++)t._values.splice(l+v,0,c),t._index.splice(l+v,0,s),g++}t._ptr[m]=t._values.length}}else if(n<d){var y=0;for(u=0;u<m;u++){t._ptr[u]=t._ptr[u]-y;var w=t._ptr[u],b=t._ptr[u+1]-y;for(l=w;l<b;l++)(s=t._index[l])>n-1&&(t._values.splice(l,1),t._index.splice(l,1),y++)}t._ptr[u]=t._values.length}return t._size[0]=n,t._size[1]=i,t}function m(t,e,r,n,i){var o,s,a=n[0],u=n[1],l=[];for(o=0;o<a;o++)for(s=0,l[o]=[];s<u;s++)l[o][s]=0;for(s=0;s<u;s++)for(var f=r[s],h=r[s+1],p=f;p<h;p++)l[o=e[p]][s]=t?i?(0,c.o8)(t[p]):t[p]:1;return l}return i.prototype=new n,i.prototype.createSparseMatrix=function(t,e){return new i(t,e)},i.prototype.type="SparseMatrix",i.prototype.isSparseMatrix=!0,i.prototype.getDataType=function(){return(0,f.ig)(this._values,a.QP)},i.prototype.storage=function(){return"sparse"},i.prototype.datatype=function(){return this._datatype},i.prototype.create=function(t,e){return new i(t,e)},i.prototype.density=function(){var t=this._size[0],e=this._size[1];return 0!==t&&0!==e?this._index.length/(t*e):0},i.prototype.subset=function(t,e,r){if(!this._values)throw Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return function(t,e){if(!(0,a.nw)(e))throw TypeError("Invalid index");if(e.isScalar())return t.get(e.min());var r,n,o,s,u=e.size();if(u.length!==t._size.length)throw new p.h(u.length,t._size.length);var l=e.min(),c=e.max();for(r=0,n=t._size.length;r<n;r++)(0,f.r7)(l[r],t._size[r]),(0,f.r7)(c[r],t._size[r]);var h=t._values,d=t._index,m=t._ptr,g=e.dimension(0),v=e.dimension(1),y=[],w=[];g.forEach(function(t,e){w[t]=e[0],y[t]=!0});var b=h?[]:void 0,x=[],N=[];return v.forEach(function(t){for(N.push(x.length),o=m[t],s=m[t+1];o<s;o++)!0===y[r=d[o]]&&(x.push(w[r]),b&&b.push(h[o]))}),N.push(x.length),new i({values:b,index:x,ptr:N,size:u,datatype:t._datatype})}(this,t);case 2:case 3:return function(t,e,r,n){if(!e||!0!==e.isIndex)throw TypeError("Invalid index");var i,o=e.size(),s=e.isScalar();if((0,a.OA)(r)?(i=r.size(),r=r.toArray()):i=(0,f.LO)(r),s){if(0!==i.length)throw TypeError("Scalar expected");t.set(e.min(),r,n)}else{if(1!==o.length&&2!==o.length)throw new p.h(o.length,t._size.length,"<");if(i.length<o.length){for(var u=0,l=0;1===o[u]&&1===i[u];)u++;for(;1===o[u];)l++,u++;r=(0,f.iD)(r,o.length,l,i)}if(!(0,c.QO)(o,i))throw new p.h(o,i,">");if(1===o.length)e.dimension(0).forEach(function(e,i){(0,f.r7)(e),t.set([e,0],r[i[0]],n)});else{var h=e.dimension(0),d=e.dimension(1);h.forEach(function(e,i){(0,f.r7)(e),d.forEach(function(o,s){(0,f.r7)(o),t.set([e,o],r[i[0]][s[0]],n)})})}}return t}(this,t,e,r);default:throw SyntaxError("Wrong number of arguments")}},i.prototype.get=function(t){if(!(0,a.cy)(t))throw TypeError("Array expected");if(t.length!==this._size.length)throw new p.h(t.length,this._size.length);if(!this._values)throw Error("Cannot invoke get on a Pattern only matrix");var e=t[0],r=t[1];(0,f.r7)(e,this._size[0]),(0,f.r7)(r,this._size[1]);var n=s(e,this._ptr[r],this._ptr[r+1],this._index);return n<this._ptr[r+1]&&this._index[n]===e?this._values[n]:0},i.prototype.set=function(t,n,i){if(!(0,a.cy)(t))throw TypeError("Array expected");if(t.length!==this._size.length)throw new p.h(t.length,this._size.length);if(!this._values)throw Error("Cannot invoke set on a Pattern only matrix");var o=t[0],u=t[1],l=this._size[0],c=this._size[1],m=r,g=0;(0,a.Kg)(this._datatype)&&(m=e.find(r,[this._datatype,this._datatype])||r,g=e.convert(0,this._datatype)),(o>l-1||u>c-1)&&(d(this,Math.max(o+1,l),Math.max(u+1,c),i),l=this._size[0],c=this._size[1]),(0,f.r7)(o,l),(0,f.r7)(u,c);var v=s(o,this._ptr[u],this._ptr[u+1],this._index);return v<this._ptr[u+1]&&this._index[v]===o?m(n,g)?function(t,e,r,n,i){r.splice(t,1),n.splice(t,1);for(var o=e+1;o<i.length;o++)i[o]--}(v,u,this._values,this._index,this._ptr):this._values[v]=n:h(v,o,u,n,this._values,this._index,this._ptr),this},i.prototype.resize=function(t,e,r){if(!(0,a.P3)(t))throw TypeError("Array or Matrix expected");var n=t.valueOf().map(t=>Array.isArray(t)&&1===t.length?t[0]:t);if(2!==n.length)throw Error("Only two dimensions matrix are supported");return n.forEach(function(t){if(!(0,a.Et)(t)||!(0,u.YN)(t)||t<0)throw TypeError("Invalid size, must contain positive integers (size: "+(0,l.GP)(n)+")")}),d(r?this.clone():this,n[0],n[1],e)},i.prototype.reshape=function(t,e){if(!(0,a.cy)(t))throw TypeError("Array expected");if(2!==t.length)throw Error("Sparse matrices can only be reshaped in two dimensions");t.forEach(function(e){if(!(0,a.Et)(e)||!(0,u.YN)(e)||e<=-2||0===e)throw TypeError("Invalid size, must contain positive integers or -1 (size: "+(0,l.GP)(t)+")")});var r=this._size[0]*this._size[1],n=(t=(0,f.cs)(t,r))[0]*t[1];if(r!==n)throw Error("Reshaping sparse matrix will result in the wrong number of elements");var i=e?this.clone():this;if(this._size[0]===t[0]&&this._size[1]===t[1])return i;for(var o=[],c=0;c<i._ptr.length;c++)for(var p=0;p<i._ptr[c+1]-i._ptr[c];p++)o.push(c);for(var d=i._values.slice(),m=i._index.slice(),g=0;g<i._index.length;g++){var v=m[g],y=o[g],w=v*i._size[1]+y;o[g]=w%t[1],m[g]=Math.floor(w/t[1])}i._values.length=0,i._index.length=0,i._ptr.length=t[1]+1,i._size=t.slice();for(var b=0;b<i._ptr.length;b++)i._ptr[b]=0;for(var x=0;x<d.length;x++){var N=m[x],M=o[x],A=d[x];h(s(N,i._ptr[M],i._ptr[M+1],i._index),N,M,A,i._values,i._index,i._ptr)}return i},i.prototype.clone=function(){return new i({values:this._values?(0,c.o8)(this._values):void 0,index:(0,c.o8)(this._index),ptr:(0,c.o8)(this._ptr),size:(0,c.o8)(this._size),datatype:this._datatype})},i.prototype.size=function(){return this._size.slice(0)},i.prototype.map=function(t,n){if(!this._values)throw Error("Cannot invoke map on a Pattern only matrix");var o=this;return function(t,n,o,s,u){var l=[],c=[],f=[],h=r,p=0;(0,a.Kg)(t._datatype)&&(h=e.find(r,[t._datatype,t._datatype])||r,p=e.convert(0,t._datatype));for(var d=function(t,e,r){t=s(t,e,r),h(t,p)||(l.push(t),c.push(e))},m=0;m<=o;m++){f.push(l.length);var g=t._ptr[m],v=t._ptr[m+1];if(u)for(var y=g;y<v;y++){var w=t._index[y];w>=0&&w<=n&&d(t._values[y],w-0,m-0)}else{for(var b={},x=g;x<v;x++)b[t._index[x]]=t._values[x];for(var N=0;N<=n;N++)d(N in b?b[N]:0,N-0,m-0)}}return f.push(l.length),new i({values:l,index:c,ptr:f,size:[n-0+1,o-0+1]})}(this,this._size[0]-1,this._size[1]-1,function(e,r,n){return t(e,[r,n],o)},n)},i.prototype.forEach=function(t,e){if(!this._values)throw Error("Cannot invoke forEach on a Pattern only matrix");for(var r=this._size[0],n=this._size[1],i=0;i<n;i++){var o=this._ptr[i],s=this._ptr[i+1];if(e)for(var a=o;a<s;a++){var u=this._index[a];t(this._values[a],[u,i],this)}else{for(var l={},c=o;c<s;c++)l[this._index[c]]=this._values[c];for(var f=0;f<r;f++)t(f in l?l[f]:0,[f,i],this)}}},i.prototype[Symbol.iterator]=function*(){if(!this._values)throw Error("Cannot iterate a Pattern only matrix");for(var t=this._size[1],e=0;e<t;e++)for(var r=this._ptr[e],n=this._ptr[e+1],i=r;i<n;i++){var o=this._index[i];yield{value:this._values[i],index:[o,e]}}},i.prototype.toArray=function(){return m(this._values,this._index,this._ptr,this._size,!0)},i.prototype.valueOf=function(){return m(this._values,this._index,this._ptr,this._size,!1)},i.prototype.format=function(t){for(var e=this._size[0],r=this._size[1],n=this.density(),i="Sparse Matrix ["+(0,l.GP)(e,t)+" x "+(0,l.GP)(r,t)+"] density: "+(0,l.GP)(n,t)+"\n",o=0;o<r;o++)for(var s=this._ptr[o],a=this._ptr[o+1],u=s;u<a;u++){var c=this._index[u];i+="\n ("+(0,l.GP)(c,t)+", "+(0,l.GP)(o,t)+") ==> "+(this._values?(0,l.GP)(this._values[u],t):"X")}return i},i.prototype.toString=function(){return(0,l.GP)(this.toArray())},i.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},i.prototype.diagonal=function(t){if(t){if((0,a.C4)(t)&&(t=t.toNumber()),!(0,a.Et)(t)||!(0,u.YN)(t))throw TypeError("The parameter k must be an integer number")}else t=0;var e=t>0?t:0,r=t<0?-t:0,n=this._size[0],o=this._size[1],s=Math.min(n-r,o-e),l=[],c=[],f=[];f[0]=0;for(var h=e;h<o&&l.length<s;h++)for(var p=this._ptr[h],d=this._ptr[h+1],m=p;m<d;m++){var g=this._index[m];if(g===h-e+r){l.push(this._values[m]),c[l.length-1]=g-r;break}}return f.push(l.length),new i({values:l,index:c,ptr:f,size:[s,1]})},i.fromJSON=function(t){return new i(t)},i.diagonal=function(t,n,o,s,l){if(!(0,a.cy)(t))throw TypeError("Array expected, size parameter");if(2!==t.length)throw Error("Only two dimensions matrix are supported");if(t=t.map(function(t){if((0,a.C4)(t)&&(t=t.toNumber()),!(0,a.Et)(t)||!(0,u.YN)(t)||t<1)throw Error("Size values must be positive integers");return t}),o){if((0,a.C4)(o)&&(o=o.toNumber()),!(0,a.Et)(o)||!(0,u.YN)(o))throw TypeError("The parameter k must be an integer number")}else o=0;var c,f=r,h=0;(0,a.Kg)(l)&&(f=e.find(r,[l,l])||r,h=e.convert(0,l));var p=o>0?o:0,d=o<0?-o:0,m=t[0],g=t[1],v=Math.min(m-d,g-p);if((0,a.cy)(n)){if(n.length!==v)throw Error("Invalid value array length");c=function(t){return n[t]}}else if((0,a.OA)(n)){var y=n.size();if(1!==y.length||y[0]!==v)throw Error("Invalid matrix length");c=function(t){return n.get([t])}}else c=function(){return n};for(var w=[],b=[],x=[],N=0;N<g;N++){x.push(w.length);var M=N-p;if(M>=0&&M<v){var A=c(M);f(A,h)||(b.push(M+d),w.push(A))}}return x.push(w.length),new i({values:w,index:b,ptr:x,size:[m,g]})},i.prototype.swapRows=function(t,e){if(!(0,a.Et)(t)||!(0,u.YN)(t)||!(0,a.Et)(e)||!(0,u.YN)(e))throw Error("Row index must be positive integers");if(2!==this._size.length)throw Error("Only two dimensional matrix is supported");return(0,f.r7)(t,this._size[0]),(0,f.r7)(e,this._size[0]),i._swapRows(t,e,this._size[1],this._values,this._index,this._ptr),this},i._forEachRow=function(t,e,r,n,i){for(var o=n[t],s=n[t+1],a=o;a<s;a++)i(r[a],e[a])},i._swapRows=function(t,e,r,n,i,o){for(var a=0;a<r;a++){var u=o[a],l=o[a+1],c=s(t,u,l,i),f=s(e,u,l,i);if(c<l&&f<l&&i[c]===t&&i[f]===e){if(n){var h=n[c];n[c]=n[f],n[f]=h}continue}if(c<l&&i[c]===t&&(f>=l||i[f]!==e)){var p=n?n[c]:void 0;i.splice(f,0,e),n&&n.splice(f,0,p),i.splice(f<=c?c+1:c,1),n&&n.splice(f<=c?c+1:c,1);continue}if(f<l&&i[f]===e&&(c>=l||i[c]!==t)){var d=n?n[f]:void 0;i.splice(c,0,t),n&&n.splice(c,0,d),i.splice(c<=f?f+1:f,1),n&&n.splice(c<=f?f+1:f,1)}}},i},{isClass:!0}),m={MatrixDependencies:i.t,equalScalarDependencies:o.u,typedDependencies:s.U,createSparseMatrixClass:d},g="matrix",v=(0,h.P9)(g,["typed","Matrix","DenseMatrix","SparseMatrix"],t=>{var{typed:e,Matrix:r,DenseMatrix:n,SparseMatrix:i}=t;return e(g,{"":function(){return o([])},string:function(t){return o([],t)},"string, string":function(t,e){return o([],t,e)},Array:function(t){return o(t)},Matrix:function(t){return o(t,t.storage())},"Array | Matrix, string":o,"Array | Matrix, string, string":o});function o(t,e,r){if("dense"===e||"default"===e||void 0===e)return new n(t,r);if("sparse"===e)return new i(t,r);throw TypeError("Unknown matrix type "+JSON.stringify(e)+".")}}),y={DenseMatrixDependencies:n.k,MatrixDependencies:i.t,SparseMatrixDependencies:m,typedDependencies:s.U,createMatrix:v}},27340(t,e,r){"use strict";r.d(e,{t:()=>n});var n={createMatrixClass:(0,r(1207).P9)("Matrix",[],()=>{function t(){if(!(this instanceof t))throw SyntaxError("Constructor must be called with the new operator")}return t.prototype.type="Matrix",t.prototype.isMatrix=!0,t.prototype.storage=function(){throw Error("Cannot invoke storage on a Matrix interface")},t.prototype.datatype=function(){throw Error("Cannot invoke datatype on a Matrix interface")},t.prototype.create=function(t,e){throw Error("Cannot invoke create on a Matrix interface")},t.prototype.subset=function(t,e,r){throw Error("Cannot invoke subset on a Matrix interface")},t.prototype.get=function(t){throw Error("Cannot invoke get on a Matrix interface")},t.prototype.set=function(t,e,r){throw Error("Cannot invoke set on a Matrix interface")},t.prototype.resize=function(t,e){throw Error("Cannot invoke resize on a Matrix interface")},t.prototype.reshape=function(t,e){throw Error("Cannot invoke reshape on a Matrix interface")},t.prototype.clone=function(){throw Error("Cannot invoke clone on a Matrix interface")},t.prototype.size=function(){throw Error("Cannot invoke size on a Matrix interface")},t.prototype.map=function(t,e){throw Error("Cannot invoke map on a Matrix interface")},t.prototype.forEach=function(t){throw Error("Cannot invoke forEach on a Matrix interface")},t.prototype[Symbol.iterator]=function(){throw Error("Cannot iterate a Matrix interface")},t.prototype.toArray=function(){throw Error("Cannot invoke toArray on a Matrix interface")},t.prototype.valueOf=function(){throw Error("Cannot invoke valueOf on a Matrix interface")},t.prototype.format=function(t){throw Error("Cannot invoke format on a Matrix interface")},t.prototype.toString=function(){throw Error("Cannot invoke toString on a Matrix interface")},t},{isClass:!0})}},45588(t,e,r){"use strict";r.d(e,{U:()=>L});var n=r(95343);let i=Math.cosh||function(t){return 1e-9>Math.abs(t)?1-t:(Math.exp(t)+Math.exp(-t))*.5},o=Math.sinh||function(t){return 1e-9>Math.abs(t)?t:(Math.exp(t)-Math.exp(-t))*.5},s=function(t,e){return((t=Math.abs(t))<(e=Math.abs(e))&&([t,e]=[e,t]),t<1e8)?Math.sqrt(t*t+e*e):(e/=t,t*Math.sqrt(1+e*e))},a=function(){throw SyntaxError("Invalid Param")};function u(t,e){let r=Math.abs(t),n=Math.abs(e);return 0===t?Math.log(n):0===e?Math.log(r):r<3e3&&n<3e3?.5*Math.log(t*t+e*e):.5*Math.log((t*=.5)*t+(e*=.5)*e)+Math.LN2}let l={re:0,im:0},c=function(t,e){if(null==t)l.re=l.im=0;else if(void 0!==e)l.re=t,l.im=e;else switch(typeof t){case"object":if("im"in t&&"re"in t)l.re=t.re,l.im=t.im;else if("abs"in t&&"arg"in t){if(!isFinite(t.abs)&&isFinite(t.arg))return f.INFINITY;l.re=t.abs*Math.cos(t.arg),l.im=t.abs*Math.sin(t.arg)}else if("r"in t&&"phi"in t){if(!isFinite(t.r)&&isFinite(t.phi))return f.INFINITY;l.re=t.r*Math.cos(t.phi),l.im=t.r*Math.sin(t.phi)}else 2===t.length?(l.re=t[0],l.im=t[1]):a();break;case"string":l.im=l.re=0;let r=t.replace(/_/g,"").match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g),n=1,i=0;null===r&&a();for(let t=0;t<r.length;t++){let e=r[t];" "===e||" "===e||"\n"===e||("+"===e?n++:"-"===e?i++:("i"===e||"I"===e?(n+i===0&&a()," "===r[t+1]||isNaN(r[t+1])?l.im+=parseFloat((i%2?"-":"")+"1"):(l.im+=parseFloat((i%2?"-":"")+r[t+1]),t++)):((n+i===0||isNaN(e))&&a(),"i"===r[t+1]||"I"===r[t+1]?(l.im+=parseFloat((i%2?"-":"")+e),t++):l.re+=parseFloat((i%2?"-":"")+e)),n=i=0))}n+i>0&&a();break;case"number":l.im=0,l.re=t;break;default:a()}return isNaN(l.re)||isNaN(l.im),l};function f(t,e){if(!(this instanceof f))return new f(t,e);let r=c(t,e);this.re=r.re,this.im=r.im}f.prototype={re:0,im:0,sign:function(){let t=s(this.re,this.im);return new f(this.re/t,this.im/t)},add:function(t,e){let r=c(t,e),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im));return n||i?n&&i?f.NAN:f.INFINITY:new f(this.re+r.re,this.im+r.im)},sub:function(t,e){let r=c(t,e),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im));return n||i?n&&i?f.NAN:f.INFINITY:new f(this.re-r.re,this.im-r.im)},mul:function(t,e){let r=c(t,e),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im)),o=0===this.re&&0===this.im,s=0===r.re&&0===r.im;return n&&s||i&&o?f.NAN:n||i?f.INFINITY:0===r.im&&0===this.im?new f(this.re*r.re,0):new f(this.re*r.re-this.im*r.im,this.re*r.im+this.im*r.re)},div:function(t,e){let r=c(t,e),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im)),o=0===this.re&&0===this.im,s=0===r.re&&0===r.im;if(o&&s||n&&i)return f.NAN;if(s||n)return f.INFINITY;if(o||i)return f.ZERO;if(0===r.im)return new f(this.re/r.re,this.im/r.re);if(Math.abs(r.re)<Math.abs(r.im)){let t=r.re/r.im,e=r.re*t+r.im;return new f((this.re*t+this.im)/e,(this.im*t-this.re)/e)}{let t=r.im/r.re,e=r.im*t+r.re;return new f((this.re+this.im*t)/e,(this.im-this.re*t)/e)}},pow:function(t,e){let r=c(t,e),n=0===this.re&&0===this.im;if(0===r.re&&0===r.im)return f.ONE;if(0===r.im){if(0===this.im&&this.re>0)return new f(Math.pow(this.re,r.re),0);else if(0===this.re)switch((r.re%4+4)%4){case 0:return new f(Math.pow(this.im,r.re),0);case 1:return new f(0,Math.pow(this.im,r.re));case 2:return new f(-Math.pow(this.im,r.re),0);case 3:return new f(0,-Math.pow(this.im,r.re))}}if(n&&r.re>0)return f.ZERO;let i=Math.atan2(this.im,this.re),o=u(this.re,this.im),s=Math.exp(r.re*o-r.im*i),a=r.im*o+r.re*i;return new f(s*Math.cos(a),s*Math.sin(a))},sqrt:function(){let t=this.re,e=this.im;if(0===e)if(t>=0)return new f(Math.sqrt(t),0);else return new f(0,Math.sqrt(-t));let r=Math.sqrt(.5*(s(t,e)+Math.abs(t))),n=Math.abs(e)/(2*r);return t>=0?new f(r,e<0?-n:n):new f(n,e<0?-r:r)},exp:function(){let t=Math.exp(this.re);return 0===this.im?new f(t,0):new f(t*Math.cos(this.im),t*Math.sin(this.im))},expm1:function(){let t,e=this.re,r=this.im;return new f(Math.expm1(e)*Math.cos(r)+-2*(t=Math.sin(.5*r))*t,Math.exp(e)*Math.sin(r))},log:function(){let t=this.re,e=this.im;return 0===e&&t>0?new f(Math.log(t),0):new f(u(t,e),Math.atan2(e,t))},abs:function(){return s(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){let t=this.re,e=this.im;return new f(Math.sin(t)*i(e),Math.cos(t)*o(e))},cos:function(){let t=this.re,e=this.im;return new f(Math.cos(t)*i(e),-Math.sin(t)*o(e))},tan:function(){let t=2*this.re,e=2*this.im,r=Math.cos(t)+i(e);return new f(Math.sin(t)/r,o(e)/r)},cot:function(){let t=2*this.re,e=2*this.im,r=Math.cos(t)-i(e);return new f(-Math.sin(t)/r,o(e)/r)},sec:function(){let t=this.re,e=this.im,r=.5*i(2*e)+.5*Math.cos(2*t);return new f(Math.cos(t)*i(e)/r,Math.sin(t)*o(e)/r)},csc:function(){let t=this.re,e=this.im,r=.5*i(2*e)-.5*Math.cos(2*t);return new f(Math.sin(t)*i(e)/r,-Math.cos(t)*o(e)/r)},asin:function(){let t=this.re,e=this.im,r=new f(e*e-t*t+1,-2*t*e).sqrt(),n=new f(r.re-e,r.im+t).log();return new f(n.im,-n.re)},acos:function(){let t=this.re,e=this.im,r=new f(e*e-t*t+1,-2*t*e).sqrt(),n=new f(r.re-e,r.im+t).log();return new f(Math.PI/2-n.im,n.re)},atan:function(){let t=this.re,e=this.im;if(0===t){if(1===e)return new f(0,1/0);if(-1===e)return new f(0,-1/0)}let r=t*t+(1-e)*(1-e),n=new f((1-e*e-t*t)/r,-2*t/r).log();return new f(-.5*n.im,.5*n.re)},acot:function(){let t=this.re,e=this.im;if(0===e)return new f(Math.atan2(1,t),0);let r=t*t+e*e;return 0!==r?new f(t/r,-e/r).atan():new f(0!==t?t/0:0,0!==e?-e/0:0).atan()},asec:function(){let t=this.re,e=this.im;if(0===t&&0===e)return new f(0,1/0);let r=t*t+e*e;return 0!==r?new f(t/r,-e/r).acos():new f(0!==t?t/0:0,0!==e?-e/0:0).acos()},acsc:function(){let t=this.re,e=this.im;if(0===t&&0===e)return new f(Math.PI/2,1/0);let r=t*t+e*e;return 0!==r?new f(t/r,-e/r).asin():new f(0!==t?t/0:0,0!==e?-e/0:0).asin()},sinh:function(){let t=this.re,e=this.im;return new f(o(t)*Math.cos(e),i(t)*Math.sin(e))},cosh:function(){let t=this.re,e=this.im;return new f(i(t)*Math.cos(e),o(t)*Math.sin(e))},tanh:function(){let t=2*this.re,e=2*this.im,r=i(t)+Math.cos(e);return new f(o(t)/r,Math.sin(e)/r)},coth:function(){let t=2*this.re,e=2*this.im,r=i(t)-Math.cos(e);return new f(o(t)/r,-Math.sin(e)/r)},csch:function(){let t=this.re,e=this.im,r=Math.cos(2*e)-i(2*t);return new f(-2*o(t)*Math.cos(e)/r,2*i(t)*Math.sin(e)/r)},sech:function(){let t=this.re,e=this.im,r=Math.cos(2*e)+i(2*t);return new f(2*i(t)*Math.cos(e)/r,-2*o(t)*Math.sin(e)/r)},asinh:function(){let t=this.re,e=this.im;if(0===e){if(0===t)return new f(0,0);let e=Math.abs(t),r=Math.log(e+Math.sqrt(e*e+1));return new f(t<0?-r:r,0)}let r=new f(t*t-e*e+1,2*t*e).sqrt();return new f(t+r.re,e+r.im).log()},acosh:function(){let t=this.re,e=this.im;if(0===e){if(t>1)return new f(Math.log(t+Math.sqrt(t-1)*Math.sqrt(t+1)),0);if(t<-1){let e=Math.sqrt(t*t-1);return new f(Math.log(-t+e),Math.PI)}return new f(0,Math.acos(t))}let r=new f(t-1,e).sqrt(),n=new f(t+1,e).sqrt();return new f(t+r.re*n.re-r.im*n.im,e+r.re*n.im+r.im*n.re).log()},atanh:function(){let t=this.re,e=this.im;if(0===e)return 0===t?new f(0,0):1===t?new f(1/0,0):-1===t?new f(-1/0,0):-1<t&&t<1?new f(.5*Math.log((1+t)/(1-t)),0):t>1?new f(.5*Math.log((t+1)/(t-1)),-Math.PI/2):new f(.5*Math.log(-((1+t)/(1-t))),Math.PI/2);let r=1-t,n=1+t,i=r*r+e*e;if(0===i)return new f(-1!==t?t/0:0,0!==e?e/0:0);let o=(n*r-e*e)/i,s=(e*r+n*e)/i;return new f(u(o,s)/2,Math.atan2(s,o)/2)},acoth:function(){let t=this.re,e=this.im;if(0===t&&0===e)return new f(0,Math.PI/2);let r=t*t+e*e;return 0!==r?new f(t/r,-e/r).atanh():new f(0!==t?t/0:0,0!==e?-e/0:0).atanh()},acsch:function(){let t=this.re,e=this.im;if(0===e){if(0===t)return new f(1/0,0);let e=1/t;return new f(Math.log(e+Math.sqrt(e*e+1)),0)}let r=t*t+e*e;return 0!==r?new f(t/r,-e/r).asinh():new f(0!==t?t/0:0,0!==e?-e/0:0).asinh()},asech:function(){let t=this.re,e=this.im;if(this.isZero())return f.INFINITY;let r=t*t+e*e;return 0!==r?new f(t/r,-e/r).acosh():new f(0!==t?t/0:0,0!==e?-e/0:0).acosh()},inverse:function(){if(this.isZero())return f.INFINITY;if(this.isInfinite())return f.ZERO;let t=this.re,e=this.im,r=t*t+e*e;return new f(t/r,-e/r)},conjugate:function(){return new f(this.re,-this.im)},neg:function(){return new f(-this.re,-this.im)},ceil:function(t){return t=Math.pow(10,t||0),new f(Math.ceil(this.re*t)/t,Math.ceil(this.im*t)/t)},floor:function(t){return t=Math.pow(10,t||0),new f(Math.floor(this.re*t)/t,Math.floor(this.im*t)/t)},round:function(t){return t=Math.pow(10,t||0),new f(Math.round(this.re*t)/t,Math.round(this.im*t)/t)},equals:function(t,e){let r=c(t,e);return Math.abs(r.re-this.re)<=f.EPSILON&&Math.abs(r.im-this.im)<=f.EPSILON},clone:function(){return new f(this.re,this.im)},toString:function(){let t=this.re,e=this.im,r="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(t)<f.EPSILON&&(t=0),Math.abs(e)<f.EPSILON&&(e=0),0===e)?r+t:(0!==t?(r+=t,r+=" ",e<0?(e=-e,r+="-"):r+="+",r+=" "):e<0&&(e=-e,r+="-"),1!==e&&(r+=e),r+"i")},toVector:function(){return[this.re,this.im]},valueOf:function(){return 0===this.im?this.re:null},isNaN:function(){return isNaN(this.re)||isNaN(this.im)},isZero:function(){return 0===this.im&&0===this.re},isFinite:function(){return isFinite(this.re)&&isFinite(this.im)},isInfinite:function(){return!this.isFinite()}},f.ZERO=new f(0,0),f.ONE=new f(1,0),f.I=new f(0,1),f.PI=new f(Math.PI,0),f.E=new f(Math.E,0),f.INFINITY=new f(1/0,1/0),f.NAN=new f(NaN,NaN),f.EPSILON=1e-15;var h=r(55624),p=r(46797),d=r(1207),m=(0,d.P9)("Complex",[],()=>(f.prototype.type="Complex",f.prototype.isComplex=!0,f.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},f.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},f.prototype.format=function(t){var e=this.im,r=this.re,n=(0,h.GP)(this.re,t),i=(0,h.GP)(this.im,t),o=(0,p.Et)(t)?t:t?t.precision:null;if(null!==o){var s=Math.pow(10,-o);Math.abs(r/e)<s&&(r=0),Math.abs(e/r)<s&&(e=0)}return 0===e?n:0===r?1===e?"i":-1===e?"-i":i+"i":e<0?-1===e?n+" - i":n+" - "+i.substring(1)+"i":1===e?n+" + i":n+" + "+i+"i"},f.fromPolar=function(t){switch(arguments.length){case 1:var e=arguments[0];if("object"==typeof e)return f(e);throw TypeError("Input has to be an object with r and phi keys.");case 2:var r=arguments[0],n=arguments[1];if((0,p.Et)(r)){if((0,p.vO)(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),(0,p.Et)(n))return new f({r,phi:n});throw TypeError("Phi is not a number nor an angle unit.")}throw TypeError("Radius r is not a number.");default:throw SyntaxError("Wrong number of arguments in function fromPolar")}},f.prototype.valueOf=f.prototype.toString,f.fromJSON=function(t){return new f(t)},f.compare=function(t,e){return t.re>e.re?1:t.re<e.re?-1:t.im>e.im?1:t.im<e.im?-1:0},f),{isClass:!0}),g=r(80185),v={s:1,n:0,d:1};function y(t,e){if(isNaN(t=parseInt(t,10)))throw _();return t*e}function w(t,e){if(0===e)throw A();var r=Object.create(M.prototype);r.s=t<0?-1:1;var n=N(t=t<0?-t:t,e);return r.n=t/n,r.d=e/n,r}function b(t){for(var e={},r=t,n=2,i=4;i<=r;){for(;r%n==0;)r/=n,e[n]=(e[n]||0)+1;i+=1+2*n++}return r!==t?r>1&&(e[r]=(e[r]||0)+1):e[t]=(e[t]||0)+1,e}var x=function(t,e){var r,n=0,i=1,o=1,s=0,a=0,u=0,l=1,c=1,f=0,h=1,p=1,d=1;if(null==t);else if(void 0!==e){if(o=(n=t)*(i=e),n%1!=0||i%1!=0)throw E()}else switch(typeof t){case"object":if("d"in t&&"n"in t)n=t.n,i=t.d,"s"in t&&(n*=t.s);else if(0 in t)n=t[0],1 in t&&(i=t[1]);else throw _();o=n*i;break;case"number":if(t<0&&(o=t,t=-t),t%1==0)n=t;else if(t>0){for(t>=1&&(c=Math.pow(10,Math.floor(1+Math.log(t)/Math.LN10)),t/=c);h<=1e7&&d<=1e7;){if(t===(r=(f+p)/(h+d))){h+d<=1e7?(n=f+p,i=h+d):d>h?(n=p,i=d):(n=f,i=h);break}t>r?(f+=p,h+=d):(p+=f,d+=h),h>1e7?(n=p,i=d):(n=f,i=h)}n*=c}else(isNaN(t)||isNaN(e))&&(i=n=NaN);break;case"string":if(null===(h=t.match(/\d+|./g)))throw _();if("-"===h[f]?(o=-1,f++):"+"===h[f]&&f++,h.length===f+1?a=y(h[f++],o):"."===h[f+1]||"."===h[f]?("."!==h[f]&&(s=y(h[f++],o)),(++f+1===h.length||"("===h[f+1]&&")"===h[f+3]||"'"===h[f+1]&&"'"===h[f+3])&&(a=y(h[f],o),l=Math.pow(10,h[f].length),f++),("("===h[f]&&")"===h[f+2]||"'"===h[f]&&"'"===h[f+2])&&(u=y(h[f+1],o),c=Math.pow(10,h[f+1].length)-1,f+=3)):"/"===h[f+1]||":"===h[f+1]?(a=y(h[f],o),l=y(h[f+2],1),f+=3):"/"===h[f+3]&&" "===h[f+1]&&(s=y(h[f],o),a=y(h[f+2],o),l=y(h[f+4],1),f+=5),h.length<=f){o=n=u+(i=l*c)*s+c*a;break}default:throw _()}if(0===i)throw A();v.s=o<0?-1:1,v.n=Math.abs(n),v.d=Math.abs(i)};function N(t,e){if(!t)return e;if(!e)return t;for(;;){if(!(t%=e))return e;if(!(e%=t))return t}}function M(t,e){if(x(t,e),!(this instanceof M))return w(v.s*v.n,v.d);t=N(v.d,v.n),this.s=v.s,this.n=v.n/t,this.d=v.d/t}var A=function(){return Error("Division by Zero")},_=function(){return Error("Invalid argument")},E=function(){return Error("Parameters must be integer")};M.prototype={s:1,n:0,d:1,abs:function(){return w(this.n,this.d)},neg:function(){return w(-this.s*this.n,this.d)},add:function(t,e){return x(t,e),w(this.s*this.n*v.d+v.s*this.d*v.n,this.d*v.d)},sub:function(t,e){return x(t,e),w(this.s*this.n*v.d-v.s*this.d*v.n,this.d*v.d)},mul:function(t,e){return x(t,e),w(this.s*v.s*this.n*v.n,this.d*v.d)},div:function(t,e){return x(t,e),w(this.s*v.s*this.n*v.d,this.d*v.n)},clone:function(){return w(this.s*this.n,this.d)},mod:function(t,e){if(isNaN(this.n)||isNaN(this.d))return new M(NaN);if(void 0===t)return w(this.s*this.n%this.d,1);if(x(t,e),0===v.n&&0===this.d)throw A();return w(this.s*(v.d*this.n)%(v.n*this.d),v.d*this.d)},gcd:function(t,e){return x(t,e),w(N(v.n,this.n)*N(v.d,this.d),v.d*this.d)},lcm:function(t,e){return(x(t,e),0===v.n&&0===this.n)?w(0,1):w(v.n*this.n,N(v.n,this.n)*N(v.d,this.d))},ceil:function(t){return(t=Math.pow(10,t||0),isNaN(this.n)||isNaN(this.d))?new M(NaN):w(Math.ceil(t*this.s*this.n/this.d),t)},floor:function(t){return(t=Math.pow(10,t||0),isNaN(this.n)||isNaN(this.d))?new M(NaN):w(Math.floor(t*this.s*this.n/this.d),t)},round:function(t){return(t=Math.pow(10,t||0),isNaN(this.n)||isNaN(this.d))?new M(NaN):w(Math.round(t*this.s*this.n/this.d),t)},roundTo:function(t,e){return x(t,e),w(this.s*Math.round(this.n*v.d/(this.d*v.n))*v.n,v.d)},inverse:function(){return w(this.s*this.d,this.n)},pow:function(t,e){if(x(t,e),1===v.d)if(v.s<0)return w(Math.pow(this.s*this.d,v.n),Math.pow(this.n,v.n));else return w(Math.pow(this.s*this.n,v.n),Math.pow(this.d,v.n));if(this.s<0)return null;var r=b(this.n),n=b(this.d),i=1,o=1;for(var s in r)if("1"!==s){if("0"===s){i=0;break}if(r[s]*=v.n,r[s]%v.d!=0)return null;r[s]/=v.d,i*=Math.pow(s,r[s])}for(var s in n)if("1"!==s){if(n[s]*=v.n,n[s]%v.d!=0)return null;n[s]/=v.d,o*=Math.pow(s,n[s])}return v.s<0?w(o,i):w(i,o)},equals:function(t,e){return x(t,e),this.s*this.n*v.d==v.s*v.n*this.d},compare:function(t,e){x(t,e);var r=this.s*this.n*v.d-v.s*v.n*this.d;return(0<r)-(r<0)},simplify:function(t){if(isNaN(this.n)||isNaN(this.d))return this;t=t||.001;for(var e=this.abs(),r=e.toContinued(),n=1;n<r.length;n++){for(var i=w(r[n-1],1),o=n-2;o>=0;o--)i=i.inverse().add(r[o]);if(Math.abs(i.sub(e).valueOf())<t)return i.mul(this.s)}return this},divisible:function(t,e){return x(t,e),!(!(v.n*this.d)||this.n*v.d%(v.n*this.d))},valueOf:function(){return this.s*this.n/this.d},toFraction:function(t){var e,r="",n=this.n,i=this.d;return this.s<0&&(r+="-"),1===i?r+=n:(t&&(e=Math.floor(n/i))>0&&(r+=e,r+=" ",n%=i),r+=n,r+="/",r+=i),r},toLatex:function(t){var e,r="",n=this.n,i=this.d;return this.s<0&&(r+="-"),1===i?r+=n:(t&&(e=Math.floor(n/i))>0&&(r+=e,n%=i),r+="\\frac{",r+=n,r+="}{",r+=i,r+="}"),r},toContinued:function(){var t,e=this.n,r=this.d,n=[];if(isNaN(e)||isNaN(r))return n;do n.push(Math.floor(e/r)),t=e%r,e=r,r=t;while(1!==e);return n},toString:function(t){var e=this.n,r=this.d;if(isNaN(e)||isNaN(r))return"NaN";t=t||15;var n=function(t){for(;t%2==0;t/=2);for(;t%5==0;t/=5);if(1===t)return 0;for(var e=10%t,r=1;1!==e;r++)if(e=10*e%t,r>2e3)return 0;return r}(r),i=function(t,e){for(var r=1,n=function(t,e,r){for(var n=1;e>0;t=t*t%r,e>>=1)1&e&&(n=n*t%r);return n}(10,e,t),i=0;i<300;i++){if(r===n)return i;r=10*r%t,n=10*n%t}return 0}(r,n),o=this.s<0?"-":"";if(o+=e/r|0,e%=r,(e*=10)&&(o+="."),n){for(var s=i;s--;)o+=e/r|0,e%=r,e*=10;o+="(";for(var s=n;s--;)o+=e/r|0,e%=r,e*=10;o+=")"}else for(var s=t;e&&s--;)o+=e/r|0,e%=r,e*=10;return o}};var S=(0,d.P9)("Fraction",[],()=>(M.prototype.type="Fraction",M.prototype.isFraction=!0,M.prototype.toJSON=function(){return{mathjs:"Fraction",n:this.s*this.n,d:this.d}},M.fromJSON=function(t){return new M(t)},M),{isClass:!0}),O=r(42915),C=r(32718);function B(t,e){return!!t&&"object"==typeof t&&(!!(0,C.mQ)(P,e)||!(e in Object.prototype)&&!(e in Function.prototype))}function T(t){return"object"==typeof t&&t&&t.constructor===Object}var P={length:!0,name:!0},$={toString:!0,valueOf:!0,toLocaleString:!0};class z{constructor(t){this.wrappedObject=t}keys(){return Object.keys(this.wrappedObject)}get(t){var e,r,n=this.wrappedObject;if(T(n)&&B(n,t))return n[t];if("function"==typeof n[t]&&(e=n,r=t,!(null==e||"function"!=typeof e[r]||(0,C.mQ)(e,r)&&Object.getPrototypeOf&&r in Object.getPrototypeOf(e))&&((0,C.mQ)($,r)||!(r in Object.prototype)&&!(r in Function.prototype))))throw Error('Cannot access method "'+t+'" as a property');throw Error('No access to property "'+t+'"')}set(t,e){return!function(t,e,r){if(T(t)&&B(t,e))return t[e]=r;throw Error('No access to property "'+e+'"')}(this.wrappedObject,t,e),this}has(t){return t in this.wrappedObject}}function D(t){return!!t&&(t instanceof Map||t instanceof z||"function"==typeof t.set&&"function"==typeof t.get&&"function"==typeof t.keys&&"function"==typeof t.has)}var F=function(){return F=O.create,O},k=(0,d.P9)("typed",["?BigNumber","?Complex","?DenseMatrix","?Fraction"],function(t){var{BigNumber:e,Complex:r,DenseMatrix:n,Fraction:i}=t,o=F();return o.types=[{name:"number",test:p.Et},{name:"Complex",test:p.Zd},{name:"BigNumber",test:p.C4},{name:"Fraction",test:p.fU},{name:"Unit",test:p.vO},{name:"string",test:p.Kg},{name:"Chain",test:p.o_},{name:"Array",test:p.cy},{name:"Matrix",test:p.OA},{name:"DenseMatrix",test:p.zR},{name:"SparseMatrix",test:p.AF},{name:"Range",test:p._Z},{name:"Index",test:p.nw},{name:"boolean",test:p.Lm},{name:"ResultSet",test:p.eW},{name:"Help",test:p.gS},{name:"function",test:p.Tn},{name:"Date",test:p.$P},{name:"RegExp",test:p.gd},{name:"null",test:p.kZ},{name:"undefined",test:p.b0},{name:"AccessorNode",test:p.AS},{name:"ArrayNode",test:p.gO},{name:"AssignmentNode",test:p.qM},{name:"BlockNode",test:p.CD},{name:"ConditionalNode",test:p.PO},{name:"ConstantNode",test:p.BA},{name:"FunctionNode",test:p.Px},{name:"FunctionAssignmentNode",test:p.m2},{name:"IndexNode",test:p.$I},{name:"Node",test:p.Ll},{name:"ObjectNode",test:p.GJ},{name:"OperatorNode",test:p.$$},{name:"ParenthesisNode",test:p.tv},{name:"RangeNode",test:p.Ye},{name:"SymbolNode",test:p.li},{name:"Map",test:D},{name:"Object",test:p.Gv}],o.conversions=[{from:"number",to:"BigNumber",convert:function(t){if(e||I(t),(0,h.vm)(t)>15)throw TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+t+"). Use function bignumber(x) to convert to BigNumber.");return new e(t)}},{from:"number",to:"Complex",convert:function(t){return r||R(t),new r(t,0)}},{from:"number",to:"string",convert:function(t){return t+""}},{from:"BigNumber",to:"Complex",convert:function(t){return r||R(t),new r(t.toNumber(),0)}},{from:"Fraction",to:"BigNumber",convert:function(t){throw TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(t){return r||R(t),new r(t.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(t){i||j(t);var e=new i(t);if(e.valueOf()!==t)throw TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+t+"). Use function fraction(x) to convert to Fraction.");return e}},{from:"string",to:"number",convert:function(t){var e=Number(t);if(isNaN(e))throw Error('Cannot convert "'+t+'" to a number');return e}},{from:"string",to:"BigNumber",convert:function(t){e||I(t);try{return new e(t)}catch(e){throw Error('Cannot convert "'+t+'" to BigNumber')}}},{from:"string",to:"Fraction",convert:function(t){i||j(t);try{return new i(t)}catch(e){throw Error('Cannot convert "'+t+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(t){r||R(t);try{return new r(t)}catch(e){throw Error('Cannot convert "'+t+'" to Complex')}}},{from:"boolean",to:"number",convert:function(t){return+t}},{from:"boolean",to:"BigNumber",convert:function(t){return e||I(t),new e(+t)}},{from:"boolean",to:"Fraction",convert:function(t){return i||j(t),new i(+t)}},{from:"boolean",to:"string",convert:function(t){return String(t)}},{from:"Array",to:"Matrix",convert:function(t){return n||function(){throw Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}(),new n(t)}},{from:"Matrix",to:"Array",convert:function(t){return t.valueOf()}}],o});function I(t){throw Error("Cannot convert value ".concat(t," into a BigNumber: no class 'BigNumber' provided"))}function R(t){throw Error("Cannot convert value ".concat(t," into a Complex number: no class 'Complex' provided"))}function j(t){throw Error("Cannot convert value ".concat(t," into a Fraction, no class 'Fraction' provided."))}var L={BigNumberDependencies:n.P,ComplexDependencies:{createComplexClass:m},DenseMatrixDependencies:g.k,FractionDependencies:{createFractionClass:S},createTyped:k}},15562(t,e,r){"use strict";function n(t,e,r){if(!(this instanceof n))throw SyntaxError("Constructor must be called with the new operator");this.actual=t,this.expected=e,this.relation=r,this.message="Dimension mismatch ("+(Array.isArray(t)?"["+t.join(", ")+"]":t)+" "+(this.relation||"!=")+" "+(Array.isArray(e)?"["+e.join(", ")+"]":e)+")",this.stack=Error().stack}r.d(e,{h:()=>n}),n.prototype=RangeError(),n.prototype.constructor=RangeError,n.prototype.name="DimensionError",n.prototype.isDimensionError=!0},16086(t,e,r){"use strict";function n(t,e,r){if(!(this instanceof n))throw SyntaxError("Constructor must be called with the new operator");this.index=t,arguments.length<3?(this.min=0,this.max=e):(this.min=e,this.max=r),void 0!==this.min&&this.index<this.min?this.message="Index out of range ("+this.index+" < "+this.min+")":void 0!==this.max&&this.index>=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=Error().stack}r.d(e,{d:()=>n}),n.prototype=RangeError(),n.prototype.constructor=RangeError,n.prototype.name="IndexError",n.prototype.isIndexError=!0},34046(t,e,r){"use strict";r.d(e,{Wf:()=>o,aU:()=>i});var n=r(55624);function i(t,e){var r;if(!(0,n.YN)(t)||!(0,n.YN)(e))throw Error("Parameters in function gcd must be integer numbers");for(;0!==e;)r=t%e,t=e,e=r;return t<0?-t:t}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(0,n.YN)(e)||e<0||e>15)throw Error("Number of decimals in function round must be an integer from 0 to 15 inclusive");return parseFloat((0,n.Mg)(t,e))}i.signature="number, number"},77666(t,e,r){"use strict";r.d(e,{f:()=>o});var n=r(1207),i=r(32718),o=(0,n.P9)("algorithm14",["typed"],t=>{var{typed:e}=t;return function(t,r,n,o){var s,a=t._data,u=t._size,l=t._datatype,c=n;"string"==typeof l&&(s=l,r=e.convert(r,s),c=e.find(n,[s,s]));var f=u.length>0?function t(e,r,n,i,o,s,a){var u=[];if(r===n.length-1)for(var l=0;l<i;l++)u[l]=a?e(s,o[l]):e(o[l],s);else for(var c=0;c<i;c++)u[c]=t(e,r+1,n,n[r+1],o[c],s,a);return u}(c,0,u,u[0],a,r,o):[];return t.createDenseMatrix({data:f,size:(0,i.o8)(u),datatype:s})}})},49204(t,e,r){"use strict";r.d(e,{LO:()=>u,XR:()=>f,cs:()=>p,gR:()=>g,iD:()=>m,ig:()=>function t(e,r){for(var n,i=0,o=0;o<e.length;o++){var s=e[o],a=Array.isArray(s);if(0===o&&a&&(i=s.length),a&&s.length!==i)return;var u=a?t(s,r):r(s);if(void 0===n)n=u;else if(n!==u)return"mixed"}return n},r7:()=>c,tQ:()=>h,tf:()=>l});var n=r(55624),i=r(46797),o=r(93988),s=r(15562),a=r(16086);function u(t){for(var e=[];Array.isArray(t);)e.push(t.length),t=t[0];return e}function l(t,e){if(0===e.length){if(Array.isArray(t))throw new s.h(t.length,0)}else!function t(e,r,n){var i,o=e.length;if(o!==r[n])throw new s.h(o,r[n]);if(n<r.length-1){var a=n+1;for(i=0;i<o;i++){if(!Array.isArray(e[i]))throw new s.h(r.length-1,r.length,"<");t(e[i],r,a)}}else for(i=0;i<o;i++)if(Array.isArray(e[i]))throw new s.h(r.length+1,r.length,">")}(t,e,0)}function c(t,e){if(!(0,i.Et)(t)||!(0,n.YN)(t))throw TypeError("Index must be an integer (value: "+t+")");if(t<0||"number"==typeof e&&t>=e)throw new a.d(t,e)}function f(t,e,r){if(!Array.isArray(t)||!Array.isArray(e))throw TypeError("Array expected");if(0===e.length)throw Error("Resizing to scalar is not supported");return e.forEach(function(t){if(!(0,i.Et)(t)||!(0,n.YN)(t)||t<0)throw TypeError("Invalid size, must contain positive integers (size: "+(0,o.GP)(e)+")")}),function t(e,r,n,i){var o,s,a=e.length,u=r[n],l=Math.min(a,u);if(e.length=u,n<r.length-1){var c=n+1;for(o=0;o<l;o++)Array.isArray(s=e[o])||(s=[s],e[o]=s),t(s,r,c,i);for(o=l;o<u;o++)s=[],e[o]=s,t(s,r,c,i)}else{for(o=0;o<l;o++)for(;Array.isArray(e[o]);)e[o]=e[o][0];for(o=l;o<u;o++)e[o]=i}}(t,e,0,void 0!==r?r:0),t}function h(t,e){var r=function(t){if(!Array.isArray(t))return t;var e=[];return t.forEach(function t(r){Array.isArray(r)?r.forEach(t):e.push(r)}),e}(t),n=r.length;if(!Array.isArray(t)||!Array.isArray(e))throw TypeError("Array expected");if(0===e.length)throw new s.h(0,n,"!=");var i=d(e=p(e,n));if(n!==i)throw new s.h(i,n,"!=");try{return function(t,e){for(var r,n=t,i=e.length-1;i>0;i--){var o=e[i];r=[];for(var s=n.length/o,a=0;a<s;a++)r.push(n.slice(a*o,(a+1)*o));n=r}return n}(r,e)}catch(t){if(t instanceof s.h)throw new s.h(i,n,"!=");throw t}}function p(t,e){var r=d(t),n=t.slice(),i=t.indexOf(-1);if(t.indexOf(-1,i+1)>=0)throw Error("More than one wildcard in sizes");if(i>=0)if(e%r==0)n[i]=-e/r;else throw Error("Could not replace wildcard, since "+e+" is no multiple of "+-r);return n}function d(t){return t.reduce((t,e)=>t*e,1)}function m(t,e,r,n){var i=n||u(t);if(r)for(var o=0;o<r;o++)t=[t],i.unshift(1);for(t=function t(e,r,n){var i,o;if(Array.isArray(e)){var s=n+1;for(i=0,o=e.length;i<o;i++)e[i]=t(e[i],r,s)}else for(var a=n;a<r;a++)e=[e];return e}(t,e,0);i.length<e;)i.push(1);return t}function g(t,e){return -1!==t.indexOf(e)}},1207(t,e,r){"use strict";r.d(e,{P9:()=>i,Py:()=>s,T$:()=>o});var n=r(32718);function i(t,e,r,i){function o(i){var o=(0,n.K)(i,e.map(s));return function(t,e,r){if(!e.filter(t=>{var e;return!((e=t)&&"?"===e[0])}).every(t=>void 0!==r[t])){var n=e.filter(t=>void 0===r[t]);throw Error('Cannot create function "'.concat(t,'", ')+"some dependencies are missing: ".concat(n.map(t=>'"'.concat(t,'"')).join(", "),"."))}}(t,e,i),r(o)}return o.isFactory=!0,o.fn=t,o.dependencies=e.slice().sort(),i&&(o.meta=i),o}function o(t){return"function"==typeof t&&"string"==typeof t.fn&&Array.isArray(t.dependencies)}function s(t){return t&&"?"===t[0]?t.slice(1):t}},46797(t,e,r){"use strict";function n(t){return"number"==typeof t}function i(t){return!!t&&"object"==typeof t&&"function"==typeof t.constructor&&(!0===t.isBigNumber&&"object"==typeof t.constructor.prototype&&!0===t.constructor.prototype.isBigNumber||"function"==typeof t.constructor.isDecimal&&!0===t.constructor.isDecimal(t))}function o(t){return t&&"object"==typeof t&&!0===Object.getPrototypeOf(t).isComplex||!1}function s(t){return t&&"object"==typeof t&&!0===Object.getPrototypeOf(t).isFraction||!1}function a(t){return t&&!0===t.constructor.prototype.isUnit||!1}function u(t){return"string"==typeof t}r.d(e,{$$:()=>F,$I:()=>$,$P:()=>b,AF:()=>p,AS:()=>_,BA:()=>B,C4:()=>i,CD:()=>O,Et:()=>n,GJ:()=>D,Gv:()=>N,Kg:()=>u,Ll:()=>z,Lm:()=>g,OA:()=>c,P3:()=>f,PO:()=>C,Px:()=>P,QP:()=>L,Tn:()=>w,Ye:()=>I,Zd:()=>o,_Z:()=>d,b0:()=>A,cy:()=>l,eW:()=>v,fU:()=>s,gO:()=>E,gS:()=>y,gd:()=>x,kZ:()=>M,li:()=>R,m2:()=>T,nw:()=>m,o_:()=>j,qM:()=>S,tv:()=>k,vO:()=>a,zR:()=>h});var l=Array.isArray;function c(t){return t&&!0===t.constructor.prototype.isMatrix||!1}function f(t){return Array.isArray(t)||c(t)}function h(t){return t&&t.isDenseMatrix&&!0===t.constructor.prototype.isMatrix||!1}function p(t){return t&&t.isSparseMatrix&&!0===t.constructor.prototype.isMatrix||!1}function d(t){return t&&!0===t.constructor.prototype.isRange||!1}function m(t){return t&&!0===t.constructor.prototype.isIndex||!1}function g(t){return"boolean"==typeof t}function v(t){return t&&!0===t.constructor.prototype.isResultSet||!1}function y(t){return t&&!0===t.constructor.prototype.isHelp||!1}function w(t){return"function"==typeof t}function b(t){return t instanceof Date}function x(t){return t instanceof RegExp}function N(t){return!!(t&&"object"==typeof t&&t.constructor===Object&&!o(t)&&!s(t))}function M(t){return null===t}function A(t){return void 0===t}function _(t){return t&&!0===t.isAccessorNode&&!0===t.constructor.prototype.isNode||!1}function E(t){return t&&!0===t.isArrayNode&&!0===t.constructor.prototype.isNode||!1}function S(t){return t&&!0===t.isAssignmentNode&&!0===t.constructor.prototype.isNode||!1}function O(t){return t&&!0===t.isBlockNode&&!0===t.constructor.prototype.isNode||!1}function C(t){return t&&!0===t.isConditionalNode&&!0===t.constructor.prototype.isNode||!1}function B(t){return t&&!0===t.isConstantNode&&!0===t.constructor.prototype.isNode||!1}function T(t){return t&&!0===t.isFunctionAssignmentNode&&!0===t.constructor.prototype.isNode||!1}function P(t){return t&&!0===t.isFunctionNode&&!0===t.constructor.prototype.isNode||!1}function $(t){return t&&!0===t.isIndexNode&&!0===t.constructor.prototype.isNode||!1}function z(t){return t&&!0===t.isNode&&!0===t.constructor.prototype.isNode||!1}function D(t){return t&&!0===t.isObjectNode&&!0===t.constructor.prototype.isNode||!1}function F(t){return t&&!0===t.isOperatorNode&&!0===t.constructor.prototype.isNode||!1}function k(t){return t&&!0===t.isParenthesisNode&&!0===t.constructor.prototype.isNode||!1}function I(t){return t&&!0===t.isRangeNode&&!0===t.constructor.prototype.isNode||!1}function R(t){return t&&!0===t.isSymbolNode&&!0===t.constructor.prototype.isNode||!1}function j(t){return t&&!0===t.constructor.prototype.isChain||!1}function L(t){var e=typeof t;return"object"===e?null===t?"null":Array.isArray(t)?"Array":t instanceof Date?"Date":t instanceof RegExp?"RegExp":i(t)?"BigNumber":o(t)?"Complex":s(t)?"Fraction":c(t)?"Matrix":a(t)?"Unit":m(t)?"Index":d(t)?"Range":v(t)?"ResultSet":z(t)?t.type:j(t)?"Chain":y(t)?"Help":"Object":"function"===e?"Function":e}},55624(t,e,r){"use strict";r.d(e,{GP:()=>h,IY:()=>c,Kk:()=>u,Mg:()=>d,YL:()=>a,YN:()=>i,_S:()=>o,_n:()=>l,p6:()=>s,q8:()=>b,vm:()=>y});var n=r(46797);function i(t){return"boolean"==typeof t||!!isFinite(t)&&t===Math.round(t)}var o=Math.sign||function(t){return t>0?1:t<0?-1:0},s=Math.log2||function(t){return Math.log(t)/Math.LN2},a=Math.log10||function(t){return Math.log(t)/Math.LN10},u=Math.log1p||function(t){return Math.log(t+1)},l=Math.cbrt||function(t){if(0===t)return t;var e,r=t<0;return r&&(t=-t),isFinite(t)?(e=Math.exp(Math.log(t)/3),e=(t/(e*e)+2*e)/3):e=t,r?-e:e},c=Math.expm1||function(t){return t>=2e-4||t<=-2e-4?Math.exp(t)-1:t+t*t/2+t*t*t/6};function f(t,e,r){var n="";if(r){if(r<1)throw Error("size must be in greater than 0");if(!i(r))throw Error("size must be an integer");if(t>2**(r-1)-1||t<-(2**(r-1)))throw Error("Value must be in range [-2^".concat(r-1,", 2^").concat(r-1,"-1]"));if(!i(t))throw Error("Value must be an integer");t<0&&(t+=2**r),n="i".concat(r)}var o="";return t<0&&(t=-t,o="-"),"".concat(o).concat({2:"0b",8:"0o",16:"0x"}[e]).concat(t.toString(e)).concat(n)}function h(t,e){if("function"==typeof e)return e(t);if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(isNaN(t))return"NaN";var r,i,o="auto";if(e&&(e.notation&&(o=e.notation),(0,n.Et)(e)?r=e:(0,n.Et)(e.precision)&&(r=e.precision),e.wordSize)&&"number"!=typeof(i=e.wordSize))throw Error('Option "wordSize" must be a number');switch(o){case"fixed":return d(t,r);case"exponential":return m(t,r);case"engineering":return function(t,e){if(isNaN(t)||!isFinite(t))return String(t);var r=g(p(t),e),i=r.exponent,o=r.coefficients,s=i%3==0?i:i<0?i-3-i%3:i-i%3;if((0,n.Et)(e))for(;e>o.length||i-s+1>o.length;)o.push(0);else for(var a=Math.abs(i-s)-(o.length-1),u=0;u<a;u++)o.push(0);for(var l=Math.abs(i-s),c=1;l>0;)c++,l--;var f=o.slice(c).join(""),h=(0,n.Et)(e)&&f.length||f.match(/[1-9]/)?"."+f:"",d=o.slice(0,c).join("")+h+"e"+(i>=0?"+":"")+s.toString();return r.sign+d}(t,r);case"bin":return f(t,2,i);case"oct":return f(t,8,i);case"hex":return f(t,16,i);case"auto":return(function(t,e,r){if(isNaN(t)||!isFinite(t))return String(t);var n=r&&void 0!==r.lowerExp?r.lowerExp:-3,i=r&&void 0!==r.upperExp?r.upperExp:5,o=p(t),s=e?g(o,e):o;if(s.exponent<n||s.exponent>=i)return m(t,e);var a=s.coefficients,u=s.exponent;a.length<e&&(a=a.concat(v(e-a.length))),a=a.concat(v(u-a.length+1+(a.length<e?e-a.length:0))),a=v(-u).concat(a);var l=u>0?u:0;return l<a.length-1&&a.splice(l+1,0,"."),s.sign+a.join("")})(t,r,e&&e).replace(/((\.\d*?)(0+))($|e)/,function(){var t=arguments[2],e=arguments[4];return"."!==t?t+e:e});default:throw Error('Unknown notation "'+o+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function p(t){var e=String(t).toLowerCase().match(/^(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!e)throw SyntaxError("Invalid number "+t);var r=e[1],n=e[2],i=parseFloat(e[4]||"0"),o=n.indexOf(".");i+=-1!==o?o-1:n.length-1;var s=n.replace(".","").replace(/^0*/,function(t){return i-=t.length,""}).replace(/0*$/,"").split("").map(function(t){return parseInt(t)});return 0===s.length&&(s.push(0),i++),{sign:r,coefficients:s,exponent:i}}function d(t,e){if(isNaN(t)||!isFinite(t))return String(t);var r=p(t),n="number"==typeof e?g(r,r.exponent+1+e):r,i=n.coefficients,o=n.exponent+1,s=o+(e||0);return i.length<s&&(i=i.concat(v(s-i.length))),o<0&&(i=v(-o+1).concat(i),o=1),o<i.length&&i.splice(o,0,0===o?"0.":"."),n.sign+i.join("")}function m(t,e){if(isNaN(t)||!isFinite(t))return String(t);var r=p(t),n=e?g(r,e):r,i=n.coefficients,o=n.exponent;i.length<e&&(i=i.concat(v(e-i.length)));var s=i.shift();return n.sign+s+(i.length>0?"."+i.join(""):"")+"e"+(o>=0?"+":"")+o}function g(t,e){for(var r={sign:t.sign,coefficients:t.coefficients,exponent:t.exponent},n=r.coefficients;e<=0;)n.unshift(0),r.exponent++,e++;if(n.length>e&&n.splice(e,n.length-e)[0]>=5){var i=e-1;for(n[i]++;10===n[i];)n.pop(),0===i&&(n.unshift(0),r.exponent++,i++),i--,n[i]++}return r}function v(t){for(var e=[],r=0;r<t;r++)e.push(0);return e}function y(t){return t.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length}var w=Number.EPSILON||2220446049250313e-31;function b(t,e,r){if(null==r)return t===e;if(t===e)return!0;if(isNaN(t)||isNaN(e))return!1;if(isFinite(t)&&isFinite(e)){var n=Math.abs(t-e);return n<w||n<=Math.max(Math.abs(t),Math.abs(e))*r}return!1}},32718(t,e,r){"use strict";r.d(e,{K:()=>l,Mx:()=>u,QO:()=>function t(e,r){var n,i,o;if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(i=0,o=e.length;i<o;i++)if(!t(e[i],r[i]))return!1;return!0}if("function"==typeof e)return e===r;if(!(e instanceof Object))return e===r;if(Array.isArray(r)||!(r instanceof Object))return!1;for(n in e)if(!(n in r)||!t(e[n],r[n]))return!1;for(n in r)if(!(n in e))return!1;return!0},RZ:()=>s,mQ:()=>a,o8:()=>function t(e){var r=typeof e;if("number"===r||"string"===r||"boolean"===r||null==e)return e;if("function"==typeof e.clone)return e.clone();if(Array.isArray(e))return e.map(function(e){return t(e)});if(e instanceof Date)return new Date(e.valueOf());if((0,n.C4)(e))return e;if(e instanceof RegExp)throw TypeError("Cannot clone "+e);return i(e,t)},rU:()=>o,s8:()=>i,zu:()=>c,zw:()=>function t(e,r){if(Array.isArray(r))throw TypeError("Arrays are not supported by deepExtend");for(var n in r)if(a(r,n)&&!(n in Object.prototype)&&!(n in Function.prototype))if(r[n]&&r[n].constructor===Object)void 0===e[n]&&(e[n]={}),e[n]&&e[n].constructor===Object?t(e[n],r[n]):e[n]=r[n];else if(Array.isArray(r[n]))throw TypeError("Arrays are not supported by deepExtend");else e[n]=r[n];return e}});var n=r(46797);function i(t,e){var r={};for(var n in t)a(t,n)&&(r[n]=e(t[n]));return r}function o(t){var e={};return function t(e,r){for(var n in e)if(a(e,n)){var i=e[n];"object"==typeof i&&null!==i?t(i,r):r[n]=i}}(t,e),e}function s(t,e,r){var n,i=!0;Object.defineProperty(t,e,{get:function(){return i&&(n=r(),i=!1),n},set:function(t){n=t,i=!1},configurable:!0,enumerable:!0})}function a(t,e){return t&&Object.hasOwnProperty.call(t,e)}function u(t){return t&&"function"==typeof t.factory}function l(t,e){for(var r={},n=0;n<e.length;n++){var i=e[n],o=t[i];void 0!==o&&(r[i]=o)}return r}function c(t){return Object.keys(t).map(e=>t[e])}},93988(t,e,r){"use strict";r.d(e,{GP:()=>function t(e,r){var a=function(e,r){var a;if("number"==typeof e)return(0,i.GP)(e,r);if((0,n.C4)(e))return function(t,e){if("function"==typeof e)return e(t);if(!t.isFinite())return t.isNaN()?"NaN":t.gt(0)?"Infinity":"-Infinity";var r="auto";if(void 0!==e&&(e.notation&&(r=e.notation),"number"==typeof e?p=e:e.precision&&(p=e.precision),e.wordSize)&&"number"!=typeof(d=e.wordSize))throw Error('Option "wordSize" must be a number');switch(r){case"fixed":return n=t,i=p,n.toFixed(i);case"exponential":return s(t,p);case"engineering":return a=t,u=p,c=(l=a.e)%3==0?l:l<0?l-3-l%3:l-l%3,-1!==(h=(f=a.mul(Math.pow(10,-c))).toPrecision(u)).indexOf("e")&&(h=f.toString()),h+"e"+(l>=0?"+":"")+c.toString();case"bin":return o(t,2,d);case"oct":return o(t,8,d);case"hex":return o(t,16,d);case"auto":var n,i,a,u,l,c,f,h,p,d,m=e&&void 0!==e.lowerExp?e.lowerExp:-3,g=e&&void 0!==e.upperExp?e.upperExp:5;if(t.isZero())return"0";var v=t.toSignificantDigits(p),y=v.e;return(y>=m&&y<g?v.toFixed():s(t,p)).replace(/((\.\d*?)(0+))($|e)/,function(){var t=arguments[2],e=arguments[4];return"."!==t?t+e:e});default:throw Error('Unknown notation "'+r+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}(e,r);if((a=e)&&"object"==typeof a&&"number"==typeof a.s&&"number"==typeof a.n&&"number"==typeof a.d)if(!r||"decimal"!==r.fraction)return e.s*e.n+"/"+e.d;else return e.toString();if(Array.isArray(e))return function e(r,n){if(!Array.isArray(r))return t(r,n);for(var i="[",o=r.length,s=0;s<o;s++)0!==s&&(i+=", "),i+=e(r[s],n);return i+"]"}(e,r);if((0,n.Kg)(e))return'"'+e+'"';if("function"==typeof e)return e.syntax?String(e.syntax):"function";if(e&&"object"==typeof e)if("function"==typeof e.format)return e.format(r);else return e&&e.toString(r)!==({}).toString()?e.toString(r):"{"+Object.keys(e).map(n=>'"'+n+'": '+t(e[n],r)).join(", ")+"}";return String(e)}(e,r);return r&&"object"==typeof r&&"truncate"in r&&a.length>r.truncate?a.substring(0,r.truncate-3)+"...":a}});var n=r(46797),i=r(55624);function o(t,e,r){var n=new t.constructor(2),o="";if(r){if(r<1)throw Error("size must be in greater than 0");if(!(0,i.YN)(r))throw Error("size must be an integer");if(t.greaterThan(n.pow(r-1).sub(1))||t.lessThan(n.pow(r-1).mul(-1)))throw Error("Value must be in range [-2^".concat(r-1,", 2^").concat(r-1,"-1]"));if(!t.isInteger())throw Error("Value must be an integer");t.lessThan(0)&&(t=t.add(n.pow(r))),o="i".concat(r)}switch(e){case 2:return"".concat(t.toBinary()).concat(o);case 8:return"".concat(t.toOctal()).concat(o);case 16:return"".concat(t.toHexadecimal()).concat(o);default:throw Error("Base ".concat(e," not supported "))}}function s(t,e){return void 0!==e?t.toExponential(e-1):t.toExponential()}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 6274.940dee19.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self["chunk_LogsTable "]=self["chunk_LogsTable "]||[]).push([["6274"],{67449(e,t,r){r.r(t),r.d(t,{ThemeProvider:()=>eo,keyframes:()=>ev,withEmotionCache:()=>en,useTheme:()=>es,Global:()=>ey,__unsafe_useEmotionCache:()=>er,CacheProvider:()=>et,withTheme:()=>ei,ClassNames:()=>e$,ThemeContext:()=>ea,createElement:()=>ed,css:()=>em,jsx:()=>ed});var n,a,s=r(70451),c=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,u=Object.assign;function l(e,t,r){return e.replace(t,r)}function f(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function d(e){return e.length}function y(e,t){return t.push(e),e}var m=1,v=1,g=0,b=0,$=0,k="";function w(e,t,r,n,a,s,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:m,column:v,length:c,return:""}}function S(e,t){return u(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function x(){return $=b<g?p(k,b++):0,v++,10===$&&(v=1,m++),$}function C(){return p(k,b)}function E(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return m=v=1,g=d(k=e),b=0,[]}function A(e){var t,r;return(t=b-1,r=function e(t){for(;x();)switch($){case t:return b;case 34:case 39:34!==t&&39!==t&&e($);break;case 40:41===t&&e(t);break;case 92:x()}return b}(91===e?e+2:40===e?e+1:e),h(k,t,r)).trim()}var _="-ms-",T="-moz-",O="-webkit-",N="comm",M="rule",j="decl",F="@keyframes";function R(e,t){for(var r="",n=e.length,a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case j:return e.return=e.return||e.value;case N:return"";case F:return e.return=e.value+"{"+R(e.children,n)+"}";case M:e.value=e.props.join(",")}return d(r=R(e.children,n))?e.return=e.value+"{"+r+"}":""}function L(e,t,r,n,a,s,c,i,u,f,p){for(var d=a-1,y=0===a?s:[""],m=y.length,v=0,g=0,b=0;v<n;++v)for(var $=0,k=h(e,d+1,d=o(g=c[v])),S=e;$<m;++$)(S=(g>0?y[$]+" "+k:l(k,/&\f/g,y[$])).trim())&&(u[b++]=S);return w(e,t,r,0===a?M:i,u,f,p)}function J(e,t,r,n){return w(e,t,r,j,h(e,0,n),h(e,n+1,-1),n)}var D=function(e,t,r){for(var n=0,a=0;n=a,a=C(),38===n&&12===a&&(t[r]=1),!E(a);)x();return h(k,e,b)},q=function(e,t){var r=-1,n=44;do switch(E(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=D(b-1,t,r);break;case 2:e[r]+=A(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=x());return e},I=function(e,t){var r;return r=q(P(e),t),k="",r},W=new WeakMap,X=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||W.get(r))&&!n){W.set(e,!0);for(var a=[],s=I(t,a),c=r.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},B=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},G=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case j:e.return=function e(t,r){switch(45^p(t,0)?(((r<<2^p(t,0))<<2^p(t,1))<<2^p(t,2))<<2^p(t,3):0){case 5103:return O+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return O+t+T+t+_+t+t;case 6828:case 4268:return O+t+_+t+t;case 6165:return O+t+_+"flex-"+t+t;case 5187:return O+t+l(t,/(\w+).+(:[^]+)/,O+"box-$1$2"+_+"flex-$1$2")+t;case 5443:return O+t+_+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return O+t+_+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return O+t+_+l(t,"shrink","negative")+t;case 5292:return O+t+_+l(t,"basis","preferred-size")+t;case 6060:return O+"box-"+l(t,"-grow","")+O+t+_+l(t,"grow","positive")+t;case 4554:return O+l(t,/([^-])(transform)/g,"$1"+O+"$2")+t;case 6187:return l(l(l(t,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+_+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,O+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-r>6)switch(p(t,r+1)){case 109:if(45!==p(t,r+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+T+(108==p(t,r+3)?"$3":"$2-$3"))+t;case 115:return~f(t,"stretch")?e(l(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==p(t,r+1))break;case 6444:switch(p(t,d(t)-3-(~f(t,"!important")&&10))){case 107:return l(t,":",":"+O)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(45===p(t,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+_+"$2box$3")+t}break;case 5936:switch(p(t,r+11)){case 114:return O+t+_+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return O+t+_+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return O+t+_+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return O+t+_+t+t}return t}(e.value,e.length);break;case F:return R([S(e,{value:l(e.value,"@","@"+O)})],n);case M:if(e.length){var a,s;return a=e.props,s=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return R([S(e,{props:[l(t,/:(read-\w+)/,":"+T+"$1")]})],n);case"::placeholder":return R([S(e,{props:[l(t,/:(plac\w+)/,":"+O+"input-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,":"+T+"$1")]}),S(e,{props:[l(t,/:(plac\w+)/,_+"input-$1")]})],n)}return""},a.map(s).join("")}}}],H=r(68102),U=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},V=r(58486),Y=r.n(V),K=r(309),Q=r(37696),Z=r(60755),ee=s.createContext("u">typeof HTMLElement?function(e){var t,r,n,a,s,o=e.key;if("css"===o){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var g=e.stylisPlugins||G,S={},_=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)S[t[r]]=!0;_.push(e)});var T=(r=(t=[X,B].concat(g,[z,(n=function(e){s.insert(e)},function(e){!e.root&&(e=e.return)&&n(e)})])).length,function(e,n,a,s){for(var c="",o=0;o<r;o++)c+=t[o](e,n,a,s)||"";return c}),O=function(e){var t,r;return R((r=function e(t,r,n,a,s,c,o,u,g){for(var S,P=0,_=0,T=o,O=0,M=0,j=0,F=1,R=1,z=1,D=0,q="",I=s,W=c,X=a,B=q;R;)switch(j=D,D=x()){case 40:if(108!=j&&58==p(B,T-1)){-1!=f(B+=l(A(D),"&","&\f"),"&\f")&&(z=-1);break}case 34:case 39:case 91:B+=A(D);break;case 9:case 10:case 13:case 32:B+=function(e){for(;$=C();)if($<33)x();else break;return E(e)>2||E($)>3?"":" "}(j);break;case 92:B+=function(e,t){for(var r;--t&&x()&&!($<48)&&!($>102)&&(!($>57)||!($<65))&&(!($>70)||!($<97)););return r=b+(t<6&&32==C()&&32==x()),h(k,e,r)}(b-1,7);continue;case 47:switch(C()){case 42:case 47:y((S=function(e,t){for(;x();)if(e+$===57)break;else if(e+$===84&&47===C())break;return"/*"+h(k,t,b-1)+"*"+i(47===e?e:x())}(x(),b),w(S,r,n,N,i($),h(S,2,-2),0)),g);break;default:B+="/"}break;case 123*F:u[P++]=d(B)*z;case 125*F:case 59:case 0:switch(D){case 0:case 125:R=0;case 59+_:-1==z&&(B=l(B,/\f/g,"")),M>0&&d(B)-T&&y(M>32?J(B+";",a,n,T-1):J(l(B," ","")+";",a,n,T-2),g);break;case 59:B+=";";default:if(y(X=L(B,r,n,P,_,s,u,q,I=[],W=[],T),c),123===D)if(0===_)e(B,r,X,X,I,c,T,u,W);else switch(99===O&&110===p(B,3)?100:O){case 100:case 108:case 109:case 115:e(t,X,X,a&&y(L(t,X,X,0,0,s,u,q,s,I=[],T),W),s,W,T,u,a?I:W);break;default:e(B,X,X,X,[""],W,0,u,W)}}P=_=M=0,F=z=1,q=B="",T=o;break;case 58:T=1+d(B),M=j;default:if(F<1){if(123==D)--F;else if(125==D&&0==F++&&125==($=b>0?p(k,--b):0,v--,10===$&&(v=1,m--),$))continue}switch(B+=i(D),D*F){case 38:z=_>0?1:(B+="\f",-1);break;case 44:u[P++]=(d(B)-1)*z,z=1;break;case 64:45===C()&&(B+=A(x())),O=C(),_=T=d(q=B+=function(e){for(;!E(C());)x();return h(k,e,b)}(b)),D++;break;case 45:45===j&&2==d(B)&&(F=0)}}return c}("",null,null,null,[""],t=P(t=e),0,[0],t),k="",r),T)},M={key:o,sheet:new c({key:o,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:S,registered:{},insert:function(e,t,r,n){s=r,O(e?e+"{"+t.styles+"}":t.styles),n&&(M.inserted[t.name]=!0)}};return M.sheet.hydrate(_),M}({key:"css"}):null),et=ee.Provider,er=function(){return(0,s.useContext)(ee)},en=function(e){return(0,s.forwardRef)(function(t,r){return e(t,(0,s.useContext)(ee),r)})},ea=s.createContext({}),es=function(){return s.useContext(ea)},ec=U(function(e){return U(function(t){return"function"==typeof t?t(e):(0,H.A)({},e,t)})}),eo=function(e){var t=s.useContext(ea);return e.theme!==t&&(t=ec(t)(e.theme)),s.createElement(ea.Provider,{value:t},e.children)};function ei(e){var t=e.displayName||e.name||"Component",r=s.forwardRef(function(t,r){var n=s.useContext(ea);return s.createElement(e,(0,H.A)({theme:n,ref:r},t))});return r.displayName="WithTheme("+t+")",Y()(r,e)}var eu={}.hasOwnProperty,el="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ef=function(e,t){var r={};for(var n in t)eu.call(t,n)&&(r[n]=t[n]);return r[el]=e,r},ep=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,K.SF)(t,r,n),(0,Z.s)(function(){return(0,K.sk)(t,r,n)}),null},eh=en(function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[el],c=[n],o="";"string"==typeof e.className?o=(0,K.Rk)(t.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=(0,Q.J)(c,void 0,s.useContext(ea));o+=t.key+"-"+i.name;var u={};for(var l in e)eu.call(e,l)&&"css"!==l&&l!==el&&(u[l]=e[l]);return u.className=o,r&&(u.ref=r),s.createElement(s.Fragment,null,s.createElement(ep,{cache:t,serialized:i,isStringTag:"string"==typeof a}),s.createElement(a,u))}),ed=function(e,t){var r=arguments;if(null==t||!eu.call(t,"css"))return s.createElement.apply(void 0,r);var n=r.length,a=Array(n);a[0]=eh,a[1]=ef(e,t);for(var c=2;c<n;c++)a[c]=r[c];return s.createElement.apply(null,a)};n=ed||(ed={}),a||(a=n.JSX||(n.JSX={}));var ey=en(function(e,t){var r=e.styles,n=(0,Q.J)([r],void 0,s.useContext(ea)),a=s.useRef();return(0,Z.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==c&&(s=!0,c.setAttribute("data-emotion",e),r.hydrate([c])),a.current=[r,s],function(){r.flush()}},[t]),(0,Z.i)(function(){var e=a.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==n.next&&(0,K.sk)(t,n.next,!0),r.tags.length){var s=r.tags[r.tags.length-1].nextElementSibling;r.before=s,r.flush()}t.insert("",n,r,!1)},[t,n.name]),null});function em(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,Q.J)(t)}function ev(){var e=em.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var eg=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var s=t[n];if(null!=s){var c=void 0;switch(typeof s){case"boolean":break;case"object":if(Array.isArray(s))c=e(s);else for(var o in c="",s)s[o]&&o&&(c&&(c+=" "),c+=o);break;default:c=s}c&&(a&&(a+=" "),a+=c)}}return a},eb=function(e){var t=e.cache,r=e.serializedArr;return(0,Z.s)(function(){for(var e=0;e<r.length;e++)(0,K.sk)(t,r[e],!1)}),null},e$=en(function(e,t){var r=!1,n=[],a=function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];var s=(0,Q.J)(r,t.registered);return n.push(s),(0,K.SF)(t,s,!1),t.key+"-"+s.name},c={css:a,cx:function(){for(var e,r,n,s,c=arguments.length,o=Array(c),i=0;i<c;i++)o[i]=arguments[i];return e=t.registered,r=eg(o),n=[],s=(0,K.Rk)(e,n,r),n.length<2?r:s+a(n)},theme:s.useContext(ea)},o=e.children(c);return r=!0,s.createElement(s.Fragment,null,s.createElement(eb,{cache:t,serializedArr:n}),o)})},60755(e,t,r){r.d(t,{i:()=>c,s:()=>s});var n=r(70451),a=!!n.useInsertionEffect&&n.useInsertionEffect,s=a||function(e){return e()},c=a||n.useLayoutEffect},309(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{Rk:()=>n,SF:()=>a,sk:()=>s});var a=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},s=function(e,t,r){a(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do e.insert(t===s?"."+n:"",s,e.sheet,!0),s=s.next;while(void 0!==s)}}},58486(e,t,r){var n=r(89360),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(e){return n.isMemo(e)?c:o[e.$$typeof]||a}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=c;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var a=h(r);a&&a!==d&&e(t,a,n)}var c=l(r);f&&(c=c.concat(f(r)));for(var o=i(t),y=i(r),m=0;m<c.length;++m){var v=c[m];if(!s[v]&&!(n&&n[v])&&!(y&&y[v])&&!(o&&o[v])){var g=p(r,v);try{u(t,v,g)}catch(e){}}}}return t}},92332(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,$=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case f:case s:case o:case c:case h:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case y:case i:return e;default:return t}}case a:return t}}}function w(e){return k(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=i,t.Element=n,t.ForwardRef=p,t.Fragment=s,t.Lazy=m,t.Memo=y,t.Portal=a,t.Profiler=o,t.StrictMode=c,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||k(e)===l},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===s},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===y},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===o},t.isStrictMode=function(e){return k(e)===c},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===f||e===o||e===c||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===i||e.$$typeof===u||e.$$typeof===p||e.$$typeof===g||e.$$typeof===b||e.$$typeof===$||e.$$typeof===v)},t.typeOf=k},89360(e,t,r){e.exports=r(92332)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["chunk_LogsTable "]=self["chunk_LogsTable "]||[]).push([["6458"],{85180(e,n,r){r.r(n),r.d(n,{default:()=>c});var t=r(70451);function u(e,n,r){return e[n]?e[n][0]?e[n][0][r]:e[n][r]:"contentBoxSize"===n?e.contentRect["inlineSize"===r?"width":"height"]:void 0}function c(e){void 0===e&&(e={});var n,r,c,i,o,s,l=e.onResize,f=(0,t.useRef)(void 0);f.current=l;var h=e.round||Math.round,d=(0,t.useRef)(),a=(0,t.useState)({width:void 0,height:void 0}),b=a[0],v=a[1],x=(0,t.useRef)(!1);(0,t.useEffect)(function(){return x.current=!1,function(){x.current=!0}},[]);var g=(0,t.useRef)({width:void 0,height:void 0}),w=(n=(0,t.useCallback)(function(n){return d.current&&d.current.box===e.box&&d.current.round===h||(d.current={box:e.box,round:h,instance:new ResizeObserver(function(n){var r=n[0],t="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",c=u(r,t,"inlineSize"),i=u(r,t,"blockSize"),o=c?h(c):void 0,s=i?h(i):void 0;if(g.current.width!==o||g.current.height!==s){var l={width:o,height:s};g.current.width=o,g.current.height=s,f.current?f.current(l):x.current||v(l)}})}),d.current.instance.observe(n,{box:e.box}),function(){d.current&&d.current.instance.unobserve(n)}},[e.box,h]),r=e.ref,c=(0,t.useRef)(null),(i=(0,t.useRef)(null)).current=r,o=(0,t.useRef)(null),(0,t.useEffect)(function(){s()}),s=(0,t.useCallback)(function(){var e=o.current,r=i.current,t=e||(r?r instanceof Element?r:r.current:null);c.current&&c.current.element===t&&c.current.subscriber===n||(c.current&&c.current.cleanup&&c.current.cleanup(),c.current={element:t,subscriber:n,cleanup:t?n(t):void 0})},[n]),(0,t.useEffect)(function(){return function(){c.current&&c.current.cleanup&&(c.current.cleanup(),c.current=null)}},[]),(0,t.useCallback)(function(e){o.current=e,s()},[s]));return(0,t.useMemo)(function(){return{ref:w,width:b.width,height:b.height}},[w,b.width,b.height])}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["chunk_LogsTable "]=self["chunk_LogsTable "]||[]).push([["7177"],{23712(){}}]);
|