@arcgis/map-components 4.32.0-next.2 → 4.32.0-next.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/2DNTLMTB.js +6 -0
- package/dist/arcgis-map-components/2U733VXV.js +6 -0
- package/dist/arcgis-map-components/33AA3PEL.js +203 -0
- package/dist/arcgis-map-components/3DBN7NBY.js +6 -0
- package/dist/arcgis-map-components/3DN66BEC.js +6 -0
- package/dist/arcgis-map-components/3XOMWGZP.js +6 -0
- package/dist/arcgis-map-components/4JPI5FZ7.js +6 -0
- package/dist/arcgis-map-components/4LKLM5XC.js +6 -0
- package/dist/arcgis-map-components/5E36Y6LW.js +6 -0
- package/dist/arcgis-map-components/{KRNTNUDC.js → 5E7EUJ5A.js} +2 -2
- package/dist/arcgis-map-components/6FDS3YVF.js +6 -0
- package/dist/arcgis-map-components/6QQZSC3U.js +6 -0
- package/dist/arcgis-map-components/6RZ3S2EF.js +8 -0
- package/dist/arcgis-map-components/{QMWMI2KR.js → 7AY6XL2I.js} +1 -1
- package/dist/arcgis-map-components/7OHAZ62N.js +6 -0
- package/dist/arcgis-map-components/7SM4LN5H.js +6 -0
- package/dist/arcgis-map-components/7T4CPEUN.js +6 -0
- package/dist/arcgis-map-components/{3R2MPXOH.js → 7TFJYPQY.js} +2 -2
- package/dist/arcgis-map-components/AVK52HRN.js +6 -0
- package/dist/arcgis-map-components/BMI4WHZK.js +6 -0
- package/dist/arcgis-map-components/CQFEQEOG.js +6 -0
- package/dist/arcgis-map-components/DOJRMVHP.js +6 -0
- package/dist/arcgis-map-components/EBLGHMSC.js +6 -0
- package/dist/arcgis-map-components/ETF6MM6B.js +6 -0
- package/dist/arcgis-map-components/{MCZ4R2D2.js → GEULEAEM.js} +2 -2
- package/dist/arcgis-map-components/IM4FB5R3.js +6 -0
- package/dist/arcgis-map-components/IOTXSBMW.js +6 -0
- package/dist/arcgis-map-components/JQKDLJNY.js +6 -0
- package/dist/arcgis-map-components/JVJRAPUX.js +6 -0
- package/dist/arcgis-map-components/JYCWSPOU.js +6 -0
- package/dist/arcgis-map-components/K2WCJUWA.js +6 -0
- package/dist/arcgis-map-components/KXZJEXIL.js +6 -0
- package/dist/arcgis-map-components/{73ZPAYZL.js → L2YRXBR6.js} +2 -2
- package/dist/arcgis-map-components/L6L75XFG.js +6 -0
- package/dist/arcgis-map-components/LCD47EYR.js +6 -0
- package/dist/arcgis-map-components/LCX5VUD4.js +6 -0
- package/dist/arcgis-map-components/LOVPVCP5.js +6 -0
- package/dist/arcgis-map-components/MIXPTOWS.js +6 -0
- package/dist/arcgis-map-components/MZ2OHNBQ.js +6 -0
- package/dist/arcgis-map-components/MZBTFGYM.js +6 -0
- package/dist/arcgis-map-components/NV2JSNTY.js +6 -0
- package/dist/arcgis-map-components/P3FSTHG5.js +6 -0
- package/dist/arcgis-map-components/{D4XIASG2.js → P4FLA3RN.js} +1 -1
- package/dist/arcgis-map-components/{QJE6C2KB.js → QPF7IYYE.js} +2 -2
- package/dist/arcgis-map-components/QPIYXIHT.js +6 -0
- package/dist/arcgis-map-components/QQ3QW4JQ.js +6 -0
- package/dist/arcgis-map-components/RS5GQRJB.js +6 -0
- package/dist/arcgis-map-components/{74DFQCVS.js → S3JBVJPX.js} +2 -2
- package/dist/arcgis-map-components/S6I7VCVM.js +6 -0
- package/dist/arcgis-map-components/SJU5UCZD.js +6 -0
- package/dist/arcgis-map-components/SNSKYHBC.js +6 -0
- package/dist/arcgis-map-components/TA2WFOIS.js +6 -0
- package/dist/arcgis-map-components/TFDBIOU7.js +6 -0
- package/dist/arcgis-map-components/U5LSQVRU.js +6 -0
- package/dist/arcgis-map-components/UFQE6RTO.js +6 -0
- package/dist/arcgis-map-components/UILXLOJJ.js +6 -0
- package/dist/arcgis-map-components/UKOX6DQF.js +6 -0
- package/dist/arcgis-map-components/UPSGI4YB.js +6 -0
- package/dist/arcgis-map-components/VC64WSZG.js +6 -0
- package/dist/arcgis-map-components/VZH3CAF6.js +6 -0
- package/dist/arcgis-map-components/WIUB5GL5.js +6 -0
- package/dist/arcgis-map-components/{WAIK2ZZN.js → WYSLUAQV.js} +2 -2
- package/dist/arcgis-map-components/{3R7EOYY3.js → XOXGIFMM.js} +2 -2
- package/dist/arcgis-map-components/Y6CAFLD6.js +6 -0
- package/dist/arcgis-map-components/YEDOBJVM.js +6 -0
- package/dist/arcgis-map-components/YGYIOEST.js +6 -0
- package/dist/arcgis-map-components/YWIPYX56.js +6 -0
- package/dist/arcgis-map-components/Z556VFKP.js +6 -0
- package/dist/arcgis-map-components/ZDEHXZL7.js +6 -0
- package/dist/arcgis-map-components/ZJ2P3FUV.js +6 -0
- package/dist/arcgis-map-components/ZLJZTLQU.js +6 -0
- package/dist/arcgis-map-components/arcgis-map-components.css +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ar.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.bg.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.bs.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ca.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.cs.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.da.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.de.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.el.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.es.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.et.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.fi.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.fr.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.he.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.hr.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.hu.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.id.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.it.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ja.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ko.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.lt.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.lv.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.nb.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.nl.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.pl.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ro.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ru.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sk.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sl.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sr.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sv.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.th.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.tr.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.uk.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.vi.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ar.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.bg.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.bs.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ca.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.cs.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.da.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.de.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.el.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.es.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.et.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.fi.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.fr.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.he.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.hr.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.hu.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.id.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.it.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ja.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ko.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.lt.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.lv.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.nb.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.nl.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.pl.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ro.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ru.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sk.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sl.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sr.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sv.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.th.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.tr.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.uk.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.vi.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ar.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.bg.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.bs.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ca.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.cs.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.da.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.de.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.el.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.es.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.et.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.fi.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.fr.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.he.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.hr.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.hu.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.id.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.it.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ja.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ko.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.lt.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.lv.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.nb.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.nl.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.pl.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ro.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ru.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sk.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sl.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sr.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sv.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.th.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.tr.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.uk.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.vi.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ar.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.bg.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.bs.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ca.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.cs.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.da.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.de.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.el.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.es.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.et.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.fi.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.fr.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.he.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.hr.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.hu.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.id.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.it.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ja.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ko.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.lt.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.lv.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.nb.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.nl.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.pl.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ro.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ru.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sk.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sl.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sr.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sv.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.th.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.tr.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.uk.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.vi.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ar.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.bg.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.bs.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ca.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.cs.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.da.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.de.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.el.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.es.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.et.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.fi.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.fr.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.he.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.hr.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.hu.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.id.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.it.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ja.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ko.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.lt.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.lv.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.nb.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.nl.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.pl.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ro.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ru.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sk.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sl.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sr.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sv.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.th.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.tr.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.uk.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.vi.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ar.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.bg.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.bs.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ca.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.cs.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.da.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.de.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.el.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.es.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.et.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.fi.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.fr.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.he.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.hr.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.hu.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.id.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.it.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ja.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ko.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.lt.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.lv.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.nb.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.nl.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.pl.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ro.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ru.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sk.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sl.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sr.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sv.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.th.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.tr.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.uk.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.vi.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ar.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.bg.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.bs.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ca.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.cs.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.da.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.de.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.el.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.es.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.et.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.fi.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.fr.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.he.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.hr.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.hu.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.id.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.it.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ja.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ko.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.lt.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.lv.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.nb.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.nl.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.pl.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ro.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ru.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sk.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sl.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sr.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sv.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.th.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.tr.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.uk.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.vi.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.zh-TW.json +1 -1
- package/dist/chunks/component-utils.js +3 -3
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +16 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +13 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +16 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +8 -4
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -11
- package/dist/components/arcgis-attachments/customElement.js +12 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +16 -11
- package/dist/components/arcgis-basemap-gallery/customElement.js +11 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +16 -11
- package/dist/components/arcgis-basemap-layer-list/customElement.js +11 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -10
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -12
- package/dist/components/arcgis-basemap-toggle/index.d.ts +3 -3
- package/dist/components/arcgis-basemap-toggle/index.js +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +16 -11
- package/dist/components/arcgis-bookmarks/customElement.js +13 -9
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -11
- package/dist/components/arcgis-building-explorer/customElement.js +11 -7
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +16 -11
- package/dist/components/arcgis-catalog-layer-list/customElement.js +11 -7
- package/dist/components/arcgis-compass/customElement.d.ts +11 -10
- package/dist/components/arcgis-compass/customElement.js +20 -13
- package/dist/components/arcgis-compass/index.d.ts +2 -2
- package/dist/components/arcgis-compass/index.js +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +16 -18
- package/dist/components/arcgis-coordinate-conversion/customElement.js +11 -7
- package/dist/components/arcgis-daylight/customElement.d.ts +16 -11
- package/dist/components/arcgis-daylight/customElement.js +13 -9
- package/dist/components/arcgis-directional-pad/customElement.d.ts +16 -11
- package/dist/components/arcgis-directional-pad/customElement.js +12 -8
- package/dist/components/arcgis-directions/customElement.d.ts +16 -11
- package/dist/components/arcgis-directions/customElement.js +17 -13
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +16 -11
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +8 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +16 -18
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +15 -11
- package/dist/components/arcgis-editor/customElement.d.ts +16 -11
- package/dist/components/arcgis-editor/customElement.js +12 -8
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +16 -11
- package/dist/components/arcgis-elevation-profile/customElement.js +11 -7
- package/dist/components/arcgis-expand/customElement.d.ts +17 -14
- package/dist/components/arcgis-expand/customElement.js +3 -3
- package/dist/components/arcgis-feature/customElement.d.ts +16 -11
- package/dist/components/arcgis-feature/customElement.js +19 -15
- package/dist/components/arcgis-feature-form/customElement.d.ts +16 -11
- package/dist/components/arcgis-feature-form/customElement.js +11 -7
- package/dist/components/arcgis-feature-table/customElement.d.ts +27 -15
- package/dist/components/arcgis-feature-table/customElement.js +6 -6
- package/dist/components/arcgis-feature-templates/customElement.d.ts +16 -11
- package/dist/components/arcgis-feature-templates/customElement.js +11 -7
- package/dist/components/arcgis-features/customElement.d.ts +20 -13
- package/dist/components/arcgis-features/customElement.js +12 -8
- package/dist/components/arcgis-floor-filter/customElement.d.ts +16 -11
- package/dist/components/arcgis-floor-filter/customElement.js +11 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +11 -10
- package/dist/components/arcgis-fullscreen/customElement.js +14 -10
- package/dist/components/arcgis-fullscreen/index.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/index.js +1 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +16 -11
- package/dist/components/arcgis-histogram/customElement.js +11 -7
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +16 -15
- package/dist/components/arcgis-histogram-range-slider/customElement.js +14 -10
- package/dist/components/arcgis-home/customElement.d.ts +11 -10
- package/dist/components/arcgis-home/customElement.js +9566 -979
- package/dist/components/arcgis-home/index.d.ts +1 -1
- package/dist/components/arcgis-home/index.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +16 -11
- package/dist/components/arcgis-layer-list/customElement.js +11 -7
- package/dist/components/arcgis-legend/customElement.d.ts +16 -11
- package/dist/components/arcgis-legend/customElement.js +11 -7
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -11
- package/dist/components/arcgis-line-of-sight/customElement.js +12 -8
- package/dist/components/arcgis-locate/customElement.d.ts +11 -10
- package/dist/components/arcgis-locate/customElement.js +16 -12
- package/dist/components/arcgis-locate/index.d.ts +2 -2
- package/dist/components/arcgis-locate/index.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +14 -16
- package/dist/components/arcgis-map/customElement.js +41 -38
- package/dist/components/arcgis-measurement/customElement.d.ts +16 -11
- package/dist/components/arcgis-measurement/customElement.js +11 -7
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +16 -11
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -10
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +24 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +13 -9
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +16 -11
- package/dist/components/arcgis-print/customElement.js +12 -8
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -10
- package/dist/components/arcgis-scale-bar/customElement.js +18 -18
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +17 -12
- package/dist/components/arcgis-scale-range-slider/customElement.js +11 -7
- package/dist/components/arcgis-scene/customElement.d.ts +32 -15
- package/dist/components/arcgis-scene/customElement.js +41 -20
- package/dist/components/arcgis-search/customElement.d.ts +16 -11
- package/dist/components/arcgis-search/customElement.js +11 -7
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +16 -11
- package/dist/components/arcgis-shadow-cast/customElement.js +11 -7
- package/dist/components/arcgis-sketch/customElement.d.ts +16 -11
- package/dist/components/arcgis-sketch/customElement.js +11 -7
- package/dist/components/arcgis-slice/customElement.d.ts +16 -11
- package/dist/components/arcgis-slice/customElement.js +13 -9
- package/dist/components/arcgis-slider/customElement.d.ts +16 -11
- package/dist/components/arcgis-slider/customElement.js +8 -8
- package/dist/components/arcgis-swipe/customElement.d.ts +17 -18
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +16 -11
- package/dist/components/arcgis-table-list/customElement.js +15 -11
- package/dist/components/arcgis-time-slider/customElement.d.ts +16 -11
- package/dist/components/arcgis-time-slider/customElement.js +14 -10
- package/dist/components/arcgis-track/customElement.d.ts +25 -17
- package/dist/components/arcgis-track/customElement.js +14 -10
- package/dist/components/arcgis-track/index.d.ts +2 -2
- package/dist/components/arcgis-track/index.js +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +0 -12
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +0 -12
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +0 -12
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +4 -4
- package/dist/components/arcgis-value-picker/customElement.d.ts +16 -18
- package/dist/components/arcgis-value-picker/customElement.js +11 -7
- package/dist/components/arcgis-version-management/customElement.d.ts +87 -10
- package/dist/components/arcgis-version-management/customElement.js +74 -71
- package/dist/components/arcgis-version-management/index.d.ts +4 -4
- package/dist/components/arcgis-version-management/index.js +4 -4
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +4 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +17 -16
- package/dist/components/arcgis-version-management-service-item/index.d.ts +5 -5
- package/dist/components/arcgis-version-management-service-item/index.js +5 -5
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-item/index.d.ts +4 -4
- package/dist/components/arcgis-version-management-version-item/index.js +4 -4
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +15 -14
- package/dist/components/arcgis-version-management-version-list/index.d.ts +10 -10
- package/dist/components/arcgis-version-management-version-list/index.js +10 -10
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +19 -19
- package/dist/components/arcgis-version-management-version-properties/index.d.ts +10 -10
- package/dist/components/arcgis-version-management-version-properties/index.js +10 -10
- package/dist/components/arcgis-weather/customElement.d.ts +16 -11
- package/dist/components/arcgis-weather/customElement.js +13 -9
- package/dist/components/arcgis-zoom/customElement.d.ts +19 -10
- package/dist/components/arcgis-zoom/customElement.js +10 -10
- package/dist/components/arcgis-zoom/index.d.ts +1 -1
- package/dist/components/arcgis-zoom/index.js +1 -1
- package/dist/controllers/Handles.d.ts +0 -7
- package/dist/controllers/useHandles.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +3 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/{manifest.json → api.json} +13466 -19069
- package/dist/docs/docs.json +4623 -6045
- package/dist/docs/vscode.html-custom-data.json +369 -567
- package/dist/docs/web-types.json +1199 -1913
- package/dist/index.d.ts +8 -84
- package/dist/index.js +7 -4
- package/dist/loader.js +8 -8
- package/dist/runtime.d.ts +1 -1
- package/dist/types/components.d.ts +1 -5
- package/dist/types/lumina.d.ts +11 -43
- package/dist/types/preact.d.ts +11 -47
- package/dist/types/react.d.ts +11 -55
- package/dist/types/stencil.d.ts +77 -103
- package/dist/utils/mapping-utils.d.ts +0 -1
- package/dist/utils/screen-utils.d.ts +0 -1
- package/package.json +11 -62
- package/dist/arcgis-map-components/26RVOVEC.js +0 -6
- package/dist/arcgis-map-components/2V6UXU6P.js +0 -6
- package/dist/arcgis-map-components/327OXNT5.js +0 -6
- package/dist/arcgis-map-components/3CKLCOIH.js +0 -6
- package/dist/arcgis-map-components/46EZ5CLU.js +0 -6
- package/dist/arcgis-map-components/577SG2LO.js +0 -6
- package/dist/arcgis-map-components/674RWNZK.js +0 -6
- package/dist/arcgis-map-components/6TSLGWQT.js +0 -6
- package/dist/arcgis-map-components/6ZWNHYVL.js +0 -6
- package/dist/arcgis-map-components/74C4V7KH.js +0 -6
- package/dist/arcgis-map-components/AHIVLV3N.js +0 -6
- package/dist/arcgis-map-components/B6Z3K5E6.js +0 -6
- package/dist/arcgis-map-components/BODCRIXB.js +0 -6
- package/dist/arcgis-map-components/C7HA6EHC.js +0 -6
- package/dist/arcgis-map-components/DQK27YBW.js +0 -6
- package/dist/arcgis-map-components/EFVHFMSS.js +0 -6
- package/dist/arcgis-map-components/EQTBXL27.js +0 -6
- package/dist/arcgis-map-components/FKQWYYJJ.js +0 -6
- package/dist/arcgis-map-components/G6YHMY2X.js +0 -6
- package/dist/arcgis-map-components/GGMK22ZD.js +0 -6
- package/dist/arcgis-map-components/GMTDFL22.js +0 -6
- package/dist/arcgis-map-components/HEBIFCHW.js +0 -6
- package/dist/arcgis-map-components/HNDOGSLA.js +0 -6
- package/dist/arcgis-map-components/JD3NDKYH.js +0 -6
- package/dist/arcgis-map-components/JHGXWM55.js +0 -6
- package/dist/arcgis-map-components/KF46FZNO.js +0 -6
- package/dist/arcgis-map-components/KGEFWFO6.js +0 -6
- package/dist/arcgis-map-components/LDDW6F6M.js +0 -6
- package/dist/arcgis-map-components/LMZOA6VS.js +0 -8
- package/dist/arcgis-map-components/LQPFVUFQ.js +0 -6
- package/dist/arcgis-map-components/MOMHFVR6.js +0 -6
- package/dist/arcgis-map-components/MPO7H3FA.js +0 -6
- package/dist/arcgis-map-components/MXAGX7OA.js +0 -6
- package/dist/arcgis-map-components/NAY7H67N.js +0 -6
- package/dist/arcgis-map-components/OTOXD6WT.js +0 -6
- package/dist/arcgis-map-components/OUFCLRMG.js +0 -6
- package/dist/arcgis-map-components/P3X6SURG.js +0 -6
- package/dist/arcgis-map-components/QCYUUWJP.js +0 -6
- package/dist/arcgis-map-components/QWQXCAI5.js +0 -6
- package/dist/arcgis-map-components/RHLWBYBO.js +0 -6
- package/dist/arcgis-map-components/RVUHEIL2.js +0 -6
- package/dist/arcgis-map-components/SOKO6DPY.js +0 -6
- package/dist/arcgis-map-components/SPLN4VXX.js +0 -6
- package/dist/arcgis-map-components/T73URWJF.js +0 -6
- package/dist/arcgis-map-components/TOG7VHWN.js +0 -6
- package/dist/arcgis-map-components/TOS6QE45.js +0 -6
- package/dist/arcgis-map-components/TY4LRMYB.js +0 -6
- package/dist/arcgis-map-components/U3A7NBMN.js +0 -6
- package/dist/arcgis-map-components/VURDEWQI.js +0 -6
- package/dist/arcgis-map-components/W5BYKY5K.js +0 -6
- package/dist/arcgis-map-components/WLPAGIVE.js +0 -6
- package/dist/arcgis-map-components/XAOANEKX.js +0 -6
- package/dist/arcgis-map-components/XL42GVGB.js +0 -6
- package/dist/arcgis-map-components/XRJ6T3QX.js +0 -6
- package/dist/arcgis-map-components/Y7DD72RA.js +0 -6
- package/dist/arcgis-map-components/YAS7GDPA.js +0 -6
- package/dist/arcgis-map-components/YRMMQFCN.js +0 -6
- package/dist/arcgis-map-components/YYYNB4EI.js +0 -6
- package/dist/arcgis-map-components/Z6FLHF4Y.js +0 -6
- package/dist/arcgis-map-components/ZATBD4AU.js +0 -6
- package/dist/arcgis-map-components/ZJDGS42S.js +0 -6
- package/dist/chunks/index.js +0 -728
@@ -0,0 +1,203 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.21
|
5
|
+
*/
|
6
|
+
import{a as no,b as ao}from"./GEULEAEM.js";import{a as Nt}from"./P4FLA3RN.js";import{a as ro,b as oo}from"./S6I7VCVM.js";import{d as to}from"./UPSGI4YB.js";import{K as eo}from"./7SM4LN5H.js";import"./7AY6XL2I.js";import{B as Jr,D as Xr,E as Qr,F as jt,H as Zr,J as Kr,a as he,b as Mr,c as Ur,p as qr,q as Gr,r as st,s as Hr,t as Br,v as Vr,x as zr,y as Wr,z as Yr}from"./6RZ3S2EF.js";var Pi=Symbol.for(""),xi=e=>{if(e?.r===Pi)return e?._$litStatic$};var io=new Map,Pt=e=>(t,...r)=>{let o=r.length,n,a,i=[],s=[],u,c=0,m=!1;for(;c<o;){for(u=t[c];c<o&&(a=r[c],(n=xi(a))!==void 0);)u+=n+t[++c],m=!0;c!==o&&s.push(a),i.push(u),c++}if(c===o&&i.push(t[o]),m){let d=i.join("$$lit$$");(t=io.get(d))===void 0&&(i.raw=i,io.set(d,t=i)),r=s}return e(t,...r)},kh=Pt(st),Ih=Pt(Hr),$h=Pt(Br);var ki=Object.defineProperty,Ce=(e,t)=>ki(e,"name",{value:t,configurable:!0}),Ii=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:$i}=Ii,Re={trace:1,debug:2,info:3,warn:4,error:5,silent:10},Li=$i,qe=Re[Li]||Re.info,te={trace:Ce((e,...t)=>{qe<=Re.trace&&console.trace(e,...t)},"trace"),debug:Ce((e,...t)=>{qe<=Re.debug&&console.debug(e,...t)},"debug"),info:Ce((e,...t)=>{qe<=Re.info&&console.info(e,...t)},"info"),warn:Ce((e,...t)=>{qe<=Re.warn&&console.warn(e,...t)},"warn"),error:Ce((e,...t)=>{qe<=Re.error&&console.error(e,...t)},"error"),log:Ce((e,...t)=>{qe<Re.silent&&console.log(e,...t)},"log")},qt=new Set,se=Ce(e=>(t,...r)=>{if(!qt.has(t))return qt.add(t),te[e](t,...r)},"once");se.clear=()=>qt.clear();se.trace=se("trace");se.debug=se("debug");se.info=se("info");se.warn=se("warn");se.error=se("error");se.log=se("log");var Ze=se("warn"),be=Ce(e=>(...t)=>{let r=[];if(t.length){let o=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,n=/<\/span>/gi,a;for(r.push(t[0].replace(o,"%c").replace(n,"%c"));a=o.exec(t[0]);)r.push(a[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}te[e].apply(te,r)},"pretty");be.trace=be("trace");be.debug=be("debug");be.info=be("info");be.warn=be("warn");be.error=be("error");var ir=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",e))(ir||{}),Fi=ir,{CHANNEL_WS_DISCONNECT:$o,CHANNEL_CREATED:Di,CONFIG_ERROR:Lo,CREATE_NEW_STORYFILE_REQUEST:Mi,CREATE_NEW_STORYFILE_RESPONSE:Ui,CURRENT_STORY_WAS_SET:Gt,DOCS_PREPARED:Fo,DOCS_RENDERED:sr,FILE_COMPONENT_SEARCH_REQUEST:qi,FILE_COMPONENT_SEARCH_RESPONSE:Gi,FORCE_RE_RENDER:lr,FORCE_REMOUNT:Do,GLOBALS_UPDATED:Ke,NAVIGATE_URL:Hi,PLAY_FUNCTION_THREW_EXCEPTION:Mo,UNHANDLED_ERRORS_WHILE_PLAYING:Uo,PRELOAD_ENTRIES:qo,PREVIEW_BUILDER_PROGRESS:Bi,PREVIEW_KEYDOWN:Go,REGISTER_SUBSCRIPTION:Vi,RESET_STORY_ARGS:cr,SELECT_STORY:zi,SET_CONFIG:Wi,SET_CURRENT_STORY:Ho,SET_FILTER:Yi,SET_GLOBALS:Bo,SET_INDEX:Ji,SET_STORIES:Xi,SHARED_STATE_CHANGED:Qi,SHARED_STATE_SET:Zi,STORIES_COLLAPSE_ALL:Ki,STORIES_EXPAND_ALL:es,STORY_ARGS_UPDATED:Vo,STORY_CHANGED:zo,STORY_ERRORED:Wo,STORY_INDEX_INVALIDATED:Yo,STORY_MISSING:Ht,STORY_PREPARED:Jo,STORY_RENDER_PHASE_CHANGED:et,STORY_RENDERED:ft,STORY_SPECIFIED:Xo,STORY_THREW_EXCEPTION:Qo,STORY_UNCHANGED:Zo,UPDATE_GLOBALS:ur,UPDATE_QUERY_PARAMS:Ko,UPDATE_STORY_ARGS:pr,REQUEST_WHATS_NEW_DATA:ts,RESULT_WHATS_NEW_DATA:rs,SET_WHATS_NEW_CACHE:os,TOGGLE_WHATS_NEW_NOTIFICATIONS:ns,TELEMETRY_ERROR:as,SAVE_STORY_REQUEST:is,SAVE_STORY_RESPONSE:ss,ARGTYPES_INFO_REQUEST:en,ARGTYPES_INFO_RESPONSE:Bt,TESTING_MODULE_CRASH_REPORT:ls,TESTING_MODULE_PROGRESS_REPORT:cs,TESTING_MODULE_RUN_REQUEST:us,TESTING_MODULE_RUN_ALL_REQUEST:ps,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:ds,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:fs,TESTING_MODULE_WATCH_MODE_REQUEST:hs}=ir,ys=Object.freeze(Object.defineProperty({__proto__:null,ARGTYPES_INFO_REQUEST:en,ARGTYPES_INFO_RESPONSE:Bt,CHANNEL_CREATED:Di,CHANNEL_WS_DISCONNECT:$o,CONFIG_ERROR:Lo,CREATE_NEW_STORYFILE_REQUEST:Mi,CREATE_NEW_STORYFILE_RESPONSE:Ui,CURRENT_STORY_WAS_SET:Gt,DOCS_PREPARED:Fo,DOCS_RENDERED:sr,FILE_COMPONENT_SEARCH_REQUEST:qi,FILE_COMPONENT_SEARCH_RESPONSE:Gi,FORCE_REMOUNT:Do,FORCE_RE_RENDER:lr,GLOBALS_UPDATED:Ke,NAVIGATE_URL:Hi,PLAY_FUNCTION_THREW_EXCEPTION:Mo,PRELOAD_ENTRIES:qo,PREVIEW_BUILDER_PROGRESS:Bi,PREVIEW_KEYDOWN:Go,REGISTER_SUBSCRIPTION:Vi,REQUEST_WHATS_NEW_DATA:ts,RESET_STORY_ARGS:cr,RESULT_WHATS_NEW_DATA:rs,SAVE_STORY_REQUEST:is,SAVE_STORY_RESPONSE:ss,SELECT_STORY:zi,SET_CONFIG:Wi,SET_CURRENT_STORY:Ho,SET_FILTER:Yi,SET_GLOBALS:Bo,SET_INDEX:Ji,SET_STORIES:Xi,SET_WHATS_NEW_CACHE:os,SHARED_STATE_CHANGED:Qi,SHARED_STATE_SET:Zi,STORIES_COLLAPSE_ALL:Ki,STORIES_EXPAND_ALL:es,STORY_ARGS_UPDATED:Vo,STORY_CHANGED:zo,STORY_ERRORED:Wo,STORY_INDEX_INVALIDATED:Yo,STORY_MISSING:Ht,STORY_PREPARED:Jo,STORY_RENDERED:ft,STORY_RENDER_PHASE_CHANGED:et,STORY_SPECIFIED:Xo,STORY_THREW_EXCEPTION:Qo,STORY_UNCHANGED:Zo,TELEMETRY_ERROR:as,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:ds,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:fs,TESTING_MODULE_CRASH_REPORT:ls,TESTING_MODULE_PROGRESS_REPORT:cs,TESTING_MODULE_RUN_ALL_REQUEST:ps,TESTING_MODULE_RUN_REQUEST:us,TESTING_MODULE_WATCH_MODE_REQUEST:hs,TOGGLE_WHATS_NEW_NOTIFICATIONS:ns,UNHANDLED_ERRORS_WHILE_PLAYING:Uo,UPDATE_GLOBALS:ur,UPDATE_QUERY_PARAMS:Ko,UPDATE_STORY_ARGS:pr,default:Fi},Symbol.toStringTag,{value:"Module"})),gs=Object.create,dr=Object.defineProperty,ms=Object.getOwnPropertyDescriptor,bs=Object.getOwnPropertyNames,Es=Object.getPrototypeOf,vs=Object.prototype.hasOwnProperty,S=(e,t)=>dr(e,"name",{value:t,configurable:!0}),lt=(e=>typeof he<"u"?he:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof he<"u"?he:t)[r]}):e)(function(e){if(typeof he<"u")return he.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ss=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ws=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of bs(t))!vs.call(e,n)&&n!==r&&dr(e,n,{get:()=>t[n],enumerable:!(o=ms(t,n))||o.enumerable});return e},_s=(e,t,r)=>(r=e!=null?gs(Es(e)):{},ws(dr(r,"default",{value:e,enumerable:!0}),e)),Cs=Ss((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return S(function r(o,n,a){function i(c,m){if(!n[c]){if(!o[c]){var d=typeof lt=="function"&<if(!m&&d)return d(c,!0);if(s)return s(c,!0);var y=new Error("Cannot find module '"+c+"'");throw y.code="MODULE_NOT_FOUND",y}var b=n[c]={exports:{}};o[c][0].call(b.exports,function(v){var A=o[c][1][v];return i(A||v)},b,b.exports,r,o,n,a)}return n[c].exports}S(i,"s");for(var s=typeof lt=="function"&<,u=0;u<a.length;u++)i(a[u]);return i},"e")({1:[function(r,o,n){o.exports=function(a){if(typeof Map!="function"||a){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,o,n){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}S(a,"Similar"),a.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var u;for(u=0;u<this.size;u++)i.call(s||this,this.list[u].val,this.list[u].key,this)},a.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},a.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},o.exports=a},{}],3:[function(r,o,n){var a=r("map-or-similar");o.exports=function(c){var m=new a(!1),d=[];return function(y){var b=S(function(){var v=m,A,R,w=arguments.length-1,T=Array(w+1),P=!0,I;if((b.numArgs||b.numArgs===0)&&b.numArgs!==w+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(I=0;I<w;I++){if(T[I]={cacheItem:v,arg:arguments[I]},v.has(arguments[I])){v=v.get(arguments[I]);continue}P=!1,A=new a(!1),v.set(arguments[I],A),v=A}return P&&(v.has(arguments[w])?R=v.get(arguments[w]):P=!1),P||(R=y.apply(null,arguments),v.set(arguments[w],R)),c>0&&(T[w]={cacheItem:v,arg:arguments[w]},P?i(d,T):d.push(T),d.length>c&&s(d.shift())),b.wasMemoized=P,b.numArgs=w+1,R},"memoizerific");return b.limit=c,b.wasMemoized=!1,b.cache=m,b.lru=d,b}};function i(c,m){var d=c.length,y=m.length,b,v,A;for(v=0;v<d;v++){for(b=!0,A=0;A<y;A++)if(!u(c[v][A].arg,m[A].arg)){b=!1;break}if(b)break}c.push(c.splice(v,1)[0])}S(i,"moveToMostRecentLru");function s(c){var m=c.length,d=c[m-1],y,b;for(d.cacheItem.delete(d.arg),b=m-2;b>=0&&(d=c[b],y=d.cacheItem.get(d.arg),!y||!y.size);b--)d.cacheItem.delete(d.arg)}S(s,"removeCachedResult");function u(c,m){return c===m||c!==c&&m!==m}S(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),oe=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),Rs=S(e=>e.transports!==void 0,"isMulti"),Ts=S(()=>Math.random().toString(16).slice(2),"generateRandomId"),tn=class{constructor(e={}){this.sender=Ts(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,Rs(e)?(this.transports=e.transports||[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let r={type:e,args:t,from:this.sender},o={};t.length>=1&&t[0]&&t[0].options&&(o=t[0].options);let n=S(()=>{this.transports.forEach(a=>{a.send(r,o)}),this.handleEvent(r)},"handler");this.isAsync?setImmediate(n):n()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let r=this.onceListener(e,t);this.addListener(e,r)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let r=this.listeners(e);r&&(this.events[e]=r.filter(o=>o!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(r=>{r.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let r=S((...o)=>(this.removeListener(e,r),t(...o)),"onceListener");return r}};S(tn,"Channel");var rn=tn,As=Object.create,on=Object.defineProperty,Os=Object.getOwnPropertyDescriptor,nn=Object.getOwnPropertyNames,js=Object.getPrototypeOf,Ns=Object.prototype.hasOwnProperty,Ee=S((e,t)=>S(function(){return t||(0,e[nn(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Ps=S((e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of nn(t))!Ns.call(e,n)&&n!==r&&on(e,n,{get:S(()=>t[n],"get"),enumerable:!(o=Os(t,n))||o.enumerable});return e},"__copyProps"),fr=S((e,t,r)=>(r=e!=null?As(js(e)):{},Ps(t||!e||!e.__esModule?on(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),xs=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],ks=["detail"];function an(e){let t=xs.filter(r=>e[r]!==void 0).reduce((r,o)=>({...r,[o]:e[o]}),{});return e instanceof CustomEvent&&ks.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}S(an,"extractEventHiddenProperties");var Is=_s(Cs()),sn=Ee({"node_modules/has-symbols/shams.js"(e,t){t.exports=S(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),n=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;r[o]=a;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,o);if(s.value!==a||s.enumerable!==!0)return!1}return!0},"hasSymbols")}}),ln=Ee({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,o=sn();t.exports=S(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()},"hasNativeSymbols")}}),$s=Ee({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,n=Object.prototype.toString,a="[object Function]";t.exports=S(function(i){var s=this;if(typeof s!="function"||n.call(s)!==a)throw new TypeError(r+s);for(var u=o.call(arguments,1),c,m=S(function(){if(this instanceof c){var A=s.apply(this,u.concat(o.call(arguments)));return Object(A)===A?A:this}else return s.apply(i,u.concat(o.call(arguments)))},"binder"),d=Math.max(0,s.length-u.length),y=[],b=0;b<d;b++)y.push("$"+b);if(c=Function("binder","return function ("+y.join(",")+"){ return binder.apply(this,arguments); }")(m),s.prototype){var v=S(function(){},"Empty2");v.prototype=s.prototype,c.prototype=new v,v.prototype=null}return c},"bind")}}),hr=Ee({"node_modules/function-bind/index.js"(e,t){var r=$s();t.exports=Function.prototype.bind||r}}),Ls=Ee({"node_modules/has/src/index.js"(e,t){var r=hr();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),cn=Ee({"node_modules/get-intrinsic/index.js"(e,t){var r,o=SyntaxError,n=Function,a=TypeError,i=S(function(L){try{return n('"use strict"; return ('+L+").constructor;")()}catch{}},"getEvalledConstructor"),s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch{s=null}var u=S(function(){throw new a},"throwTypeError"),c=s?function(){try{return arguments.callee,u}catch{try{return s(arguments,"callee").get}catch{return u}}}():u,m=ln()(),d=Object.getPrototypeOf||function(L){return L.__proto__},y={},b=typeof Uint8Array>"u"?r:d(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":m?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m?d(d([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!m?r:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!m?r:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m?d(""[Symbol.iterator]()):r,"%Symbol%":m?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":b,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},A=S(function L(M){var p;if(M==="%AsyncFunction%")p=i("async function () {}");else if(M==="%GeneratorFunction%")p=i("function* () {}");else if(M==="%AsyncGeneratorFunction%")p=i("async function* () {}");else if(M==="%AsyncGenerator%"){var g=L("%AsyncGeneratorFunction%");g&&(p=g.prototype)}else if(M==="%AsyncIteratorPrototype%"){var E=L("%AsyncGenerator%");E&&(p=d(E.prototype))}return v[M]=p,p},"doEval2"),R={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=hr(),T=Ls(),P=w.call(Function.call,Array.prototype.concat),I=w.call(Function.apply,Array.prototype.splice),$=w.call(Function.call,String.prototype.replace),F=w.call(Function.call,String.prototype.slice),D=w.call(Function.call,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,J=/\\(\\)?/g,z=S(function(L){var M=F(L,0,1),p=F(L,-1);if(M==="%"&&p!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(p==="%"&&M!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var g=[];return $(L,H,function(E,O,N,W){g[g.length]=N?$(W,J,"$1"):O||E}),g},"stringToPath3"),ee=S(function(L,M){var p=L,g;if(T(R,p)&&(g=R[p],p="%"+g[0]+"%"),T(v,p)){var E=v[p];if(E===y&&(E=A(p)),typeof E>"u"&&!M)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:g,name:p,value:E}}throw new o("intrinsic "+L+" does not exist!")},"getBaseIntrinsic2");t.exports=S(function(L,M){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof M!="boolean")throw new a('"allowMissing" argument must be a boolean');if(D(/^%?[^%]*%?$/,L)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var p=z(L),g=p.length>0?p[0]:"",E=ee("%"+g+"%",M),O=E.name,N=E.value,W=!1,Z=E.alias;Z&&(g=Z[0],I(p,P([0,1],Z)));for(var h=1,_=!0;h<p.length;h+=1){var k=p[h],G=F(k,0,1),U=F(k,-1);if((G==='"'||G==="'"||G==="`"||U==='"'||U==="'"||U==="`")&&G!==U)throw new o("property names with quotes must have matching quotes");if((k==="constructor"||!_)&&(W=!0),g+="."+k,O="%"+g+"%",T(v,O))N=v[O];else if(N!=null){if(!(k in N)){if(!M)throw new a("base intrinsic for "+L+" exists, but the property is not available.");return}if(s&&h+1>=p.length){var Y=s(N,k);_=!!Y,_&&"get"in Y&&!("originalValue"in Y.get)?N=Y.get:N=N[k]}else _=T(N,k),N=N[k];_&&!W&&(v[O]=N)}}return N},"GetIntrinsic")}}),Fs=Ee({"node_modules/call-bind/index.js"(e,t){var r=hr(),o=cn(),n=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),i=o("%Reflect.apply%",!0)||r.call(a,n),s=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=S(function(d){var y=i(r,a,arguments);if(s&&u){var b=s(y,"length");b.configurable&&u(y,"length",{value:1+c(0,d.length-(arguments.length-1))})}return y},"callBind");var m=S(function(){return i(r,n,arguments)},"applyBind2");u?u(t.exports,"apply",{value:m}):t.exports.apply=m}}),Ds=Ee({"node_modules/call-bind/callBound.js"(e,t){var r=cn(),o=Fs(),n=o(r("String.prototype.indexOf"));t.exports=S(function(a,i){var s=r(a,!!i);return typeof s=="function"&&n(a,".prototype.")>-1?o(s):s},"callBoundIntrinsic")}}),Ms=Ee({"node_modules/has-tostringtag/shams.js"(e,t){var r=sn();t.exports=S(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),Us=Ee({"node_modules/is-regex/index.js"(e,t){var r=Ds(),o=Ms()(),n,a,i,s;o&&(n=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},u=S(function(){throw i},"throwRegexMarker"),s={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=u));var u,c=r("Object.prototype.toString"),m=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=S(o?function(y){if(!y||typeof y!="object")return!1;var b=m(y,"lastIndex"),v=b&&n(b,"value");if(!v)return!1;try{a(y,s)}catch(A){return A===i}}:function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:c(y)===d},"isRegex")}}),qs=Ee({"node_modules/is-function/index.js"(e,t){t.exports=o;var r=Object.prototype.toString;function o(n){if(!n)return!1;var a=r.call(n);return a==="[object Function]"||typeof n=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}S(o,"isFunction3")}}),Gs=Ee({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,o=ln()();o?(n=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=S(function(s){return typeof s.valueOf()!="symbol"?!1:a.test(n.call(s))},"isRealSymbolObject"),t.exports=S(function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}},"isSymbol3")):t.exports=S(function(s){return!1},"isSymbol3");var n,a,i}}),Hs=fr(Us()),Bs=fr(qs()),Vs=fr(Gs());function un(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}S(un,"isObject");var zs=typeof global=="object"&&global&&global.Object===Object&&global,Ws=zs,Ys=typeof self=="object"&&self&&self.Object===Object&&self,Js=Ws||Ys||Function("return this")(),yr=Js,Xs=yr.Symbol,Be=Xs,pn=Object.prototype,Qs=pn.hasOwnProperty,Zs=pn.toString,Je=Be?Be.toStringTag:void 0;function dn(e){var t=Qs.call(e,Je),r=e[Je];try{e[Je]=void 0;var o=!0}catch{}var n=Zs.call(e);return o&&(t?e[Je]=r:delete e[Je]),n}S(dn,"getRawTag");var Ks=dn,el=Object.prototype,tl=el.toString;function fn(e){return tl.call(e)}S(fn,"objectToString");var rl=fn,ol="[object Null]",nl="[object Undefined]",so=Be?Be.toStringTag:void 0;function hn(e){return e==null?e===void 0?nl:ol:so&&so in Object(e)?Ks(e):rl(e)}S(hn,"baseGetTag");var yn=hn;function gn(e){return e!=null&&typeof e=="object"}S(gn,"isObjectLike");var al=gn,il="[object Symbol]";function mn(e){return typeof e=="symbol"||al(e)&&yn(e)==il}S(mn,"isSymbol");var gr=mn;function bn(e,t){for(var r=-1,o=e==null?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n}S(bn,"arrayMap");var sl=bn,ll=Array.isArray,mr=ll,cl=1/0,lo=Be?Be.prototype:void 0,co=lo?lo.toString:void 0;function br(e){if(typeof e=="string")return e;if(mr(e))return sl(e,br)+"";if(gr(e))return co?co.call(e):"";var t=e+"";return t=="0"&&1/e==-cl?"-0":t}S(br,"baseToString");var ul=br;function En(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}S(En,"isObject2");var vn=En,pl="[object AsyncFunction]",dl="[object Function]",fl="[object GeneratorFunction]",hl="[object Proxy]";function Sn(e){if(!vn(e))return!1;var t=yn(e);return t==dl||t==fl||t==pl||t==hl}S(Sn,"isFunction");var yl=Sn,gl=yr["__core-js_shared__"],xt=gl,uo=function(){var e=/[^.]+$/.exec(xt&&xt.keys&&xt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function wn(e){return!!uo&&uo in e}S(wn,"isMasked");var ml=wn,bl=Function.prototype,El=bl.toString;function _n(e){if(e!=null){try{return El.call(e)}catch{}try{return e+""}catch{}}return""}S(_n,"toSource");var vl=_n,Sl=/[\\^$.*+?()[\]{}|]/g,wl=/^\[object .+?Constructor\]$/,_l=Function.prototype,Cl=Object.prototype,Rl=_l.toString,Tl=Cl.hasOwnProperty,Al=RegExp("^"+Rl.call(Tl).replace(Sl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Cn(e){if(!vn(e)||ml(e))return!1;var t=yl(e)?Al:wl;return t.test(vl(e))}S(Cn,"baseIsNative");var Ol=Cn;function Rn(e,t){return e?.[t]}S(Rn,"getValue");var jl=Rn;function Tn(e,t){var r=jl(e,t);return Ol(r)?r:void 0}S(Tn,"getNative");var An=Tn;function On(e,t){return e===t||e!==e&&t!==t}S(On,"eq");var Nl=On,Pl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xl=/^\w*$/;function jn(e,t){if(mr(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||gr(e)?!0:xl.test(e)||!Pl.test(e)||t!=null&&e in Object(t)}S(jn,"isKey");var kl=jn,Il=An(Object,"create"),tt=Il;function Nn(){this.__data__=tt?tt(null):{},this.size=0}S(Nn,"hashClear");var $l=Nn;function Pn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}S(Pn,"hashDelete");var Ll=Pn,Fl="__lodash_hash_undefined__",Dl=Object.prototype,Ml=Dl.hasOwnProperty;function xn(e){var t=this.__data__;if(tt){var r=t[e];return r===Fl?void 0:r}return Ml.call(t,e)?t[e]:void 0}S(xn,"hashGet");var Ul=xn,ql=Object.prototype,Gl=ql.hasOwnProperty;function kn(e){var t=this.__data__;return tt?t[e]!==void 0:Gl.call(t,e)}S(kn,"hashHas");var Hl=kn,Bl="__lodash_hash_undefined__";function In(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=tt&&t===void 0?Bl:t,this}S(In,"hashSet");var Vl=In;function $e(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}S($e,"Hash");$e.prototype.clear=$l;$e.prototype.delete=Ll;$e.prototype.get=Ul;$e.prototype.has=Hl;$e.prototype.set=Vl;var po=$e;function $n(){this.__data__=[],this.size=0}S($n,"listCacheClear");var zl=$n;function Ln(e,t){for(var r=e.length;r--;)if(Nl(e[r][0],t))return r;return-1}S(Ln,"assocIndexOf");var St=Ln,Wl=Array.prototype,Yl=Wl.splice;function Fn(e){var t=this.__data__,r=St(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():Yl.call(t,r,1),--this.size,!0}S(Fn,"listCacheDelete");var Jl=Fn;function Dn(e){var t=this.__data__,r=St(t,e);return r<0?void 0:t[r][1]}S(Dn,"listCacheGet");var Xl=Dn;function Mn(e){return St(this.__data__,e)>-1}S(Mn,"listCacheHas");var Ql=Mn;function Un(e,t){var r=this.__data__,o=St(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}S(Un,"listCacheSet");var Zl=Un;function Le(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}S(Le,"ListCache");Le.prototype.clear=zl;Le.prototype.delete=Jl;Le.prototype.get=Xl;Le.prototype.has=Ql;Le.prototype.set=Zl;var Kl=Le,ec=An(yr,"Map"),tc=ec;function qn(){this.size=0,this.__data__={hash:new po,map:new(tc||Kl),string:new po}}S(qn,"mapCacheClear");var rc=qn;function Gn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}S(Gn,"isKeyable");var oc=Gn;function Hn(e,t){var r=e.__data__;return oc(t)?r[typeof t=="string"?"string":"hash"]:r.map}S(Hn,"getMapData");var wt=Hn;function Bn(e){var t=wt(this,e).delete(e);return this.size-=t?1:0,t}S(Bn,"mapCacheDelete");var nc=Bn;function Vn(e){return wt(this,e).get(e)}S(Vn,"mapCacheGet");var ac=Vn;function zn(e){return wt(this,e).has(e)}S(zn,"mapCacheHas");var ic=zn;function Wn(e,t){var r=wt(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}S(Wn,"mapCacheSet");var sc=Wn;function Fe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}S(Fe,"MapCache");Fe.prototype.clear=rc;Fe.prototype.delete=nc;Fe.prototype.get=ac;Fe.prototype.has=ic;Fe.prototype.set=sc;var Yn=Fe,lc="Expected a function";function _t(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(lc);var r=S(function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i},"memoized");return r.cache=new(_t.Cache||Yn),r}S(_t,"memoize");_t.Cache=Yn;var cc=_t,uc=500;function Jn(e){var t=cc(e,function(o){return r.size===uc&&r.clear(),o}),r=t.cache;return t}S(Jn,"memoizeCapped");var pc=Jn,dc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fc=/\\(\\)?/g,hc=pc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(dc,function(r,o,n,a){t.push(n?a.replace(fc,"$1"):o||r)}),t}),yc=hc;function Xn(e){return e==null?"":ul(e)}S(Xn,"toString");var gc=Xn;function Qn(e,t){return mr(e)?e:kl(e,t)?[e]:yc(gc(e))}S(Qn,"castPath");var mc=Qn,bc=1/0;function Zn(e){if(typeof e=="string"||gr(e))return e;var t=e+"";return t=="0"&&1/e==-bc?"-0":t}S(Zn,"toKey");var Ec=Zn;function Kn(e,t){t=mc(t,e);for(var r=0,o=t.length;e!=null&&r<o;)e=e[Ec(t[r++])];return r&&r==o?e:void 0}S(Kn,"baseGet");var vc=Kn;function ea(e,t,r){var o=e==null?void 0:vc(e,t);return o===void 0?r:o}S(ea,"get");var Sc=ea,ht=un,wc=S(e=>{let t=null,r=!1,o=!1,n=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i<e.length;i+=1)!t&&!r&&!o&&!n?e[i]==='"'||e[i]==="'"||e[i]==="`"?t=e[i]:e[i]==="/"&&e[i+1]==="*"?r=!0:e[i]==="/"&&e[i+1]==="/"?o=!0:e[i]==="/"&&e[i+1]!=="/"&&(n=!0):(t&&(e[i]===t&&e[i-1]!=="\\"||e[i]===`
|
7
|
+
`&&t!=="`")&&(t=null),n&&(e[i]==="/"&&e[i-1]!=="\\"||e[i]===`
|
8
|
+
`)&&(n=!1),r&&e[i-1]==="/"&&e[i-2]==="*"&&(r=!1),o&&e[i]===`
|
9
|
+
`&&(o=!1)),!r&&!o&&(a+=e[i]);else a=e;return a},"removeCodeComments"),_c=(0,Is.default)(1e4)(e=>wc(e).replace(/\n\s*/g,"").trim()),Cc=S(function(e,t){let r=t.slice(0,t.indexOf("{")),o=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let n=r;return n=n.replace(e,"function"),n+o},"convertShorthandMethods2"),Rc=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Er=S(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function vr(e){if(!ht(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=an(t),r=!0),t=Object.keys(t).reduce((o,n)=>{try{t[n]&&t[n].toJSON,o[n]=t[n]}catch{r=!0}return o},{}),r?t:e}S(vr,"convertUnconventionalData");var Tc=S(function(e){let t,r,o,n;return S(function(a,i){try{if(a==="")return n=[],t=new Map([[i,"[]"]]),r=new Map,o=[],i;let s=r.get(this)||this;for(;o.length&&s!==o[0];)o.shift(),n.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return Rc.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,Hs.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,Bs.default)(i)){if(!e.allowFunction)return;let{name:c}=i,m=i.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${_c(Cc(a,m))}`}if((0,Vs.default)(i)){if(!e.allowSymbol)return;let c=Symbol.keyFor(i);return c!==void 0?`_gsymbol_${c}`:`_symbol_${i.toString().slice(7,-1)}`}if(o.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(n)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let u=t.get(i);if(!u){let c=Array.isArray(i)?i:vr(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":i.constructor.name})}catch{}return n.push(a),o.unshift(c),t.set(i,JSON.stringify(n)),i!==c&&r.set(i,c),c}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),Ac=S(function reviver(options){let refs=[],root;return S(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let o=Er(r)?JSON.parse(r):r.split(".");o.length===0?t[e]=root:t[e]=Sc(root,o)})),key==="_constructor-name_")return value;if(ht(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(ht(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=S((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:S(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),ta={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},ra=S((e,t={})=>{let r={...ta,...t};return JSON.stringify(vr(e),Tc(r),t.space)},"stringify"),Oc=S(()=>{let e=new Map;return S(function t(r){ht(r)&&Object.entries(r).forEach(([o,n])=>{n==="_undefined_"?r[o]=void 0:e.get(n)||(e.set(n,!0),t(n))}),Array.isArray(r)&&r.forEach((o,n)=>{o==="_undefined_"?(e.set(o,!0),r[n]=void 0):e.get(o)||(e.set(o,!0),t(o))})},"mutateUndefined")},"mutator"),oa=S((e,t={})=>{let r={...ta,...t},o=JSON.parse(e,Ac(r));return Oc()(o),o},"parse"),fo="Invariant failed";function yt(e,t){if(!e){var r=typeof t=="function"?t():t,o=r?"".concat(fo,": ").concat(r):fo;throw new Error(o)}}S(yt,"invariant");var jc=S(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...o]=t.filter(a=>{try{return a.contentWindow?.location.origin===e.source.location.origin&&a.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return a.contentWindow===e.source}catch{}let i=a.getAttribute("src"),s;try{if(!i)return!1;({origin:s}=new URL(i,document.location.toString()))}catch{return!1}return s===e.origin}),n=r?.getAttribute("src");if(n&&o.length===0){let{protocol:a,host:i,pathname:s}=new URL(n,document.location.toString());return`${a}//${i}${s}`}return o.length>0&&te.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:kt,location:It}=oe,ho="storybook-channel",Nc={allowFunction:!1,maxDepth:25},na=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof oe?.addEventListener=="function"&&oe.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...t)=>{e.apply(this,t),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,t){let{target:r,allowRegExp:o,allowFunction:n,allowSymbol:a,allowDate:i,allowError:s,allowUndefined:u,allowClass:c,maxDepth:m,space:d,lazyEval:y}=t||{},b=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:n,allowSymbol:a,allowDate:i,allowError:s,allowUndefined:u,allowClass:c,maxDepth:m,space:d,lazyEval:y}).filter(([T,P])=>typeof P<"u")),v={...Nc,...oe.CHANNEL_OPTIONS||{},...b},A=this.getFrames(r),R=new URLSearchParams(It?.search||""),w=ra({key:ho,event:e,refId:R.get("refId")},v);return A.length?(this.buffer.length&&this.flush(),A.forEach(T=>{try{T.postMessage(w,"*")}catch{te.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((T,P)=>{this.buffer.push({event:e,resolve:T,reject:P})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>{this.send(t.event).then(t.resolve).catch(t.reject)})}getFrames(e){if(this.config.page==="manager"){let t=Array.from(kt.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(r=>{try{return r.contentWindow&&r.dataset.isStorybook!==void 0&&r.id===e?[r.contentWindow]:[]}catch{return[]}});return t?.length?t:this.getCurrentFrames()}return oe&&oe.parent&&oe.parent!==oe.self?[oe.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(kt.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):oe&&oe.parent?[oe.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(kt.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):oe&&oe.parent?[oe.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:o,refId:n}=typeof t=="string"&&Er(t)?oa(t,oe.CHANNEL_OPTIONS||{}):t;if(r===ho){let a=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',i=Object.values(ys).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(n&&(o.refId=n),o.source=this.config.page==="preview"?e.origin:jc(e),!o.source){be.error(`${a} received ${i} but was unable to determine the source of the event`);return}let s=`${a} received ${i} (${t.length})`;be.debug(It.origin!==o.source?s:`${s} <span style="color: gray">(on ${It.origin} from ${o.source})</span>`,...o.args),yt(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(t){te.error(t)}}};S(na,"PostMessageTransport");var Pc=na,{WebSocket:xc}=oe,aa=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.socket=new xc(e),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:o})=>{let n=typeof o=="string"&&Er(o)?oa(o):o;yt(this.handler,"WebsocketTransport handler should be set"),this.handler(n)},this.socket.onerror=o=>{t&&t(o)},this.socket.onclose=()=>{yt(this.handler,"WebsocketTransport handler should be set"),this.handler({type:$o,args:[],from:r||"preview"})}}setHandler(e){this.handler=e}send(e){this.isReady?this.sendNow(e):this.sendLater(e)}sendLater(e){this.buffer.push(e)}sendNow(e){let t=ra(e,{maxDepth:15,allowFunction:!1,...oe.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}};S(aa,"WebsocketTransport");var kc=aa,{CONFIG_TYPE:Ic}=oe;function $c({page:e,extraTransports:t=[]}){let r=[new Pc({page:e}),...t];if(Ic==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:n,port:a}=window.location,i=`${o}://${n}:${a}/storybook-server-channel`;r.push(new kc({url:i,onError:S(()=>{},"onError"),page:e}))}return new rn({transports:r})}S($c,"createBrowserChannel");var Lc=Object.defineProperty,re=(e,t)=>Lc(e,"name",{value:t,configurable:!0});function ae(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=Array.from(typeof e=="string"?[e]:e);o[o.length-1]=o[o.length-1].replace(/\r?\n([\t ]*)$/,"");var n=o.reduce(function(s,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(m){var d,y;return(y=(d=m.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&y!==void 0?y:0})):s},[]);if(n.length){var a=new RegExp(`
|
10
|
+
[ ]{`+Math.min.apply(Math,n)+"}","g");o=o.map(function(s){return s.replace(a,`
|
11
|
+
`)})}o[0]=o[0].replace(/^\r?\n/,"");var i=o[0];return t.forEach(function(s,u){var c=i.match(/(?:^|\n)( *)$/),m=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
12
|
+
`)&&(d=String(s).split(`
|
13
|
+
`).map(function(y,b){return b===0?y:""+m+y}).join(`
|
14
|
+
`)),i+=d+o[u+1]}),i}re(ae,"dedent");function Vt({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}re(Vt,"parseErrorCode");var ia=class sa extends Error{constructor(t){super(sa.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Vt({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:o,message:n}){let a;return t===!0?a=`https://storybook.js.org/error/${Vt({code:r,category:o})}`:typeof t=="string"?a=t:Array.isArray(t)&&(a=`
|
15
|
+
${t.map(i=>` - ${i}`).join(`
|
16
|
+
`)}`),`${n}${a!=null?`
|
17
|
+
|
18
|
+
More info: ${a}
|
19
|
+
`:""}`}};re(ia,"StorybookError");var ce=ia,la=class extends ce{constructor(e){super({category:"PREVIEW_API",code:1,message:ae`
|
20
|
+
Couldn't find story matching id '${e.storyId}' after HMR.
|
21
|
+
- Did you just rename a story?
|
22
|
+
- Did you remove it from your CSF file?
|
23
|
+
- Are you sure a story with the id '${e.storyId}' exists?
|
24
|
+
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
25
|
+
- Also check the browser console and terminal for potential error messages.`}),this.data=e}};re(la,"MissingStoryAfterHmrError");var Fc=la,Dc=class extends ce{constructor(e){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:ae`
|
26
|
+
We detected that you use an implicit action arg while ${e.phase} of your story.
|
27
|
+
${e.deprecated?`
|
28
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
29
|
+
`:""}
|
30
|
+
Please provide an explicit spy to your args like this:
|
31
|
+
import { fn } from '@storybook/test';
|
32
|
+
...
|
33
|
+
args: {
|
34
|
+
${e.name}: fn()
|
35
|
+
}`}),this.data=e}};re(Dc,"ImplicitActionsDuringRendering");var ca=class extends ce{constructor(){super({category:"PREVIEW_API",code:3,message:ae`
|
36
|
+
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
37
|
+
|
38
|
+
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};re(ca,"CalledExtractOnStoreError");var Mc=ca,ua=class extends ce{constructor(){super({category:"PREVIEW_API",code:4,message:ae`
|
39
|
+
Expected your framework's preset to export a \`renderToCanvas\` field.
|
40
|
+
|
41
|
+
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};re(ua,"MissingRenderToCanvasError");var Uc=ua,pa=class extends ce{constructor(e){super({category:"PREVIEW_API",code:5,message:ae`
|
42
|
+
Called \`Preview.${e.methodName}()\` before initialization.
|
43
|
+
|
44
|
+
The preview needs to load the story index before most methods can be called. If you want
|
45
|
+
to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first.
|
46
|
+
|
47
|
+
If you didn't call the above code, then likely it was called by an addon that needs to
|
48
|
+
do the above.`}),this.data=e}};re(pa,"CalledPreviewMethodBeforeInitializationError");var me=pa,da=class extends ce{constructor(e){super({category:"PREVIEW_API",code:6,message:ae`
|
49
|
+
Error fetching \`/index.json\`:
|
50
|
+
|
51
|
+
${e.text}
|
52
|
+
|
53
|
+
If you are in development, this likely indicates a problem with your Storybook process,
|
54
|
+
check the terminal for errors.
|
55
|
+
|
56
|
+
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
57
|
+
build.`}),this.data=e}};re(da,"StoryIndexFetchError");var qc=da,fa=class extends ce{constructor(e){super({category:"PREVIEW_API",code:7,message:ae`
|
58
|
+
Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF
|
59
|
+
references, or autodocs for a CSF file that some doesn't refer to itself.
|
60
|
+
|
61
|
+
This likely is an internal error in Storybook's indexing, or you've attached the
|
62
|
+
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}};re(fa,"MdxFileWithNoCsfReferencesError");var Gc=fa,ha=class extends ce{constructor(){super({category:"PREVIEW_API",code:8,message:ae`
|
63
|
+
Couldn't find any stories in your Storybook.
|
64
|
+
|
65
|
+
- Please check your stories field of your main.js config: does it match correctly?
|
66
|
+
- Also check the browser console and terminal for error messages.`})}};re(ha,"EmptyIndexError");var Hc=ha,ya=class extends ce{constructor(e){super({category:"PREVIEW_API",code:9,message:ae`
|
67
|
+
Couldn't find story matching '${e.storySpecifier}'.
|
68
|
+
|
69
|
+
- Are you sure a story with that id exists?
|
70
|
+
- Please check your stories field of your main.js config.
|
71
|
+
- Also check the browser console and terminal for error messages.`}),this.data=e}};re(ya,"NoStoryMatchError");var Bc=ya,ga=class extends ce{constructor(e){super({category:"PREVIEW_API",code:10,message:ae`
|
72
|
+
Couldn't find story matching id '${e.storyId}' after importing a CSF file.
|
73
|
+
|
74
|
+
The file was indexed as if the story was there, but then after importing the file in the browser
|
75
|
+
we didn't find the story. Possible reasons:
|
76
|
+
- You are using a custom story indexer that is misbehaving.
|
77
|
+
- You have a custom file loader that is removing or renaming exports.
|
78
|
+
|
79
|
+
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}};re(ga,"MissingStoryFromCsfFileError");var Vc=ga,ma=class extends ce{constructor(){super({category:"PREVIEW_API",code:11,message:ae`
|
80
|
+
Cannot access the Story Store until the index is ready.
|
81
|
+
|
82
|
+
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
83
|
+
remove access to the store entirely`})}};re(ma,"StoryStoreAccessedBeforeInitializationError");var zc=ma,ba=class extends ce{constructor(e){super({category:"PREVIEW_API",code:12,message:ae`
|
84
|
+
Incorrect use of mount in the play function.
|
85
|
+
|
86
|
+
To use mount in the play function, you must satisfy the following two requirements:
|
87
|
+
|
88
|
+
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
89
|
+
This makes sure that Storybook does not start rendering the story before the play function begins.
|
90
|
+
|
91
|
+
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
92
|
+
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
93
|
+
which prevents Storybook from recognizing your usage of \`mount\`.
|
94
|
+
|
95
|
+
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
96
|
+
|
97
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
98
|
+
|
99
|
+
Received the following play function:
|
100
|
+
${e.playFunction}`}),this.data=e}};re(ba,"MountMustBeDestructuredError");var Ea=ba,va=class extends ce{constructor(e){super({category:"PREVIEW_API",code:14,message:ae`
|
101
|
+
No render function available for storyId '${e.id}'
|
102
|
+
`}),this.data=e}};re(va,"NoRenderFunctionError");var Wc=va,Sa=class extends ce{constructor(){super({category:"PREVIEW_API",code:15,message:ae`
|
103
|
+
No component is mounted in your story.
|
104
|
+
|
105
|
+
This usually occurs when you destructure mount in the play function, but forget to call it.
|
106
|
+
|
107
|
+
For example:
|
108
|
+
|
109
|
+
async play({ mount, canvasElement }) {
|
110
|
+
// 👈 mount should be called: await mount();
|
111
|
+
const canvas = within(canvasElement);
|
112
|
+
const button = await canvas.findByRole('button');
|
113
|
+
await userEvent.click(button);
|
114
|
+
};
|
115
|
+
|
116
|
+
Make sure to either remove it or call mount in your play function.
|
117
|
+
`})}};re(Sa,"NoStoryMountedError");var Yc=Sa,Jc=class extends ce{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:ae`
|
118
|
+
You are importing avif images, but you don't have sharp installed.
|
119
|
+
|
120
|
+
You have to install sharp in order to use image optimization features in Next.js.
|
121
|
+
`})}};re(Jc,"NextJsSharpError");var Xc=class extends ce{constructor(e){super({category:"FRAMEWORK_NEXTJS",code:2,message:ae`
|
122
|
+
Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
123
|
+
`}),this.data=e}};re(Xc,"NextjsRouterMocksNotAvailable");var Qc=class extends ce{constructor(e){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:ae`
|
124
|
+
There was a failure when generating detailed ArgTypes in ${e.language} for:
|
125
|
+
${JSON.stringify(e.type,null,2)}
|
126
|
+
|
127
|
+
Storybook will fall back to use a generic type description instead.
|
128
|
+
|
129
|
+
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
130
|
+
If you think this is a bug, please detail it as much as possible in the Github issue.
|
131
|
+
`}),this.data=e}};re(Qc,"UnknownArgTypesError");var Zc=class extends ce{constructor(e){super({category:"ADDON_VITEST",code:1,message:ae`
|
132
|
+
Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension.
|
133
|
+
|
134
|
+
The Storybook plugin only supports values in the following units:
|
135
|
+
- px, vh, vw, em, rem and %.
|
136
|
+
|
137
|
+
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
|
138
|
+
`}),this.data=e}};re(Zc,"UnsupportedViewportDimensionError");var Kc=Object.create,wa=Object.defineProperty,eu=Object.getOwnPropertyDescriptor,tu=Object.getOwnPropertyNames,ru=Object.getPrototypeOf,ou=Object.prototype.hasOwnProperty,nu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),au=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of tu(t))!ou.call(e,n)&&n!==r&&wa(e,n,{get:()=>t[n],enumerable:!(o=eu(t,n))||o.enumerable});return e},iu=(e,t,r)=>(r=e!=null?Kc(ru(e)):{},au(!e||!e.__esModule?wa(r,"default",{value:e,enumerable:!0}):r,e)),su=nu(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,o=Object.getOwnPropertySymbols?function(n){return Object.keys(n).concat(Object.getOwnPropertySymbols(n))}:Object.keys;return function(n,a){return function i(s,u,c){var m,d,y,b=t.call(s),v=t.call(u);if(s===u)return!0;if(s==null||u==null)return!1;if(c.indexOf(s)>-1&&c.indexOf(u)>-1)return!0;if(c.push(s,u),b!=v||(m=o(s),d=o(u),m.length!=d.length||m.some(function(A){return!i(s[A],u[A],c)})))return!1;switch(b.slice(8,-1)){case"Symbol":return s.valueOf()==u.valueOf();case"Date":case"Number":return+s==+u||+s!=+s&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+u;case"Set":case"Map":m=s.entries(),d=u.entries();do if(!i((y=m.next()).value,d.next().value,c))return!1;while(!y.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),u=new Uint8Array(u);case"DataView":s=new Uint8Array(s.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=u.length)return!1;for(y=0;y<s.length;y++)if((y in s||y in u)&&(y in s!=y in u||!i(s[y],u[y],c)))return!1;return!0;case"Object":return i(r(s),r(u),c);default:return!1}}(n,a,[])}}()});function lu(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,o,n)=>`${r} ${o}${n}`).replace(/([a-z])([A-Z])/g,(t,r,o)=>`${r} ${o}`).replace(/([a-z])([0-9])/gi,(t,r,o)=>`${r} ${o}`).replace(/([0-9])([a-z])/gi,(t,r,o)=>`${r} ${o}`).replace(/(\s|^)(\w)/g,(t,r,o)=>`${r}${o.toUpperCase()}`).replace(/ +/g," ").trim()}var yo=iu(su()),_a=e=>e.map(t=>typeof t<"u").filter(Boolean).length,cu=(e,t)=>{let{exists:r,eq:o,neq:n,truthy:a}=e;if(_a([r,o,n,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:n})}`);if(typeof o<"u")return(0,yo.isEqual)(t,o);if(typeof n<"u")return!(0,yo.isEqual)(t,n);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},uu=(e,t,r)=>{if(!e.if)return!0;let{arg:o,global:n}=e.if;if(_a([o,n])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:n})}`);let a=o?t[o]:r[n];return cu(e.if,a)},Ca=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),go=(e,t)=>{let r=Ca(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},pu=(e,t)=>`${go(e,"kind")}${t?`--${go(t,"name")}`:""}`,du=e=>lu(e);function mo(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Ra(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||mo(e,t))&&(!r||!mo(e,r))}var fu=(...e)=>{let t=e.reduce((r,o)=>(o.startsWith("!")?r.delete(o.slice(1)):r.add(o),r),new Set);return Array.from(t)},hu=Object.create,Sr=Object.defineProperty,yu=Object.getOwnPropertyDescriptor,gu=Object.getOwnPropertyNames,mu=Object.getPrototypeOf,bu=Object.prototype.hasOwnProperty,l=(e,t)=>Sr(e,"name",{value:t,configurable:!0}),ct=(e=>typeof he<"u"?he:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof he<"u"?he:t)[r]}):e)(function(e){if(typeof he<"u")return he.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),de=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Eu=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of gu(t))!bu.call(e,n)&&n!==r&&Sr(e,n,{get:()=>t[n],enumerable:!(o=yu(t,n))||o.enumerable});return e},ze=(e,t,r)=>(r=e!=null?hu(mu(e)):{},Eu(Sr(r,"default",{value:e,enumerable:!0}),e)),Ta=de((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return l(function r(o,n,a){function i(c,m){if(!n[c]){if(!o[c]){var d=typeof ct=="function"&&ct;if(!m&&d)return d(c,!0);if(s)return s(c,!0);var y=new Error("Cannot find module '"+c+"'");throw y.code="MODULE_NOT_FOUND",y}var b=n[c]={exports:{}};o[c][0].call(b.exports,function(v){var A=o[c][1][v];return i(A||v)},b,b.exports,r,o,n,a)}return n[c].exports}l(i,"s");for(var s=typeof ct=="function"&&ct,u=0;u<a.length;u++)i(a[u]);return i},"e")({1:[function(r,o,n){o.exports=function(a){if(typeof Map!="function"||a){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,o,n){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}l(a,"Similar"),a.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var u;for(u=0;u<this.size;u++)i.call(s||this,this.list[u].val,this.list[u].key,this)},a.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},a.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},o.exports=a},{}],3:[function(r,o,n){var a=r("map-or-similar");o.exports=function(c){var m=new a(!1),d=[];return function(y){var b=l(function(){var v=m,A,R,w=arguments.length-1,T=Array(w+1),P=!0,I;if((b.numArgs||b.numArgs===0)&&b.numArgs!==w+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(I=0;I<w;I++){if(T[I]={cacheItem:v,arg:arguments[I]},v.has(arguments[I])){v=v.get(arguments[I]);continue}P=!1,A=new a(!1),v.set(arguments[I],A),v=A}return P&&(v.has(arguments[w])?R=v.get(arguments[w]):P=!1),P||(R=y.apply(null,arguments),v.set(arguments[w],R)),c>0&&(T[w]={cacheItem:v,arg:arguments[w]},P?i(d,T):d.push(T),d.length>c&&s(d.shift())),b.wasMemoized=P,b.numArgs=w+1,R},"memoizerific");return b.limit=c,b.wasMemoized=!1,b.cache=m,b.lru=d,b}};function i(c,m){var d=c.length,y=m.length,b,v,A;for(v=0;v<d;v++){for(b=!0,A=0;A<y;A++)if(!u(c[v][A].arg,m[A].arg)){b=!1;break}if(b)break}c.push(c.splice(v,1)[0])}l(i,"moveToMostRecentLru");function s(c){var m=c.length,d=c[m-1],y,b;for(d.cacheItem.delete(d.arg),b=m-2;b>=0&&(d=c[b],y=d.cacheItem.get(d.arg),!y||!y.size);b--)d.cacheItem.delete(d.arg)}l(s,"removeCachedResult");function u(c,m){return c===m||c!==c&&m!==m}l(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Aa=de(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=o;var t=Array.from({length:256},(n,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function o(n){let a=n.length;if(a===0)return"";let i="",s=0,u=0;e:for(;u<a;u++){let c=n.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(s<u&&(i+=n.slice(s,u)),s=u+1,i+=t[c]),++u===a)break e;c=n.charCodeAt(u)}if(s<u&&(i+=n.slice(s,u)),c<2048){s=u+1,i+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){s=u+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=a)throw new Error("URI malformed");let m=n.charCodeAt(u)&1023;s=u+1,c=65536+((c&1023)<<10|m),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return s===0?n:s<a?i+n.slice(s):i}l(o,"encodeString")}),wr=de(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Aa(),r=l(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var o=l(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=o;var n=l(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:n,valueSerializer:e.defaultValueSerializer,keyDeserializer:n,shouldSerializeObject:e.defaultShouldSerializeObject}}),Oa=de(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=n,e.stringifyObject=m;var t=wr(),r=Aa();function o(d){return d==="__proto__"||d==="constructor"||d==="prototype"}l(o,"isPrototypeKey");function n(d,y,b,v,A){if(o(y))return d;let R=d[y];return typeof R=="object"&&R!==null?R:!v&&(A||typeof b=="number"||typeof b=="string"&&b*0===0&&b.indexOf(".")===-1)?d[y]=[]:d[y]={}}l(n,"getDeepObject");var a=20,i="[]",s="[",u="]",c=".";function m(d,y,b=0,v,A){let{nestingSyntax:R=t.defaultOptions.nestingSyntax,arrayRepeat:w=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:T=t.defaultOptions.arrayRepeatSyntax,nesting:P=t.defaultOptions.nesting,delimiter:I=t.defaultOptions.delimiter,valueSerializer:$=t.defaultOptions.valueSerializer,shouldSerializeObject:F=t.defaultOptions.shouldSerializeObject}=y,D=typeof I=="number"?String.fromCharCode(I):I,H=A===!0&&w,J=R==="dot"||R==="js"&&!A;if(b>a)return"";let z="",ee=!0,L=!1;for(let M in d){let p=d[M],g;v?(g=v,H?T==="bracket"&&(g+=i):J?(g+=c,g+=M):(g+=s,g+=M,g+=u)):g=M,ee||(z+=D),typeof p=="object"&&p!==null&&!F(p)?(L=p.pop!==void 0,(P||w&&L)&&(z+=m(p,y,b+1,g,L))):(z+=(0,r.encodeString)(g),z+="=",z+=$(p,M)),ee&&(ee=!1)}return z}l(m,"stringifyObject")}),vu=de((e,t)=>{var r=12,o=0,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(u){var c=u.indexOf("%");if(c===-1)return u;for(var m=u.length,d="",y=0,b=0,v=c,A=r;c>-1&&c<m;){var R=s(u[c+1],4),w=s(u[c+2],0),T=R|w,P=n[T];if(A=n[256+A+P],b=b<<6|T&n[364+P],A===r)d+=u.slice(y,v),d+=b<=65535?String.fromCharCode(b):String.fromCharCode(55232+(b>>10),56320+(b&1023)),b=0,y=c+3,c=v=u.indexOf("%",y);else{if(A===o)return null;if(c+=3,c<m&&u.charCodeAt(c)===37)continue;return null}}return d+u.slice(y)}l(a,"decodeURIComponent");var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function s(u,c){var m=i[u];return m===void 0?255:m<<c}l(s,"hexCodeToInt"),t.exports=a}),Su=de(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=m;var r=Oa(),o=wr(),n=t(vu()),a=l(d=>{let y=Number(d);return Number.isNaN(y)?d:y},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=l(d=>{let y=Number(d);return Number.isNaN(y)?d:y},"numberValueDeserializer");e.numberValueDeserializer=i;var s=/\+/g,u=l(function(){},"Empty");u.prototype=Object.create(null);function c(d,y,b,v,A){let R=d.substring(y,b);return v&&(R=R.replace(s," ")),A&&(R=(0,n.default)(R)||R),R}l(c,"computeKeySlice");function m(d,y){let{valueDeserializer:b=o.defaultOptions.valueDeserializer,keyDeserializer:v=o.defaultOptions.keyDeserializer,arrayRepeatSyntax:A=o.defaultOptions.arrayRepeatSyntax,nesting:R=o.defaultOptions.nesting,arrayRepeat:w=o.defaultOptions.arrayRepeat,nestingSyntax:T=o.defaultOptions.nestingSyntax,delimiter:P=o.defaultOptions.delimiter}=y??{},I=typeof P=="string"?P.charCodeAt(0):P,$=T==="js",F=new u;if(typeof d!="string")return F;let D=d.length,H="",J=-1,z=-1,ee=-1,L=F,M,p="",g="",E=!1,O=!1,N=!1,W=!1,Z=!1,h=!1,_=!1,k=0,G=-1,U=-1,Y=-1;for(let q=0;q<D+1;q++){if(k=q!==D?d.charCodeAt(q):I,k===I){if(_=z>J,_||(z=q),ee!==z-1&&(g=c(d,ee+1,G>-1?G:z,N,E),p=v(g),M!==void 0&&(L=(0,r.getDeepObject)(L,M,p,$&&Z,$&&h))),_||p!==""){_&&(H=d.slice(z+1,q),W&&(H=H.replace(s," ")),O&&(H=(0,n.default)(H)||H));let X=b(H,p);if(w){let Q=L[p];Q===void 0?G>-1?L[p]=[X]:L[p]=X:Q.pop?Q.push(X):L[p]=[Q,X]}else L[p]=X}H="",J=q,z=q,E=!1,O=!1,N=!1,W=!1,Z=!1,h=!1,G=-1,ee=q,L=F,M=void 0,p=""}else k===93?(w&&A==="bracket"&&Y===91&&(G=U),R&&(T==="index"||$)&&z<=J&&(ee!==U&&(g=c(d,ee+1,q,N,E),p=v(g),M!==void 0&&(L=(0,r.getDeepObject)(L,M,p,void 0,$)),M=p,N=!1,E=!1),ee=q,h=!0,Z=!1)):k===46?R&&(T==="dot"||$)&&z<=J&&(ee!==U&&(g=c(d,ee+1,q,N,E),p=v(g),M!==void 0&&(L=(0,r.getDeepObject)(L,M,p,$)),M=p,N=!1,E=!1),Z=!0,h=!1,ee=q):k===91?R&&(T==="index"||$)&&z<=J&&(ee!==U&&(g=c(d,ee+1,q,N,E),p=v(g),$&&M!==void 0&&(L=(0,r.getDeepObject)(L,M,p,$)),M=p,N=!1,E=!1,Z=!1,h=!0),ee=q):k===61?z<=J?z=q:O=!0:k===43?z>J?W=!0:N=!0:k===37&&(z>J?O=!0:E=!0);U=q,Y=k}return F}l(m,"parse")}),wu=de(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Oa();function r(o,n){if(o===null||typeof o!="object")return"";let a=n??{};return(0,t.stringifyObject)(o,a)}l(r,"stringify")}),_r=de(e=>{var t=e&&e.__createBinding||(Object.create?function(a,i,s,u){u===void 0&&(u=s);var c=Object.getOwnPropertyDescriptor(i,s);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:l(function(){return i[s]},"get")}),Object.defineProperty(a,u,c)}:function(a,i,s,u){u===void 0&&(u=s),a[u]=i[s]}),r=e&&e.__exportStar||function(a,i){for(var s in a)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&t(i,a,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var o=Su();Object.defineProperty(e,"parse",{enumerable:!0,get:l(function(){return o.parse},"get")});var n=wu();Object.defineProperty(e,"stringify",{enumerable:!0,get:l(function(){return n.stringify},"get")}),r(wr(),e)}),ja=de((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
139
|
+
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),_u=de((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),Na=de((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),Cu=de((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),Ru=de(e=>{var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Cu()),o=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function n(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),o(a))}l(n,"decodeCodePoint"),e.default=n}),bo=de(e=>{var t=e&&e.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(ja()),o=t(_u()),n=t(Na()),a=t(Ru()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(n.default),e.decodeHTMLStrict=s(r.default);function s(m){var d=c(m);return function(y){return String(y).replace(i,d)}}l(s,"getStrictDecoder");var u=l(function(m,d){return m<d?1:-1},"sorter");e.decodeHTML=function(){for(var m=Object.keys(o.default).sort(u),d=Object.keys(r.default).sort(u),y=0,b=0;y<d.length;y++)m[b]===d[y]?(d[y]+=";?",b++):d[y]+=";";var v=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),A=c(r.default);function R(w){return w.substr(-1)!==";"&&(w+=";"),A(w)}return l(R,"replacer"),function(w){return String(w).replace(v,R)}}();function c(m){return l(function(d){if(d.charAt(1)==="#"){var y=d.charAt(2);return y==="X"||y==="x"?a.default(parseInt(d.substr(3),16)):a.default(parseInt(d.substr(2),10))}return m[d.slice(1,-1)]||d},"replace")}l(c,"getReplacer")}),Eo=de(e=>{var t=e&&e.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Na()),o=u(r.default),n=c(o);e.encodeXML=w(o);var a=t(ja()),i=u(a.default),s=c(i);e.encodeHTML=b(i,s),e.encodeNonAsciiHTML=w(i);function u(T){return Object.keys(T).sort().reduce(function(P,I){return P[T[I]]="&"+I+";",P},{})}l(u,"getInverseObj");function c(T){for(var P=[],I=[],$=0,F=Object.keys(T);$<F.length;$++){var D=F[$];D.length===1?P.push("\\"+D):I.push(D)}P.sort();for(var H=0;H<P.length-1;H++){for(var J=H;J<P.length-1&&P[J].charCodeAt(1)+1===P[J+1].charCodeAt(1);)J+=1;var z=1+J-H;z<3||P.splice(H,z,P[H]+"-"+P[J])}return I.unshift("["+P.join("")+"]"),new RegExp(I.join("|"),"g")}l(c,"getInverseReplacer");var m=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?function(T){return T.codePointAt(0)}:function(T){return(T.charCodeAt(0)-55296)*1024+T.charCodeAt(1)-56320+65536};function y(T){return"&#x"+(T.length>1?d(T):T.charCodeAt(0)).toString(16).toUpperCase()+";"}l(y,"singleCharReplacer");function b(T,P){return function(I){return I.replace(P,function($){return T[$]}).replace(m,y)}}l(b,"getInverse");var v=new RegExp(n.source+"|"+m.source,"g");function A(T){return T.replace(v,y)}l(A,"escape"),e.escape=A;function R(T){return T.replace(n,y)}l(R,"escapeUTF8"),e.escapeUTF8=R;function w(T){return function(P){return P.replace(v,function(I){return T[I]||y(I)})}}l(w,"getASCIIEncoder")}),Tu=de(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=bo(),r=Eo();function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}l(o,"decode"),e.decode=o;function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}l(n,"decodeStrict"),e.decodeStrict=n;function a(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}l(a,"encode"),e.encode=a;var i=Eo();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:l(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:l(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:l(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:l(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:l(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:l(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:l(function(){return i.encodeHTML},"get")});var s=bo();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:l(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:l(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:l(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:l(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:l(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:l(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:l(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:l(function(){return s.decodeXML},"get")})}),Au=de((e,t)=>{function r(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}l(r,"_classCallCheck");function o(p,g){for(var E=0;E<g.length;E++){var O=g[E];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(p,O.key,O)}}l(o,"_defineProperties");function n(p,g,E){return g&&o(p.prototype,g),E&&o(p,E),p}l(n,"_createClass");function a(p,g){var E=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!E){if(Array.isArray(p)||(E=i(p))||g&&p&&typeof p.length=="number"){E&&(p=E);var O=0,N=l(function(){},"F");return{s:N,n:l(function(){return O>=p.length?{done:!0}:{done:!1,value:p[O++]}},"n"),e:l(function(_){throw _},"e"),f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
140
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W=!0,Z=!1,h;return{s:l(function(){E=E.call(p)},"s"),n:l(function(){var _=E.next();return W=_.done,_},"n"),e:l(function(_){Z=!0,h=_},"e"),f:l(function(){try{!W&&E.return!=null&&E.return()}finally{if(Z)throw h}},"f")}}l(a,"_createForOfIteratorHelper");function i(p,g){if(p){if(typeof p=="string")return s(p,g);var E=Object.prototype.toString.call(p).slice(8,-1);if(E==="Object"&&p.constructor&&(E=p.constructor.name),E==="Map"||E==="Set")return Array.from(p);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return s(p,g)}}l(i,"_unsupportedIterableToArray");function s(p,g){(g==null||g>p.length)&&(g=p.length);for(var E=0,O=new Array(g);E<g;E++)O[E]=p[E];return O}l(s,"_arrayLikeToArray");var u=Tu(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:m()};function m(){var p={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return T(0,5).forEach(function(g){T(0,5).forEach(function(E){T(0,5).forEach(function(O){return d(g,E,O,p)})})}),T(0,23).forEach(function(g){var E=g+232,O=y(g*10+8);p[E]="#"+O+O+O}),p}l(m,"getDefaultColors");function d(p,g,E,O){var N=16+p*36+g*6+E,W=p>0?p*40+55:0,Z=g>0?g*40+55:0,h=E>0?E*40+55:0;O[N]=b([W,Z,h])}l(d,"setStyleColor");function y(p){for(var g=p.toString(16);g.length<2;)g="0"+g;return g}l(y,"toHexString");function b(p){var g=[],E=a(p),O;try{for(E.s();!(O=E.n()).done;){var N=O.value;g.push(y(N))}}catch(W){E.e(W)}finally{E.f()}return"#"+g.join("")}l(b,"toColorHexString");function v(p,g,E,O){var N;return g==="text"?N=$(E,O):g==="display"?N=R(p,E,O):g==="xterm256Foreground"?N=H(p,O.colors[E]):g==="xterm256Background"?N=J(p,O.colors[E]):g==="rgb"&&(N=A(p,E)),N}l(v,"generateOutput");function A(p,g){g=g.substring(2).slice(0,-1);var E=+g.substr(0,2),O=g.substring(5).split(";"),N=O.map(function(W){return("0"+Number(W).toString(16)).substr(-2)}).join("");return D(p,(E===38?"color:#":"background-color:#")+N)}l(A,"handleRgb");function R(p,g,E){g=parseInt(g,10);var O={"-1":l(function(){return"<br/>"},"_"),0:l(function(){return p.length&&w(p)},"_"),1:l(function(){return F(p,"b")},"_"),3:l(function(){return F(p,"i")},"_"),4:l(function(){return F(p,"u")},"_"),8:l(function(){return D(p,"display:none")},"_"),9:l(function(){return F(p,"strike")},"_"),22:l(function(){return D(p,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:l(function(){return z(p,"i")},"_"),24:l(function(){return z(p,"u")},"_"),39:l(function(){return H(p,E.fg)},"_"),49:l(function(){return J(p,E.bg)},"_"),53:l(function(){return D(p,"text-decoration:overline")},"_")},N;return O[g]?N=O[g]():4<g&&g<7?N=F(p,"blink"):29<g&&g<38?N=H(p,E.colors[g-30]):39<g&&g<48?N=J(p,E.colors[g-40]):89<g&&g<98?N=H(p,E.colors[8+(g-90)]):99<g&&g<108&&(N=J(p,E.colors[8+(g-100)])),N}l(R,"handleDisplay");function w(p){var g=p.slice(0);return p.length=0,g.reverse().map(function(E){return"</"+E+">"}).join("")}l(w,"resetStyles");function T(p,g){for(var E=[],O=p;O<=g;O++)E.push(O);return E}l(T,"range");function P(p){return function(g){return(p===null||g.category!==p)&&p!=="all"}}l(P,"notCategory");function I(p){p=parseInt(p,10);var g=null;return p===0?g="all":p===1?g="bold":2<p&&p<5?g="underline":4<p&&p<7?g="blink":p===8?g="hide":p===9?g="strike":29<p&&p<38||p===39||89<p&&p<98?g="foreground-color":(39<p&&p<48||p===49||99<p&&p<108)&&(g="background-color"),g}l(I,"categoryForCode");function $(p,g){return g.escapeXML?u.encodeXML(p):p}l($,"pushText");function F(p,g,E){return E||(E=""),p.push(g),"<".concat(g).concat(E?' style="'.concat(E,'"'):"",">")}l(F,"pushTag");function D(p,g){return F(p,"span",g)}l(D,"pushStyle");function H(p,g){return F(p,"span","color:"+g)}l(H,"pushForegroundColor");function J(p,g){return F(p,"span","background-color:"+g)}l(J,"pushBackgroundColor");function z(p,g){var E;if(p.slice(-1)[0]===g&&(E=p.pop()),E)return"</"+g+">"}l(z,"closeTag");function ee(p,g,E){var O=!1,N=3;function W(){return""}l(W,"remove");function Z(ye,ge){return E("xterm256Foreground",ge),""}l(Z,"removeXterm256Foreground");function h(ye,ge){return E("xterm256Background",ge),""}l(h,"removeXterm256Background");function _(ye){return g.newline?E("display",-1):E("text",ye),""}l(_,"newline");function k(ye,ge){O=!0,ge.trim().length===0&&(ge="0"),ge=ge.trimRight(";").split(";");var We=a(ge),Ot;try{for(We.s();!(Ot=We.n()).done;){var Fr=Ot.value;E("display",Fr)}}catch(Dr){We.e(Dr)}finally{We.f()}return""}l(k,"ansiMess");function G(ye){return E("text",ye),""}l(G,"realText");function U(ye){return E("rgb",ye),""}l(U,"rgb");var Y=[{pattern:/^\x08+/,sub:W},{pattern:/^\x1b\[[012]?K/,sub:W},{pattern:/^\x1b\[\(B/,sub:W},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:U},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Z},{pattern:/^\x1b\[48;5;(\d+)m/,sub:h},{pattern:/^\n/,sub:_},{pattern:/^\r+\n/,sub:_},{pattern:/^\r/,sub:_},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:k},{pattern:/^\x1b\[\d?J/,sub:W},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:W},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:W},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:G}];function q(ye,ge){ge>N&&O||(O=!1,p=p.replace(ye.pattern,ye.sub))}l(q,"process");var X=[],Q=p,ie=Q.length;e:for(;ie>0;){for(var nt=0,At=0,$r=Y.length;At<$r;nt=++At){var Lr=Y[nt];if(q(Lr,nt),p.length!==ie){ie=p.length;continue e}}if(p.length===ie)break;X.push(0),ie=p.length}return X}l(ee,"tokenize");function L(p,g,E){return g!=="text"&&(p=p.filter(P(I(E))),p.push({token:g,data:E,category:I(E)})),p}l(L,"updateStickyStack");var M=function(){function p(g){r(this,p),g=g||{},g.colors&&(g.colors=Object.assign({},c.colors,g.colors)),this.options=Object.assign({},c,g),this.stack=[],this.stickyStack=[]}return l(p,"Filter"),n(p,[{key:"toHtml",value:l(function(g){var E=this;g=typeof g=="string"?[g]:g;var O=this.stack,N=this.options,W=[];return this.stickyStack.forEach(function(Z){var h=v(O,Z.token,Z.data,N);h&&W.push(h)}),ee(g.join(""),N,function(Z,h){var _=v(O,Z,h,N);_&&W.push(_),N.stream&&(E.stickyStack=L(E.stickyStack,Z,h))}),O.length&&W.push(w(O)),W.join("")},"toHtml")}]),p}();t.exports=M}),le=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function Pa(){let e={setHandler:l(()=>{},"setHandler"),send:l(()=>{},"send")};return new rn({transport:e})}l(Pa,"mockChannel");var xa=class{constructor(){this.getChannel=l(()=>{if(!this.channel){let e=Pa();return this.setChannel(e),e}return this.channel},"getChannel"),this.ready=l(()=>this.promise,"ready"),this.hasChannel=l(()=>!!this.channel,"hasChannel"),this.setChannel=l(e=>{this.channel=e,this.resolve()},"setChannel"),this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}};l(xa,"AddonStore");var Ou=xa,$t="__STORYBOOK_ADDONS_PREVIEW";function ka(){return le[$t]||(le[$t]=new Ou),le[$t]}l(ka,"getAddonsStore");var xe=ka(),Ia=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=l(e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),xe.getChannel().on(ft,this.renderListener)}removeRenderListeners(){xe.getChannel().removeListener(ft,this.renderListener)}};l(Ia,"HooksContext");var $a=Ia;function zt(e){let t=l((...r)=>{let{hooks:o}=typeof r[0]=="function"?r[1]:r[0],n=o.currentPhase,a=o.currentHooks,i=o.nextHookIndex,s=o.currentDecoratorName;o.currentDecoratorName=e.name,o.prevMountedDecorators.has(e)?(o.currentPhase="UPDATE",o.currentHooks=o.hookListsMap.get(e)||[]):(o.currentPhase="MOUNT",o.currentHooks=[],o.hookListsMap.set(e,o.currentHooks),o.prevMountedDecorators.add(e)),o.nextHookIndex=0;let u=le.STORYBOOK_HOOKS_CONTEXT;le.STORYBOOK_HOOKS_CONTEXT=o;let c=e(...r);if(le.STORYBOOK_HOOKS_CONTEXT=u,o.currentPhase==="UPDATE"&&o.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o.currentPhase=n,o.currentHooks=a,o.nextHookIndex=i,o.currentDecoratorName=s,c},"hookified");return t.originalFn=e,t}l(zt,"hookify");var Lt=0,ju=25,Nu=l(e=>(t,r)=>{let o=e(zt(t),r.map(n=>zt(n)));return n=>{let{hooks:a}=n;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=n,a.hasUpdates=!1;let i=o(n);for(Lt=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=o(n),Lt+=1,Lt>ju)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),Pu=l((e,t)=>e.length===t.length&&e.every((r,o)=>r===t[o]),"areDepsEqual"),Cr=l(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Rr(){return le.STORYBOOK_HOOKS_CONTEXT||null}l(Rr,"getHooksContextOrNull");function Ct(){let e=Rr();if(e==null)throw Cr();return e}l(Ct,"getHooksContextOrThrow");function La(e,t,r){let o=Ct();if(o.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&te.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let n={name:e,deps:r};return o.currentHooks.push(n),t(n),n}if(o.currentPhase==="UPDATE"){let n=o.getNextHook();if(n==null)throw new Error("Rendered more hooks than during the previous render.");return n.name!==e&&te.warn(`Storybook has detected a change in the order of Hooks${o.currentDecoratorName?` called by ${o.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&n.deps==null&&te.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&n.deps!=null&&r.length!==n.deps.length&&te.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
141
|
+
Previous: ${n.deps}
|
142
|
+
Incoming: ${r}`),(r==null||n.deps==null||!Pu(r,n.deps))&&(t(n),n.deps=r),n}throw Cr()}l(La,"useHook");function ot(e,t,r){let{memoizedState:o}=La(e,n=>{n.memoizedState=t()},r);return o}l(ot,"useMemoLike");function xu(e,t){return ot("useMemo",e,t)}l(xu,"useMemo");function rt(e,t){return ot("useCallback",()=>e,t)}l(rt,"useCallback");function Tr(e,t){return ot(e,()=>({current:t}),[])}l(Tr,"useRefLike");function ku(e){return Tr("useRef",e)}l(ku,"useRef");function Fa(){let e=Rr();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{xe.getChannel().emit(lr)}catch{te.warn("State updates of Storybook preview hooks work only in browser")}}l(Fa,"triggerUpdate");function Ar(e,t){let r=Tr(e,typeof t=="function"?t():t),o=l(n=>{r.current=typeof n=="function"?n(r.current):n,Fa()},"setState");return[r.current,o]}l(Ar,"useStateLike");function Iu(e){return Ar("useState",e)}l(Iu,"useState");function $u(e,t,r){let o=r!=null?()=>r(t):t,[n,a]=Ar("useReducer",o);return[n,l(i=>a(s=>e(s,i)),"dispatch")]}l($u,"useReducer");function Da(e,t){let r=Ct(),o=ot("useEffect",()=>({create:e}),t);r.currentEffects.includes(o)||r.currentEffects.push(o)}l(Da,"useEffect");function Lu(e,t=[]){let r=xe.getChannel();return Da(()=>(Object.entries(e).forEach(([o,n])=>r.on(o,n)),()=>{Object.entries(e).forEach(([o,n])=>r.removeListener(o,n))}),[...Object.keys(e),...t]),rt(r.emit.bind(r),[r])}l(Lu,"useChannel");function Rt(){let{currentContext:e}=Ct();if(e==null)throw Cr();return e}l(Rt,"useStoryContext");function Fu(e,t){let{parameters:r}=Rt();if(e)return r[e]??t}l(Fu,"useParameter");function Du(){let e=xe.getChannel(),{id:t,args:r}=Rt(),o=rt(a=>e.emit(pr,{storyId:t,updatedArgs:a}),[e,t]),n=rt(a=>e.emit(cr,{storyId:t,argNames:a}),[e,t]);return[r,o,n]}l(Du,"useArgs");function Mu(){let e=xe.getChannel(),{globals:t}=Rt(),r=rt(o=>e.emit(ur,{globals:o}),[e]);return[t,r]}l(Mu,"useGlobals");function Ma(e,t){let r={},o=Object.entries(e);for(let n=0;n<o.length;n++){let[a,i]=o[n];t(i,a)||(r[a]=i)}return r}l(Ma,"omitBy");function Ua(e,t){let r={};for(let o=0;o<t.length;o++){let n=t[o];Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r}l(Ua,"pick");function qa(e,t){let r={},o=Object.entries(e);for(let n=0;n<o.length;n++){let[a,i]=o[n];t(i,a)&&(r[a]=i)}return r}l(qa,"pickBy");function ve(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}l(ve,"isPlainObject");function ke(e,t){let r={},o=Object.keys(e);for(let n=0;n<o.length;n++){let a=o[n],i=e[a];r[a]=t(i,a,e)}return r}l(ke,"mapValues");var Uu="[object RegExp]",qu="[object String]",Gu="[object Number]",Hu="[object Boolean]",vo="[object Arguments]",Bu="[object Symbol]",Vu="[object Date]",zu="[object Map]",Wu="[object Set]",Yu="[object Array]",Ju="[object Function]",Xu="[object ArrayBuffer]",Ft="[object Object]",Qu="[object Error]",Zu="[object DataView]",Ku="[object Uint8Array]",ep="[object Uint8ClampedArray]",tp="[object Uint16Array]",rp="[object Uint32Array]",op="[object BigUint64Array]",np="[object Int8Array]",ap="[object Int16Array]",ip="[object Int32Array]",sp="[object BigInt64Array]",lp="[object Float32Array]",cp="[object Float64Array]";function Wt(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}l(Wt,"getSymbols");function Yt(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}l(Yt,"getTag");function Ga(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Se(e,t)}return Se(e,t)}l(Ga,"isEqual");function Se(e,t,r){if(Object.is(e,t))return!0;let o=Yt(e),n=Yt(t);if(o===vo&&(o=Ft),n===vo&&(n=Ft),o!==n)return!1;switch(o){case qu:return e.toString()===t.toString();case Gu:{let s=e.valueOf(),u=t.valueOf();return s===u||Number.isNaN(s)&&Number.isNaN(u)}case Hu:case Vu:case Bu:return Object.is(e.valueOf(),t.valueOf());case Uu:return e.source===t.source&&e.flags===t.flags;case Ju:return e===t}r=r??new Map;let a=r.get(e),i=r.get(t);if(a!=null&&i!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(o){case zu:{if(e.size!==t.size)return!1;for(let[s,u]of e.entries())if(!t.has(s)||!Se(u,t.get(s),r))return!1;return!0}case Wu:{if(e.size!==t.size)return!1;let s=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c<s.length;c++){let m=s[c],d=u.findIndex(y=>Se(m,y,r));if(d===-1)return!1;u.splice(d,1)}return!0}case Yu:case Ku:case ep:case tp:case rp:case op:case np:case ap:case ip:case sp:case lp:case cp:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let s=0;s<e.length;s++)if(!Se(e[s],t[s],r))return!1;return!0}case Xu:return e.byteLength!==t.byteLength?!1:Se(new Uint8Array(e),new Uint8Array(t),r);case Zu:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Se(e.buffer,t.buffer,r);case Qu:return e.name===t.name&&e.message===t.message;case Ft:{if(!(Se(e.constructor,t.constructor,r)||ve(e)&&ve(t)))return!1;let s=[...Object.keys(e),...Wt(e)],u=[...Object.keys(t),...Wt(t)];if(s.length!==u.length)return!1;for(let c=0;c<s.length;c++){let m=s[c],d=e[m];if(!Object.prototype.hasOwnProperty.call(t,m))return!1;let y=t[m];if(!Se(d,y,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}l(Se,"areObjectsEqual");var Dt=ze(Ta());function we(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=Array.from(typeof e=="string"?[e]:e);o[o.length-1]=o[o.length-1].replace(/\r?\n([\t ]*)$/,"");var n=o.reduce(function(s,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(m){var d,y;return(y=(d=m.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&y!==void 0?y:0})):s},[]);if(n.length){var a=new RegExp(`
|
143
|
+
[ ]{`+Math.min.apply(Math,n)+"}","g");o=o.map(function(s){return s.replace(a,`
|
144
|
+
`)})}o[0]=o[0].replace(/^\r?\n/,"");var i=o[0];return t.forEach(function(s,u){var c=i.match(/(?:^|\n)( *)$/),m=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
145
|
+
`)&&(d=String(s).split(`
|
146
|
+
`).map(function(y,b){return b===0?y:""+m+y}).join(`
|
147
|
+
`)),i+=d+o[u+1]}),i}l(we,"dedent");var Ge=Symbol("incompatible"),Jt=l((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Ge:e.reduce((o,n,a)=>{let i=Jt(n,{type:r.value});return i!==Ge&&(o[a]=i),o},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Ge:Object.entries(e).reduce((o,[n,a])=>{let i=Jt(a,{type:r.value[n]});return i===Ge?o:Object.assign(o,{[n]:i})},{});default:return Ge}},"map"),up=l((e,t)=>Object.entries(e).reduce((r,[o,n])=>{if(!t[o])return r;let a=Jt(n,t[o]);return a===Ge?r:Object.assign(r,{[o]:a})},{}),"mapArgsToTypes"),Xt=l((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,o,n)=>(r[n]=Xt(e[n],t[n]),r),[...e]).filter(r=>r!==void 0):!ve(e)||!ve(t)?t:Object.keys({...e,...t}).reduce((r,o)=>{if(o in t){let n=Xt(e[o],t[o]);n!==void 0&&(r[o]=n)}else r[o]=e[o];return r},{}),"combineArgs"),pp=l((e,t)=>Object.entries(t).reduce((r,[o,{options:n}])=>{function a(){return o in e&&(r[o]=e[o]),r}if(l(a,"allowArg"),!n)return a();if(!Array.isArray(n))return se.error(we`
|
148
|
+
Invalid argType: '${o}.options' should be an array.
|
149
|
+
|
150
|
+
More info: https://storybook.js.org/docs/api/arg-types
|
151
|
+
`),a();if(n.some(d=>d&&["object","function"].includes(typeof d)))return se.error(we`
|
152
|
+
Invalid argType: '${o}.options' should only contain primitives. Use a 'mapping' for complex values.
|
153
|
+
|
154
|
+
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
155
|
+
`),a();let i=Array.isArray(e[o]),s=i&&e[o].findIndex(d=>!n.includes(d)),u=i&&s===-1;if(e[o]===void 0||n.includes(e[o])||u)return a();let c=i?`${o}[${s}]`:o,m=n.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return se.warn(`Received illegal value for '${c}'. Supported options: ${m}`),r},{}),"validateOptions"),Xe=Symbol("Deeply equal"),gt=l((e,t)=>{if(typeof e!=typeof t)return t;if(Ga(e,t))return Xe;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((o,n,a)=>{let i=gt(e[a],n);return i!==Xe&&(o[a]=i),o},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return ve(e)&&ve(t)?Object.keys({...e,...t}).reduce((r,o)=>{let n=gt(e?.[o],t?.[o]);return n===Xe?r:Object.assign(r,{[o]:n})},{}):t},"deepDiff"),Ha="UNTARGETED";function Ba({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([o,n])=>{let{target:a=Ha}=t[o]||{};r[a]=r[a]||{},r[a][o]=n}),r}l(Ba,"groupArgsByTarget");function Va(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}l(Va,"deleteUndefined");var za=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let t=gt(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==Xe&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=pp(t,e.argTypes);this.argsByStoryId[e.id]=Xt(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=up(t,e.argTypes);return this.updateFromDelta(e,r)}update(e,t){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=Va({...this.argsByStoryId[e],...t})}};l(za,"ArgsStore");var dp=za,Wa=l((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:o}])=>(typeof o<"u"&&(t[r]=o),t),{}),"getValuesFromArgTypes"),Ya=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&>(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let o=Wa(t);this.initialGlobals={...o,...e},this.globals=this.initialGlobals,r&&r!==Xe&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,o])=>(this.allowedGlobalNames.has(r)?t[r]=o:te.warn(`Attempted to set a global (${r}) that is not defined in initial globals or globalTypes`),t),{})}updateFromPersisted(e){let t=this.filterAllowedGlobals(e);this.globals={...this.globals,...t}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)}}};l(Ya,"GlobalsStore");var fp=Ya,hp=ze(Ta()),yp=(0,hp.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Ja=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let t=Object.values(this.entries);if(e==="*")return t[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:t.find(n=>n.id.startsWith(e));let{name:r,title:o}=e;return t.find(n=>n.name===r&&n.title===o)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new Fc({storyId:e});return t}importPathToEntry(e){return yp(this.entries)[e]}};l(Ja,"StoryIndexStore");var gp=Ja,mp=l(e=>typeof e=="string"?{name:e}:e,"normalizeType"),bp=l(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),Ep=l((e,t)=>{let{type:r,control:o,...n}=e,a={name:t,...n};return r&&(a.type=mp(r)),o?a.control=bp(o):o===!1&&(a.control={disable:!0}),a},"normalizeInputType"),mt=l(e=>ke(e,Ep),"normalizeInputTypes"),ne=l(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),vp=we`
|
156
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
157
|
+
- StoryFn.story.name => StoryFn.storyName
|
158
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
159
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
160
|
+
`;function Or(e,t,r){let o=t,n=typeof t=="function"?t:null,{story:a}=o;a&&(te.debug("deprecated story",a),Ze(vp));let i=du(e),s=typeof o!="function"&&o.name||o.storyName||a?.name||i,u=[...ne(o.decorators),...ne(a?.decorators)],c={...a?.parameters,...o.parameters},m={...a?.args,...o.args},d={...a?.argTypes,...o.argTypes},y=[...ne(o.loaders),...ne(a?.loaders)],b=[...ne(o.beforeEach),...ne(a?.beforeEach)],{render:v,play:A,tags:R=[],globals:w={}}=o,T=c.__id||pu(r.id,i);return{moduleExport:t,id:T,name:s,tags:R,decorators:u,parameters:c,args:m,argTypes:mt(d),loaders:y,beforeEach:b,globals:w,...v&&{render:v},...n&&{userStoryFn:n},...A&&{play:A}}}l(Or,"normalizeStory");function jr(e,t=e.title,r){let{id:o,argTypes:n}=e;return{id:Ca(o||t),...e,title:t,...n&&{argTypes:mt(n)},parameters:{fileName:r,...e.parameters}}}l(jr,"normalizeComponentAnnotations");var Sp=l(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&te.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),wp=l(e=>{let{options:t}=e;t?.storySort&&te.error("The storySort option parameter can only be set globally")},"checkStorySort"),So=l(e=>{e&&(Sp(e),wp(e))},"checkDisallowedParameters");function Xa(e,t,r){let{default:o,__namedExportsOrder:n,...a}=e,i=jr(o,r,t);So(i.parameters);let s={meta:i,stories:{},moduleExports:e};return Object.keys(a).forEach(u=>{if(Ra(u,i)){let c=Or(u,a[u],i);So(c.parameters),s.stories[c.id]=c}}),s}l(Xa,"processCSFFile");function Qa(e){return e!=null&&Za(e).includes("mount")}l(Qa,"mountDestructured");function Za(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Qt(t[1]);if(!r.length)return[];let o=r[0];return o.startsWith("{")&&o.endsWith("}")?Qt(o.slice(1,-1).replace(/\s/g,"")).map(n=>n.replace(/:.*|=.*/g,"")):[]}l(Za,"getUsedProps");function Qt(e){let t=[],r=[],o=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let i=e.substring(o,a).trim();i&&t.push(i),o=a+1}let n=e.substring(o).trim();return n&&t.push(n),t}l(Qt,"splitByComma");function Ka(e,t,r){let o=r(e);return n=>t(o,n)}l(Ka,"decorateStory");function ei({componentId:e,title:t,kind:r,id:o,name:n,story:a,parameters:i,initialArgs:s,argTypes:u,...c}={}){return c}l(ei,"sanitizeStoryContextUpdate");function ti(e,t){let r={},o=l(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...ei(i)},a(r.value)},"bindWithContext"),n=t.reduce((a,i)=>Ka(a,i,o),e);return a=>(r.value=a,n(a))}l(ti,"defaultDecorateStory");var Ie=l((...e)=>{let t={},r=e.filter(Boolean),o=r.reduce((n,a)=>(Object.entries(a).forEach(([i,s])=>{let u=n[i];Array.isArray(s)||typeof u>"u"?n[i]=s:ve(s)&&ve(u)?t[i]=!0:typeof s<"u"&&(n[i]=s)}),n),{});return Object.keys(t).forEach(n=>{let a=r.filter(Boolean).map(i=>i[n]).filter(i=>typeof i<"u");a.every(i=>ve(i))?o[n]=Ie(...a):o[n]=a[a.length-1]}),o},"combineParameters");function Nr(e,t,r){let{moduleExport:o,id:n,name:a}=e||{},i=Pr(e,t,r),s=l(async $=>{let F={};for(let D of[..."__STORYBOOK_TEST_LOADERS__"in le&&Array.isArray(le.__STORYBOOK_TEST_LOADERS__)?[le.__STORYBOOK_TEST_LOADERS__]:[],ne(r.loaders),ne(t.loaders),ne(e.loaders)]){if($.abortSignal.aborted)return F;let H=await Promise.all(D.map(J=>J($)));Object.assign(F,...H)}return F},"applyLoaders"),u=l(async $=>{let F=new Array;for(let D of[...ne(r.beforeEach),...ne(t.beforeEach),...ne(e.beforeEach)]){if($.abortSignal.aborted)return F;let H=await D($);H&&F.push(H)}return F},"applyBeforeEach"),c=l($=>$.originalStoryFn($.args,$),"undecoratedStoryFn"),{applyDecorators:m=ti,runStep:d}=r,y=[...ne(e?.decorators),...ne(t?.decorators),...ne(r?.decorators)],b=e?.userStoryFn||e?.render||t.render||r.render,v=Nu(m)(c,y),A=l($=>v($),"unboundStoryFn"),R=e?.play??t?.play,w=Qa(R);if(!b&&!w)throw new Wc({id:n});let T=l($=>async()=>(await $.renderToCanvas(),$.canvas),"defaultMount"),P=e.mount??t.mount??r.mount??T,I=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:o,id:n,name:a,story:a,originalStoryFn:b,undecoratedStoryFn:c,unboundStoryFn:A,applyLoaders:s,applyBeforeEach:u,playFunction:R,runStep:d,mount:P,testingLibraryRender:I,renderToCanvas:r.renderToCanvas,usesMount:w}}l(Nr,"prepareStory");function ri(e,t,r){return{...Pr(void 0,e,t),moduleExport:r}}l(ri,"prepareMeta");function Pr(e,t,r){let o=["dev","test"],n=le.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=fu(...o,...n,...r.tags??[],...t.tags??[],...e?.tags??[]),i=Ie(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:u=[]}=r,c=Ie(r.argTypes,t.argTypes,e?.argTypes);if(e){let w=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=w&&w.length>0}let m={...r.args,...t.args,...e?.args},d={...t.globals,...e?.globals},y={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:m,argTypes:c,storyGlobals:d};y.argTypes=s.reduce((w,T)=>T({...y,argTypes:w}),y.argTypes);let b={...m};y.initialArgs=u.reduce((w,T)=>({...w,...T({...y,initialArgs:w})}),b);let{name:v,story:A,...R}=y;return R}l(Pr,"preparePartialAnnotations");function xr(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(le.FEATURES?.argTypeTargetsV7){let a=Ba(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[Ha]||{}}}let o=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let u=l(c=>{let m=r.argTypes[i].mapping;return m&&c in m?m[c]:c},"mappingFn");return a[i]=Array.isArray(s)?s.map(u):u(s),a},{}),n=Object.entries(o).reduce((a,[i,s])=>{let u=r.argTypes[i]||{};return uu(u,o,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:n}}l(xr,"prepareContext");var Zt=l((e,t,r)=>{let o=typeof e;switch(o){case"boolean":case"string":case"number":case"function":case"symbol":return{name:o}}return e?r.has(e)?(te.warn(we`
|
161
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
162
|
+
|
163
|
+
Consider using the mapping feature or fully custom args:
|
164
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
165
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
166
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Zt(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:ke(e,n=>Zt(n,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),oi=l(e=>{let{id:t,argTypes:r={},initialArgs:o={}}=e,n=ke(o,(i,s)=>({name:s,type:Zt(i,`${t}.${s}`,new Set)})),a=ke(r,(i,s)=>({name:s}));return Ie(n,a,r)},"inferArgTypes");oi.secondPass=!0;var wo=l((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),_p=l((e,t,r)=>!t&&!r?e:e&&qa(e,(o,n)=>{let a=o.name||n.toString();return!!(!t||wo(a,t))&&(!r||!wo(a,r))}),"filterArgTypes"),Cp=l((e,t,r)=>{let{type:o,options:n}=e;if(o){if(r.color&&r.color.test(t)){let a=o.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&te.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(o.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=o;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:n?"select":"object"}}}}},"inferControl"),ni=l(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:o=null,exclude:n=null,matchers:a={}}={}}}=e;if(!r)return t;let i=_p(t,o,n),s=ke(i,(u,c)=>u?.type&&Cp(u,c.toString(),a));return Ie(s,i)},"inferControls");ni.secondPass=!0;function bt({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:o,loaders:n,beforeEach:a,globals:i,initialGlobals:s,...u}){return i&&Object.keys(i).length>0&&Ze(we`
|
167
|
+
The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
|
168
|
+
Please use 'initialGlobals' instead. Learn more:
|
169
|
+
|
170
|
+
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
|
171
|
+
`),{...e&&{argTypes:mt(e)},...t&&{globalTypes:mt(t)},decorators:ne(o),loaders:ne(n),beforeEach:ne(a),argTypesEnhancers:[...r||[],oi,ni],initialGlobals:Ie(s,i),...u}}l(bt,"normalizeProjectAnnotations");var Rp=l(e=>async()=>{let t=[];for(let r of e){let o=await r();o&&t.unshift(o)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function ai(e){return async(t,r,o)=>{await e.reduceRight((n,a)=>async()=>a(t,n,o),async()=>r(o))()}}l(ai,"composeStepRunners");function Ve(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}l(Ve,"getField");function _e(e,t,r={}){return Ve(e,t).reduce((o,n)=>{let a=ne(n);return r.reverseFileOrder?[...a,...o]:[...o,...a]},[])}l(_e,"getArrayField");function He(e,t){return Object.assign({},...Ve(e,t))}l(He,"getObjectField");function Ne(e,t){return Ve(e,t).pop()}l(Ne,"getSingletonField");function Et(e){let t=_e(e,"argTypesEnhancers"),r=Ve(e,"runStep"),o=_e(e,"beforeAll");return{parameters:Ie(...Ve(e,"parameters")),decorators:_e(e,"decorators",{reverseFileOrder:!(le.FEATURES?.legacyDecoratorFileOrder??!1)}),args:He(e,"args"),argsEnhancers:_e(e,"argsEnhancers"),argTypes:He(e,"argTypes"),argTypesEnhancers:[...t.filter(n=>!n.secondPass),...t.filter(n=>n.secondPass)],globals:He(e,"globals"),initialGlobals:He(e,"initialGlobals"),globalTypes:He(e,"globalTypes"),loaders:_e(e,"loaders"),beforeAll:Rp(o),beforeEach:_e(e,"beforeEach"),render:Ne(e,"render"),renderToCanvas:Ne(e,"renderToCanvas"),renderToDOM:Ne(e,"renderToDOM"),applyDecorators:Ne(e,"applyDecorators"),runStep:ai(r),tags:_e(e,"tags"),mount:Ne(e,"mount"),testingLibraryRender:Ne(e,"testingLibraryRender")}}l(Et,"composeConfigs");function Tp(e){globalThis.defaultProjectAnnotations=e}l(Tp,"setDefaultProjectAnnotations");var Ap="ComposedStory",Op="Unnamed Story";function ii(e){return e?"default"in e?e.default:e:{}}l(ii,"extractAnnotation");function jp(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Et(t.map(ii)),Et([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}l(jp,"setProjectAnnotations");var Te=[];function si(e,t,r,o,n){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??Ap;let a=jr(t),i=n||e.storyName||e.story?.name||e.name||Op,s=Or(i,e,a),u=bt(Et([o&&Object.keys(o).length>0?o:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),c=Nr(s,a,u),m={...Wa(u.globalTypes),...u.initialGlobals,...c.storyGlobals},d=l(()=>{let R=xr({hooks:new $a,globals:m,args:{...c.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:l((w,T)=>c.runStep(w,T,R),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return R.context=R,c.renderToCanvas&&(R.renderToCanvas=async()=>{let w=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:l(()=>{},"showMain"),showError:l(T=>{throw new Error(`${T.title}
|
172
|
+
${T.description}`)},"showError"),showException:l(T=>{throw T},"showException"),forceRemount:!0,storyContext:R,storyFn:l(()=>c.unboundStoryFn(R),"storyFn"),unboundStoryFn:c.unboundStoryFn},R.canvasElement);w&&Te.push(w)}),R.mount=c.mount(R),R},"initializeContext"),y,b=l(async R=>{let w=d();return w.canvasElement??=globalThis?.document?.body,y&&(w.loaded=y.loaded),Object.assign(w,R),c.playFunction(w)},"play"),v=l(R=>{let w=d();return Object.assign(w,R),li(c,w)},"run"),A=c.playFunction?b:void 0;return Object.assign(l(function(R){let w=d();return y&&(w.loaded=y.loaded),w.args={...w.initialArgs,...R},c.unboundStoryFn(w)},"storyFn"),{id:c.id,storyName:i,load:l(async()=>{for(let w of[...Te].reverse())await w();Te.length=0;let R=d();R.loaded=await c.applyLoaders(R),Te.push(...(await c.applyBeforeEach(R)).filter(Boolean)),y=R},"load"),globals:m,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:A,run:v,tags:c.tags})}l(si,"composeStory");var Np=l((e,t,r,o)=>si(e,t,r,{},o),"defaultComposeStory");function Pp(e,t,r=Np){let{default:o,__esModule:n,__namedExportsOrder:a,...i}=e;return Object.entries(i).reduce((s,[u,c])=>Ra(u,o)?Object.assign(s,{[u]:r(c,o,t,u)}):s,{})}l(Pp,"composeStories");function xp(e){return e.extend({mount:l(async({mount:t,page:r},o)=>{await o(async(n,...a)=>{if(!("__pw_type"in n)||"__pw_type"in n&&n.__pw_type!=="jsx")throw new Error(we`
|
173
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
174
|
+
Please use JSX format for your components such as:
|
175
|
+
|
176
|
+
instead of:
|
177
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
178
|
+
|
179
|
+
do:
|
180
|
+
await mount(<MyComponent foo="bar"/>)
|
181
|
+
|
182
|
+
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
183
|
+
`);await r.evaluate(async s=>{let u=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in u?u.type:u)?.load?.()},n);let i=await t(n,...a);return await r.evaluate(async s=>{let u=await globalThis.__pwUnwrapObject?.(s),c="__pw_type"in u?u.type:u,m=document.querySelector("#root");return c?.play?.({canvasElement:m})},n),i})},"mount")})}l(xp,"createPlaywrightTest");async function li(e,t){for(let n of[...Te].reverse())await n();if(Te.length=0,!t.canvasElement){let n=document.createElement("div");globalThis?.document?.body?.appendChild(n),t.canvasElement=n,Te.push(()=>{globalThis?.document?.body?.contains(n)&&globalThis?.document?.body?.removeChild(n)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Te.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,o=e.usesMount;o||await t.mount(),!t.abortSignal.aborted&&r&&(o||(t.mount=async()=>{throw new Ea({playFunction:r.toString()})}),await r(t))}l(li,"runStory");function Kt(e,t){return Ma(Ua(e,t),r=>r===void 0)}l(Kt,"picky");var _o=1e3,kp=1e4,ci=class{constructor(e,t,r){this.importFn=t,this.getStoriesJsonData=l(()=>{let a=this.getSetStoriesPayload(),i=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:ke(a.stories,s=>{let{importPath:u}=this.storyIndex.entries[s.id];return{...Kt(s,["id","name","title"]),importPath:u,kind:s.title,story:s.name,parameters:{...Kt(s.parameters,i),fileName:u}}})}},"getStoriesJsonData"),this.storyIndex=new gp(e),this.projectAnnotations=bt(r);let{initialGlobals:o,globalTypes:n}=this.projectAnnotations;this.args=new dp,this.userGlobals=new fp({globals:o,globalTypes:n}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Dt.default)(_o)(Xa),this.prepareMetaWithCache=(0,Dt.default)(_o)(ri),this.prepareStoryWithCache=(0,Dt.default)(kp)(Nr)}setProjectAnnotations(e){this.projectAnnotations=bt(e);let{initialGlobals:t,globalTypes:r}=e;this.userGlobals.set({globals:t,globalTypes:r})}async onStoriesChanged({importFn:e,storyIndex:t}){e&&(this.importFn=e),t&&(this.storyIndex.entries=t.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:t,title:r}=this.storyIndex.storyIdToEntry(e),o=await this.importFn(t);return this.processCSFFileWithCache(o,t,r)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([t,{importPath:r}])=>{e[r]=t}),(await Promise.all(Object.entries(e).map(async([t,r])=>({importPath:t,csfFile:await this.loadCSFFileByStoryId(r)})))).reduce((t,{importPath:r,csfFile:o})=>(t[r]=o,t),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let t=e.meta;return this.prepareMetaWithCache(t,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let t=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:t})}storyFromCSFFile({storyId:e,csfFile:t}){let r=t.stories[e];if(!r)throw new Vc({storyId:e});let o=t.meta,n=this.prepareStoryWithCache(r,o,this.projectAnnotations);return this.args.setInitial(n),this.hooks[n.id]=this.hooks[n.id]||new $a,n}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),r=t.type==="docs"?t.storiesImports:[],[o,...n]=await Promise.all([this.importFn(t.importPath),...r.map(a=>{let i=this.storyIndex.importPathToEntry(a);return this.loadCSFFileByStoryId(i.id)})]);return{entryExports:o,csfFiles:n}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let r=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return xr({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:r,globals:{...r,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,t){this.cleanupCallbacks[e.id]=t}async cleanupStory(e){this.hooks[e.id].clean();let t=this.cleanupCallbacks[e.id];if(t)for(let r of[...t].reverse())await r();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:t}=this;if(!t)throw new Mc;return Object.entries(this.storyIndex.entries).reduce((r,[o,{type:n,importPath:a}])=>{if(n==="docs")return r;let i=t[a],s=this.storyFromCSFFile({storyId:o,csfFile:i});return!e.includeDocsOnly&&s.parameters.docsOnly||(r[o]=Object.entries(s).reduce((u,[c,m])=>c==="moduleExport"||typeof m=="function"?u:Array.isArray(m)?Object.assign(u,{[c]:m.slice().sort()}):Object.assign(u,{[c]:m}),{args:s.initialArgs})),r},{})}getSetStoriesPayload(){let e=this.extract({includeDocsOnly:!0}),t=Object.values(e).reduce((r,{title:o})=>(r[o]={},r),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:t,stories:e}}raw(){return Ze("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:e})=>this.fromId(e)).filter(Boolean)}fromId(e){if(Ze("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let t;try{({importPath:t}=this.storyIndex.storyIdToEntry(e))}catch{return null}let r=this.cachedCSFFiles[t],o=this.storyFromCSFFile({storyId:e,csfFile:r});return{...o,storyFn:l(n=>{let a={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:l((i,s)=>o.runStep(i,s,a),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...a,...n})},"storyFn")}}};l(ci,"StoryStore");var Ip=ci;function $p(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}l($p,"slash");function Lp(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}l(Lp,"pathJoin");var Tt=new Error("prepareAborted"),{AbortController:Co}=globalThis;function er(e){try{let{name:t="Error",message:r=String(e),stack:o}=e;return{name:t,message:r,stack:o}}catch{return{name:"Error",message:String(e)}}}l(er,"serializeError");var ui=class{constructor(e,t,r,o,n,a,i={autoplay:!0,forceInitialArgs:!1},s){this.channel=e,this.store=t,this.renderToScreen=r,this.callbacks=o,this.id=n,this.viewMode=a,this.renderOptions=i,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=l(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Co,s&&(this.story=s,this.phase="preparing")}async runPhase(e,t,r){this.phase=t,this.channel.emit(et,{newPhase:this.phase,storyId:this.id}),r&&(await r(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted?(this.phase="aborted",this.channel.emit(et,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Tt}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:t=!1}={}){let{canvasElement:r}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!r)throw new Error("cannot render when canvasElement is unset");let{id:n,componentId:a,title:i,name:s,tags:u,applyLoaders:c,applyBeforeEach:m,unboundStoryFn:d,playFunction:y,runStep:b}=o;t&&!e&&(this.cancelRender(),this.abortController=new Co);let v=this.abortController.signal,A=!1,R=o.usesMount;try{let w={...this.storyContext(),viewMode:this.viewMode,abortSignal:v,canvasElement:r,loaded:{},step:l((D,H)=>b(D,H,w),"step"),context:null,canvas:{},renderToCanvas:l(async()=>{let D=await this.renderToScreen(T,r);this.teardownRender=D||(()=>{}),A=!0},"renderToCanvas"),mount:l(async(...D)=>{this.callbacks.showStoryDuringRender?.();let H=null;return await this.runPhase(v,"rendering",async()=>{H=await o.mount(w)(...D)}),R&&await this.runPhase(v,"playing"),H},"mount")};w.context=w;let T={componentId:a,title:i,kind:i,id:n,name:s,story:s,tags:u,...this.callbacks,showError:l(D=>(this.phase="errored",this.callbacks.showError(D)),"showError"),showException:l(D=>(this.phase="errored",this.callbacks.showException(D)),"showException"),forceRemount:t||this.notYetRendered,storyContext:w,storyFn:l(()=>d(w),"storyFn"),unboundStoryFn:d};if(await this.runPhase(v,"loading",async()=>{w.loaded=await c(w)}),v.aborted)return;let P=await m(w);if(this.store.addCleanupCallbacks(o,P),this.checkIfAborted(v)||(!A&&!R&&await w.mount(),this.notYetRendered=!1,v.aborted))return;let I=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,$=new Set,F=l(D=>$.add("error"in D?D.error:D.reason),"onError");if(this.renderOptions.autoplay&&t&&y&&this.phase!=="errored"){window.addEventListener("error",F),window.addEventListener("unhandledrejection",F),this.disableKeyListeners=!0;try{if(R?await y(w):(w.mount=async()=>{throw new Ea({playFunction:y.toString()})},await this.runPhase(v,"playing",async()=>y(w))),!A)throw new Yc;this.checkIfAborted(v),!I&&$.size>0?await this.runPhase(v,"errored"):await this.runPhase(v,"played")}catch(D){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(v,"errored",async()=>{this.channel.emit(Mo,er(D))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw D;console.error(D)}if(!I&&$.size>0&&this.channel.emit(Uo,Array.from($).map(er)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",F),window.removeEventListener("error",F),v.aborted)return}await this.runPhase(v,"completed",async()=>this.channel.emit(ft,n))}catch(w){this.phase="errored",this.callbacks.showException(w)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(t=>setTimeout(t,0))}window.location.reload(),await new Promise(()=>{})}};l(ui,"StoryRender");var tr=ui,{fetch:Fp}=le,Dp="./index.json",pi=class{constructor(e,t,r=xe.getChannel(),o=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=r,this.storyRenders=[],this.storeInitializationPromise=new Promise((n,a)=>{this.resolveStoreInitializationPromise=n,this.rejectStoreInitializationPromise=a}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:l((e,t)=>{if(this.storyStoreValue)return Ze("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new zc},"get")})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e)}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Yo,this.onStoryIndexChanged.bind(this)),this.channel.on(ur,this.onUpdateGlobals.bind(this)),this.channel.on(pr,this.onUpdateArgs.bind(this)),this.channel.on(en,this.onRequestArgTypesInfo.bind(this)),this.channel.on(cr,this.onResetArgs.bind(this)),this.channel.on(lr,this.onForceReRender.bind(this)),this.channel.on(Do,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new Uc;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let t=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(t)}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(t){throw this.renderPreviewEntryError("Error in beforeAll hook:",t),t}}async getStoryIndexFromServer(){let e=await Fp(Dp);if(e.status===200)return e.json();throw new qc({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Ip(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new me({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Bo,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let t=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(t),!this.storyStoreValue){await this.initializeWithProjectAnnotations(t);return}this.storyStoreValue.setProjectAnnotations(t),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:t}){if(!this.storyStoreValue)throw new me({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:t})}async onUpdateGlobals({globals:e,currentStory:t}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new me({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:r,storyGlobals:o,userGlobals:n,globals:a}=this.storyStoreValue.getStoryContext(t);this.channel.emit(Ke,{initialGlobals:r,userGlobals:n,storyGlobals:o,globals:a})}else{let{initialGlobals:r,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Ke,{initialGlobals:r,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(r=>r.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:t}){if(!this.storyStoreValue)throw new me({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,t),await Promise.all(this.storyRenders.filter(r=>r.id===e&&!r.renderOptions.forceInitialArgs).map(r=>r.story&&r.story.usesMount?r.remount():r.rerender())),this.channel.emit(Vo,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:t}){try{await this.storeInitializationPromise;let r=await this.storyStoreValue?.loadStory(t);this.channel.emit(Bt,{id:e,success:!0,payload:{argTypes:r?.argTypes||{}},error:null})}catch(r){this.channel.emit(Bt,{id:e,success:!1,error:r?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new me({methodName:"onResetArgs"});let r=this.storyRenders.find(n=>n.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),o=(t||[...new Set([...Object.keys(r.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((n,a)=>(n[a]=r.initialArgs[a],n),{});await this.onUpdateArgs({storyId:e,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(t=>t.id===e).map(t=>t.remount()))}renderStoryToElement(e,t,r,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new me({methodName:"renderStoryToElement"});let n=new tr(this.channel,this.storyStoreValue,this.renderToCanvas,r,e.id,"docs",o,e);return n.renderToElement(t),this.storyRenders.push(n),async()=>{await this.teardownRender(n)}}async teardownRender(e,{viewModeChanged:t}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new me({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new me({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new me({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,te.error(e),te.error(t),this.channel.emit(Lo,t)}};l(pi,"Preview");var Mp=pi,Ro="Invariant failed";function ut(e,t){if(!e){var r=typeof t=="function"?t():t,o=r?"".concat(Ro,": ").concat(r):Ro;throw new Error(o)}}l(ut,"invariant");var di=class{constructor(e,t,r,o){this.channel=e,this.store=t,this.renderStoryToElement=r,this.storyIdByName=l(n=>{let a=this.nameToStoryId.get(n);if(a)return a;throw new Error(`No story found with that name: ${n}`)},"storyIdByName"),this.componentStories=l(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=l(n=>this.store.componentStoriesFromCSFFile({csfFile:n}),"componentStoriesFromCSFFile"),this.storyById=l(n=>{if(!n){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let a=this.storyIdToCSFFile.get(n);if(!a)throw new Error(`Called \`storyById\` for story that was never loaded: ${n}`);return this.store.storyFromCSFFile({storyId:n,csfFile:a})},"storyById"),this.getStoryContext=l(n=>({...this.store.getStoryContext(n),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=l(n=>this.store.loadStory({storyId:n}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((n,a)=>{this.referenceCSFFile(n)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{let r=e.stories[t.id];this.storyIdToCSFFile.set(r.id,e),this.exportToStory.set(r.moduleExport,t)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{this.nameToStoryId.set(t.name,t.id),this.componentStoriesValue.push(t),this.primaryStory||(this.primaryStory=t)}))}referenceMeta(e,t){let r=this.resolveModuleExport(e);if(r.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");t&&this.attachCSFFile(r.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let t=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:t};let{component:r}=t.meta;if(!r)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:r}}resolveModuleExport(e){let t=this.exportsToCSFFile.get(e);if(t)return{type:"meta",csfFile:t};let r=this.exportToStory.get(e);return r?{type:"story",story:r}:{type:"component",component:e}}resolveOf(e,t=[]){let r;if(["component","meta","story"].includes(e)){let o=e;r=this.resolveAttachedModuleExportType(o)}else r=this.resolveModuleExport(e);if(t.length&&!t.includes(r.type)){let o=r.type==="component"?"component or unknown":r.type;throw new Error(we`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${t.join(", ")}.
|
184
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
185
|
+
- ... or vice versa?
|
186
|
+
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(r.type){case"component":return{...r,projectAnnotations:this.projectAnnotations};case"meta":return{...r,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:r.csfFile})};case"story":default:return r}}};l(di,"DocsContext");var fi=di,hi=class{constructor(e,t,r,o){this.channel=e,this.store=t,this.entry=r,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Tt;let{importPath:r,title:o}=this.entry,n=this.store.processCSFFileWithCache(e,r,o),a=Object.keys(n.stories)[0];this.story=this.store.storyFromCSFFile({storyId:a,csfFile:n}),this.csfFiles=[n,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new fi(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(r=>t.attachCSFFile(r)),t}async renderToElement(e,t){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let n=await o.renderer(),{render:a}=n,i=l(async()=>{try{await a(r,o,e),this.channel.emit(sr,this.id)}catch(s){this.callbacks.showException(s)}},"renderDocs");return this.rerender=async()=>i(),this.teardownRender=async({viewModeChanged:s})=>{!s||!e||n.unmount(e)},i()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}};l(hi,"CsfDocsRender");var To=hi,yi=class{constructor(e,t,r,o){this.channel=e,this.store=t,this.entry=r,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Tt;this.csfFiles=t,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new fi(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,t){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let n={...o,page:this.exports.default},a=await o.renderer(),{render:i}=a,s=l(async()=>{try{await i(r,n,e),this.channel.emit(sr,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!e||(a.unmount(e),this.torndown=!0)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}};l(yi,"MdxDocsRender");var Ao=yi,Up=globalThis;function gi(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}l(gi,"focusInInput");var mi="attached-mdx",qp="unattached-mdx";function bi({tags:e}){return e?.includes(qp)||e?.includes(mi)}l(bi,"isMdxEntry");function pt(e){return e.type==="story"}l(pt,"isStoryRender");function Ei(e){return e.type==="docs"}l(Ei,"isDocsRender");function vi(e){return Ei(e)&&e.subtype==="csf"}l(vi,"isCsfDocsRender");var Si=class extends Mp{constructor(e,t,r,o){super(e,t,void 0,!1),this.importFn=e,this.getProjectAnnotations=t,this.selectionStore=r,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Up.onkeydown=this.onKeydown.bind(this),this.channel.on(Ho,this.onSetCurrentStory.bind(this)),this.channel.on(Ko,this.onUpdateQueryParams.bind(this)),this.channel.on(qo,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new me({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new me({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:t}=this.selectionStore.selectionSpecifier,r=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!r){e==="*"?this.renderStoryLoadingException(e,new Hc):this.renderStoryLoadingException(e,new Bc({storySpecifier:e.toString()}));return}let{id:o,type:n}=r;this.selectionStore.setSelection({storyId:o,viewMode:n}),this.channel.emit(Xo,this.selectionStore.selection),this.channel.emit(Gt,this.selectionStore.selection),await this.renderSelection({persistedArgs:t})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:t}){await super.onStoriesChanged({importFn:e,storyIndex:t}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(t=>t.disableKeyListeners)&&!gi(e)){let{altKey:t,ctrlKey:r,metaKey:o,shiftKey:n,key:a,code:i,keyCode:s}=e;this.channel.emit(Go,{event:{altKey:t,ctrlKey:r,metaKey:o,shiftKey:n,key:a,code:i,keyCode:s}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(Gt,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof tr&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof Ao||this.currentRender instanceof To)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:t}){super.onUpdateArgs({storyId:e,updatedArgs:t})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(t=>this.storyStoreValue?.loadEntry(t)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new me({methodName:"renderSelection"});let{selection:r}=this.selectionStore;if(!r)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=r,n;try{n=await this.storyStoreValue.storyIdToEntry(o)}catch(d){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,d);return}let a=this.currentSelection?.storyId!==o,i=this.currentRender?.type!==n.type;n.type==="story"?this.view.showPreparingStory({immediate:i}):this.view.showPreparingDocs({immediate:i}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;n.type==="story"?s=new tr(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(o),o,"story"):bi(n)?s=new Ao(this.channel,this.storyStoreValue,n,this.mainStoryCallbacks(o)):s=new To(this.channel,this.storyStoreValue,n,this.mainStoryCallbacks(o));let u=this.currentSelection;this.currentSelection=r;let c=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(d){c&&await this.teardownRender(c),d!==Tt&&this.renderStoryLoadingException(o,d);return}let m=!a&&c&&!s.isEqual(c);if(e&&pt(s)&&(ut(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,e)),c&&!c.torndown&&!a&&!m&&!i){this.currentRender=c,this.channel.emit(Zo,o),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:i}),u&&(a||i)&&this.channel.emit(zo,o),pt(s)){ut(!!s.story);let{parameters:d,initialArgs:y,argTypes:b,unmappedArgs:v,initialGlobals:A,userGlobals:R,storyGlobals:w,globals:T}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(Jo,{id:o,parameters:d,initialArgs:y,argTypes:b,args:v}),this.channel.emit(Ke,{userGlobals:R,storyGlobals:w,globals:T,initialGlobals:A})}else{let{parameters:d}=this.storyStoreValue.projectAnnotations,{initialGlobals:y,globals:b}=this.storyStoreValue.userGlobals;if(this.channel.emit(Ke,{globals:b,initialGlobals:y,storyGlobals:{},userGlobals:b}),vi(s)||s.entry.tags?.includes(mi)){if(!s.csfFiles)throw new Gc({storyId:o});({parameters:d}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(Fo,{id:o,parameters:d})}pt(s)?(ut(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}mainStoryCallbacks(e){return{showStoryDuringRender:l(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:l(()=>this.view.showMain(),"showMain"),showError:l(t=>this.renderError(e,t),"showError"),showException:l(t=>this.renderException(e,t),"showException")}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Ht)}renderStoryLoadingException(e,t){te.error(t),this.view.showErrorDisplay(t),this.channel.emit(Ht,e)}renderException(e,t){let{name:r="Error",message:o=String(t),stack:n}=t;this.channel.emit(Qo,{name:r,message:o,stack:n}),this.channel.emit(et,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay(t),te.error(`Error rendering story '${e}':`),te.error(t)}renderError(e,{title:t,description:r}){te.error(`Error rendering story ${t}: ${r}`),this.channel.emit(Wo,{title:t,description:r}),this.channel.emit(et,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay({message:t,stack:r})}};l(Si,"PreviewWithSelection");var Gp=Si,rr=ze(_r()),Hp=ze(_r()),Oo=/^[a-zA-Z0-9 _-]*$/,wi=/^-?[0-9]+(\.[0-9]+)?$/,Bp=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,_i=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,or=l((e="",t)=>e===null||e===""||!Oo.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Oo.test(t)||wi.test(t)||Bp.test(t)||_i.test(t):Array.isArray(t)?t.every(r=>or(e,r)):ve(t)?Object.entries(t).every(([r,o])=>or(r,o)):!1,"validateArgs"),Vp={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(_i);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return wi.test(e)?Number(e):e}},jo=l(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Hp.parse)(t.join(";"),Vp)).reduce((r,[o,n])=>or(o,n)?Object.assign(r,{[o]:n}):(se.warn(we`
|
187
|
+
Omitted potentially unsafe URL args.
|
188
|
+
|
189
|
+
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
190
|
+
`),r),{})},"parseArgsParam"),{history:Ci,document:Ae}=le;function Ri(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}l(Ri,"pathToId");var Ti=l(({selection:e,extraParams:t})=>{let r=Ae?.location.search.slice(1),{path:o,selectedKind:n,selectedStory:a,...i}=(0,rr.parse)(r);return`?${(0,rr.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),zp=l(e=>{if(!e)return;let t=Ti({selection:e}),{hash:r=""}=Ae.location;Ae.title=e.storyId,Ci.replaceState({},"",`${Ae.location.pathname}${t}${r}`)},"setPath"),Wp=l(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Qe=l(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Qe(e[0]);if(Wp(e))return Qe(Object.values(e).filter(Boolean))}},"getFirstString"),Yp=l(()=>{if(typeof Ae<"u"){let e=Ae.location.search.slice(1),t=(0,rr.parse)(e),r=typeof t.args=="string"?jo(t.args):void 0,o=typeof t.globals=="string"?jo(t.globals):void 0,n=Qe(t.viewMode);(typeof n!="string"||!n.match(/docs|story/))&&(n="story");let a=Qe(t.path),i=a?Ri(a):Qe(t.id);if(i)return{storySpecifier:i,args:r,globals:o,viewMode:n}}return null},"getSelectionSpecifierFromPath"),Ai=class{constructor(){this.selectionSpecifier=Yp()}setSelection(e){this.selection=e,zp(this.selection)}setQueryParams(e){let t=Ti({extraParams:e}),{hash:r=""}=Ae.location;Ci.replaceState({},"",`${Ae.location.pathname}${t}${r}`)}};l(Ai,"UrlStore");var Jp=Ai,Xp=ze(Au()),Qp=ze(_r()),{document:fe}=le,No=100,Oi=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(Oi||{}),Mt={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Ut={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Po=new Xp.default({escapeXML:!0}),ji=class{constructor(){if(this.testing=!1,typeof fe<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,Qp.parse)(fe.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),fe.documentElement.scrollTop=0,fe.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return fe.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),fe.documentElement.scrollTop=0,fe.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return fe.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){fe.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=Ut[e];fe.body.classList.remove(this.currentLayoutClass),fe.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){Ut[e]||te.warn(we`
|
191
|
+
The desired layout: ${e} is not a valid option.
|
192
|
+
The possible options are: ${Object.keys(Ut).join(", ")}, none.
|
193
|
+
`)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Oi).forEach(t=>{t===e?fe.body.classList.add(Mt[t]):fe.body.classList.remove(Mt[t])})}showErrorDisplay({message:e="",stack:t=""}){let r=e,o=t,n=e.split(`
|
194
|
+
`);n.length>1&&([r]=n,o=n.slice(1).join(`
|
195
|
+
`).replace(/^\n/,"")),fe.getElementById("error-message").innerHTML=Po.toHtml(r),fe.getElementById("error-stack").innerHTML=Po.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),No)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),No)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){fe.body.classList.add(Mt.MAIN)}};l(ji,"WebView");var Zp=ji,Kp=class extends Gp{constructor(e,t){super(e,t,new Jp,new Zp),this.importFn=e,this.getProjectAnnotations=t,le.__STORYBOOK_PREVIEW__=this}};l(Kp,"PreviewWeb");var{document:Pe}=le,ed=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],td="script",xo="scripts-root";function vt(){let e=Pe.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Pe.dispatchEvent(e)}l(vt,"simulateDOMContentLoaded");function Ni(e,t,r){let o=Pe.createElement("script");o.type=e.type==="module"?"module":"text/javascript",e.src?(o.onload=t,o.onerror=t,o.src=e.src):o.textContent=e.innerText,r?r.appendChild(o):Pe.head.appendChild(o),e.parentNode.removeChild(e),e.src||t()}l(Ni,"insertScript");function kr(e,t,r=0){e[r](()=>{r++,r===e.length?t():kr(e,t,r)})}l(kr,"insertScriptsSequentially");function nr(e){let t=Pe.getElementById(xo);t?t.innerHTML="":(t=Pe.createElement("div"),t.id=xo,Pe.body.appendChild(t));let r=Array.from(e.querySelectorAll(td));if(r.length){let o=[];r.forEach(n=>{let a=n.getAttribute("type");(!a||ed.includes(a))&&o.push(i=>Ni(n,i,t))}),o.length&&kr(o,vt,void 0)}else vt()}l(nr,"simulatePageLoad");var Ir=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function rd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=Array.from(typeof e=="string"?[e]:e);o[o.length-1]=o[o.length-1].replace(/\r?\n([\t ]*)$/,"");var n=o.reduce(function(s,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(m){var d,y;return(y=(d=m.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&y!==void 0?y:0})):s},[]);if(n.length){var a=new RegExp(`
|
196
|
+
[ ]{`+Math.min.apply(Math,n)+"}","g");o=o.map(function(s){return s.replace(a,`
|
197
|
+
`)})}o[0]=o[0].replace(/^\r?\n/,"");var i=o[0];return t.forEach(function(s,u){var c=i.match(/(?:^|\n)( *)$/),m=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
198
|
+
`)&&(d=String(s).split(`
|
199
|
+
`).map(function(y,b){return b===0?y:""+m+y}).join(`
|
200
|
+
`)),i+=d+o[u+1]}),i}var od=Object.defineProperty,nd=(e,t)=>{for(var r in t)od(e,r,{get:t[r],enumerable:!0})},ad={};nd(ad,{parameters:()=>cd,render:()=>sd,renderToCanvas:()=>ld});var{Node:id}=Ir,sd=(e,t)=>{let{id:r,component:o}=t;if(!o)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);let n=document.createElement(o);return Object.entries(e).forEach(([a,i])=>{n[a]=i}),n};function ld({storyFn:e,kind:t,name:r,showMain:o,showError:n,forceRemount:a},i){let s=e();if(o(),Yr(s)){(a||!i.querySelector('[id="root-inner"]'))&&(i.innerHTML='<div id="root-inner"></div>');let u=i.querySelector('[id="root-inner"]');Vr(s,u),nr(i)}else if(typeof s=="string")i.innerHTML=s,nr(i);else if(s instanceof id){if(i.firstChild===s&&!a)return;i.innerHTML="",i.appendChild(s),vt()}else n({title:`Expecting an HTML snippet or DOM node from the story: "${r}" of "${t}".`,description:rd`
|
201
|
+
Did you forget to return the HTML snippet from the story?
|
202
|
+
Use "() => <your snippet or node>" or when defining the story.
|
203
|
+
`})}var cd={renderer:"web-components"},{window:ud}=Ir;ud.STORYBOOK_ENV="web-components";var{window:pd,EventSource:dd}=Ir;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new dd("__webpack_hmr").addEventListener("message",function(e){try{let{action:t}=JSON.parse(e.data);t==="built"&&pd.location.reload()}catch{}}));var B={};var ko;function fd(){if(ko)return B;ko=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),d=Symbol.iterator;function y(h){return h===null||typeof h!="object"?null:(h=d&&h[d]||h["@@iterator"],typeof h=="function"?h:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,A={};function R(h,_,k){this.props=h,this.context=_,this.refs=A,this.updater=k||b}R.prototype.isReactComponent={},R.prototype.setState=function(h,_){if(typeof h!="object"&&typeof h!="function"&&h!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,h,_,"setState")},R.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};function w(){}w.prototype=R.prototype;function T(h,_,k){this.props=h,this.context=_,this.refs=A,this.updater=k||b}var P=T.prototype=new w;P.constructor=T,v(P,R.prototype),P.isPureReactComponent=!0;var I=Array.isArray,$=Object.prototype.hasOwnProperty,F={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function H(h,_,k){var G,U={},Y=null,q=null;if(_!=null)for(G in _.ref!==void 0&&(q=_.ref),_.key!==void 0&&(Y=""+_.key),_)$.call(_,G)&&!D.hasOwnProperty(G)&&(U[G]=_[G]);var X=arguments.length-2;if(X===1)U.children=k;else if(1<X){for(var Q=Array(X),ie=0;ie<X;ie++)Q[ie]=arguments[ie+2];U.children=Q}if(h&&h.defaultProps)for(G in X=h.defaultProps,X)U[G]===void 0&&(U[G]=X[G]);return{$$typeof:e,type:h,key:Y,ref:q,props:U,_owner:F.current}}function J(h,_){return{$$typeof:e,type:h.type,key:_,ref:h.ref,props:h.props,_owner:h._owner}}function z(h){return typeof h=="object"&&h!==null&&h.$$typeof===e}function ee(h){var _={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(k){return _[k]})}var L=/\/+/g;function M(h,_){return typeof h=="object"&&h!==null&&h.key!=null?ee(""+h.key):_.toString(36)}function p(h,_,k,G,U){var Y=typeof h;(Y==="undefined"||Y==="boolean")&&(h=null);var q=!1;if(h===null)q=!0;else switch(Y){case"string":case"number":q=!0;break;case"object":switch(h.$$typeof){case e:case t:q=!0}}if(q)return q=h,U=U(q),h=G===""?"."+M(q,0):G,I(U)?(k="",h!=null&&(k=h.replace(L,"$&/")+"/"),p(U,_,k,"",function(ie){return ie})):U!=null&&(z(U)&&(U=J(U,k+(!U.key||q&&q.key===U.key?"":(""+U.key).replace(L,"$&/")+"/")+h)),_.push(U)),1;if(q=0,G=G===""?".":G+":",I(h))for(var X=0;X<h.length;X++){Y=h[X];var Q=G+M(Y,X);q+=p(Y,_,k,Q,U)}else if(Q=y(h),typeof Q=="function")for(h=Q.call(h),X=0;!(Y=h.next()).done;)Y=Y.value,Q=G+M(Y,X++),q+=p(Y,_,k,Q,U);else if(Y==="object")throw _=String(h),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.");return q}function g(h,_,k){if(h==null)return h;var G=[],U=0;return p(h,G,"","",function(Y){return _.call(k,Y,U++)}),G}function E(h){if(h._status===-1){var _=h._result;_=_(),_.then(function(k){(h._status===0||h._status===-1)&&(h._status=1,h._result=k)},function(k){(h._status===0||h._status===-1)&&(h._status=2,h._result=k)}),h._status===-1&&(h._status=0,h._result=_)}if(h._status===1)return h._result.default;throw h._result}var O={current:null},N={transition:null},W={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:N,ReactCurrentOwner:F};function Z(){throw Error("act(...) is not supported in production builds of React.")}return B.Children={map:g,forEach:function(h,_,k){g(h,function(){_.apply(this,arguments)},k)},count:function(h){var _=0;return g(h,function(){_++}),_},toArray:function(h){return g(h,function(_){return _})||[]},only:function(h){if(!z(h))throw Error("React.Children.only expected to receive a single React element child.");return h}},B.Component=R,B.Fragment=r,B.Profiler=n,B.PureComponent=T,B.StrictMode=o,B.Suspense=u,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W,B.act=Z,B.cloneElement=function(h,_,k){if(h==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+h+".");var G=v({},h.props),U=h.key,Y=h.ref,q=h._owner;if(_!=null){if(_.ref!==void 0&&(Y=_.ref,q=F.current),_.key!==void 0&&(U=""+_.key),h.type&&h.type.defaultProps)var X=h.type.defaultProps;for(Q in _)$.call(_,Q)&&!D.hasOwnProperty(Q)&&(G[Q]=_[Q]===void 0&&X!==void 0?X[Q]:_[Q])}var Q=arguments.length-2;if(Q===1)G.children=k;else if(1<Q){X=Array(Q);for(var ie=0;ie<Q;ie++)X[ie]=arguments[ie+2];G.children=X}return{$$typeof:e,type:h.type,key:U,ref:Y,props:G,_owner:q}},B.createContext=function(h){return h={$$typeof:i,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},h.Provider={$$typeof:a,_context:h},h.Consumer=h},B.createElement=H,B.createFactory=function(h){var _=H.bind(null,h);return _.type=h,_},B.createRef=function(){return{current:null}},B.forwardRef=function(h){return{$$typeof:s,render:h}},B.isValidElement=z,B.lazy=function(h){return{$$typeof:m,_payload:{_status:-1,_result:h},_init:E}},B.memo=function(h,_){return{$$typeof:c,type:h,compare:_===void 0?null:_}},B.startTransition=function(h){var _=N.transition;N.transition={};try{h()}finally{N.transition=_}},B.unstable_act=Z,B.useCallback=function(h,_){return O.current.useCallback(h,_)},B.useContext=function(h){return O.current.useContext(h)},B.useDebugValue=function(){},B.useDeferredValue=function(h){return O.current.useDeferredValue(h)},B.useEffect=function(h,_){return O.current.useEffect(h,_)},B.useId=function(){return O.current.useId()},B.useImperativeHandle=function(h,_,k){return O.current.useImperativeHandle(h,_,k)},B.useInsertionEffect=function(h,_){return O.current.useInsertionEffect(h,_)},B.useLayoutEffect=function(h,_){return O.current.useLayoutEffect(h,_)},B.useMemo=function(h,_){return O.current.useMemo(h,_)},B.useReducer=function(h,_,k){return O.current.useReducer(h,_,k)},B.useRef=function(h){return O.current.useRef(h)},B.useState=function(h){return O.current.useState(h)},B.useSyncExternalStore=function(h,_,k){return O.current.useSyncExternalStore(h,_,k)},B.useTransition=function(){return O.current.useTransition()},B.version="18.3.1",B}var dt={exports:{}};dt.exports;var Io;function ey(){return Io||(Io=1,dt.exports),dt.exports}fd();var hd=new Set(["componentName","view","itemId","mapItemId","sceneItemId"]),yd=class extends Wr{update(e,t){let[r]=t,o=e;Object.entries(r).forEach(([n,a])=>{hd.has(n)||a==="false"||a===!1||o.element.setAttribute(Ur(n),String(a))})}};zr(yd);var gd=Gr`arcgis-home{display:block}`,md={base:"esri-home"},bd=oo(eo),ar=class extends Qr{constructor(){super(...arguments),this.messages=ro(),this.viewModel=bd(this),this._calciteButton=no(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=to(()=>this.viewModel,"go"),this.arcgisPropertyChange=qr()("state"),this.arcgisReady=Jr()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=Xr}static{this.styles=gd}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let t=document.createElement("calcite-loader");t.inline=!0,t.label="",this._calciteButton.value.append(t)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:t}=this;t.state==="going-home"?t.cancelGo():t.go()}render(){let{messages:t,icon:r}=this,o=this.viewModel?.state,n=o==="going-home";return st`<div class=${jt(Mr(md.base,Nt.widget))}><calcite-button class=${jt(Nt.widgetButton)} .disabled=${o==="disabled"} .iconStart=${n?void 0:r??void 0} kind=neutral .label=${t.componentLabel} @click=${this._go} .scale=${n?"s":"m"} title=${(o==="going-home"?t.cancel:t.title)??Zr} ${ao(this._calciteButton)}></calcite-button></div>`}};Kr("arcgis-home",ar);export{ar as ArcgisHome};
|