@aceshooting/lyra-cdn 0.0.0-stage → 33.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +39 -2
- package/THIRD_PARTY_NOTICES.md +65 -0
- package/dist/accent-roles.css +1 -0
- package/dist/accents.css +1 -0
- package/dist/chunks/accordion-item.class-QQJTJCAL.js +14 -0
- package/dist/chunks/accordion.class-3TJIWGBU.js +3 -0
- package/dist/chunks/activity-feed.class-W3DIETK6.js +22 -0
- package/dist/chunks/agent-eval-dashboard.class-JUD75XYR.js +9 -0
- package/dist/chunks/agent-question.class-YWALCPRR.js +9 -0
- package/dist/chunks/agent-run.class-2KHBYA57.js +50 -0
- package/dist/chunks/agent-trace.class-UMHLHHVU.js +13 -0
- package/dist/chunks/agent-workspace.class-JDF2UZJ2.js +54 -0
- package/dist/chunks/alert.class-ZRNOQAPC.js +12 -0
- package/dist/chunks/animated-image.class-JVMX4IQU.js +17 -0
- package/dist/chunks/animation.class-SJ2SXRWA.js +1 -0
- package/dist/chunks/announcer-DVOE2WFB.js +1 -0
- package/dist/chunks/app-rail-group.class-IOUHPGUA.js +18 -0
- package/dist/chunks/app-rail-item.class-AZJEOHWP.js +1 -0
- package/dist/chunks/app-rail.class-XVOQNLUV.js +24 -0
- package/dist/chunks/approval-queue.class-TRNO7UBU.js +12 -0
- package/dist/chunks/archive-viewer.class-TJON7JRM.js +1 -0
- package/dist/chunks/artifact-panel.class-RPGPE4LI.js +45 -0
- package/dist/chunks/attachment-chip.class-PAU22ELR.js +1 -0
- package/dist/chunks/attachment-trigger.class-6Z7SFEEP.js +40 -0
- package/dist/chunks/audio-visualizer.class-LN7ET6N3.js +1 -0
- package/dist/chunks/av-player.class-4MPXTIIC.js +34 -0
- package/dist/chunks/avatar-group.class-Q4MDXABG.js +9 -0
- package/dist/chunks/avatar.class-UC2NECS6.js +9 -0
- package/dist/chunks/background-runs.class-YDEYAQK7.js +21 -0
- package/dist/chunks/badge.class-IZRA37EC.js +1 -0
- package/dist/chunks/bar-chart.class-2JHDDVOA.js +1 -0
- package/dist/chunks/bar-list.class-TFZQZJST.js +9 -0
- package/dist/chunks/box-plot.class-FDWQAZU6.js +66 -0
- package/dist/chunks/branch-picker.class-I77LCCWM.js +12 -0
- package/dist/chunks/breadcrumb-item.class-NNVN7WJR.js +1 -0
- package/dist/chunks/breadcrumb.class-OLTO4SVO.js +1 -0
- package/dist/chunks/browser-frame.class-LX4PPIC6.js +27 -0
- package/dist/chunks/bubble-chart.class-NP4KGNH2.js +1 -0
- package/dist/chunks/budget-meter.class-75UDTRG5.js +13 -0
- package/dist/chunks/button-group.class-TLY2ZBQP.js +1 -0
- package/dist/chunks/button.class-4MN2A64P.js +1 -0
- package/dist/chunks/calendar-viewer.class-KE4MOEPN.js +1 -0
- package/dist/chunks/calendar.class-NTLY2HUJ.js +2 -0
- package/dist/chunks/callout.class-KOBF76DF.js +13 -0
- package/dist/chunks/card.class-BOYDF22F.js +1 -0
- package/dist/chunks/carousel-item.class-L6TPZ25O.js +1 -0
- package/dist/chunks/carousel.class-CVURHQLE.js +26 -0
- package/dist/chunks/category-bar.class-A4L2QNLD.js +14 -0
- package/dist/chunks/change-review.class-5HIW3BF3.js +15 -0
- package/dist/chunks/chart-3d.class-YDT6MOMJ.js +39 -0
- package/dist/chunks/chart-spatial-data-NBSAQJPD.js +2 -0
- package/dist/chunks/chart-sync-CYSER4UT.js +1 -0
- package/dist/chunks/chart.class-DDAMNWHN.js +1 -0
- package/dist/chunks/chat-composer.class-RLA3ZACN.js +28 -0
- package/dist/chunks/chat-message.class-GYRUWTDS.js +36 -0
- package/dist/chunks/chat-viewport.class-72QQV6IV.js +13 -0
- package/dist/chunks/checkbox-group.class-ICM5UOJP.js +1 -0
- package/dist/chunks/checkbox.class-Q3K7IWU4.js +1 -0
- package/dist/chunks/checkpoint.class-UEUPFBAQ.js +28 -0
- package/dist/chunks/chip-group.class-L75VGSPI.js +1 -0
- package/dist/chunks/chip.class-DDMES33F.js +1 -0
- package/dist/chunks/chord.class-XNITFJXI.js +5 -0
- package/dist/chunks/choropleth.class-H6DRSFZJ.js +1 -0
- package/dist/chunks/chunk-22XNCUCW.js +1 -0
- package/dist/chunks/chunk-26MS46PV.js +1 -0
- package/dist/chunks/chunk-2BBI7M75.js +1 -0
- package/dist/chunks/chunk-2CH7YZRL.js +4 -0
- package/dist/chunks/chunk-2GWBSIY7.js +1 -0
- package/dist/chunks/chunk-2HHGGW2U.js +1 -0
- package/dist/chunks/chunk-2JMEKYWD.js +1 -0
- package/dist/chunks/chunk-2KSQKG5V.js +1 -0
- package/dist/chunks/chunk-2MJHMCYK.js +1 -0
- package/dist/chunks/chunk-2N62LETQ.js +1 -0
- package/dist/chunks/chunk-2OELKZ6S.js +82 -0
- package/dist/chunks/chunk-2POOYUWS.js +5 -0
- package/dist/chunks/chunk-2RJSNPGI.js +4 -0
- package/dist/chunks/chunk-2U2DKKAJ.js +1 -0
- package/dist/chunks/chunk-2V6V3ZQV.js +1 -0
- package/dist/chunks/chunk-2WVGFBNL.js +1 -0
- package/dist/chunks/chunk-2WXXKPUW.js +1 -0
- package/dist/chunks/chunk-2XUGZVLQ.js +1 -0
- package/dist/chunks/chunk-32IK33EM.js +1 -0
- package/dist/chunks/chunk-32UCFJLK.js +1 -0
- package/dist/chunks/chunk-33UOO5JQ.js +1 -0
- package/dist/chunks/chunk-34M5HC53.js +1 -0
- package/dist/chunks/chunk-3AZXZUWI.js +1 -0
- package/dist/chunks/chunk-3B5CNRFC.js +1 -0
- package/dist/chunks/chunk-3CEWOZEG.js +3 -0
- package/dist/chunks/chunk-3CLMBMQL.js +1 -0
- package/dist/chunks/chunk-3EGAV5VK.js +1 -0
- package/dist/chunks/chunk-3GVZW6O4.js +1 -0
- package/dist/chunks/chunk-3HGKUVDX.js +1 -0
- package/dist/chunks/chunk-3HP7ZF3Z.js +1 -0
- package/dist/chunks/chunk-3KFGHQIW.js +25 -0
- package/dist/chunks/chunk-3LZ3G4LQ.js +1 -0
- package/dist/chunks/chunk-3NDOB5KI.js +11 -0
- package/dist/chunks/chunk-3O6SR5DE.js +8 -0
- package/dist/chunks/chunk-3VGB4YSQ.js +1 -0
- package/dist/chunks/chunk-3WSZLXI3.js +21 -0
- package/dist/chunks/chunk-3Z4JTDQE.js +74 -0
- package/dist/chunks/chunk-43JJVC4Y.js +1 -0
- package/dist/chunks/chunk-447JFZVE.js +1 -0
- package/dist/chunks/chunk-44UP75KF.js +1 -0
- package/dist/chunks/chunk-47NA355M.js +1 -0
- package/dist/chunks/chunk-47UCUOZA.js +1 -0
- package/dist/chunks/chunk-4BU3QW2I.js +1 -0
- package/dist/chunks/chunk-4DGNOLGC.js +1 -0
- package/dist/chunks/chunk-4FLREGZM.js +1 -0
- package/dist/chunks/chunk-4HBBNYPU.js +1 -0
- package/dist/chunks/chunk-4HLN2JNM.js +1 -0
- package/dist/chunks/chunk-4I73X3XX.js +1 -0
- package/dist/chunks/chunk-4IZLDM76.js +1 -0
- package/dist/chunks/chunk-4LTUIJ3G.js +1 -0
- package/dist/chunks/chunk-4MKUE3GN.js +1 -0
- package/dist/chunks/chunk-4O7AAJWV.js +26 -0
- package/dist/chunks/chunk-4QBXZ5BM.js +1 -0
- package/dist/chunks/chunk-4QG5Y44P.js +1 -0
- package/dist/chunks/chunk-4RMGRTHH.js +1 -0
- package/dist/chunks/chunk-4VZYY6B7.js +0 -0
- package/dist/chunks/chunk-52KZYK6Q.js +1 -0
- package/dist/chunks/chunk-5427UHWC.js +12 -0
- package/dist/chunks/chunk-55GU3MXG.js +14 -0
- package/dist/chunks/chunk-572XGZZ5.js +1 -0
- package/dist/chunks/chunk-5ABX2WSA.js +14 -0
- package/dist/chunks/chunk-5AFUYAAF.js +1 -0
- package/dist/chunks/chunk-5ES6C332.js +1 -0
- package/dist/chunks/chunk-5GGJSTOJ.js +1 -0
- package/dist/chunks/chunk-5GZCQCDN.js +1 -0
- package/dist/chunks/chunk-5JKTCQAF.js +1 -0
- package/dist/chunks/chunk-5LD7TNKP.js +1 -0
- package/dist/chunks/chunk-5NRIHGYU.js +1 -0
- package/dist/chunks/chunk-5PNMEGOF.js +1 -0
- package/dist/chunks/chunk-5T6W5AEE.js +1 -0
- package/dist/chunks/chunk-5TFWWAYA.js +1 -0
- package/dist/chunks/chunk-63566KPS.js +1 -0
- package/dist/chunks/chunk-63D3NJTI.js +1 -0
- package/dist/chunks/chunk-64LHUFN2.js +1 -0
- package/dist/chunks/chunk-64UM73EQ.js +1 -0
- package/dist/chunks/chunk-663KPBUU.js +21 -0
- package/dist/chunks/chunk-6C34RIPL.js +1 -0
- package/dist/chunks/chunk-6MPQ3X33.js +36 -0
- package/dist/chunks/chunk-6QJPXVQQ.js +1 -0
- package/dist/chunks/chunk-6V63RBPQ.js +1 -0
- package/dist/chunks/chunk-6VD2DS33.js +37 -0
- package/dist/chunks/chunk-6YZJHDDG.js +0 -0
- package/dist/chunks/chunk-6Z42KKFI.js +1 -0
- package/dist/chunks/chunk-73OCJEUD.js +18 -0
- package/dist/chunks/chunk-74IRLMMQ.js +1 -0
- package/dist/chunks/chunk-75NZLHXG.js +1 -0
- package/dist/chunks/chunk-7AMXIXSH.js +1 -0
- package/dist/chunks/chunk-7IARSJTT.js +27 -0
- package/dist/chunks/chunk-7JP4RLLR.js +1 -0
- package/dist/chunks/chunk-7N7J53ZD.js +1 -0
- package/dist/chunks/chunk-7VF3P6ID.js +1 -0
- package/dist/chunks/chunk-7YIBMRDK.js +1 -0
- package/dist/chunks/chunk-7YMQGPNL.js +1 -0
- package/dist/chunks/chunk-7ZEV5FWS.js +17 -0
- package/dist/chunks/chunk-A6LP23R4.js +1 -0
- package/dist/chunks/chunk-A6ZORMLN.js +1 -0
- package/dist/chunks/chunk-ACA4VONN.js +1 -0
- package/dist/chunks/chunk-AGGZ3MBQ.js +1 -0
- package/dist/chunks/chunk-AJHSEOC3.js +1 -0
- package/dist/chunks/chunk-ALOKFZ76.js +57 -0
- package/dist/chunks/chunk-AM5V5QEX.js +1 -0
- package/dist/chunks/chunk-ANBF274Q.js +1 -0
- package/dist/chunks/chunk-AOHLWLQM.js +1 -0
- package/dist/chunks/chunk-AT4JHXF6.js +47 -0
- package/dist/chunks/chunk-AVZPWRZU.js +1 -0
- package/dist/chunks/chunk-AY55RGQK.js +6 -0
- package/dist/chunks/chunk-AYDPHUAX.js +1 -0
- package/dist/chunks/chunk-AYJGGEBA.js +1 -0
- package/dist/chunks/chunk-B6GAZN5X.js +1 -0
- package/dist/chunks/chunk-BDETGDBF.js +1 -0
- package/dist/chunks/chunk-BFMOZL5O.js +1 -0
- package/dist/chunks/chunk-BFT2W23T.js +1 -0
- package/dist/chunks/chunk-BJSAEYK3.js +1 -0
- package/dist/chunks/chunk-BL2Z2MJN.js +83 -0
- package/dist/chunks/chunk-BL7EC2AS.js +1 -0
- package/dist/chunks/chunk-BQTPD2AJ.js +1 -0
- package/dist/chunks/chunk-BUTCVOEQ.js +1 -0
- package/dist/chunks/chunk-BY636SMQ.js +1 -0
- package/dist/chunks/chunk-BY7GVILL.js +1 -0
- package/dist/chunks/chunk-BYJSQYRN.js +1 -0
- package/dist/chunks/chunk-C337CGQG.js +1 -0
- package/dist/chunks/chunk-C6BTEIPF.js +64 -0
- package/dist/chunks/chunk-CBTNPB3Y.js +36 -0
- package/dist/chunks/chunk-CGUPP4BQ.js +1 -0
- package/dist/chunks/chunk-CHE5UV3U.js +26 -0
- package/dist/chunks/chunk-CMUORJBL.js +1 -0
- package/dist/chunks/chunk-CN2FTU25.js +3 -0
- package/dist/chunks/chunk-COHDKIWJ.js +1 -0
- package/dist/chunks/chunk-CORI3FSS.js +1 -0
- package/dist/chunks/chunk-CP7N27S7.js +1 -0
- package/dist/chunks/chunk-CPRTONZ3.js +1 -0
- package/dist/chunks/chunk-CR23WLJQ.js +1 -0
- package/dist/chunks/chunk-CSV23ONU.js +1 -0
- package/dist/chunks/chunk-CT2EQPYB.js +1 -0
- package/dist/chunks/chunk-CVAEW7JJ.js +1 -0
- package/dist/chunks/chunk-CYNW7F6K.js +1 -0
- package/dist/chunks/chunk-CZM5BBN2.js +1 -0
- package/dist/chunks/chunk-CZO6UKTU.js +1 -0
- package/dist/chunks/chunk-D2PJK46W.js +1 -0
- package/dist/chunks/chunk-D2SJJB5I.js +1 -0
- package/dist/chunks/chunk-D3C3UDTS.js +1 -0
- package/dist/chunks/chunk-D5U3K2E7.js +1 -0
- package/dist/chunks/chunk-D7CW4PXK.js +32 -0
- package/dist/chunks/chunk-DA3VX2RO.js +1 -0
- package/dist/chunks/chunk-DA4DTS26.js +1 -0
- package/dist/chunks/chunk-DCLACGZW.js +1 -0
- package/dist/chunks/chunk-DEFBHDIB.js +1 -0
- package/dist/chunks/chunk-DEHO557B.js +1 -0
- package/dist/chunks/chunk-DMTQAWEJ.js +1 -0
- package/dist/chunks/chunk-DXHC3OY6.js +13 -0
- package/dist/chunks/chunk-E3D5VGRJ.js +1 -0
- package/dist/chunks/chunk-E4ZZLWV4.js +1 -0
- package/dist/chunks/chunk-E7SGLHEE.js +1 -0
- package/dist/chunks/chunk-EAADOA33.js +15 -0
- package/dist/chunks/chunk-EBAKIACC.js +1 -0
- package/dist/chunks/chunk-EDV6BLBD.js +1 -0
- package/dist/chunks/chunk-EGJATIB6.js +1 -0
- package/dist/chunks/chunk-EHOJ7YCN.js +1 -0
- package/dist/chunks/chunk-EHYV2MX6.js +14 -0
- package/dist/chunks/chunk-EJSMR7JS.js +1 -0
- package/dist/chunks/chunk-EKG7ZNTK.js +1 -0
- package/dist/chunks/chunk-EN3HJQOP.js +1 -0
- package/dist/chunks/chunk-ENQS5KAZ.js +1 -0
- package/dist/chunks/chunk-EPCZZM2T.js +1 -0
- package/dist/chunks/chunk-EQQWQHBM.js +1 -0
- package/dist/chunks/chunk-EY5CISAR.js +6 -0
- package/dist/chunks/chunk-F335SOCY.js +1 -0
- package/dist/chunks/chunk-F33HF7D2.js +1 -0
- package/dist/chunks/chunk-FBPNOOMY.js +1 -0
- package/dist/chunks/chunk-FDQP4QQZ.js +1 -0
- package/dist/chunks/chunk-FECUUR3M.js +1 -0
- package/dist/chunks/chunk-FGVF2QID.js +14 -0
- package/dist/chunks/chunk-FH3ZM5XY.js +5 -0
- package/dist/chunks/chunk-FHC6MDBQ.js +1 -0
- package/dist/chunks/chunk-FHCXQD42.js +25 -0
- package/dist/chunks/chunk-FHEXSVUO.js +1 -0
- package/dist/chunks/chunk-FHITMZSI.js +1 -0
- package/dist/chunks/chunk-FKBNZDD7.js +44 -0
- package/dist/chunks/chunk-FMJBEREI.js +12 -0
- package/dist/chunks/chunk-FMKKFAOH.js +1 -0
- package/dist/chunks/chunk-FOABE6ZB.js +1 -0
- package/dist/chunks/chunk-FSEC3GHJ.js +1 -0
- package/dist/chunks/chunk-FSNXLFDJ.js +1 -0
- package/dist/chunks/chunk-FSVHLHIT.js +1 -0
- package/dist/chunks/chunk-FWTBOJRS.js +1 -0
- package/dist/chunks/chunk-FY3YWTCF.js +1 -0
- package/dist/chunks/chunk-FZNZYJRG.js +1 -0
- package/dist/chunks/chunk-FZTW7LID.js +1 -0
- package/dist/chunks/chunk-G6XBJVZN.js +1 -0
- package/dist/chunks/chunk-GBF4AHIG.js +1 -0
- package/dist/chunks/chunk-GBPPMZXX.js +12 -0
- package/dist/chunks/chunk-GG6D77XO.js +20 -0
- package/dist/chunks/chunk-GGSUOPBU.js +1 -0
- package/dist/chunks/chunk-GMPUTEBU.js +1 -0
- package/dist/chunks/chunk-GO5FDNGZ.js +29 -0
- package/dist/chunks/chunk-GQQLHK37.js +1 -0
- package/dist/chunks/chunk-GS3SNJSH.js +1 -0
- package/dist/chunks/chunk-GT6NF7FZ.js +1 -0
- package/dist/chunks/chunk-GUP74TZL.js +1 -0
- package/dist/chunks/chunk-GW3IPDNG.js +1 -0
- package/dist/chunks/chunk-GWK6YXNE.js +1 -0
- package/dist/chunks/chunk-H2ZMVF42.js +1 -0
- package/dist/chunks/chunk-H62CTJMK.js +1 -0
- package/dist/chunks/chunk-H7QRF3VI.js +13 -0
- package/dist/chunks/chunk-HBLKVMMS.js +1 -0
- package/dist/chunks/chunk-HCFVFABH.js +1 -0
- package/dist/chunks/chunk-HEIK7X4U.js +1 -0
- package/dist/chunks/chunk-HELIEOVI.js +1 -0
- package/dist/chunks/chunk-HIDIAJTO.js +11 -0
- package/dist/chunks/chunk-HJM3VV3X.js +1 -0
- package/dist/chunks/chunk-HNILYHZT.js +1 -0
- package/dist/chunks/chunk-HOE7GLKQ.js +1 -0
- package/dist/chunks/chunk-HQ2AX6XY.js +1 -0
- package/dist/chunks/chunk-HRRMXG52.js +1 -0
- package/dist/chunks/chunk-I43LXZUP.js +20 -0
- package/dist/chunks/chunk-I4GPOH6E.js +1 -0
- package/dist/chunks/chunk-IE6AFNI6.js +1 -0
- package/dist/chunks/chunk-IERX6SOK.js +1 -0
- package/dist/chunks/chunk-IFDV4HWR.js +1 -0
- package/dist/chunks/chunk-IHHKAXNV.js +1 -0
- package/dist/chunks/chunk-IIQRBUEC.js +32 -0
- package/dist/chunks/chunk-IJ2AN2PR.js +1 -0
- package/dist/chunks/chunk-IQT3IIXF.js +30 -0
- package/dist/chunks/chunk-IRH2OYBM.js +1 -0
- package/dist/chunks/chunk-ITEKCROO.js +17 -0
- package/dist/chunks/chunk-IYCYTW25.js +1 -0
- package/dist/chunks/chunk-IYJATAHI.js +1 -0
- package/dist/chunks/chunk-J24TYMEI.js +1 -0
- package/dist/chunks/chunk-J2SUHUFZ.js +1 -0
- package/dist/chunks/chunk-J2TS4IBA.js +1 -0
- package/dist/chunks/chunk-J5OZZS24.js +1 -0
- package/dist/chunks/chunk-JCQRYWQN.js +2 -0
- package/dist/chunks/chunk-JCR7AUGN.js +1 -0
- package/dist/chunks/chunk-JFDY4CIA.js +1 -0
- package/dist/chunks/chunk-JI2LOU2Q.js +37 -0
- package/dist/chunks/chunk-JJXEQFM4.js +1 -0
- package/dist/chunks/chunk-JKL737HR.js +1 -0
- package/dist/chunks/chunk-JNB4S2FJ.js +1 -0
- package/dist/chunks/chunk-JO2S7Y7Z.js +1 -0
- package/dist/chunks/chunk-JQPRVZA3.js +1 -0
- package/dist/chunks/chunk-JQY5SX5R.js +1 -0
- package/dist/chunks/chunk-JTGCA7JE.js +10 -0
- package/dist/chunks/chunk-JU6UYDBK.js +1 -0
- package/dist/chunks/chunk-JVOILMDD.js +1 -0
- package/dist/chunks/chunk-JVOVG6SR.js +1 -0
- package/dist/chunks/chunk-JVZ26WRM.js +1 -0
- package/dist/chunks/chunk-JWGMK54E.js +0 -0
- package/dist/chunks/chunk-JZRWF7SV.js +1 -0
- package/dist/chunks/chunk-K3TGAVRE.js +1 -0
- package/dist/chunks/chunk-KKP6NH4M.js +1 -0
- package/dist/chunks/chunk-KLAMX2AK.js +1 -0
- package/dist/chunks/chunk-KMEVGBVM.js +1 -0
- package/dist/chunks/chunk-KN7PQ2NG.js +14 -0
- package/dist/chunks/chunk-KPB62ASL.js +1 -0
- package/dist/chunks/chunk-KSGONSTQ.js +1 -0
- package/dist/chunks/chunk-KUTB5XAE.js +1 -0
- package/dist/chunks/chunk-KV5EA3VA.js +31 -0
- package/dist/chunks/chunk-LBD36U6I.js +10 -0
- package/dist/chunks/chunk-LEDCMWT7.js +1 -0
- package/dist/chunks/chunk-LF23D7NZ.js +1 -0
- package/dist/chunks/chunk-LG433UEO.js +1 -0
- package/dist/chunks/chunk-LGLYOAAH.js +1 -0
- package/dist/chunks/chunk-LH4NPB7C.js +17 -0
- package/dist/chunks/chunk-LIK3XPAA.js +1 -0
- package/dist/chunks/chunk-LKFMXDRF.js +9 -0
- package/dist/chunks/chunk-LKJSF4EL.js +1 -0
- package/dist/chunks/chunk-LNTNQCGT.js +22 -0
- package/dist/chunks/chunk-LP5CZC5A.js +154 -0
- package/dist/chunks/chunk-LQRWTBCJ.js +1 -0
- package/dist/chunks/chunk-LTQOZLV3.js +1 -0
- package/dist/chunks/chunk-LWRRZGB2.js +1 -0
- package/dist/chunks/chunk-LYRJMDVM.js +38 -0
- package/dist/chunks/chunk-M3K6BXUV.js +1 -0
- package/dist/chunks/chunk-M4D3KFCO.js +1 -0
- package/dist/chunks/chunk-M6GTMDIY.js +19 -0
- package/dist/chunks/chunk-MDVVFS4A.js +1 -0
- package/dist/chunks/chunk-MGE5GHJU.js +1 -0
- package/dist/chunks/chunk-MHTTI7OW.js +1 -0
- package/dist/chunks/chunk-MISTOUAC.js +82 -0
- package/dist/chunks/chunk-MM35T5DF.js +28 -0
- package/dist/chunks/chunk-MM5JS5OO.js +1 -0
- package/dist/chunks/chunk-MNABI7LU.js +59 -0
- package/dist/chunks/chunk-MNJDXYAM.js +14 -0
- package/dist/chunks/chunk-MNK2M6M4.js +19 -0
- package/dist/chunks/chunk-MQD7W2IC.js +1 -0
- package/dist/chunks/chunk-MRVJ5TYC.js +1 -0
- package/dist/chunks/chunk-MXGFXKQC.js +1 -0
- package/dist/chunks/chunk-MYVZYT72.js +1 -0
- package/dist/chunks/chunk-MZCLIVAU.js +42 -0
- package/dist/chunks/chunk-N3SLYE7N.js +5 -0
- package/dist/chunks/chunk-N4SM4L4G.js +25 -0
- package/dist/chunks/chunk-NE47UFEJ.js +1 -0
- package/dist/chunks/chunk-NE65SWWE.js +1 -0
- package/dist/chunks/chunk-NF6FYAQW.js +1 -0
- package/dist/chunks/chunk-NHLOYHBZ.js +1 -0
- package/dist/chunks/chunk-NIUZMMMP.js +1 -0
- package/dist/chunks/chunk-NPDEYEMQ.js +1 -0
- package/dist/chunks/chunk-NUFRM6SI.js +0 -0
- package/dist/chunks/chunk-NUSYJATF.js +1 -0
- package/dist/chunks/chunk-NWVMNFLB.js +31 -0
- package/dist/chunks/chunk-NYPKLHXJ.js +13 -0
- package/dist/chunks/chunk-NZ4AFJOB.js +1 -0
- package/dist/chunks/chunk-O2MKCPYI.js +1 -0
- package/dist/chunks/chunk-O2T7X3BV.js +27 -0
- package/dist/chunks/chunk-O3PZG44H.js +1 -0
- package/dist/chunks/chunk-O4JTT6QN.js +1 -0
- package/dist/chunks/chunk-O4NFRBN5.js +1 -0
- package/dist/chunks/chunk-O7SAQOPI.js +1 -0
- package/dist/chunks/chunk-OHAD3FCV.js +1 -0
- package/dist/chunks/chunk-OJG4CY56.js +15 -0
- package/dist/chunks/chunk-OJP46YHH.js +4 -0
- package/dist/chunks/chunk-OLFDREFE.js +1 -0
- package/dist/chunks/chunk-ONTV26D7.js +1 -0
- package/dist/chunks/chunk-OP7ARFKR.js +1 -0
- package/dist/chunks/chunk-OQNEE7LX.js +1 -0
- package/dist/chunks/chunk-OUV7KSOP.js +1 -0
- package/dist/chunks/chunk-OWYWVR2O.js +1 -0
- package/dist/chunks/chunk-P5SHYWUS.js +1 -0
- package/dist/chunks/chunk-PASGSUGZ.js +1 -0
- package/dist/chunks/chunk-PGL4UQXK.js +1 -0
- package/dist/chunks/chunk-PHMSXPLK.js +4 -0
- package/dist/chunks/chunk-PJ72NB2H.js +1 -0
- package/dist/chunks/chunk-PO7I65U7.js +1 -0
- package/dist/chunks/chunk-POFTB33M.js +21 -0
- package/dist/chunks/chunk-PQJCLAD7.js +1 -0
- package/dist/chunks/chunk-PROPAUSV.js +1 -0
- package/dist/chunks/chunk-PU5VTCB3.js +1 -0
- package/dist/chunks/chunk-PU6CXUNJ.js +2 -0
- package/dist/chunks/chunk-PVYXJDUG.js +1 -0
- package/dist/chunks/chunk-PYZTDC3A.js +8 -0
- package/dist/chunks/chunk-PZ2KUPDO.js +1 -0
- package/dist/chunks/chunk-Q4FMITV7.js +1 -0
- package/dist/chunks/chunk-Q6TJSRDF.js +1 -0
- package/dist/chunks/chunk-QCM7NVLU.js +1 -0
- package/dist/chunks/chunk-QDIC72BY.js +6 -0
- package/dist/chunks/chunk-QE3SIMKA.js +15 -0
- package/dist/chunks/chunk-QE4FNDWW.js +17 -0
- package/dist/chunks/chunk-QIYCMK2Q.js +1 -0
- package/dist/chunks/chunk-QOOQMUEJ.js +2 -0
- package/dist/chunks/chunk-QRTG3F4F.js +1 -0
- package/dist/chunks/chunk-QSRMNZNK.js +1 -0
- package/dist/chunks/chunk-QWEVB7QR.js +1 -0
- package/dist/chunks/chunk-QZ7AVTED.js +1 -0
- package/dist/chunks/chunk-R3ZA2YUH.js +1 -0
- package/dist/chunks/chunk-R4PKLCQP.js +1 -0
- package/dist/chunks/chunk-R54QPLJ7.js +1 -0
- package/dist/chunks/chunk-R6ZW7GHW.js +1 -0
- package/dist/chunks/chunk-RDSMOXJD.js +1 -0
- package/dist/chunks/chunk-RDTKEL46.js +1 -0
- package/dist/chunks/chunk-REFNQCPK.js +12 -0
- package/dist/chunks/chunk-REOFE46N.js +1 -0
- package/dist/chunks/chunk-RNCRO7PW.js +1 -0
- package/dist/chunks/chunk-RRBNRXZW.js +1 -0
- package/dist/chunks/chunk-RTWAT4DT.js +2 -0
- package/dist/chunks/chunk-RTZ7B2EH.js +1 -0
- package/dist/chunks/chunk-RVITBUU6.js +1 -0
- package/dist/chunks/chunk-RXMSI3Y6.js +1 -0
- package/dist/chunks/chunk-RXPLYD4P.js +67 -0
- package/dist/chunks/chunk-RXVKNUZ5.js +1 -0
- package/dist/chunks/chunk-S56LOJ4B.js +1 -0
- package/dist/chunks/chunk-S5RHQP2W.js +1 -0
- package/dist/chunks/chunk-SB42JUUY.js +10 -0
- package/dist/chunks/chunk-SEFJRNGR.js +3 -0
- package/dist/chunks/chunk-SIU7CGB3.js +1 -0
- package/dist/chunks/chunk-SMBJ5WYS.js +1 -0
- package/dist/chunks/chunk-SNET54ZU.js +0 -0
- package/dist/chunks/chunk-SSLH76L7.js +1 -0
- package/dist/chunks/chunk-SWG4IM7R.js +1 -0
- package/dist/chunks/chunk-SYG6XMW4.js +1 -0
- package/dist/chunks/chunk-SYS7C4PF.js +9 -0
- package/dist/chunks/chunk-T2RUXH53.js +1 -0
- package/dist/chunks/chunk-T2ZLMA43.js +1 -0
- package/dist/chunks/chunk-TDLXFMNH.js +0 -0
- package/dist/chunks/chunk-TH54GLBQ.js +1 -0
- package/dist/chunks/chunk-TO3Y7UQS.js +1 -0
- package/dist/chunks/chunk-TQHRNXS4.js +2 -0
- package/dist/chunks/chunk-TQSJCN5E.js +1 -0
- package/dist/chunks/chunk-TRCULNM3.js +28 -0
- package/dist/chunks/chunk-TWSBTYTU.js +1 -0
- package/dist/chunks/chunk-U6HFL7A7.js +1 -0
- package/dist/chunks/chunk-UDPPJDWT.js +9 -0
- package/dist/chunks/chunk-UDRXM6B3.js +1 -0
- package/dist/chunks/chunk-UK7QW5GE.js +1 -0
- package/dist/chunks/chunk-UKOOP7SS.js +1 -0
- package/dist/chunks/chunk-UL2EEJOU.js +1 -0
- package/dist/chunks/chunk-UL6W2E4T.js +1 -0
- package/dist/chunks/chunk-ULKZXAM5.js +1 -0
- package/dist/chunks/chunk-UNLIU4L5.js +1 -0
- package/dist/chunks/chunk-URHGY3TD.js +1 -0
- package/dist/chunks/chunk-UTM46NXE.js +1 -0
- package/dist/chunks/chunk-UZKWY3JE.js +1 -0
- package/dist/chunks/chunk-V2B4ISQF.js +1 -0
- package/dist/chunks/chunk-V5JVMTQF.js +3 -0
- package/dist/chunks/chunk-V7ZVCKZR.js +1 -0
- package/dist/chunks/chunk-VFS3C4WO.js +1 -0
- package/dist/chunks/chunk-VQAZGI6X.js +1 -0
- package/dist/chunks/chunk-VRBQVFBZ.js +1 -0
- package/dist/chunks/chunk-VSNJ77YA.js +1 -0
- package/dist/chunks/chunk-VT7TGEIV.js +1 -0
- package/dist/chunks/chunk-VVOMS3RS.js +1 -0
- package/dist/chunks/chunk-W27FHN37.js +1 -0
- package/dist/chunks/chunk-W2Q5B22N.js +1 -0
- package/dist/chunks/chunk-WAKJDOXV.js +1 -0
- package/dist/chunks/chunk-WBECN74C.js +1 -0
- package/dist/chunks/chunk-WC4AUVAR.js +1 -0
- package/dist/chunks/chunk-WFFW3XU3.js +31 -0
- package/dist/chunks/chunk-WK4ZGZU2.js +1 -0
- package/dist/chunks/chunk-WMZZHNCY.js +1 -0
- package/dist/chunks/chunk-WQBLUFYN.js +1 -0
- package/dist/chunks/chunk-WSSAZ5G7.js +1 -0
- package/dist/chunks/chunk-WT4V2XEM.js +1 -0
- package/dist/chunks/chunk-WU4N5UHB.js +9 -0
- package/dist/chunks/chunk-WV7EKGZO.js +1 -0
- package/dist/chunks/chunk-WVZNJZMH.js +11 -0
- package/dist/chunks/chunk-X4QWXLSG.js +4 -0
- package/dist/chunks/chunk-X5E3FMMR.js +1 -0
- package/dist/chunks/chunk-X6RC667W.js +2 -0
- package/dist/chunks/chunk-X7SFGVWR.js +1 -0
- package/dist/chunks/chunk-XAEFRBXF.js +8 -0
- package/dist/chunks/chunk-XCSEMP5I.js +1 -0
- package/dist/chunks/chunk-XHOHYCRV.js +1 -0
- package/dist/chunks/chunk-XIWT65ZD.js +1 -0
- package/dist/chunks/chunk-XMNCWOKP.js +1 -0
- package/dist/chunks/chunk-XT7BZEWG.js +1 -0
- package/dist/chunks/chunk-XVJJ33GD.js +1 -0
- package/dist/chunks/chunk-XVZ4KBFX.js +1 -0
- package/dist/chunks/chunk-XWB2NT26.js +1 -0
- package/dist/chunks/chunk-XYHOA2VI.js +1 -0
- package/dist/chunks/chunk-Y4H2IIZS.js +1 -0
- package/dist/chunks/chunk-Y5NLVFCT.js +1 -0
- package/dist/chunks/chunk-YAEJ6MML.js +41 -0
- package/dist/chunks/chunk-YAEPLSC2.js +9 -0
- package/dist/chunks/chunk-YAGWZALW.js +1 -0
- package/dist/chunks/chunk-YBLCWFPT.js +1 -0
- package/dist/chunks/chunk-YBUWSTZE.js +1 -0
- package/dist/chunks/chunk-YGK7SVB4.js +1 -0
- package/dist/chunks/chunk-YJ3LLVT3.js +1 -0
- package/dist/chunks/chunk-YKIFFZ3J.js +1 -0
- package/dist/chunks/chunk-YN5IXUXK.js +1 -0
- package/dist/chunks/chunk-YNMFL6SJ.js +1 -0
- package/dist/chunks/chunk-YOF6G5B6.js +1 -0
- package/dist/chunks/chunk-YOHC7PXJ.js +1 -0
- package/dist/chunks/chunk-YPVGWQK7.js +29 -0
- package/dist/chunks/chunk-YQOGPXWW.js +1 -0
- package/dist/chunks/chunk-YRWS5F6Q.js +15 -0
- package/dist/chunks/chunk-YVOGDIOW.js +1 -0
- package/dist/chunks/chunk-YVV6QKXB.js +19 -0
- package/dist/chunks/chunk-YWD6QGZX.js +1 -0
- package/dist/chunks/chunk-YWYMHJ5S.js +1 -0
- package/dist/chunks/chunk-Z3KK2QDW.js +17 -0
- package/dist/chunks/chunk-Z3NZDZAK.js +1 -0
- package/dist/chunks/chunk-Z632AFNZ.js +1 -0
- package/dist/chunks/chunk-Z7WGANHK.js +1 -0
- package/dist/chunks/chunk-ZBL7UKWW.js +1 -0
- package/dist/chunks/chunk-ZCBLW3RZ.js +15 -0
- package/dist/chunks/chunk-ZD6IWVN5.js +1 -0
- package/dist/chunks/chunk-ZDG44NX2.js +1 -0
- package/dist/chunks/chunk-ZFXCA2EW.js +1 -0
- package/dist/chunks/chunk-ZK7AY7SZ.js +1 -0
- package/dist/chunks/chunk-ZKFTYDJE.js +11 -0
- package/dist/chunks/chunk-ZKXMVPXH.js +1 -0
- package/dist/chunks/chunk-ZMRZS6LX.js +1 -0
- package/dist/chunks/chunk-ZMURF4M6.js +1 -0
- package/dist/chunks/chunk-ZOZBMAAN.js +11 -0
- package/dist/chunks/chunk-ZPKMCOQD.js +1 -0
- package/dist/chunks/chunk-ZPTUI2BV.js +1 -0
- package/dist/chunks/chunk-ZS6YWVVJ.js +15 -0
- package/dist/chunks/chunk-ZV2BM64C.js +37 -0
- package/dist/chunks/chunk-ZVB4ZXSV.js +1 -0
- package/dist/chunks/chunk-ZVJAZT3K.js +1 -0
- package/dist/chunks/chunk-ZWAEXQZN.js +1 -0
- package/dist/chunks/chunk-ZWFD2OT5.js +52 -0
- package/dist/chunks/chunk-ZY4EI27T.js +1 -0
- package/dist/chunks/chunk-inspector.class-7HP4VGKC.js +1 -0
- package/dist/chunks/citation-badge.class-Q67ZSHRU.js +1 -0
- package/dist/chunks/claim-evidence.class-JU5BVM5J.js +1 -0
- package/dist/chunks/code-block-core.class-SKAIMQS6.js +1 -0
- package/dist/chunks/code-block.class-FYJZXUH5.js +1 -0
- package/dist/chunks/code-editor.class-WX7D6YMQ.js +23 -0
- package/dist/chunks/color-picker.class-ILOTXUX6.js +49 -0
- package/dist/chunks/combobox-catalog-HUTQD75K.js +1 -0
- package/dist/chunks/combobox.class-KSGXRRIP.js +1 -0
- package/dist/chunks/command-palette.class-OQOSPFQT.js +29 -0
- package/dist/chunks/commit-card.class-YOZWNFRK.js +40 -0
- package/dist/chunks/community-card.class-HARLY2US.js +1 -0
- package/dist/chunks/compare-panel.class-GZPQTNLL.js +26 -0
- package/dist/chunks/condition-builder.class-4ZYWB6FB.js +53 -0
- package/dist/chunks/confirm-bar.class-MGVONPL5.js +1 -0
- package/dist/chunks/connector-manager.class-6A264VFQ.js +22 -0
- package/dist/chunks/contact-viewer.class-HHIW7OCU.js +9 -0
- package/dist/chunks/context-inspector.class-JXBDPTVT.js +33 -0
- package/dist/chunks/context-menu.class-AEQLHBCB.js +6 -0
- package/dist/chunks/context-meter.class-5S5XPCIN.js +41 -0
- package/dist/chunks/control-group.class-4A2WLN52.js +1 -0
- package/dist/chunks/conversation-item.class-O5LDWQG3.js +31 -0
- package/dist/chunks/copy-button.class-FSKUVHQU.js +1 -0
- package/dist/chunks/counter.class-V5CTCNRZ.js +1 -0
- package/dist/chunks/country-picker.class-IXWHM5BV.js +1 -0
- package/dist/chunks/csv-viewer.class-FRC7SKXV.js +8 -0
- package/dist/chunks/currency-picker.class-A4R2NLNI.js +1 -0
- package/dist/chunks/dashboard-grid.class-LVMY46KX.js +11 -0
- package/dist/chunks/data-grid.class-AVSTVDDO.js +214 -0
- package/dist/chunks/dataset-viewer.class-VFUQ2IFV.js +13 -0
- package/dist/chunks/date-input.class-SDLPDCOX.js +46 -0
- package/dist/chunks/date-picker.class-NTNJ75OL.js +1 -0
- package/dist/chunks/details.class-OIDNOI3Q.js +1 -0
- package/dist/chunks/dialog.class-6G3PRXJ7.js +1 -0
- package/dist/chunks/diff-view.class-EFNJJ7DJ.js +23 -0
- package/dist/chunks/divider.class-R52ZO7DT.js +5 -0
- package/dist/chunks/dock-panel.class-IITPJF2E.js +13 -0
- package/dist/chunks/document-compare.class-OOCSLVYY.js +20 -0
- package/dist/chunks/document-library.class-D4XEHUOU.js +30 -0
- package/dist/chunks/document-preview.class-C5NKPPOU.js +1 -0
- package/dist/chunks/document-token-css.generated-ENJYCTTF.js +10 -0
- package/dist/chunks/document-viewer.class-ICSHDBZO.js +11 -0
- package/dist/chunks/docx-viewer.class-YEZW2AZZ.js +16 -0
- package/dist/chunks/doughnut-chart.class-6AFYZSJP.js +1 -0
- package/dist/chunks/drawer.class-CBERDAFN.js +1 -0
- package/dist/chunks/drilldown-panel.class-XRP4X5TP.js +45 -0
- package/dist/chunks/drop-zone.class-JC64NEMI.js +17 -0
- package/dist/chunks/dropdown-item.class-LV474IQX.js +1 -0
- package/dist/chunks/dropdown.class-KIKEAKRJ.js +1 -0
- package/dist/chunks/ebook-viewer.class-IHREUVAF.js +11 -0
- package/dist/chunks/email-viewer.class-R6CUOOEP.js +25 -0
- package/dist/chunks/embedding-explorer.class-TVI7KPT6.js +47 -0
- package/dist/chunks/emoji-picker.class-DYTJULND.js +42 -0
- package/dist/chunks/empty.class-SYWXOLEU.js +1 -0
- package/dist/chunks/entity-card.class-RQ6VFVFJ.js +1 -0
- package/dist/chunks/entity-chip.class-2UONKEZE.js +1 -0
- package/dist/chunks/entity-dossier.class-GIPTUMPI.js +27 -0
- package/dist/chunks/env-list.class-PPLCQYHR.js +26 -0
- package/dist/chunks/eval-dataset.class-YEGV2AIB.js +34 -0
- package/dist/chunks/eval-result.class-VAXGWMCF.js +14 -0
- package/dist/chunks/evaluation-run.class-U3NRQDLQ.js +47 -0
- package/dist/chunks/export-button.class-RZ5MH4DQ.js +13 -0
- package/dist/chunks/external-label-association-EK3BK25O.js +1 -0
- package/dist/chunks/file-icon.class-KYBT6IQ4.js +1 -0
- package/dist/chunks/file-input.class-CQUO5JZO.js +39 -0
- package/dist/chunks/file-tree.class-MG6WM64Y.js +6 -0
- package/dist/chunks/filter-bar.class-R3ETKFVN.js +46 -0
- package/dist/chunks/flag.class-Z25RDXP2.js +1 -0
- package/dist/chunks/flow-canvas.class-FWGJXIJJ.js +75 -0
- package/dist/chunks/flow-controls.class-KJHBTMRD.js +7 -0
- package/dist/chunks/flow-minimap.class-HC6TH2B6.js +18 -0
- package/dist/chunks/flow-node.class-BUZCHSLQ.js +23 -0
- package/dist/chunks/flow-run-status.class-TX56ZDDL.js +8 -0
- package/dist/chunks/format-bytes.class-XCKLEQSU.js +1 -0
- package/dist/chunks/format-date.class-ZZ7EWIRK.js +1 -0
- package/dist/chunks/format-number.class-37MB2H64.js +1 -0
- package/dist/chunks/funnel.class-3ICEYBNP.js +19 -0
- package/dist/chunks/gauge.class-3UION2VP.js +21 -0
- package/dist/chunks/generation-metrics.class-3C7ZB4E6.js +14 -0
- package/dist/chunks/geojson-viewer.class-4IQAT3CW.js +18 -0
- package/dist/chunks/graph-legend.class-RHGTTIQL.js +1 -0
- package/dist/chunks/graph-query-builder.class-BTNSMAVX.js +65 -0
- package/dist/chunks/graph-spatial-controller-IKW2OMUW.js +27 -0
- package/dist/chunks/graph.class-XM4JSDQW.js +1 -0
- package/dist/chunks/greycat-language-KJHNG54J.js +1 -0
- package/dist/chunks/grounding-summary.class-VFWZWBAL.js +1 -0
- package/dist/chunks/handoff-divider.class-R3M7IOHV.js +12 -0
- package/dist/chunks/heatmap.class-DOGRCIEE.js +64 -0
- package/dist/chunks/help.class-VKGHRXRP.js +3 -0
- package/dist/chunks/hierarchy-source-controller-4X7OULM5.js +1 -0
- package/dist/chunks/hierarchy-source-view-KSPAJYZ3.js +1 -0
- package/dist/chunks/hierarchy-summary-source-B2C6IAAC.js +1 -0
- package/dist/chunks/highlight-layer.class-OVLTMDUJ.js +19 -0
- package/dist/chunks/histogram.class-BLNBUEC7.js +1 -0
- package/dist/chunks/html-viewer.class-DOHCS2P2.js +1 -0
- package/dist/chunks/icon-button.class-YFLBOPCD.js +1 -0
- package/dist/chunks/icon.class-D2PSXP74.js +4 -0
- package/dist/chunks/image-comparer.class-AG7U2NWT.js +12 -0
- package/dist/chunks/image-viewer.class-SG7S4WVN.js +34 -0
- package/dist/chunks/include.class-WKRUOEMO.js +1 -0
- package/dist/chunks/ingestion-queue.class-GWKTTUFD.js +44 -0
- package/dist/chunks/input.class-DTVEIMWX.js +1 -0
- package/dist/chunks/intersection-observer.class-HKGDRZZH.js +1 -0
- package/dist/chunks/json-viewer.class-K7BYCJNG.js +1 -0
- package/dist/chunks/kbd.class-TNFKKAEI.js +9 -0
- package/dist/chunks/knowledge-base-admin.class-7SUQ7JGE.js +19 -0
- package/dist/chunks/knowledge-base.class-LFVU45CO.js +68 -0
- package/dist/chunks/knowledge-graph-explorer.class-5OUV5L6G.js +55 -0
- package/dist/chunks/known-date.class-RTGHUBGP.js +27 -0
- package/dist/chunks/layered-layout-OESYHVZG.js +1 -0
- package/dist/chunks/lightbox-item.class-7IZWQWVO.js +9 -0
- package/dist/chunks/lightbox.class-SJZWUXF4.js +39 -0
- package/dist/chunks/line-chart.class-XVDMRPVA.js +1 -0
- package/dist/chunks/lite-chart.class-WL3RR5AO.js +1 -0
- package/dist/chunks/live-region.class-5QSNVPGP.js +1 -0
- package/dist/chunks/locale-picker.class-OYP36LHA.js +35 -0
- package/dist/chunks/lr-attachment-chip-WZSKK7OT.js +1 -0
- package/dist/chunks/lr-button-FOWJMQBE.js +1 -0
- package/dist/chunks/lr-checkbox-UCQ46QYB.js +1 -0
- package/dist/chunks/lr-checkbox-group-66XB6GXG.js +1 -0
- package/dist/chunks/lr-chip-RMKTQJMH.js +1 -0
- package/dist/chunks/lr-citation-badge-A5NBC44F.js +1 -0
- package/dist/chunks/lr-code-block-F6PZS5RO.js +1 -0
- package/dist/chunks/lr-details-Z6B5IAP3.js +1 -0
- package/dist/chunks/lr-document-preview-PSXY6CER.js +1 -0
- package/dist/chunks/lr-dropdown-4FVM2VZA.js +1 -0
- package/dist/chunks/lr-dropdown-item-BJVD3V7C.js +1 -0
- package/dist/chunks/lr-empty-RRDLJFIR.js +1 -0
- package/dist/chunks/lr-entity-card-H4U2XPVV.js +1 -0
- package/dist/chunks/lr-flag-6ZEB2C6F.js +1 -0
- package/dist/chunks/lr-grounding-summary-47T7HVD4.js +1 -0
- package/dist/chunks/lr-json-viewer-V7WXHKWB.js +1 -0
- package/dist/chunks/lr-markdown-BL6ZKV2L.js +1 -0
- package/dist/chunks/lr-neighbor-list-42A7TWPV.js +1 -0
- package/dist/chunks/lr-option-O5YKQGYD.js +1 -0
- package/dist/chunks/lr-pagination-TEVWTWZR.js +1 -0
- package/dist/chunks/lr-path-strip-CVM37IJK.js +1 -0
- package/dist/chunks/lr-select-54E6JWXG.js +1 -0
- package/dist/chunks/lr-source-card-3GDTLINC.js +1 -0
- package/dist/chunks/lr-thinking-panel-ZBVEHINV.js +1 -0
- package/dist/chunks/lr-toast-QOENFRV5.js +1 -0
- package/dist/chunks/lr-tool-approval-dialog-CFLKYA5W.js +1 -0
- package/dist/chunks/lr-tool-call-block-766HXOJC.js +1 -0
- package/dist/chunks/lr-tool-call-chip-4YEACPS5.js +1 -0
- package/dist/chunks/lr-tool-param-form-IBU4P2BH.js +1 -0
- package/dist/chunks/lr-tool-result-view-35FSFJX2.js +1 -0
- package/dist/chunks/lr-tool-timeline-XXBTVALU.js +1 -0
- package/dist/chunks/lr-virtual-list-KLXF67KT.js +1 -0
- package/dist/chunks/lr-widget-renderer-E7H56NWQ.js +1 -0
- package/dist/chunks/map-anchor-controller-FZUGR6E2.js +1 -0
- package/dist/chunks/map-anchor.class-T34NQADS.js +1 -0
- package/dist/chunks/map-controls-lifecycle-SRF5BBIB.js +1 -0
- package/dist/chunks/map-data-layer-runtime-YE3JHYGD.js +1 -0
- package/dist/chunks/map-drawing-controller-WCQGUQFM.js +1 -0
- package/dist/chunks/map-feature-state-routes-PK32TXQJ.js +1 -0
- package/dist/chunks/map-hash-owner-IKTTU6J7.js +1 -0
- package/dist/chunks/map-image-export-controller-RUSEHX7D.js +5 -0
- package/dist/chunks/map-images-YCFC6YNN.js +1 -0
- package/dist/chunks/map-owned-features-YH3B3HM2.js +1 -0
- package/dist/chunks/map-scene-controls-7MOIIX4X.js +1 -0
- package/dist/chunks/map-scene-elevated-lines-5LJFZBCQ.js +36 -0
- package/dist/chunks/map-scene-render-controller-22M5JR2L.js +1 -0
- package/dist/chunks/map-style-overrides-QPN774ZE.js +1 -0
- package/dist/chunks/map.class-6GLEG3EW.js +87 -0
- package/dist/chunks/markdown-core.class-XGQKXDR7.js +1 -0
- package/dist/chunks/markdown.class-GXUI6C3W.js +1 -0
- package/dist/chunks/mcp-app.class-SMBZKVIE.js +49 -0
- package/dist/chunks/media-card.class-HH42MEPL.js +1 -0
- package/dist/chunks/memory-panel.class-A2T7V4OS.js +59 -0
- package/dist/chunks/mention-popover.class-PR2XWTH4.js +18 -0
- package/dist/chunks/menu-item.class-MWBBEDEO.js +1 -0
- package/dist/chunks/menu-label.class-OS4OXDQ3.js +1 -0
- package/dist/chunks/menu.class-YIJ6JJZG.js +1 -0
- package/dist/chunks/menubar-item.class-THRQ2YDD.js +1 -0
- package/dist/chunks/menubar.class-BX7ZAG76.js +1 -0
- package/dist/chunks/message-actions.class-O2RLFQWJ.js +10 -0
- package/dist/chunks/message-feedback.class-MGX6GNUL.js +1 -0
- package/dist/chunks/message-parts.class-IJVBDYNL.js +11 -0
- package/dist/chunks/mind-map.class-5WNMK3DN.js +36 -0
- package/dist/chunks/model-select.class-NRD5BP6S.js +1 -0
- package/dist/chunks/model-settings-panel.class-WFKPFGIV.js +13 -0
- package/dist/chunks/model-viewer.class-CBG2CVNO.js +9 -0
- package/dist/chunks/multi-split.class-4TYA4SO4.js +9 -0
- package/dist/chunks/mutation-observer.class-O6GSBFYQ.js +1 -0
- package/dist/chunks/native-time-input.class-E6IHEFEF.js +1 -0
- package/dist/chunks/navigation-menu-item.class-APWZ2TUY.js +7 -0
- package/dist/chunks/navigation-menu.class-DFOLBKU3.js +8 -0
- package/dist/chunks/neighbor-list.class-BQDHYAE4.js +1 -0
- package/dist/chunks/node-palette.class-3Z6TSZS6.js +25 -0
- package/dist/chunks/notebook-viewer.class-QXA4U7SU.js +16 -0
- package/dist/chunks/number-input.class-XWSNL57L.js +1 -0
- package/dist/chunks/number-ticker.class-3M2DW55V.js +1 -0
- package/dist/chunks/option.class-WYSAIWE3.js +1 -0
- package/dist/chunks/otp-input.class-AO7MTPCY.js +12 -0
- package/dist/chunks/page-rail.class-4REURRKR.js +16 -0
- package/dist/chunks/page.class-6DBYH7CG.js +52 -0
- package/dist/chunks/pagination.class-HERBBEOL.js +1 -0
- package/dist/chunks/pan-zoom.class-5AHG6YRE.js +1 -0
- package/dist/chunks/passive-markup-54LSKNVB.js +1 -0
- package/dist/chunks/path-strip.class-4NBX3SOP.js +1 -0
- package/dist/chunks/pdf-viewer.class-YLSXSR2B.js +14 -0
- package/dist/chunks/permission-grant.class-RN4VZBKN.js +16 -0
- package/dist/chunks/permission-rules.class-3YV3FYA4.js +18 -0
- package/dist/chunks/phone-input.class-YHNLM55W.js +29 -0
- package/dist/chunks/pie-chart.class-VODVZCSP.js +1 -0
- package/dist/chunks/polar-area-chart.class-IMKORO3H.js +1 -0
- package/dist/chunks/policy-summary.class-VRKIJRYA.js +23 -0
- package/dist/chunks/poll-status.class-CSLFDKRA.js +15 -0
- package/dist/chunks/popover.class-NTMQAVHE.js +1 -0
- package/dist/chunks/popup.class-A5TLOULM.js +8 -0
- package/dist/chunks/positioner-V5P6XVZW.js +1 -0
- package/dist/chunks/pptx-viewer.class-PLTIFVBD.js +14 -0
- package/dist/chunks/progress-bar.class-OD75C4K3.js +4 -0
- package/dist/chunks/progress-ring.class-MRGTWKTL.js +7 -0
- package/dist/chunks/prompt-input.class-D6A5PWDZ.js +28 -0
- package/dist/chunks/prompt-queue.class-B4EEH3AO.js +28 -0
- package/dist/chunks/prompt-studio.class-SZ2OMY3T.js +67 -0
- package/dist/chunks/provenance-panel.class-6PSWC5G7.js +1 -0
- package/dist/chunks/push-to-talk.class-CN2BMG2V.js +1 -0
- package/dist/chunks/qr-code.class-GSYIWBKK.js +4 -0
- package/dist/chunks/radar-chart.class-OLQIGFYR.js +1 -0
- package/dist/chunks/radial-bar.class-RFXEA26T.js +10 -0
- package/dist/chunks/radio-button.class-TX3TZQML.js +1 -0
- package/dist/chunks/radio-group.class-BORI2LTS.js +12 -0
- package/dist/chunks/radio.class-E3CXUAYU.js +1 -0
- package/dist/chunks/rag-answer.class-GHA7OOAL.js +27 -0
- package/dist/chunks/rag-eval-dashboard.class-S6VGUBXL.js +54 -0
- package/dist/chunks/random-content.class-ZKB5HTPT.js +11 -0
- package/dist/chunks/rating.class-DNNOLSJX.js +8 -0
- package/dist/chunks/realtime-session.class-37KSLLRL.js +28 -0
- package/dist/chunks/relative-time.class-WLVVINPZ.js +1 -0
- package/dist/chunks/reorder-item.class-EUGO5GHM.js +16 -0
- package/dist/chunks/reorder-list.class-PW6RNOW3.js +6 -0
- package/dist/chunks/research-progress.class-E5YWFJ4F.js +21 -0
- package/dist/chunks/resize-observer.class-PPUDNUN4.js +1 -0
- package/dist/chunks/responsive-panel.class-YUYAF2E5.js +17 -0
- package/dist/chunks/result-card.class-4ORWV5KQ.js +1 -0
- package/dist/chunks/result-field.class-ZY54DBG5.js +1 -0
- package/dist/chunks/retrieval-compare.class-BROHJ3ID.js +44 -0
- package/dist/chunks/retrieval-results.class-FXBUJDUC.js +37 -0
- package/dist/chunks/retrieval-search.class-AH67OJ4K.js +22 -0
- package/dist/chunks/retrieval-trace.class-FD2WLDUI.js +25 -0
- package/dist/chunks/rubric-form.class-2BCNON3Q.js +49 -0
- package/dist/chunks/sankey.class-EMHA3ZVD.js +2 -0
- package/dist/chunks/scatter-chart.class-CTYLVUDJ.js +1 -0
- package/dist/chunks/schema-viewer.class-X47LWEX7.js +32 -0
- package/dist/chunks/scroller.class-VNVZUQY3.js +1 -0
- package/dist/chunks/segmented.class-RHULKE77.js +1 -0
- package/dist/chunks/select.class-ACREPFVX.js +1 -0
- package/dist/chunks/selection-toolbar.class-ZFPYHJKD.js +5 -0
- package/dist/chunks/sequence-playback.class-UZSTO4L6.js +9 -0
- package/dist/chunks/sequence-strip-source-controller-TBFABYT4.js +1 -0
- package/dist/chunks/sequence-strip.class-U5D6HJUJ.js +45 -0
- package/dist/chunks/signature-pad.class-AN6MALUI.js +17 -0
- package/dist/chunks/skeleton.class-NRGJLESX.js +1 -0
- package/dist/chunks/slider.class-J5TA65CX.js +1 -0
- package/dist/chunks/source-card.class-QYFB5JVD.js +1 -0
- package/dist/chunks/source-list.class-GWRURXGD.js +11 -0
- package/dist/chunks/source-picker.class-VXI4FOQS.js +27 -0
- package/dist/chunks/span-waterfall.class-GUW3NHYL.js +1 -0
- package/dist/chunks/sparkline.class-HVMZ2X6P.js +12 -0
- package/dist/chunks/spinner.class-AGCPM2TZ.js +1 -0
- package/dist/chunks/split-panel.class-BPVZTWZY.js +13 -0
- package/dist/chunks/spreadsheet-viewer.class-IRJXDMYD.js +9 -0
- package/dist/chunks/stack-trace.class-PSEUMRXV.js +27 -0
- package/dist/chunks/stat.class-MK4L5S7Y.js +1 -0
- package/dist/chunks/step.class-DKYFFMTD.js +18 -0
- package/dist/chunks/stepper.class-3VTA4Q4Y.js +22 -0
- package/dist/chunks/stream-status.class-BF4Y5K4N.js +14 -0
- package/dist/chunks/streaming-text-core.class-JXCHGQT6.js +1 -0
- package/dist/chunks/streaming-text.class-466AYDYR.js +1 -0
- package/dist/chunks/style-panel.class-4WDVCE52.js +9 -0
- package/dist/chunks/subagent-panel.class-5PTX2TH5.js +22 -0
- package/dist/chunks/suggestion-chips.class-5M54LJQN.js +13 -0
- package/dist/chunks/svg-viewer.class-62LEPJYV.js +6 -0
- package/dist/chunks/swatch-picker.class-7E4FE5CT.js +15 -0
- package/dist/chunks/switch.class-XWZ6HOAU.js +1 -0
- package/dist/chunks/tab-group.class-VVM4NKXQ.js +1 -0
- package/dist/chunks/tab-panel.class-2WOWRVDB.js +1 -0
- package/dist/chunks/tab.class-QUE23SXQ.js +1 -0
- package/dist/chunks/table.class-QYW5ORNY.js +85 -0
- package/dist/chunks/tag.class-H3JEVLPR.js +3 -0
- package/dist/chunks/task-list.class-EGBWNTAD.js +40 -0
- package/dist/chunks/terminal.class-7VVFQ57Z.js +28 -0
- package/dist/chunks/test-results.class-VNEWN2OU.js +55 -0
- package/dist/chunks/text-quote-index-43G6MA3W.js +1 -0
- package/dist/chunks/textarea.class-XDQKJ432.js +1 -0
- package/dist/chunks/thinking-panel.class-MD2E3YKO.js +1 -0
- package/dist/chunks/thread-list.class-CTXIHTQQ.js +66 -0
- package/dist/chunks/time-input.class-FCIYWGO4.js +38 -0
- package/dist/chunks/time-range.class-XXMSXARI.js +13 -0
- package/dist/chunks/time-zone-picker.class-6ZEH7A2C.js +1 -0
- package/dist/chunks/timeline-item.class-4OZLSCAH.js +36 -0
- package/dist/chunks/timeline.class-S4AHAP3V.js +13 -0
- package/dist/chunks/toast-item.class-F2SY7DYP.js +1 -0
- package/dist/chunks/toast.class-DLXDLSFL.js +1 -0
- package/dist/chunks/toggle-group.class-VGOPG7AZ.js +3 -0
- package/dist/chunks/toggle.class-SU2EYDBN.js +3 -0
- package/dist/chunks/token-input.class-D2IFZHJ4.js +27 -0
- package/dist/chunks/tool-approval-dialog.class-4KA4A5JY.js +1 -0
- package/dist/chunks/tool-call-block.class-6LCDKUHT.js +1 -0
- package/dist/chunks/tool-call-chip.class-XTSFF5DD.js +1 -0
- package/dist/chunks/tool-param-form.class-KC3FCGXE.js +1 -0
- package/dist/chunks/tool-result-dialog.class-HW7VBXQ7.js +35 -0
- package/dist/chunks/tool-result-view.class-AD3YEU4X.js +1 -0
- package/dist/chunks/tool-select-dialog.class-VJDI5JVJ.js +58 -0
- package/dist/chunks/tool-timeline.class-7XBH2YDU.js +1 -0
- package/dist/chunks/tooltip.class-MXUQ6PAU.js +1 -0
- package/dist/chunks/tour.class-IB74A2TU.js +44 -0
- package/dist/chunks/trace-tree.class-L2A3FIPW.js +38 -0
- package/dist/chunks/transcript-feed.class-OZWTJKLL.js +1 -0
- package/dist/chunks/tree-item.class-TVSMLGZ7.js +1 -0
- package/dist/chunks/tree.class-XQUKO24E.js +11 -0
- package/dist/chunks/treemap.class-7NAGNNWK.js +4 -0
- package/dist/chunks/typing-indicator.class-IVFR24ZI.js +4 -0
- package/dist/chunks/unit-picker.class-O4D4ZGMT.js +1 -0
- package/dist/chunks/usage-badge-overlay-runtime-E3FACAVI.js +1 -0
- package/dist/chunks/usage-badge.class-6CHSV6U7.js +24 -0
- package/dist/chunks/video-playlist.class-R5A5H6TT.js +28 -0
- package/dist/chunks/video-thumbnails-DN3N5ZJR.js +5 -0
- package/dist/chunks/video.class-NBJLOC5D.js +101 -0
- package/dist/chunks/virtual-list.class-F4VBJK33.js +1 -0
- package/dist/chunks/visually-hidden.class-WIRQAOHJ.js +1 -0
- package/dist/chunks/voice-picker.class-ZP57HP5Q.js +47 -0
- package/dist/chunks/widget-renderer.class-2W475PVB.js +1 -0
- package/dist/chunks/widget.class-IC32HE5J.js +41 -0
- package/dist/chunks/word-cloud.class-J6DW54DZ.js +26 -0
- package/dist/chunks/xml-viewer.class-HDNKLHFI.js +39 -0
- package/dist/chunks/zoomable-frame.class-4J22EEKD.js +4 -0
- package/dist/density.css +1 -0
- package/dist/design-tokens.css +1 -0
- package/dist/lyra-ui.loader.js +1 -0
- package/dist/native.css +1 -0
- package/dist/theme-core.css +1 -0
- package/dist/theme.css +1 -0
- package/dist/utilities.css +1 -0
- package/package.json +60 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{a as ft}from"./chunk-MHTTI7OW.js";import{e as V}from"./chunk-MYVZYT72.js";import{a as F}from"./chunk-GBF4AHIG.js";import{e as W,f as ct}from"./chunk-ZBL7UKWW.js";import{a as lt}from"./chunk-COHDKIWJ.js";import{b as ot,c as nt,d as ht,e as b,j as P}from"./chunk-OUV7KSOP.js";import{a as T,b as O,c as dt}from"./chunk-M3K6BXUV.js";import{a as at}from"./chunk-RDSMOXJD.js";import{b as ut}from"./chunk-4QBXZ5BM.js";import{a as rt}from"./chunk-J24TYMEI.js";import{d as st}from"./chunk-O3PZG44H.js";import{c as it}from"./chunk-ZMRZS6LX.js";import{c as M}from"./chunk-LF23D7NZ.js";import{a as Y}from"./chunk-2WXXKPUW.js";import{a as et}from"./chunk-3HGKUVDX.js";import{D as tt,a as G,h as Z,v as J}from"./chunk-2CH7YZRL.js";import{a as N,b as E,e as v,i as A}from"./chunk-CN2FTU25.js";import{g as D}from"./chunk-AVZPWRZU.js";import{c as z}from"./chunk-3CLMBMQL.js";function Ot(n,t,e){let i=Math.max(1,D(n,1e4,1e5)),s=Math.max(1,D(t,1e3,1e4)),r=ot(e);return{rows:i,columns:s,bytes:r,key:`${i}:${s}:${r}`}}var mt=class{constructor(t){this.options=t,this.limitsKey="",this.rejected=!1}get value(){return this.current}assign(t,e){if(e.key===this.limitsKey&&(t===this.current||t!==void 0&&t===this.source?.deref()))return!1;this.limitsKey=e.key,this.source=void 0,this.rejected=!1,this.failure=void 0;try{this.current=t===void 0?void 0:this.options.snapshot(t,e),t!==void 0&&(this.source=new WeakRef(t))}catch(i){this.current=this.options.invalid(),this.rejected=!0,this.failure=i}return!0}admitted(t){if(this.rejected)throw this.failure;return this.current!==void 0&&t.key!==this.limitsKey&&(this.current=this.options.snapshot(this.current,t),this.limitsKey=t.key),this.current}};var wt=1e6,kt=100,Rt=[","," ","|",";","",""],It=10;function L(n,t){return n!==void 0&&Number.isFinite(n)&&n>0?Math.floor(n):t}function H(n={}){return{maxRows:L(n.maxRows,nt),maxColumns:L(n.maxColumns,ht),maxCells:L(n.maxCells,wt),maxErrors:L(n.maxErrors,kt)}}function q(n,t,e){return e!==null?n.startsWith(e,t)?e:null:n[t]==="\r"?n[t+1]===`
|
|
2
|
+
`?`\r
|
|
3
|
+
`:"\r":n[t]===`
|
|
4
|
+
`?`
|
|
5
|
+
`:null}function St(n){return n.trim()===""}function pt(n,t,e,i=Number.POSITIVE_INFINITY,s,r=Number.POSITIVE_INFINITY,o=!1){let a=[],l=[],c=n.charCodeAt(0)===65279?1:0,h=c,u=!1,d=!0,f=1,w=!1,g=!1,p=0,S=0,y=0,x=(R,m)=>{if(p++,p>r)throw k("The table contains too many parser errors.");o&&l.push({type:"Quotes",code:R,message:m,row:y,index:S})},$=()=>{if(y++,f>1||w){let R={fieldCount:f};s||a.push(R),s?.(R)}return f=1,w=!1,g=!1,d=!0,y>=i};for(;h<n.length;){if(u){if(n[h]!=='"'){w=!0,h++;continue}if(n[h+1]==='"'){w=!0,h+=2;continue}let m=h+1;for(;m<n.length&&!n.startsWith(t,m)&&q(n,m,e)===null&&St(n[m]);)m++;if(m===n.length&&m===h+1||n.startsWith(t,m)||q(n,m,e)!==null){u=!1,d=!1,h=m;continue}x("InvalidQuotes","Trailing quote on quoted field is malformed"),w=!0,h++;continue}if(d&&n[h]==='"'){u=!0,S=h+1-c,g=!0,h++;continue}if(n.startsWith(t,h)){f++,g=!0,d=!0,h+=t.length;continue}let R=q(n,h,e);if(R!==null){if(h+=R.length,$())break;continue}w=!0,g=!0,d=!1,h++}return h>=n.length&&(u&&x("MissingQuotes","Quoted field unterminated"),(g||f>1||w)&&$()),{rows:a,parserErrorCount:p,parserErrors:l}}function Et(n){if(!n.length)return null;let t=0,e=0,i;for(let r of n)e+=r.fieldCount,i!==void 0&&(t+=Math.abs(r.fieldCount-i)),i=r.fieldCount;let s=e/n.length;return s>=2?{delta:t,average:s}:null}function Tt(n){let t=n.charCodeAt(0)===65279?1:0,e=Math.min(n.length,t+1024*1024),i=t,s=0,r=0,o=0,a=0,l=Number.POSITIVE_INFINITY,c=Number.POSITIVE_INFINITY,h=!1;for(;i<e;){if(n[i]==='"'){let d=n.indexOf('"',i+1);if(d!==-1&&d<e){i=d+1;continue}}let u=n[i];u==="\r"?(l===Number.POSITIVE_INFINITY&&(l=s),r++):u===`
|
|
6
|
+
`&&(c===Number.POSITIVE_INFINITY&&(c=s),o++,(s===0||h)&&a++),h=u==="\r",s++,i++}return r===0||o>0&&c<l?`
|
|
7
|
+
`:a>=(r+1)/2?`\r
|
|
8
|
+
`:"\r"}function U(n){let t=Tt(n),e,i=Number.POSITIVE_INFINITY,s=0;for(let r of Rt){let o=pt(n,r,t,It),a=Et(o.rows);a&&(a.delta<i||a.delta===i&&a.average>s)&&(e=r,i=a.delta,s=a.average)}return{delimiter:e??",",delimiterDetected:e!==void 0,newline:t}}function xt(){return{type:"Delimiter",code:"UndetectableDelimiter",message:"Unable to auto-detect delimiting character; defaulted to ','"}}function k(n){return new b(n)}function j(n,t,e,i){let s=!1,r=0,o=0,a=0,l=0,c=!1,h=!1,u=pt(n,t.delimiter,t.newline,Number.POSITIVE_INFINITY,f=>{if(c=!0,f.fieldCount>1&&(h=!0),f.fieldCount>i.maxColumns)throw k("The table contains too many columns.");if(a+=f.fieldCount,a>i.maxCells)throw k("The table contains too many cells.");if(e&&!s)s=!0,r=f.fieldCount;else{if(o++,o>i.maxRows)throw k("The table contains too many rows.");e&&f.fieldCount!==r&&l++}if(l>i.maxErrors)throw k("The table contains too many parser errors.")},i.maxErrors,!0),d=!t.delimiterDetected&&(!c||h);if(d&&l++,l+=u.parserErrorCount,l>i.maxErrors)throw k("The table contains too many parser errors.");return{dataRowCount:o,quoteErrors:u.parserErrors,undetectableDelimiter:d}}function $t(n){if(typeof n!="object"||n===null)return!1;let t=n;return t.type==="Quotes"&&(t.code==="InvalidQuotes"||t.code==="MissingQuotes")}function At(n){let t=n.__parsed_extra;return Object.keys(n).filter(e=>e!=="__parsed_extra").length+(Array.isArray(t)?t.length:0)}function gt(n,t,e,i,s,r,o){let a=H(i),l=o?.dialect??U(t),c=o?.preflight??j(t,l,e,a),h=[],u=[],d=[...c.quoteErrors];c.undetectableDelimiter&&d.push(xt());let f=c.quoteErrors.length,w=0,g=0,p,S=m=>{if(!Array.isArray(m))return;let C=m.filter(I=>typeof I=="string");if(C.length!==m.length)throw new TypeError("PapaParse returned invalid fields.");if(C.length>a.maxColumns){p=k("The table contains too many columns.");return}!u.length&&C.length&&(u.push(...C),g+=C.length,g>a.maxCells&&(p=k("The table contains too many cells.")))},y=m=>{if(!Array.isArray(m)||!m.length||p)return;let C=[];for(let I of m)f>0&&$t(I)?f--:C.push(I);if(d.length+C.length>a.maxErrors){p=k("The table contains too many parser errors.");return}d.push(...C)},x=m=>{try{m.abort()}catch{}},$;try{$=n.parse(t,{delimiter:l.delimiter,newline:l.newline,header:e,skipEmptyLines:!0,fastMode:!1,step:(m,C)=>{let I=m;if(e&&S(I.meta?.fields),y(I.errors),p){x(C);return}if(!s(I.data))throw new TypeError("PapaParse returned an invalid row.");let B=r(I.data);if(w++,g+=B,w>a.maxRows?p=k("The table contains too many rows."):B>a.maxColumns?p=k("The table contains too many columns."):g>a.maxCells&&(p=k("The table contains too many cells.")),p){x(C);return}h.push(I.data)}})}catch(m){throw p||m}if(p)throw p;let R=$;if(e&&S(R?.meta?.fields),y(R?.errors),p)throw p;if(c.dataRowCount>0&&w===0)throw new TypeError("PapaParse did not honor streaming row callbacks.");return{rows:h,fields:u,errors:d}}function qt(n){return n.reduce((t,e)=>Math.max(t,e.length),0)}function Ht(n){return n==null?"":String(n)}async function Ut(n,t,e,i){let s=U(t);await i();let r=j(t,s,!1,H(e));await i();let o=gt(n,t,!1,e,Array.isArray,a=>a.length,{dialect:s,preflight:r});return{data:o.rows,errors:o.errors}}async function jt(n,t,e,i){let s=U(t);await i();let r=j(t,s,!0,H(e));await i();let o=gt(n,t,!0,e,a=>typeof a=="object"&&a!==null&&!Array.isArray(a),At,{dialect:s,preflight:r});return{fields:o.fields,rows:o.rows,errors:o.errors}}function _(n,t){if(typeof n!="object"||n===null)throw new TypeError("Invalid table input.");let e=Object.getOwnPropertyDescriptor(n,t);if(e){if(!("value"in e))throw new TypeError("Table input must use data properties.");return e.value}}function Qt(n,t,e,i,s={cells:0,bytes:0}){if(!Array.isArray(n))throw new TypeError("Invalid table rows.");let r=_(n,"length");if(r>t)throw new b;let o=[],a=new TextEncoder;for(let l=0;l<r;l++){let c=_(n,String(l));if(!Array.isArray(c))throw new TypeError("Invalid table row.");let h=_(c,"length");if(s.cells+=h,h>e||s.cells>wt)throw new b;let u=[];for(let d=0;d<h;d++){let f=_(c,String(d));if(f!=null&&!["string","number","boolean"].includes(typeof f))throw new TypeError("Table cells must be scalar values.");let w=f==null?"":String(f);if(w.length>i-s.bytes)throw new b;if(s.bytes+=a.encode(w).byteLength,s.bytes>i)throw new b;u.push(f)}o.push(Object.freeze(u))}return Object.freeze(o)}var Mt=/^\$?([A-Za-z]+)\$?(\d+)$/;var Lt=Number.MAX_SAFE_INTEGER-1;function _t(n){let t=0;for(let e of n.toUpperCase()){let i=e.charCodeAt(0)-64;if(t>Math.floor((Number.MAX_SAFE_INTEGER-i)/26))return null;t=t*26+i}return t-1}function vt(n){return typeof n=="number"&&Number.isSafeInteger(n)&&n>=0&&n<=Lt}function bt(n){let t=n.trim();if(t.length===0||t.length>64)return null;let e=Mt.exec(t);if(!e)return null;let i=Number(e[2]),s=_t(e[1]);if(!Number.isSafeInteger(i)||i<=0||s===null)return null;let r=i-1;return vt(r)&&vt(s)?{row:r,col:s}:null}function Q(n){if(typeof n!="string"||n.length>1024)return null;let t=n.trim();if(!t)return null;let e,i=t,s=i.lastIndexOf("!");if(s!==-1){let l=i.slice(0,s).trim();if(e=l.startsWith("'")&&l.endsWith("'")?l.slice(1,-1):l,!e||e.length>255)return null;i=i.slice(s+1)}let r=i.split(":");if(r.length>2)return null;let o=bt(r[0]);if(!o)return null;let a=r.length===2?bt(r[1]):o;return a?{...e?{sheet:e}:{},startRow:Math.min(o.row,a.row),endRow:Math.max(o.row,a.row),startCol:Math.min(o.col,a.col),endCol:Math.max(o.col,a.col)}:null}var fe=et(["self","page"],"self"),K=1e3;function Nt(n,t,e){return n.length?n.filter(i=>(e===void 0||i.sheet===void 0||i.sheet===e)&&t-1>=i.parsed.startRow&&t-1<=i.parsed.endRow):n}function zt(n,t){return n.length?n.filter(e=>t>=e.parsed.startCol&&t<=e.parsed.endCol):n}var X=class{constructor(t){this.host=t,this.generation=0,this.frames=new ft(t)}cancel(){this.generation++,this.frames.cancel()}async scrollColumnIntoView(t,e){this.frames.cancel();let i=++this.generation,s=this.host.ownerDocument,r=()=>i===this.generation&&this.host.ownerDocument===s&&t?.isConnected===!0;if(t?.updateComplete&&await t.updateComplete,!t||!r()||!await this.frames.wait()||!r())return;let o=t.shadowRoot?.querySelector('[part="row"][aria-current="true"]');this.reveal(o?.querySelector(`[aria-colindex="${e+1}"]`))}reveal(t){t&&it(t,"nearest",st(this.host))}},yt=class{indexedSource(t){if(t.length<=1e4)return;let e=this.sources.get(t);return e||(e=Object.freeze({count:t.length,itemAt:i=>t[i],keyAt:i=>i,indexOfKey:i=>typeof i=="number"?i:-1}),this.sources.set(t,e)),e}constructor(t,e){this.host=t,this.hooks=e,this.highlights=[],this.activeRowKey="",this.lastLoadSrc="",this.sources=new WeakMap,this.rowHighlights=new Map,this.columnHighlights=new WeakMap,this.windows=new Map,this.renderers=new Map,this.pageOffset=0,this.onPageScroll=()=>{if(!this.hooks.pageScroll?.())return;let i=this.host.getBoundingClientRect(),s=this.host.ownerDocument.defaultView?.getComputedStyle(this.host).direction==="rtl",r=Math.max(0,s?i.right-(this.pageView?.innerWidth??0):-i.left);this.pageOffset=r,this.geometryWidth=void 0,this.forcedPageOffset=void 0,this.hooks.repaint()},this.lastLocale="",this.pendingResetEvent=!1,this.search=new V(()=>[],i=>e.emitSearch(i),()=>e.repaint()),this.announcements=new lt(t),this.scroll=new X(t),this.detached=new rt(()=>{e.teardown(),this.scroll.cancel()})}scrollWindow(t){return t==="page"?this.pageView:void 0}connected(){this.announcements.connect();let t=this.host.ownerDocument.defaultView?.ResizeObserver;t&&!this.resize&&(this.resize=new t(()=>{this.geometryWidth=void 0,this.hooks.repaint()}),this.resize.observe(this.host)),this.hooks.pageScroll&&!this.pageView&&(this.pageView=this.host.ownerDocument.defaultView??void 0,this.pageView?.addEventListener("scroll",this.onPageScroll,{passive:!0}),this.pageView?.addEventListener("resize",this.onPageScroll,{passive:!0})),!this.detached.cancel()&&this.host.hasUpdated&&this.hooks.schedule(()=>{this.hooks.load()})}disconnecting(){this.announcements.disconnect(),this.resize?.disconnect(),this.resize=void 0,this.pageView?.removeEventListener("scroll",this.onPageScroll),this.pageView?.removeEventListener("resize",this.onPageScroll),this.pageView=void 0}disconnected(){this.detached.schedule()}adopted(){this.detached.flush(),this.disconnecting(),this.host.isConnected&&this.connected(),this.scroll.cancel(),this.announcements.adopted()}willUpdate(t,e,i,s){this.geometryWidth=void 0,(t.has("scrollMode")||t.has("fetchState"))&&(this.forcedPageOffset=void 0),t.has("activeSheetIndex")&&this.windows.clear(),t.has("fetchState")&&(this.scroll.cancel(),this.renderers.clear(),this.windows.clear(),this.rowHighlights.clear()),(t.has("src")||t.has("rows")||t.has("table")||t.has("workbook"))&&(this.searchCorpus=void 0,this.renderers.clear(),this.windows.clear(),this.pendingResetEvent||=this.search.dirty,this.search.reset(),this.activeRowKey=""),(t.has("highlights")||t.has("activeHighlightId"))&&(this.rowHighlights.clear(),this.highlights=at(e,i).flatMap(r=>{if(r.anchor.kind!=="cell-range"||!s&&r.anchor.sheet)return[];let o=Q(r.anchor.range);return o?[s?{highlight:r,parsed:o,sheet:r.anchor.sheet??o.sheet}:{highlight:r,parsed:o}]:[]}))}updated(t,e){this.announcements.transition("load",e.kind,e.message?.()??this.hooks.localize("loadingDocument")),["dataSource","src","rows","table","workbook","maxRows","maxColumns","maxBytes"].some(s=>t.has(s))&&this.hooks.schedule(()=>{this.hooks.load()}),this.pendingResetEvent&&(this.pendingResetEvent=!1,this.search.emit());let i=this.hooks.locale();i!==this.lastLocale&&(this.lastLocale=i,this.search.query&&this.hooks.schedule(()=>{this.hooks.research(this.search.query)},"search"))}setActiveRow(t){this.activeRowKey=t,this.hooks.repaint()}highlightsForRow(t,e){if(!this.highlights.length)return this.highlights;let i=`${e??""}:${t}`,s=this.rowHighlights.get(i);return s||(s=Nt(this.highlights,t,e),this.rowHighlights.set(i,s),this.rowHighlights.size>256&&this.rowHighlights.delete(this.rowHighlights.keys().next().value)),s}renderCell(t,e,i,s,r,o,a,l){let c=e===l-1?`grid-column:${e+1};--_lr-table-column-divider:0`:`grid-column:${e+1}`;if(!i.length)return v`<div part=${r} role=${s} aria-colindex=${e+1} style=${c}>${M(t)}</div>`;let h=this.columnHighlights.get(i);h||(h=new Map,this.columnHighlights.set(i,h));let u=h.get(e);if(u||(u=zt(i,e),h.set(e,u)),!u.length)return v`<div part=${r} role=${s} aria-colindex=${e+1} style=${c}>${M(t)}</div>`;let d=u.find(p=>p.highlight.id===a),f=d??u[0],w=Y(f.highlight.label),g=w?this.hooks.localize("cellHighlightWithLabel",void 0,{value:t,label:w}):this.hooks.localize("highlightWithLabel",void 0,{label:t});return v`<div part="${r} cell-highlight" role=${s} aria-colindex=${e+1} ?data-active=${!!d} style=${`${c};${d?`${o}: var(--lr-color-warning, var(--lr-color-brand))`:""}`} >
|
|
9
|
+
<button part="cell-highlight-action" type="button" aria-label=${g} @click=${()=>this.hooks.emitActivate(f.highlight.id)} >
|
|
10
|
+
${M(t)}
|
|
11
|
+
</button>
|
|
12
|
+
</div>`}columnWindow(t,e,i=e){if(this.geometryWidth===void 0){let h=this.host.ownerDocument.defaultView,u=h?.getComputedStyle(this.host).getPropertyValue("--lr-size-8rem").trim()||"8rem";if(this.geometryWidth=Math.max(1,F(u,{host:this.host})??1),this.hooks.pageScroll?.()&&h){let d=this.host.getBoundingClientRect(),f=h.getComputedStyle(this.host).direction==="rtl"?h.innerWidth-d.right:d.left;this.geometryAllocation=Math.max(0,h.innerWidth-Math.max(0,f)),this.pageOffset=Math.max(0,-f)}else this.geometryAllocation=this.host.clientWidth}let s=this.geometryWidth,r=this.geometryAllocation??0,o=this.windows.get(t),a=this.hooks.pageScroll?.()?this.forcedPageOffset??this.pageOffset:o?.offset??0,l=Math.min(Math.max(0,e-1),Math.max(0,Math.floor(a/s)-2)),c=Math.min(e,l+Math.max(1,i),Math.max(l+1,Math.ceil((a+r)/s)+4));return(!o||o.count!==e||o.width!==s||o.start!==l||o.end!==c)&&(o={start:l,end:c,count:e,width:s,offset:a,columns:Array.from({length:c-l},(h,u)=>l+u),style:`grid-template-columns:repeat(${e},minmax(var(--lr-size-8rem),1fr));min-inline-size:calc(${e} * var(--lr-size-8rem))`},this.windows.set(t,o)),o}scrollColumns(t,e){this.setColumnOffset(t,Math.abs(e.scrollLeft))}setColumnOffset(t,e){let i=this.windows.get(t);if(!i||i.offset===e)return;i.offset=e;let s=i.columns;this.columnWindow(t,i.count).columns!==s&&this.hooks.repaint()}async showColumn(t,e,i){let s=this.windows.get(t);if(!(!s||!i)&&(e<s.start||e>=s.end)){let r=this.host.ownerDocument.defaultView?.getComputedStyle(this.host).direction==="rtl";i.scrollLeft=(r?-1:1)*e*s.width,this.hooks.pageScroll?.()?(this.forcedPageOffset=e*s.width,this.setColumnOffset(t,this.forcedPageOffset)):this.scrollColumns(t,i),await this.host.updateComplete}}rowRenderer(t,e,i){let s=[...e,this.highlights,this.hooks.locale(),this.hooks.localize("highlightWithLabel"),this.hooks.localize("cellHighlightWithLabel")],r=this.renderers.get(t);if(r&&s.length===r.inputs.length&&s.every((l,c)=>l===r.inputs[c]))return r.render;let o=new Map,a=(l,c)=>{let h=o.get(c);if(h&&h.row===l)return h.result;let u=i(l,c);return o.set(c,{row:l,result:u}),o.size>256&&o.delete(o.keys().next().value),u};return this.renderers.set(t,{inputs:s,render:a}),a}revealCell(t){return this.scroll.reveal(t),!!t}scrollColumnIntoView(t,e,i){return this.scroll.scrollColumnIntoView(t.querySelector(e),i)}async runSearch(t,e,i,s=i){this.search.query=t;let r=this.hooks.locale();this.lastLocale=r;let o=W(t,r),a=[],l=o.accepted;if(e&&o.accepted&&o.needle){let c=this.searchCorpus;if(!c||c.source!==s||c.locale!==r){let h=new ct,u=[];i((d,f)=>(u.push({text:h.prepare(d,r),match:f}),h.complete)),c={source:s,locale:r,fields:u,exact:h.complete},this.searchCorpus=c}l=c.exact;for(let h of c.fields)if(h.text?.includes(o.needle)){if(a.length===K){l=!1;break}a.push(h.match)}}return this.search.publish(a,l)?(a.length>0&&await this.hooks.jump(a[0]),a.length):0}async step(t){return this.search.step(t)?await this.hooks.jump(this.search.matches[this.search.activeIndex])!==!1:!1}clearSearch(){this.activeRowKey="",this.search.clear()}},me={documentPreviewResourceTooLarge:"documentPreviewResourceTooLarge",documentPreviewFailedToLoad:"documentPreviewFailedToLoad",noData:"noData",loadingDocument:"loadingDocument",sourceSearchUnavailable:"sourceSearchUnavailable"},Ct=class{constructor(t,e,i){this.host=t,this.chrome=e,this.hooks=i,this.locale="",this.limit=0,this.dirty=!0,this.bindingIntent=0,this.sheetIntent=0,this.sheets=[],this.sheetIndex=0,this.rows=0,this.columns=0,this.slots=[],this.physicalReads=0,this.epoch=0,this.paint=0,this.firstRow=0,this.visibleRows=0,this.windowIntent=0,this.activeRow="",this.windowColumns=[],this.labels=[],this.columnStart=0,this.labelUnits=0,this.loaded=!1,this.pendingPaint=!1,this.sourceRows=this.makeRows(),this.searchRunning=!1,this.searchIntent=0,this.onRange=s=>{if(s.stopPropagation(),!this.loaded||s.currentTarget.source!==this.sourceRows)return;let r=Math.min(this.rows,s.detail.start),o=Math.max(0,r-6),a=Math.max(0,Math.min(this.rows,s.detail.end)-r),l=this.revealWindow;if(l){if(l.row<r||l.row>=Math.max(r+1,s.detail.end)){l.range={row:o,visible:a};return}this.revealWindow=void 0}o===this.firstRow&&a===this.visibleRows||(this.visibleRows=a,this.firstRow=o,this.requestWindow(),this.notify())},this.searchState=new V(()=>[],s=>i.emitSearch(s),()=>i.repaint()),this.authority=new dt(t,{channels:["cells0","cells1","search","reveal"],onReset:()=>this.reset()}),t.addController(this)}get enabled(){return this.hooks.source()!==void 0}get busy(){return this.enabled&&!this.failure&&this.slots.some(t=>t.state!=="ready")}makeRows(){return{count:this.rows,itemAt:t=>t,keyAt:t=>t,indexOfKey:t=>typeof t=="number"&&Number.isSafeInteger(t)&&t>=0&&t<this.rows?t:-1}}notify(){if(this.pendingPaint)return;this.pendingPaint=!0;let t=this.host.ownerDocument;queueMicrotask(()=>{this.pendingPaint=!1,this.host.isConnected&&this.host.ownerDocument===t&&this.hooks.repaint()})}reset(){this.epoch++,this.searchIntent++,this.dirty=!0;for(let t of this.slots)t.settle(!1);this.slots=[],this.windowColumns=[],this.labels=[],this.labelUnits=0,this.failure=void 0,this.loaded=!1,this.firstRow=0,this.visibleRows=0,this.revealWindow=void 0,this.paint++,this.queuedSearch=void 0,this.notify()}refresh(){this.bindingIntent++,this.hooks.cancelAnchor(),this.authority.refresh()}hostConnected(){this.dirty=!0,this.notify()}hostDisconnected(){this.dirty=!0}adopted(){this.hooks.cancelAnchor(),this.authority.adopted()}update(){let t=this.hooks.source(),e=this.bindingIntent,i=this.hooks.locale(),s=this.hooks.columnLimit();if(!(t===this.bound&&this.failure&&!this.dirty&&i===this.locale&&s===this.limit))try{let r=t===void 0?void 0:O(t.revision);if(t===this.bound&&r===this.revision&&i===this.locale&&s===this.limit&&!this.dirty||t!==this.hooks.source()||e!==this.bindingIntent||(t===this.bound&&(r!==this.revision||i!==this.locale||s!==this.limit)&&this.hooks.cancelAnchor(),this.authority.setSource(t,r),t!==this.hooks.source()||e!==this.bindingIntent))return;t===this.bound&&r===this.revision&&(i!==this.locale||s!==this.limit)&&this.authority.refresh();let o=this.epoch;if(this.bound=t,this.revision=r,this.locale=i,this.limit=s,this.dirty=!1,this.failure=void 0,this.sheetIndex=0,this.firstRow=0,this.revealWindow=void 0,this.activeRow="",this.searchState.dirty&&this.searchState.clear(),t===void 0){this.theme&&(this.theme.hostDisconnected(),this.host.removeController(this.theme),this.theme=void 0),this.sheets=[],this.sheet=void 0;return}this.theme??=new ut(this.host,()=>this.notify());let a;if(this.hooks.workbook){let l=t.sheets;if(!Array.isArray(l)||l.length>256)throw new b;let c=new Set,h=new Set;a=l.map(u=>{if(!u||typeof u.key!="string"||!u.key||typeof u.name!="string"||!u.name||c.has(u.key)||h.has(u.name))throw new TypeError("Invalid source sheet");if(u.key.length>65536||u.name.length>65536)throw new b;return c.add(u.key),h.add(u.name),Object.freeze({key:u.key,name:u.name,data:u.data})})}else a=[{key:"",name:"",data:t}];if(!this.current(o))return;this.sheets=Object.freeze(a),this.selectSheet(0)}catch(r){if(this.hooks.source()!==t)return;this.bound=t,this.locale=i,this.limit=s,this.dirty=!1,this.fail(r)}}current(t){return t===this.epoch&&this.hooks.source()===this.bound&&this.host.isConnected}fail(t){this.failure!==t&&(this.failure=t,this.hooks.error(t),this.notify())}selectSheet(t){let e=++this.sheetIntent,i=this.epoch,s=()=>e===this.sheetIntent&&this.current(i);for(let o of["cells0","cells1","reveal"])if(this.authority.invalidate(o),!s())return!1;for(let o of this.slots)o.settle(!1);if(this.slots=[],this.windowColumns=[],this.labels=[],this.labelUnits=0,this.firstRow=0,this.visibleRows=0,this.revealWindow=void 0,this.activeRow="",this.sheetIndex=t,this.sheet=this.sheets[t],this.paint++,!this.sheet)return this.rows=this.columns=0,this.sourceRows=this.makeRows(),!0;let r=this.sheet.data;try{let o=O(r.revision);if(!s())return!1;let a=T(r.rowCount);if(!s())return!1;let l=T(r.columnCount);if(!s())return!1;if(a>=Number.MAX_SAFE_INTEGER||l>this.limit)throw new b;let c=r.columnAt;if(!s())return!1;let h=r.cellAt;if(!s())return!1;let u=r.readCells;if(!s())return!1;if(typeof c!="function"||typeof h=="function"==(typeof u=="function"))throw new TypeError("Invalid cell source");return this.sheetRevision=o,this.rows=a,this.columns=l,this.sourceRows=this.makeRows(),this.loaded=!0,this.host.shadowRoot?.querySelector(z("virtual-list"))?.scrollToIndex(0,{align:"start",behavior:"auto"}),s()}catch(o){if(s())throw o;return!1}}scalar(t){if(t!=null&&typeof t!="string"&&typeof t!="boolean"&&(typeof t!="number"||!Number.isFinite(t)))throw new TypeError("Invalid source cell");let e=this.hooks.format(t);if(e.length>65536)throw new b;return e}prepareColumns(t){if(this.windowColumns===t||!this.sheet)return;let e=this.epoch,i=this.sheet,s=this.sheetIntent,r=()=>this.current(e)&&this.sheet===i&&this.sheetIntent===s,o=[],a=0;for(let l of t){let c=i.data.columnAt(l);if(!r())return;if(!c)throw new TypeError("Invalid source column");let h=c.key;if(!r())return;let u=c.label;if(!r())return;if(typeof h!="string"||!h||typeof u!="string")throw new TypeError("Invalid source column");if(h.length>65536||u.length>65536)throw new b;if(a+=h.length+u.length,a>2e6)throw new b;o.push(Object.freeze({key:h,label:u}))}this.labels=o,this.labelUnits=a,this.windowColumns=t,this.columnStart=t[0]??0,this.paint++,this.requestWindow()}requestWindow(){if(!this.sheet||!this.loaded||!this.windowColumns.length||!this.rows||this.failure)return;let t=this.epoch,e=++this.windowIntent,i=Math.min(500,Math.floor(1e4/this.windowColumns.length)),s=Math.min(this.firstRow,this.rows-1),r=Math.min(this.rows-s,this.visibleRows+12),o=Math.min(i,Math.max(64,r));if(r>i*2){this.fail(new b);return}let a=Math.floor(s/o)*o,l=s-a+r<=o*2?a:s,c=l+o<this.rows?[l,l+o]:[l],h=c.map(d=>`${this.sheetIndex}:${d}:${o}:${this.columnStart}:${this.windowColumns.length}`),u=this.slots;this.slots=u.filter(d=>h.includes(d.key));for(let d of u)if(!this.slots.includes(d)&&(d.settle(!1),this.authority.invalidate(d.channel),!this.current(t)||e!==this.windowIntent))return;for(let d=0;d<c.length;d++){if(this.slots.some(y=>y.key===h[d]))continue;let f=this.slots.some(y=>y.channel==="cells0")?"cells1":"cells0",w=this.authority.begin(f,this.locale);if(!w||!this.current(t)||e!==this.windowIntent)return;let g,p=new Promise(y=>{g=y}),S={key:h[d],channel:f,row:c[d],rows:Math.min(o,this.rows-c[d]),column:this.columnStart,columns:this.windowColumns.length,lease:w,source:this.sheet.data,promise:p,settle:g,state:"queued",units:0};w.context.signal.addEventListener("abort",()=>S.settle(!1),{once:!0}),this.slots.push(S)}this.paint++,queueMicrotask(()=>this.pump())}pump(){for(;this.physicalReads<2;){let t=this.slots.find(e=>e.state==="queued"&&e.lease.isCurrent());if(!t)return;t.state="loading",this.physicalReads++,this.read(t)}}async read(t){try{let e=t.source,i=e.readCells?await e.readCells(Object.freeze({...t.lease.context,revision:this.sheetRevision,row:t.row,rowCount:t.rows,column:t.column,columnCount:t.columns})):void 0;if(!t.lease.isCurrent()||!this.slots.includes(t))return;if(i!==void 0&&(!Array.isArray(i)||i.length!==t.rows))throw new TypeError("Invalid source rectangle");let s=[],r=this.labelUnits+this.slots.reduce((a,l)=>a+(l===t?0:l.units),0),o=r;for(let a=0;a<t.rows;a++){let l=i?.[a];if(i!==void 0&&(!Array.isArray(l)||l.length!==t.columns))throw new TypeError("Invalid source rectangle row");let c=[];for(let h=0;h<t.columns;h++){let u=i!==void 0?l[h]:e.cellAt(t.row+a,t.column+h);if(!t.lease.isCurrent()||!this.slots.includes(t))return;let d=this.scalar(u);if(r+=d.length,r>2e6)throw new b;c.push(d)}s.push(c)}t.values=s,t.units=r-o,t.state="ready",t.settle(!0),this.paint++,this.notify()}catch(e){t.lease.isCurrent()&&this.slots.includes(t)&&this.fail(e),t.settle(!1)}finally{this.physicalReads--,this.pump()}}scrollColumns(t){this.chrome.scrollColumns(this,t)}row(t,e,i){let s=this.slots.find(a=>t>=a.row&&t<a.row+a.rows&&a.state==="ready"),r=t+1+Number(this.hooks.header()),o=this.chrome.highlightsForRow(r,this.hooks.workbook?this.sheet?.name:void 0);return v`<div part="data-row" role="presentation" style=${`${e};height:${i}px;overflow:hidden`}>
|
|
13
|
+
${this.windowColumns.map((a,l)=>this.chrome.renderCell(s?.values?.[t-s.row]?.[l]??"",a,o,"cell","cell",this.hooks.colorVar,this.hooks.activeHighlight(),this.columns))}
|
|
14
|
+
</div>`}render(){if(this.failure)return v`<div part="error">${this.hooks.localize(P(this.failure)?"documentPreviewResourceTooLarge":"documentPreviewFailedToLoad")}</div>`;if(!this.loaded||!this.sheet||!this.columns)return v`<p class="empty-note">${this.hooks.localize("noData")}</p>`;let t=this.epoch,e=this.sheetIntent,i=()=>this.current(t)&&this.sheetIntent===e;try{let s=this.chrome.columnWindow(this,this.columns,100);if(this.prepareColumns(s.columns),!i())return v``;if(this.failure)return v`<div part="error">${this.hooks.localize("documentPreviewFailedToLoad")}</div>`;let r=this.host.ownerDocument.defaultView,o=Math.max(1,F(r?.getComputedStyle(this.host).getPropertyValue("--lr-size-3rem").trim()||"3rem",{host:this.host})??48),a=this.hooks.header(),l=this.hooks.workbook?this.bound.search:this.sheet.data.search,c=v`
|
|
15
|
+
${this.busy?v`<p part="spinner" class="empty-note">${this.hooks.localize("loadingDocument")}</p>`:A}
|
|
16
|
+
${typeof l!="function"?v`<p part="search-status" class="empty-note">${this.hooks.localize("sourceSearchUnavailable")}</p>`:A}
|
|
17
|
+
<div part=${this.hooks.headerPart==="header-cell"?"table":"sheet"} role="table" aria-label=${this.hooks.workbook?this.sheet.name:this.hooks.label(this.rows)} aria-rowcount=${this.rows+Number(a)} aria-colcount=${this.columns} @scroll=${h=>{this.chrome.scrollColumns(this,h.currentTarget)}}>
|
|
18
|
+
${a?v`<div part="header-row" role="row" aria-rowindex="1" style=${s.style}>${this.labels.map((h,u)=>this.chrome.renderCell(h.label,this.columnStart+u,this.chrome.highlightsForRow(1,this.hooks.workbook?this.sheet?.name:void 0),"columnheader",this.hooks.headerPart,this.hooks.colorVar,this.hooks.activeHighlight(),this.columns))}</div>`:A}
|
|
19
|
+
<lr-virtual-list part=${this.hooks.headerPart==="header-cell"?A:"rows"} exportparts="data-row:data-row, cell:cell, cell-highlight:cell-highlight, cell-highlight-action:cell-highlight-action" .source=${this.sourceRows} .rowHeight=${o} .renderItem=${this.chrome.rowRenderer(this,[this.paint,s.columns,o,a,this.hooks.activeHighlight()],(h,u)=>this.row(u,s.style,o))} .activeItemId=${this.activeRow} item-role="row" .rowIndexOffset=${Number(a)} .scrollElement=${this.hooks.pageScroll?.()?r??void 0:void 0} @lr-visible-range-change=${this.onRange} @lr-virtual-scroll=${h=>h.stopPropagation()} @lr-load-more=${h=>h.stopPropagation()} ></lr-virtual-list>
|
|
20
|
+
</div>`;return(this.hooks.workbook&&this.sheets.length>1?this.hooks.renderSheetTabs?.(this.sheets.map(h=>h.name),this.sheetIndex,h=>{if(Number.isInteger(h)&&h>=0&&h<this.sheets.length&&h!==this.sheetIndex){this.hooks.cancelAnchor();try{this.selectSheet(h)&&this.notify()}catch(u){this.fail(u)}}},c):void 0)??c}catch(s){return i()?(this.fail(s),v`<div part="error">${this.hooks.localize(P(s)?"documentPreviewResourceTooLarge":"documentPreviewFailedToLoad")}</div>`):v``}}async revealAnchor(t){if(t.kind!=="cell-range")return!1;let e=Q(t.range);if(!e)return!1;let i=t.sheet??e.sheet;if(!this.hooks.workbook&&i)return!1;let s=i?this.sheets.findIndex(r=>r.name===i):this.sheetIndex;return this.reveal(s,e.startRow-Number(this.hooks.header()),e.startCol)}async reveal(t,e,i){if(this.failure||t<0||t>=this.sheets.length)return!1;if(t!==this.sheetIndex)try{if(!this.selectSheet(t))return!1;this.notify()}catch(f){return this.fail(f),!1}if(!Number.isSafeInteger(e)||e<(this.hooks.header()?-1:0)||e>=this.rows||!Number.isSafeInteger(i)||i<0||i>=this.columns)return!1;let s=this.authority.begin("reveal",this.locale);if(!s||(await this.host.updateComplete,!s.isCurrent())||(await this.chrome.showColumn(this,i,this.hooks.scrollContainer?.()??this.host.shadowRoot?.querySelector('[part="sheet"]')??null),!s.isCurrent()))return!1;if(e<0)return this.chrome.revealCell(this.host.shadowRoot?.querySelector(`[part="header-row"] [aria-colindex="${i+1}"]`));let r=this.firstRow,o=this.sheet,a=this.epoch,l={row:e};this.revealWindow=l,this.firstRow=e,this.activeRow=e,this.requestWindow(),this.notify();let c=()=>{let f=l.range;return this.revealWindow===l&&(this.revealWindow=void 0),this.firstRow===e&&this.sheet===o&&this.current(a)&&(f?(this.firstRow=f.row,this.visibleRows=f.visible):this.firstRow=r,this.requestWindow(),this.notify()),!1};if(await this.host.updateComplete,!s.isCurrent())return c();let h=this.host.shadowRoot?.querySelector(z("virtual-list"));if(!h)return c();if(h.scrollToIndex(e,{align:"start",behavior:"auto"}),await h.updateComplete,this.revealWindow===l&&(this.revealWindow=void 0),!s.isCurrent())return!1;let u=this.slots.find(f=>e>=f.row&&e<f.row+f.rows&&i>=f.column&&i<f.column+f.columns);if(!u||!await u.promise||!s.isCurrent()||(await this.host.updateComplete,await h.updateComplete,!s.isCurrent()))return!1;let d=h.shadowRoot?.querySelector(`[data-row-index="${e}"] [aria-colindex="${i+1}"]`);return this.chrome.revealCell(d)&&s.isCurrent()}beginSearchChange(){let t=++this.searchIntent;this.hooks.cancelAnchor();for(let e of["search","reveal"]){if(t!==this.searchIntent)return;this.authority.invalidate(e)}return t===this.searchIntent?t:void 0}async search(t){let e=this.beginSearchChange();if(e===void 0)return 0;this.searchState.query=t;let i=W(t,this.locale);if(!i.needle||!i.accepted)return this.searchState.publish([],i.accepted),0;let s=this.bound,r=this.hooks.workbook?s?.search:this.sheet?.data.search;if(e!==this.searchIntent)return 0;if(!s||!r||this.failure)return this.searchState.publish([],!1),0;let o=this.authority.begin("search",this.locale);return o?new Promise(a=>{o.context.signal.addEventListener("abort",()=>a(0),{once:!0});let l=async()=>{if(!o.isCurrent()){a(0);return}this.searchRunning=!0;try{let c=await r.call(s,Object.freeze({...o.context,query:t,limit:K}));if(!o.isCurrent())return;if(!c||!Array.isArray(c.hits)||c.hits.length>K||typeof c.exhaustive!="boolean"||c.total!==null&&T(c.total)<c.hits.length)throw new TypeError("Invalid source search result");if(c.exhaustive&&c.total!==null&&c.total!==c.hits.length)throw new TypeError("Inconsistent source search total");let h=c.exhaustive,u=[];for(let d of c.hits){let f=this.hooks.workbook?this.sheets.findIndex(g=>g.key===d.sheetKey):0;if(f<0||!Number.isSafeInteger(d.row)||d.row<-1||!Number.isSafeInteger(d.column)||d.column<0)throw new TypeError("Invalid source search hit");let w=this.sheets[f].data;if(d.row>=T(w.rowCount)||d.column>=T(w.columnCount)||d.column>=this.limit)throw new TypeError("Source search hit is out of bounds");if(!o.isCurrent())return;if(d.row===-1&&!this.hooks.header()){h=!1;continue}u.push({sheetIndex:f,row:d.row,col:d.column})}if(!o.isCurrent())return;if(!this.searchState.publish(u,h)||!o.isCurrent()){a(0);return}u.length&&await this.reveal(u[0].sheetIndex,u[0].row,u[0].col),o.isCurrent()&&a(u.length)}catch(c){o.isCurrent()&&(this.fail(c),this.searchState.publish([],!1),a(0))}finally{this.searchRunning=!1;let c=this.queuedSearch;this.queuedSearch=void 0,c&&c()}};this.searchRunning?this.queuedSearch=l:l()}):0}async step(t){let e=this.searchIntent;if(!this.searchState.step(t)||e!==this.searchIntent)return!1;let i=this.searchState.matches[this.searchState.activeIndex];return this.reveal(i.sheetIndex,i.row,i.col)}clearSearch(){this.beginSearchChange()!==void 0&&(this.activeRow="",this.searchState.clear(),this.notify())}};var Dt=E` border-inline-end:var(--_lr-table-column-divider,var(--lr-border-width-thin)) solid var(--lr-color-border-subtle);`;function ve(n){return E` [part=base],[part=body],[part=sheet]{display:flex;flex-direction:column;min-inline-size:0}[part=body]{box-sizing:border-box;overflow-y:auto;overflow-x:hidden;max-block-size:var(${n},none)}[part=sheet]{overflow-x:auto;overflow-y:hidden}[part=header-row]{display:grid;min-inline-size:max-content;align-items:center;background:var(--lr-color-surface);color:var(--lr-color-text);font-weight:var(--lr-font-weight-semibold);border-block-end:var(--lr-border-width-medium) solid var(--lr-color-border-subtle)}[part=cell],lr-virtual-list::part(cell){padding:var(--lr-space-2xs) var(--lr-space-xs);${Dt} overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--lr-font-size-sm);color:var(--lr-color-text)}lr-virtual-list::part(data-row){display:grid;min-inline-size:max-content;align-items:center}[part=header-row]{flex-shrink:0}[part=rows]{display:flex;flex-direction:column;min-block-size:0;min-inline-size:max-content}[part=rows]::part(base){block-size:auto;max-block-size:var(${n},var(--lr-size-20rem));min-block-size:0}:host([scroll-mode=page]) :is([part=body],[part=sheet]),:host([scroll-mode=page]) [part=rows]::part(base){max-block-size:none;overflow:visible}:host([scroll-mode=page]) [part=header-row]{position:sticky;inset-block-start:0;z-index:var(--lr-layer-content)}`}function be({color:n,padding:t,outlineOffset:e=E`calc(-1 * var(--lr-border-width-medium))`,cellCursor:i=!0,tag:s}){let r=N(`--lr-${s}-cell-action-hover-bg`),o=N(`--lr-${s}-cell-action-active-bg`),a=i?E`cursor:pointer;`:E``;return E` [part~=cell-highlight],lr-virtual-list::part(cell-highlight){outline:var(--lr-border-width-medium) solid ${n};outline-offset: ${e};${a} padding:0}[part=cell-highlight-action],lr-virtual-list::part(cell-highlight-action){all:unset;box-sizing:border-box;display:block;inline-size:100%;${G} padding: ${t};overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;${tt}}[part=cell-highlight-action]:hover,lr-virtual-list::part(cell-highlight-action):hover{background:var(${r},var(--lr-color-brand-quiet))}[part=cell-highlight-action]:active,lr-virtual-list::part(cell-highlight-action):active{background:var(${o},${J("var("+r.cssText+", var(--lr-color-brand-quiet))")})}[part=cell-highlight-action]:focus-visible,lr-virtual-list::part(cell-highlight-action):focus-visible{${Z}}`}export{Ot as a,mt as b,qt as c,Ht as d,Ut as e,jt as f,_ as g,Qt as h,Q as i,fe as j,yt as k,me as l,Ct as m,Dt as n,ve as o,be as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-5NRIHGYU.js";function c(t,i){return Math.min(20,Math.max(0,i-1-Math.floor(Math.log10(t))))||0}function f(t,i=3,r=3){let n=Math.abs(t);return n>0&&n<1?Math.max(i,c(n,r)):i}function u(t,i,r,n=3){let a=Math.abs(t);if(a>0&&a<1e-18)return o(i,{notation:"scientific",maximumSignificantDigits:3}).format(t);let m=f(t,n);return m>n?o(i,{maximumFractionDigits:m}).format(t):(r??o(i,n===3?void 0:{maximumFractionDigits:n})).format(t)}function h(t,i,r){if(typeof t=="function")try{let n=t(i);if(n!=null)return String(n)}catch{}return u(i,r)}export{c as a,f as b,u as c,h as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,b as u}from"./chunk-3CLMBMQL.js";var m=Symbol.for("@aceshooting/lyra-ui.document-runtime-diagnostics.v1"),v=Symbol(),b=new WeakSet;function y(t){try{console.warn(t)}catch{}}function s(){y(`[lr-runtime-diagnostic-unavailable] Cannot check ${o} runtime copies in this document. Resolve all public imports and lazy chunks from one application package context; overlay coordination still requires one runtime.`)}function d(t){if(!b.has(t)){b.add(t);try{let n=Object.getOwnPropertyDescriptor(t,m);if(!n){let i=Object.preventExtensions(Object.defineProperties(Object.create(null),{schema:{value:1},token:{value:v},version:{value:u},warned:{value:!1,writable:!0}}));Object.defineProperty(t,m,{value:i});return}let e=n.value;if(!("value"in n)||n.configurable||n.writable||n.enumerable||e===null||typeof e!="object"){s();return}let p=Object.getOwnPropertyDescriptor(e,"schema"),c=Object.getOwnPropertyDescriptor(e,"token"),a=Object.getOwnPropertyDescriptor(e,"version"),r=Object.getOwnPropertyDescriptor(e,"warned"),l=i=>!!i&&"value"in i&&!i.writable&&!i.configurable;if(!l(p)||p?.value!==1||!l(c)||typeof c?.value!="symbol"||!l(a)||typeof a?.value!="string"||!/^[\dA-Za-z.+-]{1,128}$/u.test(a.value)||!r||!("value"in r)||typeof r.value!="boolean"||!r.writable||r.configurable||Object.isExtensible(e)){s();return}if(c.value===v||r.value)return;Object.defineProperty(e,"warned",{value:!0}),y(`[lr-runtime-duplicate] Multiple ${o} runtime copies are active in one document (versions: ${a.value}, ${u}). Overlay coordination requires one application-owned runtime. Resolve all ${o} public imports, including lazy chunks, from the same application package context; matching versions alone is insufficient. See the imports and registration guide.`)}catch{s()}}}export{d as a};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import{a as D}from"./chunk-5JKTCQAF.js";import{d as u}from"./chunk-DA3VX2RO.js";import{a as w,b as z}from"./chunk-CMUORJBL.js";import{Ac as O,vc as F,wc as I,xc as U,yc as P,zc as Y}from"./chunk-URHGY3TD.js";import{b as T}from"./chunk-C6BTEIPF.js";import{db as C}from"./chunk-IFDV4HWR.js";import{a as g}from"./chunk-VQAZGI6X.js";import{e as $}from"./chunk-BDETGDBF.js";import{D as _,G as R,a as A,f as S,v as E}from"./chunk-2CH7YZRL.js";import{c as L}from"./chunk-32IK33EM.js";import{a as p,b as m,c as k,z as y}from"./chunk-JTGCA7JE.js";import{b as v}from"./chunk-5NRIHGYU.js";import{b as x,e as r,i as n}from"./chunk-CN2FTU25.js";var j=x` :host{display:block}[part=base]{display:flex;flex-direction:column;gap:var(--lr-space-s)}[part=header]{display:flex;align-items:center;gap:var(--lr-space-xs);box-sizing:border-box;${A} inline-size:100%;padding:var(--lr-space-xs) 0;border:none;border-block-end:var(--lr-border-width-thin) solid var(--lr-color-border);background:transparent;color:var(--lr-color-text);font:inherit;font-weight:var(--lr-font-weight-semibold);text-align:start;cursor:pointer;${_}}[part=header]:hover{background:var(--lr-provenance-panel-header-hover-bg,var(--lr-color-brand-quiet))}[part=header]:active{background:var(--lr-provenance-panel-header-active-bg,${E("var(--lr-provenance-panel-header-hover-bg, var(--lr-color-brand-quiet))")})}[part=header]:focus-visible{${S}}${R({glyph:"[part='toggle']",expanded:"[aria-expanded='true'] > [part='toggle']",collapsedRtl:":host(:dir(rtl)) [aria-expanded='false'] > [part='toggle']"})} .stack{display:flex;flex-direction:column;gap:var(--lr-space-xs)}[part=count]{color:var(--lr-color-text-quiet);font-weight:var(--lr-font-weight-medium)}[part=body]{display:flex;flex-direction:column;gap:var(--lr-space-s);padding-block-start:var(--lr-space-xs)}[part=body][hidden]{display:none}.entity-row{display:flex;flex-wrap:wrap;justify-content:var(--lr-provenance-panel-entity-justify,flex-start);gap:var(--lr-space-xs)}`;var c=500;function M(i){return{entities:u(Array.isArray(i?.entities)?i.entities:[],t=>t?.id),relationships:(Array.isArray(i?.relationships)?i.relationships:[]).filter(t=>t!==null&&typeof t=="object"&&Array.isArray(t.path)),communities:u(Array.isArray(i?.communities)?i.communities:[],t=>t?.id),chunks:u(Array.isArray(i?.chunks)?i.chunks:[],t=>t?.id)}}var l=class extends y{constructor(){super(...arguments),this.provenance=null,this.types=[],this.thresholds=D,this.expandedSections={entities:!0,relationships:!0,communities:!0,chunks:!0},this.sectionIdBase=L("provenance-panel")}static{this.defaultStrings={...super.defaultStrings,provenanceChunks:F,provenanceCommunities:I,provenanceEmpty:U,provenanceEntities:C,provenancePanelLabel:P,provenancePanelLimit:Y,provenanceRelationships:O}}static{this.collectionSupport=$}static{this.immutableEventDetails=Object.freeze(["lr-retrieval-disclosure-change"])}static{this.ownedCollectionProperties=Object.freeze(["provenance","types"])}static{this.styles=[y.styles,j]}toggleSection(t){let o=!this.expandedSections[t];this.expandedSections={...this.expandedSections,[t]:o},this.emit("lr-retrieval-disclosure-change",{kind:"section",section:t,expanded:o})}renderSection(t,o,s,d){if(s===0)return n;let a=this.expandedSections[t],h=`${this.sectionIdBase}-${t}`;return r`
|
|
2
|
+
<div part="section">
|
|
3
|
+
<button part="header" type="button" aria-expanded=${a?"true":"false"} aria-controls=${h} @click=${()=>this.toggleSection(t)} >
|
|
4
|
+
<span part="toggle" aria-hidden="true">${T()}</span>
|
|
5
|
+
<span>${this.localize(o)}</span>
|
|
6
|
+
<span part="count" >${v(this.effectiveLocale).format(s)}</span
|
|
7
|
+
>
|
|
8
|
+
</button>
|
|
9
|
+
<div part="body" id=${h} ?hidden=${!a}>
|
|
10
|
+
${a?d():n}
|
|
11
|
+
${a&&s>c?r`<p part="limit" role="note">${this.localize("provenancePanelLimit",void 0,{count:v(this.effectiveLocale).format(c)})}</p>`:n}
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
`}render(){let t=this.provenance;if(this.sectionsCache?.source!==t){let e=M(t);this.sectionsCache={source:t,value:e,limitedChunks:e.chunks.slice(0,c)}}let o=this.sectionsCache,{entities:s,relationships:d,communities:a,chunks:h}=o.value,q=new Map(u(this.types,e=>e?.id).map(e=>[e.id,e.label])),B=s.length===0&&d.length===0&&a.length===0&&h.length===0,f=w(this,this.label==null?this.localize("provenancePanelLabel"):this.label),b=z(this,"group");return!t||B?r`<div part="base" role=${b??n} aria-label=${f??n} >
|
|
15
|
+
<lr-empty part="empty" heading=${this.localize("provenanceEmpty")} ></lr-empty>
|
|
16
|
+
</div>`:r`
|
|
17
|
+
<div part="base" role=${b??n} aria-label=${f??n} >
|
|
18
|
+
${this.renderSection("entities","provenanceEntities",s.length,()=>r`<div part="entity-row" class="entity-row">
|
|
19
|
+
${g(s.slice(0,c),e=>e.id,e=>{let H=q.get(e.type)??e.type??"";return r`<lr-entity-chip entity-id=${e.id} text=${e.label} type=${e.type??""} type-label=${H} ></lr-entity-chip>`})}
|
|
20
|
+
</div>`)}
|
|
21
|
+
${this.renderSection("relationships","provenanceRelationships",d.length,()=>r`<div class="stack">
|
|
22
|
+
${d.slice(0,c).map(e=>r`<lr-path-strip .path=${e.path}></lr-path-strip>`)}
|
|
23
|
+
</div>`)}
|
|
24
|
+
${this.renderSection("communities","provenanceCommunities",a.length,()=>r`<div class="stack">
|
|
25
|
+
${g(a.slice(0,c),e=>e.id,e=>r`<lr-community-card size="s" .community=${e} ></lr-community-card>`)}
|
|
26
|
+
</div>`)}
|
|
27
|
+
${this.renderSection("chunks","provenanceChunks",h.length,()=>r`<lr-chunk-inspector size="s" .chunks=${o.limitedChunks} .thresholds=${this.thresholds} @lr-toggle=${e=>{e.composedPath()[0]===e.currentTarget&&(e.stopPropagation(),this.emit("lr-retrieval-disclosure-change",{kind:"chunk",section:"chunks",chunkId:e.detail.itemId,expanded:e.detail.expanded}))}} ></lr-chunk-inspector>`)}
|
|
28
|
+
</div>
|
|
29
|
+
`}};p([m({attribute:!1})],l.prototype,"provenance",void 0),p([m({attribute:!1})],l.prototype,"types",void 0),p([m({attribute:!1})],l.prototype,"thresholds",void 0),p([m()],l.prototype,"label",void 0),p([k()],l.prototype,"expandedSections",void 0);export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as k,b as I,d as D}from"./chunk-E3D5VGRJ.js";import{g as _,h as z,k as S,n as W,r as u}from"./chunk-RDTKEL46.js";function U(){throw new Error("Invalid map data layer.")}function K(t,o,e,r){return t===void 0?o:typeof t!="number"||!Number.isFinite(t)?U():Math.min(r,Math.max(e,t))}function X(t,o,e,r){return{id:t,type:"symbol",source:o,minzoom:e.minZoom,layout:{"text-field":e.expression,"text-size":e.size,"symbol-placement":e.placement,"text-allow-overlap":e.allowOverlap,"text-ignore-placement":e.ignorePlacement,...e.font?{"text-font":e.font}:{},...e.anchor===void 0?{}:{"text-anchor":e.anchor},...e.offset===void 0?{}:{"text-offset":e.offset}},paint:{"text-color":r(e.color),"text-halo-color":r(e.haloColor??(e.haloWidth>0?"var(--lr-color-surface)":void 0)),"text-halo-width":e.haloWidth}}}function Z(t,o){if(!(typeof t!="string"||/[\u0000-\u0020\u007f]/u.test(t))){if(t.startsWith("data:")){if(t.length>Math.ceil(1048576/3)*4+32)return;let e=/^data:(image\/(?:png|jpeg|webp));base64,/u.exec(t);if(!e)return;let r=t.slice(e[0].length);if(!r.length||r.length%4!==0||!/^[A-Za-z0-9+/]+={0,2}$/u.test(r))return;let i=r.length/4*3-(r.endsWith("==")?2:r.endsWith("=")?1:0);return i<1||i>1048576?void 0:Object.freeze({url:t,kind:"data",mime:e[1]})}if(!(!t.startsWith("blob:")||t.length>4096))try{let e=new URL(o),r=new URL(t),i=new URL(t.slice(5));return e.origin==="null"||r.origin!==e.origin||i.origin!==e.origin||i.username||i.password||i.search||i.hash||r.hash?void 0:Object.freeze({url:r.href,kind:"blob"})}catch{return}}}var M={line:["line-color","line-width"],circle:["circle-color","circle-radius","circle-stroke-color","circle-stroke-width"],fill:["fill-color","fill-outline-color"],symbol:["icon-color","icon-halo-color","icon-halo-width","text-color","text-halo-color","text-halo-width"]},V={line:["line-cap","line-join"],circle:[],fill:[],symbol:["icon-image","icon-size","icon-allow-overlap","icon-ignore-placement","text-size","text-allow-overlap","text-ignore-placement","symbol-placement"]},L={"line-width":[0,100],"circle-stroke-width":[0,100],"circle-radius":[0,200],"text-size":[1,128],"icon-size":[0,16],"icon-halo-width":[0,32],"text-halo-width":[0,32]},y=()=>{throw new Error("Invalid vector style")};function b(t,o){return W(t,o,y)}function C(t,o,e,r){let i=0,a=0,h=new WeakSet,g=(c,p)=>{if(++i>o||p>e)return y();if(typeof c=="string"){a+=c.length,a>r&&y();return}if(c===null||typeof c=="boolean"||typeof c=="number"&&Number.isFinite(c))return;if(typeof c!="object"||h.has(c))return y();h.add(c);let d=Array.isArray(c);if(!d&&!u(c))return y();if(d){let s=Object.getPrototypeOf(c);if(!Array.isArray(s))return y();let l=S(s,"constructor");if(l===_||l===z||typeof l.value!="function"||Function.prototype.toString.call(l.value)!==Function.prototype.toString.call(Array)||b(l.value,"prototype")!==s)return y()}let f=Reflect.ownKeys(c),n=d?b(c,"length"):void 0;if(d&&(typeof n!="number"||!Number.isSafeInteger(n)||n<0||f.length!==n+1))return y();for(let s of f){if(d&&s==="length")continue;if(typeof s!="string"||["__proto__","prototype","constructor"].includes(s)||d&&(!/^(0|[1-9][0-9]*)$/u.test(s)||Number(s)>=n))return y();let l=S(c,s);if(l===_||l===z||!l.enumerable||(d||(a+=s.length),a>r))return y();g(l.value,p+1)}h.delete(c)};g(t,0)}var m=t=>typeof t=="number"&&Number.isFinite(t),F=t=>typeof t=="string"&&t.length>0&&t.length<=128,x=t=>Array.isArray(t)&&t.length===2&&t[0]==="get"&&F(t[1]),w=t=>Array.isArray(t)&&t.length===3&&t[0]==="number"&&x(t[1])&&m(t[2]),R=t=>x(t)||w(t)||typeof t=="string"||m(t)||typeof t=="boolean",H=t=>x(t)?void 0:w(t)?"number":t===null?"null":typeof t;function P(t,o=!1){return Array.isArray(t)&&t.length>=1&&t.length<=64&&t.every(e=>typeof e==typeof t[0]&&(typeof e=="string"||m(e)||o&&typeof e=="boolean"))}function O(t){if(!Array.isArray(t))return!1;let[o,e,r]=t;return o==="has"?t.length===2&&F(e):o==="!"?t.length===2&&O(e):o==="all"||o==="any"?t.length>=2&&t.length<=33&&t.slice(1).every(O):o==="=="||o==="!="?t.length===3&&R(e)&&(r===null||typeof r=="string"||typeof r=="boolean"||m(r)):["<","<=",">",">="].includes(o)?t.length===3&&(w(e)||m(e))&&m(r):o==="in"&&t.length===3&&R(e)&&Array.isArray(r)&&r.length===2&&r[0]==="literal"&&P(r[1],!0)}function T(t,o,e,r){if(!Array.isArray(t))return o==="color"?typeof t=="string"&&t.trim().length>0:o==="icon"?typeof t!="string"||!t.trim()||t.length>128||["__proto__","prototype","constructor"].includes(t.trim())?!1:(r.add(t),!0):m(t)&&t>=o[0]&&t<=o[1];if(w(t))return Array.isArray(o);let i=t[0],a=f=>T(f,o,!1,r);if(i==="case"){let f=(t.length-2)/2;if(!Number.isInteger(f)||f<1||f>32||!a(t[t.length-1]))return!1;for(let n=1;n<t.length-1;n+=2)if(!O(t[n])||!a(t[n+1]))return!1;return!0}if(i==="match"){let f=(t.length-3)/2;if(!Number.isInteger(f)||f<1||f>32||!x(t[1]))return!1;let n=new Set,s;for(let l=2;l<t.length-1;l+=2){let j=t[l],N=Array.isArray(j)?j:[j];if(!P(N))return!1;for(let A of N){if(s!==void 0&&s!==typeof A||n.has(A))return!1;s=typeof A,n.add(A)}if(!a(t[l+1]))return!1}return a(t[t.length-1])}if(i!=="step"&&i!=="interpolate")return!1;let h=i==="interpolate";if(h&&(o==="icon"||!Array.isArray(t[1])||t[1].length!==1||t[1][0]!=="linear"))return!1;let g=t[h?2:1];if(!(w(g)||m(g)||e&&Array.isArray(g)&&g.length===1&&g[0]==="zoom"))return!1;let c=3,p=(t.length-c)/2;if(!Number.isInteger(p)||p<(h?2:1)||p>32||!h&&!a(t[2]))return!1;let d;for(let f=c;f<t.length;f+=2){let n=t[f];if(!m(n)||d!==void 0&&(n<=d||h&&!Number.isFinite(n-d))||!a(t[f+1]))return!1;d=n}return!0}function J(t){try{if(!u(t))return;let o=b(t,"render"),e=b(t,"hasLabel");if(typeof o!="string"||!Object.hasOwn(M,o)||typeof e!="boolean")return;let r={};for(let p of Reflect.ownKeys(t))if(!(p==="render"||p==="hasLabel")){if(typeof p!="string"||!["paint","layout","filter"].includes(p))return;r[p]=b(t,p)}C(r,k,12,I);let i=D(r);if(!i||!u(i.value))return;let a=i.value.paint??{},h=i.value.layout??{};if(!u(a)||!u(h)||Object.hasOwn(r,"paint")&&r.paint===null||Object.hasOwn(r,"layout")&&r.layout===null)return;let g=new Set;for(let[p,d,f]of[["paint",a,M[o]],["layout",h,V[o]]])for(let[n,s]of Object.entries(d)){if(!f.includes(n)||n.startsWith("text-")&&!e||n.startsWith("icon-")&&n!=="icon-image"&&!Object.hasOwn(h,"icon-image"))return;if(n.endsWith("color")||L[n]||n==="icon-image"){let l=n.endsWith("color")?"color":n==="icon-image"?"icon":L[n];if(!T(s,l,p==="paint"||n==="text-size"||n==="icon-size",g))return}else if(n.endsWith("overlap")||n.endsWith("placement")&&n!=="symbol-placement"){if(typeof s!="boolean")return}else if(typeof s!="string"||!(n==="line-cap"?["butt","round","square"]:n==="line-join"?["bevel","round","miter"]:["point","line"]).includes(s))return}if(o==="symbol"&&!e&&!Object.hasOwn(h,"icon-image"))return;let c=i.value.filter;return Object.hasOwn(r,"filter")&&!O(c)?void 0:Object.freeze({paint:Object.freeze(a),layout:Object.freeze(h),...c===void 0?{}:{filter:c},iconIds:Object.freeze([...g]),key:i.key})}catch{return}}export{Z as a,U as b,K as c,X as d,L as e,C as f,w as g,H as h,J as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as m}from"./chunk-OP7ARFKR.js";import{a as u}from"./chunk-5PNMEGOF.js";import{f}from"./chunk-Z7WGANHK.js";function a(n,i){let e=n.ownerDocument,c=m(e),t=u(c)&&f(n,c)?c:void 0,o=!1,l=()=>{o=!0};t&&e.addEventListener("focus",l,!0);try{i()}finally{t&&e.removeEventListener("focus",l,!0)}return()=>{let r=m(e),s=!r||r===e.body||r===e.documentElement;t?.isConnected&&f(n,t)&&t.ownerDocument===e&&!o&&s&&t.focus({preventScroll:!0})}}function y(n,i){for(let e of n.querySelectorAll(".maplibregl-control-container")){let c=()=>i()&&n.contains(e);for(let t of["top","bottom"]){if(!c())return;let o=e.querySelector(`:scope > .map-control-row-${t}`);o||(o=n.ownerDocument.createElement("div"),o.className=`map-control-row map-control-row-${t}`,o.part.add(t==="top"?"controls-top":"controls-bottom"),e.append(o));for(let l of["right","left"]){if(!c())return;let r=e.querySelector(`.maplibregl-ctrl-${t}-${l}`);if(!r)continue;let s=l==="left"?o.querySelector(`.maplibregl-ctrl-${t}-right`):null;if(r.parentNode===o&&r.nextSibling===s)continue;let p=a(r,()=>{typeof o.moveBefore=="function"?o.moveBefore(r,s):o.insertBefore(r,s)});if(!c())return;p()}}}}export{a,y as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as m,h as a,k as S}from"./chunk-RDTKEL46.js";var p=/[;{}[\]\\]|\/\*|\*\//,C=/url\s*\(/i,h=/(?:^|[^\w-])(?:-webkit-|-moz-)?(?:image-set|cross-fade|image|element|src|paint|attr)\s*\(/i,A=/["']/,_=/^-?[_a-zA-Z][\w-]*$|^--[\w-]+$/,d=/^(?:#[0-9a-fA-F]{3,8}|[a-zA-Z]+|(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\([^;{}]*\)|var\(--[\w-]+(?:\s*,[^;{}]+)?\))$/,b=/^(?:auto|none|fit-content|max-content|min-content|stretch|[-+]?(?:\d+|\d*\.\d+)(?:px|em|rem|%|ch|ex|cap|ic|lh|rlh|vw|vh|vi|vb|vmin|vmax|svw|svh|lvw|lvh|dvw|dvh|cm|mm|q|in|pt|pc)|(?:calc|min|max|clamp|var)\([^;{}]+\))$/,N=/^(?:(?:auto|[-+]?(?:\d+|\d*\.\d+)(?:px|em|rem|%|ch|vw|vh|vmin|vmax)|var\(--[\w-]+(?:\s*,[^;{}]+)?\))(?:\s+|$)){1,4}$/;function w(t){let i=0,n="";for(let e of t){if(n){e===n&&(n="");continue}if(e==="'"||e==='"')n=e;else if(e==="(")i+=1;else if(e===")"&&(i-=1)<0)return!1}return n===""&&i===0}function o(t){return typeof t=="string"&&t.trim()!==""&&!p.test(t)&&!C.test(t)&&w(t)}function f(t,i,n){return typeof CSS<"u"&&typeof CSS.supports=="function"?CSS.supports(t,i.trim()):n.test(i.trim())}function F(t){if(!(!o(t)||A.test(t)||h.test(t)))return f("color",t,d)?t:void 0}function E(t,i){if(!(!_.test(t)||!o(i)||h.test(i)))return t.startsWith("--")||typeof CSS>"u"||typeof CSS.supports!="function"||CSS.supports(t,i.trim())?i:void 0}function R(t,i="max-height"){if(o(t))return f(i,t,b)?t:void 0}function T(t){if(o(t))return f("inset",t,N)?t:void 0}function x(t,i){return t==="none"||t==="both"||t==="horizontal"||t==="vertical"?t:i}function z(t){try{if(typeof t!="object"||t===null||Array.isArray(t))return;let i=u=>{let c=S(t,u);if(!(c===m||c===a))return c.value},n=i("x"),e=i("y"),r=i("width"),s=i("height");return typeof n!="number"||typeof e!="number"||typeof r!="number"||typeof s!="number"||!Number.isFinite(n)||!Number.isFinite(e)||!Number.isFinite(r)||!Number.isFinite(s)||r<0||s<0?void 0:{x:n,y:e,width:r,height:s}}catch{return}}export{F as a,E as b,R as c,T as d,x as e,z as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n=class{constructor(t){this.host=t,this.generation=0}get pending(){return this.handle!==void 0}begin(){if(this.cancel(),!this.host.isConnected)return;let t=this.host.ownerDocument,e=t.defaultView;if(e)return this.owner=e,this.document=t,{owner:e,document:t,generation:this.generation}}isCurrent(t){return this.handle!==void 0&&this.owner===t.owner&&this.document===t.document&&this.generation===t.generation&&this.host.isConnected&&this.host.ownerDocument===t.document}finish(){this.handle=void 0,this.owner=void 0,this.document=void 0}cancel(){this.generation+=1,this.handle!==void 0&&this.owner&&this.clear(this.owner,this.handle),this.finish()}},h=class extends n{schedule(t,e){let i=this.begin();i&&(this.handle=i.owner.setTimeout(()=>{this.isCurrent(i)&&(this.finish(),e())},t))}clear(t,e){t.clearTimeout(e)}},o=class extends n{schedule(t,e){let i=this.begin();i&&(this.handle=i.owner.setInterval(()=>{this.isCurrent(i)&&e()},t))}clear(t,e){t.clearInterval(e)}},r=class extends n{schedule(t){let e=this.begin();e&&(this.handle=e.owner.requestAnimationFrame(i=>{this.isCurrent(e)&&(this.finish(),t(i))}))}clear(t,e){t.cancelAnimationFrame(e)}};export{h as a,o as b,r as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-CN2FTU25.js";function e(r,n=o`100%`){return o` @media (hover:none),(pointer:coarse){${r}{font-size:max(${n},var(--lr-form-control-touch-font-size-min,var(--lr-size-16px)))}}`}export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as s,h as f,k as c,r as l}from"./chunk-RDTKEL46.js";var d=["source","sourceLayer","layerType"];function v(t){let r={},i=!1;for(let o of d){let e=c(t,o);if(e===f)return;if(e===s||e.value===void 0){r[o]=void 0;continue}if(typeof e.value!="string"||!e.value.trim()||e.value.length>1024)return;r[o]=e.value,i=!0}return i?Object.freeze(r):null}function b(t,r){return(t.source===void 0||t.source===r.source)&&(t.sourceLayer===void 0||t.sourceLayer===r.sourceLayer)&&(t.layerType===void 0||t.layerType===r.type)}function S(t,r,i){let o=[],e=new Set;for(let a of t){let n=i(a).layerId;n!==void 0&&!e.has(n)&&(e.add(n),o.push({layerId:n,entry:a}))}for(let a of t){let n=i(a).selector;if(n)for(let u of r)!e.has(u.id)&&b(n,u)&&(e.add(u.id),o.push({layerId:u.id,entry:a}))}return o}var y=Object.freeze({interactive:!1,priority:0});function p(t){let r=c(t,"interactive"),i=c(t,"priority");if(r===f||i===f)return y;let o=r===s?void 0:r.value,e=i===s?void 0:i.value;return o!==void 0&&typeof o!="boolean"||e!==void 0&&(typeof e!="number"||!Number.isFinite(e)||Math.abs(e)>1e6)?y:Object.freeze({interactive:o!==!1,priority:typeof e=="number"?e:0})}function h(t){try{if(t==null)return Object.freeze([]);if(!Array.isArray(t))return;let r=c(t,"length");if(typeof r!="object"||typeof r.value!="number"||r.value>4096)return;let i=[],o=new Set;for(let e=0;e<r.value;e++){let a=c(t,String(e));if(typeof a!="object"||!l(a.value))return;let n=c(a.value,"layerId"),u=v(a.value);if(u===void 0||n===f)return;if(n===s||n.value===void 0){if(!u)return;i.push(Object.freeze({selector:u,...p(a.value)}));continue}if(u||typeof n.value!="string"||!n.value.trim()||n.value.length>1024||o.has(n.value))return;o.add(n.value),i.push(Object.freeze({layerId:n.value,...p(a.value)}))}return Object.freeze(i)}catch{return}}export{v as a,S as b,p as c,h as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as i}from"./chunk-WK4ZGZU2.js";import{b as a}from"./chunk-2WXXKPUW.js";import{d as t}from"./chunk-32IK33EM.js";import{e as o,i as l}from"./chunk-CN2FTU25.js";function u(e){return new i(e,()=>e.renderRoot.querySelector('[part~="base"]'))}function d(e,n="base"){let r=t(e),p=r===""||r===null&&e.accessibleLabel===""?"":a(e,e.label)??l;return o`<div part=${n} role="group" aria-label=${p}><slot></slot></div>`}export{u as a,d as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=["class","style","data-lr-theme","data-lr-mode","data-lr-look","data-lr-surface","data-lr-density","data-lr-accent","data-lr-accent-neutral","data-lr-accent-success","data-lr-accent-warning","data-lr-accent-danger","data-lr-theme-scope","data-lr-contrast","data-lr-motion","data-lr-design-token-mode","data-theme","data-color-scheme"];export{t as a};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{a as h}from"./chunk-CSV23ONU.js";import{a as w}from"./chunk-EQQWQHBM.js";import{b as C}from"./chunk-SMBJ5WYS.js";import{b as z}from"./chunk-C6BTEIPF.js";import{i as b}from"./chunk-QCM7NVLU.js";import{a as D,b as M}from"./chunk-MXGFXKQC.js";import{Gb as k,Hb as x,J as g,K as y}from"./chunk-IFDV4HWR.js";import{Sd as O}from"./chunk-HOE7GLKQ.js";import{a as _}from"./chunk-REOFE46N.js";import{a as L,f as $,g as R}from"./chunk-3HGKUVDX.js";import{G as f,g as s,r as v,v as u}from"./chunk-2CH7YZRL.js";import{c,d as m}from"./chunk-32IK33EM.js";import{a as o,b as i,z as l}from"./chunk-JTGCA7JE.js";import{b as p,e as a,i as n}from"./chunk-CN2FTU25.js";var S=p` :host{display:block;--_lr-thinking-panel-max-block-size:var(--lr-size-16rem)}[part=base]{border:var(--lr-border-width-thin) solid var(--lr-thinking-panel-border-color,var(--lr-color-border));border-radius:var(--lr-thinking-panel-radius,var(--lr-radius));background:var(--lr-thinking-panel-bg,var(--lr-color-surface));overflow:hidden}:host(:is([size='2xs'],[size=xs],[size=s],[size=small])) [part=header]{padding:var(--lr-thinking-panel-compact-header-padding,var(--lr-space-2xs) var(--lr-space-s));gap:var(--lr-thinking-panel-compact-header-gap,var(--lr-space-2xs));font-size:var(--lr-thinking-panel-compact-header-font-size,var(--lr-font-size-sm))}:host(:is([size='2xs'],[size=xs],[size=s],[size=small])) [part=body]{padding:var(--lr-thinking-panel-compact-body-padding,var(--lr-space-s));font-size:var(--lr-thinking-panel-compact-body-font-size,var(--lr-font-size-sm))}:host([frame=plain]) [part=base]{border:0;border-radius:0;background:transparent}[part=header]{${_} flex-wrap:wrap;font-weight:var(--lr-font-weight-semibold);font-size:var(--lr-font-size-md-sm)}[part=header]:hover{background:var(--lr-thinking-panel-header-hover-bg,var(--lr-color-brand-quiet));color:var(--lr-color-brand)}[part=header]:active{background:var(--lr-thinking-panel-header-active-bg,${u("var(--lr-thinking-panel-header-hover-bg, var(--lr-color-brand-quiet))")});color:var(--lr-color-text)}[part=header]:focus-visible{${s}}${f({glyph:'[part="toggle"]',expanded:':host([expanded]) [part="toggle"]',collapsedRtl:':host(:not([expanded]):dir(rtl)) [part="toggle"]'})} [part=label]{flex:1 1 auto;min-inline-size:var(--lr-size-6ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[part=duration]{display:inline-flex;align-items:center;gap:var(--lr-size-0-35em);flex:0 1 auto;min-inline-size:0;overflow-wrap:anywhere;text-align:end;font-weight:var(--lr-font-weight-normal);font-size:var(--lr-font-size-sm);color:var(--lr-color-text-quiet)}[part=duration][data-pending]{color:var(--lr-thinking-panel-pending-color,var(--lr-color-brand))}[part=header]:hover [part=duration],[part=header]:active [part=duration]{color:inherit}.pending-dot{inline-size:var(--lr-size-0-375rem);block-size:var(--lr-size-0-375rem);border-radius:50%;background:currentColor;animation:var(--_lr-motion-animation,lr-thinking-panel-pulse var(--lr-transition-ambient) infinite)}@keyframes lr-thinking-panel-pulse{0%,100%{opacity:0.4;transform:scale(0.85)}50%{opacity:1;transform:scale(1)}}[part=body]{min-inline-size:0;max-inline-size:100%;max-block-size:var(--lr-thinking-panel-max-block-size,var(--_lr-thinking-panel-max-block-size));overflow-x:hidden;overflow-y:auto;overflow-wrap:anywhere;overscroll-behavior:contain;padding:var(--lr-space-m);border-block-start:var(--lr-border-width-thin) solid var(--lr-thinking-panel-border-color,var(--lr-color-border));color:var(--lr-color-text-quiet);font-size:var(--lr-font-size-md-sm);line-height:var(--lr-line-height-normal)}[part=body]:focus-visible{${s}}[part=body]:hover:not(:focus-visible){outline-width:var(--lr-thinking-panel-body-hover-outline-width,var(--lr-focus-ring-width));outline-style:var(--lr-thinking-panel-body-hover-outline-style,solid);outline-color:var(--lr-thinking-panel-body-hover-outline-color,var(--lr-color-border));${v("--lr-thinking-panel-body-hover-outline-offset","inward")}}[part=body][hidden]{display:none}@media (prefers-reduced-motion:reduce){.pending-dot{animation:none!important;opacity:1;transform:none}}`;var F=L(["live","post-hoc"],"live"),r=class extends l{static{this.defaultStrings={...super.defaultStrings,durationMilliseconds:g,durationSeconds:y,thinking:k,thinkingPanelLabel:x,thoughtFor:O}}static{this.styles=[l.styles,S]}get mode(){return this._mode}set mode(e){let t=F.normalizeReflected(this,"mode",e),d=this._mode;d!==t&&(this._mode=t,this.requestUpdate("mode",d))}connectedCallback(){super.connectedCallback(),this.syncContentObserver(),this.addEventListener("lr-content-settled",this.onContentMutated)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("lr-content-settled",this.onContentMutated),this.resetOwnerRealmWork()}adoptedCallback(){super.adoptedCallback(),this.resetOwnerRealmWork()}willUpdate(e){if(super.willUpdate(e),e.get("expanded")===!0&&!this.expanded){let t=this.renderRoot.querySelector('[part="body"]');t&&b(t,()=>[this.renderRoot.querySelector('[part="header"]')])}(e.has("expanded")||e.has("mode"))&&this.expanded&&this.mode==="live"&&(this.follow=!0)}syncContentObserver(){this.expanded&&this.mode==="live"&&this.follow?this.contentObserver.active||this.contentObserver.observe(this,{childList:!0,subtree:!0,characterData:!0}):this.contentObserver.clear()}resetOwnerRealmWork(){this.realmGeneration+=1,this.contentObserver.clear(),this.tail.cancel()}updated(e){super.updated(e),(e.has("expanded")||e.has("mode")||e.has("follow"))&&this.syncContentObserver(),(e.has("expanded")||e.has("mode"))&&this.expanded&&this.mode==="live"&&this.scrollToBottom()}scrollToBottom(){this.follow=!0,this.tail.scrollToTail()}get safeDurationMs(){return D(this.durationMs)}get durationDisplay(){let e=this.safeDurationMs;return e!=null?{text:this.localize("thoughtFor",void 0,{duration:M(this.localize.bind(this),this.effectiveLocale,e)}),pending:!1}:this.mode==="live"?{text:this.localize("thinking"),pending:!0}:null}constructor(){super(),this.size="m",this.frame="card",this.expanded=!1,this._mode="live",this.follow=!0,this.bodyId=c("thinking-panel-body"),this.contentObserver=new h(this,()=>this.onContentMutated()),this.tail=new w(this,{scroller:()=>this.shadowRoot?.querySelector('[part="body"]')??null,shouldFollow:()=>this.mode==="live"&&this.expanded&&this.follow}),this.realmGeneration=0,this.onScroll=()=>{let e=this.tail.atTail;e!==this.follow&&(this.follow=e,this.emit("lr-follow-change",{following:e}))},this.onContentMutated=()=>{this.mode!=="live"||!this.expanded||!this.follow||this.tail.scheduleScrollToTail()},this.toggle=()=>{if(!this.isConnected)return;let e=!this.expanded,t=this.realmGeneration;this.emit("lr-toggle-request",{expanded:e},{cancelable:!0}).defaultPrevented||this.realmGeneration!==t||this.expanded===e||(this.expanded=e,this.emit("lr-toggle",{expanded:this.expanded}))},C(this,()=>{let e=this.renderRoot.querySelector('[part="body"]');return[e&&{el:e,role:!1}]})}render(){let e=this.durationDisplay,t=this.label==null?this.localize("thinkingPanelLabel"):this.label;return a`
|
|
2
|
+
<div part="base">
|
|
3
|
+
<button part="header" type="button" aria-expanded=${this.expanded?"true":"false"} aria-controls=${this.bodyId} @click=${this.toggle} >
|
|
4
|
+
<span part="toggle" aria-hidden="true">${z()}</span>
|
|
5
|
+
<span part="label">${t}</span>
|
|
6
|
+
${e?a`<span part="duration" ?data-pending=${e.pending} >${e.pending?a`<span class="pending-dot" aria-hidden="true"></span>`:n}${e.text}</span
|
|
7
|
+
>`:n}
|
|
8
|
+
</button>
|
|
9
|
+
<div part="body" id=${this.bodyId} role="group" aria-label=${m(this)??t} ?hidden=${!this.expanded} @scroll=${this.onScroll} >
|
|
10
|
+
<slot></slot>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
`}};o([i()],r.prototype,"label",void 0),o([i({reflect:!0})],r.prototype,"size",void 0),o([i({reflect:!0})],r.prototype,"frame",void 0),o([i({type:Boolean,reflect:!0})],r.prototype,"expanded",void 0),o([i({reflect:!0,converter:F})],r.prototype,"mode",null),o([i({type:Boolean,reflect:!0,converter:R})],r.prototype,"follow",void 0),o([i({converter:$(void 0),attribute:"duration-ms"})],r.prototype,"durationMs",void 0);export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as C,k as c}from"./chunk-RDTKEL46.js";var D=1024,z=e=>!0,y=new WeakMap;function w(e){return e!==null&&typeof e=="object"?y.get(e)?.truncation:void 0}function T(e,r,l=z){if(e==null)return;try{if(!Array.isArray(e))return Object.freeze([])}catch{return Object.freeze([])}let a=y.get(e);if(a?.normalize===r&&a.accepts===l)return e;let d=c(e,"length"),o=typeof d=="symbol"?void 0:d.value;if(typeof o!="number"||!Number.isSafeInteger(o)||o<0)return Object.freeze([]);let g=[],m=new Set;for(let u=0;u<Math.min(o,D);u++){let h=c(e,String(u));if(typeof h=="symbol")continue;let n=h.value,b=n,t={};if(typeof n!="string"){if(!n||typeof n!="object")continue;let s=c(n,"code");if(typeof s=="symbol")continue;b=s.value;let j=!1;for(let A of["label","symbol","group","disabled"]){let p=c(n,A);if(p===C){j=!0;break}typeof p!="symbol"&&(t[A]=p.value)}if(j)continue}if(typeof b!="string")continue;let i=r(b);!i||i.length>256||!l(i)||m.has(i)||["label","symbol","group"].some(s=>t[s]!==void 0&&typeof t[s]!="string")||t.disabled!==void 0&&typeof t.disabled!="boolean"||(m.add(i),g.push(Object.freeze({code:i,...t.label===void 0?{}:{label:t.label},...t.symbol===void 0?{}:{symbol:t.symbol},...t.group===void 0?{}:{group:t.group},...t.disabled===void 0?{}:{disabled:t.disabled}})))}let f=Object.freeze(g),v=a?.truncation,O=v?.omitted??Math.max(0,o-D),S=O>0?Object.freeze({source:v?.source??o,retained:f.length,omitted:O}):void 0;return y.set(f,{normalize:r,accepts:l,truncation:S}),f}function I(e){return typeof e=="string"?e.trim():""}function M(e,r,l,a,d,o){d(a()),o(),e.requestUpdate(r,l)}export{D as a,w as b,T as c,I as d,M as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var A=["neutral","brand","success","warning","danger"],e=["2xs","xs","s","m","l","xl","small","medium","large"],r=["circle","rounded","square"];export{A as a,e as b,r as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as s}from"./chunk-OP7ARFKR.js";function p(r){return r.isComposing||r.keyCode===229}function I(r){return r.defaultPrevented||p(r)}function C(r){return r.defaultPrevented||m(r)}function m(r){return p(r)||r.altKey||r.ctrlKey||r.metaKey}function v(r){return r.repeat===!0}function R(r){return C(r)||v(r)}function x(r,i){if(typeof r!="string"&&m(r))return null;let t=typeof r=="string"?r:r.key,{count:e,current:a,orientation:c,direction:b="ltr",wrap:w=!0}=i;if(!Number.isSafeInteger(e)||e<=0)return null;let d=i.isAvailable??(()=>!0),g=c!=="vertical",A=c!=="horizontal",l=g&&t===(b==="rtl"?"ArrowLeft":"ArrowRight")||A&&t==="ArrowDown",K=g&&t===(b==="rtl"?"ArrowRight":"ArrowLeft")||A&&t==="ArrowUp";if(t==="Home"||t==="End"){let o=t==="Home"?1:-1;for(let n=t==="Home"?0:e-1;n>=0&&n<e;n+=o)if(d(n))return n;return null}if(!l&&!K)return null;let f=l?1:-1,h=Number.isSafeInteger(a)&&a>=0&&a<e,k=h?a:l?-1:i.backwardFromMissing==="first"?1:e;for(let o=1;o<=e;o++){let n=k+f*o;if(!w&&(n<0||n>=e)){if(i.clamp){if(h)return d(a)?a:null;for(let u=f>0?e-1:0;u>=0&&u<e;u-=f)if(d(u))return u}break}let y=(n%e+e)%e;if(d(y))return y}return null}function E(r,i){if("disabled"in r&&r.disabled||r.getAttribute("aria-disabled")==="true"||r.getAttribute("aria-hidden")==="true")return!1;for(let t=r;t;t=s(t)){if(t.hasAttribute("hidden")||t.hasAttribute("inert"))return!1;if(t===i)break}return!("hidden"in r&&r.hidden)}function L(r,i){if("disabled"in r&&r.disabled||r.getAttribute("aria-disabled")==="true")return!1;for(let t=r;t&&t!==i;t=t.parentElement)if(t.hasAttribute("hidden")||t.hasAttribute("inert"))return!1;for(let t=i;t;t=s(t))if(t.hasAttribute("inert"))return!1;return!0}export{I as a,C as b,m as c,v as d,R as e,x as f,E as g,L as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c}from"./chunk-GUP74TZL.js";import{Ga as l}from"./chunk-IFDV4HWR.js";import{a as n,b as o,z as i}from"./chunk-JTGCA7JE.js";import{b as a,e as s}from"./chunk-CN2FTU25.js";var d=a`:host{inline-size:var(--lr-skeleton-w,100%);block-size:var(--lr-skeleton-h,var(--lr-size-1em));display:inline-block}[part~=indicator]{background:var(--lr-skeleton-color,var(--color,var(--lr-color-neutral-fill-normal)));border-radius:var(--lr-skeleton-border-radius,var(--border-radius,var(--lr-radius)));block-size:100%;inline-size:100%;display:block}:host([shape=circle]) [part~=indicator]{border-radius:50%}[part~=indicator][data-effect=pulse]{animation:var(--_lr-motion-animation,lr-skeleton-pulse var(--lr-transition-ambient) infinite)}[part~=indicator][data-effect=sheen]{background-image:linear-gradient(90deg,var(--lr-skeleton-color,var(--color,var(--lr-color-neutral-fill-normal))) 0%,var(--lr-skeleton-sheen-color,var(--sheen-color,var(--lr-color-surface))) 50%,var(--lr-skeleton-color,var(--color,var(--lr-color-neutral-fill-normal))) 100%);animation:var(--_lr-motion-animation,lr-skeleton-sheen var(--lr-transition-ambient) infinite);background-size:200% 100%}:host(:dir(rtl)) [part~=indicator][data-effect=sheen]{animation-direction:reverse}@keyframes lr-skeleton-pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes lr-skeleton-sheen{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){[part~=indicator]{animation:none!important}[part~=indicator][data-effect=sheen]{background-image:none}}`,t=class extends i{constructor(){super(...arguments),this.shape="text",this.effect="none",this.announce=!1,this.announcementFrame=new c(this)}static{this.defaultStrings={...super.defaultStrings,loading:l}}static{this.styles=[i.styles,d]}disconnectedCallback(){this.announcementFrame.cancel(),super.disconnectedCallback()}updated(e){super.updated(e),this.announce?(e.has("announce")||e.has("label"))&&this.scheduleAnnouncement():(this.announcementFrame.cancel(),this.sink?.releaseChannel("polite"))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.announce&&this.scheduleAnnouncement()}scheduleAnnouncement(){import("./announcer-DVOE2WFB.js").then(({AnnouncementSinkController:e})=>{if(!this.announce||!this.isConnected)return;let r=this.sink??=new e(this,{eager:["polite"]});this.announcementFrame.schedule(()=>{r.announcePolite(this.label??this.localize("loading"))})},()=>{})}willUpdate(e){super.willUpdate(e),e.has("width")&&this.applySize("--lr-skeleton-w",this.width),e.has("height")&&this.applySize("--lr-skeleton-h",this.height)}applySize(e,r){typeof document>"u"?r&&/^[\w\s.%+*/(),-]+$/.test(r)&&this.setAttribute("style",[this.getAttribute("style"),`${e}:${r}`].filter(Boolean).join(";")):r?this.style.setProperty(e,r):this.style.removeProperty(e)}render(){return s`<span part="base indicator" data-effect=${this.effect}></span>`}};n([o({reflect:!0,useDefault:!0})],t.prototype,"shape",void 0),n([o()],t.prototype,"effect",void 0),n([o()],t.prototype,"width",void 0),n([o()],t.prototype,"height",void 0),n([o({type:Boolean,reflect:!0})],t.prototype,"announce",void 0),n([o()],t.prototype,"label",void 0);export{t as a};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{a as C}from"./chunk-UK7QW5GE.js";import{Ga as b,Ob as g,Pb as k,Qb as S}from"./chunk-IFDV4HWR.js";import{a as w}from"./chunk-3HGKUVDX.js";import{e as m}from"./chunk-BDETGDBF.js";import{g as v}from"./chunk-32IK33EM.js";import{a,b as l,c as y,z as d}from"./chunk-JTGCA7JE.js";import{b as p,e as c,i as f}from"./chunk-CN2FTU25.js";import{b as A}from"./chunk-ZVB4ZXSV.js";var T=new Map,u=new WeakMap;function R(e){if(e===null||typeof e!="object"||Array.isArray(e))return;let t=e;if(t.matches!==void 0&&typeof t.matches!="function")return;let s=typeof t.render=="function",r=typeof t.load=="function";if(s!==r)return s?"direct":"lazy"}function h(e){if(!R(e))throw new TypeError("<lr-tool-result-view>: renderer must provide exactly one of render() or load()")}function z(e){if(R(e)!=="direct")throw new TypeError("<lr-tool-result-view>: a loaded renderer must provide render() and no load()")}function _(){return T}function L(e,t,s=T){let r=s.get(e);if(r)return h(r),r;for(let o of s.values())if(h(o),o.matches?.(t))return o}function O(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&"default"in e?e.default:e}function x(e){if(h(e),!e.load)return Promise.resolve(e);let t=u.get(e);if(t)return t;let s=e.load().then(r=>{let o=O(r);return z(o),o});return u.set(e,s),s.catch(()=>u.delete(e)),s}var $=p`:host{--_lr-tool-result-view-font:var(--lr-font-mono);display:block}[part=base]{display:block}[part=fallback-text]{white-space:pre-wrap;word-break:break-word;font-family:var(--lr-tool-result-view-font,var(--_lr-tool-result-view-font));font-size:var(--lr-font-size-md-sm);color:var(--lr-color-text);unicode-bidi:plaintext;margin:0}[part=fallback-copy]{margin-block-start:var(--lr-space-xs)}`,E=w(C,"success"),U={kind:"fallback"},i=class extends d{constructor(){super(...arguments),this.toolName="",this._fallback="json",this.copyable=!1,this.statusValue="success",this.renderState=U,this.generation=0,this.resolveOnConnect=!1,this.announcements=new A(this,{eager:["polite"]})}static{this.defaultStrings={...super.defaultStrings,loading:b,viewerSearchActiveMatch:g,viewerSearchMatchCount:k,viewerSearchNoMatches:S}}static{this.collectionSupport=m}static{this.ownedCollectionProperties=Object.freeze(["registry"])}static{this.styles=[d.styles,$,v]}static{this.properties={fallback:{reflect:!0,noAccessor:!0}}}get fallback(){return this._fallback}set fallback(t){let s=this._fallback;this._fallback=t==="text"?"text":"json",this.requestUpdate("fallback",s)}get status(){return this.statusValue}set status(t){let s=this.statusValue;this.statusValue=E.normalizeReflected(this,"status",t),this.requestUpdate("status",s)}connectedCallback(){super.connectedCallback(),this.resolveOnConnect&&this.requestUpdate()}disconnectedCallback(){this.renderState.kind==="loading"&&(this.generation++,this.resolveOnConnect=!0),super.disconnectedCallback()}adoptedCallback(){super.adoptedCallback(),this.announcements.adopted()}updated(t){super.updated(t),t.has("status")&&t.get("status")!==void 0&&t.get("status")!==this.status&&this.emit("lr-status-change",{status:this.status}),t.has("renderState")&&this.renderState.kind==="loading"&&t.get("renderState")?.kind!=="loading"&&this.announcements.announce(this.localize("loading"))}willUpdate(t){super.willUpdate(t),(!this.hasUpdated||this.resolveOnConnect||t.has("toolName")||t.has("result")||t.has("args")||t.has("registry"))&&(this.resolveOnConnect=!this.isConnected,this.resolveOnConnect||this.resolve())}async resolve(){let t=++this.generation;this.renderAttempt=void 0;let s=this.registry??_(),r;try{r=L(this.toolName,this.result,s)}catch(o){this.fail(o);return}if(!r){this.fail(new Error(`<lr-tool-result-view>: no renderer registered for tool "${this.toolName}"`));return}if(r.load){if(this.resolvedLazy?.def===r){this.renderWith(this.resolvedLazy.resolved);return}this.renderState={kind:"loading"};let o;try{o=await x(r)}catch(n){if(t!==this.generation)return;this.fail(n);return}if(t!==this.generation)return;this.resolvedLazy={def:r,resolved:o},this.renderWith(o);return}this.renderWith(r)}renderWith(t){let s=this.generation,r=Symbol();this.renderAttempt=r,this.status="success";let o={reportStatus:n=>{s!==this.generation||this.renderAttempt!==r||(this.status=n)}};try{let n=t.render(this.result,this.args,o);if(s!==this.generation||this.renderAttempt!==r)return;this.renderState={kind:"rendered",template:n}}catch(n){if(s!==this.generation||this.renderAttempt!==r)return;this.renderAttempt=void 0,this.fail(n)}}fail(t){this.emit("lr-render-error",{toolName:this.toolName,error:t}),this.status="success",this.renderState=U}render(){let t=this.renderState;return c`
|
|
2
|
+
<div part="base" aria-busy=${t.kind==="loading"?"true":"false"}>
|
|
3
|
+
${t.kind==="loading"?c`
|
|
4
|
+
<span class="sr-only">${this.localize("loading")}</span>
|
|
5
|
+
<lr-skeleton shape="rect" height="4rem" .announce=${!1}></lr-skeleton>
|
|
6
|
+
`:t.kind==="rendered"?t.template:this.renderFallback()}
|
|
7
|
+
</div>
|
|
8
|
+
`}renderFallback(){return this.fallback==="text"&&typeof this.result=="string"?c`
|
|
9
|
+
<pre part="fallback-text">${this.result}</pre>
|
|
10
|
+
${this.copyable?c`<lr-copy-button part="fallback-copy" .value=${this.result}></lr-copy-button>`:f}
|
|
11
|
+
`:c`<lr-json-viewer .data=${this.result} ?copyable=${this.copyable}></lr-json-viewer>`}};a([l({attribute:!1})],i.prototype,"registry",void 0),a([l({attribute:"tool-name"})],i.prototype,"toolName",void 0),a([l({attribute:!1})],i.prototype,"result",void 0),a([l({attribute:!1})],i.prototype,"args",void 0),a([l({type:Boolean,reflect:!0})],i.prototype,"copyable",void 0),a([l({reflect:!0,converter:E})],i.prototype,"status",null),a([y()],i.prototype,"renderState",void 0);export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var p=Object.freeze({}),a=new WeakMap;function y(n,e){if(e===null||typeof e!="object")return n;let r=n!==null&&typeof n=="object"?n:p,t=a.get(e);t||(t=new WeakMap,a.set(e,t));let b=t.get(r);if(b)return b;let c=Object.create(null);for(let u of[r,e]){let f;try{f=Object.getOwnPropertyNames(u)}catch{continue}for(let i of f){if(Object.hasOwn(c,i))continue;let o;try{o=Object.getOwnPropertyDescriptor(u,i)}catch{continue}o?.enumerable&&"value"in o&&Object.defineProperty(c,i,{value:o.value,enumerable:!0,configurable:!0,writable:!0})}}return Object.freeze(c),t.set(r,c),c}export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as p}from"./chunk-E4ZZLWV4.js";import{a as l}from"./chunk-FHEXSVUO.js";import{a as d}from"./chunk-JKL737HR.js";import{a}from"./chunk-GUP74TZL.js";import{u as c}from"./chunk-JTGCA7JE.js";var n=class{constructor(e){this.options=e,this.hovering=!1,this.focused=!1,this.hideTimer=new a(e.host)}syncOpen(){this.releaseOverlay();let{host:e,button:s,panel:i,isOpen:t}=this.options,r=s(),h=i();!t()||!r||!h||(this.cleanupPositioner=p(r,h,{placement:"top-start",strategy:l(e,void 0,"fixed")}),this.overlayHandle=d({host:e,panel:()=>i()??null,onEscape:()=>this.closeNow(),restoreFocusTo:null}))}ensureContent(){this.options.isOpen()&&!this.options.hasContent()&&this.closeNow()}pointerEnter(){this.hovering=!0,this.show()}pointerLeave(){this.hovering=!1,this.scheduleHide()}focusIn(e){c(e)&&(this.focused=!0,this.show())}focusOut(){this.focused=!1,this.hovering||this.closeNow()}handleEscape(e){return e.key!=="Escape"||e.isComposing||!this.options.isOpen()||!this.overlayHandle?.isTopmost()?!1:(e.preventDefault(),this.closeNow(),!0)}closeNow(){this.clearHideTimer(),this.options.isOpen()&&this.options.setOpen(!1)}disconnect(){this.releaseOverlay(),this.clearHideTimer(),this.hovering=!1,this.focused=!1,this.options.setOpen(!1)}show(){this.options.hasContent()&&(this.clearHideTimer(),this.options.isOpen()||this.options.setOpen(!0))}scheduleHide(){!this.options.isOpen()||this.hovering||this.focused||(this.clearHideTimer(),this.hideTimer.schedule(this.options.hideDelayMs,()=>{this.options.setOpen(!1)}))}clearHideTimer(){this.hideTimer.cancel()}releaseOverlay(){this.cleanupPositioner?.(),this.cleanupPositioner=void 0,this.overlayHandle?.deactivate({restoreFocus:!1}),this.overlayHandle=void 0}};function y(o,e){let s=new n({...e,host:o}),i=!1;return o.addController({hostUpdate:()=>s.ensureContent(),hostUpdated:()=>{let t=e.isOpen();t!==i&&(i=t,s.syncOpen())},hostDisconnected:()=>{i=!1,s.disconnect()}}),s}export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={one:"Completed {count} step",other:"Completed {count} steps"},t="Only the newest {count} of {total} entries are retained.",a="Activity",o="Submit response",n="Decline",L="This component could not be loaded.",A="Agent question",s="Response submitted",l="This question uses an unsupported form schema.",_="Current step",i="Status: {status}.",r="Cancelled",u="Collecting context",R="Done",c="Idle",T="Queued",D="Waiting for approval",F="Waiting for input",E="Trace span kinds",m="No tool approvals pending",p="Tool approval queue",d="Only the first {count} requests are shown.",U="Review approval for {tool}",Y="Pending",g="{count} pending approvals",v="Approve",b="Code",h="Generating\u2026",S="Artifact",w="Next version",y="Preview",f="Previous version",C="Restore this version",k="Version {index} of {count}",M="Cancel {label}",x="No background runs are available.",P="Background runs",I="Showing the first {count} background runs.",O="Open {label}",B="Completed",V="Failed",N="Agent",H="User",Q="Hand back",K="Browser view",W="Showing the last {count} action markers.",G="Connecting\u2026",q="Idle",z="Live",j="Stalled",J="Stop",X="Take over",Z="Address",$="Browser view of {url}",ee="Budget exceeded",te="Budget",ae="{percent} used",oe="Budget unavailable",ne="{used} of {limit} {unit}",Le="Discard",Ae="Discard {label}",se="Discarded",le="No changes to review",_e="Change {index}",ie="Change {index} in {file}",re="Keep",ue="Keep {label}",Re="Kept",ce="Review changes",Te="Only the first {count} changes are shown.",De="Pending",Fe={one:"{count} changed file",other:"{count} changed files"},Ee="Copy commit hash",me={one:"+{additions} -{deletions} in {files} file",other:"+{additions} -{deletions} in {files} files"},pe="Only the first {count} files are shown.",de="Commit",Ue="Response A",Ye="Response B",ge="{label} is better",ve="Both are bad",be="Vote",he="Vote recorded: {label}",Se="Tie",we="Approved",ye="Action approved.",fe="Denied",Ce="Action denied.",ke="Connect",Me="Connect {name}",xe="Disconnect",Pe="Disconnect {name}",Ie="No connectors are available.",Oe="Connector",Be="MCP server",Ve="Connectors",Ne="Showing the first {count} connectors.",He="Retry connection for {name}",Qe="{name}: {status}",Ke="Connected",We="Connecting",Ge="Disconnected",qe="Copy assembled context",ze="No context segments",je="Context inspector",Je="Only the first {count} segments are shown.",Xe="Redacted",Ze={one:"{tokens} token",other:"{tokens} tokens"},$e="Truncated",et={one:"Truncated \u2014 {count} token omitted",other:"Truncated \u2014 {count} tokens omitted"},tt="Cost",at="Deny",ot="Duration",nt="Edit",Lt="Add example",At="Expected output",st="Input",lt="Tags",_t="No examples yet.",it="Import examples",rt="Evaluation examples",ut="Only the first {count} examples are shown.",Rt="No examples match the current filters.",ct="Remove example",Tt="Search examples",Dt="Filter by tag",Ft="Evaluation dashboard",Et="No evaluation metric is available for {metric}.",mt="No evaluation runs yet",pt="Evaluation runs",dt="Could not load the example details. Collapse and expand it to try again.",Ut="{label} cancelled",Yt="{label} completed",gt="{label} failed",vt="Example {index}",bt="Only the first {count} examples are shown.",ht="{label} started",St="{label} needs approval",wt="{label} needs input",yt="{count} failed",ft="Grounding",Ct="Input",kt="Evaluation run",Mt="Output",xt="Evaluation batch progress",Pt="{completed} of {total} examples complete",It="{count} running",Ot="Tool trace",Bt="Must be a boolean.",Vt="Must be a whole number.",Nt="Must be a finite number.",Ht="Must be one of: {values}.",Qt="Must be a string.",Kt="Must equal {value}.",Wt="Invalid JSON.",Gt="Maximize",qt="Interactive app",zt="Loading interactive app\u2026",jt="This interactive app could not be loaded.",Jt='No tools match "{query}".',Xt="Other",Zt="Allow once",$t="Allow for this session",ea="Permission request",ta="Requested scope",aa="Allow",oa="Ask every time",na="Decision for {label}",La="No permission rules are available.",Aa="Permission rules",sa="Showing the first {count} permission rules.",la="Scope: {scope}",_a="{count} allowed",ia="Guardrail",ra="Permission",ua="Privacy",Ra="Tool",ca="{count} denied",Ta="More detail",Da="Policy decisions",Fa="Only the first {count} decisions are shown.",Ea="{count} needs review",ma="Allow",pa="Deny",da="Needs review",Ua="Add message",Ya="Prompt studio",ga="This workspace contains {count} rows. Large workspaces may respond slowly.",va="Message {index} content ({role})",ba="Message {index} role ({role})",ha="Prompt messages",Sa="Move message {index} down",wa="Move message {index} up",ya="Resolved preview",fa="Preview unavailable: expansion limit exceeded.",Ca="Remove message",ka="Remove message {index}",Ma="Tool",xa="Run prompt",Pa="Save version",Ia="Variable {index} name",Oa="Variable {index} value",Ba="Variables",Va="Versions",Na="{label}:",Ha="Schema must describe an object.",Qa="Schema properties must be a flat object.",Ka="Circular schema reference",Wa="No schema available",Ga="Error:",qa="Note:",za="Only the first {count} validation issues are shown.",ja="Warning:",Ja="Schema viewer",Xa="Only the first {count} schema nodes are shown.",Za="Type: {type}",$a="Search tools\u2026",eo="Select tools",to="Agent",ao="Embedding",oo="LLM",no="Other",Lo="Retriever",Ao="Tool",so="Only the first {count} spans are shown.",lo="started at +{value}",_o="Span timeline",io="Showing {shown} of {total} spans.",ro="{count} internal frames",uo="Stack trace",Ro="Some stack-trace content was omitted because the display limit was reached.",co="Skipped",To="Cancel {name}",Do="No subagent runs",Fo="Subagents",Eo="Only the first {count} subagent runs are shown.",mo="Retry subagent",po="Retry {name}",Uo="{completed} of {total} completed",Yo="Tasks",go="Only the first {count} tasks are shown.",vo="Step completed: {label}",bo="Step failed: {label}",ho="{label}: {status}",So="Step started: {label}",wo="Download log",yo="Line {line}",fo="Terminal output",Co="Some output was omitted because it exceeded the size limit.",ko="{passed} passed, {failed} failed, {skipped} skipped",Mo="{count} failed",xo="Filter by status",Po="Test result details exceed the display limit.",Io="Test results",Oo="Only the first {count} test results are shown.",Bo="{count} passed",Vo="{count} running",No="Showing {shown} of {total} tests.",Ho="{count} skipped",Qo="Details: {name}",Ko="Unnamed test",Wo="Thought for {duration}",Go="Tokens in",qo="Tokens out",zo="Tool call arguments (JSON)",jo="tool",Jo="Approve {tool} call?",Xo="Tool call",Zo="Arguments",$o="Error",en="Use of {name} denied",tn="Failed to use {name}",an="Did not finish using {name}",on="Waiting to use {name}",nn="Using {name}",Ln="Used {name}",An="Result",sn={one:"{count} tool",other:"{count} tools"},ln="False",_n="True",rn="Not set",un="Enter a valid {format} value.",Rn="This field has an invalid constraint.",cn="Select only available options, without duplicates.",Tn="Select at most {count} options.",Dn="Use at most {count} characters.",Fn="Enter a value of at most {value}.",En="Select at least {count} options.",mn="Use at least {count} characters.",pn="Enter a value of at least {value}.",dn="Required key \u201C{key}\u201D has no matching schema property.",Un="Tool parameter schemas support at most {fields} fields and {options} choices per field.",Yn="Turn off to choose individual tools.",gn="Only the first {count} tools are shown.",vn="No tools available.",bn="{selected} of {total} tools enabled",hn="Details for {name}",Sn="Only the newest {count} of {total} tool calls are retained.",wn="At most {count} tool calls are shown.",yn="Could not load the tool view.",fn="Trace tree",Cn="{label}: {value}",kn="{name} \u2014 {status}",Mn="Use default tools",xn="Value must be JSON-serializable.";export{e as a,t as b,a as c,o as d,n as e,L as f,A as g,s as h,l as i,_ as j,i as k,r as l,u as m,R as n,c as o,T as p,D as q,F as r,E as s,m as t,p as u,d as v,U as w,Y as x,g as y,v as z,b as A,h as B,S as C,w as D,y as E,f as F,C as G,k as H,M as I,x as J,P as K,I as L,O as M,B as N,V as O,N as P,H as Q,Q as R,K as S,W as T,G as U,q as V,z as W,j as X,J as Y,X as Z,Z as _,$,ee as aa,te as ba,ae as ca,oe as da,ne as ea,Le as fa,Ae as ga,se as ha,le as ia,_e as ja,ie as ka,re as la,ue as ma,Re as na,ce as oa,Te as pa,De as qa,Fe as ra,Ee as sa,me as ta,pe as ua,de as va,Ue as wa,Ye as xa,ge as ya,ve as za,be as Aa,he as Ba,Se as Ca,we as Da,ye as Ea,fe as Fa,Ce as Ga,ke as Ha,Me as Ia,xe as Ja,Pe as Ka,Ie as La,Oe as Ma,Be as Na,Ve as Oa,Ne as Pa,He as Qa,Qe as Ra,Ke as Sa,We as Ta,Ge as Ua,qe as Va,ze as Wa,je as Xa,Je as Ya,Xe as Za,Ze as _a,$e as $a,et as ab,tt as bb,at as cb,ot as db,nt as eb,Lt as fb,At as gb,st as hb,lt as ib,_t as jb,it as kb,rt as lb,ut as mb,Rt as nb,ct as ob,Tt as pb,Dt as qb,Ft as rb,Et as sb,mt as tb,pt as ub,dt as vb,Ut as wb,Yt as xb,gt as yb,vt as zb,bt as Ab,ht as Bb,St as Cb,wt as Db,yt as Eb,ft as Fb,Ct as Gb,kt as Hb,Mt as Ib,xt as Jb,Pt as Kb,It as Lb,Ot as Mb,Bt as Nb,Vt as Ob,Nt as Pb,Ht as Qb,Qt as Rb,Kt as Sb,Wt as Tb,Gt as Ub,qt as Vb,zt as Wb,jt as Xb,Jt as Yb,Xt as Zb,Zt as _b,$t as $b,ea as ac,ta as bc,aa as cc,oa as dc,na as ec,La as fc,Aa as gc,sa as hc,la as ic,_a as jc,ia as kc,ra as lc,ua as mc,Ra as nc,ca as oc,Ta as pc,Da as qc,Fa as rc,Ea as sc,ma as tc,pa as uc,da as vc,Ua as wc,Ya as xc,ga as yc,va as zc,ba as Ac,ha as Bc,Sa as Cc,wa as Dc,ya as Ec,fa as Fc,Ca as Gc,ka as Hc,Ma as Ic,xa as Jc,Pa as Kc,Ia as Lc,Oa as Mc,Ba as Nc,Va as Oc,Na as Pc,Ha as Qc,Qa as Rc,Ka as Sc,Wa as Tc,Ga as Uc,qa as Vc,za as Wc,ja as Xc,Ja as Yc,Xa as Zc,Za as _c,$a as $c,eo as ad,to as bd,ao as cd,oo as dd,no as ed,Lo as fd,Ao as gd,so as hd,lo as id,_o as jd,io as kd,ro as ld,uo as md,Ro as nd,co as od,To as pd,Do as qd,Fo as rd,Eo as sd,mo as td,po as ud,Uo as vd,Yo as wd,go as xd,vo as yd,bo as zd,ho as Ad,So as Bd,wo as Cd,yo as Dd,fo as Ed,Co as Fd,ko as Gd,Mo as Hd,xo as Id,Po as Jd,Io as Kd,Oo as Ld,Bo as Md,Vo as Nd,No as Od,Ho as Pd,Qo as Qd,Ko as Rd,Wo as Sd,Go as Td,qo as Ud,zo as Vd,jo as Wd,Jo as Xd,Xo as Yd,Zo as Zd,$o as _d,en as $d,tn as ae,an as be,on as ce,nn as de,Ln as ee,An as fe,sn as ge,ln as he,_n as ie,rn as je,un as ke,Rn as le,cn as me,Tn as ne,Dn as oe,Fn as pe,En as qe,mn as re,pn as se,dn as te,Un as ue,Yn as ve,gn as we,vn as xe,bn as ye,hn as ze,Sn as Ae,wn as Be,yn as Ce,fn as De,Cn as Ee,kn as Fe,Mn as Ge,xn as He};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-ALOKFZ76.js";import{e}from"./chunk-3CLMBMQL.js";e("select",r);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as m}from"./chunk-CN2FTU25.js";var r=m`24px`;export{r as a};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{a as Y,b as H,c as P,e as j}from"./chunk-BFT2W23T.js";import{a as k}from"./chunk-D2SJJB5I.js";import{b as v}from"./chunk-SWG4IM7R.js";import{G as D,H as F}from"./chunk-C6BTEIPF.js";import{c as $,h as f,i as x,j as C}from"./chunk-QCM7NVLU.js";import{a as u}from"./chunk-2WXXKPUW.js";import{a as O}from"./chunk-3HP7ZF3Z.js";import{a as R}from"./chunk-YN5IXUXK.js";import{Da as w,Ea as E,Fa as T,Ga as B,Vd as I,Wd as q,Xd as S,cb as U,z as N}from"./chunk-HOE7GLKQ.js";import{b as m}from"./chunk-3HGKUVDX.js";import{b as _}from"./chunk-2CH7YZRL.js";import{c as z,d as L}from"./chunk-32IK33EM.js";import{a as o,b as s,c as y,d as c,r as b,z as h}from"./chunk-JTGCA7JE.js";import{b as g,e as n,i as a}from"./chunk-CN2FTU25.js";import{c as A}from"./chunk-3CLMBMQL.js";var G=g` :host{display:block;container:lr-confirm-bar / inline-size;contain-intrinsic-inline-size:var(--lr-size-20rem);min-inline-size:0;max-inline-size:100%}:host([disabled]){cursor:not-allowed}[part=base]{display:flex;flex-direction:column;gap:var(--lr-space-s);padding:var(--lr-space-m);border:var(--lr-border-width-thin) solid var(--lr-color-border-subtle);border-radius:var(--lr-radius);background:var(--lr-confirm-bar-bg,var(--lr-color-surface))}:host([variant=danger]) [part=base]{border-color:var(--lr-color-danger)}[part=heading]{font-weight:var(--lr-font-weight-semibold);color:var(--lr-color-text)}[part=tool-name]{font-family:var(--lr-font-mono)}[part=args]{font-size:var(--lr-font-size-sm)}[part=footer]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--lr-space-s)}[part=status]{display:flex;align-items:center;gap:var(--lr-space-xs);color:var(--lr-color-text-quiet);font-size:var(--lr-font-size-sm)}[part=status]:empty{display:none}:host([decision=approved]) [part=status]{color:var(--lr-confirm-bar-approved-color,var(--lr-decision-positive-color,var(--lr-color-success)))}:host([decision=denied]) [part=status]{color:var(--lr-confirm-bar-denied-color,var(--lr-decision-negative-color,var(--lr-color-danger)))}[part=status]:focus-visible{${_}}@container lr-confirm-bar ${O}{[part=footer]{justify-content:stretch}[part=deny-button],[part=approve-button]{flex:1 1 0}}:host(:is([size='2xs'],[size=xs],[size=s],[size=small])){display:inline-flex;container:none}:host(:is([size='2xs'],[size=xs],[size=s],[size=small])) [part=base]{flex-direction:row;align-items:center;flex-wrap:wrap;gap:var(--lr-confirm-bar-compact-gap,var(--lr-space-s));padding:var(--lr-confirm-bar-compact-padding,var(--lr-space-s))}:host(:is([size='2xs'],[size=xs],[size=s],[size=small])) [part=heading]{flex:1 1 auto;min-inline-size:0}:host(:is([size='2xs'],[size=xs],[size=s],[size=small])) [part=footer]{flex:0 0 auto}:host(:is([size='2xs'],[size=xs],[size=s],[size=small])[decision]) [part=footer]{display:contents}:host([frame=plain]) [part=base]{padding:0;border:0;border-radius:0;background:transparent}`;var Q={details:()=>import("./lr-details-Z6B5IAP3.js"),"json-viewer":()=>import("./lr-json-viewer-V7WXHKWB.js")},M=m(["approved","denied"]),K=m(["approve","deny"]),i=class extends h{constructor(){super(...arguments),this.toolName="",this.heading="",this.headingLevel="none",this.args=void 0,this._decision=null,this._pending=null,this.approval=new P(this,{tag:"confirm-bar",pending:()=>this.pendingAction,setPending:e=>{this.pendingAction=e},canRequest:()=>!this.disabled&&this.decision==null,stillOpen:()=>this.decision==null,onDecide:(e,t)=>{t&&this.handOffDecidedFocus(),this.decision=e==="approve"?"approved":"denied"},onVeto:()=>this.statusEl?.focus(),onBounce:e=>this.returnFocusAfterBounce(e)}),this.disabled=!1,this.variant="neutral",this.size="m",this.frame="card",this.autofocus=!1,this.escapeDenies=!1,this.returnFocusTo=null,this.hasBodySlot=!1,this.headingId=z("confirm-bar-heading"),this.onBodySlotChange=()=>{this.hasBodySlot=v(this)},this.onBaseKeyDown=e=>{if(!this.escapeDenies||e.key!=="Escape")return;let t=e.composedPath(),r=t.slice(0,t.indexOf(this)).some(p=>p instanceof Element&&p.hasAttribute("open"));if(e.defaultPrevented||e.isComposing||r)return;let d=this.decision,l=this.pendingAction;this.decide("denied"),(this.decision!==d||this.pendingAction!==l)&&e.stopPropagation()}}static{this.defaultStrings={...super.defaultStrings,approve:N,confirmApproved:w,confirmApprovedAnnounce:E,confirmDenied:T,confirmDeniedAnnounce:B,deny:U,toolApprovalArgsLabel:I,toolApprovalGenericTool:q,toolApprovalHeading:S}}emitApproveRequest(e){return this.emit("lr-approve-request",Object.freeze(e),{cancelable:!0})}emitDenyRequest(e){return this.emit("lr-deny-request",Object.freeze(e),{cancelable:!0})}static{this.styles=[h.styles,G]}get decision(){return this._decision}set decision(e){let t=this._decision;this._decision=M.normalizeReflected(this,"decision",e)??null,this.approval.markWrite(),this.requestUpdate("decision",t)}get pendingAction(){return this._pending}set pendingAction(e){let t=this._pending;this._pending=K.normalizeReflected(this,"pending-action",e)??null,this.approval.pendingChanged(t,this._pending),this.requestUpdate("pendingAction",t)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.loadChildren()}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.argsRegistration,e}willUpdate(e){super.willUpdate(e),this.hasUpdated||(this.hasBodySlot=v(this)),e.has("decision")&&e.get("decision")!==void 0&&this.decision!=null&&this.pendingAction!=null&&(this.handOffDecidedFocus(),this.pendingAction=null),this.hasUpdated&&this.decision==null&&this.pendingAction!=null&&(e.has("toolName")||e.has("heading")||e.has("args"))&&(this.pendingAction=null)}firstUpdated(e){super.firstUpdated(e),this.autofocus&&this.focusInitial()}focusInitial(){this.updateComplete.then(async()=>{if(!this.isConnected)return;let e=this.renderRoot.querySelector('[part="deny-button"]');await e?.updateComplete,this.isConnected&&(e&&$(e)?e:this.statusEl)?.focus()})}decide(e){this.approval.request(j(e),t=>e==="approved"?this.emitApproveRequest({args:this.args,waitUntil:t}):this.emitDenyRequest({waitUntil:t}))}returnFocusAfterBounce(e){this.updateComplete.then(()=>{!this.isConnected||this.decision!=null||this.pendingAction!=null||x(this,()=>this.renderRoot.querySelector(`[part="${e}-button"]`))})}resolvedReturnFocusTarget(){let e=this.returnFocusTo;return typeof e=="function"?e():e}handOffDecidedFocus(){let e=this.resolvedReturnFocusTarget();e&&f([e])||(f([this.statusEl]),typeof this.returnFocusTo=="function"&&this.statusEl&&C(this,this.statusEl,()=>this.resolvedReturnFocusTarget()))}loadChildren(){this.isConnected&&(this.argsRegistration=k(Q,this.renderRoot)??this.argsRegistration)}updated(e){super.updated(e),this.loadChildren();let t=this.decision;if(e.has("decision")&&e.get("decision")!==void 0&&t!=null){let r=t==="approved"?"confirmApprovedAnnounce":"confirmDeniedAnnounce";this.liveRegion?.announce(this.localize(r),{force:!0}),this.emit("lr-decision-settled",{decision:t})}}renderHeading(){let e=u(this.heading);if(e)return n`${e}`;let t=u(this.toolName)??this.localize("toolApprovalGenericTool"),r=this.localize("toolApprovalHeading"),d=b(r,l=>this.localize("toolApprovalHeading",void 0,{tool:l}));return n`${d.map((l,p)=>p<d.length-1?n`${l}<span part="tool-name" dir="auto">${t}</span>`:l)}`}statusText(){return this.decision==="approved"?this.localize("confirmApproved"):this.localize("confirmDenied")}stopNestedLifecycle(e){e.stopPropagation()}render(){let e=this.decision!=null,t=L(this),r=R(this.headingLevel,"none");return n`
|
|
2
|
+
<div part="base" role="group" aria-label=${t??a} aria-labelledby=${t===null?this.headingId:a} @keydown=${this.onBaseKeyDown} >
|
|
3
|
+
<div part="heading" id=${this.headingId} role=${r?"heading":a} aria-level=${r??a} >${this.renderHeading()}</div>
|
|
4
|
+
<div part="body" ?hidden=${!this.hasBodySlot}><slot @slotchange=${this.onBodySlotChange}></slot></div>
|
|
5
|
+
${this.args!==void 0?n`<lr-details part="args" summary=${this.localize("toolApprovalArgsLabel")} @lr-toggle=${this.stopNestedLifecycle} @lr-show=${this.stopNestedLifecycle} @lr-after-show=${this.stopNestedLifecycle} @lr-hide=${this.stopNestedLifecycle} @lr-after-hide=${this.stopNestedLifecycle}>
|
|
6
|
+
<lr-json-viewer .data=${this.args} @lr-copy=${this.stopNestedLifecycle} @lr-error=${this.stopNestedLifecycle} @lr-copy-error=${this.stopNestedLifecycle} @lr-search-change=${this.stopNestedLifecycle} ></lr-json-viewer>
|
|
7
|
+
</lr-details>`:a}
|
|
8
|
+
<div part="footer">
|
|
9
|
+
<slot name="footer"></slot>
|
|
10
|
+
${e?a:n`
|
|
11
|
+
${Y({label:this.localize("deny"),loading:this.pendingAction==="deny",disabled:this.disabled||this.pendingAction==="approve",onClick:()=>this.decide("denied")})}
|
|
12
|
+
${H({label:this.localize("approve"),loading:this.pendingAction==="approve",disabled:this.disabled||this.pendingAction==="deny",variant:this.variant==="danger"?"danger":"brand",onClick:()=>this.decide("approved")})}
|
|
13
|
+
`}
|
|
14
|
+
</div>
|
|
15
|
+
<div part="status" tabindex="-1">
|
|
16
|
+
${e?n`${this.decision==="approved"?D():F()}<span>${this.statusText()}</span>`:a}
|
|
17
|
+
</div>
|
|
18
|
+
<lr-live-region mode="polite"></lr-live-region>
|
|
19
|
+
</div>
|
|
20
|
+
`}};o([s({attribute:"tool-name"})],i.prototype,"toolName",void 0),o([s()],i.prototype,"heading",void 0),o([s({attribute:"heading-level"})],i.prototype,"headingLevel",void 0),o([s({attribute:!1})],i.prototype,"args",void 0),o([s({reflect:!0,converter:M})],i.prototype,"decision",null),o([s({attribute:"pending-action",reflect:!0,converter:K})],i.prototype,"pendingAction",null),o([s({type:Boolean,reflect:!0})],i.prototype,"disabled",void 0),o([s({reflect:!0})],i.prototype,"variant",void 0),o([s({reflect:!0})],i.prototype,"size",void 0),o([s({reflect:!0})],i.prototype,"frame",void 0),o([s({type:Boolean,reflect:!0})],i.prototype,"autofocus",void 0),o([s({type:Boolean,reflect:!0,attribute:"escape-denies"})],i.prototype,"escapeDenies",void 0),o([s({attribute:!1})],i.prototype,"returnFocusTo",void 0),o([c('[part="status"]')],i.prototype,"statusEl",void 0),o([c(A("live-region"))],i.prototype,"liveRegion",void 0),o([y()],i.prototype,"hasBodySlot",void 0);export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l,b as d}from"./chunk-3LZ3G4LQ.js";import{a}from"./chunk-DEHO557B.js";import{e as n}from"./chunk-32IK33EM.js";import{x as i}from"./chunk-JTGCA7JE.js";var p=class{constructor(o,h){this.host=o,this.options=h,this.presentValue=!1,this.onSlotChange=s=>{let t=s.target;if(!(t?.nodeType!==1||t.localName!=="slot")){if(t.getRootNode()===this.host.renderRoot){if((t.getAttribute("name")??"")!=="")return}else if(!d(this.host).includes(t))return;this.refresh()}},this.sample=()=>{let s=this.host.renderRoot;if(!s)return;let t=this.options.slot?this.options.slot():s.querySelector("slot:not([name])"),c=t?t.assignedNodes({flatten:!0}):Array.from(this.host.childNodes).filter(e=>l(e)).flatMap(e=>{if(e.nodeType!==1||e.localName!=="slot")return[e];let r=e;return r.assignedNodes().length>0?r.assignedNodes({flatten:!0}):Array.from(r.childNodes)});this.presentValue=n(c),this.options.changed(this.presentValue)},this.text=new a(o,h.observedSlots??[""],()=>this.recompute(),["slot"]),o.addController(this)}get present(){return this.presentValue}hostConnected(){this.host.addEventListener("slotchange",this.onSlotChange),this.recompute()}hostDisconnected(){this.host.removeEventListener("slotchange",this.onSlotChange)}adopted(){this.text.adopted()}refresh(){this.text.bind(),this.recompute()}recompute(){this.host.hasUpdated||!this.host[i]?this.sample():this.host[i](this.sample)}};export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d,f as m}from"./chunk-3HGKUVDX.js";import{g as h}from"./chunk-32IK33EM.js";import{a as o,b as r,z as s}from"./chunk-JTGCA7JE.js";import{b as l,e as a}from"./chunk-CN2FTU25.js";import{a as p,b as u}from"./chunk-ZVB4ZXSV.js";import{i as c}from"./chunk-AVZPWRZU.js";var C=l`:host{display:contents}`,f=d(["polite","assertive"],"polite"),n=class extends s{static{this.styles=[s.styles,C,h]}get mode(){return this._mode}set mode(t){let e=f.normalizeReflected(this,"mode",t),i=this._mode;i!==e&&(this._mode=e,this.requestUpdate("mode",i))}get safeThrottleMs(){return c(this.throttleMs,500)}constructor(){super(),this._mode="polite",this.throttleMs=500,this.announcementController=new u(this),this.announcer=new p({throttleMs:this.safeThrottleMs,onFlush:t=>this.write(t)})}connectedCallback(){super.connectedCallback();let t=this.ownerDocument.defaultView;t&&this.announcer.setTimerHost(t),this.syncSink()}updated(t){super.updated(t),t.has("throttleMs")&&(this.announcer.throttleMs=this.safeThrottleMs),t.has("mode")&&this.syncSink()}firstUpdated(t){super.firstUpdated(t),this.regionEl=this.renderRoot.querySelector('[part="region"]')??void 0,this.pendingWrite!==void 0&&this.regionEl&&(this.regionEl.textContent=this.pendingWrite),this.pendingWrite=void 0}disconnectedCallback(){super.disconnectedCallback(),this.announcer.cancel(),this.pendingWrite=void 0,this.announcementController.setExclusiveChannel(void 0)}adoptedCallback(){super.adoptedCallback(),this.announcementController.adopted()}syncSink(){let t=this.mode==="assertive"?"assertive":"polite";this.announcementController.setExclusiveChannel(t)}announce(t,e){this.announcer.announce(t,e)}write(t){if(this.syncSink(),this.announcementController.current(this.mode)?.announce(t),!this.regionEl){this.pendingWrite=t;return}this.regionEl.textContent=t}render(){return a`<div part="region" class="sr-only" aria-hidden="true"></div>`}};o([r({reflect:!0,converter:f})],n.prototype,"mode",null),o([r({converter:m(500),attribute:"throttle-ms"})],n.prototype,"throttleMs",void 0);export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as D}from"./chunk-C337CGQG.js";import{a as I}from"./chunk-CR23WLJQ.js";function C(e){let r="";for(let t=0;t<e.length;t++){let i=e[t];if(i!=="~"){r+=i;continue}let n=e[++t];if(n==="0")r+="~";else if(n==="1")r+="/";else return}return r}function q(e){if(!/^(?:0|[1-9][0-9]*)$/.test(e))return;let r=Number(e);return Number.isSafeInteger(r)?r:void 0}function T(e,r){if(r==="")return e;if(!r.startsWith("/"))return;let t=e;for(let i of r.slice(1).split("/")){let n=C(i);if(n===void 0||n==="__proto__"||n==="prototype"||n==="constructor")return;if(Array.isArray(t)){let o=q(n);if(o===void 0||o>=t.length)return;t=t[o]}else if(t&&typeof t=="object"&&Object.hasOwn(t,n))t=t[n];else return}return t}var E=16384;function N(e){if(e.length<=E)return e;let r=e.slice(0,E),t=r.charCodeAt(r.length-1);return t>=55296&&t<=56319?r.slice(0,-1):r}var p=Symbol("invalid-widget-document"),y=Symbol("missing-widget-document-field");function b(e,r){try{return Object.hasOwn(e,r)?Reflect.get(e,r):y}catch{return p}}function z(e){let r={},t=0;try{for(let i in e){if(!Object.hasOwn(e,i))continue;if(t>=100)break;let n=Reflect.get(e,i);t+=1,r[i]=typeof n=="string"?N(n):n}}catch{return p}return Object.freeze(r)}function j(e,r,t){if(r>32||t.remaining<=0)return null;if(t.remaining-=1,e===null||typeof e!="object"||Array.isArray(e)||t.ancestors.has(e))return p;let i=b(e,"type");if(typeof i!="string")return p;let n=b(e,"id"),o=b(e,"slot"),d=b(e,"actionId"),s=b(e,"props"),a=b(e,"children");if([n,o,d,s,a].includes(p)||n!==y&&(typeof n!="string"||n.length===0||n!==n.trim()))return p;if(typeof n=="string"){if(t.ids.has(n))return p;t.ids.add(n)}if(o!==y&&(typeof o!="string"||o.length===0||o!==o.trim())||d!==y&&(typeof d!="string"||d.length===0||d!==d.trim())||s!==y&&(s===null||typeof s!="object"||Array.isArray(s))||a!==y&&!Array.isArray(a))return p;let l=s===y?void 0:z(s);if(l===p)return p;let u=y;if(d!==y&&(u=b(e,"payload"),u===p))return p;let g=[];if(a!==y&&r<32){let w=b(a,"length");if(typeof w!="number"||!Number.isSafeInteger(w)||w<0)return p;t.ancestors.add(e);try{for(let c=0;c<w&&t.remaining>0;c++){let f=b(a,c);if(f===p||f===y)return p;if(typeof f=="string"){t.remaining-=1,g.push(N(f));continue}let v=j(f,r+1,t);if(v===p)return p;v&&g.push(v)}}finally{t.ancestors.delete(e)}}return Object.freeze({type:i,...typeof n=="string"?{id:n}:{},...typeof o=="string"?{slot:o}:{},...typeof d=="string"?{actionId:d,payload:u===y?void 0:u}:{},...l===void 0?{}:{props:l},...g.length===0?{}:{children:Object.freeze(g)}})}function x(e){let r=j(e,0,{ancestors:new Set,ids:new Set,remaining:5e3});if(r===p||r===null)throw new TypeError("A widget document root must be a valid bounded widget node.");return Object.freeze({version:"2",root:r})}var W="__warning-cap__",h=Symbol("invalid-widget-input"),L={gap:["s","m","l"],align:["start","center","end","stretch"],justify:["start","center","end","between"]};function _(e,r,t){if(!e.warned.has(r)){if(e.warned.size>=100){if(e.warned.has(W))return;e.warned.add(W),(e.warn??I)(`[lr-widget-renderer] suppressed further diagnostics after ${100} unique warnings`);return}e.warned.add(r),(e.warn??I)(`[lr-widget-renderer] ${t}`)}}function S(e,r,t,i){let n=N(e);return n.length!==e.length&&_(r,`__string-cap__:${t}`,`truncated ${i} after the ${E}-character string cap was reached`),n}function U(e){return!!(e&&typeof e=="object"&&!Array.isArray(e)&&typeof e.$bind=="string")}function R(e,r){if(!U(e))return{value:e};let t=T(r.bindingState,e.$bind);return{value:t===void 0?e.fallback:t,path:e.$bind}}function A(e){return e.remaining<=0?(_(e.resolve,"__node-cap__",`stopped resolving after the ${5e3}-node cap was reached`),!1):(e.remaining--,!0)}function V(e,r,t){let i={},n=0;for(let o in e){if(n>=100){_(t,`__prop-cap__:${r}`,`stopped reading props on type "${r}" after the ${100}-prop cap was reached`);break}n++,Object.hasOwn(e,o)&&(i[o]=e[o])}return i}function G(e,r){return r.get(e)}function M(e,r,t){if(!A(t))return null;if(e===null||typeof e!="object"||Array.isArray(e)||t.ancestors.has(e))return h;let i=e,n=i.type;if(typeof n!="string")return h;if(!(n==="row"||n==="col"||n==="text")&&!G(n,t.resolve.registry))return{type:n};let o=i.id;if(o!==void 0&&(typeof o!="string"||o.length===0||o!==o.trim()))return h;let d=i.slot;if(d!==void 0&&(typeof d!="string"||d.length===0||d!==d.trim()))return h;let s=i.actionId;if(s!==void 0&&(typeof s!="string"||s.length===0||s!==s.trim()))return h;let a=i.props;if(a!==void 0&&(a===null||typeof a!="object"||Array.isArray(a)))return h;let l=i.children;if(l!==void 0&&!Array.isArray(l))return h;let u={type:n,...o!==void 0?{id:o}:{},...d!==void 0?{slot:d}:{},...s!==void 0?{actionId:s,payload:i.payload}:{},...a!==void 0?{props:V(a,n,t.resolve)}:{}};if(l===void 0||r===32)return l&&l.length>0&&_(t.resolve,"__depth-cap__",`stopped resolving after the ${32}-level depth cap was reached`),u;let g=[];t.ancestors.add(e);try{let w=l.length;for(let c=0;c<w;c++){if(t.remaining<=0){A(t);break}let f=l[c];if(typeof f=="string"){if(!A(t))break;g.push(f);continue}let v=M(f,r+1,t);if(v===h)return h;v&&g.push(v)}}finally{t.ancestors.delete(e)}return g.length>0?{...u,children:g}:u}function H(e){let r={};if(!e)return r;for(let[t,i]of Object.entries(L)){let n=e[t];typeof n=="string"&&i.includes(n)&&(r[t]=n)}return r}function K(e,r,t,i){let n={},o=[],d=r.props??{};if(e)for(let[s,a]of Object.entries(e)){let l=d[s],{value:u,path:g}=R(a,t);if(l===void 0||typeof u!==l){_(t,`${i}:${s}`,`skipped disallowed or mistyped prop "${s}" on type "${i}"`);continue}n[s]=typeof u=="string"?S(u,t,`${i}:${s}`,`string prop "${s}" on type "${i}"`):u,g&&o.push({prop:s,path:g,event:r.bindings?.[s]?.event})}return{props:{...n,...r.forcedProps??{}},bindings:o}}function k(e){return e.kind==="text"?!1:e.interactive||e.children.some(k)}function B(e,r,t){return typeof e=="string"?{nodeKey:`path:${t}`,nodePath:t,kind:"text",text:S(e,r,"__text__","a text child")}:X(e,r,t)}function X(e,r,t){let i=e.id,n=i?`id:${i}`:`path:${t}`,o,d,s=!1,a,l,u=[],g=[];if(e.type==="row"||e.type==="col")o=e.type==="row"?"builtin-row":"builtin-col",a=H(e.props);else if(e.type==="text"){o="builtin-text";let c=R(e.props?.value,r);if(a=typeof c.value=="string"||typeof c.value=="number"?{value:S(String(c.value),r,"__text-value__",'the "value" of a built-in text node')}:{},c.path){if(!i)throw _(r,`__required-id__:${t}`,"rejected bound text without a stable id"),new TypeError("A bound widget node requires a stable id.");u=[{prop:"value",path:c.path}]}}else{let c=G(e.type,r.registry);if(!c)return _(r,e.type,`skipped unknown widget type "${e.type}" (and its subtree)`),null;o="mapped",d=c.tag,s=c.interaction==="control";let f=K(e.props,c,r,e.type);if(a=f.props,u=f.bindings,g=c.slots??[],e.actionId!==void 0&&c.action&&(l=c.action.event),(l||u.length>0)&&!i)throw _(r,`__required-id__:${t}`,`rejected stateful or actionable type "${e.type}" without a stable id`),new TypeError("A stateful or actionable widget node requires a stable id.")}let w=[];for(let c=0;c<(e.children?.length??0);c++){let f=B(e.children[c],r,`${t}.${c}`);if(f){if(s&&k(f)){_(r,`__nested-interactive__:${e.type}`,`skipped a control descendant inside control type "${e.type}"`);continue}f.slot!==void 0&&!g.includes(f.slot)&&(f.slot=void 0),w.push(f)}}return{nodeId:i,nodeKey:n,nodePath:t,kind:o,tag:d,interactive:s,props:a,actionEvent:l,actionId:l?e.actionId:void 0,payload:l?e.payload:void 0,bindings:u,children:w,slot:e.slot}}function F(e,r){let t=new Map,i=[e];for(;i.length>0;){let o=i.pop();o.id&&t.set(o.id,(t.get(o.id)??0)+1);for(let d of o.children??[])typeof d!="string"&&i.push(d)}let n=!1;for(let[o,d]of t)d<2||(n=!0,_(r,`__duplicate-id__:${o}`,`rejected duplicate widget id "${o}"`));return n}function ee(e,r){if(e==null)return null;if(!D(r.registry))throw new TypeError("A widget renderer registry must be created with createWidgetTypeRegistry().");let t=M(e,0,{resolve:r,ancestors:new Set,remaining:5e3});return t===h||t===null||F(t,r)?null:X(t,r,"0")}export{x as a,ee as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="Jumped to highlighted passage.",o="Jumped to page {page}.",t="Passage not found in this document.",a="Untitled file",L="Cancel",A="Some catalog entries were omitted because an input limit was reached.",n="Chart",_="Chart data",i="Some chart data was omitted because an input limit was reached. Provide a smaller or pre-aggregated dataset to represent the omitted values.",r="Chart legend",d="Summary of {validCount} valid observations ({invalidCount} invalid); {displayedCount} displayed.",s="Prepared chart data is unavailable or incompatible with this chart.",l="{label}: {count} values, range {min} to {max}, {trend} trend";var T="Total",D="decreasing",c="flat",R="increasing",E="{label}: {value}",U="Clear",F="Close",u="Collapse",h="Comparison",Y="Confirm",g="Copied!",p="Copy",m="Copy failed",S="\u2265{count}",v="Date",b="Enter a valid date.",w="Date must be on or before {max}.",f="Date must be on or after {min}.",y="Details",C="No {type} to display.",M="image",I="Download",P="{value}ms",x="{value}s",N="The 3D view lost its graphics context.",k="The 3D view stopped because of an error.",O="Loading the 3D view\u2026",V="Showing the standard view instead.",B="Showing a list instead.",J="3D graphics run without hardware acceleration, so detail is reduced.",q="The 3D engine could not be loaded.",z="This browser cannot display 3D graphics.",H="Value hidden",Z="Expand",G="This field is required.",W="Audio",j="{item} ({index} of {total})",Q="Added",K="Conflicted",X="Deleted",$="Ignored",ee="Modified",oe="Renamed",te="Untracked",ae="All records",Le="Both directions",Ae="Summary: showing {nodes} and {edges}.",ne="Complete graph: {nodes} and {edges}.",_e="Neighborhood: showing {nodes} and {edges}.",ie="Direction",re={one:"{count} edge",other:"{count} edges"},de="Edges",se="Incident edges for {label}",le={one:"{count} node",other:"{count} nodes"},Te="Nodes",De="This graph record is unavailable.",ce="Graph records",Re="Graph records could not be loaded.",Ee="The graph view could not be loaded.",Ue={one:"{shown} of {count} edge",other:"{shown} of {count} edges"},Fe={one:"{shown} of {count} node",other:"{shown} of {count} nodes"},ue="Graph contains {nodes} and {edges}.",he="Transferred from {from} to {to}",Ye="Transferred to {agent}",ge="Highlight {index} of {total}",pe="Highlight: {label}",me={one:"item",other:"items"},Se="Jump to latest",ve="The data cannot be displayed because {column} is invalid.",be="The data cannot be displayed because it exceeds the limit of {limit}.",we="{label} hidden",fe="{label} shown",ye="Load more",Ce="Loading\u2026",Me="Map",Ie="Menu",Pe="Move down",xe="Move up",Ne="Bidirectional",ke="Incoming",Oe="Outgoing",Ve="Next",Be="No data",Je="No matches",qe="not in catalog",ze="Open",He="Page {page} of {totalPages}",Ze="First page",Ge="Pagination",We="Last page",je="{start}\u2013{end} of {total} {itemLabel}",Qe="{percent}%",Ke="Previous",Xe="Progress",$e="Showing {shown} of {total} retained attachments.",eo="Assistant",oo="System",to="User",ao="Entities",Lo="Only the most recent {count} evaluation runs are shown.",Ao="Remove",no="Remove {label}",_o="Moved to position {index} of {total}",io="Reset zoom",ro="{value} pixels",so="Restore",lo="Retry",To="Required",Do="Scrollable content",co="Search",Ro="Select",Eo="Show less",Uo="+{count}",Fo="{visible} Show {count} more",uo="Sources",ho="Search is unavailable for this data source.",Yo="Selected items could not be loaded.",go="Loading selected items\u2026",po="Denied",mo="Error",So="Incomplete",vo="Pending",bo="Running",wo="Success",fo="Unknown",yo="Could not load data",Co={one:"+{count} more tag",other:"+{count} more tags"},Mo="Thinking\u2026",Io="Thinking",Po="Only the first {count} items are shown.",xo="Moved {label} to position {index} of {total}",No="Unable to load tree data.",ko={one:"{visible} visible of {total} node.",other:"{visible} visible of {total} nodes."},Oo='Unsupported field type "{type}".',Vo="The value is invalid.",Bo="Match {current} of {total}",Jo={one:"{count} match",other:"{count} matches"},qo="No matches",zo="Zoom in",Ho="Zoom out";export{e as a,o as b,t as c,a as d,L as e,A as f,n as g,_ as h,i,r as j,d as k,s as l,l as m,T as n,D as o,c as p,R as q,E as r,U as s,F as t,u,h as v,Y as w,g as x,p as y,m as z,S as A,v as B,b as C,w as D,f as E,y as F,C as G,M as H,I,P as J,x as K,N as L,k as M,O as N,V as O,B as P,J as Q,q as R,z as S,H as T,Z as U,G as V,W,j as X,Q as Y,K as Z,X as _,$,ee as aa,oe as ba,te as ca,ae as da,Le as ea,Ae as fa,ne as ga,_e as ha,ie as ia,re as ja,de as ka,se as la,le as ma,Te as na,De as oa,ce as pa,Re as qa,Ee as ra,Ue as sa,Fe as ta,ue as ua,he as va,Ye as wa,ge as xa,pe as ya,me as za,Se as Aa,ve as Ba,be as Ca,we as Da,fe as Ea,ye as Fa,Ce as Ga,Me as Ha,Ie as Ia,Pe as Ja,xe as Ka,Ne as La,ke as Ma,Oe as Na,Ve as Oa,Be as Pa,Je as Qa,qe as Ra,ze as Sa,He as Ta,Ze as Ua,Ge as Va,We as Wa,je as Xa,Qe as Ya,Ke as Za,Xe as _a,$e as $a,eo as ab,oo as bb,to as cb,ao as db,Lo as eb,Ao as fb,no as gb,_o as hb,io as ib,ro as jb,so as kb,lo as lb,To as mb,Do as nb,co as ob,Ro as pb,Eo as qb,Uo as rb,Fo as sb,uo as tb,ho as ub,Yo as vb,go as wb,po as xb,mo as yb,So as zb,vo as Ab,bo as Bb,wo as Cb,fo as Db,yo as Eb,Co as Fb,Mo as Gb,Io as Hb,Po as Ib,xo as Jb,No as Kb,ko as Lb,Oo as Mb,Vo as Nb,Bo as Ob,Jo as Pb,qo as Qb,zo as Rb,Ho as Sb};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,c as f,d as r}from"./chunk-SWG4IM7R.js";import{f as d}from"./chunk-CSV23ONU.js";import{h as c,x as i,y as l}from"./chunk-JTGCA7JE.js";var u=class{#t=new Map;#s;#e=!1;#o=!1;constructor(t,s={}){this.host=t,t.addController(this),s.observeLightDom&&new d(t,{subtree:!0,attributeFilter:["slot"],onChange:()=>this.#i(!0)})}has(t=""){return(this.#t.get(t)??0)>0||(this.host[l]?.()??!1)}hasResolved(t=""){return(this.#t.get(t)??0)>0}textless(t=""){return this.#t.get(t)!==1}hostConnected(){this.#o=!0;let t=()=>this.#i(!0);this.host[i]?this.host[i](t):t(),this.#d()}hostUpdate(){let t=()=>this.#i(!1);this.host[i]?this.host[i](t):t()}hostUpdated(){this.#d(),this.#r()}hostDisconnected(){this.#o=!1,this.#c()}#n=()=>{this.#r()};#r(){this.#e||(this.#e=!0,queueMicrotask(()=>{if(this.#e=!1,!this.#o)return;let t=()=>this.#a(!0);this.host[i]?this.host[i](t):t()}))}#d(){let t=this.host.renderRoot;!t||typeof t.addEventListener!="function"||t===this.#s||(this.#c(),t.addEventListener("slotchange",this.#n,!0),this.#s=t)}#c(){this.#s?.removeEventListener("slotchange",this.#n,!0),this.#s=void 0}#l(t){if(typeof Node>"u"||!("childNodes"in this.host))return;let s=new Map;for(let o of Array.from(this.host.childNodes)){let e=o.nodeType===Node.ELEMENT_NODE?o.getAttribute("slot")??"":"",n=s.get(e)??[];n.push(o),s.set(e,n)}let h=new Set([...this.#t.keys(),...s.keys()]);for(let o of h)this.#h(o,f(s.get(o)??[]),t)}#a(t){let s=this.host.renderRoot;if(!s||typeof s.querySelectorAll!="function"){this.#l(t);return}let h=new Set;for(let e of s.querySelectorAll("slot")){if(!a(e))continue;let n=e.name;h.add(n),this.#h(n,r(this.host,n),t)}let o=new Set(["",...this.#t.keys()]);for(let e of Array.from(this.host.children??[]))o.add(e.getAttribute("slot")??"");for(let e of o)h.has(e)||this.#h(e,r(this.host,e),t)}#i(t){this.host.hasUpdated?this.#a(t):this.#l(t)}#h(t,s,h){s!==(this.#t.get(t)??0)&&(this.#t.set(t,s),h&&c(this.host))}};export{u as a};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import{a as g,b as f,c as M,d as T,e as _}from"./chunk-TQHRNXS4.js";import{b as z}from"./chunk-OWYWVR2O.js";import{pa as R,qa as V,ra as q}from"./chunk-63D3NJTI.js";import{b as E}from"./chunk-ZVJAZT3K.js";import{k as S,l as A}from"./chunk-QOOQMUEJ.js";import{g as w,h as F}from"./chunk-XIWT65ZD.js";import{a as D}from"./chunk-IHHKAXNV.js";import{a as C}from"./chunk-Z632AFNZ.js";import{a as P}from"./chunk-FHC6MDBQ.js";import{b as m}from"./chunk-C6BTEIPF.js";import{a as L}from"./chunk-2GWBSIY7.js";import{Qa as I,Ra as x,f as k}from"./chunk-IFDV4HWR.js";import{d as b,e as v}from"./chunk-BDETGDBF.js";import{c as u}from"./chunk-32IK33EM.js";import{a as c,b as d,z as $}from"./chunk-JTGCA7JE.js";import{b as p,e as o,i as l}from"./chunk-CN2FTU25.js";import{b as y}from"./chunk-ZVB4ZXSV.js";var U=_("model-select",p`inline-size:100%;`,p`[part=option-icon]{line-height:var(--lr-line-height-1-4);flex:none}[part=option-label]{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-inline-size:0;overflow:hidden}`);w();var n=class extends T{static{this.defaultStrings={...super.defaultStrings,catalogPickerInputLimit:k,model:R,modelSelectNoModels:V,modelSelectRequired:q,noMatches:I,notInCatalog:x}}static{this.collectionSupport=v}static{this.ownedCollectionProperties=Object.freeze(["catalog"])}static{this.ownedCollectionLimits={catalog:{entries:1024}}}static{this.formAssociated=!0}static{this.styles=[$.styles,C,U]}static{this.properties={value:{attribute:!1,noAccessor:!0},defaultValue:{attribute:"value",reflect:!0,useDefault:!0,noAccessor:!0}}}get open(){return this.catalogPicker.open}set open(t){this.catalogPicker.setOpen(t)}get activeIndex(){return this.catalogPicker.activeIndex}get query(){return this.catalogPicker.query}get catalogEditing(){return this.catalogPicker}[F](){return this.renderRoot?.querySelector('[part="trigger"], [part="combobox-input"]')??null}connectedCallback(){super.connectedCallback(),this.updateValidity(),this.catalogPicker.connected(this.hasUpdated)}willUpdate(t){super.willUpdate(t);let e=this.prepareModeFocus(this.closedMode);if(this.catalogPicker.suppressControlEvents=e,this.open&&(t.has("catalog")||t.has("value")||t.has("allowCustom"))){let i=typeof this.renderRoot?.querySelector=="function"?this.renderRoot.querySelector('[part="option"][data-active]')?.dataset.value:void 0;this.catalogPicker.reconcileRows(i,t.has("value")||t.has("allowCustom")||e,!1)}}disconnectedCallback(){super.disconnectedCallback(),this.clearModeFocus(),this.catalogPicker.disconnected()}adoptedCallback(){super.adoptedCallback(),this.clearModeFocus(),this.catalogPicker.adopted()}get value(){return this.catalogPicker.value}set value(t){this.catalogPicker.value=t}get defaultValue(){return this.catalogPicker.defaultValue}set defaultValue(t){this.catalogPicker.defaultValue=t}requiredMessage(){return this.localize("modelSelectRequired")}formResetCallback(){this.touched=!1,this.catalogPicker.resetValue()}formStateRestoreCallback(t,e){this.catalogPicker.restoreState(t)}formDisabledCallback(t){this.formDisabledChanged(t)}get closedMode(){return this.catalogPicker.closedMode}get effectiveEntries(){return this.catalogPicker.effectiveEntries}get filteredEntries(){return this.catalogPicker.filteredEntries}labelFor(t){return this.catalogPicker.labelFor(t)}constructor(){super(),this.size="m",this.slotPresence=new D(this),this.listId=u("model-select-list"),this.controlId=u("model-select-control"),this.catalogPicker=new z(this,{catalog:()=>this.catalog,allowCustom:()=>this.allowCustom,isReadonly:()=>this.readonly,locale:()=>this.effectiveLocale,searchableFields:t=>[t.id,t.label],emitInput:t=>this.emit("lr-input",t),emitChange:t=>this.emit("lr-change",t),emitChangeRequest:(t,e)=>this.emit("lr-change-request",t,e),emitPopup:(t,e)=>E(this,t,e),onValueChange:(t,e)=>{this.internals.setFormValue(t),this.updateValidity(),this.requestUpdate("value",e)},onDefaultValueChange:(t,e)=>this.requestUpdate("defaultValue",e),onStateChange:(t,e)=>{t==="open"?this.requestUpdate("open",e):this.requestUpdate()},onControlFocus:t=>this.captureModeFocus(t),onControlBlur:t=>{this.effectiveDisabled||(this.touched=!0),this.retireModeFocusAfterBlur(t)},forwardFreeInputClick:!0}),this.limitAnnouncements=new y(this),new L(this,{limited:()=>this.inputLimited,announce:()=>this.limitAnnouncements.announcePolite(this.localize("catalogPickerInputLimit"))})}get inputLimited(){return b(this,"catalog")!==void 0}updated(t){super.updated(t),this.syncCatalogDescription(this.controlId);let e=t.has("open")||this.open&&(t.has("catalog")||t.has("allowCustom")||t.has("topLayer"));this.catalogPicker.updated(e),(t.has("required")||t.has("readonly")||t.has("touched")||t.has("value"))&&(t.has("readonly")&&this.updateValidity(),this.toggleAttribute("data-invalid",this.touched&&!this.internals.validity.valid)),this.publishValidityStates(),this.catalogPicker.suppressControlEvents=!1,this.finishModeFocus("model-select-mode-focus")}renderRows(t,e){return t.map((i,s)=>{let r=`${this.listId}-opt-${s}`,a=i.id===this.value,h=i.disabled===!0;return o`<div part="option" id=${r} role="option" data-value=${i.id} ?data-synthetic=${i.synthetic} aria-selected=${a?"true":"false"} aria-disabled=${h?"true":l} ?data-active=${r===e} >
|
|
2
|
+
${typeof i.icon=="string"&&i.icon?o`<span part="option-icon" aria-hidden="true" inert>${i.icon}</span>`:l}
|
|
3
|
+
<span part="option-label">${i.label}</span>
|
|
4
|
+
${i.synthetic?o`<span part="option-badge">${this.localize("notInCatalog")}</span>`:""}
|
|
5
|
+
</div>`})}renderListbox(t,e,i){return o`
|
|
6
|
+
<div part="listbox" ?hidden=${this.catalogPicker.listboxHidden} id=${this.listId} role="listbox" @mousedown=${this.onListboxMouseDown} @click=${this.onListboxClick} >
|
|
7
|
+
<span class="glass-scroll-layer" aria-hidden="true"></span>
|
|
8
|
+
${this.catalogPicker.listboxHidden?l:t.length===0?o`<div part="empty" role="option" aria-selected="false" aria-disabled="true">${i}</div>`:P([t,this.value,this.effectiveLocale,this.strings,this.localize("notInCatalog")],()=>this.renderRows(t,e))}
|
|
9
|
+
</div>
|
|
10
|
+
`}get supportingState(){return A({presence:this.slotPresence,idPrefix:"model-select",hint:this.hint,errorText:this.errorText,helpTextSlot:!1,extraDescribedBy:[this.getAttribute("aria-describedby")]})}get hasVisibleLabel(){return(this.label??"").length>0||this.slotPresence.has("label")}renderHintError(t,e){return S({idPrefix:"model-select",hint:this.hint,errorText:this.errorText,hasHint:e,hasError:t})}renderClosed(){let t=this.effectiveEntries,e=this.activeIndex>=0&&t[this.activeIndex]?`${this.listId}-opt-${this.activeIndex}`:"",i=this.value.length>0,s=this.hasVisibleLabel,{hasHint:r,hasError:a,describedBy:h}=this.supportingState;return o`
|
|
11
|
+
${f(this.controlId,this.label,s)}
|
|
12
|
+
<button id=${this.controlId} part="trigger" type="button" role="combobox" aria-haspopup="listbox" aria-expanded=${this.open?"true":"false"} aria-controls=${this.listId} aria-activedescendant=${e} aria-label=${g(this,s,this.placeholder,this.localize("model"))} aria-describedby=${h||l} aria-required=${this.required?"true":"false"} aria-readonly=${this.readonly?"true":"false"} aria-invalid=${a||this.touched&&!this.internals.validity.valid?"true":"false"} ?disabled=${this.effectiveDisabled} @click=${this.onTriggerClick} @keydown=${this.onTriggerKeyDown} @focus=${this.onControlFocus} @blur=${this.onControlBlur} >
|
|
13
|
+
${this.provider?o`<span part="provider-badge">${this.provider}</span>`:""}
|
|
14
|
+
<span class="trigger-label" ?data-placeholder=${!i} >${i?this.labelFor(this.value):this.placeholder}</span
|
|
15
|
+
>
|
|
16
|
+
<span part="expand-icon" aria-hidden="true" inert>${m()}</span>
|
|
17
|
+
</button>
|
|
18
|
+
${this.renderListbox(t,e,this.localize("modelSelectNoModels"))}
|
|
19
|
+
${this.renderHintError(a,r)}
|
|
20
|
+
`}renderFreeText(){let t=this.filteredEntries,e=this.activeIndex>=0&&t[this.activeIndex]?`${this.listId}-opt-${this.activeIndex}`:"",i=this.hasVisibleLabel,{hasHint:s,hasError:r,describedBy:a}=this.supportingState;return o`
|
|
21
|
+
${f(this.controlId,this.label,i)}
|
|
22
|
+
<div part="combobox" @mousedown=${this.onComboMouseDown}>
|
|
23
|
+
${this.provider?o`<span part="provider-badge">${this.provider}</span>`:""}
|
|
24
|
+
${M({host:this,id:this.controlId,listId:this.listId,activeId:e,open:this.open,value:this.open?this.query:this.labelFor(this.value),name:g(this,i,this.placeholder,this.localize("model")),describedBy:a,invalid:r||this.touched&&!this.internals.validity.valid,onInput:this.onInput,onKeyDown:this.onInputKeyDown,onFocus:this.onInputFocus,onBlur:this.onControlBlur})}
|
|
25
|
+
<span part="expand-icon" aria-hidden="true" inert>${m()}</span>
|
|
26
|
+
</div>
|
|
27
|
+
${this.renderListbox(t,e,this.localize("noMatches"))}
|
|
28
|
+
${this.renderHintError(r,s)}
|
|
29
|
+
`}render(){return o`<div part="form-control" tabindex="-1">
|
|
30
|
+
${this.inputLimited?o`<p part="limit" data-form-control-row>${this.localize("catalogPickerInputLimit")}</p>`:l}
|
|
31
|
+
${this.closedMode?this.renderClosed():this.renderFreeText()}
|
|
32
|
+
</div>`}};c([d({attribute:!1})],n.prototype,"catalog",void 0),c([d({type:Boolean,reflect:!0})],n.prototype,"open",null),c([d({reflect:!0})],n.prototype,"size",void 0);export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function l(){let a={},t="",e={},r=["badInput","customError","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","typeMismatch","valueMissing"];for(let n of r)Object.defineProperty(e,n,{enumerable:!0,get:()=>!!a[n]});return Object.defineProperty(e,"valid",{enumerable:!0,get:()=>r.every(n=>!a[n])}),{form:null,labels:[],validity:e,get validationMessage(){return t},willValidate:!1,states:new Set,setFormValue(){},setValidity(n={},i=""){a={...n},t=i},checkValidity(){return e.valid},reportValidity(){return e.valid}}}function o(a){let t=a,e;try{for(;t;){let r=Object.getOwnPropertyDescriptor(t,"attachInternals");if(r){"value"in r&&typeof r.value=="function"&&(e=r.value);break}t=Object.getPrototypeOf(t)}}catch{return l()}if(!e)return l();try{return Reflect.apply(e,a,[])??l()}catch{return l()}}export{o as a};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import{a as E}from"./chunk-AJHSEOC3.js";import{a as O}from"./chunk-HJM3VV3X.js";import{b as _}from"./chunk-UNLIU4L5.js";import{f as w}from"./chunk-3HGKUVDX.js";import{a as n,b as o,c as C,z as k}from"./chunk-JTGCA7JE.js";import{b as x,e as m,i as $}from"./chunk-CN2FTU25.js";import{a as M}from"./chunk-ZVB4ZXSV.js";import{i as S}from"./chunk-AVZPWRZU.js";var T=[/^ {0,3}#{1,6}\s+\S/m,/```/,/\*\*[^*\n]+\*\*/,/`[^`\n]+`/,/^ {0,3}[-*+]\s+\S/m,/^ {0,3}\d+\.\s+\S/m,/\[[^\]]+\]\([^)\s]+\)/,/^ {0,3}>\s?\S/m],A=[/(?:^|[^\w])_[^_\n]+_(?:[^\w]|$)/];function H(a){return a?[...T,...A].some(t=>t.test(a)):!1}var h=a=>t=>t===a,b=a=>/\s/.test(a),u=a=>!b(a),i=(a,t=1,e=t)=>[a,t,e],l=class{constructor(t,e="any"){this.start=e,this.states=[{edges:[],epsilon:[]}],this.active=new Set;let r=0;for(let[d,g,f]of t){for(let p=0;p<g;p++){let c=this.states.length;this.states.push({edges:[],epsilon:[]}),this.states[r].edges.push([d,c]),r=c}if(f===1/0)this.states[r].edges.push([d,r]);else for(let p=g;p<f;p++){let c=this.states.length;this.states.push({edges:[],epsilon:[]}),this.states[r].edges.push([d,c]),this.states[r].epsilon.push(c),r=c}}}expand(t){for(let e of t)for(let r of this.states[e].epsilon)t.add(r);return t}step(t,e){(this.start==="any"||this.start==="line"&&(e===void 0||/[\n\r\u2028\u2029]/.test(e))||this.start==="boundary"&&(e===void 0||!/\w/.test(e)))&&this.active.add(0);let r=new Set;for(let d of this.expand(this.active))for(let[g,f]of this.states[d].edges)g(t)&&r.add(f);return this.active=this.expand(r),this.active.has(this.states.length-1)}};function P(){let a=i(h(" "),0,3),t=i(b,1,1/0);return[new l([a,i(h("#"),1,6),t,i(u)],"line"),new l([i(h("`"),3)]),new l([i(h("*"),2),i(e=>e!=="*"&&e!==`
|
|
2
|
+
`,1,1/0),i(h("*"),2)]),new l([i(h("`")),i(e=>e!=="`"&&e!==`
|
|
3
|
+
`,1,1/0),i(h("`"))]),new l([a,i(e=>/[-*+]/.test(e)),t,i(u)],"line"),new l([a,i(e=>/\d/.test(e),1,1/0),i(h(".")),t,i(u)],"line"),new l([i(h("[")),i(e=>e!=="]",1,1/0),i(h("]")),i(h("(")),i(e=>e!==")"&&u(e),1,1/0),i(h(")"))]),new l([a,i(h(">")),i(b,0,1),i(u)],"line"),new l([i(h("_")),i(e=>e!=="_"&&e!==`
|
|
4
|
+
`,1,1/0),i(h("_"))],"boundary")]}var y=class{constructor(){this.source="",this.signals=P(),this.permanent=!1,this.boundaryPending=!1,this.scannedCodeUnits=0}update(t){if(t.startsWith(this.source)||(this.source="",this.signals=P(),this.permanent=!1,this.boundaryPending=!1,this.previous=void 0),!this.permanent)for(let e=this.source.length;e<t.length;e++){let r=t[e];this.scannedCodeUnits++,this.boundaryPending&&!/\w/.test(r)&&(this.permanent=!0),this.boundaryPending=!1;for(let d=0;d<this.signals.length;d++)this.signals[d].step(r,this.previous)&&(d===this.signals.length-1?this.boundaryPending=!0:this.permanent=!0);if(this.previous=r,this.permanent)break}return this.source=t,this.permanent||this.boundaryPending}};var L=x`:host{overflow-wrap:break-word;display:block}[part=base]{line-height:var(--lr-line-height-loose)}.plain{white-space:pre-wrap}[part=cursor]{vertical-align:text-bottom;inline-size:var(--lr-inline-cursor-width,var(--lr-size-0-125rem));block-size:var(--lr-inline-cursor-height,var(--lr-size-1em));border-radius:var(--lr-inline-cursor-width,var(--lr-size-0-125rem));animation:var(--_lr-motion-animation,lr-streaming-text-cursor-blink var(--lr-transition-ambient) infinite);background:currentColor;margin-inline-start:var(--lr-space-xs);display:inline-block}@keyframes lr-streaming-text-cursor-blink{0%,49%{opacity:1}50%,to{opacity:0}}@media (prefers-reduced-motion:reduce){[part=cursor]{opacity:1;animation:none!important}}`;var v=50,s=class extends k{static{this.styles=[k.styles,L]}get markdownLanguages(){return O(this.languages,this.languageLoaders)}get safeCoalesceMs(){return S(this.coalesceMs,v,0)}constructor(){super(),this.content="",this.streaming=!1,this.streamingRender="plain",this.coalesceMs=v,this.contentMode="auto",this.tabSize=4,this.htmlMode="sanitize",this.withoutGfm=!1,this.withoutImages=!1,this.linkTarget="_blank",this.internalLinkPrefix="",this.headingOffset=0,this.withoutSyntaxHighlighting=!1,this.headingAnchors=!1,this.math=!1,this.maxHeight="",this.displayedContent="",this.lastScannedResult=!1,this.markdownDetector=new y,this.coalescer=new M({throttleMs:this.safeCoalesceMs,onFlush:t=>{this.displayedContent=t}})}connectedCallback(){super.connectedCallback();let t=this.ownerDocument.defaultView;t&&this.coalescer.setTimerHost(t),this.hasUpdated&&this.displayedContent!==this.content&&this.coalescer.announce(this.content,{force:!0})}willUpdate(t){super.willUpdate(t),t.has("coalesceMs")&&(this.coalescer.throttleMs=this.safeCoalesceMs),t.has("content")&&this.coalescer.announce(this.content,{force:!this.hasUpdated}),t.has("streaming")&&t.get("streaming")!==void 0&&t.get("streaming")!==this.streaming&&this.coalescer.announce(this.content,{force:!0}),t.has("displayedContent")&&this.displayedContent!==this.lastScannedContent&&(this.lastScannedContent=this.displayedContent,this.lastScannedResult=this.markdownDetector.update(this.displayedContent))}updated(t){super.updated(t),t.has("displayedContent")&&!this.effectiveMarkdown&&this.emit("lr-content-settled",null)}disconnectedCallback(){super.disconnectedCallback(),this.coalescer.cancel()}adoptedCallback(){super.adoptedCallback();let t=this.ownerDocument.defaultView;t&&this.coalescer.setTimerHost(t)}get effectiveMarkdown(){return this.contentMode==="markdown"?!0:this.contentMode==="plain"?!1:this.lastScannedResult}stopOwnedEvent(t){t.stopPropagation()}renderMarkdownElement(t,e,r){return _`<${t}
|
|
5
|
+
exportparts="content, heading, paragraph, list, code-block, code-block-header, code-block-language, code-block-copy, inline-code, link, table, blockquote, img, math, task-list, task-item, task-item-checked, task-checkbox, table-wrapper, code-block-frame, code-block-copy-success, code-block-copy-error, streaming-tail"
|
|
6
|
+
.content=${this.displayedContent}
|
|
7
|
+
.streaming=${this.streaming}
|
|
8
|
+
.streamingRender=${this.streamingRender}
|
|
9
|
+
.codeBlockHeader=${this.codeBlockHeader}
|
|
10
|
+
.languages=${e}
|
|
11
|
+
.languageLoaders=${r}
|
|
12
|
+
.tabSize=${this.tabSize}
|
|
13
|
+
.htmlMode=${this.htmlMode}
|
|
14
|
+
.withoutGfm=${this.withoutGfm}
|
|
15
|
+
.withoutImages=${this.withoutImages}
|
|
16
|
+
.linkTarget=${this.linkTarget}
|
|
17
|
+
.linkSchemes=${this.linkSchemes}
|
|
18
|
+
.internalLinkPrefix=${this.internalLinkPrefix}
|
|
19
|
+
.headingOffset=${this.headingOffset}
|
|
20
|
+
.withoutSyntaxHighlighting=${this.withoutSyntaxHighlighting}
|
|
21
|
+
.headingAnchors=${this.headingAnchors}
|
|
22
|
+
.math=${this.math}
|
|
23
|
+
.maxHeight=${this.maxHeight}
|
|
24
|
+
@lr-highlight-activate=${this.stopOwnedEvent}
|
|
25
|
+
@lr-text-select=${this.stopOwnedEvent}
|
|
26
|
+
@lr-anchor-result=${this.stopOwnedEvent}
|
|
27
|
+
@lr-error=${this.stopOwnedEvent}
|
|
28
|
+
></${t}>`}render(){let t=this.streaming?m`<span part="cursor" aria-hidden="true"></span>`:$;return m`<div part="base"
|
|
29
|
+
>${this.effectiveMarkdown?m`${this.renderMarkdown()}${t}`:m`<span class="plain" dir="auto">${E(this.displayedContent)}</span> ${t}`}</div
|
|
30
|
+
>`}};n([o()],s.prototype,"content",void 0),n([o({type:Boolean,reflect:!0})],s.prototype,"streaming",void 0),n([o({attribute:"streaming-render"})],s.prototype,"streamingRender",void 0),n([o({converter:w(v),attribute:"coalesce-ms"})],s.prototype,"coalesceMs",void 0),n([o({reflect:!0,attribute:"content-mode"})],s.prototype,"contentMode",void 0),n([o({attribute:!1})],s.prototype,"languages",void 0),n([o({attribute:!1})],s.prototype,"languageLoaders",void 0),n([o({attribute:"tab-size",converter:w(4)})],s.prototype,"tabSize",void 0),n([o({attribute:"html-mode"})],s.prototype,"htmlMode",void 0),n([o({type:Boolean,attribute:"without-gfm"})],s.prototype,"withoutGfm",void 0),n([o({type:Boolean,attribute:"without-images"})],s.prototype,"withoutImages",void 0),n([o({attribute:"link-target"})],s.prototype,"linkTarget",void 0),n([o({attribute:"link-schemes"})],s.prototype,"linkSchemes",void 0),n([o({attribute:"internal-link-prefix"})],s.prototype,"internalLinkPrefix",void 0),n([o({converter:w(0),attribute:"heading-offset"})],s.prototype,"headingOffset",void 0),n([o({type:Boolean,attribute:"without-syntax-highlighting"})],s.prototype,"withoutSyntaxHighlighting",void 0),n([o({type:Boolean,attribute:"heading-anchors"})],s.prototype,"headingAnchors",void 0),n([o({type:Boolean})],s.prototype,"math",void 0),n([o({attribute:"max-height"})],s.prototype,"maxHeight",void 0),n([C()],s.prototype,"displayedContent",void 0);export{H as a,s as b};
|