@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 @@
|
|
|
1
|
+
import{a as w,b as I,c as D}from"./chunk-M3K6BXUV.js";import{a as E}from"./chunk-J24TYMEI.js";var M=65536,C=2e6;function V(v){return typeof v=="string"&&v.length>0&&v.length<=M}function m(v){return typeof v.itemAt=="function"}var K=class{constructor(t,e){this.host=t,this.count=0,this.generation=0,this.bindingVersion=0,this.windowVersion=0,this.demandVersion=0,this.lookupVersion=0,this.lookupScheduled=!1,this.pages=new Map,this.local=new Map,this.cachedKeyUnits=0,this.totalWeight=0,this.queue=[],this.running=new Map,this.pumpScheduled=!1,this.options=Object.freeze({...e});let s=w(e.pageSize),n=w(e.maxRows),o=w(e.maxPages);if(s<1||n<1||n>500||s>n||o<1||o>5||e.maxConcurrent!==1&&e.maxConcurrent!==2)throw new RangeError("Invalid source window bounds");if(e.maxWeight===void 0!=(e.weightOf===void 0)||e.maxWeight!==void 0&&(!Number.isSafeInteger(e.maxWeight)||e.maxWeight<1||typeof e.weightOf!="function"))throw new RangeError("Invalid source weight bounds");this.pageCapacity=Math.min(o,Math.floor(n/s)),this.connected=t.isConnected,this.authority=new D(t,{channels:["range-0","range-1","lookup"],onReset:()=>this.clear(),deferDisconnect:e.deferDisconnect}),e.deferDisconnect&&(this.detached=new E(()=>this.clear()));let i=this;this.source={get count(){return i.count},itemAt:r=>this.itemAt(r),keyAt:r=>this.keyAt(r),indexOfKey:r=>typeof r=="string"?this.cachedIndex(r):-1},t.addController(this)}bind(t){let e=++this.bindingVersion,s=this.binding,n,o=0;try{if(t){if(n={owner:t.owner,revision:t.revision,epoch:t.epoch,locale:t.locale,view:t.view},I(n.revision),w(n.epoch),o=w(n.view.count),e!==this.bindingVersion)return;let i=m(n.view);if(e!==this.bindingVersion)return;let r=typeof n.view.read=="function";if(i===r)throw new TypeError("Source must provide indexed or ranged access");if(s&&s.owner===n.owner&&s.revision===n.revision&&s.epoch===n.epoch&&s.view===n.view&&s.locale===n.locale&&o===this.count)return}}catch(i){throw e===this.bindingVersion&&(this.binding=void 0,this.count=0,this.requested=void 0,this.authority.setSource(void 0,void 0)),i}e===this.bindingVersion&&(this.binding=void 0,this.count=0,this.requested=void 0,this.authority.refresh(),e===this.bindingVersion&&(this.authority.setSource(n?.owner,n?.revision),e===this.bindingVersion&&(this.binding=n,this.count=o)))}requestRange(t,e){if(w(t),w(e),e<t)throw new RangeError("Invalid source range");if(!this.usable()||!this.binding)return;let s=++this.windowVersion,n=this.binding,o=this.generation,i=this.host.ownerDocument,r=Math.min(e,this.count,t+this.options.maxRows),u=Math.min(t,this.count);if((this.requested?.start!==u||this.requested.end!==r)&&this.demandVersion++,this.requested={start:u,end:r},m(this.binding.view)||s!==this.windowVersion||!this.current(n,o,i))return;let h=this.pageStart(t),l=Math.min(e,this.count),p=Math.min(this.pageCapacity,Math.max(0,Math.ceil((l-h)/this.options.pageSize))),c=new Set;if(t<l)for(let a=0;a<p;a++)c.add(h+a*this.options.pageSize);for(let a of[...this.pages.values()])if((a.state==="queued"||a.state==="loading")&&!c.has(a.start)&&this.drop(a),s!==this.windowVersion||!this.current(n,o,i))return;for(let a of c){let d=this.pages.get(a);d&&(this.pages.delete(a),this.pages.set(a,d))}for(let a of c)if(this.page(a,!1,s),s!==this.windowVersion||!this.current(n,o,i))return}async ensure(t){if(!this.usable()||!this.validIndex(t)||!this.binding)return!1;this.rememberIndex(t);let e=this.binding,s=this.generation,n=this.host.ownerDocument,o=m(e.view);if(!this.current(e,s,n))return!1;if(o)return this.local.get(t)?.slot.state==="error"&&this.removeLocal(t),this.itemAt(t).state==="ready";let i=this.page(this.pageStart(t),!0);return i?await i.done&&this.usable()&&this.generation===s&&this.pages.get(i.start)===i:!1}resolveKey(t){let e=++this.lookupVersion,s=this.binding,n=this.generation,o=this.host.ownerDocument;if(this.lookupCurrent?.settle(null),this.lookupCurrent=void 0,this.authority.invalidate("lookup"),!s||e!==this.lookupVersion||!this.current(s,n,o)||!V(t))return Promise.resolve(null);let i,r=new Promise(u=>{i=u});return this.lookupCurrent={key:t,binding:s,generation:n,owner:o,settle:i},this.scheduleLookup(),r}scheduleLookup(){this.lookupScheduled||(this.lookupScheduled=!0,queueMicrotask(()=>{this.lookupScheduled=!1,this.pumpLookup()}))}pumpLookup(){if(this.lookupRunning)return;let t=this.lookupCurrent;if(!t)return;let e=()=>this.lookupCurrent===t&&this.current(t.binding,t.generation,t.owner);if(!e()){t.settle(null),this.lookupCurrent=void 0;return}this.lookupRunning=t;let s=this.authority.begin("lookup",t.binding.locale);if(!s||!e()||!s.isCurrent()){t.settle(null),this.lookupCurrent===t&&(this.lookupCurrent=void 0),this.lookupRunning=void 0,this.scheduleLookup();return}Promise.resolve().then(()=>{if(!e()||!s.isCurrent())return null;let n=t.binding.view,o=m(n);if(!e()||!s.isCurrent())return null;let i=n.indexOfKey;return!e()||!s.isCurrent()||i==null?null:Reflect.apply(i,n,o?[t.key]:[t.key,s.context])}).then(n=>{t.settle(e()&&s.isCurrent()&&typeof n=="number"&&this.validIndex(n)?n:null)}).catch(()=>t.settle(null)).finally(()=>{this.lookupCurrent===t&&(this.lookupCurrent=void 0),this.lookupRunning===t&&(this.lookupRunning=void 0),this.scheduleLookup()})}current(t,e,s){return this.binding===t&&this.generation===e&&this.host.ownerDocument===s&&this.usable()}rememberIndex(t){(!this.requested||t<this.requested.start||t>=this.requested.end)&&(this.requested={start:t,end:t+1},this.options.maxWeight!==void 0&&this.demandVersion++)}usable(){return this.connected&&this.host.isConnected}validIndex(t){return Number.isSafeInteger(t)&&t>=0&&t<this.count}pageStart(t){return Math.floor(t/this.options.pageSize)*this.options.pageSize}itemAt(t){if(!this.validIndex(t))return{state:"error",index:t,error:new RangeError("Invalid source index")};let e=this.binding;if(!e||!this.usable())return{state:"loading",index:t};this.rememberIndex(t);let s=this.generation,n=this.host.ownerDocument,o=this.demandVersion,i=()=>this.current(e,s,n)&&(this.options.maxWeight===void 0||o===this.demandVersion);if(m(e.view)){if(!i())return{state:"loading",index:t};let u=this.local.get(t);if(u)return this.local.delete(t),this.local.set(t,u),u.slot;let h;try{let l=e.view.itemAt;if(!i())return{state:"loading",index:t};let p=Reflect.apply(l,e.view,[t]);if(!i())return{state:"loading",index:t};let c=this.options.normalize(p,t);if(!i())return{state:"loading",index:t};let a=this.validateKey(c,t);if(!i())return{state:"loading",index:t};let d=e.view.keyAt;if(!i())return{state:"loading",index:t};if(d&&Reflect.apply(d,e.view,[t])!==a)throw new TypeError("Source row key mismatch");if(!i())return{state:"loading",index:t};let y=this.valueWeight(c,t);if(!i()||!this.admitWeight(y,i))return{state:"loading",index:t};for(;this.cachedKeyUnits+a.length>C;){let f=[...this.local.keys()].find(k=>this.options.maxWeight===void 0||!this.demands(k,1));if(f===void 0)throw new RangeError("Source window key budget exceeded");this.removeLocal(f)}h={slot:{state:"ready",index:t,value:c},key:a,weight:y}}catch(l){h={slot:{state:"error",index:t,error:this.options.maxWeight===void 0?l:new Error("Source row admission failed")}}}if(!i())return{state:"loading",index:t};for(this.removeLocal(t);this.local.size>=this.options.maxRows;)this.removeLocal(this.local.keys().next().value);return this.local.set(t,h),this.cachedKeyUnits+=h.key?.length??0,this.totalWeight+=h.weight??0,h.slot}if(!i())return{state:"loading",index:t};let r=this.page(this.pageStart(t),!1);return r?.state==="ready"?r.slots[t-r.start]:r?.state==="error"?{state:"error",index:t,error:r.error}:{state:"loading",index:t}}keyAt(t){let e=this.binding;if(!this.usable()||!this.validIndex(t))return t;if(e){let o=this.generation,i=this.host.ownerDocument;try{let r=m(e.view);if(!this.current(e,o,i))return t;if(r){let u=e.view.keyAt;if(!this.current(e,o,i))return t;if(u){let h=Reflect.apply(u,e.view,[t]);return this.current(e,o,i)&&V(h)?h:t}}}catch{return t}}let s=this.local.get(t);if(s?.key)return s.key;let n=this.pages.get(this.pageStart(t));return n?.keys?.[t-n.start]??t}cachedIndex(t){let e=this.binding;if(!e||!this.usable()||!V(t))return-1;let s=this.generation,n=this.host.ownerDocument,o=e.view;try{let i=m(o);if(!this.current(e,s,n))return-1;if(i){let r=o.indexOfKey;if(!this.current(e,s,n))return-1;if(r){let u=Reflect.apply(r,o,[t]);return this.current(e,s,n)&&this.validIndex(u)?u:-1}}}catch{return-1}for(let[i,r]of this.local)if(r.key===t)return i;for(let i of this.pages.values()){let r=i.keys?.indexOf(t)??-1;if(r>=0)return i.start+r}return-1}validateKey(t,e){let s=this.options.keyOf(t);if(!V(s))throw new TypeError("Invalid source key");for(let[n,o]of this.local)if(n!==e&&o.key===s)throw new TypeError("Duplicate source key");for(let n of this.pages.values()){let o=n.keys?.indexOf(s)??-1;if(o>=0&&n.start+o!==e)throw new TypeError("Duplicate source key")}return s}removeLocal(t){let e=this.local.get(t);e&&(this.cachedKeyUnits-=e.key?.length??0,this.totalWeight-=e.weight??0,this.local.delete(t))}demands(t,e){return!!this.requested&&t<this.requested.end&&t+e>this.requested.start}valueWeight(t,e){if(this.options.maxWeight===void 0)return 0;let s=this.options.weightOf(t,e);if(!Number.isSafeInteger(s)||s<0||s>this.options.maxWeight)throw new RangeError("Invalid source row weight");return s}admitWeight(t,e,s){let n=this.options.maxWeight;if(n===void 0)return e();for(;t>n-this.totalWeight;){let o=[...this.local.entries()].find(([i,r])=>(r.weight??0)>0&&!this.demands(i,1));if(o)this.removeLocal(o[0]);else{let i=[...this.pages.values()].find(r=>r!==s&&(r.weight??0)>0&&!this.demands(r.start,r.length));if(!i)throw new RangeError("Source window weight budget exceeded");this.drop(i)}if(!e())return!1}return e()}releasePageValues(t){this.cachedKeyUnits-=t.keyUnits??0,this.totalWeight-=t.weight??0,t.staging&&(t.staging.length=0),t.staging=void 0,t.keys=void 0,t.slots=void 0,t.keyUnits=void 0,t.weight=void 0}page(t,e,s=++this.windowVersion){let n=this.binding,o=this.generation,i=this.host.ownerDocument;if(!n||!this.usable()||!this.validIndex(t))return;let r=this.pages.get(t);if(r&&!(e&&r.state==="error"))return this.pages.delete(t),this.pages.set(t,r),r;if(r&&this.drop(r),s!==this.windowVersion||!this.current(n,o,i))return;for(;this.pages.size>=this.pageCapacity;)if(this.drop(this.pages.values().next().value),s!==this.windowVersion||!this.current(n,o,i))return;let u,h=new Promise(p=>{u=p}),l={start:t,length:Math.min(this.options.pageSize,this.count-t),state:"queued",done:h,settle:u};return this.pages.set(t,l),this.queue.push(l),this.schedulePump(),l}drop(t){this.pages.get(t.start)===t&&this.pages.delete(t.start),this.releasePageValues(t),this.queue=this.queue.filter(e=>e!==t),t.channel&&this.running.get(t.channel)===t&&this.authority.invalidate(t.channel),t.settle(!1)}clear(){this.generation++,this.windowVersion++,this.demandVersion++,this.lookupVersion++,this.lookupCurrent?.settle(null),this.lookupCurrent=void 0,this.notification=void 0;let t=[...this.pages.values()];this.pages.clear(),this.queue=[],this.local.clear(),this.cachedKeyUnits=0,this.totalWeight=0;for(let e of t)e.staging&&(e.staging.length=0),e.staging=void 0,e.weight=void 0,e.keys=void 0,e.slots=void 0,e.keyUnits=void 0,e.settle(!1),e.channel&&this.running.get(e.channel)===e&&this.authority.invalidate(e.channel)}schedulePump(){this.pumpScheduled||(this.pumpScheduled=!0,queueMicrotask(()=>{this.pumpScheduled=!1,this.pump()}))}pump(){let t=this.binding;if(!t||!this.usable())return;let e=this.generation,s=this.host.ownerDocument;if(!(m(t.view)||!this.current(t,e,s)))for(let n=0;n<this.options.maxConcurrent;n++){if(!this.current(t,e,s))return;let o=n===0?"range-0":"range-1";if(this.running.has(o))continue;let i=this.queue.shift();if(!i)break;let r=this.authority.begin(o,t.locale);if(!r||!this.current(t,e,s)){this.drop(i);continue}let u=t.view;i.state="loading",i.channel=o,this.running.set(o,i);let h=()=>r.isCurrent()&&this.current(t,e,s)&&this.pages.get(i.start)===i,l,p=!1;Promise.resolve().then(()=>{if(!h())return;let c=u.read;if(h())return Reflect.apply(c,u,[{...r.context,offset:i.start,limit:i.length}])}).then(c=>{if(!h())return;if(!Array.isArray(c)||c.length!==i.length)throw new RangeError("Invalid source range response");let a=this.demandVersion;l=a;let d=()=>h()&&(this.options.maxWeight===void 0||a===this.demandVersion),y=[],f=0,k=new Set,R=[];this.options.maxWeight!==void 0&&(i.staging=R);for(let g=0;g<i.length;g++){let b=i.start+g,A=c[g];if(!d())throw new Error("Source demand changed");let q=this.options.normalize(A,b);if(!d())throw new Error("Source demand changed");let S=this.validateKey(q,b);if(!d())throw new Error("Source demand changed");if(f+=S.length,f>C)throw new RangeError("Source range key budget exceeded");if(k.has(S))throw new TypeError("Duplicate source key");let W=this.valueWeight(q,b);if(!d()||!this.admitWeight(W,d,i))throw new Error("Source demand changed");i.weight=(i.weight??0)+W,this.totalWeight+=W,k.add(S),y.push(S),R.push({state:"ready",index:b,value:q})}if(!d())throw new Error("Source demand changed");for(let g of this.pages.values()){if(this.cachedKeyUnits+f<=C)break;if(g!==i&&g.keys&&(this.options.maxWeight===void 0||!this.demands(g.start,g.length))&&this.drop(g),!d())throw new Error("Source demand changed")}if(this.cachedKeyUnits+f>C)throw new RangeError("Source window key budget exceeded");i.keys=y,i.slots=R,i.keyUnits=f,i.staging=void 0,this.cachedKeyUnits+=f,i.state="ready",i.settle(!0),this.notify()}).catch(c=>{if(h()){if(this.releasePageValues(i),this.options.maxWeight!==void 0&&l!==void 0&&l!==this.demandVersion){this.demands(i.start,i.length)?p=!0:this.drop(i);return}i.error=this.options.maxWeight===void 0?c:new Error("Source range admission failed"),i.state="error",i.settle(!1),this.notify()}}).finally(()=>{this.running.get(o)===i&&this.running.delete(o),i.channel=void 0,p&&h()&&(i.state="queued",this.queue.push(i)),this.schedulePump()})}}notify(){if(this.notification)return;let t={},e=this.generation,s=this.host.ownerDocument;this.notification=t,queueMicrotask(()=>{this.notification===t&&(this.notification=void 0,this.usable()&&this.generation===e&&this.host.ownerDocument===s&&this.options.onChange())})}adopted(){this.detached?.flush(),this.authority.adopted()}hostConnected(){let t=this.detached?.cancel()??!1,e=!this.connected&&!t;if(this.connected=!0,e&&this.binding){let s=this.requested;s&&this.requestRange(s.start,s.end),this.notify()}}hostDisconnected(){this.connected=!1,this.detached?this.detached.schedule():this.clear()}};export{K as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as $}from"./chunk-G6XBJVZN.js";import{a as c,c as _}from"./chunk-IRH2OYBM.js";var o=(e,t)=>{let s=e._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(t,!1),o(i,t);return!0},r=e=>{let t,s;do{if((t=e._$AM)===void 0)break;s=t._$AN,s.delete(e),e=t}while(s?.size===0)},d=e=>{for(let t;t=e._$AM;e=t){let s=t._$AN;if(s===void 0)t._$AN=s=new Set;else if(s.has(e))break;s.add(e),l(t)}};function a(e){this._$AN!==void 0?(r(this),this._$AM=e,d(this)):this._$AM=e}function f(e,t=!1,s=0){let i=this._$AH,h=this._$AN;if(h!==void 0&&h.size!==0)if(t)if(Array.isArray(i))for(let n=s;n<i.length;n++)o(i[n],!1),r(i[n]);else i!=null&&(o(i,!1),r(i));else o(this,e)}var l=e=>{e.type==c.CHILD&&(e._$AP??=f,e._$AQ??=a)},A=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,s,i){super._$AT(t,s,i),d(this),this.isConnected=t._$AU}_$AO(t,s=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),s&&(o(this,t),r(this))}setValue(t){if($(this._$Ct))this._$Ct._$AI(t,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=t,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};export{A as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t,h as s}from"./chunk-AVZPWRZU.js";function m(e,a){let r=new Set;if(Array.isArray(e))for(let o of e){let n=s(o,0);n>0&&r.add(n)}let i=s(a,0);return i>0&&r.add(i),[...r].sort((o,n)=>o-n)}function p(e,a,r,i){let o=t(r);if(o===0)return 1;let n=(t(e,1)-1)*t(a),f=Math.max(1,Math.floor(Math.max(0,n)/o)+1),c=t(i??0);return c===0?f:Math.min(f,Math.max(1,Math.ceil(c/o)))}function h(e,a){return Math.max(0,t(e,1)-1)*t(a)}function M(e,a){let r=t(a);return r===0?1:Math.floor(t(e)/r)+1}export{m as a,p as b,h as c,M as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=class{constructor(t){this.onUpgrade=t,this.generation=0,this.pending=new Map}disconnect(){this.generation++,this.pending.clear()}observeElement(t){let e=t.localName,n=t.ownerDocument.defaultView?.customElements;if(!e.includes("-")||!n||n.get(e))return;let i=this.pending.get(n);if(i||this.pending.set(n,i=new Set),i.has(e))return;i.add(e);let o=new WeakRef(this),a=this.generation;n.whenDefined(e).then(()=>{let s=o.deref();!s||s.generation!==a||(s.pending.get(n)?.delete(e),s.onUpgrade())},()=>{})}};export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as m,f as h,g as p}from"./chunk-CN2FTU25.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var S=new Map,n=a=>(s,...r)=>{let e=r.length,u,l,i=[],c=[],o,t=0,$=!1;for(;t<e;){for(o=s[t];t<e&&(l=r[t],(u=d(l))!==void 0);)o+=u+s[++t],$=!0;t!==e&&c.push(l),i.push(o),t++}if(t===e&&i.push(s[e]),$){let f=i.join("$$lit$$");(s=S.get(f))===void 0&&(i.raw=i,S.set(f,s=i)),r=c}return a(s,...r)},w=n(m),b=n(h),x=n(p);export{_ as a,w as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="No chunks retrieved",n="Retrieved chunks",t="Result {index} of {total}",a="Relevance {percent}%",o="Citation {index}",r="High confidence",i="Low confidence",L="Medium confidence",A="Unverified",l="Verified",_="Citation {index}, {label}",s="Citation {index}, {status}",d="Only the first {count} claims are shown.",E="{percent} confidence",c="Contradicted",g="No claim-level evidence available",R="Claim evidence",m="Partially supported",D="Supported",T="Unsupported",U="Explore community",F="Explore community: {label}",u={one:"{count} member",other:"{count} members"},Y="No embedding points",p="Embedding explorer",h="{label}, embedding point {index}",b="Showing {shown} of {total} points.",S="{count} points in density region: {bounds}",w="{minX} to {maxX} horizontally; {minY} to {maxY} vertically",v="The spatial source or viewport is invalid or unavailable.",y="Loading spatial data\u2026",C="{total} points in the full source ({global}). {matched} points in the viewport ({viewport}). Density regions count all matches; point overlays do not add to these counts.",k="{label}, {type}",f="Community",x="Connections",P="Focus in graph",B="Focus in graph: {label}",N="Community {label}, {count} nodes",H="Custom 3D nodes could not be displayed. Showing standard nodes.",I="Custom 3D nodes require the WebGL view. Showing standard nodes.",M="Graph data",O="Showing {shown} of {total} graph items.",G="Node-link diagram with {nodeCount} nodes and {linkCount} links",W="Showing {shown} of {total} links.",Q="{item}, expandable",V="All configured node types are hidden.",K="Show all node types",q="Find path",z="Knowledge graph explorer",X="Pin",j="{label} pinned",J="Pinned",Z="Showing {shown} of {total} matches.",$="Search entities\u2026",ee="Search results",ne="Unpin",te="{label} unpinned",ae="Fit graph",oe="Glow requires the WebGL view.",re="{item} ({index} of {total})",ie="Graph legend",Le="Link from {source} to {target}",Ae='This component needs the optional "d3" package installed to render the graph.',le="Node {label}",_e="Centered on {label}",se="Showing {shown} of {total} nodes.",de="{hidden} of {total} nodes hidden",Ee="Orbit down",ce="Orbit left",ge="Orbit right",Re="Orbit up",me="{count} selected",De="Graph view and camera controls",Te="Drag to orbit; Shift-drag to pan. Use arrow keys to orbit, Shift-arrow keys to pan, plus or minus to zoom, and Home to fit. Use List view to explore and activate graph items.",Ue="Graph items: {total}. Page {page} of {pages}.",Fe="The 3D drawing surface is unavailable. Graph items are available in List view.",ue="{label} ({type})",Ye="3D view",pe="List view",he="Only the first {count} citations are shown.",be="Confidence",Se="Citation coverage",we="No grounding assessment available",ve="Evidence",ye="Characters {start}\u2013{end}",Ce="Grounding summary",ke="Supported claims",fe="Unsupported claims",xe="Warnings",Pe="{action} {label}",Be="Attempt {count}",Ne="Cancel {label}",He={one:"{count} chunk",other:"{count} chunks"},Ie="{embedded} of {total} chunks embedded",Me="{name} \u2014 {stage}",Oe="Showing {count} of {total} actions for {label}.",Ge="No documents queued",We="Only the first {count} of {total} queue items are retained.",Qe="Ingestion queue",Ve="Retry {label}",Ke="Cancelled",qe="Chunking",ze="Done",Xe="Embedding",je="Extracting text",Je="Failed",Ze="Indexing",$e="Queued",en="Unknown stage",nn="Uploading",tn="Actions",an="Ingestion",on="{collection}: only the first {count} of {total} entries are retained.",rn="Knowledge base administration",Ln="Sources",An="Add source",ln="Delete source",_n="{count} indexed",sn="Add a source to start indexing content.",dn="No knowledge sources yet",En="Knowledge base",cn="Indexing health",gn="Degraded",Rn="Failed",mn="Healthy",Dn="Unknown",Tn="Source",Un="Needs attention",Fn="Never synced",un="Pause sync",Yn="Permission",pn="Editor",hn="Owner",bn="Restricted",Sn="Viewer",wn="Actions for {name}",vn="Sync now",yn="Sync status",Cn="Error",kn="Idle",fn="Paused",xn="Synced",Pn="Syncing",Bn="Synced",Nn="Syncing",Hn="Sources",In="Add to long-term memory",Mn="item {index}",On='Add "{label}" to long-term memory',Gn="Add this to long-term memory?",Wn={one:"This permanently forgets the {count} long-term memory.",other:"This permanently forgets all {count} long-term memories."},Qn="Forget all long-term memories?",Vn="Remove this item?",Kn="Forget all",qn="Only the first {count} memory items are shown.",zn="Memory",Xn="Long-term memories",jn="Short-term context",Jn="{label} collapsed",Zn="{label} expanded",$n="Some topics were omitted because an input limit was reached.",et="Mind map",nt="{label}, level {level}",tt="Showing {shown} of {total} topics.",at="{label}, level {level}, {count} subtopics",ot="Expand {label} in graph",rt="{relation} ({count})",it="No relationships",Lt="Relationships",At="{label}, {relation}, {direction}",lt="Select an entity to view its neighbors.",_t="The neighbors could not be loaded.",st="Showing {shown} of {total} neighbors.",dt="Drag to the canvas, or press Enter to place",Et="No matching nodes.",ct="Node palette",gt="Search nodes\u2026",Rt={one:"{count} item",other:"{count} items"},mt="{label}, node {position} of {total}",Dt="directed toward the next node",Tt="directed toward the previous node",Ut="{relation}, relation",Ft="Path",ut="Text chunks",Yt="Communities",pt="No grounding data for this answer",ht="Grounding",bt="Only the first {count} items are shown.",St="Relationships",wt="Citations",vt="No answer yet",yt="Grounded answer",Ct="Retry answer",kt="Sources",ft="All",xt="No evaluation runs available",Pt="Only the newest {count} of {total} evaluation runs are retained.",Bt="RAG evaluation dashboard",Nt="No evaluation metric is available for {metric}.",Ht="Evaluation runs",It="No evaluation runs are available for {slice}.",Mt="Evaluation slices",Ot="Showing {count} of {total} evaluation slices.",Gt="No research steps are available.",Wt="Research progress",Qt="Showing the first {count} research steps.",Vt={one:"{count} source",other:"{count} sources"},Kt="Completed",qt="Failed",zt="Pending",Xt="In progress",jt="Dense",Jt="No retrieval result sets to compare",Zt="Final",$t="Some comparison sets or results were omitted because an input limit was reached.",ea="Retrieval comparison",na="Top-k overlap between {left} and {right}: {percent}",ta="Rank {rank}",aa="Rerank",oa="Showing {shown} of {total} retained results in this set.",ra="Sparse",ia="{key}: {value}",La="Active filters",Aa="Hybrid",la="Keyword",_a="Search mode",sa="Vector",da="Only the first {count} of {total} retrieval results are retained.",Ea="Select result {index} of {total}, {label}",ca={one:"You can select at most {count} result.",other:"You can select at most {count} results."},ga="Try a different search term or filters.",Ra="Retrieval search",ma="Show less: {label}",Da="Show more: {label}",Ta="Embed",Ua="Filter",Fa="Unknown stage",ua="Query rewrite",Ya="Rerank",pa="Retrieve",ha="No retrieval stages",ba="{label} evidence",Sa="Retrieval trace",wa="High relevance",va="Low relevance",ya="Medium relevance",Ca="Select all sources",ka="Show more",fa="Show {count} more",xa="{base} \u2014 p. {page}",Pa="Some sources are not shown because the list is too large or contains invalid entries.",Ba={one:"{count} source match",other:"{count} sources match"},Na="{selected} of {total} selected",Ha="Untitled community",Ia="Untitled entity",Ma="Untitled source",Oa="\u2026";export{e as a,n as b,t as c,a as d,o as e,r as f,i as g,L as h,A as i,l as j,_ as k,s as l,d as m,E as n,c as o,g as p,R as q,m as r,D as s,T as t,U as u,F as v,u as w,Y as x,p as y,h as z,b as A,S as B,w as C,v as D,y as E,C as F,k as G,f as H,x as I,P as J,B as K,N as L,H as M,I as N,M as O,O as P,G as Q,W as R,Q as S,V as T,K as U,q as V,z as W,X,j as Y,J as Z,Z as _,$,ee as aa,ne as ba,te as ca,ae as da,oe as ea,re as fa,ie as ga,Le as ha,Ae as ia,le as ja,_e as ka,se as la,de as ma,Ee as na,ce as oa,ge as pa,Re as qa,me as ra,De as sa,Te as ta,Ue as ua,Fe as va,ue as wa,Ye as xa,pe as ya,he as za,be as Aa,Se as Ba,we as Ca,ve as Da,ye as Ea,Ce as Fa,ke as Ga,fe as Ha,xe as Ia,Pe as Ja,Be as Ka,Ne as La,He as Ma,Ie as Na,Me as Oa,Oe as Pa,Ge as Qa,We as Ra,Qe as Sa,Ve as Ta,Ke as Ua,qe as Va,ze as Wa,Xe as Xa,je as Ya,Je as Za,Ze as _a,$e as $a,en as ab,nn as bb,tn as cb,an as db,on as eb,rn as fb,Ln as gb,An as hb,ln as ib,_n as jb,sn as kb,dn as lb,En as mb,cn as nb,gn as ob,Rn as pb,mn as qb,Dn as rb,Tn as sb,Un as tb,Fn as ub,un as vb,Yn as wb,pn as xb,hn as yb,bn as zb,Sn as Ab,wn as Bb,vn as Cb,yn as Db,Cn as Eb,kn as Fb,fn as Gb,xn as Hb,Pn as Ib,Bn as Jb,Nn as Kb,Hn as Lb,In as Mb,Mn as Nb,On as Ob,Gn as Pb,Wn as Qb,Qn as Rb,Vn as Sb,Kn as Tb,qn as Ub,zn as Vb,Xn as Wb,jn as Xb,Jn as Yb,Zn as Zb,$n as _b,et as $b,nt as ac,tt as bc,at as cc,ot as dc,rt as ec,it as fc,Lt as gc,At as hc,lt as ic,_t as jc,st as kc,dt as lc,Et as mc,ct as nc,gt as oc,Rt as pc,mt as qc,Dt as rc,Tt as sc,Ut as tc,Ft as uc,ut as vc,Yt as wc,pt as xc,ht as yc,bt as zc,St as Ac,wt as Bc,vt as Cc,yt as Dc,Ct as Ec,kt as Fc,ft as Gc,xt as Hc,Pt as Ic,Bt as Jc,Nt as Kc,Ht as Lc,It as Mc,Mt as Nc,Ot as Oc,Gt as Pc,Wt as Qc,Qt as Rc,Vt as Sc,Kt as Tc,qt as Uc,zt as Vc,Xt as Wc,jt as Xc,Jt as Yc,Zt as Zc,$t as _c,ea as $c,na as ad,ta as bd,aa as cd,oa as dd,ra as ed,ia as fd,La as gd,Aa as hd,la as id,_a as jd,sa as kd,da as ld,Ea as md,ca as nd,ga as od,Ra as pd,ma as qd,Da as rd,Ta as sd,Ua as td,Fa as ud,ua as vd,Ya as wd,pa as xd,ha as yd,ba as zd,Sa as Ad,wa as Bd,va as Cd,ya as Dd,Ca as Ed,ka as Fd,fa as Gd,xa as Hd,Pa as Id,Ba as Jd,Na as Kd,Ha as Ld,Ia as Md,Ma as Nd,Oa as Od};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i(n,t){n&&t(n)}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r,b as o}from"./chunk-CN2FTU25.js";function e(l){return o` @media (forced-colors:none){${r(l)}{--_lr-glass-border-weight:initial;--_lr-glass-qualified-border:initial;--_lr-glass-qualified-border-strong:initial;--lr-color-border:var(--_lr-glass-original-border);--lr-color-border-strong:var(--_lr-glass-original-border-strong)}}`}export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as _}from"./chunk-RDSMOXJD.js";import{b as C}from"./chunk-NF6FYAQW.js";import{b as A,k as M}from"./chunk-S5RHQP2W.js";import{b as y,i as E}from"./chunk-64UM73EQ.js";import{i as N}from"./chunk-AVZPWRZU.js";var T=1800,S=200,I=200,b=new WeakMap,m=new WeakMap;function H(){return typeof document>"u"?null:document}function R(t){let e=t?.defaultView;if(!e)return null;let n=e,i=n.Highlight,r=n.CSS?.highlights;return typeof i=="function"&&r&&typeof r.set=="function"?{ctor:i,registry:r}:null}function k(t,e){return t?.ctor===e.ctor&&t.registry===e.registry}function P(t=H()){let e=R(t);return e!==null&&(!t||!k(m.get(t),e))}function x(t){return`lr-highlight-${t}`}function O(t,e){let n=b.get(t);if(n?.ctor===e.ctor&&n.registry===e.registry)return n;let i={...e,highlightObjects:new Map,ownersByName:new Map},r=[...C.map(o=>[x(o),0]),["lr-highlight-active",1],["lr-highlight-flash",2]];for(let[o,a]of r){let l=new e.ctor;l.priority=a,i.highlightObjects.set(o,l),i.ownersByName.set(o,new Map),e.registry.set(o,l)}return b.set(t,i),i}function g(t,e,n,i){let r=t.highlightObjects.get(e),o=t.ownersByName.get(e);if(!r||!o)return;let a=o.get(n);if(a)for(let h of a)r.delete(h);let l=new Set(i);for(let h of l)r.add(h);l.size>0?o.set(n,l):o.delete(n)}function L(t,e){let n=e===t.startContainer?t.startOffset:0,i=e===t.endContainer?t.endOffset:e.data.length,r=e;return i<r.data.length&&r.splitText(i),n>0&&(r=r.splitText(n)),r}function D(t,e){if(t.firstChild)return t.firstChild;let n=t;for(;n&&n!==e;){if(n.nextSibling)return n.nextSibling;n=n.parentNode}return null}function U(t,e,n,i){if(n.marks<=0)return[];let r=t.commonAncestorContainer,o=e.defaultView?.Node.TEXT_NODE??3,a=[],l=r;for(;l&&n.traversalNodes>0&&n.codeUnits>0;){if(n.traversalNodes--,l.nodeType===o){let s=l;if(s.data.length>n.codeUnits){n.codeUnits=0;break}n.codeUnits-=s.data.length;try{if(s.data.length>0&&t.intersectsNode(s)&&(a.push(s),a.length>n.marks))return[]}catch{return[]}}l=D(l,r)}if(l)return[];let h=[];for(let s of a){let c=L(t,s);if(!c.data)continue;let f=e.createElement("mark");if(i(f),c.parentNode?.insertBefore(f,c),f.appendChild(c),h.push(f),n.marks--,n.marks<=0)break}return h}function B(t){let e=t.parentNode;if(!e)return;let n=t.previousSibling,i=t.firstChild;for(;t.firstChild;)e.insertBefore(t.firstChild,t);let r=t.nextSibling;e.removeChild(t);let o=n?.nodeType===Node.TEXT_NODE?n:i??r,a=0;for(;o&&o.parentNode===e&&a++<4&&o.nodeType===Node.TEXT_NODE;){let l=o;if(l.data===""){let s=l.nextSibling;l.remove(),o=s;continue}let h=l.nextSibling;if(h?.nodeType!==Node.TEXT_NODE)break;l.appendData(h.data),h.remove()}}function F(t,e){let n=new Map,i=t.defaultView;function r(s){for(let c of n.get(s)??[])B(c);n.set(s,[])}function o(s,c,f){r(s);let u=[],d={traversalNodes:y.maxTraversalNodes,codeUnits:y.maxCorpusCodeUnits,marks:I},w=Math.min(f.length,S);for(let v=0;v<w&&d.traversalNodes>0&&d.codeUnits>0&&d.marks>0;v++)u.push(...U(f[v],t,d,p=>{p.setAttribute("data-lr-highlight-tone",c),p.setAttribute("data-lr-highlight-name",s),p.setAttribute("role","mark"),e&&p.setAttribute("part",e)}));n.set(s,u)}let a,l=0;function h(){l+=1,a!==void 0&&i?.clearTimeout(a),a=void 0}return{setRanges(s,c){o(x(s),s,c)},setActive(s){o("lr-highlight-active","accent",s?[s]:[])},flash(s,c=T){if(h(),o("lr-highlight-flash","accent",[s]),!i)return;let f=l,u=0;u=i.setTimeout(()=>{f!==l||a!==u||(a=void 0,r("lr-highlight-flash"))},N(c,T)),a=u},release(){h();for(let s of n.keys())r(s)}}}function X(t,e,n){let i,r=0;function o(){r+=1,i!==void 0&&n.clearTimeout(i),i=void 0}return{setRanges(a,l){g(e,x(a),t,l)},setActive(a){g(e,"lr-highlight-active",t,a?[a]:[])},flash(a,l=T){o(),g(e,"lr-highlight-flash",t,[a]);let h=r,s=0;s=n.setTimeout(()=>{h!==r||i!==s||(i=void 0,g(e,"lr-highlight-flash",t,[]))},N(l,T)),i=s},release(){o();for(let a of e.highlightObjects.keys())g(e,a,t,[])}}}function G(){return{setRanges:()=>{},setActive:()=>{},flash:()=>{},release:()=>{}}}function $(t,e=H(),n={}){if(!e)return G();let i=R(e);if(i&&e.defaultView&&!k(m.get(e),i))try{let r=X(t,O(e,i),e.defaultView);return m.delete(e),r}catch{m.set(e,i)}return F(e,n.part)}function V(t,e,n){let i=t.createWorkBudget(),r=[],o=[];for(let s of _(e,n)){if(o.length>=A)break;let c=s.anchor,f=c.kind==="text-quote"?t.resolve(c,i):null;f&&(r.push(s),o.push(f))}let a=M(t.scope,o),l=[],h=null;for(let s=0;s<r.length;s++){let c=a[s];if(!c)continue;let f=r[s];l.push({id:f.id,highlight:f,tone:f.tone??"accent",range:c}),f.id===n&&(h=c)}return{ranges:l,active:h}}function j(t,e,n){let i=new Map(C.map(o=>[o,[]])),r=i.get("accent");for(let{tone:o,range:a}of e)(i.get(o??"accent")??r).push(a);for(let[o,a]of i)t.setRanges(o,a);t.setActive(n)}function J(t){let{ranges:e,active:n}=V(t.index,t.highlights,t.activeHighlightId);return j(t.handle,e,n),e}function Y(t,e,n){let i=E;for(let r=t.length-1;r>=0;r--){let o=t[r];for(let a of o.range.getClientRects()){if(i<=0)return null;if(i-=1,e>=a.left&&e<=a.right&&n>=a.top&&n<=a.bottom)return o.id}}return null}export{P as a,U as b,B as c,$ as d,V as e,j as f,J as g,Y as h};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{a as E}from"./chunk-YBUWSTZE.js";import{n as B,r as x,s as R}from"./chunk-RDTKEL46.js";var C=class extends Error{constructor(r){super(r),this.code=r}},A=e=>{throw new C(e)};function _(e,r){return B(e,r,()=>A("invalid-descriptor"))}function H(e,r){if(e.length>r)return A("limit");let u=new TextEncoder().encode(e);return u.length>r?A("limit"):u}function Y(e,r){return Object.freeze({ok:!1,issue:Object.freeze({code:e,...r===void 0?{}:{id:r}})})}function Q(e){try{if(!Array.isArray(e))return A("invalid-descriptor");let r=R(e);if(r===void 0)return A("invalid-descriptor");if(r>E.count)return A("limit");let u=new Set,m=[],o=0,h=0;for(let c=0;c<r;c+=1){let d=_(e,String(c));if(!x(d))return A("invalid-descriptor");let M=_(d,"id"),t=_(d,"source"),f=_(d,"width"),l=_(d,"height"),p=_(d,"pixelRatio"),i=_(d,"sdf");if(i!==void 0&&typeof i!="boolean"||typeof M!="string"||!x(t)||typeof f!="number"||typeof l!="number"||!Number.isInteger(f)||!Number.isInteger(l)||f<1||l<1||typeof p!="number"||!Number.isFinite(p)||p<=0||p>4)return A("invalid-descriptor");let g=M.trim();if(!g||g.length>E.idLength)return A("invalid-descriptor");if(u.has(g))return A("duplicate-id");if(f>E.dimension||l>E.dimension||f*l>E.pixels||(o+=f*l,o>E.totalPixels))return A("limit");let s=_(t,"kind"),I=_(t,"markup"),P=_(t,"url"),a;if(s==="svg"&&typeof I=="string"&&P===void 0){if(h+=H(I,E.svgBytes).length,h>E.totalBytes)return A("limit");a=Object.freeze({kind:s,markup:I})}else if(s==="url"&&typeof P=="string"&&P.trim()&&P.length<=8192&&I===void 0)a=Object.freeze({kind:s,url:P.trim()});else return A("invalid-descriptor");u.add(g),m.push(Object.freeze({id:g,source:a,width:f,height:l,pixelRatio:p,...i?{sdf:!0}:{}}))}return Object.freeze({ok:!0,images:Object.freeze(m)})}catch(r){return Y(r instanceof C?r.code:"decode")}}var z=4096,n=e=>Object.freeze({ok:!1,issue:e}),b=(e,r,u)=>String.fromCharCode(...e.subarray(r,r+u)),j=(e,r)=>e[r]*256+e[r+1],N=(e,r)=>e[r]*16777216+e[r+1]*65536+e[r+2]*256+e[r+3],y=(e,r)=>e[r]+e[r+1]*256,T=(e,r)=>y(e,r)+e[r+2]*65536,k=(e,r)=>T(e,r)+e[r+3]*16777216;function S(e,r,u){return!Number.isInteger(r)||!Number.isInteger(u)||r<1||u<1?n("malformed"):r>2048||u>2048||r*u>4194304?n("dimension-limit"):Object.freeze({ok:!0,mime:e,width:r,height:u})}function U(e,r,u){let m=4294967295;for(let o=r;o<u;o+=1){m^=e[o];for(let h=0;h<8;h+=1)m=m>>>1^(m&1?3988292384:0)}return(m^4294967295)>>>0}function W(e){if(e.length<8||b(e,0,8)!==`\x89PNG\r
|
|
2
|
+
|
|
3
|
+
`)return n("malformed");let r=8,u=0,m=n("malformed"),o=-1,h=0,c=0,d=0,M=!1,t=[],f=!1,l=!1;for(;r<e.length;){if(++u>z)return n("scan-limit");if(e.length-r<12)return n("malformed");let p=N(e,r);if(p>e.length-r-12)return n("malformed");let i=b(e,r+4,4);if(!/^[A-Za-z]{4}$/.test(i)||(e[r+6]&32)!==0)return n("malformed");let g=r+8,s=g+p;if(i==="acTL"||i==="fcTL"||i==="fdAT")return n("animated");if(U(e,r+4,s)!==N(e,s)||u===1&&i!=="IHDR")return n("malformed");if(i==="IHDR"){if(u!==1||p!==13)return n("malformed");if(m=S("image/png",N(e,g),N(e,g+4)),!m.ok)return m;if(h=e[g+8],o=e[g+9],!(o===0?[1,2,4,8,16].includes(h):o===3?[1,2,4,8].includes(h):[2,4,6].includes(o)&&[8,16].includes(h))||e[g+10]!==0||e[g+11]!==0||e[g+12]>1)return n("malformed")}else if(i==="PLTE"){if(c||l||M||o===0||o===4||p===0||p>768||p%3!==0||(c=p/3,o===3&&c>2**h))return n("malformed")}else if(i==="tRNS"){if(l||M||(o===3?!c||p<1||p>c:o===0?p!==2:o!==2||p!==6))return n("malformed");l=!0}else if(i==="IDAT"){if(f||o===3&&!c)return n("malformed");M=!0;for(let I=g;I<s&&t.length<2;I+=1)t.push(e[I]);d+=p}else{if(i==="IEND")return p!==0||s+4!==e.length||d<6||t.length!==2||(t[0]&15)!==8||t[0]>>>4>7||(t[0]*256+t[1])%31!==0||(t[1]&32)!==0?n("malformed"):m;if(i==="iCCP"||i==="zTXt"||i==="iTXt")return n("unsupported-format");if((e[r+4]&32)===0)return n("malformed")}i!=="IDAT"&&M&&(f=!0),r=s+4}return n("malformed")}function Z(e){let r=2,u=0,m=-1,o=n("malformed"),h=new Map,c=!1,d=0,M=0;for(;r<e.length;){if(c&&e[r]!==255){d+=1,r+=1;continue}if(e[r++]!==255)return n("malformed");for(;r<e.length&&e[r]===255;)r+=1;if(r>=e.length)return n("malformed");let t=e[r++];if(c&&t===0){d+=1;continue}if(++u>z)return n("scan-limit");if(t>=208&&t<=215){if(!c||d===0)return n("malformed");continue}if(c&&d===0)return n("malformed");if(c=!1,t===217)return r===e.length&&M>0?o:n("malformed");if(t===0||t===216||t===220||t===1||e.length-r<2)return n("malformed");let f=j(e,r);if(f<2||f>e.length-r)return n("malformed");let l=r+2,p=r+f;if(t>=192&&t<=207&&![196,200,204].includes(t)){if(m!==-1)return n("malformed");if(![192,193,194].includes(t))return n("unsupported-format");if(f<8||e[l]!==8)return n("malformed");let i=e[l+5];if(i<1||i>4||f!==8+3*i)return n("malformed");if(o=S("image/jpeg",j(e,l+3),j(e,l+1)),!o.ok)return o;m=t;for(let g=0;g<i;g+=1){let s=l+6+g*3,I=e[s],P=e[s+1],a=P>>>4,w=P&15;if(h.has(I)||a<1||a>4||w<1||w>4||e[s+2]>3)return n("malformed");h.set(I,a*w)}}else if(t===218){if(m===-1||f<6)return n("malformed");let i=e[l];if(i<1||i>h.size||f!==6+2*i)return n("malformed");let g=new Set,s=0;for(let X=0;X<i;X+=1){let L=e[l+1+X*2],G=e[l+2+X*2];if(!h.has(L)||g.has(L)||G>>>4>3||(G&15)>3)return n("malformed");g.add(L),s+=h.get(L)}if(i>1&&s>10)return n("malformed");let I=l+1+2*i,P=e[I],a=e[I+1],w=e[I+2],v=w>>>4,D=w&15;if(m!==194?P!==0||a!==63||w!==0:P>a||a>63||(P===0?a!==0:i!==1)||v>13||D>13||v!==0&&v!==D+1)return n("malformed");M+=1,c=!0,d=0}else if(t===221){if(f!==4)return n("malformed")}else if(!(t>=224&&t<=239)&&![196,219,254].includes(t))return n("malformed");r=p}return n("malformed")}function $(e){if(e.length<12||b(e,0,4)!=="RIFF"||b(e,8,4)!=="WEBP"||k(e,4)!==e.length-8||e.length%2!==0)return n("malformed");let r=12,u=0,m,o,h="",c=0,d=-1,M=!1,t=new Set;for(;r<e.length;){if(++u>z)return n("scan-limit");if(e.length-r<8)return n("malformed");let f=b(e,r,4),l=k(e,r+4),p=l%2;if(l>e.length-r-8||p>e.length-r-8-l)return n("malformed");let i=r+8,g=i+l;if(p&&e[g]!==0)return n("malformed");if(f==="ANIM"||f==="ANMF")return n("animated");if(["VP8X","VP8 ","VP8L","ALPH","ICCP","EXIF","XMP "].includes(f)){if(t.has(f))return n("malformed");t.add(f)}if(f==="VP8X"){if(u!==1||l!==10)return n("malformed");if(c=e[i],c&2)return n("animated");if((c&193)!==0||e[i+1]!==0||e[i+2]!==0||e[i+3]!==0)return n("malformed");if(m=S("image/webp",1+T(e,i+4),1+T(e,i+7)),!m.ok)return m}else if(f==="VP8 "||f==="VP8L"){if(o)return n("malformed");if(f==="VP8 "){if(l<11)return n("malformed");let s=T(e,i);if((s&1)!==0||(s>>>1&7)>3||(s&16)===0||!(s>>>5)||s>>>5>l-10||b(e,i+3,3)!=="\x9D*"||(y(e,i+6)&49152)!==0||(y(e,i+8)&49152)!==0)return n("malformed");o=S("image/webp",y(e,i+6)&16383,y(e,i+8)&16383)}else{if(l<6||e[i]!==47)return n("malformed");let s=k(e,i+1);if(s>>>29)return n("malformed");o=S("image/webp",1+(s&16383),1+(s>>>14&16383))}if(!o.ok)return o;h=f}else if(f==="ALPH"){if(!m||o||!(c&16)||l<2||(e[i]&192)!==0||(e[i]&3)>1||(e[i]>>>4&3)>1)return n("malformed");d=l-1,M=(e[i]&3)===0}else if((f==="ICCP"||f==="EXIF"||f==="XMP ")&&(!m||f==="ICCP"&&(o||d>=0||l===0)))return n("malformed");r=g+p}return!o?.ok||m?.ok&&(m.width!==o.width||m.height!==o.height)||m&&(!!(c&32)!==t.has("ICCP")||!!(c&8)!==t.has("EXIF")||!!(c&4)!==t.has("XMP "))||(h==="VP8L"?d>=0:!!(c&16)!=d>=0)||M&&d!==o.width*o.height?n("malformed"):o}function ne(e,r){try{if(!(e instanceof Uint8Array)||typeof SharedArrayBuffer<"u"&&e.buffer instanceof SharedArrayBuffer)return n("malformed");if(e.byteLength>1048576)return n("encoded-limit");if(typeof r!="string"||r.length>256)return n("unsupported-format");let u=r.split(";",1)[0].trim().toLowerCase();if(!["image/png","image/jpeg","image/webp"].includes(u))return n("unsupported-format");let m=b(e,0,4)==="\x89PNG"?"image/png":e[0]===255&&e[1]===216?"image/jpeg":b(e,0,4)==="RIFF"?"image/webp":void 0;return m?u!==m?n("mime-mismatch"):m==="image/png"?W(e):m==="image/jpeg"?Z(e):$(e):n("unsupported-format")}catch{return n("malformed")}}export{C as a,A as b,H as c,Y as d,Q as e,ne as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=Symbol.for("@aceshooting/lyra-ui.map-anchor.v1");export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as F}from"./chunk-BY636SMQ.js";import{a as p,b as G,c as U}from"./chunk-M3K6BXUV.js";import{g as C,h as N,k as X}from"./chunk-RDTKEL46.js";import{f as q}from"./chunk-AVZPWRZU.js";var J=65536,K=J,Y=2e6,D=new Error("Source operation revoked");function a(o,e,i=!0){if(typeof o!="object"&&typeof o!="function"||o===null)throw new TypeError("Invalid source object");let t=Object.getOwnPropertyDescriptor(o,e);if(!t){if(i)throw new TypeError("Missing source field");return}if(!("value"in t))throw new TypeError("Accessor source field");return t.value}function se(o,e,i,t=!1){if(!i())throw new TypeError("Obsolete source record");if(typeof o!="object"&&typeof o!="function"||o===null)throw new TypeError("Invalid source object");let s=X(o,e);if(!i())throw new TypeError("Obsolete source record");if(s===N||t&&s===C)throw new TypeError("Invalid source field");return s===C?void 0:s.value}function R(o,e){if(!Array.isArray(o))throw new TypeError("Invalid source collection");let i=p(a(o,"length"));if(i>e)throw new RangeError("Invalid source collection");let t=[];for(let s=0;s<i;s++)t.push(a(o,s));return t}function P(o,e,i=!1){if(typeof o!="string"||i&&o.length===0||o.length>K)throw new TypeError("Invalid source text");if(e.used+=o.length,e.used>Y)throw new RangeError("Source text budget exceeded");return o}function W(){return Object.freeze({page:0,pageSize:100,pending:!1,result:void 0,error:void 0,selectionPending:!1,selectionError:void 0})}var Z=class{constructor(e,i){this.host=e,this.snapshot=W(),this.bindVersion=0,this.pageVersion=0,this.selectionVersion=0,this.locateVersion=0,this.intact=!1,this.cache=new Map,this.pageLane={channel:"page",canceled:!1,scheduled:!1},this.selectionLane={channel:"selection",canceled:void 0,scheduled:!1},this.locateLane={channel:"locate",canceled:null,scheduled:!1},this.options=Object.freeze({...i}),this.connected=e.isConnected,this.authority=new U(e,{channels:["page","selection","locate"],onReset:()=>this.reset(),deferDisconnect:!0}),e.addController(this)}get state(){return this.snapshot}bind(e){let i=++this.bindVersion,t;try{if(e&&(t=Object.freeze({source:e.source,revision:G(e.revision),epoch:p(e.epoch),locale:e.locale}),!t.source||typeof t.source.query!="function"||typeof t.source.lookup!="function"||typeof t.source.locate!="function"||typeof t.locale!="string"))throw new TypeError("Invalid page source")}catch(h){throw i===this.bindVersion&&(this.binding=void 0,this.lastPage=void 0,this.lastSelection=void 0,this.authority.setSource(void 0,void 0),i===this.bindVersion&&this.patch({error:h})),h}if(i!==this.bindVersion)return;let s=this.binding;if(t&&s&&s.source===t.source&&s.revision===t.revision&&s.epoch===t.epoch){if(s.locale===t.locale)return;this.binding=t;let h=++this.pageVersion;if(this.locateVersion++,this.patch({pending:!1,result:void 0,error:void 0}),this.stop(this.locateLane),i!==this.bindVersion||h!==this.pageVersion)return;this.stop(this.pageLane);return}this.binding=void 0,this.lastPage=void 0,this.lastSelection=void 0,this.authority.refresh(),i===this.bindVersion&&(this.authority.setSource(t?.source,t?.revision),i===this.bindVersion&&(this.binding=t))}request(e,i,t){let s=++this.pageVersion;if(this.locateVersion++,this.lastPage={query:e,page:i,pageSize:t},this.patch({page:i,pageSize:t,pending:!0,result:void 0,error:void 0}),this.stop(this.locateLane),s!==this.pageVersion||(this.stop(this.pageLane),s!==this.pageVersion))return Promise.resolve(!1);try{if(p(i),p(t),t<1||t>500||!Number.isSafeInteger(i*t))throw new RangeError("Invalid source page");if(!this.usable()||!this.binding)return this.patch({pending:!1}),Promise.resolve(!1)}catch(r){return this.lastPage=void 0,this.patch({pending:!1,error:r}),Promise.resolve(!1)}let h=this.binding.source;return this.enqueue(this.pageLane,async(r,c)=>{let n=i;for(let d=0;d<2;d++){if(!c())return!1;let w=h.query;if(!c())return!1;let E=await Reflect.apply(w,h,[{...r,page:n,pageSize:t,query:e}]);if(!c())return!1;let v=this.projectPage(E,e,n,t,c);if(!c())return!1;let u=v.total===0?0:Math.floor((v.total-1)/t);if(n>u){if(d===1)throw new RangeError("Inconsistent source page total");n=u;continue}return this.lastPage={query:e,page:n,pageSize:t},this.patch({page:n,pageSize:t,pending:!1,result:v,error:void 0}),!0}return!1},r=>this.patch({pending:!1,result:void 0,error:r}))}locate(e){let i=++this.locateVersion;if(this.stop(this.locateLane),i!==this.locateVersion||!this.binding||!this.lastPage||!this.usable())return Promise.resolve(null);try{P(e,{used:0},!0)}catch{return Promise.resolve(null)}let t=this.binding.source,s=this.lastPage.query;return this.enqueue(this.locateLane,async(h,r)=>{let c=t.locate;if(!r())return null;let n=await Reflect.apply(c,t,[e,s,h]);if(!r()||n===null)return null;if(p(n),this.snapshot.result&&n>=this.snapshot.result.total)throw new RangeError("Invalid located source index");return n},()=>{})}projectRecord(e,i,t){let s=P(a(e,"key"),i,!0),h=p(a(e,"order")),r=Object.freeze({key:s,order:h,value:a(e,"value")}),c=this.options.normalizeRecord(r,t);if(a(c,"key")!==s||a(c,"order")!==h)throw new TypeError("Source record identity changed");return Object.freeze({key:s,order:h,value:a(c,"value")})}projectPage(e,i,t,s,h){let r=p(a(e,"total")),c=R(a(e,"rows"),s),n=t*s,d=Math.min(s,Math.max(0,r-n));if(c.length!==d)throw new RangeError("Invalid source page length");let w={used:0},E=new Set,v=new Set,u=[];for(let f=0;f<c.length;f++){let g=this.projectRecord(a(c,f),w,h);if(!h())throw D;if(E.has(g.key)||v.has(g.order))throw new TypeError("Duplicate source record");E.add(g.key),v.add(g.order),u.push(g)}let l=a(e,"groups",!1),V;if(l!==void 0){let f=R(l,u.length),g=new Set,A=[];for(let S=0;S<f.length;S++){let T=a(f,S),k=P(a(T,"key"),w,!0),m=P(a(T,"label"),w),y=p(a(T,"startIndex")),j=p(a(T,"itemCount")),L=y+j;if(!Number.isSafeInteger(L)||j===0||L>r||y>=n+u.length||L<=n||g.has(k))throw new RangeError("Invalid source group");g.add(k),A.push(Object.freeze({key:k,label:m,startIndex:y,itemCount:j}))}V=Object.freeze(A)}let O=a(e,"tags",!1),I;if(O!==void 0){let f=R(a(O,"values"),500),g=R(a(O,"unavailableSelected"),500),A=p(a(O,"total"));if(A<f.length)throw new RangeError("Invalid facet total");let S=new Set,T=[];for(let m=0;m<f.length;m++){let y=a(f,m),j=P(a(y,"key"),w,!0),L=P(a(y,"label"),w),x=a(y,"count",!1),z=x===void 0?void 0:p(x);if(S.has(j))throw new TypeError("Duplicate source facet");S.add(j),T.push(Object.freeze({key:j,label:L,...z===void 0?{}:{count:z}}))}let k=[];for(let m=0;m<g.length;m++){let y=P(a(g,m),w,!0);if(S.has(y))throw new TypeError("Conflicting source facet");S.add(y),k.push(y)}I=Object.freeze({total:A,values:Object.freeze(T),unavailableSelected:Object.freeze(k)})}let M=a(e,"summary",!1);if(M!==void 0&&!this.options.normalizeSummary)throw new TypeError("Source summary requires a projection");let _=this.options.normalizeSummary?.(M,i);if(!h())throw D;let b=Object.freeze({total:r,rows:Object.freeze(u),...V===void 0?{}:{groups:V},...I===void 0?{}:{tags:I},...this.options.normalizeSummary?{summary:_}:{}});if(this.options.validateMetadata(b,i),!h())throw D;return b}enqueue(e,i,t){let s,h=new Promise(r=>{s=r});return e.current={run:i,fail:t,settle:s},this.schedule(e),h}stop(e,i=!0){let t=e.current;e.current=void 0,t?.settle(e.canceled),i&&this.authority.invalidate(e.channel)}schedule(e){e.scheduled||(e.scheduled=!0,queueMicrotask(()=>{e.scheduled=!1,this.pump(e)}))}pump(e){if(e.running||!e.current)return;let i=e.current,t=this.binding;if(!t||!this.usable()){this.stop(e);return}e.running=i;let s=this.authority.epoch,h=this.host.ownerDocument,r=this.authority.begin(e.channel,t.locale),c=F(this.host),n=()=>e.current===i&&this.usable()&&this.host.ownerDocument===h&&this.authority.epoch===s&&r?.isCurrent()===!0&&(!c||c.isCurrent());if(!n()||!r){i.settle(e.canceled),e.current===i&&(e.current=void 0),e.running=void 0,this.schedule(e);return}Promise.resolve().then(async()=>{if(!n())return e.canceled;let d=c?await c.acquire(t.source,e.channel,r.context.signal):void 0;if(c&&!d)return e.canceled;try{return n()?await i.run(r.context,n):e.canceled}finally{d?.()}}).then(d=>{i.settle(n()?d:e.canceled)}).catch(d=>{n()&&i.fail(d),i.settle(e.canceled)}).finally(()=>{e.current===i&&(e.current=void 0),e.running===i&&(e.running=void 0),this.schedule(e)})}usable(){return this.connected&&this.host.isConnected}patch(e){this.snapshot=Object.freeze({...this.snapshot,...e}),this.notify()}notify(){if(this.notification)return;let e={},i=this.authority.epoch,t=this.host.ownerDocument;this.notification=e,queueMicrotask(()=>{this.notification===e&&(this.notification=void 0,this.usable()&&this.host.ownerDocument===t&&this.authority.epoch===i&&this.options.onChange())})}reset(){this.intact=!1,this.pageVersion++,this.selectionVersion++,this.locateVersion++,this.stop(this.pageLane,!1),this.stop(this.selectionLane,!1),this.stop(this.locateLane,!1),this.cache.clear(),this.notification=void 0,this.snapshot=W()}adopted(){this.authority.adopted()}hostConnected(){let e=!this.connected&&!this.intact;if(this.connected=!0,this.intact=!1,e&&this.binding){let i=this.lastPage,t=this.lastSelection;i&&this.request(i.query,i.page,i.pageSize),t&&this.replaySelection?.(this,t),this.notify()}}hostDisconnected(){this.connected=!1,this.intact=!0}};function $(o,e){let i=++o.selectionVersion;if(o.patch({selectionPending:!0,selectionError:void 0}),o.stop(o.selectionLane),i!==o.selectionVersion)return Promise.resolve(void 0);let t;try{let r=R(e,1e4),c={used:0},n=new Set;for(let d=0;d<r.length;d++)n.add(P(a(r,d),c,!0));if(t=Object.freeze([...n]),i!==o.selectionVersion)return Promise.resolve(void 0)}catch(r){return i===o.selectionVersion&&(o.lastSelection=void 0,o.patch({selectionPending:!1,selectionError:r})),Promise.resolve(void 0)}o.lastSelection=t,o.replaySelection=$;let s=new Set(t);for(let r of o.cache.keys())s.has(r)||o.cache.delete(r);if(!o.usable()||!o.binding)return o.patch({selectionPending:!1}),Promise.resolve(void 0);let h=o.binding.source;return o.enqueue(o.selectionLane,async(r,c)=>{let n=new Map,d=t.filter(u=>!o.cache.has(u)),w={used:t.reduce((u,l)=>u+l.length,0)};for(let u=0;u<d.length;u+=500){if(!c())return;let l=Object.freeze(d.slice(u,u+500)),V=h.lookup;if(!c())return;let O=await Reflect.apply(V,h,[l,r]);if(!c())return;let I=R(O,l.length),M=new Set(l),_=new Set;for(let b=0;b<I.length;b++){let f=o.projectRecord(a(I,b),w,c);if(!c())return;if(!M.has(f.key)||_.has(f.key))throw new TypeError("Invalid selected source key");_.add(f.key),n.set(f.key,f)}for(let b of l)_.has(b)||n.set(b,null)}if(!c())return;let E=[],v=new Set;for(let u of t){let l=n.has(u)?n.get(u):o.cache.get(u);if(l){if(v.has(l.order))throw new TypeError("Duplicate selected source order");v.add(l.order),E.push(l)}}E.sort((u,l)=>u.order-l.order);for(let[u,l]of n)o.cache.set(u,l);return o.patch({selectionPending:!1,selectionError:void 0}),Object.freeze(E)},r=>o.patch({selectionPending:!1,selectionError:r}))}var Q=100,ee=500;function H(o){return q(o,Q,1,ee)}function ce(o,e){return q(o,0,0,Math.floor(Number.MAX_SAFE_INTEGER/H(e)))}function ae(o){return q(o,0,0,Number.MAX_SAFE_INTEGER-1)+1}function he(o,e){return Math.floor(o/H(e))}var B=class{get current(){return this.last}changed(e){let i=this.last;return this.last=e,i!==void 0&&(i.length!==e.length||e.some((t,s)=>t!==i[s]))}clear(){this.last=void 0}};export{J as a,se as b,Z as c,$ as d,H as e,ce as f,ae as g,he as h,B as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as m,c as h,d as A,e as D,f as y}from"./chunk-G6XBJVZN.js";import{a as k,b as w,c as V}from"./chunk-IRH2OYBM.js";import{h as P}from"./chunk-CN2FTU25.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="Circular reference",o="Copy diff",t="Copy JSON to clipboard",L={one:"{count} unchanged line",other:"{count} unchanged lines"},A="Long code is shown without syntax highlighting.",n="Diff",_="Modified",a="Original",l="Diff is too large to display.",s="Export",i="Export failed",r="{label} format",R="The icon failed to load.",D='This icon needs the optional "dompurify" package installed to render safely.',T="The icon file is too large to display.",E="array",F="Copy {label}",Y={one:"{count} item",other:"{count} items"},c={one:"{count} key",other:"{count} keys"},U="object",u="Toggle {label}",y="value",d="JSON",f="Only the first {count} JSON nodes and {depth} nesting levels are shown and searched.",h="Day",m="Month",p="Year",g="Only the first 10,000 mention candidates are available.",P={one:"{count} more suggestion",other:"{count} more suggestions"},S={one:"{count} suggestion",other:"{count} suggestions"},b="Suggestion {current} of {total}",k="Suggestions",w="Inactive",C="Pause",M="Paused",j="Paused.",O="Refresh now",V="Refreshing\u2026",x="Refreshing now.",H="Resume",v="Resumed.",N="Show another",I="Pause rotation",J="Resume rotation",z="Amethyst",G="Aquamarine",q="Emerald",B="Hematite",K="Peridot",Q="Ruby",W="Sapphire",X="Topaz",Z="Tourmaline",$="Data",ee="High contrast",oe="Lyra",te="Material",Le="shadcn",Ae="Terminal",ne="Accent color",_e="Density",ae="Comfortable",le="Compact",se="Touch",ie="Appearance",re="Look",Re="Color mode",De="Dark",Te="Light",Ee="System",Fe="Reset to defaults",Ye="Surface",ce="Glass",Ue="Glass opacity",ue="Solid",ye="Done",de="Skip",fe="Step {current} of {total}";export{e as a,o as b,t as c,L as d,A as e,n as f,_ as g,a as h,l as i,s as j,i as k,r as l,R as m,D as n,T as o,E as p,F as q,Y as r,c as s,U as t,u,y as v,d as w,f as x,h as y,m as z,p as A,g as B,P as C,S as D,b as E,k as F,w as G,C as H,M as I,j as J,O as K,V as L,x as M,H as N,v as O,N as P,I as Q,J as R,z as S,G as T,q as U,B as V,K as W,Q as X,W as Y,X as Z,Z as _,$,ee as aa,oe as ba,te as ca,Le as da,Ae as ea,ne as fa,_e as ga,ae as ha,le as ia,se as ja,ie as ka,re as la,Re as ma,De as na,Te as oa,Ee as pa,Fe as qa,Ye as ra,ce as sa,Ue as ta,ue as ua,ye as va,de as wa,fe as xa};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="Could not load the search field.",o="Select at least one option.",t="Please check this box if you want to continue.",r="Choose date",a="Code editor",i="Color picker",L="Current color: {color}",n="Select a color from the screen";var A="{hue} degrees",_="Opacity",c="{opacity}% opaque",l="Saturation and brightness",u="Saturation {saturation}%, brightness {brightness}%",s="Select {color}",E="Color swatches",D="Toggle color format",T="Color value",m="Create {value}",R="Combobox",F="Could not load options.",U="+{n} more \u2014 refine your search",Y="Please select an option.",p="Formatted option content is unavailable. Showing plain labels.",d="+{n} more",h="Country",b="Currency",P="Date cannot be in the future.",k="Date cannot be in the past.",g="No emoji found",S="Emoji",I="Activities",w="Animals & Nature",y="Component",j="Flags",x="Food & Drink",v="Objects",C="People & Body",f="Smileys & Emotion",G="Symbols",M="Travel & Places",O="Group {group}",q="Some emoji data was omitted because an input limit was reached.",N="Could not load emoji.",V="Emoji are not available.",B="Search emoji",H="Search emoji\u2026",z="Hide password",K="Button",W="Text",Z="item",J="No matching languages.",Q="Only the first 512 locale entries are available.",X="Language",$="Please choose a language.",ee="Search languages",oe="The values do not match.",te="Next month",re="Decrease",ae="Increase",ie="Open calendar",Le="Enter all {total} characters.",ne="Verification code",Ae="This phone number is incomplete.",_e="Phone",ce="Previous month",le="Please select an option.",ue="Range end",se="Range start",Ee="Only the first {count} of {total} rubric fields are shown.",De="Skip",Te="Submit",me="Submit and next",Re="+{n} more",Fe="Please select an option.",Ue="Show password",Ye="signature pad",pe="Drawing limit reached.",de="No signature",he="Draw with a pointer, or press Space to lower or lift the pen and the arrow keys to move it.",be="Signature",Pe="Pen down",ke="Pen up",ge={one:"Signed, {count} stroke",other:"Signed, {count} strokes"},Se="Slider",Ie="Please turn this on.",we={one:"{count} character",other:"{count} characters"},ye={one:"{count} character remaining",other:"{count} characters remaining"},je="Text",xe="Day period",ve="Empty",Ce="Hour",fe="Enter a complete time.",Ge="Time",Me="Time must be at or before {max}.",Oe="Time must be at or after {min}.",qe="Minute",Ne="Now",Ve="Open time picker",Be="Choose a time",He="Time must be between {min} and {max} across midnight.",ze="Second",Ke="Enter a time matching the required interval.",We="Time zone",Ze="Edit {label}",Je="Tokens",Qe="Enter at least one value.",Xe={one:"Enter at least {count} value.",other:"Enter at least {count} values."},$e={one:"Enter no more than {count} value.",other:"Enter no more than {count} values."},eo="Unit";export{e as a,o as b,t as c,r as d,a as e,i as f,L as g,n as h,A as i,_ as j,c as k,l,u as m,s as n,E as o,D as p,T as q,m as r,R as s,F as t,U as u,Y as v,p as w,d as x,h as y,b as z,P as A,k as B,g as C,S as D,I as E,w as F,y as G,j as H,x as I,v as J,C as K,f as L,G as M,M as N,O,q as P,N as Q,V as R,B as S,H as T,z as U,K as V,W,Z as X,J as Y,Q as Z,X as _,$,ee as aa,oe as ba,te as ca,re as da,ae as ea,ie as fa,Le as ga,ne as ha,Ae as ia,_e as ja,ce as ka,le as la,ue as ma,se as na,Ee as oa,De as pa,Te as qa,me as ra,Re as sa,Fe as ta,Ue as ua,Ye as va,pe as wa,de as xa,he as ya,be as za,Pe as Aa,ke as Ba,ge as Ca,Se as Da,Ie as Ea,we as Fa,ye as Ga,je as Ha,xe as Ia,ve as Ja,Ce as Ka,fe as La,Ge as Ma,Me as Na,Oe as Oa,qe as Pa,Ne as Qa,Ve as Ra,Be as Sa,He as Ta,ze as Ua,Ke as Va,We as Wa,Ze as Xa,Je as Ya,Qe as Za,Xe as _a,$e as $a,eo as ab};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function f(t,r){if(!Number.isFinite(t)||t<=0)return 1;let i=t/Math.max(1,Number.isFinite(r)?r:1),u=10**Math.floor(Math.log10(i)),n=i/u;return(n<1.5?1:n<3?2:n<7?5:10)*u}var a=64;function F(t,r,i,u=a){let n=Math.min(t,r),o=Math.max(t,r);if(!Number.isFinite(n)||!Number.isFinite(o))return[];let h=n===o?[n]:[n,o];if(!Number.isFinite(i)||i<=0)return h;let l=Math.ceil(n/i)*i;if(!Number.isFinite(l))return h;let b=Math.max(1,Math.floor(Number.isFinite(u)?u:a)),e=[];for(let s=0;s<b;s++){let m=l+s*i;if(!Number.isFinite(m)||m>o+i/2)break;let c=Math.round(m/i)*i;Number.isFinite(c)&&(e.length===0||c>e[e.length-1])&&e.push(c)}return e.length===0?h:e}export{f as a,F as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as m}from"./chunk-5AFUYAAF.js";import{o as n}from"./chunk-JTGCA7JE.js";import{b as o,e as a}from"./chunk-5NRIHGYU.js";function B(t,e,r){return o(n(e),r).format(t)}function N(t,e,r){let i=m(t);return i?a(n(e),r).format(i):void 0}export{B as a,N as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as h,b as N,d as O}from"./chunk-T2ZLMA43.js";import{e as w}from"./chunk-OUV7KSOP.js";var b=8*1024*1024,P=/^(?:(.*)\/)?_rels\/[^/]*\.rels$/i,R="http://schemas.openxmlformats.org/officeDocument/2006/relationships/",S={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function E(e){return e!==void 0&&(e<=" "||e==="\x80")}function g(e){return e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i=>{let s=i.slice(1,-1);if(Object.hasOwn(S,s))return S[s];if(!s.startsWith("#"))return i;let r=parseInt(s.slice(1).replace("x","0x"));return Number.isInteger(r)&&r>=0&&r<=1114111?String.fromCodePoint(r):i})}function T(e){return e===void 0||E(e)||`<>/="'`.includes(e)}function v(e,i){let s=[];for(let r=e.indexOf("<");r>=0;r=e.indexOf("<",r+1)){let t=r+1;for(;!T(e[t]);)t++;let p=e.slice(r+1,t);if(p.slice(p.lastIndexOf(":")+1)!=="Relationship")continue;let f=!1,m=[];for(;t<e.length&&e[t]!==">"&&e[t]!=="<";){if(E(e[t])||e[t]==="/"){t++;continue}let I=t;for(;!T(e[t]);)t++;let u=e.slice(I,t);for(;E(e[t]);)t++;if(e[t]==="=")for(t++;E(e[t]);)t++;let c=e[t],n="";if(c==='"'||c==="'"){let o=e.indexOf(c,t+1);if(o<0)break;n=e.slice(t+1,o),t=o+1}else if(T(c)){if(u==="")break}else{let o=t;for(;!T(e[t]);)t++;n=e.slice(o,t)}u==="Type"&&i(g(n))&&(f=!0),u==="Target"&&m.push(g(n))}f&&s.push(...m)}return s}function A(e,i){let s=i.startsWith("/")?i:[e,i].filter(Boolean).join("/");return s.startsWith("/")?s.slice(1):s}async function j(e,i){let{guardOptions:s,extend:r}=i,t=!1,p=N({includeEntry:n=>t||i.partName.test(n),maxNodes:i.maxNodes}),f=[],m=[],I=0;await O(e,{...s,createInspector:n=>{let o=p(n);if(!o){f.push(n.name);return}let d=r?r(o):o;if(!h(n.name).some(a=>P.test(a)))return d;let l={name:n.name,chunks:[]};return m.push(l),{write(a){if(d.write(a),I+=a.byteLength,I>b)throw new w(`The ${s.description} archive contains too many document relationships.`);l.chunks.push(a)},close:()=>d.close()}}});let u=new Set;for(let n of m){let o=new TextDecoder,d=v(n.chunks.map(l=>o.decode(l,{stream:!0})).join("")+o.decode(),i.isPartType);for(let l of h(n.name)){let a=P.exec(l);if(a)for(let y of d)for(let L of h(A(a[1]??"",y)))u.add(L)}}let c=new Set(f.filter(n=>h(n).some(o=>u.has(o))));c.size!==0&&(t=!0,await O(e,{...s,createInspector:n=>{if(!c.has(n.name))return;let o=p(n);return o&&r?r(o):o}}))}export{R as a,j as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n="#unnamed";export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as r,f as e}from"./chunk-PZ2KUPDO.js";var t="lyra-papaparse-unavailable",o="A lyra-ui component could not load its optional papaparse peer.";function n(a){return r(a,"parse")}var p=e({load:()=>(async()=>{try{return await import("papaparse")}catch(a){throw a}})(),isCapability:n,warningKey:t,warning:o});function s(){return p.get()}export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-5427UHWC.js";import{e as o}from"./chunk-3CLMBMQL.js";o("citation-badge",t);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as L}from"./chunk-KKP6NH4M.js";import{r as v}from"./chunk-RDTKEL46.js";var x=100,h=500;function j(t){if(t==null)return{value:Object.freeze({}),invalid:!1,truncated:!1};let o=L(t,{profile:"form",structure:{shape:"record",depth:0}});return{...o,value:o.value??Object.freeze({})}}var m=Object.freeze({type:"object",properties:Object.freeze({})});function O(t){let o=!1;try{o=Array.isArray(t)}catch{return{isArray:!1,malformed:!0,exceededLimit:!1}}if(!o)return{isArray:!1,malformed:!0,exceededLimit:!1};let i=0;try{let e=Object.getOwnPropertyDescriptor(t,"length");if(e&&"value"in e&&typeof e.value=="number"&&Number.isSafeInteger(e.value)&&e.value>=0)i=e.value;else return{isArray:!0,value:Object.freeze([]),malformed:!0,exceededLimit:!1}}catch{return{isArray:!0,value:Object.freeze([]),malformed:!0,exceededLimit:!1}}let c=[],r=!1;for(let e=0;e<Math.min(i,x);e+=1){let s;try{s=Object.getOwnPropertyDescriptor(t,String(e))}catch{r=!0;continue}s&&"value"in s&&typeof s.value=="string"?c.push(s.value):r=!0}return{isArray:!0,malformed:r,value:Object.freeze(c),exceededLimit:i>x}}function g(t){let o=!1;try{o=Array.isArray(t)}catch{return{malformed:!0,exceededLimit:!1}}if(!o)return{malformed:!0,exceededLimit:!1};let i=0;try{let r=Object.getOwnPropertyDescriptor(t,"length");if(!r||!("value"in r)||typeof r.value!="number"||!Number.isSafeInteger(r.value)||r.value<0)return{malformed:!0,exceededLimit:!1};i=r.value}catch{return{malformed:!0,exceededLimit:!1}}let c=[];for(let r=0;r<Math.min(i,h);r+=1){let e;try{e=Object.getOwnPropertyDescriptor(t,String(r))}catch{return{malformed:!0,exceededLimit:i>h}}if(e){if(!("value"in e)||typeof e.value!="string")return{malformed:!0,exceededLimit:i>h};c.push(e.value)}}return{value:Object.freeze(c),malformed:!1,exceededLimit:i>h}}function A(t){let o;try{o=Object.getOwnPropertyDescriptors(t)}catch{return{malformed:!0,exceededLimit:!1}}let i={},c;for(let a of Reflect.ownKeys(o)){let n=o[a];if(n?.enumerable){if(a==="enum"){c=n;continue}if(!("value"in n))return{malformed:!0,exceededLimit:!1};Object.defineProperty(i,a,{value:n.value,enumerable:!0,configurable:!1,writable:!1})}}let r=j(i);if(r.invalid||r.truncated)return{malformed:!0,exceededLimit:!1};let e,s=!1,u=!1;if(c){if(!("value"in c))return{malformed:!0,exceededLimit:!1};if(u=!0,c.value!==void 0){let a=g(c.value);if(a.malformed)return{malformed:!0,exceededLimit:a.exceededLimit};e=a.value,s=a.exceededLimit}}let l={};for(let a of Reflect.ownKeys(r.value)){let n=Object.getOwnPropertyDescriptor(r.value,a);!n?.enumerable||!("value"in n)||Object.defineProperty(l,a,{value:n.value,enumerable:!0,configurable:!1,writable:!1})}return u&&Object.defineProperty(l,"enum",{value:e,enumerable:!0,configurable:!1,writable:!1}),{value:Object.freeze(l),malformed:!1,exceededLimit:s}}function E(t){if(t==null)return{schema:m,shapeError:"",exceededLimits:!1};let o=!1;try{o=Array.isArray(t)}catch{return{schema:m,shapeError:"object",exceededLimits:!1}}if(typeof t!="object"||o)return{schema:m,shapeError:"object",exceededLimits:!1};let i;try{i=Object.getOwnPropertyDescriptors(t)}catch{return{schema:m,shapeError:"object",exceededLimits:!1}}let c=i.type;if(!c||!("value"in c)||c.value!=="object")return{schema:m,shapeError:"object",exceededLimits:!1};let r=i.properties,e=r&&"value"in r?r.value:void 0;if(e===null||typeof e!="object"||!v(e))return{schema:m,shapeError:"properties",exceededLimits:!1};let s=Object.create(null),u="",l=!1,a=0,n;try{n=Object.getOwnPropertyDescriptors(e)}catch{return{schema:m,shapeError:"properties",exceededLimits:!1}}for(let d of Reflect.ownKeys(n)){let p=n[d];if(typeof d!="string"||!p?.enumerable)continue;if(a+=1,a>x){l=!0;break}if(!("value"in p)||p.value===null||typeof p.value!="object"||!v(p.value)){u="properties";continue}let y=A(p.value);if(y.malformed||!y.value){u="properties",y.exceededLimit&&(l=!0);continue}y.exceededLimit&&(l=!0),s[d]=y.value}let f=i.required,b;if(f&&"value"in f){let d=O(f.value);d.malformed&&(u="properties"),d.isArray?(b=d.value,d.exceededLimit&&(l=!0)):f.enumerable&&(u="properties")}else f?.enumerable&&(u="properties");return{schema:Object.freeze({type:"object",properties:Object.freeze(s),...b===void 0?{}:{required:b}}),shapeError:u,exceededLimits:l}}export{x as a,h as b,j as c,m as d,E as e};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{a as he}from"./chunk-5LD7TNKP.js";import{$ as ne,X as te,Y as ie,Z as se,_ as re,aa as oe,ba as ae,ca as le,da as de}from"./chunk-63D3NJTI.js";import{a as Q}from"./chunk-D2SJJB5I.js";import{e as ce}from"./chunk-YRWS5F6Q.js";import{b as Z}from"./chunk-R6ZW7GHW.js";import{a as ee}from"./chunk-ZFXCA2EW.js";import{a as L}from"./chunk-K3TGAVRE.js";import{B as Y}from"./chunk-C6BTEIPF.js";import{a as N}from"./chunk-2WXXKPUW.js";import{b as q}from"./chunk-HEIK7X4U.js";import{d as W,e as K,k as V,l as J,m as H}from"./chunk-3HGKUVDX.js";import{e as U}from"./chunk-BDETGDBF.js";import{D as M,E as _,b as A,u as $,v as w}from"./chunk-2CH7YZRL.js";import{c as f}from"./chunk-32IK33EM.js";import{a as o,b as d,c as g,d as R,z as P}from"./chunk-JTGCA7JE.js";import{e as G,g as h,h as u,i as y,k as m}from"./chunk-RDTKEL46.js";import{b as B,e as c,i as a}from"./chunk-CN2FTU25.js";import{b as X}from"./chunk-ZVB4ZXSV.js";import{c as j}from"./chunk-OP7ARFKR.js";import{f as F}from"./chunk-Z7WGANHK.js";var ue=B` :host{display:block;max-inline-size:100%}[part=base]{display:flex;flex-direction:column}[part=thumbs]{display:flex;gap:var(--lr-space-2xs)}${ce(":where([part='up-button'], [part='down-button'])",{color:"var(--lr-color-text-quiet)",hoverBackground:"var(--lr-color-surface-raised)",hoverColor:"var(--lr-color-text)",activeBackground:w("var(--lr-icon-button-hover-bg, var(--lr-color-surface-raised))").cssText,activeColor:"var(--lr-icon-button-hover-color, var(--lr-color-text))"})} :where([part=up-button],[part=down-button]){--_lr-icon-button-border-default:var(--lr-border-width-thin) solid transparent;--_lr-icon-button-border-hover-default:var(--lr-icon-button-border, var(--_lr-icon-button-border-default));--_lr-icon-button-border-active-default:var(--lr-icon-button-hover-border, var(--_lr-icon-button-border-hover-default))}[part=up-button]:where([aria-pressed=true]){--_lr-thumb-selected-bg:var(--lr-message-feedback-up-active-bg, var(--lr-color-success-quiet));--_lr-thumb-selected-color:var(--lr-message-feedback-up-active-color, var(--lr-color-success));--_lr-thumb-selected-border:var(--lr-message-feedback-up-active-border-color, var(--lr-color-success))}[part=down-button]:where([aria-pressed=true]){--_lr-thumb-selected-bg:var(--lr-message-feedback-down-active-bg, var(--lr-color-danger-quiet));--_lr-thumb-selected-color:var(--lr-message-feedback-down-active-color, var(--lr-color-danger));--_lr-thumb-selected-border:var(--lr-message-feedback-down-active-border-color, var(--lr-color-danger))}[aria-pressed=true],[aria-pressed=true]:not(:disabled):hover,[aria-pressed=true]:not(:disabled):active{background:var(--_lr-thumb-selected-bg);color:var(--_lr-thumb-selected-color);border-color:var(--_lr-thumb-selected-border)}[aria-pressed=true]:not(:disabled):hover{background:var(--lr-icon-button-hover-bg,${$("var(--_lr-thumb-selected-bg)")})}[aria-pressed=true]:not(:disabled):active{background:var(--lr-icon-button-active-bg,${w("var(--_lr-thumb-selected-bg)")})}[part=panel]{display:grid;grid-template-rows:0fr;overflow:hidden;border:0 solid var(--lr-color-border-subtle);border-radius:var(--lr-radius);background:var(--lr-color-surface);transition:grid-template-rows var(--lr-transition-base),border-width var(--lr-transition-base)}[part=panel]:where([data-open]){margin-block-start:var(--lr-space-xs);grid-template-rows:1fr;border-width:var(--lr-border-width-thin)}[part=panel] .panel-inner{overflow:hidden;min-block-size:0;display:flex;flex-direction:column;gap:var(--lr-space-s);padding:0 var(--lr-space-m);transition:padding-block var(--lr-transition-base)}[part=panel]:where([data-open]) .panel-inner{padding-block:var(--lr-space-m)}@media (prefers-reduced-motion:reduce){[part=panel],[part=panel] .panel-inner{transition:none}}[part=reasons]{display:flex;flex-wrap:wrap;gap:var(--lr-space-2xs)}.reason-description,[part=comment-error]{font-size:var(--lr-font-size-sm);overflow-wrap:anywhere}.reason-description{color:var(--lr-color-text-quiet)}[part=comment-error]{color:var(--lr-color-danger)}[part=comment]{box-sizing:border-box;inline-size:100%;min-block-size:var(--lr-size-2-5rem);padding:var(--lr-space-s);border:var(--lr-border-width-thin) solid var(--lr-color-border);border-radius:var(--lr-radius);background:var(--lr-color-surface);color:var(--lr-color-text);font:inherit;resize:vertical}[part=comment]:focus-visible{${A}}:where([part=comment]):hover:where(:not(:disabled)){border-color:var(--lr-message-feedback-comment-hover-border-color,var(--lr-color-brand))}[part=comment]::placeholder{color:var(--lr-color-text-quiet)}[part=submit-button]{box-sizing:border-box;align-self:flex-end;max-inline-size:100%;padding-inline:var(--lr-space-m);padding-block:var(--lr-space-xs);--_lr-message-feedback-submit-fill:var(--lr-message-feedback-submit-bg, var(--lr-color-brand));border:var(--lr-border-width-thin) solid var(--lr-message-feedback-submit-border-color,var(--lr-color-border));border-radius:var(--lr-radius);background:var(--_lr-message-feedback-submit-fill);color:var(--lr-message-feedback-submit-color,var(--lr-color-on-brand));font:inherit;white-space:normal;overflow-wrap:anywhere;cursor:pointer;${M}}:where([part=submit-button]):hover:where(:not(:disabled)){background:var(--lr-message-feedback-submit-hover-bg,${$("var(--_lr-message-feedback-submit-fill)")})}:where([part=submit-button]):active:where(:not(:disabled)){background:var(--lr-message-feedback-submit-active-bg,${w("var(--_lr-message-feedback-submit-fill)")})}[part=submit-button]:disabled{${_}}[part=comment]:disabled{${_}}[part=submit-button]:focus-visible{${A}}`;var be={chip:()=>import("./lr-chip-RMKTQJMH.js")},ge=1e4,me=Object.freeze({reasons:Object.freeze([]),commentable:!1,reasonSelection:"multiple",commentMaxLength:void 0});function fe(p){if(!y(p))return me;let e=m(p,"reasonSelection"),t=m(p,"commentMaxLength"),i=e!==h&&e!==u&&e.value==="single"?"single":"multiple",r=t!==h&&t!==u?ee(t.value):void 0,s=m(p,"reasons"),l=m(p,"commentable"),I=l!==h&&l!==u&&l.value===!0,D=s!==h&&s!==u?s.value:void 0;if(!G(D))return Object.freeze({reasons:Object.freeze([]),commentable:I,reasonSelection:i,commentMaxLength:r});let b=m(D,"length");if(b===h||b===u||typeof b.value!="number"||!Number.isSafeInteger(b.value)||b.value<0)return Object.freeze({reasons:Object.freeze([]),commentable:I,reasonSelection:i,commentMaxLength:r});let T=[],x=new Set,pe=Math.min(b.value,ge);for(let C=0;C<pe;C+=1){let v=m(D,String(C));if(v===h||v===u||!y(v.value))continue;let O=v.value,S=m(O,"id"),E=m(O,"label");if(S===h||S===u||E===h||E===u||typeof S.value!="string")continue;let k=S.value,z=N(E.value);!z||k.trim().length===0||x.has(k)||(x.add(k),T.push(Object.freeze({id:k,label:z})))}return Object.freeze({reasons:Object.freeze(T),commentable:I,reasonSelection:i,commentMaxLength:r})}var n=class extends P{constructor(){super(...arguments),this.rating=null,this.detailFor="down",this.disabled=!1,this.pending=!1,this.spellcheck=!0,this.autocapitalize="",this.autocorrectValue=!0,this.wrap="soft",this.panelOpen=!1,this.selectedReasonIds=[],this.commentDraft="",this.commentLengthError=!1,this.detailProjectionSource=Symbol("unprojected-feedback-detail"),this.detailProjection=me,this.submissionSequence=0,this.submissionCount=0,this.legacyNoArgumentSettlementInvalidated=!1,this.lifecycleGeneration=0,this.focusGeneration=0,this.settingPending=!1,this.sink=new X(this,{eager:["polite"]}),this.panelId=f("message-feedback-panel"),this.reasonDescriptionId=f("message-feedback-reason-description"),this.commentErrorId=f("message-feedback-comment-error"),this.upToolbarAction=this.createToolbarAction("up"),this.downToolbarAction=this.createToolbarAction("down"),this.onPanelKeyDown=e=>{e.key!=="Escape"||q(e)||(e.stopPropagation(),this.closePanel())},this.onCommentInput=e=>{this.disabled||this.pending||!this.panelOpen||!this.detailCommentable||(this.commentDraft=e.target.value,this.commentExceedsLimit||(this.commentLengthError=!1))},this.onCommentFocus=e=>{L(this,e)},this.onCommentBlur=e=>{L(this,e)},this.submissionRequestDispatching=!1,this.onSubmit=()=>{if(this.disabled||this.pending||!this.rating||!this.panelOpen)return;if(this.commentExceedsLimit){this.commentLengthError=!0,this.sink.announcePolite(this.commentErrorText);return}this.reconcileReasons();let e=new Set(this.detailReasons.map(t=>t.id));this.requestSubmission({rating:this.rating,reasonIds:this.selectedReasonIds.filter(t=>e.has(t)),comment:this.detailCommentable?this.commentDraft.trim():""},this.rating,!0)}}static{this.defaultStrings={...super.defaultStrings,feedbackCommentLabel:te,feedbackCommentPlaceholder:ie,feedbackCommentTooLong:se,feedbackNegative:re,feedbackPositive:ne,feedbackReasonsLabel:oe,feedbackSingleReasonDescription:ae,feedbackSubmit:le,feedbackSubmitted:de}}emitFeedbackSubmitRequest(e){return this.emit("lr-feedback-submit-request",Object.freeze(e),{cancelable:!0})}static{this.collectionSupport=U}static{this.ownedCollectionProperties=Object.freeze(["detail"])}static{this.styles=[P.styles,ue]}static{this.immutableEventDetails=Object.freeze(["lr-feedback-submit-request"])}get autocorrect(){return this.autocorrectValue}set autocorrect(e){let t=this.autocorrectValue;this.autocorrectValue=V(e),this.requestUpdate("autocorrect",t)}createToolbarAction(e){let t=this,i=()=>e==="up"?t.upButtonEl:t.downButtonEl,r=he();return{id:e,get disabled(){return!i()||i().disabled},focus(s){i()?.focus(s)},setTabIndex(s){r.set(i(),s)},releaseTabIndex:()=>r.release(),matchesEventPath(s){let l=i();return l!==void 0&&s.includes(l)}}}getToolbarActions(){return[this.upToolbarAction,this.downToolbarAction]}focus(e){this.deferFocusUntilRendered(e)||(this.rating==="down"?this.downButtonEl:this.upButtonEl)?.focus(e)}blur(){this.upButtonEl?.blur(),this.downButtonEl?.blur()}click(){this.disabled||this.pending||(this.rating==="down"?this.downButtonEl:this.upButtonEl)?.click()}get detailReasons(){return this.currentDetailProjection.reasons}get detailCommentable(){return this.currentDetailProjection.commentable}get currentDetailProjection(){let e=this.detail;return e!==this.detailProjectionSource&&(this.detailProjectionSource=e,this.detailProjection=fe(e)),this.detailProjection}get hasDetailContent(){return this.detailReasons.length>0||this.detailCommentable}detailApplies(e){return this.detailFor==="both"||this.detailFor===e}requestUpdate(e,t,i){let r=e==="rating"?this.rating:e==="detail"?this.detail:e==="detailFor"?this.detailFor:e==="pending"?this.pending:void 0,s=t!==r,l=e==="rating"&&this.pendingInternalRating?.rating===this.rating;s&&(e==="rating"||e==="detail"||e==="detailFor"||e==="pending")&&!(e==="rating"&&l)&&(this.focusGeneration=(this.focusGeneration??0)+1,this.pendingSubmission&&(e!=="pending"||!this.settingPending&&this.pending===!1)&&this.invalidatePendingSubmission()),super.requestUpdate(e,t,i)}disconnectedCallback(){this.lifecycleGeneration+=1,this.invalidatePendingSubmission(),this.upToolbarAction.releaseTabIndex?.(),this.downToolbarAction.releaseTabIndex?.(),super.disconnectedCallback()}adoptedCallback(){super.adoptedCallback(),this.sink.adopted(),this.lifecycleGeneration+=1,this.invalidatePendingSubmission(),this.upToolbarAction.releaseTabIndex?.(),this.downToolbarAction.releaseTabIndex?.()}willUpdate(e){if(super.willUpdate(e),e.has("rating")){let t=this.pendingInternalRating?.rating===this.rating;this.pendingInternalRating=void 0,t||(this.invalidatePendingSubmission(),this.setPending(!1),this.panelOpen=!1,this.selectedReasonIds=[],this.commentDraft="")}if(e.has("detail")){let t=new Set(this.detailReasons.map(i=>i.id));this.selectedReasonIds=this.selectedReasonIds.filter(i=>t.has(i)),this.currentDetailProjection.reasonSelection==="single"&&(this.selectedReasonIds=this.selectedReasonIds.slice(-1)),this.detailCommentable||(this.commentDraft="")}this.commentExceedsLimit||(this.commentLengthError=!1),this.panelOpen&&(!this.rating||!this.detailApplies(this.rating)||!this.hasDetailContent)&&(this.invalidatePendingSubmission(),this.setPending(!1),this.panelOpen=!1,e.has("detailFor")&&(this.selectedReasonIds=[],this.commentDraft=""))}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.childRegistration,e}updated(e){super.updated(e),this.childRegistration=Q(be,this.renderRoot)??this.childRegistration,(e.has("disabled")||e.has("pending"))&&this.emit("lr-toolbar-actions-change")}feedbackIsCurrent(e){return this.isConnected&&!this.disabled&&!this.pending&&this.rating===e}setRatingFromInteraction(e){this.pendingInternalRating={rating:e},this.rating=e}activateThumb(e){if(this.disabled||this.pending)return;let t=this.rating;if(this.rating===e){if(this.panelOpen){if(this.setRatingFromInteraction(null),this.panelOpen=!1,this.selectedReasonIds=[],this.commentDraft="",this.emit("lr-feedback-change",{rating:null}),!this.feedbackIsCurrent(null))return;this.requestSubmission({rating:null,reasonIds:[],comment:""},t,!0);return}if(this.detailApplies(e)&&this.hasDetailContent){this.panelOpen=!0;return}if(this.setRatingFromInteraction(null),this.emit("lr-feedback-change",{rating:null}),!this.feedbackIsCurrent(null))return;this.requestSubmission({rating:null,reasonIds:[],comment:""},t,!1);return}this.selectedReasonIds=[],this.commentDraft="",this.setRatingFromInteraction(e),this.panelOpen=this.detailApplies(e)&&this.hasDetailContent,this.emit("lr-feedback-change",{rating:e}),!this.panelOpen&&this.feedbackIsCurrent(e)&&this.requestSubmission({rating:e,reasonIds:[],comment:""},t,!1)}focusActiveThumb(){(this.rating==="down"?this.downButtonEl:this.upButtonEl)?.focus()}closePanel(){this.panelOpen&&(this.panelOpen=!1,this.focusActiveThumb())}toggleReason(e,t,i){if(this.disabled||this.pending||t.defaultPrevented||i!==this.detail||!this.panelOpen||!this.detailReasons.some(r=>r.id===e)){t.preventDefault();return}this.reconcileReasons(),this.selectedReasonIds=this.selectedReasonIds.includes(e)?this.selectedReasonIds.filter(r=>r!==e):this.currentDetailProjection.reasonSelection==="single"?[e]:[...this.selectedReasonIds,e]}reconcileReasons(){let e=new Set(this.detailReasons.map(i=>i.id)),t=this.selectedReasonIds.filter(i=>e.has(i));this.selectedReasonIds=this.currentDetailProjection.reasonSelection==="single"?t.slice(-1):t}get commentExceedsLimit(){let e=this.currentDetailProjection.commentMaxLength;return this.detailCommentable&&e!==void 0&&this.commentDraft.length>e}get commentErrorText(){return this.localize("feedbackCommentTooLong",void 0,{max:this.currentDetailProjection.commentMaxLength??0})}setPending(e){this.settingPending=!0,this.pending=e,this.settingPending=!1}invalidatePendingSubmission(){let e=this.pendingSubmission;e&&(this.pendingSubmission=void 0,this.dispatchingSubmission===e&&(this.dispatchingSubmission=void 0),this.legacyNoArgumentSettlementInvalidated=!0,this.focusGeneration+=1,this.setPending(!1))}isCurrentPendingSubmission(e){return this.pendingSubmission===e&&this.pending&&this.isConnected&&e.lifecycleGeneration===this.lifecycleGeneration&&e.rating===this.rating&&e.detail===this.detail&&e.detailFor===this.detailFor?!0:(this.pendingSubmission===e&&this.invalidatePendingSubmission(),!1)}canSettleWithoutSubmissionId(e){return!this.legacyNoArgumentSettlementInvalidated&&this.submissionCount===1&&e.sequence===1}scheduleSettlementFocus(e,t){let i=++this.focusGeneration,r=e.lifecycleGeneration;this.ownsSettlementFocus()&&this.updateComplete.then(()=>{i!==this.focusGeneration||r!==this.lifecycleGeneration||!this.isConnected||this.pending||this.pendingSubmission||!this.ownsSettlementFocus()||(t==="submit"&&this.panelOpen?this.submitButtonEl?.focus():this.focusActiveThumb())})}ownsSettlementFocus(){let e=this.ownerDocument,t=j(e);return t===null||t===e.body||t===e.documentElement||F(this,t)}settlePendingSubmission(e,t){let i=this.pendingSubmission;if(!i||!this.isCurrentPendingSubmission(i))return!1;if(t===void 0){if(!this.canSettleWithoutSubmissionId(i))return!1}else if(t!==i.submissionId)return!1;return i.settlement?!1:this.dispatchingSubmission===i?(i.settlement=e,!0):(this.commitSettlement(i,e),!0)}commitSettlement(e,t){if(this.isCurrentPendingSubmission(e)){if(this.pendingSubmission=void 0,this.dispatchingSubmission===e&&(this.dispatchingSubmission=void 0),this.setPending(!1),t==="finalize"){this.panelOpen=!1,this.sink.announcePolite(this.localize("feedbackSubmitted")),this.scheduleSettlementFocus(e,"thumb");return}this.setRatingFromInteraction(e.previousRating),this.panelOpen=e.panelWasOpen,this.scheduleSettlementFocus(e,e.panelWasOpen?"submit":"thumb")}}finalizePendingSubmit(e){return this.settlePendingSubmission("finalize",e)}revertPendingSubmit(e){return this.settlePendingSubmission("revert",e)}requestSubmission(e,t,i){if(!this.submissionRequestDispatching){this.submissionRequestDispatching=!0;try{this.focusGeneration+=1;let r=++this.submissionSequence;this.submissionCount+=1;let s={submissionId:f("message-feedback-submission"),sequence:r,lifecycleGeneration:this.lifecycleGeneration,rating:this.rating,detail:this.detail,detailFor:this.detailFor,previousRating:t,panelWasOpen:i};this.pendingSubmission=s,this.setPending(!0),this.dispatchingSubmission=s;let l=this.emitFeedbackSubmitRequest({...e,submissionId:s.submissionId});if(this.dispatchingSubmission===s&&(this.dispatchingSubmission=void 0),!this.isCurrentPendingSubmission(s))return;if(s.settlement){this.commitSettlement(s,s.settlement);return}l.defaultPrevented||this.commitSettlement(s,"finalize")}finally{this.submissionRequestDispatching=!1}}}renderThumb(e){let t=this.rating===e,i=this.detailApplies(e)&&this.hasDetailContent;return c`
|
|
2
|
+
<button part=${e==="up"?"up-button":"down-button"} type="button" aria-pressed=${t?"true":"false"} aria-label=${this.localize(e==="up"?"feedbackPositive":"feedbackNegative")} aria-expanded=${i?t&&this.panelOpen?"true":"false":a} aria-controls=${i?this.panelId:a} ?disabled=${this.disabled||this.pending} @click=${()=>this.activateThumb(e)} >
|
|
3
|
+
${Y(e,t)}
|
|
4
|
+
</button>
|
|
5
|
+
`}render(){let e=new Set(this.selectedReasonIds),t=this.detail,i=this.currentDetailProjection.reasonSelection==="single";return c`
|
|
6
|
+
<div part="base">
|
|
7
|
+
<div part="thumbs">${this.renderThumb("up")}${this.renderThumb("down")}</div>
|
|
8
|
+
${this.hasDetailContent?c`
|
|
9
|
+
<div part="panel" id=${this.panelId} ?data-open=${this.panelOpen} ?inert=${!this.panelOpen} aria-hidden=${this.panelOpen?"false":"true"} aria-busy=${this.pending?"true":"false"} @keydown=${this.onPanelKeyDown} >
|
|
10
|
+
<div class="panel-inner">
|
|
11
|
+
${this.detailReasons.length>0?c`
|
|
12
|
+
${i?c`<span id=${this.reasonDescriptionId} class="reason-description">${this.localize("feedbackSingleReasonDescription")}</span>`:a}
|
|
13
|
+
<div part="reasons" role="group" aria-label=${this.localize("feedbackReasonsLabel")} aria-describedby=${i?this.reasonDescriptionId:a}>
|
|
14
|
+
${this.detailReasons.map(r=>c`
|
|
15
|
+
<lr-chip toggleable .selected=${e.has(r.id)} .disabled=${this.disabled||this.pending} @lr-chip-toggle-request=${s=>{s.stopPropagation(),this.toggleReason(r.id,s,t)}} >${r.label}</lr-chip
|
|
16
|
+
>
|
|
17
|
+
`)}
|
|
18
|
+
</div>
|
|
19
|
+
`:a}
|
|
20
|
+
${this.detailCommentable?c`
|
|
21
|
+
<textarea part="comment" aria-label=${this.localize("feedbackCommentLabel")} placeholder=${this.localize("feedbackCommentPlaceholder")} spellcheck=${this.spellcheck} autocapitalize=${this.autocapitalize||a} autocorrect=${Z(this,this.autocorrect)} wrap=${this.wrap} maxlength=${this.currentDetailProjection.commentMaxLength??a} aria-invalid=${this.commentLengthError?"true":"false"} aria-describedby=${this.commentLengthError?this.commentErrorId:a} .value=${this.commentDraft} ?disabled=${this.disabled||this.pending} @input=${this.onCommentInput} @focus=${this.onCommentFocus} @blur=${this.onCommentBlur} ></textarea>
|
|
22
|
+
${this.commentLengthError?c`<div part="comment-error" id=${this.commentErrorId}>${this.commentErrorText}</div>`:a}
|
|
23
|
+
`:a}
|
|
24
|
+
<button part="submit-button" type="button" ?disabled=${this.disabled||this.pending} @click=${this.onSubmit} >
|
|
25
|
+
${this.localize("feedbackSubmit")}
|
|
26
|
+
</button>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
`:a}
|
|
30
|
+
</div>
|
|
31
|
+
`}};o([d({reflect:!0})],n.prototype,"rating",void 0),o([d({attribute:!1})],n.prototype,"detail",void 0),o([d({attribute:"detail-for"})],n.prototype,"detailFor",void 0),o([d({type:Boolean,reflect:!0})],n.prototype,"disabled",void 0),o([d({type:Boolean,reflect:!0})],n.prototype,"pending",void 0),o([d({converter:H})],n.prototype,"spellcheck",void 0),o([d({converter:W})],n.prototype,"autocapitalize",void 0),o([d({converter:J})],n.prototype,"autocorrect",null),o([d({converter:K("soft")})],n.prototype,"wrap",void 0),o([g()],n.prototype,"panelOpen",void 0),o([g()],n.prototype,"selectedReasonIds",void 0),o([g()],n.prototype,"commentDraft",void 0),o([g()],n.prototype,"commentLengthError",void 0),o([R('[part="up-button"]')],n.prototype,"upButtonEl",void 0),o([R('[part="down-button"]')],n.prototype,"downButtonEl",void 0),o([R('[part="submit-button"]')],n.prototype,"submitButtonEl",void 0);export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as N,b as x}from"./chunk-PJ72NB2H.js";import{b as y}from"./chunk-32IK33EM.js";import{a as R,b as I}from"./chunk-UDRXM6B3.js";import{a as W}from"./chunk-ZD6IWVN5.js";var p={attribute:"aria-describedby",property:"ariaDescribedByElements"},M={attribute:"aria-labelledby",property:"ariaLabelledByElements"},H={attribute:"aria-controls",property:"ariaControlsElements"},j=Symbol.for("@aceshooting/lyra-ui.aria-description-ownership.v1"),V=Symbol.for("@aceshooting/lyra-ui.aria-label-ownership.v1"),$=Symbol.for("@aceshooting/lyra-ui.aria-controls-relationship-ownership.v1"),J=new WeakMap,K=new WeakMap,Q=new WeakMap,f=y(j,()=>new WeakMap,J),X=y(V,()=>new WeakMap,K),Y=y($,()=>new WeakMap,Q);function Z(e){return e==="aria-describedby"?p:M}function ee(e){return e==="aria-describedby"?f:e==="aria-labelledby"?X:Y}function re(e,r){if(!(r.property in e))return null;try{let o=Reflect.get(e,r.property);return o===null?null:[...o]}catch{return null}}function O(e,r){return{elements:re(e,r),had:e.hasAttribute(r.attribute),value:e.getAttribute(r.attribute)}}function w(e,r){e.lastApplied=O(e.target,r),e.lastAppliedDocument=e.target.ownerDocument,e.lastAppliedEndpointRoots=new Map(k(e).map(o=>[o,o.getRootNode()])),e.lastAppliedResolvability=new Map(k(e).map(o=>[o,d(e.target,o)])),e.lastAppliedRoot=e.target.getRootNode(),e.lastAppliedUnresolvedBaselineIds=e.baseline.kind==="attribute"?[...R(e.baseline.value)].filter(o=>!B(e.target,o)):[]}function oe(e,r){return e===null||r===null?e===r:e.length===r.length&&e.every((o,n)=>o===r[n])}function C(e,r){return e.had===r.had&&e.value===r.value&&oe(e.elements,r.elements)}function F(e){return e.value===""&&e.elements!==null?{elements:e.elements,kind:"elements"}:{had:e.had,kind:"attribute",value:e.value}}function P(e){if(e.baseline.kind==="elements")return[...e.baseline.elements];try{return N(e.target.getRootNode(),e.baseline.value)}catch{return[]}}function a(e,r){let o=[],n=new Set;for(let t of e.leases.values())if(t.position===r)for(let i of t.elements)n.has(i)||(n.add(i),o.push(i));return o}function k(e){let r=[],o=new Set;for(let n of[...a(e,"before"),...P(e),...a(e,"after")])o.has(n)||(o.add(n),r.push(n));return r}function ne(e){let r=[],o=new Set;for(let n of[...P(e),...a(e,"before"),...a(e,"after")])o.has(n)||(o.add(n),r.push(n));return r}function d(e,r){if(!I(r.id))return!1;try{let o=e.getRootNode();return"getElementById"in o&&o.getElementById(r.id)===r}catch{return!1}}function B(e,r){if(!I(r))return!1;try{let o=e.getRootNode();return"getElementById"in o&&o.getElementById(r)!==null}catch{return!1}}function E(e,r,o){try{return e.writing+=1,Reflect.set(e.target,r.property,o===null?null:[...o])}catch{return!1}finally{e.writing-=1}}function te(e){let r=[],o=new Set,n=t=>{!t||o.has(t)||(o.add(t),r.push(t))};for(let t of a(e,"before"))d(e.target,t)&&n(t.id);if(e.baseline.kind==="attribute")for(let t of R(e.baseline.value))n(t);else for(let t of e.baseline.elements)d(e.target,t)&&n(t.id);for(let t of a(e,"after"))d(e.target,t)&&n(t.id);return r}function m(e,r,o){o.get(e.target)===e&&ie(e,r)}function ie(e,r){let o=a(e,"before"),n=a(e,"after");if(o.length===0&&n.length===0){le(e,r);return}let t=k(e),i=r.property in e.target,s=e.baseline.kind==="elements"||[...o,...n].some(u=>!d(e.target,u));if(i&&s&&E(e,r,t)){w(e,r);return}i&&e.lastApplied.value===""&&E(e,r,null);let l=te(e);try{e.writing+=1,l.length>0?e.target.setAttribute(r.attribute,l.join(" ")):e.baseline.kind==="attribute"&&e.baseline.had?e.target.setAttribute(r.attribute,""):e.target.removeAttribute(r.attribute)}finally{e.writing-=1}w(e,r)}function le(e,r){if(e.baseline.kind==="elements"&&r.property in e.target&&E(e,r,e.baseline.elements)){w(e,r);return}r.property in e.target&&e.lastApplied.value===""&&E(e,r,null);try{e.writing+=1,e.baseline.kind==="attribute"&&e.baseline.had?e.target.setAttribute(r.attribute,e.baseline.value??""):e.target.removeAttribute(r.attribute)}finally{e.writing-=1}w(e,r)}function h(e,r,o=!1){if(e.writing>0)return!1;let n=O(e.target,r);if(!o&&C(n,e.lastApplied))return!1;if(!o&&n.had===e.lastApplied.had&&n.value===e.lastApplied.value)try{if(e.target.ownerDocument!==e.lastAppliedDocument||e.target.getRootNode()!==e.lastAppliedRoot||e.lastAppliedUnresolvedBaselineIds.some(t=>B(e.target,t)))return!1;for(let[t,i]of e.lastAppliedEndpointRoots)if(t.getRootNode()!==i)return!1;for(let[t,i]of e.lastAppliedResolvability)if(i&&!d(e.target,t))return!1}catch{return!1}return e.baseline=F(n),!0}function T(e,r){return e.length===r.length&&e.every((o,n)=>o===r[n])}function L(e,r=e.observer){e.observer===r&&(e.observerGeneration+=1,e.observer=void 0,e.observerDocument=void 0,e.observerRoot=void 0,e.observerElements=[]);try{r?.disconnect()}catch{}}function z(e,r,o,n){if(o.get(e.target)!==e||n.length===0)return;let t=n.some(i=>i.target===e.target&&i.type==="attributes"&&i.attributeName===r.attribute);t&&h(e,r,!0),(e.leases.size>0||t)&&(m(e,r,o),v(e,r,o,!0))}function A(e,r,o){let n=e.observer;if(!n)return;let t;try{t=n.takeRecords()}catch{L(e,n);return}z(e,r,o,t)}function v(e,r,o,n=!1){if(o.get(e.target)!==e||e.leases.size===0)return;let t,i;try{t=e.target.ownerDocument,i=e.target.getRootNode()}catch{return}let s=ne(e);if(!n&&e.observer&&e.observerDocument===t&&e.observerRoot===i&&T(e.observerElements,s))return;let l=e.observer,u=e.observerGeneration+1;e.observerGeneration=u,e.observer=void 0,e.observerDocument=void 0,e.observerRoot=void 0,e.observerElements=[];try{l?.disconnect()}catch{}let c;try{c=t.defaultView?.MutationObserver}catch{return}if(!c||o.get(e.target)!==e||e.leases.size===0||e.observerGeneration!==u)return;let b;try{b=new c(g=>{e.observer!==b||e.observerGeneration!==u||o.get(e.target)!==e||z(e,r,o,g)})}catch{return}if(o.get(e.target)!==e||e.leases.size===0||e.observerGeneration!==u){try{b.disconnect()}catch{}return}e.observer=b,e.observerDocument=t,e.observerRoot=i,e.observerElements=s;try{b.observe(e.target,{attributes:!0,attributeFilter:[r.attribute]});for(let g of s)g!==e.target&&b.observe(g,{attributes:!0,attributeFilter:["id"]})}catch{L(e,b)}}function se(e,r){try{if(e.target.ownerDocument!==e.lastAppliedDocument||e.target.getRootNode()!==e.lastAppliedRoot||!C(O(e.target,r),e.lastApplied))return!1;for(let[o,n]of e.lastAppliedEndpointRoots)if(o.getRootNode()!==n)return!1;for(let[o,n]of e.lastAppliedResolvability)if(d(e.target,o)!==n)return!1;return!e.lastAppliedUnresolvedBaselineIds.some(o=>B(e.target,o))}catch{return!1}}function D(e,r,o,n){let t=ee(o.attribute),i=t.get(e);if(i)A(i,o,t),h(i,o);else{let c=O(e,o);i={baseline:F(c),lastApplied:c,lastAppliedDocument:e.ownerDocument,lastAppliedEndpointRoots:new Map,lastAppliedResolvability:new Map,lastAppliedRoot:e.getRootNode(),lastAppliedUnresolvedBaselineIds:[],leases:new Map,observerElements:[],observerGeneration:0,target:e,writing:0},t.set(e,i)}let s=Symbol(`aria-${o.attribute}-owner`),l={elements:[...r],position:n};i.leases.set(s,l),m(i,o,t),v(i,o,t,!0);let u=!0;return{target:e,update(c){if(!(!u||t.get(e)!==i)){if(A(i,o,t),!h(i,o)&&T(l.elements,c)&&se(i,o)){v(i,o,t);return}l.elements=[...c],m(i,o,t),v(i,o,t,!0)}},release(){u&&(u=!1,t.get(e)===i&&(A(i,o,t),h(i,o),i.leases.delete(s),m(i,o,t),i.leases.size===0?(L(i),t.delete(e)):v(i,o,t,!0)))}}}function ue(e,r){let o=f.get(e);if(!o){r();return}A(o,p,f),h(o,p),r(),h(o,p),m(o,p,f),v(o,p,f,!0)}x(ue);function ce(e,r){return D(e,r,p,"after")}function ge(e,r){return D(e,r,M,"after")}function Re(e,r){return D(e,r,H,"after")}function U(e){let r=e.observer;e.observerGeneration+=1,e.observer=void 0,e.observerDocument=void 0,e.observerRoot=void 0,e.observerWatchesRoot=!1,e.stopRootObservation?.(),e.stopRootObservation=void 0;try{r?.disconnect()}catch{}}function _(e){try{return N(e.host.getRootNode(),e.host.getAttribute(e.relationship))}catch{return[]}}function S(e){!e.active||!e.target||!e.fixed||e.fixed.update(_(e))}function q(e){if(!e.active)return;let r,o;try{r=e.host.ownerDocument,o=e.host.getRootNode()}catch{return}let n=o!==e.host&&!R(e.host.getAttribute(e.relationship)).next().done;if(e.observer&&e.observerDocument===r&&e.observerRoot===o&&e.observerWatchesRoot===n)return;let t=e.observer,i=e.observerGeneration+1;e.observerGeneration=i,e.observer=void 0,e.observerDocument=void 0,e.observerRoot=void 0,e.observerWatchesRoot=!1,e.stopRootObservation?.(),e.stopRootObservation=void 0;try{t?.disconnect()}catch{}let s;try{s=r.defaultView?.MutationObserver}catch{return}if(!s||!e.active||e.observerGeneration!==i)return;let l;try{l=new s(()=>{!e.active||e.observer!==l||e.observerGeneration!==i||(S(e),q(e))})}catch{return}if(!e.active||e.observerGeneration!==i){try{l.disconnect()}catch{}return}e.observer=l,e.observerDocument=r,e.observerRoot=o,e.observerWatchesRoot=n;try{l.observe(e.host,{attributes:!0,attributeFilter:[e.relationship]}),n&&(e.stopRootObservation=W(o,s,{attributes:["id"],childList:!0,changed:()=>{!e.active||e.observer!==l||e.observerGeneration!==i||(S(e),q(e))}}))}catch{U(e)}}function ae(e,r,o){let n={active:!0,host:e,observerGeneration:0,observerWatchesRoot:!1,relationship:o,target:null},t=Z(o),i=l=>{if(n.active){if(n.target!==l){let u=n.fixed;n.fixed=void 0,n.target=l,u?.release(),l&&(n.fixed=D(l,_(n),t,"before"))}else S(n);q(n)}},s={host:e,relationship:o,get target(){return n.target},update:i,release(){if(!n.active)return;n.active=!1,U(n);let l=n.fixed;n.fixed=void 0,n.target=null,l?.release()}};return i(r),s}var G=class{constructor(r,o,n=()=>[]){this.host=r,this.target=o,this.requiredDescriptions=n,r.addController(this)}hostConnected(){this.refresh()}hostUpdated(){this.refresh()}adopted(){this.release(),this.refresh()}hostDisconnected(){this.release()}refresh(){if(!this.host.isConnected)return;let r=this.host;if(typeof r.createRenderRoot=="function"&&r.renderRoot===void 0)return;let o=this.target();if(this.external?this.external.update(o):this.external=ae(this.host,o,"aria-describedby"),!o){this.required?.release(),this.required=void 0;return}let n=this.requiredDescriptions();if(!n.length){this.required?.release(),this.required=void 0;return}this.required?.target!==o?(this.required?.release(),this.required=ce(o,n)):this.required.update(n)}release(){this.required?.release(),this.required=void 0,this.external?.release(),this.external=void 0}};export{ce as a,ge as b,Re as c,ae as d,G as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as v,b as m}from"./chunk-GWK6YXNE.js";import{a as p,b as y,c as g,d as f}from"./chunk-E3D5VGRJ.js";import{k as c,r as d}from"./chunk-RDTKEL46.js";var b=1024;function A(s){try{if(!Array.isArray(s))return;let t=c(s,"length");if(typeof t!="object"||typeof t.value!="number"||!Number.isInteger(t.value)||t.value<0||t.value>b)return;let a=[],o=1,e=0;for(let r=0;r<t.value;r++){let i=c(s,String(r));if(typeof i!="object")return;let n=f(i.value);if(!n||n.value===void 0||(o+=n.nodes,e+=n.text,o>p||e>y))return;a.push(n.value)}return Object.freeze(a)}catch{return}}function S(s,t=!1){let a=t?A(s):f(s)?.value;if(!Array.isArray(a)||a.length>(t?b:64))return;let o=new Set;for(let e of a){if(!d(e)||Object.keys(e).some(l=>!["layerId","paint","layout","source","sourceLayer","layerType","before"].includes(l)))return;let r=e.layerId,i=v(e);if(i===void 0||(r===void 0?!i||t:i)||r!==void 0&&(typeof r!="string"||!r.trim()||r.length>1024||o.has(r)))return;let n=e.before;if(n!=null&&(typeof n!="string"||!n.trim()||n.length>1024))return;typeof r=="string"&&o.add(r);for(let l of["paint","layout"]){if(!Object.hasOwn(e,l))continue;let u=e[l];if(!d(u)||Object.keys(u).length>32||Object.keys(u).some(O=>!/^[a-z][a-z0-9-]{0,127}$/u.test(O)||g(O)))return}}return a}function j(s,t){let a=m(s,t,o=>{let e=v(o);return typeof o.layerId=="string"?{layerId:o.layerId}:e?{selector:e}:{}});if(!(a.length>b))return Object.freeze(a.map(({layerId:o,entry:e})=>Object.freeze({layerId:o,...e.before!==void 0?{before:e.before}:{},...e.paint?{paint:e.paint}:{},...e.layout?{layout:e.layout}:{}})))}export{S as a,j as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,b as r,c as n}from"./chunk-IRH2OYBM.js";import{h as e}from"./chunk-CN2FTU25.js";var a=r(class extends n{constructor(t){if(super(t),t.type!==o.CHILD)throw Error("templateContent can only be used in child bindings")}render(t){return this.vt===t?e:(this.vt=t,document.importNode(t.content,!0))}});export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-AVZPWRZU.js";function a(o,m,i){let n=e(m,.5,.01,1e3),r=e(i,4,n,1e3);return e(o,1,n,r)}export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as c,g as u}from"./chunk-HEIK7X4U.js";import{f as a}from"./chunk-OP7ARFKR.js";function f(s){if("disabled"in s&&s.disabled||s.getAttribute("aria-hidden")==="true")return!1;for(let t=s;t;t=a(t))if(t.hasAttribute("hidden")||t.hasAttribute("inert"))return!1;return!0}var d=class{constructor(t,i){this.host=t,this.options=i,this.currentIndex=0,this.onKeyDown=n=>{if(n.defaultPrevented)return;let e=this.options.items(),o=e.indexOf(n.composedPath()[0]);if(o<0)return;let r=this.options.wrap===!0,h=c(n,{count:e.length,current:o,orientation:"vertical",wrap:r,clamp:!r,isAvailable:l=>this.isAvailable(e[l])});h!==null&&(n.preventDefault(),this.current=e[h],this.currentIndex=h,this.sync(),e[h].focus())},this.onFocusIn=n=>{let e=this.options.items(),o=n.composedPath()[0],r=e.indexOf(o);r<0||this.current===e[r]||(this.current=e[r],this.currentIndex=r,this.sync())},t.addController(this)}get active(){return this.current}hostConnected(){this.host.addEventListener("focusin",this.onFocusIn)}hostDisconnected(){this.host.removeEventListener("focusin",this.onFocusIn)}hostUpdated(){this.sync()}sync(){let t=this.options.items(),i=this.current?t.indexOf(this.current):-1;i>=0&&this.isAvailable(t[i])?this.currentIndex=i:this.current=this.rehome(t);for(let n of t){let e=n===this.current?0:-1;(n.tabIndex!==e||!n.hasAttribute("tabindex"))&&(n.tabIndex=e)}}isAvailable(t){return u(t)&&(this.options.isAvailable?.(t)??!0)}rehome(t){let i=Math.min(this.currentIndex,t.length-1);for(let e=Math.max(i,0);e<t.length;e+=1)if(this.isAvailable(t[e]))return this.remember(t,e);for(let e=i-1;e>=0;e-=1)if(this.isAvailable(t[e]))return this.remember(t,e);let n=t.findIndex(f);return n<0?void 0:this.remember(t,n)}remember(t,i){return this.currentIndex=i,t[i]}};export{d as a};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{a as M,b as O,c as N}from"./chunk-NZ4AFJOB.js";import{a as D}from"./chunk-YVOGDIOW.js";import{$ as I}from"./chunk-BFMOZL5O.js";import{a as j}from"./chunk-J24TYMEI.js";import{a as m}from"./chunk-4QG5Y44P.js";import{a as x}from"./chunk-AYJGGEBA.js";import{a as U}from"./chunk-2WXXKPUW.js";import{Ga as G}from"./chunk-IFDV4HWR.js";import{d as w,g as E}from"./chunk-32IK33EM.js";import{a as c,b as d,c as k,z as F}from"./chunk-JTGCA7JE.js";import{b as v}from"./chunk-CR23WLJQ.js";import{g as P}from"./chunk-5NRIHGYU.js";import{b as T,e as u,i as _}from"./chunk-CN2FTU25.js";import{b as q}from"./chunk-ZVB4ZXSV.js";function X(t){try{if(typeof t=="object"&&t!==null||typeof t=="function"){let e=t.flagUrl;if(typeof e=="function")return e;let r=t.default??t;if(typeof r=="function")return r;if(typeof r=="object"&&r!==null){let s=r.flagUrl;if(typeof s=="function")return s}}}catch{}return null}function Z(){!1}function V(t){!1}function ee(){!1}function te(t){return X(t)||(V("flagUrl"),null)}async function re(t){let e=oe(t);try{let r=await e?.();if(typeof r=="function")return r}catch{}return V("createFlagUrlResolver"),null}function se(t,e){let r;return async(s,i)=>{let a=r??=t().then(e),o=await a.catch(n=>{throw r===a&&(r=void 0),n});if(!o)throw new Error("@aceshooting/lyra-flags does not provide a flag resolver");return o(s,i)}}async function B(t,e){let r;try{r=await t()}catch(s){return D(s)==="missing"?(Z(),null):(ee(),se(t,e))}return e(r)}function ie(t){return B(t,te)}function oe(t){try{if(typeof t=="object"&&t!==null||typeof t=="function"){let e=t.createFlagUrlResolver;if(typeof e=="function")return e;let r=t.default??t;if(typeof r=="object"&&r!==null){let s=r.createFlagUrlResolver;if(typeof s=="function")return s}}}catch{}return null}function ae(t){return B(t,re)}var b,L=0,$=new Set,z=!1;function W(t){z||!!1||(z=!0,`${t}`,void 0)}function ne(t){b=t===null?Promise.resolve(null):Promise.resolve(t),z=!1,L++;for(let e of[...$])e(L)}function Y(){return b||(b=Promise.resolve(null)),b}function R(){return L}function H(t){return $.add(t),()=>$.delete(t)}var le=T`:host{aspect-ratio:var(--lr-flag-aspect-ratio,4 / 3);block-size:var(--lr-size-1em);vertical-align:middle;max-inline-size:100%;line-height:0;display:inline-block;position:relative}[part=image],[part=fallback-image]{border-radius:var(--lr-flag-radius,calc(var(--lr-radius) * .33));object-fit:var(--lr-flag-object-fit,cover);block-size:100%;inline-size:100%;display:block}.ring{border-radius:var(--lr-flag-radius,calc(var(--lr-radius) * .33));box-shadow:0 0 0 var(--lr-border-width-thin) var(--lr-color-border-subtle) inset;pointer-events:none;position:absolute;inset:0}:host([shape=circle]) .ring{border-radius:50%}[part=image][hidden]{visibility:hidden;position:absolute;inset:0}[part=error]{color:var(--lr-color-danger);font-size:var(--lr-font-size-sm);line-height:var(--lr-line-height-normal);overflow-wrap:anywhere;max-inline-size:100%;display:inline-block}:host([data-error]){aspect-ratio:auto;block-size:auto;inline-size:auto;line-height:var(--lr-line-height-normal);vertical-align:baseline}:host([shape=circle]:not([data-error])){block-size:var(--lr-size-1em);inline-size:var(--lr-size-1em)}:host([shape=circle]) :is([part=image],[part=fallback-image]){border-radius:50%;block-size:100%;inline-size:100%}@media (forced-colors:active){.ring{box-shadow:0 0 0 var(--lr-border-width-thin) CanvasText inset}[part=error]{color:mark;text-decoration:underline wavy}}`,K="flagLoadError",ce=new Set(["compact","standard","detailed"]),ue=new Set(["rect","circle"]);function J(t){return ce.has(t)?t:"standard"}function de(t){return ue.has(t)?t:"rect"}var h=new Map,Q=-1;function he(t,e,r,s){Q!==s&&(h.clear(),Q=s);let i=`${e}:${r}`,a=h.get(i);if(a)return a;let o;try{o=Promise.resolve(t(e,r==="standard"?void 0:{variant:r}))}catch(f){return Promise.reject(f)}h.size>=256&&h.delete(h.keys().next().value),h.set(i,o);let n=()=>{h.get(i)===o&&h.delete(i)};return o.then(n,n),o}function fe(t,e){try{return P(e,{type:"region"}).of(t.toUpperCase())??t.toUpperCase()}catch{return t.toUpperCase()}}var l=class extends F{constructor(){super(...arguments),this._shape="rect",this._fidelity="standard",this.sourceState=Object.freeze({status:"idle",identity:"idle"}),this.resolverGeneration=R(),this.announcements=new q(this),this.sourceRestartPending=!0,this.activeSourceRequest=0,this.resolveToken=0,this.onResolverGeneration=e=>{!this.isConnected||e===this.resolverGeneration||(this.resolverGeneration=e)},this.detached=new j(()=>{this.resolveToken++,this.sourceRestartPending=!0,this.stopFlagResolverSubscription?.(),this.stopFlagResolverSubscription=void 0})}static{this.defaultStrings={...super.defaultStrings,flagLoadError:I,loading:G}}static{this.styles=[F.styles,le,E]}get shape(){return this._shape}set shape(e){let r=this._shape;this._shape=de(e),this.requestUpdate("shape",r)}get fidelity(){return this._fidelity}set fidelity(e){let r=this._fidelity;this._fidelity=J(e),this.requestUpdate("fidelity",r)}get effectiveFidelity(){return J(this.fidelity)}get loading(){return this.sourceState.status==="loading"}get code(){if(this.country)return M.test(this.country)?this.country.toLowerCase():O(this.country);if(this.language)return N(this.language)}get unresolved(){return this.src||!this.country&&!this.language?!1:this.code===void 0}connectedCallback(){super.connectedCallback();let e=this.detached.cancel();e||(this.sourceRestartPending=!0,this.stopFlagResolverSubscription=H(this.onResolverGeneration)),this.resolverGeneration!==R()&&(this.resolverGeneration=R()),e||this.requestUpdate()}disconnectedCallback(){super.disconnectedCallback(),this.detached.schedule()}adoptedCallback(){this.detached.flush(),super.adoptedCallback(),this.resolveToken++,this.sourceRestartPending=!0,this.announcements.adopted(),this.requestUpdate()}announceLoadError(){this.announcements.announceAssertive(this.localize(K))}setSourceState(e,r=!1){this.sourceState=Object.freeze(e),this.toggleAttribute("data-error",e.status==="error"),this.toggleAttribute("data-unresolved",this.unresolved),this.setAttribute("aria-busy",String(e.status==="loading")),r&&this.isConnected&&this.announceLoadError()}failSource(e,r=!0){this.setSourceState({status:"error",identity:e},r)}onImageLoad(e,r,s,i){let a=e.currentTarget;!this.isConnected||i!==this.activeSourceRequest||!a||a!==this.renderRoot.querySelector('[part="image"]')||this.sourceState.status!=="loading"||this.sourceState.identity!==r||this.sourceState.url!==s||this.setSourceState({status:"loaded",identity:r,url:s})}onImageError(e,r,s){let i=e.currentTarget;!this.isConnected||s!==this.activeSourceRequest||!i||i!==this.renderRoot.querySelector('[part="image"]')||this.sourceState.status!=="loading"||this.sourceState.identity!==r||this.failSource(r)}willUpdate(e){super.willUpdate(e);let r=e.has("country")||e.has("language")||e.has("src")||e.has("fidelity")||e.has("resolverGeneration");if(typeof Node<"u"&&!this.isConnected){r&&(this.resolveToken++,this.sourceRestartPending=!0);return}if(this.hasUpdated&&!r&&!this.sourceRestartPending)return;let s=this.sourceRestartPending;this.sourceRestartPending=!1;let i=++this.resolveToken,a=++this.activeSourceRequest,o=this.ownerDocument?.defaultView?.URL??globalThis.URL,n=typeof this.src=="string"?this.src.trim():"";if((n||this.code)&&this.announcements.current("assertive"),n){let g=`direct:${n}`,y=m(n,o);if(!y){this.failSource(g,!s);return}this.setSourceState({status:"loading",identity:g,url:y});return}let f=this.code;if(!f){this.setSourceState({status:"idle",identity:"idle"});return}let C=this.effectiveFidelity,p=`peer:${f}:${C}:${this.resolverGeneration}`;this.setSourceState({status:"loading",identity:p}),Y().then(async g=>{if(i!==this.resolveToken||a!==this.activeSourceRequest||!this.isConnected)return;if(typeof g!="function"){W(f),this.failSource(p);return}let y=await he(g,f,C,this.resolverGeneration);if(i!==this.resolveToken||a!==this.activeSourceRequest||!this.isConnected)return;if(y===void 0){this.setSourceState({status:"idle",identity:p});return}let A=m(y,o);if(!A){this.failSource(p);return}this.setSourceState({status:"loading",identity:p,url:A})}).catch(g=>{i!==this.resolveToken||a!==this.activeSourceRequest||!this.isConnected||(v("lyra-flag-resolve-failed",`<lr-flag> failed to resolve a flag URL for "${f}": ${g}`),this.failSource(p))})}updated(e){super.updated(e),this.setAttribute("aria-busy",String(this.sourceState.status==="loading")),this.toggleAttribute("data-unresolved",this.unresolved)}render(){let e=this.sourceState,r=this.activeSourceRequest;if(this.unresolved){let o=this.fallback?m(this.fallback,this.ownerDocument?.defaultView?.URL??globalThis.URL):null,n=w(this)??U(this.label)??"";return u`<slot name="fallback" >${o?u`<img part="fallback-image" src=${o} alt=${n} /><span class="ring" aria-hidden="true"></span>`:_}</slot
|
|
2
|
+
>`}if(e.status==="error")return u`<span part="error">${this.localize(K)}</span>`;let s=e.status==="loading"||e.status==="loaded"?e.url:void 0;if(!s&&e.status!=="loading")return u``;let i=this.code,a=w(this)??U(this.label)??(this.label===""?"":null)??(i?fe(i,this.effectiveLocale):"");return u`
|
|
3
|
+
${e.status==="loading"?u`
|
|
4
|
+
<span class="sr-only">${this.localize("loading")}</span>
|
|
5
|
+
<lr-skeleton shape=${this.shape==="circle"?"circle":"rect"} .announce=${!1} style="--lr-skeleton-border-radius: var(--lr-flag-radius, calc(var(--lr-radius) * 0.33))" ></lr-skeleton>
|
|
6
|
+
`:null}
|
|
7
|
+
${s?x(`${e.identity}:${r}`,u`<img part="image" src=${s} alt=${a} ?hidden=${e.status!=="loaded"} loading="lazy" decoding="async" @load=${o=>this.onImageLoad(o,e.identity,s,r)} @error=${o=>this.onImageError(o,e.identity,r)} />`):null}
|
|
8
|
+
${e.status==="loaded"?u`<span class="ring" aria-hidden="true"></span>`:null}
|
|
9
|
+
`}};c([d()],l.prototype,"country",void 0),c([d()],l.prototype,"fallback",void 0),c([d()],l.prototype,"language",void 0),c([d()],l.prototype,"src",void 0),c([d()],l.prototype,"label",void 0),c([d({reflect:!0})],l.prototype,"shape",null),c([d({reflect:!0})],l.prototype,"fidelity",null),c([k()],l.prototype,"sourceState",void 0),c([k()],l.prototype,"resolverGeneration",void 0);export{ie as a,ae as b,ne as c,l as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r={"&":"&","<":"<",">":">",'"':""","'":"'"},p=/[&<>"']/g,E=/[&<>"'\r]/g;function a(T,t){return t?.svgText?T.replace(E,e=>e==="\r"?" ":r[e]):T.replace(p,e=>r[e])}export{a};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{a as se,b as le}from"./chunk-JJXEQFM4.js";import{a as Z,c as ee,d as f,e as te,g as ie,h as re,i as oe,j as ce}from"./chunk-PVYXJDUG.js";import{a as ne,b as he}from"./chunk-EDV6BLBD.js";import{a as ae}from"./chunk-MGE5GHJU.js";import{a as Q}from"./chunk-MHTTI7OW.js";import{a as J}from"./chunk-FHITMZSI.js";import{y as X}from"./chunk-2JMEKYWD.js";import{a as Y}from"./chunk-J5OZZS24.js";import{a as K}from"./chunk-7YMQGPNL.js";import{a as B,b as V}from"./chunk-JFDY4CIA.js";import{b as z}from"./chunk-A6ZORMLN.js";import{c as q,e as x,j as $}from"./chunk-E4ZZLWV4.js";import{a as N,b as U,c as G}from"./chunk-FHEXSVUO.js";import{a as M}from"./chunk-ONTV26D7.js";import{a as W}from"./chunk-JKL737HR.js";import{a as j}from"./chunk-ULKZXAM5.js";import{a as I}from"./chunk-UTM46NXE.js";import{a as R}from"./chunk-5ES6C332.js";import{a as C}from"./chunk-IJ2AN2PR.js";import{a as L}from"./chunk-2WXXKPUW.js";import{Ia as F}from"./chunk-IFDV4HWR.js";import{a as _,d as H,e as k,f as p}from"./chunk-3HGKUVDX.js";import{c as w,d as D}from"./chunk-32IK33EM.js";import{a as s,b as n,c as y,d as E,u as S,z as T}from"./chunk-JTGCA7JE.js";import{b as P,e as u,i as g}from"./chunk-CN2FTU25.js";import{a as m,i as O}from"./chunk-AVZPWRZU.js";import{c as v}from"./chunk-3CLMBMQL.js";import{c as b}from"./chunk-OP7ARFKR.js";import{f as c}from"./chunk-Z7WGANHK.js";var pe=P` ${Y} ${V} ${M('[part~="popup"]',P`var(--lr-overlay-surface, var(--_lr-overlay-surface, var(--lr-color-surface-container-high)))`,void 0,!0)} `;var ve=8,me=new Set(["application","button","checkbox","combobox","gridcell","link","listbox","menuitem","row","rowheader","tab","treeitem","columnheader","menuitemcheckbox","menuitemradio","switch"]);function ye(l){let e=l.getAttribute("role")?.trim().split(/\s+/)[0];return e?me.has(e):l.matches("button, a[href], select, summary")?!0:l.localName==="input"&&["button","submit","reset","image","checkbox"].includes(l.type)}var fe=0,de=_(["dialog","menu","none"],"dialog"),be=["click","hover","focus","manual","hover-card"];function Pe(l){let e=[];for(let t of String(l??"").toLowerCase().split(/\s+/)){let i=t;be.includes(i)&&!e.includes(i)&&e.push(i)}return e.length>0?e.join(" "):"click"}var Te=0,o=class extends T{static{this.defaultStrings={...super.defaultStrings,menuLabel:F,popover:X}}constructor(){super(),this._open=!1,this.placement="top",this.strategy=new G(this,this.defaultPositioningStrategy),this.topLayer=!1,this.distance=8,this.skidding=0,this._for="",this.forElement=null,this.anchor=null,this.virtualElement=null,this.interactionBoundary=null,this.withoutArrow=!1,this.arrowPlacement="anchor",this.arrowPadding=0,this.fullWidthTrigger=!1,this._trigger="click",this.showDelay=0,this.hideDelay=0,this.hoverBridge=!1,this.accessibleLabel="",this._popupRole="dialog",this._disabled=!1,this.openedByInteraction=!1,this.pinned=!1,this.suppressTriggerFocusOpen=!1,this.delayTimer=new Z,this.resolvedSide="bottom",this.anchorPositioned=!1,this.popupHidden=!0,this.disconnecting=!1,this.reconnectedWhileDisconnecting=!1,this.directionChanged=!1,this.anchorIdentity=new oe,this.triggerUpgrades=new j(()=>{this.isConnected&&this.syncTriggerA11y()}),this.transientRevealFrame=new Q(this),this.positioningGeneration=0,this.generatedHostId=w("popover"),this.popupId=w("popover-popup"),this.outsidePress=new K(this,e=>this.onDocumentPointer(e)),this.hostIdObserverGeneration=0,this.connectionSequence=0,this.popoverInternals=C(this),this.onExternalTriggerKeyDown=e=>{this.onTriggerKeyDown(e)},this.onTriggerSlotChange=e=>{this.collectTriggerFromSlot(e.target)},this.onTriggerClick=()=>{if(!this.virtualAnchor&&(this.syncTriggerA11y(),!this.isManualTrigger)){if(this.cancelPendingTransition(),this.isHoverCard){this.open&&this.hide({focusTrigger:!1});return}if(this.opensOn("click")&&!this.opensOn("hover")&&!this.opensOn("focus")){this.open?this.hide():this.show();return}if(this.open&&this.pinned){this.hide();return}this.open||(this.openedByInteraction=!1,this.show()),this.pinned=this.open}},this.onTriggerPointerEnter=()=>{this.opensOn("hover")&&this.requestDelayedTransition(!0)},this.onTriggerPointerLeave=e=>{this.opensOn("hover")&&this.requestInteractionClose(e.relatedTarget)},this.onPopupPointerEnter=()=>{!this.opensOn("hover")||!this.open||this.cancelPendingTransition()},this.onPopupPointerLeave=e=>{this.opensOn("hover")&&this.requestInteractionClose(e.relatedTarget)},this.onSurfaceFocusIn=e=>{!this.opensOn("focus")||this.suppressTriggerFocusOpen||(!this.open||this.triggerElement!=null&&e.composedPath().includes(this.triggerElement))&&!S(e)||this.requestDelayedTransition(!0)},this.onSurfaceFocusOut=e=>{this.opensOn("focus")&&this.requestInteractionClose(e.relatedTarget)},this.onPopupClick=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),i=t.indexOf(this);if(i<0)return;let r=he(t,"data-popover",i,h=>h==="close");r&&(e.stopPropagation(),!ne(r)&&this.hide())},this.onDocumentPointer=e=>{this.overlayHandle?.isTopmost()&&(this.isInsideLightDismissBoundary(e.composedPath())||this.hide())},this.disclosure=new se({host:this,isOpen:()=>this._open,setOpen:e=>this.setOpen(e),emit:e=>e==="lr-show"||e==="lr-hide"?this.emitCancelableLifecycle(e).defaultPrevented:this.emitSettledLifecycle(e).defaultPrevented,popup:()=>this.renderRoot.querySelector('[part~="popup"]'),readyToShow:async e=>{let t=await x(()=>this.cleanup);return e()&&this.open&&t&&this.anchorPositioned},animate:(e,t)=>{let i="translateY(var(--lr-size-neg-0-25rem))";return ae(this,t,`${this.animationNamespace}.${e?"show":"hide"}`,this.effectiveDirection,{keyframes:e?[{opacity:0,transform:i},{opacity:1,transform:"translateY(0)"}]:[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:i}],durationProperties:this.animationDurationProperties(e),easingProperties:["--lr-easing-standard"]})},afterHide:()=>{this.popupHidden=!0}}),new B(this,'[part~="popup"]')}static{this.styles=[T.styles,le,pe]}get open(){return this._open}set open(e){let t=!!e&&this.canOpen;if(t!==this._open){if(!this.hasUpdated){this.setOpen(t),this.isConnected&&this.connectionSequence>0&&this.updateBrowserDerivedState(()=>this.reconcileInitialPopoverPeers());return}t?this.show():this.hide()}}get positioningStrategy(){return this.strategy.value}set positioningStrategy(e){let t=this.strategy.value;this.strategy.set(e),t!==this.strategy.value&&this.onPositioningStrategyChanged(t,this.strategy.value)}onPositioningStrategyChanged(e,t){}get for(){return this._for}set for(e){this._for=e??""}get trigger(){return this._trigger}set trigger(e){let t=Pe(e);if(t===this._trigger)return;let i=this._trigger;this._trigger=t,this.requestUpdate("trigger",i)}get triggerKeywords(){return this._trigger.split(" ")}get isManualTrigger(){return this.triggerKeywords.includes("manual")}get isHoverCard(){return!this.isManualTrigger&&this.triggerKeywords.includes("hover-card")}opensOn(e){return this.isHoverCard?e==="hover"||e==="focus":!this.isManualTrigger&&this.triggerKeywords.includes(e)}get popupRole(){return this._popupRole}set popupRole(e){let t=de.normalize(e);if(t===this._popupRole)return;let i=this._popupRole;this._popupRole=t,this.requestUpdate("popupRole",i)}get disabled(){return this._disabled}set disabled(e){let t=!!e;if(t===this._disabled)return;let i=this._disabled;this._disabled=t,this.requestUpdate("disabled",i),t&&this.open&&(this.hasUpdated?this.hide():this.open=!1)}get defaultDistance(){return ve}get defaultPositioningStrategy(){return"fixed"}get resolvedPositioningStrategy(){return N(this,this.strategy.authored,this.defaultPositioningStrategy)}get positioningSync(){}get animationNamespace(){return"popover"}animationDurationProperties(e){return[e?"--show-duration":"--hide-duration","--lr-duration-fast"]}get popupPartNames(){return["popup","dialog","popup__popup"].join(" ")}get contentPartNames(){return["content","body"].join(" ")}get triggerPopupRole(){return this.popupRole}get popupSurfaceRole(){return this.popupRole==="none"?void 0:this.popupRole}get effectivePopupLabel(){return D(this)??L(this.accessibleLabel)??this.localize(this.triggerPopupRole==="menu"?"menuLabel":"popover")}get rendersArrow(){return!this.withoutArrow}get arrowPartNames(){return"arrow popup__arrow"}get rendersHoverBridge(){return this.hoverBridge&&this.opensOn("hover")&&this.open}get canOpen(){return!this.disabled}renderPopupContent(){return u`<slot></slot>`}onTriggerKeyDown(e){}isInsideLightDismissBoundary(e){let t=this.virtualAnchor?this.virtualInteractionBoundary:this.interactionBoundary;return e.includes(this)||this.triggerElement!=null&&e.includes(this.triggerElement)||t!=null&&t.isConnected&&t.ownerDocument===this.ownerDocument&&e.includes(t)}onPopupPositioned(){this.openedByInteraction||this.overlayHandle?.focusAutofocus()}willUpdate(e){super.willUpdate(e);let t=this.effectiveDirection;this.directionChanged=t!==this.positioningDirection,this.positioningDirection=t;let i=e.has("virtualElement")&&f(e.get("virtualElement"))&&!f(this.virtualElement);(this.anchorIdentity.lostAnchorProperty(e,this.anchor)||i)&&this.open&&!this.resolveAnchor()&&this.forceClose({focusTrigger:!1}),e.has("open")&&!this.open&&(this.anchorPositioned=!1),e.has("open")&&this.open&&(this.popupHidden=!1),(e.has("anchor")||e.has("virtualElement")||e.has("for"))&&(this.anchorPositioned=!1)}updated(e){if(super.updated(e),e.has("trigger")&&(this.cancelPendingTransition(),!this.opensOn("hover")&&!this.opensOn("focus")&&(this.pinned=!1)),e.has("showDelay")&&this.delayTimer.pendingDirection==="show"&&this.requestDelayedTransition(!0,!0),e.has("hideDelay")&&this.delayTimer.pendingDirection==="hide"&&this.requestDelayedTransition(!1,!0),(e.has("for")||e.has("forElement")||e.has("anchor")||e.has("open"))&&this.syncAnchorIdentityObservation(),e.has("for")||e.has("forElement")?this.syncInteractionTrigger():e.has("trigger")&&this.syncTriggerA11y(),this.directionChanged||e.has("open")||e.has("placement")||e.has("positioningStrategy")||e.has("topLayer")||e.has("hoverBridge")||e.has("trigger")||e.has("distance")||e.has("skidding")||e.has("for")||e.has("forElement")||e.has("anchor")||e.has("virtualElement")||e.has("arrow")||e.has("withoutArrow")||e.has("arrowPlacement")||e.has("arrowPadding")||e.has("popupRole")){if(this.open&&this.isConnected?this.positionPopup():e.has("open")&&this.invalidatePositioning(),e.has("open"))if(this.open)this.isConnected&&(this.startLightDismiss(),this.activatePopoverOverlay());else{this.pinned=!1,this.openedByInteraction=!1,this.cancelPendingTransition(),this.positionedAnchor=void 0,this.stopLightDismiss(),this.suppressTriggerFocusOpen=!0;try{this.overlayHandle?.deactivate()}finally{this.suppressTriggerFocusOpen=!1}this.overlayHandle=void 0,this.virtualAnchor=void 0,this.returnFocusTo=void 0,this.virtualInteractionBoundary=void 0,this.syncInteractionTrigger()}this.isConnected&&this.syncTriggerA11y()}}firstUpdated(e){super.firstUpdated(e);let t=this.triggerSlotElement;queueMicrotask(()=>{I(t,i=>this.collectTriggerFromSlot(i))})}connectedCallback(){if(this.disconnecting){this.reconnectedWhileDisconnecting=!0;return}if(super.connectedCallback(),this.connectionSequence=++fe,this.addEventListener("focusin",this.onSurfaceFocusIn),this.addEventListener("focusout",this.onSurfaceFocusOut),this.updateBrowserDerivedState(()=>this.reconcileInitialPopoverPeers()),this.syncAnchorIdentityObservation(),this.id||(this.id=this.generatedHostId),this.observeHostId(),this.syncInteractionTrigger(),this.hasUpdated&&this.open){let e=this.overlayHandle?.isActive()===!0;this.startLightDismiss(),e?this.overlayHandle.resume():this.activatePopoverOverlay(),this.popupHidden=!1,this.positionPopup()}}disconnectedCallback(){this.disconnecting=!0;try{this.teardownOnDisconnect(),super.disconnectedCallback()}finally{this.disconnecting=!1}this.reconnectedWhileDisconnecting&&(this.reconnectedWhileDisconnecting=!1,this.isConnected&&this.connectedCallback())}teardownOnDisconnect(){this.connectionSequence=0,this.anchorIdentity.stop(),this.invalidatePositioning(),this.stopLightDismiss(),this.resetHostIdObserver(),this.overlayHandle?.suspend(),this.triggerElement?.removeEventListener("click",this.onTriggerClick),this.triggerElement?.removeEventListener("keydown",this.onExternalTriggerKeyDown),this.triggerElement&&this.unbindTriggerInteractions(this.triggerElement),this.releaseTriggerA11y(),this.triggerElement=void 0,this.removeEventListener("focusin",this.onSurfaceFocusIn),this.removeEventListener("focusout",this.onSurfaceFocusOut),this.cancelPendingTransition(),this.virtualInteractionBoundary=void 0,this.pinned=!1,this.openedByInteraction=!1,this.disclosure.reset(),this.popupHidden=!0}adoptedCallback(){super.adoptedCallback(),this.anchorIdentity.stop(),this.resetHostIdObserver(),this.releaseTriggerA11y()}syncAnchorIdentityObservation(){this.anchorIdentity.stop();let e=this.open?this.anchor??this.forElement??void 0:void 0;this.anchorIdentity.observe(this,e,this.for,()=>this.anchor,t=>{if(this.resolveInteractionTrigger()!==this.triggerElement&&this.syncInteractionTrigger(),!this.open)return;let i=this.resolveAnchor();if(t&&!i){this.forceClose({focusTrigger:!1});return}i!==this.positionedAnchor&&this.positionPopup()})}get connectedForElement(){let e=this.forElement;return e?.isConnected&&e.ownerDocument===this.ownerDocument?e:void 0}resolveInteractionTrigger(){return re(this,this.virtualAnchor,this.slottedTrigger??this.connectedForElement,this.for)}syncInteractionTrigger(e=!1){if(!this.isConnected)return;let t=this.resolveInteractionTrigger();if(t===this.triggerElement&&!e){this.syncTriggerA11y();return}this.cancelPendingTransition();let i=this.triggerElement;if(i?.removeEventListener("click",this.onTriggerClick),i?.removeEventListener("keydown",this.onExternalTriggerKeyDown),i&&this.unbindTriggerInteractions(i),this.triggerElement=t,this.triggerUpgrades.disconnect(),this.triggerElement&&this.triggerElement!==this.slottedTrigger&&(this.triggerElement.addEventListener("click",this.onTriggerClick),this.triggerElement.addEventListener("keydown",this.onExternalTriggerKeyDown)),this.triggerElement&&this.bindTriggerInteractions(this.triggerElement),this.syncTriggerA11y(),this.open){if(i&&t&&this.openedByInteraction&&!this.pinned&&![t,this].some(r=>r.matches(":hover"))&&!this.isWithinPopoverSurface(b(this.ownerDocument))||!this.resolveAnchor()){this.forceClose({focusTrigger:!1});return}this.updatePopoverRestoreFocusTarget(),this.positionPopup()}else this.isHoverCard&&t&&t!==i&&t.matches(":hover")&&this.requestDelayedTransition(!0,!0)}activatePopoverOverlay(){!this.isConnected||this.overlayHandle?.isActive()||(this.overlayHandle=W({host:this,panel:()=>this.renderRoot.querySelector('[part~="popup"]'),onEscape:()=>{this.hide()},restoreFocusTo:this.virtualAnchor?this.returnFocusTo??null:this.accessibleTrigger}))}updatePopoverRestoreFocusTarget(){let e=this.virtualAnchor?this.returnFocusTo??null:this.accessibleTrigger;if(this.overlayHandle?.isActive()){this.overlayHandle.updateRestoreFocusTo(e);return}this.activatePopoverOverlay()}showAt(e,t){let i=ee(e);if(!i)return;let r=this.virtualAnchor,h=this.returnFocusTo,a=this.virtualInteractionBoundary,d=new DOMRect(i.x,i.y,i.width,i.height);if(this.virtualAnchor={getBoundingClientRect:()=>d,contextElement:i.contextElement},this.returnFocusTo=t?.returnFocusTo,this.virtualInteractionBoundary=t?.interactionBoundary,this.syncInteractionTrigger(),this.open){this.updatePopoverRestoreFocusTarget(),this.positionPopup();return}this.show(),!this.open&&(this.virtualAnchor=r,this.returnFocusTo=h,this.virtualInteractionBoundary=a,this.syncInteractionTrigger())}resolveAnchor(){return te(this,{virtualAnchor:this.virtualAnchor,anchor:f(this.virtualElement)?this.virtualElement:this.anchor,for:this.connectedForElement?"":this.for,trigger:this.triggerElement})}positionPopup(){if(!this.renderRoot)return;this.invalidatePositioning();let e=this.renderRoot.querySelector('[part~="popup"]'),t=this.renderRoot.querySelector('[part~="arrow"]'),i=this.renderRoot.querySelector('[part~="hover-bridge"]'),r=this.resolveAnchor();if(!this.open||!r||!e){this.positionedAnchor=void 0,this.anchorPositioned=!1;return}r!==this.positionedAnchor&&(this.anchorPositioned=!1);let h=this.positioningGeneration;if(this.openedByInteraction&&!this.anchorPositioned){this.cleanup=Object.assign(()=>this.transientRevealFrame.cancel(),{ready:this.transientRevealFrame.wait().then(a=>!a||h!==this.positioningGeneration||!this.open||this.resolveAnchor()!==r?!1:(this.startPositioning(h,r,e,t,i),this.cleanup?.ready??!1))});return}this.startPositioning(h,r,e,t,i)}invalidatePositioning(){this.positioningGeneration++,this.cleanup?.(),this.cleanup=void 0}startPositioning(e,t,i,r,h){this.placedTopLayer=$(i,this.placedTopLayer,this.topLayer);let a=q(t,i,{placement:z(this.placement,this),strategy:this.topLayer?"fixed":this.resolvedPositioningStrategy,topLayer:this.topLayer,offset:m(this.distance,this.defaultDistance),skidding:m(this.skidding,0),sync:this.positioningSync,arrow:this.rendersArrow&&r?r:void 0,arrowPadding:Math.max(0,m(this.arrowPadding,0)),hoverBridge:this.rendersHoverBridge&&h?h:void 0,onPlaced:({placement:d,arrow:ue})=>{if(e!==this.positioningGeneration)return;let ge=!this.anchorPositioned||this.positionedAnchor!==t;this.positionedAnchor=t,this.anchorPositioned=!0;let A=ce(r,{placement:d,coords:ue,enabled:this.rendersArrow,arrowPlacement:this.arrowPlacement,arrowPadding:Math.max(0,m(this.arrowPadding,0)),rtl:this.effectiveDirection==="rtl",sizeProperty:"--arrow-size",fallbackSizeProperty:"--lr-overlay-arrow-size"});A!==this.resolvedSide&&(this.resolvedSide=A),this.updateComplete.then(()=>{e!==this.positioningGeneration||!this.open||this.resolveAnchor()!==t||ge&&this.onPopupPositioned()})}});this.cleanup=a,a.ready.then(d=>{!d&&e===this.positioningGeneration&&this.open&&this.forceClose({focusTrigger:!1})})}syncTriggerA11y(){let e=this.renderRoot?.querySelector('[part~="popup"]')??null,t={attributes:{"aria-haspopup":this.triggerPopupRole==="none"?null:this.triggerPopupRole,"aria-expanded":this.open?"true":"false"},controls:e?[e]:[]},i=this.accessibleTrigger;this.observeAccessibleTrigger(i);let r=i&&!this.isHoverCard&&ye(i)?i:null;this.accessibleTriggerAria?this.accessibleTriggerAria.update(r,t):this.accessibleTriggerAria=J(r,t),this.overlayHandle?.isActive()&&!this.virtualAnchor&&this.overlayHandle.updateRestoreFocusTo(i)}get accessibleTrigger(){let e=this.triggerElement;return e?ie(e):null}observeAccessibleTrigger(e){this.accessibleTriggerObserver?.disconnect();let t=this.triggerElement;if(!t||!this.isConnected)return;let i=this.ownerDocument.defaultView;if(i?.MutationObserver){this.accessibleTriggerObserver??=new i.MutationObserver(()=>{this.isConnected&&this.syncTriggerA11y()});let r=new Set([t]);t.shadowRoot&&r.add(t.shadowRoot);let h=e;for(;h&&h!==t;){let a=h.getRootNode();if(a.nodeType!==11||!("host"in a))break;r.add(a),h=a.host}for(let a of r)this.accessibleTriggerObserver.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["role","tabindex","disabled","href","type"]})}this.triggerUpgrades.observeElement(t)}releaseTriggerA11y(){this.accessibleTriggerObserver?.disconnect(),this.accessibleTriggerObserver=void 0,this.triggerUpgrades.disconnect(),this.accessibleTriggerAria?.release(),this.accessibleTriggerAria=void 0}collectTriggerFromSlot(e){let t=e.assignedElements({flatten:!0})[0];t!==this.slottedTrigger&&(this.slottedTrigger=t,this.syncInteractionTrigger(!0))}requestInteractionClose(e){this.pinned||this.isWithinPopoverSurface(e)||this.hasFocusWithinSurface()||this.requestDelayedTransition(!1)}isWithinPopoverSurface(e){if(e===null||e.nodeType!==1)return!1;let t=e;if(c(this,t))return!0;let i=this.renderRoot?.querySelector('[part~="popup"]')??null;return i&&c(i,t)?!0:this.triggerElement!=null&&c(this.triggerElement,t)}hasFocusWithinSurface(){let e=b(this.ownerDocument);return e===null||this.triggerElement&&c(this.triggerElement,e)?!1:this.isWithinPopoverSurface(e)}requestDelayedTransition(e,t=!1){if(this.cancelPendingTransition(),e&&!this.canOpen)return;let i=()=>{e?(this.openedByInteraction=!0,this.show()):this.hide()},r=Math.max(0,O(e?this.showDelay:this.hideDelay,Te)),h=this.ownerDocument.defaultView;if(!h||r<=0&&!t){i();return}this.delayTimer.schedule(h,r,e?"show":"hide",i)}cancelPendingTransition(){this.delayTimer.cancel()}triggerNeedsOwnFocusListeners(e){return!c(this,e)}bindTriggerInteractions(e){e.addEventListener("mouseenter",this.onTriggerPointerEnter),e.addEventListener("mouseleave",this.onTriggerPointerLeave),this.triggerNeedsOwnFocusListeners(e)&&(e.addEventListener("focusin",this.onSurfaceFocusIn),e.addEventListener("focusout",this.onSurfaceFocusOut))}unbindTriggerInteractions(e){e.removeEventListener("mouseenter",this.onTriggerPointerEnter),e.removeEventListener("mouseleave",this.onTriggerPointerLeave),e.removeEventListener("focusin",this.onSurfaceFocusIn),e.removeEventListener("focusout",this.onSurfaceFocusOut)}startLightDismiss(){this.outsidePress.bind()}stopLightDismiss(){this.outsidePress.unbind()}observeHostId(){let e=this.ownerDocument;if(this.hostIdObserver&&this.hostIdObserverDocument===e)return;this.resetHostIdObserver();let t=e.defaultView?.MutationObserver;if(!t||!this.isConnected)return;let i=this.hostIdObserverGeneration,r=new t(()=>{this.hostIdObserver!==r||this.hostIdObserverDocument!==e||this.hostIdObserverGeneration!==i||!this.isConnected||this.ownerDocument!==e||(this.id||(this.id=this.generatedHostId),this.syncTriggerA11y())});this.hostIdObserver=r,this.hostIdObserverDocument=e,r.observe(this,{attributes:!0,attributeFilter:["id"]})}resetHostIdObserver(){this.hostIdObserverGeneration+=1,this.hostIdObserver?.disconnect(),this.hostIdObserver=void 0,this.hostIdObserverDocument=void 0}setOpen(e){if(this._open===e)return;let t=this._open;this._open=e,R(this.popoverInternals,"open",e),this.requestUpdate("open",t)}syncOpenAttribute(){this.toggleAttribute("open",this._open)}show(){return this.canOpen?this.disclosure.show(()=>!this.closePopoverPeers()):Promise.resolve()}hide(e){return this.disclosure.hide(()=>this.prepareClose(e))}hasPopoverAncestor(e){let t=this.triggerElement??this.resolveInteractionTrigger();return c(e,this)||t!==void 0&&c(e,t)}closePopoverPeers(){if(this.virtualAnchor||this.localName!==v("popover"))return!0;let e=this.getRootNode();for(let t of e.querySelectorAll(v("popover")))if(!(t===this||!t.open||t.virtualAnchor)&&!this.hasPopoverAncestor(t)&&(t.hide({focusTrigger:!1}),t.open))return!1;return!0}reconcileInitialPopoverPeers(){if(!this.isConnected||!this._open||this.virtualAnchor||this.localName!==v("popover"))return;let e=this.getRootNode(),t=[],i;for(let r of e.querySelectorAll(v("popover")))!r.isConnected||!r._open||r.virtualAnchor||!(r.connectionSequence>0)||(t.push(r),(!i||r.connectionSequence>i.connectionSequence)&&(i=r));if(i!==this){i?.hasPopoverAncestor(this)||this.closeForInitialPeerReconciliation();return}for(let r of t)r!==this&&!this.hasPopoverAncestor(r)&&r.closeForInitialPeerReconciliation()}closeForInitialPeerReconciliation(){this._open&&(this.disclosure.reset(),this.invalidatePositioning(),this.stopLightDismiss(),this.overlayHandle?.deactivate({restoreFocus:!1}),this.overlayHandle=void 0,this.positionedAnchor=void 0,this.anchorPositioned=!1,this.popupHidden=!0,this.returnFocusTo=void 0,this.setOpen(!1),this.syncOpenAttribute())}forceClose(e){return this.disclosure.forceClose(()=>this.prepareClose(e))}prepareClose(e){e?.focusTrigger===!1&&(this.overlayHandle?.deactivate({restoreFocus:!1}),this.overlayHandle=void 0),this.anchorPositioned||(this.popupHidden=!0)}emitCancelableLifecycle(e){return this.emit(e,null,{cancelable:!0})}emitSettledLifecycle(e){return this.emit(e)}render(){let e=this.popupSurfaceRole;return u`
|
|
2
|
+
<span part="trigger" @click=${this.onTriggerClick} @keydown=${this.onTriggerKeyDown}>
|
|
3
|
+
<slot name="trigger" @slotchange=${this.onTriggerSlotChange}></slot>
|
|
4
|
+
</span>
|
|
5
|
+
${this.rendersHoverBridge?u`<span part="hover-bridge" aria-hidden="true"></span>`:g}
|
|
6
|
+
<div id=${this.popupId} part=${this.popupPartNames} role=${e??g} aria-label=${e?this.effectivePopupLabel:g} ?hidden=${this.popupHidden} ?inert=${this.popupHidden||this.open&&!this.anchorPositioned} ?data-hidden=${!this.open||!this.anchorPositioned} ?data-has-arrow=${this.rendersArrow} @mouseenter=${this.onPopupPointerEnter} @mouseleave=${this.onPopupPointerLeave} @click=${this.onPopupClick}>
|
|
7
|
+
<span class="glass-scroll-layer" aria-hidden="true"></span>
|
|
8
|
+
<div part=${this.contentPartNames}>${this.renderPopupContent()}</div>
|
|
9
|
+
${this.rendersArrow?u`<span part=${this.arrowPartNames+" arrow-"+this.resolvedSide}></span>`:g}
|
|
10
|
+
</div>
|
|
11
|
+
`}};s([n({type:Boolean,reflect:!0})],o.prototype,"open",null),s([n({reflect:!0,converter:k("top")})],o.prototype,"placement",void 0),s([n({attribute:"positioning-strategy",reflect:!0,converter:U})],o.prototype,"positioningStrategy",null),s([n({type:Boolean,attribute:"top-layer",reflect:!0})],o.prototype,"topLayer",void 0),s([n({converter:p(8)})],o.prototype,"distance",void 0),s([n({converter:p(0)})],o.prototype,"skidding",void 0),s([n({reflect:!0,converter:H})],o.prototype,"for",null),s([n({attribute:!1})],o.prototype,"forElement",void 0),s([n({attribute:!1})],o.prototype,"anchor",void 0),s([n({attribute:!1})],o.prototype,"virtualElement",void 0),s([n({attribute:!1})],o.prototype,"interactionBoundary",void 0),s([n({type:Boolean,attribute:"without-arrow",reflect:!0})],o.prototype,"withoutArrow",void 0),s([n({attribute:"arrow-placement"})],o.prototype,"arrowPlacement",void 0),s([n({converter:p(0),attribute:"arrow-padding"})],o.prototype,"arrowPadding",void 0),s([n({type:Boolean,attribute:"full-width-trigger",reflect:!0})],o.prototype,"fullWidthTrigger",void 0),s([n()],o.prototype,"trigger",null),s([n({converter:p(0),attribute:"show-delay"})],o.prototype,"showDelay",void 0),s([n({converter:p(0),attribute:"hide-delay"})],o.prototype,"hideDelay",void 0),s([n({type:Boolean,attribute:"hover-bridge",reflect:!0})],o.prototype,"hoverBridge",void 0),s([n({attribute:"aria-label"})],o.prototype,"accessibleLabel",void 0),s([n({attribute:"popup-role",converter:de})],o.prototype,"popupRole",null),s([n({type:Boolean,reflect:!0})],o.prototype,"disabled",null),s([E('slot[name="trigger"]')],o.prototype,"triggerSlotElement",void 0),s([y()],o.prototype,"resolvedSide",void 0),s([y()],o.prototype,"anchorPositioned",void 0),s([y()],o.prototype,"popupHidden",void 0);export{o as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{a as u}from"./chunk-DEHO557B.js";import{Ga as m}from"./chunk-IFDV4HWR.js";import{e as h}from"./chunk-3HGKUVDX.js";import{f as p}from"./chunk-32IK33EM.js";import{a,b as s,z as n}from"./chunk-JTGCA7JE.js";import{b as c,e as b}from"./chunk-CN2FTU25.js";import{k as d}from"./chunk-RNCRO7PW.js";var f=c` :host{display:inline-block;max-inline-size:100%;color:var(--lr-color-brand)}[part~=base]{display:inline-flex;align-items:center;justify-content:center;min-inline-size:0;max-inline-size:100%}[part~=spinner-indicator]{inline-size:var(--lr-spinner-size,var(--lr-size-1-25rem));block-size:var(--lr-spinner-size,var(--lr-size-1-25rem));border:var(--lr-spinner-track-width,var(--track-width,var(--lr-border-width-medium))) solid var(--lr-spinner-track-color,var(--track-color,var(--lr-color-brand-quiet)));border-block-start-color:var(--lr-spinner-indicator-color,var(--indicator-color,var(--lr-color-brand)));border-radius:var(--lr-radius-pill);animation:var(--_lr-motion-animation,lr-spin var(--lr-spinner-duration,var(--speed,var(--lr-transition-ambient))) infinite)}:host([label-placement=after]) [part=label]{display:inline-flex;flex:1 1 auto;align-items:center;min-inline-size:0;max-inline-size:100%;overflow:hidden;overflow-wrap:break-word;margin-inline-start:var(--lr-space-2xs);color:var(--lr-color-text);font-size:var(--lr-font-size-sm)}:host([label-placement=after]) [part=label] ::slotted(*){min-inline-size:0;max-inline-size:100%;overflow-wrap:break-word}:host([label-placement=none]) [part=label]{${p}}@keyframes lr-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){[part~=spinner-indicator]{animation:none}}`;var i=class extends n{constructor(){super(...arguments),this.labelPlacement="none",this.accessibleLabel=null,this.cachedVisibleLabelText="",this.labelTextObserver=new u(this,[""],()=>this.recomputeVisibleLabelText())}static{this.defaultStrings={...super.defaultStrings,loading:m}}static{this.styles=[n.styles,f]}connectedCallback(){this.labelTextObserver.setEnabled(this.labelPlacement==="after"),super.connectedCallback(),this.labelPlacement==="after"&&(this.hasUpdated?(this.recomputeVisibleLabelText(!0,!0),this.ownerDocument.defaultView?.queueMicrotask(()=>{this.isConnected&&this.labelPlacement==="after"&&this.recomputeVisibleLabelText()})):this.seedFirstRenderState(()=>this.recomputeVisibleLabelText(!1)))}adoptedCallback(){super.adoptedCallback(),this.labelTextObserver.adopted()}computeVisibleLabelText(e=!1){let l=this.renderRoot?.querySelector("slot"),t=this.childNodes,o=l?.assignedNodes({flatten:!0})??[],v=Array.from(t??[]).filter(r=>r.nodeType!==1||(r.getAttribute("slot")??"")==="");return(!e&&o.length>0?o:v).map(r=>d(r,{ancestorBoundary:this,requireRendered:!e,skipRootAncestorValidation:e})).join(" ").replace(/\s+/g," ").trim()}recomputeVisibleLabelText(e=!0,l=!1){let t=this.computeVisibleLabelText(l);t!==this.cachedVisibleLabelText&&(this.cachedVisibleLabelText=t,e&&this.requestUpdate())}willUpdate(e){super.willUpdate(e),e.has("labelPlacement")&&(this.labelTextObserver.setEnabled(this.labelPlacement==="after"),this.hasUpdated&&(this.labelPlacement==="after"?this.recomputeVisibleLabelText(!1,!0):this.cachedVisibleLabelText=""))}render(){let e=this.accessibleLabel!==null?this.accessibleLabel:(this.labelPlacement==="after"?this.cachedVisibleLabelText:"")||this.localize("loading");return b`<span part="base spinner" role="progressbar" aria-label=${e}>
|
|
2
|
+
<span part="spinner-indicator" aria-hidden="true"></span>
|
|
3
|
+
<span part="label" ?hidden=${this.labelPlacement==="none"}><slot></slot></span>
|
|
4
|
+
</span>`}};a([s({attribute:"label-placement",reflect:!0,converter:h("none")})],i.prototype,"labelPlacement",void 0),a([s({attribute:"aria-label"})],i.prototype,"accessibleLabel",void 0);export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as o}from"./chunk-QCM7NVLU.js";function s(e){if(e.hasAttribute("tabindex")||e.tabIndex>=0)return e;let[t]=o(e,{includeRoot:!1,mode:"programmatic"}).elements;return t??e}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as k}from"./chunk-4QBXZ5BM.js";import{b as z,c as h,d as C}from"./chunk-XYHOA2VI.js";import{b as o}from"./chunk-AVZPWRZU.js";var w=Object.freeze(["(prefers-reduced-motion: reduce)","(forced-colors: active)","(prefers-color-scheme: dark)"]),P=Array.from({length:8},(r,e)=>`--lr-color-chart-${e+1}`),A=["--lr-color-surface","--lr-color-text","--lr-color-text-quiet","--lr-color-brand","--lr-focus-ring-color"];function G(r,e){return k(r,e,w)}var R=new WeakMap;function L(r,e={}){let i=r.ownerDocument.defaultView,t=i.getComputedStyle(r),l=e.probe?i.getComputedStyle(e.probe):void 0,[f=!1,s=!1,F=!1]=w.map(a=>i.matchMedia(a).matches),n=[...A,...e.palette??P],p=n.map(a=>t.getPropertyValue(a).trim()),S=JSON.stringify([t.color,t.colorScheme,F,s]),g=JSON.stringify([S,n,p,t.fontFamily,t.fontSize,l?.inlineSize,l?.borderBlockStartWidth,i.devicePixelRatio,f,e.pointSize,e.lineWidth]),d=R.get(r);if(d?.key===g)return d.style;let m=new Map,[O,_,x,T,W,...I]=n.map((a,M)=>{let u=`${S}
|
|
2
|
+
${p[M]}`,c=m.get(u)??d?.colors.get(u);if(c===void 0){let E=z(r,`var(${a})`,t.color),N=h(r.ownerDocument,E);c=N?C(N):E}return m.set(u,c),c}),b=o(e.pointSize??8,8,1,1024),v=o(e.lineWidth??1,1,0,64),y=Object.freeze({background:O,foreground:_,muted:x,accent:T,focus:W,palette:Object.freeze(I),fontFamily:t.fontFamily,fontSize:o(Number.parseFloat(t.fontSize),14,1,128),pointSize:l?o(Number.parseFloat(l.inlineSize),b,1,1024):b,lineWidth:l?o(Number.parseFloat(l.borderBlockStartWidth),v,0,64):v,devicePixelRatio:o(i.devicePixelRatio,1,.25,4),reducedMotion:f,forcedColors:s});return R.set(r,{key:g,style:y,colors:m}),y}export{w as a,P as b,G as c,L as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(o,r){for(let e of o.querySelectorAll("[data-source-key]"))if(e.getAttribute("data-source-key")===r)return e}export{t as a};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{a as c}from"./chunk-HRRMXG52.js";import{a as Z}from"./chunk-2MJHMCYK.js";import{c as z}from"./chunk-4QG5Y44P.js";import{b as V}from"./chunk-JQPRVZA3.js";import{b as Y}from"./chunk-A6ZORMLN.js";import{b as D,i as N,j as W}from"./chunk-E4ZZLWV4.js";import{a as K}from"./chunk-FHEXSVUO.js";import{a as j,b as G}from"./chunk-43JJVC4Y.js";import{a as H}from"./chunk-FOABE6ZB.js";import{c as M}from"./chunk-4BU3QW2I.js";import{a as J}from"./chunk-JKL737HR.js";import{g as w}from"./chunk-NHLOYHBZ.js";import{a as Q}from"./chunk-DEHO557B.js";import{a as X}from"./chunk-IHHKAXNV.js";import{f as C}from"./chunk-CSV23ONU.js";import{a as O}from"./chunk-63566KPS.js";import{b as U}from"./chunk-C6BTEIPF.js";import{c as d,e as _,f as I,i as B}from"./chunk-QCM7NVLU.js";import{c as E}from"./chunk-JNB4S2FJ.js";import{E as P,b as y,u as x,v}from"./chunk-2CH7YZRL.js";import{c as A,d as f,f as L}from"./chunk-32IK33EM.js";import{a,b as p,c as g,u as S,z as b}from"./chunk-JTGCA7JE.js";import{b as F,e as s,i as n}from"./chunk-CN2FTU25.js";import{c as u}from"./chunk-3CLMBMQL.js";import{b as q}from"./chunk-OP7ARFKR.js";import{f as m}from"./chunk-Z7WGANHK.js";var rr=F` :host{display:flex;flex-direction:column;gap:var(--lr-app-rail-item-children-gap,var(--lr-app-rail-item-gap,var(--lr-space-s)));inline-size:100%}.row{display:flex;align-items:center;gap:var(--lr-app-rail-item-gap,var(--lr-space-s));inline-size:100%}[part=base]{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:var(--lr-app-rail-item-gap,var(--lr-space-s));flex:1 1 auto;min-inline-size:0;inline-size:100%;min-block-size:max(${c},var(--lr-icon-button-size),var(--lr-app-rail-item-min-block-size,var(--lr-icon-button-size)));padding:var(--lr-app-rail-item-padding,var(--lr-space-s));border:0;border-radius:var(--lr-app-rail-item-radius,var(--lr-radius));background:transparent;color:var(--lr-app-rail-item-color,var(--lr-color-text));font:inherit;font-size:var(--lr-app-rail-item-font-size,inherit);text-align:start;text-decoration:none;cursor:pointer;transition:background-color var(--lr-transition-fast),color var(--lr-transition-fast)}@media (hover:hover) and (pointer:fine) and (not (any-pointer:coarse)){:host(:not([icon-only])) [part=base]{min-block-size:max(${c},var(--lr-app-rail-item-min-block-size,var(--lr-icon-button-size)))}}[part=base]:not([aria-disabled=true]):hover{background:var(--lr-app-rail-item-hover-bg,var(--lr-color-brand-quiet));color:var(--lr-app-rail-item-hover-color,var(--_lr-glass-brand-text,var(--lr-color-brand)))}[part=base][aria-current=page]:not([aria-disabled=true]):hover:not(:active){background:var(--lr-app-rail-item-current-hover-bg,${x("var(--lr-app-rail-item-current-bg, var(--lr-color-brand-quiet))")})}[part=base]:not([aria-disabled=true]):active{background:var(--lr-app-rail-item-active-bg,${v("var(--lr-color-brand-quiet)")});color:var(--lr-app-rail-item-active-color,var(--_lr-glass-brand-text,var(--lr-color-brand)))}[part=base]:focus-visible{${y}}[part=base][aria-disabled=true]{${P}}[part=base][aria-current=page]{background:var(--lr-app-rail-item-current-bg,var(--lr-color-brand-quiet));color:var(--lr-app-rail-item-current-color,var(--_lr-glass-brand-text,var(--lr-color-brand)));font-weight:var(--lr-app-rail-item-current-font-weight,var(--lr-font-weight-semibold));box-shadow:var(--lr-app-rail-item-current-ring,none)}[part=current-indicator]{position:absolute;inset-block:0;inset-inline:var(--lr-app-rail-item-current-indicator-inset-inline,0 auto);inline-size:var(--lr-app-rail-item-current-indicator-width,var(--lr-size-2px));box-sizing:border-box;border-radius:var(--lr-radius-xs);background:var(--lr-app-rail-item-current-indicator-color,var(--lr-color-brand));pointer-events:none;z-index:var(--lr-layer-content)}[part=icon]{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;inline-size:var(--lr-app-rail-item-icon-size,var(--lr-icon-button-size));min-inline-size:var(--lr-app-rail-item-icon-size,var(--lr-icon-button-size))}[part=icon][hidden]{display:none}[part=meta],[part=end]{display:inline-flex;flex:0 0 auto;align-items:center}[part=meta][hidden],[part=end][hidden]{display:none}[part=meta]{color:var(--lr-app-rail-item-meta-color,var(--lr-color-text-quiet));font-size:var(--lr-app-rail-item-meta-font-size,var(--lr-font-size-sm))}[part=label]{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([icon-only]) [part=label]{${L}}:host([icon-only]) [part=base]{justify-content:center;padding-inline:0;flex:0 0 auto;inline-size:var(--lr-app-rail-item-icon-only-size,auto);block-size:var(--lr-app-rail-item-icon-only-size,auto);min-inline-size: ${c};min-block-size:max(${c},var(--lr-app-rail-item-icon-only-size,max(var(--lr-icon-button-size),var(--lr-app-rail-item-min-block-size,var(--lr-icon-button-size)))));aspect-ratio:1}:host([icon-only]) .row{justify-content:center}:host([icon-only]) [part=current-indicator]{display:var(--lr-app-rail-item-current-indicator-display,none)}:host([icon-only]) [part=base][aria-current=page]{box-shadow:var(--lr-app-rail-item-current-ring,inset 0 0 0 var(--lr-border-width-thin) var(--lr-app-rail-item-current-indicator-color,var(--lr-color-brand)))}:host([icon-only]) [part=meta]{inline-size:var(--lr-size-1px);block-size:var(--lr-size-1px);padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}[part=toggle]{display:flex;flex:0 0 auto;align-items:center;justify-content:center;inline-size:max(${c},var(--lr-app-rail-item-toggle-size,var(--lr-icon-button-size)));block-size:max(${c},var(--lr-app-rail-item-toggle-size,var(--lr-icon-button-size)));min-inline-size:var(--lr-app-rail-item-toggle-size,var(--lr-icon-button-size));min-block-size:var(--lr-app-rail-item-toggle-size,var(--lr-icon-button-size));padding:0;border:0;border-radius:var(--lr-radius);background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background-color var(--lr-transition-fast),color var(--lr-transition-fast)}[part=toggle]:hover{background:var(--lr-app-rail-item-hover-bg,var(--lr-color-brand-quiet));color:var(--lr-app-rail-item-hover-color,var(--_lr-glass-brand-text,var(--lr-color-brand)))}[part=toggle]:active{background:var(--lr-app-rail-item-active-bg,${v("var(--lr-color-brand-quiet)")});color:var(--lr-app-rail-item-active-color,var(--_lr-glass-brand-text,var(--lr-color-brand)))}[part=toggle]:focus-visible{${y}}[part=toggle-icon]{display:inline-flex;flex:0 0 auto;transform:rotate(90deg);transition:transform var(--lr-transition-fast)}[part=toggle]:where([aria-expanded=false]) [part=toggle-icon]{transform:none}:host(:dir(rtl)) [part=toggle]:where([aria-expanded=false]) [part=toggle-icon]{transform:rotate(180deg)}[part=children]{display:flex;flex-direction:column;gap:var(--lr-app-rail-item-gap,var(--lr-space-s));padding-inline-start:var(--lr-app-rail-item-indent,var(--lr-space-l));inline-size:100%}[part=children][hidden]{display:none}@media (prefers-reduced-motion:reduce){[part=toggle],[part=toggle-icon]{transition:none!important}}[part=tooltip]{position:fixed;z-index:var(--lr-layer-dropdown);padding:var(--lr-size-0-25rem) var(--lr-space-s);${M} color:var(--lr-color-text);box-shadow:var(--lr-overlay-shadow-anchored,var(--lr-shadow-m));font-size:var(--lr-font-size-sm);box-sizing:border-box;max-inline-size:var(--lr-positioner-available-inline-size,var(--lr-popover-viewport-clamp,calc(100vw - 2 * var(--lr-space-s))));overflow-wrap:anywhere;white-space:normal;pointer-events:none}:host([icon-only]) [part=toggle],:host([icon-only]) [part=children]{display:none}:host([highlight=row]) [part=row]{border-radius:var(--lr-app-rail-item-radius,var(--lr-radius));transition:background-color var(--lr-transition-fast),color var(--lr-transition-fast)}:host([highlight=row]) [part=row]>[part=base]:is(:hover,:active,[aria-current=page]),:host([highlight=row]) [part=row]>[part=toggle]:is(:hover,:active){background:transparent}:host([highlight=row]:not([disabled])) [part=row]:hover{background:var(--lr-app-rail-item-hover-bg,var(--lr-color-brand-quiet))}:host([highlight=row]:not([disabled])) [part=row]:hover>[part=base]{color:var(--lr-app-rail-item-hover-color,var(--_lr-glass-brand-text,var(--lr-color-brand)))}:host([highlight=row][current]) [part=row]{background:var(--lr-app-rail-item-current-bg,var(--lr-color-brand-quiet))}:host([highlight=row][current]:not([disabled])) [part=row]:hover{background:var(--lr-app-rail-item-current-hover-bg,${x("var(--lr-app-rail-item-current-bg, var(--lr-color-brand-quiet))")})}:host([highlight=row]:not([disabled])) [part=row]:has(>[part=base]:active,>[part=toggle]:active){background:var(--lr-app-rail-item-active-bg,${v("var(--lr-color-brand-quiet)")})}@media (prefers-reduced-motion:reduce){:host([highlight=row]) [part=row]{transition:none}}${E('[part="base"][aria-current="page"]')} `;var o=class extends b{static{this.defaultStrings={...super.defaultStrings,appRailItemToggle:V}}static{this.styles=[b.styles,rr]}static get observedAttributes(){return[...super.observedAttributes,"icon-only"]}syncRailTopLayer(){let r=this.closest(u("app-rail"));this.railTopLayer=r?.topLayer===!0}get effectiveTopLayer(){return this.topLayer||this.railTopLayer}get expanded(){return this._expanded}set expanded(r){let t=this._expanded;this._expanded=r,G(this.toggleGuard),this.requestUpdate("expanded",t)}constructor(){super(),this.href="",this.target="",this.togglePlacement="end",this.highlight="base",this.disabled=!1,this.current=!1,this.tooltip=!1,this.topLayer=!1,this.railTopLayer=!1,this._expanded=!1,this.toggleGuard=new j,this.showTooltip=!1,this.slots=new X(this),this.labelTextObserver=new Q(this,[],()=>this.requestUpdate(),[],!1),this.recoverFocusAfterIconOnly=!1,this.childrenId=A("app-rail-item-children"),this.onToggleClick=r=>{r.stopPropagation();let t=!this._expanded;H({requestDetail:{expanded:t},emitRequest:(e,i)=>this.emit("lr-toggle-request",e,i),guard:this.toggleGuard,commit:()=>{this.expanded=t,this.emit("lr-toggle",{expanded:t})}})},this.onFocusShow=r=>{if(this.tooltip&&this.hasAttribute("icon-only")&&(r.type!=="focus"||S(r))&&(this.showTooltip=!0),r.type!=="focus")return;let t=r.relatedTarget;t&&t.nodeType===1&&d(t)&&(this.focusReturnTarget=t)},this.onBlurHide=()=>{this.showTooltip=!1},new C(this,{subtree:!0,attributeFilter:["slot"],onChange:()=>{this.syncOwnedChildren(),this.requestUpdate()}})}get hasChildrenSlotted(){return Array.from(this.children).some(r=>r.getAttribute("slot")==="children")}connectedCallback(){super.connectedCallback(),this.syncRailTopLayer(),this.syncOwnedChildren()}syncOwnedChildren(){if(!this.isConnected)return;let r=this.hasAttribute("icon-only"),t=u("app-rail-item");for(let e of this.querySelectorAll(t))(e.parentElement?.closest(t)??null)===this&&e.toggleAttribute("icon-only",r)}get labelText(){return Array.from(this.childNodes).filter(r=>r.nodeType===3||r.nodeType===1&&!r.getAttribute("slot")).map(r=>r.textContent??"").join("").trim()}get tooltipText(){return f(this)??(this.labelText||"")}attributeChangedCallback(r,t,e){if(super.attributeChangedCallback(r,t,e),!(r!=="icon-only"||t===e)){if(e===null)this.showTooltip=!1;else{let i=w(this.ownerDocument),l=this.renderRoot?.querySelector('[part="toggle"]');this.recoverFocusAfterIconOnly=i===l||Array.from(this.children).some(h=>h.getAttribute("slot")==="children"&&m(h,i))}this.syncOwnedChildren(),this.requestUpdate()}}willUpdate(r){super.willUpdate(r),r.has("tooltip")&&!this.tooltip&&(this.showTooltip=!1),this.labelTextObserver.setEnabled(this.showTooltip);let t=this.renderRoot?.querySelector('[part="children"]');if(r.has("expanded")&&!this._expanded&&t&&B(t,()=>this.renderRoot.querySelector('[part="toggle"]')),r.has("href")||r.has("disabled")){let e=this.renderRoot?.querySelector('[part="base"]')??null,i=!!z(this.href)&&!this.disabled,l=e!==null&&e.localName==="a"!==i;this.semanticFocusRepair=l&&q(this)===e?_(this,this.focusFallback()??e)??void 0:void 0}}updated(r){super.updated(r),this.recoverFocusAfterIconOnly&&(this.recoverFocusAfterIconOnly=!1,this.scheduleAfterUpdate(()=>{let i=this.renderRoot.querySelector('[part="base"]');i&&d(i)&&!m(i,w(this.ownerDocument))&&i.focus()},"app-rail-item-icon-only-focus"));let t=this.semanticFocusRepair;this.semanticFocusRepair=void 0,t&&this.scheduleAfterUpdate(()=>{let i=this.renderRoot.querySelector('[part="base"]'),l=i&&d(i)?i:this.focusFallback();I(t,l)},"app-rail-item-owner-focus");let e=this.renderRoot.querySelector('[part="tooltip"]');if(!e){this.stopPositioning?.(),this.stopPositioning=void 0,this.tooltipOverlay?.deactivate({restoreFocus:!1}),this.tooltipOverlay=void 0;return}if(this.tooltipOverlay?.isActive()||(this.tooltipOverlay=J({host:this,panel:()=>this.renderRoot.querySelector('[part="tooltip"]'),onEscape:()=>{this.showTooltip=!1},restoreFocusTo:null})),r.has("showTooltip")||r.has("topLayer")||r.has("railTopLayer")||!this.stopPositioning){this.stopPositioning?.();let i=this.renderRoot.querySelector('[part="base"]'),l=this.effectiveTopLayer;this.placedTopLayer=W(e,this.placedTopLayer,l),this.stopPositioning=D(i,e,{placement:Y("right",this),...N(l,K(this,void 0,"fixed"))})}}disconnectedCallback(){super.disconnectedCallback(),this.semanticFocusRepair=void 0,this.focusReturnTarget=void 0,this.stopPositioning?.(),this.stopPositioning=void 0,this.tooltipOverlay?.deactivate({restoreFocus:!1}),this.tooltipOverlay=void 0,this.showTooltip=!1}adoptedCallback(){super.adoptedCallback(),this.labelTextObserver.adopted()}focusFallback(){if(this.focusReturnTarget&&d(this.focusReturnTarget))return this.focusReturnTarget;let r=this.closest(u("app-rail"))?.shadowRoot?.querySelector('[part~="base"], [part~="panel"]')??null;return r&&d(r)?r:null}focus(r){this.deferFocusUntilRendered(r)||this.renderRoot?.querySelector('a[part~="base"], button[part~="base"]')?.focus(r)}blur(){this.renderRoot?.querySelector('[part~="base"]')?.blur()}click(){this.disabled||this.renderRoot.querySelector('[part~="base"]')?.click()}render(){let r=f(this),t=z(this.href),e=s`
|
|
2
|
+
${this.current?s`<span part="current-indicator" aria-hidden="true"></span>`:n}
|
|
3
|
+
${O(s`<slot name="start"></slot>`,{part:"icon",hidden:!this.slots.has("start")})}
|
|
4
|
+
<span part="label"><slot></slot></span>
|
|
5
|
+
`,i=this.showTooltip&&this.tooltip&&this.hasAttribute("icon-only")?s`<span part="tooltip" role="tooltip" aria-hidden="true">${this.tooltipText}</span>`:n,l=s`<span part="meta" ?hidden=${!this.slots.has("meta")} ><slot name="meta"></slot></span
|
|
6
|
+
><span part="end" ?hidden=${!this.slots.has("end")} ><slot name="end"></slot></span
|
|
7
|
+
>`,h=this.hasChildrenSlotted,$=h?s`<button part="toggle" type="button" aria-expanded=${this._expanded?"true":"false"} aria-controls=${this.childrenId} aria-label=${this.localize("appRailItemToggle",void 0,{label:this.tooltipText})} @click=${this.onToggleClick} ><span part="toggle-icon" aria-hidden="true">${U()}</span></button>`:n,tr=h?s`<span part="children" id=${this.childrenId} ?hidden=${!this._expanded} ><slot name="children"></slot
|
|
8
|
+
></span>`:n,T=this.togglePlacement==="start",k=T?$:n,R=T?n:$,er=t&&!this.disabled?s`${k}<a part="base" href=${t} target=${this.target||n} rel=${Z(this.rel,this.target)??n} aria-label=${r??n} aria-disabled="false" aria-current=${this.current?"page":"false"} @mouseenter=${this.onFocusShow} @mouseleave=${this.onBlurHide} @focus=${this.onFocusShow} @blur=${this.onBlurHide} >${e}</a>${l}${R}${i}`:s`${k}<button part="base" type="button" ?disabled=${this.disabled} aria-disabled=${this.disabled?"true":"false"} aria-label=${r??n} aria-current=${this.current?"page":"false"} @mouseenter=${this.onFocusShow} @mouseleave=${this.onBlurHide} @focus=${this.onFocusShow} @blur=${this.onBlurHide} >${e}</button>${l}${R}${i}`;return s`<div class="row" part="row">${er}</div>${tr}`}};a([p()],o.prototype,"href",void 0),a([p()],o.prototype,"target",void 0),a([p()],o.prototype,"rel",void 0),a([p({attribute:"toggle-placement",reflect:!0})],o.prototype,"togglePlacement",void 0),a([p({reflect:!0})],o.prototype,"highlight",void 0),a([p({type:Boolean,reflect:!0})],o.prototype,"disabled",void 0),a([p({type:Boolean,reflect:!0})],o.prototype,"current",void 0),a([p({type:Boolean,reflect:!0})],o.prototype,"tooltip",void 0),a([p({type:Boolean,attribute:"top-layer",reflect:!0})],o.prototype,"topLayer",void 0),a([g()],o.prototype,"railTopLayer",void 0),a([p({type:Boolean,reflect:!0})],o.prototype,"expanded",null),a([g()],o.prototype,"showTooltip",void 0);export{o as a};
|