@arcgis/charts-components 4.34.0-next.140 → 4.34.0-next.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{QG4OIJVH.js → 25GEW6NE.js} +2 -2
- package/dist/cdn/{3PGV6WZ7.js → 2ANVMV6D.js} +2 -2
- package/dist/cdn/{D3Z7GV4D.js → 2G25A3QA.js} +2 -2
- package/dist/cdn/{4D3YHU35.js → 2HPRLYWX.js} +2 -2
- package/dist/cdn/{IVJW6PZS.js → 2IM2HTSE.js} +2 -2
- package/dist/cdn/{BD5LIRUG.js → 2ITCGPIY.js} +2 -2
- package/dist/cdn/{KHJJFCOK.js → 2K3K5MH5.js} +2 -2
- package/dist/cdn/{KZMHB2FD.js → 2SESEFCH.js} +2 -2
- package/dist/cdn/{XV773RD5.js → 32WTDHJV.js} +2 -2
- package/dist/cdn/{7C4YSZP6.js → 3V3P3WDO.js} +2 -2
- package/dist/cdn/{XWJSMDDP.js → 45VOMRAM.js} +2 -2
- package/dist/cdn/{RP23W6ZJ.js → 4AVQKAIL.js} +2 -2
- package/dist/cdn/{AGVGOZUT.js → 4CPCHUKN.js} +2 -2
- package/dist/cdn/{G7RFFXEL.js → 4E2Y2BIG.js} +2 -2
- package/dist/cdn/{GAE7WNXB.js → 4JNZ6PXG.js} +2 -2
- package/dist/cdn/{UJ3B4KWT.js → 4ZGTWTZN.js} +2 -2
- package/dist/cdn/{3RMNX5OE.js → 5AEK7BD7.js} +2 -2
- package/dist/cdn/{KIQTEBWV.js → 5IQP3K3O.js} +2 -2
- package/dist/cdn/{ONT7RJZ3.js → 5KHI2IV3.js} +2 -2
- package/dist/cdn/{UTEH5GET.js → 5X62346I.js} +2 -2
- package/dist/cdn/{QEQEHI3T.js → 6G6CZXJT.js} +2 -2
- package/dist/cdn/{AE3RMXOG.js → 6HRX7ISE.js} +2 -2
- package/dist/cdn/{6EHITSKL.js → 6QM47ABB.js} +2 -2
- package/dist/cdn/{JCYU4EMX.js → 6UVBQF2N.js} +2 -2
- package/dist/cdn/{J6T6AA5B.js → 6UVVRH2Q.js} +2 -2
- package/dist/cdn/{VS4PTAX7.js → 6VBYFOB3.js} +2 -2
- package/dist/cdn/{7K226QQ2.js → 7BV4UPBJ.js} +2 -2
- package/dist/cdn/{AW74TLRN.js → 7UM2QM5C.js} +2 -2
- package/dist/cdn/{XFXARLR4.js → 7V5BAGW6.js} +2 -2
- package/dist/cdn/{SRBQGZRH.js → A27LIBVO.js} +2 -2
- package/dist/cdn/{TEGUF5RG.js → A3AS74X2.js} +1 -1
- package/dist/cdn/{QGFYANIZ.js → AJ3VGUC7.js} +2 -2
- package/dist/cdn/{IS5ENQEA.js → AXBERCQX.js} +1 -1
- package/dist/cdn/{ANQPRITQ.js → B3WCL2RF.js} +2 -2
- package/dist/cdn/{D24V43PO.js → BDQVET3Y.js} +2 -2
- package/dist/cdn/{47ICDTNQ.js → BDSIRWPW.js} +2 -2
- package/dist/cdn/{6ECIFRN2.js → BIVUYEQS.js} +2 -2
- package/dist/cdn/{2WKN7CDB.js → BKHZOZUN.js} +2 -2
- package/dist/cdn/{YBKQJTUT.js → BKY6HJ2A.js} +2 -2
- package/dist/cdn/{SCMSZLCQ.js → BNCPYPO4.js} +2 -2
- package/dist/cdn/{LFHYEWGA.js → BUSHRUK5.js} +2 -2
- package/dist/cdn/{SXWAFLBE.js → BUXHF7JZ.js} +2 -2
- package/dist/cdn/{IP2EYZIV.js → BWVYUXHU.js} +2 -2
- package/dist/cdn/{JACJVZRP.js → C2RQCDZI.js} +2 -2
- package/dist/cdn/{IKGOIFGA.js → C72ZXTKO.js} +2 -2
- package/dist/cdn/{MMSM77HZ.js → CCGL4BTR.js} +2 -2
- package/dist/cdn/{SSCOVBQL.js → CK2ST5HA.js} +2 -2
- package/dist/cdn/{EFMGORPW.js → CWGPLHBO.js} +2 -2
- package/dist/cdn/{ELUNJ2T7.js → D6KUZQDE.js} +2 -2
- package/dist/cdn/{DO3MFDWS.js → DOKRNRNV.js} +2 -2
- package/dist/cdn/{YA6EKA3B.js → DU6B4YFO.js} +1 -1
- package/dist/cdn/{DAZ6RTMU.js → EMMBGTXG.js} +2 -2
- package/dist/cdn/{5FU2ZKOS.js → EOS32NLK.js} +2 -2
- package/dist/cdn/{FFPMQIA3.js → F67J6QGU.js} +2 -2
- package/dist/cdn/{X5DWOALZ.js → FFKFBICZ.js} +2 -2
- package/dist/cdn/{UK2JWTFS.js → FKIB464H.js} +2 -2
- package/dist/cdn/{TPMZEISU.js → FQWZZW7B.js} +1 -1
- package/dist/cdn/{M7W5JD6Q.js → FXBN362H.js} +2 -2
- package/dist/cdn/{ZXSR7UKS.js → FXJPNW2X.js} +2 -2
- package/dist/cdn/{2YBUXHP7.js → FXOAIE77.js} +2 -2
- package/dist/cdn/{EYTGV6EP.js → FYJBWI3W.js} +2 -2
- package/dist/cdn/{SYWHCPN4.js → FYPHTJDG.js} +2 -2
- package/dist/cdn/{PP6JLRQY.js → GEF364YZ.js} +2 -2
- package/dist/cdn/{BO4PC6EB.js → GGQORSJO.js} +2 -2
- package/dist/cdn/{ZGLQDSCQ.js → H2XTFWDF.js} +2 -2
- package/dist/cdn/{KZJNYOJ5.js → HDUUEU5A.js} +2 -2
- package/dist/cdn/{HH2XUXFG.js → HEY72GFW.js} +1 -1
- package/dist/cdn/{Y64337V3.js → HTQR2XNZ.js} +2 -2
- package/dist/cdn/{FH42CMBH.js → HUID3T4Q.js} +2 -2
- package/dist/cdn/{YXEQBNBM.js → I3JCQUVZ.js} +2 -2
- package/dist/cdn/{UX3KIHU5.js → IA6QL63S.js} +2 -2
- package/dist/cdn/{4DHYJNQV.js → ICFNCHVX.js} +2 -2
- package/dist/cdn/{2IJ37NEN.js → IECIRQ6O.js} +2 -2
- package/dist/cdn/{ICH63AXF.js → IRO3ZG66.js} +2 -2
- package/dist/cdn/{F2ICAKSS.js → ISDSAFJS.js} +2 -2
- package/dist/cdn/{5Z6KVUD5.js → ITYHMXBD.js} +2 -2
- package/dist/cdn/{GHDHFHSJ.js → IUDJVWHQ.js} +2 -2
- package/dist/cdn/{ZFUQSPOV.js → IWGGUORQ.js} +2 -2
- package/dist/cdn/{55UTU2YV.js → IXZTLHMK.js} +2 -2
- package/dist/cdn/{C7ND6WKW.js → IZIIQRYW.js} +2 -2
- package/dist/cdn/{SGSKNQLM.js → JF3EDWHN.js} +2 -2
- package/dist/cdn/{ELTK2AGS.js → JLKM3HUU.js} +2 -2
- package/dist/cdn/{OWU4Y4YU.js → JQE62N64.js} +1 -1
- package/dist/cdn/{MCDZXER5.js → JQECSEAU.js} +10 -10
- package/dist/cdn/{IWWV5HMH.js → K3OJHBYP.js} +2 -2
- package/dist/cdn/{5LDCOGT2.js → K3PAHXMA.js} +2 -2
- package/dist/cdn/{K7AU2VBF.js → K5M7QNES.js} +2 -2
- package/dist/cdn/{H5OBE3OC.js → KY7RUQ64.js} +2 -2
- package/dist/cdn/{TA6WAS3V.js → KYI6IVTD.js} +2 -2
- package/dist/cdn/{TD6G5RXK.js → L44BSTBV.js} +2 -2
- package/dist/cdn/{NXB4R6QF.js → L7NEHANE.js} +2 -2
- package/dist/cdn/{5TTY37US.js → LD3EFKD2.js} +2 -2
- package/dist/cdn/{2HGFT4IH.js → LEXHRATX.js} +2 -2
- package/dist/cdn/{EBOAZ4U2.js → LFUDSJMK.js} +2 -2
- package/dist/cdn/{OHWI57MS.js → LJIUOK56.js} +2 -2
- package/dist/cdn/{XPTEQWEM.js → LR25PBXF.js} +2 -2
- package/dist/cdn/{5373G5JN.js → LX54RJ62.js} +2 -2
- package/dist/cdn/{LBDTMEQQ.js → LYOUJX3G.js} +2 -2
- package/dist/cdn/{2PZ7273W.js → M3YVRGJ4.js} +2 -2
- package/dist/cdn/{MMEOGQS7.js → MRFM24KT.js} +2 -2
- package/dist/cdn/{BVD5CYWY.js → N2OEM76I.js} +2 -2
- package/dist/cdn/{XVO2A2OB.js → NJEKREZ7.js} +2 -2
- package/dist/cdn/{7STXONF7.js → NMOMSPHP.js} +2 -2
- package/dist/cdn/{ETJ3455C.js → NX5JPPZY.js} +2 -2
- package/dist/cdn/{SETU4FYM.js → OFXR4HCP.js} +2 -2
- package/dist/cdn/{IM5O3XD5.js → OMDALIWB.js} +2 -2
- package/dist/cdn/{PVRZYC2K.js → ONERQRVY.js} +2 -2
- package/dist/cdn/{V4JWBQVX.js → OQBDZQXQ.js} +2 -2
- package/dist/cdn/{LHG4AOSD.js → OQKREWR6.js} +2 -2
- package/dist/cdn/{4TW2WMSZ.js → OSLZCSUP.js} +2 -2
- package/dist/cdn/{D42SAEVR.js → OTNJTF2I.js} +2 -2
- package/dist/cdn/{TGR6RXAI.js → P66NRJ4E.js} +2 -2
- package/dist/cdn/{XJGOULBT.js → PGWJFVFS.js} +2 -2
- package/dist/cdn/{JJLHHYOR.js → PL5PWWIA.js} +2 -2
- package/dist/cdn/{ZBT5TUSQ.js → PLNR6RYO.js} +2 -2
- package/dist/cdn/{T37D2AWR.js → PNZEAROD.js} +2 -2
- package/dist/cdn/{AOV44CHA.js → PUJWL5ZS.js} +2 -2
- package/dist/cdn/{O5YH4IOX.js → PW2UIMX7.js} +2 -2
- package/dist/cdn/{7GAGEDBX.js → Q3UU6TPH.js} +2 -2
- package/dist/cdn/{OK762CWL.js → QGAWAYOO.js} +2 -2
- package/dist/cdn/{GCZBN2MC.js → QM34HTYR.js} +2 -2
- package/dist/cdn/{CYVJO7QT.js → QPKBEQ6E.js} +2 -2
- package/dist/cdn/{OLCYYOAS.js → QV5GZWKW.js} +2 -2
- package/dist/cdn/{NMN5LHOM.js → R2BT4X5U.js} +2 -2
- package/dist/cdn/{7DFYTGIA.js → R6IOVFXZ.js} +2 -2
- package/dist/cdn/{W4WDI472.js → RALLQ5TP.js} +2 -2
- package/dist/cdn/{HX5RYNN4.js → RDKIDYXY.js} +2 -2
- package/dist/cdn/{B2J23Q7P.js → RF6WSBHG.js} +2 -2
- package/dist/cdn/{I36R2TUQ.js → RFZUXU4W.js} +1 -1
- package/dist/cdn/{S4VAVIYB.js → RH2JK5VB.js} +2 -2
- package/dist/cdn/{GY44KIRV.js → RJDHGWZF.js} +2 -2
- package/dist/cdn/{PAYPXYKJ.js → RMVF2EB7.js} +2 -2
- package/dist/cdn/{KJFTJQUK.js → RNCBXUCQ.js} +2 -2
- package/dist/cdn/{S3JAVZAI.js → RY7UIBTO.js} +2 -2
- package/dist/cdn/{3WGWZRJO.js → S2FI3DXC.js} +2 -2
- package/dist/cdn/{5IGFYW5C.js → S6FSW5BY.js} +2 -2
- package/dist/cdn/{LT4SYNDC.js → SD3RGLHI.js} +2 -2
- package/dist/cdn/{TODZDMMR.js → SOFZLGIF.js} +2 -2
- package/dist/cdn/{55KFDV25.js → SPTEILAX.js} +2 -2
- package/dist/cdn/{JCPYC7MU.js → SQHK5QIZ.js} +2 -2
- package/dist/cdn/{3COZD3V7.js → SV22W6AC.js} +2 -2
- package/dist/cdn/{2QWQ4OO6.js → SZYALN76.js} +1 -1
- package/dist/cdn/{M52GHHNZ.js → T4K26RPW.js} +2 -2
- package/dist/cdn/{SN3XD3JC.js → T6OCVJ2S.js} +2 -2
- package/dist/cdn/{NCWTKMDS.js → TBBKIV5V.js} +2 -2
- package/dist/cdn/{KVAJMF6P.js → TGBR4CIO.js} +2 -2
- package/dist/cdn/{K6DLRW7V.js → TIR7SJCN.js} +2 -2
- package/dist/cdn/{SWDSCLS3.js → TLQPERBZ.js} +2 -2
- package/dist/cdn/{R6WVH3C2.js → TU5ZGCNX.js} +2 -2
- package/dist/cdn/{FBVABGHC.js → U2NNEZ7L.js} +2 -2
- package/dist/cdn/{2D35OBP5.js → UD6X7PZM.js} +2 -2
- package/dist/cdn/{HB7ARBKO.js → UHZ3QVOM.js} +2 -2
- package/dist/cdn/{QBVRWEY3.js → UMKC7ISM.js} +2 -2
- package/dist/cdn/{QBTW2J3G.js → UPSO7Y5L.js} +2 -2
- package/dist/cdn/{ODSNMPA6.js → UWGKEJY2.js} +2 -2
- package/dist/cdn/{KBUOMOPL.js → UYGW4DEM.js} +2 -2
- package/dist/cdn/{NAI2FCRE.js → VZKZKSXL.js} +2 -2
- package/dist/cdn/{UFMXWZRQ.js → W5TAEYXR.js} +2 -2
- package/dist/cdn/{PTEUABHI.js → WEJ4N7K4.js} +2 -2
- package/dist/cdn/{3LQXHCN4.js → WHTHFRGI.js} +2 -2
- package/dist/cdn/{QT2UDODS.js → WV4BV5C5.js} +1 -1
- package/dist/cdn/{6B5KKZTP.js → X2WO4BRB.js} +2 -2
- package/dist/cdn/{HDOHJONB.js → XIMHJK6E.js} +1 -1
- package/dist/cdn/{SHQDGSG3.js → XNHQVDR6.js} +2 -2
- package/dist/cdn/{KQSN4WWO.js → XSLZJPOC.js} +2 -2
- package/dist/cdn/{ESYBFKKQ.js → XX7RCQWQ.js} +2 -2
- package/dist/cdn/{DEKTJ4LM.js → XXCIZ3KV.js} +2 -2
- package/dist/cdn/{PU5ELCMY.js → Y4K3CSNK.js} +2 -2
- package/dist/cdn/{HWHN2FU5.js → Y7MJCEGF.js} +2 -2
- package/dist/cdn/{B5E6DM2L.js → YC2RL6CV.js} +2 -2
- package/dist/cdn/{ZJ2W6YUR.js → YFBKDK6E.js} +2 -2
- package/dist/cdn/{2V3INN4M.js → YFMHX76Y.js} +2 -2
- package/dist/cdn/{TC55NI6T.js → YJ6P4MDL.js} +2 -2
- package/dist/cdn/{HSOVMIJY.js → Z44G5QWL.js} +2 -2
- package/dist/cdn/{FZKTPLSP.js → ZG3BCJ7P.js} +2 -2
- package/dist/cdn/{M4UPNZ3Z.js → ZHHABKJS.js} +2 -2
- package/dist/cdn/{4ZK26YV4.js → ZNSS2AZV.js} +2 -2
- package/dist/cdn/{NQBYVGJS.js → ZS5EATJF.js} +2 -2
- package/dist/cdn/{VOIOH2BW.js → ZZPTMSTP.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/chart-library-elements/cursor/index.d.ts +1 -1
- package/dist/chart-rendering/next/selection/index.d.ts +11 -3
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/events.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +1058 -1061
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as rr,b as nr,g as sr}from"./UFMXWZRQ.js";import a from"./R6WVH3C2.js";import{f as y,i as B}from"./OWU4Y4YU.js";import{d as zt}from"./HDOHJONB.js";import{a as O,b as ne,d as At,h as V,k as H,p as Qe,q as Ke,v as W,w as j}from"./YA6EKA3B.js";export default $arcgis.t(([{$a:ve,$b:er,A:Pt,Fa:T,Mb:_t,Sa:Xe,a:jt,b:Ie,db:_e,dc:tr,eb:Rt,fb:Gt,ia:Ht,ib:Jt,jb:Qt,mb:ke,ob:Kt,qc:Y,rb:Xt,rc:et,ya:Yt,z:Ut}])=>{var P=class extends Error{},ct=class extends P{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},dt=class extends P{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},ht=class extends P{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},J=class extends P{},qe=class extends P{constructor(e){super(`Invalid unit ${e}`)}},M=class extends P{},z=class extends P{constructor(){super("Zone is an abstract class")}},c="numeric",A="short",I="long",Ae={year:c,month:c,day:c},tn={year:c,month:A,day:c},us={year:c,month:A,day:c,weekday:A},rn={year:c,month:I,day:c},nn={year:c,month:I,day:c,weekday:I},sn={hour:c,minute:c},on={hour:c,minute:c,second:c},an={hour:c,minute:c,second:c,timeZoneName:A},un={hour:c,minute:c,second:c,timeZoneName:I},ln={hour:c,minute:c,hourCycle:"h23"},cn={hour:c,minute:c,second:c,hourCycle:"h23"},dn={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:A},hn={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:I},mn={year:c,month:c,day:c,hour:c,minute:c},fn={year:c,month:c,day:c,hour:c,minute:c,second:c},yn={year:c,month:A,day:c,hour:c,minute:c},gn={year:c,month:A,day:c,hour:c,minute:c,second:c},ls={year:c,month:A,day:c,weekday:A,hour:c,minute:c},pn={year:c,month:I,day:c,hour:c,minute:c,timeZoneName:A},wn={year:c,month:I,day:c,hour:c,minute:c,second:c,timeZoneName:A},vn={year:c,month:I,day:c,weekday:I,hour:c,minute:c,timeZoneName:I},kn={year:c,month:I,day:c,weekday:I,hour:c,minute:c,second:c,timeZoneName:I},te=class{get type(){throw new z}get name(){throw new z}get ianaName(){return this.name}get isUniversal(){throw new z}offsetName(e,r){throw new z}formatOffset(e,r){throw new z}offset(e){throw new z}equals(e){throw new z}get isValid(){throw new z}},tt=null,ze=class t extends te{static get instance(){return tt===null&&(tt=new t),tt}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Vn(e,r,n)}formatOffset(e,r){return Te(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},mt=new Map;function cs(t){let e=mt.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),mt.set(t,e)),e}var ds={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hs(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,i,o,a,u,l,d]=n;return[o,s,i,a,u,l,d]}function ms(t,e){let r=t.formatToParts(e),n=[];for(let s=0;s<r.length;s++){let{type:i,value:o}=r[s],a=ds[i];i==="era"?n[a]=o:f(a)||(n[a]=parseInt(o,10))}return n}var rt=new Map,K=class t extends te{static create(e){let r=rt.get(e);return r===void 0&&rt.set(e,r=new t(e)),r}static resetCache(){rt.clear(),mt.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Vn(e,r,n,this.name)}formatOffset(e,r){return Te(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=cs(this.name),[s,i,o,a,u,l,d]=n.formatToParts?ms(n,r):hs(n,r);a==="BC"&&(s=-Math.abs(s)+1);let h=Re({year:s,month:i,day:o,hour:u===24?0:u,minute:l,second:d,millisecond:0}),g=+r,m=g%1e3;return g-=m>=0?m:1e3+m,(h-g)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},ir={};function fs(t,e={}){let r=JSON.stringify([t,e]),n=ir[r];return n||(n=new Intl.ListFormat(t,e),ir[r]=n),n}var ft=new Map;function yt(t,e={}){let r=JSON.stringify([t,e]),n=ft.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),ft.set(r,n)),n}var gt=new Map;function ys(t,e={}){let r=JSON.stringify([t,e]),n=gt.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),gt.set(r,n)),n}var pt=new Map;function gs(t,e={}){let{base:r,...n}=e,s=JSON.stringify([t,n]),i=pt.get(s);return i===void 0&&(i=new Intl.RelativeTimeFormat(t,e),pt.set(s,i)),i}var $e=null;function ps(){return $e||($e=new Intl.DateTimeFormat().resolvedOptions().locale,$e)}var wt=new Map;function Sn(t){let e=wt.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),wt.set(t,e)),e}var vt=new Map;function ws(t){let e=vt.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...On,...e}),vt.set(t,e)}return e}function vs(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,s;try{n=yt(t).resolvedOptions(),s=t}catch{let a=t.substring(0,r);n=yt(a).resolvedOptions(),s=a}let{numberingSystem:i,calendar:o}=n;return[s,i,o]}}function ks(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function Ss(t){let e=[];for(let r=1;r<=12;r++){let n=k.utc(2009,r,1);e.push(t(n))}return e}function Os(t){let e=[];for(let r=1;r<=7;r++){let n=k.utc(2016,11,13+r);e.push(t(n))}return e}function Ve(t,e,r,n){let s=t.listingMode();return s==="error"?null:s==="en"?r(e):n(e)}function bs(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Sn(t.locale).numberingSystem==="latn"}var kt=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:s,floor:i,...o}=n;if(!r||Object.keys(o).length>0){let a={useGrouping:!1,...n};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=ys(e,a)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):Ct(e,3);return b(r,this.padTo)}}},St=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let o=-1*(e.offset/60),a=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;e.offset!==0&&K.create(a).valid?(s=a,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=yt(r,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Ot=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&xn()&&(this.rtf=gs(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):Ps(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},On={firstDay:1,minimalDays:4,weekend:[6,7]},w=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,s,i=!1){let o=e||v.defaultLocale,a=o||(i?"en-US":ps()),u=r||v.defaultNumberingSystem,l=n||v.defaultOutputCalendar,d=Mt(s)||v.defaultWeekSettings;return new t(a,u,l,d,o)}static resetCache(){$e=null,ft.clear(),gt.clear(),pt.clear(),wt.clear(),vt.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:s}={}){return t.create(e,r,n,s)}constructor(e,r,n,s,i){let[o,a,u]=vs(e);this.locale=o,this.numberingSystem=r||a||null,this.outputCalendar=n||u||null,this.weekSettings=s,this.intl=ks(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=bs(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Mt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return Ve(this,e,Ln,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let s=r?{month:e,day:"numeric"}:{month:e},i=r?"format":"standalone";if(!this.monthsCache[i][e]){let o=n?a=>this.dtFormatter(a,s).format():a=>this.extract(a,s,"month");this.monthsCache[i][e]=Ss(o)}return this.monthsCache[i][e]})}weekdays(e,r=!1){return Ve(this,e,Bn,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=r?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=Os(i=>this.extract(i,n,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return Ve(this,void 0,()=>Zn,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[k.utc(2016,11,13,9),k.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ve(this,e,qn,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[k.utc(-40,1,1),k.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let s=this.dtFormatter(e,r),i=s.formatToParts(),o=i.find(a=>a.type.toLowerCase()===n);return o?o.value:null}numberFormatter(e={}){return new kt(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new St(e,this.intl,r)}relFormatter(e={}){return new Ot(this.intl,this.isEnglish(),e)}listFormatter(e={}){return fs(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Sn(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:In()?ws(this.locale):On}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},nt=null,$=class t extends te{static get utcInstance(){return nt===null&&(nt=new t(0)),nt}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(Ge(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Te(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Te(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Te(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},bt=class extends te{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function G(t,e){if(f(t)||t===null)return e;if(t instanceof te)return t;if(xs(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?ze.instance:r==="utc"||r==="gmt"?$.utcInstance:$.parseSpecifier(r)||K.create(t)}else return Q(t)?$.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new bt(t)}var xt={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},or={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ts=xt.hanidec.replace(/[\[|\]]/g,"").split("");function Ms(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(xt.hanidec)!==-1)e+=Ts.indexOf(t[r]);else for(let s in or){let[i,o]=or[s];n>=i&&n<=o&&(e+=n-i)}}return parseInt(e,10)}else return e}var Tt=new Map;function Ns(){Tt.clear()}function Z({numberingSystem:t},e=""){let r=t||"latn",n=Tt.get(r);n===void 0&&(n=new Map,Tt.set(r,n));let s=n.get(e);return s===void 0&&(s=new RegExp(`${xt[r]}${e}`),n.set(e,s)),s}var ar=()=>Date.now(),ur="system",lr=null,cr=null,dr=null,hr=60,mr,fr=null,v=class{static get now(){return ar}static set now(e){ar=e}static set defaultZone(e){ur=e}static get defaultZone(){return G(ur,ze.instance)}static get defaultLocale(){return lr}static set defaultLocale(e){lr=e}static get defaultNumberingSystem(){return cr}static set defaultNumberingSystem(e){cr=e}static get defaultOutputCalendar(){return dr}static set defaultOutputCalendar(e){dr=e}static get defaultWeekSettings(){return fr}static set defaultWeekSettings(e){fr=Mt(e)}static get twoDigitCutoffYear(){return hr}static set twoDigitCutoffYear(e){hr=e%100}static get throwOnInvalid(){return mr}static set throwOnInvalid(e){mr=e}static resetCaches(){w.resetCache(),K.resetCache(),k.resetCache(),Ns()}},x=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},bn=[0,31,59,90,120,151,181,212,243,273,304,334],Tn=[0,31,60,91,121,152,182,213,244,274,305,335];function C(t,e){return new x("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function It(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let s=n.getUTCDay();return s===0?7:s}function Mn(t,e,r){return r+(Ne(t)?Tn:bn)[e-1]}function Nn(t,e){let r=Ne(t)?Tn:bn,n=r.findIndex(i=>i<e),s=e-r[n];return{month:n+1,day:s}}function Vt(t,e){return(t-e+7)%7+1}function je(t,e=4,r=1){let{year:n,month:s,day:i}=t,o=Mn(n,s,i),a=Vt(It(n,s,i),r),u=Math.floor((o-a+14-e)/7),l;return u<1?(l=n-1,u=Me(l,e,r)):u>Me(n,e,r)?(l=n+1,u=1):l=n,{weekYear:l,weekNumber:u,weekday:a,...Je(t)}}function yr(t,e=4,r=1){let{weekYear:n,weekNumber:s,weekday:i}=t,o=Vt(It(n,1,e),r),a=ue(n),u=s*7+i-o-7+e,l;u<1?(l=n-1,u+=ue(l)):u>a?(l=n+1,u-=ue(n)):l=n;let{month:d,day:h}=Nn(l,u);return{year:l,month:d,day:h,...Je(t)}}function st(t){let{year:e,month:r,day:n}=t,s=Mn(e,r,n);return{year:e,ordinal:s,...Je(t)}}function gr(t){let{year:e,ordinal:r}=t,{month:n,day:s}=Nn(e,r);return{year:e,month:n,day:s,...Je(t)}}function pr(t,e){if(!f(t.localWeekday)||!f(t.localWeekNumber)||!f(t.localWeekYear)){if(!f(t.weekday)||!f(t.weekNumber)||!f(t.weekYear))throw new J("Cannot mix locale-based week fields with ISO-based week fields");return f(t.localWeekday)||(t.weekday=t.localWeekday),f(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),f(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Ds(t,e=4,r=1){let n=Ye(t.weekYear),s=L(t.weekNumber,1,Me(t.weekYear,e,r)),i=L(t.weekday,1,7);return n?s?i?!1:C("weekday",t.weekday):C("week",t.weekNumber):C("weekYear",t.weekYear)}function Fs(t){let e=Ye(t.year),r=L(t.ordinal,1,ue(t.year));return e?r?!1:C("ordinal",t.ordinal):C("year",t.year)}function Dn(t){let e=Ye(t.year),r=L(t.month,1,12),n=L(t.day,1,Ue(t.year,t.month));return e?r?n?!1:C("day",t.day):C("month",t.month):C("year",t.year)}function Fn(t){let{hour:e,minute:r,second:n,millisecond:s}=t,i=L(e,0,23)||e===24&&r===0&&n===0&&s===0,o=L(r,0,59),a=L(n,0,59),u=L(s,0,999);return i?o?a?u?!1:C("millisecond",s):C("second",n):C("minute",r):C("hour",e)}function f(t){return typeof t>"u"}function Q(t){return typeof t=="number"}function Ye(t){return typeof t=="number"&&t%1===0}function xs(t){return typeof t=="string"}function Is(t){return Object.prototype.toString.call(t)==="[object Date]"}function xn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function In(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Vs(t){return Array.isArray(t)?t:[t]}function wr(t,e,r){if(t.length!==0)return t.reduce((n,s)=>{let i=[e(s),s];return n&&r(n[0],i[0])===n[0]?n:i},null)[1]}function Es(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function de(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Mt(t){if(t==null)return null;if(typeof t!="object")throw new M("Week settings must be an object");if(!L(t.firstDay,1,7)||!L(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!L(e,1,7)))throw new M("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function L(t,e,r){return Ye(t)&&t>=e&&t<=r}function Cs(t,e){return t-e*Math.floor(t/e)}function b(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function R(t){if(!(f(t)||t===null||t===""))return parseInt(t,10)}function X(t){if(!(f(t)||t===null||t===""))return parseFloat(t)}function Et(t){if(!(f(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Ct(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function Ne(t){return t%4===0&&(t%100!==0||t%400===0)}function ue(t){return Ne(t)?366:365}function Ue(t,e){let r=Cs(e-1,12)+1,n=t+(e-r)/12;return r===2?Ne(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Re(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function vr(t,e,r){return-Vt(It(t,1,e),r)+e-1}function Me(t,e=4,r=1){let n=vr(t,e,r),s=vr(t+1,e,r);return(ue(t)-n+s)/7}function Nt(t){return t>99?t:t>v.twoDigitCutoffYear?1900+t:2e3+t}function Vn(t,e,r,n=null){let s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(i.timeZone=n);let o={timeZoneName:e,...i},a=new Intl.DateTimeFormat(r,o).formatToParts(s).find(u=>u.type.toLowerCase()==="timezonename");return a?a.value:null}function Ge(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function En(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new M(`Invalid unit value ${t}`);return e}function Pe(t,e){let r={};for(let n in t)if(de(t,n)){let s=t[n];if(s==null)continue;r[e(n)]=En(s)}return r}function Te(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${b(r,2)}:${b(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${b(r,2)}${b(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Je(t){return Es(t,["hour","minute","second","millisecond"])}var Ls=["January","February","March","April","May","June","July","August","September","October","November","December"],Cn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],$s=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ln(t){switch(t){case"narrow":return[...$s];case"short":return[...Cn];case"long":return[...Ls];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var $n=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ws=["M","T","W","T","F","S","S"];function Bn(t){switch(t){case"narrow":return[...Ws];case"short":return[...Wn];case"long":return[...$n];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Zn=["AM","PM"],Bs=["Before Christ","Anno Domini"],Zs=["BC","AD"],qs=["B","A"];function qn(t){switch(t){case"narrow":return[...qs];case"short":return[...Zs];case"long":return[...Bs];default:return null}}function As(t){return Zn[t.hour<12?0:1]}function zs(t,e){return Bn(e)[t.weekday-1]}function js(t,e){return Ln(e)[t.month-1]}function Us(t,e){return qn(e)[t.year<0?0:1]}function Ps(t,e,r="always",n=!1){let s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&i){let h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`}}let o=Object.is(e,-0)||e<0,a=Math.abs(e),u=a===1,l=s[t],d=n?u?l[1]:l[2]||l[1]:u?s[t][0]:t;return o?`${a} ${d} ago`:`in ${a} ${d}`}function kr(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var Hs={D:Ae,DD:tn,DDD:rn,DDDD:nn,t:sn,tt:on,ttt:an,tttt:un,T:ln,TT:cn,TTT:dn,TTTT:hn,f:mn,ff:yn,fff:pn,ffff:vn,F:fn,FF:gn,FFF:wn,FFFF:kn},F=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",s=!1,i=[];for(let o=0;o<e.length;o++){let a=e.charAt(o);a==="'"?((n.length>0||s)&&i.push({literal:s||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",s=!s):s||a===r?n+=a:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=a,r=a)}return n.length>0&&i.push({literal:s||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return Hs[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return b(e,r);let s={...this.opts};return r>0&&(s.padTo=r),n&&(s.signDisplay=n),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,S)=>this.loc.extract(e,m,S),o=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",a=()=>n?As(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(m,S)=>n?js(e,m):i(S?{month:m}:{month:m,day:"numeric"},"month"),l=(m,S)=>n?zs(e,m):i(S?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),d=m=>{let S=t.macroTokenToFormatOpts(m);return S?this.formatWithSystemDefault(e,S):m},h=m=>n?Us(e,m):i({era:m},"era"),g=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(m)}};return kr(t.parseFormat(r),g)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,s=d=>{switch(d[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},i=(d,h)=>g=>{let m=s(g);if(m){let S=h.isNegativeDuration&&m!==h.largestUnit?n:1,D;return this.opts.signMode==="negativeLargestOnly"&&m!==h.largestUnit?D="never":this.opts.signMode==="all"?D="always":D="auto",this.num(d.get(m)*S,g.length,D)}else return g},o=t.parseFormat(r),a=o.reduce((d,{literal:h,val:g})=>h?d:d.concat(g),[]),u=e.shiftTo(...a.map(s).filter(d=>d)),l={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return kr(o,i(u,l))}},An=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function he(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function me(...t){return e=>t.reduce(([r,n,s],i)=>{let[o,a,u]=i(e,s);return[{...r,...o},a||n,u]},[{},null,1]).slice(0,2)}function fe(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let s=r.exec(t);if(s)return n(s)}return[null,null]}function zn(...t){return(e,r)=>{let n={},s;for(s=0;s<t.length;s++)n[t[s]]=R(e[r+s]);return[n,null,r+s]}}var jn=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Ys=`(?:${jn.source}?(?:\\[(${An.source})\\])?)?`,Lt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Un=RegExp(`${Lt.source}${Ys}`),$t=RegExp(`(?:[Tt]${Un.source})?`),Rs=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Gs=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Js=/(\d{4})-?(\d{3})/,Qs=zn("weekYear","weekNumber","weekDay"),Ks=zn("year","ordinal"),Xs=/(\d{4})-(\d\d)-(\d\d)/,Pn=RegExp(`${Lt.source} ?(?:${jn.source}|(${An.source}))?`),_s=RegExp(`(?: ${Pn.source})?`);function le(t,e,r){let n=t[e];return f(n)?r:R(n)}function ei(t,e){return[{year:le(t,e),month:le(t,e+1,1),day:le(t,e+2,1)},null,e+3]}function ye(t,e){return[{hours:le(t,e,0),minutes:le(t,e+1,0),seconds:le(t,e+2,0),milliseconds:Et(t[e+3])},null,e+4]}function De(t,e){let r=!t[e]&&!t[e+1],n=Ge(t[e+1],t[e+2]),s=r?null:$.instance(n);return[{},s,e+3]}function Fe(t,e){let r=t[e]?K.create(t[e]):null;return[{},r,e+1]}var ti=RegExp(`^T?${Lt.source}$`),ri=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ni(t){let[e,r,n,s,i,o,a,u,l]=t,d=e[0]==="-",h=u&&u[0]==="-",g=(m,S=!1)=>m!==void 0&&(S||m&&d)?-m:m;return[{years:g(X(r)),months:g(X(n)),weeks:g(X(s)),days:g(X(i)),hours:g(X(o)),minutes:g(X(a)),seconds:g(X(u),u==="-0"),milliseconds:g(Et(l),h)}]}var si={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Wt(t,e,r,n,s,i,o){let a={year:e.length===2?Nt(R(e)):R(e),month:Cn.indexOf(r)+1,day:R(n),hour:R(s),minute:R(i)};return o&&(a.second=R(o)),t&&(a.weekday=t.length>3?$n.indexOf(t)+1:Wn.indexOf(t)+1),a}var ii=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function oi(t){let[,e,r,n,s,i,o,a,u,l,d,h]=t,g=Wt(e,s,n,r,i,o,a),m;return u?m=si[u]:l?m=0:m=Ge(d,h),[g,new $(m)]}function ai(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var ui=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,li=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ci=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Sr(t){let[,e,r,n,s,i,o,a]=t;return[Wt(e,s,n,r,i,o,a),$.utcInstance]}function di(t){let[,e,r,n,s,i,o,a]=t;return[Wt(e,a,r,n,s,i,o),$.utcInstance]}var hi=he(Rs,$t),mi=he(Gs,$t),fi=he(Js,$t),yi=he(Un),Hn=me(ei,ye,De,Fe),gi=me(Qs,ye,De,Fe),pi=me(Ks,ye,De,Fe),wi=me(ye,De,Fe);function vi(t){return fe(t,[hi,Hn],[mi,gi],[fi,pi],[yi,wi])}function ki(t){return fe(ai(t),[ii,oi])}function Si(t){return fe(t,[ui,Sr],[li,Sr],[ci,di])}function Oi(t){return fe(t,[ri,ni])}var bi=me(ye);function Ti(t){return fe(t,[ti,bi])}var Mi=he(Xs,_s),Ni=he(Pn),Di=me(ye,De,Fe);function Fi(t){return fe(t,[Mi,Hn],[Ni,Di])}var Or="Invalid Duration",Yn={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},xi={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Yn},E=146097/400,se=146097/4800,Ii={years:{quarters:4,months:12,weeks:E/7,days:E,hours:E*24,minutes:E*24*60,seconds:E*24*60*60,milliseconds:E*24*60*60*1e3},quarters:{months:3,weeks:E/28,days:E/4,hours:E*24/4,minutes:E*24*60/4,seconds:E*24*60*60/4,milliseconds:E*24*60*60*1e3/4},months:{weeks:se/7,days:se,hours:se*24,minutes:se*24*60,seconds:se*24*60*60,milliseconds:se*24*60*60*1e3},...Yn},ee=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Vi=ee.slice(0).reverse();function U(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new N(n)}function Rn(t,e){let r=e.milliseconds??0;for(let n of Vi.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function br(t,e){let r=Rn(t,e)<0?-1:1;ee.reduceRight((n,s)=>{if(f(e[s]))return n;if(n){let i=e[n]*r,o=t[s][n],a=Math.floor(i/o);e[s]+=a*r,e[n]-=a*o*r}return s},null),ee.reduce((n,s)=>{if(f(e[s]))return n;if(n){let i=e[n]%1;e[n]-=i,e[s]+=i*t[n][s]}return s},null)}function Tr(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var N=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?Ii:xi;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||w.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new M(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:Pe(e,t.normalizeUnit),loc:w.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(Q(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new M(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=Oi(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=Ti(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new M("need to specify a reason the Duration is invalid");let n=e instanceof x?e:new x(e,r);if(v.throwOnInvalid)throw new ht(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new qe(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?F.create(this.loc,n).formatDurationFromString(this,e):Or}toHuman(e={}){if(!this.isValid)return Or;let r=e.showZeros!==!1,n=ee.map(s=>{let i=this.values[s];return f(i)||i===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(i)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ct(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},k.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Rn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let s of ee)(de(r.values,s)||de(this.values,s))&&(n[s]=r.get(s)+this.get(s));return U(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=En(e(this.values[n],n));return U(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...Pe(e,t.normalizeUnit)};return U(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:s}={}){let i={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:s,conversionAccuracy:n};return U(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return br(this.matrix,e),U(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Tr(this.normalize().shiftToAll().toObject());return U(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>t.normalizeUnit(o));let r={},n={},s=this.toObject(),i;for(let o of ee)if(e.indexOf(o)>=0){i=o;let a=0;for(let l in n)a+=this.matrix[l][o]*n[l],n[l]=0;Q(s[o])&&(a+=s[o]);let u=Math.trunc(a);r[o]=u,n[o]=(a*1e3-u*1e3)/1e3}else Q(s[o])&&(n[o]=s[o]);for(let o in n)n[o]!==0&&(r[i]+=o===i?n[o]:n[o]/this.matrix[i][o]);return br(this.matrix,r),U(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return U(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Tr(this.values);return U(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,s){return n===void 0||n===0?s===void 0||s===0:n===s}for(let n of ee)if(!r(this.values[n],e.values[n]))return!1;return!0}},ie="Invalid Interval";function Ei(t,e){return!t||!t.isValid?ce.invalid("missing or invalid start"):!e||!e.isValid?ce.invalid("missing or invalid end"):e<t?ce.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var ce=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new M("need to specify a reason the Interval is invalid");let n=e instanceof x?e:new x(e,r);if(v.throwOnInvalid)throw new dt(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=Se(e),s=Se(r);return Ei(n,s)??new t({start:n,end:s})}static after(e,r){let n=N.fromDurationLike(r),s=Se(e);return t.fromDateTimes(s,s.plus(n))}static before(e,r){let n=N.fromDurationLike(r),s=Se(e);return t.fromDateTimes(s.minus(n),s)}static fromISO(e,r){let[n,s]=(e||"").split("/",2);if(n&&s){let i,o;try{i=k.fromISO(n,r),o=i.isValid}catch{o=!1}let a,u;try{a=k.fromISO(s,r),u=a.isValid}catch{u=!1}if(o&&u)return t.fromDateTimes(i,a);if(o){let l=N.fromISO(s,r);if(l.isValid)return t.after(i,l)}else if(u){let l=N.fromISO(n,r);if(l.isValid)return t.before(a,l)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),s;return r?.useLocaleWeeks?s=this.end.reconfigure({locale:n.locale}):s=this.end,s=s.startOf(e,r),Math.floor(s.diff(n,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(Se).filter(o=>this.contains(o)).sort((o,a)=>o.toMillis()-a.toMillis()),n=[],{s}=this,i=0;for(;s<this.e;){let o=r[i]||this.e,a=+o>+this.e?this.e:o;n.push(t.fromDateTimes(s,a)),s=a,i+=1}return n}splitBy(e){let r=N.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,s=1,i,o=[];for(;n<this.e;){let a=this.start.plus(r.mapUnits(u=>u*s));i=+a>+this.e?this.e:a,o.push(t.fromDateTimes(n,i)),n=i,s+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],o)=>i?i.overlaps(o)||i.abutsStart(o)?[s,i.union(o)]:[s.concat([i]),o]:[s,o],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,s=[],i=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),o=Array.prototype.concat(...i),a=o.sort((u,l)=>u.time-l.time);for(let u of a)n+=u.type==="s"?1:-1,n===1?r=u.time:(r&&+r!=+u.time&&s.push(t.fromDateTimes(r,u.time)),r=null);return t.merge(s)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:ie}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ae,r={}){return this.isValid?F.create(this.s.loc.clone(r),e).formatInterval(this):ie}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ie}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ie}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ie}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:ie}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):N.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},ae=class{static hasDST(e=v.defaultZone){let r=k.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return K.isValidZone(e)}static normalizeZone(e){return G(e,v.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||w.create(r,n,i)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||w.create(r,n,i)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||w.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||w.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return w.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return w.create(r,null,"gregory").eras(e)}static features(){return{relative:xn(),localeWeek:In()}}};function Mr(t,e){let r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(N.fromMillis(n).as("days"))}function Ci(t,e,r){let n=[["years",(u,l)=>l.year-u.year],["quarters",(u,l)=>l.quarter-u.quarter+(l.year-u.year)*4],["months",(u,l)=>l.month-u.month+(l.year-u.year)*12],["weeks",(u,l)=>{let d=Mr(u,l);return(d-d%7)/7}],["days",Mr]],s={},i=t,o,a;for(let[u,l]of n)r.indexOf(u)>=0&&(o=u,s[u]=l(t,e),a=i.plus(s),a>e?(s[u]--,t=i.plus(s),t>e&&(a=t,s[u]--,t=i.plus(s))):t=a);return[t,s,a,o]}function Li(t,e,r,n){let[s,i,o,a]=Ci(t,e,r),u=e-s,l=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);l.length===0&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(i[a]=(i[a]||0)+u/(o-s)));let d=N.fromObject(i,n);return l.length>0?N.fromMillis(u,n).shiftTo(...l).plus(d):d}var $i="missing Intl.DateTimeFormat.formatToParts support";function p(t,e=r=>r){return{regex:t,deser:([r])=>e(Ms(r))}}var Wi="\xA0",Gn=`[ ${Wi}]`,Jn=new RegExp(Gn,"g");function Bi(t){return t.replace(/\./g,"\\.?").replace(Jn,Gn)}function Nr(t){return t.replace(/\./g,"").replace(Jn," ").toLowerCase()}function q(t,e){return t===null?null:{regex:RegExp(t.map(Bi).join("|")),deser:([r])=>t.findIndex(n=>Nr(r)===Nr(n))+e}}function Dr(t,e){return{regex:t,deser:([,r,n])=>Ge(r,n),groups:e}}function Ee(t){return{regex:t,deser:([e])=>e}}function Zi(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function qi(t,e){let r=Z(e),n=Z(e,"{2}"),s=Z(e,"{3}"),i=Z(e,"{4}"),o=Z(e,"{6}"),a=Z(e,"{1,2}"),u=Z(e,"{1,3}"),l=Z(e,"{1,6}"),d=Z(e,"{1,9}"),h=Z(e,"{2,4}"),g=Z(e,"{4,6}"),m=D=>({regex:RegExp(Zi(D.val)),deser:([re])=>re,literal:!0}),S=(D=>{if(t.literal)return m(D);switch(D.val){case"G":return q(e.eras("short"),0);case"GG":return q(e.eras("long"),0);case"y":return p(l);case"yy":return p(h,Nt);case"yyyy":return p(i);case"yyyyy":return p(g);case"yyyyyy":return p(o);case"M":return p(a);case"MM":return p(n);case"MMM":return q(e.months("short",!0),1);case"MMMM":return q(e.months("long",!0),1);case"L":return p(a);case"LL":return p(n);case"LLL":return q(e.months("short",!1),1);case"LLLL":return q(e.months("long",!1),1);case"d":return p(a);case"dd":return p(n);case"o":return p(u);case"ooo":return p(s);case"HH":return p(n);case"H":return p(a);case"hh":return p(n);case"h":return p(a);case"mm":return p(n);case"m":return p(a);case"q":return p(a);case"qq":return p(n);case"s":return p(a);case"ss":return p(n);case"S":return p(u);case"SSS":return p(s);case"u":return Ee(d);case"uu":return Ee(a);case"uuu":return p(r);case"a":return q(e.meridiems(),0);case"kkkk":return p(i);case"kk":return p(h,Nt);case"W":return p(a);case"WW":return p(n);case"E":case"c":return p(r);case"EEE":return q(e.weekdays("short",!1),1);case"EEEE":return q(e.weekdays("long",!1),1);case"ccc":return q(e.weekdays("short",!0),1);case"cccc":return q(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Ee(/[a-z_+-/]{1,256}?/i);case" ":return Ee(/[^\S\n\r]/);default:return m(D)}})(t)||{invalidReason:$i};return S.token=t,S}var Ai={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function zi(t,e,r){let{type:n,value:s}=t;if(n==="literal"){let u=/^\s+$/.test(s);return{literal:!u,val:u?" ":s}}let i=e[n],o=n;n==="hour"&&(e.hour12!=null?o=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?o="hour12":o="hour24":o=r.hour12?"hour12":"hour24");let a=Ai[o];if(typeof a=="object"&&(a=a[i]),a)return{literal:!1,val:a}}function ji(t){return[`^${t.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,t]}function Ui(t,e,r){let n=t.match(e);if(n){let s={},i=1;for(let o in r)if(de(r,o)){let a=r[o],u=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(n.slice(i,i+u))),i+=u}return[n,s]}else return[n,{}]}function Pi(t){let e=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return f(t.z)||(r=K.create(t.z)),f(t.Z)||(r||(r=new $(t.Z)),n=t.Z),f(t.q)||(t.M=(t.q-1)*3+1),f(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),f(t.u)||(t.S=Et(t.u)),[Object.keys(t).reduce((s,i)=>{let o=e(i);return o&&(s[o]=t[i]),s},{}),r,n]}var it=null;function Hi(){return it||(it=k.fromMillis(1555555555555)),it}function Yi(t,e){if(t.literal)return t;let r=F.macroTokenToFormatOpts(t.val),n=Xn(r,e);return n==null||n.includes(void 0)?t:n}function Qn(t,e){return Array.prototype.concat(...t.map(r=>Yi(r,e)))}var He=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Qn(F.parseFormat(r),e),this.units=this.tokens.map(n=>qi(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,s]=ji(this.units);this.regex=RegExp(n,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){let[r,n]=Ui(e,this.regex,this.handlers),[s,i,o]=n?Pi(n):[null,null,void 0];if(de(n,"a")&&de(n,"H"))throw new J("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:s,zone:i,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Kn(t,e,r){return new He(t,r).explainFromTokens(e)}function Ri(t,e,r){let{result:n,zone:s,specificOffset:i,invalidReason:o}=Kn(t,e,r);return[n,s,i,o]}function Xn(t,e){if(!t)return null;let r=F.create(e,t).dtFormatter(Hi()),n=r.formatToParts(),s=r.resolvedOptions();return n.map(i=>zi(i,t,s))}var ot="Invalid DateTime",Fr=864e13;function Oe(t){return new x("unsupported zone",`the zone "${t.name}" is not supported`)}function at(t){return t.weekData===null&&(t.weekData=je(t.c)),t.weekData}function ut(t){return t.localWeekData===null&&(t.localWeekData=je(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function _(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new k({...r,...e,old:r})}function _n(t,e,r){let n=t-e*60*1e3,s=r.offset(n);if(e===s)return[n,e];n-=(s-e)*60*1e3;let i=r.offset(n);return s===i?[n,s]:[t-Math.min(s,i)*60*1e3,Math.max(s,i)]}function Ce(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function We(t,e,r){return _n(Re(t),e,r)}function xr(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:n,month:s,day:Math.min(t.c.day,Ue(n,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=N.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Re(i),[u,l]=_n(a,r,t.zone);return o!==0&&(u+=o,l=t.zone.offset(u)),{ts:u,o:l}}function oe(t,e,r,n,s,i){let{setZone:o,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let u=e||a,l=k.fromObject(t,{...r,zone:u,specificOffset:i});return o?l:l.setZone(a)}else return k.invalid(new x("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Le(t,e,r=!0){return t.isValid?F.create(w.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function lt(t,e,r){let n=t.c.year>9999||t.c.year<0,s="";if(n&&t.c.year>=0&&(s+="+"),s+=b(t.c.year,n?6:4),r==="year")return s;if(e){if(s+="-",s+=b(t.c.month),r==="month")return s;s+="-"}else if(s+=b(t.c.month),r==="month")return s;return s+=b(t.c.day),s}function Ir(t,e,r,n,s,i,o){let a=!r||t.c.millisecond!==0||t.c.second!==0,u="";switch(o){case"day":case"month":case"year":break;default:if(u+=b(t.c.hour),o==="hour")break;if(e){if(u+=":",u+=b(t.c.minute),o==="minute")break;a&&(u+=":",u+=b(t.c.second))}else{if(u+=b(t.c.minute),o==="minute")break;a&&(u+=b(t.c.second))}if(o==="second")break;a&&(!n||t.c.millisecond!==0)&&(u+=".",u+=b(t.c.millisecond,3))}return s&&(t.isOffsetFixed&&t.offset===0&&!i?u+="Z":t.o<0?(u+="-",u+=b(Math.trunc(-t.o/60)),u+=":",u+=b(Math.trunc(-t.o%60))):(u+="+",u+=b(Math.trunc(t.o/60)),u+=":",u+=b(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}var es={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Gi={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Ji={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Be=["year","month","day","hour","minute","second","millisecond"],Qi=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ki=["year","ordinal","hour","minute","second","millisecond"];function Ze(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new qe(t);return e}function Vr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ze(t)}}function Xi(t){if(be===void 0&&(be=v.now()),t.type!=="iana")return t.offset(be);let e=t.name,r=Dt.get(e);return r===void 0&&(r=t.offset(be),Dt.set(e,r)),r}function Er(t,e){let r=G(e.zone,v.defaultZone);if(!r.isValid)return k.invalid(Oe(r));let n=w.fromObject(e),s,i;if(f(t.year))s=v.now();else{for(let u of Be)f(t[u])&&(t[u]=es[u]);let o=Dn(t)||Fn(t);if(o)return k.invalid(o);let a=Xi(r);[s,i]=We(t,a,r)}return new k({ts:s,zone:r,loc:n,o:i})}function Cr(t,e,r){let n=f(r.round)?!0:r.round,s=f(r.rounding)?"trunc":r.rounding,i=(a,u)=>(a=Ct(a,n||r.calendary?0:2,r.calendary?"round":s),e.loc.clone(r).relFormatter(r).format(a,u)),o=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return i(o(r.unit),r.unit);for(let a of r.units){let u=o(a);if(Math.abs(u)>=1)return i(u,a)}return i(t>e?-0:0,r.units[r.units.length-1])}function Lr(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var be,Dt=new Map,k=class t{constructor(e){let r=e.zone||v.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new x("invalid input"):null)||(r.isValid?null:Oe(r));this.ts=f(e.ts)?v.now():e.ts;let s=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,i]=[e.old.c,e.old.o];else{let o=Q(e.o)&&!e.old?e.o:r.offset(this.ts);s=Ce(this.ts,o),n=Number.isNaN(s.year)?new x("invalid input"):null,s=n?null:s,i=n?null:o}this._zone=r,this.loc=e.loc||w.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=Lr(arguments),[n,s,i,o,a,u,l]=r;return Er({year:n,month:s,day:i,hour:o,minute:a,second:u,millisecond:l},e)}static utc(){let[e,r]=Lr(arguments),[n,s,i,o,a,u,l]=r;return e.zone=$.utcInstance,Er({year:n,month:s,day:i,hour:o,minute:a,second:u,millisecond:l},e)}static fromJSDate(e,r={}){let n=Is(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let s=G(r.zone,v.defaultZone);return s.isValid?new t({ts:n,zone:s,loc:w.fromObject(r)}):t.invalid(Oe(s))}static fromMillis(e,r={}){if(Q(e))return e<-Fr||e>Fr?t.invalid("Timestamp out of range"):new t({ts:e,zone:G(r.zone,v.defaultZone),loc:w.fromObject(r)});throw new M(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(Q(e))return new t({ts:e*1e3,zone:G(r.zone,v.defaultZone),loc:w.fromObject(r)});throw new M("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=G(r.zone,v.defaultZone);if(!n.isValid)return t.invalid(Oe(n));let s=w.fromObject(r),i=Pe(e,Vr),{minDaysInFirstWeek:o,startOfWeek:a}=pr(i,s),u=v.now(),l=f(r.specificOffset)?n.offset(u):r.specificOffset,d=!f(i.ordinal),h=!f(i.year),g=!f(i.month)||!f(i.day),m=h||g,S=i.weekYear||i.weekNumber;if((m||d)&&S)throw new J("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(g&&d)throw new J("Can't mix ordinal dates with month/day");let D=S||i.weekday&&!m,re,xe,ge=Ce(u,l);D?(re=Qi,xe=Gi,ge=je(ge,o,a)):d?(re=Ki,xe=Ji,ge=st(ge)):(re=Be,xe=es);let Zt=!1;for(let we of re){let as=i[we];f(as)?Zt?i[we]=xe[we]:i[we]=ge[we]:Zt=!0}let ns=D?Ds(i,o,a):d?Fs(i):Dn(i),qt=ns||Fn(i);if(qt)return t.invalid(qt);let ss=D?yr(i,o,a):d?gr(i):i,[is,os]=We(ss,l,n),pe=new t({ts:is,zone:n,o:os,loc:s});return i.weekday&&m&&e.weekday!==pe.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${pe.toISO()}`):pe.isValid?pe:t.invalid(pe.invalid)}static fromISO(e,r={}){let[n,s]=vi(e);return oe(n,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,s]=ki(e);return oe(n,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,s]=Si(e);return oe(n,s,r,"HTTP",r)}static fromFormat(e,r,n={}){if(f(e)||f(r))throw new M("fromFormat requires an input string and a format");let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[a,u,l,d]=Ri(o,e,r);return d?t.invalid(d):oe(a,u,n,`format ${r}`,e,l)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,s]=Fi(e);return oe(n,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new M("need to specify a reason the DateTime is invalid");let n=e instanceof x?e:new x(e,r);if(v.throwOnInvalid)throw new ct(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=Xn(e,w.fromObject(r));return n?n.map(s=>s?s.val:null).join(""):null}static expandFormat(e,r={}){return Qn(F.parseFormat(e),w.fromObject(r)).map(n=>n.val).join("")}static resetCache(){be=void 0,Dt.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?at(this).weekYear:NaN}get weekNumber(){return this.isValid?at(this).weekNumber:NaN}get weekday(){return this.isValid?at(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ut(this).weekday:NaN}get localWeekNumber(){return this.isValid?ut(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ut(this).weekYear:NaN}get ordinal(){return this.isValid?st(this.c).ordinal:NaN}get monthShort(){return this.isValid?ae.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ae.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ae.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ae.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=Re(this.c),s=this.zone.offset(n-e),i=this.zone.offset(n+e),o=this.zone.offset(n-s*r),a=this.zone.offset(n-i*r);if(o===a)return[this];let u=n-o*r,l=n-a*r,d=Ce(u,o),h=Ce(l,a);return d.hour===h.hour&&d.minute===h.minute&&d.second===h.second&&d.millisecond===h.millisecond?[_(this,{ts:u}),_(this,{ts:l})]:[this]}get isInLeapYear(){return Ne(this.year)}get daysInMonth(){return Ue(this.year,this.month)}get daysInYear(){return this.isValid?ue(this.year):NaN}get weeksInWeekYear(){return this.isValid?Me(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Me(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:s}=F.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone($.instance(e),r)}toLocal(){return this.setZone(v.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=G(e,v.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||n){let i=e.offset(this.ts),o=this.toObject();[s]=We(o,i,e)}return _(this,{ts:s,zone:e})}else return t.invalid(Oe(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return _(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=Pe(e,Vr),{minDaysInFirstWeek:n,startOfWeek:s}=pr(r,this.loc),i=!f(r.weekYear)||!f(r.weekNumber)||!f(r.weekday),o=!f(r.ordinal),a=!f(r.year),u=!f(r.month)||!f(r.day),l=a||u,d=r.weekYear||r.weekNumber;if((l||o)&&d)throw new J("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&o)throw new J("Can't mix ordinal dates with month/day");let h;i?h=yr({...je(this.c,n,s),...r},n,s):f(r.ordinal)?(h={...this.toObject(),...r},f(r.day)&&(h.day=Math.min(Ue(h.year,h.month),h.day))):h=gr({...st(this.c),...r});let[g,m]=We(h,this.o,this.zone);return _(this,{ts:g,o:m})}plus(e){if(!this.isValid)return this;let r=N.fromDurationLike(e);return _(this,xr(this,r))}minus(e){if(!this.isValid)return this;let r=N.fromDurationLike(e).negate();return _(this,xr(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},s=N.normalizeUnit(e);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(s==="weeks")if(r){let i=this.loc.getStartOfWeek(),{weekday:o}=this;o<i&&(n.weekNumber=this.weekNumber-1),n.weekday=i}else n.weekday=1;if(s==="quarters"){let i=Math.ceil(this.month/3);n.month=(i-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?F.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):ot}toLocaleString(e=Ae,r={}){return this.isValid?F.create(this.loc.clone(r),e).formatDateTime(this):ot}toLocaleParts(e={}){return this.isValid?F.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:i=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=Ze(o);let a=e==="extended",u=lt(this,a,o);return Be.indexOf(o)>=3&&(u+="T"),u+=Ir(this,a,r,n,s,i,o),u}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?lt(this,e==="extended",Ze(r)):null}toISOWeekDate(){return Le(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:i=!1,format:o="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ze(a),(s&&Be.indexOf(a)>=3?"T":"")+Ir(this,o==="extended",r,e,n,i,a)):null}toRFC2822(){return Le(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Le(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?lt(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(r||e)&&(n&&(s+=" "),r?s+="z":e&&(s+="ZZ")),Le(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ot}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return N.invalid("created by diffing an invalid DateTime");let s={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=Vs(r).map(N.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,u=o?e:this,l=Li(a,u,i,s);return o?l.negate():l}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?ce.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(r,n)<=s&&s<=i.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,s=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(s=e.unit,i=void 0),Cr(r,this.plus(n),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?Cr(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new M("min requires all arguments be DateTimes");return wr(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new M("max requires all arguments be DateTimes");return wr(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return Kn(o,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:s=null}=r,i=w.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return new He(i,e)}static fromFormatParser(e,r,n={}){if(f(e)||f(r))throw new M("fromFormatParser requires an input string and a format parser");let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});if(!o.equals(r.locale))throw new M(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${r.locale}`);let{result:a,zone:u,specificOffset:l,invalidReason:d}=r.explainFromTokens(e);return d?t.invalid(d):oe(a,u,n,`format ${r.format}`,e,l)}static get DATE_SHORT(){return Ae}static get DATE_MED(){return tn}static get DATE_MED_WITH_WEEKDAY(){return us}static get DATE_FULL(){return rn}static get DATE_HUGE(){return nn}static get TIME_SIMPLE(){return sn}static get TIME_WITH_SECONDS(){return on}static get TIME_WITH_SHORT_OFFSET(){return an}static get TIME_WITH_LONG_OFFSET(){return un}static get TIME_24_SIMPLE(){return ln}static get TIME_24_WITH_SECONDS(){return cn}static get TIME_24_WITH_SHORT_OFFSET(){return dn}static get TIME_24_WITH_LONG_OFFSET(){return hn}static get DATETIME_SHORT(){return mn}static get DATETIME_SHORT_WITH_SECONDS(){return fn}static get DATETIME_MED(){return yn}static get DATETIME_MED_WITH_SECONDS(){return gn}static get DATETIME_MED_WITH_WEEKDAY(){return ls}static get DATETIME_FULL(){return pn}static get DATETIME_FULL_WITH_SECONDS(){return wn}static get DATETIME_HUGE(){return vn}static get DATETIME_HUGE_WITH_SECONDS(){return kn}};function Se(t){if(k.isDateTime(t))return t;if(t&&t.valueOf&&Q(t.valueOf()))return k.fromJSDate(t);if(t&&typeof t=="object")return k.fromObject(t);throw new M(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Ft=(t=>(t.NONE="none",t.ROTATE="rotate",t.STAGGER="stagger",t.WRAP="wrap",t))(Ft||{});function _i(t){let{configToUpdate:e,chartContainer:r,layer:n}=t,s=y(e);if(s.series[0].type===O.HeatSeries&&n?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek===!0&&(!("firstDayOfWeek"in e)||e.firstDayOfWeek===void 0||e.firstDayOfWeek===null)){let{lang:i}=zt(r??document.documentElement);try{s.firstDayOfWeek=k.local().setLocale(i.replaceAll("_","-")).startOf("week",{useLocaleWeeks:!0}).weekday}catch{}}return s}function eo(t){let e=y(t);return B(t.axes)||(e.axes=t.axes?.map(r=>{let n=r;return delete n.calculateAutomaticMaximum,delete n.calculateAutomaticMinimum,n.title?.content.font?.style!==void 0&&(n.title.content.font.style=n.title.content.font.style.toLowerCase()),n})),e}function to(t){let e=y(t);return B(t.series)||(e.series=t.series.map((r,n)=>{let s=r;r.id===void 0&&(s.id=`Series ${Date.now()}-${n}`);let i=j(t.series,n);return(i===O.BarSeries||i===O.LineSeries||i===O.RadarSeries)&&s.query?.outStatistics?.[0]?.statisticType==="median"&&(s.query.outStatistics[0].statisticType=ne.ContinuousPercentile),i===O.BarSeries&&s.multipleBarType!==void 0&&(s.stackedType=s.multipleBarType,delete s.multipleBarType),i===O.PieSeries&&s.sliceGrouping!==void 0&&(s.sliceGrouping.sliceId=Ut.defaultGroupOfSlicesId,s.sliceGrouping.groupName!==void 0&&(s.sliceGrouping={...s.sliceGrouping,label:s.sliceGrouping.groupName},delete s.sliceGrouping.groupName),s.sliceGrouping.groupSliceSymbol!==void 0&&(s.sliceGrouping={...s.sliceGrouping,fillSymbol:s.sliceGrouping.groupSliceSymbol},delete s.sliceGrouping.groupSliceSymbol)),s})),e}async function $r(t,e){let r=[];return await Promise.all(t.map(async n=>{if(!Xe(n)){let s=ve(n,!1);if(s.fieldToSort!==void 0){let i=await Y({queryObject:e,fieldToMatch:s.fieldToSort});i!==void 0&&r.push(s.orderBy===void 0?i:`${i} ${s.orderBy}`)}}})),r}async function ro(t,e){let r={...t},n=e;if(!n){let s=sr(t)?t.iLayer:t.dataSource?.layer;s&&(n=await tr(s))}if(n){let s=ke(r.series),i=j(r.series),o=r.series&&r.series.length>0&&r.series[0].x.trim()===""||i===O.GaugeSeries&&!Xt(t)||s===T.PieFromFields||s===T.BarAndLineFromFields||s===T.BoxPlotMonoField||s===T.BoxPlotMonoFieldAndSplitBy||s===T.BoxPlotMultiFields||s===T.BoxPlotMultiFieldsAndSplitBy,a=i===O.ScatterSeries||s===T.BarAndLineNoAggregation||s===T.BarAndLineSplitByNoAggregation||s===T.BoxPlotMonoField||s===T.BoxPlotMonoFieldAndSplitBy||s===T.BoxPlotMonoFieldAndCategory||s===T.BoxPlotMonoFieldAndCategoryAndSplitBy||s===T.PieNoAggregation;if(r.series=await Promise.all(t.series.map(async u=>{let l={...u};if(o||(l.x=await Y({queryObject:n,fieldToMatch:u.x})),"y"in l&&a){let d=l.y;if(Array.isArray(d)){let h=await et({fieldsList:d,queryObject:n});h!==void 0&&"y"in l&&(l.y=h)}else"y"in l&&typeof d=="string"&&(l.y=await Y({queryObject:n,fieldToMatch:d}))}if(u.query!==void 0){let{where:d,groupByFieldsForStatistics:h,outStatistics:g}=u.query;if(h=await et({fieldsList:h,queryObject:n}),g!==void 0&&(g=await Promise.all(g.map(async m=>{let S={...m};return S.onStatisticField=await Y({queryObject:n,fieldToMatch:m.onStatisticField}),S}))),d!==void 0&&s===T.BarAndLineSplitBy){let m=Jt(u.query?.where),S=Qt({where:u.query?.where,normalize:!1,escape:!1});d=`${await Y({queryObject:n,fieldToMatch:m})}=${S}`}l.query!==void 0&&(d!==void 0&&(l.query.where=d),h!==void 0&&(l.query.groupByFieldsForStatistics=h),g!==void 0&&(l.query.outStatistics=g))}return l})),r.series[0]?.query!==void 0){let u=r.series[0].query,{orderByFields:l}=u;l!==void 0&&l.length>0&&(l=await $r(l,n),l.length>0&&u.orderByFields!==void 0&&(r.series[0].query.orderByFields=l))}if(r.orderOptions?.orderByFields!==void 0){let{orderByFields:u}=r.orderOptions;u!==void 0&&u.length>0&&(u=await $r(u,n),u.length>0&&(r.orderOptions.orderByFields=u))}if(i===O.GaugeSeries&&t.axes?.[0]!==void 0){let{minimumFromField:u,maximumFromField:l}=t.axes[0];if(u!==void 0){let d=typeof u=="string"?u:u.onStatisticField,h=await Y({queryObject:n,fieldToMatch:d}),g=u;typeof t.axes[0].minimumFromField=="string"?g=h:typeof u=="object"&&(g={...u,onStatisticField:h}),t.axes[0].minimumFromField=g}if(l!==void 0){let d=typeof l=="string"?l:l.onStatisticField,h=await Y({queryObject:n,fieldToMatch:d}),g=l;typeof t.axes[0].maximumFromField=="string"?g=h:typeof l=="object"&&(g={...l,onStatisticField:h}),t.axes[0].maximumFromField=g}}}return r}function no(t){let e=y(t);if(!B(t.series)&&j(t.series)===O.BoxPlotSeries){let r=e.series[0];r&&(r.showOutliers!==void 0&&(t.showOutliers===void 0&&(e.showOutliers=r.showOutliers),delete r.showOutliers),r.standardizeValues!==void 0&&(t.standardizeValues===void 0&&(e.standardizeValues=r.standardizeValues),delete r.standardizeValues),r.showMean!==void 0&&(t.showMean===void 0&&(e.showMean=r.showMean),delete r.showMean))}return e}function so(t){let e={orderType:W.Category,orderBy:V.Ascending},r=t.query?.orderByFields?.[0];if(r!==void 0){let{outStatisticFieldName:n,statisticType:s}=t.query?.outStatistics?.[0]??{},i=ve(r);n!==void 0&&i.fieldToSort===n&&s!==void 0&&(s===ne.Average||s==="mean"?e.orderType=W.Mean:s===ne.ContinuousPercentile&&(e.orderType=W.Median)),e.orderBy=i.orderBy??V.Ascending}return e}function io(t){let e=!1,r=Array.from(new Set(t.series.map(n=>n.type)));return r.length===2&&r.includes(O.BoxPlotSeries)&&r.includes(O.LineSeries)&&(e=t.series.find(n=>n.type===O.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function oo(t){let e=y(t);if(!B(e.series)&&j(t.series)===O.BoxPlotSeries){if(e.orderOptions?.data===void 0){let r=so(t.series[0]);r.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r.orderType,orderBy:r.orderBy})}if(e.series=t.series.map(r=>{let n=r;return B(n.x?.trim())&&(n.x=Pt),delete n.query?.orderByFields,n}),io(e)){e.showMean=!0;let r=e.series.find(n=>n.type===O.BoxPlotSeries);e.series.forEach(n=>{n.type===O.LineSeries&&(delete n.query?.groupByFieldsForStatistics,delete n.query?.outStatistics,delete n.query?.orderByFields,r&&(n.y=r.y))})}e.series=t.series.map(r=>{let n=r;return delete n.query?.outStatistics,n})}return e}function ao(t){let e=y(t);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function uo(t){let e=y(t);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function lo(t){let e=y(t),r=new Set,n=e.id??"";return r.add(n),e.series.forEach(s=>{let i=s.id;r.has(i)&&(i=`${i}_${Date.now()}`,s.id=i),r.add(i)}),e}async function co(t){let{configToUpdate:e,layer:r,chartContainer:n}=t,s=y(e);return s=eo(s),s=to(s),s=await ro(s,r),s=no(s),s=oo(s),s=ao(s),s=lo(s),s=_i({configToUpdate:s,chartContainer:n,layer:r}),s}function ho(t){let e=y(t);return e?.orderOptions?.orderByFields!==void 0&&ke(t.series)===T.PieFromFields&&(e.orderOptions.orderByFields=t?.orderOptions?.orderByFields?.map(r=>{let n=y(r);return r!==void 0&&r.includes("arcgis_charts_pie_category_from_fields_name")&&(n=r.replace("arcgis_charts_pie_category_from_fields_name",Ie)),n})),e}function mo(t){let e=y(t);if(!B(t.series)&&e.axes?.[0]!==void 0&&j(t.series)===O.GaugeSeries&&t.axes?.[0]!==void 0){let r=t.axes[0];r.ticks!==void 0&&Object.hasOwn(r.ticks,"spacing")&&delete r.ticks.spacing,e.axes[0]=r}return e}function fo(t){let e=y(t),{extent:r}=e.series[0]?.query??{};return r!==void 0&&(e.dataFilters={...e.dataFilters,geometry:r},e.series.forEach(n=>{"query"in n&&"extent"in n.query&&delete n.query.extent})),e}function ts(t){let e=y(t);return B(t.series)||(rr(t)&&t.rotated===void 0&&(e.rotated=t.series[0].rotated??Ht()),e.series.forEach(r=>{r.rotated!==void 0&&delete r.rotated})),e}function yo(t){let e=y(t),r=t.dataSource;return"dataSource"in e&&!B(r)&&(r.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in r&&(e.dataSource.layer=r.featureLayer,delete e.dataSource.featureLayer)),e}function go(t){let e=y(t);if("dataSource"in t){let r=t.dataSource;if(r.filter!==void 0&&r.filter.trim()!==""){let n=er([r.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:n},delete e.dataSource.filter}}return e}function po(t){return t!=="originalValue"}function rs(t){let e;switch(t){case"mean":e=W.Mean;break;case"median":e=W.Median;break;case"category":e=W.Category;break}return e}function wo(t){let e=y(t);if(!B(t.series)&&j(t.series)===O.PieSeries){let r=e.series[0];if(r){if(r.sortLabelsBy==="originalValue")e.sortLabelsBy=r.sortLabelsBy;else if(r.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let n=Bt(e);n!==void 0&&(e.orderOptions??={},e.orderOptions.data=n)}r.sortLabelsBy&&delete r.sortLabelsBy}}return e}function vo(t){let e=y(t);return B(t.series)||(nr(t)&&t.stackedType===void 0&&(e.stackedType=t.series[0].stackedType??Yt()),e.series.forEach(r=>{"stackedType"in r&&delete r.stackedType})),e}function ko(t){let e=y(t),r=t.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof r=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:r==="DESC"?V.Descending:V.Ascending}),e}function So(t){let e=y(t);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===At.Match),e.series.forEach(r=>{r.colorType!==void 0&&delete r.colorType}),e}function Oo(t){let e=y(t);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let r=t.sortDataBy,n=rs(r?.sortType);n!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:n,orderBy:r?.sortOrder??V.Ascending})}delete e.sortDataBy}return e}function bo(t){let e=y(t);return e.axes?.forEach(r=>{r!==void 0&&r.scrollbarVisible!==void 0&&r.scrollbar?.visible===void 0&&(r.scrollbar={...r.scrollbar,visible:r.scrollbarVisible},delete r.scrollbarVisible)}),e}function To(t){let e=y(t),r=e.series[0]?.query?.orderByFields;if(r!==void 0&&r.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let n=!0;if(r.length===1){let{fieldToSort:s,orderBy:i}=ve(r[0]),o;s===t.series[0].x||s===Ie?o=W.Category:"y"in t.series[0]&&s===t.series[0].y&&(o=W.YValue),o!==void 0&&(n=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:o,orderBy:i?.toUpperCase()==="DESC"?V.Descending:V.Ascending}))}n&&(e.orderOptions.orderByFields=r)}return e.series.forEach(n=>{delete n.query?.orderByFields}),e}function Bt(t){let e,r=t.orderOptions?.orderByFields?.[0];if(t.series?.length>0){let n=j(t.series),s=ke(t.series);if(n!==O.PieSeries&&s!==T.BarAndLineFromFields&&(r=r??t.series[0].x),r&&!Xe(r)){let{fieldToSort:i,orderBy:o}=ve(r),a;i===t.series[0].x||i===Ie?a=W.Category:"y"in t.series[0]&&i===t.series[0].y&&(a=W.YValue),a!==void 0&&(e={orderType:a,orderBy:o?.toUpperCase()==="DESC"?V.Descending:V.Ascending})}}return e}function Mo(t){let e=y(t),r=t,n=t,s=t,i=t,o=t;if(e){if(e.orderOptions?.series===void 0&&r.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:po(n.sortLabelsBy??r.sortOptions.sortSeriesBy.sortType),orderBy:r.sortOptions.sortSeriesBy.sortOrder??V.Ascending}),n.sortLabelsBy==="originalValue"||i.orderOptions?.data?.preferDataLabel===!1||o.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(j(e.series)===O.BoxPlotSeries){if(n.sortLabelsBy||s.sortOptions?.sortDataBy!==void 0){let a=rs(s.sortOptions?.sortDataBy?.sortType);a!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:a,orderBy:s.sortOptions?.sortDataBy?.sortOrder??V.Ascending})}}else{let a=Bt(e);a!==void 0&&(e.orderOptions??={},e.orderOptions.data=a)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function No(t){let e=y(t);if(e){let r=ke(e.series);if((r===T.BarAndLineFromFields||r===T.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let n=Bt(e);n!==void 0&&(e.orderOptions??={},e.orderOptions.data=n,delete e.orderOptions.orderByFields)}}return e}function Do(t){let e=y(t);return e.horizontalAxisLabelsBehavior===Ft.NONE&&(e.horizontalAxisLabelsBehavior=Qe.Hide),e.verticalAxisLabelsBehavior===Ft.NONE&&(e.verticalAxisLabelsBehavior=Qe.Hide),e}function Fo(t){let e=y(t),r=e.series[0];if(r&&!r.temporalBinning&&Kt(e.series[0])&&("timeIntervalSize"in r||"timeIntervalUnits"in r||"timeAggregationType"in r||"trimIncompleteTimeInterval"in r||"nullPolicy"in r)){if(r.temporalBinning={},r.timeIntervalSize!==void 0&&(r.temporalBinning.size=r.timeIntervalSize,delete r.timeIntervalSize),r.timeIntervalUnits){let n;switch(r.timeIntervalUnits){case"esriTimeUnitsSeconds":n=H.Second;break;case"esriTimeUnitsMinutes":n=H.Minute;break;case"esriTimeUnitsHours":n=H.Hour;break;case"esriTimeUnitsDays":n=H.Day;break;case"esriTimeUnitsWeeks":n=H.Week;break;case"esriTimeUnitsMonths":n=H.Month;break;case"esriTimeUnitsYears":n=H.Year;break}n!==void 0&&(r.temporalBinning.unit=n),delete r.timeIntervalUnits}r.timeAggregationType&&(r.temporalBinning.timeAggregationType=r.timeAggregationType,delete r.timeAggregationType),r.trimIncompleteTimeInterval!==void 0&&(r.temporalBinning.trimIncompleteTimeInterval=r.trimIncompleteTimeInterval,delete r.trimIncompleteTimeInterval),r.nullPolicy&&(r.temporalBinning.nullPolicy=r.nullPolicy,delete r.nullPolicy)}return e}function xo(t){let e=y(t);return e.series.forEach(r=>{r.query?.outStatistics?.forEach(n=>{n.statisticType==="percentile_cont"?n.statisticType=ne.ContinuousPercentile:n.statisticType==="percentile_disc"&&(n.statisticType=ne.DiscretePercentile)})}),e}function Io(t){let e=y(t);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function Vo(t){let e=y(t),r=e.series[0];return r?.temporalBinning&&delete r.temporalBinning?.type,e}function Eo(t){let e=y(t);return e=ho(e),e}function Wr(t){let e=y(t);return e=mo(e),e}function Br(t){let e=y(t);return e=fo(e),e}function Zr(t){let e=y(t);return e=ts(e),e}function qr(t){let e=y(t);return e=yo(e),e}function Ar(t){let e=y(t);return e=go(e),e}function zr(t){let e=y(t);return e=wo(e),e}function jr(t){let e=y(t);return e=ko(e),e}function Ur(t){let e=y(t);return e=So(e),e}function Pr(t){return bo(t)}function Hr(t){let e=y(t);return t.series[0]?.type===O.BoxPlotSeries&&(e=Oo(e)),e}function Yr(t){return vo(t)}function Rr(t){return Mo(t)}function Gr(t){return uo(t)}function Jr(t){return No(t)}function Qr(t){return Do(t)}function Kr(t){return Fo(t)}function Xr(t){return xo(t)}function _r(t){let e=y(t);return e=ts(e),Io(e)}function en(t){let e=y(t);return e=Vo(e),e}function Co(t){let{versionsToConvert:e=[],configToUpdate:r}=t,n=y(r);return e.length>0&&n!==void 0&&(n=To(n),e.includes(_e)||e.includes(Rt)?(n=Eo(n),n=Wr(n),n=Br(n),n=Zr(n),n=qr(n),n=Ar(n),n=zr(n),n=jr(n),n=Ur(n),n=Pr(n),n=Hr(n),n=Yr(n),n=Rr(n),n=Gr(n),n=Jr(n),n=Qr(n),n=Kr(n),n=Xr(n),n=_r(n),n=en(n)):e.forEach(s=>{if(n!==void 0)switch(s){case"1.0.1":n=Wr(n);break;case"3.4.0":n=Br(n);break;case"4.0.0":n=Zr(n);break;case"4.0.1":n=qr(n);break;case"6.4.0":n=Ar(n);break;case"7.5.1":n=zr(n);break;case"8.0.0":n=jr(n);break;case"9.2.0":n=Ur(n);break;case"9.7.0":n=Pr(n);break;case"10.0.0":n=Hr(n);break;case"11.0.0":n=Yr(n);break;case"14.0.1":n=Rr(n);break;case"16.0.0":n=Gr(n);break;case"16.1.0":n=Jr(n);break;case"18.1.3":n=Qr(n);break;case"20.1.0":n=Kr(n);break;case"21.0.0":n=Xr(n);break;case"23.2.0":n=_r(n);break;case"24.2.0":n=en(n);break}}),n.version=jt),n}async function Ao(t,e,r){let n=t;if(t){let s=_t(e);n=await co({configToUpdate:t,layer:s,chartContainer:r});let i=t.version??_e,{versionStatus:o,versions:a}=Gt(i);(o===Ke.Older||o===Ke.Unrecognized)&&(n=Co({versionsToConvert:a,configToUpdate:n}))}return n}return{a:k,b:Ao}},a)
|
|
3
|
+
v4.34.0-next.142 */
|
|
4
|
+
import{a as rr,b as nr,g as sr}from"./W5TAEYXR.js";import a from"./TU5ZGCNX.js";import{f as y,i as B}from"./JQE62N64.js";import{d as zt}from"./XIMHJK6E.js";import{a as O,b as ne,d as At,h as V,k as H,p as Qe,q as Ke,v as W,w as j}from"./DU6B4YFO.js";export default $arcgis.t(([{$a:ve,$b:er,A:Pt,Fa:T,Mb:_t,Sa:Xe,a:jt,b:Ie,db:_e,dc:tr,eb:Rt,fb:Gt,ia:Ht,ib:Jt,jb:Qt,mb:ke,ob:Kt,qc:Y,rb:Xt,rc:et,ya:Yt,z:Ut}])=>{var P=class extends Error{},ct=class extends P{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},dt=class extends P{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},ht=class extends P{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},J=class extends P{},qe=class extends P{constructor(e){super(`Invalid unit ${e}`)}},M=class extends P{},z=class extends P{constructor(){super("Zone is an abstract class")}},c="numeric",A="short",I="long",Ae={year:c,month:c,day:c},tn={year:c,month:A,day:c},us={year:c,month:A,day:c,weekday:A},rn={year:c,month:I,day:c},nn={year:c,month:I,day:c,weekday:I},sn={hour:c,minute:c},on={hour:c,minute:c,second:c},an={hour:c,minute:c,second:c,timeZoneName:A},un={hour:c,minute:c,second:c,timeZoneName:I},ln={hour:c,minute:c,hourCycle:"h23"},cn={hour:c,minute:c,second:c,hourCycle:"h23"},dn={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:A},hn={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:I},mn={year:c,month:c,day:c,hour:c,minute:c},fn={year:c,month:c,day:c,hour:c,minute:c,second:c},yn={year:c,month:A,day:c,hour:c,minute:c},gn={year:c,month:A,day:c,hour:c,minute:c,second:c},ls={year:c,month:A,day:c,weekday:A,hour:c,minute:c},pn={year:c,month:I,day:c,hour:c,minute:c,timeZoneName:A},wn={year:c,month:I,day:c,hour:c,minute:c,second:c,timeZoneName:A},vn={year:c,month:I,day:c,weekday:I,hour:c,minute:c,timeZoneName:I},kn={year:c,month:I,day:c,weekday:I,hour:c,minute:c,second:c,timeZoneName:I},te=class{get type(){throw new z}get name(){throw new z}get ianaName(){return this.name}get isUniversal(){throw new z}offsetName(e,r){throw new z}formatOffset(e,r){throw new z}offset(e){throw new z}equals(e){throw new z}get isValid(){throw new z}},tt=null,ze=class t extends te{static get instance(){return tt===null&&(tt=new t),tt}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Vn(e,r,n)}formatOffset(e,r){return Te(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},mt=new Map;function cs(t){let e=mt.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),mt.set(t,e)),e}var ds={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hs(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,i,o,a,u,l,d]=n;return[o,s,i,a,u,l,d]}function ms(t,e){let r=t.formatToParts(e),n=[];for(let s=0;s<r.length;s++){let{type:i,value:o}=r[s],a=ds[i];i==="era"?n[a]=o:f(a)||(n[a]=parseInt(o,10))}return n}var rt=new Map,K=class t extends te{static create(e){let r=rt.get(e);return r===void 0&&rt.set(e,r=new t(e)),r}static resetCache(){rt.clear(),mt.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Vn(e,r,n,this.name)}formatOffset(e,r){return Te(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=cs(this.name),[s,i,o,a,u,l,d]=n.formatToParts?ms(n,r):hs(n,r);a==="BC"&&(s=-Math.abs(s)+1);let h=Re({year:s,month:i,day:o,hour:u===24?0:u,minute:l,second:d,millisecond:0}),g=+r,m=g%1e3;return g-=m>=0?m:1e3+m,(h-g)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},ir={};function fs(t,e={}){let r=JSON.stringify([t,e]),n=ir[r];return n||(n=new Intl.ListFormat(t,e),ir[r]=n),n}var ft=new Map;function yt(t,e={}){let r=JSON.stringify([t,e]),n=ft.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),ft.set(r,n)),n}var gt=new Map;function ys(t,e={}){let r=JSON.stringify([t,e]),n=gt.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),gt.set(r,n)),n}var pt=new Map;function gs(t,e={}){let{base:r,...n}=e,s=JSON.stringify([t,n]),i=pt.get(s);return i===void 0&&(i=new Intl.RelativeTimeFormat(t,e),pt.set(s,i)),i}var $e=null;function ps(){return $e||($e=new Intl.DateTimeFormat().resolvedOptions().locale,$e)}var wt=new Map;function Sn(t){let e=wt.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),wt.set(t,e)),e}var vt=new Map;function ws(t){let e=vt.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...On,...e}),vt.set(t,e)}return e}function vs(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,s;try{n=yt(t).resolvedOptions(),s=t}catch{let a=t.substring(0,r);n=yt(a).resolvedOptions(),s=a}let{numberingSystem:i,calendar:o}=n;return[s,i,o]}}function ks(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function Ss(t){let e=[];for(let r=1;r<=12;r++){let n=k.utc(2009,r,1);e.push(t(n))}return e}function Os(t){let e=[];for(let r=1;r<=7;r++){let n=k.utc(2016,11,13+r);e.push(t(n))}return e}function Ve(t,e,r,n){let s=t.listingMode();return s==="error"?null:s==="en"?r(e):n(e)}function bs(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Sn(t.locale).numberingSystem==="latn"}var kt=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:s,floor:i,...o}=n;if(!r||Object.keys(o).length>0){let a={useGrouping:!1,...n};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=ys(e,a)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):Ct(e,3);return b(r,this.padTo)}}},St=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let o=-1*(e.offset/60),a=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;e.offset!==0&&K.create(a).valid?(s=a,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=yt(r,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Ot=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&xn()&&(this.rtf=gs(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):Ps(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},On={firstDay:1,minimalDays:4,weekend:[6,7]},w=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,s,i=!1){let o=e||v.defaultLocale,a=o||(i?"en-US":ps()),u=r||v.defaultNumberingSystem,l=n||v.defaultOutputCalendar,d=Mt(s)||v.defaultWeekSettings;return new t(a,u,l,d,o)}static resetCache(){$e=null,ft.clear(),gt.clear(),pt.clear(),wt.clear(),vt.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:s}={}){return t.create(e,r,n,s)}constructor(e,r,n,s,i){let[o,a,u]=vs(e);this.locale=o,this.numberingSystem=r||a||null,this.outputCalendar=n||u||null,this.weekSettings=s,this.intl=ks(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=bs(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Mt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return Ve(this,e,Ln,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let s=r?{month:e,day:"numeric"}:{month:e},i=r?"format":"standalone";if(!this.monthsCache[i][e]){let o=n?a=>this.dtFormatter(a,s).format():a=>this.extract(a,s,"month");this.monthsCache[i][e]=Ss(o)}return this.monthsCache[i][e]})}weekdays(e,r=!1){return Ve(this,e,Bn,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=r?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=Os(i=>this.extract(i,n,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return Ve(this,void 0,()=>Zn,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[k.utc(2016,11,13,9),k.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ve(this,e,qn,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[k.utc(-40,1,1),k.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let s=this.dtFormatter(e,r),i=s.formatToParts(),o=i.find(a=>a.type.toLowerCase()===n);return o?o.value:null}numberFormatter(e={}){return new kt(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new St(e,this.intl,r)}relFormatter(e={}){return new Ot(this.intl,this.isEnglish(),e)}listFormatter(e={}){return fs(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Sn(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:In()?ws(this.locale):On}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},nt=null,$=class t extends te{static get utcInstance(){return nt===null&&(nt=new t(0)),nt}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(Ge(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Te(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Te(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Te(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},bt=class extends te{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function G(t,e){if(f(t)||t===null)return e;if(t instanceof te)return t;if(xs(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?ze.instance:r==="utc"||r==="gmt"?$.utcInstance:$.parseSpecifier(r)||K.create(t)}else return Q(t)?$.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new bt(t)}var xt={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},or={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ts=xt.hanidec.replace(/[\[|\]]/g,"").split("");function Ms(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(xt.hanidec)!==-1)e+=Ts.indexOf(t[r]);else for(let s in or){let[i,o]=or[s];n>=i&&n<=o&&(e+=n-i)}}return parseInt(e,10)}else return e}var Tt=new Map;function Ns(){Tt.clear()}function Z({numberingSystem:t},e=""){let r=t||"latn",n=Tt.get(r);n===void 0&&(n=new Map,Tt.set(r,n));let s=n.get(e);return s===void 0&&(s=new RegExp(`${xt[r]}${e}`),n.set(e,s)),s}var ar=()=>Date.now(),ur="system",lr=null,cr=null,dr=null,hr=60,mr,fr=null,v=class{static get now(){return ar}static set now(e){ar=e}static set defaultZone(e){ur=e}static get defaultZone(){return G(ur,ze.instance)}static get defaultLocale(){return lr}static set defaultLocale(e){lr=e}static get defaultNumberingSystem(){return cr}static set defaultNumberingSystem(e){cr=e}static get defaultOutputCalendar(){return dr}static set defaultOutputCalendar(e){dr=e}static get defaultWeekSettings(){return fr}static set defaultWeekSettings(e){fr=Mt(e)}static get twoDigitCutoffYear(){return hr}static set twoDigitCutoffYear(e){hr=e%100}static get throwOnInvalid(){return mr}static set throwOnInvalid(e){mr=e}static resetCaches(){w.resetCache(),K.resetCache(),k.resetCache(),Ns()}},x=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},bn=[0,31,59,90,120,151,181,212,243,273,304,334],Tn=[0,31,60,91,121,152,182,213,244,274,305,335];function C(t,e){return new x("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function It(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let s=n.getUTCDay();return s===0?7:s}function Mn(t,e,r){return r+(Ne(t)?Tn:bn)[e-1]}function Nn(t,e){let r=Ne(t)?Tn:bn,n=r.findIndex(i=>i<e),s=e-r[n];return{month:n+1,day:s}}function Vt(t,e){return(t-e+7)%7+1}function je(t,e=4,r=1){let{year:n,month:s,day:i}=t,o=Mn(n,s,i),a=Vt(It(n,s,i),r),u=Math.floor((o-a+14-e)/7),l;return u<1?(l=n-1,u=Me(l,e,r)):u>Me(n,e,r)?(l=n+1,u=1):l=n,{weekYear:l,weekNumber:u,weekday:a,...Je(t)}}function yr(t,e=4,r=1){let{weekYear:n,weekNumber:s,weekday:i}=t,o=Vt(It(n,1,e),r),a=ue(n),u=s*7+i-o-7+e,l;u<1?(l=n-1,u+=ue(l)):u>a?(l=n+1,u-=ue(n)):l=n;let{month:d,day:h}=Nn(l,u);return{year:l,month:d,day:h,...Je(t)}}function st(t){let{year:e,month:r,day:n}=t,s=Mn(e,r,n);return{year:e,ordinal:s,...Je(t)}}function gr(t){let{year:e,ordinal:r}=t,{month:n,day:s}=Nn(e,r);return{year:e,month:n,day:s,...Je(t)}}function pr(t,e){if(!f(t.localWeekday)||!f(t.localWeekNumber)||!f(t.localWeekYear)){if(!f(t.weekday)||!f(t.weekNumber)||!f(t.weekYear))throw new J("Cannot mix locale-based week fields with ISO-based week fields");return f(t.localWeekday)||(t.weekday=t.localWeekday),f(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),f(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Ds(t,e=4,r=1){let n=Ye(t.weekYear),s=L(t.weekNumber,1,Me(t.weekYear,e,r)),i=L(t.weekday,1,7);return n?s?i?!1:C("weekday",t.weekday):C("week",t.weekNumber):C("weekYear",t.weekYear)}function Fs(t){let e=Ye(t.year),r=L(t.ordinal,1,ue(t.year));return e?r?!1:C("ordinal",t.ordinal):C("year",t.year)}function Dn(t){let e=Ye(t.year),r=L(t.month,1,12),n=L(t.day,1,Ue(t.year,t.month));return e?r?n?!1:C("day",t.day):C("month",t.month):C("year",t.year)}function Fn(t){let{hour:e,minute:r,second:n,millisecond:s}=t,i=L(e,0,23)||e===24&&r===0&&n===0&&s===0,o=L(r,0,59),a=L(n,0,59),u=L(s,0,999);return i?o?a?u?!1:C("millisecond",s):C("second",n):C("minute",r):C("hour",e)}function f(t){return typeof t>"u"}function Q(t){return typeof t=="number"}function Ye(t){return typeof t=="number"&&t%1===0}function xs(t){return typeof t=="string"}function Is(t){return Object.prototype.toString.call(t)==="[object Date]"}function xn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function In(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Vs(t){return Array.isArray(t)?t:[t]}function wr(t,e,r){if(t.length!==0)return t.reduce((n,s)=>{let i=[e(s),s];return n&&r(n[0],i[0])===n[0]?n:i},null)[1]}function Es(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function de(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Mt(t){if(t==null)return null;if(typeof t!="object")throw new M("Week settings must be an object");if(!L(t.firstDay,1,7)||!L(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!L(e,1,7)))throw new M("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function L(t,e,r){return Ye(t)&&t>=e&&t<=r}function Cs(t,e){return t-e*Math.floor(t/e)}function b(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function R(t){if(!(f(t)||t===null||t===""))return parseInt(t,10)}function X(t){if(!(f(t)||t===null||t===""))return parseFloat(t)}function Et(t){if(!(f(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Ct(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function Ne(t){return t%4===0&&(t%100!==0||t%400===0)}function ue(t){return Ne(t)?366:365}function Ue(t,e){let r=Cs(e-1,12)+1,n=t+(e-r)/12;return r===2?Ne(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Re(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function vr(t,e,r){return-Vt(It(t,1,e),r)+e-1}function Me(t,e=4,r=1){let n=vr(t,e,r),s=vr(t+1,e,r);return(ue(t)-n+s)/7}function Nt(t){return t>99?t:t>v.twoDigitCutoffYear?1900+t:2e3+t}function Vn(t,e,r,n=null){let s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(i.timeZone=n);let o={timeZoneName:e,...i},a=new Intl.DateTimeFormat(r,o).formatToParts(s).find(u=>u.type.toLowerCase()==="timezonename");return a?a.value:null}function Ge(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function En(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new M(`Invalid unit value ${t}`);return e}function Pe(t,e){let r={};for(let n in t)if(de(t,n)){let s=t[n];if(s==null)continue;r[e(n)]=En(s)}return r}function Te(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${b(r,2)}:${b(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${b(r,2)}${b(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Je(t){return Es(t,["hour","minute","second","millisecond"])}var Ls=["January","February","March","April","May","June","July","August","September","October","November","December"],Cn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],$s=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ln(t){switch(t){case"narrow":return[...$s];case"short":return[...Cn];case"long":return[...Ls];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var $n=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ws=["M","T","W","T","F","S","S"];function Bn(t){switch(t){case"narrow":return[...Ws];case"short":return[...Wn];case"long":return[...$n];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Zn=["AM","PM"],Bs=["Before Christ","Anno Domini"],Zs=["BC","AD"],qs=["B","A"];function qn(t){switch(t){case"narrow":return[...qs];case"short":return[...Zs];case"long":return[...Bs];default:return null}}function As(t){return Zn[t.hour<12?0:1]}function zs(t,e){return Bn(e)[t.weekday-1]}function js(t,e){return Ln(e)[t.month-1]}function Us(t,e){return qn(e)[t.year<0?0:1]}function Ps(t,e,r="always",n=!1){let s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&i){let h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`}}let o=Object.is(e,-0)||e<0,a=Math.abs(e),u=a===1,l=s[t],d=n?u?l[1]:l[2]||l[1]:u?s[t][0]:t;return o?`${a} ${d} ago`:`in ${a} ${d}`}function kr(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var Hs={D:Ae,DD:tn,DDD:rn,DDDD:nn,t:sn,tt:on,ttt:an,tttt:un,T:ln,TT:cn,TTT:dn,TTTT:hn,f:mn,ff:yn,fff:pn,ffff:vn,F:fn,FF:gn,FFF:wn,FFFF:kn},F=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",s=!1,i=[];for(let o=0;o<e.length;o++){let a=e.charAt(o);a==="'"?((n.length>0||s)&&i.push({literal:s||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",s=!s):s||a===r?n+=a:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=a,r=a)}return n.length>0&&i.push({literal:s||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return Hs[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return b(e,r);let s={...this.opts};return r>0&&(s.padTo=r),n&&(s.signDisplay=n),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,S)=>this.loc.extract(e,m,S),o=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",a=()=>n?As(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(m,S)=>n?js(e,m):i(S?{month:m}:{month:m,day:"numeric"},"month"),l=(m,S)=>n?zs(e,m):i(S?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),d=m=>{let S=t.macroTokenToFormatOpts(m);return S?this.formatWithSystemDefault(e,S):m},h=m=>n?Us(e,m):i({era:m},"era"),g=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(m)}};return kr(t.parseFormat(r),g)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,s=d=>{switch(d[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},i=(d,h)=>g=>{let m=s(g);if(m){let S=h.isNegativeDuration&&m!==h.largestUnit?n:1,D;return this.opts.signMode==="negativeLargestOnly"&&m!==h.largestUnit?D="never":this.opts.signMode==="all"?D="always":D="auto",this.num(d.get(m)*S,g.length,D)}else return g},o=t.parseFormat(r),a=o.reduce((d,{literal:h,val:g})=>h?d:d.concat(g),[]),u=e.shiftTo(...a.map(s).filter(d=>d)),l={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return kr(o,i(u,l))}},An=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function he(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function me(...t){return e=>t.reduce(([r,n,s],i)=>{let[o,a,u]=i(e,s);return[{...r,...o},a||n,u]},[{},null,1]).slice(0,2)}function fe(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let s=r.exec(t);if(s)return n(s)}return[null,null]}function zn(...t){return(e,r)=>{let n={},s;for(s=0;s<t.length;s++)n[t[s]]=R(e[r+s]);return[n,null,r+s]}}var jn=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Ys=`(?:${jn.source}?(?:\\[(${An.source})\\])?)?`,Lt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Un=RegExp(`${Lt.source}${Ys}`),$t=RegExp(`(?:[Tt]${Un.source})?`),Rs=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Gs=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Js=/(\d{4})-?(\d{3})/,Qs=zn("weekYear","weekNumber","weekDay"),Ks=zn("year","ordinal"),Xs=/(\d{4})-(\d\d)-(\d\d)/,Pn=RegExp(`${Lt.source} ?(?:${jn.source}|(${An.source}))?`),_s=RegExp(`(?: ${Pn.source})?`);function le(t,e,r){let n=t[e];return f(n)?r:R(n)}function ei(t,e){return[{year:le(t,e),month:le(t,e+1,1),day:le(t,e+2,1)},null,e+3]}function ye(t,e){return[{hours:le(t,e,0),minutes:le(t,e+1,0),seconds:le(t,e+2,0),milliseconds:Et(t[e+3])},null,e+4]}function De(t,e){let r=!t[e]&&!t[e+1],n=Ge(t[e+1],t[e+2]),s=r?null:$.instance(n);return[{},s,e+3]}function Fe(t,e){let r=t[e]?K.create(t[e]):null;return[{},r,e+1]}var ti=RegExp(`^T?${Lt.source}$`),ri=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ni(t){let[e,r,n,s,i,o,a,u,l]=t,d=e[0]==="-",h=u&&u[0]==="-",g=(m,S=!1)=>m!==void 0&&(S||m&&d)?-m:m;return[{years:g(X(r)),months:g(X(n)),weeks:g(X(s)),days:g(X(i)),hours:g(X(o)),minutes:g(X(a)),seconds:g(X(u),u==="-0"),milliseconds:g(Et(l),h)}]}var si={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Wt(t,e,r,n,s,i,o){let a={year:e.length===2?Nt(R(e)):R(e),month:Cn.indexOf(r)+1,day:R(n),hour:R(s),minute:R(i)};return o&&(a.second=R(o)),t&&(a.weekday=t.length>3?$n.indexOf(t)+1:Wn.indexOf(t)+1),a}var ii=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function oi(t){let[,e,r,n,s,i,o,a,u,l,d,h]=t,g=Wt(e,s,n,r,i,o,a),m;return u?m=si[u]:l?m=0:m=Ge(d,h),[g,new $(m)]}function ai(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var ui=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,li=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ci=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Sr(t){let[,e,r,n,s,i,o,a]=t;return[Wt(e,s,n,r,i,o,a),$.utcInstance]}function di(t){let[,e,r,n,s,i,o,a]=t;return[Wt(e,a,r,n,s,i,o),$.utcInstance]}var hi=he(Rs,$t),mi=he(Gs,$t),fi=he(Js,$t),yi=he(Un),Hn=me(ei,ye,De,Fe),gi=me(Qs,ye,De,Fe),pi=me(Ks,ye,De,Fe),wi=me(ye,De,Fe);function vi(t){return fe(t,[hi,Hn],[mi,gi],[fi,pi],[yi,wi])}function ki(t){return fe(ai(t),[ii,oi])}function Si(t){return fe(t,[ui,Sr],[li,Sr],[ci,di])}function Oi(t){return fe(t,[ri,ni])}var bi=me(ye);function Ti(t){return fe(t,[ti,bi])}var Mi=he(Xs,_s),Ni=he(Pn),Di=me(ye,De,Fe);function Fi(t){return fe(t,[Mi,Hn],[Ni,Di])}var Or="Invalid Duration",Yn={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},xi={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Yn},E=146097/400,se=146097/4800,Ii={years:{quarters:4,months:12,weeks:E/7,days:E,hours:E*24,minutes:E*24*60,seconds:E*24*60*60,milliseconds:E*24*60*60*1e3},quarters:{months:3,weeks:E/28,days:E/4,hours:E*24/4,minutes:E*24*60/4,seconds:E*24*60*60/4,milliseconds:E*24*60*60*1e3/4},months:{weeks:se/7,days:se,hours:se*24,minutes:se*24*60,seconds:se*24*60*60,milliseconds:se*24*60*60*1e3},...Yn},ee=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Vi=ee.slice(0).reverse();function U(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new N(n)}function Rn(t,e){let r=e.milliseconds??0;for(let n of Vi.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function br(t,e){let r=Rn(t,e)<0?-1:1;ee.reduceRight((n,s)=>{if(f(e[s]))return n;if(n){let i=e[n]*r,o=t[s][n],a=Math.floor(i/o);e[s]+=a*r,e[n]-=a*o*r}return s},null),ee.reduce((n,s)=>{if(f(e[s]))return n;if(n){let i=e[n]%1;e[n]-=i,e[s]+=i*t[n][s]}return s},null)}function Tr(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var N=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?Ii:xi;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||w.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new M(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:Pe(e,t.normalizeUnit),loc:w.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(Q(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new M(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=Oi(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=Ti(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new M("need to specify a reason the Duration is invalid");let n=e instanceof x?e:new x(e,r);if(v.throwOnInvalid)throw new ht(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new qe(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?F.create(this.loc,n).formatDurationFromString(this,e):Or}toHuman(e={}){if(!this.isValid)return Or;let r=e.showZeros!==!1,n=ee.map(s=>{let i=this.values[s];return f(i)||i===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(i)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ct(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},k.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Rn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let s of ee)(de(r.values,s)||de(this.values,s))&&(n[s]=r.get(s)+this.get(s));return U(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=En(e(this.values[n],n));return U(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...Pe(e,t.normalizeUnit)};return U(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:s}={}){let i={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:s,conversionAccuracy:n};return U(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return br(this.matrix,e),U(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Tr(this.normalize().shiftToAll().toObject());return U(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>t.normalizeUnit(o));let r={},n={},s=this.toObject(),i;for(let o of ee)if(e.indexOf(o)>=0){i=o;let a=0;for(let l in n)a+=this.matrix[l][o]*n[l],n[l]=0;Q(s[o])&&(a+=s[o]);let u=Math.trunc(a);r[o]=u,n[o]=(a*1e3-u*1e3)/1e3}else Q(s[o])&&(n[o]=s[o]);for(let o in n)n[o]!==0&&(r[i]+=o===i?n[o]:n[o]/this.matrix[i][o]);return br(this.matrix,r),U(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return U(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Tr(this.values);return U(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,s){return n===void 0||n===0?s===void 0||s===0:n===s}for(let n of ee)if(!r(this.values[n],e.values[n]))return!1;return!0}},ie="Invalid Interval";function Ei(t,e){return!t||!t.isValid?ce.invalid("missing or invalid start"):!e||!e.isValid?ce.invalid("missing or invalid end"):e<t?ce.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var ce=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new M("need to specify a reason the Interval is invalid");let n=e instanceof x?e:new x(e,r);if(v.throwOnInvalid)throw new dt(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=Se(e),s=Se(r);return Ei(n,s)??new t({start:n,end:s})}static after(e,r){let n=N.fromDurationLike(r),s=Se(e);return t.fromDateTimes(s,s.plus(n))}static before(e,r){let n=N.fromDurationLike(r),s=Se(e);return t.fromDateTimes(s.minus(n),s)}static fromISO(e,r){let[n,s]=(e||"").split("/",2);if(n&&s){let i,o;try{i=k.fromISO(n,r),o=i.isValid}catch{o=!1}let a,u;try{a=k.fromISO(s,r),u=a.isValid}catch{u=!1}if(o&&u)return t.fromDateTimes(i,a);if(o){let l=N.fromISO(s,r);if(l.isValid)return t.after(i,l)}else if(u){let l=N.fromISO(n,r);if(l.isValid)return t.before(a,l)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),s;return r?.useLocaleWeeks?s=this.end.reconfigure({locale:n.locale}):s=this.end,s=s.startOf(e,r),Math.floor(s.diff(n,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(Se).filter(o=>this.contains(o)).sort((o,a)=>o.toMillis()-a.toMillis()),n=[],{s}=this,i=0;for(;s<this.e;){let o=r[i]||this.e,a=+o>+this.e?this.e:o;n.push(t.fromDateTimes(s,a)),s=a,i+=1}return n}splitBy(e){let r=N.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,s=1,i,o=[];for(;n<this.e;){let a=this.start.plus(r.mapUnits(u=>u*s));i=+a>+this.e?this.e:a,o.push(t.fromDateTimes(n,i)),n=i,s+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],o)=>i?i.overlaps(o)||i.abutsStart(o)?[s,i.union(o)]:[s.concat([i]),o]:[s,o],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,s=[],i=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),o=Array.prototype.concat(...i),a=o.sort((u,l)=>u.time-l.time);for(let u of a)n+=u.type==="s"?1:-1,n===1?r=u.time:(r&&+r!=+u.time&&s.push(t.fromDateTimes(r,u.time)),r=null);return t.merge(s)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:ie}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ae,r={}){return this.isValid?F.create(this.s.loc.clone(r),e).formatInterval(this):ie}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ie}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ie}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ie}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:ie}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):N.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},ae=class{static hasDST(e=v.defaultZone){let r=k.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return K.isValidZone(e)}static normalizeZone(e){return G(e,v.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||w.create(r,n,i)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||w.create(r,n,i)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||w.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||w.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return w.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return w.create(r,null,"gregory").eras(e)}static features(){return{relative:xn(),localeWeek:In()}}};function Mr(t,e){let r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(N.fromMillis(n).as("days"))}function Ci(t,e,r){let n=[["years",(u,l)=>l.year-u.year],["quarters",(u,l)=>l.quarter-u.quarter+(l.year-u.year)*4],["months",(u,l)=>l.month-u.month+(l.year-u.year)*12],["weeks",(u,l)=>{let d=Mr(u,l);return(d-d%7)/7}],["days",Mr]],s={},i=t,o,a;for(let[u,l]of n)r.indexOf(u)>=0&&(o=u,s[u]=l(t,e),a=i.plus(s),a>e?(s[u]--,t=i.plus(s),t>e&&(a=t,s[u]--,t=i.plus(s))):t=a);return[t,s,a,o]}function Li(t,e,r,n){let[s,i,o,a]=Ci(t,e,r),u=e-s,l=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);l.length===0&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(i[a]=(i[a]||0)+u/(o-s)));let d=N.fromObject(i,n);return l.length>0?N.fromMillis(u,n).shiftTo(...l).plus(d):d}var $i="missing Intl.DateTimeFormat.formatToParts support";function p(t,e=r=>r){return{regex:t,deser:([r])=>e(Ms(r))}}var Wi="\xA0",Gn=`[ ${Wi}]`,Jn=new RegExp(Gn,"g");function Bi(t){return t.replace(/\./g,"\\.?").replace(Jn,Gn)}function Nr(t){return t.replace(/\./g,"").replace(Jn," ").toLowerCase()}function q(t,e){return t===null?null:{regex:RegExp(t.map(Bi).join("|")),deser:([r])=>t.findIndex(n=>Nr(r)===Nr(n))+e}}function Dr(t,e){return{regex:t,deser:([,r,n])=>Ge(r,n),groups:e}}function Ee(t){return{regex:t,deser:([e])=>e}}function Zi(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function qi(t,e){let r=Z(e),n=Z(e,"{2}"),s=Z(e,"{3}"),i=Z(e,"{4}"),o=Z(e,"{6}"),a=Z(e,"{1,2}"),u=Z(e,"{1,3}"),l=Z(e,"{1,6}"),d=Z(e,"{1,9}"),h=Z(e,"{2,4}"),g=Z(e,"{4,6}"),m=D=>({regex:RegExp(Zi(D.val)),deser:([re])=>re,literal:!0}),S=(D=>{if(t.literal)return m(D);switch(D.val){case"G":return q(e.eras("short"),0);case"GG":return q(e.eras("long"),0);case"y":return p(l);case"yy":return p(h,Nt);case"yyyy":return p(i);case"yyyyy":return p(g);case"yyyyyy":return p(o);case"M":return p(a);case"MM":return p(n);case"MMM":return q(e.months("short",!0),1);case"MMMM":return q(e.months("long",!0),1);case"L":return p(a);case"LL":return p(n);case"LLL":return q(e.months("short",!1),1);case"LLLL":return q(e.months("long",!1),1);case"d":return p(a);case"dd":return p(n);case"o":return p(u);case"ooo":return p(s);case"HH":return p(n);case"H":return p(a);case"hh":return p(n);case"h":return p(a);case"mm":return p(n);case"m":return p(a);case"q":return p(a);case"qq":return p(n);case"s":return p(a);case"ss":return p(n);case"S":return p(u);case"SSS":return p(s);case"u":return Ee(d);case"uu":return Ee(a);case"uuu":return p(r);case"a":return q(e.meridiems(),0);case"kkkk":return p(i);case"kk":return p(h,Nt);case"W":return p(a);case"WW":return p(n);case"E":case"c":return p(r);case"EEE":return q(e.weekdays("short",!1),1);case"EEEE":return q(e.weekdays("long",!1),1);case"ccc":return q(e.weekdays("short",!0),1);case"cccc":return q(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Ee(/[a-z_+-/]{1,256}?/i);case" ":return Ee(/[^\S\n\r]/);default:return m(D)}})(t)||{invalidReason:$i};return S.token=t,S}var Ai={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function zi(t,e,r){let{type:n,value:s}=t;if(n==="literal"){let u=/^\s+$/.test(s);return{literal:!u,val:u?" ":s}}let i=e[n],o=n;n==="hour"&&(e.hour12!=null?o=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?o="hour12":o="hour24":o=r.hour12?"hour12":"hour24");let a=Ai[o];if(typeof a=="object"&&(a=a[i]),a)return{literal:!1,val:a}}function ji(t){return[`^${t.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,t]}function Ui(t,e,r){let n=t.match(e);if(n){let s={},i=1;for(let o in r)if(de(r,o)){let a=r[o],u=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(n.slice(i,i+u))),i+=u}return[n,s]}else return[n,{}]}function Pi(t){let e=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return f(t.z)||(r=K.create(t.z)),f(t.Z)||(r||(r=new $(t.Z)),n=t.Z),f(t.q)||(t.M=(t.q-1)*3+1),f(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),f(t.u)||(t.S=Et(t.u)),[Object.keys(t).reduce((s,i)=>{let o=e(i);return o&&(s[o]=t[i]),s},{}),r,n]}var it=null;function Hi(){return it||(it=k.fromMillis(1555555555555)),it}function Yi(t,e){if(t.literal)return t;let r=F.macroTokenToFormatOpts(t.val),n=Xn(r,e);return n==null||n.includes(void 0)?t:n}function Qn(t,e){return Array.prototype.concat(...t.map(r=>Yi(r,e)))}var He=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Qn(F.parseFormat(r),e),this.units=this.tokens.map(n=>qi(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,s]=ji(this.units);this.regex=RegExp(n,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){let[r,n]=Ui(e,this.regex,this.handlers),[s,i,o]=n?Pi(n):[null,null,void 0];if(de(n,"a")&&de(n,"H"))throw new J("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:s,zone:i,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Kn(t,e,r){return new He(t,r).explainFromTokens(e)}function Ri(t,e,r){let{result:n,zone:s,specificOffset:i,invalidReason:o}=Kn(t,e,r);return[n,s,i,o]}function Xn(t,e){if(!t)return null;let r=F.create(e,t).dtFormatter(Hi()),n=r.formatToParts(),s=r.resolvedOptions();return n.map(i=>zi(i,t,s))}var ot="Invalid DateTime",Fr=864e13;function Oe(t){return new x("unsupported zone",`the zone "${t.name}" is not supported`)}function at(t){return t.weekData===null&&(t.weekData=je(t.c)),t.weekData}function ut(t){return t.localWeekData===null&&(t.localWeekData=je(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function _(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new k({...r,...e,old:r})}function _n(t,e,r){let n=t-e*60*1e3,s=r.offset(n);if(e===s)return[n,e];n-=(s-e)*60*1e3;let i=r.offset(n);return s===i?[n,s]:[t-Math.min(s,i)*60*1e3,Math.max(s,i)]}function Ce(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function We(t,e,r){return _n(Re(t),e,r)}function xr(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:n,month:s,day:Math.min(t.c.day,Ue(n,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=N.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Re(i),[u,l]=_n(a,r,t.zone);return o!==0&&(u+=o,l=t.zone.offset(u)),{ts:u,o:l}}function oe(t,e,r,n,s,i){let{setZone:o,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let u=e||a,l=k.fromObject(t,{...r,zone:u,specificOffset:i});return o?l:l.setZone(a)}else return k.invalid(new x("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Le(t,e,r=!0){return t.isValid?F.create(w.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function lt(t,e,r){let n=t.c.year>9999||t.c.year<0,s="";if(n&&t.c.year>=0&&(s+="+"),s+=b(t.c.year,n?6:4),r==="year")return s;if(e){if(s+="-",s+=b(t.c.month),r==="month")return s;s+="-"}else if(s+=b(t.c.month),r==="month")return s;return s+=b(t.c.day),s}function Ir(t,e,r,n,s,i,o){let a=!r||t.c.millisecond!==0||t.c.second!==0,u="";switch(o){case"day":case"month":case"year":break;default:if(u+=b(t.c.hour),o==="hour")break;if(e){if(u+=":",u+=b(t.c.minute),o==="minute")break;a&&(u+=":",u+=b(t.c.second))}else{if(u+=b(t.c.minute),o==="minute")break;a&&(u+=b(t.c.second))}if(o==="second")break;a&&(!n||t.c.millisecond!==0)&&(u+=".",u+=b(t.c.millisecond,3))}return s&&(t.isOffsetFixed&&t.offset===0&&!i?u+="Z":t.o<0?(u+="-",u+=b(Math.trunc(-t.o/60)),u+=":",u+=b(Math.trunc(-t.o%60))):(u+="+",u+=b(Math.trunc(t.o/60)),u+=":",u+=b(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}var es={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Gi={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Ji={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Be=["year","month","day","hour","minute","second","millisecond"],Qi=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ki=["year","ordinal","hour","minute","second","millisecond"];function Ze(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new qe(t);return e}function Vr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ze(t)}}function Xi(t){if(be===void 0&&(be=v.now()),t.type!=="iana")return t.offset(be);let e=t.name,r=Dt.get(e);return r===void 0&&(r=t.offset(be),Dt.set(e,r)),r}function Er(t,e){let r=G(e.zone,v.defaultZone);if(!r.isValid)return k.invalid(Oe(r));let n=w.fromObject(e),s,i;if(f(t.year))s=v.now();else{for(let u of Be)f(t[u])&&(t[u]=es[u]);let o=Dn(t)||Fn(t);if(o)return k.invalid(o);let a=Xi(r);[s,i]=We(t,a,r)}return new k({ts:s,zone:r,loc:n,o:i})}function Cr(t,e,r){let n=f(r.round)?!0:r.round,s=f(r.rounding)?"trunc":r.rounding,i=(a,u)=>(a=Ct(a,n||r.calendary?0:2,r.calendary?"round":s),e.loc.clone(r).relFormatter(r).format(a,u)),o=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return i(o(r.unit),r.unit);for(let a of r.units){let u=o(a);if(Math.abs(u)>=1)return i(u,a)}return i(t>e?-0:0,r.units[r.units.length-1])}function Lr(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var be,Dt=new Map,k=class t{constructor(e){let r=e.zone||v.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new x("invalid input"):null)||(r.isValid?null:Oe(r));this.ts=f(e.ts)?v.now():e.ts;let s=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,i]=[e.old.c,e.old.o];else{let o=Q(e.o)&&!e.old?e.o:r.offset(this.ts);s=Ce(this.ts,o),n=Number.isNaN(s.year)?new x("invalid input"):null,s=n?null:s,i=n?null:o}this._zone=r,this.loc=e.loc||w.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=Lr(arguments),[n,s,i,o,a,u,l]=r;return Er({year:n,month:s,day:i,hour:o,minute:a,second:u,millisecond:l},e)}static utc(){let[e,r]=Lr(arguments),[n,s,i,o,a,u,l]=r;return e.zone=$.utcInstance,Er({year:n,month:s,day:i,hour:o,minute:a,second:u,millisecond:l},e)}static fromJSDate(e,r={}){let n=Is(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let s=G(r.zone,v.defaultZone);return s.isValid?new t({ts:n,zone:s,loc:w.fromObject(r)}):t.invalid(Oe(s))}static fromMillis(e,r={}){if(Q(e))return e<-Fr||e>Fr?t.invalid("Timestamp out of range"):new t({ts:e,zone:G(r.zone,v.defaultZone),loc:w.fromObject(r)});throw new M(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(Q(e))return new t({ts:e*1e3,zone:G(r.zone,v.defaultZone),loc:w.fromObject(r)});throw new M("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=G(r.zone,v.defaultZone);if(!n.isValid)return t.invalid(Oe(n));let s=w.fromObject(r),i=Pe(e,Vr),{minDaysInFirstWeek:o,startOfWeek:a}=pr(i,s),u=v.now(),l=f(r.specificOffset)?n.offset(u):r.specificOffset,d=!f(i.ordinal),h=!f(i.year),g=!f(i.month)||!f(i.day),m=h||g,S=i.weekYear||i.weekNumber;if((m||d)&&S)throw new J("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(g&&d)throw new J("Can't mix ordinal dates with month/day");let D=S||i.weekday&&!m,re,xe,ge=Ce(u,l);D?(re=Qi,xe=Gi,ge=je(ge,o,a)):d?(re=Ki,xe=Ji,ge=st(ge)):(re=Be,xe=es);let Zt=!1;for(let we of re){let as=i[we];f(as)?Zt?i[we]=xe[we]:i[we]=ge[we]:Zt=!0}let ns=D?Ds(i,o,a):d?Fs(i):Dn(i),qt=ns||Fn(i);if(qt)return t.invalid(qt);let ss=D?yr(i,o,a):d?gr(i):i,[is,os]=We(ss,l,n),pe=new t({ts:is,zone:n,o:os,loc:s});return i.weekday&&m&&e.weekday!==pe.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${pe.toISO()}`):pe.isValid?pe:t.invalid(pe.invalid)}static fromISO(e,r={}){let[n,s]=vi(e);return oe(n,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,s]=ki(e);return oe(n,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,s]=Si(e);return oe(n,s,r,"HTTP",r)}static fromFormat(e,r,n={}){if(f(e)||f(r))throw new M("fromFormat requires an input string and a format");let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[a,u,l,d]=Ri(o,e,r);return d?t.invalid(d):oe(a,u,n,`format ${r}`,e,l)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,s]=Fi(e);return oe(n,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new M("need to specify a reason the DateTime is invalid");let n=e instanceof x?e:new x(e,r);if(v.throwOnInvalid)throw new ct(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=Xn(e,w.fromObject(r));return n?n.map(s=>s?s.val:null).join(""):null}static expandFormat(e,r={}){return Qn(F.parseFormat(e),w.fromObject(r)).map(n=>n.val).join("")}static resetCache(){be=void 0,Dt.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?at(this).weekYear:NaN}get weekNumber(){return this.isValid?at(this).weekNumber:NaN}get weekday(){return this.isValid?at(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ut(this).weekday:NaN}get localWeekNumber(){return this.isValid?ut(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ut(this).weekYear:NaN}get ordinal(){return this.isValid?st(this.c).ordinal:NaN}get monthShort(){return this.isValid?ae.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ae.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ae.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ae.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=Re(this.c),s=this.zone.offset(n-e),i=this.zone.offset(n+e),o=this.zone.offset(n-s*r),a=this.zone.offset(n-i*r);if(o===a)return[this];let u=n-o*r,l=n-a*r,d=Ce(u,o),h=Ce(l,a);return d.hour===h.hour&&d.minute===h.minute&&d.second===h.second&&d.millisecond===h.millisecond?[_(this,{ts:u}),_(this,{ts:l})]:[this]}get isInLeapYear(){return Ne(this.year)}get daysInMonth(){return Ue(this.year,this.month)}get daysInYear(){return this.isValid?ue(this.year):NaN}get weeksInWeekYear(){return this.isValid?Me(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Me(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:s}=F.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone($.instance(e),r)}toLocal(){return this.setZone(v.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=G(e,v.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||n){let i=e.offset(this.ts),o=this.toObject();[s]=We(o,i,e)}return _(this,{ts:s,zone:e})}else return t.invalid(Oe(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return _(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=Pe(e,Vr),{minDaysInFirstWeek:n,startOfWeek:s}=pr(r,this.loc),i=!f(r.weekYear)||!f(r.weekNumber)||!f(r.weekday),o=!f(r.ordinal),a=!f(r.year),u=!f(r.month)||!f(r.day),l=a||u,d=r.weekYear||r.weekNumber;if((l||o)&&d)throw new J("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&o)throw new J("Can't mix ordinal dates with month/day");let h;i?h=yr({...je(this.c,n,s),...r},n,s):f(r.ordinal)?(h={...this.toObject(),...r},f(r.day)&&(h.day=Math.min(Ue(h.year,h.month),h.day))):h=gr({...st(this.c),...r});let[g,m]=We(h,this.o,this.zone);return _(this,{ts:g,o:m})}plus(e){if(!this.isValid)return this;let r=N.fromDurationLike(e);return _(this,xr(this,r))}minus(e){if(!this.isValid)return this;let r=N.fromDurationLike(e).negate();return _(this,xr(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},s=N.normalizeUnit(e);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(s==="weeks")if(r){let i=this.loc.getStartOfWeek(),{weekday:o}=this;o<i&&(n.weekNumber=this.weekNumber-1),n.weekday=i}else n.weekday=1;if(s==="quarters"){let i=Math.ceil(this.month/3);n.month=(i-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?F.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):ot}toLocaleString(e=Ae,r={}){return this.isValid?F.create(this.loc.clone(r),e).formatDateTime(this):ot}toLocaleParts(e={}){return this.isValid?F.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:i=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=Ze(o);let a=e==="extended",u=lt(this,a,o);return Be.indexOf(o)>=3&&(u+="T"),u+=Ir(this,a,r,n,s,i,o),u}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?lt(this,e==="extended",Ze(r)):null}toISOWeekDate(){return Le(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:i=!1,format:o="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ze(a),(s&&Be.indexOf(a)>=3?"T":"")+Ir(this,o==="extended",r,e,n,i,a)):null}toRFC2822(){return Le(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Le(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?lt(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(r||e)&&(n&&(s+=" "),r?s+="z":e&&(s+="ZZ")),Le(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ot}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return N.invalid("created by diffing an invalid DateTime");let s={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=Vs(r).map(N.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,u=o?e:this,l=Li(a,u,i,s);return o?l.negate():l}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?ce.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(r,n)<=s&&s<=i.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,s=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(s=e.unit,i=void 0),Cr(r,this.plus(n),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?Cr(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new M("min requires all arguments be DateTimes");return wr(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new M("max requires all arguments be DateTimes");return wr(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return Kn(o,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:s=null}=r,i=w.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return new He(i,e)}static fromFormatParser(e,r,n={}){if(f(e)||f(r))throw new M("fromFormatParser requires an input string and a format parser");let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});if(!o.equals(r.locale))throw new M(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${r.locale}`);let{result:a,zone:u,specificOffset:l,invalidReason:d}=r.explainFromTokens(e);return d?t.invalid(d):oe(a,u,n,`format ${r.format}`,e,l)}static get DATE_SHORT(){return Ae}static get DATE_MED(){return tn}static get DATE_MED_WITH_WEEKDAY(){return us}static get DATE_FULL(){return rn}static get DATE_HUGE(){return nn}static get TIME_SIMPLE(){return sn}static get TIME_WITH_SECONDS(){return on}static get TIME_WITH_SHORT_OFFSET(){return an}static get TIME_WITH_LONG_OFFSET(){return un}static get TIME_24_SIMPLE(){return ln}static get TIME_24_WITH_SECONDS(){return cn}static get TIME_24_WITH_SHORT_OFFSET(){return dn}static get TIME_24_WITH_LONG_OFFSET(){return hn}static get DATETIME_SHORT(){return mn}static get DATETIME_SHORT_WITH_SECONDS(){return fn}static get DATETIME_MED(){return yn}static get DATETIME_MED_WITH_SECONDS(){return gn}static get DATETIME_MED_WITH_WEEKDAY(){return ls}static get DATETIME_FULL(){return pn}static get DATETIME_FULL_WITH_SECONDS(){return wn}static get DATETIME_HUGE(){return vn}static get DATETIME_HUGE_WITH_SECONDS(){return kn}};function Se(t){if(k.isDateTime(t))return t;if(t&&t.valueOf&&Q(t.valueOf()))return k.fromJSDate(t);if(t&&typeof t=="object")return k.fromObject(t);throw new M(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Ft=(t=>(t.NONE="none",t.ROTATE="rotate",t.STAGGER="stagger",t.WRAP="wrap",t))(Ft||{});function _i(t){let{configToUpdate:e,chartContainer:r,layer:n}=t,s=y(e);if(s.series[0].type===O.HeatSeries&&n?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek===!0&&(!("firstDayOfWeek"in e)||e.firstDayOfWeek===void 0||e.firstDayOfWeek===null)){let{lang:i}=zt(r??document.documentElement);try{s.firstDayOfWeek=k.local().setLocale(i.replaceAll("_","-")).startOf("week",{useLocaleWeeks:!0}).weekday}catch{}}return s}function eo(t){let e=y(t);return B(t.axes)||(e.axes=t.axes?.map(r=>{let n=r;return delete n.calculateAutomaticMaximum,delete n.calculateAutomaticMinimum,n.title?.content.font?.style!==void 0&&(n.title.content.font.style=n.title.content.font.style.toLowerCase()),n})),e}function to(t){let e=y(t);return B(t.series)||(e.series=t.series.map((r,n)=>{let s=r;r.id===void 0&&(s.id=`Series ${Date.now()}-${n}`);let i=j(t.series,n);return(i===O.BarSeries||i===O.LineSeries||i===O.RadarSeries)&&s.query?.outStatistics?.[0]?.statisticType==="median"&&(s.query.outStatistics[0].statisticType=ne.ContinuousPercentile),i===O.BarSeries&&s.multipleBarType!==void 0&&(s.stackedType=s.multipleBarType,delete s.multipleBarType),i===O.PieSeries&&s.sliceGrouping!==void 0&&(s.sliceGrouping.sliceId=Ut.defaultGroupOfSlicesId,s.sliceGrouping.groupName!==void 0&&(s.sliceGrouping={...s.sliceGrouping,label:s.sliceGrouping.groupName},delete s.sliceGrouping.groupName),s.sliceGrouping.groupSliceSymbol!==void 0&&(s.sliceGrouping={...s.sliceGrouping,fillSymbol:s.sliceGrouping.groupSliceSymbol},delete s.sliceGrouping.groupSliceSymbol)),s})),e}async function $r(t,e){let r=[];return await Promise.all(t.map(async n=>{if(!Xe(n)){let s=ve(n,!1);if(s.fieldToSort!==void 0){let i=await Y({queryObject:e,fieldToMatch:s.fieldToSort});i!==void 0&&r.push(s.orderBy===void 0?i:`${i} ${s.orderBy}`)}}})),r}async function ro(t,e){let r={...t},n=e;if(!n){let s=sr(t)?t.iLayer:t.dataSource?.layer;s&&(n=await tr(s))}if(n){let s=ke(r.series),i=j(r.series),o=r.series&&r.series.length>0&&r.series[0].x.trim()===""||i===O.GaugeSeries&&!Xt(t)||s===T.PieFromFields||s===T.BarAndLineFromFields||s===T.BoxPlotMonoField||s===T.BoxPlotMonoFieldAndSplitBy||s===T.BoxPlotMultiFields||s===T.BoxPlotMultiFieldsAndSplitBy,a=i===O.ScatterSeries||s===T.BarAndLineNoAggregation||s===T.BarAndLineSplitByNoAggregation||s===T.BoxPlotMonoField||s===T.BoxPlotMonoFieldAndSplitBy||s===T.BoxPlotMonoFieldAndCategory||s===T.BoxPlotMonoFieldAndCategoryAndSplitBy||s===T.PieNoAggregation;if(r.series=await Promise.all(t.series.map(async u=>{let l={...u};if(o||(l.x=await Y({queryObject:n,fieldToMatch:u.x})),"y"in l&&a){let d=l.y;if(Array.isArray(d)){let h=await et({fieldsList:d,queryObject:n});h!==void 0&&"y"in l&&(l.y=h)}else"y"in l&&typeof d=="string"&&(l.y=await Y({queryObject:n,fieldToMatch:d}))}if(u.query!==void 0){let{where:d,groupByFieldsForStatistics:h,outStatistics:g}=u.query;if(h=await et({fieldsList:h,queryObject:n}),g!==void 0&&(g=await Promise.all(g.map(async m=>{let S={...m};return S.onStatisticField=await Y({queryObject:n,fieldToMatch:m.onStatisticField}),S}))),d!==void 0&&s===T.BarAndLineSplitBy){let m=Jt(u.query?.where),S=Qt({where:u.query?.where,normalize:!1,escape:!1});d=`${await Y({queryObject:n,fieldToMatch:m})}=${S}`}l.query!==void 0&&(d!==void 0&&(l.query.where=d),h!==void 0&&(l.query.groupByFieldsForStatistics=h),g!==void 0&&(l.query.outStatistics=g))}return l})),r.series[0]?.query!==void 0){let u=r.series[0].query,{orderByFields:l}=u;l!==void 0&&l.length>0&&(l=await $r(l,n),l.length>0&&u.orderByFields!==void 0&&(r.series[0].query.orderByFields=l))}if(r.orderOptions?.orderByFields!==void 0){let{orderByFields:u}=r.orderOptions;u!==void 0&&u.length>0&&(u=await $r(u,n),u.length>0&&(r.orderOptions.orderByFields=u))}if(i===O.GaugeSeries&&t.axes?.[0]!==void 0){let{minimumFromField:u,maximumFromField:l}=t.axes[0];if(u!==void 0){let d=typeof u=="string"?u:u.onStatisticField,h=await Y({queryObject:n,fieldToMatch:d}),g=u;typeof t.axes[0].minimumFromField=="string"?g=h:typeof u=="object"&&(g={...u,onStatisticField:h}),t.axes[0].minimumFromField=g}if(l!==void 0){let d=typeof l=="string"?l:l.onStatisticField,h=await Y({queryObject:n,fieldToMatch:d}),g=l;typeof t.axes[0].maximumFromField=="string"?g=h:typeof l=="object"&&(g={...l,onStatisticField:h}),t.axes[0].maximumFromField=g}}}return r}function no(t){let e=y(t);if(!B(t.series)&&j(t.series)===O.BoxPlotSeries){let r=e.series[0];r&&(r.showOutliers!==void 0&&(t.showOutliers===void 0&&(e.showOutliers=r.showOutliers),delete r.showOutliers),r.standardizeValues!==void 0&&(t.standardizeValues===void 0&&(e.standardizeValues=r.standardizeValues),delete r.standardizeValues),r.showMean!==void 0&&(t.showMean===void 0&&(e.showMean=r.showMean),delete r.showMean))}return e}function so(t){let e={orderType:W.Category,orderBy:V.Ascending},r=t.query?.orderByFields?.[0];if(r!==void 0){let{outStatisticFieldName:n,statisticType:s}=t.query?.outStatistics?.[0]??{},i=ve(r);n!==void 0&&i.fieldToSort===n&&s!==void 0&&(s===ne.Average||s==="mean"?e.orderType=W.Mean:s===ne.ContinuousPercentile&&(e.orderType=W.Median)),e.orderBy=i.orderBy??V.Ascending}return e}function io(t){let e=!1,r=Array.from(new Set(t.series.map(n=>n.type)));return r.length===2&&r.includes(O.BoxPlotSeries)&&r.includes(O.LineSeries)&&(e=t.series.find(n=>n.type===O.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function oo(t){let e=y(t);if(!B(e.series)&&j(t.series)===O.BoxPlotSeries){if(e.orderOptions?.data===void 0){let r=so(t.series[0]);r.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r.orderType,orderBy:r.orderBy})}if(e.series=t.series.map(r=>{let n=r;return B(n.x?.trim())&&(n.x=Pt),delete n.query?.orderByFields,n}),io(e)){e.showMean=!0;let r=e.series.find(n=>n.type===O.BoxPlotSeries);e.series.forEach(n=>{n.type===O.LineSeries&&(delete n.query?.groupByFieldsForStatistics,delete n.query?.outStatistics,delete n.query?.orderByFields,r&&(n.y=r.y))})}e.series=t.series.map(r=>{let n=r;return delete n.query?.outStatistics,n})}return e}function ao(t){let e=y(t);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function uo(t){let e=y(t);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function lo(t){let e=y(t),r=new Set,n=e.id??"";return r.add(n),e.series.forEach(s=>{let i=s.id;r.has(i)&&(i=`${i}_${Date.now()}`,s.id=i),r.add(i)}),e}async function co(t){let{configToUpdate:e,layer:r,chartContainer:n}=t,s=y(e);return s=eo(s),s=to(s),s=await ro(s,r),s=no(s),s=oo(s),s=ao(s),s=lo(s),s=_i({configToUpdate:s,chartContainer:n,layer:r}),s}function ho(t){let e=y(t);return e?.orderOptions?.orderByFields!==void 0&&ke(t.series)===T.PieFromFields&&(e.orderOptions.orderByFields=t?.orderOptions?.orderByFields?.map(r=>{let n=y(r);return r!==void 0&&r.includes("arcgis_charts_pie_category_from_fields_name")&&(n=r.replace("arcgis_charts_pie_category_from_fields_name",Ie)),n})),e}function mo(t){let e=y(t);if(!B(t.series)&&e.axes?.[0]!==void 0&&j(t.series)===O.GaugeSeries&&t.axes?.[0]!==void 0){let r=t.axes[0];r.ticks!==void 0&&Object.hasOwn(r.ticks,"spacing")&&delete r.ticks.spacing,e.axes[0]=r}return e}function fo(t){let e=y(t),{extent:r}=e.series[0]?.query??{};return r!==void 0&&(e.dataFilters={...e.dataFilters,geometry:r},e.series.forEach(n=>{"query"in n&&"extent"in n.query&&delete n.query.extent})),e}function ts(t){let e=y(t);return B(t.series)||(rr(t)&&t.rotated===void 0&&(e.rotated=t.series[0].rotated??Ht()),e.series.forEach(r=>{r.rotated!==void 0&&delete r.rotated})),e}function yo(t){let e=y(t),r=t.dataSource;return"dataSource"in e&&!B(r)&&(r.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in r&&(e.dataSource.layer=r.featureLayer,delete e.dataSource.featureLayer)),e}function go(t){let e=y(t);if("dataSource"in t){let r=t.dataSource;if(r.filter!==void 0&&r.filter.trim()!==""){let n=er([r.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:n},delete e.dataSource.filter}}return e}function po(t){return t!=="originalValue"}function rs(t){let e;switch(t){case"mean":e=W.Mean;break;case"median":e=W.Median;break;case"category":e=W.Category;break}return e}function wo(t){let e=y(t);if(!B(t.series)&&j(t.series)===O.PieSeries){let r=e.series[0];if(r){if(r.sortLabelsBy==="originalValue")e.sortLabelsBy=r.sortLabelsBy;else if(r.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let n=Bt(e);n!==void 0&&(e.orderOptions??={},e.orderOptions.data=n)}r.sortLabelsBy&&delete r.sortLabelsBy}}return e}function vo(t){let e=y(t);return B(t.series)||(nr(t)&&t.stackedType===void 0&&(e.stackedType=t.series[0].stackedType??Yt()),e.series.forEach(r=>{"stackedType"in r&&delete r.stackedType})),e}function ko(t){let e=y(t),r=t.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof r=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:r==="DESC"?V.Descending:V.Ascending}),e}function So(t){let e=y(t);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===At.Match),e.series.forEach(r=>{r.colorType!==void 0&&delete r.colorType}),e}function Oo(t){let e=y(t);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let r=t.sortDataBy,n=rs(r?.sortType);n!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:n,orderBy:r?.sortOrder??V.Ascending})}delete e.sortDataBy}return e}function bo(t){let e=y(t);return e.axes?.forEach(r=>{r!==void 0&&r.scrollbarVisible!==void 0&&r.scrollbar?.visible===void 0&&(r.scrollbar={...r.scrollbar,visible:r.scrollbarVisible},delete r.scrollbarVisible)}),e}function To(t){let e=y(t),r=e.series[0]?.query?.orderByFields;if(r!==void 0&&r.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let n=!0;if(r.length===1){let{fieldToSort:s,orderBy:i}=ve(r[0]),o;s===t.series[0].x||s===Ie?o=W.Category:"y"in t.series[0]&&s===t.series[0].y&&(o=W.YValue),o!==void 0&&(n=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:o,orderBy:i?.toUpperCase()==="DESC"?V.Descending:V.Ascending}))}n&&(e.orderOptions.orderByFields=r)}return e.series.forEach(n=>{delete n.query?.orderByFields}),e}function Bt(t){let e,r=t.orderOptions?.orderByFields?.[0];if(t.series?.length>0){let n=j(t.series),s=ke(t.series);if(n!==O.PieSeries&&s!==T.BarAndLineFromFields&&(r=r??t.series[0].x),r&&!Xe(r)){let{fieldToSort:i,orderBy:o}=ve(r),a;i===t.series[0].x||i===Ie?a=W.Category:"y"in t.series[0]&&i===t.series[0].y&&(a=W.YValue),a!==void 0&&(e={orderType:a,orderBy:o?.toUpperCase()==="DESC"?V.Descending:V.Ascending})}}return e}function Mo(t){let e=y(t),r=t,n=t,s=t,i=t,o=t;if(e){if(e.orderOptions?.series===void 0&&r.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:po(n.sortLabelsBy??r.sortOptions.sortSeriesBy.sortType),orderBy:r.sortOptions.sortSeriesBy.sortOrder??V.Ascending}),n.sortLabelsBy==="originalValue"||i.orderOptions?.data?.preferDataLabel===!1||o.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(j(e.series)===O.BoxPlotSeries){if(n.sortLabelsBy||s.sortOptions?.sortDataBy!==void 0){let a=rs(s.sortOptions?.sortDataBy?.sortType);a!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:a,orderBy:s.sortOptions?.sortDataBy?.sortOrder??V.Ascending})}}else{let a=Bt(e);a!==void 0&&(e.orderOptions??={},e.orderOptions.data=a)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function No(t){let e=y(t);if(e){let r=ke(e.series);if((r===T.BarAndLineFromFields||r===T.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let n=Bt(e);n!==void 0&&(e.orderOptions??={},e.orderOptions.data=n,delete e.orderOptions.orderByFields)}}return e}function Do(t){let e=y(t);return e.horizontalAxisLabelsBehavior===Ft.NONE&&(e.horizontalAxisLabelsBehavior=Qe.Hide),e.verticalAxisLabelsBehavior===Ft.NONE&&(e.verticalAxisLabelsBehavior=Qe.Hide),e}function Fo(t){let e=y(t),r=e.series[0];if(r&&!r.temporalBinning&&Kt(e.series[0])&&("timeIntervalSize"in r||"timeIntervalUnits"in r||"timeAggregationType"in r||"trimIncompleteTimeInterval"in r||"nullPolicy"in r)){if(r.temporalBinning={},r.timeIntervalSize!==void 0&&(r.temporalBinning.size=r.timeIntervalSize,delete r.timeIntervalSize),r.timeIntervalUnits){let n;switch(r.timeIntervalUnits){case"esriTimeUnitsSeconds":n=H.Second;break;case"esriTimeUnitsMinutes":n=H.Minute;break;case"esriTimeUnitsHours":n=H.Hour;break;case"esriTimeUnitsDays":n=H.Day;break;case"esriTimeUnitsWeeks":n=H.Week;break;case"esriTimeUnitsMonths":n=H.Month;break;case"esriTimeUnitsYears":n=H.Year;break}n!==void 0&&(r.temporalBinning.unit=n),delete r.timeIntervalUnits}r.timeAggregationType&&(r.temporalBinning.timeAggregationType=r.timeAggregationType,delete r.timeAggregationType),r.trimIncompleteTimeInterval!==void 0&&(r.temporalBinning.trimIncompleteTimeInterval=r.trimIncompleteTimeInterval,delete r.trimIncompleteTimeInterval),r.nullPolicy&&(r.temporalBinning.nullPolicy=r.nullPolicy,delete r.nullPolicy)}return e}function xo(t){let e=y(t);return e.series.forEach(r=>{r.query?.outStatistics?.forEach(n=>{n.statisticType==="percentile_cont"?n.statisticType=ne.ContinuousPercentile:n.statisticType==="percentile_disc"&&(n.statisticType=ne.DiscretePercentile)})}),e}function Io(t){let e=y(t);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function Vo(t){let e=y(t),r=e.series[0];return r?.temporalBinning&&delete r.temporalBinning?.type,e}function Eo(t){let e=y(t);return e=ho(e),e}function Wr(t){let e=y(t);return e=mo(e),e}function Br(t){let e=y(t);return e=fo(e),e}function Zr(t){let e=y(t);return e=ts(e),e}function qr(t){let e=y(t);return e=yo(e),e}function Ar(t){let e=y(t);return e=go(e),e}function zr(t){let e=y(t);return e=wo(e),e}function jr(t){let e=y(t);return e=ko(e),e}function Ur(t){let e=y(t);return e=So(e),e}function Pr(t){return bo(t)}function Hr(t){let e=y(t);return t.series[0]?.type===O.BoxPlotSeries&&(e=Oo(e)),e}function Yr(t){return vo(t)}function Rr(t){return Mo(t)}function Gr(t){return uo(t)}function Jr(t){return No(t)}function Qr(t){return Do(t)}function Kr(t){return Fo(t)}function Xr(t){return xo(t)}function _r(t){let e=y(t);return e=ts(e),Io(e)}function en(t){let e=y(t);return e=Vo(e),e}function Co(t){let{versionsToConvert:e=[],configToUpdate:r}=t,n=y(r);return e.length>0&&n!==void 0&&(n=To(n),e.includes(_e)||e.includes(Rt)?(n=Eo(n),n=Wr(n),n=Br(n),n=Zr(n),n=qr(n),n=Ar(n),n=zr(n),n=jr(n),n=Ur(n),n=Pr(n),n=Hr(n),n=Yr(n),n=Rr(n),n=Gr(n),n=Jr(n),n=Qr(n),n=Kr(n),n=Xr(n),n=_r(n),n=en(n)):e.forEach(s=>{if(n!==void 0)switch(s){case"1.0.1":n=Wr(n);break;case"3.4.0":n=Br(n);break;case"4.0.0":n=Zr(n);break;case"4.0.1":n=qr(n);break;case"6.4.0":n=Ar(n);break;case"7.5.1":n=zr(n);break;case"8.0.0":n=jr(n);break;case"9.2.0":n=Ur(n);break;case"9.7.0":n=Pr(n);break;case"10.0.0":n=Hr(n);break;case"11.0.0":n=Yr(n);break;case"14.0.1":n=Rr(n);break;case"16.0.0":n=Gr(n);break;case"16.1.0":n=Jr(n);break;case"18.1.3":n=Qr(n);break;case"20.1.0":n=Kr(n);break;case"21.0.0":n=Xr(n);break;case"23.2.0":n=_r(n);break;case"24.2.0":n=en(n);break}}),n.version=jt),n}async function Ao(t,e,r){let n=t;if(t){let s=_t(e);n=await co({configToUpdate:t,layer:s,chartContainer:r});let i=t.version??_e,{versionStatus:o,versions:a}=Gt(i);(o===Ke.Older||o===Ke.Unrecognized)&&(n=Co({versionsToConvert:a,configToUpdate:n}))}return n}return{a:k,b:Ao}},a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v4.34.0-next.142 */
|
|
4
|
+
import{a as i}from"./FYPHTJDG.js";import{b as C}from"./2SESEFCH.js";import{a as g}from"./D6KUZQDE.js";import b from"./TU5ZGCNX.js";import{w as h}from"./JQE62N64.js";import"./XIMHJK6E.js";import"./DU6B4YFO.js";import{A as c,F as m,g as a,h as o,l as s,w as l,x as p,y as n}from"./WV4BV5C5.js";import"./SZYALN76.js";export default $arcgis.t(([])=>{var d={jsAppFlyout:"js-app-flyout"},f=a``,r=class extends n{constructor(){super(...arguments),this._messages=g(),this.popoverElement=l(),this.placement="leading",this.arcgisChartsConfigGuidePopoverColorChange=s(),this.arcgisChartsConfigGuidePopoverSymbolChange=s(),this.arcgisChartsConfigPopoverClose=s()}static{this.properties={messageOverrides:0,selectedElement:2,referenceElement:2,placement:3,open:7}}static{this.styles=f}async reposition(){await this.popoverElement.value?.reposition()}updated(){C(this.popoverElement.value,this.open)}guidePopoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}updateColorProperties(t){let e=t.detail;e!==void 0&&(e[3]=i),this.selectedElement=e,this.arcgisChartsConfigGuidePopoverColorChange.emit(this.selectedElement)}updateSymbolProperties(t){let{lineStyle:e}=t.target;e?.color!==void 0&&(e.color[3]=i),this.selectedElement=e,this.arcgisChartsConfigGuidePopoverSymbolChange.emit(t.detail)}render(){let t=this.selectedElement,e=this.selectedElement;return o`<div class=${c(d.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${p(this.popoverElement)}>${Array.isArray(t)&&o`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${t} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>`||""}${e?.type===h.SLS&&o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>`||""}</calcite-popover></div>`}};m("arcgis-charts-config-guide-popover",r);return r},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.142 */
|
|
4
|
+
import"./SZYALN76.js";var i={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"MMM dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"m.e.",_era_bc:"p.m.e.",A:"R",P:"V",AM:"ryto",PM:"vakaro","A.M.":"ryto","P.M.":"vakaro",January:"Sausio",February:"Vasario",March:"Kovo",April:"Baland\u017Eio",May:"Gegu\u017E\u0117s",June:"Bir\u017Eelio",July:"Liepos",August:"Rugpj\u016B\u010Dio",September:"Rugs\u0117jo",October:"Spalio",November:"Lapkri\u010Dio",December:"Gruod\u017Eio",Jan:"Sau",Feb:"Vas",Mar:"Kov",Apr:"Bal","May(short)":"Geg",Jun:"Bir",Jul:"Lie",Aug:"Rgp",Sep:"Rgs",Oct:"Spa",Nov:"Lap",Dec:"Gru",Sunday:"sekmadienis",Monday:"pirmadienis",Tuesday:"antradienis",Wednesday:"tre\u010Diadienis",Thursday:"ketvirtadienis",Friday:"penktadienis",Saturday:"\u0161e\u0161tadienis",Sun:"sekm.",Mon:"pirm.",Tue:"antr.",Wed:"tre\u010D.",Thu:"ketv.",Fri:"penk.",Sat:"\u0161e\u0161t.",_dateOrd:function(a){return"-a"},"Zoom Out":"Rodyti visk\u0105",Play:"Paleisti",Stop:"Sustabdyti",Legend:"Legenda","Press ENTER to toggle":"Spragtelkite, palieskite arba spauskite ENTER, kad perjungtum\u0117te",Loading:"Kraunama",Home:"Prad\u017Eia",Chart:"Grafikas","Serial chart":"Serijinis grafikas","X/Y chart":"X/Y grafikas","Pie chart":"Pyrago tipo grafikas","Gauge chart":"Daviklio tipo grafikas","Radar chart":"Radaro tipo grafikas","Sankey diagram":"Sankey diagrama","Chord diagram":"Chord diagrama","Flow diagram":"Flow diagrama","TreeMap chart":"TreeMap grafikas",Series:"Serija","Candlestick Series":'"Candlestick" tipo grafiko serija',"Column Series":"Stulpelinio grafiko serija","Line Series":"Linijinio grafiko serija","Pie Slice Series":"Pyrago tipo serija","X/Y Series":"X/Y serija",Map:"\u017Dem\u0117lapis","Press ENTER to zoom in":"Spauskite ENTER, kad pritrauktum\u0117te vaizd\u0105","Press ENTER to zoom out":"Spauskite ENTER, kad atitolintum\u0117te vaizd\u0105","Use arrow keys to zoom in and out":"Naudokit\u0117s roykl\u0117mis vaizdo pritraukimui ar atitolinimui","Use plus and minus keys on your keyboard to zoom in and out":"Spauskite pliuso arba minuso klavi\u0161us ant klaviat\u016Bros, kad pritrautum\u0117te arba atitolintum\u0117te vaizd\u0105",Export:"Eksportuoti",Image:"Vaizdas",Data:"Duomenys",Print:"Spausdinti","Press ENTER to open":"Spragtelkite arba spauskite ENTER, kad atidarytum\u0117te","Press ENTER to print.":"Spragtelkite arba spauskite ENTER, kad spausdintum\u0117te.","Press ENTER to export as %1.":"Spragtelkite arba spauskite ENTER, kad eksportuotum\u0117te kaip %1.","Image Export Complete":"Paveiksliuko eksportas baigtas","Export operation took longer than expected. Something might have gone wrong.":"Eksportas u\u017Etruko ilgiau negu tur\u0117t\u0173. Grei\u010Diausiai \u012Fvyko klaida.","Saved from":"I\u0161saugota i\u0161",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Spauskite TAB klavi\u0161\u0105, kad pasirinktum\u0117te \u017Eymeklius, arba kair\u0117/de\u0161in\u0117 klavi\u0161us, kad pakeistum\u0117te pasirinkim\u0105","Use left and right arrows to move selection":"Naudokit\u0117s klavi\u0161ais kair\u0117/de\u0161in\u0117, kad pajudintum\u0117te pasirinkim\u0105","Use left and right arrows to move left selection":"Naudokit\u0117s klavi\u0161ais kair\u0117/de\u0161in\u0117, kad pajudintum\u0117te kair\u012F \u017Eymekl\u012F","Use left and right arrows to move right selection":"Naudokit\u0117s klavi\u0161ais kair\u0117/de\u0161in\u0117, kad pajudintum\u0117te de\u0161in\u012F \u017Eymekl\u012F","Use TAB select grip buttons or up and down arrows to change selection":"Spauskite TAB klavi\u0161\u0105, kad pasirinktum\u0117te \u017Eymeklius, arba auk\u0161tyn/\u017Eemyn klavi\u0161us, kad pakeistum\u0117te pasirinkim\u0105","Use up and down arrows to move selection":"Naudokit\u0117s klavi\u0161ais auk\u0161tyn/\u017Eemyn, kad pajudintum\u0117te pasirinkim\u0105","Use up and down arrows to move lower selection":"Naudokit\u0117s klavi\u0161ais auk\u0161tyn/\u017Eemyn, kad pajudintum\u0117te apatin\u012F \u017Eymekl\u012F","Use up and down arrows to move upper selection":"Naudokit\u0117s klavi\u0161ais auk\u0161tyn/\u017Eemyn, kad pajudintum\u0117te vir\u0161utin\u012F \u017Eymekl\u012F","From %1 to %2":"Nuo %1 iki %2","From %1":"Nuo %1","To %1":"Iki %1","No parser available for file: %1":"Failui %1 neturime tinkamo de\u0161ifruotojo","Error parsing file: %1":"Skaitant fail\u0105 %1 \u012Fvyko klaida","Unable to load file: %1":"Nepavyko u\u017Ekrauti failo %1","Invalid date":"Klaidinga data"};export{i as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import h from"./O5YH4IOX.js";import g from"./XFXARLR4.js";import e from"./5TTY37US.js";import d from"./IKGOIFGA.js";import c from"./KHJJFCOK.js";import"./UFMXWZRQ.js";import b from"./R6WVH3C2.js";import{f as L,w as l}from"./OWU4Y4YU.js";import"./HDOHJONB.js";import{e as f,f as a}from"./TPMZEISU.js";import{a as n}from"./YA6EKA3B.js";import"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,,{Fa:c,N:p,Q:g,ea:m,ga:I,mb:u,na:v,wc:P,z:h},{oa:U,pa:y,qa:V},,{a:x},{a:T,b:_,c:F,d:N},{a:S,b:G,c:A,d:w,e:M,f:k,g:E,h:B,i:z,j:C,k:b}])=>{var Q=i=>i.legend?.displayNumericValue??!1,X=(i,e)=>{e.series[0]?.type===n.PieSeries&&(e.legend===void 0&&(e.legend=g()),e.legend.displayNumericValue=i)},Y=i=>i.legend?.displayPercentage??!1,Z=(i,e)=>{e.series[0]?.type===n.PieSeries&&(e.legend===void 0&&(e.legend=g()),e.legend.displayPercentage=i)},$=i=>i.legend?.labelMaxWidth??200,ee=(i,e)=>{e.series[0]?.type===n.PieSeries&&(e.legend===void 0&&(e.legend=g()),e.legend.labelMaxWidth=i)},d=class extends _{getDisplayNumericValue(){return Q(this._config)}setDisplayNumericValue(e){X(e,this._config),this.emitConfigUpdate("setDisplayNumericValue")}getDisplayPercentage(){return Y(this._config)}setDisplayPercentage(e){Z(e,this._config),this.emitConfigUpdate("setDisplayPercentage")}getLabelMaxWidth(){return $(this._config)}setLabelMaxWidth(e){ee(e,this._config),this.emitConfigUpdate("setLabelMaxWidth")}};y(d,[_]);var ie=i=>i.series?.[0]?.innerRadius,se=(i,e)=>{e.series?.[0]&&(e.series[0].innerRadius=i)},te=i=>i.series?.[0]?.dataLabelsCharacterLimit,re=(i,e)=>{e.series?.[0]&&(e.series[0].dataLabelsCharacterLimit=i)},W=i=>i.series[0]?.startAngle,R=(i,e)=>{e.series?.[0]&&(e.series[0].startAngle=i)},ae=i=>i.series?.[0]?.displayCategoryOnTooltip??!0,ne=i=>i.series?.[0]?.displayNumericValueOnTooltip??!0,oe=i=>i.series?.[0]?.displayPercentageOnTooltip??!0,le=(i,e)=>{e.series[0]&&(e.series[0].displayPercentageOnTooltip=i)},ge=i=>i.series?.[0]?.valuePrefix,ce=(i,e)=>{e.series?.[0]&&(e.series[0].valuePrefix=i)},fe=i=>i.series?.[0]?.valueSuffix,de=(i,e)=>{e.series?.[0]&&(e.series[0].valueSuffix=i)},he=i=>i.series?.[0]?.percentagePrefix,pe=(i,e)=>{e.series?.[0]&&(e.series[0].percentagePrefix=i)},me=i=>i.series?.[0]?.percentageSuffix,ue=(i,e)=>{e.series?.[0]&&(e.series[0].percentageSuffix=i)},ye=i=>{let e,s=i.series?.[0];return s?.displayNumericValueOnDataLabel===!0&&s?.displayPercentageOnDataLabel===!0?e=a.Both:s?.displayNumericValueOnDataLabel===!0?e=a.Value:e=a.Percentage,e},_e=(i,e)=>{let s=i===a.Value||i===a.Both,t=i===a.Percentage||i===a.Both;e.series?.[0]&&(e.series[0].displayNumericValueOnDataLabel=s,e.series[0].displayPercentageOnDataLabel=t),e.legend&&(e.legend={...e.legend,displayNumericValue:s,displayPercentage:t})},Se=i=>i.series?.[0]?.alignDataLabels??!1,Ce=(i,e)=>{e.series[0]&&(e.series[0].alignDataLabels=i)},be=i=>i.series?.[0]?.dataLabelsInside??!1,Oe=(i,e)=>{e.series[0]&&(e.series[0].dataLabelsInside=i)},De=i=>i.series?.[0]?.dataLabelsOffset??10,Le=(i,e)=>{e.series[0]&&(e.series[0].dataLabelsOffset=i)},Ie=i=>i.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits,ve=(i,e)=>{e.series?.[0]&&(e.series[0].numericValueFormat??=p(),e.series[0].numericValueFormat.intlOptions.minimumFractionDigits=i,e.series[0].numericValueFormat.intlOptions.maximumFractionDigits=i,e.series[0].percentValueFormat??=p(),e.series[0].percentValueFormat.intlOptions.minimumFractionDigits=i,e.series[0].percentValueFormat.intlOptions.maximumFractionDigits=i)},Pe=i=>i.series?.[0]?.optimizeDataLabelsOverlapping??!1,Ue=(i,e)=>{e.series[0]&&(e.series[0].optimizeDataLabelsOverlapping=i)},Ve=i=>i.series[0]?.ticks?.visible??!1,xe=(i,e)=>{e.series?.[0]&&(e.series[0].ticks??=m(),e.series[0].ticks.visible=i)},Te=i=>i.series[0]?.ticks?.lineSymbol,Fe=(i,e)=>{i&&e.series?.[0]&&(e.series[0].ticks??=m(),e.series[0].ticks.lineSymbol=L(i))},Ne=(i,e)=>e.series?.[0]?.slices?.[i]?.originalLabel,Ge=(i,e)=>e.series?.[0]?.slices?.[i]?.label,Ae=(i,e,s)=>{s.series?.[0]?.slices?.[e]&&(s.series[0].slices[e].label=i)},we=(i,e)=>e.series?.[0]?.slices?.[i]?.fillSymbol?.color,Me=(i,e,s)=>{let t=s.series?.[0]?.slices?.[e]?.fillSymbol;t!==void 0?(t.color=i,t.outline!==void 0?t.outline.color=i:t.outline={type:l.SLS,color:i}):s.series?.[0]?.slices?.[e]!==void 0&&(s.series[0].slices[e].fillSymbol={type:l.SFS,color:i,outline:{type:l.SLS,color:i}})},ke=i=>i.series?.[0]?.slices?.map(e=>e.sliceId),j=(i,e)=>{e.series?.[0]?.slices?.sort((s,t)=>i.findIndex(r=>s.sliceId===r)-i.findIndex(r=>t.sliceId===r))},Ee=i=>i.series?.[0]?.sliceGrouping,q=(i,e)=>{e.series?.[0]&&(e.series[0].sliceGrouping=i)},H=i=>i.series?.[0]?.sliceGrouping?.percentageThreshold,Be=(i,e)=>{e.series?.[0]?.sliceGrouping!==void 0?e.series[0].sliceGrouping.percentageThreshold=i:e.series[0].sliceGrouping={sliceId:h.defaultGroupOfSlicesId,percentageThreshold:i}},ze=i=>i.series?.[0]?.slices,J=(i,e)=>{e.series?.[0]&&(e.series[0].slices=i)},We=i=>{J(void 0,i),q({sliceId:h.defaultGroupOfSlicesId,percentageThreshold:H(i)??0},i)},Re=(i,e)=>e.series[0]?.slices?.[i]?.sliceId,je=(i,e)=>e.series[0]?.slices?.findIndex(s=>s.sliceId===i),qe=i=>i.series[0]?.slices?.length??0,O=class extends x{constructor(){super(...arguments),this._chartType=n.PieSeries,this._mode=f.Category,this._groupedSliceIds=[]}static{this.supportsCustomSort=!0}async setup(e){await this.loadConfigFromLayer(e);let{config:s}=e;if(s!==void 0){let t=u(s.series);this._mode=t!==c.PieFromFields?f.Category:f.Fields}typeof this.resolveSetup=="function"&&this.resolveSetup()}getCategory(){return S(this._config)}async setCategory(e){(!P(this._config)||e.trim()!=="")&&(await E({newCategory:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setCategory"))}getNumericFields(){return A(this._config)}async setNumericFields(e){typeof e=="string"&&(e=[e]),this.layerInfo===void 0||U(this.layerInfo.layerFieldsInfo,e)?(await z({newNumericFields:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericFields")):console.log("Invalid numericFields")}getAggregationType(){return w(this._config,this._mode)}async setAggregationType(e){await B({newAggregationType:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setAggregationType")}getSortOrder(){return G(this._config,this._mode)}setSortOrder(e,s){k({newSortOrderKind:e,config:this._config,orderByList:s}),this.emitConfigUpdate("setSortOrder")}getOrderByList(){return C(this._config,this._mode)}setOrderByList(e){b({values:e,config:this._config,mode:this._mode}),this.emitConfigUpdate("setOrderByList")}getMode(){return this._mode}setMode(e){this._mode=e,this.emitConfigUpdate("setMode")}async getCustomSortValues(){let e=S(this._config),s=u(this._config.series),t=this.getNumericFields(),r=[];return s===c.PieFromFields?r=t:e.trim()!==""&&s===c.PieFromCategory&&(r=await V({category:e,config:this._config,layerInfo:this.layerInfo})),r}moveCustomSortValuesInOrderByList(e,s){let t=C(this._config,this._mode),[r]=t.splice(e,1);t.splice(s,0,r),b({values:t,config:this._config,mode:this._mode}),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")}getTicksSymbol(){return Te(this._config)}setTicksSymbol(e){Fe(e,this._config),this.emitConfigUpdate("setTicksSymbol")}getSlices(){return ze(this._config)}setSlices(e){J(e,this._config),this.emitConfigUpdate("setSlices")}getGroupedSliceIds(){return this._groupedSliceIds}setGroupedSliceIds(e){this._groupedSliceIds=e,this.emitConfigUpdate("setGroupedSliceIds")}getSliceGrouping(){return Ee(this._config)}setSliceGrouping(e){q(e,this._config),this.emitConfigUpdate("setSliceGrouping")}getInnerRadiusSize(){return ie(this._config)??0}setInnerRadiusSize(e){se(e,this._config),this.emitConfigUpdate("setInnerRadiusSize")}getGroupingThreshold(){return H(this._config)??0}setGroupingThreshold(e){Be(e,this._config),this.emitConfigUpdate("setGroupingThreshold")}getLabelCharacterLimit(){return te(this._config)??null}setLabelCharacterLimit(e){re(e,this._config),this.emitConfigUpdate("setLabelCharacterLimit")}getDecimalPlaces(){return Ie(this._config)??1}setDecimalPlaces(e){ve(e,this._config),this.emitConfigUpdate("setDecimalPlaces")}getDisplayType(){return ye(this._config)}setDisplayType(e){_e(e,this._config),this.emitConfigUpdate("setDisplayType")}async generateDefaultConfig(){let e=await v();return e.series=[await I(this.layerInfo?.objectIdField)],e}getOriginalSliceName(e){return Ne(e,this._config)}getSliceName(e){return Ge(e,this._config)}setSliceName(e,s){Ae(e,s,this._config),this.emitConfigUpdate("setSliceName")}getSliceColor(e){return we(e,this._config)}setSliceColor(e,s){Me(e,s,this._config),this.emitConfigUpdate("setSliceColor")}getOrderOfSlices(){return ke(this._config)}setOrderOfSlices(e){j(e,this._config),this.emitConfigUpdate("setOrderOfSlices")}moveSeries(e,s){let t=this.getOrderOfSlices();if(t!==void 0){let[r]=t.splice(e,1);t.splice(s,0,r),j(t,this._config),this.emitConfigUpdate("moveSeries")}}getSliceId(e){return Re(e,this._config)}getSliceIndex(e){return je(e,this._config)}getSlicesLength(){return qe(this._config)}resetSlices(){We(this._config),this.emitConfigUpdate("resetSlices")}resetAvailable(){let e=!this.getColorMatch(),s=!1,t=this.getSlices()?.length??0;for(let o=0;o<t;o+=1){let D=this.getOriginalSliceName(o),K=this.getSliceName(o);if(D!==void 0&&D?.toString()!==K?.toString()){s=!0;break}}let r=this.getSliceGrouping();return r?.originalLabel!==void 0&&r?.label!==r.originalLabel&&(s=!0),e||s}getTicksVisibility(){return Ve(this._config)}setTicksVisibility(e){xe(e,this._config),this.emitConfigUpdate("setTicksVisibility")}getStartAngle(){return W(this._config)}setStartAngle(e){R(e,this._config),this.emitConfigUpdate("setStartAngle")}getEndAngle(){return W(this._config)}setEndAngle(e){R(e,this._config),this.emitConfigUpdate("setEndAngle")}getDisplayCategoryValueOnTooltip(){return ae(this._config)}getDisplayNumericValueOnTooltip(){return ne(this._config)}setDisplayCategoryOnTooltip(e){this._config.series[0].displayCategoryOnTooltip=e,this.emitConfigUpdate("setDisplayCategoryValue")}setDisplayNumericValueOnTooltip(e){this._config.series[0].displayNumericValueOnTooltip=e,this.emitConfigUpdate("setDisplayNumericValue")}getDisplayPercentageOnTooltip(){return oe(this._config)}setDisplayPercentageOnTooltip(e){le(e,this._config),this.emitConfigUpdate("setDisplayPercentage")}getValuePrefix(){return ge(this._config)}setValuePrefix(e){ce(e,this._config),this.emitConfigUpdate("setValuePrefix")}getValueSuffix(){return fe(this._config)}setValueSuffix(e){de(e,this._config),this.emitConfigUpdate("setValueSuffix")}getPercentagePrefix(){return he(this._config)}setPercentagePrefix(e){pe(e,this._config),this.emitConfigUpdate("setPercentagePrefix")}getPercentageSuffix(){return me(this._config)}setPercentageSuffix(e){ue(e,this._config),this.emitConfigUpdate("setPercentageSuffix")}getDataLabelsOffset(){return De(this._config)}setDataLabelsOffset(e){Le(e,this._config),this.emitConfigUpdate("setDataLabelsOffset")}getAlignDataLabels(){return Se(this._config)}setAlignDataLabels(e){Ce(e,this._config),this.emitConfigUpdate("setAlignDataLabels")}getDataLabelsInside(){return be(this._config)}setDataLabelsInside(e){Oe(e,this._config),this.emitConfigUpdate("setDataLabelsInside")}getOptimizeDataLabelsOverlapping(){return Pe(this._config)}setOptimizeDataLabelsOverlapping(e){Ue(e,this._config),this.emitConfigUpdate("setOptimizeDataLabelsOverlapping")}async generateChartTitle(){return await M({config:this._config,layerInfo:this.layerInfo,mode:this._mode})}};y(O,[d,F,T,N]);return O},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",b,c,d,e,g,h)
|
|
3
|
+
v4.34.0-next.142 */
|
|
4
|
+
import h from"./PW2UIMX7.js";import g from"./7V5BAGW6.js";import e from"./LD3EFKD2.js";import d from"./C72ZXTKO.js";import c from"./2K3K5MH5.js";import"./W5TAEYXR.js";import b from"./TU5ZGCNX.js";import{f as L,w as l}from"./JQE62N64.js";import"./XIMHJK6E.js";import{e as f,f as a}from"./FQWZZW7B.js";import{a as n}from"./DU6B4YFO.js";import"./WV4BV5C5.js";import"./SZYALN76.js";export default $arcgis.t(([,,,,,,,,{Fa:c,N:p,Q:g,ea:m,ga:I,mb:u,na:v,wc:P,z:h},{oa:U,pa:y,qa:V},,{a:x},{a:T,b:_,c:F,d:N},{a:S,b:G,c:A,d:w,e:M,f:k,g:E,h:B,i:z,j:C,k:b}])=>{var Q=i=>i.legend?.displayNumericValue??!1,X=(i,e)=>{e.series[0]?.type===n.PieSeries&&(e.legend===void 0&&(e.legend=g()),e.legend.displayNumericValue=i)},Y=i=>i.legend?.displayPercentage??!1,Z=(i,e)=>{e.series[0]?.type===n.PieSeries&&(e.legend===void 0&&(e.legend=g()),e.legend.displayPercentage=i)},$=i=>i.legend?.labelMaxWidth??200,ee=(i,e)=>{e.series[0]?.type===n.PieSeries&&(e.legend===void 0&&(e.legend=g()),e.legend.labelMaxWidth=i)},d=class extends _{getDisplayNumericValue(){return Q(this._config)}setDisplayNumericValue(e){X(e,this._config),this.emitConfigUpdate("setDisplayNumericValue")}getDisplayPercentage(){return Y(this._config)}setDisplayPercentage(e){Z(e,this._config),this.emitConfigUpdate("setDisplayPercentage")}getLabelMaxWidth(){return $(this._config)}setLabelMaxWidth(e){ee(e,this._config),this.emitConfigUpdate("setLabelMaxWidth")}};y(d,[_]);var ie=i=>i.series?.[0]?.innerRadius,se=(i,e)=>{e.series?.[0]&&(e.series[0].innerRadius=i)},te=i=>i.series?.[0]?.dataLabelsCharacterLimit,re=(i,e)=>{e.series?.[0]&&(e.series[0].dataLabelsCharacterLimit=i)},W=i=>i.series[0]?.startAngle,R=(i,e)=>{e.series?.[0]&&(e.series[0].startAngle=i)},ae=i=>i.series?.[0]?.displayCategoryOnTooltip??!0,ne=i=>i.series?.[0]?.displayNumericValueOnTooltip??!0,oe=i=>i.series?.[0]?.displayPercentageOnTooltip??!0,le=(i,e)=>{e.series[0]&&(e.series[0].displayPercentageOnTooltip=i)},ge=i=>i.series?.[0]?.valuePrefix,ce=(i,e)=>{e.series?.[0]&&(e.series[0].valuePrefix=i)},fe=i=>i.series?.[0]?.valueSuffix,de=(i,e)=>{e.series?.[0]&&(e.series[0].valueSuffix=i)},he=i=>i.series?.[0]?.percentagePrefix,pe=(i,e)=>{e.series?.[0]&&(e.series[0].percentagePrefix=i)},me=i=>i.series?.[0]?.percentageSuffix,ue=(i,e)=>{e.series?.[0]&&(e.series[0].percentageSuffix=i)},ye=i=>{let e,s=i.series?.[0];return s?.displayNumericValueOnDataLabel===!0&&s?.displayPercentageOnDataLabel===!0?e=a.Both:s?.displayNumericValueOnDataLabel===!0?e=a.Value:e=a.Percentage,e},_e=(i,e)=>{let s=i===a.Value||i===a.Both,t=i===a.Percentage||i===a.Both;e.series?.[0]&&(e.series[0].displayNumericValueOnDataLabel=s,e.series[0].displayPercentageOnDataLabel=t),e.legend&&(e.legend={...e.legend,displayNumericValue:s,displayPercentage:t})},Se=i=>i.series?.[0]?.alignDataLabels??!1,Ce=(i,e)=>{e.series[0]&&(e.series[0].alignDataLabels=i)},be=i=>i.series?.[0]?.dataLabelsInside??!1,Oe=(i,e)=>{e.series[0]&&(e.series[0].dataLabelsInside=i)},De=i=>i.series?.[0]?.dataLabelsOffset??10,Le=(i,e)=>{e.series[0]&&(e.series[0].dataLabelsOffset=i)},Ie=i=>i.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits,ve=(i,e)=>{e.series?.[0]&&(e.series[0].numericValueFormat??=p(),e.series[0].numericValueFormat.intlOptions.minimumFractionDigits=i,e.series[0].numericValueFormat.intlOptions.maximumFractionDigits=i,e.series[0].percentValueFormat??=p(),e.series[0].percentValueFormat.intlOptions.minimumFractionDigits=i,e.series[0].percentValueFormat.intlOptions.maximumFractionDigits=i)},Pe=i=>i.series?.[0]?.optimizeDataLabelsOverlapping??!1,Ue=(i,e)=>{e.series[0]&&(e.series[0].optimizeDataLabelsOverlapping=i)},Ve=i=>i.series[0]?.ticks?.visible??!1,xe=(i,e)=>{e.series?.[0]&&(e.series[0].ticks??=m(),e.series[0].ticks.visible=i)},Te=i=>i.series[0]?.ticks?.lineSymbol,Fe=(i,e)=>{i&&e.series?.[0]&&(e.series[0].ticks??=m(),e.series[0].ticks.lineSymbol=L(i))},Ne=(i,e)=>e.series?.[0]?.slices?.[i]?.originalLabel,Ge=(i,e)=>e.series?.[0]?.slices?.[i]?.label,Ae=(i,e,s)=>{s.series?.[0]?.slices?.[e]&&(s.series[0].slices[e].label=i)},we=(i,e)=>e.series?.[0]?.slices?.[i]?.fillSymbol?.color,Me=(i,e,s)=>{let t=s.series?.[0]?.slices?.[e]?.fillSymbol;t!==void 0?(t.color=i,t.outline!==void 0?t.outline.color=i:t.outline={type:l.SLS,color:i}):s.series?.[0]?.slices?.[e]!==void 0&&(s.series[0].slices[e].fillSymbol={type:l.SFS,color:i,outline:{type:l.SLS,color:i}})},ke=i=>i.series?.[0]?.slices?.map(e=>e.sliceId),j=(i,e)=>{e.series?.[0]?.slices?.sort((s,t)=>i.findIndex(r=>s.sliceId===r)-i.findIndex(r=>t.sliceId===r))},Ee=i=>i.series?.[0]?.sliceGrouping,q=(i,e)=>{e.series?.[0]&&(e.series[0].sliceGrouping=i)},H=i=>i.series?.[0]?.sliceGrouping?.percentageThreshold,Be=(i,e)=>{e.series?.[0]?.sliceGrouping!==void 0?e.series[0].sliceGrouping.percentageThreshold=i:e.series[0].sliceGrouping={sliceId:h.defaultGroupOfSlicesId,percentageThreshold:i}},ze=i=>i.series?.[0]?.slices,J=(i,e)=>{e.series?.[0]&&(e.series[0].slices=i)},We=i=>{J(void 0,i),q({sliceId:h.defaultGroupOfSlicesId,percentageThreshold:H(i)??0},i)},Re=(i,e)=>e.series[0]?.slices?.[i]?.sliceId,je=(i,e)=>e.series[0]?.slices?.findIndex(s=>s.sliceId===i),qe=i=>i.series[0]?.slices?.length??0,O=class extends x{constructor(){super(...arguments),this._chartType=n.PieSeries,this._mode=f.Category,this._groupedSliceIds=[]}static{this.supportsCustomSort=!0}async setup(e){await this.loadConfigFromLayer(e);let{config:s}=e;if(s!==void 0){let t=u(s.series);this._mode=t!==c.PieFromFields?f.Category:f.Fields}typeof this.resolveSetup=="function"&&this.resolveSetup()}getCategory(){return S(this._config)}async setCategory(e){(!P(this._config)||e.trim()!=="")&&(await E({newCategory:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setCategory"))}getNumericFields(){return A(this._config)}async setNumericFields(e){typeof e=="string"&&(e=[e]),this.layerInfo===void 0||U(this.layerInfo.layerFieldsInfo,e)?(await z({newNumericFields:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericFields")):console.log("Invalid numericFields")}getAggregationType(){return w(this._config,this._mode)}async setAggregationType(e){await B({newAggregationType:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setAggregationType")}getSortOrder(){return G(this._config,this._mode)}setSortOrder(e,s){k({newSortOrderKind:e,config:this._config,orderByList:s}),this.emitConfigUpdate("setSortOrder")}getOrderByList(){return C(this._config,this._mode)}setOrderByList(e){b({values:e,config:this._config,mode:this._mode}),this.emitConfigUpdate("setOrderByList")}getMode(){return this._mode}setMode(e){this._mode=e,this.emitConfigUpdate("setMode")}async getCustomSortValues(){let e=S(this._config),s=u(this._config.series),t=this.getNumericFields(),r=[];return s===c.PieFromFields?r=t:e.trim()!==""&&s===c.PieFromCategory&&(r=await V({category:e,config:this._config,layerInfo:this.layerInfo})),r}moveCustomSortValuesInOrderByList(e,s){let t=C(this._config,this._mode),[r]=t.splice(e,1);t.splice(s,0,r),b({values:t,config:this._config,mode:this._mode}),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")}getTicksSymbol(){return Te(this._config)}setTicksSymbol(e){Fe(e,this._config),this.emitConfigUpdate("setTicksSymbol")}getSlices(){return ze(this._config)}setSlices(e){J(e,this._config),this.emitConfigUpdate("setSlices")}getGroupedSliceIds(){return this._groupedSliceIds}setGroupedSliceIds(e){this._groupedSliceIds=e,this.emitConfigUpdate("setGroupedSliceIds")}getSliceGrouping(){return Ee(this._config)}setSliceGrouping(e){q(e,this._config),this.emitConfigUpdate("setSliceGrouping")}getInnerRadiusSize(){return ie(this._config)??0}setInnerRadiusSize(e){se(e,this._config),this.emitConfigUpdate("setInnerRadiusSize")}getGroupingThreshold(){return H(this._config)??0}setGroupingThreshold(e){Be(e,this._config),this.emitConfigUpdate("setGroupingThreshold")}getLabelCharacterLimit(){return te(this._config)??null}setLabelCharacterLimit(e){re(e,this._config),this.emitConfigUpdate("setLabelCharacterLimit")}getDecimalPlaces(){return Ie(this._config)??1}setDecimalPlaces(e){ve(e,this._config),this.emitConfigUpdate("setDecimalPlaces")}getDisplayType(){return ye(this._config)}setDisplayType(e){_e(e,this._config),this.emitConfigUpdate("setDisplayType")}async generateDefaultConfig(){let e=await v();return e.series=[await I(this.layerInfo?.objectIdField)],e}getOriginalSliceName(e){return Ne(e,this._config)}getSliceName(e){return Ge(e,this._config)}setSliceName(e,s){Ae(e,s,this._config),this.emitConfigUpdate("setSliceName")}getSliceColor(e){return we(e,this._config)}setSliceColor(e,s){Me(e,s,this._config),this.emitConfigUpdate("setSliceColor")}getOrderOfSlices(){return ke(this._config)}setOrderOfSlices(e){j(e,this._config),this.emitConfigUpdate("setOrderOfSlices")}moveSeries(e,s){let t=this.getOrderOfSlices();if(t!==void 0){let[r]=t.splice(e,1);t.splice(s,0,r),j(t,this._config),this.emitConfigUpdate("moveSeries")}}getSliceId(e){return Re(e,this._config)}getSliceIndex(e){return je(e,this._config)}getSlicesLength(){return qe(this._config)}resetSlices(){We(this._config),this.emitConfigUpdate("resetSlices")}resetAvailable(){let e=!this.getColorMatch(),s=!1,t=this.getSlices()?.length??0;for(let o=0;o<t;o+=1){let D=this.getOriginalSliceName(o),K=this.getSliceName(o);if(D!==void 0&&D?.toString()!==K?.toString()){s=!0;break}}let r=this.getSliceGrouping();return r?.originalLabel!==void 0&&r?.label!==r.originalLabel&&(s=!0),e||s}getTicksVisibility(){return Ve(this._config)}setTicksVisibility(e){xe(e,this._config),this.emitConfigUpdate("setTicksVisibility")}getStartAngle(){return W(this._config)}setStartAngle(e){R(e,this._config),this.emitConfigUpdate("setStartAngle")}getEndAngle(){return W(this._config)}setEndAngle(e){R(e,this._config),this.emitConfigUpdate("setEndAngle")}getDisplayCategoryValueOnTooltip(){return ae(this._config)}getDisplayNumericValueOnTooltip(){return ne(this._config)}setDisplayCategoryOnTooltip(e){this._config.series[0].displayCategoryOnTooltip=e,this.emitConfigUpdate("setDisplayCategoryValue")}setDisplayNumericValueOnTooltip(e){this._config.series[0].displayNumericValueOnTooltip=e,this.emitConfigUpdate("setDisplayNumericValue")}getDisplayPercentageOnTooltip(){return oe(this._config)}setDisplayPercentageOnTooltip(e){le(e,this._config),this.emitConfigUpdate("setDisplayPercentage")}getValuePrefix(){return ge(this._config)}setValuePrefix(e){ce(e,this._config),this.emitConfigUpdate("setValuePrefix")}getValueSuffix(){return fe(this._config)}setValueSuffix(e){de(e,this._config),this.emitConfigUpdate("setValueSuffix")}getPercentagePrefix(){return he(this._config)}setPercentagePrefix(e){pe(e,this._config),this.emitConfigUpdate("setPercentagePrefix")}getPercentageSuffix(){return me(this._config)}setPercentageSuffix(e){ue(e,this._config),this.emitConfigUpdate("setPercentageSuffix")}getDataLabelsOffset(){return De(this._config)}setDataLabelsOffset(e){Le(e,this._config),this.emitConfigUpdate("setDataLabelsOffset")}getAlignDataLabels(){return Se(this._config)}setAlignDataLabels(e){Ce(e,this._config),this.emitConfigUpdate("setAlignDataLabels")}getDataLabelsInside(){return be(this._config)}setDataLabelsInside(e){Oe(e,this._config),this.emitConfigUpdate("setDataLabelsInside")}getOptimizeDataLabelsOverlapping(){return Pe(this._config)}setOptimizeDataLabelsOverlapping(e){Ue(e,this._config),this.emitConfigUpdate("setOptimizeDataLabelsOverlapping")}async generateChartTitle(){return await M({config:this._config,layerInfo:this.layerInfo,mode:this._mode})}};y(O,[d,F,T,N]);return O},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",b,c,d,e,g,h)
|