From 22c3c1506d0d4ce696cd4fca3718bbcad70322f2 Mon Sep 17 00:00:00 2001 From: renet <1551001+renet@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:41:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20emdgroup?= =?UTF-8?q?-liquid/liquid@71eb431510abf0374b3a46be4e196dfd1ca53d5d=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1704966176737/css_components/ld-crumb.css | 1 - 1704966176737/dist/build/liquid.esm.js | 2 - 1704966176737/dist/build/liquid.esm.js.map | 1 - .../dist/build/p-00dcb85b.entry.js.map | 1 - .../dist/build/p-065e1cbd.entry.js.map | 1 - 1704966176737/dist/build/p-0751677e.entry.js | 2 - .../dist/build/p-0751677e.entry.js.map | 1 - 1704966176737/dist/build/p-084c417e.entry.js | 2 - .../dist/build/p-084c417e.entry.js.map | 1 - 1704966176737/dist/build/p-0cff3d08.entry.js | 2 - .../dist/build/p-0cff3d08.entry.js.map | 1 - 1704966176737/dist/build/p-108eca21.entry.js | 2 - .../dist/build/p-108eca21.entry.js.map | 1 - 1704966176737/dist/build/p-112455b1.js | 2 - .../dist/build/p-18028a34.entry.js.map | 1 - 1704966176737/dist/build/p-1813e3df.entry.js | 2 - .../dist/build/p-1813e3df.entry.js.map | 1 - .../dist/build/p-1c01ac4e.entry.js.map | 1 - 1704966176737/dist/build/p-1ff9802e.entry.js | 2 - .../dist/build/p-1ff9802e.entry.js.map | 1 - 1704966176737/dist/build/p-21a69c18.js | 3 -- 1704966176737/dist/build/p-21a69c18.js.map | 1 - .../dist/build/p-21c59b99.entry.js.map | 1 - 1704966176737/dist/build/p-236dbb56.entry.js | 2 - .../dist/build/p-236dbb56.entry.js.map | 1 - 1704966176737/dist/build/p-24dedd5e.entry.js | 2 - .../dist/build/p-24dedd5e.entry.js.map | 1 - .../dist/build/p-2dcf38f5.entry.js.map | 1 - 1704966176737/dist/build/p-2f76f5f2.entry.js | 2 - .../dist/build/p-2f76f5f2.entry.js.map | 1 - 1704966176737/dist/build/p-34dc80c9.entry.js | 2 - .../dist/build/p-34dc80c9.entry.js.map | 1 - .../dist/build/p-36bbded8.entry.js.map | 1 - 1704966176737/dist/build/p-385d2a88.entry.js | 2 - .../dist/build/p-385d2a88.entry.js.map | 1 - 1704966176737/dist/build/p-3a42d32d.entry.js | 2 - .../dist/build/p-3a42d32d.entry.js.map | 1 - 1704966176737/dist/build/p-3aadade1.entry.js | 2 - .../dist/build/p-3aadade1.entry.js.map | 1 - .../dist/build/p-3b79636e.entry.js.map | 1 - .../dist/build/p-40a74ea6.entry.js.map | 1 - .../dist/build/p-42bd57e0.entry.js.map | 1 - 1704966176737/dist/build/p-430fe27d.entry.js | 2 - .../dist/build/p-430fe27d.entry.js.map | 1 - 1704966176737/dist/build/p-43a7d779.entry.js | 2 - .../dist/build/p-43a7d779.entry.js.map | 1 - 1704966176737/dist/build/p-47f9082b.entry.js | 2 - .../dist/build/p-47f9082b.entry.js.map | 1 - .../dist/build/p-488f0189.entry.js.map | 1 - 1704966176737/dist/build/p-48d582a3.entry.js | 2 - .../dist/build/p-48d582a3.entry.js.map | 1 - 1704966176737/dist/build/p-49b9f144.js.map | 1 - .../dist/build/p-4a9a72a7.entry.js.map | 1 - 1704966176737/dist/build/p-6191a5f8.entry.js | 2 - .../dist/build/p-6191a5f8.entry.js.map | 1 - 1704966176737/dist/build/p-62594aee.entry.js | 2 - .../dist/build/p-62594aee.entry.js.map | 1 - 1704966176737/dist/build/p-6378f694.entry.js | 2 - .../dist/build/p-6378f694.entry.js.map | 1 - .../dist/build/p-6443c1fe.entry.js.map | 1 - .../dist/build/p-699b0a42.entry.js.map | 1 - 1704966176737/dist/build/p-6d64a66c.entry.js | 2 - .../dist/build/p-6d64a66c.entry.js.map | 1 - .../dist/build/p-6f1c0dce.entry.js.map | 1 - 1704966176737/dist/build/p-6fdf0745.entry.js | 2 - .../dist/build/p-6fdf0745.entry.js.map | 1 - 1704966176737/dist/build/p-7161caa6.entry.js | 2 - .../dist/build/p-7161caa6.entry.js.map | 1 - 1704966176737/dist/build/p-71d931bf.entry.js | 2 - .../dist/build/p-71d931bf.entry.js.map | 1 - 1704966176737/dist/build/p-73303dba.entry.js | 2 - .../dist/build/p-73303dba.entry.js.map | 1 - .../dist/build/p-760822ab.entry.js.map | 1 - 1704966176737/dist/build/p-79ffd165.entry.js | 2 - .../dist/build/p-79ffd165.entry.js.map | 1 - .../dist/build/p-7ecbe9da.entry.js.map | 1 - 1704966176737/dist/build/p-7ef0fda6.entry.js | 2 - .../dist/build/p-7ef0fda6.entry.js.map | 1 - .../dist/build/p-7f19e682.entry.js.map | 1 - .../dist/build/p-8157d479.entry.js.map | 1 - .../dist/build/p-890d5ddc.entry.js.map | 1 - 1704966176737/dist/build/p-94719925.entry.js | 2 - .../dist/build/p-94719925.entry.js.map | 1 - .../dist/build/p-9833ecb4.entry.js.map | 1 - 1704966176737/dist/build/p-98b11beb.entry.js | 2 - .../dist/build/p-98b11beb.entry.js.map | 1 - 1704966176737/dist/build/p-99899d8a.entry.js | 2 - .../dist/build/p-99899d8a.entry.js.map | 1 - .../dist/build/p-9dc79166.entry.js.map | 1 - .../dist/build/p-9eccdd55.entry.js.map | 1 - .../dist/build/p-a088f7d3.entry.js.map | 1 - .../dist/build/p-a4360635.entry.js.map | 1 - 1704966176737/dist/build/p-a5f4b2c5.entry.js | 2 - .../dist/build/p-a5f4b2c5.entry.js.map | 1 - .../dist/build/p-ad64dade.entry.js.map | 1 - 1704966176737/dist/build/p-b2dd29b5.entry.js | 2 - .../dist/build/p-b2dd29b5.entry.js.map | 1 - 1704966176737/dist/build/p-b5ea1bc0.entry.js | 2 - .../dist/build/p-b5ea1bc0.entry.js.map | 1 - .../dist/build/p-b6223ce4.entry.js.map | 1 - .../dist/build/p-bb2b75da.entry.js.map | 1 - 1704966176737/dist/build/p-bc9ce66e.entry.js | 2 - .../dist/build/p-bc9ce66e.entry.js.map | 1 - 1704966176737/dist/build/p-c170dd3c.entry.js | 2 - .../dist/build/p-c170dd3c.entry.js.map | 1 - 1704966176737/dist/build/p-c2112f1e.js | 4 -- 1704966176737/dist/build/p-c2112f1e.js.map | 1 - 1704966176737/dist/build/p-c34a6e59.entry.js | 2 - .../dist/build/p-c34a6e59.entry.js.map | 1 - 1704966176737/dist/build/p-c4ae61a1.entry.js | 2 - .../dist/build/p-c4ae61a1.entry.js.map | 1 - 1704966176737/dist/build/p-c5fe7236.entry.js | 2 - .../dist/build/p-c5fe7236.entry.js.map | 1 - .../dist/build/p-c79ebadf.entry.js.map | 1 - .../dist/build/p-c8998fe6.entry.js.map | 1 - .../dist/build/p-cbbb0672.entry.js.map | 1 - 1704966176737/dist/build/p-cf5797c3.entry.js | 2 - .../dist/build/p-cf5797c3.entry.js.map | 1 - .../dist/build/p-d05ada8a.entry.js.map | 1 - .../dist/build/p-d29aae54.entry.js.map | 1 - .../dist/build/p-d426b460.entry.js.map | 1 - .../dist/build/p-d45e8f89.entry.js.map | 1 - 1704966176737/dist/build/p-d630f46e.entry.js | 2 - .../dist/build/p-d630f46e.entry.js.map | 1 - 1704966176737/dist/build/p-d73a1df9.entry.js | 2 - .../dist/build/p-d73a1df9.entry.js.map | 1 - 1704966176737/dist/build/p-d7b432ae.entry.js | 2 - .../dist/build/p-d7b432ae.entry.js.map | 1 - 1704966176737/dist/build/p-d833bc8b.entry.js | 27 ----------- .../dist/build/p-d833bc8b.entry.js.map | 1 - .../dist/build/p-db6c1ebb.entry.js.map | 1 - .../dist/build/p-dce80f80.entry.js.map | 1 - 1704966176737/dist/build/p-ddad1f31.entry.js | 2 - .../dist/build/p-ddad1f31.entry.js.map | 1 - .../dist/build/p-ddb0738a.entry.js.map | 1 - 1704966176737/dist/build/p-de51c23f.entry.js | 2 - .../dist/build/p-de51c23f.entry.js.map | 1 - .../dist/build/p-e304d827.entry.js.map | 1 - .../dist/build/p-e4ded3bc.entry.js.map | 1 - 1704966176737/dist/build/p-e64a3ea9.entry.js | 2 - .../dist/build/p-e64a3ea9.entry.js.map | 1 - 1704966176737/dist/build/p-ee2a2191.entry.js | 2 - .../dist/build/p-ee2a2191.entry.js.map | 1 - .../dist/build/p-ee7d1073.entry.js.map | 1 - 1704966176737/dist/build/p-f962b3cd.entry.js | 2 - .../dist/build/p-f962b3cd.entry.js.map | 1 - 1704966176737/dist/build/p-fff65bfe.entry.js | 2 - .../dist/build/p-fff65bfe.entry.js.map | 1 - .../assets/android-chrome-192x192.png | Bin .../assets/android-chrome-512x512.png | Bin .../assets/animations/burger-cross.json | 0 .../assets/animations/comment.json | 0 .../assets/animations/download.json | 0 .../assets/animations/export.json | 0 .../assets/animations/eye.json | 0 .../assets/animations/mute.json | 0 .../animations/notification-number.json | 0 .../assets/animations/notification.json | 0 .../assets/animations/play.json | 0 .../assets/animations/refresh.json | 0 .../assets/animations/search.json | 0 .../assets/animations/test-tube.json | 0 .../assets/animations/trash.json | 0 .../assets/animations/upload.json | 0 .../assets/animations/warning.json | 0 .../assets/apple-touch-icon.png | Bin .../assets/browserconfig.xml | 0 .../assets/examples/numerals.json | 0 .../assets/examples/periodicTable.json | 0 .../assets/favicon-16x16.png | Bin .../assets/favicon-32x32.png | Bin .../assets/favicon.ico | Bin .../assets/mstile-144x144.png | Bin .../assets/mstile-150x150.png | Bin .../assets/mstile-310x150.png | Bin .../assets/mstile-310x310.png | Bin .../assets/mstile-70x70.png | Bin .../assets/safari-pinned-tab.svg | 0 .../assets/site.webmanifest | 0 .../ld-accordion-panel.shadow.css | 0 .../ld-accordion-section.shadow.css | 0 .../ld-accordion-toggle.shadow.css | 0 .../css_components/ld-accordion.shadow.css | 0 .../css_components/ld-badge.css | 0 .../css_components/ld-bg-cells.css | 0 .../css_components/ld-breadcrumbs.css | 0 .../css_components/ld-button.css | 0 .../css_components/ld-card-stack.css | 0 .../css_components/ld-card.css | 0 .../css_components/ld-checkbox.css | 0 .../css_components/ld-circular-progress.css | 0 .../css_components/ld-context-menu.shadow.css | 0 .../ld-cookie-consent.shadow.css | 0 1710779772648/css_components/ld-crumb.css | 1 + .../css_components/ld-header.css | 0 .../css_components/ld-icon.css | 0 .../css_components/ld-input-message.css | 0 .../css_components/ld-input.css | 0 .../css_components/ld-label.css | 0 .../css_components/ld-link.css | 0 .../css_components/ld-loading.css | 0 .../css_components/ld-menu.css | 0 .../css_components/ld-menuitem-group.css | 0 .../css_components/ld-menuitem.css | 0 .../css_components/ld-modal.css | 0 .../css_components/ld-notice.css | 0 .../css_components/ld-notification.shadow.css | 0 .../ld-optgroup-internal.shadow.css | 0 .../css_components/ld-optgroup.shadow.css | 0 .../ld-option-internal.shadow.css | 0 .../css_components/ld-option.shadow.css | 0 .../css_components/ld-pagination.shadow.css | 0 .../css_components/ld-progress.css | 0 .../css_components/ld-radio.css | 0 .../ld-select-popper.shadow.css | 0 .../css_components/ld-select.css | 0 .../ld-sidenav-accordion.shadow.css | 0 .../css_components/ld-sidenav-back.shadow.css | 0 .../ld-sidenav-header.shadow.css | 0 .../ld-sidenav-heading.shadow.css | 0 .../ld-sidenav-navitem.shadow.css | 0 .../ld-sidenav-scroller-internal.shadow.css | 0 .../ld-sidenav-separator.shadow.css | 0 .../ld-sidenav-slider.shadow.css | 0 .../ld-sidenav-subnav.shadow.css | 0 .../ld-sidenav-toggle-outside.shadow.css | 0 .../css_components/ld-sidenav.shadow.css | 0 .../css_components/ld-slider.shadow.css | 0 .../css_components/ld-sr-live.shadow.css | 0 .../css_components/ld-sr-only.css | 0 .../css_components/ld-step.css | 0 .../css_components/ld-stepper.css | 0 .../css_components/ld-switch-item.css | 0 .../css_components/ld-switch.css | 0 .../css_components/ld-tab.shadow.css | 0 .../css_components/ld-table-body.shadow.css | 0 .../ld-table-caption.shadow.css | 0 .../css_components/ld-table-cell.shadow.css | 0 .../css_components/ld-table-col.shadow.css | 0 .../ld-table-colgroup.shadow.css | 0 .../css_components/ld-table-foot.shadow.css | 0 .../css_components/ld-table-head.shadow.css | 0 .../css_components/ld-table-header.shadow.css | 0 .../css_components/ld-table-row.shadow.css | 0 .../ld-table-toolbar.shadow.css | 0 .../css_components/ld-table.css | 0 .../css_components/ld-tablist.shadow.css | 0 .../css_components/ld-tabpanel.shadow.css | 0 .../css_components/ld-tabpanellist.shadow.css | 0 .../css_components/ld-tabs.shadow.css | 0 .../css_components/ld-toggle.css | 0 .../ld-tooltip-popper.shadow.css | 0 .../css_components/ld-tooltip.shadow.css | 0 .../css_components/ld-typo.css | 0 .../dist/build/assets/3d.svg | 0 .../dist/build/assets/add-icon.svg | 0 .../dist/build/assets/add.svg | 0 .../dist/build/assets/arrow-double-left.svg | 0 .../dist/build/assets/arrow-double-right.svg | 0 .../dist/build/assets/arrow-down.svg | 0 .../dist/build/assets/arrow-left.svg | 0 .../dist/build/assets/arrow-right.svg | 0 .../dist/build/assets/arrow-up-n-down.svg | 0 .../dist/build/assets/arrow-up.svg | 0 .../dist/build/assets/atom.svg | 0 .../dist/build/assets/attention.svg | 0 .../dist/build/assets/audio.svg | 0 .../dist/build/assets/baby.svg | 0 .../dist/build/assets/back.svg | 0 .../build/assets/bacteria-microscope-view.svg | 0 .../dist/build/assets/basket.svg | 0 .../dist/build/assets/battery-empty.svg | 0 .../dist/build/assets/battery-full.svg | 0 .../dist/build/assets/battery-half.svg | 0 .../dist/build/assets/battery-low.svg | 0 .../dist/build/assets/battery.svg | 0 .../dist/build/assets/beaker.svg | 0 .../dist/build/assets/beard.svg | 0 .../dist/build/assets/bell.svg | 0 .../dist/build/assets/big-cross.svg | 0 .../dist/build/assets/bin.svg | 0 .../dist/build/assets/bioreliance-cell.svg | 0 .../dist/build/assets/bitcoin.svg | 0 .../dist/build/assets/bottle.svg | 0 .../dist/build/assets/bottom-left.svg | 0 .../dist/build/assets/bottom-right.svg | 0 .../dist/build/assets/bulb.svg | 0 .../dist/build/assets/burger-menu.svg | 0 .../dist/build/assets/burger.svg | 0 .../dist/build/assets/cabriolet.svg | 0 .../dist/build/assets/calendar.svg | 0 .../dist/build/assets/camcorder.svg | 0 .../dist/build/assets/camera.svg | 0 .../dist/build/assets/car.svg | 0 .../dist/build/assets/cards.svg | 0 .../dist/build/assets/chat.svg | 0 .../dist/build/assets/checkmark.svg | 0 .../build/assets/chevron-components-dark.svg | 0 .../build/assets/chevron-components-light.svg | 0 .../chevron-data-visualization-dark.svg | 0 .../chevron-data-visualization-light.svg | 0 .../build/assets/chevron-globals-dark.svg | 0 .../build/assets/chevron-globals-light.svg | 0 .../dist/build/assets/chevron-guides-dark.svg | 0 .../build/assets/chevron-guides-light.svg | 0 .../assets/chevron-introduction-dark.svg | 0 .../assets/chevron-introduction-light.svg | 0 .../dist/build/assets/choir.svg | 0 .../dist/build/assets/clip.svg | 0 .../dist/build/assets/clock.svg | 0 .../dist/build/assets/cloud-download.svg | 0 .../dist/build/assets/cloud-upload.svg | 0 .../dist/build/assets/cloud.svg | 0 .../dist/build/assets/coffee.svg | 0 .../dist/build/assets/components.svg | 0 .../dist/build/assets/control.svg | 0 .../dist/build/assets/conversation.svg | 0 .../dist/build/assets/copy.svg | 0 .../dist/build/assets/cost-center.svg | 0 .../dist/build/assets/coupon.svg | 0 .../dist/build/assets/credit-card.svg | 0 .../dist/build/assets/cross.svg | 0 .../dist/build/assets/dashboard.svg | 0 .../dist/build/assets/data-storage.svg | 0 .../dist/build/assets/data-visualization.svg | 0 .../dist/build/assets/dna.svg | 0 .../dist/build/assets/documents-storage.svg | 0 .../dist/build/assets/documents.svg | 0 .../dist/build/assets/dollar.svg | 0 .../dist/build/assets/donut.svg | 0 .../dist/build/assets/dot.svg | 0 .../dist/build/assets/dots.svg | 0 .../dist/build/assets/download.svg | 0 .../dist/build/assets/eco.svg | 0 .../dist/build/assets/education.svg | 0 .../dist/build/assets/electric-car.svg | 0 .../dist/build/assets/energy.svg | 0 .../dist/build/assets/euro.svg | 0 .../dist/build/assets/external-export.svg | 0 .../dist/build/assets/f-cell.svg | 0 .../dist/build/assets/fast-forward.svg | 0 .../dist/build/assets/favorite.svg | 0 .../dist/build/assets/figma.svg | 0 .../dist/build/assets/files.svg | 0 .../dist/build/assets/filter.svg | 0 .../dist/build/assets/finance.svg | 0 .../dist/build/assets/first-aid.svg | 0 .../dist/build/assets/flask.svg | 0 .../dist/build/assets/football.svg | 0 .../dist/build/assets/gamepad.svg | 0 .../dist/build/assets/github.svg | 0 .../dist/build/assets/globals.svg | 0 .../dist/build/assets/guides.svg | 0 .../dist/build/assets/half-dot.svg | 0 .../dist/build/assets/half-star.svg | 0 .../dist/build/assets/hexagon-cell.svg | 0 .../dist/build/assets/house.svg | 0 .../dist/build/assets/hyperlink.svg | 0 .../dist/build/assets/info-mark.svg | 0 .../dist/build/assets/info.svg | 0 .../dist/build/assets/initial-m.svg | 0 .../dist/build/assets/introduction.svg | 0 .../dist/build/assets/jpeg.svg | 0 .../dist/build/assets/keys.svg | 0 .../dist/build/assets/laptop-mobile.svg | 0 .../dist/build/assets/laptop.svg | 0 .../dist/build/assets/layer.svg | 0 .../build/assets/ld-input-message-error.svg | 0 .../build/assets/ld-input-message-info.svg | 0 .../build/assets/ld-input-message-success.svg | 0 .../build/assets/ld-input-message-valid.svg | 0 .../build/assets/ld-input-message-warning.svg | 0 .../dist/build/assets/list.svg | 0 .../dist/build/assets/location.svg | 0 .../dist/build/assets/lock-save.svg | 0 .../dist/build/assets/logistic.svg | 0 .../dist/build/assets/logo.svg | 0 .../dist/build/assets/m-card.svg | 0 .../dist/build/assets/magnifier.svg | 0 .../dist/build/assets/mail.svg | 0 .../dist/build/assets/matryoshka.svg | 0 .../dist/build/assets/mdo-cell.svg | 0 .../dist/build/assets/medical-file.svg | 0 .../dist/build/assets/medicine.svg | 0 .../dist/build/assets/meetup.svg | 0 .../dist/build/assets/mic.svg | 0 .../dist/build/assets/microscope.svg | 0 .../dist/build/assets/millipore-cell.svg | 0 .../dist/build/assets/milliq-cell.svg | 0 .../dist/build/assets/minus.svg | 0 .../dist/build/assets/mobile.svg | 0 .../dist/build/assets/money.svg | 0 .../dist/build/assets/monitor.svg | 0 .../dist/build/assets/monkey.svg | 0 .../dist/build/assets/navigator.svg | 0 .../dist/build/assets/o-cell.svg | 0 .../dist/build/assets/option-h.svg | 0 .../dist/build/assets/option-v.svg | 0 .../dist/build/assets/option.svg | 0 .../dist/build/assets/pause.svg | 0 .../dist/build/assets/pdf.svg | 0 .../dist/build/assets/pen.svg | 0 .../dist/build/assets/phone.svg | 0 .../dist/build/assets/pill.svg | 0 .../dist/build/assets/pipette.svg | 0 .../dist/build/assets/pisces.svg | 0 .../dist/build/assets/placeholder.svg | 0 .../dist/build/assets/plane.svg | 0 .../dist/build/assets/plant.svg | 0 .../dist/build/assets/play.svg | 0 .../dist/build/assets/plus.svg | 0 .../dist/build/assets/pound.svg | 0 .../dist/build/assets/pretzel.svg | 0 .../dist/build/assets/print.svg | 0 .../dist/build/assets/pulse.svg | 0 .../dist/build/assets/puzzle.svg | 0 .../dist/build/assets/real-arrow-down.svg | 0 .../dist/build/assets/real-arrow-left.svg | 0 .../dist/build/assets/real-arrow-right.svg | 0 .../dist/build/assets/real-arrow-up.svg | 0 .../dist/build/assets/real-arrow.svg | 0 .../dist/build/assets/refresh.svg | 0 .../dist/build/assets/remove-icon.svg | 0 .../dist/build/assets/remove.svg | 0 .../dist/build/assets/repost.svg | 0 .../dist/build/assets/rewind.svg | 0 .../dist/build/assets/rocket.svg | 0 .../dist/build/assets/safc-cell.svg | 0 .../dist/build/assets/san-francisco.svg | 0 .../dist/build/assets/satelite.svg | 0 .../dist/build/assets/savings.svg | 0 .../dist/build/assets/scientific-paper.svg | 0 .../dist/build/assets/scissors.svg | 0 .../dist/build/assets/secure-conncetion.svg | 0 .../dist/build/assets/security.svg | 0 .../dist/build/assets/settings.svg | 0 .../dist/build/assets/share.svg | 0 .../dist/build/assets/shield.svg | 0 .../dist/build/assets/sidenav-left.svg | 0 .../dist/build/assets/sidenav-right.svg | 0 .../dist/build/assets/sigma-aldrich-cell.svg | 0 .../dist/build/assets/sock.svg | 0 .../dist/build/assets/solar-power.svg | 0 .../dist/build/assets/star.svg | 0 .../dist/build/assets/stethoscope.svg | 0 .../dist/build/assets/stop.svg | 0 .../dist/build/assets/supelco-cell.svg | 0 .../dist/build/assets/syringe.svg | 0 .../dist/build/assets/t-cell.svg | 0 .../dist/build/assets/tea-pot.svg | 0 .../dist/build/assets/test-tube.svg | 0 .../dist/build/assets/tile-cell.svg | 0 .../dist/build/assets/top-left.svg | 0 .../dist/build/assets/top-right.svg | 0 .../dist/build/assets/truck.svg | 0 .../dist/build/assets/upload.svg | 0 .../dist/build/assets/user.svg | 0 .../dist/build/assets/ux.svg | 0 .../dist/build/assets/virus.svg | 0 .../dist/build/assets/visibility.svg | 0 .../dist/build/assets/vr.svg | 0 .../dist/build/assets/watch.svg | 0 .../dist/build/assets/website.svg | 0 .../dist/build/assets/wi-fi.svg | 0 .../dist/build/assets/world.svg | 0 .../dist/build/assets/youtube.svg | 0 .../dist/build/assets/zip.svg | 0 .../dist/build/index.esm.js | 0 .../dist/build/index.esm.js.map | 0 .../dist/build/liquid.css | 0 1710779772648/dist/build/liquid.esm.js | 2 + 1710779772648/dist/build/liquid.esm.js.map | 1 + .../dist/build/liquid.js | 0 1710779772648/dist/build/p-06f5228d.entry.js | 2 + .../dist/build/p-06f5228d.entry.js.map | 1 + .../dist/build/p-09d931ca.entry.js | 4 +- .../dist/build/p-09d931ca.entry.js.map | 1 + .../dist/build/p-0bae5966.entry.js | 4 +- .../dist/build/p-0bae5966.entry.js.map | 1 + .../dist/build/p-0cd46190.js | 0 .../dist/build/p-0cd46190.js.map | 0 1710779772648/dist/build/p-0e383aff.entry.js | 2 + .../dist/build/p-0e383aff.entry.js.map | 1 + 1710779772648/dist/build/p-0f18d9f2.entry.js | 2 + .../dist/build/p-0f18d9f2.entry.js.map | 1 + .../dist/build/p-1133c92e.js | 0 .../dist/build/p-1133c92e.js.map | 0 .../dist/build/p-13321cdc.entry.js | 4 +- .../dist/build/p-13321cdc.entry.js.map | 1 + 1710779772648/dist/build/p-13da50e8.entry.js | 27 +++++++++++ .../dist/build/p-13da50e8.entry.js.map | 1 + 1710779772648/dist/build/p-14b8196f.entry.js | 3 ++ .../dist/build/p-14b8196f.entry.js.map | 1 + 1710779772648/dist/build/p-159e98a7.entry.js | 2 + .../dist/build/p-159e98a7.entry.js.map | 1 + 1710779772648/dist/build/p-16901e9d.entry.js | 2 + .../dist/build/p-16901e9d.entry.js.map | 1 + .../dist/build/p-19777729.entry.js | 4 +- .../dist/build/p-19777729.entry.js.map | 1 + 1710779772648/dist/build/p-19a81f5f.entry.js | 2 + .../dist/build/p-19a81f5f.entry.js.map | 1 + .../dist/build/p-1aab44cc.entry.js | 4 +- .../dist/build/p-1aab44cc.entry.js.map | 1 + .../dist/build/p-1cc43429.js | 4 +- 1710779772648/dist/build/p-1cc43429.js.map | 1 + 1710779772648/dist/build/p-223f4e15.entry.js | 2 + .../dist/build/p-223f4e15.entry.js.map | 1 + 1710779772648/dist/build/p-23715b11.entry.js | 2 + .../dist/build/p-23715b11.entry.js.map | 1 + .../dist/build/p-268bc4c4.entry.js | 4 +- .../dist/build/p-268bc4c4.entry.js.map | 1 + 1710779772648/dist/build/p-2b1eca49.entry.js | 2 + .../dist/build/p-2b1eca49.entry.js.map | 1 + .../dist/build/p-2cb75c45.entry.js | 4 +- .../dist/build/p-2cb75c45.entry.js.map | 1 + 1710779772648/dist/build/p-2d7b4d87.entry.js | 2 + .../dist/build/p-2d7b4d87.entry.js.map | 1 + .../dist/build/p-2f695d4a.js | 0 .../dist/build/p-2f695d4a.js.map | 0 1710779772648/dist/build/p-3458c984.entry.js | 2 + .../dist/build/p-3458c984.entry.js.map | 1 + 1710779772648/dist/build/p-36abb737.entry.js | 2 + .../dist/build/p-36abb737.entry.js.map | 1 + .../dist/build/p-3b9ffc24.entry.js | 4 +- .../dist/build/p-3b9ffc24.entry.js.map | 1 + .../dist/build/p-3cad1b1c.entry.js | 4 +- .../dist/build/p-3cad1b1c.entry.js.map | 1 + 1710779772648/dist/build/p-3cbbce85.js | 3 ++ 1710779772648/dist/build/p-3cbbce85.js.map | 1 + 1710779772648/dist/build/p-3f3eb280.entry.js | 2 + .../dist/build/p-3f3eb280.entry.js.map | 1 + 1710779772648/dist/build/p-401d9e4d.entry.js | 2 + .../dist/build/p-401d9e4d.entry.js.map | 1 + 1710779772648/dist/build/p-42bf44dc.entry.js | 2 + .../dist/build/p-42bf44dc.entry.js.map | 1 + 1710779772648/dist/build/p-4573c419.js | 2 + .../dist/build/p-4573c419.js.map | 0 .../dist/build/p-488fe896.entry.js | 4 +- .../dist/build/p-488fe896.entry.js.map | 1 + 1710779772648/dist/build/p-4caf68b3.entry.js | 2 + .../dist/build/p-4caf68b3.entry.js.map | 1 + 1710779772648/dist/build/p-4d261cf8.entry.js | 2 + .../dist/build/p-4d261cf8.entry.js.map | 1 + 1710779772648/dist/build/p-4e66fe11.entry.js | 2 + .../dist/build/p-4e66fe11.entry.js.map | 1 + .../dist/build/p-507890ec.entry.js | 4 +- .../dist/build/p-507890ec.entry.js.map | 1 + .../dist/build/p-51003a61.entry.js | 4 +- .../dist/build/p-51003a61.entry.js.map | 1 + 1710779772648/dist/build/p-541b897b.entry.js | 2 + .../dist/build/p-541b897b.entry.js.map | 1 + 1710779772648/dist/build/p-543ffac2.entry.js | 2 + .../dist/build/p-543ffac2.entry.js.map | 1 + 1710779772648/dist/build/p-54a92023.entry.js | 2 + .../dist/build/p-54a92023.entry.js.map | 1 + 1710779772648/dist/build/p-57301e36.entry.js | 2 + .../dist/build/p-57301e36.entry.js.map | 1 + 1710779772648/dist/build/p-58c512bb.entry.js | 2 + .../dist/build/p-58c512bb.entry.js.map | 1 + .../dist/build/p-59eb2d54.entry.js | 4 +- .../dist/build/p-59eb2d54.entry.js.map | 1 + .../dist/build/p-5c1c465e.entry.js | 4 +- .../dist/build/p-5c1c465e.entry.js.map | 1 + .../dist/build/p-5ccb7c35.entry.js | 4 +- .../dist/build/p-5ccb7c35.entry.js.map | 1 + .../dist/build/p-5ded3218.entry.js | 4 +- .../dist/build/p-5ded3218.entry.js.map | 1 + 1710779772648/dist/build/p-640b1202.entry.js | 2 + .../dist/build/p-640b1202.entry.js.map | 1 + .../dist/build/p-6756ef6a.entry.js | 4 +- .../dist/build/p-6756ef6a.entry.js.map | 1 + .../dist/build/p-6a67620b.entry.js | 4 +- .../dist/build/p-6a67620b.entry.js.map | 1 + .../dist/build/p-6b65c39b.entry.js | 4 +- .../dist/build/p-6b65c39b.entry.js.map | 1 + .../dist/build/p-6da9b813.entry.js | 4 +- .../dist/build/p-6da9b813.entry.js.map | 1 + 1710779772648/dist/build/p-6dde4be8.entry.js | 2 + .../dist/build/p-6dde4be8.entry.js.map | 1 + .../dist/build/p-6e5841ef.js | 0 .../dist/build/p-6e5841ef.js.map | 0 .../dist/build/p-6f9b9619.js | 0 .../dist/build/p-6f9b9619.js.map | 0 .../dist/build/p-701e5d27.entry.js | 4 +- .../dist/build/p-701e5d27.entry.js.map | 1 + .../dist/build/p-70bd1dc4.entry.js | 4 +- .../dist/build/p-70bd1dc4.entry.js.map | 1 + 1710779772648/dist/build/p-70ddb926.entry.js | 2 + .../dist/build/p-70ddb926.entry.js.map | 1 + .../dist/build/p-71026bf3.js | 0 .../dist/build/p-71026bf3.js.map | 0 .../dist/build/p-78276c48.entry.js | 4 +- .../dist/build/p-78276c48.entry.js.map | 1 + 1710779772648/dist/build/p-7f2ee350.entry.js | 2 + .../dist/build/p-7f2ee350.entry.js.map | 1 + 1710779772648/dist/build/p-8244cd31.entry.js | 2 + .../dist/build/p-8244cd31.entry.js.map | 1 + .../dist/build/p-8587f5f1.entry.js | 4 +- .../dist/build/p-8587f5f1.entry.js.map | 1 + .../dist/build/p-884f62d2.entry.js | 4 +- .../dist/build/p-884f62d2.entry.js.map | 1 + .../dist/build/p-8dc70a87.js | 0 .../dist/build/p-8dc70a87.js.map | 0 .../dist/build/p-8ee2925a.entry.js | 4 +- .../dist/build/p-8ee2925a.entry.js.map | 1 + .../dist/build/p-97283ab0.entry.js | 4 +- .../dist/build/p-97283ab0.entry.js.map | 1 + .../dist/build/p-97ce1d7c.entry.js | 4 +- .../dist/build/p-97ce1d7c.entry.js.map | 1 + .../dist/build/p-98010be8.js | 0 .../dist/build/p-98010be8.js.map | 0 1710779772648/dist/build/p-98d36d4e.entry.js | 2 + .../dist/build/p-98d36d4e.entry.js.map | 1 + 1710779772648/dist/build/p-9d00deea.entry.js | 2 + .../dist/build/p-9d00deea.entry.js.map | 1 + .../dist/build/p-9ed7e5f7.entry.js | 4 +- .../dist/build/p-9ed7e5f7.entry.js.map | 1 + .../dist/build/p-9ffc5acd.entry.js | 4 +- .../dist/build/p-9ffc5acd.entry.js.map | 1 + 1710779772648/dist/build/p-a146916f.entry.js | 2 + .../dist/build/p-a146916f.entry.js.map | 1 + .../dist/build/p-a6b66f79.entry.js | 4 +- .../dist/build/p-a6b66f79.entry.js.map | 1 + 1710779772648/dist/build/p-b0301733.entry.js | 2 + .../dist/build/p-b0301733.entry.js.map | 1 + .../dist/build/p-b05f0e4e.js | 0 .../dist/build/p-b05f0e4e.js.map | 0 .../dist/build/p-b3cb65ec.entry.js | 4 +- .../dist/build/p-b3cb65ec.entry.js.map | 1 + 1710779772648/dist/build/p-b4502394.entry.js | 2 + .../dist/build/p-b4502394.entry.js.map | 1 + .../dist/build/p-b63d86f3.entry.js | 4 +- .../dist/build/p-b63d86f3.entry.js.map | 1 + 1710779772648/dist/build/p-b6f4756d.entry.js | 2 + .../dist/build/p-b6f4756d.entry.js.map | 1 + 1710779772648/dist/build/p-b82f54f4.js | 3 ++ 1710779772648/dist/build/p-b82f54f4.js.map | 1 + 1710779772648/dist/build/p-b90f8ecd.entry.js | 2 + .../dist/build/p-b90f8ecd.entry.js.map | 1 + 1710779772648/dist/build/p-beda3299.entry.js | 2 + .../dist/build/p-beda3299.entry.js.map | 1 + .../dist/build/p-c92ebe29.entry.js | 4 +- .../dist/build/p-c92ebe29.entry.js.map | 1 + .../dist/build/p-cb0f6dd4.entry.js | 4 +- .../dist/build/p-cb0f6dd4.entry.js.map | 1 + 1710779772648/dist/build/p-d2287ea8.entry.js | 2 + .../dist/build/p-d2287ea8.entry.js.map | 1 + .../dist/build/p-db30d2eb.js | 0 .../dist/build/p-db30d2eb.js.map | 0 1710779772648/dist/build/p-de752c6e.entry.js | 2 + .../dist/build/p-de752c6e.entry.js.map | 1 + 1710779772648/dist/build/p-df656338.entry.js | 2 + .../dist/build/p-df656338.entry.js.map | 1 + 1710779772648/dist/build/p-df8085f0.entry.js | 2 + .../dist/build/p-df8085f0.entry.js.map | 1 + .../dist/build/p-e0142080.entry.js | 4 +- .../dist/build/p-e0142080.entry.js.map | 1 + 1710779772648/dist/build/p-e1255160.js | 2 + 1710779772648/dist/build/p-e1255160.js.map | 1 + 1710779772648/dist/build/p-e217c607.entry.js | 2 + .../dist/build/p-e217c607.entry.js.map | 1 + 1710779772648/dist/build/p-e5bdc70e.entry.js | 2 + .../dist/build/p-e5bdc70e.entry.js.map | 1 + .../dist/build/p-ebb9aed7.entry.js | 4 +- .../dist/build/p-ebb9aed7.entry.js.map | 1 + 1710779772648/dist/build/p-ef1f83c5.entry.js | 2 + .../dist/build/p-ef1f83c5.entry.js.map | 1 + .../dist/build/p-f13d3119.js | 0 .../dist/build/p-f13d3119.js.map | 0 .../dist/build/p-f18a6670.entry.js | 4 +- .../dist/build/p-f18a6670.entry.js.map | 1 + 1710779772648/dist/build/p-f22c451c.entry.js | 2 + .../dist/build/p-f22c451c.entry.js.map | 1 + 1710779772648/dist/build/p-f2528920.entry.js | 2 + .../dist/build/p-f2528920.entry.js.map | 1 + .../dist/build/p-f6f866a0.entry.js | 4 +- .../dist/build/p-f6f866a0.entry.js.map | 1 + 1710779772648/dist/build/p-f8ee5af7.entry.js | 2 + .../dist/build/p-f8ee5af7.entry.js.map | 1 + .../dist/build/p-f957bad1.entry.js | 4 +- .../dist/build/p-f957bad1.entry.js.map | 1 + .../dist/build/p-fca95527.entry.js | 4 +- .../dist/build/p-fca95527.entry.js.map | 1 + 1710779772648/dist/build/p-fee0d0b8.entry.js | 2 + .../dist/build/p-fee0d0b8.entry.js.map | 1 + .../dist/host.config.json | 0 {1704966176737 => 1710779772648}/docs.css | 0 .../liquid.global.css | 0 404.html | 22 ++++----- components/index.html | 22 ++++----- components/ld-accordion/index.html | 22 ++++----- .../ld-accordion-panel/index.html | 22 ++++----- .../ld-accordion-section/index.html | 22 ++++----- .../ld-accordion-toggle/index.html | 22 ++++----- components/ld-badge/index.html | 26 +++++------ components/ld-bg-cells/index.html | 24 +++++----- components/ld-breadcrumbs/index.html | 32 ++++++------- components/ld-breadcrumbs/ld-crumb/index.html | 24 +++++----- components/ld-button/index.html | 26 +++++------ components/ld-card/index.html | 26 +++++------ components/ld-card/ld-card-stack/index.html | 26 +++++------ components/ld-checkbox/index.html | 30 ++++++------- components/ld-circular-progress/index.html | 28 ++++++------ components/ld-context-menu/index.html | 22 ++++----- components/ld-context-menu/ld-menu/index.html | 22 ++++----- .../ld-menuitem-group/index.html | 22 ++++----- .../ld-context-menu/ld-menuitem/index.html | 22 ++++----- components/ld-cookie-consent/index.html | 22 ++++----- components/ld-header/index.html | 30 ++++++------- components/ld-icon/index.html | 24 +++++----- components/ld-input-message/index.html | 26 +++++------ components/ld-input/index.html | 32 ++++++------- components/ld-label/index.html | 34 +++++++------- components/ld-link/index.html | 28 ++++++------ components/ld-loading/index.html | 24 +++++----- components/ld-modal/index.html | 28 ++++++------ components/ld-notice/index.html | 28 ++++++------ components/ld-notification/index.html | 22 ++++----- components/ld-pagination/index.html | 22 ++++----- components/ld-progress/index.html | 26 +++++------ components/ld-radio/index.html | 30 ++++++------- components/ld-select/index.html | 30 ++++++------- components/ld-select/ld-optgroup/index.html | 22 ++++----- components/ld-select/ld-option/index.html | 22 ++++----- components/ld-sidenav/index.html | 22 ++++----- .../ld-sidenav-accordion/index.html | 22 ++++----- .../ld-sidenav/ld-sidenav-back/index.html | 22 ++++----- .../ld-sidenav/ld-sidenav-header/index.html | 22 ++++----- .../ld-sidenav/ld-sidenav-heading/index.html | 22 ++++----- .../ld-sidenav/ld-sidenav-navitem/index.html | 22 ++++----- .../ld-sidenav-separator/index.html | 22 ++++----- .../ld-sidenav/ld-sidenav-slider/index.html | 22 ++++----- .../ld-sidenav/ld-sidenav-subnav/index.html | 22 ++++----- .../ld-sidenav-toggle-outside/index.html | 22 ++++----- components/ld-slider/index.html | 24 +++++----- components/ld-sr-live/index.html | 22 ++++----- components/ld-sr-only/index.html | 24 +++++----- components/ld-stepper/index.html | 30 ++++++------- components/ld-stepper/ld-step/index.html | 22 ++++----- components/ld-switch/index.html | 28 ++++++------ .../ld-switch/ld-switch-item/index.html | 22 ++++----- .../ld-table-caption/index.html | 22 ++++----- components/ld-table/index.html | 42 +++++++++--------- components/ld-table/ld-table-body/index.html | 22 ++++----- components/ld-table/ld-table-cell/index.html | 22 ++++----- components/ld-table/ld-table-col/index.html | 22 ++++----- .../ld-table/ld-table-colgroup/index.html | 22 ++++----- components/ld-table/ld-table-foot/index.html | 22 ++++----- components/ld-table/ld-table-head/index.html | 22 ++++----- .../ld-table/ld-table-header/index.html | 22 ++++----- components/ld-table/ld-table-row/index.html | 22 ++++----- .../ld-table/ld-table-toolbar/index.html | 22 ++++----- components/ld-tabs/index.html | 22 ++++----- components/ld-tabs/ld-tab/index.html | 22 ++++----- components/ld-tabs/ld-tablist/index.html | 22 ++++----- components/ld-tabs/ld-tabpanel/index.html | 22 ++++----- components/ld-tabs/ld-tabpanellist/index.html | 22 ++++----- components/ld-toggle/index.html | 30 ++++++------- components/ld-tooltip/index.html | 24 +++++----- components/ld-typo/index.html | 24 +++++----- css_components/ld-crumb.css | 2 +- data-visualization/getting-started/index.html | 22 ++++----- dist/build/liquid.esm.js | 2 +- dist/build/liquid.esm.js.map | 2 +- dist/build/p-00dcb85b.entry.js.map | 1 - dist/build/p-065e1cbd.entry.js.map | 1 - dist/build/p-06f5228d.entry.js | 2 + dist/build/p-06f5228d.entry.js.map | 1 + dist/build/p-0751677e.entry.js | 2 - dist/build/p-0751677e.entry.js.map | 1 - dist/build/p-084c417e.entry.js | 2 - dist/build/p-084c417e.entry.js.map | 1 - ...-8157d479.entry.js => p-09d931ca.entry.js} | 4 +- dist/build/p-09d931ca.entry.js.map | 1 + .../build/p-0bae5966.entry.js | 4 +- dist/build/p-0bae5966.entry.js.map | 1 + dist/build/p-0cff3d08.entry.js | 2 - dist/build/p-0cff3d08.entry.js.map | 1 - dist/build/p-0e383aff.entry.js | 2 + dist/build/p-0e383aff.entry.js.map | 1 + dist/build/p-0f18d9f2.entry.js | 2 + dist/build/p-0f18d9f2.entry.js.map | 1 + dist/build/p-108eca21.entry.js | 2 - dist/build/p-108eca21.entry.js.map | 1 - dist/build/p-112455b1.js | 2 - ...-dce80f80.entry.js => p-13321cdc.entry.js} | 4 +- dist/build/p-13321cdc.entry.js.map | 1 + dist/build/p-13da50e8.entry.js | 27 +++++++++++ dist/build/p-13da50e8.entry.js.map | 1 + dist/build/p-14b8196f.entry.js | 3 ++ dist/build/p-14b8196f.entry.js.map | 1 + dist/build/p-159e98a7.entry.js | 2 + dist/build/p-159e98a7.entry.js.map | 1 + dist/build/p-16901e9d.entry.js | 2 + dist/build/p-16901e9d.entry.js.map | 1 + dist/build/p-18028a34.entry.js.map | 1 - dist/build/p-1813e3df.entry.js | 2 - dist/build/p-1813e3df.entry.js.map | 1 - ...-7ecbe9da.entry.js => p-19777729.entry.js} | 4 +- dist/build/p-19777729.entry.js.map | 1 + dist/build/p-19a81f5f.entry.js | 2 + dist/build/p-19a81f5f.entry.js.map | 1 + .../build/p-1aab44cc.entry.js | 4 +- dist/build/p-1aab44cc.entry.js.map | 1 + dist/build/p-1c01ac4e.entry.js.map | 1 - dist/build/{p-49b9f144.js => p-1cc43429.js} | 4 +- dist/build/p-1cc43429.js.map | 1 + dist/build/p-1ff9802e.entry.js | 2 - dist/build/p-1ff9802e.entry.js.map | 1 - dist/build/p-21a69c18.js | 3 -- dist/build/p-21a69c18.js.map | 1 - dist/build/p-21c59b99.entry.js.map | 1 - dist/build/p-223f4e15.entry.js | 2 + dist/build/p-223f4e15.entry.js.map | 1 + dist/build/p-236dbb56.entry.js | 2 - dist/build/p-236dbb56.entry.js.map | 1 - dist/build/p-23715b11.entry.js | 2 + dist/build/p-23715b11.entry.js.map | 1 + dist/build/p-24dedd5e.entry.js | 2 - dist/build/p-24dedd5e.entry.js.map | 1 - ...-9833ecb4.entry.js => p-268bc4c4.entry.js} | 4 +- dist/build/p-268bc4c4.entry.js.map | 1 + dist/build/p-2b1eca49.entry.js | 2 + dist/build/p-2b1eca49.entry.js.map | 1 + .../build/p-2cb75c45.entry.js | 4 +- dist/build/p-2cb75c45.entry.js.map | 1 + dist/build/p-2d7b4d87.entry.js | 2 + dist/build/p-2d7b4d87.entry.js.map | 1 + dist/build/p-2dcf38f5.entry.js.map | 1 - dist/build/p-2f76f5f2.entry.js | 2 - dist/build/p-2f76f5f2.entry.js.map | 1 - dist/build/p-3458c984.entry.js | 2 + dist/build/p-3458c984.entry.js.map | 1 + dist/build/p-34dc80c9.entry.js | 2 - dist/build/p-34dc80c9.entry.js.map | 1 - dist/build/p-36abb737.entry.js | 2 + dist/build/p-36abb737.entry.js.map | 1 + dist/build/p-36bbded8.entry.js.map | 1 - dist/build/p-385d2a88.entry.js | 2 - dist/build/p-385d2a88.entry.js.map | 1 - dist/build/p-3a42d32d.entry.js | 2 - dist/build/p-3a42d32d.entry.js.map | 1 - dist/build/p-3aadade1.entry.js | 2 - dist/build/p-3aadade1.entry.js.map | 1 - dist/build/p-3b79636e.entry.js.map | 1 - .../build/p-3b9ffc24.entry.js | 4 +- dist/build/p-3b9ffc24.entry.js.map | 1 + ...-1c01ac4e.entry.js => p-3cad1b1c.entry.js} | 4 +- dist/build/p-3cad1b1c.entry.js.map | 1 + dist/build/p-3cbbce85.js | 3 ++ dist/build/p-3cbbce85.js.map | 1 + dist/build/p-3f3eb280.entry.js | 2 + dist/build/p-3f3eb280.entry.js.map | 1 + dist/build/p-401d9e4d.entry.js | 2 + dist/build/p-401d9e4d.entry.js.map | 1 + dist/build/p-40a74ea6.entry.js.map | 1 - dist/build/p-42bd57e0.entry.js.map | 1 - dist/build/p-42bf44dc.entry.js | 2 + dist/build/p-42bf44dc.entry.js.map | 1 + dist/build/p-430fe27d.entry.js | 2 - dist/build/p-430fe27d.entry.js.map | 1 - dist/build/p-43a7d779.entry.js | 2 - dist/build/p-43a7d779.entry.js.map | 1 - dist/build/p-4573c419.js | 2 + .../{p-112455b1.js.map => p-4573c419.js.map} | 0 dist/build/p-47f9082b.entry.js | 2 - dist/build/p-47f9082b.entry.js.map | 1 - dist/build/p-488f0189.entry.js.map | 1 - .../build/p-488fe896.entry.js | 4 +- dist/build/p-488fe896.entry.js.map | 1 + dist/build/p-48d582a3.entry.js | 2 - dist/build/p-48d582a3.entry.js.map | 1 - dist/build/p-49b9f144.js.map | 1 - dist/build/p-4a9a72a7.entry.js.map | 1 - dist/build/p-4caf68b3.entry.js | 2 + dist/build/p-4caf68b3.entry.js.map | 1 + dist/build/p-4d261cf8.entry.js | 2 + dist/build/p-4d261cf8.entry.js.map | 1 + dist/build/p-4e66fe11.entry.js | 2 + dist/build/p-4e66fe11.entry.js.map | 1 + .../build/p-507890ec.entry.js | 4 +- dist/build/p-507890ec.entry.js.map | 1 + .../build/p-51003a61.entry.js | 4 +- dist/build/p-51003a61.entry.js.map | 1 + dist/build/p-541b897b.entry.js | 2 + dist/build/p-541b897b.entry.js.map | 1 + dist/build/p-543ffac2.entry.js | 2 + dist/build/p-543ffac2.entry.js.map | 1 + dist/build/p-54a92023.entry.js | 2 + dist/build/p-54a92023.entry.js.map | 1 + dist/build/p-57301e36.entry.js | 2 + dist/build/p-57301e36.entry.js.map | 1 + dist/build/p-58c512bb.entry.js | 2 + dist/build/p-58c512bb.entry.js.map | 1 + .../build/p-59eb2d54.entry.js | 4 +- dist/build/p-59eb2d54.entry.js.map | 1 + .../build/p-5c1c465e.entry.js | 4 +- dist/build/p-5c1c465e.entry.js.map | 1 + ...-065e1cbd.entry.js => p-5ccb7c35.entry.js} | 4 +- dist/build/p-5ccb7c35.entry.js.map | 1 + .../build/p-5ded3218.entry.js | 4 +- dist/build/p-5ded3218.entry.js.map | 1 + dist/build/p-6191a5f8.entry.js | 2 - dist/build/p-6191a5f8.entry.js.map | 1 - dist/build/p-62594aee.entry.js | 2 - dist/build/p-62594aee.entry.js.map | 1 - dist/build/p-6378f694.entry.js | 2 - dist/build/p-6378f694.entry.js.map | 1 - dist/build/p-640b1202.entry.js | 2 + dist/build/p-640b1202.entry.js.map | 1 + dist/build/p-6443c1fe.entry.js.map | 1 - ...-488f0189.entry.js => p-6756ef6a.entry.js} | 4 +- dist/build/p-6756ef6a.entry.js.map | 1 + dist/build/p-699b0a42.entry.js.map | 1 - .../build/p-6a67620b.entry.js | 4 +- dist/build/p-6a67620b.entry.js.map | 1 + ...-40a74ea6.entry.js => p-6b65c39b.entry.js} | 4 +- dist/build/p-6b65c39b.entry.js.map | 1 + dist/build/p-6d64a66c.entry.js | 2 - dist/build/p-6d64a66c.entry.js.map | 1 - ...-bb2b75da.entry.js => p-6da9b813.entry.js} | 4 +- dist/build/p-6da9b813.entry.js.map | 1 + dist/build/p-6dde4be8.entry.js | 2 + dist/build/p-6dde4be8.entry.js.map | 1 + dist/build/p-6f1c0dce.entry.js.map | 1 - dist/build/p-6fdf0745.entry.js | 2 - dist/build/p-6fdf0745.entry.js.map | 1 - ...-c8998fe6.entry.js => p-701e5d27.entry.js} | 4 +- dist/build/p-701e5d27.entry.js.map | 1 + ...-a088f7d3.entry.js => p-70bd1dc4.entry.js} | 4 +- dist/build/p-70bd1dc4.entry.js.map | 1 + dist/build/p-70ddb926.entry.js | 2 + dist/build/p-70ddb926.entry.js.map | 1 + dist/build/p-7161caa6.entry.js | 2 - dist/build/p-7161caa6.entry.js.map | 1 - dist/build/p-71d931bf.entry.js | 2 - dist/build/p-71d931bf.entry.js.map | 1 - dist/build/p-73303dba.entry.js | 2 - dist/build/p-73303dba.entry.js.map | 1 - dist/build/p-760822ab.entry.js.map | 1 - ...-9eccdd55.entry.js => p-78276c48.entry.js} | 4 +- dist/build/p-78276c48.entry.js.map | 1 + dist/build/p-79ffd165.entry.js | 2 - dist/build/p-79ffd165.entry.js.map | 1 - dist/build/p-7ecbe9da.entry.js.map | 1 - dist/build/p-7ef0fda6.entry.js | 2 - dist/build/p-7ef0fda6.entry.js.map | 1 - dist/build/p-7f19e682.entry.js.map | 1 - dist/build/p-7f2ee350.entry.js | 2 + dist/build/p-7f2ee350.entry.js.map | 1 + dist/build/p-8157d479.entry.js.map | 1 - dist/build/p-8244cd31.entry.js | 2 + dist/build/p-8244cd31.entry.js.map | 1 + ...-4a9a72a7.entry.js => p-8587f5f1.entry.js} | 4 +- dist/build/p-8587f5f1.entry.js.map | 1 + ...-b6223ce4.entry.js => p-884f62d2.entry.js} | 4 +- dist/build/p-884f62d2.entry.js.map | 1 + dist/build/p-890d5ddc.entry.js.map | 1 - .../build/p-8ee2925a.entry.js | 4 +- dist/build/p-8ee2925a.entry.js.map | 1 + dist/build/p-94719925.entry.js | 2 - dist/build/p-94719925.entry.js.map | 1 - ...-d29aae54.entry.js => p-97283ab0.entry.js} | 4 +- dist/build/p-97283ab0.entry.js.map | 1 + .../build/p-97ce1d7c.entry.js | 4 +- dist/build/p-97ce1d7c.entry.js.map | 1 + dist/build/p-9833ecb4.entry.js.map | 1 - dist/build/p-98b11beb.entry.js | 2 - dist/build/p-98b11beb.entry.js.map | 1 - dist/build/p-98d36d4e.entry.js | 2 + dist/build/p-98d36d4e.entry.js.map | 1 + dist/build/p-99899d8a.entry.js | 2 - dist/build/p-99899d8a.entry.js.map | 1 - dist/build/p-9d00deea.entry.js | 2 + dist/build/p-9d00deea.entry.js.map | 1 + dist/build/p-9dc79166.entry.js.map | 1 - dist/build/p-9eccdd55.entry.js.map | 1 - .../build/p-9ed7e5f7.entry.js | 4 +- dist/build/p-9ed7e5f7.entry.js.map | 1 + ...-2dcf38f5.entry.js => p-9ffc5acd.entry.js} | 4 +- dist/build/p-9ffc5acd.entry.js.map | 1 + dist/build/p-a088f7d3.entry.js.map | 1 - dist/build/p-a146916f.entry.js | 2 + dist/build/p-a146916f.entry.js.map | 1 + dist/build/p-a4360635.entry.js.map | 1 - dist/build/p-a5f4b2c5.entry.js | 2 - dist/build/p-a5f4b2c5.entry.js.map | 1 - ...-6f1c0dce.entry.js => p-a6b66f79.entry.js} | 4 +- dist/build/p-a6b66f79.entry.js.map | 1 + dist/build/p-ad64dade.entry.js.map | 1 - dist/build/p-b0301733.entry.js | 2 + dist/build/p-b0301733.entry.js.map | 1 + dist/build/p-b2dd29b5.entry.js | 2 - dist/build/p-b2dd29b5.entry.js.map | 1 - ...-e4ded3bc.entry.js => p-b3cb65ec.entry.js} | 4 +- dist/build/p-b3cb65ec.entry.js.map | 1 + dist/build/p-b4502394.entry.js | 2 + dist/build/p-b4502394.entry.js.map | 1 + dist/build/p-b5ea1bc0.entry.js | 2 - dist/build/p-b5ea1bc0.entry.js.map | 1 - dist/build/p-b6223ce4.entry.js.map | 1 - ...-cbbb0672.entry.js => p-b63d86f3.entry.js} | 4 +- dist/build/p-b63d86f3.entry.js.map | 1 + dist/build/p-b6f4756d.entry.js | 2 + dist/build/p-b6f4756d.entry.js.map | 1 + dist/build/p-b82f54f4.js | 3 ++ dist/build/p-b82f54f4.js.map | 1 + dist/build/p-b90f8ecd.entry.js | 2 + dist/build/p-b90f8ecd.entry.js.map | 1 + dist/build/p-bb2b75da.entry.js.map | 1 - dist/build/p-bc9ce66e.entry.js | 2 - dist/build/p-bc9ce66e.entry.js.map | 1 - dist/build/p-beda3299.entry.js | 2 + dist/build/p-beda3299.entry.js.map | 1 + dist/build/p-c170dd3c.entry.js | 2 - dist/build/p-c170dd3c.entry.js.map | 1 - dist/build/p-c2112f1e.js | 4 -- dist/build/p-c2112f1e.js.map | 1 - dist/build/p-c34a6e59.entry.js | 2 - dist/build/p-c34a6e59.entry.js.map | 1 - dist/build/p-c4ae61a1.entry.js | 2 - dist/build/p-c4ae61a1.entry.js.map | 1 - dist/build/p-c5fe7236.entry.js | 2 - dist/build/p-c5fe7236.entry.js.map | 1 - dist/build/p-c79ebadf.entry.js.map | 1 - dist/build/p-c8998fe6.entry.js.map | 1 - .../build/p-c92ebe29.entry.js | 4 +- dist/build/p-c92ebe29.entry.js.map | 1 + ...-e304d827.entry.js => p-cb0f6dd4.entry.js} | 4 +- dist/build/p-cb0f6dd4.entry.js.map | 1 + dist/build/p-cbbb0672.entry.js.map | 1 - dist/build/p-cf5797c3.entry.js | 2 - dist/build/p-cf5797c3.entry.js.map | 1 - dist/build/p-d05ada8a.entry.js.map | 1 - dist/build/p-d2287ea8.entry.js | 2 + dist/build/p-d2287ea8.entry.js.map | 1 + dist/build/p-d29aae54.entry.js.map | 1 - dist/build/p-d426b460.entry.js.map | 1 - dist/build/p-d45e8f89.entry.js.map | 1 - dist/build/p-d630f46e.entry.js | 2 - dist/build/p-d630f46e.entry.js.map | 1 - dist/build/p-d73a1df9.entry.js | 2 - dist/build/p-d73a1df9.entry.js.map | 1 - dist/build/p-d7b432ae.entry.js | 2 - dist/build/p-d7b432ae.entry.js.map | 1 - dist/build/p-d833bc8b.entry.js | 27 ----------- dist/build/p-d833bc8b.entry.js.map | 1 - dist/build/p-db6c1ebb.entry.js.map | 1 - dist/build/p-dce80f80.entry.js.map | 1 - dist/build/p-ddad1f31.entry.js | 2 - dist/build/p-ddad1f31.entry.js.map | 1 - dist/build/p-ddb0738a.entry.js.map | 1 - dist/build/p-de51c23f.entry.js | 2 - dist/build/p-de51c23f.entry.js.map | 1 - dist/build/p-de752c6e.entry.js | 2 + dist/build/p-de752c6e.entry.js.map | 1 + dist/build/p-df656338.entry.js | 2 + dist/build/p-df656338.entry.js.map | 1 + dist/build/p-df8085f0.entry.js | 2 + dist/build/p-df8085f0.entry.js.map | 1 + ...-18028a34.entry.js => p-e0142080.entry.js} | 4 +- dist/build/p-e0142080.entry.js.map | 1 + dist/build/p-e1255160.js | 2 + dist/build/p-e1255160.js.map | 1 + dist/build/p-e217c607.entry.js | 2 + dist/build/p-e217c607.entry.js.map | 1 + dist/build/p-e304d827.entry.js.map | 1 - dist/build/p-e4ded3bc.entry.js.map | 1 - dist/build/p-e5bdc70e.entry.js | 2 + dist/build/p-e5bdc70e.entry.js.map | 1 + dist/build/p-e64a3ea9.entry.js | 2 - dist/build/p-e64a3ea9.entry.js.map | 1 - .../build/p-ebb9aed7.entry.js | 4 +- dist/build/p-ebb9aed7.entry.js.map | 1 + dist/build/p-ee2a2191.entry.js | 2 - dist/build/p-ee2a2191.entry.js.map | 1 - dist/build/p-ee7d1073.entry.js.map | 1 - dist/build/p-ef1f83c5.entry.js | 2 + dist/build/p-ef1f83c5.entry.js.map | 1 + ...-36bbded8.entry.js => p-f18a6670.entry.js} | 4 +- dist/build/p-f18a6670.entry.js.map | 1 + dist/build/p-f22c451c.entry.js | 2 + dist/build/p-f22c451c.entry.js.map | 1 + dist/build/p-f2528920.entry.js | 2 + dist/build/p-f2528920.entry.js.map | 1 + ...-d45e8f89.entry.js => p-f6f866a0.entry.js} | 4 +- dist/build/p-f6f866a0.entry.js.map | 1 + dist/build/p-f8ee5af7.entry.js | 2 + dist/build/p-f8ee5af7.entry.js.map | 1 + .../build/p-f957bad1.entry.js | 4 +- dist/build/p-f957bad1.entry.js.map | 1 + dist/build/p-f962b3cd.entry.js | 2 - dist/build/p-f962b3cd.entry.js.map | 1 - ...-a4360635.entry.js => p-fca95527.entry.js} | 4 +- dist/build/p-fca95527.entry.js.map | 1 + dist/build/p-fee0d0b8.entry.js | 2 + dist/build/p-fee0d0b8.entry.js.map | 1 + dist/build/p-fff65bfe.entry.js | 2 - dist/build/p-fff65bfe.entry.js.map | 1 - global/animations/index.html | 22 ++++----- global/border-radius/index.html | 22 ++++----- global/colors/index.html | 22 ++++----- global/focus/index.html | 22 ++++----- global/fonts/index.html | 22 ++++----- global/index.html | 22 ++++----- global/shadows/index.html | 22 ++++----- global/spacings/index.html | 22 ++++----- global/theming/index.html | 22 ++++----- global/typography/index.html | 22 ++++----- guides/component-assets/index.html | 22 ++++----- guides/contributing/index.html | 22 ++++----- guides/css-vs-web-components/index.html | 22 ++++----- guides/design-tokens/index.html | 22 ++++----- guides/event-handling/index.html | 22 ++++----- guides/faq/index.html | 22 ++++----- guides/form-validation/index.html | 22 ++++----- guides/index.html | 22 ++++----- guides/sandbox-applications/index.html | 22 ++++----- guides/server-side-rendering/index.html | 22 ++++----- guides/tailwindcss-integration/index.html | 22 ++++----- guides/testing/index.html | 22 ++++----- .../index.html | 22 ++++----- guides/troubleshooting/index.html | 22 ++++----- .../index.html | 22 ++++----- .../type-checking-and-intellisense/index.html | 22 ++++----- index.html | 22 ++++----- introduction/getting-started/index.html | 22 ++++----- introduction/getting-started/react/index.html | 22 ++++----- introduction/getting-started/vue/index.html | 22 ++++----- introduction/why-liquid-oxygen/index.html | 22 ++++----- legal/imprint/index.html | 22 ++++----- legal/license/index.html | 22 ++++----- legal/privacy/index.html | 22 ++++----- legal/terms/index.html | 22 ++++----- 1134 files changed, 1904 insertions(+), 1898 deletions(-) delete mode 100644 1704966176737/css_components/ld-crumb.css delete mode 100644 1704966176737/dist/build/liquid.esm.js delete mode 100644 1704966176737/dist/build/liquid.esm.js.map delete mode 100644 1704966176737/dist/build/p-00dcb85b.entry.js.map delete mode 100644 1704966176737/dist/build/p-065e1cbd.entry.js.map delete mode 100644 1704966176737/dist/build/p-0751677e.entry.js delete mode 100644 1704966176737/dist/build/p-0751677e.entry.js.map delete mode 100644 1704966176737/dist/build/p-084c417e.entry.js delete mode 100644 1704966176737/dist/build/p-084c417e.entry.js.map delete mode 100644 1704966176737/dist/build/p-0cff3d08.entry.js delete mode 100644 1704966176737/dist/build/p-0cff3d08.entry.js.map delete mode 100644 1704966176737/dist/build/p-108eca21.entry.js delete mode 100644 1704966176737/dist/build/p-108eca21.entry.js.map delete mode 100644 1704966176737/dist/build/p-112455b1.js delete mode 100644 1704966176737/dist/build/p-18028a34.entry.js.map delete mode 100644 1704966176737/dist/build/p-1813e3df.entry.js delete mode 100644 1704966176737/dist/build/p-1813e3df.entry.js.map delete mode 100644 1704966176737/dist/build/p-1c01ac4e.entry.js.map delete mode 100644 1704966176737/dist/build/p-1ff9802e.entry.js delete mode 100644 1704966176737/dist/build/p-1ff9802e.entry.js.map delete mode 100644 1704966176737/dist/build/p-21a69c18.js delete mode 100644 1704966176737/dist/build/p-21a69c18.js.map delete mode 100644 1704966176737/dist/build/p-21c59b99.entry.js.map delete mode 100644 1704966176737/dist/build/p-236dbb56.entry.js delete mode 100644 1704966176737/dist/build/p-236dbb56.entry.js.map delete mode 100644 1704966176737/dist/build/p-24dedd5e.entry.js delete mode 100644 1704966176737/dist/build/p-24dedd5e.entry.js.map delete mode 100644 1704966176737/dist/build/p-2dcf38f5.entry.js.map delete mode 100644 1704966176737/dist/build/p-2f76f5f2.entry.js delete mode 100644 1704966176737/dist/build/p-2f76f5f2.entry.js.map delete mode 100644 1704966176737/dist/build/p-34dc80c9.entry.js delete mode 100644 1704966176737/dist/build/p-34dc80c9.entry.js.map delete mode 100644 1704966176737/dist/build/p-36bbded8.entry.js.map delete mode 100644 1704966176737/dist/build/p-385d2a88.entry.js delete mode 100644 1704966176737/dist/build/p-385d2a88.entry.js.map delete mode 100644 1704966176737/dist/build/p-3a42d32d.entry.js delete mode 100644 1704966176737/dist/build/p-3a42d32d.entry.js.map delete mode 100644 1704966176737/dist/build/p-3aadade1.entry.js delete mode 100644 1704966176737/dist/build/p-3aadade1.entry.js.map delete mode 100644 1704966176737/dist/build/p-3b79636e.entry.js.map delete mode 100644 1704966176737/dist/build/p-40a74ea6.entry.js.map delete mode 100644 1704966176737/dist/build/p-42bd57e0.entry.js.map delete mode 100644 1704966176737/dist/build/p-430fe27d.entry.js delete mode 100644 1704966176737/dist/build/p-430fe27d.entry.js.map delete mode 100644 1704966176737/dist/build/p-43a7d779.entry.js delete mode 100644 1704966176737/dist/build/p-43a7d779.entry.js.map delete mode 100644 1704966176737/dist/build/p-47f9082b.entry.js delete mode 100644 1704966176737/dist/build/p-47f9082b.entry.js.map delete mode 100644 1704966176737/dist/build/p-488f0189.entry.js.map delete mode 100644 1704966176737/dist/build/p-48d582a3.entry.js delete mode 100644 1704966176737/dist/build/p-48d582a3.entry.js.map delete mode 100644 1704966176737/dist/build/p-49b9f144.js.map delete mode 100644 1704966176737/dist/build/p-4a9a72a7.entry.js.map delete mode 100644 1704966176737/dist/build/p-6191a5f8.entry.js delete mode 100644 1704966176737/dist/build/p-6191a5f8.entry.js.map delete mode 100644 1704966176737/dist/build/p-62594aee.entry.js delete mode 100644 1704966176737/dist/build/p-62594aee.entry.js.map delete mode 100644 1704966176737/dist/build/p-6378f694.entry.js delete mode 100644 1704966176737/dist/build/p-6378f694.entry.js.map delete mode 100644 1704966176737/dist/build/p-6443c1fe.entry.js.map delete mode 100644 1704966176737/dist/build/p-699b0a42.entry.js.map delete mode 100644 1704966176737/dist/build/p-6d64a66c.entry.js delete mode 100644 1704966176737/dist/build/p-6d64a66c.entry.js.map delete mode 100644 1704966176737/dist/build/p-6f1c0dce.entry.js.map delete mode 100644 1704966176737/dist/build/p-6fdf0745.entry.js delete mode 100644 1704966176737/dist/build/p-6fdf0745.entry.js.map delete mode 100644 1704966176737/dist/build/p-7161caa6.entry.js delete mode 100644 1704966176737/dist/build/p-7161caa6.entry.js.map delete mode 100644 1704966176737/dist/build/p-71d931bf.entry.js delete mode 100644 1704966176737/dist/build/p-71d931bf.entry.js.map delete mode 100644 1704966176737/dist/build/p-73303dba.entry.js delete mode 100644 1704966176737/dist/build/p-73303dba.entry.js.map delete mode 100644 1704966176737/dist/build/p-760822ab.entry.js.map delete mode 100644 1704966176737/dist/build/p-79ffd165.entry.js delete mode 100644 1704966176737/dist/build/p-79ffd165.entry.js.map delete mode 100644 1704966176737/dist/build/p-7ecbe9da.entry.js.map delete mode 100644 1704966176737/dist/build/p-7ef0fda6.entry.js delete mode 100644 1704966176737/dist/build/p-7ef0fda6.entry.js.map delete mode 100644 1704966176737/dist/build/p-7f19e682.entry.js.map delete mode 100644 1704966176737/dist/build/p-8157d479.entry.js.map delete mode 100644 1704966176737/dist/build/p-890d5ddc.entry.js.map delete mode 100644 1704966176737/dist/build/p-94719925.entry.js delete mode 100644 1704966176737/dist/build/p-94719925.entry.js.map delete mode 100644 1704966176737/dist/build/p-9833ecb4.entry.js.map delete mode 100644 1704966176737/dist/build/p-98b11beb.entry.js delete mode 100644 1704966176737/dist/build/p-98b11beb.entry.js.map delete mode 100644 1704966176737/dist/build/p-99899d8a.entry.js delete mode 100644 1704966176737/dist/build/p-99899d8a.entry.js.map delete mode 100644 1704966176737/dist/build/p-9dc79166.entry.js.map delete mode 100644 1704966176737/dist/build/p-9eccdd55.entry.js.map delete mode 100644 1704966176737/dist/build/p-a088f7d3.entry.js.map delete mode 100644 1704966176737/dist/build/p-a4360635.entry.js.map delete mode 100644 1704966176737/dist/build/p-a5f4b2c5.entry.js delete mode 100644 1704966176737/dist/build/p-a5f4b2c5.entry.js.map delete mode 100644 1704966176737/dist/build/p-ad64dade.entry.js.map delete mode 100644 1704966176737/dist/build/p-b2dd29b5.entry.js delete mode 100644 1704966176737/dist/build/p-b2dd29b5.entry.js.map delete mode 100644 1704966176737/dist/build/p-b5ea1bc0.entry.js delete mode 100644 1704966176737/dist/build/p-b5ea1bc0.entry.js.map delete mode 100644 1704966176737/dist/build/p-b6223ce4.entry.js.map delete mode 100644 1704966176737/dist/build/p-bb2b75da.entry.js.map delete mode 100644 1704966176737/dist/build/p-bc9ce66e.entry.js delete mode 100644 1704966176737/dist/build/p-bc9ce66e.entry.js.map delete mode 100644 1704966176737/dist/build/p-c170dd3c.entry.js delete mode 100644 1704966176737/dist/build/p-c170dd3c.entry.js.map delete mode 100644 1704966176737/dist/build/p-c2112f1e.js delete mode 100644 1704966176737/dist/build/p-c2112f1e.js.map delete mode 100644 1704966176737/dist/build/p-c34a6e59.entry.js delete mode 100644 1704966176737/dist/build/p-c34a6e59.entry.js.map delete mode 100644 1704966176737/dist/build/p-c4ae61a1.entry.js delete mode 100644 1704966176737/dist/build/p-c4ae61a1.entry.js.map delete mode 100644 1704966176737/dist/build/p-c5fe7236.entry.js delete mode 100644 1704966176737/dist/build/p-c5fe7236.entry.js.map delete mode 100644 1704966176737/dist/build/p-c79ebadf.entry.js.map delete mode 100644 1704966176737/dist/build/p-c8998fe6.entry.js.map delete mode 100644 1704966176737/dist/build/p-cbbb0672.entry.js.map delete mode 100644 1704966176737/dist/build/p-cf5797c3.entry.js delete mode 100644 1704966176737/dist/build/p-cf5797c3.entry.js.map delete mode 100644 1704966176737/dist/build/p-d05ada8a.entry.js.map delete mode 100644 1704966176737/dist/build/p-d29aae54.entry.js.map delete mode 100644 1704966176737/dist/build/p-d426b460.entry.js.map delete mode 100644 1704966176737/dist/build/p-d45e8f89.entry.js.map delete mode 100644 1704966176737/dist/build/p-d630f46e.entry.js delete mode 100644 1704966176737/dist/build/p-d630f46e.entry.js.map delete mode 100644 1704966176737/dist/build/p-d73a1df9.entry.js delete mode 100644 1704966176737/dist/build/p-d73a1df9.entry.js.map delete mode 100644 1704966176737/dist/build/p-d7b432ae.entry.js delete mode 100644 1704966176737/dist/build/p-d7b432ae.entry.js.map delete mode 100644 1704966176737/dist/build/p-d833bc8b.entry.js delete mode 100644 1704966176737/dist/build/p-d833bc8b.entry.js.map delete mode 100644 1704966176737/dist/build/p-db6c1ebb.entry.js.map delete mode 100644 1704966176737/dist/build/p-dce80f80.entry.js.map delete mode 100644 1704966176737/dist/build/p-ddad1f31.entry.js delete mode 100644 1704966176737/dist/build/p-ddad1f31.entry.js.map delete mode 100644 1704966176737/dist/build/p-ddb0738a.entry.js.map delete mode 100644 1704966176737/dist/build/p-de51c23f.entry.js delete mode 100644 1704966176737/dist/build/p-de51c23f.entry.js.map delete mode 100644 1704966176737/dist/build/p-e304d827.entry.js.map delete mode 100644 1704966176737/dist/build/p-e4ded3bc.entry.js.map delete mode 100644 1704966176737/dist/build/p-e64a3ea9.entry.js delete mode 100644 1704966176737/dist/build/p-e64a3ea9.entry.js.map delete mode 100644 1704966176737/dist/build/p-ee2a2191.entry.js delete mode 100644 1704966176737/dist/build/p-ee2a2191.entry.js.map delete mode 100644 1704966176737/dist/build/p-ee7d1073.entry.js.map delete mode 100644 1704966176737/dist/build/p-f962b3cd.entry.js delete mode 100644 1704966176737/dist/build/p-f962b3cd.entry.js.map delete mode 100644 1704966176737/dist/build/p-fff65bfe.entry.js delete mode 100644 1704966176737/dist/build/p-fff65bfe.entry.js.map rename {1704966176737 => 1710779772648}/assets/android-chrome-192x192.png (100%) rename {1704966176737 => 1710779772648}/assets/android-chrome-512x512.png (100%) rename {1704966176737 => 1710779772648}/assets/animations/burger-cross.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/comment.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/download.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/export.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/eye.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/mute.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/notification-number.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/notification.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/play.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/refresh.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/search.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/test-tube.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/trash.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/upload.json (100%) rename {1704966176737 => 1710779772648}/assets/animations/warning.json (100%) rename {1704966176737 => 1710779772648}/assets/apple-touch-icon.png (100%) rename {1704966176737 => 1710779772648}/assets/browserconfig.xml (100%) rename {1704966176737 => 1710779772648}/assets/examples/numerals.json (100%) rename {1704966176737 => 1710779772648}/assets/examples/periodicTable.json (100%) rename {1704966176737 => 1710779772648}/assets/favicon-16x16.png (100%) rename {1704966176737 => 1710779772648}/assets/favicon-32x32.png (100%) rename {1704966176737 => 1710779772648}/assets/favicon.ico (100%) rename {1704966176737 => 1710779772648}/assets/mstile-144x144.png (100%) rename {1704966176737 => 1710779772648}/assets/mstile-150x150.png (100%) rename {1704966176737 => 1710779772648}/assets/mstile-310x150.png (100%) rename {1704966176737 => 1710779772648}/assets/mstile-310x310.png (100%) rename {1704966176737 => 1710779772648}/assets/mstile-70x70.png (100%) rename {1704966176737 => 1710779772648}/assets/safari-pinned-tab.svg (100%) rename {1704966176737 => 1710779772648}/assets/site.webmanifest (100%) rename {1704966176737 => 1710779772648}/css_components/ld-accordion-panel.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-accordion-section.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-accordion-toggle.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-accordion.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-badge.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-bg-cells.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-breadcrumbs.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-button.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-card-stack.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-card.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-checkbox.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-circular-progress.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-context-menu.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-cookie-consent.shadow.css (100%) create mode 100644 1710779772648/css_components/ld-crumb.css rename {1704966176737 => 1710779772648}/css_components/ld-header.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-icon.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-input-message.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-input.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-label.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-link.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-loading.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-menu.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-menuitem-group.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-menuitem.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-modal.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-notice.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-notification.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-optgroup-internal.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-optgroup.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-option-internal.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-option.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-pagination.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-progress.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-radio.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-select-popper.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-select.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-accordion.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-back.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-header.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-heading.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-navitem.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-scroller-internal.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-separator.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-slider.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-subnav.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav-toggle-outside.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sidenav.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-slider.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sr-live.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-sr-only.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-step.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-stepper.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-switch-item.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-switch.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-tab.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-body.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-caption.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-cell.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-col.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-colgroup.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-foot.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-head.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-header.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-row.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table-toolbar.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-table.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-tablist.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-tabpanel.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-tabpanellist.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-tabs.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-toggle.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-tooltip-popper.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-tooltip.shadow.css (100%) rename {1704966176737 => 1710779772648}/css_components/ld-typo.css (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/3d.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/add-icon.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/add.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/arrow-double-left.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/arrow-double-right.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/arrow-down.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/arrow-left.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/arrow-right.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/arrow-up-n-down.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/arrow-up.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/atom.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/attention.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/audio.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/baby.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/back.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bacteria-microscope-view.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/basket.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/battery-empty.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/battery-full.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/battery-half.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/battery-low.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/battery.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/beaker.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/beard.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/big-cross.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bin.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bioreliance-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bitcoin.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bottle.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bottom-left.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bottom-right.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/bulb.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/burger-menu.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/burger.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/cabriolet.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/calendar.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/camcorder.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/camera.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/car.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/cards.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chat.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/checkmark.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-components-dark.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-components-light.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-data-visualization-dark.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-data-visualization-light.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-globals-dark.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-globals-light.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-guides-dark.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-guides-light.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-introduction-dark.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/chevron-introduction-light.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/choir.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/clip.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/clock.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/cloud-download.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/cloud-upload.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/cloud.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/coffee.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/components.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/control.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/conversation.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/copy.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/cost-center.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/coupon.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/credit-card.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/cross.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/dashboard.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/data-storage.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/data-visualization.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/dna.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/documents-storage.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/documents.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/dollar.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/donut.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/dot.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/dots.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/download.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/eco.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/education.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/electric-car.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/energy.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/euro.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/external-export.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/f-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/fast-forward.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/favorite.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/figma.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/files.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/filter.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/finance.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/first-aid.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/flask.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/football.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/gamepad.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/github.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/globals.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/guides.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/half-dot.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/half-star.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/hexagon-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/house.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/hyperlink.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/info-mark.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/info.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/initial-m.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/introduction.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/jpeg.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/keys.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/laptop-mobile.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/laptop.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/layer.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/ld-input-message-error.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/ld-input-message-info.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/ld-input-message-success.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/ld-input-message-valid.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/ld-input-message-warning.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/list.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/location.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/lock-save.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/logistic.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/logo.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/m-card.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/magnifier.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/mail.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/matryoshka.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/mdo-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/medical-file.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/medicine.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/meetup.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/mic.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/microscope.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/millipore-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/milliq-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/minus.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/mobile.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/money.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/monitor.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/monkey.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/navigator.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/o-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/option-h.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/option-v.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/option.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pause.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pdf.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pen.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/phone.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pill.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pipette.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pisces.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/placeholder.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/plane.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/plant.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/play.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/plus.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pound.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pretzel.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/print.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/pulse.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/puzzle.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/real-arrow-down.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/real-arrow-left.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/real-arrow-right.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/real-arrow-up.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/real-arrow.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/refresh.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/remove-icon.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/remove.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/repost.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/rewind.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/rocket.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/safc-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/san-francisco.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/satelite.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/savings.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/scientific-paper.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/scissors.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/secure-conncetion.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/security.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/settings.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/share.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/shield.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/sidenav-left.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/sidenav-right.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/sigma-aldrich-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/sock.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/solar-power.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/star.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/stethoscope.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/stop.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/supelco-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/syringe.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/t-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/tea-pot.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/test-tube.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/tile-cell.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/top-left.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/top-right.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/truck.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/upload.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/user.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/ux.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/virus.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/visibility.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/vr.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/watch.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/website.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/wi-fi.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/world.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/youtube.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/assets/zip.svg (100%) rename {1704966176737 => 1710779772648}/dist/build/index.esm.js (100%) rename {1704966176737 => 1710779772648}/dist/build/index.esm.js.map (100%) rename {1704966176737 => 1710779772648}/dist/build/liquid.css (100%) create mode 100644 1710779772648/dist/build/liquid.esm.js create mode 100644 1710779772648/dist/build/liquid.esm.js.map rename {1704966176737 => 1710779772648}/dist/build/liquid.js (100%) create mode 100644 1710779772648/dist/build/p-06f5228d.entry.js create mode 100644 1710779772648/dist/build/p-06f5228d.entry.js.map rename 1704966176737/dist/build/p-8157d479.entry.js => 1710779772648/dist/build/p-09d931ca.entry.js (62%) create mode 100644 1710779772648/dist/build/p-09d931ca.entry.js.map rename dist/build/p-3b79636e.entry.js => 1710779772648/dist/build/p-0bae5966.entry.js (70%) create mode 100644 1710779772648/dist/build/p-0bae5966.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-0cd46190.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-0cd46190.js.map (100%) create mode 100644 1710779772648/dist/build/p-0e383aff.entry.js create mode 100644 1710779772648/dist/build/p-0e383aff.entry.js.map create mode 100644 1710779772648/dist/build/p-0f18d9f2.entry.js create mode 100644 1710779772648/dist/build/p-0f18d9f2.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-1133c92e.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-1133c92e.js.map (100%) rename 1704966176737/dist/build/p-dce80f80.entry.js => 1710779772648/dist/build/p-13321cdc.entry.js (62%) create mode 100644 1710779772648/dist/build/p-13321cdc.entry.js.map create mode 100644 1710779772648/dist/build/p-13da50e8.entry.js create mode 100644 1710779772648/dist/build/p-13da50e8.entry.js.map create mode 100644 1710779772648/dist/build/p-14b8196f.entry.js create mode 100644 1710779772648/dist/build/p-14b8196f.entry.js.map create mode 100644 1710779772648/dist/build/p-159e98a7.entry.js create mode 100644 1710779772648/dist/build/p-159e98a7.entry.js.map create mode 100644 1710779772648/dist/build/p-16901e9d.entry.js create mode 100644 1710779772648/dist/build/p-16901e9d.entry.js.map rename 1704966176737/dist/build/p-7ecbe9da.entry.js => 1710779772648/dist/build/p-19777729.entry.js (65%) create mode 100644 1710779772648/dist/build/p-19777729.entry.js.map create mode 100644 1710779772648/dist/build/p-19a81f5f.entry.js create mode 100644 1710779772648/dist/build/p-19a81f5f.entry.js.map rename dist/build/p-db6c1ebb.entry.js => 1710779772648/dist/build/p-1aab44cc.entry.js (54%) create mode 100644 1710779772648/dist/build/p-1aab44cc.entry.js.map rename 1704966176737/dist/build/p-49b9f144.js => 1710779772648/dist/build/p-1cc43429.js (86%) create mode 100644 1710779772648/dist/build/p-1cc43429.js.map create mode 100644 1710779772648/dist/build/p-223f4e15.entry.js create mode 100644 1710779772648/dist/build/p-223f4e15.entry.js.map create mode 100644 1710779772648/dist/build/p-23715b11.entry.js create mode 100644 1710779772648/dist/build/p-23715b11.entry.js.map rename 1704966176737/dist/build/p-9833ecb4.entry.js => 1710779772648/dist/build/p-268bc4c4.entry.js (76%) create mode 100644 1710779772648/dist/build/p-268bc4c4.entry.js.map create mode 100644 1710779772648/dist/build/p-2b1eca49.entry.js create mode 100644 1710779772648/dist/build/p-2b1eca49.entry.js.map rename dist/build/p-699b0a42.entry.js => 1710779772648/dist/build/p-2cb75c45.entry.js (78%) create mode 100644 1710779772648/dist/build/p-2cb75c45.entry.js.map create mode 100644 1710779772648/dist/build/p-2d7b4d87.entry.js create mode 100644 1710779772648/dist/build/p-2d7b4d87.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-2f695d4a.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-2f695d4a.js.map (100%) create mode 100644 1710779772648/dist/build/p-3458c984.entry.js create mode 100644 1710779772648/dist/build/p-3458c984.entry.js.map create mode 100644 1710779772648/dist/build/p-36abb737.entry.js create mode 100644 1710779772648/dist/build/p-36abb737.entry.js.map rename dist/build/p-00dcb85b.entry.js => 1710779772648/dist/build/p-3b9ffc24.entry.js (67%) create mode 100644 1710779772648/dist/build/p-3b9ffc24.entry.js.map rename 1704966176737/dist/build/p-1c01ac4e.entry.js => 1710779772648/dist/build/p-3cad1b1c.entry.js (50%) create mode 100644 1710779772648/dist/build/p-3cad1b1c.entry.js.map create mode 100644 1710779772648/dist/build/p-3cbbce85.js create mode 100644 1710779772648/dist/build/p-3cbbce85.js.map create mode 100644 1710779772648/dist/build/p-3f3eb280.entry.js create mode 100644 1710779772648/dist/build/p-3f3eb280.entry.js.map create mode 100644 1710779772648/dist/build/p-401d9e4d.entry.js create mode 100644 1710779772648/dist/build/p-401d9e4d.entry.js.map create mode 100644 1710779772648/dist/build/p-42bf44dc.entry.js create mode 100644 1710779772648/dist/build/p-42bf44dc.entry.js.map create mode 100644 1710779772648/dist/build/p-4573c419.js rename 1704966176737/dist/build/p-112455b1.js.map => 1710779772648/dist/build/p-4573c419.js.map (100%) rename dist/build/p-ee7d1073.entry.js => 1710779772648/dist/build/p-488fe896.entry.js (65%) create mode 100644 1710779772648/dist/build/p-488fe896.entry.js.map create mode 100644 1710779772648/dist/build/p-4caf68b3.entry.js create mode 100644 1710779772648/dist/build/p-4caf68b3.entry.js.map create mode 100644 1710779772648/dist/build/p-4d261cf8.entry.js create mode 100644 1710779772648/dist/build/p-4d261cf8.entry.js.map create mode 100644 1710779772648/dist/build/p-4e66fe11.entry.js create mode 100644 1710779772648/dist/build/p-4e66fe11.entry.js.map rename dist/build/p-d05ada8a.entry.js => 1710779772648/dist/build/p-507890ec.entry.js (59%) create mode 100644 1710779772648/dist/build/p-507890ec.entry.js.map rename dist/build/p-c79ebadf.entry.js => 1710779772648/dist/build/p-51003a61.entry.js (59%) create mode 100644 1710779772648/dist/build/p-51003a61.entry.js.map create mode 100644 1710779772648/dist/build/p-541b897b.entry.js create mode 100644 1710779772648/dist/build/p-541b897b.entry.js.map create mode 100644 1710779772648/dist/build/p-543ffac2.entry.js create mode 100644 1710779772648/dist/build/p-543ffac2.entry.js.map create mode 100644 1710779772648/dist/build/p-54a92023.entry.js create mode 100644 1710779772648/dist/build/p-54a92023.entry.js.map create mode 100644 1710779772648/dist/build/p-57301e36.entry.js create mode 100644 1710779772648/dist/build/p-57301e36.entry.js.map create mode 100644 1710779772648/dist/build/p-58c512bb.entry.js create mode 100644 1710779772648/dist/build/p-58c512bb.entry.js.map rename dist/build/p-ddb0738a.entry.js => 1710779772648/dist/build/p-59eb2d54.entry.js (63%) create mode 100644 1710779772648/dist/build/p-59eb2d54.entry.js.map rename dist/build/p-d426b460.entry.js => 1710779772648/dist/build/p-5c1c465e.entry.js (61%) create mode 100644 1710779772648/dist/build/p-5c1c465e.entry.js.map rename 1704966176737/dist/build/p-065e1cbd.entry.js => 1710779772648/dist/build/p-5ccb7c35.entry.js (55%) create mode 100644 1710779772648/dist/build/p-5ccb7c35.entry.js.map rename dist/build/p-21c59b99.entry.js => 1710779772648/dist/build/p-5ded3218.entry.js (58%) create mode 100644 1710779772648/dist/build/p-5ded3218.entry.js.map create mode 100644 1710779772648/dist/build/p-640b1202.entry.js create mode 100644 1710779772648/dist/build/p-640b1202.entry.js.map rename 1704966176737/dist/build/p-488f0189.entry.js => 1710779772648/dist/build/p-6756ef6a.entry.js (65%) create mode 100644 1710779772648/dist/build/p-6756ef6a.entry.js.map rename dist/build/p-6443c1fe.entry.js => 1710779772648/dist/build/p-6a67620b.entry.js (80%) create mode 100644 1710779772648/dist/build/p-6a67620b.entry.js.map rename 1704966176737/dist/build/p-40a74ea6.entry.js => 1710779772648/dist/build/p-6b65c39b.entry.js (50%) create mode 100644 1710779772648/dist/build/p-6b65c39b.entry.js.map rename 1704966176737/dist/build/p-bb2b75da.entry.js => 1710779772648/dist/build/p-6da9b813.entry.js (55%) create mode 100644 1710779772648/dist/build/p-6da9b813.entry.js.map create mode 100644 1710779772648/dist/build/p-6dde4be8.entry.js create mode 100644 1710779772648/dist/build/p-6dde4be8.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-6e5841ef.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-6e5841ef.js.map (100%) rename {1704966176737 => 1710779772648}/dist/build/p-6f9b9619.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-6f9b9619.js.map (100%) rename 1704966176737/dist/build/p-c8998fe6.entry.js => 1710779772648/dist/build/p-701e5d27.entry.js (67%) create mode 100644 1710779772648/dist/build/p-701e5d27.entry.js.map rename 1704966176737/dist/build/p-a088f7d3.entry.js => 1710779772648/dist/build/p-70bd1dc4.entry.js (74%) create mode 100644 1710779772648/dist/build/p-70bd1dc4.entry.js.map create mode 100644 1710779772648/dist/build/p-70ddb926.entry.js create mode 100644 1710779772648/dist/build/p-70ddb926.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-71026bf3.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-71026bf3.js.map (100%) rename 1704966176737/dist/build/p-9eccdd55.entry.js => 1710779772648/dist/build/p-78276c48.entry.js (95%) create mode 100644 1710779772648/dist/build/p-78276c48.entry.js.map create mode 100644 1710779772648/dist/build/p-7f2ee350.entry.js create mode 100644 1710779772648/dist/build/p-7f2ee350.entry.js.map create mode 100644 1710779772648/dist/build/p-8244cd31.entry.js create mode 100644 1710779772648/dist/build/p-8244cd31.entry.js.map rename 1704966176737/dist/build/p-4a9a72a7.entry.js => 1710779772648/dist/build/p-8587f5f1.entry.js (80%) create mode 100644 1710779772648/dist/build/p-8587f5f1.entry.js.map rename 1704966176737/dist/build/p-b6223ce4.entry.js => 1710779772648/dist/build/p-884f62d2.entry.js (53%) create mode 100644 1710779772648/dist/build/p-884f62d2.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-8dc70a87.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-8dc70a87.js.map (100%) rename dist/build/p-9dc79166.entry.js => 1710779772648/dist/build/p-8ee2925a.entry.js (67%) create mode 100644 1710779772648/dist/build/p-8ee2925a.entry.js.map rename 1704966176737/dist/build/p-d29aae54.entry.js => 1710779772648/dist/build/p-97283ab0.entry.js (59%) create mode 100644 1710779772648/dist/build/p-97283ab0.entry.js.map rename dist/build/p-890d5ddc.entry.js => 1710779772648/dist/build/p-97ce1d7c.entry.js (54%) create mode 100644 1710779772648/dist/build/p-97ce1d7c.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-98010be8.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-98010be8.js.map (100%) create mode 100644 1710779772648/dist/build/p-98d36d4e.entry.js create mode 100644 1710779772648/dist/build/p-98d36d4e.entry.js.map create mode 100644 1710779772648/dist/build/p-9d00deea.entry.js create mode 100644 1710779772648/dist/build/p-9d00deea.entry.js.map rename dist/build/p-760822ab.entry.js => 1710779772648/dist/build/p-9ed7e5f7.entry.js (62%) create mode 100644 1710779772648/dist/build/p-9ed7e5f7.entry.js.map rename 1704966176737/dist/build/p-2dcf38f5.entry.js => 1710779772648/dist/build/p-9ffc5acd.entry.js (62%) create mode 100644 1710779772648/dist/build/p-9ffc5acd.entry.js.map create mode 100644 1710779772648/dist/build/p-a146916f.entry.js create mode 100644 1710779772648/dist/build/p-a146916f.entry.js.map rename 1704966176737/dist/build/p-6f1c0dce.entry.js => 1710779772648/dist/build/p-a6b66f79.entry.js (59%) create mode 100644 1710779772648/dist/build/p-a6b66f79.entry.js.map create mode 100644 1710779772648/dist/build/p-b0301733.entry.js create mode 100644 1710779772648/dist/build/p-b0301733.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-b05f0e4e.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-b05f0e4e.js.map (100%) rename 1704966176737/dist/build/p-e4ded3bc.entry.js => 1710779772648/dist/build/p-b3cb65ec.entry.js (78%) create mode 100644 1710779772648/dist/build/p-b3cb65ec.entry.js.map create mode 100644 1710779772648/dist/build/p-b4502394.entry.js create mode 100644 1710779772648/dist/build/p-b4502394.entry.js.map rename 1704966176737/dist/build/p-cbbb0672.entry.js => 1710779772648/dist/build/p-b63d86f3.entry.js (82%) create mode 100644 1710779772648/dist/build/p-b63d86f3.entry.js.map create mode 100644 1710779772648/dist/build/p-b6f4756d.entry.js create mode 100644 1710779772648/dist/build/p-b6f4756d.entry.js.map create mode 100644 1710779772648/dist/build/p-b82f54f4.js create mode 100644 1710779772648/dist/build/p-b82f54f4.js.map create mode 100644 1710779772648/dist/build/p-b90f8ecd.entry.js create mode 100644 1710779772648/dist/build/p-b90f8ecd.entry.js.map create mode 100644 1710779772648/dist/build/p-beda3299.entry.js create mode 100644 1710779772648/dist/build/p-beda3299.entry.js.map rename dist/build/p-42bd57e0.entry.js => 1710779772648/dist/build/p-c92ebe29.entry.js (86%) create mode 100644 1710779772648/dist/build/p-c92ebe29.entry.js.map rename 1704966176737/dist/build/p-e304d827.entry.js => 1710779772648/dist/build/p-cb0f6dd4.entry.js (86%) create mode 100644 1710779772648/dist/build/p-cb0f6dd4.entry.js.map create mode 100644 1710779772648/dist/build/p-d2287ea8.entry.js create mode 100644 1710779772648/dist/build/p-d2287ea8.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-db30d2eb.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-db30d2eb.js.map (100%) create mode 100644 1710779772648/dist/build/p-de752c6e.entry.js create mode 100644 1710779772648/dist/build/p-de752c6e.entry.js.map create mode 100644 1710779772648/dist/build/p-df656338.entry.js create mode 100644 1710779772648/dist/build/p-df656338.entry.js.map create mode 100644 1710779772648/dist/build/p-df8085f0.entry.js create mode 100644 1710779772648/dist/build/p-df8085f0.entry.js.map rename 1704966176737/dist/build/p-18028a34.entry.js => 1710779772648/dist/build/p-e0142080.entry.js (76%) create mode 100644 1710779772648/dist/build/p-e0142080.entry.js.map create mode 100644 1710779772648/dist/build/p-e1255160.js create mode 100644 1710779772648/dist/build/p-e1255160.js.map create mode 100644 1710779772648/dist/build/p-e217c607.entry.js create mode 100644 1710779772648/dist/build/p-e217c607.entry.js.map create mode 100644 1710779772648/dist/build/p-e5bdc70e.entry.js create mode 100644 1710779772648/dist/build/p-e5bdc70e.entry.js.map rename dist/build/p-7f19e682.entry.js => 1710779772648/dist/build/p-ebb9aed7.entry.js (77%) create mode 100644 1710779772648/dist/build/p-ebb9aed7.entry.js.map create mode 100644 1710779772648/dist/build/p-ef1f83c5.entry.js create mode 100644 1710779772648/dist/build/p-ef1f83c5.entry.js.map rename {1704966176737 => 1710779772648}/dist/build/p-f13d3119.js (100%) rename {1704966176737 => 1710779772648}/dist/build/p-f13d3119.js.map (100%) rename 1704966176737/dist/build/p-36bbded8.entry.js => 1710779772648/dist/build/p-f18a6670.entry.js (63%) create mode 100644 1710779772648/dist/build/p-f18a6670.entry.js.map create mode 100644 1710779772648/dist/build/p-f22c451c.entry.js create mode 100644 1710779772648/dist/build/p-f22c451c.entry.js.map create mode 100644 1710779772648/dist/build/p-f2528920.entry.js create mode 100644 1710779772648/dist/build/p-f2528920.entry.js.map rename 1704966176737/dist/build/p-d45e8f89.entry.js => 1710779772648/dist/build/p-f6f866a0.entry.js (86%) create mode 100644 1710779772648/dist/build/p-f6f866a0.entry.js.map create mode 100644 1710779772648/dist/build/p-f8ee5af7.entry.js create mode 100644 1710779772648/dist/build/p-f8ee5af7.entry.js.map rename dist/build/p-ad64dade.entry.js => 1710779772648/dist/build/p-f957bad1.entry.js (82%) create mode 100644 1710779772648/dist/build/p-f957bad1.entry.js.map rename 1704966176737/dist/build/p-a4360635.entry.js => 1710779772648/dist/build/p-fca95527.entry.js (81%) create mode 100644 1710779772648/dist/build/p-fca95527.entry.js.map create mode 100644 1710779772648/dist/build/p-fee0d0b8.entry.js create mode 100644 1710779772648/dist/build/p-fee0d0b8.entry.js.map rename {1704966176737 => 1710779772648}/dist/host.config.json (100%) rename {1704966176737 => 1710779772648}/docs.css (100%) rename {1704966176737 => 1710779772648}/liquid.global.css (100%) delete mode 100644 dist/build/p-00dcb85b.entry.js.map delete mode 100644 dist/build/p-065e1cbd.entry.js.map create mode 100644 dist/build/p-06f5228d.entry.js create mode 100644 dist/build/p-06f5228d.entry.js.map delete mode 100644 dist/build/p-0751677e.entry.js delete mode 100644 dist/build/p-0751677e.entry.js.map delete mode 100644 dist/build/p-084c417e.entry.js delete mode 100644 dist/build/p-084c417e.entry.js.map rename dist/build/{p-8157d479.entry.js => p-09d931ca.entry.js} (62%) create mode 100644 dist/build/p-09d931ca.entry.js.map rename 1704966176737/dist/build/p-3b79636e.entry.js => dist/build/p-0bae5966.entry.js (70%) create mode 100644 dist/build/p-0bae5966.entry.js.map delete mode 100644 dist/build/p-0cff3d08.entry.js delete mode 100644 dist/build/p-0cff3d08.entry.js.map create mode 100644 dist/build/p-0e383aff.entry.js create mode 100644 dist/build/p-0e383aff.entry.js.map create mode 100644 dist/build/p-0f18d9f2.entry.js create mode 100644 dist/build/p-0f18d9f2.entry.js.map delete mode 100644 dist/build/p-108eca21.entry.js delete mode 100644 dist/build/p-108eca21.entry.js.map delete mode 100644 dist/build/p-112455b1.js rename dist/build/{p-dce80f80.entry.js => p-13321cdc.entry.js} (62%) create mode 100644 dist/build/p-13321cdc.entry.js.map create mode 100644 dist/build/p-13da50e8.entry.js create mode 100644 dist/build/p-13da50e8.entry.js.map create mode 100644 dist/build/p-14b8196f.entry.js create mode 100644 dist/build/p-14b8196f.entry.js.map create mode 100644 dist/build/p-159e98a7.entry.js create mode 100644 dist/build/p-159e98a7.entry.js.map create mode 100644 dist/build/p-16901e9d.entry.js create mode 100644 dist/build/p-16901e9d.entry.js.map delete mode 100644 dist/build/p-18028a34.entry.js.map delete mode 100644 dist/build/p-1813e3df.entry.js delete mode 100644 dist/build/p-1813e3df.entry.js.map rename dist/build/{p-7ecbe9da.entry.js => p-19777729.entry.js} (65%) create mode 100644 dist/build/p-19777729.entry.js.map create mode 100644 dist/build/p-19a81f5f.entry.js create mode 100644 dist/build/p-19a81f5f.entry.js.map rename 1704966176737/dist/build/p-db6c1ebb.entry.js => dist/build/p-1aab44cc.entry.js (54%) create mode 100644 dist/build/p-1aab44cc.entry.js.map delete mode 100644 dist/build/p-1c01ac4e.entry.js.map rename dist/build/{p-49b9f144.js => p-1cc43429.js} (86%) create mode 100644 dist/build/p-1cc43429.js.map delete mode 100644 dist/build/p-1ff9802e.entry.js delete mode 100644 dist/build/p-1ff9802e.entry.js.map delete mode 100644 dist/build/p-21a69c18.js delete mode 100644 dist/build/p-21a69c18.js.map delete mode 100644 dist/build/p-21c59b99.entry.js.map create mode 100644 dist/build/p-223f4e15.entry.js create mode 100644 dist/build/p-223f4e15.entry.js.map delete mode 100644 dist/build/p-236dbb56.entry.js delete mode 100644 dist/build/p-236dbb56.entry.js.map create mode 100644 dist/build/p-23715b11.entry.js create mode 100644 dist/build/p-23715b11.entry.js.map delete mode 100644 dist/build/p-24dedd5e.entry.js delete mode 100644 dist/build/p-24dedd5e.entry.js.map rename dist/build/{p-9833ecb4.entry.js => p-268bc4c4.entry.js} (76%) create mode 100644 dist/build/p-268bc4c4.entry.js.map create mode 100644 dist/build/p-2b1eca49.entry.js create mode 100644 dist/build/p-2b1eca49.entry.js.map rename 1704966176737/dist/build/p-699b0a42.entry.js => dist/build/p-2cb75c45.entry.js (78%) create mode 100644 dist/build/p-2cb75c45.entry.js.map create mode 100644 dist/build/p-2d7b4d87.entry.js create mode 100644 dist/build/p-2d7b4d87.entry.js.map delete mode 100644 dist/build/p-2dcf38f5.entry.js.map delete mode 100644 dist/build/p-2f76f5f2.entry.js delete mode 100644 dist/build/p-2f76f5f2.entry.js.map create mode 100644 dist/build/p-3458c984.entry.js create mode 100644 dist/build/p-3458c984.entry.js.map delete mode 100644 dist/build/p-34dc80c9.entry.js delete mode 100644 dist/build/p-34dc80c9.entry.js.map create mode 100644 dist/build/p-36abb737.entry.js create mode 100644 dist/build/p-36abb737.entry.js.map delete mode 100644 dist/build/p-36bbded8.entry.js.map delete mode 100644 dist/build/p-385d2a88.entry.js delete mode 100644 dist/build/p-385d2a88.entry.js.map delete mode 100644 dist/build/p-3a42d32d.entry.js delete mode 100644 dist/build/p-3a42d32d.entry.js.map delete mode 100644 dist/build/p-3aadade1.entry.js delete mode 100644 dist/build/p-3aadade1.entry.js.map delete mode 100644 dist/build/p-3b79636e.entry.js.map rename 1704966176737/dist/build/p-00dcb85b.entry.js => dist/build/p-3b9ffc24.entry.js (67%) create mode 100644 dist/build/p-3b9ffc24.entry.js.map rename dist/build/{p-1c01ac4e.entry.js => p-3cad1b1c.entry.js} (50%) create mode 100644 dist/build/p-3cad1b1c.entry.js.map create mode 100644 dist/build/p-3cbbce85.js create mode 100644 dist/build/p-3cbbce85.js.map create mode 100644 dist/build/p-3f3eb280.entry.js create mode 100644 dist/build/p-3f3eb280.entry.js.map create mode 100644 dist/build/p-401d9e4d.entry.js create mode 100644 dist/build/p-401d9e4d.entry.js.map delete mode 100644 dist/build/p-40a74ea6.entry.js.map delete mode 100644 dist/build/p-42bd57e0.entry.js.map create mode 100644 dist/build/p-42bf44dc.entry.js create mode 100644 dist/build/p-42bf44dc.entry.js.map delete mode 100644 dist/build/p-430fe27d.entry.js delete mode 100644 dist/build/p-430fe27d.entry.js.map delete mode 100644 dist/build/p-43a7d779.entry.js delete mode 100644 dist/build/p-43a7d779.entry.js.map create mode 100644 dist/build/p-4573c419.js rename dist/build/{p-112455b1.js.map => p-4573c419.js.map} (100%) delete mode 100644 dist/build/p-47f9082b.entry.js delete mode 100644 dist/build/p-47f9082b.entry.js.map delete mode 100644 dist/build/p-488f0189.entry.js.map rename 1704966176737/dist/build/p-ee7d1073.entry.js => dist/build/p-488fe896.entry.js (65%) create mode 100644 dist/build/p-488fe896.entry.js.map delete mode 100644 dist/build/p-48d582a3.entry.js delete mode 100644 dist/build/p-48d582a3.entry.js.map delete mode 100644 dist/build/p-49b9f144.js.map delete mode 100644 dist/build/p-4a9a72a7.entry.js.map create mode 100644 dist/build/p-4caf68b3.entry.js create mode 100644 dist/build/p-4caf68b3.entry.js.map create mode 100644 dist/build/p-4d261cf8.entry.js create mode 100644 dist/build/p-4d261cf8.entry.js.map create mode 100644 dist/build/p-4e66fe11.entry.js create mode 100644 dist/build/p-4e66fe11.entry.js.map rename 1704966176737/dist/build/p-d05ada8a.entry.js => dist/build/p-507890ec.entry.js (59%) create mode 100644 dist/build/p-507890ec.entry.js.map rename 1704966176737/dist/build/p-c79ebadf.entry.js => dist/build/p-51003a61.entry.js (59%) create mode 100644 dist/build/p-51003a61.entry.js.map create mode 100644 dist/build/p-541b897b.entry.js create mode 100644 dist/build/p-541b897b.entry.js.map create mode 100644 dist/build/p-543ffac2.entry.js create mode 100644 dist/build/p-543ffac2.entry.js.map create mode 100644 dist/build/p-54a92023.entry.js create mode 100644 dist/build/p-54a92023.entry.js.map create mode 100644 dist/build/p-57301e36.entry.js create mode 100644 dist/build/p-57301e36.entry.js.map create mode 100644 dist/build/p-58c512bb.entry.js create mode 100644 dist/build/p-58c512bb.entry.js.map rename 1704966176737/dist/build/p-ddb0738a.entry.js => dist/build/p-59eb2d54.entry.js (63%) create mode 100644 dist/build/p-59eb2d54.entry.js.map rename 1704966176737/dist/build/p-d426b460.entry.js => dist/build/p-5c1c465e.entry.js (61%) create mode 100644 dist/build/p-5c1c465e.entry.js.map rename dist/build/{p-065e1cbd.entry.js => p-5ccb7c35.entry.js} (55%) create mode 100644 dist/build/p-5ccb7c35.entry.js.map rename 1704966176737/dist/build/p-21c59b99.entry.js => dist/build/p-5ded3218.entry.js (58%) create mode 100644 dist/build/p-5ded3218.entry.js.map delete mode 100644 dist/build/p-6191a5f8.entry.js delete mode 100644 dist/build/p-6191a5f8.entry.js.map delete mode 100644 dist/build/p-62594aee.entry.js delete mode 100644 dist/build/p-62594aee.entry.js.map delete mode 100644 dist/build/p-6378f694.entry.js delete mode 100644 dist/build/p-6378f694.entry.js.map create mode 100644 dist/build/p-640b1202.entry.js create mode 100644 dist/build/p-640b1202.entry.js.map delete mode 100644 dist/build/p-6443c1fe.entry.js.map rename dist/build/{p-488f0189.entry.js => p-6756ef6a.entry.js} (65%) create mode 100644 dist/build/p-6756ef6a.entry.js.map delete mode 100644 dist/build/p-699b0a42.entry.js.map rename 1704966176737/dist/build/p-6443c1fe.entry.js => dist/build/p-6a67620b.entry.js (80%) create mode 100644 dist/build/p-6a67620b.entry.js.map rename dist/build/{p-40a74ea6.entry.js => p-6b65c39b.entry.js} (50%) create mode 100644 dist/build/p-6b65c39b.entry.js.map delete mode 100644 dist/build/p-6d64a66c.entry.js delete mode 100644 dist/build/p-6d64a66c.entry.js.map rename dist/build/{p-bb2b75da.entry.js => p-6da9b813.entry.js} (55%) create mode 100644 dist/build/p-6da9b813.entry.js.map create mode 100644 dist/build/p-6dde4be8.entry.js create mode 100644 dist/build/p-6dde4be8.entry.js.map delete mode 100644 dist/build/p-6f1c0dce.entry.js.map delete mode 100644 dist/build/p-6fdf0745.entry.js delete mode 100644 dist/build/p-6fdf0745.entry.js.map rename dist/build/{p-c8998fe6.entry.js => p-701e5d27.entry.js} (67%) create mode 100644 dist/build/p-701e5d27.entry.js.map rename dist/build/{p-a088f7d3.entry.js => p-70bd1dc4.entry.js} (74%) create mode 100644 dist/build/p-70bd1dc4.entry.js.map create mode 100644 dist/build/p-70ddb926.entry.js create mode 100644 dist/build/p-70ddb926.entry.js.map delete mode 100644 dist/build/p-7161caa6.entry.js delete mode 100644 dist/build/p-7161caa6.entry.js.map delete mode 100644 dist/build/p-71d931bf.entry.js delete mode 100644 dist/build/p-71d931bf.entry.js.map delete mode 100644 dist/build/p-73303dba.entry.js delete mode 100644 dist/build/p-73303dba.entry.js.map delete mode 100644 dist/build/p-760822ab.entry.js.map rename dist/build/{p-9eccdd55.entry.js => p-78276c48.entry.js} (95%) create mode 100644 dist/build/p-78276c48.entry.js.map delete mode 100644 dist/build/p-79ffd165.entry.js delete mode 100644 dist/build/p-79ffd165.entry.js.map delete mode 100644 dist/build/p-7ecbe9da.entry.js.map delete mode 100644 dist/build/p-7ef0fda6.entry.js delete mode 100644 dist/build/p-7ef0fda6.entry.js.map delete mode 100644 dist/build/p-7f19e682.entry.js.map create mode 100644 dist/build/p-7f2ee350.entry.js create mode 100644 dist/build/p-7f2ee350.entry.js.map delete mode 100644 dist/build/p-8157d479.entry.js.map create mode 100644 dist/build/p-8244cd31.entry.js create mode 100644 dist/build/p-8244cd31.entry.js.map rename dist/build/{p-4a9a72a7.entry.js => p-8587f5f1.entry.js} (80%) create mode 100644 dist/build/p-8587f5f1.entry.js.map rename dist/build/{p-b6223ce4.entry.js => p-884f62d2.entry.js} (53%) create mode 100644 dist/build/p-884f62d2.entry.js.map delete mode 100644 dist/build/p-890d5ddc.entry.js.map rename 1704966176737/dist/build/p-9dc79166.entry.js => dist/build/p-8ee2925a.entry.js (67%) create mode 100644 dist/build/p-8ee2925a.entry.js.map delete mode 100644 dist/build/p-94719925.entry.js delete mode 100644 dist/build/p-94719925.entry.js.map rename dist/build/{p-d29aae54.entry.js => p-97283ab0.entry.js} (59%) create mode 100644 dist/build/p-97283ab0.entry.js.map rename 1704966176737/dist/build/p-890d5ddc.entry.js => dist/build/p-97ce1d7c.entry.js (54%) create mode 100644 dist/build/p-97ce1d7c.entry.js.map delete mode 100644 dist/build/p-9833ecb4.entry.js.map delete mode 100644 dist/build/p-98b11beb.entry.js delete mode 100644 dist/build/p-98b11beb.entry.js.map create mode 100644 dist/build/p-98d36d4e.entry.js create mode 100644 dist/build/p-98d36d4e.entry.js.map delete mode 100644 dist/build/p-99899d8a.entry.js delete mode 100644 dist/build/p-99899d8a.entry.js.map create mode 100644 dist/build/p-9d00deea.entry.js create mode 100644 dist/build/p-9d00deea.entry.js.map delete mode 100644 dist/build/p-9dc79166.entry.js.map delete mode 100644 dist/build/p-9eccdd55.entry.js.map rename 1704966176737/dist/build/p-760822ab.entry.js => dist/build/p-9ed7e5f7.entry.js (62%) create mode 100644 dist/build/p-9ed7e5f7.entry.js.map rename dist/build/{p-2dcf38f5.entry.js => p-9ffc5acd.entry.js} (62%) create mode 100644 dist/build/p-9ffc5acd.entry.js.map delete mode 100644 dist/build/p-a088f7d3.entry.js.map create mode 100644 dist/build/p-a146916f.entry.js create mode 100644 dist/build/p-a146916f.entry.js.map delete mode 100644 dist/build/p-a4360635.entry.js.map delete mode 100644 dist/build/p-a5f4b2c5.entry.js delete mode 100644 dist/build/p-a5f4b2c5.entry.js.map rename dist/build/{p-6f1c0dce.entry.js => p-a6b66f79.entry.js} (59%) create mode 100644 dist/build/p-a6b66f79.entry.js.map delete mode 100644 dist/build/p-ad64dade.entry.js.map create mode 100644 dist/build/p-b0301733.entry.js create mode 100644 dist/build/p-b0301733.entry.js.map delete mode 100644 dist/build/p-b2dd29b5.entry.js delete mode 100644 dist/build/p-b2dd29b5.entry.js.map rename dist/build/{p-e4ded3bc.entry.js => p-b3cb65ec.entry.js} (78%) create mode 100644 dist/build/p-b3cb65ec.entry.js.map create mode 100644 dist/build/p-b4502394.entry.js create mode 100644 dist/build/p-b4502394.entry.js.map delete mode 100644 dist/build/p-b5ea1bc0.entry.js delete mode 100644 dist/build/p-b5ea1bc0.entry.js.map delete mode 100644 dist/build/p-b6223ce4.entry.js.map rename dist/build/{p-cbbb0672.entry.js => p-b63d86f3.entry.js} (82%) create mode 100644 dist/build/p-b63d86f3.entry.js.map create mode 100644 dist/build/p-b6f4756d.entry.js create mode 100644 dist/build/p-b6f4756d.entry.js.map create mode 100644 dist/build/p-b82f54f4.js create mode 100644 dist/build/p-b82f54f4.js.map create mode 100644 dist/build/p-b90f8ecd.entry.js create mode 100644 dist/build/p-b90f8ecd.entry.js.map delete mode 100644 dist/build/p-bb2b75da.entry.js.map delete mode 100644 dist/build/p-bc9ce66e.entry.js delete mode 100644 dist/build/p-bc9ce66e.entry.js.map create mode 100644 dist/build/p-beda3299.entry.js create mode 100644 dist/build/p-beda3299.entry.js.map delete mode 100644 dist/build/p-c170dd3c.entry.js delete mode 100644 dist/build/p-c170dd3c.entry.js.map delete mode 100644 dist/build/p-c2112f1e.js delete mode 100644 dist/build/p-c2112f1e.js.map delete mode 100644 dist/build/p-c34a6e59.entry.js delete mode 100644 dist/build/p-c34a6e59.entry.js.map delete mode 100644 dist/build/p-c4ae61a1.entry.js delete mode 100644 dist/build/p-c4ae61a1.entry.js.map delete mode 100644 dist/build/p-c5fe7236.entry.js delete mode 100644 dist/build/p-c5fe7236.entry.js.map delete mode 100644 dist/build/p-c79ebadf.entry.js.map delete mode 100644 dist/build/p-c8998fe6.entry.js.map rename 1704966176737/dist/build/p-42bd57e0.entry.js => dist/build/p-c92ebe29.entry.js (86%) create mode 100644 dist/build/p-c92ebe29.entry.js.map rename dist/build/{p-e304d827.entry.js => p-cb0f6dd4.entry.js} (86%) create mode 100644 dist/build/p-cb0f6dd4.entry.js.map delete mode 100644 dist/build/p-cbbb0672.entry.js.map delete mode 100644 dist/build/p-cf5797c3.entry.js delete mode 100644 dist/build/p-cf5797c3.entry.js.map delete mode 100644 dist/build/p-d05ada8a.entry.js.map create mode 100644 dist/build/p-d2287ea8.entry.js create mode 100644 dist/build/p-d2287ea8.entry.js.map delete mode 100644 dist/build/p-d29aae54.entry.js.map delete mode 100644 dist/build/p-d426b460.entry.js.map delete mode 100644 dist/build/p-d45e8f89.entry.js.map delete mode 100644 dist/build/p-d630f46e.entry.js delete mode 100644 dist/build/p-d630f46e.entry.js.map delete mode 100644 dist/build/p-d73a1df9.entry.js delete mode 100644 dist/build/p-d73a1df9.entry.js.map delete mode 100644 dist/build/p-d7b432ae.entry.js delete mode 100644 dist/build/p-d7b432ae.entry.js.map delete mode 100644 dist/build/p-d833bc8b.entry.js delete mode 100644 dist/build/p-d833bc8b.entry.js.map delete mode 100644 dist/build/p-db6c1ebb.entry.js.map delete mode 100644 dist/build/p-dce80f80.entry.js.map delete mode 100644 dist/build/p-ddad1f31.entry.js delete mode 100644 dist/build/p-ddad1f31.entry.js.map delete mode 100644 dist/build/p-ddb0738a.entry.js.map delete mode 100644 dist/build/p-de51c23f.entry.js delete mode 100644 dist/build/p-de51c23f.entry.js.map create mode 100644 dist/build/p-de752c6e.entry.js create mode 100644 dist/build/p-de752c6e.entry.js.map create mode 100644 dist/build/p-df656338.entry.js create mode 100644 dist/build/p-df656338.entry.js.map create mode 100644 dist/build/p-df8085f0.entry.js create mode 100644 dist/build/p-df8085f0.entry.js.map rename dist/build/{p-18028a34.entry.js => p-e0142080.entry.js} (76%) create mode 100644 dist/build/p-e0142080.entry.js.map create mode 100644 dist/build/p-e1255160.js create mode 100644 dist/build/p-e1255160.js.map create mode 100644 dist/build/p-e217c607.entry.js create mode 100644 dist/build/p-e217c607.entry.js.map delete mode 100644 dist/build/p-e304d827.entry.js.map delete mode 100644 dist/build/p-e4ded3bc.entry.js.map create mode 100644 dist/build/p-e5bdc70e.entry.js create mode 100644 dist/build/p-e5bdc70e.entry.js.map delete mode 100644 dist/build/p-e64a3ea9.entry.js delete mode 100644 dist/build/p-e64a3ea9.entry.js.map rename 1704966176737/dist/build/p-7f19e682.entry.js => dist/build/p-ebb9aed7.entry.js (77%) create mode 100644 dist/build/p-ebb9aed7.entry.js.map delete mode 100644 dist/build/p-ee2a2191.entry.js delete mode 100644 dist/build/p-ee2a2191.entry.js.map delete mode 100644 dist/build/p-ee7d1073.entry.js.map create mode 100644 dist/build/p-ef1f83c5.entry.js create mode 100644 dist/build/p-ef1f83c5.entry.js.map rename dist/build/{p-36bbded8.entry.js => p-f18a6670.entry.js} (63%) create mode 100644 dist/build/p-f18a6670.entry.js.map create mode 100644 dist/build/p-f22c451c.entry.js create mode 100644 dist/build/p-f22c451c.entry.js.map create mode 100644 dist/build/p-f2528920.entry.js create mode 100644 dist/build/p-f2528920.entry.js.map rename dist/build/{p-d45e8f89.entry.js => p-f6f866a0.entry.js} (86%) create mode 100644 dist/build/p-f6f866a0.entry.js.map create mode 100644 dist/build/p-f8ee5af7.entry.js create mode 100644 dist/build/p-f8ee5af7.entry.js.map rename 1704966176737/dist/build/p-ad64dade.entry.js => dist/build/p-f957bad1.entry.js (82%) create mode 100644 dist/build/p-f957bad1.entry.js.map delete mode 100644 dist/build/p-f962b3cd.entry.js delete mode 100644 dist/build/p-f962b3cd.entry.js.map rename dist/build/{p-a4360635.entry.js => p-fca95527.entry.js} (81%) create mode 100644 dist/build/p-fca95527.entry.js.map create mode 100644 dist/build/p-fee0d0b8.entry.js create mode 100644 dist/build/p-fee0d0b8.entry.js.map delete mode 100644 dist/build/p-fff65bfe.entry.js delete mode 100644 dist/build/p-fff65bfe.entry.js.map diff --git a/1704966176737/css_components/ld-crumb.css b/1704966176737/css_components/ld-crumb.css deleted file mode 100644 index 4fe4406b7e..0000000000 --- a/1704966176737/css_components/ld-crumb.css +++ /dev/null @@ -1 +0,0 @@ -.ld-breadcrumbs .ld-link,.ld-crumb__link::part(anchor){--ld-link-gap:var(--ld-crumb-icon-gap);--ld-link-chevron-gap:var(--ld-crumb-gap);display:inline-flex}.ld-breadcrumbs li:not(:last-of-type) .ld-link,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor){--ld-link-col:var(--ld-col-neutral-600);font-weight:400;margin-right:calc(var(--ld-crumb-gap) + .5em)}.ld-breadcrumbs li:not(:last-of-type) .ld-link:hover,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor):hover{--ld-link-col:var(--ld-thm-primary-hover)}.ld-breadcrumbs li:not(:last-of-type) .ld-link:focus:focus-visible,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor):focus:focus-visible{--ld-link-col:var(--ld-thm-primary-focus)}.ld-breadcrumbs li:not(:last-of-type) .ld-link:active,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor):active{--ld-link-col:var(--ld-thm-primary-active)}.ld-breadcrumbs li:last-of-type .ld-link,.ld-crumb__link--current{cursor:default;pointer-events:none} \ No newline at end of file diff --git a/1704966176737/dist/build/liquid.esm.js b/1704966176737/dist/build/liquid.esm.js deleted file mode 100644 index 2eb8151760..0000000000 --- a/1704966176737/dist/build/liquid.esm.js +++ /dev/null @@ -1,2 +0,0 @@ -import{p as e,b as a}from"./p-21a69c18.js";export{s as setNonce}from"./p-21a69c18.js";const d=()=>{const a=import.meta.url;const d={};if(a!==""){d.resourcesUrl=new URL(".",a).href}return e(d)};d().then((e=>a(JSON.parse('[["p-79ffd165",[[4,"docs-example",{"background":[1],"centered":[4],"code":[1],"codeCssComponent":[1,"code-css-component"],"codeReactComponent":[1,"code-react-component"],"hasBorder":[4,"has-border"],"hasPadding":[4,"has-padding"],"opened":[4],"stacked":[4],"styles":[1],"themable":[4],"currentTheme":[32],"isCodeVisible":[32],"codeType":[32]},[[8,"pickCodeType","handleSwitchCode"]]]]],["p-bc9ce66e",[[1,"ld-cookie-consent",{"settings":[1],"isDisclaimerVisible":[32],"allCategories":[32],"preselectedCategories":[32],"savedConsent":[32],"selectedCategories":[32],"getAcceptedAndRejectedCategories":[64],"isCategoryAccepted":[64],"showDisclaimer":[64],"hideDisclaimerAndPreferences":[64]}]]],["p-d833bc8b",[[0,"docs-icon",{"bounce":[4],"downloadUrl":[1025,"download-url"],"identifier":[1],"isAnimation":[4,"is-animation"],"name":[1],"confirm":[32],"isMenuOpen":[32]}]]],["p-d630f46e",[[0,"docs-topbar"]]],["p-dce80f80",[[0,"docs-view-on-figma"]]],["p-cf5797c3",[[1,"ld-sidenav-accordion",{"expanded":[1028],"preserveState":[4,"preserve-state"],"split":[4],"expandOnSidenavExpansion":[32],"inAccordion":[32],"noIcon":[32],"rounded":[32],"sidenavClosable":[32],"sidenavCollapsed":[32],"transitionsEnabled":[32]},[[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"],[9,"ldSidenavSliderChange","handleSidenavSliderChange"],[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"]],{"expanded":["handleExpandedChange"]}]]],["p-760822ab",[[1,"ld-sidenav-header",{"href":[1],"ariaLabel":[1,"aria-label"],"labelCollapse":[1,"label-collapse"],"labelExpand":[1,"label-expand"],"tetherOptions":[1,"tether-options"],"sidenavAlignement":[32],"sidenavClosable":[32],"sidenavCollapsed":[32],"sidenavCollapsedFully":[32],"sidenavCollapsible":[32],"sidenavOpen":[32],"updateCollapsible":[64]},[[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"],[9,"ldSidenavOpenChange","handleSidenavOpenChange"]]]]],["p-ddb0738a",[[1,"ld-sidenav-navitem",{"selected":[4],"href":[1],"mode":[1],"rounded":[516],"ldTabindex":[2,"ld-tabindex"],"expandOnClick":[4,"expand-on-click"],"target":[1],"tetherOptions":[1,"tether-options"],"to":[513],"tooltipContent":[32],"abbreviation":[32],"inAccordion":[32],"isAccordionToggle":[32],"sidenavAlignement":[32],"sidenavClosable":[32],"sidenavCollapsed":[32],"sidenavExpandsOnMouseEnter":[32],"secondaryIconHTML":[32],"closestTheme":[32],"themeClass":[32],"hasSubline":[32],"hasSecondaryIcon":[32],"focusInner":[64]},[[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"]]]]],["p-065e1cbd",[[1,"ld-sidenav-toggle-outside",{"labelExpand":[1,"label-expand"],"ldTabindex":[2,"ld-tabindex"],"tetherOptions":[1,"tether-options"],"sidenavClosable":[32],"sidenavCollapsed":[32],"sidenavCollapsedFully":[32],"sidenavAlignement":[32],"focusInner":[64]},[[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"]]]]],["p-00dcb85b",[[0,"docs-border-radius",{"var":[1],"val":[1]}]]],["p-d29aae54",[[0,"docs-color",{"var":[1],"isTransparent":[4,"is-transparent"],"val":[32],"dark":[32]}]]],["p-9eccdd55",[[4,"docs-main"]]],["p-7ecbe9da",[[0,"docs-shadow",{"var":[1],"filter":[4]}]]],["p-36bbded8",[[0,"docs-spacing",{"var":[1],"val":[1]}]]],["p-bb2b75da",[[0,"docs-typography",{"brand":[4],"prop":[1],"val":[1],"var":[1]}]]],["p-6443c1fe",[[4,"docs-nav",{"isNavOpen":[32]},[[9,"resize","handleResize"],[0,"click","handleClick"]]]]],["p-18028a34",[[1,"ld-notice",{"headline":[1],"mode":[1]}]]],["p-98b11beb",[[1,"ld-pagination",{"brandColor":[4,"brand-color"],"endLabel":[1,"end-label"],"hidePrevNext":[4,"hide-prev-next"],"hideStartEnd":[4,"hide-start-end"],"itemLabel":[1,"item-label"],"length":[1026],"mode":[1],"nextLabel":[1,"next-label"],"offset":[2],"prevLabel":[1,"prev-label"],"selectedIndex":[1026,"selected-index"],"size":[1],"space":[1],"startLabel":[1,"start-label"],"sticky":[2],"maxSliderColumns":[32],"renderMoreIndicators":[32],"renderSticky":[32],"slidableItems":[32],"sliderContent":[32],"transitioning":[32],"visibleItemsInSlider":[32]},null,{"selectedIndex":["handleSelectedIndex"],"length":["componentWillLoad"],"mode":["componentWillLoad"],"offset":["componentWillLoad"],"sticky":["componentWillLoad"]}]]],["p-1ff9802e",[[1,"ld-sidenav",{"align":[1],"breakpoint":[1],"collapsed":[1028],"collapseTrigger":[1,"collapse-trigger"],"collapsible":[4],"expandTrigger":[1,"expand-trigger"],"label":[1],"narrow":[4],"open":[1028],"toggleTransitionDisabled":[4,"toggle-transition-disabled"],"trapFocus":[1,"trap-focus"],"closable":[32],"fullyCollapsible":[32],"hasActiveSubnav":[32],"hasShadowBottom":[32],"hasShadowTop":[32],"transitions":[32],"toggle":[64]},[[8,"click","handleClickOutside"],[1,"mouseout","handleMouseOut"],[1,"mouseenter","handleMouseIn"],[0,"ldSidenavOpen","handleOpen"],[0,"ldSidenavClose","handleClose"],[0,"ldSidenavBack","handleSlideBack"],[0,"ldSidenavNavitemTo","slideToHandler"],[0,"ldSidenavSliderChange","slideChangeHandler"],[9,"keydown","handleKeyDown"],[9,"focusout","handleFocusout"],[0,"ldSidenavHeaderToggleClick","handleHeaderToggleClick"]],{"collapsed":["onCollapsedChange"],"open":["onOpenChange"],"collapsible":["updateFullyCollapsible"],"narrow":["updateFullyCollapsible"]}]]],["p-c5fe7236",[[1,"ld-sidenav-slider",{"currentSubnav":[1025,"current-subnav"],"label":[1],"currentNavLevel":[32],"activeSubnavs":[32],"isFirstLevelHidden":[32],"navigateBack":[64]},[[0,"ldSidenavNavitemTo","slideToHandler"],[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"]],{"currentSubnav":["handleSubnavChange"]}]]],["p-99899d8a",[[1,"ld-sidenav-subnav",{"activeBeforeTransition":[4,"active-before-transition"],"active":[4],"ancestor":[4],"label":[1],"hasParentSubnav":[32],"scrollToTop":[64]},[[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"]],{"active":["onActiveChange"],"activeBeforeTransition":["onActiveBeforeTransitionChange"]}]]],["p-ad64dade",[[1,"ld-step",{"brandColor":[4,"brand-color"],"current":[4],"description":[1],"disabled":[4],"done":[4],"href":[1],"icon":[1],"labelCurrent":[1,"label-current"],"labelDone":[1,"label-done"],"labelOptional":[1,"label-optional"],"labelSkipped":[1,"label-skipped"],"labelWasOptional":[1,"label-was-optional"],"lastActive":[4,"last-active"],"ldTabindex":[2,"ld-tabindex"],"next":[4],"optional":[4],"size":[1],"skipped":[4],"vertical":[4],"clonedAttributes":[32],"focusInner":[64]}]]],["p-71d931bf",[[1,"ld-table-header",{"abbr":[1],"colspan":[2],"headers":[1],"rowspan":[2],"scope":[1],"sortable":[4],"sortAscLabel":[1,"sort-asc-label"],"sortDescLabel":[1,"sort-desc-label"],"sortOrder":[1025,"sort-order"],"resetSort":[64]}]]],["p-c4ae61a1",[[1,"ld-table-row",{"selectable":[4],"selectionSticky":[4,"selection-sticky"],"selectionLabel":[1,"selection-label"],"selected":[1028],"indeterminate":[1028],"selectionDisabled":[4,"selection-disabled"]}]]],["p-6f1c0dce",[[0,"docs-contributors",{"contributors":[1]}]]],["p-d05ada8a",[[0,"docs-edit-on-github",{"path":[1]}]]],["p-6d64a66c",[[4,"docs-icon-group",{"name":[1]}]]],["p-084c417e",[[4,"docs-page-nav",{"prevHref":[1,"prev-href"],"nextHref":[1,"next-href"],"prevTitle":[1,"prev-title"],"nextTitle":[1,"next-title"],"hasSlot":[32]}]]],["p-ee7d1073",[[0,"docs-search",{"results":[32],"isActive":[32]},[[2,"click","handleClick"],[1,"keydown","handleEscapeDown"],[0,"keydown","handleKeyDown"],[0,"submit","handleSubmit"]]]]],["p-c8998fe6",[[1,"ld-badge",{"brandColor":[4,"brand-color"],"icon":[1],"size":[1],"hasCustomIcon":[32],"hasText":[32]}]]],["p-108eca21",[[1,"ld-crumb",{"current":[4],"href":[1]}]]],["p-40a74ea6",[[1,"ld-input-message",{"mode":[1]}]]],["p-3b79636e",[[1,"ld-optgroup-internal",{"disabled":[4],"filtered":[4],"label":[1],"ldTabindex":[2,"ld-tabindex"],"mode":[1],"size":[1],"selected":[32],"focusInner":[64]},[[0,"ldoptionselect","handleOptionSelect"],[0,"keydown","handleKeyDown"]],{"selected":["handleSelectedChange"]}]]],["p-9dc79166",[[1,"ld-option-internal",{"value":[1537],"selected":[1540],"disabled":[4],"preventDeselection":[4,"prevent-deselection"],"mode":[1],"size":[1],"filtered":[4],"ldTabindex":[2,"ld-tabindex"],"title":[32],"hasFocus":[32],"hasHover":[32],"indent":[32],"focusInner":[64]},[[0,"keydown","handleKeyDown"]],{"selected":["handleSelectedChange"]}]]],["p-ee2a2191",[[1,"ld-sidenav-heading"]]],["p-890d5ddc",[[1,"ld-slider",{"ariaDisabled":[1,"aria-disabled"],"disabled":[4],"hideStopLabels":[4,"hide-stop-labels"],"hideValueLabels":[4,"hide-value-labels"],"hideValues":[4,"hide-values"],"indicators":[4],"labelFrom":[1,"label-from"],"labelTo":[1,"label-to"],"labelValue":[1,"label-value"],"max":[2],"min":[2],"negative":[4],"size":[1],"snapOffset":[2,"snap-offset"],"step":[2],"stops":[1],"swappable":[4],"ldTabindex":[2,"ld-tabindex"],"unit":[1],"value":[1544],"width":[1],"valueLabels":[32],"steps":[32],"values":[32],"focusInner":[64]},null,{"max":["updateState"],"min":["updateState"],"step":["updateState"],"stops":["updateState"],"value":["handleValueChange"]}]]],["p-1813e3df",[[1,"ld-sr-live",{"info":[32],"alert":[32]},[[9,"ldSrLiveInfo","handleInfo"],[9,"ldSrLiveAlert","handleAlert"]]]]],["p-c170dd3c",[[1,"ld-stepper",{"brandColor":[4,"brand-color"],"fitContent":[4,"fit-content"],"labelTemplate":[1,"label-template"],"labelSummaryTemplate":[1,"label-summary-template"],"size":[1],"vertical":[4],"currentLabel":[32],"currentIndex":[32],"steps":[32]},null,{"brandColor":["propagateProps"],"size":["propagateProps"],"vertical":["propagateProps"]}]]],["p-d73a1df9",[[0,"docs-btn-dots-grid"]]],["p-e64a3ea9",[[0,"docs-btn-toggle-nav",{"isNavOpen":[32]},[[0,"keydown","handleKeyDown"]]]]],["p-b2dd29b5",[[0,"docs-iframe",{"src":[1],"darkMode":[32],"loaded":[32],"setDarkMode":[64]},null,{"darkMode":["updateDarkMode"]}]]],["p-a4360635",[[4,"docs-layout"]]],["p-ddad1f31",[[0,"docs-nav-backdrop"]]],["p-48d582a3",[[4,"docs-toc",{"headings":[32]},[[2,"click","handleClick"]]]]],["p-42bd57e0",[[1,"ld-bg-cells",{"type":[1],"threeLayers":[4,"three-layers"],"animated":[4]},null,{"type":["loadPatternPathData"]}]]],["p-6191a5f8",[[1,"ld-breadcrumbs"]]],["p-e4ded3bc",[[1,"ld-card",{"shadow":[1],"shadowInteractive":[1,"shadow-interactive"],"size":[1]}]]],["p-cbbb0672",[[1,"ld-card-stack",{"direction":[1]}]]],["p-7f19e682",[[1,"ld-circular-progress",{"ariaLabeledby":[513,"aria-labeledby"],"ariaValuemax":[514,"aria-valuemax"],"ariaValuemin":[514,"aria-valuemin"],"ariaValuenow":[514,"aria-valuenow"],"ariaValuetext":[513,"aria-valuetext"],"brandColor":[4,"brand-color"]}]]],["p-8157d479",[[1,"ld-label",{"for":[1],"alignMessage":[4,"align-message"],"position":[1],"size":[1],"clonedAttributes":[32]}]]],["p-488f0189",[[1,"ld-loading",{"label":[1],"neutral":[4],"paused":[4]}]]],["p-de51c23f",[[1,"ld-menuitem-group",{"ariaLabel":[1,"aria-label"]}]]],["p-db6c1ebb",[[1,"ld-notification",{"placement":[1],"sanitizeConfig":[1,"sanitize-config"],"queue":[32],"queueDismissed":[32],"dismissTimeout":[32],"fadeoutTimeouts":[32],"currentNotification":[32]},[[9,"ldNotificationAdd","handleNotification"],[9,"ldNotificationDismiss","handleNotificationDismiss"],[9,"ldNotificationClear","handleNotificationClear"]],{"currentNotification":["updateDismissTimeout"]}]]],["p-6fdf0745",[[1,"ld-optgroup",{"label":[1],"disabled":[4]}]]],["p-d45e8f89",[[1,"ld-progress",{"ariaLabeledby":[513,"aria-labeledby"],"ariaValuemax":[514,"aria-valuemax"],"ariaValuemin":[514,"aria-valuemin"],"ariaValuenow":[514,"aria-valuenow"],"ariaValuetext":[513,"aria-valuetext"],"brandColor":[4,"brand-color"],"pending":[4],"steps":[4]}]]],["p-a088f7d3",[[1,"ld-radio",{"ariaDisabled":[1,"aria-disabled"],"autofocus":[516],"checked":[1028],"disabled":[4],"form":[1],"groupChecked":[4,"group-checked"],"invalid":[4],"ldTabindex":[2,"ld-tabindex"],"mode":[1],"name":[1],"readonly":[4],"required":[4],"tone":[1],"value":[1],"clonedAttributes":[32],"focusInner":[64]},null,{"checked":["updateHiddenInput"],"form":["updateHiddenInput"],"name":["updateHiddenInput"],"value":["updateHiddenInput"]}]]],["p-2dcf38f5",[[1,"ld-sidenav-back",{"backLabel":[1,"back-label"],"parentLabel":[32],"rounded":[32],"sidenavCollapsed":[32],"sidenavClosable":[32],"updateLabel":[64]},[[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"]]]]],["p-699b0a42",[[1,"ld-tab",{"disabled":[4],"ldTabindex":[2,"ld-tabindex"],"selected":[1540],"focusInner":[64],"select":[64]},null,{"selected":["emitEvent"]}]]],["p-c79ebadf",[[1,"ld-table",null,[[0,"ldTableSort","handleTableSort"],[0,"ldTableSelectAll","handleTableSelectAll"],[0,"ldTableSelect","handleTableSelect"]]]]],["p-430fe27d",[[1,"ld-table-body"]]],["p-47f9082b",[[1,"ld-table-caption"]]],["p-94719925",[[1,"ld-table-col",{"span":[2]}]]],["p-a5f4b2c5",[[1,"ld-table-colgroup",{"span":[2]}]]],["p-34dc80c9",[[1,"ld-table-foot"]]],["p-3a42d32d",[[1,"ld-table-head"]]],["p-c34a6e59",[[1,"ld-table-toolbar"]]],["p-b6223ce4",[[1,"ld-tablist",{"size":[1],"mode":[1],"rounded":[1],"initialized":[32],"selectedTab":[32],"scrollable":[32],"scrollLeftEnabled":[32],"scrollRightEnabled":[32],"focusVisible":[32],"selectedIsFocused":[32]},[[0,"ldtabselect","handleTabSelect"]],{"selectedTab":["updateSelectedTabIndicator"],"size":["updateIconSize"],"scrollable":["emitScrollable"]}]]],["p-3aadade1",[[1,"ld-tabpanel"]]],["p-6378f694",[[1,"ld-tabpanellist"]]],["p-7ef0fda6",[[1,"ld-tabs",{"switchTab":[64]}]]],["p-385d2a88",[[1,"ld-header",{"hidden":[1028],"hideOnScroll":[4,"hide-on-scroll"],"logoTitle":[1,"logo-title"],"logoUrl":[1,"logo-url"],"sticky":[4],"siteName":[1,"site-name"]},null,{"hideOnScroll":["connectedCallback"]}]]],["p-4a9a72a7",[[1,"ld-input",{"accept":[1],"ariaDisabled":[1,"aria-disabled"],"autocomplete":[1537],"autofocus":[516],"capture":[1],"cols":[2],"dirname":[1],"disabled":[4],"form":[1],"invalid":[4],"ldTabindex":[2,"ld-tabindex"],"list":[1],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"multiline":[4],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"resize":[1],"rows":[2],"size":[1],"step":[1],"tone":[1],"type":[1],"value":[1025],"clonedAttributes":[32],"focusInner":[64]},null,{"dirname":["updateHiddenInput"],"form":["updateHiddenInput"],"name":["updateHiddenInput"],"value":["updateHiddenInput"],"size":["updateIconAndButtonSize"]}]]],["p-0751677e",[[1,"ld-table-cell",{"colspan":[2],"headers":[1],"rowspan":[2]}]]],["p-d7b432ae",[[1,"ld-context-menu",{"position":[1],"rightClick":[4,"right-click"],"size":[1],"tetherOptions":[1,"tether-options"],"initialized":[32],"showContextMenu":[64],"hideContextMenu":[64]},null,{"size":["updateSize"]}],[1,"ld-menuitem",{"disabled":[4],"href":[1],"ldTabindex":[2,"ld-tabindex"],"preventClose":[4,"prevent-close"],"mode":[1],"size":[1],"target":[1],"clonedAttributes":[32],"focusInner":[64]}]]],["p-fff65bfe",[[1,"docs-figma-access-notice"]]],["p-0cff3d08",[[0,"docs-btn-search",null,[[2,"click","handleClick"],[5,"keydown","handleKeyDown"]]],[0,"docs-switch-dark-light",{"isDark":[32]},[[2,"click","handleClick"]],{"isDark":["updateIFrames"]}]]],["p-24dedd5e",[[1,"ld-modal",{"cancelable":[4],"open":[1540],"blurryBackdrop":[4,"blurry-backdrop"],"showModal":[64],"close":[64]},[[9,"keydown","handleKeyDown"]],{"open":["onOpenChange"]}],[1,"ld-toggle",{"ariaDisabled":[1,"aria-disabled"],"autofocus":[516],"checked":[1028],"disabled":[4],"form":[1],"invalid":[4],"ldTabindex":[2,"ld-tabindex"],"name":[1],"readonly":[4],"required":[4],"size":[1],"value":[1],"clonedAttributes":[32],"focusInner":[64]},null,{"checked":["updateHiddenInput"],"name":["updateHiddenInput"],"value":["updateHiddenInput"]}]]],["p-d426b460",[[1,"ld-link",{"chevron":[1],"disabled":[4],"download":[520],"href":[513],"hreflang":[513],"ldTabindex":[2,"ld-tabindex"],"ping":[1],"referrerpolicy":[1],"target":[1],"clonedAttributes":[32],"focusInner":[64]}]]],["p-43a7d779",[[1,"ld-menu",{"size":[1],"initialized":[32],"typeAheadHandler":[32],"getFirstMenuItem":[64]},null,{"size":["handleSizeChange"]}]]],["p-9833ecb4",[[1,"ld-checkbox",{"ariaDisabled":[1,"aria-disabled"],"autofocus":[516],"checked":[1028],"disabled":[4],"form":[1],"indeterminate":[1028],"invalid":[4],"ldTabindex":[2,"ld-tabindex"],"mode":[1],"name":[1],"readonly":[4],"required":[4],"tone":[1],"value":[1],"clonedAttributes":[32],"focusInner":[64]},null,{"checked":["updateIndeterminate","updateHiddenInput"],"form":["updateHiddenInput"],"name":["updateHiddenInput"],"value":["updateHiddenInput"]}]]],["p-e304d827",[[1,"ld-button",{"alignText":[1025,"align-text"],"ariaDisabled":[1,"aria-disabled"],"autofocus":[516],"brandColor":[4,"brand-color"],"disabled":[4],"download":[8],"form":[1],"formaction":[1],"formenctype":[1],"formmethod":[1],"formnovalidate":[4],"formtarget":[1],"href":[1],"hreflang":[1],"justifyContent":[1025,"justify-content"],"ldTabindex":[2,"ld-tabindex"],"mode":[1],"name":[1],"ping":[1],"progress":[8],"referrerpolicy":[1],"size":[1],"target":[1],"type":[1],"value":[1],"iconOnly":[1028,"icon-only"],"clonedAttributes":[32],"focusInner":[64]}]]],["p-1c01ac4e",[[1,"ld-icon",{"name":[513],"size":[1]},null,{"name":["loadIconPathData"]}]]],["p-236dbb56",[[1,"ld-select",{"ariaDisabled":[1,"aria-disabled"],"autofocus":[516],"creatable":[4],"createInputLabel":[1,"create-input-label"],"createButtonLabel":[1,"create-button-label"],"disabled":[4],"form":[1],"filter":[4],"filterPlaceholder":[1,"filter-placeholder"],"invalid":[4],"ldTabindex":[2,"ld-tabindex"],"maxRows":[1026,"max-rows"],"mode":[1],"multiple":[4],"name":[1],"placeholder":[1],"popperClass":[1,"popper-class"],"preventDeselection":[4,"prevent-deselection"],"required":[4],"sanitizeConfig":[1,"sanitize-config"],"selected":[1040],"size":[1],"tetherOptions":[1,"tether-options"],"allOptsFiltered":[32],"filterMatchesOpt":[32],"expanded":[32],"hasCustomIcon":[32],"hasMore":[32],"initialized":[32],"internalOptionsHTML":[32],"renderHiddenInput":[32],"theme":[32],"typeAheadHandler":[32],"focusInner":[64]},[[9,"resize","handleWindowResize"],[9,"ldoptionselect","handleSelect"],[8,"keydown","handleKeyDown"],[8,"click","handleClickOutside"],[9,"touchend","handleTouchOutside"]],{"selected":["emitEventsAndUpdateHidden"],"name":["updateHiddenInputs"],"form":["updateHiddenInputs"]}],[1,"ld-option",{"value":[1],"selected":[4],"disabled":[4],"filtered":[4]}],[1,"ld-select-popper",{"allOptionsFiltered":[4,"all-options-filtered"],"class":[513],"creatable":[4],"createInputLabel":[1,"create-input-label"],"createButtonLabel":[1,"create-button-label"],"detached":[4],"expanded":[4],"filter":[4],"filterMatchesOption":[4,"filter-matches-option"],"filterPlaceholder":[1,"filter-placeholder"],"popperClass":[1,"popper-class"],"size":[1],"theme":[1],"isPinned":[32],"shadowHeight":[32],"filterInputValue":[32],"canCreate":[32],"updateShadowHeight":[64],"resetFilter":[64]},null,{"creatable":["updateCanCreate"],"filterMatchesOption":["updateCanCreate"],"filterInputValue":["updateCanCreate"],"class":["updatePinnedState"],"theme":["updatePopperTheme"],"expanded":["updateFilter"]}]]],["p-7161caa6",[[1,"ld-sr-only"]]],["p-2f76f5f2",[[0,"docs-pick-theme",{"currentTheme":[32]}],[0,"docs-toggle-code",{"isOn":[4,"is-on"]},[[2,"click","handleClick"]]],[1,"ld-switch",{"size":[1],"brandColor":[4,"brand-color"],"legend":[1],"autofocus":[516],"disabled":[4],"fitContent":[4,"fit-content"],"form":[1],"ariaDisabled":[1,"aria-disabled"],"name":[1],"readonly":[4],"required":[4],"ldTabindex":[2,"ld-tabindex"],"hasFocus":[32],"focusInner":[64]},[[0,"ldswitchitemchange","handleLdSwitchItemChange"]],{"ariaDisabled":["updateSwitchItemProps"],"disabled":["updateSwitchItemProps"],"form":["updateSwitchItemProps"],"ldTabindex":["updateSwitchItemProps"],"name":["updateSwitchItemProps"],"readonly":["updateSwitchItemProps"],"required":["updateSwitchItemProps"]}],[1,"ld-switch-item",{"ariaDisabled":[513,"aria-disabled"],"checked":[1028],"disabled":[4],"form":[1],"ldTabindex":[2,"ld-tabindex"],"name":[1],"readonly":[516],"required":[4],"value":[1],"clonedAttributes":[32],"hasLabel":[32],"focusInner":[64]},null,{"checked":["updateHiddenInput"],"form":["updateHiddenInput"],"name":["updateHiddenInput"],"value":["updateHiddenInput"]}]]],["p-b5ea1bc0",[[0,"docs-copy-to-cb",{"textToCopy":[1,"text-to-copy"],"mode":[8],"copyTimeout":[32]},[[2,"click","handleClick"]]]]],["p-73303dba",[[1,"ld-sidenav-scroller-internal",{"hasShadowBottom":[32],"hasShadowTop":[32],"needsHRBottom":[32],"needsHRTop":[32],"relative":[32],"sidenavClosable":[32],"sidenavCollapsed":[32],"updateShadows":[64],"scrollToTop":[64]},[[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"]]],[1,"ld-sidenav-separator",{"sidenavCollapsed":[32],"sidenavClosable":[32],"scaleXCollapsed":[32]},[[9,"ldSidenavCollapsedChange","handleSidenavCollapsedChange"],[9,"ldSidenavBreakpointChange","handleSidenavBreakpointChange"]]]]],["p-f962b3cd",[[1,"ld-accordion-toggle",{"disabled":[4],"labelTag":[1,"label-tag"],"ldTabindex":[2,"ld-tabindex"],"split":[4],"toggleLabel":[1,"toggle-label"],"expanded":[32],"hasCustomIcon":[32],"focusInner":[64],"setExpanded":[64]}],[1,"ld-accordion",{"brandColor":[4,"brand-color"],"detached":[4],"rounded":[4],"single":[4],"tone":[1]},[[1,"ldaccordionchange","handleAccordionExpandChange"]]],[1,"ld-accordion-panel",{"expanded":[32],"initialized":[32],"transitionEnabled":[32],"maxHeight":[32],"resizeObserver":[32],"innerPanelExpanding":[32],"setExpanded":[64]}],[1,"ld-accordion-section",{"expanded":[1028],"initialized":[32]},null,{"expanded":["updateExpandedState"]}]]],["p-21c59b99",[[1,"ld-typo",{"tag":[1],"variant":[1025],"ariaLabel":[1,"aria-label"],"clonedAttributes":[32]}]]],["p-62594aee",[[1,"ld-tooltip",{"arrow":[4],"disabled":[4],"hideDelay":[2,"hide-delay"],"position":[1],"preventScreenreader":[4,"prevent-screenreader"],"rightClick":[4,"right-click"],"showDelay":[2,"show-delay"],"size":[1],"unstyled":[4],"tag":[1],"tetherOptions":[1,"tether-options"],"triggerType":[1,"trigger-type"],"hasDefaultTrigger":[32],"triggerTabIndex":[32],"visible":[32],"getTooltip":[64],"hideTooltip":[64],"showTooltip":[64],"handleContextMenu":[64]},[[8,"click","handleClickOutside"],[8,"ldtooltipopen","handleContextMenuOutside"],[9,"touchend","handleTouchOutside"],[9,"ldclosetooltip","handleCloseTooltip"]],{"disabled":["updatePopper"]}],[1,"ld-tooltip-popper",{"arrow":[4],"rightClick":[4,"right-click"],"size":[1],"triggerType":[1,"trigger-type"],"unstyled":[4],"hasDefaultTrigger":[4,"has-default-trigger"],"initialized":[32]}]]]]'),e))); -//# sourceMappingURL=liquid.esm.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/liquid.esm.js.map b/1704966176737/dist/build/liquid.esm.js.map deleted file mode 100644 index f4c8bc8e09..0000000000 --- a/1704966176737/dist/build/liquid.esm.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"sources":["../node_modules/.pnpm/@stencil+core@4.9.0/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,6tsBAAuCH"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-00dcb85b.entry.js.map b/1704966176737/dist/build/p-00dcb85b.entry.js.map deleted file mode 100644 index 57e2012337..0000000000 --- a/1704966176737/dist/build/p-00dcb85b.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsBorderRadiusCss","DocsBorderRadius","render","h","Host","class","textToCopy","this","var","style","borderRadius"],"sources":["../src/docs/components/docs-border-radius/docs-border-radius.css?tag=docs-border-radius","../src/docs/components/docs-border-radius/docs-border-radius.tsx"],"sourcesContent":["@define-mixin docs-border-radius-ui-light {\n .docs-border-radius {\n border-color: var(--ld-col-neutral-100);\n }\n}\n@define-mixin docs-border-radius-ui-dark {\n .docs-border-radius {\n border-color: var(--ld-col-neutral-600);\n }\n}\n\n@mixin docs-border-radius-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-border-radius-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-border-radius-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-border-radius-ui-light;\n}\n\n.docs-border-radius {\n display: flex;\n width: 100%;\n align-items: center;\n overflow: hidden;\n border-style: solid;\n border-width: var(--ld-sp-1);\n color: var(--ld-col-neutral-900);\n background-color: var(--ld-col-wht);\n padding: var(--ld-sp-16) var(--ld-sp-16) var(--ld-sp-16) var(--ld-sp-8);\n min-height: 4rem;\n\n &:first-of-type {\n border-top-left-radius: var(--ld-br-l);\n border-top-right-radius: var(--ld-br-l);\n }\n &:last-of-type {\n border-bottom-left-radius: var(--ld-br-l);\n border-bottom-right-radius: var(--ld-br-l);\n }\n &:not(:first-of-type) {\n border-top-width: 0;\n }\n &:not(:last-of-type) {\n border-bottom-width: 0;\n }\n}\n\n.docs-border-radius__var {\n display: flex;\n border-radius: var(--ld-br-l);\n align-items: center;\n font: var(--ld-typo-body-s);\n font-family: 'Source Code Pro', Consolas, Monaco, 'Ubuntu Mono', monospace;\n flex-shrink: 0;\n white-space: nowrap;\n width: 12rem;\n\n .docs-copy-to-cb {\n margin-right: var(--ld-sp-8);\n }\n}\n\n.docs-border-radius__vis {\n display: inline-flex;\n background-color: var(--ld-col-vm);\n width: var(--ld-sp-40);\n height: var(--ld-sp-40);\n}\n","import { Component, h, Host, Prop } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-border-radius',\n styleUrl: 'docs-border-radius.css',\n shadow: false,\n})\nexport class DocsBorderRadius {\n /** CSS variable name */\n @Prop() var: string\n\n /** CSS variable value */\n @Prop() val: string\n\n render() {\n return (\n \n \n \n {this.var}\n \n \n \n )\n }\n}\n"],"mappings":"6CAAA,MAAMA,EAAsB,q0C,MCQfC,EAAgB,M,+DAO3B,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,sBACVF,EAAA,QAAME,MAAM,2BACVF,EAAA,mBAAiBG,WAAYC,KAAKC,MACjCD,KAAKC,KAERL,EAAA,QACEE,MAAM,0BACNI,MAAO,CAAEC,aAAc,OAAOH,KAAKC,U"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-065e1cbd.entry.js.map b/1704966176737/dist/build/p-065e1cbd.entry.js.map deleted file mode 100644 index 1a0186c9b1..0000000000 --- a/1704966176737/dist/build/p-065e1cbd.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSidenavToggleOutsideShadowCss","LdSidenavToggleOutside","this","toggleSidenavCollapsedState","ev","stopPropagation","sidenav","toggle","focusInner","focus","handleSidenavCollapsedChange","target","sidenavCollapsed","detail","collapsed","sidenavCollapsedFully","fully","tooltipRef","hideTooltip","handleSidenavBreakpointChange","sidenavClosable","componentWillLoad","el","nextElementSibling","tagName","Error","sidenavAlignement","align","render","cl","getClassNames","h","Host","class","arrow","size","ref","position","tag","tetherOptions","slot","role","onClick","part","tabIndex","ldTabindex","name","labelExpand"],"sources":["../src/liquid/components/ld-sidenav/ld-sidenav-toggle-outside/ld-sidenav-toggle-outside.shadow.css?tag=ld-sidenav-toggle-outside&encapsulation=shadow","../src/liquid/components/ld-sidenav/ld-sidenav-toggle-outside/ld-sidenav-toggle-outside.tsx"],"sourcesContent":[":host {\n /* layout */\n --ld-sidenav-toggle-outside-height: 3.125rem;\n\n /* colors */\n --ld-sidenav-toggle-outside-col: var(--ld-col-wht);\n --ld-sidenav-toggle-outside-bg-col: var(--ld-thm-primary);\n --ld-sidenav-toggle-outside-bg-col-hover: var(--ld-thm-primary-hover);\n --ld-sidenav-toggle-outside-bg-col-focus: var(--ld-thm-primary-focus);\n --ld-sidenav-toggle-outside-bg-col-active: var(--ld-thm-primary-active);\n\n @media (prefers-reduced-motion: no-preference) {\n --ld-sidenav-transition-duration-collapse-expand: var(\n --ld-transition-duration-normal\n );\n }\n\n align-items: center;\n align-self: flex-start;\n display: flex;\n height: var(--ld-sidenav-toggle-outside-height);\n justify-content: center;\n position: var(--ld-sidenav-toggle-outside-position, fixed);\n\n &(.ld-sidenav-toggle-outside--left) {\n left: 0;\n }\n &(.ld-sidenav-toggle-outside--right) {\n right: 0;\n }\n}\n\n.ld-sidenav-toggle-outside__toggle {\n aspect-ratio: 1;\n background-color: transparent;\n border: 0;\n border-radius: var(--ld-br-l);\n color: var(--ld-sidenav-toggle-outside-col);\n cursor: pointer;\n display: grid;\n margin: var(--ld-sp-2) var(--ld-sp-16) auto;\n outline: none;\n padding-bottom: 0;\n padding-top: 0;\n place-content: center;\n touch-action: manipulation;\n transition: visibility 0s\n calc(2 * var(--ld-sidenav-transition-duration-collapse-expand)) linear,\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease;\n visibility: hidden;\n will-change: transform; /* fixes rendering issue */\n -webkit-touch-callout: none;\n\n /* background */\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n display: block;\n border-radius: inherit;\n box-shadow: var(--ld-shadow-stacked);\n background-color: var(--ld-sidenav-toggle-outside-bg-col);\n }\n\n /* increase click area */\n &::after {\n content: '';\n position: absolute;\n inset: calc(-1 * var(--ld-sp-6));\n display: block;\n border-radius: inherit;\n }\n\n &:where(:focus:focus-visible) {\n --ld-sidenav-toggle-outside-bg-col: var(\n --ld-sidenav-toggle-outside-bg-col-focus\n );\n }\n @media (hover: hover) {\n &:where(:hover) {\n --ld-sidenav-toggle-outside-bg-col: var(\n --ld-sidenav-toggle-outside-bg-col-hover\n );\n }\n }\n &:where(:active),\n &:where(:active:focus-visible) {\n --ld-sidenav-toggle-outside-bg-col: var(\n --ld-sidenav-toggle-outside-bg-col-active\n );\n }\n\n :host(.ld-sidenav-toggle-outside--closable) &,\n :host(.ld-sidenav-toggle-outside--collapsed-fully) & {\n transition: transform var(--ld-sidenav-transition-duration-collapse-expand)\n ease;\n visibility: inherit;\n }\n\n :host(.ld-sidenav-toggle-outside--collapsed) & {\n transform: none;\n }\n\n :host(.ld-sidenav-toggle-outside--collapsed.ld-sidenav-toggle-outside--right)\n & {\n transform: translateX(\n calc(-1 * (var(--ld-sidenav-width) - var(--ld-sidenav-width-collapsed)))\n );\n }\n}\n\n.ld-sidenav-toggle-outside__icon {\n position: relative;\n\n :host(\n .ld-sidenav-toggle-outside--right:not(\n .ld-sidenav-toggle-outside--collapsed\n )\n )\n & {\n transform: scaleX(-100%);\n }\n}\n","import {\n Component,\n Element,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-sidenav-toggle-outside',\n styleUrl: 'ld-sidenav-toggle-outside.shadow.css',\n shadow: true,\n})\nexport class LdSidenavToggleOutside implements InnerFocusable {\n @Element() el: HTMLLdSidenavToggleOutsideElement\n private sidenav: HTMLLdSidenavElement\n private tooltipRef: HTMLLdTooltipElement\n private toggle: HTMLButtonElement\n\n /** Label to be used for the toggle button when navigation is collapsed. */\n @Prop() labelExpand? = 'Expand side navigation'\n\n /** Tab index of the toggle. */\n @Prop() ldTabindex?: number\n\n /** Tooltip tether options object to be merged with the default options (optionally stringified). */\n @Prop() tetherOptions?: Partial | string\n\n @State() sidenavClosable: boolean\n @State() sidenavCollapsed: boolean\n @State() sidenavCollapsedFully: boolean\n @State() sidenavAlignement: 'left' | 'right'\n\n /** Sets focus on the radio button. */\n @Method()\n async focusInner() {\n this.toggle.focus()\n }\n\n @Listen('ldSidenavCollapsedChange', { target: 'window', passive: true })\n handleSidenavCollapsedChange(\n ev: CustomEvent<{\n collapsed: boolean\n fully: boolean\n }>\n ) {\n if (ev.target !== this.sidenav) return\n this.sidenavCollapsed = ev.detail.collapsed\n this.sidenavCollapsedFully = ev.detail.collapsed && ev.detail.fully\n this.tooltipRef.hideTooltip()\n }\n\n @Listen('ldSidenavBreakpointChange', { target: 'window', passive: true })\n handleSidenavBreakpointChange(ev: CustomEvent) {\n if (ev.target !== this.sidenav) return\n this.sidenavClosable = ev.detail\n this.tooltipRef.hideTooltip()\n }\n\n private toggleSidenavCollapsedState = (ev) => {\n ev.stopPropagation() // prevents call of click outside handler\n this.sidenav.toggle()\n }\n\n componentWillLoad() {\n this.sidenav = this.el.nextElementSibling as HTMLLdSidenavElement\n if (!this.sidenav || this.sidenav.tagName !== 'LD-SIDENAV') {\n throw new Error(\n `The ld-sidenav-toggle-outside component is expecting to have an ld-sidenav component as its next element sibling, but instead there was: ${this.sidenav}`\n )\n }\n this.sidenavAlignement = this.sidenav.align || 'left'\n }\n\n render() {\n const cl = getClassNames([\n 'ld-sidenav-toggle-outside',\n `ld-sidenav-toggle-outside--${this.sidenavAlignement}`,\n this.sidenavClosable && 'ld-sidenav-toggle-outside--closable',\n this.sidenavCollapsedFully &&\n 'ld-sidenav-toggle-outside--collapsed-fully',\n ])\n\n return (\n \n (this.tooltipRef = el)}\n show-delay=\"1000\"\n position={\n this.sidenavAlignement === 'left' ? 'right middle' : 'left middle'\n }\n tag=\"span\"\n tetherOptions={this.tetherOptions}\n >\n (this.toggle = ref)}\n tabIndex={this.ldTabindex}\n >\n \n {this.labelExpand}\n \n {this.labelExpand}\n \n \n )\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAkC,s7F,MCqB3BC,EAAsB,M,yBA8CzBC,KAAAC,4BAA+BC,IACrCA,EAAGC,kBACHH,KAAKI,QAAQC,QAAQ,E,iBAzCA,yB,4LAevB,gBAAMC,GACJN,KAAKK,OAAOE,O,CAId,4BAAAC,CACEN,GAKA,GAAIA,EAAGO,SAAWT,KAAKI,QAAS,OAChCJ,KAAKU,iBAAmBR,EAAGS,OAAOC,UAClCZ,KAAKa,sBAAwBX,EAAGS,OAAOC,WAAaV,EAAGS,OAAOG,MAC9Dd,KAAKe,WAAWC,a,CAIlB,6BAAAC,CAA8Bf,GAC5B,GAAIA,EAAGO,SAAWT,KAAKI,QAAS,OAChCJ,KAAKkB,gBAAkBhB,EAAGS,OAC1BX,KAAKe,WAAWC,a,CAQlB,iBAAAG,GACEnB,KAAKI,QAAUJ,KAAKoB,GAAGC,mBACvB,IAAKrB,KAAKI,SAAWJ,KAAKI,QAAQkB,UAAY,aAAc,CAC1D,MAAM,IAAIC,MACR,4IAA4IvB,KAAKI,U,CAGrJJ,KAAKwB,kBAAoBxB,KAAKI,QAAQqB,OAAS,M,CAGjD,MAAAC,GACE,MAAMC,EAAKC,EAAc,CACvB,4BACA,8BAA8B5B,KAAKwB,oBACnCxB,KAAKkB,iBAAmB,sCACxBlB,KAAKa,uBACH,+CAGJ,OACEgB,EAACC,EAAI,CAACC,MAAOJ,GACXE,EAAA,cACEG,MAAK,KACLC,KAAK,KACLC,IAAMd,GAAQpB,KAAKe,WAAaK,EAAG,aACxB,OACXe,SACEnC,KAAKwB,oBAAsB,OAAS,eAAiB,cAEvDY,IAAI,OACJC,cAAerC,KAAKqC,eAEpBR,EAAA,UACES,KAAK,UACLC,KAAK,SAAQ,kCAECvC,KAAKU,iBAAmB,QAAU,OAChDqB,MAAM,oCACNS,QAASxC,KAAKC,4BACdwC,KAAK,mBACLP,IAAMA,GAASlC,KAAKK,OAAS6B,EAC7BQ,SAAU1C,KAAK2C,YAEfd,EAAA,WACEE,MAAM,kCACNa,KAAK,gBACLH,KAAK,gBAEPZ,EAAA,kBAAa7B,KAAK6C,cAEpBhB,EAAA,eAAU7B,KAAK6C,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-0751677e.entry.js b/1704966176737/dist/build/p-0751677e.entry.js deleted file mode 100644 index 0993c093a7..0000000000 --- a/1704966176737/dist/build/p-0751677e.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as l}from"./p-21a69c18.js";const i=":host{display:contents}td{background-color:inherit;max-width:inherit;min-width:inherit;padding-block:var(--ld-table-cell-padding-y);padding-inline:var(--ld-table-cell-padding-x)}";const n=class{constructor(l){t(this,l);this.colspan=undefined;this.headers=undefined;this.rowspan=undefined}render(){return l("td",{class:"ld-table-cell",colSpan:this.colspan,headers:this.headers,part:"cell",rowSpan:this.rowspan},l("slot",null))}};n.style=i;export{n as ld_table_cell}; -//# sourceMappingURL=p-0751677e.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-0751677e.entry.js.map b/1704966176737/dist/build/p-0751677e.entry.js.map deleted file mode 100644 index fc1a9d645e..0000000000 --- a/1704966176737/dist/build/p-0751677e.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableCellShadowCss","LdTableCell","render","h","class","colSpan","this","colspan","headers","part","rowSpan","rowspan"],"sources":["../src/liquid/components/ld-table/ld-table-cell/ld-table-cell.shadow.css?tag=ld-table-cell&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-cell/ld-table-cell.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n\ntd {\n background-color: inherit;\n max-width: inherit;\n min-width: inherit;\n padding-block: var(--ld-table-cell-padding-y);\n padding-inline: var(--ld-table-cell-padding-x);\n}\n","import { Component, h, Prop } from '@stencil/core'\n\n/**\n * @part cell - the actual td element\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-cell',\n styleUrl: 'ld-table-cell.shadow.css',\n shadow: true,\n})\nexport class LdTableCell {\n /** Contains a non-negative integer value that indicates for how many columns the cell extends. */\n @Prop() colspan?: HTMLTableCellElement['colSpan']\n\n /** Contains a list of space-separated strings, each corresponding to the id attribute of the table header elements that apply to this element. */\n @Prop() headers?: HTMLTableCellElement['headers']\n\n /** Contains a non-negative integer value that indicates for how many rows the cell extends. */\n @Prop() rowspan?: HTMLTableCellElement['rowSpan']\n\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAuB,qL,MCYhBC,EAAW,M,8FAUtB,MAAAC,GACE,OACEC,EAAA,MACEC,MAAM,gBACNC,QAASC,KAAKC,QACdC,QAASF,KAAKE,QACdC,KAAK,OACLC,QAASJ,KAAKK,SAEdR,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-084c417e.entry.js b/1704966176737/dist/build/p-084c417e.entry.js deleted file mode 100644 index f146a53faa..0000000000 --- a/1704966176737/dist/build/p-084c417e.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as a,h as s,H as e,g as o}from"./p-21a69c18.js";const n=".docs-page-nav__dark{display:none}.docs-page-nav__light{display:block}@media (prefers-color-scheme:dark){.docs-page-nav__dark{display:block}.docs-page-nav__light{display:none}}.docs-ui-dark .docs-page-nav__dark{display:block}.docs-ui-dark .docs-page-nav__light,.docs-ui-light .docs-page-nav__dark{display:none}.docs-ui-light .docs-page-nav__light{display:block}.docs-page-nav{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.docs-page-nav__container{width:100%}.docs-page-nav__content{display:flex;grid-auto-flow:column;justify-content:space-between}.docs-page-nav__pull,.docs-page-nav__push{flex-shrink:0;margin-bottom:var(--ld-sp-16)}.docs-page-nav__pull{margin-right:var(--ld-sp-16)}.docs-page-nav__push{margin-left:auto}.docs-page-nav--has-slot .docs-page-nav__push{margin-right:var(--ld-sp-16)}.docs-page-nav--has-slot .docs-page-nav__container{width:auto}@media (width <= 51.2rem){.docs-page-nav--has-slot>:last-child{display:none}}";const t=class{constructor(s){a(this,s);this.prevHref=undefined;this.nextHref=undefined;this.prevTitle="Back";this.nextTitle="Next";this.hasSlot=false}componentWillLoad(){this.hasSlot=this.el.childNodes.length>2}render(){return s(e,{class:{"docs-page-nav":true,"docs-page-nav--has-slot":this.hasSlot}},s("div",{class:"docs-page-nav__container docs-page-nav__dark"},s("div",{class:"docs-page-nav__content"},this.prevHref?s("ld-button",{"brand-color":true,class:"docs-page-nav__pull",mode:"secondary",href:this.prevHref},this.prevTitle):"",this.nextHref?s("ld-button",{"brand-color":true,class:"docs-page-nav__push",href:this.nextHref},this.nextTitle):"")),s("div",{class:"docs-page-nav__container docs-page-nav__light"},s("div",{class:"docs-page-nav__content"},this.prevHref?s("ld-button",{class:"docs-page-nav__pull",mode:"secondary",href:this.prevHref},this.prevTitle):"",this.nextHref?s("ld-button",{class:"docs-page-nav__push",href:this.nextHref},this.nextTitle):"")),s("slot",null))}get el(){return o(this)}};t.style=n;export{t as docs_page_nav}; -//# sourceMappingURL=p-084c417e.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-084c417e.entry.js.map b/1704966176737/dist/build/p-084c417e.entry.js.map deleted file mode 100644 index df1b011214..0000000000 --- a/1704966176737/dist/build/p-084c417e.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsPageNavCss","DocsPageNav","componentWillLoad","this","hasSlot","el","childNodes","length","render","h","Host","class","prevHref","mode","href","prevTitle","nextHref","nextTitle"],"sources":["../src/docs/components/docs-page-nav/docs-page-nav.css?tag=docs-page-nav","../src/docs/components/docs-page-nav/docs-page-nav.tsx"],"sourcesContent":["@define-mixin docs-page-nav-ui-light {\n .docs-page-nav__dark {\n display: none;\n }\n .docs-page-nav__light {\n display: block;\n }\n}\n@define-mixin docs-page-nav-ui-dark {\n .docs-page-nav__dark {\n display: block;\n }\n .docs-page-nav__light {\n display: none;\n }\n}\n\n@mixin docs-page-nav-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-page-nav-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-page-nav-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-page-nav-ui-light;\n}\n\n.docs-page-nav {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n width: 100%;\n}\n\n.docs-page-nav__container {\n width: 100%;\n}\n\n.docs-page-nav__content {\n display: flex;\n grid-auto-flow: column;\n justify-content: space-between;\n}\n\n.docs-page-nav__pull,\n.docs-page-nav__push {\n margin-bottom: var(--ld-sp-16);\n flex-shrink: 0;\n}\n\n.docs-page-nav__pull {\n margin-right: var(--ld-sp-16);\n}\n\n.docs-page-nav__push {\n margin-left: auto;\n\n .docs-page-nav--has-slot & {\n margin-right: var(--ld-sp-16);\n }\n}\n\n.docs-page-nav--has-slot {\n .docs-page-nav__container {\n width: auto;\n }\n\n & > :last-child {\n @media (width <= 51.2rem) {\n display: none;\n }\n }\n}\n","import { Component, Element, h, Host, Prop, State } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-page-nav',\n styleUrl: 'docs-page-nav.css',\n shadow: false,\n})\nexport class DocsPageNav {\n @Element() el: HTMLElement\n\n /** Href to previous page. */\n @Prop() prevHref: string\n\n /** Href to next page. */\n @Prop() nextHref: string\n\n /** Title of previous page. */\n @Prop() prevTitle = 'Back'\n\n /** Title of next page. */\n @Prop() nextTitle = 'Next'\n\n @State() hasSlot = false\n\n componentWillLoad() {\n this.hasSlot = this.el.childNodes.length > 2\n }\n\n render() {\n return (\n \n
\n
\n {this.prevHref ? (\n \n {this.prevTitle}\n \n ) : (\n ''\n )}\n {this.nextHref ? (\n \n {this.nextTitle}\n \n ) : (\n ''\n )}\n
\n
\n
\n
\n {this.prevHref ? (\n \n {this.prevTitle}\n \n ) : (\n ''\n )}\n {this.nextHref ? (\n \n {this.nextTitle}\n \n ) : (\n ''\n )}\n
\n
\n \n \n )\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAiB,k8B,MCQVC,EAAW,M,wFAUF,O,eAGA,O,aAED,K,CAEnB,iBAAAC,GACEC,KAAKC,QAAUD,KAAKE,GAAGC,WAAWC,OAAS,C,CAG7C,MAAAC,GACE,OACEC,EAACC,EAAI,CACHC,MAAO,CACL,gBAAiB,KACjB,0BAA2BR,KAAKC,UAGlCK,EAAA,OAAKE,MAAM,gDACTF,EAAA,OAAKE,MAAM,0BACRR,KAAKS,SACJH,EAAA,gCAEEE,MAAM,sBACNE,KAAK,YACLC,KAAMX,KAAKS,UAEVT,KAAKY,WACI,GAIbZ,KAAKa,SACJP,EAAA,gCAEEE,MAAM,sBACNG,KAAMX,KAAKa,UAEVb,KAAKc,WACI,KAMlBR,EAAA,OAAKE,MAAM,iDACTF,EAAA,OAAKE,MAAM,0BACRR,KAAKS,SACJH,EAAA,aACEE,MAAM,sBACNE,KAAK,YACLC,KAAMX,KAAKS,UAEVT,KAAKY,WACI,GAIbZ,KAAKa,SACJP,EAAA,aAAWE,MAAM,sBAAsBG,KAAMX,KAAKa,UAC/Cb,KAAKc,WACI,KAMlBR,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-0cff3d08.entry.js b/1704966176737/dist/build/p-0cff3d08.entry.js deleted file mode 100644 index 219eeb5db9..0000000000 --- a/1704966176737/dist/build/p-0cff3d08.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as r,H as i}from"./p-21a69c18.js";import{e as s,S as c}from"./p-49b9f144.js";const o=".docs-btn-search__magnifier{stroke:var(--ld-col-neutral-900)}.docs-btn-search__shortcut{fill:var(--ld-col-neutral-900)}@media (prefers-color-scheme:dark){.docs-btn-search__magnifier{stroke:var(--ld-col-wht)}.docs-btn-search__shortcut{fill:var(--ld-col-wht)}}.docs-ui-dark .docs-btn-search__magnifier{stroke:var(--ld-col-wht)}.docs-ui-dark .docs-btn-search__shortcut{fill:var(--ld-col-wht)}.docs-ui-light .docs-btn-search__magnifier{stroke:var(--ld-col-neutral-900)}.docs-ui-light .docs-btn-search__shortcut{fill:var(--ld-col-neutral-900)}.docs-btn-search__btn{align-items:center;-webkit-appearance:none;appearance:none;background-color:initial;border:0;color:inherit;cursor:pointer;display:flex;font:var(--ld-typo-body-s);padding:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}.docs-btn-search__magnifier{margin-right:var(--ld-sp-6)}.docs-btn-search__shortcut{margin-left:auto}";const e=class{constructor(r){t(this,r)}handleClick(){s.emit(c.open)}handleKeyDown(t){var r,i;if(t.key==="S"){if(["input","textarea"].includes((r=document.activeElement)===null||r===void 0?void 0:r.tagName.toLowerCase())){return}if(((i=document.activeElement)===null||i===void 0?void 0:i.tagName)==="textarea")return;s.emit(c.open)}}onSearchClose(){setTimeout((()=>{this.btnSearch.focus()}))}componentDidLoad(){s.on(c.close,this.onSearchClose.bind(this))}render(){return r(i,{class:"docs-btn-search"},r("button",{ref:t=>this.btnSearch=t,class:"docs-btn-search__btn"},r("svg",{class:"docs-btn-search__magnifier",width:"16",height:"16",viewBox:"0 0 14 14",fill:"none"},r("circle",{cx:"5.90909",cy:"5.90909",r:"4.90909","stroke-width":"2"}),r("path",{d:"M9.72729 9.72729L13 13","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})),"Search",r("svg",{class:"docs-btn-search__shortcut",width:"24",height:"17",viewBox:"0 0 24 17",fill:"none"},r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.5 14C4.22386 14 4 13.7761 4 13.5V6.5C4 6.22386 4.22386 6 4.5 6H7.5C7.77614 6 8 6.22386 8 6.5V13.5C8 13.7761 7.77614 14 7.5 14H4.5Z"}),r("path",{d:"M0.707482 9.1746L5.62037 3.4429C5.81992 3.21009 6.18008 3.21009 6.37963 3.4429L11.2925 9.1746C11.5705 9.49894 11.3401 10 10.9129 10H6H1.08711C0.659934 10 0.429479 9.49894 0.707482 9.1746Z"}),r("path",{d:"M22.7301 5.873C22.6601 5.985 22.5854 6.069 22.5061 6.125C22.4314 6.181 22.3334 6.209 22.2121 6.209C22.1047 6.209 21.9881 6.17633 21.8621 6.111C21.7407 6.041 21.6007 5.964 21.4421 5.88C21.2881 5.796 21.1107 5.72133 20.9101 5.656C20.7094 5.586 20.4807 5.551 20.2241 5.551C19.7807 5.551 19.4494 5.64667 19.2301 5.838C19.0154 6.02467 18.9081 6.279 18.9081 6.601C18.9081 6.80633 18.9734 6.97667 19.1041 7.112C19.2347 7.24733 19.4051 7.364 19.6151 7.462C19.8297 7.56 20.0724 7.651 20.3431 7.735C20.6184 7.81433 20.8984 7.90533 21.1831 8.008C21.4677 8.106 21.7454 8.22267 22.0161 8.358C22.2914 8.49333 22.5341 8.666 22.7441 8.876C22.9587 9.086 23.1314 9.34267 23.2621 9.646C23.3927 9.94467 23.4581 10.3063 23.4581 10.731C23.4581 11.2023 23.3764 11.6433 23.2131 12.054C23.0497 12.4647 22.8117 12.824 22.4991 13.132C22.1911 13.4353 21.8084 13.6757 21.3511 13.853C20.8984 14.0257 20.3827 14.112 19.8041 14.112C19.4867 14.112 19.1624 14.0793 18.8311 14.014C18.5044 13.9487 18.1871 13.8577 17.8791 13.741C17.5711 13.6197 17.2817 13.4773 17.0111 13.314C16.7404 13.1507 16.5047 12.9687 16.3041 12.768L17.0041 11.662C17.0554 11.578 17.1277 11.5103 17.2211 11.459C17.3144 11.4077 17.4147 11.382 17.5221 11.382C17.6621 11.382 17.8021 11.4263 17.9421 11.515C18.0867 11.6037 18.2477 11.7017 18.4251 11.809C18.6071 11.9163 18.8147 12.0143 19.0481 12.103C19.2814 12.1917 19.5567 12.236 19.8741 12.236C20.3034 12.236 20.6371 12.1427 20.8751 11.956C21.1131 11.7647 21.2321 11.4637 21.2321 11.053C21.2321 10.815 21.1667 10.6213 21.0361 10.472C20.9054 10.3227 20.7327 10.199 20.5181 10.101C20.3081 10.003 20.0677 9.91667 19.7971 9.842C19.5264 9.76733 19.2487 9.68567 18.9641 9.597C18.6794 9.50367 18.4017 9.39167 18.1311 9.261C17.8604 9.12567 17.6177 8.95067 17.4031 8.736C17.1931 8.51667 17.0227 8.246 16.8921 7.924C16.7614 7.59733 16.6961 7.196 16.6961 6.72C16.6961 6.33733 16.7731 5.964 16.9271 5.6C17.0811 5.236 17.3074 4.91167 17.6061 4.627C17.9047 4.34233 18.2711 4.116 18.7051 3.948C19.1391 3.77533 19.6361 3.689 20.1961 3.689C20.5087 3.689 20.8121 3.71467 21.1061 3.766C21.4047 3.81267 21.6871 3.885 21.9531 3.983C22.2191 4.07633 22.4664 4.19067 22.6951 4.326C22.9284 4.45667 23.1361 4.606 23.3181 4.774L22.7301 5.873Z"}))))}};e.style=o;const a=".docs-switch-dark-light__btn circle{stroke:var(--ld-col-neutral-900)}.docs-switch-dark-light__btn path{fill:var(--ld-col-neutral-900)}@media (prefers-color-scheme:dark){.docs-switch-dark-light__btn circle{stroke:var(--ld-col-wht)}.docs-switch-dark-light__btn path{fill:var(--ld-col-wht)}}.docs-ui-dark .docs-switch-dark-light__btn circle{stroke:var(--ld-col-wht)}.docs-ui-dark .docs-switch-dark-light__btn path{fill:var(--ld-col-wht)}.docs-ui-light .docs-switch-dark-light__btn circle{stroke:var(--ld-col-neutral-900)}.docs-ui-light .docs-switch-dark-light__btn path{fill:var(--ld-col-neutral-900)}.docs-switch-dark-light__btn{align-items:center;-webkit-appearance:none;appearance:none;background-color:initial;border:0;color:inherit;cursor:pointer;display:flex;font:var(--ld-typo-body-s);padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.docs-switch-dark-light__btn svg{margin-right:var(--ld-sp-6)}";const d=class{constructor(r){t(this,r);this.isDark=undefined}updateIFrames(t){const r=document.querySelector("docs-iframe");if(r){r.setDarkMode(t)}}componentWillLoad(){const t=window.localStorage.getItem("docs-ui");if(t){this.isDark=t==="dark"?true:false}else{if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches){this.isDark=true}else{this.isDark=false}}window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(t=>{this.isDark=t.matches;window.localStorage.setItem("docs-ui",this.isDark?"dark":"light")}));document.body.classList.add(`docs-ui-${this.isDark?"dark":"light"}`);document.body.classList.remove(`docs-ui-${!this.isDark?"dark":"light"}`);document.documentElement.style.colorScheme=this.isDark?"dark":"auto"}handleClick(){this.isDark=!this.isDark;window.localStorage.setItem("docs-ui",this.isDark?"dark":"light");document.body.classList.add(`docs-ui-${this.isDark?"dark":"light"}`);document.body.classList.remove(`docs-ui-${!this.isDark?"dark":"light"}`);document.documentElement.style.colorScheme=this.isDark?"dark":"auto"}render(){return r(i,{class:"docs-switch-dark-light"},r("button",{id:"docs-switch-dark-light",class:"docs-switch-dark-light__btn",role:"switch","aria-checked":this.isDark?"true":"false"},r("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r("circle",{cx:"8",cy:"8",r:"7","stroke-width":"2"}),r("path",{d:"M0.800049 7.99999C0.800049 4.02354 4.0236 0.799988 8.00005 0.799988V15.2C4.0236 15.2 0.800049 11.9764 0.800049 7.99999Z"})),this.isDark?"Light":"Dark"," UI"))}static get watchers(){return{isDark:["updateIFrames"]}}};d.style=a;export{e as docs_btn_search,d as docs_switch_dark_light}; -//# sourceMappingURL=p-0cff3d08.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-0cff3d08.entry.js.map b/1704966176737/dist/build/p-0cff3d08.entry.js.map deleted file mode 100644 index 08fe753e86..0000000000 --- a/1704966176737/dist/build/p-0cff3d08.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsBtnSearchCss","DocsBtnSearch","handleClick","eventBus","emit","SearchEventType","open","handleKeyDown","ev","key","includes","_a","document","activeElement","tagName","toLowerCase","_b","onSearchClose","setTimeout","this","btnSearch","focus","componentDidLoad","on","close","bind","render","h","Host","class","ref","el","width","height","viewBox","fill","cx","cy","r","d","docsSwitchDarkLightCss","DocsSwitchDarkLight","updateIFrames","darkMode","iframe","querySelector","setDarkMode","componentWillLoad","storedUIPref","window","localStorage","getItem","isDark","matchMedia","matches","addEventListener","e","setItem","body","classList","add","remove","documentElement","style","colorScheme","id","role"],"sources":["../src/docs/components/docs-btn-search/docs-btn-search.css?tag=docs-btn-search","../src/docs/components/docs-btn-search/docs-btn-search.tsx","../src/docs/components/docs-switch-dark-light/docs-switch-dark-light.css?tag=docs-switch-dark-light","../src/docs/components/docs-switch-dark-light/docs-switch-dark-light.tsx"],"sourcesContent":["@define-mixin docs-btn-search-ui-light {\n .docs-btn-search__magnifier {\n stroke: var(--ld-col-neutral-900);\n }\n .docs-btn-search__shortcut {\n fill: var(--ld-col-neutral-900);\n }\n}\n@define-mixin docs-btn-search-ui-dark {\n .docs-btn-search__magnifier {\n stroke: var(--ld-col-wht);\n }\n .docs-btn-search__shortcut {\n fill: var(--ld-col-wht);\n }\n}\n\n@mixin docs-btn-search-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-btn-search-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-btn-search-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-btn-search-ui-light;\n}\n\n.docs-btn-search__btn {\n display: flex;\n align-items: center;\n appearance: none;\n background-color: transparent;\n cursor: pointer;\n border: 0;\n padding: 0;\n color: inherit;\n width: 100%;\n font: var(--ld-typo-body-s);\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.docs-btn-search__magnifier {\n margin-right: var(--ld-sp-6);\n}\n\n.docs-btn-search__shortcut {\n margin-left: auto;\n}\n","import { Component, h, Host, Listen } from '@stencil/core'\nimport eventBus from '../../utils/eventBus'\nimport { SearchEventType } from '../../utils/eventTypes'\n\n/** @internal **/\n@Component({\n tag: 'docs-btn-search',\n styleUrl: 'docs-btn-search.css',\n shadow: false,\n})\nexport class DocsBtnSearch {\n private btnSearch!: HTMLButtonElement\n\n @Listen('click', { capture: true })\n handleClick() {\n eventBus.emit(SearchEventType.open)\n }\n\n @Listen('keydown', {\n target: 'document',\n passive: true,\n })\n handleKeyDown(ev: KeyboardEvent) {\n if (ev.key === 'S') {\n if (\n ['input', 'textarea'].includes(\n document.activeElement?.tagName.toLowerCase()\n )\n ) {\n return\n }\n if (document.activeElement?.tagName === 'textarea') return\n eventBus.emit(SearchEventType.open)\n }\n }\n\n private onSearchClose() {\n setTimeout(() => {\n this.btnSearch.focus()\n })\n }\n\n componentDidLoad() {\n eventBus.on(SearchEventType.close, this.onSearchClose.bind(this))\n }\n\n render() {\n return (\n \n (this.btnSearch = el as HTMLButtonElement)}\n class=\"docs-btn-search__btn\"\n >\n \n \n \n \n Search\n \n \n \n \n \n \n \n )\n }\n}\n","@define-mixin docs-switch-ui-light {\n .docs-switch-dark-light__btn {\n circle {\n stroke: var(--ld-col-neutral-900);\n }\n path {\n fill: var(--ld-col-neutral-900);\n }\n }\n}\n@define-mixin docs-switch-ui-dark {\n .docs-switch-dark-light__btn {\n circle {\n stroke: var(--ld-col-wht);\n }\n path {\n fill: var(--ld-col-wht);\n }\n }\n}\n\n@mixin docs-switch-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-switch-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-switch-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-switch-ui-light;\n}\n\n.docs-switch-dark-light__btn {\n display: flex;\n align-items: center;\n appearance: none;\n background-color: transparent;\n cursor: pointer;\n border: 0;\n padding: 0;\n color: inherit;\n font: var(--ld-typo-body-s);\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n svg {\n margin-right: var(--ld-sp-6);\n }\n}\n","import { Component, h, Host, State, Listen, Watch } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-switch-dark-light',\n styleUrl: 'docs-switch-dark-light.css',\n shadow: false,\n})\nexport class DocsSwitchDarkLight {\n @State() isDark: boolean\n\n @Watch('isDark')\n updateIFrames(darkMode: boolean) {\n const iframe = document.querySelector('docs-iframe')\n\n if (iframe) {\n iframe.setDarkMode(darkMode)\n }\n }\n\n componentWillLoad() {\n const storedUIPref = window.localStorage.getItem('docs-ui')\n if (storedUIPref) {\n this.isDark = storedUIPref === 'dark' ? true : false\n } else {\n if (\n window.matchMedia &&\n window.matchMedia('(prefers-color-scheme: dark)').matches\n ) {\n this.isDark = true\n } else {\n this.isDark = false\n }\n }\n\n window\n .matchMedia('(prefers-color-scheme: dark)')\n .addEventListener('change', (e) => {\n this.isDark = e.matches\n window.localStorage.setItem('docs-ui', this.isDark ? 'dark' : 'light')\n })\n\n document.body.classList.add(`docs-ui-${this.isDark ? 'dark' : 'light'}`)\n document.body.classList.remove(`docs-ui-${!this.isDark ? 'dark' : 'light'}`)\n document.documentElement.style.colorScheme = this.isDark ? 'dark' : 'auto'\n }\n\n @Listen('click', { capture: true })\n handleClick() {\n this.isDark = !this.isDark\n window.localStorage.setItem('docs-ui', this.isDark ? 'dark' : 'light')\n document.body.classList.add(`docs-ui-${this.isDark ? 'dark' : 'light'}`)\n document.body.classList.remove(`docs-ui-${!this.isDark ? 'dark' : 'light'}`)\n document.documentElement.style.colorScheme = this.isDark ? 'dark' : 'auto'\n }\n\n render() {\n return (\n \n \n \n \n \n \n {this.isDark ? 'Light' : 'Dark'} UI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IH,EAAc,CAChB7B,KAAKiC,OAASJ,IAAiB,OAAS,KAAO,K,KAC1C,CACL,GACEC,OAAOI,YACPJ,OAAOI,WAAW,gCAAgCC,QAClD,CACAnC,KAAKiC,OAAS,I,KACT,CACLjC,KAAKiC,OAAS,K,EAIlBH,OACGI,WAAW,gCACXE,iBAAiB,UAAWC,IAC3BrC,KAAKiC,OAASI,EAAEF,QAChBL,OAAOC,aAAaO,QAAQ,UAAWtC,KAAKiC,OAAS,OAAS,QAAQ,IAG1ExC,SAAS8C,KAAKC,UAAUC,IAAI,WAAWzC,KAAKiC,OAAS,OAAS,WAC9DxC,SAAS8C,KAAKC,UAAUE,OAAO,YAAY1C,KAAKiC,OAAS,OAAS,WAClExC,SAASkD,gBAAgBC,MAAMC,YAAc7C,KAAKiC,OAAS,OAAS,M,CAItE,WAAAlD,GACEiB,KAAKiC,QAAUjC,KAAKiC,OACpBH,OAAOC,aAAaO,QAAQ,UAAWtC,KAAKiC,OAAS,OAAS,SAC9DxC,SAAS8C,KAAKC,UAAUC,IAAI,WAAWzC,KAAKiC,OAAS,OAAS,WAC9DxC,SAAS8C,KAAKC,UAAUE,OAAO,YAAY1C,KAAKiC,OAAS,OAAS,WAClExC,SAASkD,gBAAgBC,MAAMC,YAAc7C,KAAKiC,OAAS,OAAS,M,CAGtE,MAAA1B,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,0BACVF,EAAA,UACEsC,GAAG,yBACHpC,MAAM,8BACNqC,KAAK,SAAQ,eACC/C,KAAKiC,OAAS,OAAS,SAErCzB,EAAA,OAAKK,MAAM,KAAKC,OAAO,KAAKC,QAAQ,YAAYC,KAAK,QACnDR,EAAA,UAAQS,GAAG,IAAIC,GAAG,IAAIC,EAAE,IAAG,eAAc,MACzCX,EAAA,QAAMY,EAAE,6HAETpB,KAAKiC,OAAS,QAAU,OAAM,O"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-108eca21.entry.js b/1704966176737/dist/build/p-108eca21.entry.js deleted file mode 100644 index 64db735300..0000000000 --- a/1704966176737/dist/build/p-108eca21.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as l,h as r}from"./p-21a69c18.js";import{g as n}from"./p-1133c92e.js";const i=".ld-breadcrumbs .ld-link,.ld-crumb__link::part(anchor){--ld-link-gap:var(--ld-crumb-icon-gap);--ld-link-chevron-gap:var(--ld-crumb-gap);display:inline-flex}.ld-breadcrumbs li:not(:last-of-type) .ld-link,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor){--ld-link-col:var(--ld-col-neutral-600);font-weight:400;margin-right:calc(var(--ld-crumb-gap) + .5em)}.ld-breadcrumbs li:not(:last-of-type) .ld-link:hover,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor):hover{--ld-link-col:var(--ld-thm-primary-hover)}.ld-breadcrumbs li:not(:last-of-type) .ld-link:focus:focus-visible,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor):focus:focus-visible{--ld-link-col:var(--ld-thm-primary-focus)}.ld-breadcrumbs li:not(:last-of-type) .ld-link:active,.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor):active{--ld-link-col:var(--ld-thm-primary-active)}.ld-breadcrumbs li:last-of-type .ld-link,.ld-crumb__link--current{cursor:default;pointer-events:none}";const c=class{constructor(r){l(this,r);this.current=undefined;this.href=undefined}render(){return r("li",{class:"ld-crumb"},r("ld-link",{href:this.href,class:n(["ld-crumb__link",this.current&&"ld-crumb__link--current"]),part:"link","aria-current":this.current?"page":undefined,chevron:this.current?undefined:"end"},r("slot",null)))}};c.style=i;export{c as ld_crumb}; -//# sourceMappingURL=p-108eca21.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-108eca21.entry.js.map b/1704966176737/dist/build/p-108eca21.entry.js.map deleted file mode 100644 index cd35a92064..0000000000 --- a/1704966176737/dist/build/p-108eca21.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldCrumbCss","LdCrumb","render","h","class","href","this","getClassNames","current","part","undefined","chevron"],"sources":["../src/liquid/components/ld-breadcrumbs/ld-crumb/ld-crumb.css?tag=ld-crumb&encapsulation=shadow","../src/liquid/components/ld-breadcrumbs/ld-crumb/ld-crumb.tsx"],"sourcesContent":[".ld-breadcrumbs .ld-link,\n.ld-crumb__link::part(anchor) {\n --ld-link-gap: var(--ld-crumb-icon-gap);\n --ld-link-chevron-gap: var(--ld-crumb-gap);\n display: inline-flex;\n}\n\n.ld-breadcrumbs li:not(:last-of-type) .ld-link,\n.ld-crumb__link:not(.ld-crumb__link--current)::part(anchor) {\n --ld-link-col: var(--ld-col-neutral-600);\n\n font-weight: normal;\n margin-right: calc(var(--ld-crumb-gap) + 0.5em);\n\n &:hover {\n --ld-link-col: var(--ld-thm-primary-hover);\n }\n\n &:focus:focus-visible {\n --ld-link-col: var(--ld-thm-primary-focus);\n }\n\n &:active {\n --ld-link-col: var(--ld-thm-primary-active);\n }\n}\n\n.ld-breadcrumbs li:last-of-type .ld-link,\n.ld-crumb__link--current {\n cursor: default;\n pointer-events: none;\n}\n","import { Component, h, Prop } from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\n\n/**\n * @part link - Breadcrumb link\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-crumb',\n styleUrl: 'ld-crumb.css',\n shadow: true,\n})\nexport class LdCrumb {\n /** @internal */\n @Prop() current?: boolean\n\n /** The URL that the hyperlink points to. */\n @Prop() href?: string\n\n render() {\n return (\n
  • \n \n \n \n
  • \n )\n }\n}\n"],"mappings":"+EAAA,MAAMA,EAAa,u9B,MCaNC,EAAO,M,oEAOlB,MAAAC,GACE,OACEC,EAAA,MAAIC,MAAM,YACRD,EAAA,WACEE,KAAMC,KAAKD,KACXD,MAAOG,EAAc,CACnB,iBACAD,KAAKE,SAAW,4BAElBC,KAAK,OAAM,eACGH,KAAKE,QAAU,OAASE,UACtCC,QAASL,KAAKE,QAAUE,UAAY,OAEpCP,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-112455b1.js b/1704966176737/dist/build/p-112455b1.js deleted file mode 100644 index a14eabd080..0000000000 --- a/1704966176737/dist/build/p-112455b1.js +++ /dev/null @@ -1,2 +0,0 @@ -var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function n(e,n,r){return r={path:n,exports:{},require:function(e,n){return o()}},e(r,r.exports),r.exports}function o(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}export{e as a,n as c}; -//# sourceMappingURL=p-112455b1.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-18028a34.entry.js.map b/1704966176737/dist/build/p-18028a34.entry.js.map deleted file mode 100644 index 0974a3f557..0000000000 --- a/1704966176737/dist/build/p-18028a34.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldNoticeCss","LdNotice","render","h","Host","class","this","mode","name","part","size","headline","variant","tag"],"sources":["../src/liquid/components/ld-notice/ld-notice.css?tag=ld-notice&encapsulation=shadow","../src/liquid/components/ld-notice/ld-notice.tsx"],"sourcesContent":[":host,\n.ld-notice {\n --ld-notice-error-icon-col: var(--ld-thm-error);\n --ld-notice-info-icon-col: var(--ld-thm-primary);\n --ld-notice-warning-icon-col: var(--ld-thm-warning);\n --ld-notice-success-icon-col: var(--ld-thm-success);\n\n background: var(--ld-col-wht);\n border-radius: var(--ld-br-l);\n box-shadow: var(--ld-shadow-stacked);\n color: var(--ld-col-neutral-800);\n display: block;\n font: var(--ld-typo-body-m);\n padding: var(--ld-sp-24);\n padding-left: calc(var(--ld-sp-24) + var(--ld-sp-40));\n position: relative;\n\n ::slotted(a),\n a {\n color: var(--ld-thm-primary);\n text-decoration: underline;\n }\n\n ::slotted(code),\n code {\n background-color: var(--ld-col-neutral-010);\n border-radius: var(--ld-br-s);\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-col-neutral-100);\n padding: 0 var(--ld-sp-4);\n }\n}\n\n:host(.ld-notice--error),\n.ld-notice--error {\n ::slotted(ld-icon),\n ::slotted(.ld-icon),\n .ld-notice__icon,\n .ld-notice__headline {\n color: var(--ld-notice-error-icon-col);\n }\n\n .ld-notice__icon {\n transform: rotate(180deg);\n }\n}\n\n:host(.ld-notice--info),\n.ld-notice--info {\n ::slotted(ld-icon),\n ::slotted(.ld-icon),\n .ld-notice__icon,\n .ld-notice__headline {\n color: var(--ld-notice-info-icon-col);\n }\n}\n\n:host(.ld-notice--warning),\n.ld-notice--warning {\n background: var(--ld-thm-warning-highlight);\n\n ::slotted(ld-icon),\n ::slotted(.ld-icon),\n .ld-notice__icon {\n --ld-icon-secondary-col: var(--ld-col-neutral-900);\n color: var(--ld-notice-warning-icon-col);\n }\n\n .ld-notice__headline {\n color: var(--ld-col-neutral-900);\n }\n}\n\n:host(.ld-notice--success),\n.ld-notice--success {\n ::slotted(ld-icon),\n ::slotted(.ld-icon),\n .ld-notice__icon {\n color: var(--ld-notice-success-icon-col);\n }\n\n .ld-notice__headline {\n color: var(--ld-notice-success-icon-col);\n }\n}\n\n.ld-notice__headline {\n margin: 0 0 var(--ld-sp-12);\n}\n\n::slotted(ld-icon),\n::slotted(.ld-icon),\n.ld-notice__icon {\n left: var(--ld-sp-24);\n position: absolute;\n top: var(--ld-sp-24);\n}\n","import { Component, h, Prop, Host, Element } from '@stencil/core'\nimport { HTMLStencilElement } from '@stencil/core/internal'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part headline - `ld-typo` element used for the headline\n * @part icon - Image tag used for the icon\n */\n@Component({\n assetsDirs: ['assets'],\n tag: 'ld-notice',\n styleUrl: 'ld-notice.css',\n shadow: true,\n})\nexport class LdNotice {\n @Element() hostElement: HTMLStencilElement\n\n /** Headline of the notice. */\n @Prop() headline?: string\n\n /** Mode of the notice. */\n @Prop() mode?: 'error' | 'info' | 'warning' | 'success' = 'info'\n\n render() {\n return (\n \n \n \n \n {this.headline && (\n \n {this.headline}\n \n )}\n \n \n )\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAc,4wF,MCePC,EAAQ,M,2DAOuC,M,CAE1D,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAO,wBAAwBC,KAAKC,QACxCJ,EAAA,QAAMK,KAAK,eACTL,EAAA,WACEE,MAAM,kBACNG,KACEF,KAAKC,OAAS,UACV,2BACA,wBAENE,KAAK,OACLC,KAAK,QAGRJ,KAAKK,UACJR,EAAA,WACEE,MAAM,sBACNO,QAAQ,KACRC,IAAI,IACJJ,KAAK,YAEJH,KAAKK,UAGVR,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-1813e3df.entry.js b/1704966176737/dist/build/p-1813e3df.entry.js deleted file mode 100644 index c77d574a4e..0000000000 --- a/1704966176737/dist/build/p-1813e3df.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as i}from"./p-21a69c18.js";const s=":host{display:contents}";const a=class{constructor(i){t(this,i);this.info=undefined;this.alert=undefined}handleInfo(t){this.infoSuffix=this.infoSuffix?"":"​";this.info=t.detail+this.infoSuffix}handleAlert(t){this.alertSuffix=this.alertSuffix?"":"​";this.alert=t.detail+this.alertSuffix}render(){return i("ld-sr-only",null,i("span",{role:"status","aria-live":"polite","aria-relevant":"all","aria-atomic":"true"},this.info),i("span",{role:"alert","aria-live":"polite","aria-relevant":"all","aria-atomic":"true"},this.alert))}};a.style=s;export{a as ld_sr_live}; -//# sourceMappingURL=p-1813e3df.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-1813e3df.entry.js.map b/1704966176737/dist/build/p-1813e3df.entry.js.map deleted file mode 100644 index d31e7cb530..0000000000 --- a/1704966176737/dist/build/p-1813e3df.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSrLiveShadowCss","LdSrLive","handleInfo","event","this","infoSuffix","info","detail","handleAlert","alertSuffix","alert","render","h","role"],"sources":["../src/liquid/components/ld-sr-live/ld-sr-live.shadow.css?tag=ld-sr-live&encapsulation=shadow","../src/liquid/components/ld-sr-live/ld-sr-live.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n","import { Component, h, Listen, State } from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n */\n@Component({\n tag: 'ld-sr-live',\n styleUrl: 'ld-sr-live.shadow.css',\n shadow: true,\n})\nexport class LdSrLive {\n private infoSuffix: string\n private alertSuffix: string\n\n @State() info: string\n @State() alert: string\n\n @Listen('ldSrLiveInfo', {\n target: 'window',\n passive: true,\n })\n handleInfo(event: CustomEvent) {\n // MAGIC: the second “pseudo-empty” string contains a zero width space, which is required\n // in order to repeat an alert message, without altering the printed message displayed on the screen.\n this.infoSuffix = this.infoSuffix ? '' : '​'\n this.info = event.detail + this.infoSuffix\n }\n\n @Listen('ldSrLiveAlert', {\n target: 'window',\n passive: true,\n })\n handleAlert(event: CustomEvent) {\n // MAGIC: the second “pseudo-empty” string contains a zero width space, which is required\n // in order to repeat an alert message, without altering the printed message displayed on the screen.\n this.alertSuffix = this.alertSuffix ? '' : '​'\n this.alert = event.detail + this.alertSuffix\n }\n\n render() {\n return (\n \n \n {this.info}\n \n \n {this.alert}\n \n \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAoB,0B,MCUbC,EAAQ,M,kEAWnB,UAAAC,CAAWC,GAGTC,KAAKC,WAAaD,KAAKC,WAAa,GAAK,IACzCD,KAAKE,KAAOH,EAAMI,OAASH,KAAKC,U,CAOlC,WAAAG,CAAYL,GAGVC,KAAKK,YAAcL,KAAKK,YAAc,GAAK,IAC3CL,KAAKM,MAAQP,EAAMI,OAASH,KAAKK,W,CAGnC,MAAAE,GACE,OACEC,EAAA,kBACEA,EAAA,QACEC,KAAK,SAAQ,YACH,SAAQ,gBACJ,MAAK,cACP,QAEXT,KAAKE,MAERM,EAAA,QACEC,KAAK,QAAO,YACF,SAAQ,gBACJ,MAAK,cACP,QAEXT,KAAKM,O"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-1c01ac4e.entry.js.map b/1704966176737/dist/build/p-1c01ac4e.entry.js.map deleted file mode 100644 index 51078aea2d..0000000000 --- a/1704966176737/dist/build/p-1c01ac4e.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldIconCss","LdIcon","loadIconPathData","this","name","div","document","createElement","iconString","fetchIcon","innerHTML","replace","Array","from","el","shadowRoot","children","forEach","child","tagName","removeChild","appendChild","firstChild","componentWillLoad","render","h","Host","class","getClassNames","size","role"],"sources":["../src/liquid/components/ld-icon/ld-icon.css?tag=ld-icon&encapsulation=shadow","../src/liquid/components/ld-icon/ld-icon.tsx"],"sourcesContent":[":host,\n:where(.ld-icon) {\n --ld-icon-secondary-col: var(--ld-col-wht);\n --ld-icon-size-sm: 1rem;\n --ld-icon-size-md: 1.25rem;\n --ld-icon-size-lg: 1.5rem;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: var(--ld-icon-size-md);\n height: var(--ld-icon-size-md);\n\n ::slotted(svg),\n :where(svg) {\n width: var(--ld-icon-size-md);\n height: var(--ld-icon-size-md);\n flex-shrink: 0;\n }\n}\n\n:host(.ld-icon--sm),\n:where(.ld-icon--sm) {\n &,\n ::slotted(svg),\n :where(svg) {\n width: var(--ld-icon-size-sm);\n height: var(--ld-icon-size-sm);\n }\n}\n:host(.ld-icon--lg),\n:where(.ld-icon--lg) {\n &,\n ::slotted(svg),\n :where(svg) {\n width: var(--ld-icon-size-lg);\n height: var(--ld-icon-size-lg);\n }\n}\n","import { Build, Component, Host, h, Prop, Watch, Element } from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { fetchIcon } from '../../utils/fetchAsset'\n\n/**\n * @slot - (optional) Custom SVG icon (only valid without name prop).\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part icon - Actual SVG element\n */\n@Component({\n assetsDirs: ['assets'],\n tag: 'ld-icon',\n styleUrl: 'ld-icon.css',\n shadow: true,\n})\nexport class LdIcon {\n @Element() el: HTMLElement\n\n /** The icon name. */\n @Prop({ reflect: true }) name?: string = null\n\n /** Size of the icon. */\n @Prop() size?: 'sm' | 'lg'\n\n @Watch('name')\n private async loadIconPathData(): Promise {\n if ((!Build.isBrowser && !Build.isTesting) || !this.name) {\n return\n }\n\n const div = document.createElement('div')\n const iconString = await fetchIcon(this.name)\n\n if (!iconString) return\n\n div.innerHTML = iconString.replace(\n ' {\n /* istanbul ignore next */\n if (child.tagName !== 'STYLE') {\n this.el.shadowRoot.removeChild(child)\n }\n })\n this.el.shadowRoot.appendChild(div.firstChild)\n }\n\n componentWillLoad() {\n this.loadIconPathData()\n }\n\n render() {\n return (\n \n {!this.name && }\n \n )\n }\n}\n"],"mappings":"iIAAA,MAAMA,EAAY,44B,MCgBLC,EAAM,M,mCAIwB,K,oBAMjC,sBAAMC,GACZ,IAA+CC,KAAKC,KAAM,CACxD,M,CAGF,MAAMC,EAAMC,SAASC,cAAc,OACnC,MAAMC,QAAmBC,EAAUN,KAAKC,MAExC,IAAKI,EAAY,OAEjBH,EAAIK,UAAYF,EAAWG,QACzB,OACA,yCAEFC,MAAMC,KAAKV,KAAKW,GAAGC,WAAWC,UAAUC,SAASC,IAE/C,GAAIA,EAAMC,UAAY,QAAS,CAC7BhB,KAAKW,GAAGC,WAAWK,YAAYF,E,KAGnCf,KAAKW,GAAGC,WAAWM,YAAYhB,EAAIiB,W,CAGrC,iBAAAC,GACEpB,KAAKD,kB,CAGP,MAAAsB,GACE,OACEC,EAACC,EAAI,CACHC,MAAOC,EAAc,CAAC,UAAWzB,KAAK0B,MAAQ,YAAY1B,KAAK0B,SAC/DC,KAAK,iBAEH3B,KAAKC,MAAQqB,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-1ff9802e.entry.js b/1704966176737/dist/build/p-1ff9802e.entry.js deleted file mode 100644 index b68350e5ac..0000000000 --- a/1704966176737/dist/build/p-1ff9802e.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as i,c as t,h as s,H as a,g as e}from"./p-21a69c18.js";import{g as n}from"./p-1133c92e.js";import{g as d}from"./p-8dc70a87.js";import{c as l}from"./p-6e5841ef.js";const o=':host{--ld-sidenav-line-height:1.15;--ld-sidenav-padding-x:1rem;--ld-sidenav-padding-y:1rem;--ld-sidenav-padding:var(--ld-sidenav-padding-y) var(--ld-sidenav-padding-x);--ld-sidenav-toggle-size:var(--ld-sp-24);--ld-sidenav-toggle-top:calc(2 * var(--ld-sidenav-padding-y) + var(--ld-sidenav-navitem-icon-size) - 0.5 * var(--ld-sidenav-toggle-size));--ld-sidenav-translate-x-delta:calc(var(--ld-sidenav-width) - var(--ld-sidenav-width-collapsed));--ld-sidenav-width:15.625rem;--ld-sidenav-width-collapsed:calc(2 * var(--ld-sidenav-padding-x) + var(--ld-sidenav-navitem-icon-size));--ld-sidenav-width-fully-collapsed:calc(-1 * var(--ld-sp-1));--ld-sidenav-navitem-active-indicator-border-width:0.1875rem;--ld-sidenav-navitem-icon-size:var(--ld-sp-32);--ld-sidenav-navitem-bg-inset:var(--ld-sp-6);--ld-sidenav-navitem-border-radius:var(--ld-br-l);--ld-sidenav-navitem-tertiary-indent:calc(3 * var(--ld-sidenav-padding-x) + 0.3125rem);--ld-sidenav-navitem-tertiary-width:calc(100% - (4 * var(--ld-sidenav-padding-x)) - 0.3125rem);--ld-sidenav-collapse-content-transition:opacity var(--ld-sidenav-transition-duration-collapse-expand) var(--ld-sidenav-transition-delay-collapse-expand) linear,transform var(--ld-sidenav-transition-duration-collapse-expand) ease;--ld-sidenav-transition-delay:0s;--ld-sidenav-transition-delay-collapse-expand:0s;--ld-sidenav-transition-duration:var(--ld-transition-duration-instant);--ld-sidenav-transition-duration-collapse-expand:var(\n --ld-transition-duration-instant\n );--ld-sidenav-translate-x-direction:1;--ld-sidenav-stack-to-top-transition:transform var(--ld-sidenav-transition-duration-collapse-expand) var(--ld-sidenav-transition-delay-collapse-expand) ease;--ld-sidenav-bg-color:var(--ld-col-wht);--ld-sidenav-separator-line-bg-col:var(--ld-col-neutral-100);--ld-sidenav-subnav-bg-color:var(--ld-col-wht)}@media (prefers-reduced-motion:no-preference){:host(.ld-sidenav--transitions){--ld-sidenav-transition-duration:var(--ld-transition-duration-normal);--ld-sidenav-transition-duration-collapse-expand:var(\n --ld-transition-duration-normal\n );--ld-sidenav-transition-delay:var(--ld-transition-duration-quick);--ld-sidenav-transition-delay-collapse-expand:var(\n --ld-transition-duration-quick\n )}}@media (prefers-reduced-motion:no-preference){:host(.ld-sidenav--toggle-transition-disabled){--ld-sidenav-transition-duration-collapse-expand:var(\n --ld-transition-duration-instant\n );--ld-sidenav-transition-delay-collapse-expand:0s}}:host{background-color:var(--ld-sidenav-bg-color);bottom:0;box-sizing:border-box;display:flex;flex-direction:column;font:var(--ld-typo-body-m);left:0;overflow:hidden;position:var(--ld-sidenav-position,fixed);text-align:left;top:0;transition:transform var(--ld-sidenav-transition-duration-collapse-expand) ease;width:var(--ld-sidenav-width);z-index:var(--ld-sidenav-z-index,1)}:host:before{background-color:var(--ld-sidenav-separator-line-bg-col);bottom:0;content:"";position:absolute;right:0;top:0;width:var(--ld-sp-2);z-index:2}:host .ld-sidenav__content{transition:opacity var(--ld-sidenav-transition-duration-collapse-expand) linear}:host(.ld-sidenav--closable:not(.ld-sidenav--open)) .ld-sidenav__content{transition:opacity var(--ld-sidenav-transition-duration-collapse-expand) linear,visibility 0s var(--ld-sidenav-transition-duration-collapse-expand) linear;visibility:hidden}:host(.ld-sidenav--collapsed:not(.ld-sidenav--closable)){transform:translateX(calc(var(--ld-sidenav-translate-x-direction) * (-100% + var(--ld-sidenav-width-collapsed))))}:host(.ld-sidenav--collapsed.ld-sidenav--fully-collapsible:not(.ld-sidenav--closable)){transform:translateX(calc(var(--ld-sidenav-translate-x-direction) * (-100% + var(--ld-sidenav-width-fully-collapsed))))}:host(.ld-sidenav--collapsed.ld-sidenav--fully-collapsible:not(.ld-sidenav--closable)) .ld-sidenav__content{opacity:0;visibility:hidden}:host(.ld-sidenav--collapsed.ld-sidenav--fully-collapsible.ld-sidenav--transitions:not(.ld-sidenav--closable)) .ld-sidenav__content{transition:opacity var(--ld-sidenav-transition-duration-collapse-expand) linear,visibility 0s var(--ld-sidenav-transition-duration-collapse-expand) linear}:host(.ld-sidenav--right){--ld-sidenav-translate-x-direction:-1;--ld-sidenav-translate-x-delta:0;left:unset;right:0}:host(.ld-sidenav--right):before{left:0;right:unset;transform:translateX(-50%) scaleX(1.5)}:host(.ld-sidenav--closable){--ld-sidenav-collapse-content-transition:none;--ld-sidenav-stack-to-top-transition:none;--ld-sidenav-navitem-move-up-closable:0;--ld-sidenav-translate-x-delta:0;transform:translateX(calc(var(--ld-sidenav-translate-x-direction) * -100%));width:100%}:host(.ld-sidenav--closable.ld-sidenav--open){transform:translateX(0)}:host ::slotted(ld-sidenav-navitem){margin-bottom:var(--ld-sidenav-padding-y)}:host ::slotted(ld-sidenav-navitem[slot=bottom]),:host ::slotted(ld-sidenav-navitem[slot=top]){margin-top:var(--ld-sidenav-padding-y)}:host ::slotted(ld-sidenav-heading){margin:var(--ld-sidenav-padding-y) 0}.ld-sidenav__toggle{aspect-ratio:1;background-color:var(--ld-col-wht);border:0;border-radius:var(--ld-br-full);box-shadow:var(--ld-shadow-stacked);color:var(--ld-thm-primary);cursor:pointer;display:grid;outline-offset:var(--ld-sp-4);place-content:center;position:absolute;right:0;top:var(--ld-sidenav-toggle-top);touch-action:manipulation;transform:translateX(50%);width:var(--ld-sidenav-toggle-size);will-change:transform;z-index:1;-webkit-touch-callout:none}.ld-sidenav__toggle:before{inset:0}.ld-sidenav__toggle:after,.ld-sidenav__toggle:before{border-radius:inherit;content:"";display:block;position:absolute}.ld-sidenav__toggle:after{inset:calc(-1 * var(--ld-sp-6))}.ld-sidenav__toggle:focus:focus-visible:not(:active),.ld-sidenav__toggle:hover:not(:active){box-shadow:var(--ld-shadow-sticky)}.ld-sidenav__toggle:where(:focus:focus-visible){color:var(--ld-thm-primary-hover)}.ld-sidenav__toggle:where(:focus:focus-visible):before{background-color:var(--ld-thm-primary-alpha-low)}@media (hover:hover){.ld-sidenav__toggle:where(:hover){color:var(--ld-thm-primary-hover)}}.ld-sidenav__toggle:where(:active),.ld-sidenav__toggle:where(:active:focus-visible){color:var(--ld-thm-primary-active)}:host(.ld-sidenav--right) .ld-sidenav__toggle{left:0;right:unset;transform:translateX(-50%)}.ld-sidenav__toggle-icon{position:relative;transform-origin:center}:host(.ld-sidenav--collapsed) .ld-sidenav__toggle-icon{transform:rotate(180deg)}:host(.ld-sidenav--right) .ld-sidenav__toggle-icon{transform:rotate(180deg)}:host(.ld-sidenav--right.ld-sidenav--collapsed) .ld-sidenav__toggle-icon{transform:none}.ld-sidenav__content{display:flex;flex-direction:column;height:100%;overflow:hidden;will-change:transform}.ld-sidenav__slot-container-default{height:100%;position:relative}.ld-sidenav__slot-container-bottom,.ld-sidenav__slot-container-top{background-color:var(--ld-sidenav-bg-color);position:relative;z-index:1}.ld-sidenav__slot-container-bottom:before,.ld-sidenav__slot-container-default:before,.ld-sidenav__slot-container-top:before{background-color:var(--ld-sidenav-subnav-bg-color);content:"";inset:0;opacity:0;position:absolute;transition:opacity var(--ld-sidenav-transition-duration-collapse-expand) linear;visibility:visible;z-index:0}:host(.ld-sidenav--has-active-subnav) .ld-sidenav__slot-container-bottom:before,:host(.ld-sidenav--has-active-subnav) .ld-sidenav__slot-container-default:before,:host(.ld-sidenav--has-active-subnav) .ld-sidenav__slot-container-top:before{opacity:1}.ld-sidenav__fully-collapsed-click-area{display:none;inset:0;position:absolute;z-index:1}:host(.ld-sidenav--collapsed.ld-sidenav--fully-collapsible:not(.ld-sidenav--closable)) .ld-sidenav__fully-collapsed-click-area{display:block}';const r=class{constructor(s){i(this,s);this.ldSidenavCollapsedChange=t(this,"ldSidenavCollapsedChange",7);this.ldSidenavOpenChange=t(this,"ldSidenavOpenChange",7);this.ldSidenavBreakpointChange=t(this,"ldSidenavBreakpointChange",7);this.ldSidenavBack=t(this,"ldSidenavBack",7);this.ldSidenavNavitemTo=t(this,"ldSidenavNavitemTo",7);this.ldSidenavNavitemClick=t(this,"ldSidenavNavitemClick",7);this.ldSidenavSliderChange=t(this,"ldSidenavSliderChange",7);this.toFocus=undefined;this.focusTimeout=undefined;this.updateFocus=()=>{clearTimeout(this.focusTimeout);if(this.toFocus){if(this.toFocus.tabIndex===-1||window.getComputedStyle(this.toFocus).visibility==="hidden"){this.focusTimeout=setTimeout(this.updateFocus,10);return}this.toFocus.focus();this.toFocus=undefined}};this.toggleCollapsedState=()=>{this.collapsed=!this.collapsed};this.activeSubnavContainsIconsOrHasBack=()=>{const i=Array.from(this.el.children);const t=i.some((i=>i.tagName==="LD-SIDENAV-BACK"));const s=i.some((i=>i.tagName==="LD-SIDENAV-NAVITEM"&&!["secondary","tertiary"].includes(i.mode)));if(t||s){return true}const a=this.el.querySelector("ld-sidenav-slider");const e=a.currentSubnav?this.el.querySelector(`#${a.currentSubnav}`):a;const n=Array.from(e.children).filter((i=>i.tagName==="LD-SIDENAV-NAVITEM"&&i.mode==="primary"));const d=Array.from(e.querySelectorAll('ld-sidenav-accordion > ld-sidenav-navitem[slot="toggle"]')).filter((i=>i.mode==="primary"));const l=n.length+d.length;return!!l};this.isToggleOutside=i=>(i===null||i===void 0?void 0:i.tagName)==="LD-SIDENAV-TOGGLE-OUTSIDE";this.onTransitionEnd=i=>{if(i.target===this.el){this.transitions=true;if(this.fullyCollapsible){if(!this.collapsed){const i=d(this.el);i.focus()}else if(document.activeElement.closest("ld-sidenav")===this.el){const i=this.el.previousElementSibling;if(this.isToggleOutside(i)){i.focusInner()}}}}};this.onMatchMediaChange=i=>{this.closable=i.matches;this.transitions=false;if(this.closable&&this.collapsible)this.collapsed=true;this.ldSidenavBreakpointChange.emit(this.closable)};this.align="left";this.breakpoint="23.4375rem";this.collapsed=false;this.collapseTrigger="toggle";this.collapsible=false;this.expandTrigger="toggle";this.label="Side navigation";this.narrow=false;this.open=false;this.toggleTransitionDisabled=false;this.trapFocus=undefined;this.closable=undefined;this.fullyCollapsible=false;this.hasActiveSubnav=false;this.hasShadowBottom=false;this.hasShadowTop=false;this.transitions=false}async toggle(){if(this.closable){this.open=!this.open}else{this.toggleCollapsedState()}}onCollapsedChange(i){this.ldSidenavCollapsedChange.emit({collapsed:i,fully:this.fullyCollapsible});if(i){this.open=false}}onOpenChange(i){this.ldSidenavOpenChange.emit(i);if(!i&&this.collapsible){this.collapsed=true}}updateFullyCollapsible(){var i;this.fullyCollapsible=this.collapsible&&(!this.narrow||!this.activeSubnavContainsIconsOrHasBack());if(!this.collapsible)this.collapsed=false;(i=this.el.querySelector("ld-sidenav-header"))===null||i===void 0?void 0:i.updateCollapsible()}handleClickOutside(i){if(i.isTrusted&&["clickoutside","mouseout"].includes(this.collapseTrigger)&&l("ld-sidenav",i.target)!==this.el){this.collapsed=this.collapsible}}handleMouseOut(i){if(this.collapseTrigger==="mouseout"&&i.relatedTarget&&i.relatedTarget.closest("ld-sidenav")!==this.el){this.collapsed=this.collapsible}}handleMouseIn(){if(this.fullyCollapsible||this.expandTrigger==="mouseenter"){this.collapsed=false}}handleOpen(){this.open=true}handleClose(){clearTimeout(this.focusTimeout);this.open=false}handleSlideBack(){var i;clearTimeout(this.focusTimeout);const t=Array.from(this.el.querySelectorAll(".ld-sidenav-subnav--active")).pop();const s=t===null||t===void 0?void 0:t.id;const a=t===null||t===void 0?void 0:t.parentElement;this.el.querySelector("ld-sidenav-slider").navigateBack();this.toFocus=(i=a===null||a===void 0?void 0:a.querySelector(`[to='${s}']`))===null||i===void 0?void 0:i.shadowRoot.querySelector('[part*="focusable"]');this.collapsed=false}slideToHandler(){var i;clearTimeout(this.focusTimeout);const t=(i=this.el.querySelector("ld-sidenav-back"))===null||i===void 0?void 0:i.shadowRoot.querySelector(".ld-sidenav-back");this.toFocus=t;this.updateFocus()}slideChangeHandler(i){var t,s;clearTimeout(this.focusTimeout);(t=this.el.querySelector("ld-sidenav-back"))===null||t===void 0?void 0:t.updateLabel((s=i.detail)===null||s===void 0?void 0:s.label);this.hasActiveSubnav=!!i.detail;this.updateFullyCollapsible();this.updateFocus()}handleKeyDown(i){const t=document.activeElement.closest("ld-sidenav")===this.el;if(t&&i.key==="Tab"&&!i.shiftKey&&document.activeElement===this.el.querySelector("ld-sidenav-back")){const{currentSubnav:i}=this.el.querySelector("ld-sidenav-slider");if(i){const t=d(this.el.querySelector(`#${i}`));setTimeout((async()=>{if("focusInner"in t){await t.focusInner()}else{t.focus()}}))}}if(!t&&!this.closable){return}const s=this.el.querySelector("ld-sidenav-slider");if(i.key==="Escape"){if(!s&&this.closable){this.open=false;return}if(this.hasActiveSubnav){this.handleSlideBack()}else if(this.closable){this.open=false}}}async handleFocusout(i){const t=i.relatedTarget;const s=l("ld-sidenav",t)===this.el;if(!s&&t!==null){if(this.collapseTrigger==="mouseout"){this.collapsed=this.collapsible}}if(this.expandTrigger==="mouseenter"&&s){this.collapsed=false}if(!this.closable||!this.open)return;if(this.trapFocus===undefined)return;if(s)return;const a=this.trapFocus!==""&&(!t||(t===null||t===void 0?void 0:t.matches(this.trapFocus)));if(a)return;const e=i.target;const n=e.closest("ld-sidenav")===this.el;const o=this.trapFocus!==""&&!!e.closest(this.trapFocus);if(!n&&!o)return;const r=d(this.el);const v=this.trapFocus===""?[r]:Array.from(document.querySelectorAll(this.trapFocus));const h=v.find(d);const c=r===e;const p=h===e;const u=Array.from(this.el.querySelectorAll("*")).reverse().find(d);const f=v.reverse().find(d);const g=n?c?f:h:p?u:r;if(!g)return;if("focusInner"in g){await g.focusInner()}else{g===null||g===void 0?void 0:g.focus()}}handleHeaderToggleClick(){this.toggle()}componentWillLoad(){this.mediaQuery=window.matchMedia(`(max-width: ${this.breakpoint})`);this.mediaQuery.addEventListener("change",this.onMatchMediaChange);this.closable=this.mediaQuery.matches;this.updateFullyCollapsible()}componentDidLoad(){this.ldSidenavCollapsedChange.emit({collapsed:this.collapsible&&this.collapsed,fully:this.fullyCollapsible});this.ldSidenavOpenChange.emit(this.open);this.ldSidenavBreakpointChange.emit(this.closable);setTimeout((()=>{this.transitions=true}))}disconnectedCallback(){var i;(i=this.mediaQuery)===null||i===void 0?void 0:i.removeEventListener("change",this.onMatchMediaChange)}render(){const i=["ld-sidenav",this.align==="right"&&"ld-sidenav--right",this.transitions&&"ld-sidenav--transitions",this.closable&&"ld-sidenav--closable",this.collapsible&&this.collapsed&&"ld-sidenav--collapsed",this.collapsible&&"ld-sidenav--collapsible",this.fullyCollapsible&&"ld-sidenav--fully-collapsible",this.hasActiveSubnav&&"ld-sidenav--has-active-subnav",this.hasShadowTop&&"ld-sidenav--has-shadow-top",this.hasShadowBottom&&"ld-sidenav--has-shadow-bottom",this.open&&"ld-sidenav--open",this.toggleTransitionDisabled&&"ld-sidenav--toggle-transition-disabled"];return s(a,{onTransitionEnd:this.onTransitionEnd,class:n(i),role:"navigation","aria-label":this.label},s("slot",{name:"header"}),s("div",{class:"ld-sidenav__content"},s("div",{class:"ld-sidenav__slot-container-top",part:"slot-container-top"},s("slot",{name:"top"})),s("ld-sidenav-scroller-internal",{class:"ld-sidenav__scroller",part:"scroll-container"},s("div",{class:"ld-sidenav__slot-container-default",part:"slot-container"},s("slot",null))),s("div",{class:"ld-sidenav__slot-container-bottom",part:"slot-container-bottom"},s("slot",{name:"bottom"}))),s("div",{onClick:this.toggle.bind(this),class:"ld-sidenav__fully-collapsed-click-area"}))}get el(){return e(this)}static get watchers(){return{collapsed:["onCollapsedChange"],open:["onOpenChange"],collapsible:["updateFullyCollapsible"],narrow:["updateFullyCollapsible"]}}};r.style=o;export{r as ld_sidenav}; -//# sourceMappingURL=p-1ff9802e.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-1ff9802e.entry.js.map b/1704966176737/dist/build/p-1ff9802e.entry.js.map deleted file mode 100644 index 570e6581c2..0000000000 --- a/1704966176737/dist/build/p-1ff9802e.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSidenavShadowCss","LdSidenav","this","toFocus","undefined","focusTimeout","updateFocus","clearTimeout","tabIndex","window","getComputedStyle","visibility","setTimeout","focus","toggleCollapsedState","collapsed","activeSubnavContainsIconsOrHasBack","children","Array","from","el","hasBack","some","child","tagName","hasPrimaryChild","includes","mode","slider","querySelector","activeSubnav","currentSubnav","navitemsModePrimaryChildren","filter","navitemsModePrimaryInAccordion","querySelectorAll","totalNavitemsModePrimary","length","isToggleOutside","element","onTransitionEnd","ev","target","transitions","fullyCollapsible","firstFocusableInSidenav","getFirstFocusable","document","activeElement","closest","previousElementSibling","focusInner","onMatchMediaChange","closable","matches","collapsible","ldSidenavBreakpointChange","emit","toggle","open","onCollapsedChange","ldSidenavCollapsedChange","fully","onOpenChange","ldSidenavOpenChange","updateFullyCollapsible","narrow","_a","updateCollapsible","handleClickOutside","isTrusted","collapseTrigger","handleMouseOut","relatedTarget","handleMouseIn","expandTrigger","handleOpen","handleClose","handleSlideBack","pop","currentSubnavId","id","parentSubnav","parentElement","navigateBack","shadowRoot","slideToHandler","ldSidenavBack","slideChangeHandler","updateLabel","_b","detail","label","hasActiveSubnav","handleKeyDown","hasSidenavFocus","key","shiftKey","firstItemOfCurrentSubnav","async","handleFocusout","isFocusInSidenav","trapFocus","isFocusInKeepFocusable","isLeavingSidenav","isLeavingFocusSelectorElement","trapFocusSelectorElements","firstFocusableFromSelectorElements","find","isLeavingFirstFocusableInSidenav","isLeavingFirstFocusableFromSelectorElements","lastFocusableInSidenav","reverse","lastFocusableFromSelectorElements","nextFocused","handleHeaderToggleClick","componentWillLoad","mediaQuery","matchMedia","breakpoint","addEventListener","componentDidLoad","disconnectedCallback","removeEventListener","render","cl","align","hasShadowTop","hasShadowBottom","toggleTransitionDisabled","h","Host","class","getClassNames","role","name","part","onClick","bind"],"sources":["../src/liquid/components/ld-sidenav/ld-sidenav.shadow.css?tag=ld-sidenav&encapsulation=shadow","../src/liquid/components/ld-sidenav/ld-sidenav.tsx"],"sourcesContent":[":host {\n /* layout */\n --ld-sidenav-line-height: 1.15;\n --ld-sidenav-padding-x: 1rem;\n --ld-sidenav-padding-y: 1rem;\n --ld-sidenav-padding: var(--ld-sidenav-padding-y) var(--ld-sidenav-padding-x);\n --ld-sidenav-toggle-size: var(--ld-sp-24);\n --ld-sidenav-toggle-top: calc(\n 2 * var(--ld-sidenav-padding-y) + var(--ld-sidenav-navitem-icon-size) - 0.5 *\n var(--ld-sidenav-toggle-size)\n );\n --ld-sidenav-translate-x-delta: calc(\n var(--ld-sidenav-width) - var(--ld-sidenav-width-collapsed)\n );\n --ld-sidenav-width: 15.625rem;\n --ld-sidenav-width-collapsed: calc(\n 2 * var(--ld-sidenav-padding-x) + var(--ld-sidenav-navitem-icon-size)\n );\n --ld-sidenav-width-fully-collapsed: calc(-1 * var(--ld-sp-1));\n\n /* layout ld-navitem */\n --ld-sidenav-navitem-active-indicator-border-width: 0.1875rem;\n --ld-sidenav-navitem-icon-size: var(--ld-sp-32);\n --ld-sidenav-navitem-bg-inset: var(--ld-sp-6);\n --ld-sidenav-navitem-border-radius: var(--ld-br-l);\n --ld-sidenav-navitem-tertiary-indent: calc(\n 3 * var(--ld-sidenav-padding-x) + 0.3125rem\n );\n --ld-sidenav-navitem-tertiary-width: calc(\n 100% - (4 * var(--ld-sidenav-padding-x)) - 0.3125rem\n );\n\n /* transitions */\n --ld-sidenav-collapse-content-transition: opacity\n var(--ld-sidenav-transition-duration-collapse-expand)\n var(--ld-sidenav-transition-delay-collapse-expand) linear,\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease;\n --ld-sidenav-transition-delay: 0s;\n --ld-sidenav-transition-delay-collapse-expand: 0s;\n /* Not using 0s here because we rely on the transition end event. */\n --ld-sidenav-transition-duration: var(--ld-transition-duration-instant);\n --ld-sidenav-transition-duration-collapse-expand: var(\n --ld-transition-duration-instant\n );\n --ld-sidenav-translate-x-direction: 1;\n --ld-sidenav-stack-to-top-transition: transform\n var(--ld-sidenav-transition-duration-collapse-expand)\n var(--ld-sidenav-transition-delay-collapse-expand) ease;\n\n /* colors */\n --ld-sidenav-bg-color: var(--ld-col-wht);\n --ld-sidenav-separator-line-bg-col: var(--ld-col-neutral-100);\n --ld-sidenav-subnav-bg-color: var(--ld-col-wht);\n\n &(.ld-sidenav--transitions) {\n @media (prefers-reduced-motion: no-preference) {\n --ld-sidenav-transition-duration: var(--ld-transition-duration-normal);\n --ld-sidenav-transition-duration-collapse-expand: var(\n --ld-transition-duration-normal\n );\n --ld-sidenav-transition-delay: var(--ld-transition-duration-quick);\n --ld-sidenav-transition-delay-collapse-expand: var(\n --ld-transition-duration-quick\n );\n }\n }\n\n &(.ld-sidenav--toggle-transition-disabled) {\n @media (prefers-reduced-motion: no-preference) {\n --ld-sidenav-transition-duration-collapse-expand: var(\n --ld-transition-duration-instant\n );\n --ld-sidenav-transition-delay-collapse-expand: 0s;\n }\n }\n\n background-color: var(--ld-sidenav-bg-color);\n bottom: 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n font: var(--ld-typo-body-m);\n left: 0;\n overflow: hidden;\n position: var(--ld-sidenav-position, fixed);\n text-align: left;\n transition: transform var(--ld-sidenav-transition-duration-collapse-expand)\n ease;\n top: 0;\n width: var(--ld-sidenav-width);\n\n /* Create a stacking context with a default z-index greater zero,\n so that elements with a stacking context of their own don't overlap. */\n z-index: var(--ld-sidenav-z-index, 1);\n\n &::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: var(--ld-sp-2);\n background-color: var(--ld-sidenav-separator-line-bg-col);\n z-index: 2;\n }\n\n .ld-sidenav__content {\n transition: opacity var(--ld-sidenav-transition-duration-collapse-expand)\n linear;\n }\n\n &(.ld-sidenav--closable:not(.ld-sidenav--open)) {\n .ld-sidenav__content {\n transition: opacity var(--ld-sidenav-transition-duration-collapse-expand)\n linear,\n visibility 0s var(--ld-sidenav-transition-duration-collapse-expand)\n linear;\n visibility: hidden;\n }\n }\n\n &(.ld-sidenav--collapsed:not(.ld-sidenav--closable)) {\n transform: translateX(\n calc(\n var(--ld-sidenav-translate-x-direction) *\n (-100% + var(--ld-sidenav-width-collapsed))\n )\n );\n }\n\n &(.ld-sidenav--collapsed.ld-sidenav--fully-collapsible:not(.ld-sidenav--closable)) {\n transform: translateX(\n calc(\n var(--ld-sidenav-translate-x-direction) *\n (-100% + var(--ld-sidenav-width-fully-collapsed))\n )\n );\n\n .ld-sidenav__content {\n opacity: 0;\n visibility: hidden;\n }\n }\n\n &(.ld-sidenav--collapsed.ld-sidenav--fully-collapsible.ld-sidenav--transitions:not(.ld-sidenav--closable)) {\n .ld-sidenav__content {\n transition: opacity var(--ld-sidenav-transition-duration-collapse-expand)\n linear,\n visibility 0s var(--ld-sidenav-transition-duration-collapse-expand)\n linear;\n }\n }\n\n &(.ld-sidenav--right) {\n --ld-sidenav-translate-x-direction: -1;\n --ld-sidenav-translate-x-delta: 0;\n left: unset;\n right: 0;\n\n &::before {\n right: unset;\n left: 0;\n transform: translateX(-50%) scaleX(1.5);\n }\n }\n\n &(.ld-sidenav--closable) {\n --ld-sidenav-collapse-content-transition: none;\n --ld-sidenav-stack-to-top-transition: none;\n --ld-sidenav-navitem-move-up-closable: 0;\n --ld-sidenav-translate-x-delta: 0;\n width: 100%;\n transform: translateX(\n calc(var(--ld-sidenav-translate-x-direction) * -100%)\n );\n }\n\n &(.ld-sidenav--closable.ld-sidenav--open) {\n transform: translateX(0);\n }\n\n ::slotted(ld-sidenav-navitem) {\n margin-bottom: var(--ld-sidenav-padding-y);\n }\n\n ::slotted(ld-sidenav-navitem[slot='top']),\n ::slotted(ld-sidenav-navitem[slot='bottom']) {\n margin-top: var(--ld-sidenav-padding-y);\n }\n\n ::slotted(ld-sidenav-heading) {\n margin: var(--ld-sidenav-padding-y) 0;\n }\n}\n\n.ld-sidenav__toggle {\n aspect-ratio: 1;\n background-color: var(--ld-col-wht);\n border: 0;\n border-radius: var(--ld-br-full);\n box-shadow: var(--ld-shadow-stacked);\n color: var(--ld-thm-primary);\n cursor: pointer;\n display: grid;\n outline-offset: var(--ld-sp-4);\n place-content: center;\n position: absolute;\n right: 0;\n top: var(--ld-sidenav-toggle-top);\n touch-action: manipulation;\n transform: translateX(50%);\n width: var(--ld-sidenav-toggle-size);\n will-change: transform; /* fixes rendering issue */\n z-index: 1;\n -webkit-touch-callout: none;\n\n /* background color */\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n display: block;\n border-radius: inherit;\n }\n\n /* increase click area */\n &::after {\n content: '';\n position: absolute;\n inset: calc(-1 * var(--ld-sp-6));\n display: block;\n border-radius: inherit;\n }\n\n &:hover,\n &:focus:focus-visible {\n &:not(:active) {\n box-shadow: var(--ld-shadow-sticky);\n }\n }\n\n &:where(:focus:focus-visible) {\n color: var(--ld-thm-primary-hover);\n\n &::before {\n background-color: var(--ld-thm-primary-alpha-low);\n }\n }\n @media (hover: hover) {\n &:where(:hover) {\n color: var(--ld-thm-primary-hover);\n }\n }\n &:where(:active),\n &:where(:active:focus-visible) {\n color: var(--ld-thm-primary-active);\n }\n\n :host(.ld-sidenav--right) & {\n transform: translateX(-50%);\n right: unset;\n left: 0;\n }\n}\n\n.ld-sidenav__toggle-icon {\n transform-origin: center;\n position: relative;\n\n :host(.ld-sidenav--collapsed) & {\n transform: rotate(180deg);\n }\n\n :host(.ld-sidenav--right) & {\n transform: rotate(180deg);\n }\n :host(.ld-sidenav--right.ld-sidenav--collapsed) & {\n transform: none;\n }\n}\n\n.ld-sidenav__content {\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: hidden;\n will-change: transform; /* fixes overflow not working on slide transition */\n}\n\n.ld-sidenav__slot-container-default {\n height: 100%;\n position: relative;\n}\n\n.ld-sidenav__slot-container-top,\n.ld-sidenav__slot-container-bottom {\n background-color: var(--ld-sidenav-bg-color);\n z-index: 1;\n position: relative;\n}\n\n.ld-sidenav__slot-container-top,\n.ld-sidenav__slot-container-default,\n.ld-sidenav__slot-container-bottom {\n &::before {\n visibility: visible;\n z-index: 0;\n opacity: 0;\n content: '';\n position: absolute;\n inset: 0;\n background-color: var(--ld-sidenav-subnav-bg-color);\n transition: opacity var(--ld-sidenav-transition-duration-collapse-expand)\n linear;\n }\n\n :host(.ld-sidenav--has-active-subnav) & {\n &::before {\n opacity: 1;\n }\n }\n}\n\n.ld-sidenav__fully-collapsed-click-area {\n display: none;\n inset: 0;\n position: absolute;\n z-index: 1;\n\n :host(\n .ld-sidenav--collapsed.ld-sidenav--fully-collapsible:not(\n .ld-sidenav--closable\n )\n )\n & {\n display: block;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { getFirstFocusable } from '../../utils/focus'\nimport { closest } from '../../utils/closest'\n\n/**\n * @slot - default slot, vertically scrollable.\n * @slot top - slot fixed at the top, above scrollable default slot.\n * @slot bottom - slot fixed at the bottom, below scrollable default slot.\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-sidenav',\n styleUrl: 'ld-sidenav.shadow.css',\n shadow: true,\n})\nexport class LdSidenav {\n @Element() el: HTMLLdSidenavElement\n private mediaQuery: MediaQueryList\n\n /** Whether the nav should be aligned to the left or the right side of its container. */\n @Prop() align?: 'left' | 'right' = 'left'\n\n /**\n * The breakpoint at which the sidenav takes full width and can be\n * opened and closed as opposed to being expanded and collapsed.\n * The prop value is used in a max-width media query.\n */\n @Prop() breakpoint? = '23.4375rem'\n\n /** Indicates that the navigation is collapsed to the side of its container. */\n @Prop({ mutable: true }) collapsed? = false\n\n /**\n * Makes the navigation collapse either on\n * - explicit toggle button click,\n * - when the user clicks somewhere outside the element or\n * - when the user moves the cursor / focus outside the element.\n * The modes are inclusive from right to left:\n * - clickoutside applies if the collapse trigger is set to mouseout\n * - toggle applies if the collapse trigger is set to clickoutside\n */\n @Prop() collapseTrigger?: 'toggle' | 'clickoutside' | 'mouseout' = 'toggle'\n\n /**\n * Allows the side navigation to be collapsed to the side of its container.\n */\n @Prop() collapsible? = false\n\n /**\n * Makes the navigation expand either on\n * - explicit toggle button click,\n * - when the user moves the cursor over the element.\n * The modes are inclusive from right to left:\n * - toggle applies if the expand trigger is set to mouseenter\n */\n @Prop() expandTrigger?: 'toggle' | 'mouseenter' = 'toggle'\n\n /** Label to be used for the landmark element (the sidenav itself). */\n @Prop() label? = 'Side navigation'\n\n /**\n * Set to true if you'd like to have a sidenav which partially\n * collapses in way, that slotted ld-navitem components are displayed\n * as icon buttons.\n */\n @Prop() narrow? = false\n\n /**\n * Indicates that the navigation is visible in a viewport\n * which is smaller than the value of the `breakpoint` prop.\n */\n @Prop({ mutable: true }) open? = false\n\n /**\n * Disables transitions on collapsing and expansion of the sidenav.\n * This is especially usefull when the page content gets pushed to\n * the side on sidenav expansion, and you want to prevent too many\n * layout shifts during the transition.\n */\n @Prop() toggleTransitionDisabled? = false\n\n /**\n * Enables focus trapping. Accespts a CSS selector which indicates\n * what is still focusable outside the sidenav, when the sidenav is\n * closable and open (i.e. \"ld-header *\"). Use an empty string to\n * enable focus trapping without specifying focusable elements\n * outside the sidenav component.\n */\n @Prop() trapFocus?: string // The focus trap feature is\n // disabled by default in order to not violate WCAG 2.1.2 (see\n // https://www.w3.org/WAI/WCAG21/Understanding/no-keyboard-trap.html).\n // It needs to be enabled explicitly, making sure that all visible\n // UI elements are still focusable when the sidenav is opened.\n\n @State() closable\n @State() fullyCollapsible = false\n @State() hasActiveSubnav = false\n @State() hasShadowBottom = false\n @State() hasShadowTop = false\n @State() transitions = false\n\n /**\n * Toggles sidenav.\n */\n @Method()\n async toggle() {\n if (this.closable) {\n this.open = !this.open\n } else {\n this.toggleCollapsedState()\n }\n }\n\n /** Emitted when the sidenav collapses or expands. */\n @Event() ldSidenavCollapsedChange: EventEmitter<{\n collapsed: boolean\n fully: boolean\n }>\n\n /** Emitted when the sidenav opens or closes. */\n @Event() ldSidenavOpenChange: EventEmitter\n\n /** Emitted when the sidenav registers a match media change event. */\n @Event() ldSidenavBreakpointChange: EventEmitter\n\n // The following event is not used within the ld-sidenav component itself.\n // Its only purpose is to create a type definition on the ld-sidenav component,\n // in order to be able to add an inline listener in TSX, for listening\n // on the event bubling up from ld-sidenav-back components.\n /** Emitted on click of the ld-sidenav-back component. */\n @Event() ldSidenavBack: EventEmitter\n\n // The following event is not used within the ld-sidenav component itself.\n // Its only purpose is to create a type definition on the ld-sidenav component,\n // in order to be able to add an inline listener in TSX, for listening\n // on the event bubling up from ld-sidenav-navitem components.\n /** Emitted on click of the ld-sidenav-navitem component if prop to is set. */\n @Event() ldSidenavNavitemTo: EventEmitter<{ id: string; label: string }>\n\n // The following event is not used within the ld-sidenav component itself.\n // Its only purpose is to create a type definition on the ld-sidenav component,\n // in order to be able to add an inline listener in TSX, for listening\n // on the event bubling up from ld-sidenav-navitem components.\n /** Emitted on click of the ld-sidenav-navitem component. */\n @Event() ldSidenavNavitemClick: EventEmitter\n\n // The following event is not used within the ld-sidenav component itself.\n // Its only purpose is to create a type definition on the ld-sidenav component,\n // in order to be able to add an inline listener in TSX, for listening\n // on the event bubling up from ld-sidenav-slider components.\n /** Emitted on navigation (before transition ends) of the ld-sidenav-slider component. */\n @Event() ldSidenavSliderChange: EventEmitter<\n { id: string; label: string } | undefined\n >\n\n @Watch('collapsed')\n onCollapsedChange(collapsed) {\n // The ldSidenavCollapsedChange event needs to be emitted even if the\n // sidenav is currently not collapsible (when it is closable), because\n // on breakpoint change its subcomponents need to be rendered according\n // to the new state and thus need to update their state using the event.\n this.ldSidenavCollapsedChange.emit({\n collapsed,\n fully: this.fullyCollapsible,\n })\n\n if (collapsed) {\n this.open = false\n }\n }\n\n @Watch('open')\n onOpenChange(open) {\n this.ldSidenavOpenChange.emit(open)\n\n if (!open && this.collapsible) {\n this.collapsed = true\n }\n }\n\n @Watch('collapsible')\n @Watch('narrow')\n updateFullyCollapsible() {\n this.fullyCollapsible =\n this.collapsible &&\n (!this.narrow || !this.activeSubnavContainsIconsOrHasBack())\n if (!this.collapsible) this.collapsed = false\n this.el.querySelector('ld-sidenav-header')?.updateCollapsible()\n }\n\n @Listen('click', {\n target: 'window',\n })\n handleClickOutside(ev: MouseEvent) {\n if (\n ev.isTrusted &&\n ['clickoutside', 'mouseout'].includes(this.collapseTrigger) &&\n closest('ld-sidenav', ev.target as HTMLElement) !== this.el\n ) {\n this.collapsed = this.collapsible\n }\n }\n\n @Listen('mouseout')\n handleMouseOut(ev: MouseEvent) {\n if (\n this.collapseTrigger === 'mouseout' &&\n ev.relatedTarget &&\n (ev.relatedTarget as HTMLElement).closest('ld-sidenav') !== this.el\n ) {\n this.collapsed = this.collapsible\n }\n }\n\n @Listen('mouseenter')\n handleMouseIn() {\n if (this.fullyCollapsible || this.expandTrigger === 'mouseenter') {\n this.collapsed = false\n }\n }\n\n @Listen('ldSidenavOpen')\n handleOpen() {\n this.open = true\n }\n\n @Listen('ldSidenavClose')\n handleClose() {\n clearTimeout(this.focusTimeout)\n this.open = false\n }\n\n @Listen('ldSidenavBack')\n handleSlideBack() {\n clearTimeout(this.focusTimeout)\n const currentSubnav = Array.from(\n this.el.querySelectorAll('.ld-sidenav-subnav--active')\n ).pop()\n const currentSubnavId = currentSubnav?.id\n const parentSubnav = currentSubnav?.parentElement\n this.el.querySelector('ld-sidenav-slider').navigateBack()\n\n // Set focus on parent nav-item element as soon as back button looses focus.\n this.toFocus = parentSubnav\n ?.querySelector(`[to='${currentSubnavId}']`)\n ?.shadowRoot.querySelector(\n '[part*=\"focusable\"]'\n )\n\n // Always expand side navigation on back button click.\n this.collapsed = false\n }\n\n @Listen('ldSidenavNavitemTo')\n slideToHandler() {\n clearTimeout(this.focusTimeout)\n // set focus on back button\n const ldSidenavBack = this.el\n .querySelector('ld-sidenav-back')\n ?.shadowRoot.querySelector('.ld-sidenav-back')\n this.toFocus = ldSidenavBack\n this.updateFocus()\n }\n\n @Listen('ldSidenavSliderChange')\n slideChangeHandler(\n ev: CustomEvent<{ id: string; label: string } | undefined>\n ) {\n clearTimeout(this.focusTimeout)\n this.el.querySelector('ld-sidenav-back')?.updateLabel(ev.detail?.label)\n\n this.hasActiveSubnav = !!ev.detail\n\n this.updateFullyCollapsible()\n this.updateFocus()\n }\n\n @Listen('keydown', { passive: true, target: 'window' })\n handleKeyDown(ev: KeyboardEvent) {\n // Ignore events if sidenav has no focus and is not closable.\n const hasSidenavFocus =\n document.activeElement.closest('ld-sidenav') === this.el\n\n if (\n hasSidenavFocus &&\n ev.key === 'Tab' &&\n !ev.shiftKey &&\n document.activeElement === this.el.querySelector('ld-sidenav-back')\n ) {\n // This block prevents the focus from being set to the wrong element,\n // when a user quickly hits the [Tab] key after triggering the\n // transition to a subnav.\n const { currentSubnav } = this.el.querySelector('ld-sidenav-slider')\n\n if (currentSubnav) {\n const firstItemOfCurrentSubnav = getFirstFocusable(\n this.el.querySelector(`#${currentSubnav}`)\n )\n\n setTimeout(async () => {\n if ('focusInner' in firstItemOfCurrentSubnav) {\n await (\n firstItemOfCurrentSubnav as unknown as InnerFocusable\n ).focusInner()\n } else {\n firstItemOfCurrentSubnav.focus()\n }\n })\n }\n }\n\n if (!hasSidenavFocus && !this.closable) {\n return\n }\n\n const slider = this.el.querySelector('ld-sidenav-slider')\n\n if (ev.key === 'Escape') {\n if (!slider && this.closable) {\n this.open = false\n return\n }\n\n if (this.hasActiveSubnav) {\n this.handleSlideBack()\n } else if (this.closable) {\n this.open = false\n }\n }\n }\n\n @Listen('focusout', { passive: true, target: 'window' })\n async handleFocusout(ev: FocusEvent) {\n const relatedTarget = ev.relatedTarget as HTMLElement | undefined\n const isFocusInSidenav = closest('ld-sidenav', relatedTarget) === this.el\n\n // If focus is outside the sidenav and the collapse trigger is set\n // to 'mouseout', collapse the sidenav.\n if (!isFocusInSidenav && relatedTarget !== null) {\n if (this.collapseTrigger === 'mouseout') {\n this.collapsed = this.collapsible\n }\n }\n\n // If focus is inside the sidenav expand the sidenav.\n if (this.expandTrigger === 'mouseenter' && isFocusInSidenav) {\n this.collapsed = false\n }\n\n // If the sidenav is closable, trap the focus.\n // Do not trap the focus as long as the sidenav is not closable or not open.\n if (!this.closable || !this.open) return\n\n // Do not trap the focus if the trap focus prop is not set.\n if (this.trapFocus === undefined) return\n\n // Do not trap the focus as long as the focus remains within the sidenav.\n if (isFocusInSidenav) return\n\n // Do not trap the focus when it moves to an element which matches\n // the trap focus selector or no element will be focused.\n const isFocusInKeepFocusable =\n this.trapFocus !== '' &&\n (!relatedTarget || relatedTarget?.matches(this.trapFocus))\n if (isFocusInKeepFocusable) return\n\n // Loop the focus between the ld-sidenav and the elements matching\n // the trap focus selector.\n const target = ev.target as HTMLElement\n const isLeavingSidenav = target.closest('ld-sidenav') === this.el\n const isLeavingFocusSelectorElement =\n this.trapFocus !== '' && !!target.closest(this.trapFocus)\n\n if (!isLeavingSidenav && !isLeavingFocusSelectorElement) return\n\n const firstFocusableInSidenav = getFirstFocusable(this.el)\n const trapFocusSelectorElements =\n this.trapFocus === ''\n ? [firstFocusableInSidenav]\n : Array.from(document.querySelectorAll(this.trapFocus))\n const firstFocusableFromSelectorElements =\n trapFocusSelectorElements.find(getFirstFocusable)\n const isLeavingFirstFocusableInSidenav = firstFocusableInSidenav === target\n const isLeavingFirstFocusableFromSelectorElements =\n firstFocusableFromSelectorElements === target\n const lastFocusableInSidenav = Array.from(\n this.el.querySelectorAll('*')\n )\n .reverse()\n .find(getFirstFocusable)\n const lastFocusableFromSelectorElements = trapFocusSelectorElements\n .reverse()\n .find(getFirstFocusable)\n const nextFocused = isLeavingSidenav\n ? isLeavingFirstFocusableInSidenav\n ? lastFocusableFromSelectorElements\n : firstFocusableFromSelectorElements\n : isLeavingFirstFocusableFromSelectorElements\n ? lastFocusableInSidenav\n : firstFocusableInSidenav\n\n if (!nextFocused) return\n\n if ('focusInner' in nextFocused) {\n await (nextFocused as unknown as InnerFocusable).focusInner()\n } else {\n nextFocused?.focus()\n }\n }\n\n @Listen('ldSidenavHeaderToggleClick')\n handleHeaderToggleClick() {\n this.toggle()\n }\n\n private toFocus: HTMLElement = undefined\n private focusTimeout = undefined\n private updateFocus = () => {\n // HACK: Using recursive call with timeout to account for fast user interactions during transitions.\n clearTimeout(this.focusTimeout)\n if (this.toFocus) {\n if (\n this.toFocus.tabIndex === -1 ||\n window.getComputedStyle(this.toFocus).visibility === 'hidden'\n ) {\n this.focusTimeout = setTimeout(this.updateFocus, 10)\n return\n }\n this.toFocus.focus()\n this.toFocus = undefined\n }\n }\n\n private toggleCollapsedState = () => {\n this.collapsed = !this.collapsed\n }\n\n private activeSubnavContainsIconsOrHasBack = () => {\n // Return true if we have a back button or a nav items as a direct child.\n const children = Array.from(this.el.children)\n const hasBack = children.some(\n (child) => child.tagName === 'LD-SIDENAV-BACK'\n )\n const hasPrimaryChild = children.some(\n (child) =>\n child.tagName === 'LD-SIDENAV-NAVITEM' &&\n !['secondary', 'tertiary'].includes(\n (child as HTMLLdSidenavNavitemElement).mode\n )\n )\n if (hasBack || hasPrimaryChild) {\n return true\n }\n\n // Otherwise, check if the current subnav contains a nav item.\n const slider = this.el.querySelector('ld-sidenav-slider')\n const activeSubnav = slider.currentSubnav\n ? this.el.querySelector(`#${slider.currentSubnav}`)\n : slider\n const navitemsModePrimaryChildren = Array.from(\n activeSubnav.children\n ).filter(\n (child) =>\n child.tagName === 'LD-SIDENAV-NAVITEM' &&\n (child as HTMLLdSidenavNavitemElement).mode === 'primary'\n )\n const navitemsModePrimaryInAccordion = Array.from(\n activeSubnav.querySelectorAll(\n 'ld-sidenav-accordion > ld-sidenav-navitem[slot=\"toggle\"]'\n )\n ).filter(\n (child: HTMLLdSidenavNavitemElement) =>\n (child as HTMLLdSidenavNavitemElement).mode === 'primary'\n )\n const totalNavitemsModePrimary =\n navitemsModePrimaryChildren.length + navitemsModePrimaryInAccordion.length\n return !!totalNavitemsModePrimary\n }\n\n private isToggleOutside = (\n element?: Element\n ): element is HTMLLdSidenavToggleOutsideElement =>\n element?.tagName === 'LD-SIDENAV-TOGGLE-OUTSIDE'\n\n private onTransitionEnd = (ev: TransitionEvent) => {\n if (ev.target === this.el) {\n this.transitions = true\n\n // If the sidenav was fully collapsed and is being expanded, set the focus\n // on the first focusable element. If it is being collapsed and has focus inside,\n // set the focus on the toggle outside if it is there.\n if (this.fullyCollapsible) {\n if (!this.collapsed) {\n const firstFocusableInSidenav = getFirstFocusable(this.el)\n firstFocusableInSidenav.focus()\n } else if (document.activeElement.closest('ld-sidenav') === this.el) {\n const previousElementSibling = this.el.previousElementSibling\n if (this.isToggleOutside(previousElementSibling)) {\n previousElementSibling.focusInner()\n }\n }\n }\n }\n }\n\n private onMatchMediaChange = (ev: MediaQueryListEvent) => {\n this.closable = ev.matches\n\n // Remove transitions class on breakpoint change in order to prevent\n // weird looking transitions on screen resize or orientation change events.\n // Add it back on transition end / after style changes have been applied.\n this.transitions = false\n\n // When there is less space available than before the breakpoint change,\n // collapse the side nav if it is collapsible.\n if (this.closable && this.collapsible) this.collapsed = true\n\n this.ldSidenavBreakpointChange.emit(this.closable)\n }\n\n componentWillLoad() {\n this.mediaQuery = window.matchMedia(`(max-width: ${this.breakpoint})`)\n this.mediaQuery.addEventListener('change', this.onMatchMediaChange)\n this.closable = this.mediaQuery.matches\n this.updateFullyCollapsible()\n }\n\n componentDidLoad() {\n this.ldSidenavCollapsedChange.emit({\n collapsed: this.collapsible && this.collapsed,\n fully: this.fullyCollapsible,\n })\n this.ldSidenavOpenChange.emit(this.open)\n this.ldSidenavBreakpointChange.emit(this.closable)\n\n setTimeout(() => {\n this.transitions = true\n })\n }\n\n disconnectedCallback() {\n this.mediaQuery?.removeEventListener('change', this.onMatchMediaChange)\n }\n\n render() {\n const cl = [\n 'ld-sidenav',\n this.align === 'right' && 'ld-sidenav--right',\n this.transitions && 'ld-sidenav--transitions',\n this.closable && 'ld-sidenav--closable',\n this.collapsible && this.collapsed && 'ld-sidenav--collapsed',\n this.collapsible && 'ld-sidenav--collapsible',\n this.fullyCollapsible && 'ld-sidenav--fully-collapsible',\n this.hasActiveSubnav && 'ld-sidenav--has-active-subnav',\n this.hasShadowTop && 'ld-sidenav--has-shadow-top',\n this.hasShadowBottom && 'ld-sidenav--has-shadow-bottom',\n this.open && 'ld-sidenav--open',\n this.toggleTransitionDisabled && 'ld-sidenav--toggle-transition-disabled',\n ]\n\n return (\n \n \n
    \n
    \n \n
    \n \n \n \n
    \n \n \n \n \n \n \n \n )\n }\n}\n"],"mappings":"4KAAA,MAAMA,EAAqB,2kP,MC6BdC,EAAS,M,wbAgZZC,KAAAC,QAAuBC,UACvBF,KAAAG,aAAeD,UACfF,KAAAI,YAAc,KAEpBC,aAAaL,KAAKG,cAClB,GAAIH,KAAKC,QAAS,CAChB,GACED,KAAKC,QAAQK,YAAc,GAC3BC,OAAOC,iBAAiBR,KAAKC,SAASQ,aAAe,SACrD,CACAT,KAAKG,aAAeO,WAAWV,KAAKI,YAAa,IACjD,M,CAEFJ,KAAKC,QAAQU,QACbX,KAAKC,QAAUC,S,GAIXF,KAAAY,qBAAuB,KAC7BZ,KAAKa,WAAab,KAAKa,SAAS,EAG1Bb,KAAAc,mCAAqC,KAE3C,MAAMC,EAAWC,MAAMC,KAAKjB,KAAKkB,GAAGH,UACpC,MAAMI,EAAUJ,EAASK,MACtBC,GAAUA,EAAMC,UAAY,oBAE/B,MAAMC,EAAkBR,EAASK,MAC9BC,GACCA,EAAMC,UAAY,uBACjB,CAAC,YAAa,YAAYE,SACxBH,EAAsCI,QAG7C,GAAIN,GAAWI,EAAiB,CAC9B,OAAO,I,CAIT,MAAMG,EAAS1B,KAAKkB,GAAGS,cAAc,qBACrC,MAAMC,EAAeF,EAAOG,cACxB7B,KAAKkB,GAAGS,cAAc,IAAID,EAAOG,iBACjCH,EACJ,MAAMI,EAA8Bd,MAAMC,KACxCW,EAAab,UACbgB,QACCV,GACCA,EAAMC,UAAY,sBACjBD,EAAsCI,OAAS,YAEpD,MAAMO,EAAiChB,MAAMC,KAC3CW,EAAaK,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KwD,OAAOgF,KAAKxI,MAC1BkI,MAAM,2C"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-21a69c18.js b/1704966176737/dist/build/p-21a69c18.js deleted file mode 100644 index a9f9a0c81b..0000000000 --- a/1704966176737/dist/build/p-21a69c18.js +++ /dev/null @@ -1,3 +0,0 @@ -const e="liquid";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};let n;let s;let l;let o=false;let i=false;let c=false;let f=false;let r=false;const u=e=>{const t=new URL(e,He.t);return t.origin!==ze.location.origin?t.href:t.pathname};const a=(e,t="")=>{{return()=>{}}};const d=(e,t)=>{{return()=>{}}};const v="{visibility:hidden}.hydrated{visibility:inherit}";const p="slot-fb{display:contents}slot-fb[hidden]{display:none}";const m="http://www.w3.org/1999/xlink";const h={};const y="http://www.w3.org/2000/svg";const b="http://www.w3.org/1999/xhtml";const w=e=>e!=null;const g=e=>{e=typeof e;return e==="object"||e==="function"};function $(e){var t,n,s;return(s=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const S=(e,t,...n)=>{let s=null;let l=null;let o=null;let i=false;let c=false;const f=[];const r=t=>{for(let n=0;ne[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,f,j)}const u=k(e,null);u.o=t;if(f.length>0){u.i=f}{u.u=l}{u.v=o}return u};const k=(e,t)=>{const n={p:0,m:e,l:t,h:null,i:null};{n.o=null}{n.u=null}{n.v=null}return n};const C={};const x=e=>e&&e.m===C;const j={forEach:(e,t)=>e.map(L).forEach(t),map:(e,t)=>e.map(L).map(t).map(O)};const L=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.l});const O=e=>{if(typeof e.vtag==="function"){const t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return S(e.vtag,t,...e.vchildren||[])}const t=k(e.vtag,e.vtext);t.o=e.vattrs;t.i=e.vchildren;t.u=e.vkey;t.v=e.vname;return t};const R=(e,t)=>{if(e!=null&&!g(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};const T=e=>Me(e).$hostElement$;const D=(e,t,n)=>{const s=T(e);return{emit:e=>F(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};const F=(e,t,n)=>{const s=He.ce(t,n);e.dispatchEvent(s);return s};const M=new WeakMap;const U=(e,t,n)=>{let s=qe.get(e);if(Ie&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=t}else{s.replaceSync(t)}}else{s=t}qe.set(e,s)};const A=(e,t,n)=>{var s;const l=P(t);const o=qe.get(l);e=e.nodeType===11?e:Be;if(o){if(typeof o==="string"){e=e.head||e;let n=M.get(e);let i;if(!n){M.set(e,n=new Set)}if(!n.has(l)){{i=Be.createElement("style");i.innerHTML=o;const t=(s=He.$)!==null&&s!==void 0?s:$(Be);if(t!=null){i.setAttribute("nonce",t)}e.insertBefore(i,e.querySelector("link"))}if(t.p&4){i.innerHTML+=p}if(n){n.add(l)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]}}return l};const N=e=>{const t=e.S;const n=e.$hostElement$;const s=t.p;const l=a("attachStyles",t.k);const o=A(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const P=(e,t)=>"sc-"+e.k;const W=(e,t,n,s,l,o)=>{if(n!==s){let i=Ne(e,t);let c=t.toLowerCase();if(t==="class"){const t=e.classList;const l=q(n);const o=q(s);t.remove(...l.filter((e=>e&&!o.includes(e))));t.add(...o.filter((e=>e&&!l.includes(e))))}else if(t==="style"){{for(const t in n){if(!s||s[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in s){if(!n||s[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,s[t])}else{e.style[t]=s[t]}}}}else if(t==="key");else if(t==="ref"){if(s){s(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Ne(ze,c)){t=c.slice(2)}else{t=c[2]+t.slice(3)}if(n||s){const l=t.endsWith(z);t=t.replace(B,"");if(n){He.rel(e,t,n,l)}if(s){He.ael(e,t,s,l)}}}else{const f=g(s);if((i||f&&s!==null)&&!l){try{if(!e.tagName.includes("-")){const l=s==null?"":s;if(t==="list"){i=false}else if(n==null||e[t]!=l){e[t]=l}}else{e[t]=s}}catch(e){}}let r=false;{if(c!==(c=c.replace(/^xlink\:?/,""))){t=c;r=true}}if(s==null||s===false){if(s!==false||e.getAttribute(t)===""){if(r){e.removeAttributeNS(m,t)}else{e.removeAttribute(t)}}}else if((!i||o&4||l)&&!f){s=s===true?"":s;if(r){e.setAttributeNS(m,t,s)}else{e.setAttribute(t,s)}}}}};const E=/\s/;const q=e=>!e?[]:e.split(E);const z="Capture";const B=new RegExp(z+"$");const H=(e,t,n,s)=>{const l=t.h.nodeType===11&&t.h.host?t.h.host:t.h;const o=e&&e.o||h;const i=t.o||h;{for(s in o){if(!(s in i)){W(l,s,o[s],undefined,n,t.p)}}}for(s in i){W(l,s,o[s],i[s],n,t.p)}};const Q=(e,t,i,r)=>{var u;const a=t.i[i];let d=0;let v;let p;let m;if(!o){c=true;if(a.m==="slot"){if(n){r.classList.add(n+"-s")}a.p|=a.i?2:1}}if(a.l!==null){v=a.h=Be.createTextNode(a.l)}else if(a.p&1){v=a.h=Be.createTextNode("")}else{if(!f){f=a.m==="svg"}v=a.h=Be.createElementNS(f?y:b,a.p&2?"slot-fb":a.m);if(f&&a.m==="foreignObject"){f=false}{H(null,a,f)}if(w(n)&&v["s-si"]!==n){v.classList.add(v["s-si"]=n)}if(a.i){for(d=0;d{var n;He.p|=1;const s=e.childNodes;for(let e=s.length-1;e>=0;e--){const o=s[e];if(o["s-hn"]!==l&&o["s-ol"]){J(o).insertBefore(o,G(o));o["s-ol"].remove();o["s-ol"]=undefined;o["s-sh"]=undefined;if(o.nodeType===1){o.setAttribute("slot",(n=o["s-sn"])!==null&&n!==void 0?n:"")}c=true}if(t){I(o,t)}}He.p&=~1};const K=(e,t,n,s,o,i)=>{let c=e["s-cr"]&&e["s-cr"].parentNode||e;let f;if(c.shadowRoot&&c.tagName===l){c=c.shadowRoot}for(;o<=i;++o){if(s[o]){f=Q(null,n,o,e);if(f){s[o].h=f;c.insertBefore(f,G(t))}}}};const V=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.h;se(t);if(e){{i=true;if(e["s-ol"]){e["s-ol"].remove()}else{I(e,true)}}e.remove()}}}};const X=(e,t,n,s,l=false)=>{let o=0;let i=0;let c=0;let f=0;let r=t.length-1;let u=t[0];let a=t[r];let d=s.length-1;let v=s[0];let p=s[d];let m;let h;while(o<=r&&i<=d){if(u==null){u=t[++o]}else if(a==null){a=t[--r]}else if(v==null){v=s[++i]}else if(p==null){p=s[--d]}else if(_(u,v,l)){Y(u,v,l);u=t[++o];v=s[++i]}else if(_(a,p,l)){Y(a,p,l);a=t[--r];p=s[--d]}else if(_(u,p,l)){if(u.m==="slot"||p.m==="slot"){I(u.h.parentNode,false)}Y(u,p,l);e.insertBefore(u.h,a.h.nextSibling);u=t[++o];p=s[--d]}else if(_(a,v,l)){if(u.m==="slot"||p.m==="slot"){I(a.h.parentNode,false)}Y(a,v,l);e.insertBefore(a.h,u.h);a=t[--r];v=s[++i]}else{c=-1;{for(f=o;f<=r;++f){if(t[f]&&t[f].u!==null&&t[f].u===v.u){c=f;break}}}if(c>=0){h=t[c];if(h.m!==v.m){m=Q(t&&t[i],n,c,e)}else{Y(h,v,l);t[c]=undefined;m=h.h}v=s[++i]}else{m=Q(t&&t[i],n,i,e);v=s[++i]}if(m){{J(u.h).insertBefore(m,G(u.h))}}}}if(o>r){K(e,s[d+1]==null?null:s[d+1].h,n,s,i,d)}else if(i>d){V(t,o,r)}};const _=(e,t,n=false)=>{if(e.m===t.m){if(e.m==="slot"){return e.v===t.v}if(!n){return e.u===t.u}return true}return false};const G=e=>e&&e["s-ol"]||e;const J=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;const Y=(e,t,n=false)=>{const s=t.h=e.h;const l=e.i;const o=t.i;const i=t.m;const c=t.l;let r;if(c===null){{f=i==="svg"?true:i==="foreignObject"?false:f}{if(i==="slot");else{H(e,t,f)}}if(l!==null&&o!==null){X(s,l,t,o,n)}else if(o!==null){if(e.l!==null){s.textContent=""}K(s,null,t,o,0,o.length-1)}else if(l!==null){V(l,0,l.length-1)}if(f&&i==="svg"){f=false}}else if(r=s["s-cr"]){r.parentNode.textContent=c}else if(e.l!==c){s.data=c}};const Z=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const n=e["s-sn"];e.hidden=false;for(const s of t){if(s!==e){if(s["s-hn"]!==e["s-hn"]||n!==""){if(s.nodeType===1&&(n===s.getAttribute("slot")||n===s["s-sn"])){e.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){e.hidden=true;break}}}}}Z(e)}}};const ee=[];const te=e=>{let n;let s;let l;for(const o of e.childNodes){if(o["s-sr"]&&(n=o["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=o["s-sn"];for(l=s.length-1;l>=0;l--){n=s[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==o["s-hn"]&&!t.experimentalSlotFixes){if(ne(n,e)){let t=ee.find((e=>e.C===n));i=true;n["s-sn"]=n["s-sn"]||e;if(t){t.C["s-sh"]=o["s-hn"];t.j=o}else{n["s-sh"]=o["s-hn"];ee.push({j:o,C:n})}if(n["s-sr"]){ee.map((e=>{if(ne(e.C,n["s-sn"])){t=ee.find((e=>e.C===n));if(t&&!e.j){e.j=t.j}}}))}}else if(!ee.some((e=>e.C===n))){ee.push({C:n})}}}}if(o.nodeType===1){te(o)}}};const ne=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};const se=e=>{{e.o&&e.o.ref&&e.o.ref(null);e.i&&e.i.map(se)}};const le=(e,t,f=false)=>{var r,u,a,d;const v=e.$hostElement$;const p=e.S;const m=e.L||k(null,null);const h=x(t)?t:S(null,null,t);l=v.tagName;if(p.O){h.o=h.o||{};p.O.map((([e,t])=>h.o[t]=v[e]))}if(f&&h.o){for(const e of Object.keys(h.o)){if(v.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){h.o[e]=v[e]}}}h.m=null;h.p|=4;e.L=h;h.h=m.h=v.shadowRoot||v;{n=v["s-sc"]}{s=v["s-cr"];o=(p.p&1)!==0;i=false}Y(m,h,f);{He.p|=1;if(c){te(h.h);for(const e of ee){const t=e.C;if(!t["s-ol"]){const e=Be.createTextNode("");e["s-nr"]=t;t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of ee){const t=e.C;const n=e.j;if(n){const e=n.parentNode;let s=n.nextSibling;{let n=(r=t["s-ol"])===null||r===void 0?void 0:r.previousSibling;while(n){let l=(u=n["s-nr"])!==null&&u!==void 0?u:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){l=l.nextSibling;if(!l||!l["s-nr"]){s=l;break}}n=n.previousSibling}}if(!s&&e!==t.parentNode||t.nextSibling!==s){if(t!==s){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}e.insertBefore(t,s);if(t.nodeType===1){t.hidden=(a=t["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(t.nodeType===1){if(f){t["s-ih"]=(d=t.hidden)!==null&&d!==void 0?d:false}t.hidden=true}}}}if(i){Z(h.h)}He.p&=~1;ee.length=0}};const oe=(e,t)=>{if(t&&!e.R&&t["s-p"]){t["s-p"].push(new Promise((t=>e.R=t)))}};const ie=(e,t)=>{{e.p|=16}if(e.p&4){e.p|=512;return}oe(e,e.T);const n=()=>ce(e,t);return Ye(n)};const ce=(e,t)=>{const n=a("scheduleUpdate",e.S.k);const s=e.D;let l;if(t){{e.p|=256;if(e.F){e.F.map((([e,t])=>pe(s,e,t)));e.F=undefined}}{l=pe(s,"componentWillLoad")}}n();return fe(l,(()=>ue(e,s,t)))};const fe=(e,t)=>re(e)?e.then(t):t();const re=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";const ue=async(e,t,n)=>{var s;const l=e.$hostElement$;const o=a("update",e.S.k);const i=l["s-rc"];if(n){N(e)}const c=a("render",e.S.k);{ae(e,t,l,n)}if(i){i.map((e=>e()));l["s-rc"]=undefined}c();o();{const t=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>de(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.p|=4;t.length=0}}};const ae=(e,t,n,s)=>{try{t=t.render();{e.p&=~16}{e.p|=2}{{{le(e,t,s)}}}}catch(t){Pe(t,e.$hostElement$)}return null};const de=e=>{const t=e.S.k;const n=e.$hostElement$;const s=a("postUpdate",t);const l=e.D;const o=e.T;{pe(l,"componentDidRender")}if(!(e.p&64)){e.p|=64;{me(n)}{pe(l,"componentDidLoad")}s();{e.M(n);if(!o){ve()}}}else{{pe(l,"componentDidUpdate")}s()}{e.U(n)}{if(e.R){e.R();e.R=undefined}if(e.p&512){Je((()=>ie(e,false)))}e.p&=~(4|512)}};const ve=t=>{{me(Be.documentElement)}Je((()=>F(ze,"appload",{detail:{namespace:e}})))};const pe=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){Pe(e)}}return undefined};const me=e=>e.classList.add("hydrated");const he=(e,t)=>Me(e).A.get(t);const ye=(e,t,n,s)=>{const l=Me(e);const o=l.$hostElement$;const i=l.A.get(t);const c=l.p;const f=l.D;n=R(n,s.N[t][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(c&8)||i===undefined)&&u){l.A.set(t,n);if(f){if(s.P&&c&128){const e=s.P[t];if(e){e.map((e=>{try{f[e](n,i,t)}catch(e){Pe(e,o)}}))}}if((c&(2|16))===2){ie(l,false)}}}};const be=(e,t,n)=>{var s;const l=e.prototype;if(t.N){if(e.watchers){t.P=e.watchers}const o=Object.entries(t.N);o.map((([e,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,e,{get(){return he(this,e)},set(n){ye(this,e,n,t)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,e,{value(...t){var n;const s=Me(this);return(n=s===null||s===void 0?void 0:s.W)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.D)===null||n===void 0?void 0:n[e](...t)}))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(e,s,o){He.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c)){o=this[c];delete this[c]}else if(l.hasOwnProperty(c)&&typeof this[c]==="number"&&this[c]==o){return}else if(c==null){const n=Me(this);const l=n===null||n===void 0?void 0:n.p;if(l&&!(l&8)&&l&128&&o!==s){const l=n.D;const c=(i=t.P)===null||i===void 0?void 0:i[e];c===null||c===void 0?void 0:c.forEach((t=>{if(l[t]!=null){l[t].call(l,o,s,e)}}))}return}this[c]=o===null&&typeof this[c]==="boolean"?false:o}))};e.observedAttributes=Array.from(new Set([...Object.keys((s=t.P)!==null&&s!==void 0?s:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,s])=>{var l;const o=s[1]||e;n.set(o,e);if(s[0]&512){(l=t.O)===null||l===void 0?void 0:l.push([e,o])}return o}))]))}}return e};const we=async(e,t,n,s)=>{let l;if((t.p&32)===0){t.p|=32;{l=Ee(n);if(l.then){const e=d();l=await l;e()}if(!l.isProxied){{n.P=l.watchers}be(l,n,2);l.isProxied=true}const e=a("createInstance",n.k);{t.p|=8}try{new l(t)}catch(e){Pe(e)}{t.p&=~8}{t.p|=128}e();ge(t.D)}if(l.style){let e=l.style;const t=P(n);if(!qe.has(t)){const s=a("registerStyles",n.k);U(t,e,!!(n.p&1));s()}}}const o=t.T;const i=()=>ie(t,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const ge=e=>{{pe(e,"connectedCallback")}};const $e=e=>{if((He.p&1)===0){const t=Me(e);const n=t.S;const s=a("connectedCallback",n.k);if(!(t.p&1)){t.p|=1;{if(n.p&(4|8)){Se(e)}}{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){oe(t,t.T=n);break}}}if(n.N){Object.entries(n.N).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{we(e,t,n)}}else{Le(e,t,n.q);if(t===null||t===void 0?void 0:t.D){ge(t.D)}else if(t===null||t===void 0?void 0:t.B){t.B.then((()=>ge(t.D)))}}s()}};const Se=e=>{const t=e["s-cr"]=Be.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};const ke=e=>{{pe(e,"disconnectedCallback")}};const Ce=async e=>{if((He.p&1)===0){const t=Me(e);{if(t.H){t.H.map((e=>e()));t.H=undefined}}if(t===null||t===void 0?void 0:t.D){ke(t.D)}else if(t===null||t===void 0?void 0:t.B){t.B.then((()=>ke(t.D)))}}};const xe=(e,t={})=>{var n;const s=a();const l=[];const o=t.exclude||[];const i=ze.customElements;const c=Be.head;const f=c.querySelector("meta[charset]");const r=Be.createElement("style");const u=[];let d;let m=true;Object.assign(He,t);He.t=new URL(t.resourcesUrl||"./",Be.baseURI).href;let h=false;e.map((e=>{e[1].map((t=>{var n;const s={p:t[0],k:t[1],N:t[2],q:t[3]};if(s.p&4){h=true}{s.N=t[2]}{s.q=t[3]}{s.O=[]}{s.P=(n=t[4])!==null&&n!==void 0?n:{}}const c=s.k;const f=class extends HTMLElement{constructor(e){super(e);e=this;Ae(e,s);if(s.p&1){{{e.attachShadow({mode:"open"})}}}}connectedCallback(){if(d){clearTimeout(d);d=null}if(m){u.push(this)}else{He.jmp((()=>$e(this)))}}disconnectedCallback(){He.jmp((()=>Ce(this)))}componentOnReady(){return Me(this).B}};s.I=e[0];if(!o.includes(c)&&!i.get(c)){l.push(c);i.define(c,be(f,s,1))}}))}));if(h){r.innerHTML+=p}{r.innerHTML+=l+v}if(r.innerHTML.length){r.setAttribute("data-styles","");const e=(n=He.$)!==null&&n!==void 0?n:$(Be);if(e!=null){r.setAttribute("nonce",e)}c.insertBefore(r,f?f.nextSibling:c.firstChild)}m=false;if(u.length){u.map((e=>e.connectedCallback()))}else{{He.jmp((()=>d=setTimeout(ve,30)))}}s()};const je=(e,t)=>t;const Le=(e,t,n,s)=>{if(n){n.map((([n,s,l])=>{const o=Re(e,n);const i=Oe(t,l);const c=Te(n);He.ael(o,s,i,c);(t.H=t.H||[]).push((()=>He.rel(o,s,i,c)))}))}};const Oe=(e,t)=>n=>{try{{if(e.p&256){e.D[t](n)}else{(e.F=e.F||[]).push([t,n])}}}catch(e){Pe(e)}};const Re=(e,t)=>{if(t&4)return Be;if(t&8)return ze;return e};const Te=e=>(e&2)!==0;const De=e=>He.$=e;const Fe=new WeakMap;const Me=e=>Fe.get(e);const Ue=(e,t)=>Fe.set(t.D=e,t);const Ae=(e,t)=>{const n={p:0,$hostElement$:e,S:t,A:new Map};{n.W=new Promise((e=>n.U=e))}{n.B=new Promise((e=>n.M=e));e["s-p"]=[];e["s-rc"]=[]}Le(e,n,t.q);return Fe.set(e,n)};const Ne=(e,t)=>t in e;const Pe=(e,t)=>(0,console.error)(e,t);const We=new Map;const Ee=(e,t,n)=>{const s=e.k.replace(/-/g,"_");const l=e.I;const o=We.get(l);if(o){return o[s]} -/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((e=>{{We.set(l,e)}return e[s]}),Pe)};const qe=new Map;const ze=typeof window!=="undefined"?window:{};const Be=ze.document||{head:{}};const He={p:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};const Qe=e=>Promise.resolve(e);const Ie=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();const Ke=[];const Ve=[];const Xe=(e,t)=>n=>{e.push(n);if(!r){r=true;if(t&&He.p&4){Je(Ge)}else{He.raf(Ge)}}};const _e=e=>{for(let t=0;t{_e(Ke);{_e(Ve);if(r=Ke.length>0){He.raf(Ge)}}};const Je=e=>Qe().then(e);const Ye=Xe(Ve,true);export{je as F,C as H,u as a,xe as b,D as c,T as g,S as h,Qe as p,Ue as r,De as s}; -//# sourceMappingURL=p-21a69c18.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-21a69c18.js.map b/1704966176737/dist/build/p-21a69c18.js.map deleted file mode 100644 index 5f6c20da3f..0000000000 --- a/1704966176737/dist/build/p-21a69c18.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["NAMESPACE","BUILD","allRenderFn","appendChildSlotFix","asyncLoading","asyncQueue","attachStyles","cloneNodeFix","cmpDidLoad","cmpDidRender","cmpDidUnload","cmpDidUpdate","cmpShouldUpdate","cmpWillLoad","cmpWillRender","cmpWillUpdate","connectedCallback","constructableCSS","cssAnnotations","devTools","disconnectedCallback","element","event","experimentalSlotFixes","formAssociated","hasRenderFn","hostListener","hostListenerTarget","hostListenerTargetBody","hostListenerTargetDocument","hostListenerTargetParent","hostListenerTargetWindow","hotModuleReplacement","hydrateClientSide","hydrateServerSide","hydratedAttribute","hydratedClass","initializeNextTick","invisiblePrehydration","isDebug","isDev","isTesting","lazyLoad","lifecycle","lifecycleDOMEvents","member","method","mode","observeAttribute","profile","prop","propBoolean","propMutable","propNumber","propString","reflect","scoped","scopedSlotTextContentFix","scriptDataOpts","shadowDelegatesFocus","shadowDom","slot","slotChildNodesFix","slotRelocation","state","style","svg","taskQueue","transformTagName","updatable","vdomAttribute","vdomClass","vdomFunctional","vdomKey","vdomListener","vdomPropOrAttr","vdomRef","vdomRender","vdomStyle","vdomText","vdomXlink","watchCallback","scopeId","contentRef","hostTagName","useNativeShadowDom","checkSlotFallbackVisibility","checkSlotRelocate","isSvgMode","queuePending","getAssetPath","path","assetUrl","URL","plt","$resourcesUrl$","origin","win","location","href","pathname","createTime","fnName","tagName","uniqueTime","key","measureText","HYDRATED_CSS","SLOT_FB_CSS","XLINK_NS","EMPTY_OBJ","SVG_NS","HTML_NS","isDef","v","isComplexType","o","queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","h","nodeName","vnodeData","children","child","slotName","simple","lastSimple","vNodeChildren","walk","c","i","length","Array","isArray","String","$text$","push","newVNode","name","classData","className","class","Object","keys","filter","k","join","vdomFnUtils","vnode","$attrs$","$children$","$key$","$name$","tag","text","$flags$","$tag$","$elm$","Host","isHost","node","forEach","cb","map","convertToPublic","convertToPrivate","vattrs","vchildren","vkey","vname","vtag","vtext","assign","parsePropertyValue","propValue","propType","parseFloat","getElement","ref","getHostRef","createEvent","flags","elm","emit","detail","emitEvent","bubbles","composed","cancelable","opts","ev","ce","dispatchEvent","rootAppliedStyles","WeakMap","registerStyle","cssText","allowCS","styles","get","supportsConstructableStylesheets","CSSStyleSheet","replaceSync","set","addStyle","styleContainerNode","cmpMeta","getScopeId","nodeType","appliedStyles","styleElm","Set","has","createElement","innerHTML","nonce","$nonce$","setAttribute","insertBefore","add","adoptedStyleSheets","includes","hostRef","$cmpMeta$","$hostElement$","endAttachStyles","$tagName$","shadowRoot","getRootNode","classList","cmp","setAccessor","memberName","oldValue","newValue","isSvg","isProp","isMemberInElement","ln","toLowerCase","oldClasses","parseClassList","newClasses","remove","removeProperty","setProperty","slice","capture","endsWith","CAPTURE_EVENT_SUFFIX","replace","CAPTURE_EVENT_REGEX","rel","ael","isComplex","n","e","xlink","removeAttributeNS","removeAttribute","setAttributeNS","parseClassListRegex","value","split","RegExp","updateElement","oldVnode","newVnode","host","oldVnodeAttrs","newVnodeAttrs","createElm","oldParentVNode","newParentVNode","childIndex","parentElm","childNode","oldVNode","createTextNode","createElementNS","appendChild","putBackInOriginalLocation","recursive","oldSlotChildNodes","childNodes","parentReferenceNode","referenceNode","addVnodes","before","parentVNode","vnodes","startIdx","endIdx","containerElm","parentNode","removeVnodes","index","nullifyVNodeRefs","updateChildren","oldCh","newCh","isInitialRender","oldStartIdx","newStartIdx","idxInOld","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","elmToMove","isSameVnode","patch","nextSibling","leftVNode","rightVNode","oldChildren","newChildren","defaultHolder","textContent","data","updateFallbackSlotVisibility","hidden","siblingNode","trim","relocateNodes","markSlotContentForRelocation","hostContentNodes","j","isNodeLocatedInSlot","relocateNodeData","find","r","$nodeToRelocate$","$slotRefNode$","relocateNode","some","nodeToRelocate","vNode","renderVdom","renderFnResults","isInitialLoad","_d","hostElm","$vnode$","rootVnode","$attrsToReflect$","propName","attribute","hasAttribute","relocateData","orgLocationNode","slotRefNode","parentNodeRef","insertBeforeNode","previousSibling","refNode","attachToAncestor","ancestorComponent","$onRenderResolve$","Promise","scheduleUpdate","$ancestorComponent$","dispatch","dispatchHooks","writeTask","endSchedule","instance","$lazyInstance$","maybePromise","$queuedListeners$","methodName","safeCall","enqueue","updateComponent","fn","isPromisey","then","async","endUpdate","rc","endRender","callRender","childrenPromises","postUpdate","postUpdateComponent","all","render","consoleError","endPostUpdate","addHydratedFlag","$onReadyResolve$","appDidLoad","$onInstanceResolve$","nextTick","who","documentElement","namespace","arg","getValue","$instanceValues$","setValue","newVal","oldVal","$members$","areBothNaN","Number","isNaN","didValueChange","$watchers$","watchMethods","watchMethodName","proxyComponent","Cstr","prototype","watchers","members","entries","memberFlags","defineProperty","this","configurable","enumerable","args","$onInstancePromise$","attrNameToPropName","Map","attributeChangedCallback","attrName","jmp","hasOwnProperty","entry","callbackName","call","observedAttributes","from","_","m","initializeComponent","hmrVersionId","loadModule","endLoad","isProxied","endNewInstance","fireConnectedCallback","endRegisterStyles","schedule","endConnected","setContentReference","addHostEventListeners","$listeners$","$onReadyPromise$","contentRefElm","createComment","firstChild","disconnectInstance","$rmListeners$","rmListener","bootstrapLazy","lazyBundles","options","endBootstrap","cmpTags","exclude","customElements","metaCharset","dataStyles","deferredConnectedCallbacks","appLoadFallback","isBootstrapping","resourcesUrl","baseURI","hasSlotRelocation","lazyBundle","compactMeta","HostElement","HTMLElement","constructor","self","super","registerHost","attachShadow","clearTimeout","componentOnReady","$lazyBundleId$","define","setTimeout","Fragment","listeners","attachParentListeners","target","getHostListenerTarget","handler","hostListenerProxy","hostListenerOpts","setNonce","hostRefs","registerInstance","lazyInstance","hostElement","el","console","error","cmpModules","exportName","bundleId","module","import","importedModule","window","document","raf","requestAnimationFrame","eventName","listener","addEventListener","removeEventListener","CustomEvent","promiseResolve","resolve","queueDomReads","queueDomWrites","queueTask","queue","write","flush","consume","performance","now"],"sources":["@stencil/core/internal/app-data","../node_modules/.pnpm/@stencil+core@4.9.0/node_modules/@stencil/core/internal/client/index.js?app-data=conditional"],"sourcesContent":["export const NAMESPACE = 'liquid';\nexport const BUILD = /* liquid */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };\nexport const Env = /* liquid */ {};\n","/**\n * Virtual DOM patching algorithm based on Snabbdom by\n * Simon Friis Vindum (@paldepind)\n * Licensed under the MIT License\n * https://github.com/snabbdom/snabbdom/blob/master/LICENSE\n *\n * Modified for Stencil's renderer and slot projection\n */\nlet scopeId;\nlet contentRef;\nlet hostTagName;\nlet customError;\nlet i = 0;\nlet useNativeShadowDom = false;\nlet checkSlotFallbackVisibility = false;\nlet checkSlotRelocate = false;\nlet isSvgMode = false;\nlet renderingRef = null;\nlet queueCongestion = 0;\nlet queuePending = false;\n/*\n Stencil Client Platform v4.9.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nconst Build = {\n isDev: BUILD.isDev ? true : false,\n isBrowser: true,\n isServer: false,\n isTesting: BUILD.isTesting ? true : false,\n};\nconst getAssetPath = (path) => {\n const assetUrl = new URL(path, plt.$resourcesUrl$);\n return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;\n};\nconst setAssetPath = (path) => (plt.$resourcesUrl$ = path);\nconst createTime = (fnName, tagName = '') => {\n if (BUILD.profile && performance.mark) {\n const key = `st:${fnName}:${tagName}:${i++}`;\n // Start\n performance.mark(key);\n // End\n return () => performance.measure(`[Stencil] ${fnName}() <${tagName}>`, key);\n }\n else {\n return () => {\n return;\n };\n }\n};\nconst uniqueTime = (key, measureText) => {\n if (BUILD.profile && performance.mark) {\n if (performance.getEntriesByName(key, 'mark').length === 0) {\n performance.mark(key);\n }\n return () => {\n if (performance.getEntriesByName(measureText, 'measure').length === 0) {\n performance.measure(measureText, key);\n }\n };\n }\n else {\n return () => {\n return;\n };\n }\n};\nconst inspect = (ref) => {\n const hostRef = getHostRef(ref);\n if (!hostRef) {\n return undefined;\n }\n const flags = hostRef.$flags$;\n const hostElement = hostRef.$hostElement$;\n return {\n renderCount: hostRef.$renderCount$,\n flags: {\n hasRendered: !!(flags & 2 /* HOST_FLAGS.hasRendered */),\n hasConnected: !!(flags & 1 /* HOST_FLAGS.hasConnected */),\n isWaitingForChildren: !!(flags & 4 /* HOST_FLAGS.isWaitingForChildren */),\n isConstructingInstance: !!(flags & 8 /* HOST_FLAGS.isConstructingInstance */),\n isQueuedForUpdate: !!(flags & 16 /* HOST_FLAGS.isQueuedForUpdate */),\n hasInitializedComponent: !!(flags & 32 /* HOST_FLAGS.hasInitializedComponent */),\n hasLoadedComponent: !!(flags & 64 /* HOST_FLAGS.hasLoadedComponent */),\n isWatchReady: !!(flags & 128 /* HOST_FLAGS.isWatchReady */),\n isListenReady: !!(flags & 256 /* HOST_FLAGS.isListenReady */),\n needsRerender: !!(flags & 512 /* HOST_FLAGS.needsRerender */),\n },\n instanceValues: hostRef.$instanceValues$,\n ancestorComponent: hostRef.$ancestorComponent$,\n hostElement,\n lazyInstance: hostRef.$lazyInstance$,\n vnode: hostRef.$vnode$,\n modeName: hostRef.$modeName$,\n onReadyPromise: hostRef.$onReadyPromise$,\n onReadyResolve: hostRef.$onReadyResolve$,\n onInstancePromise: hostRef.$onInstancePromise$,\n onInstanceResolve: hostRef.$onInstanceResolve$,\n onRenderResolve: hostRef.$onRenderResolve$,\n queuedListeners: hostRef.$queuedListeners$,\n rmListeners: hostRef.$rmListeners$,\n ['s-id']: hostElement['s-id'],\n ['s-cr']: hostElement['s-cr'],\n ['s-lr']: hostElement['s-lr'],\n ['s-p']: hostElement['s-p'],\n ['s-rc']: hostElement['s-rc'],\n ['s-sc']: hostElement['s-sc'],\n };\n};\nconst installDevTools = () => {\n if (BUILD.devTools) {\n const stencil = (win.stencil = win.stencil || {});\n const originalInspect = stencil.inspect;\n stencil.inspect = (ref) => {\n let result = inspect(ref);\n if (!result && typeof originalInspect === 'function') {\n result = originalInspect(ref);\n }\n return result;\n };\n }\n};\nconst CONTENT_REF_ID = 'r';\nconst ORG_LOCATION_ID = 'o';\nconst SLOT_NODE_ID = 's';\nconst TEXT_NODE_ID = 't';\nconst HYDRATE_ID = 's-id';\nconst HYDRATED_STYLE_ID = 'sty-id';\nconst HYDRATE_CHILD_ID = 'c-id';\nconst HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';\n/**\n * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.\n *\n * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser\n * support as of Stencil v4.\n */\nconst SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';\nconst XLINK_NS = 'http://www.w3.org/1999/xlink';\nconst FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [\n 'formAssociatedCallback',\n 'formResetCallback',\n 'formDisabledCallback',\n 'formStateRestoreCallback',\n];\n/**\n * Default style mode id\n */\n/**\n * Reusable empty obj/array\n * Don't add values to these!!\n */\nconst EMPTY_OBJ = {};\n/**\n * Namespaces\n */\nconst SVG_NS = 'http://www.w3.org/2000/svg';\nconst HTML_NS = 'http://www.w3.org/1999/xhtml';\nconst isDef = (v) => v != null;\n/**\n * Check whether a value is a 'complex type', defined here as an object or a\n * function.\n *\n * @param o the value to check\n * @returns whether it's a complex type or not\n */\nconst isComplexType = (o) => {\n // https://jsperf.com/typeof-fn-object/5\n o = typeof o;\n return o === 'object' || o === 'function';\n};\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n/**\n * Production h() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;\nconst h = (nodeName, vnodeData, ...children) => {\n let child = null;\n let key = null;\n let slotName = null;\n let simple = false;\n let lastSimple = false;\n const vNodeChildren = [];\n const walk = (c) => {\n for (let i = 0; i < c.length; i++) {\n child = c[i];\n if (Array.isArray(child)) {\n walk(child);\n }\n else if (child != null && typeof child !== 'boolean') {\n if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {\n child = String(child);\n }\n else if (BUILD.isDev && typeof nodeName !== 'function' && child.$flags$ === undefined) {\n consoleDevError(`vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.`);\n }\n if (simple && lastSimple) {\n // If the previous child was simple (string), we merge both\n vNodeChildren[vNodeChildren.length - 1].$text$ += child;\n }\n else {\n // Append a new vNode, if it's text, we create a text vNode\n vNodeChildren.push(simple ? newVNode(null, child) : child);\n }\n lastSimple = simple;\n }\n }\n };\n walk(children);\n if (vnodeData) {\n if (BUILD.isDev && nodeName === 'input') {\n validateInputProperties(vnodeData);\n }\n if (BUILD.vdomKey && vnodeData.key) {\n key = vnodeData.key;\n }\n if (BUILD.slotRelocation && vnodeData.name) {\n slotName = vnodeData.name;\n }\n // normalize class / className attributes\n if (BUILD.vdomClass) {\n const classData = vnodeData.className || vnodeData.class;\n if (classData) {\n vnodeData.class =\n typeof classData !== 'object'\n ? classData\n : Object.keys(classData)\n .filter((k) => classData[k])\n .join(' ');\n }\n }\n }\n if (BUILD.isDev && vNodeChildren.some(isHost)) {\n consoleDevError(`The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function.`);\n }\n if (BUILD.vdomFunctional && typeof nodeName === 'function') {\n // nodeName is a functional component\n return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);\n }\n const vnode = newVNode(nodeName, null);\n vnode.$attrs$ = vnodeData;\n if (vNodeChildren.length > 0) {\n vnode.$children$ = vNodeChildren;\n }\n if (BUILD.vdomKey) {\n vnode.$key$ = key;\n }\n if (BUILD.slotRelocation) {\n vnode.$name$ = slotName;\n }\n return vnode;\n};\n/**\n * A utility function for creating a virtual DOM node from a tag and some\n * possible text content.\n *\n * @param tag the tag for this element\n * @param text possible text content for the node\n * @returns a newly-minted virtual DOM node\n */\nconst newVNode = (tag, text) => {\n const vnode = {\n $flags$: 0,\n $tag$: tag,\n $text$: text,\n $elm$: null,\n $children$: null,\n };\n if (BUILD.vdomAttribute) {\n vnode.$attrs$ = null;\n }\n if (BUILD.vdomKey) {\n vnode.$key$ = null;\n }\n if (BUILD.slotRelocation) {\n vnode.$name$ = null;\n }\n return vnode;\n};\nconst Host = {};\n/**\n * Check whether a given node is a Host node or not\n *\n * @param node the virtual DOM node to check\n * @returns whether it's a Host node or not\n */\nconst isHost = (node) => node && node.$tag$ === Host;\n/**\n * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.\n *\n * Note that these functions convert from {@link d.VNode} to\n * {@link d.ChildNode} to give functional component developers a friendly\n * interface.\n */\nconst vdomFnUtils = {\n forEach: (children, cb) => children.map(convertToPublic).forEach(cb),\n map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),\n};\n/**\n * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a\n * friendlier public interface (hence, 'convertToPublic').\n *\n * @param node the virtual DOM node to convert\n * @returns a converted child node\n */\nconst convertToPublic = (node) => ({\n vattrs: node.$attrs$,\n vchildren: node.$children$,\n vkey: node.$key$,\n vname: node.$name$,\n vtag: node.$tag$,\n vtext: node.$text$,\n});\n/**\n * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in\n * order to use the resulting object in the virtual DOM. The initial object was\n * likely created as part of presenting a public API, so converting it back\n * involved making it 'private' again (hence, `convertToPrivate`).\n *\n * @param node the child node to convert\n * @returns a converted virtual DOM node\n */\nconst convertToPrivate = (node) => {\n if (typeof node.vtag === 'function') {\n const vnodeData = Object.assign({}, node.vattrs);\n if (node.vkey) {\n vnodeData.key = node.vkey;\n }\n if (node.vname) {\n vnodeData.name = node.vname;\n }\n return h(node.vtag, vnodeData, ...(node.vchildren || []));\n }\n const vnode = newVNode(node.vtag, node.vtext);\n vnode.$attrs$ = node.vattrs;\n vnode.$children$ = node.vchildren;\n vnode.$key$ = node.vkey;\n vnode.$name$ = node.vname;\n return vnode;\n};\n/**\n * Validates the ordering of attributes on an input element\n *\n * @param inputElm the element to validate\n */\nconst validateInputProperties = (inputElm) => {\n const props = Object.keys(inputElm);\n const value = props.indexOf('value');\n if (value === -1) {\n return;\n }\n const typeIndex = props.indexOf('type');\n const minIndex = props.indexOf('min');\n const maxIndex = props.indexOf('max');\n const stepIndex = props.indexOf('step');\n if (value < typeIndex || value < minIndex || value < maxIndex || value < stepIndex) {\n consoleDevWarn(`The \"value\" prop of should be set after \"min\", \"max\", \"type\" and \"step\"`);\n }\n};\n/**\n * Entrypoint of the client-side hydration process. Facilitates calls to hydrate the\n * document and all its nodes.\n *\n * This process will also reconstruct the shadow root and slot DOM nodes for components using shadow DOM.\n *\n * @param hostElm The element to hydrate.\n * @param tagName The element's tag name.\n * @param hostId The host ID assigned to the element by the server.\n * @param hostRef The host reference for the element.\n */\nconst initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {\n const endHydrate = createTime('hydrateClient', tagName);\n const shadowRoot = hostElm.shadowRoot;\n const childRenderNodes = [];\n const slotNodes = [];\n const shadowRootNodes = BUILD.shadowDom && shadowRoot ? [] : null;\n const vnode = (hostRef.$vnode$ = newVNode(tagName, null));\n if (!plt.$orgLocNodes$) {\n initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));\n }\n hostElm[HYDRATE_ID] = hostId;\n hostElm.removeAttribute(HYDRATE_ID);\n clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);\n childRenderNodes.map((c) => {\n const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;\n const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);\n const node = c.$elm$;\n // Put the node back in its original location since the native Shadow DOM\n // can handle rendering it its correct location now\n if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {\n orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);\n }\n if (!shadowRoot) {\n node['s-hn'] = tagName;\n if (orgLocationNode) {\n node['s-ol'] = orgLocationNode;\n node['s-ol']['s-nr'] = node;\n }\n }\n plt.$orgLocNodes$.delete(orgLocationId);\n });\n if (BUILD.shadowDom && shadowRoot) {\n shadowRootNodes.map((shadowRootNode) => {\n if (shadowRootNode) {\n shadowRoot.appendChild(shadowRootNode);\n }\n });\n }\n endHydrate();\n};\n/**\n * Recursively constructs the virtual node tree for a host element and its children.\n * The tree is constructed by parsing the annotations set on the nodes by the server.\n *\n * In addition to constructing the vNode tree, we also track information about the node's\n * descendants like which are slots, which should exist in the shadow root, and which\n * are nodes that should be rendered as children of the parent node.\n *\n * @param parentVNode The vNode representing the parent node.\n * @param childRenderNodes An array of all child nodes in the parent's node tree.\n * @param slotNodes An array of all slot nodes in the parent's node tree.\n * @param shadowRootNodes An array all nodes that should be rendered in the shadow root in the parent's node tree.\n * @param hostElm The parent element.\n * @param node The node to construct the vNode tree for.\n * @param hostId The host ID assigned to the element by the server.\n */\nconst clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {\n let childNodeType;\n let childIdSplt;\n let childVNode;\n let i;\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n childNodeType = node.getAttribute(HYDRATE_CHILD_ID);\n if (childNodeType) {\n // got the node data from the element's attribute\n // `${hostId}.${nodeId}.${depth}.${index}`\n childIdSplt = childNodeType.split('.');\n if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[0],\n $nodeId$: childIdSplt[1],\n $depth$: childIdSplt[2],\n $index$: childIdSplt[3],\n $tag$: node.tagName.toLowerCase(),\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $text$: null,\n };\n childRenderNodes.push(childVNode);\n node.removeAttribute(HYDRATE_CHILD_ID);\n // this is a new child vnode\n // so ensure its parent vnode has the vchildren array\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n // add our child vnode to a specific index of the vnode's children\n parentVNode.$children$[childVNode.$index$] = childVNode;\n // this is now the new parent vnode for all the next child checks\n parentVNode = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n }\n // recursively drill down, end to start so we can remove nodes\n for (i = node.childNodes.length - 1; i >= 0; i--) {\n clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);\n }\n if (node.shadowRoot) {\n // keep drilling down through the shadow root nodes\n for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {\n clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);\n }\n }\n }\n else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`\n childIdSplt = node.nodeValue.split('.');\n if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {\n // comment node for either the host id or a 0 host id\n childNodeType = childIdSplt[0];\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[1],\n $nodeId$: childIdSplt[2],\n $depth$: childIdSplt[3],\n $index$: childIdSplt[4],\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $tag$: null,\n $text$: null,\n };\n if (childNodeType === TEXT_NODE_ID) {\n childVNode.$elm$ = node.nextSibling;\n if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {\n childVNode.$text$ = childVNode.$elm$.textContent;\n childRenderNodes.push(childVNode);\n // remove the text comment since it's no longer needed\n node.remove();\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n }\n else if (childVNode.$hostId$ === hostId) {\n // this comment node is specifically for this host id\n if (childNodeType === SLOT_NODE_ID) {\n // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;\n childVNode.$tag$ = 'slot';\n if (childIdSplt[5]) {\n node['s-sn'] = childVNode.$name$ = childIdSplt[5];\n }\n else {\n node['s-sn'] = '';\n }\n node['s-sr'] = true;\n if (BUILD.shadowDom && shadowRootNodes) {\n // browser support shadowRoot and this is a shadow dom component\n // create an actual slot element\n childVNode.$elm$ = doc.createElement(childVNode.$tag$);\n if (childVNode.$name$) {\n // add the slot name attribute\n childVNode.$elm$.setAttribute('name', childVNode.$name$);\n }\n // insert the new slot element before the slot comment\n node.parentNode.insertBefore(childVNode.$elm$, node);\n // remove the slot comment since it's not needed for shadow\n node.remove();\n if (childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n slotNodes.push(childVNode);\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n }\n else if (childNodeType === CONTENT_REF_ID) {\n // `${CONTENT_REF_ID}.${hostId}`;\n if (BUILD.shadowDom && shadowRootNodes) {\n // remove the content ref comment since it's not needed for shadow\n node.remove();\n }\n else if (BUILD.slotRelocation) {\n hostElm['s-cr'] = node;\n node['s-cn'] = true;\n }\n }\n }\n }\n }\n else if (parentVNode && parentVNode.$tag$ === 'style') {\n const vnode = newVNode(null, node.textContent);\n vnode.$elm$ = node;\n vnode.$index$ = '0';\n parentVNode.$children$ = [vnode];\n }\n};\n/**\n * Recursively locate any comments representing an original location for a node in a node's\n * children or shadowRoot children.\n *\n * @param node The node to search.\n * @param orgLocNodes A map of the original location annotation and the current node being searched.\n */\nconst initializeDocumentHydrate = (node, orgLocNodes) => {\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n let i = 0;\n for (; i < node.childNodes.length; i++) {\n initializeDocumentHydrate(node.childNodes[i], orgLocNodes);\n }\n if (node.shadowRoot) {\n for (i = 0; i < node.shadowRoot.childNodes.length; i++) {\n initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);\n }\n }\n }\n else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n const childIdSplt = node.nodeValue.split('.');\n if (childIdSplt[0] === ORG_LOCATION_ID) {\n orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);\n node.nodeValue = '';\n // useful to know if the original location is\n // the root light-dom of a shadow dom component\n node['s-en'] = childIdSplt[3];\n }\n }\n};\n// Private\nconst computeMode = (elm) => modeResolutionChain.map((h) => h(elm)).find((m) => !!m);\n// Public\nconst setMode = (handler) => modeResolutionChain.push(handler);\nconst getMode = (ref) => getHostRef(ref).$modeName$;\n/**\n * Parse a new property value for a given property type.\n *\n * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,\n * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:\n * 1. `any`, the type given to `propValue` in the function signature\n * 2. the type stored from `propType`.\n *\n * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.\n *\n * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to\n * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is\n * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.\n * ```tsx\n * \n * ```\n *\n * HTML prop values on the other hand, will always a string\n *\n * @param propValue the new value to coerce to some type\n * @param propType the type of the prop, expressed as a binary number\n * @returns the parsed/coerced value\n */\nconst parsePropertyValue = (propValue, propType) => {\n // ensure this value is of the correct prop type\n if (propValue != null && !isComplexType(propValue)) {\n if (BUILD.propBoolean && propType & 4 /* MEMBER_FLAGS.Boolean */) {\n // per the HTML spec, any string value means it is a boolean true value\n // but we'll cheat here and say that the string \"false\" is the boolean false\n return propValue === 'false' ? false : propValue === '' || !!propValue;\n }\n if (BUILD.propNumber && propType & 2 /* MEMBER_FLAGS.Number */) {\n // force it to be a number\n return parseFloat(propValue);\n }\n if (BUILD.propString && propType & 1 /* MEMBER_FLAGS.String */) {\n // could have been passed as a number or boolean\n // but we still want it as a string\n return String(propValue);\n }\n // redundant return here for better minification\n return propValue;\n }\n // not sure exactly what type we want\n // so no need to change to a different type\n return propValue;\n};\nconst getElement = (ref) => (BUILD.lazyLoad ? getHostRef(ref).$hostElement$ : ref);\nconst createEvent = (ref, name, flags) => {\n const elm = getElement(ref);\n return {\n emit: (detail) => {\n if (BUILD.isDev && !elm.isConnected) {\n consoleDevWarn(`The \"${name}\" event was emitted, but the dispatcher node is no longer connected to the dom.`);\n }\n return emitEvent(elm, name, {\n bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),\n composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),\n cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),\n detail,\n });\n },\n };\n};\n/**\n * Helper function to create & dispatch a custom Event on a provided target\n * @param elm the target of the Event\n * @param name the name to give the custom Event\n * @param opts options for configuring a custom Event\n * @returns the custom Event\n */\nconst emitEvent = (elm, name, opts) => {\n const ev = plt.ce(name, opts);\n elm.dispatchEvent(ev);\n return ev;\n};\nconst rootAppliedStyles = /*@__PURE__*/ new WeakMap();\nconst registerStyle = (scopeId, cssText, allowCS) => {\n let style = styles.get(scopeId);\n if (supportsConstructableStylesheets && allowCS) {\n style = (style || new CSSStyleSheet());\n if (typeof style === 'string') {\n style = cssText;\n }\n else {\n style.replaceSync(cssText);\n }\n }\n else {\n style = cssText;\n }\n styles.set(scopeId, style);\n};\nconst addStyle = (styleContainerNode, cmpMeta, mode) => {\n var _a;\n const scopeId = getScopeId(cmpMeta, mode);\n const style = styles.get(scopeId);\n if (!BUILD.attachStyles) {\n return scopeId;\n }\n // if an element is NOT connected then getRootNode() will return the wrong root node\n // so the fallback is to always use the document for the root node in those cases\n styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;\n if (style) {\n if (typeof style === 'string') {\n styleContainerNode = styleContainerNode.head || styleContainerNode;\n let appliedStyles = rootAppliedStyles.get(styleContainerNode);\n let styleElm;\n if (!appliedStyles) {\n rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));\n }\n if (!appliedStyles.has(scopeId)) {\n if (BUILD.hydrateClientSide &&\n styleContainerNode.host &&\n (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}=\"${scopeId}\"]`))) {\n // This is only happening on native shadow-dom, do not needs CSS var shim\n styleElm.innerHTML = style;\n }\n else {\n styleElm = doc.createElement('style');\n styleElm.innerHTML = style;\n // Apply CSP nonce to the style tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n styleElm.setAttribute('nonce', nonce);\n }\n if (BUILD.hydrateServerSide || BUILD.hotModuleReplacement) {\n styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId);\n }\n styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));\n }\n // Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM\n if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {\n styleElm.innerHTML += SLOT_FB_CSS;\n }\n if (appliedStyles) {\n appliedStyles.add(scopeId);\n }\n }\n }\n else if (BUILD.constructableCSS && !styleContainerNode.adoptedStyleSheets.includes(style)) {\n styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];\n }\n }\n return scopeId;\n};\nconst attachStyles = (hostRef) => {\n const cmpMeta = hostRef.$cmpMeta$;\n const elm = hostRef.$hostElement$;\n const flags = cmpMeta.$flags$;\n const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);\n const scopeId = addStyle(BUILD.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$);\n if ((BUILD.shadowDom || BUILD.scoped) && BUILD.cssAnnotations && flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n // DOM WRITE!!\n elm['s-sc'] = scopeId;\n elm.classList.add(scopeId + '-h');\n if (BUILD.scoped && flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n elm.classList.add(scopeId + '-s');\n }\n }\n endAttachStyles();\n};\nconst getScopeId = (cmp, mode) => 'sc-' + (BUILD.mode && mode && cmp.$flags$ & 32 /* CMP_FLAGS.hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);\nconst convertScopedToShadow = (css) => css.replace(/\\/\\*!@([^\\/]+)\\*\\/[^\\{]+\\{/g, '$1{');\n/**\n * Production setAccessor() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\n/**\n * When running a VDom render set properties present on a VDom node onto the\n * corresponding HTML element.\n *\n * Note that this function has special functionality for the `class`,\n * `style`, `key`, and `ref` attributes, as well as event handlers (like\n * `onClick`, etc). All others are just passed through as-is.\n *\n * @param elm the HTMLElement onto which attributes should be set\n * @param memberName the name of the attribute to set\n * @param oldValue the old value for the attribute\n * @param newValue the new value for the attribute\n * @param isSvg whether we're in an svg context or not\n * @param flags bitflags for Vdom variables\n */\nconst setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {\n if (oldValue !== newValue) {\n let isProp = isMemberInElement(elm, memberName);\n let ln = memberName.toLowerCase();\n if (BUILD.vdomClass && memberName === 'class') {\n const classList = elm.classList;\n const oldClasses = parseClassList(oldValue);\n const newClasses = parseClassList(newValue);\n classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));\n classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));\n }\n else if (BUILD.vdomStyle && memberName === 'style') {\n // update style attribute, css properties and values\n if (BUILD.updatable) {\n for (const prop in oldValue) {\n if (!newValue || newValue[prop] == null) {\n if (!BUILD.hydrateServerSide && prop.includes('-')) {\n elm.style.removeProperty(prop);\n }\n else {\n elm.style[prop] = '';\n }\n }\n }\n }\n for (const prop in newValue) {\n if (!oldValue || newValue[prop] !== oldValue[prop]) {\n if (!BUILD.hydrateServerSide && prop.includes('-')) {\n elm.style.setProperty(prop, newValue[prop]);\n }\n else {\n elm.style[prop] = newValue[prop];\n }\n }\n }\n }\n else if (BUILD.vdomKey && memberName === 'key')\n ;\n else if (BUILD.vdomRef && memberName === 'ref') {\n // minifier will clean this up\n if (newValue) {\n newValue(elm);\n }\n }\n else if (BUILD.vdomListener &&\n (BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) &&\n memberName[0] === 'o' &&\n memberName[1] === 'n') {\n // Event Handlers\n // so if the member name starts with \"on\" and the 3rd characters is\n // a capital letter, and it's not already a member on the element,\n // then we're assuming it's an event listener\n if (memberName[2] === '-') {\n // on- prefixed events\n // allows to be explicit about the dom event to listen without any magic\n // under the hood:\n // // listens for \"click\"\n // // listens for \"Click\"\n // // listens for \"ionChange\"\n // // listens for \"EVENTS\"\n memberName = memberName.slice(3);\n }\n else if (isMemberInElement(win, ln)) {\n // standard event\n // the JSX attribute could have been \"onMouseOver\" and the\n // member name \"onmouseover\" is on the window's prototype\n // so let's add the listener \"mouseover\", which is all lowercased\n memberName = ln.slice(2);\n }\n else {\n // custom event\n // the JSX attribute could have been \"onMyCustomEvent\"\n // so let's trim off the \"on\" prefix and lowercase the first character\n // and add the listener \"myCustomEvent\"\n // except for the first character, we keep the event name case\n memberName = ln[2] + memberName.slice(3);\n }\n if (oldValue || newValue) {\n // Need to account for \"capture\" events.\n // If the event name ends with \"Capture\", we'll update the name to remove\n // the \"Capture\" suffix and make sure the event listener is setup to handle the capture event.\n const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);\n // Make sure we only replace the last instance of \"Capture\"\n memberName = memberName.replace(CAPTURE_EVENT_REGEX, '');\n if (oldValue) {\n plt.rel(elm, memberName, oldValue, capture);\n }\n if (newValue) {\n plt.ael(elm, memberName, newValue, capture);\n }\n }\n }\n else if (BUILD.vdomPropOrAttr) {\n // Set property if it exists and it's not a SVG\n const isComplex = isComplexType(newValue);\n if ((isProp || (isComplex && newValue !== null)) && !isSvg) {\n try {\n if (!elm.tagName.includes('-')) {\n const n = newValue == null ? '' : newValue;\n // Workaround for Safari, moving the caret when re-assigning the same valued\n if (memberName === 'list') {\n isProp = false;\n }\n else if (oldValue == null || elm[memberName] != n) {\n elm[memberName] = n;\n }\n }\n else {\n elm[memberName] = newValue;\n }\n }\n catch (e) {\n /**\n * in case someone tries to set a read-only property, e.g. \"namespaceURI\", we just ignore it\n */\n }\n }\n /**\n * Need to manually update attribute if:\n * - memberName is not an attribute\n * - if we are rendering the host element in order to reflect attribute\n * - if it's a SVG, since properties might not work in \n * - if the newValue is null/undefined or 'false'.\n */\n let xlink = false;\n if (BUILD.vdomXlink) {\n if (ln !== (ln = ln.replace(/^xlink\\:?/, ''))) {\n memberName = ln;\n xlink = true;\n }\n }\n if (newValue == null || newValue === false) {\n if (newValue !== false || elm.getAttribute(memberName) === '') {\n if (BUILD.vdomXlink && xlink) {\n elm.removeAttributeNS(XLINK_NS, memberName);\n }\n else {\n elm.removeAttribute(memberName);\n }\n }\n }\n else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {\n newValue = newValue === true ? '' : newValue;\n if (BUILD.vdomXlink && xlink) {\n elm.setAttributeNS(XLINK_NS, memberName, newValue);\n }\n else {\n elm.setAttribute(memberName, newValue);\n }\n }\n }\n }\n};\nconst parseClassListRegex = /\\s/;\n/**\n * Parsed a string of classnames into an array\n * @param value className string, e.g. \"foo bar baz\"\n * @returns list of classes, e.g. [\"foo\", \"bar\", \"baz\"]\n */\nconst parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));\nconst CAPTURE_EVENT_SUFFIX = 'Capture';\nconst CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + '$');\nconst updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {\n // if the element passed in is a shadow root, which is a document fragment\n // then we want to be adding attrs/props to the shadow root's \"host\" element\n // if it's not a shadow root, then we add attrs/props to the same element\n const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host\n ? newVnode.$elm$.host\n : newVnode.$elm$;\n const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;\n const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;\n if (BUILD.updatable) {\n // remove attributes no longer present on the vnode by setting them to undefined\n for (memberName in oldVnodeAttrs) {\n if (!(memberName in newVnodeAttrs)) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);\n }\n }\n }\n // add new & update changed attributes\n for (memberName in newVnodeAttrs) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);\n }\n};\n/**\n * Create a DOM Node corresponding to one of the children of a given VNode.\n *\n * @param oldParentVNode the parent VNode from the previous render\n * @param newParentVNode the parent VNode from the current render\n * @param childIndex the index of the VNode, in the _new_ parent node's\n * children, for which we will create a new DOM node\n * @param parentElm the parent DOM node which our new node will be a child of\n * @returns the newly created node\n */\nconst createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {\n var _a;\n // tslint:disable-next-line: prefer-const\n const newVNode = newParentVNode.$children$[childIndex];\n let i = 0;\n let elm;\n let childNode;\n let oldVNode;\n if (BUILD.slotRelocation && !useNativeShadowDom) {\n // remember for later we need to check to relocate nodes\n checkSlotRelocate = true;\n if (newVNode.$tag$ === 'slot') {\n if (scopeId) {\n // scoped css needs to add its scoped id to the parent element\n parentElm.classList.add(scopeId + '-s');\n }\n newVNode.$flags$ |= newVNode.$children$\n ? // slot element has fallback content\n 2 /* VNODE_FLAGS.isSlotFallback */\n : // slot element does not have fallback content\n 1 /* VNODE_FLAGS.isSlotReference */;\n }\n }\n if (BUILD.isDev && newVNode.$elm$) {\n consoleDevError(`The JSX ${newVNode.$text$ !== null ? `\"${newVNode.$text$}\" text` : `\"${newVNode.$tag$}\" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`);\n }\n if (BUILD.vdomText && newVNode.$text$ !== null) {\n // create text node\n elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);\n }\n else if (BUILD.slotRelocation && newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {\n // create a slot reference node\n elm = newVNode.$elm$ =\n BUILD.isDebug || BUILD.hydrateServerSide ? slotReferenceDebugNode(newVNode) : doc.createTextNode('');\n }\n else {\n if (BUILD.svg && !isSvgMode) {\n isSvgMode = newVNode.$tag$ === 'svg';\n }\n // create element\n elm = newVNode.$elm$ = (BUILD.svg\n ? doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, BUILD.slotRelocation && newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */\n ? 'slot-fb'\n : newVNode.$tag$)\n : doc.createElement(BUILD.slotRelocation && newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */\n ? 'slot-fb'\n : newVNode.$tag$));\n if (BUILD.svg && isSvgMode && newVNode.$tag$ === 'foreignObject') {\n isSvgMode = false;\n }\n // add css classes, attrs, props, listeners, etc.\n if (BUILD.vdomAttribute) {\n updateElement(null, newVNode, isSvgMode);\n }\n if ((BUILD.shadowDom || BUILD.scoped) && isDef(scopeId) && elm['s-si'] !== scopeId) {\n // if there is a scopeId and this is the initial render\n // then let's add the scopeId as a css class\n elm.classList.add((elm['s-si'] = scopeId));\n }\n if (newVNode.$children$) {\n for (i = 0; i < newVNode.$children$.length; ++i) {\n // create the node\n childNode = createElm(oldParentVNode, newVNode, i, elm);\n // return node could have been null\n if (childNode) {\n // append our new node\n elm.appendChild(childNode);\n }\n }\n }\n if (BUILD.svg) {\n if (newVNode.$tag$ === 'svg') {\n // Only reset the SVG context when we're exiting element\n isSvgMode = false;\n }\n else if (elm.tagName === 'foreignObject') {\n // Reenter SVG context when we're exiting element\n isSvgMode = true;\n }\n }\n }\n // This needs to always happen so we can hide nodes that are projected\n // to another component but don't end up in a slot\n elm['s-hn'] = hostTagName;\n if (BUILD.slotRelocation) {\n if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {\n // remember the content reference comment\n elm['s-sr'] = true;\n // Persist the name of the slot that this slot was going to be projected into.\n elm['s-fs'] = (_a = newVNode.$attrs$) === null || _a === void 0 ? void 0 : _a.slot;\n // remember the content reference comment\n elm['s-cr'] = contentRef;\n // remember the slot name, or empty string for default slot\n elm['s-sn'] = newVNode.$name$ || '';\n // check if we've got an old vnode for this slot\n oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];\n if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {\n if (BUILD.experimentalSlotFixes) {\n // we've got an old slot vnode and the wrapper is being replaced\n // so let's move the old slot content to the root of the element currently being rendered\n relocateToHostRoot(oldParentVNode.$elm$);\n }\n else {\n // we've got an old slot vnode and the wrapper is being replaced\n // so let's move the old slot content back to its original location\n putBackInOriginalLocation(oldParentVNode.$elm$, false);\n }\n }\n }\n }\n return elm;\n};\n/**\n * Relocates all child nodes of an element that were a part of a previous slot relocation\n * to the root of the Stencil component currently being rendered. This happens when a parent\n * element of a slot reference node dynamically changes and triggers a re-render. We cannot use\n * `putBackInOriginalLocation()` because that may relocate nodes to elements that will not be re-rendered\n * and so they will not be relocated again.\n *\n * @param parentElm The element potentially containing relocated nodes.\n */\nconst relocateToHostRoot = (parentElm) => {\n plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n const host = parentElm.closest(hostTagName.toLowerCase());\n if (host != null) {\n for (const childNode of Array.from(parentElm.childNodes)) {\n // Only relocate nodes that were slotted in\n if (childNode['s-sh'] != null) {\n host.insertBefore(childNode, null);\n // Reset so we can correctly move the node around again.\n childNode['s-sh'] = undefined;\n // When putting an element node back in its original location,\n // we need to reset the `slot` attribute back to the value it originally had\n // so we can correctly relocate it again in the future\n if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */ && !!childNode['s-sn']) {\n childNode.setAttribute('slot', childNode['s-sn']);\n }\n // Need to tell the render pipeline to check to relocate slot content again\n checkSlotRelocate = true;\n }\n }\n }\n plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n};\nconst putBackInOriginalLocation = (parentElm, recursive) => {\n var _a;\n plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n const oldSlotChildNodes = parentElm.childNodes;\n for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {\n const childNode = oldSlotChildNodes[i];\n if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {\n // and relocate it back to it's original location\n parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));\n // remove the old original location comment entirely\n // later on the patch function will know what to do\n // and move this to the correct spot if need be\n childNode['s-ol'].remove();\n childNode['s-ol'] = undefined;\n // Reset so we can correctly move the node around again.\n childNode['s-sh'] = undefined;\n // When putting an element node back in its original location,\n // we need to reset the `slot` attribute back to the value it originally had\n // so we can correctly relocate it again in the future\n if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n childNode.setAttribute('slot', (_a = childNode['s-sn']) !== null && _a !== void 0 ? _a : '');\n }\n checkSlotRelocate = true;\n }\n if (recursive) {\n putBackInOriginalLocation(childNode, recursive);\n }\n }\n plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n};\n/**\n * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and\n * add them to the DOM in the appropriate place.\n *\n * @param parentElm the DOM node which should be used as a parent for the new\n * DOM nodes\n * @param before a child of the `parentElm` which the new children should be\n * inserted before (optional)\n * @param parentVNode the parent virtual DOM node\n * @param vnodes the new child virtual DOM nodes to produce DOM nodes for\n * @param startIdx the index in the child virtual DOM nodes at which to start\n * creating DOM nodes (inclusive)\n * @param endIdx the index in the child virtual DOM nodes at which to stop\n * creating DOM nodes (inclusive)\n */\nconst addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {\n let containerElm = ((BUILD.slotRelocation && parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);\n let childNode;\n if (BUILD.shadowDom && containerElm.shadowRoot && containerElm.tagName === hostTagName) {\n containerElm = containerElm.shadowRoot;\n }\n for (; startIdx <= endIdx; ++startIdx) {\n if (vnodes[startIdx]) {\n childNode = createElm(null, parentVNode, startIdx, parentElm);\n if (childNode) {\n vnodes[startIdx].$elm$ = childNode;\n containerElm.insertBefore(childNode, BUILD.slotRelocation ? referenceNode(before) : before);\n }\n }\n }\n};\n/**\n * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.\n * This can be used to, for instance, clean up after a list of children which\n * should no longer be shown.\n *\n * This function also handles some of Stencil's slot relocation logic.\n *\n * @param vnodes a list of virtual DOM nodes to remove\n * @param startIdx the index at which to start removing nodes (inclusive)\n * @param endIdx the index at which to stop removing nodes (inclusive)\n */\nconst removeVnodes = (vnodes, startIdx, endIdx) => {\n for (let index = startIdx; index <= endIdx; ++index) {\n const vnode = vnodes[index];\n if (vnode) {\n const elm = vnode.$elm$;\n nullifyVNodeRefs(vnode);\n if (elm) {\n if (BUILD.slotRelocation) {\n // we're removing this element\n // so it's possible we need to show slot fallback content now\n checkSlotFallbackVisibility = true;\n if (elm['s-ol']) {\n // remove the original location comment\n elm['s-ol'].remove();\n }\n else {\n // it's possible that child nodes of the node\n // that's being removed are slot nodes\n putBackInOriginalLocation(elm, true);\n }\n }\n // remove the vnode's element from the dom\n elm.remove();\n }\n }\n }\n};\n/**\n * Reconcile the children of a new VNode with the children of an old VNode by\n * traversing the two collections of children, identifying nodes that are\n * conserved or changed, calling out to `patch` to make any necessary\n * updates to the DOM, and rearranging DOM nodes as needed.\n *\n * The algorithm for reconciling children works by analyzing two 'windows' onto\n * the two arrays of children (`oldCh` and `newCh`). We keep track of the\n * 'windows' by storing start and end indices and references to the\n * corresponding array entries. Initially the two 'windows' are basically equal\n * to the entire array, but we progressively narrow the windows until there are\n * no children left to update by doing the following:\n *\n * 1. Skip any `null` entries at the beginning or end of the two arrays, so\n * that if we have an initial array like the following we'll end up dealing\n * only with a window bounded by the highlighted elements:\n *\n * [null, null, VNode1 , ... , VNode2, null, null]\n * ^^^^^^ ^^^^^^\n *\n * 2. Check to see if the elements at the head and tail positions are equal\n * across the windows. This will basically detect elements which haven't\n * been added, removed, or changed position, i.e. if you had the following\n * VNode elements (represented as HTML):\n *\n * oldVNode: `

    HEY

    `\n * newVNode: `

    THERE

    `\n *\n * Then when comparing the children of the `
    ` tag we check the equality\n * of the VNodes corresponding to the `

    ` tags and, since they are the\n * same tag in the same position, we'd be able to avoid completely\n * re-rendering the subtree under them with a new DOM element and would just\n * call out to `patch` to handle reconciling their children and so on.\n *\n * 3. Check, for both windows, to see if the element at the beginning of the\n * window corresponds to the element at the end of the other window. This is\n * a heuristic which will let us identify _some_ situations in which\n * elements have changed position, for instance it _should_ detect that the\n * children nodes themselves have not changed but merely moved in the\n * following example:\n *\n * oldVNode: `

    `\n * newVNode: `
    `\n *\n * If we find cases like this then we also need to move the concrete DOM\n * elements corresponding to the moved children to write the re-order to the\n * DOM.\n *\n * 4. Finally, if VNodes have the `key` attribute set on them we check for any\n * nodes in the old children which have the same key as the first element in\n * our window on the new children. If we find such a node we handle calling\n * out to `patch`, moving relevant DOM nodes, and so on, in accordance with\n * what we find.\n *\n * Finally, once we've narrowed our 'windows' to the point that either of them\n * collapse (i.e. they have length 0) we then handle any remaining VNode\n * insertion or deletion that needs to happen to get a DOM state that correctly\n * reflects the new child VNodes. If, for instance, after our window on the old\n * children has collapsed we still have more nodes on the new children that\n * we haven't dealt with yet then we need to add them, or if the new children\n * collapse but we still have unhandled _old_ children then we need to make\n * sure the corresponding DOM nodes are removed.\n *\n * @param parentElm the node into which the parent VNode is rendered\n * @param oldCh the old children of the parent node\n * @param newVNode the new VNode which will replace the parent\n * @param newCh the new children of the parent node\n * @param isInitialRender whether or not this is the first render of the vdom\n */\nconst updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {\n let oldStartIdx = 0;\n let newStartIdx = 0;\n let idxInOld = 0;\n let i = 0;\n let oldEndIdx = oldCh.length - 1;\n let oldStartVnode = oldCh[0];\n let oldEndVnode = oldCh[oldEndIdx];\n let newEndIdx = newCh.length - 1;\n let newStartVnode = newCh[0];\n let newEndVnode = newCh[newEndIdx];\n let node;\n let elmToMove;\n while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\n if (oldStartVnode == null) {\n // VNode might have been moved left\n oldStartVnode = oldCh[++oldStartIdx];\n }\n else if (oldEndVnode == null) {\n oldEndVnode = oldCh[--oldEndIdx];\n }\n else if (newStartVnode == null) {\n newStartVnode = newCh[++newStartIdx];\n }\n else if (newEndVnode == null) {\n newEndVnode = newCh[--newEndIdx];\n }\n else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {\n // if the start nodes are the same then we should patch the new VNode\n // onto the old one, and increment our `newStartIdx` and `oldStartIdx`\n // indices to reflect that. We don't need to move any DOM Nodes around\n // since things are matched up in order.\n patch(oldStartVnode, newStartVnode, isInitialRender);\n oldStartVnode = oldCh[++oldStartIdx];\n newStartVnode = newCh[++newStartIdx];\n }\n else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {\n // likewise, if the end nodes are the same we patch new onto old and\n // decrement our end indices, and also likewise in this case we don't\n // need to move any DOM Nodes.\n patch(oldEndVnode, newEndVnode, isInitialRender);\n oldEndVnode = oldCh[--oldEndIdx];\n newEndVnode = newCh[--newEndIdx];\n }\n else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {\n // case: \"Vnode moved right\"\n //\n // We've found that the last node in our window on the new children is\n // the same VNode as the _first_ node in our window on the old children\n // we're dealing with now. Visually, this is the layout of these two\n // nodes:\n //\n // newCh: [..., newStartVnode , ... , newEndVnode , ...]\n // ^^^^^^^^^^^\n // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]\n // ^^^^^^^^^^^^^\n //\n // In this situation we need to patch `newEndVnode` onto `oldStartVnode`\n // and move the DOM element for `oldStartVnode`.\n if (BUILD.slotRelocation && (oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {\n putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);\n }\n patch(oldStartVnode, newEndVnode, isInitialRender);\n // We need to move the element for `oldStartVnode` into a position which\n // will be appropriate for `newEndVnode`. For this we can use\n // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a\n // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for\n // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:\n //\n // \n // \n // \n // \n // \n // \n // ```\n // In this case if we do not un-shadow here and use the value of the shadowing property, attributeChangedCallback\n // will be called with `newValue = \"some-value\"` and will set the shadowed property (this.someAttribute = \"another-value\")\n // to the value that was set inline i.e. \"some-value\" from above example. When\n // the connectedCallback attempts to un-shadow it will use \"some-value\" as the initial value rather than \"another-value\"\n //\n // The case where the attribute was NOT set inline but was not set programmatically shall be handled/un-shadowed\n // by connectedCallback as this attributeChangedCallback will not fire.\n //\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n //\n // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to\n // properties here given that this goes against best practices outlined here\n // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy\n if (this.hasOwnProperty(propName)) {\n newValue = this[propName];\n delete this[propName];\n }\n else if (prototype.hasOwnProperty(propName) &&\n typeof this[propName] === 'number' &&\n this[propName] == newValue) {\n // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native\n // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in\n // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.\n return;\n }\n else if (propName == null) {\n // At this point we should know this is not a \"member\", so we can treat it like watching an attribute\n // on a vanilla web component\n const hostRef = getHostRef(this);\n const flags = hostRef === null || hostRef === void 0 ? void 0 : hostRef.$flags$;\n // We only want to trigger the callback(s) if:\n // 1. The instance is ready\n // 2. The watchers are ready\n // 3. The value has changed\n if (flags &&\n !(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&\n flags & 128 /* HOST_FLAGS.isWatchReady */ &&\n newValue !== oldValue) {\n const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : this;\n const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;\n const entry = (_a = cmpMeta.$watchers$) === null || _a === void 0 ? void 0 : _a[attrName];\n entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {\n if (instance[callbackName] != null) {\n instance[callbackName].call(instance, newValue, oldValue, attrName);\n }\n });\n }\n return;\n }\n this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;\n });\n };\n // Create an array of attributes to observe\n // This list in comprised of all strings used within a `@Watch()` decorator\n // on a component as well as any Stencil-specific \"members\" (`@Prop()`s and `@State()`s).\n // As such, there is no way to guarantee type-safety here that a user hasn't entered\n // an invalid attribute.\n Cstr.observedAttributes = Array.from(new Set([\n ...Object.keys((_a = cmpMeta.$watchers$) !== null && _a !== void 0 ? _a : {}),\n ...members\n .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)\n .map(([propName, m]) => {\n var _a;\n const attrName = m[1] || propName;\n attrNameToPropName.set(attrName, propName);\n if (BUILD.reflect && m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {\n (_a = cmpMeta.$attrsToReflect$) === null || _a === void 0 ? void 0 : _a.push([propName, attrName]);\n }\n return attrName;\n }),\n ]));\n }\n }\n return Cstr;\n};\n/**\n * Initialize a Stencil component given a reference to its host element, its\n * runtime bookkeeping data structure, runtime metadata about the component,\n * and (optionally) an HMR version ID.\n *\n * @param elm a host element\n * @param hostRef the element's runtime bookkeeping object\n * @param cmpMeta runtime metadata for the Stencil component\n * @param hmrVersionId an (optional) HMR version ID\n */\nconst initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {\n let Cstr;\n // initializeComponent\n if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {\n // Let the runtime know that the component has been initialized\n hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;\n if (BUILD.lazyLoad || BUILD.hydrateClientSide) {\n // lazy loaded components\n // request the component's implementation to be\n // wired up with the host element\n Cstr = loadModule(cmpMeta, hostRef, hmrVersionId);\n if (Cstr.then) {\n // Await creates a micro-task avoid if possible\n const endLoad = uniqueTime(`st:load:${cmpMeta.$tagName$}:${hostRef.$modeName$}`, `[Stencil] Load module for <${cmpMeta.$tagName$}>`);\n Cstr = await Cstr;\n endLoad();\n }\n if ((BUILD.isDev || BUILD.isDebug) && !Cstr) {\n throw new Error(`Constructor for \"${cmpMeta.$tagName$}#${hostRef.$modeName$}\" was not found`);\n }\n if (BUILD.member && !Cstr.isProxied) {\n // we've never proxied this Constructor before\n // let's add the getters/setters to its prototype before\n // the first time we create an instance of the implementation\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);\n Cstr.isProxied = true;\n }\n const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);\n // ok, time to construct the instance\n // but let's keep track of when we start and stop\n // so that the getters/setters don't incorrectly step on data\n if (BUILD.member) {\n hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;\n }\n // construct the lazy-loaded component implementation\n // passing the hostRef is very important during\n // construction in order to directly wire together the\n // host element and the lazy-loaded instance\n try {\n new Cstr(hostRef);\n }\n catch (e) {\n consoleError(e);\n }\n if (BUILD.member) {\n hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;\n }\n if (BUILD.watchCallback) {\n hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;\n }\n endNewInstance();\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n else {\n // sync constructor component\n Cstr = elm.constructor;\n // wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,\n // watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_\n // Stencil has completed instantiating the component.\n customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */));\n }\n if (BUILD.style && Cstr.style) {\n // this component has styles but we haven't registered them yet\n let style = Cstr.style;\n if (BUILD.mode && typeof style !== 'string') {\n style = style[(hostRef.$modeName$ = computeMode(elm))];\n if (BUILD.hydrateServerSide && hostRef.$modeName$) {\n elm.setAttribute('s-mode', hostRef.$modeName$);\n }\n }\n const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);\n if (!styles.has(scopeId)) {\n const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);\n if (!BUILD.hydrateServerSide &&\n BUILD.shadowDom &&\n // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\n BUILD.shadowDomShim &&\n cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {\n style = await import('./shadow-css.js').then((m) => m.scopeCss(style, scopeId, false));\n }\n registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));\n endRegisterStyles();\n }\n }\n }\n // we've successfully created a lazy instance\n const ancestorComponent = hostRef.$ancestorComponent$;\n const schedule = () => scheduleUpdate(hostRef, true);\n if (BUILD.asyncLoading && ancestorComponent && ancestorComponent['s-rc']) {\n // this is the initial load and this component it has an ancestor component\n // but the ancestor component has NOT fired its will update lifecycle yet\n // so let's just cool our jets and wait for the ancestor to continue first\n // this will get fired off when the ancestor component\n // finally gets around to rendering its lazy self\n // fire off the initial update\n ancestorComponent['s-rc'].push(schedule);\n }\n else {\n schedule();\n }\n};\nconst fireConnectedCallback = (instance) => {\n if (BUILD.lazyLoad && BUILD.connectedCallback) {\n safeCall(instance, 'connectedCallback');\n }\n};\nconst connectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const cmpMeta = hostRef.$cmpMeta$;\n const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);\n if (BUILD.hostListenerTargetParent) {\n // only run if we have listeners being attached to a parent\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);\n }\n if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {\n // first time this component has connected\n hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;\n let hostId;\n if (BUILD.hydrateClientSide) {\n hostId = elm.getAttribute(HYDRATE_ID);\n if (hostId) {\n if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n const scopeId = BUILD.mode\n ? addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode'))\n : addStyle(elm.shadowRoot, cmpMeta);\n elm.classList.remove(scopeId + '-h', scopeId + '-s');\n }\n initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);\n }\n }\n if (BUILD.slotRelocation && !hostId) {\n // initUpdate\n // if the slot polyfill is required we'll need to put some nodes\n // in here to act as original content anchors as we move nodes around\n // host element has been connected to the DOM\n if (BUILD.hydrateServerSide ||\n ((BUILD.slot || BUILD.shadowDom) &&\n // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\n cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {\n setContentReference(elm);\n }\n }\n if (BUILD.asyncLoading) {\n // find the first ancestor component (if there is one) and register\n // this component as one of the actively loading child components for its ancestor\n let ancestorComponent = elm;\n while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {\n // climb up the ancestors looking for the first\n // component that hasn't finished its lifecycle update yet\n if ((BUILD.hydrateClientSide &&\n ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&\n ancestorComponent.hasAttribute('s-id') &&\n ancestorComponent['s-p']) ||\n ancestorComponent['s-p']) {\n // we found this components first ancestor component\n // keep a reference to this component's ancestor component\n attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));\n break;\n }\n }\n }\n // Lazy properties\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n if (BUILD.prop && !BUILD.hydrateServerSide && cmpMeta.$members$) {\n Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {\n if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {\n const value = elm[memberName];\n delete elm[memberName];\n elm[memberName] = value;\n }\n });\n }\n if (BUILD.initializeNextTick) {\n // connectedCallback, taskQueue, initialLoad\n // angular sets attribute AFTER connectCallback\n // https://github.com/angular/angular/issues/18909\n // https://github.com/angular/angular/issues/19940\n nextTick(() => initializeComponent(elm, hostRef, cmpMeta));\n }\n else {\n initializeComponent(elm, hostRef, cmpMeta);\n }\n }\n else {\n // not the first time this has connected\n // reattach any event listeners to the host\n // since they would have been removed when disconnected\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);\n // fire off connectedCallback() on component instance\n if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {\n hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));\n }\n }\n endConnected();\n }\n};\nconst setContentReference = (elm) => {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n const contentRefElm = (elm['s-cr'] = doc.createComment(BUILD.isDebug ? `content-ref (host=${elm.localName})` : ''));\n contentRefElm['s-cn'] = true;\n elm.insertBefore(contentRefElm, elm.firstChild);\n};\nconst disconnectInstance = (instance) => {\n if (BUILD.lazyLoad && BUILD.disconnectedCallback) {\n safeCall(instance, 'disconnectedCallback');\n }\n if (BUILD.cmpDidUnload) {\n safeCall(instance, 'componentDidUnload');\n }\n};\nconst disconnectedCallback = async (elm) => {\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n if (BUILD.hostListener) {\n if (hostRef.$rmListeners$) {\n hostRef.$rmListeners$.map((rmListener) => rmListener());\n hostRef.$rmListeners$ = undefined;\n }\n }\n if (!BUILD.lazyLoad) {\n disconnectInstance(elm);\n }\n else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {\n disconnectInstance(hostRef.$lazyInstance$);\n }\n else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {\n hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));\n }\n }\n};\nconst patchPseudoShadowDom = (hostElementPrototype, descriptorPrototype) => {\n patchCloneNode(hostElementPrototype);\n patchSlotAppendChild(hostElementPrototype);\n patchSlotAppend(hostElementPrototype);\n patchSlotPrepend(hostElementPrototype);\n patchSlotInsertAdjacentElement(hostElementPrototype);\n patchSlotInsertAdjacentHTML(hostElementPrototype);\n patchSlotInsertAdjacentText(hostElementPrototype);\n patchTextContent(hostElementPrototype);\n patchChildSlotNodes(hostElementPrototype, descriptorPrototype);\n patchSlotRemoveChild(hostElementPrototype);\n};\nconst patchCloneNode = (HostElementPrototype) => {\n const orgCloneNode = HostElementPrototype.cloneNode;\n HostElementPrototype.cloneNode = function (deep) {\n const srcNode = this;\n const isShadowDom = BUILD.shadowDom ? srcNode.shadowRoot && supportsShadow : false;\n const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);\n if (BUILD.slot && !isShadowDom && deep) {\n let i = 0;\n let slotted, nonStencilNode;\n const stencilPrivates = [\n 's-id',\n 's-cr',\n 's-lr',\n 's-rc',\n 's-sc',\n 's-p',\n 's-cn',\n 's-sr',\n 's-sn',\n 's-hn',\n 's-ol',\n 's-nr',\n 's-si',\n ];\n for (; i < srcNode.childNodes.length; i++) {\n slotted = srcNode.childNodes[i]['s-nr'];\n nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i][privateField]);\n if (slotted) {\n if (BUILD.appendChildSlotFix && clonedNode.__appendChild) {\n clonedNode.__appendChild(slotted.cloneNode(true));\n }\n else {\n clonedNode.appendChild(slotted.cloneNode(true));\n }\n }\n if (nonStencilNode) {\n clonedNode.appendChild(srcNode.childNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\n/**\n * Patches the `appendChild` method on a `scoped` Stencil component.\n * The patch will attempt to find a slot with the same name as the node being appended\n * and insert it into the slot reference if found. Otherwise, it falls-back to the original\n * `appendChild` method.\n *\n * @param HostElementPrototype The Stencil component to be patched\n */\nconst patchSlotAppendChild = (HostElementPrototype) => {\n HostElementPrototype.__appendChild = HostElementPrototype.appendChild;\n HostElementPrototype.appendChild = function (newChild) {\n const slotName = (newChild['s-sn'] = getSlotName(newChild));\n const slotNode = getHostSlotNode(this.childNodes, slotName);\n if (slotNode) {\n const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);\n const appendAfter = slotChildNodes[slotChildNodes.length - 1];\n appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);\n // Check if there is fallback content that should be hidden\n updateFallbackSlotVisibility(this);\n return;\n }\n return this.__appendChild(newChild);\n };\n};\n/**\n * Patches the `removeChild` method on a `scoped` Stencil component.\n * This patch attempts to remove the specified node from a slot reference\n * if the slot exists. Otherwise, it falls-back to the original `removeChild` method.\n *\n * @param ElementPrototype The Stencil component to be patched\n */\nconst patchSlotRemoveChild = (ElementPrototype) => {\n ElementPrototype.__removeChild = ElementPrototype.removeChild;\n ElementPrototype.removeChild = function (toRemove) {\n if (toRemove && typeof toRemove['s-sn'] !== 'undefined') {\n const slotNode = getHostSlotNode(this.childNodes, toRemove['s-sn']);\n if (slotNode) {\n // Get all slot content\n const slotChildNodes = getHostSlotChildNodes(slotNode, toRemove['s-sn']);\n // See if any of the slotted content matches the node to remove\n const existingNode = slotChildNodes.find((n) => n === toRemove);\n if (existingNode) {\n existingNode.remove();\n // Check if there is fallback content that should be displayed if that\n // was the last node in the slot\n updateFallbackSlotVisibility(this);\n return;\n }\n }\n }\n return this.__removeChild(toRemove);\n };\n};\n/**\n * Patches the `prepend` method for a slotted node inside a scoped component.\n *\n * @param HostElementPrototype the `Element` to be patched\n */\nconst patchSlotPrepend = (HostElementPrototype) => {\n const originalPrepend = HostElementPrototype.prepend;\n HostElementPrototype.prepend = function (...newChildren) {\n newChildren.forEach((newChild) => {\n if (typeof newChild === 'string') {\n newChild = this.ownerDocument.createTextNode(newChild);\n }\n const slotName = (newChild['s-sn'] = getSlotName(newChild));\n const slotNode = getHostSlotNode(this.childNodes, slotName);\n if (slotNode) {\n const slotPlaceholder = document.createTextNode('');\n slotPlaceholder['s-nr'] = newChild;\n slotNode['s-cr'].parentNode.__appendChild(slotPlaceholder);\n newChild['s-ol'] = slotPlaceholder;\n const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);\n const appendAfter = slotChildNodes[0];\n return appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);\n }\n if (newChild.nodeType === 1 && !!newChild.getAttribute('slot')) {\n newChild.hidden = true;\n }\n return originalPrepend.call(this, newChild);\n });\n };\n};\n/**\n * Patches the `append` method for a slotted node inside a scoped component. The patched method uses\n * `appendChild` under-the-hood while creating text nodes for any new children that passed as bare strings.\n *\n * @param HostElementPrototype the `Element` to be patched\n */\nconst patchSlotAppend = (HostElementPrototype) => {\n HostElementPrototype.append = function (...newChildren) {\n newChildren.forEach((newChild) => {\n if (typeof newChild === 'string') {\n newChild = this.ownerDocument.createTextNode(newChild);\n }\n this.appendChild(newChild);\n });\n };\n};\n/**\n * Patches the `insertAdjacentHTML` method for a slotted node inside a scoped component. Specifically,\n * we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the element\n * gets inserted into the DOM in the correct location.\n *\n * @param HostElementPrototype the `Element` to be patched\n */\nconst patchSlotInsertAdjacentHTML = (HostElementPrototype) => {\n const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;\n HostElementPrototype.insertAdjacentHTML = function (position, text) {\n if (position !== 'afterbegin' && position !== 'beforeend') {\n return originalInsertAdjacentHtml.call(this, position, text);\n }\n const container = this.ownerDocument.createElement('_');\n let node;\n container.innerHTML = text;\n if (position === 'afterbegin') {\n while ((node = container.firstChild)) {\n this.prepend(node);\n }\n }\n else if (position === 'beforeend') {\n while ((node = container.firstChild)) {\n this.append(node);\n }\n }\n };\n};\n/**\n * Patches the `insertAdjacentText` method for a slotted node inside a scoped component. Specifically,\n * we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the text node\n * gets inserted into the DOM in the correct location.\n *\n * @param HostElementPrototype the `Element` to be patched\n */\nconst patchSlotInsertAdjacentText = (HostElementPrototype) => {\n HostElementPrototype.insertAdjacentText = function (position, text) {\n this.insertAdjacentHTML(position, text);\n };\n};\n/**\n * Patches the `insertAdjacentElement` method for a slotted node inside a scoped component. Specifically,\n * we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the element\n * gets inserted into the DOM in the correct location.\n *\n * @param HostElementPrototype the `Element` to be patched\n */\nconst patchSlotInsertAdjacentElement = (HostElementPrototype) => {\n const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;\n HostElementPrototype.insertAdjacentElement = function (position, element) {\n if (position !== 'afterbegin' && position !== 'beforeend') {\n return originalInsertAdjacentElement.call(this, position, element);\n }\n if (position === 'afterbegin') {\n this.prepend(element);\n return element;\n }\n else if (position === 'beforeend') {\n this.append(element);\n return element;\n }\n return element;\n };\n};\n/**\n * Patches the text content of an unnamed slotted node inside a scoped component\n * @param hostElementPrototype the `Element` to be patched\n */\nconst patchTextContent = (hostElementPrototype) => {\n const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');\n Object.defineProperty(hostElementPrototype, '__textContent', descriptor);\n if (BUILD.experimentalSlotFixes) {\n // Patch `textContent` to mimic shadow root behavior\n Object.defineProperty(hostElementPrototype, 'textContent', {\n // To mimic shadow root behavior, we need to return the text content of all\n // nodes in a slot reference node\n get() {\n const slotRefNodes = getAllChildSlotNodes(this.childNodes);\n const textContent = slotRefNodes\n .map((node) => {\n var _a, _b;\n const text = [];\n // Need to get the text content of all nodes in the slot reference node\n let slotContent = node.nextSibling;\n while (slotContent && slotContent['s-sn'] === node['s-sn']) {\n if (slotContent.nodeType === 3 /* NODE_TYPES.TEXT_NODE */ || slotContent.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */) {\n text.push((_b = (_a = slotContent.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : '');\n }\n slotContent = slotContent.nextSibling;\n }\n return text.filter((ref) => ref !== '').join(' ');\n })\n .filter((text) => text !== '')\n .join(' ');\n // Pad the string to return\n return ' ' + textContent + ' ';\n },\n // To mimic shadow root behavior, we need to overwrite all nodes in a slot\n // reference node. If a default slot reference node exists, the text content will be\n // placed there. Otherwise, the new text node will be hidden\n set(value) {\n const slotRefNodes = getAllChildSlotNodes(this.childNodes);\n slotRefNodes.forEach((node) => {\n // Remove the existing content of the slot\n let slotContent = node.nextSibling;\n while (slotContent && slotContent['s-sn'] === node['s-sn']) {\n const tmp = slotContent;\n slotContent = slotContent.nextSibling;\n tmp.remove();\n }\n // If this is a default slot, add the text node in the slot location.\n // Otherwise, destroy the slot reference node\n if (node['s-sn'] === '') {\n const textNode = this.ownerDocument.createTextNode(value);\n textNode['s-sn'] = '';\n node.parentElement.insertBefore(textNode, node.nextSibling);\n }\n else {\n node.remove();\n }\n });\n },\n });\n }\n else {\n Object.defineProperty(hostElementPrototype, 'textContent', {\n get() {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ be found in the next sibling (text) node, depending on how\n // nodes were reordered during the vdom render. first try to get the text content from the sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {\n return slotNode.nextSibling.textContent;\n }\n else if (slotNode) {\n return slotNode.textContent;\n }\n else {\n // fallback to the original implementation\n return this.__textContent;\n }\n },\n set(value) {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ need to be placed in the next sibling (text) node,\n // depending on how nodes were reordered during the vdom render. first try to set the text content on the\n // sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {\n slotNode.nextSibling.textContent = value;\n }\n else if (slotNode) {\n slotNode.textContent = value;\n }\n else {\n // we couldn't find a slot, but that doesn't mean that there isn't one. if this check ran before the DOM\n // loaded, we could have missed it. check for a content reference element on the scoped component and insert\n // it there\n this.__textContent = value;\n const contentRefElm = this['s-cr'];\n if (contentRefElm) {\n this.insertBefore(contentRefElm, this.firstChild);\n }\n }\n },\n });\n }\n};\nconst patchChildSlotNodes = (elm, cmpMeta) => {\n class FakeNodeList extends Array {\n item(n) {\n return this[n];\n }\n }\n // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\n if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {\n const childNodesFn = elm.__lookupGetter__('childNodes');\n Object.defineProperty(elm, 'children', {\n get() {\n return this.childNodes.map((n) => n.nodeType === 1);\n },\n });\n Object.defineProperty(elm, 'childElementCount', {\n get() {\n return elm.children.length;\n },\n });\n Object.defineProperty(elm, 'childNodes', {\n get() {\n const childNodes = childNodesFn.call(this);\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0 &&\n getHostRef(this).$flags$ & 2 /* HOST_FLAGS.hasRendered */) {\n const result = new FakeNodeList();\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i]['s-nr'];\n if (slot) {\n result.push(slot);\n }\n }\n return result;\n }\n return FakeNodeList.from(childNodes);\n },\n });\n }\n};\n/**\n * Recursively finds all slot reference nodes ('s-sr') in a series of child nodes.\n *\n * @param childNodes The set of child nodes to search for slot reference nodes.\n * @returns An array of slot reference nodes.\n */\nconst getAllChildSlotNodes = (childNodes) => {\n const slotRefNodes = [];\n for (const childNode of Array.from(childNodes)) {\n if (childNode['s-sr']) {\n slotRefNodes.push(childNode);\n }\n slotRefNodes.push(...getAllChildSlotNodes(childNode.childNodes));\n }\n return slotRefNodes;\n};\nconst getSlotName = (node) => node['s-sn'] || (node.nodeType === 1 && node.getAttribute('slot')) || '';\n/**\n * Recursively searches a series of child nodes for a slot with the provided name.\n * @param childNodes the nodes to search for a slot with a specific name.\n * @param slotName the name of the slot to match on.\n * @returns a reference to the slot node that matches the provided name, `null` otherwise\n */\nconst getHostSlotNode = (childNodes, slotName) => {\n let i = 0;\n let childNode;\n for (; i < childNodes.length; i++) {\n childNode = childNodes[i];\n if (childNode['s-sr'] && childNode['s-sn'] === slotName) {\n return childNode;\n }\n childNode = getHostSlotNode(childNode.childNodes, slotName);\n if (childNode) {\n return childNode;\n }\n }\n return null;\n};\nconst getHostSlotChildNodes = (n, slotName) => {\n const childNodes = [n];\n while ((n = n.nextSibling) && n['s-sn'] === slotName) {\n childNodes.push(n);\n }\n return childNodes;\n};\nconst defineCustomElement = (Cstr, compactMeta) => {\n customElements.define(compactMeta[1], proxyCustomElement(Cstr, compactMeta));\n};\nconst proxyCustomElement = (Cstr, compactMeta) => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n };\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.$watchers$;\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\n cmpMeta.$flags$ |= 8 /* CMP_FLAGS.needsShadowDomShim */;\n }\n // TODO(STENCIL-914): this check and `else` block can go away and be replaced by just the `scoped` check\n if (BUILD.experimentalSlotFixes && BUILD.scoped && cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n patchPseudoShadowDom(Cstr.prototype, cmpMeta);\n }\n else {\n if (BUILD.slotChildNodesFix) {\n patchChildSlotNodes(Cstr.prototype, cmpMeta);\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNode(Cstr.prototype);\n }\n if (BUILD.appendChildSlotFix) {\n patchSlotAppendChild(Cstr.prototype);\n }\n if (BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n patchTextContent(Cstr.prototype);\n }\n }\n const originalConnectedCallback = Cstr.prototype.connectedCallback;\n const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;\n Object.assign(Cstr.prototype, {\n __registerHost() {\n registerHost(this, cmpMeta);\n },\n connectedCallback() {\n connectedCallback(this);\n if (BUILD.connectedCallback && originalConnectedCallback) {\n originalConnectedCallback.call(this);\n }\n },\n disconnectedCallback() {\n disconnectedCallback(this);\n if (BUILD.disconnectedCallback && originalDisconnectedCallback) {\n originalDisconnectedCallback.call(this);\n }\n },\n __attachShadow() {\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n this.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */),\n });\n }\n else {\n this.attachShadow({ mode: 'open' });\n }\n }\n else {\n this.shadowRoot = this;\n }\n },\n });\n Cstr.is = cmpMeta.$tagName$;\n return proxyComponent(Cstr, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */ | 2 /* PROXY_FLAGS.proxyState */);\n};\nconst forceModeUpdate = (elm) => {\n if (BUILD.style && BUILD.mode && !BUILD.lazyLoad) {\n const mode = computeMode(elm);\n const hostRef = getHostRef(elm);\n if (hostRef.$modeName$ !== mode) {\n const cmpMeta = hostRef.$cmpMeta$;\n const oldScopeId = elm['s-sc'];\n const scopeId = getScopeId(cmpMeta, mode);\n const style = elm.constructor.style[mode];\n const flags = cmpMeta.$flags$;\n if (style) {\n if (!styles.has(scopeId)) {\n registerStyle(scopeId, style, !!(flags & 1 /* CMP_FLAGS.shadowDomEncapsulation */));\n }\n hostRef.$modeName$ = mode;\n elm.classList.remove(oldScopeId + '-h', oldScopeId + '-s');\n attachStyles(hostRef);\n forceUpdate(elm);\n }\n }\n }\n};\n/**\n * Kick off hot-module-replacement for a component. In order to replace the\n * component in-place we:\n *\n * 1. get a reference to the {@link d.HostRef} for the element\n * 2. reset the element's runtime flags\n * 3. re-run the initialization logic for the element (via\n * {@link initializeComponent})\n *\n * @param hostElement the host element for the component which we want to start\n * doing HMR\n * @param cmpMeta runtime metadata for the component\n * @param hmrVersionId the current HMR version ID\n */\nconst hmrStart = (hostElement, cmpMeta, hmrVersionId) => {\n // ¯\\_(ツ)_/¯\n const hostRef = getHostRef(hostElement);\n // reset state flags to only have been connected\n hostRef.$flags$ = 1 /* HOST_FLAGS.hasConnected */;\n // TODO\n // detach any event listeners that may have been added\n // because we're not passing an exact event name it'll\n // remove all of this element's event, which is good\n // re-initialize the component\n initializeComponent(hostElement, hostRef, cmpMeta, hmrVersionId);\n};\nconst bootstrapLazy = (lazyBundles, options = {}) => {\n var _a;\n if (BUILD.profile && performance.mark) {\n performance.mark('st:app:start');\n }\n installDevTools();\n const endBootstrap = createTime('bootstrapLazy');\n const cmpTags = [];\n const exclude = options.exclude || [];\n const customElements = win.customElements;\n const head = doc.head;\n const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');\n const dataStyles = /*@__PURE__*/ doc.createElement('style');\n const deferredConnectedCallbacks = [];\n const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);\n let appLoadFallback;\n let isBootstrapping = true;\n let i = 0;\n Object.assign(plt, options);\n plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;\n if (BUILD.asyncQueue) {\n if (options.syncQueue) {\n plt.$flags$ |= 4 /* PLATFORM_FLAGS.queueSync */;\n }\n }\n if (BUILD.hydrateClientSide) {\n // If the app is already hydrated there is not point to disable the\n // async queue. This will improve the first input delay\n plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;\n }\n if (BUILD.hydrateClientSide && BUILD.shadowDom) {\n for (; i < styles.length; i++) {\n registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);\n }\n }\n let hasSlotRelocation = false;\n lazyBundles.map((lazyBundle) => {\n lazyBundle[1].map((compactMeta) => {\n var _a;\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n $members$: compactMeta[2],\n $listeners$: compactMeta[3],\n };\n // Check if we are using slots outside the shadow DOM in this component.\n // We'll use this information later to add styles for `slot-fb` elements\n if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {\n hasSlotRelocation = true;\n }\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = (_a = compactMeta[4]) !== null && _a !== void 0 ? _a : {};\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\n cmpMeta.$flags$ |= 8 /* CMP_FLAGS.needsShadowDomShim */;\n }\n const tagName = BUILD.transformTagName && options.transformTagName\n ? options.transformTagName(cmpMeta.$tagName$)\n : cmpMeta.$tagName$;\n const HostElement = class extends HTMLElement {\n // StencilLazyHost\n constructor(self) {\n // @ts-ignore\n super(self);\n self = this;\n registerHost(self, cmpMeta);\n if (BUILD.shadowDom && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n // this component is using shadow dom\n // and this browser supports shadow dom\n // add the read-only property \"shadowRoot\" to the host element\n // adding the shadow root build conditionals to minimize runtime\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n self.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */),\n });\n }\n else {\n self.attachShadow({ mode: 'open' });\n }\n }\n else if (!BUILD.hydrateServerSide && !('shadowRoot' in self)) {\n self.shadowRoot = self;\n }\n }\n }\n connectedCallback() {\n if (appLoadFallback) {\n clearTimeout(appLoadFallback);\n appLoadFallback = null;\n }\n if (isBootstrapping) {\n // connectedCallback will be processed once all components have been registered\n deferredConnectedCallbacks.push(this);\n }\n else {\n plt.jmp(() => connectedCallback(this));\n }\n }\n disconnectedCallback() {\n plt.jmp(() => disconnectedCallback(this));\n }\n componentOnReady() {\n return getHostRef(this).$onReadyPromise$;\n }\n };\n // TODO(STENCIL-914): this check and `else` block can go away and be replaced by just the `scoped` check\n if (BUILD.experimentalSlotFixes && BUILD.scoped && cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n patchPseudoShadowDom(HostElement.prototype, cmpMeta);\n }\n else {\n if (BUILD.slotChildNodesFix) {\n patchChildSlotNodes(HostElement.prototype, cmpMeta);\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNode(HostElement.prototype);\n }\n if (BUILD.appendChildSlotFix) {\n patchSlotAppendChild(HostElement.prototype);\n }\n if (BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n patchTextContent(HostElement.prototype);\n }\n }\n // if the component is formAssociated we need to set that on the host\n // element so that it will be ready for `attachInternals` to be called on\n // it later on\n if (BUILD.formAssociated && cmpMeta.$flags$ & 64 /* CMP_FLAGS.formAssociated */) {\n HostElement.formAssociated = true;\n }\n if (BUILD.hotModuleReplacement) {\n // if we're in an HMR dev build then we need to set up the callback\n // which will carry out the work of actually replacing the module for\n // this particular component\n HostElement.prototype['s-hmr'] = function (hmrVersionId) {\n hmrStart(this, cmpMeta, hmrVersionId);\n };\n }\n cmpMeta.$lazyBundleId$ = lazyBundle[0];\n if (!exclude.includes(tagName) && !customElements.get(tagName)) {\n cmpTags.push(tagName);\n customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));\n }\n });\n });\n // Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM\n if (hasSlotRelocation) {\n dataStyles.innerHTML += SLOT_FB_CSS;\n }\n // Add hydration styles\n if (BUILD.invisiblePrehydration && (BUILD.hydratedClass || BUILD.hydratedAttribute)) {\n dataStyles.innerHTML += cmpTags + HYDRATED_CSS;\n }\n // If we have styles, add them to the DOM\n if (dataStyles.innerHTML.length) {\n dataStyles.setAttribute('data-styles', '');\n // Apply CSP nonce to the style tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n dataStyles.setAttribute('nonce', nonce);\n }\n // Insert the styles into the document head\n // NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied\n head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);\n }\n // Process deferred connectedCallbacks now all components have been registered\n isBootstrapping = false;\n if (deferredConnectedCallbacks.length) {\n deferredConnectedCallbacks.map((host) => host.connectedCallback());\n }\n else {\n if (BUILD.profile) {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30, 'timeout')));\n }\n else {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));\n }\n }\n // Fallback appLoad event\n endBootstrap();\n};\nconst Fragment = (_, children) => children;\nconst addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {\n if (BUILD.hostListener && listeners) {\n // this is called immediately within the element's constructor\n // initialize our event listeners on the host element\n // we do this now so that we can listen to events that may\n // have fired even before the instance is ready\n if (BUILD.hostListenerTargetParent) {\n // this component may have event listeners that should be attached to the parent\n if (attachParentListeners) {\n // this is being ran from within the connectedCallback\n // which is important so that we know the host element actually has a parent element\n // filter out the listeners to only have the ones that ARE being attached to the parent\n listeners = listeners.filter(([flags]) => flags & 32 /* LISTENER_FLAGS.TargetParent */);\n }\n else {\n // this is being ran from within the component constructor\n // everything BUT the parent element listeners should be attached at this time\n // filter out the listeners that are NOT being attached to the parent\n listeners = listeners.filter(([flags]) => !(flags & 32 /* LISTENER_FLAGS.TargetParent */));\n }\n }\n listeners.map(([flags, name, method]) => {\n const target = BUILD.hostListenerTarget ? getHostListenerTarget(elm, flags) : elm;\n const handler = hostListenerProxy(hostRef, method);\n const opts = hostListenerOpts(flags);\n plt.ael(target, name, handler, opts);\n (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));\n });\n }\n};\nconst hostListenerProxy = (hostRef, methodName) => (ev) => {\n try {\n if (BUILD.lazyLoad) {\n if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {\n // instance is ready, let's call it's member method for this event\n hostRef.$lazyInstance$[methodName](ev);\n }\n else {\n (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);\n }\n }\n else {\n hostRef.$hostElement$[methodName](ev);\n }\n }\n catch (e) {\n consoleError(e);\n }\n};\nconst getHostListenerTarget = (elm, flags) => {\n if (BUILD.hostListenerTargetDocument && flags & 4 /* LISTENER_FLAGS.TargetDocument */)\n return doc;\n if (BUILD.hostListenerTargetWindow && flags & 8 /* LISTENER_FLAGS.TargetWindow */)\n return win;\n if (BUILD.hostListenerTargetBody && flags & 16 /* LISTENER_FLAGS.TargetBody */)\n return doc.body;\n if (BUILD.hostListenerTargetParent && flags & 32 /* LISTENER_FLAGS.TargetParent */)\n return elm.parentElement;\n return elm;\n};\n// prettier-ignore\nconst hostListenerOpts = (flags) => supportsListenerOptions\n ? ({\n passive: (flags & 1 /* LISTENER_FLAGS.Passive */) !== 0,\n capture: (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0,\n })\n : (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;\n/**\n * Assigns the given value to the nonce property on the runtime platform object.\n * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.\n * @param nonce The value to be assigned to the platform nonce property.\n * @returns void\n */\nconst setNonce = (nonce) => (plt.$nonce$ = nonce);\nconst setPlatformOptions = (opts) => Object.assign(plt, opts);\n/**\n * Updates the DOM generated on the server with annotations such as node attributes and\n * comment nodes to facilitate future client-side hydration. These annotations are used for things\n * like moving elements back to their original hosts if using Shadow DOM on the client, and for quickly\n * reconstructing the vNode representations of the DOM.\n *\n * @param doc The DOM generated by the server.\n * @param staticComponents Any components that should be considered static and do not need client-side hydration.\n */\nconst insertVdomAnnotations = (doc, staticComponents) => {\n if (doc != null) {\n const docData = {\n hostIds: 0,\n rootLevelIds: 0,\n staticComponents: new Set(staticComponents),\n };\n const orgLocationNodes = [];\n parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);\n orgLocationNodes.forEach((orgLocationNode) => {\n if (orgLocationNode != null) {\n const nodeRef = orgLocationNode['s-nr'];\n let hostId = nodeRef['s-host-id'];\n let nodeId = nodeRef['s-node-id'];\n let childId = `${hostId}.${nodeId}`;\n if (hostId == null) {\n hostId = 0;\n docData.rootLevelIds++;\n nodeId = docData.rootLevelIds;\n childId = `${hostId}.${nodeId}`;\n if (nodeRef.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);\n }\n else if (nodeRef.nodeType === 3 /* NODE_TYPE.TextNode */) {\n if (hostId === 0) {\n const textContent = nodeRef.nodeValue.trim();\n if (textContent === '') {\n // useless whitespace node at the document root\n orgLocationNode.remove();\n return;\n }\n }\n const commentBeforeTextNode = doc.createComment(childId);\n commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;\n nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);\n }\n }\n let orgLocationNodeId = `${ORG_LOCATION_ID}.${childId}`;\n const orgLocationParentNode = orgLocationNode.parentElement;\n if (orgLocationParentNode) {\n if (orgLocationParentNode['s-en'] === '') {\n // ending with a \".\" means that the parent element\n // of this node's original location is a SHADOW dom element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.`;\n }\n else if (orgLocationParentNode['s-en'] === 'c') {\n // ending with a \".c\" means that the parent element\n // of this node's original location is a SCOPED element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.c`;\n }\n }\n orgLocationNode.nodeValue = orgLocationNodeId;\n }\n });\n }\n};\n/**\n * Recursively parses a node generated by the server and its children to set host and child id\n * attributes read during client-side hydration. This function also tracks whether each node is\n * an original location reference node meaning that a node has been moved via slot relocation.\n *\n * @param doc The DOM generated by the server.\n * @param node The node to parse.\n * @param docData An object containing metadata about the document.\n * @param orgLocationNodes An array of nodes that have been moved via slot relocation.\n */\nconst parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {\n if (node == null) {\n return;\n }\n if (node['s-nr'] != null) {\n orgLocationNodes.push(node);\n }\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n node.childNodes.forEach((childNode) => {\n const hostRef = getHostRef(childNode);\n if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {\n const cmpData = {\n nodeIds: 0,\n };\n insertVNodeAnnotations(doc, childNode, hostRef.$vnode$, docData, cmpData);\n }\n parseVNodeAnnotations(doc, childNode, docData, orgLocationNodes);\n });\n }\n};\n/**\n * Insert attribute annotations on an element for its host ID and, potentially, its child ID.\n * Also makes calls to insert annotations on the element's children, keeping track of the depth of\n * the component tree.\n *\n * @param doc The DOM generated by the server.\n * @param hostElm The element to insert annotations for.\n * @param vnode The vNode representation of the element.\n * @param docData An object containing metadata about the document.\n * @param cmpData An object containing metadata about the component.\n */\nconst insertVNodeAnnotations = (doc, hostElm, vnode, docData, cmpData) => {\n if (vnode != null) {\n const hostId = ++docData.hostIds;\n hostElm.setAttribute(HYDRATE_ID, hostId);\n if (hostElm['s-cr'] != null) {\n hostElm['s-cr'].nodeValue = `${CONTENT_REF_ID}.${hostId}`;\n }\n if (vnode.$children$ != null) {\n const depth = 0;\n vnode.$children$.forEach((vnodeChild, index) => {\n insertChildVNodeAnnotations(doc, vnodeChild, cmpData, hostId, depth, index);\n });\n }\n // If this element does not already have a child ID and has a sibling comment node\n // representing a slot, we use the content of the comment to set the child ID attribute\n // on the host element.\n if (hostElm && vnode && vnode.$elm$ && !hostElm.hasAttribute(HYDRATE_CHILD_ID)) {\n const parent = hostElm.parentElement;\n if (parent && parent.childNodes) {\n const parentChildNodes = Array.from(parent.childNodes);\n const comment = parentChildNodes.find((node) => node.nodeType === 8 /* NODE_TYPE.CommentNode */ && node['s-sr']);\n if (comment) {\n const index = parentChildNodes.indexOf(hostElm) - 1;\n vnode.$elm$.setAttribute(HYDRATE_CHILD_ID, `${comment['s-host-id']}.${comment['s-node-id']}.0.${index}`);\n }\n }\n }\n }\n};\n/**\n * Recursively analyzes the type of a child vNode and inserts annotations on the vNodes's element based on its type.\n * Element nodes receive a child ID attribute, text nodes have a comment with the child ID inserted before them,\n * and comment nodes representing a slot have their node value set to a slot node ID containing the child ID.\n *\n * @param doc The DOM generated by the server.\n * @param vnodeChild The vNode to insert annotations for.\n * @param cmpData An object containing metadata about the component.\n * @param hostId The host ID of this element's parent.\n * @param depth How deep this element sits in the component tree relative to its parent.\n * @param index The index of this element in its parent's children array.\n */\nconst insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, index) => {\n const childElm = vnodeChild.$elm$;\n if (childElm == null) {\n return;\n }\n const nodeId = cmpData.nodeIds++;\n const childId = `${hostId}.${nodeId}.${depth}.${index}`;\n childElm['s-host-id'] = hostId;\n childElm['s-node-id'] = nodeId;\n if (childElm.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n childElm.setAttribute(HYDRATE_CHILD_ID, childId);\n }\n else if (childElm.nodeType === 3 /* NODE_TYPE.TextNode */) {\n const parentNode = childElm.parentNode;\n const nodeName = parentNode.nodeName;\n if (nodeName !== 'STYLE' && nodeName !== 'SCRIPT') {\n const textNodeId = `${TEXT_NODE_ID}.${childId}`;\n const commentBeforeTextNode = doc.createComment(textNodeId);\n parentNode.insertBefore(commentBeforeTextNode, childElm);\n }\n }\n else if (childElm.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n if (childElm['s-sr']) {\n const slotName = childElm['s-sn'] || '';\n const slotNodeId = `${SLOT_NODE_ID}.${childId}.${slotName}`;\n childElm.nodeValue = slotNodeId;\n }\n }\n if (vnodeChild.$children$ != null) {\n // Increment depth each time we recur deeper into the tree\n const childDepth = depth + 1;\n vnodeChild.$children$.forEach((vnode, index) => {\n insertChildVNodeAnnotations(doc, vnode, cmpData, hostId, childDepth, index);\n });\n }\n};\n/**\n * A WeakMap mapping runtime component references to their corresponding host reference\n * instances.\n */\nconst hostRefs = /*@__PURE__*/ new WeakMap();\n/**\n * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}\n *\n * @param ref the runtime ref of interest\n * @returns the Host reference (if found) or undefined\n */\nconst getHostRef = (ref) => hostRefs.get(ref);\n/**\n * Register a lazy instance with the {@link hostRefs} object so it's\n * corresponding {@link d.HostRef} can be retrieved later.\n *\n * @param lazyInstance the lazy instance of interest\n * @param hostRef that instances `HostRef` object\n * @returns a reference to the host ref WeakMap\n */\nconst registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);\n/**\n * Register a host element for a Stencil component, setting up various metadata\n * and callbacks based on {@link BUILD} flags as well as the component's runtime\n * metadata.\n *\n * @param hostElement the host element to register\n * @param cmpMeta runtime metadata for that component\n * @returns a reference to the host ref WeakMap\n */\nconst registerHost = (hostElement, cmpMeta) => {\n const hostRef = {\n $flags$: 0,\n $hostElement$: hostElement,\n $cmpMeta$: cmpMeta,\n $instanceValues$: new Map(),\n };\n if (BUILD.isDev) {\n hostRef.$renderCount$ = 0;\n }\n if (BUILD.method && BUILD.lazyLoad) {\n hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));\n }\n if (BUILD.asyncLoading) {\n hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));\n hostElement['s-p'] = [];\n hostElement['s-rc'] = [];\n }\n addHostEventListeners(hostElement, hostRef, cmpMeta.$listeners$, false);\n return hostRefs.set(hostElement, hostRef);\n};\nconst isMemberInElement = (elm, memberName) => memberName in elm;\nconst consoleError = (e, el) => (customError || console.error)(e, el);\nconst STENCIL_DEV_MODE = BUILD.isTesting\n ? ['STENCIL:'] // E2E testing\n : [\n '%cstencil',\n 'color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px',\n ];\nconst consoleDevError = (...m) => console.error(...STENCIL_DEV_MODE, ...m);\nconst consoleDevWarn = (...m) => console.warn(...STENCIL_DEV_MODE, ...m);\nconst consoleDevInfo = (...m) => console.info(...STENCIL_DEV_MODE, ...m);\nconst setErrorHandler = (handler) => (customError = handler);\nconst cmpModules = /*@__PURE__*/ new Map();\nconst loadModule = (cmpMeta, hostRef, hmrVersionId) => {\n // loadModuleImport\n const exportName = cmpMeta.$tagName$.replace(/-/g, '_');\n const bundleId = cmpMeta.$lazyBundleId$;\n if (BUILD.isDev && typeof bundleId !== 'string') {\n consoleDevError(`Trying to lazily load component <${cmpMeta.$tagName$}> with style mode \"${hostRef.$modeName$}\", but it does not exist.`);\n return undefined;\n }\n const module = !BUILD.hotModuleReplacement ? cmpModules.get(bundleId) : false;\n if (module) {\n return module[exportName];\n }\n /*!__STENCIL_STATIC_IMPORT_SWITCH__*/\n return import(\n /* @vite-ignore */\n /* webpackInclude: /\\.entry\\.js$/ */\n /* webpackExclude: /\\.system\\.entry\\.js$/ */\n /* webpackMode: \"lazy\" */\n `./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? '?s-hmr=' + hmrVersionId : ''}`).then((importedModule) => {\n if (!BUILD.hotModuleReplacement) {\n cmpModules.set(bundleId, importedModule);\n }\n return importedModule[exportName];\n }, consoleError);\n};\nconst styles = /*@__PURE__*/ new Map();\nconst modeResolutionChain = [];\nconst win = typeof window !== 'undefined' ? window : {};\nconst doc = win.document || { head: {} };\nconst H = (win.HTMLElement || class {\n});\nconst plt = {\n $flags$: 0,\n $resourcesUrl$: '',\n jmp: (h) => h(),\n raf: (h) => requestAnimationFrame(h),\n ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),\n rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),\n ce: (eventName, opts) => new CustomEvent(eventName, opts),\n};\nconst setPlatformHelpers = (helpers) => {\n Object.assign(plt, helpers);\n};\nconst supportsShadow = \n// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\nBUILD.shadowDomShim && BUILD.shadowDom\n ? /*@__PURE__*/ (() => (doc.head.attachShadow + '').indexOf('[native') > -1)()\n : true;\nconst supportsListenerOptions = /*@__PURE__*/ (() => {\n let supportsListenerOptions = false;\n try {\n doc.addEventListener('e', null, Object.defineProperty({}, 'passive', {\n get() {\n supportsListenerOptions = true;\n },\n }));\n }\n catch (e) { }\n return supportsListenerOptions;\n})();\nconst promiseResolve = (v) => Promise.resolve(v);\nconst supportsConstructableStylesheets = BUILD.constructableCSS\n ? /*@__PURE__*/ (() => {\n try {\n new CSSStyleSheet();\n return typeof new CSSStyleSheet().replaceSync === 'function';\n }\n catch (e) { }\n return false;\n })()\n : false;\nconst queueDomReads = [];\nconst queueDomWrites = [];\nconst queueDomWritesLow = [];\nconst queueTask = (queue, write) => (cb) => {\n queue.push(cb);\n if (!queuePending) {\n queuePending = true;\n if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {\n nextTick(flush);\n }\n else {\n plt.raf(flush);\n }\n }\n};\nconst consume = (queue) => {\n for (let i = 0; i < queue.length; i++) {\n try {\n queue[i](performance.now());\n }\n catch (e) {\n consoleError(e);\n }\n }\n queue.length = 0;\n};\nconst consumeTimeout = (queue, timeout) => {\n let i = 0;\n let ts = 0;\n while (i < queue.length && (ts = performance.now()) < timeout) {\n try {\n queue[i++](ts);\n }\n catch (e) {\n consoleError(e);\n }\n }\n if (i === queue.length) {\n queue.length = 0;\n }\n else if (i !== 0) {\n queue.splice(0, i);\n }\n};\nconst flush = () => {\n if (BUILD.asyncQueue) {\n queueCongestion++;\n }\n // always force a bunch of medium callbacks to run, but still have\n // a throttle on how many can run in a certain time\n // DOM READS!!!\n consume(queueDomReads);\n // DOM WRITES!!!\n if (BUILD.asyncQueue) {\n const timeout = (plt.$flags$ & 6 /* PLATFORM_FLAGS.queueMask */) === 2 /* PLATFORM_FLAGS.appLoaded */\n ? performance.now() + 14 * Math.ceil(queueCongestion * (1.0 / 10.0))\n : Infinity;\n consumeTimeout(queueDomWrites, timeout);\n consumeTimeout(queueDomWritesLow, timeout);\n if (queueDomWrites.length > 0) {\n queueDomWritesLow.push(...queueDomWrites);\n queueDomWrites.length = 0;\n }\n if ((queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n else {\n queueCongestion = 0;\n }\n }\n else {\n consume(queueDomWrites);\n if ((queuePending = queueDomReads.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n }\n};\nconst nextTick = (cb) => promiseResolve().then(cb);\nconst readTask = /*@__PURE__*/ queueTask(queueDomReads, false);\nconst writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);\nexport { BUILD, Env, NAMESPACE } from '@stencil/core/internal/app-data';\nexport { Build, Fragment, H, H as HTMLElement, Host, STENCIL_DEV_MODE, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, doc, forceModeUpdate, forceUpdate, getAssetPath, getElement, getHostRef, getMode, getRenderingRef, getValue, h, insertVdomAnnotations, isMemberInElement, loadModule, modeResolutionChain, nextTick, parsePropertyValue, plt, postUpdateComponent, promiseResolve, proxyComponent, proxyCustomElement, readTask, registerHost, registerInstance, renderVdom, setAssetPath, setErrorHandler, setMode, setNonce, setPlatformHelpers, setPlatformOptions, setValue, styles, supportsConstructableStylesheets, supportsListenerOptions, supportsShadow, win, writeTask };\n"],"mappings":"AAAO,MAAMA,EAAY,SAClB,MAAMC,EAAqB,CAAEC,YAAa,KAAMC,mBAAoB,MAAOC,aAAc,KAAMC,WAAY,MAAOC,aAAc,KAAMC,aAAc,MAAOC,WAAY,KAAMC,aAAc,KAAMC,aAAc,MAAOC,aAAc,KAAMC,gBAAiB,MAAOC,YAAa,KAAMC,cAAe,MAAOC,cAAe,MAAOC,kBAAmB,KAAMC,iBAAkB,KAAMC,eAAgB,KAAMC,SAAU,MAAOC,qBAAsB,KAAMC,QAAS,MAAOC,MAAO,KAAMC,sBAAuB,MAAOC,eAAgB,MAAOC,YAAa,KAAM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,EACzB,CACA,CACI4Q,EAAMzY,OAAS,CAAC,EAoBpB,MAAM2Y,GAAQ,KAOVC,GAAQN,IAqBH,CACDM,GAAQL,IACR,GAAKxb,EAAeub,GAActY,OAAS,EAAI,CAG3C5C,GAAIya,IAAIc,GACpB,CACA,GAEA,MAAMnI,GAAYzO,GAAOqW,KAAiB7I,KAAKxN,GAE/C,MAAM4M,GAA0B6J,GAAUD,GAAgB,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-21c59b99.entry.js.map b/1704966176737/dist/build/p-21c59b99.entry.js.map deleted file mode 100644 index d701b7d09f..0000000000 --- a/1704966176737/dist/build/p-21c59b99.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTypoCss","LdTypo","this","getDefaultTag","_a","h1","h2","h3","h4","h5","h6","b1","b2","b3","b4","b5","b6","xb1","xb2","xb3","xh1","xh2","xh3","xh4","xh5","xh6","variant","applyAriaLabel","isUppercase","includes","root","setAttribute","ariaLabel","el","innerHTML","trim","componentWillLoad","attributesObserver","cloneAttributes","call","componentDidRender","disconnectedCallback","disconnect","render","HTag","tag","h","Object","assign","clonedAttributes","class","part","ref"],"sources":["../src/liquid/components/ld-typo/ld-typo.css?tag=ld-typo&encapsulation=shadow","../src/liquid/components/ld-typo/ld-typo.tsx"],"sourcesContent":[":host {\n display: block;\n line-height: 0;\n\n &([variant^='xb']),\n &([variant='b1']),\n &([variant='b2']),\n &([variant='b3']),\n &([variant='b4']),\n &([variant='b5']),\n &([variant='b6']) {\n color: var(--ld-typo-text-brand-color);\n }\n\n /* Reset within the shadow DOM */\n .ld-typo {\n color: inherit;\n margin: 0;\n }\n}\n\n:host,\n.ld-typo {\n --ld-typo-text-brand-color: var(--ld-thm-primary);\n}\n\n/* Reset for CSS component */\n:where(.ld-typo) {\n margin: 0;\n}\n\n.ld-typo,\n.ld-typo--body-m {\n font: var(--ld-typo-body-m);\n}\n.ld-typo--body-l {\n font: var(--ld-typo-body-l);\n}\n.ld-typo--body-s {\n font: var(--ld-typo-body-s);\n}\n.ld-typo--body-xl {\n font: var(--ld-typo-body-xl);\n}\n.ld-typo--body-xs {\n font: var(--ld-typo-body-xs);\n}\n\n.ld-typo--cap-l {\n font: var(--ld-typo-cap-l);\n letter-spacing: 0.15em;\n text-transform: uppercase;\n}\n.ld-typo--cap-m {\n font: var(--ld-typo-cap-m);\n letter-spacing: 0.1em;\n text-transform: uppercase;\n}\n\n.ld-typo--label-m {\n font: var(--ld-typo-label-m);\n}\n.ld-typo--label-s {\n font: var(--ld-typo-label-s);\n}\n\n.ld-typo--h1 {\n font: var(--ld-typo-h1);\n}\n.ld-typo--h2 {\n font: var(--ld-typo-h2);\n}\n.ld-typo--h3 {\n font: var(--ld-typo-h3);\n}\n.ld-typo--h4 {\n font: var(--ld-typo-h4);\n}\n.ld-typo--h5 {\n font: var(--ld-typo-h5);\n}\n.ld-typo--h6 {\n font: var(--ld-typo-h6);\n}\n\n.ld-typo--b1 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-b1);\n text-transform: uppercase;\n}\n.ld-typo--b2 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-b2);\n text-transform: uppercase;\n}\n.ld-typo--b3 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-b3);\n text-transform: uppercase;\n}\n.ld-typo--b4 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-b4);\n text-transform: uppercase;\n}\n.ld-typo--b5 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-b5);\n text-transform: uppercase;\n}\n.ld-typo--b6 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-b6);\n text-transform: uppercase;\n}\n\n.ld-typo--xb1 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-xb1);\n text-transform: uppercase;\n}\n.ld-typo--xb2 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-xb2);\n text-transform: uppercase;\n}\n.ld-typo--xb3 {\n color: var(--ld-typo-text-brand-color);\n font: var(--ld-typo-xb3);\n text-transform: uppercase;\n}\n\n.ld-typo--xh1 {\n font: var(--ld-typo-xh1);\n}\n.ld-typo--xh2 {\n font: var(--ld-typo-xh2);\n}\n.ld-typo--xh3 {\n font: var(--ld-typo-xh3);\n}\n.ld-typo--xh4 {\n font: var(--ld-typo-xh4);\n}\n.ld-typo--xh5 {\n font: var(--ld-typo-xh5);\n}\n.ld-typo--xh6 {\n font: var(--ld-typo-xh6);\n}\n","import { Component, Element, h, Prop, State } from '@stencil/core'\nimport { cloneAttributes } from '../../utils/cloneAttributes'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part tag - Actual tag\n */\n@Component({\n tag: 'ld-typo',\n styleUrl: 'ld-typo.css',\n shadow: true,\n})\nexport class LdTypo implements ClonesAttributes {\n @Element() el: HTMLElement\n\n private attributesObserver: MutationObserver\n\n private root: HTMLElement\n\n /** The rendered HTML tag. Overrides tag inferred from the variant. */\n @Prop() tag?: string\n\n /** The font style. Every variant has a default tag that it renders with. */\n @Prop({ mutable: true }) variant?:\n | 'body-xs'\n | 'body-s'\n | 'body-m'\n | 'body-l'\n | 'body-xl'\n | 'cap-m'\n | 'cap-l'\n | 'label-s'\n | 'label-m'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'b1'\n | 'b2'\n | 'b3'\n | 'b4'\n | 'b5'\n | 'b6'\n | 'xb1'\n | 'xb2'\n | 'xb3'\n | 'xh1'\n | 'xh2'\n | 'xh3'\n | 'xh4'\n | 'xh5'\n | 'xh6' = 'body-m'\n\n /**\n * Since b* and xb* variants are uppercase, screen readers need to be served a\n * (non-uppercase) aria-label (otherwise they will read out the heading letter by letter).\n * If you're using a b* or xb* variant, an aria-label will be\n * set automatically on the element. The component will use the inner HTML for the\n * label implicitly. If you want to set an aria-label explicitly (such as when you have\n * inner HTML that should not be part of the label), you can use this property.\n */\n @Prop() ariaLabel: string\n\n @State() clonedAttributes\n\n private applyAriaLabel() {\n const isUppercase = [\n 'cap-m',\n 'cap-l',\n 'b1',\n 'b2',\n 'b3',\n 'b4',\n 'b5',\n 'b6',\n 'xb1',\n 'xb2',\n 'xb3',\n ].includes(this.variant)\n\n if (isUppercase) {\n this.root.setAttribute(\n 'aria-label',\n this.ariaLabel || this.el.innerHTML.trim()\n )\n }\n }\n\n private getDefaultTag = () =>\n ({\n 'cap-m': 'span',\n 'cap-l': 'span',\n 'label-s': 'span',\n 'label-m': 'span',\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n b1: 'h1',\n b2: 'h2',\n b3: 'h3',\n b4: 'h4',\n b5: 'h5',\n b6: 'h6',\n xb1: 'h1',\n xb2: 'h2',\n xb3: 'h3',\n xh1: 'h1',\n xh2: 'h2',\n xh3: 'h3',\n xh4: 'h4',\n xh5: 'h5',\n xh6: 'h6',\n })[this.variant] ?? 'p'\n\n componentWillLoad() {\n this.attributesObserver = cloneAttributes.call(this, ['tag', 'variant'])\n }\n\n componentDidRender() {\n this.applyAriaLabel()\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n const HTag = this.tag || this.getDefaultTag()\n\n return (\n (this.root = ref)}\n >\n \n \n )\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAY,u/D,MCaLC,EAAM,M,yBA8ETC,KAAAC,cAAgB,K,MACtB,OAAAC,EAAA,CACE,QAAS,OACT,QAAS,OACT,UAAW,OACX,UAAW,OACXC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,IAAK,KACLC,IAAK,KACLC,IAAK,KACLC,IAAK,KACLC,IAAK,KACLC,IAAK,KACLC,IAAK,KACLC,IAAK,KACLC,IAAK,MACJvB,KAAKwB,YAAQ,MAAAtB,SAAA,EAAAA,EAAI,GAAG,E,gCAhEb,S,yDAcJ,cAAAuB,GACN,MAAMC,EAAc,CAClB,QACA,QACA,KACA,KACA,KACA,KACA,KACA,KACA,MACA,MACA,OACAC,SAAS3B,KAAKwB,SAEhB,GAAIE,EAAa,CACf1B,KAAK4B,KAAKC,aACR,aACA7B,KAAK8B,WAAa9B,KAAK+B,GAAGC,UAAUC,O,EAkC1C,iBAAAC,GACElC,KAAKmC,mBAAqBC,EAAgBC,KAAKrC,KAAM,CAAC,MAAO,W,CAG/D,kBAAAsC,GACEtC,KAAKyB,gB,CAGP,oBAAAc,GAEE,GAAIvC,KAAKmC,mBAAoBnC,KAAKmC,mBAAmBK,Y,CAGvD,MAAAC,GACE,MAAMC,EAAO1C,KAAK2C,KAAO3C,KAAKC,gBAE9B,OACE2C,EAACF,EAAIG,OAAAC,OAAA,GACC9C,KAAK+C,iBAAgB,CACzBC,MAAO,oBAAoBhD,KAAKwB,UAChCyB,KAAK,MACLC,IAAMA,GAAsBlD,KAAK4B,KAAOsB,IAExCN,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-236dbb56.entry.js b/1704966176737/dist/build/p-236dbb56.entry.js deleted file mode 100644 index 7cc3edbac2..0000000000 --- a/1704966176737/dist/build/p-236dbb56.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as e,h as l,H as t,g as i,c as s}from"./p-21a69c18.js";import{T as d}from"./p-2f695d4a.js";import{g as a}from"./p-1133c92e.js";import{r}from"./p-8dc70a87.js";import{c as n}from"./p-6e5841ef.js";import{T as o}from"./p-6f9b9619.js";import{i as c}from"./p-b05f0e4e.js";import{s as h}from"./p-c2112f1e.js";import"./p-112455b1.js";const b="";const p=class{constructor(l){e(this,l);this.value=undefined;this.selected=undefined;this.disabled=undefined;this.filtered=false}componentWillLoad(){if(this.selected){this.el.setAttribute("selected","")}}render(){return l(t,null,l("slot",null))}get el(){return i(this)}};p.style=b;const v=e=>["LD-OPTION","LD-OPTION-INTERNAL"].includes(e===null||e===void 0?void 0:e.tagName);const f=e=>["LD-OPTGROUP","LD-OPTGROUP-INTERNAL"].includes(e===null||e===void 0?void 0:e.tagName);const w=e=>["LD-OPTION-INTERNAL"].includes(e===null||e===void 0?void 0:e.tagName);const _=e=>["LD-OPTGROUP-INTERNAL"].includes(e===null||e===void 0?void 0:e.tagName);const u=e=>e.hidden||e.filtered;const g=':host{display:inline-flex}:host .ld-select{flex-grow:1;max-width:100%}.ld-select *,.ld-select :after,.ld-select :before,:host *,:host :after,:host :before{box-sizing:border-box}.ld-select ul,:host ul{list-style:none}.ld-select{--ld-select-min-width:12.8125rem;--ld-select-min-height:var(--ld-sp-40);--ld-select-min-height-sm:var(--ld-sp-32);--ld-select-min-height-lg:3.125rem;--ld-select-padding-x:var(--ld-sp-12);--ld-select-padding-x-sm:0.625rem;--ld-select-padding-x-lg:0.875rem;--ld-select-padding-y:var(--ld-sp-8);--ld-select-padding-y-sm:var(--ld-sp-4);--ld-select-padding-y-lg:var(--ld-sp-8);--ld-select-padding-right:calc(var(--ld-sp-40) + var(--ld-sp-12));--ld-select-padding-right-sm:calc(var(--ld-sp-40) + 0.625rem);--ld-select-padding-right-lg:calc(var(--ld-sp-40) + 0.875rem);--ld-select-icon-size:1.25rem;--ld-select-icon-size-sm:var(--ld-sp-16);--ld-select-icon-size-lg:var(--ld-sp-24);--ld-select-trigger-line-height:1.25}.ld-select--sm{--ld-select-min-height:var(--ld-select-min-height-sm);--ld-select-padding-x:var(--ld-select-padding-x-sm);--ld-select-padding-y:var(--ld-select-padding-y-sm);--ld-select-padding-right:var(--ld-select-padding-right-sm);--ld-select-icon-size:var(--ld-select-icon-size-sm)}.ld-select--lg{--ld-select-min-height:var(--ld-select-min-height-lg);--ld-select-padding-x:var(--ld-select-padding-x-lg);--ld-select-padding-y:var(--ld-select-padding-y-lg);--ld-select-padding-right:var(--ld-select-padding-right-lg);--ld-select-icon-size:var(--ld-select-icon-size-lg)}.ld-select{--ld-select-col:var(--ld-col-neutral-900);--ld-select-col-disabled:var(--ld-col-neutral-100);--ld-select-col-border:var(--ld-col-neutral-100);--ld-select-col-border-hover:var(--ld-col-neutral-300);--ld-select-bg-col:var(--ld-col-wht);--ld-select-selection-col:var(--ld-col-wht);--ld-select-invalid-col:var(--ld-thm-error);--ld-select-invalid-icon-col-hover:var(--ld-thm-error-hover);--ld-select-invalid-icon-col-focus:var(--ld-thm-error-focus);--ld-select-invalid-icon-col-active:var(--ld-thm-error-active);--ld-select-invalid-disabled-bg-col:var(--ld-thm-error-disabled);--ld-select-thm-col:var(--ld-thm-primary);--ld-select-thm-col-hover:var(--ld-thm-primary-hover);--ld-select-thm-col-focus:var(--ld-thm-primary-focus);--ld-select-thm-col-active:var(--ld-thm-primary-active);--ld-select-ghost-trigger-bg-col-hover:var(--ld-thm-primary-alpha-lowest);--ld-select-ghost-trigger-bg-col-focus:var(--ld-thm-primary-alpha-low);display:inline-flex;position:relative}.ld-select ::slotted(ld-icon),.ld-select select+.ld-icon{height:var(--ld-select-icon-size);width:var(--ld-select-icon-size)}.ld-select ::slotted(ld-icon){display:contents!important}.ld-select select+.ld-icon,.ld-select select+.ld-select__icon{position:absolute;right:var(--ld-select-padding-x);top:50%;transform:translateY(-50%)}.ld-select select[multiple]+.ld-icon,.ld-select select[multiple]+.ld-select__icon{display:none}.ld-select select+.ld-icon{height:var(--ld-select-icon-size);width:var(--ld-select-icon-size)}.ld-select>select[multiple]{overflow:auto}@media screen and (max-width:767px) and (-webkit-min-device-pixel-ratio:0){.ld-select>select[multiple]{padding-right:calc(var(--ld-select-padding-x) + var(--ld-sp-24))}.ld-select>select[multiple]+.ld-icon,.ld-select>select[multiple]+.ld-select__icon{display:flex}}.ld-select--expanded .ld-tether-target-attached-bottom .ld-select__btn-trigger:not(.ld-select__btn-trigger--detached){border-bottom-left-radius:0;border-bottom-right-radius:0}:where(.ld-select:not(.ld-select--inline):not(.ld-select--ghost)){min-width:var(--ld-select-min-width)}.ld-select__btn-trigger,.ld-select__select{width:100%}.ld-select>select,.ld-select__btn-trigger{align-items:center;-webkit-appearance:none;appearance:none;background-color:var(--ld-select-bg-col);border:0;border-radius:var(--ld-br-m);color:var(--ld-select-col);display:flex;font:var(--ld-typo-body-m);height:100%;justify-content:flex-end;line-height:var(--ld-select-trigger-line-height);padding:var(--ld-select-padding-y) var(--ld-select-padding-x);position:relative;text-align:left;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.ld-select>select:where(select),.ld-select__btn-trigger:where(select){width:100%}.ld-select>select:where(select:not([multiple])),.ld-select__btn-trigger:where(select:not([multiple])){padding-right:calc(var(--ld-select-padding-x) + var(--ld-sp-24))}.ld-select>select:where(.ld-select__btn-trigger:not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))),.ld-select>select:where(select:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))),.ld-select__btn-trigger:where(.ld-select__btn-trigger:not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))),.ld-select__btn-trigger:where(select:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))){cursor:pointer}.ld-select>select:where([aria-expanded=true]),.ld-select__btn-trigger:where([aria-expanded=true]){z-index:2}.ld-select>select:where([aria-expanded=true]):not(:focus:focus-visible):not(.ld-select__btn-trigger--detached),.ld-select__btn-trigger:where([aria-expanded=true]):not(:focus:focus-visible):not(.ld-select__btn-trigger--detached){box-shadow:none}.ld-select>select:disabled,.ld-select>select:disabled+.ld-icon,.ld-select>select:disabled+.ld-select__icon,.ld-select>select:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))),.ld-select>select:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))+.ld-icon,.ld-select>select:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))+.ld-select__icon,.ld-select__btn-trigger:disabled,.ld-select__btn-trigger:disabled+.ld-icon,.ld-select__btn-trigger:disabled+.ld-select__icon,.ld-select__btn-trigger:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))),.ld-select__btn-trigger:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))+.ld-icon,.ld-select__btn-trigger:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))+.ld-select__icon{color:var(--ld-select-col-disabled)}.ld-select__btn-trigger{overflow:hidden}:where(.ld-select),:where(.ld-select)>select{min-height:var(--ld-select-min-height)}.ld-select--ghost .ld-select__btn-trigger,.ld-select--ghost select,.ld-select--ghost:not(ld-select){background-color:initial}.ld-select--ghost .ld-select__btn-trigger:not(:focus),.ld-select--ghost select:not(:focus){box-shadow:none}.ld-select:where(:not(.ld-select--ghost)):where(.ld-select--detached) :where(.ld-select__btn-trigger),.ld-select:where(:not(.ld-select--ghost)):where(.ld-select--detached) :where(select),.ld-select:where(:not(.ld-select--ghost)):where(:not(.ld-select--detached):not(.ld-select--expanded)) :where(.ld-select__btn-trigger),.ld-select:where(:not(.ld-select--ghost)):where(:not(.ld-select--detached):not(.ld-select--expanded)) :where(select){box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-col-border)}@media (hover:hover){.ld-select:where(:not(.ld-select--ghost)):where(:not(.ld-select--invalid)) .ld-select__btn-trigger:where(.ld-select__btn-trigger--detached:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover:not(:focus:focus-visible),.ld-select:where(:not(.ld-select--ghost)):where(:not(.ld-select--invalid)) .ld-select__btn-trigger:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not(.ld-select__btn-trigger--detached):not([aria-expanded=true])):hover:not(:focus:focus-visible),.ld-select:where(:not(.ld-select--ghost)):where(:not(.ld-select--invalid)) select:where(.ld-select__btn-trigger--detached:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover:not(:focus:focus-visible),.ld-select:where(:not(.ld-select--ghost)):where(:not(.ld-select--invalid)) select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not(.ld-select__btn-trigger--detached):not([aria-expanded=true])):hover:not(:focus:focus-visible){box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-col-border-hover)}}.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled)):where(:focus:focus-visible),.ld-select--invalid>select:where(:not(:disabled)):where(:focus:focus-visible){box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-invalid-col)}.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:not(:focus:focus-visible)),.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:not(:focus:focus-visible)){background-color:var(--ld-select-invalid-disabled-bg-col);color:var(--ld-select-invalid-col)}.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:not(.ld-select__btn-trigger--ghost)),.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:not(.ld-select__btn-trigger--ghost)){box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-invalid-col)}.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))))+.ld-icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))))+.ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))))+.ld-icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))))+.ld-select__icon{color:var(--ld-select-invalid-col)}@media (hover:hover){.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover{box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-invalid-col)}.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover .ld-select__icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover ::slotted(ld-icon),.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover+.ld-icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover+.ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover .ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover ::slotted(ld-icon),.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover+.ld-icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):hover+.ld-select__icon{color:var(--ld-select-invalid-icon-col-hover)}}.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible) .ld-select__icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible) ::slotted(ld-icon),.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible)+.ld-icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible)+.ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible) .ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible) ::slotted(ld-icon),.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible)+.ld-icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:focus:focus-visible)+.ld-select__icon{color:var(--ld-select-invalid-icon-col-focus)}.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active) .ld-select__icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active) ::slotted(ld-icon),.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active)+.ld-icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active)+.ld-select__icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible) .ld-select__icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible) ::slotted(ld-icon),.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible)+.ld-icon,.ld-select--invalid .ld-select__btn-trigger--invalid:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible)+.ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active) .ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active) ::slotted(ld-icon),.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active)+.ld-icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active)+.ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible) .ld-select__icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible) ::slotted(ld-icon),.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible)+.ld-icon,.ld-select--invalid>select:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):where(:active:focus-visible)+.ld-select__icon{color:var(--ld-select-invalid-icon-col-active)}.ld-select__btn-trigger-text-wrapper,.ld-select__selection-list{flex-grow:1}.ld-select__btn-trigger-text-wrapper{align-items:center;display:flex;font:var(--ld-typo-label-m);height:calc(100% + var(--ld-sp-12));line-height:var(--ld-select-trigger-line-height);margin:calc(-1 * var(--ld-sp-6)) 0;overflow:hidden;padding:var(--ld-sp-6) var(--ld-sp-8) var(--ld-sp-6) 0}.ld-select>select,.ld-select__btn-trigger-text,.ld-select__selection-label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ld-select__selection-list-container{display:flex;flex-direction:column-reverse;gap:var(--ld-sp-6);margin-right:auto}.ld-select__selection-list{display:flex;flex-wrap:wrap;margin:calc(-1 * var(--ld-sp-1)) var(--ld-sp-4) calc(-1 * var(--ld-sp-4)) 0;overflow:hidden;padding:0}.ld-select__selection-list-item{flex:0 1;margin-bottom:var(--ld-sp-4);margin-right:var(--ld-sp-4);width:100%}.ld-select__selection-list-item--overflowing{display:none}.ld-select__selection-list-more{align-items:center;border-radius:var(--ld-br-m);display:inline-flex;font:var(--ld-typo-label-s);font-weight:700;margin-bottom:var(--ld-sp-4);margin-right:var(--ld-sp-4);order:2147483647;padding:var(--ld-sp-4) var(--ld-sp-6)}.ld-select__btn-clear,.ld-select__btn-clear-single{background-color:initial;border:0;border-radius:var(--ld-br-full);line-height:0;padding:0;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.ld-select__btn-clear-single:not(:disabled),.ld-select__btn-clear:not(:disabled){cursor:pointer}.ld-select__btn-clear{flex-shrink:0;margin-right:var(--ld-sp-6)}.ld-select__btn-clear:disabled{color:var(--ld-select-col-disabled)}.ld-select__btn-clear-single{margin-left:var(--ld-sp-6);z-index:1}.ld-select__selection-label{align-items:center;color:var(--ld-select-selection-col);display:inline-flex;font:var(--ld-typo-label-s);font-weight:700;padding:var(--ld-sp-4) var(--ld-sp-6);position:relative;width:100%}.ld-select__selection-label-bg{border-radius:var(--ld-br-m);inset:0;position:absolute}:where(.ld-select__btn-trigger[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))) .ld-select__selection-label-bg{background-color:var(--ld-select-col-disabled)}.ld-select__selection-label-text{z-index:1}.ld-select__btn-clear-single-icon{--ld-select-btn-clear-single-size:0.75rem;height:var(--ld-select-btn-clear-single-size);width:var(--ld-select-btn-clear-single-size)}.ld-select__btn-clear-icon{--ld-select-btn-clear-size:1.25rem;height:var(--ld-select-btn-clear-size);width:var(--ld-select-btn-clear-size)}.ld-select__icon{fill:none;height:var(--ld-sp-16);width:var(--ld-sp-16)}.ld-select ::slotted(ld-icon),.ld-select select+.ld-icon,.ld-select__icon{align-items:center;display:flex;flex-shrink:0;justify-content:center;pointer-events:none}:where(.ld-select__btn-trigger[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))) .ld-select ::slotted(ld-icon),:where(.ld-select__btn-trigger[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))) .ld-select select+.ld-icon,:where(.ld-select__btn-trigger[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))) .ld-select__icon,:where(select:disabled) .ld-select ::slotted(ld-icon),:where(select:disabled) .ld-select select+.ld-icon,:where(select:disabled) .ld-select__icon,:where(select[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))) .ld-select ::slotted(ld-icon),:where(select[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))) .ld-select select+.ld-icon,:where(select[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))) .ld-select__icon{color:var(--ld-select-col-disabled)}.ld-select ::slotted(ld-icon) .ld-icon,.ld-select ::slotted(ld-icon) svg,.ld-select select+.ld-icon .ld-icon,.ld-select select+.ld-icon svg,.ld-select__icon .ld-icon,.ld-select__icon svg{height:100%;width:100%}.ld-select__icon--rotated{transform:rotate(180deg);transform-origin:center}.ld-select__slot-container{display:none}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) .ld-select__btn-trigger:where(:focus:focus-visible){box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-thm-col)}@media (hover:hover){:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)).ld-select--ghost :where(.ld-select__btn-trigger):hover:not(:focus),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)).ld-select--ghost :where(select:not(:disabled)):hover:not(:focus){background-color:var(--ld-select-ghost-trigger-bg-col-hover)}}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)).ld-select--ghost :where(.ld-select__btn-trigger):active,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)).ld-select--ghost :where(.ld-select__btn-trigger):active:focus-visible,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)).ld-select--ghost :where(select:not(:disabled)):active,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)).ld-select--ghost :where(select:not(:disabled)):active:focus-visible{background-color:var(--ld-select-ghost-trigger-bg-col-focus)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger)+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger)+.ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled))+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled))+.ld-select__icon{color:var(--ld-select-thm-col)}@media (hover:hover){:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:hover) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:hover) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:hover)+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:hover)+.ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:hover) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:hover) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:hover)+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:hover)+.ld-select__icon{color:var(--ld-select-thm-col-hover)}}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:focus:focus-visible),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:focus:focus-visible){box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-thm-col)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:focus:focus-visible) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:focus:focus-visible) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:focus:focus-visible)+.ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:focus:focus-visible) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:focus:focus-visible) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:focus:focus-visible)+.ld-select__icon{color:var(--ld-select-thm-col-focus)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active)+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active)+.ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active:focus-visible) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active:focus-visible) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active:focus-visible)+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(.ld-select__btn-trigger):where(:active:focus-visible)+.ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active)+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active)+.ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active:focus-visible) .ld-select__icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active:focus-visible) ::slotted(ld-icon),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active:focus-visible)+.ld-icon,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not(.ld-select--invalid)) :where(select:not(:disabled)):where(:active:focus-visible)+.ld-select__icon{color:var(--ld-select-thm-col-active)}:where(.ld-select:not(.ld-select--disabled)):not(.ld-select--invalid) :where(.ld-select__btn-trigger):where(:focus:focus-visible),:where(.ld-select:not(.ld-select--disabled)):not(.ld-select--invalid) :where(select:not(:disabled)):where(:focus:focus-visible){box-shadow:inset 0 0 0 var(--ld-sp-2) var(--ld-select-thm-col)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__selection-list-more{color:var(--ld-select-thm-col)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__selection-label-bg{background-color:var(--ld-select-thm-col)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear-single:where(:focus:focus-visible)+.ld-select__selection-label-bg{background-color:var(--ld-select-thm-col-focus)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear-single:where(:active)+.ld-select__selection-label-bg,:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear-single:where(:active:focus-visible)+.ld-select__selection-label-bg{background-color:var(--ld-select-thm-col-active)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear{color:var(--ld-select-thm-col)}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear:where(:focus:focus-visible){color:var(--ld-select-thm-col-focus)}@media (hover:hover){:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear:where(:hover){color:var(--ld-select-thm-col-hover)}}:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear:where(:active),:where(.ld-select:not(.ld-select--disabled):not([aria-disabled]):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))) .ld-select__btn-clear:where(:active:focus-visible){color:var(--ld-select-thm-col-active)}';const m=class{constructor(l){e(this,l);this.ldchange=s(this,"ldchange",7);this.ldinput=s(this,"ldinput",7);this.ldoptioncreate=s(this,"ldoptioncreate",7);this.isObserverEnabled=true;this.optionSelectListenerEnabled=true;this.isDisabled=()=>this.disabled||c(this.ariaDisabled);this.updateTriggerMoreIndicator=(e=false)=>{if(!this.multiple||!this.maxRows)return;if(e)this.hasMore=false;requestAnimationFrame((()=>{var e;if(!this.selectionListRef)return;const l=Array.from(this.selectionListRef.querySelectorAll(".ld-select__selection-list-item"));if(!this.hasMore){(e=this.selectionListRef.querySelector(".ld-select__selection-list-more"))===null||e===void 0?void 0:e.remove();l.forEach((e=>{e.classList.remove("ld-select__selection-list-item--overflowing")}))}if(this.isOverflowing()){let e;if(!this.hasMore){e=document.createElement("li");e.classList.add("ld-select__selection-list-more");this.selectionListRef.prepend(e)}else{e=this.selectionListRef.querySelector(".ld-select__selection-list-more")}this.hasMore=true;const t=this.maxRows*1.75*16;let i=0;l.forEach((e=>{const l=i?true:e.offsetTop>=t;e.classList[l?"add":"remove"]("ld-select__selection-list-item--overflowing");if(l)i++}));const s=()=>{e=this.selectionListRef.querySelector(".ld-select__selection-list-more");e.innerText=`+${i}`;if(e.offsetTop{s()}))}};s()}}))};this.updatePopperWidth=()=>{this.listboxRef.style.setProperty("width",`${this.selectRef.getBoundingClientRect().width}px`)};this.updatePopperShadowHeight=()=>{const e=this.listboxRef;e.updateShadowHeight(`calc(100% + ${this.triggerRef.getBoundingClientRect().height}px)`)};this.updatePopperTheme=()=>{const e=this.el.closest('[class*="ld-theme-"]');if(!e)return;setTimeout((()=>{var l;this.theme=(l=e.classList.toString().split(" ").find((e=>e.startsWith("ld-theme-"))))===null||l===void 0?void 0:l.substring(9)}))};this.updatePopper=()=>{if(!this.popper)this.initPopper();this.popper.position();this.updatePopperWidth();this.updatePopperShadowHeight();this.updatePopperTheme()};this.initPopper=()=>{const e=typeof this.tetherOptions==="string"?JSON.parse(this.tetherOptions):this.tetherOptions;const l=Object.assign({classPrefix:"ld-tether",element:this.listboxRef,target:this.selectRef,attachment:"top left",targetAttachment:"bottom left",offset:this.mode?"-4px 0":"0 0",constraints:[{to:"window",pin:true}]},e);this.popper=new d(l);this.initPopperObserver();this.listboxRef.classList.add("ld-select__popper--initialized")};this.getOptsRec=e=>{const l=e.flatMap((e=>{if(v(e)){return e}if(f(e)){return this.getOptsRec(Array.from(e.children))}return[]}));return l};this.getInternalOptionHTML=(e,l=false)=>{const t=e.classList.toString();return`${e.innerHTML.replaceAll(/(.|\n|\r)*<\/ld-icon>/g,"")}`};this.getInternalOptgroupHTML=e=>{const l=e.classList.toString();return`${Array.from(e.children).map((l=>this.getInternalOptionHTML(l,e.disabled))).join("")}`};this.initOptions=()=>{const e=this.initialized;const l=Array.from(e?this.internalOptionsContainerRef.children:this.el.children);const t=this.getOptsRec(l);if(!t.length){throw new TypeError("ld-select requires at least one ld-option element as a child, but found none.")}const i=t.filter((e=>e.selected));if(i.length>1&&!this.multiple){throw new TypeError("Multiple selected options are not allowed, if multiple option is not set.")}if(!e){let e="";l.forEach((l=>{if(v(l)){e+=this.getInternalOptionHTML(l)}else if(f(l)){e+=this.getInternalOptgroupHTML(l)}}));this.internalOptionsHTML=e}this.selected=i.map((e=>({value:e.value,html:e.innerHTML,text:e.innerText})));if(this.listboxRef){this.typeAheadHandler.options=this.listboxRef.querySelectorAll("ld-option-internal")}this.updateTriggerMoreIndicator(true)};this.updateSelectedHiddenInputs=e=>{const l=e.map((({value:e})=>e));const t=this.el.querySelectorAll("input");t.forEach((e=>{const t=l.indexOf(e.value);if(t>=0){l.splice(t,1)}else{e.remove()}}));if(e.length===0){this.appendHiddenInput();return}l.forEach(this.appendHiddenInput)};this.appendHiddenInput=e=>{const l=document.createElement("input");l.setAttribute("slot","hidden");l.name=this.name;l.type="hidden";if(e!==undefined){l.value=e}this.el.appendChild(l)};this.handleSlotChange=e=>{if(!this.isObserverEnabled)return;if(!e.some((e=>v(e.target)||f(e.target)))){return}this.initialized=false;const l=[...this.selected];this.initOptions();this.initialized=true;const t=[...this.selected];this.emitEventsAndUpdateHidden(t,l)};this.handlePopperChange=e=>{var l;if(this.listboxRef.classList.contains("ld-tether-enabled")&&e.some((e=>e.oldValue.includes("display: none;")))){let e;if(!this.multiple){e=(l=Array.from(this.listboxRef.querySelectorAll("ld-option-internal")).find((e=>e.hasAttribute("selected"))))===null||l===void 0?void 0:l.shadowRoot.querySelector('[role="option"]')}if(!e){if(this.filter){e=this.getFilterInput()}else{e=this.triggerRef}}e.focus()}};this.initSlotChangeObserver=()=>{this.slotChangeObserver=new MutationObserver(this.handleSlotChange);this.slotChangeObserver.observe(this.el,{subtree:true,childList:true,attributes:true})};this.initPopperObserver=()=>{this.popperObserver=new MutationObserver(this.handlePopperChange);this.popperObserver.observe(this.listboxRef,{subtree:false,childList:false,attributes:true,attributeFilter:["style"],attributeOldValue:true})};this.getFilterInput=()=>this.listboxRef.shadowRoot.querySelector(".ld-select-popper__filter-input");this.togglePopper=()=>{if(!this.popper)this.initPopper();this.expanded=!this.expanded;if(this.expanded){this.popper.enable()}else{this.popper.disable();this.focusInner()}};this.clearSelection=()=>{Array.from(this.listboxRef.querySelectorAll("ld-option-internal")).forEach((e=>{e.selected=false}));this.selected=[]};this.handleHome=e=>{e.preventDefault();this.focusInner()};this.handleEnd=e=>{e.preventDefault();const l=Array.from(this.listboxRef.querySelectorAll("ld-option-internal")).filter((e=>!u(e)));if(document.activeElement!==l[l.length-1]){l[l.length-1].focusInner()}};this.selectAndFocus=(e,l)=>{if(!l)return;if(this.multiple&&e.shiftKey){if(w(document.activeElement)&&!_(document.activeElement)&&!document.activeElement.hasAttribute("selected")){document.activeElement.dispatchEvent(new KeyboardEvent("keydown",{key:" "}))}if(!l.hasAttribute("selected")&&!_(l)){l.dispatchEvent(new KeyboardEvent("keydown",{key:" "}))}}l.focusInner()};this.handleFilterChange=e=>{const l=this.internalOptionsContainerRef.querySelectorAll("ld-option-internal, ld-optgroup-internal");const t=e.detail.trim().toLowerCase();let i=true;let s=false;const d=Array.from(l).filter((e=>{const l=w(e)?e.textContent.toLowerCase():e.label.toLowerCase();const d=Boolean(t)&&!l.includes(t);e.filtered=d;if(l===t){s=true}if(!e.filtered){i=false}return!d}));this.typeAheadHandler.options=d;this.allOptsFiltered=i;this.filterMatchesOpt=s;requestAnimationFrame((()=>{this.updatePopper()}))};this.handleFilterCreate=()=>{if(!this.multiple){const e=this.el.querySelectorAll("ld-option");e.forEach((e=>{e.selected=false}))}const e=this.getFilterInput().value;this.resetFilter();this.ldoptioncreate.emit(e)};this.canCreate=()=>Boolean(this.creatable&&!this.filterMatchesOpt&&this.getFilterInput().value);this.focusPrev=(e,l)=>{if(w(e.previousElementSibling)){if(u(e.previousElementSibling)){this.focusPrev(e.previousElementSibling,l);return}this.selectAndFocus(l,e.previousElementSibling);return}if(_(e.previousElementSibling)){const t=Array.from(e.previousElementSibling.children).at(-1);if(u(t)){this.focusPrev(t,l);return}this.selectAndFocus(l,t);return}const t=w(e)&&e.closest("ld-optgroup-internal");if(t){if(u(t)){this.focusPrev(t,l);return}t.focusInner();return}if(this.filter){this.getFilterInput().focus();return}this.handleHome(l)};this.focusNext=(e,l)=>{if(_(e)){const t=e.children[0];if(u(t)){this.focusNext(t,l);return}this.selectAndFocus(l,t);return}if(w(e.nextElementSibling)){if(u(e.nextElementSibling)){this.focusNext(e.nextElementSibling,l);return}this.selectAndFocus(l,e.nextElementSibling);return}if(_(e.nextElementSibling)){if(u(e.nextElementSibling)){const t=e.nextElementSibling.children[0];if(u(t)){this.focusNext(t,l);return}this.selectAndFocus(l,t);return}this.selectAndFocus(l,e.nextElementSibling);return}const t=w(e)&&e.closest("ld-optgroup-internal");if(t){const e=t.nextElementSibling;if(!e)return;if(u(e)){this.focusNext(e,l);return}e.focusInner()}};this.resetFilter=()=>{this.allOptsFiltered=false;this.filterMatchesOpt=false;if(!this.filter)return;const e=this.getFilterInput();if(!e)return;e.value="";const l=this.internalOptionsContainerRef.querySelectorAll("ld-option-internal, ld-optgroup-internal");l.forEach((e=>{e.filtered=false}));this.typeAheadHandler.options=l;this.listboxRef.resetFilter()};this.handleFocusEvent=e=>{if(e.relatedTarget===null||e.relatedTarget===this.listboxRef||v(e.relatedTarget)||f(e.relatedTarget)||n("ld-select",e.relatedTarget)===this.el){e.stopImmediatePropagation()}else{this.expanded=false;this.resetFilter()}};this.handleTriggerClick=e=>{e.preventDefault();if(this.isDisabled())return;this.togglePopper()};this.handleClearClick=e=>{e.preventDefault();e.stopImmediatePropagation();if(this.isDisabled())return;this.clearSelection();this.focusInner()};this.handleClearSingleClick=(e,l)=>{var t;e.preventDefault();e.stopImmediatePropagation();if(this.isDisabled())return;this.selected=this.selected.filter((e=>e.value!==l));(t=this.listboxRef.querySelector(`ld-option-internal[value='${l}']`))===null||t===void 0?void 0:t.dispatchEvent(new KeyboardEvent("keydown",{key:" "}))};this.ariaDisabled=undefined;this.autofocus=undefined;this.creatable=undefined;this.createInputLabel="Press Enter to create option";this.createButtonLabel="Create option";this.disabled=undefined;this.form=undefined;this.filter=undefined;this.filterPlaceholder="Filter options";this.invalid=undefined;this.ldTabindex=0;this.maxRows=undefined;this.mode=undefined;this.multiple=undefined;this.name=undefined;this.placeholder=undefined;this.popperClass=undefined;this.preventDeselection=undefined;this.required=undefined;this.sanitizeConfig=undefined;this.selected=[];this.size=undefined;this.tetherOptions=undefined;this.allOptsFiltered=false;this.filterMatchesOpt=false;this.expanded=false;this.hasCustomIcon=false;this.hasMore=false;this.initialized=false;this.internalOptionsHTML=undefined;this.renderHiddenInput=false;this.theme=undefined;this.typeAheadHandler=undefined}async focusInner(){if(!this.disabled){this.triggerRef.focus({focusVisible:true})}}emitEventsAndUpdateHidden(e,l){if(!this.initialized)return;const t=e.map((e=>e.value));const i=l.map((e=>e.value));if(JSON.stringify(t)===JSON.stringify(i))return;this.updateTriggerMoreIndicator(true);if(this.renderHiddenInput){this.updateSelectedHiddenInputs(e)}this.isObserverEnabled=false;this.el.querySelectorAll("ld-option").forEach((e=>{e.selected=t.some((l=>l===e.value));if(!e.selected&&e.hidden){this.listboxRef.querySelector(`ld-option-internal[value="${e.value}"]`).remove();e.remove()}}));this.isObserverEnabled=true;this.el.dispatchEvent(new InputEvent("change",{bubbles:true}));this.el.dispatchEvent(new InputEvent("input",{bubbles:true,composed:true}));this.ldchange.emit(t);this.ldinput.emit(t)}isOverflowing(){return this.selectionListRef.scrollHeight>this.selectionListRef.clientHeight+2}updateHiddenInputs(){const e=this.el.querySelectorAll("input");const l=this.el.closest("form");if(!this.name||!(l||this.form)){e.forEach((e=>{e.remove()}));return}if(!e.length){this.updateSelectedHiddenInputs(this.selected);return}e.forEach((e=>{e.name=this.name;if(this.form){e.setAttribute("form",this.form)}}))}handleWindowResize(){if(this.isDisabled())return;this.updatePopperWidth();this.updateTriggerMoreIndicator(true);this.updatePopperShadowHeight()}handleSelect(e){const l=e.target;if(l.closest('[role="listbox"]')!==this.listboxRef)return;if(!this.optionSelectListenerEnabled)return;this.optionSelectListenerEnabled=false;if(!this.multiple){this.listboxRef.querySelectorAll("ld-option-internal").forEach((e=>{if(e!==l.closest("ld-option-internal")){e.selected=false}}));this.togglePopper();if(this.filter){this.resetFilter();this.focusInner()}}this.initOptions();this.optionSelectListenerEnabled=true}handleKeyDown(e){var l;if(this.isDisabled())return;if(e.metaKey&&!["ArrowDown","ArrowUp"].includes(e.key))return;if(document.activeElement.closest('[role="listbox"]')!==this.listboxRef&&document.activeElement.closest("ld-select")!==this.el){return}const t=this.filter&&((l=this.listboxRef)===null||l===void 0?void 0:l.shadowRoot.activeElement)===this.getFilterInput();if(t){if(this.canCreate()&&e.key==="Enter"){this.handleFilterCreate();return}if(!["ArrowDown","ArrowUp","End","Escape","Home","Tab"].includes(e.key)){return}}if(this.el.shadowRoot.activeElement===this.btnClearRef&&(e.key===" "||e.key==="Enter")){return}switch(e.key){case"ArrowDown":{e.preventDefault();if(!this.expanded){this.togglePopper();return}if(e.metaKey){this.handleEnd(e);return}if(document.activeElement===this.el||t){if(this.filter&&!t){this.getFilterInput().focus()}else{const l=Array.from(this.listboxRef.querySelectorAll("ld-option-internal, ld-optgroup-internal")).find((e=>!u(e)));this.selectAndFocus(e,l)}}else{this.focusNext(document.activeElement,e)}break}case"ArrowUp":{e.preventDefault();if(!this.expanded){this.togglePopper();return}if(e.metaKey||t){this.handleHome(e);return}if(w(document.activeElement)||_(document.activeElement)){this.focusPrev(document.activeElement,e)}break}case"Home":if(this.expanded){this.handleHome(e)}break;case"End":if(this.expanded){this.handleEnd(e)}break;case" ":{e.stopImmediatePropagation();e.preventDefault();if(this.expanded){this.togglePopper()}else{this.togglePopper()}break}case"Enter":e.preventDefault();if(this.expanded&&this.el.shadowRoot.activeElement===this.triggerRef){this.togglePopper()}break;case"Escape":if(this.expanded){e.preventDefault();e.stopImmediatePropagation();this.togglePopper()}break;case"Tab":if(this.expanded&&document.activeElement.closest('[role="listbox"]')===this.listboxRef){e.preventDefault();e.stopImmediatePropagation()}break;default:if(this.expanded){e.stopImmediatePropagation();e.preventDefault();this.typeAheadHandler.typeAhead(e.key)}}}handleClickOutside(e){const l="composedPath"in e?e.composedPath().at(0):e.target;if(e.isTrusted&&n("ld-select",l)!==this.el&&n('[role="listbox"]',l)!==this.listboxRef){this.expanded=false;this.resetFilter()}}handleTouchOutside(e){this.handleClickOutside(e)}componentWillLoad(){const e=this.el.closest("form");if(this.name&&(e||this.form)){this.renderHiddenInput=true}const l=this.el.querySelector("ld-icon");this.hasCustomIcon=!!l;if(l){l.setAttribute("size",this.size)}this.initOptions();if(this.renderHiddenInput){this.updateSelectedHiddenInputs(this.selected)}r(this.autofocus)}componentDidLoad(){setTimeout((()=>{this.initSlotChangeObserver();this.typeAheadHandler=new o(this.listboxRef.querySelectorAll("ld-option-internal"));this.initialized=true}))}componentDidUpdate(){if(this.expanded){this.updatePopper()}}disconnectedCallback(){if(this.popperObserver)this.popperObserver.disconnect();if(this.popper)this.popper.destroy();if(this.slotChangeObserver)this.slotChangeObserver.disconnect();if(this.listboxRef)this.listboxRef.remove();if(this.typeAheadHandler)this.typeAheadHandler.clearTimeout()}render(){var e,i,s;const d=!!this.mode;const r=this.mode==="inline"||this.mode==="ghost";const n=!this.multiple&&this.mode==="ghost";const o=["ld-select",this.disabled&&"ld-select--disabled",this.size&&`ld-select--${this.size}`,this.invalid&&"ld-select--invalid",this.expanded&&"ld-select--expanded",d&&"ld-select--detached",r&&"ld-select--inline",n&&"ld-select--ghost"];const b=["ld-select__btn-trigger",this.invalid&&"ld-select__btn-trigger--invalid",d&&"ld-select__btn-trigger--detached",r&&"ld-select__btn-trigger--inline",n&&"ld-select__btn-trigger--ghost"];const p=["ld-select__icon",this.expanded&&"ld-select__icon--rotated"];const v=this.multiple?this.placeholder:((e=this.selected[0])===null||e===void 0?void 0:e.html)||this.placeholder;const f=this.multiple?this.placeholder:((i=this.selected[0])===null||i===void 0?void 0:i.text)||this.placeholder;return l(t,null,l("div",{class:a(o),"aria-disabled":this.isDisabled()?"true":undefined,part:"root",onBlur:this.handleFocusEvent,onFocusout:this.handleFocusEvent,style:this.expanded?{zIndex:"2147483647"}:undefined},this.renderHiddenInput&&l("slot",{name:"hidden"}),l("div",{class:"ld-select__slot-container",part:"slot-container"},l("slot",null)),l("div",{class:"ld-select__select",part:"select",ref:e=>this.selectRef=e},l("div",{class:a(b),role:"button",part:"btn-trigger focusable",tabindex:this.disabled&&!c(this.ariaDisabled)?undefined:this.ldTabindex,"aria-disabled":this.isDisabled()?"true":undefined,"aria-haspopup":"listbox","aria-expanded":this.expanded?"true":"false","aria-label":f,onClick:this.handleTriggerClick,ref:e=>this.triggerRef=e},this.multiple&&this.selected.length?l("div",{class:"ld-select__selection-list-container",part:"selection-list-container"},l("ul",{class:"ld-select__selection-list",part:"selection-list","aria-label":"Selected options",ref:e=>this.selectionListRef=e,style:{maxHeight:this.maxRows&&this.maxRows>0?`${this.maxRows*1.75}rem`:undefined}},this.selected.map(((e,t)=>l("li",{key:t,class:"ld-select__selection-list-item",style:{order:t+1+""},part:"selection-list-item"},l("label",{class:"ld-select__selection-label"},l("span",{class:"ld-select__selection-label-text",title:e.text,part:"selection-label-text",innerHTML:h(e.html,this.sanitizeConfig)}),l("button",{disabled:this.isDisabled()?true:undefined,class:"ld-select__btn-clear-single",part:"btn-clear-single focusable",onClick:l=>{this.handleClearSingleClick.call(this,l,e.value)}},l("svg",{class:"ld-select__btn-clear-single-icon",part:"icon-clear-single",fill:"none",viewBox:"0 0 12 12"},l("title",null,"Clear"),l("path",{stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M2 2l8 8M2 10l8-8"}))),l("span",{class:"ld-select__selection-label-bg",part:"selection-label-bg"}))))))):l("span",{class:"ld-select__btn-trigger-text-wrapper",title:f,part:"trigger-text-wrapper"},l("span",{class:"ld-select__btn-trigger-text",part:"trigger-text",innerHTML:h(v,this.sanitizeConfig)})),((s=this.selected)===null||s===void 0?void 0:s.length)&&this.multiple?l("button",{class:"ld-select__btn-clear",disabled:this.isDisabled()?true:undefined,onClick:this.handleClearClick,ref:e=>this.btnClearRef=e,part:"btn-clear focusable"},l("svg",{class:"ld-select__btn-clear-icon",fill:"none",viewBox:"0 0 21 20",part:"icon-clear"},l("title",null,"Clear all"),l("path",{fill:"currentColor","fill-rule":"evenodd",d:"M10 20a10 10 0 100-20 10 10 0 000 20z","clip-rule":"evenodd"}),l("path",{stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6.67 6.67l6.67 6.66M6.67 13.33l6.67-6.66"}))):"",l("slot",{name:"icon"}),!this.hasCustomIcon&&l("svg",{class:a(p),role:"presentation",viewBox:"0 0 16 16",part:"trigger-icon"},l("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M3 6l5 4 5-4"})))),l("ld-select-popper",{allOptionsFiltered:this.allOptsFiltered,creatable:this.creatable,createButtonLabel:this.createButtonLabel,createInputLabel:this.createInputLabel,detached:d,expanded:this.expanded,filter:this.filter,filterMatchesOption:this.filterMatchesOpt,filterPlaceholder:this.filterPlaceholder,onBlur:this.handleFocusEvent,onFocusout:this.handleFocusEvent,onLdselectfilterchange:this.handleFilterChange,onLdselectfiltercreate:this.handleFilterCreate,popperClass:this.popperClass,ref:e=>this.listboxRef=e,role:"listbox",size:this.size,theme:this.theme},l("div",{ref:e=>this.internalOptionsContainerRef=e,innerHTML:h(this.internalOptionsHTML,Object.assign(Object.assign({},typeof this.sanitizeConfig==="string"?JSON.parse(this.sanitizeConfig):this.sanitizeConfig),{ADD_ATTR:["prevent-deselection"]})),part:"options-container"}))))}get el(){return i(this)}static get watchers(){return{selected:["emitEventsAndUpdateHidden"],name:["updateHiddenInputs"],form:["updateHiddenInputs"]}}};m.style=g;const x=":host{--ld-select-popper-min-width:12.8125rem;--ld-select-popper-max-height:min(23.75rem,75vh - 1.25rem);--ld-select-popper-border-col:var(--ld-col-neutral-100);min-width:var(--ld-select-popper-min-width)}.ld-select-popper{min-width:100%}.ld-select-popper:not(.ld-select-popper--expanded){display:none}.ld-select-popper ::slotted(.ld-select__shadow){border-radius:var(--ld-br-m);box-shadow:var(--ld-shadow-sticky);display:block;height:100%;pointer-events:none;position:absolute;width:100%;z-index:-1}.ld-select-popper__scroll-container{border-bottom-left-radius:var(--ld-br-m);border-bottom-right-radius:var(--ld-br-m);border-top:solid var(--ld-select-popper-border-col) var(--ld-sp-1);max-height:var(--ld-select-popper-max-height);overflow-y:auto;overscroll-behavior:contain}.ld-select-popper--detached:not(.ld-select-popper--filter) .ld-select-popper__scroll-container,.ld-select-popper--pinned:not(.ld-select-popper--filter) .ld-select-popper__scroll-container{border-radius:var(--ld-br-m);border-top:0}.ld-select-popper--all-filtered .ld-select-popper__scroll-container{border-top:0}.ld-select-popper__shadow{border-radius:var(--ld-br-m);bottom:0;box-shadow:var(--ld-shadow-sticky);height:calc(100% + var(--ld-select-min-height-md));pointer-events:none;position:absolute;width:100%;z-index:-1}.ld-select-popper--detached .ld-select-popper__shadow{height:100%!important}.ld-select-popper__filter-container{align-items:center;background-color:var(--ld-col-wht);border-top:solid var(--ld-col-neutral-100) var(--ld-sp-1);color:var(--ld-col-neutral-900);display:grid;font:var(--ld-typo-label-m);grid-template-columns:1fr auto}.ld-select-popper--detached .ld-select-popper__filter-container,.ld-select-popper--pinned .ld-select-popper__filter-container{border-top:0;border-top-left-radius:var(--ld-br-m);border-top-right-radius:var(--ld-br-m)}.ld-select-popper--all-filtered .ld-select-popper__filter-container{border-bottom-left-radius:var(--ld-br-m);border-bottom-right-radius:var(--ld-br-m)}.ld-select-popper__create-button{font:var(--ld-typo-label-s);line-height:var(--ld-select-trigger-line-height);margin-right:var(--ld-sp-8)}.ld-select-popper__create-button::part(button){--ld-button-padding-x-sm:var(--ld-sp-6);--ld-button-padding-y-sm:var(--ld-sp-4);min-height:0;min-width:0}.ld-select-popper__filter-input{-webkit-appearance:none;appearance:none;background-color:initial;border:0;box-sizing:border-box;color:inherit;font:inherit;height:2.5rem;line-height:var(--ld-select-trigger-line-height);outline:none;padding:var(--ld-sp-8) var(--ld-sp-12);width:100%}.ld-select-popper__filter-input::placeholder{color:var(--ld-col-neutral-600)}.ld-select-popper--detached .ld-select-popper__filter-input,.ld-select-popper--pinned .ld-select-popper__filter-input{border-top:0;border-top-left-radius:var(--ld-br-m);border-top-right-radius:var(--ld-br-m)}";const y=class{constructor(l){e(this,l);this.ldselectfilterchange=s(this,"ldselectfilterchange",7);this.ldselectfiltercreate=s(this,"ldselectfiltercreate",7);this.handleFilterInput=e=>{this.filterInputValue=e.target.value;this.ldselectfilterchange.emit(e.target.value)};this.handleCreate=e=>{e.preventDefault();const l=this.filterInputValue;this.filterInputValue="";this.ldselectfiltercreate.emit(l)};this.allOptionsFiltered=undefined;this.class=undefined;this.creatable=undefined;this.createInputLabel=undefined;this.createButtonLabel=undefined;this.detached=undefined;this.expanded=false;this.filter=undefined;this.filterMatchesOption=undefined;this.filterPlaceholder=undefined;this.popperClass=undefined;this.size=undefined;this.theme=undefined;this.isPinned=false;this.shadowHeight="100%";this.filterInputValue="";this.canCreate=false}updateCanCreate(){this.canCreate=Boolean(this.creatable&&!this.filterMatchesOption&&this.filterInputValue)}updatePinnedState(){this.isPinned=this.el.classList.contains("ld-tether-pinned")}updatePopperTheme(e,l){this.el.classList.remove(`ld-theme-${l}`);if(e)this.el.classList.add(`ld-theme-${e}`)}updateFilter(e){if(!e){this.resetFilter()}}async updateShadowHeight(e){this.shadowHeight=e}async resetFilter(){this.filterInputValue=""}componentWillLoad(){this.popperClass&&this.el.classList.add(this.popperClass)}render(){return l(t,{style:{zIndex:this.isPinned?"2147483647":"2147483646",display:this.expanded?"block":"none"}},l("div",{class:a(["ld-select-popper",this.detached&&"ld-select-popper--detached",this.expanded&&"ld-select-popper--expanded",this.filter&&"ld-select-popper--filter",this.allOptionsFiltered&&"ld-select-popper--all-filtered",this.isPinned&&"ld-select-popper--pinned",this.size&&`ld-select-popper--${this.size}`]),part:"popper"},this.filter&&l("div",{class:"ld-select-popper__filter-container"},l("input",{"aria-haspopup":this.allOptionsFiltered?undefined:"listbox","aria-label":this.canCreate?this.createInputLabel:undefined,type:"text",placeholder:this.filterPlaceholder,class:"ld-select-popper__filter-input",part:"filter-input focusable",onInput:this.handleFilterInput}),this.canCreate&&l("ld-button",{onClick:this.handleCreate,size:"sm",class:"ld-select-popper__create-button","aria-label":this.createButtonLabel},l("ld-icon",{class:"ld-select-popper__create-icon",role:"presentation",size:"sm"},l("svg",{viewBox:"-1 -1 24 24",fill:"none"},l("path",{d:"M2.5 11h17M11 19.5v-17",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}))))),l("div",{class:"ld-select-popper__scroll-container",part:"popper-scroll-container"},l("slot",null),l("div",{class:"ld-select-popper__shadow",style:{height:this.isPinned?"100%":this.shadowHeight},part:"shadow"}))))}get el(){return i(this)}static get watchers(){return{creatable:["updateCanCreate"],filterMatchesOption:["updateCanCreate"],filterInputValue:["updateCanCreate"],class:["updatePinnedState"],theme:["updatePopperTheme"],expanded:["updateFilter"]}}};y.style=x;export{p as ld_option,m as ld_select,y as ld_select_popper}; -//# sourceMappingURL=p-236dbb56.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-236dbb56.entry.js.map b/1704966176737/dist/build/p-236dbb56.entry.js.map deleted file mode 100644 index db8e9b2ff1..0000000000 --- a/1704966176737/dist/build/p-236dbb56.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldOptionShadowCss","LdOption","componentWillLoad","this","selected","el","setAttribute","render","h","Host","isLdOption","includes","tagName","isLdOptgroup","isLdOptionInternal","isLdOptgroupInternal","isLdOptInternalHidden","opt","hidden","filtered","ldSelectCss","LdSelect","isObserverEnabled","optionSelectListenerEnabled","isDisabled","disabled","isAriaDisabled","ariaDisabled","updateTriggerMoreIndicator","refresh","multiple","maxRows","hasMore","requestAnimationFrame","selectionListRef","selectionListItems","Array","from","querySelectorAll","_a","querySelector","remove","forEach","classList","isOverflowing","moreItem","document","createElement","add","prepend","maxOffset","overflowingTotal","overflowing","offsetTop","hideLastVisibleIfMoreIndicatorOverflowing","innerText","notOverflowing","lastNotOverflowing","slice","updatePopperWidth","listboxRef","style","setProperty","selectRef","getBoundingClientRect","width","updatePopperShadowHeight","ldPopper","updateShadowHeight","triggerRef","height","updatePopperTheme","themeEl","closest","setTimeout","theme","toString","split","find","cl","startsWith","substring","updatePopper","popper","initPopper","position","customTetherOptions","tetherOptions","JSON","parse","Object","assign","classPrefix","element","target","attachment","targetAttachment","offset","mode","constraints","to","pin","Tether","initPopperObserver","getOptsRec","children","options","flatMap","child","getInternalOptionHTML","ldOption","optgroupDisabled","classStr","size","preventDeselection","value","innerHTML","replaceAll","getInternalOptgroupHTML","ldOptgroup","label","map","join","initOptions","initialized","internalOptionsContainerRef","length","TypeError","selectedOptions","filter","internalOptionsHTML","html","text","typeAheadHandler","updateSelectedHiddenInputs","selectedValues","inputs","hiddenInput","index","indexOf","splice","appendHiddenInput","name","type","undefined","appendChild","handleSlotChange","mutationsList","some","record","oldValues","newValues","emitEventsAndUpdateHidden","handlePopperChange","contains","mutation","oldValue","toFocus","hasAttribute","shadowRoot","getFilterInput","focus","initSlotChangeObserver","slotChangeObserver","MutationObserver","observe","subtree","childList","attributes","popperObserver","attributeFilter","attributeOldValue","togglePopper","expanded","enable","disable","focusInner","clearSelection","option","handleHome","ev","preventDefault","handleEnd","visibleOptions","activeElement","selectAndFocus","shiftKey","dispatchEvent","KeyboardEvent","key","handleFilterChange","opts","query","detail","trim","toLowerCase","allFiltered","filterMatchesOpt","filteredOpts","optTextLower","textContent","Boolean","allOptsFiltered","handleFilterCreate","resetFilter","ldoptioncreate","emit","canCreate","creatable","focusPrev","current","previousElementSibling","lastInOptgroup","at","closestOptgroup","focusNext","firstInOptgroup","nextElementSibling","next","filterInput","handleFocusEvent","relatedTarget","stopImmediatePropagation","handleTriggerClick","handleClearClick","handleClearSingleClick","optionValue","selection","focusVisible","newSelection","oldSelection","stringify","renderHiddenInput","InputEvent","bubbles","composed","ldchange","ldinput","scrollHeight","clientHeight","updateHiddenInputs","hiddenInputs","outerForm","form","handleWindowResize","handleSelect","handleKeyDown","metaKey","filterHasFocus","btnClearRef","nextOpt","typeAhead","handleClickOutside","composedPath","isTrusted","handleTouchOutside","customIcon","hasCustomIcon","registerAutofocus","autofocus","componentDidLoad","TypeAheadHandler","componentDidUpdate","disconnectedCallback","disconnect","destroy","clearTimeout","detached","inline","ghost","invalid","triggerCl","triggerIconCl","triggerHtml","placeholder","triggerText","_b","class","getClassNames","part","onBlur","onFocusout","zIndex","ref","role","tabindex","ldTabindex","onClick","maxHeight","order","title","sanitize","sanitizeConfig","call","fill","viewBox","stroke","d","_c","allOptionsFiltered","createButtonLabel","createInputLabel","filterMatchesOption","filterPlaceholder","onLdselectfilterchange","onLdselectfiltercreate","popperClass","ADD_ATTR","ldSelectPopperShadowCss","LdSelectPopper","handleFilterInput","filterInputValue","ldselectfilterchange","handleCreate","ldselectfiltercreate","updateCanCreate","updatePinnedState","isPinned","newValue","updateFilter","newExpanded","shadowHeight","display","onInput"],"sources":["../src/liquid/components/ld-select/ld-option/ld-option.shadow.css?tag=ld-option&encapsulation=shadow","../src/liquid/components/ld-select/ld-option/ld-option.tsx","../src/liquid/components/ld-select/utils/type-guards.ts","../src/liquid/components/ld-select/ld-select.css?tag=ld-select&encapsulation=shadow","../src/liquid/components/ld-select/ld-select.tsx","../src/liquid/components/ld-select/ld-select-popper/ld-select-popper.shadow.css?tag=ld-select-popper&encapsulation=shadow","../src/liquid/components/ld-select/ld-select-popper/ld-select-popper.tsx"],"sourcesContent":[null,"import { Component, h, Host, Prop, Element } from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-option',\n styleUrl: 'ld-option.shadow.css',\n shadow: true,\n})\nexport class LdOption {\n @Element() el: HTMLElement\n\n /**\n * The content of this attribute represents the value to be submitted with the form,\n * should this option be selected. If this attribute is omitted, the value is taken\n * from the text content of the option element.\n */\n @Prop() value?: string\n\n /** If present, this boolean attribute indicates that the option is selected. */\n @Prop() selected?: boolean\n\n /** Disables the option. */\n @Prop() disabled?: boolean\n\n /**\n * @internal\n * Set to true on filtering via select input.\n */\n @Prop() filtered? = false\n\n componentWillLoad() {\n // Setting selected via prop directly triggers the mutation observer to fire twice on attribute chage.\n // This is indeed only true for the selected attribute. The disabled attribute works fine when assigned directly.\n if (this.selected) {\n this.el.setAttribute('selected', '')\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","export const isLdOption = (\n el: HTMLElement | Node | EventTarget\n): el is HTMLLdOptionElement | HTMLLdOptionInternalElement =>\n ['LD-OPTION', 'LD-OPTION-INTERNAL'].includes((el as HTMLElement)?.tagName)\n\nexport const isLdOptgroup = (\n el: HTMLElement | Node | EventTarget\n): el is HTMLLdOptgroupElement | HTMLLdOptgroupInternalElement =>\n ['LD-OPTGROUP', 'LD-OPTGROUP-INTERNAL'].includes((el as HTMLElement)?.tagName)\n\nexport const isLdOptionInternal = (\n el: HTMLElement | Node | EventTarget\n): el is HTMLLdOptionInternalElement =>\n ['LD-OPTION-INTERNAL'].includes((el as HTMLElement)?.tagName)\n\nexport const isLdOptgroupInternal = (\n el: HTMLElement | Node | EventTarget\n): el is HTMLLdOptgroupInternalElement =>\n ['LD-OPTGROUP-INTERNAL'].includes((el as HTMLElement)?.tagName)\n\ntype HTMLLdOptInternal =\n | HTMLLdOptionInternalElement\n | HTMLLdOptgroupInternalElement\nexport const isLdOptInternalHidden = (\n opt: HTMLLdOptInternal\n): opt is\n | (HTMLLdOptInternal & {\n hidden: true\n })\n | (HTMLLdOptInternal & {\n filtered: true\n }) => {\n return opt.hidden || opt.filtered\n}\n",":host {\n display: inline-flex;\n\n .ld-select {\n flex-grow: 1;\n max-width: 100%;\n }\n}\n\n:host,\n.ld-select {\n /* reset */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n ul {\n list-style: none;\n }\n}\n\n.ld-select {\n /* layout */\n --ld-select-min-width: 12.8125rem;\n --ld-select-min-height: var(--ld-sp-40);\n --ld-select-min-height-sm: var(--ld-sp-32);\n --ld-select-min-height-lg: 3.125rem;\n --ld-select-padding-x: var(--ld-sp-12);\n --ld-select-padding-x-sm: 0.625rem;\n --ld-select-padding-x-lg: 0.875rem;\n --ld-select-padding-y: var(--ld-sp-8);\n --ld-select-padding-y-sm: var(--ld-sp-4);\n --ld-select-padding-y-lg: var(--ld-sp-8);\n --ld-select-padding-right: calc(var(--ld-sp-40) + var(--ld-sp-12));\n --ld-select-padding-right-sm: calc(var(--ld-sp-40) + 0.625rem);\n --ld-select-padding-right-lg: calc(var(--ld-sp-40) + 0.875rem);\n --ld-select-icon-size: 1.25rem;\n --ld-select-icon-size-sm: var(--ld-sp-16);\n --ld-select-icon-size-lg: var(--ld-sp-24);\n --ld-select-trigger-line-height: 1.25;\n\n &--sm {\n --ld-select-min-height: var(--ld-select-min-height-sm);\n --ld-select-padding-x: var(--ld-select-padding-x-sm);\n --ld-select-padding-y: var(--ld-select-padding-y-sm);\n --ld-select-padding-right: var(--ld-select-padding-right-sm);\n --ld-select-icon-size: var(--ld-select-icon-size-sm);\n }\n\n &--lg {\n --ld-select-min-height: var(--ld-select-min-height-lg);\n --ld-select-padding-x: var(--ld-select-padding-x-lg);\n --ld-select-padding-y: var(--ld-select-padding-y-lg);\n --ld-select-padding-right: var(--ld-select-padding-right-lg);\n --ld-select-icon-size: var(--ld-select-icon-size-lg);\n }\n\n /* colors */\n --ld-select-col: var(--ld-col-neutral-900);\n --ld-select-col-disabled: var(--ld-col-neutral-100);\n --ld-select-col-border: var(--ld-col-neutral-100);\n --ld-select-col-border-hover: var(--ld-col-neutral-300);\n --ld-select-bg-col: var(--ld-col-wht);\n --ld-select-selection-col: var(--ld-col-wht);\n\n /* themable colors */\n --ld-select-invalid-col: var(--ld-thm-error);\n --ld-select-invalid-icon-col-hover: var(--ld-thm-error-hover);\n --ld-select-invalid-icon-col-focus: var(--ld-thm-error-focus);\n --ld-select-invalid-icon-col-active: var(--ld-thm-error-active);\n --ld-select-invalid-disabled-bg-col: var(--ld-thm-error-disabled);\n --ld-select-thm-col: var(--ld-thm-primary);\n --ld-select-thm-col-hover: var(--ld-thm-primary-hover);\n --ld-select-thm-col-focus: var(--ld-thm-primary-focus);\n --ld-select-thm-col-active: var(--ld-thm-primary-active);\n --ld-select-ghost-trigger-bg-col-hover: var(--ld-thm-primary-alpha-lowest);\n --ld-select-ghost-trigger-bg-col-focus: var(--ld-thm-primary-alpha-low);\n\n display: inline-flex;\n position: relative;\n\n select + .ld-icon,\n ::slotted(ld-icon) {\n width: var(--ld-select-icon-size);\n height: var(--ld-select-icon-size);\n }\n\n ::slotted(ld-icon) {\n display: contents !important;\n }\n\n select {\n + .ld-icon,\n + .ld-select__icon {\n position: absolute;\n right: var(--ld-select-padding-x);\n top: 50%;\n transform: translateY(-50%);\n }\n\n &[multiple] + .ld-icon,\n &[multiple] + .ld-select__icon {\n display: none;\n }\n\n + .ld-icon {\n width: var(--ld-select-icon-size);\n height: var(--ld-select-icon-size);\n }\n }\n\n > select[multiple] {\n overflow: auto;\n }\n}\n\n/* Mobile Safari (iOS only) */\n/* stylelint-disable-next-line media-feature-range-notation, media-feature-name-no-vendor-prefix */\n@media screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 0) {\n .ld-select > select[multiple] {\n padding-right: calc(var(--ld-select-padding-x) + var(--ld-sp-24));\n\n + .ld-icon,\n + .ld-select__icon {\n display: flex;\n }\n }\n}\n\n.ld-select--expanded {\n .ld-tether-target-attached-bottom {\n .ld-select__btn-trigger:not(.ld-select__btn-trigger--detached) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n }\n}\n\n:where(.ld-select:not(.ld-select--inline, .ld-select--ghost)) {\n min-width: var(--ld-select-min-width);\n}\n\n.ld-select__select,\n.ld-select__btn-trigger {\n width: 100%;\n}\n\n.ld-select > select,\n.ld-select__btn-trigger {\n /* outline: none; */\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n font: var(--ld-typo-body-m);\n line-height: var(--ld-select-trigger-line-height);\n border: 0;\n padding: var(--ld-select-padding-y) var(--ld-select-padding-x);\n border-radius: var(--ld-br-m);\n height: 100%;\n user-select: none;\n touch-action: manipulation;\n color: var(--ld-select-col);\n background-color: var(--ld-select-bg-col);\n text-align: left;\n appearance: none;\n -webkit-touch-callout: none;\n\n &:where(select) {\n width: 100%;\n }\n\n &:where(select:not([multiple])) {\n padding-right: calc(var(--ld-select-padding-x) + var(--ld-sp-24));\n }\n\n &:where(\n select:not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ),\n &:where(\n .ld-select__btn-trigger:not(\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n cursor: pointer;\n }\n\n &:where([aria-expanded='true']) {\n z-index: 2;\n\n &:not(:focus:focus-visible, .ld-select__btn-trigger--detached) {\n box-shadow: none;\n }\n }\n\n &:disabled,\n &:disabled + .ld-select__icon,\n &:disabled + .ld-icon,\n &:where(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ),\n &:where(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n )\n + .ld-select__icon,\n &:where(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n )\n + .ld-icon {\n color: var(--ld-select-col-disabled);\n }\n}\n\n.ld-select__btn-trigger {\n overflow: hidden;\n}\n\n:where(.ld-select),\n:where(.ld-select) > select {\n min-height: var(--ld-select-min-height);\n}\n\n.ld-select--ghost {\n &:not(ld-select),\n select,\n .ld-select__btn-trigger {\n background-color: transparent;\n }\n\n select,\n .ld-select__btn-trigger {\n &:not(:focus) {\n box-shadow: none;\n }\n }\n}\n\n.ld-select:where(:not(.ld-select--ghost)) {\n &:where(.ld-select--detached),\n &:where(:not(.ld-select--detached, .ld-select--expanded)) {\n :where(select),\n :where(.ld-select__btn-trigger) {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-select-col-border);\n }\n }\n\n &:where(:not(.ld-select--invalid)) {\n select,\n .ld-select__btn-trigger {\n &:where(\n .ld-select__btn-trigger--detached:not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ),\n &:where(\n :not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n ),\n .ld-select__btn-trigger--detached,\n [aria-expanded='true']\n )\n ) {\n @media (hover: hover) {\n &:hover:not(:focus:focus-visible) {\n box-shadow: inset 0 0 0 var(--ld-sp-2)\n var(--ld-select-col-border-hover);\n }\n }\n }\n }\n }\n}\n\n.ld-select--invalid > select,\n.ld-select--invalid .ld-select__btn-trigger--invalid {\n &:where(:not(:disabled)) {\n &:where(:focus:focus-visible) {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-select-invalid-col);\n }\n }\n\n &:where(\n :not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n &:where(:not(:focus:focus-visible)) {\n background-color: var(--ld-select-invalid-disabled-bg-col);\n color: var(--ld-select-invalid-col);\n }\n\n &:where(:not(.ld-select__btn-trigger--ghost)) {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-select-invalid-col);\n }\n\n + .ld-icon,\n + .ld-select__icon,\n .ld-select__icon {\n color: var(--ld-select-invalid-col);\n }\n\n @media (hover: hover) {\n &:hover {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-select-invalid-col);\n\n + .ld-icon,\n + .ld-select__icon,\n .ld-select__icon,\n ::slotted(ld-icon) {\n color: var(--ld-select-invalid-icon-col-hover);\n }\n }\n }\n &:where(:focus:focus-visible) {\n + .ld-icon,\n + .ld-select__icon,\n .ld-select__icon,\n ::slotted(ld-icon) {\n color: var(--ld-select-invalid-icon-col-focus);\n }\n }\n &:where(:active),\n &:where(:active:focus-visible) {\n + .ld-icon,\n + .ld-select__icon,\n .ld-select__icon,\n ::slotted(ld-icon) {\n color: var(--ld-select-invalid-icon-col-active);\n }\n }\n }\n}\n\n.ld-select__btn-trigger-text-wrapper,\n.ld-select__selection-list {\n flex-grow: 1;\n}\n\n.ld-select__btn-trigger-text-wrapper {\n font: var(--ld-typo-label-m);\n line-height: var(--ld-select-trigger-line-height);\n padding: var(--ld-sp-6) var(--ld-sp-8) var(--ld-sp-6) 0;\n height: calc(100% + var(--ld-sp-12));\n margin: calc(-1 * var(--ld-sp-6)) 0;\n display: flex;\n align-items: center;\n overflow: hidden;\n}\n\n.ld-select > select,\n.ld-select__btn-trigger-text,\n.ld-select__selection-label-text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ld-select__selection-list-container {\n display: flex;\n flex-direction: column-reverse;\n gap: var(--ld-sp-6);\n margin-right: auto;\n}\n\n.ld-select__selection-list {\n display: flex;\n flex-wrap: wrap;\n margin: calc(-1 * var(--ld-sp-1)) var(--ld-sp-4) calc(-1 * var(--ld-sp-4)) 0;\n overflow: hidden;\n padding: 0;\n}\n\n.ld-select__selection-list-item {\n flex: 0 1;\n margin-right: var(--ld-sp-4);\n margin-bottom: var(--ld-sp-4);\n width: 100%;\n}\n\n.ld-select__selection-list-item--overflowing {\n display: none;\n}\n\n.ld-select__selection-list-more {\n order: 2147483647; /* Highest possible */\n display: inline-flex;\n align-items: center;\n font: var(--ld-typo-label-s);\n font-weight: 700;\n padding: var(--ld-sp-4) var(--ld-sp-6);\n border-radius: var(--ld-br-m);\n margin-right: var(--ld-sp-4);\n margin-bottom: var(--ld-sp-4);\n}\n\n.ld-select__btn-clear-single,\n.ld-select__btn-clear {\n /* outline: none; */\n border: 0;\n padding: 0;\n border-radius: var(--ld-br-full);\n user-select: none;\n touch-action: manipulation;\n background-color: transparent;\n line-height: 0;\n -webkit-touch-callout: none;\n\n &:not(:disabled) {\n cursor: pointer;\n }\n}\n\n.ld-select__btn-clear {\n margin-right: var(--ld-sp-6);\n flex-shrink: 0;\n\n &:disabled {\n color: var(--ld-select-col-disabled);\n }\n}\n\n.ld-select__btn-clear-single {\n z-index: 1;\n margin-left: var(--ld-sp-6);\n}\n\n.ld-select__selection-label {\n position: relative;\n width: 100%;\n display: inline-flex;\n align-items: center;\n color: var(--ld-select-selection-col);\n font: var(--ld-typo-label-s);\n font-weight: 700;\n padding: var(--ld-sp-4) var(--ld-sp-6);\n}\n\n.ld-select__selection-label-bg {\n position: absolute;\n inset: 0;\n border-radius: var(--ld-br-m);\n\n :where(\n .ld-select__btn-trigger[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n & {\n background-color: var(--ld-select-col-disabled);\n }\n}\n\n.ld-select__selection-label-text {\n z-index: 1;\n}\n\n.ld-select__btn-clear-single-icon {\n --ld-select-btn-clear-single-size: 0.75rem;\n width: var(--ld-select-btn-clear-single-size);\n height: var(--ld-select-btn-clear-single-size);\n}\n\n.ld-select__btn-clear-icon {\n --ld-select-btn-clear-size: 1.25rem;\n width: var(--ld-select-btn-clear-size);\n height: var(--ld-select-btn-clear-size);\n}\n\n.ld-select__icon {\n fill: none;\n width: var(--ld-sp-16);\n height: var(--ld-sp-16);\n}\n\n.ld-select select + .ld-icon,\n.ld-select__icon,\n.ld-select ::slotted(ld-icon) {\n flex-shrink: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n pointer-events: none;\n\n :where(\n select[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n &,\n :where(select:disabled) &,\n :where(\n .ld-select__btn-trigger[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n & {\n color: var(--ld-select-col-disabled);\n }\n\n .ld-icon,\n svg {\n width: 100%;\n height: 100%;\n }\n}\n\n.ld-select__icon--rotated {\n transform-origin: center;\n transform: rotate(180deg);\n}\n\n.ld-select__slot-container {\n display: none;\n}\n\n:where(\n .ld-select:not(.ld-select--disabled, [aria-disabled], .ld-select--invalid)\n ) {\n .ld-select__btn-trigger {\n &:where(:focus:focus-visible) {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-select-thm-col);\n }\n }\n\n &.ld-select--ghost {\n :where(select:not(:disabled)),\n :where(.ld-select__btn-trigger) {\n @media (hover: hover) {\n &:hover:not(:focus) {\n background-color: var(--ld-select-ghost-trigger-bg-col-hover);\n }\n }\n &:active,\n &:active:focus-visible {\n background-color: var(--ld-select-ghost-trigger-bg-col-focus);\n }\n }\n }\n\n :where(select:not(:disabled)),\n :where(.ld-select__btn-trigger) {\n .ld-select__icon,\n + .ld-icon,\n + .ld-select__icon,\n ::slotted(ld-icon) {\n color: var(--ld-select-thm-col);\n }\n\n @media (hover: hover) {\n &:where(:hover) {\n .ld-select__icon,\n + .ld-icon,\n + .ld-select__icon,\n ::slotted(ld-icon) {\n color: var(--ld-select-thm-col-hover);\n }\n }\n }\n &:where(:focus:focus-visible) {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-select-thm-col);\n\n .ld-select__icon,\n + .ld-select__icon,\n ::slotted(ld-icon) {\n color: var(--ld-select-thm-col-focus);\n }\n }\n &:where(:active),\n &:where(:active:focus-visible) {\n .ld-select__icon,\n + .ld-icon,\n + .ld-select__icon,\n ::slotted(ld-icon) {\n color: var(--ld-select-thm-col-active);\n }\n }\n }\n}\n\n:where(.ld-select:not(.ld-select--disabled)):not(.ld-select--invalid) {\n :where(select:not(:disabled)),\n :where(.ld-select__btn-trigger) {\n &:where(:focus:focus-visible) {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-select-thm-col);\n }\n }\n}\n\n:where(\n .ld-select:not(\n .ld-select--disabled,\n [aria-disabled],\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n )\n ) {\n .ld-select__selection-list-more {\n color: var(--ld-select-thm-col);\n }\n .ld-select__selection-label-bg {\n background-color: var(--ld-select-thm-col);\n }\n\n .ld-select__btn-clear-single {\n &:where(:focus:focus-visible) + .ld-select__selection-label-bg {\n background-color: var(--ld-select-thm-col-focus);\n }\n\n &:where(:active),\n &:where(:active:focus-visible) {\n + .ld-select__selection-label-bg {\n background-color: var(--ld-select-thm-col-active);\n }\n }\n }\n\n .ld-select__btn-clear {\n color: var(--ld-select-thm-col);\n\n &:where(:focus:focus-visible) {\n color: var(--ld-select-thm-col-focus);\n }\n @media (hover: hover) {\n &:where(:hover) {\n color: var(--ld-select-thm-col-hover);\n }\n }\n &:where(:active),\n &:where(:active:focus-visible) {\n color: var(--ld-select-thm-col-active);\n }\n }\n}\n","import {\n Component,\n Element,\n h,\n Host,\n Event,\n Listen,\n Prop,\n State,\n Watch,\n EventEmitter,\n Method,\n} from '@stencil/core'\nimport Tether from 'tether'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { registerAutofocus } from '../../utils/focus'\nimport { closest } from '../../utils/closest'\nimport { TypeAheadHandler } from '../../utils/typeahead'\nimport { isAriaDisabled } from '../../utils/ariaDisabled'\nimport { sanitize } from '../../utils/sanitize'\nimport {\n isLdOptgroup,\n isLdOptgroupInternal,\n isLdOption,\n isLdOptionInternal,\n isLdOptInternalHidden,\n} from './utils/type-guards'\n\ntype SelectOption = { value: string; html: string; text: string }\n\n/**\n * @slot - the default slot contains the select options\n * @slot icon - replaces caret with custom trigger button icon\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-select',\n styleUrl: 'ld-select.css',\n shadow: true,\n})\nexport class LdSelect implements InnerFocusable {\n @Element() el: HTMLLdSelectElement\n private selectRef!: HTMLDivElement\n private triggerRef!: HTMLDivElement\n private selectionListRef!: HTMLUListElement\n private internalOptionsContainerRef!: HTMLDivElement\n private listboxRef!: HTMLLdSelectPopperElement\n private btnClearRef: HTMLButtonElement\n private popper: Tether\n private slotChangeObserver: MutationObserver\n private popperObserver: MutationObserver\n private isObserverEnabled = true\n private optionSelectListenerEnabled = true\n\n /** Alternative disabled state that keeps element focusable */\n @Prop() ariaDisabled: string\n\n /**\n * This Boolean attribute lets you specify that a form control should have input focus when the page loads.\n * Only one form element in a document can have the autofocus attribute.\n */\n @Prop({ reflect: true }) autofocus: boolean\n\n /**\n * Creatable mode can be enabled when the filter prop is set to true.\n * This mode allows the user to create new options using the filter input field.\n */\n @Prop() creatable?: boolean\n\n /** The \"create\" input label (creatable mode). */\n @Prop() createInputLabel? = 'Press Enter to create option'\n\n /** The \"create\" button label (creatable mode). */\n @Prop() createButtonLabel? = 'Create option'\n\n /** Disabled state of the component. */\n @Prop() disabled?: boolean\n\n /** The form element to associate the select with (its form owner). */\n @Prop() form?: string\n\n /** Set this property to `true` in order to enable an input field for filtering options. */\n @Prop() filter?: boolean\n\n /** The filter input placeholder. */\n @Prop() filterPlaceholder? = 'Filter options'\n\n /** Set this property to `true` in order to mark the select visually as invalid. */\n @Prop() invalid?: boolean\n\n /** Tab index of the trigger button. */\n @Prop() ldTabindex = 0\n\n /** Constrains the height of the trigger button by replacing overflowing selection with a \"+X more\" indicator. */\n @Prop({ mutable: true }) maxRows?: number\n\n // prettier-ignore\n /** Display mode. */\n @Prop() mode?:\n // default\n | 'detached' // = default + small gap between trigger button and popper\n | 'inline' // = detached + minumum trigger button width\n | 'ghost' // = inline + transparent background and borders\n\n /** Multiselect mode. */\n @Prop() multiple?: boolean\n\n /** Used to specify the name of the control. */\n @Prop() name?: string\n\n /** Used as trigger button label in multiselect mode and in single select mode if nothing is selected. */\n @Prop() placeholder?: string\n\n /** Attached as CSS class to the select popper element. */\n @Prop() popperClass?: string\n\n /** Prevents a state with no options selected after initial selection in single select mode. */\n @Prop() preventDeselection?: boolean\n\n /** A Boolean attribute indicating that an option with a non-empty string value must be selected. */\n @Prop() required?: boolean\n\n /**\n * Sanitize config passed to DOMPurify's sanitize method.\n * If passed as string, the component will try to parse the string as JSON.\n * See https://github.com/cure53/DOMPurify#can-i-configure-dompurify\n */\n @Prop() sanitizeConfig?: SanitizeConfig | string\n\n /** Currently selected option(s) (read only!) */\n @Prop({ mutable: true }) selected?: SelectOption[] = []\n\n /** Size of the select trigger button. */\n @Prop() size?: 'sm' | 'lg'\n\n /** Tether options object to be merged with the default options (optionally stringified). */\n @Prop() tetherOptions?: Partial | string\n\n @State() allOptsFiltered = false\n @State() filterMatchesOpt = false\n @State() expanded = false\n @State() hasCustomIcon = false\n @State() hasMore = false\n @State() initialized = false\n @State() internalOptionsHTML: string\n @State() renderHiddenInput = false\n @State() theme: string\n @State() typeAheadHandler: TypeAheadHandler<\n HTMLLdOptionInternalElement | HTMLLdOptgroupInternalElement\n >\n\n /**\n * Emitted with an array of selected values\n * when an alteration to the selection is committed.\n */\n @Event() ldchange: EventEmitter\n\n /**\n * Emitted with an array of selected values\n * when an alteration to the selection is committed.\n */\n @Event() ldinput: EventEmitter\n\n /**\n * Emitted when an option is created in create mode\n * with the filter input value.\n */\n @Event() ldoptioncreate: EventEmitter\n\n /** Sets focus on the trigger button. */\n @Method()\n async focusInner() {\n if (!this.disabled) {\n // Experimental feature that fixes a bug in Firefox only.\n // See https://github.com/emdgroup-liquid/liquid/issues/486\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n this.triggerRef.focus({ focusVisible: true })\n }\n }\n\n @Watch('selected')\n emitEventsAndUpdateHidden(\n newSelection: SelectOption[],\n oldSelection: SelectOption[]\n ) {\n if (!this.initialized) return\n\n const newValues = newSelection.map((option) => option.value)\n const oldValues = oldSelection.map((option) => option.value)\n if (JSON.stringify(newValues) === JSON.stringify(oldValues)) return\n\n this.updateTriggerMoreIndicator(true)\n\n if (this.renderHiddenInput) {\n this.updateSelectedHiddenInputs(newSelection)\n }\n\n // Synchronize options with internal options.\n this.isObserverEnabled = false\n this.el.querySelectorAll('ld-option').forEach((ldOption) => {\n ldOption.selected = newValues.some((value) => value === ldOption.value)\n if (!ldOption.selected && ldOption.hidden) {\n this.listboxRef\n .querySelector(`ld-option-internal[value=\"${ldOption.value}\"]`)\n .remove()\n ldOption.remove()\n }\n })\n this.isObserverEnabled = true\n\n this.el.dispatchEvent(new InputEvent('change', { bubbles: true }))\n this.el.dispatchEvent(\n new InputEvent('input', { bubbles: true, composed: true })\n )\n this.ldchange.emit(newValues)\n this.ldinput.emit(newValues)\n }\n\n private isDisabled = () => this.disabled || isAriaDisabled(this.ariaDisabled)\n\n // This method must be a function declaration for testing purposes;\n // otherwise Jest's mockImplementation won't work here.\n private isOverflowing() {\n /* istanbul ignore next */\n return (\n this.selectionListRef.scrollHeight >\n this.selectionListRef.clientHeight + 2\n )\n }\n\n private updateTriggerMoreIndicator = (refresh = false) => {\n if (!this.multiple || !this.maxRows) return\n\n if (refresh) this.hasMore = false\n\n requestAnimationFrame(() => {\n if (!this.selectionListRef) return\n\n const selectionListItems = Array.from(\n this.selectionListRef.querySelectorAll(\n '.ld-select__selection-list-item'\n )\n )\n\n if (!this.hasMore) {\n // reset\n this.selectionListRef\n .querySelector('.ld-select__selection-list-more')\n ?.remove()\n selectionListItems.forEach((el) => {\n el.classList.remove('ld-select__selection-list-item--overflowing')\n })\n }\n\n // If overflowing, hide overflowing and show \"+X\" indicator\n if (this.isOverflowing()) {\n let moreItem\n if (!this.hasMore) {\n moreItem = document.createElement('li')\n moreItem.classList.add('ld-select__selection-list-more')\n this.selectionListRef.prepend(moreItem)\n } else {\n moreItem = this.selectionListRef.querySelector(\n '.ld-select__selection-list-more'\n )\n }\n this.hasMore = true\n\n const maxOffset = this.maxRows * 1.75 * 16\n\n let overflowingTotal = 0\n selectionListItems.forEach((el) => {\n const overflowing = overflowingTotal\n ? true\n : el.offsetTop >= maxOffset\n el.classList[overflowing ? 'add' : 'remove'](\n 'ld-select__selection-list-item--overflowing'\n )\n if (overflowing) overflowingTotal++\n })\n\n const hideLastVisibleIfMoreIndicatorOverflowing = () => {\n moreItem = this.selectionListRef.querySelector(\n '.ld-select__selection-list-more'\n )\n moreItem.innerText = `+${overflowingTotal}`\n if (moreItem.offsetTop < maxOffset) {\n /* istanbul ignore next */\n return\n }\n\n const notOverflowing = Array.from(\n this.selectionListRef.querySelectorAll(\n '.ld-select__selection-list-item:not(.ld-select__selection-list-item--overflowing)'\n )\n )\n const [lastNotOverflowing] = notOverflowing.slice(-1)\n if (lastNotOverflowing) {\n lastNotOverflowing.classList.add(\n 'ld-select__selection-list-item--overflowing'\n )\n overflowingTotal++\n moreItem.innerText = `+${overflowingTotal}`\n\n requestAnimationFrame(() => {\n hideLastVisibleIfMoreIndicatorOverflowing()\n })\n }\n }\n hideLastVisibleIfMoreIndicatorOverflowing()\n }\n })\n }\n\n private updatePopperWidth = () => {\n this.listboxRef.style.setProperty(\n 'width',\n `${this.selectRef.getBoundingClientRect().width}px`\n )\n }\n\n private updatePopperShadowHeight = () => {\n const ldPopper = this.listboxRef\n ldPopper.updateShadowHeight(\n `calc(100% + ${this.triggerRef.getBoundingClientRect().height}px)`\n )\n }\n\n private updatePopperTheme = () => {\n const themeEl = this.el.closest('[class*=\"ld-theme-\"]')\n if (!themeEl) return\n\n setTimeout(() => {\n // Array.from(themeEl.classList).find doesn't work in JSDom for some reason.\n this.theme = themeEl.classList\n .toString()\n .split(' ')\n .find((cl) => cl.startsWith('ld-theme-'))\n ?.substring(9)\n })\n }\n\n private updatePopper = () => {\n if (!this.popper) this.initPopper()\n this.popper.position()\n this.updatePopperWidth()\n this.updatePopperShadowHeight()\n this.updatePopperTheme()\n }\n\n private initPopper = () => {\n const customTetherOptions: Partial =\n typeof this.tetherOptions === 'string'\n ? JSON.parse(this.tetherOptions)\n : this.tetherOptions\n const tetherOptions: Tether.ITetherOptions = {\n classPrefix: 'ld-tether',\n element: this.listboxRef,\n target: this.selectRef,\n attachment: 'top left',\n targetAttachment: 'bottom left',\n offset: this.mode ? '-4px 0' : '0 0',\n constraints: [\n {\n to: 'window',\n pin: true,\n },\n ],\n ...customTetherOptions,\n }\n\n this.popper = new Tether(tetherOptions)\n\n // Observe popper in order to set focus as soon as it becomes visible.\n this.initPopperObserver()\n\n this.listboxRef.classList.add('ld-select__popper--initialized')\n }\n\n private getOptsRec = (\n children: Element[]\n ): (HTMLLdOptionElement | HTMLLdOptionInternalElement)[] => {\n const options = children.flatMap((child) => {\n if (isLdOption(child)) {\n return child\n }\n if (isLdOptgroup(child)) {\n return this.getOptsRec(Array.from(child.children))\n }\n return []\n })\n return options\n }\n\n private getInternalOptionHTML = (\n ldOption: HTMLLdOptionElement,\n optgroupDisabled = false\n ) => {\n const classStr = ldOption.classList.toString()\n return `${ldOption.innerHTML.replaceAll(\n /(.|\\n|\\r)*<\\/ld-icon>/g,\n ''\n )}`\n }\n\n private getInternalOptgroupHTML = (ldOptgroup: HTMLLdOptgroupElement) => {\n const classStr = ldOptgroup.classList.toString()\n return `${Array.from(ldOptgroup.children)\n .map((ldOption: HTMLLdOptionElement) =>\n this.getInternalOptionHTML(ldOption, ldOptgroup.disabled)\n )\n .join('')}`\n }\n\n private initOptions = () => {\n const initialized = this.initialized\n const children = Array.from(\n initialized ? this.internalOptionsContainerRef.children : this.el.children\n )\n\n const options = this.getOptsRec(children)\n\n if (!options.length) {\n throw new TypeError(\n 'ld-select requires at least one ld-option element as a child, but found none.'\n )\n }\n\n const selectedOptions = options.filter((child) => {\n return child.selected\n })\n\n if (selectedOptions.length > 1 && !this.multiple) {\n throw new TypeError(\n 'Multiple selected options are not allowed, if multiple option is not set.'\n )\n }\n\n if (!initialized) {\n let internalOptionsHTML = ''\n children.forEach((child) => {\n if (isLdOption(child)) {\n internalOptionsHTML += this.getInternalOptionHTML(child)\n } else if (isLdOptgroup(child)) {\n internalOptionsHTML += this.getInternalOptgroupHTML(child)\n } // else it's the slotted icon which we ignore.\n })\n this.internalOptionsHTML = internalOptionsHTML\n }\n this.selected = selectedOptions.map((child) => {\n return {\n value: child.value,\n html: child.innerHTML,\n text: child.innerText,\n }\n })\n\n if (this.listboxRef) {\n this.typeAheadHandler.options =\n this.listboxRef.querySelectorAll('ld-option-internal')\n }\n this.updateTriggerMoreIndicator(true)\n }\n\n private updateSelectedHiddenInputs = (selected: SelectOption[]) => {\n const selectedValues = selected.map(({ value }) => value)\n const inputs = this.el.querySelectorAll('input')\n\n // For each existing input, remove it from DOM if not in selected.\n // Remove each value from selectedValues if hidden input already exists.\n inputs.forEach((hiddenInput) => {\n const index = selectedValues.indexOf(hiddenInput.value)\n if (index >= 0) {\n selectedValues.splice(index, 1)\n } else {\n hiddenInput.remove()\n }\n })\n\n // If nothing is selected we need only one hidden input without value.\n if (selected.length === 0) {\n this.appendHiddenInput()\n return\n }\n\n // Else add hidden inputs for each value in selectedValues.\n selectedValues.forEach(this.appendHiddenInput)\n }\n\n private appendHiddenInput = (value?: string) => {\n const hiddenInput = document.createElement('input')\n\n // Slot required to keep the hidden input outside the popper.\n hiddenInput.setAttribute('slot', 'hidden')\n hiddenInput.name = this.name\n hiddenInput.type = 'hidden'\n\n if (value !== undefined) {\n hiddenInput.value = value\n }\n\n this.el.appendChild(hiddenInput)\n }\n\n @Watch('name')\n @Watch('form')\n updateHiddenInputs() {\n const hiddenInputs = this.el.querySelectorAll('input')\n\n const outerForm = this.el.closest('form')\n if (!this.name || !(outerForm || this.form)) {\n hiddenInputs.forEach((hiddenInput) => {\n hiddenInput.remove()\n })\n return\n }\n\n if (!hiddenInputs.length) {\n this.updateSelectedHiddenInputs(this.selected)\n return\n }\n\n hiddenInputs.forEach((hiddenInput) => {\n hiddenInput.name = this.name\n if (this.form) {\n hiddenInput.setAttribute('form', this.form)\n }\n })\n }\n\n private handleSlotChange = (mutationsList: MutationRecord[]) => {\n if (!this.isObserverEnabled) return\n if (\n !mutationsList.some(\n (record) => isLdOption(record.target) || isLdOptgroup(record.target)\n )\n ) {\n return\n }\n\n this.initialized = false\n\n const oldValues = [...this.selected]\n this.initOptions()\n\n this.initialized = true\n const newValues = [...this.selected]\n this.emitEventsAndUpdateHidden(newValues, oldValues)\n }\n\n private handlePopperChange = (mutationsList: MutationRecord[]) => {\n if (\n this.listboxRef.classList.contains('ld-tether-enabled') &&\n mutationsList.some((mutation) =>\n mutation.oldValue.includes('display: none;')\n )\n ) {\n // Popper has just been expanded and is visible.\n\n // If there is a selected option in single select mode, focus it.\n let toFocus\n if (!this.multiple) {\n // Using find instead of ld-option-internal[selected] selector below\n // in order to prevent \"TypeError: e.getAttributeNode is not a function\" in JSDom.\n toFocus = Array.from(\n this.listboxRef.querySelectorAll('ld-option-internal')\n )\n .find((ldOption) => ldOption.hasAttribute('selected'))\n ?.shadowRoot.querySelector('[role=\"option\"]')\n }\n\n // Otherwise, focus either the filter input (if available) or the trigger button.\n if (!toFocus) {\n if (this.filter) {\n toFocus = this.getFilterInput()\n } else {\n toFocus = this.triggerRef\n }\n }\n\n toFocus.focus()\n }\n }\n\n private initSlotChangeObserver = () => {\n this.slotChangeObserver = new MutationObserver(this.handleSlotChange)\n this.slotChangeObserver.observe(this.el, {\n subtree: true,\n childList: true,\n attributes: true,\n })\n }\n\n private initPopperObserver = () => {\n this.popperObserver = new MutationObserver(this.handlePopperChange)\n this.popperObserver.observe(this.listboxRef, {\n subtree: false,\n childList: false,\n attributes: true,\n attributeFilter: ['style'],\n attributeOldValue: true,\n })\n }\n\n private getFilterInput = () =>\n this.listboxRef.shadowRoot.querySelector(\n '.ld-select-popper__filter-input'\n )\n\n private togglePopper = () => {\n if (!this.popper) this.initPopper()\n\n this.expanded = !this.expanded\n\n if (this.expanded) {\n this.popper.enable()\n } else {\n this.popper.disable()\n this.focusInner()\n }\n }\n\n private clearSelection = () => {\n Array.from(this.listboxRef.querySelectorAll('ld-option-internal')).forEach(\n (option) => {\n option.selected = false\n }\n )\n this.selected = []\n }\n\n @Listen('resize', { target: 'window', passive: true })\n handleWindowResize() {\n if (this.isDisabled()) return // this is for a minor performance optimization only\n\n this.updatePopperWidth()\n this.updateTriggerMoreIndicator(true)\n this.updatePopperShadowHeight()\n }\n\n @Listen('ldoptionselect', { target: 'window', passive: true })\n handleSelect(ev: CustomEvent) {\n const target = ev.target as HTMLLdOptionInternalElement\n\n // Ignore events which are not fired on current instance.\n if (target.closest('[role=\"listbox\"]') !== this.listboxRef) return\n\n if (!this.optionSelectListenerEnabled) return\n this.optionSelectListenerEnabled = false\n\n if (!this.multiple) {\n // Deselect currently selected option, if it's not the target option.\n this.listboxRef\n .querySelectorAll('ld-option-internal')\n .forEach((option) => {\n if (option !== target.closest('ld-option-internal')) {\n option.selected = false\n }\n })\n this.togglePopper()\n if (this.filter) {\n this.resetFilter()\n this.focusInner()\n }\n }\n this.initOptions()\n\n this.optionSelectListenerEnabled = true\n }\n\n private handleHome = (ev) => {\n ev.preventDefault()\n this.focusInner()\n }\n\n private handleEnd = (ev) => {\n // Move focus to the last option.\n ev.preventDefault()\n const visibleOptions = Array.from(\n this.listboxRef.querySelectorAll('ld-option-internal')\n ).filter((option) => !isLdOptInternalHidden(option))\n if (document.activeElement !== visibleOptions[visibleOptions.length - 1]) {\n visibleOptions[visibleOptions.length - 1].focusInner()\n }\n }\n\n private selectAndFocus = (\n ev: KeyboardEvent,\n opt: HTMLLdOptionInternalElement | HTMLLdOptgroupInternalElement | undefined\n ) => {\n if (!opt) return\n\n if (this.multiple && ev.shiftKey) {\n if (\n isLdOptionInternal(document.activeElement) &&\n !isLdOptgroupInternal(document.activeElement) &&\n !document.activeElement.hasAttribute('selected')\n ) {\n document.activeElement.dispatchEvent(\n new KeyboardEvent('keydown', { key: ' ' })\n )\n }\n if (!opt.hasAttribute('selected') && !isLdOptgroupInternal(opt)) {\n opt.dispatchEvent(new KeyboardEvent('keydown', { key: ' ' }))\n }\n }\n opt.focusInner()\n }\n\n private handleFilterChange = (ev: CustomEvent) => {\n // Hide options which do not match the filter query.\n const opts = this.internalOptionsContainerRef.querySelectorAll<\n HTMLLdOptionInternalElement | HTMLLdOptgroupInternalElement\n >('ld-option-internal, ld-optgroup-internal')\n const query = ev.detail.trim().toLowerCase()\n let allFiltered = true\n let filterMatchesOpt = false\n const filteredOpts = Array.from(opts).filter((opt) => {\n const optTextLower = isLdOptionInternal(opt)\n ? opt.textContent.toLowerCase()\n : (opt as HTMLLdOptgroupInternalElement).label.toLowerCase()\n const filtered = Boolean(query) && !optTextLower.includes(query)\n\n opt.filtered = filtered\n if (optTextLower === query) {\n filterMatchesOpt = true\n }\n if (!opt.filtered) {\n allFiltered = false\n }\n\n return !filtered\n })\n\n this.typeAheadHandler.options = filteredOpts\n this.allOptsFiltered = allFiltered\n this.filterMatchesOpt = filterMatchesOpt\n\n // Re-position popper after new height has been applied.\n requestAnimationFrame(() => {\n this.updatePopper()\n })\n }\n\n private handleFilterCreate = () => {\n // In single select mode, deselect currently selected option\n if (!this.multiple) {\n const options = this.el.querySelectorAll('ld-option')\n options.forEach((ldOption) => {\n ldOption.selected = false\n })\n }\n\n const value = this.getFilterInput().value\n this.resetFilter()\n this.ldoptioncreate.emit(value)\n }\n\n private canCreate = () => {\n return Boolean(\n this.creatable && !this.filterMatchesOpt && this.getFilterInput().value\n )\n }\n\n private focusPrev = (\n current: HTMLLdOptionInternalElement | HTMLLdOptgroupInternalElement,\n ev: KeyboardEvent\n ) => {\n // Focus previous visible option, if any.\n // If the previous is an option, we check if it's visible.\n if (isLdOptionInternal(current.previousElementSibling)) {\n if (isLdOptInternalHidden(current.previousElementSibling)) {\n // If it's hidden, we repeat with the hidden option.\n this.focusPrev(current.previousElementSibling, ev)\n return\n }\n // If it's not hidden we focus it.\n this.selectAndFocus(ev, current.previousElementSibling)\n return\n }\n\n // If the previous is an optgroup, we try to focus the last option in it.\n if (isLdOptgroupInternal(current.previousElementSibling)) {\n const lastInOptgroup = Array.from(\n current.previousElementSibling.children\n ).at(-1) as HTMLLdOptionInternalElement\n\n // If it's hidden, we repeat with the hidden option.\n if (isLdOptInternalHidden(lastInOptgroup)) {\n this.focusPrev(lastInOptgroup, ev)\n return\n }\n // If it's not hidden we focus it.\n this.selectAndFocus(ev, lastInOptgroup)\n return\n }\n\n // If there is no previous element, we check if we are currently in an optgroup.\n const closestOptgroup =\n isLdOptionInternal(current) &&\n current.closest(\n 'ld-optgroup-internal'\n )\n // If we are in an optgroup, we try to focus the optgroup.\n if (closestOptgroup) {\n // If the optgroup is not visible, we set current to the optgroup and repeat.\n if (isLdOptInternalHidden(closestOptgroup)) {\n this.focusPrev(closestOptgroup, ev)\n return\n }\n closestOptgroup.focusInner()\n return\n }\n\n // Otherwise we focus either the filter input or the trigger button.\n if (this.filter) {\n this.getFilterInput().focus()\n return\n }\n this.handleHome(ev)\n }\n\n private focusNext = (\n current: HTMLLdOptionInternalElement | HTMLLdOptgroupInternalElement,\n ev: KeyboardEvent\n ) => {\n // Focus next visible option, if any.\n // If current is an optgroup, try to focus the first option in it.\n if (isLdOptgroupInternal(current)) {\n const firstInOptgroup = current.children[0] as HTMLLdOptionInternalElement\n // If it's hidden, we repeat with the hidden option.\n if (isLdOptInternalHidden(firstInOptgroup)) {\n this.focusNext(firstInOptgroup, ev)\n return\n }\n // If it's not hidden we focus it.\n this.selectAndFocus(ev, firstInOptgroup)\n return\n }\n\n // If the next is an option, we check if it's visible.\n if (isLdOptionInternal(current.nextElementSibling)) {\n if (isLdOptInternalHidden(current.nextElementSibling)) {\n // If it's hidden, we repeat with the hidden option.\n this.focusNext(current.nextElementSibling, ev)\n return\n }\n // If it's not hidden we focus it.\n this.selectAndFocus(ev, current.nextElementSibling)\n return\n }\n\n // If the next is an optgroup, we try to focus the optgroup.\n if (isLdOptgroupInternal(current.nextElementSibling)) {\n // If it's hidden, we repeat with first input within the hidden optgroup.\n if (isLdOptInternalHidden(current.nextElementSibling)) {\n const firstInOptgroup = current.nextElementSibling\n .children[0] as HTMLLdOptionInternalElement\n // If the first is not visible, we continue with it as current.\n if (isLdOptInternalHidden(firstInOptgroup)) {\n this.focusNext(firstInOptgroup, ev)\n return\n }\n // Otherwise we focus it.\n this.selectAndFocus(ev, firstInOptgroup)\n return\n }\n // If it's not hidden we focus it.\n this.selectAndFocus(ev, current.nextElementSibling)\n return\n }\n\n // If there is no next element, we check if we are currently in an optgroup.\n const closestOptgroup =\n isLdOptionInternal(current) &&\n current.closest(\n 'ld-optgroup-internal'\n )\n // If we are in an optgroup, we try to focus its next sibling.\n if (closestOptgroup) {\n const next = closestOptgroup.nextElementSibling as\n | HTMLLdOptionInternalElement\n | HTMLLdOptgroupInternalElement\n | undefined\n if (!next) return\n\n // If the next sibling is not visible, we repeat with the next sibling.\n if (isLdOptInternalHidden(next)) {\n this.focusNext(next, ev)\n return\n }\n // If it's visible, we focus it.\n next.focusInner()\n }\n }\n\n @Listen('keydown', { passive: false, target: 'window' })\n handleKeyDown(ev: KeyboardEvent) {\n if (this.isDisabled()) return\n\n // Ignore page special meta key combos.\n if (ev.metaKey && !['ArrowDown', 'ArrowUp'].includes(ev.key)) return\n\n // Ignore events if current instance has no focus.\n if (\n document.activeElement.closest('[role=\"listbox\"]') !== this.listboxRef &&\n document.activeElement.closest('ld-select') !== this.el\n ) {\n return\n }\n\n const filterHasFocus =\n this.filter &&\n this.listboxRef?.shadowRoot.activeElement === this.getFilterInput()\n\n // If filter has focus...\n if (filterHasFocus) {\n // ... and create mode is active\n if (this.canCreate() && ev.key === 'Enter') {\n this.handleFilterCreate()\n return\n }\n\n // Ignore events if filter input has focus,\n // except for navigation-specific keys.\n if (\n !['ArrowDown', 'ArrowUp', 'End', 'Escape', 'Home', 'Tab'].includes(\n ev.key\n )\n ) {\n return\n }\n }\n\n // If the clear button is focused, ignore Enter and Space key events.\n if (\n this.el.shadowRoot.activeElement === this.btnClearRef &&\n (ev.key === ' ' || ev.key === 'Enter')\n ) {\n return\n }\n\n switch (ev.key) {\n case 'ArrowDown': {\n // If not expanded, expand popper.\n // If expanded, move focus to the next option.\n // If shift is pressed, select the next option.\n // Holding down the Shift key and then using the Down cursor keys\n // increases the range of items selected (multiple mode only).\n ev.preventDefault()\n if (!this.expanded) {\n this.togglePopper()\n return\n }\n\n if (ev.metaKey) {\n this.handleEnd(ev)\n return\n }\n\n // Focus next visible option, if any,\n // or the filter input, if applicable.\n if (document.activeElement === this.el || filterHasFocus) {\n if (this.filter && !filterHasFocus) {\n this.getFilterInput().focus()\n } else {\n const nextOpt = Array.from(\n this.listboxRef.querySelectorAll<\n HTMLLdOptionInternalElement | HTMLLdOptgroupInternalElement\n >('ld-option-internal, ld-optgroup-internal')\n ).find((opt) => !isLdOptInternalHidden(opt))\n this.selectAndFocus(ev, nextOpt)\n }\n } else {\n this.focusNext(\n document.activeElement as\n | HTMLLdOptionInternalElement\n | HTMLLdOptgroupInternalElement,\n ev\n )\n }\n break\n }\n case 'ArrowUp': {\n // If not expanded, expand popper.\n // If expanded, move focus to the previous option.\n // If the first option is focused, focus the trigger button.\n // Holding down the Shift key and then using the Up cursor keys\n // increases the range of items selected (multiple mode only).\n ev.preventDefault()\n if (!this.expanded) {\n this.togglePopper()\n return\n }\n\n if (ev.metaKey || filterHasFocus) {\n this.handleHome(ev)\n return\n }\n\n // Focus previous visible option, if any.\n if (\n isLdOptionInternal(document.activeElement) ||\n isLdOptgroupInternal(document.activeElement)\n ) {\n this.focusPrev(document.activeElement, ev)\n }\n break\n }\n case 'Home':\n if (this.expanded) {\n this.handleHome(ev)\n }\n break\n case 'End':\n if (this.expanded) {\n this.handleEnd(ev)\n }\n break\n case ' ': {\n // If trigger has focus: Toggle popper.\n ev.stopImmediatePropagation()\n ev.preventDefault()\n if (this.expanded) {\n this.togglePopper()\n } else {\n this.togglePopper()\n }\n break\n }\n case 'Enter':\n // If expanded and trigger button is focused: Toggle popper.\n ev.preventDefault()\n if (\n this.expanded &&\n this.el.shadowRoot.activeElement === this.triggerRef\n ) {\n this.togglePopper()\n }\n break\n case 'Escape':\n // If expanded: Close popper.\n if (this.expanded) {\n ev.preventDefault()\n ev.stopImmediatePropagation()\n this.togglePopper()\n }\n break\n case 'Tab': // Also covers Shift+Tab\n // If expanded and popper element has focus within: Prevent default.\n if (\n this.expanded &&\n document.activeElement.closest('[role=\"listbox\"]') === this.listboxRef\n ) {\n ev.preventDefault()\n ev.stopImmediatePropagation()\n }\n break\n default:\n if (this.expanded) {\n ev.stopImmediatePropagation()\n ev.preventDefault()\n this.typeAheadHandler.typeAhead(ev.key)\n }\n }\n }\n\n @Listen('click', {\n target: 'window',\n })\n handleClickOutside(ev) {\n // closest utility function must be used here for the component\n // to work in Solid.js app, where ev.target can be an element\n // within the shadow DOM of the component.\n // Usage of ev.composedPath() is required for penetrating shadow DOM.\n const target = 'composedPath' in ev ? ev.composedPath().at(0) : ev.target\n if (\n ev.isTrusted &&\n closest('ld-select', target) !== this.el &&\n closest('[role=\"listbox\"]', target) !== this.listboxRef\n ) {\n this.expanded = false\n this.resetFilter()\n }\n }\n\n // Mobile Safari in some cases does not react to click events on elements\n // which are not interactive. But it does to touch events.\n @Listen('touchend', {\n target: 'window',\n passive: true,\n })\n handleTouchOutside(ev) {\n this.handleClickOutside(ev)\n }\n\n private resetFilter = () => {\n this.allOptsFiltered = false\n this.filterMatchesOpt = false\n\n if (!this.filter) return\n const filterInput = this.getFilterInput()\n if (!filterInput) return\n\n filterInput.value = ''\n const opts = this.internalOptionsContainerRef.querySelectorAll<\n HTMLLdOptionInternalElement | HTMLLdOptgroupInternalElement\n >('ld-option-internal, ld-optgroup-internal')\n\n opts.forEach((opt) => {\n opt.filtered = false\n })\n\n this.typeAheadHandler.options = opts\n this.listboxRef.resetFilter()\n }\n\n private handleFocusEvent = (ev: FocusEvent) => {\n // Emit event only, if focus is not within the select component.\n if (\n ev.relatedTarget === null ||\n ev.relatedTarget === this.listboxRef ||\n isLdOption(ev.relatedTarget) ||\n isLdOptgroup(ev.relatedTarget) ||\n closest('ld-select', ev.relatedTarget as HTMLElement) === this.el\n ) {\n ev.stopImmediatePropagation()\n } else {\n // Focus left the select component - make sure it is not expanded.\n this.expanded = false\n this.resetFilter()\n }\n }\n\n private handleTriggerClick = (ev: Event) => {\n ev.preventDefault()\n\n if (this.isDisabled()) return\n\n this.togglePopper()\n }\n\n private handleClearClick = (ev: MouseEvent) => {\n ev.preventDefault()\n ev.stopImmediatePropagation()\n\n if (this.isDisabled()) return\n\n this.clearSelection()\n this.focusInner()\n }\n\n private handleClearSingleClick = (ev: MouseEvent, optionValue) => {\n ev.preventDefault()\n ev.stopImmediatePropagation()\n\n if (this.isDisabled()) return\n\n this.selected = this.selected.filter(\n (selection) => selection.value !== optionValue\n )\n\n this.listboxRef\n .querySelector(`ld-option-internal[value='${optionValue}']`)\n ?.dispatchEvent(new KeyboardEvent('keydown', { key: ' ' }))\n }\n\n componentWillLoad() {\n const outerForm = this.el.closest('form')\n\n if (this.name && (outerForm || this.form)) {\n this.renderHiddenInput = true\n }\n\n const customIcon = this.el.querySelector('ld-icon')\n this.hasCustomIcon = !!customIcon\n\n if (customIcon) {\n customIcon.setAttribute('size', this.size)\n }\n\n this.initOptions()\n\n if (this.renderHiddenInput) {\n this.updateSelectedHiddenInputs(this.selected)\n }\n\n registerAutofocus(this.autofocus)\n }\n\n componentDidLoad() {\n setTimeout(() => {\n this.initSlotChangeObserver()\n this.typeAheadHandler = new TypeAheadHandler(\n this.listboxRef.querySelectorAll('ld-option-internal')\n )\n this.initialized = true\n })\n }\n\n componentDidUpdate() {\n if (this.expanded) {\n this.updatePopper()\n }\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.popperObserver) this.popperObserver.disconnect()\n /* istanbul ignore if */\n if (this.popper) this.popper.destroy()\n /* istanbul ignore if */\n if (this.slotChangeObserver) this.slotChangeObserver.disconnect()\n /* istanbul ignore if */\n if (this.listboxRef) this.listboxRef.remove()\n /* istanbul ignore if */\n if (this.typeAheadHandler) this.typeAheadHandler.clearTimeout()\n }\n\n render() {\n // Endable detached mode if any display mode is set.\n const detached = !!this.mode\n\n // Implicitly enable inline mode if ghost mode is enabled.\n const inline = this.mode === 'inline' || this.mode === 'ghost'\n\n // Disallow ghost in combination with multiple select mode.\n const ghost = !this.multiple && this.mode === 'ghost'\n\n const cl = [\n 'ld-select',\n this.disabled && 'ld-select--disabled',\n this.size && `ld-select--${this.size}`,\n this.invalid && 'ld-select--invalid',\n this.expanded && 'ld-select--expanded',\n detached && 'ld-select--detached',\n inline && 'ld-select--inline',\n ghost && 'ld-select--ghost',\n ]\n\n const triggerCl = [\n 'ld-select__btn-trigger',\n this.invalid && 'ld-select__btn-trigger--invalid',\n detached && 'ld-select__btn-trigger--detached',\n inline && 'ld-select__btn-trigger--inline',\n ghost && 'ld-select__btn-trigger--ghost',\n ]\n\n const triggerIconCl = [\n 'ld-select__icon',\n this.expanded && 'ld-select__icon--rotated',\n ]\n\n const triggerHtml = this.multiple\n ? this.placeholder\n : this.selected[0]?.html || this.placeholder\n\n const triggerText = this.multiple\n ? this.placeholder\n : this.selected[0]?.text || this.placeholder\n\n return (\n \n \n {this.renderHiddenInput && }\n
    \n \n
    \n (this.selectRef = el)}\n >\n (this.triggerRef = el)}\n >\n {this.multiple && this.selected.length ? (\n \n (this.selectionListRef = el)}\n style={{\n maxHeight:\n this.maxRows && this.maxRows > 0\n ? `${this.maxRows * 1.75}rem`\n : undefined,\n }}\n >\n {this.selected.map((selection, index) => {\n return (\n \n \n \n )\n })}\n \n
    \n ) : (\n \n \n \n )}\n\n {this.selected?.length && this.multiple ? (\n (this.btnClearRef = el)}\n part=\"btn-clear focusable\"\n >\n {/* custom icon cross */}\n \n Clear all\n \n \n \n \n ) : (\n ''\n )}\n\n \n {!this.hasCustomIcon && (\n /* custom icon arrow-down */\n \n \n \n )}\n \n \n (this.listboxRef = el)}\n role=\"listbox\"\n size={this.size}\n theme={this.theme}\n >\n (this.internalOptionsContainerRef = el)}\n innerHTML={sanitize(this.internalOptionsHTML, {\n ...(typeof this.sanitizeConfig === 'string'\n ? JSON.parse(this.sanitizeConfig)\n : this.sanitizeConfig),\n ADD_ATTR: ['prevent-deselection'],\n })}\n part=\"options-container\"\n >\n \n \n \n )\n }\n}\n",":host {\n /* layout */\n --ld-select-popper-min-width: 12.8125rem;\n --ld-select-popper-max-height: min(23.75rem, 75vh - 1.25rem);\n\n /* colors */\n --ld-select-popper-border-col: var(--ld-col-neutral-100);\n min-width: var(--ld-select-popper-min-width);\n}\n\n.ld-select-popper {\n min-width: 100%;\n\n &:not(.ld-select-popper--expanded) {\n display: none;\n }\n\n ::slotted(.ld-select__shadow) {\n display: block;\n position: absolute;\n width: 100%;\n height: 100%;\n box-shadow: var(--ld-shadow-sticky);\n border-radius: var(--ld-br-m);\n pointer-events: none;\n z-index: -1;\n }\n}\n\n.ld-select-popper__scroll-container {\n max-height: var(--ld-select-popper-max-height);\n overflow-y: auto;\n border-bottom-left-radius: var(--ld-br-m);\n border-bottom-right-radius: var(--ld-br-m);\n border-top: solid var(--ld-select-popper-border-col) var(--ld-sp-1);\n overscroll-behavior: contain;\n\n .ld-select-popper--detached:not(.ld-select-popper--filter) &,\n .ld-select-popper--pinned:not(.ld-select-popper--filter) & {\n border-top: 0;\n border-radius: var(--ld-br-m);\n }\n\n .ld-select-popper--all-filtered & {\n border-top: 0;\n }\n}\n\n.ld-select-popper__shadow {\n position: absolute;\n width: 100%;\n height: calc(100% + var(--ld-select-min-height-md));\n box-shadow: var(--ld-shadow-sticky);\n border-radius: var(--ld-br-m);\n pointer-events: none;\n z-index: -1;\n bottom: 0;\n\n .ld-select-popper--detached & {\n height: 100% !important;\n }\n}\n\n.ld-select-popper__filter-container {\n align-items: center;\n background-color: var(--ld-col-wht);\n border-top: solid var(--ld-col-neutral-100) var(--ld-sp-1);\n color: var(--ld-col-neutral-900);\n display: grid;\n font: var(--ld-typo-label-m);\n grid-template-columns: 1fr auto;\n\n .ld-select-popper--detached &,\n .ld-select-popper--pinned & {\n border-top: 0;\n border-top-left-radius: var(--ld-br-m);\n border-top-right-radius: var(--ld-br-m);\n }\n\n .ld-select-popper--all-filtered & {\n border-bottom-left-radius: var(--ld-br-m);\n border-bottom-right-radius: var(--ld-br-m);\n }\n}\n\n.ld-select-popper__create-button {\n font: var(--ld-typo-label-s);\n line-height: var(--ld-select-trigger-line-height);\n margin-right: var(--ld-sp-8);\n\n &::part(button) {\n --ld-button-padding-x-sm: var(--ld-sp-6);\n --ld-button-padding-y-sm: var(--ld-sp-4);\n min-height: 0;\n min-width: 0;\n }\n}\n\n.ld-select-popper__filter-input {\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n color: inherit;\n font: inherit;\n height: 2.5rem;\n line-height: var(--ld-select-trigger-line-height);\n outline: none;\n padding: var(--ld-sp-8) var(--ld-sp-12);\n width: 100%;\n\n &::placeholder {\n color: var(--ld-col-neutral-600);\n }\n\n .ld-select-popper--detached &,\n .ld-select-popper--pinned & {\n border-top: 0;\n border-top-left-radius: var(--ld-br-m);\n border-top-right-radius: var(--ld-br-m);\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\n\n/** @internal **/\n@Component({\n tag: 'ld-select-popper',\n styleUrl: 'ld-select-popper.shadow.css',\n shadow: true,\n})\nexport class LdSelectPopper {\n @Element() el: HTMLElement\n\n /** Indicates that all options are filtered (used in creatable mode) */\n @Prop() allOptionsFiltered?: boolean\n\n /** A watcher is applied to the CSS class in order to be able to react to tether changes. */\n @Prop({ reflect: true }) class?: string\n\n /**\n * Creatable mode can be enabled when the filter prop is set to true.\n * This mode allows the user to create new options using the filter input field.\n */\n @Prop() creatable?: boolean\n\n /** The \"create\" input label (creatable mode). */\n @Prop() createInputLabel!: string\n\n /** The \"create\" button label (creatable mode). */\n @Prop() createButtonLabel!: string\n\n /** Popper is visually detached from the select trigger element (there's a gap between the two). */\n @Prop() detached?: boolean\n\n /** Indicates if select element is expanded. */\n @Prop() expanded? = false\n\n /** Set this property to `true` in order to enable an input field for filtering options. */\n @Prop() filter?: boolean\n\n /** The filter input value matches an option (do not allow to create the option). */\n @Prop() filterMatchesOption?: boolean\n\n /** The filter input placeholder. */\n @Prop() filterPlaceholder!: string\n\n /** Attaches CSS class to the select popper element. */\n @Prop() popperClass?: string\n\n /** Size of the select trigger button (required for applying the correct shadow height). */\n @Prop() size?: 'sm' | 'lg'\n\n /** Since the select popper is located outside the select element, the theme needs to be applied as a prop. */\n @Prop() theme?: string\n\n @State() isPinned = false\n @State() shadowHeight = '100%'\n @State() filterInputValue = ''\n @State() canCreate = false\n\n /**\n * @internal\n * Emitted on filter change with the filter input value.\n */\n @Event() ldselectfilterchange: EventEmitter\n\n /**\n * @internal\n * Emitted on create button click in filter input field.\n */\n @Event() ldselectfiltercreate: EventEmitter\n\n private handleFilterInput = (ev) => {\n this.filterInputValue = ev.target.value\n this.ldselectfilterchange.emit(ev.target.value)\n }\n\n private handleCreate = (ev) => {\n ev.preventDefault()\n const value = this.filterInputValue\n this.filterInputValue = ''\n this.ldselectfiltercreate.emit(value)\n }\n\n @Watch('creatable')\n @Watch('filterMatchesOption')\n @Watch('filterInputValue')\n updateCanCreate() {\n this.canCreate = Boolean(\n this.creatable && !this.filterMatchesOption && this.filterInputValue\n )\n }\n\n @Watch('class')\n updatePinnedState() {\n this.isPinned = this.el.classList.contains('ld-tether-pinned')\n }\n\n @Watch('theme')\n updatePopperTheme(newValue: string, oldValue: string) {\n this.el.classList.remove(`ld-theme-${oldValue}`)\n if (newValue) this.el.classList.add(`ld-theme-${newValue}`)\n }\n\n @Watch('expanded')\n updateFilter(newExpanded: boolean) {\n if (!newExpanded) {\n this.resetFilter()\n }\n }\n\n /** Updates shadow height */\n @Method()\n async updateShadowHeight(height: string) {\n this.shadowHeight = height\n }\n\n /** Focuses the tab */\n @Method()\n async resetFilter() {\n this.filterInputValue = ''\n }\n\n componentWillLoad() {\n this.popperClass && this.el.classList.add(this.popperClass)\n }\n\n render() {\n return (\n \n \n {this.filter && (\n
    \n \n {this.canCreate && (\n \n \n \n \n \n \n \n )}\n
    \n )}\n \n \n \n \n \n \n )\n }\n}\n"],"mappings":"+UAAA,MAAMA,EAAoB,G,MCWbC,EAAQ,M,4GAoBC,K,CAEpB,iBAAAC,GAGE,GAAIC,KAAKC,SAAU,CACjBD,KAAKE,GAAGC,aAAa,WAAY,G,EAIrC,MAAAC,GACE,OACEC,EAACC,EAAI,KACHD,EAAA,a,qCC5CD,MAAME,EACXL,GAEA,CAAC,YAAa,sBAAsBM,SAAUN,IAAkB,MAAlBA,SAAE,SAAFA,EAAoBO,SAE7D,MAAMC,EACXR,GAEA,CAAC,cAAe,wBAAwBM,SAAUN,IAAkB,MAAlBA,SAAE,SAAFA,EAAoBO,SAEjE,MAAME,EACXT,GAEA,CAAC,sBAAsBM,SAAUN,IAAkB,MAAlBA,SAAE,SAAFA,EAAoBO,SAEhD,MAAMG,EACXV,GAEA,CAAC,wBAAwBM,SAAUN,IAAkB,MAAlBA,SAAE,SAAFA,EAAoBO,SAKlD,MAAMI,EACXC,GAQOA,EAAIC,QAAUD,EAAIE,SChC3B,MAAMC,EAAc,wv8B,MCyCPC,EAAQ,M,4IAWXlB,KAAAmB,kBAAoB,KACpBnB,KAAAoB,4BAA8B,KAuK9BpB,KAAAqB,WAAa,IAAMrB,KAAKsB,UAAYC,EAAevB,KAAKwB,cAYxDxB,KAAAyB,2BAA6B,CAACC,EAAU,SAC9C,IAAK1B,KAAK2B,WAAa3B,KAAK4B,QAAS,OAErC,GAAIF,EAAS1B,KAAK6B,QA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,E,CAG1B,iBAAArT,GACEC,KAAK+S,aAAe/S,KAAKE,GAAGsC,UAAUK,IAAI7C,KAAK+S,Y,CAGjD,MAAA3S,GACE,OACEC,EAACC,EAAI,CACHoD,MAAO,CACL6N,OAAQvR,KAAK0T,SAAW,aAAe,aACvCK,QAAS/T,KAAK0K,SAAW,QAAU,SAGrCrK,EAAA,OACE6Q,MAAOC,EAAc,CACnB,mBACAnR,KAAKwQ,UAAY,6BACjBxQ,KAAK0K,UAAY,6BACjB1K,KAAK8H,QAAU,2BACf9H,KAAKwS,oBAAsB,iCAC3BxS,KAAK0T,UAAY,2BACjB1T,KAAK8G,MAAQ,qBAAqB9G,KAAK8G,SAEzCsK,KAAK,UAEJpR,KAAK8H,QACJzH,EAAA,OAAK6Q,MAAM,sCACT7Q,EAAA,yBACiBL,KAAKwS,mBAAqB3J,UAAY,UAAS,aAClD7I,KAAK4M,UAAY5M,KAAK0S,iBAAmB7J,UACrDD,KAAK,OACLmI,YAAa/Q,KAAK4S,kBAClB1B,MAAM,iCACNE,KAAK,yBACL4C,QAAShU,KAAKmT,oBAEfnT,KAAK4M,WACJvM,EAAA,aACEuR,QAAS5R,KAAKsT,aACdxM,KAAK,KACLoK,MAAM,kCAAiC,aAC3BlR,KAAKyS,mBAEjBpS,EAAA,WACE6Q,MAAM,gCACNO,KAAK,eACL3K,KAAK,MAELzG,EAAA,OAAK+R,QAAQ,cAAcD,KAAK,QAC9B9R,EAAA,QACEiS,EAAE,yBACFD,OAAO,eAAc,eACR,IAAG,iBACD,QAAO,kBACN,cAQ9BhS,EAAA,OACE6Q,MAAM,qCACNE,KAAK,2BAEL/Q,EAAA,aACAA,EAAA,OACE6Q,MAAM,2BACNxN,MAAO,CAAES,OAAQnE,KAAK0T,SAAW,OAAS1T,KAAK8T,cAC/C1C,KAAK,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-24dedd5e.entry.js b/1704966176737/dist/build/p-24dedd5e.entry.js deleted file mode 100644 index 7bdbe0d841..0000000000 --- a/1704966176737/dist/build/p-24dedd5e.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as l,c as t,h as o,H as i,g as e}from"./p-21a69c18.js";import{g as d}from"./p-1133c92e.js";import{c as a}from"./p-71026bf3.js";import{r as n}from"./p-8dc70a87.js";import{i as s}from"./p-b05f0e4e.js";const r=':host{display:contents}@keyframes ld-modal-in{0%{transform:translateY(2rem)}to{transform:translateY(0)}}@keyframes ld-modal-out{0%{transform:scale(1)}to{transform:scale(.9)}}@keyframes ld-modal-out-mobile{0%{transform:translateY(0)}to{transform:translateY(2rem)}}:host,dialog.ld-modal{--ld-modal-bg-col:var(--ld-col-wht);--ld-modal-fixed-padding-x:var(--ld-sp-16);--ld-modal-fixed-padding-y:var(--ld-sp-16);--ld-modal-padding-x:var(--ld-sp-16);--ld-modal-padding-y:var(--ld-sp-24);--ld-modal-fixed-bg-col:var(--ld-col-neutral-010);--ld-modal-transition-duration:var(--ld-transition-duration-instant);--ld-modal-max-inline-size:30rem;--ld-modal-max-block-size:70rem;--ld-modal-min-inline-size:18rem}@media (prefers-reduced-motion:no-preference){:host,dialog.ld-modal{--ld-modal-transition-duration:var(--ld-transition-duration-normal)}}:host dialog,dialog.ld-modal{animation:ld-modal-in var(--ld-modal-transition-duration) ease-out forwards;border:0;border-radius:var(--ld-br-l);box-shadow:var(--ld-shadow-active);color:var(--ld-col-neutral-900);color-scheme:var(--ld-modal-color-scheme,none);display:flex;flex-direction:column;inset:0;margin:auto;max-block-size:min(calc(100% - var(--ld-sp-24) - var(--ld-sp-40)),var(--ld-modal-max-block-size));max-inline-size:min(calc(100% - var(--ld-sp-32)),var(--ld-modal-max-inline-size));min-inline-size:var(--ld-modal-min-inline-size);overflow:visible;padding:0;position:fixed;transition:opacity var(--ld-modal-transition-duration) linear,transform var(--ld-modal-transition-duration) ease;z-index:2147483647}@media (width <= 32rem){:host dialog,dialog.ld-modal{margin-bottom:var(--ld-sp-40)}}:host dialog:not([open]),dialog.ld-modal:not([open]){animation:ld-modal-out var(--ld-modal-transition-duration) ease-in forwards;opacity:0;pointer-events:none;transition:opacity var(--ld-modal-transition-duration) linear,visibility 0s var(--ld-modal-transition-duration) linear,transform var(--ld-modal-transition-duration) ease;visibility:hidden}@media (width <= 32rem){:host dialog:not([open]),dialog.ld-modal:not([open]){animation-name:ld-modal-out-mobile}}:host dialog:after,dialog.ld-modal:after{background-color:var(--ld-modal-bg-col);border-radius:inherit;content:"";inset:0;position:absolute;z-index:-1}:host dialog:before,dialog.ld-modal:before{background-color:var(--ld-thm-primary-active);content:"";inset:0;opacity:.3;position:fixed;transform:scale(99);z-index:-2}:host(.ld-modal--blurry-backdrop) dialog::backdrop,dialog.ld-modal--blurry-backdrop::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.ld-modal__x{-webkit-appearance:none;appearance:none;background-color:initial;border:var(--ld-sp-8) solid #0000;box-sizing:border-box;cursor:pointer;display:inline-flex;height:3rem;margin:auto calc(var(--ld-sp-16) * -1) auto auto;overflow:hidden;place-self:flex-start flex-end;position:relative;width:3rem}.ld-modal__x:after,.ld-modal__x:before{background-color:var(--ld-col-neutral-900);border-radius:1rem;content:"";display:block;height:1.25rem;left:50%;position:absolute;top:50%;width:.15rem}.ld-modal__x:before{transform:translateX(-50%) translateY(-50%) rotate(45deg)}.ld-modal__x:after{transform:translateX(-50%) translateY(-50%) rotate(-45deg)}.ld-modal__content{flex-grow:1;overflow:hidden auto;overscroll-behavior:none;padding:var(--ld-modal-padding-y) var(--ld-modal-padding-x)}.ld-modal__footer,.ld-modal__header{align-items:center;background-color:var(--ld-modal-fixed-bg-col);display:grid;gap:var(--ld-modal-fixed-padding-x);grid-auto-flow:column;padding:0 var(--ld-modal-fixed-padding-x)}.ld-modal__header{border-radius:var(--ld-br-l) var(--ld-br-l) 0 0}.ld-modal__header>::slotted(:not(.ld-modal__x)),.ld-modal__header>:not(.ld-modal__x){padding:var(--ld-sp-12) 0}.ld-modal__footer{border-radius:0 0 var(--ld-br-l) var(--ld-br-l);justify-content:flex-end}.ld-modal__footer>*,.ld-modal__footer>::slotted(*){margin:var(--ld-modal-fixed-padding-y) 0}';const g=class{constructor(o){l(this,o);this.ldmodalopening=t(this,"ldmodalopening",7);this.ldmodalopened=t(this,"ldmodalopened",7);this.ldmodalclosing=t(this,"ldmodalclosing",7);this.ldmodalclosed=t(this,"ldmodalclosed",7);this.handleClose=()=>{this.open=false};this.handleCancel=l=>{if(!this.cancelable){l.preventDefault()}};this.handleClick=l=>{if(this.cancelable&&l.target.tagName==="DIALOG"){this.close()}};this.handleTransitionEnd=()=>{if(this.open){this.ldmodalopened.emit()}else{this.ldmodalclosed.emit()}};this.cancelable=true;this.open=undefined;this.blurryBackdrop=false}async showModal(){this.open=true}async close(){this.open=false}handleKeyDown(l){if(l.key==="Escape"&&this.cancelable){this.open=false}}onOpenChange(l){if(l){this.dialogRef.showModal();this.ldmodalopening.emit()}else{this.dialogRef.close();this.ldmodalclosing.emit()}}componentDidLoad(){this.dialogRef.addEventListener("cancel",this.handleCancel)}disconnectedCallback(){if(this.dialogRef){this.dialogRef.removeEventListener("cancel",this.handleCancel)}}render(){const l=d(["ld-modal",this.blurryBackdrop&&"ld-modal--blurry-backdrop"]);return o(i,{class:l},o("dialog",{onClick:this.handleClick,onClose:this.handleClose,onTransitionEnd:this.handleTransitionEnd,open:this.open,part:"dialog",ref:l=>this.dialogRef=l},o("header",{class:"ld-modal__header",part:"header"},o("slot",{name:"header"}),this.cancelable&&o("button",{class:"ld-modal__x","aria-label":"Dismiss",onClick:this.close.bind(this)})),o("div",{class:"ld-modal__content",part:"content"},o("slot",null)),o("footer",{class:"ld-modal__footer",part:"footer"},o("slot",{name:"footer"}))))}get el(){return e(this)}static get watchers(){return{open:["onOpenChange"]}}};g.style=r;const c='.ld-toggle,:host{--ld-toggle-height:2rem;--ld-toggle-width:3.375rem;--ld-toggle-inner-space:0.125rem;--ld-toggle-with-icons-width:4.5rem;--ld-toggle-lg-height:2.5rem;--ld-toggle-lg-width:4.1875rem;--ld-toggle-lg-inner-space:0.1875rem;--ld-toggle-lg-with-icons-width:6rem;--ld-toggle-border-radius:var(--ld-br-full);--ld-toggle-knob-border-radius:var(--ld-br-full);--ld-toggle-input-bg-col:var(--ld-col-neutral-600);--ld-toggle-icon-start-col:var(--ld-col-wht);--ld-toggle-icon-end-col:var(--ld-col-neutral-900);--ld-toggle-knob-bg-col:var(--ld-col-wht);--ld-toggle-checked-icon-start-col:var(--ld-col-neutral-900);--ld-toggle-checked-icon-end-col:var(--ld-col-wht);--ld-toggle-disabled-input-bg-col:var(--ld-col-neutral-050);--ld-toggle-disabled-icon-col:var(--ld-col-neutral-200);--ld-toggle-disabled-knob-bg-col:var(--ld-col-wht);--ld-toggle-with-icons-input-bg-col:var(--ld-col-neutral-100);--ld-toggle-with-icons-disabled-input-bg-col:var(--ld-col-neutral-050);--ld-toggle-checked-bg-col:var(--ld-thm-primary);--ld-toggle-invalid-input-bg-col:var(--ld-thm-error);--ld-toggle-invalid-knob-bg-col:var(--ld-thm-error);--ld-toggle-with-icons-knob-col:var(--ld-thm-primary);align-items:center;display:flex;height:var(--ld-toggle-height);min-width:auto!important;position:relative;width:var(--ld-toggle-width)}.ld-toggle input,:host input{-webkit-appearance:none;appearance:none;background-color:var(--ld-toggle-input-bg-col);border-radius:var(--ld-toggle-border-radius);height:100%;margin:0;position:absolute;transition:background-color var(--ld-transition-duration-normal) ease-in-out;width:100%;z-index:0}.ld-toggle input:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))),:host input:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))){cursor:pointer}.ld-toggle input:checked,:host input:checked{background-color:var(--ld-toggle-checked-bg-col)}.ld-toggle input:checked:disabled,.ld-toggle input:checked[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])),:host input:checked:disabled,:host input:checked[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])){background-color:var(--ld-toggle-disabled-input-bg-col)}.ld-toggle input:checked~.ld-toggle__knob,:host input:checked~.ld-toggle__knob{transform:translateX(calc(var(--ld-toggle-width) - var(--ld-toggle-height)))}.ld-toggle input:checked~.ld-toggle__icon-start,:host input:checked~.ld-toggle__icon-start{color:var(--ld-toggle-checked-icon-start-col)}.ld-toggle input:checked~.ld-toggle__icon-end,:host input:checked~.ld-toggle__icon-end{color:var(--ld-toggle-checked-icon-end-col)}.ld-toggle input:disabled,.ld-toggle input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])),:host input:disabled,:host input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])){background-color:var(--ld-toggle-disabled-input-bg-col)}.ld-toggle input:disabled:checked~.ld-toggle__icon-end,.ld-toggle input:disabled:checked~.ld-toggle__icon-start,.ld-toggle input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):checked~.ld-toggle__icon-end,.ld-toggle input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):checked~.ld-toggle__icon-start,:host input:disabled:checked~.ld-toggle__icon-end,:host input:disabled:checked~.ld-toggle__icon-start,:host input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):checked~.ld-toggle__icon-end,:host input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):checked~.ld-toggle__icon-start{color:var(--ld-toggle-disabled-icon-col)}.ld-toggle input:disabled:not(:checked)~.ld-toggle__icon-end,.ld-toggle input:disabled:not(:checked)~.ld-toggle__icon-start,.ld-toggle input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):not(:checked)~.ld-toggle__icon-end,.ld-toggle input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):not(:checked)~.ld-toggle__icon-start,:host input:disabled:not(:checked)~.ld-toggle__icon-end,:host input:disabled:not(:checked)~.ld-toggle__icon-start,:host input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):not(:checked)~.ld-toggle__icon-end,:host input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])):not(:checked)~.ld-toggle__icon-start{color:var(--ld-toggle-disabled-icon-col)}.ld-toggle .ld-toggle__knob,:host .ld-toggle__knob{background-color:var(--ld-toggle-knob-bg-col);border-radius:var(--ld-toggle-knob-border-radius);display:block;height:calc(var(--ld-toggle-height) - var(--ld-toggle-inner-space) * 2);margin:var(--ld-toggle-inner-space);pointer-events:none;transition:transform var(--ld-transition-duration-normal) ease-in-out;width:calc(var(--ld-toggle-height) - var(--ld-toggle-inner-space) * 2);z-index:1}.ld-toggle input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):invalid,:host input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))):invalid{background-color:var(--ld-toggle-invalid-input-bg-col)}.ld-toggle--lg,:host(.ld-toggle--lg){--ld-toggle-height:var(--ld-toggle-lg-height);--ld-toggle-width:var(--ld-toggle-lg-width);--ld-toggle-inner-space:var(--ld-toggle-lg-inner-space)}.ld-toggle--lg.ld-toggle--with-icons,:host(.ld-toggle--lg.ld-toggle--with-icons){--ld-toggle-width:var(--ld-toggle-lg-with-icons-width)}.ld-toggle--lg.ld-toggle--with-icons .ld-toggle__icon-end,.ld-toggle--lg.ld-toggle--with-icons .ld-toggle__icon-start,:host(.ld-toggle--lg.ld-toggle--with-icons) .ld-toggle__icon-end,:host(.ld-toggle--lg.ld-toggle--with-icons) .ld-toggle__icon-start{margin:auto .75rem}.ld-toggle--with-icons,:host(.ld-toggle--with-icons){--ld-toggle-width:var(--ld-toggle-with-icons-width)}.ld-toggle--with-icons input:not(:disabled),:host(.ld-toggle--with-icons) input:not(:disabled){background-color:var(--ld-toggle-with-icons-input-bg-col)}.ld-toggle--with-icons input:invalid~.ld-toggle__knob,:host(.ld-toggle--with-icons) input:invalid~.ld-toggle__knob{background-color:var(--ld-toggle-invalid-knob-bg-col)}.ld-toggle--with-icons input:disabled,.ld-toggle--with-icons input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])),:host(.ld-toggle--with-icons) input:disabled,:host(.ld-toggle--with-icons) input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])){background-color:var(--ld-toggle-with-icons-disabled-input-bg-col)}.ld-toggle--with-icons input:disabled~.ld-toggle__knob,.ld-toggle--with-icons input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))~.ld-toggle__knob,:host(.ld-toggle--with-icons) input:disabled~.ld-toggle__knob,:host(.ld-toggle--with-icons) input[aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))~.ld-toggle__knob{background-color:var(--ld-toggle-disabled-knob-bg-col)}.ld-toggle--with-icons .ld-toggle__knob,:host(.ld-toggle--with-icons) .ld-toggle__knob{background-color:var(--ld-toggle-with-icons-knob-col)}.ld-toggle--with-icons .ld-toggle__icon-end,.ld-toggle--with-icons .ld-toggle__icon-start,:host(.ld-toggle--with-icons) .ld-toggle__icon-end,:host(.ld-toggle--with-icons) .ld-toggle__icon-start{margin:auto .5rem}.ld-toggle__icon-end,.ld-toggle__icon-start{align-items:center;display:flex;pointer-events:none;position:absolute;transition:color var(--ld-transition-duration-normal) ease-in-out;z-index:1}.ld-toggle__icon-end:empty,.ld-toggle__icon-start:empty{display:none}.ld-toggle__icon-start{color:var(--ld-toggle-icon-start-col);left:0}.ld-toggle__icon-end{color:var(--ld-toggle-icon-end-col);right:0}';const h=class{constructor(o){l(this,o);this.ldchange=t(this,"ldchange",7);this.ldinput=t(this,"ldinput",7);this.handleChange=l=>{this.el.dispatchEvent(new InputEvent("change",l));this.ldchange.emit(this.checked)};this.handleClick=l=>{if(s(this.ariaDisabled)){l.preventDefault();return}this.checked=!this.checked;if(!l.isTrusted){this.el.dispatchEvent(new InputEvent("input",{bubbles:true,composed:true}));this.handleInput();this.el.dispatchEvent(new InputEvent("change",{bubbles:true}));this.ldchange.emit(this.checked)}};this.handleInput=()=>{this.ldinput.emit(this.checked)};this.ariaDisabled=undefined;this.autofocus=undefined;this.checked=false;this.disabled=undefined;this.form=undefined;this.invalid=undefined;this.ldTabindex=undefined;this.name=undefined;this.readonly=undefined;this.required=undefined;this.size=undefined;this.value=undefined;this.clonedAttributes=undefined}async focusInner(){if(this.input!==undefined){this.input.focus()}}updateHiddenInput(){const l=this.el.closest("form");if(!this.hiddenInput&&this.name&&(l||this.form)){this.createHiddenInput()}if(this.hiddenInput){if(!this.name){this.hiddenInput.remove();this.hiddenInput=undefined;return}this.hiddenInput.name=this.name;this.hiddenInput.checked=this.checked;if(this.value){this.hiddenInput.value=this.value}else{this.hiddenInput.removeAttribute("value")}if(this.form){this.hiddenInput.setAttribute("form",this.form)}else if(this.hiddenInput.getAttribute("form")){if(l){this.hiddenInput.removeAttribute("form")}else{this.hiddenInput.remove();this.hiddenInput=undefined}}}}createHiddenInput(){this.hiddenInput=document.createElement("input");this.hiddenInput.type="checkbox";this.hiddenInput.style.visibility="hidden";this.hiddenInput.style.position="absolute";this.hiddenInput.style.pointerEvents="none";this.el.appendChild(this.hiddenInput)}componentWillLoad(){this.attributesObserver=a.call(this,["size"]);this.hasIcons=!!this.el.querySelector('[slot="icon-start"]')||!!this.el.querySelector('[slot="icon-end"]');const l=this.el.closest("form");if(this.name&&(l||this.form)){this.createHiddenInput();this.hiddenInput.checked=this.checked;this.hiddenInput.name=this.name;if(this.form){this.hiddenInput.setAttribute("form",this.form)}if(this.value){this.hiddenInput.value=this.value}}n(this.autofocus)}disconnectedCallback(){if(this.attributesObserver)this.attributesObserver.disconnect()}render(){return o(i,{class:d(["ld-toggle",this.size==="lg"&&"ld-toggle--lg",this.hasIcons&&"ld-toggle--with-icons"]),onClick:this.handleClick},o("input",Object.assign({},this.clonedAttributes,{"aria-disabled":this.ariaDisabled,checked:this.checked,disabled:this.disabled,onChange:this.handleChange,onInput:this.handleInput,part:"input focusable",ref:l=>this.input=l,required:this.required,tabIndex:this.ldTabindex,type:"checkbox",value:this.value})),o("span",{class:"ld-toggle__knob",part:"knob"}),this.hasIcons&&o("div",{class:"ld-toggle__icon-start",part:"icon-wrapper icon-wrapper-start"},o("slot",{name:"icon-start"})),this.hasIcons&&o("div",{class:"ld-toggle__icon-end",part:"icon-wrapper icon-wrapper-end"},o("slot",{name:"icon-end"})))}get el(){return e(this)}static get watchers(){return{checked:["updateHiddenInput"],name:["updateHiddenInput"],value:["updateHiddenInput"]}}};h.style=c;export{g as ld_modal,h as ld_toggle}; -//# sourceMappingURL=p-24dedd5e.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-24dedd5e.entry.js.map b/1704966176737/dist/build/p-24dedd5e.entry.js.map deleted file mode 100644 index fb45328ca9..0000000000 --- a/1704966176737/dist/build/p-24dedd5e.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldModalCss","LdModal","this","handleClose","open","handleCancel","ev","cancelable","preventDefault","handleClick","target","tagName","close","handleTransitionEnd","ldmodalopened","emit","ldmodalclosed","showModal","handleKeyDown","key","onOpenChange","dialogRef","ldmodalopening","ldmodalclosing","componentDidLoad","addEventListener","disconnectedCallback","removeEventListener","render","cl","getClassNames","blurryBackdrop","h","Host","class","onClick","onClose","onTransitionEnd","part","ref","el","name","bind","ldToggleCss","LdToggle","handleChange","event","dispatchEvent","InputEvent","ldchange","checked","isAriaDisabled","ariaDisabled","isTrusted","bubbles","composed","handleInput","ldinput","focusInner","input","undefined","focus","updateHiddenInput","outerForm","closest","hiddenInput","form","createHiddenInput","remove","value","removeAttribute","setAttribute","getAttribute","document","createElement","type","style","visibility","position","pointerEvents","appendChild","componentWillLoad","attributesObserver","cloneAttributes","call","hasIcons","querySelector","registerAutofocus","autofocus","disconnect","size","Object","assign","clonedAttributes","disabled","onChange","onInput","required","tabIndex","ldTabindex"],"sources":["../src/liquid/components/ld-modal/ld-modal.css?tag=ld-modal&encapsulation=shadow","../src/liquid/components/ld-modal/ld-modal.tsx","../src/liquid/components/ld-toggle/ld-toggle.css?tag=ld-toggle&encapsulation=shadow","../src/liquid/components/ld-toggle/ld-toggle.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n\n@keyframes ld-modal-in {\n from {\n transform: translateY(2rem);\n }\n\n to {\n transform: translateY(0);\n }\n}\n\n@keyframes ld-modal-out {\n from {\n transform: scale(1);\n }\n\n to {\n transform: scale(0.9);\n }\n}\n\n@keyframes ld-modal-out-mobile {\n from {\n transform: translateY(0);\n }\n\n to {\n transform: translateY(2rem);\n }\n}\n\ndialog.ld-modal,\n:host {\n --ld-modal-bg-col: var(--ld-col-wht);\n --ld-modal-fixed-padding-x: var(--ld-sp-16);\n --ld-modal-fixed-padding-y: var(--ld-sp-16);\n --ld-modal-padding-x: var(--ld-sp-16);\n --ld-modal-padding-y: var(--ld-sp-24);\n --ld-modal-fixed-bg-col: var(--ld-col-neutral-010);\n --ld-modal-transition-duration: var(--ld-transition-duration-instant);\n --ld-modal-max-inline-size: 30rem;\n --ld-modal-max-block-size: 70rem;\n --ld-modal-min-inline-size: 18rem;\n\n @media (prefers-reduced-motion: no-preference) {\n --ld-modal-transition-duration: var(--ld-transition-duration-normal);\n }\n}\n\ndialog.ld-modal,\n:host dialog {\n /* overwrites */\n border: 0;\n color: var(--ld-col-neutral-900);\n color-scheme: var(--ld-modal-color-scheme, none);\n display: flex; /* allows for transitions */\n flex-direction: column;\n inset: 0; /* keeps the dialog positioned correctly during closing transition */\n margin: auto;\n overflow: visible; /* required due to scalehack */\n padding: 0;\n position: fixed; /* makes sure it stays fixed during closing transition */\n z-index: 2147483647; /* makes sure it is not overlapped during closing transition */\n\n animation: ld-modal-in var(--ld-modal-transition-duration) ease-out forwards;\n border-radius: var(--ld-br-l);\n box-shadow: var(--ld-shadow-active);\n\n /* dimensions */\n max-block-size: min(\n /* account for additional margin bottom on mobile */\n calc(100% - var(--ld-sp-24) - var(--ld-sp-40)),\n var(--ld-modal-max-block-size)\n );\n max-inline-size: min(\n calc(100% - var(--ld-sp-32)),\n var(--ld-modal-max-inline-size)\n );\n min-inline-size: var(--ld-modal-min-inline-size);\n\n transition: opacity var(--ld-modal-transition-duration) linear,\n transform var(--ld-modal-transition-duration) ease;\n\n @media (width <= 32rem) {\n /*\n On mobile we place the dialog at the bottom of the screen\n so that it is easier for the user to interact with it. */\n margin-bottom: var(--ld-sp-40);\n }\n\n &:not([open]) {\n animation: ld-modal-out var(--ld-modal-transition-duration) ease-in forwards;\n opacity: 0;\n pointer-events: none;\n transition: opacity var(--ld-modal-transition-duration) linear,\n visibility 0s var(--ld-modal-transition-duration) linear,\n transform var(--ld-modal-transition-duration) ease;\n visibility: hidden;\n\n @media (width <= 32rem) {\n /*\n On mobile, since the dialog is placed at the bottom of the screen,\n we transition it out slightly differently than on wide view ports. */\n animation-name: ld-modal-out-mobile;\n }\n }\n\n &::after {\n background-color: var(--ld-modal-bg-col);\n border-radius: inherit;\n content: '';\n inset: 0;\n position: absolute;\n z-index: -1;\n }\n\n &::before {\n background-color: var(--ld-thm-primary-active);\n content: '';\n inset: 0;\n opacity: 0.3;\n position: fixed;\n transform: scale(99); /* scalehack required due to animation */\n z-index: -2;\n }\n}\n\ndialog.ld-modal--blurry-backdrop,\n:host(.ld-modal--blurry-backdrop) dialog {\n &::backdrop {\n backdrop-filter: blur(5px);\n }\n}\n\n/* custom icon cross */\n.ld-modal__x {\n place-self: flex-start flex-end;\n appearance: none;\n background-color: transparent;\n border: solid transparent var(--ld-sp-8);\n box-sizing: border-box;\n cursor: pointer;\n display: inline-flex;\n height: 3rem;\n margin: auto calc(var(--ld-sp-16) * -1) auto auto;\n overflow: hidden;\n position: relative;\n width: 3rem;\n\n &::before,\n &::after {\n border-radius: 1rem;\n background-color: var(--ld-col-neutral-900);\n content: '';\n display: block;\n height: 1.25rem;\n left: 50%;\n position: absolute;\n top: 50%;\n width: 0.15rem;\n }\n\n &::before {\n transform: translateX(-50%) translateY(-50%) rotate(45deg);\n }\n\n &::after {\n transform: translateX(-50%) translateY(-50%) rotate(-45deg);\n }\n}\n\n.ld-modal__content {\n flex-grow: 1;\n overflow: hidden auto;\n overscroll-behavior: none;\n padding: var(--ld-modal-padding-y) var(--ld-modal-padding-x);\n}\n\n.ld-modal__header,\n.ld-modal__footer {\n align-items: center;\n background-color: var(--ld-modal-fixed-bg-col);\n display: grid;\n grid-auto-flow: column;\n gap: var(--ld-modal-fixed-padding-x);\n padding: 0 var(--ld-modal-fixed-padding-x);\n}\n\n.ld-modal__header {\n border-radius: var(--ld-br-l) var(--ld-br-l) 0 0;\n\n > *:not(.ld-modal__x),\n > ::slotted(*:not(.ld-modal__x)) {\n padding: var(--ld-sp-12) 0;\n }\n}\n\n.ld-modal__footer {\n border-radius: 0 0 var(--ld-br-l) var(--ld-br-l);\n justify-content: flex-end;\n\n > *,\n > ::slotted(*) {\n margin: var(--ld-modal-fixed-padding-y) 0;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part dialog - Actual `dialog` element\n * @part content - `div` element wrapping the default slot\n * @part footer - `footer` element\n * @part header - `header` element\n */\n@Component({\n tag: 'ld-modal',\n styleUrl: 'ld-modal.css',\n shadow: true,\n})\nexport class LdModal {\n @Element() el: HTMLElement\n private dialogRef: HTMLDialogElement\n\n /** The modal is cancelable by default. However, you can change this using this prop. */\n @Prop() cancelable? = true\n\n /** Indicates that the modal dialog is active and can be interacted with. */\n @Prop({ mutable: true, reflect: true }) open?: boolean\n\n /** Use a blurry backdrop. */\n @Prop() blurryBackdrop? = false\n\n /** Emitted when modal is opening (before transition). */\n @Event() ldmodalopening: EventEmitter\n\n /** Emitted when modal has opened (after transition). */\n @Event() ldmodalopened: EventEmitter\n\n /** Emitted when modal is closing (before transition). */\n @Event() ldmodalclosing: EventEmitter\n\n /** Emitted when modal has closed (after transition). */\n @Event() ldmodalclosed: EventEmitter\n\n /** Opens the modal dialog. */\n @Method()\n async showModal() {\n this.open = true\n }\n\n /** Closes the modal dialog. */\n @Method()\n async close() {\n this.open = false\n }\n\n @Listen('keydown', { passive: true, target: 'window' })\n handleKeyDown(ev: KeyboardEvent) {\n if (ev.key === 'Escape' && this.cancelable) {\n this.open = false\n }\n }\n\n @Watch('open')\n onOpenChange(open: boolean) {\n // Calling the showModal and close methods on the dialog element here\n // is super important, because these make the native focus trap and\n // the backdrop feature work.\n // TODO: Remove @ts-ignore comments as soon as TS types get updated.\n if (open) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.dialogRef.showModal()\n this.ldmodalopening.emit()\n } else {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.dialogRef.close()\n this.ldmodalclosing.emit()\n }\n }\n\n private handleClose = () => {\n // When the dialog is closed with the Esc key we need to\n // update the open prop explicitly.\n this.open = false\n }\n\n private handleCancel = (ev: Event) => {\n if (!this.cancelable) {\n ev.preventDefault()\n }\n }\n\n private handleClick = (ev: MouseEvent) => {\n if (this.cancelable && (ev.target as HTMLElement).tagName === 'DIALOG') {\n this.close()\n }\n }\n\n private handleTransitionEnd = () => {\n if (this.open) {\n this.ldmodalopened.emit()\n } else {\n this.ldmodalclosed.emit()\n }\n }\n\n componentDidLoad() {\n this.dialogRef.addEventListener('cancel', this.handleCancel)\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.dialogRef) {\n this.dialogRef.removeEventListener('cancel', this.handleCancel)\n }\n }\n\n render() {\n const cl = getClassNames([\n 'ld-modal',\n this.blurryBackdrop && 'ld-modal--blurry-backdrop',\n ])\n\n return (\n \n (this.dialogRef = el as HTMLDialogElement)}\n >\n
    \n \n {this.cancelable && (\n \n )}\n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n )\n }\n}\n",":host,\n.ld-toggle {\n /* layout */\n --ld-toggle-height: 2rem;\n --ld-toggle-width: 3.375rem;\n --ld-toggle-inner-space: 0.125rem;\n --ld-toggle-with-icons-width: 4.5rem;\n --ld-toggle-lg-height: 2.5rem;\n --ld-toggle-lg-width: 4.1875rem;\n --ld-toggle-lg-inner-space: 0.1875rem;\n --ld-toggle-lg-with-icons-width: 6rem;\n --ld-toggle-border-radius: var(--ld-br-full);\n --ld-toggle-knob-border-radius: var(--ld-br-full);\n\n /* colors */\n --ld-toggle-input-bg-col: var(--ld-col-neutral-600);\n --ld-toggle-icon-start-col: var(--ld-col-wht);\n --ld-toggle-icon-end-col: var(--ld-col-neutral-900);\n --ld-toggle-knob-bg-col: var(--ld-col-wht);\n --ld-toggle-checked-icon-start-col: var(--ld-col-neutral-900);\n --ld-toggle-checked-icon-end-col: var(--ld-col-wht);\n --ld-toggle-disabled-input-bg-col: var(--ld-col-neutral-050);\n --ld-toggle-disabled-icon-col: var(--ld-col-neutral-200);\n --ld-toggle-disabled-knob-bg-col: var(--ld-col-wht);\n --ld-toggle-with-icons-input-bg-col: var(--ld-col-neutral-100);\n --ld-toggle-with-icons-disabled-input-bg-col: var(--ld-col-neutral-050);\n\n /* themable colors */\n --ld-toggle-checked-bg-col: var(--ld-thm-primary);\n --ld-toggle-invalid-input-bg-col: var(--ld-thm-error);\n --ld-toggle-invalid-knob-bg-col: var(--ld-thm-error);\n --ld-toggle-with-icons-knob-col: var(--ld-thm-primary);\n\n align-items: center;\n display: flex;\n height: var(--ld-toggle-height);\n min-width: auto !important;\n position: relative;\n width: var(--ld-toggle-width);\n\n input {\n appearance: none;\n background-color: var(--ld-toggle-input-bg-col);\n border-radius: var(--ld-toggle-border-radius);\n height: 100%;\n margin: 0;\n position: absolute;\n /* animations triggered by user interactions on single component instances are probably not a performance issue */\n /* stylelint-disable-next-line plugin/no-low-performance-animation-properties */\n transition: background-color var(--ld-transition-duration-normal)\n ease-in-out;\n width: 100%;\n z-index: 0;\n\n &:not(\n :disabled,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n cursor: pointer;\n }\n\n &:checked {\n background-color: var(--ld-toggle-checked-bg-col);\n\n &:disabled,\n &[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n ) {\n background-color: var(--ld-toggle-disabled-input-bg-col);\n }\n\n ~ .ld-toggle__knob {\n transform: translateX(\n calc(var(--ld-toggle-width) - var(--ld-toggle-height))\n );\n }\n\n ~ .ld-toggle__icon-start {\n color: var(--ld-toggle-checked-icon-start-col);\n }\n\n ~ .ld-toggle__icon-end {\n color: var(--ld-toggle-checked-icon-end-col);\n }\n }\n\n &:disabled,\n &[aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false'])) {\n background-color: var(--ld-toggle-disabled-input-bg-col);\n\n &:checked ~ .ld-toggle__icon-start,\n &:checked ~ .ld-toggle__icon-end {\n color: var(--ld-toggle-disabled-icon-col);\n }\n\n &:not(:checked) ~ .ld-toggle__icon-start,\n &:not(:checked) ~ .ld-toggle__icon-end {\n color: var(--ld-toggle-disabled-icon-col);\n }\n }\n }\n\n .ld-toggle__knob {\n background-color: var(--ld-toggle-knob-bg-col);\n border-radius: var(--ld-toggle-knob-border-radius);\n display: block;\n height: calc(var(--ld-toggle-height) - var(--ld-toggle-inner-space) * 2);\n margin: var(--ld-toggle-inner-space);\n pointer-events: none;\n transition: transform var(--ld-transition-duration-normal) ease-in-out;\n width: calc(var(--ld-toggle-height) - var(--ld-toggle-inner-space) * 2);\n z-index: 1;\n }\n\n input:where(\n :not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ):invalid {\n background-color: var(--ld-toggle-invalid-input-bg-col);\n }\n}\n\n.ld-toggle--lg {\n &,\n :host(&) {\n --ld-toggle-height: var(--ld-toggle-lg-height);\n --ld-toggle-width: var(--ld-toggle-lg-width);\n --ld-toggle-inner-space: var(--ld-toggle-lg-inner-space);\n }\n\n &.ld-toggle--with-icons {\n &,\n :host(&) {\n --ld-toggle-width: var(--ld-toggle-lg-with-icons-width);\n\n .ld-toggle__icon-start,\n .ld-toggle__icon-end {\n margin: auto 0.75rem;\n }\n }\n }\n}\n\n:host(.ld-toggle--with-icons),\n.ld-toggle--with-icons {\n --ld-toggle-width: var(--ld-toggle-with-icons-width);\n\n input {\n &:not(:disabled) {\n background-color: var(--ld-toggle-with-icons-input-bg-col);\n }\n\n &:invalid ~ .ld-toggle__knob {\n background-color: var(--ld-toggle-invalid-knob-bg-col);\n }\n\n &:disabled,\n &[aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false'])) {\n background-color: var(--ld-toggle-with-icons-disabled-input-bg-col);\n\n ~ .ld-toggle__knob {\n background-color: var(--ld-toggle-disabled-knob-bg-col);\n }\n }\n }\n\n .ld-toggle__knob {\n background-color: var(--ld-toggle-with-icons-knob-col);\n }\n\n .ld-toggle__icon-start,\n .ld-toggle__icon-end {\n margin: auto 0.5rem;\n }\n}\n\n.ld-toggle__icon-start,\n.ld-toggle__icon-end {\n display: flex;\n align-items: center;\n pointer-events: none;\n position: absolute;\n /* animations triggered by user interactions on single component instances are probably not a performance issue */\n /* stylelint-disable-next-line plugin/no-low-performance-animation-properties */\n transition: color var(--ld-transition-duration-normal) ease-in-out;\n z-index: 1;\n\n &:empty {\n display: none;\n }\n}\n\n.ld-toggle__icon-start {\n color: var(--ld-toggle-icon-start-col);\n left: 0;\n}\n\n.ld-toggle__icon-end {\n color: var(--ld-toggle-icon-end-col);\n right: 0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { cloneAttributes } from '../../utils/cloneAttributes'\nimport { registerAutofocus } from '../../utils/focus'\nimport { isAriaDisabled } from '../../utils/ariaDisabled'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part input - Actual input element\n * @part knob - Toggle knob\n * @part icon-wrapper - Both wrappers of icons\n * @part icon-wrapper-start - Wrapper of the start icon\n * @part icon-wrapper-end - Wrapper of the end icon\n */\n@Component({\n tag: 'ld-toggle',\n styleUrl: 'ld-toggle.css',\n shadow: true,\n})\nexport class LdToggle implements InnerFocusable, ClonesAttributes {\n @Element() el: HTMLElement\n\n private attributesObserver: MutationObserver\n\n private input: HTMLInputElement\n private hiddenInput: HTMLInputElement\n private hasIcons: boolean\n\n /** Alternative disabled state that keeps element focusable */\n @Prop() ariaDisabled: string\n\n /** Automatically focus the form control when the page is loaded. */\n @Prop({ reflect: true }) autofocus: boolean\n\n /** Indicates whether the toggle is \"on\". */\n @Prop({ mutable: true }) checked? = false\n\n /** Disabled state of the checkbox. */\n @Prop() disabled?: boolean\n\n /** Associates the control with a form element. */\n @Prop() form?: string\n\n /** Set this property to `true` in order to mark the checkbox visually as invalid. */\n @Prop() invalid?: boolean\n\n /** Tab index of the input. */\n @Prop() ldTabindex?: number\n\n /** Used to specify the name of the control. */\n @Prop() name?: string\n\n /** The value is not editable. */\n @Prop() readonly?: boolean\n\n /** Set this property to `true` in order to mark the checkbox as required. */\n @Prop() required?: boolean\n\n /** Size of the toggle. */\n @Prop() size?: 'sm' | 'lg'\n\n /** The input value. */\n @Prop() value?: string\n\n @State() clonedAttributes\n\n /** Emitted when the input value changed and the element loses focus. */\n @Event() ldchange: EventEmitter\n\n /** Emitted when the input value changed. */\n @Event() ldinput: EventEmitter\n\n /** Sets focus on the toggle. */\n @Method()\n async focusInner() {\n if (this.input !== undefined) {\n this.input.focus()\n }\n }\n\n @Watch('checked')\n @Watch('name')\n @Watch('value')\n updateHiddenInput() {\n const outerForm = this.el.closest('form')\n if (!this.hiddenInput && this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n }\n\n if (this.hiddenInput) {\n if (!this.name) {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n return\n }\n\n this.hiddenInput.name = this.name\n this.hiddenInput.checked = this.checked\n\n if (this.value) {\n this.hiddenInput.value = this.value\n } else {\n this.hiddenInput.removeAttribute('value')\n }\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n } else if (this.hiddenInput.getAttribute('form')) {\n if (outerForm) {\n this.hiddenInput.removeAttribute('form')\n } else {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n }\n }\n }\n }\n\n private createHiddenInput() {\n this.hiddenInput = document.createElement('input')\n this.hiddenInput.type = 'checkbox'\n this.hiddenInput.style.visibility = 'hidden'\n this.hiddenInput.style.position = 'absolute'\n this.hiddenInput.style.pointerEvents = 'none'\n this.el.appendChild(this.hiddenInput)\n }\n\n private handleChange = (event: InputEvent) => {\n this.el.dispatchEvent(new InputEvent('change', event))\n this.ldchange.emit(this.checked)\n }\n\n private handleClick = (event: MouseEvent) => {\n if (isAriaDisabled(this.ariaDisabled)) {\n event.preventDefault()\n return\n }\n\n this.checked = !this.checked\n\n if (!event.isTrusted) {\n // This happens, when a click event is dispatched on the host element\n // from the outside i.e. on click on a parent ld-label element.\n this.el.dispatchEvent(\n new InputEvent('input', { bubbles: true, composed: true })\n )\n this.handleInput()\n this.el.dispatchEvent(new InputEvent('change', { bubbles: true }))\n this.ldchange.emit(this.checked)\n }\n }\n\n private handleInput = () => {\n this.ldinput.emit(this.checked)\n }\n\n componentWillLoad() {\n this.attributesObserver = cloneAttributes.call(this, ['size'])\n\n this.hasIcons =\n !!this.el.querySelector('[slot=\"icon-start\"]') ||\n !!this.el.querySelector('[slot=\"icon-end\"]')\n\n const outerForm = this.el.closest('form')\n\n if (this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n this.hiddenInput.checked = this.checked\n this.hiddenInput.name = this.name\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n }\n\n if (this.value) {\n this.hiddenInput.value = this.value\n }\n }\n\n registerAutofocus(this.autofocus)\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n return (\n \n (this.input = ref)}\n required={this.required}\n tabIndex={this.ldTabindex}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AoBhF,KAAKgF,mBAAmBO,Y,CAGvD,MAAA7D,GACE,OACEI,EAACC,EAAI,CACHC,MAAOJ,EAAc,CACnB,YACA5B,KAAKwF,OAAS,MAAQ,gBACtBxF,KAAKmF,UAAY,0BAEnBlD,QAASjC,KAAKO,aAEduB,EAAA,QAAA2D,OAAAC,OAAA,GACM1F,KAAK2F,iBAAgB,iBACV3F,KAAKkD,aACpBF,QAAShD,KAAKgD,QACd4C,SAAU5F,KAAK4F,SACfC,SAAU7F,KAAK2C,aACfmD,QAAS9F,KAAKsD,YACdlB,KAAK,kBACLC,IAAMA,GAASrC,KAAKyD,MAAQpB,EAC5B0D,SAAU/F,KAAK+F,SACfC,SAAUhG,KAAKiG,WACfxB,KAAK,WACLN,MAAOnE,KAAKmE,SAEdrC,EAAA,QAAME,MAAM,kBAAkBI,KAAK,SAClCpC,KAAKmF,UACJrD,EAAA,OACEE,MAAM,wBACNI,KAAK,mCAELN,EAAA,QAAMS,KAAK,gBAGdvC,KAAKmF,UACJrD,EAAA,OAAKE,MAAM,sBAAsBI,KAAK,iCACpCN,EAAA,QAAMS,KAAK,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-2dcf38f5.entry.js.map b/1704966176737/dist/build/p-2dcf38f5.entry.js.map deleted file mode 100644 index 8d16ebffcd..0000000000 --- a/1704966176737/dist/build/p-2dcf38f5.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSidenavBackShadowCss","LdSidenavBack","this","onClick","ldSidenavBack","emit","onKeyDown","ev","includes","key","preventDefault","handleSidenavCollapsedChange","target","sidenav","sidenavCollapsed","detail","collapsed","handleSidenavBreakpointChange","sidenavClosable","updateLabel","text","parentLabel","componentWillLoad","closest","el","rounded","querySelector","render","cl","getClassNames","h","tabIndex","undefined","role","backLabel","class","part","width","height","fill","d","stroke"],"sources":["../src/liquid/components/ld-sidenav/ld-sidenav-back/ld-sidenav-back.shadow.css?tag=ld-sidenav-back&encapsulation=shadow","../src/liquid/components/ld-sidenav/ld-sidenav-back/ld-sidenav-back.tsx"],"sourcesContent":[".ld-sidenav-back {\n /* layout */\n --ld-sidenav-back-bg-inset: var(--ld-sp-6);\n --ld-sidenav-back-border-radius: var(--ld-br-l);\n --ld-sidenav-back-icon-size: var(--ld-sp-24);\n\n /* colors */\n --ld-sidenav-back-col: var(--ld-col-neutral-800);\n --ld-sidenav-back-col-active: var(--ld-thm-primary-active);\n --ld-sidenav-back-col-hover: var(--ld-thm-primary);\n --ld-sidenav-back-col-focus: var(--ld-thm-primary);\n --ld-sidenav-back-indicator-col: transparent;\n --ld-sidenav-back-indicator-col-focus: var(--ld-thm-primary-focus);\n --ld-sidenav-back-indicator-col-active: var(--ld-thm-primary);\n\n outline: none;\n display: block;\n\n @media (hover: hover) {\n &:where(:hover) {\n --ld-sidenav-back-col: var(--ld-sidenav-back-col-hover);\n --ld-sidenav-back-indicator-col: var(--ld-col-neutral-300);\n }\n }\n\n &:focus:focus-visible {\n --ld-sidenav-back-col: var(--ld-sidenav-back-col-focus);\n --ld-sidenav-back-indicator-col: var(--ld-sidenav-back-indicator-col-focus);\n }\n\n &:active {\n --ld-sidenav-back-col: var(--ld-sidenav-back-col-active);\n --ld-sidenav-back-indicator-col: var(\n --ld-sidenav-back-indicator-col-active\n );\n\n .ld-sidenav-back__bg {\n opacity: 0.3;\n }\n }\n\n &--rounded {\n --ld-sidenav-back-border-radius: var(--ld-br-full);\n }\n\n ::slotted(ld-sidenav-navitem) {\n margin-top: var(--ld-sidenav-padding-y);\n margin-bottom: var(--ld-sidenav-padding-y);\n }\n\n &.ld-sidenav-back--collapsed {\n .ld-sidenav-back__bg {\n transform: translateX(\n calc(var(--ld-sidenav-width) - var(--ld-sidenav-width-collapsed))\n );\n }\n }\n}\n\n.ld-sidenav-back__btn-back {\n display: none;\n background-color: transparent;\n position: relative;\n font: var(--ld-typo-body-s);\n border: 0;\n cursor: pointer;\n user-select: none;\n touch-action: manipulation;\n color: var(--ld-sidenav-back, var(--ld-col-neutral-800));\n grid-template-columns: auto 1fr;\n gap: var(--ld-sp-12);\n align-items: center;\n font-weight: 700;\n line-height: 1;\n box-sizing: border-box;\n padding: 0;\n text-align: left;\n outline: none;\n margin: var(--ld-sidenav-padding-y) var(--ld-sidenav-padding-x);\n -webkit-touch-callout: none;\n}\n\n.ld-sidenav-back__bg {\n position: absolute;\n inset: calc(-1 * var(--ld-sidenav-back-bg-inset));\n display: block;\n opacity: 0.2;\n transition: transform var(--ld-sidenav-transition-duration-collapse-expand)\n ease;\n pointer-events: none;\n}\n\n/*\nUsing z-index -1 on .ld-sidenav-back__bg results\nin .ld-sidenav-back__bg not being clickable.\nThat's why we set z-index 0 on the following elements.\n*/\n.ld-sidenav-back__icon,\n.ld-sidenav-back__btn-back-label {\n position: relative;\n z-index: 0;\n}\n\n.ld-sidenav-back__bg-left,\n.ld-sidenav-back__bg-right,\n.ld-sidenav-back__bg-center {\n background-color: var(--ld-sidenav-back-indicator-col);\n position: absolute;\n top: 0;\n bottom: 0;\n transition: transform var(--ld-sidenav-transition-duration-collapse-expand)\n ease;\n pointer-events: all;\n}\n\n.ld-sidenav-back__bg-left,\n.ld-sidenav-back__bg-right {\n width: calc(0.5 * var(--ld-sidenav-navitem-icon-size) + var(--ld-sp-6));\n}\n\n.ld-sidenav-back__bg-left {\n left: 0;\n border-bottom-left-radius: calc(\n var(--ld-sidenav-back-border-radius) + var(--ld-sp-6)\n );\n border-top-left-radius: calc(\n var(--ld-sidenav-back-border-radius) + var(--ld-sp-6)\n );\n}\n\n.ld-sidenav-back__bg-right {\n right: 0;\n border-bottom-right-radius: calc(\n var(--ld-sidenav-back-border-radius) + var(--ld-sp-6)\n );\n border-top-right-radius: calc(\n var(--ld-sidenav-back-border-radius) + var(--ld-sp-6)\n );\n\n .ld-sidenav-back--collapsed & {\n transform: translateX(calc(-1 * var(--ld-sidenav-translate-x-delta) - 1px));\n }\n}\n\n.ld-sidenav-back__bg-center {\n left: calc(0.5 * var(--ld-sidenav-navitem-icon-size) + var(--ld-sp-6));\n right: calc(0.5 * var(--ld-sidenav-navitem-icon-size) + var(--ld-sp-6));\n transform-origin: left;\n\n .ld-sidenav-back--collapsed & {\n transform: scaleX(0);\n }\n}\n\n.ld-sidenav-back--is-back {\n .ld-sidenav-back__btn-back {\n display: grid;\n }\n .ld-sidenav-back__slot-container {\n display: none;\n }\n}\n\n.ld-sidenav-back__icon {\n width: var(--ld-sidenav-navitem-icon-size);\n aspect-ratio: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n transition: transform var(--ld-sidenav-transition-duration-collapse-expand)\n ease;\n\n .ld-sidenav-back--collapsed & {\n transform: translateX(var(--ld-sidenav-translate-x-delta));\n }\n\n &::before {\n content: '';\n background-color: var(--ld-thm-primary-active);\n border-radius: var(--ld-br-full);\n height: var(--ld-sidenav-back-icon-size);\n overflow: hidden;\n position: absolute;\n width: var(--ld-sidenav-back-icon-size);\n z-index: -1;\n }\n}\n\n.ld-sidenav-back__btn-back-label {\n text-overflow: ellipsis;\n overflow: hidden;\n color: var(--ld-sidenav-back-col);\n white-space: nowrap;\n padding-right: var(--ld-sp-6);\n position: relative;\n transition: opacity var(--ld-sidenav-transition-duration-collapse-expand)\n linear,\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease;\n\n .ld-sidenav-back--collapsed & {\n opacity: 0;\n transform: translateX(var(--ld-sidenav-translate-x-delta));\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Listen,\n Method,\n Prop,\n State,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\nimport { closest } from '../../../utils/closest'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-sidenav-back',\n styleUrl: 'ld-sidenav-back.shadow.css',\n shadow: true,\n})\nexport class LdSidenavBack {\n @Element() el: HTMLElement\n private sidenav: HTMLLdSidenavElement\n\n /** Emitted on click. */\n @Event() ldSidenavBack: EventEmitter\n\n /** Used as aria-label for the back button */\n @Prop() backLabel? = 'Back'\n\n @State() parentLabel = ''\n @State() rounded = false\n @State() sidenavCollapsed: boolean\n @State() sidenavClosable: boolean\n\n @Listen('ldSidenavCollapsedChange', { target: 'window', passive: true })\n handleSidenavCollapsedChange(\n ev: CustomEvent<{\n collapsed: boolean\n fully: boolean\n }>\n ) {\n if (ev.target !== this.sidenav) return\n this.sidenavCollapsed = ev.detail.collapsed\n }\n\n @Listen('ldSidenavBreakpointChange', { target: 'window', passive: true })\n handleSidenavBreakpointChange(ev) {\n if (ev.target !== this.sidenav) return\n this.sidenavClosable = ev.detail\n }\n\n /**\n * @internal\n * Updates the label of the back button.\n */\n @Method()\n async updateLabel(text?: string) {\n this.parentLabel = text || ''\n }\n\n private onClick = () => {\n this.ldSidenavBack.emit()\n }\n\n private onKeyDown = (ev) => {\n if ([' ', 'Enter'].includes(ev.key)) {\n ev.preventDefault()\n this.ldSidenavBack.emit()\n }\n }\n\n componentWillLoad() {\n this.sidenav = closest('ld-sidenav', this.el)\n this.rounded = !!this.el.querySelector('ld-sidenav-navitem[rounded]')\n }\n\n render() {\n const cl = getClassNames([\n 'ld-sidenav-back',\n this.parentLabel && 'ld-sidenav-back--is-back',\n this.rounded && 'ld-sidenav-back--rounded',\n this.sidenavCollapsed &&\n !this.sidenavClosable &&\n 'ld-sidenav-back--collapsed',\n ])\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n \n {this.parentLabel}\n \n
    \n
    \n \n
    \n \n )\n }\n}\n"],"mappings":"iIAAA,MAAMA,EAAyB,6hJ,MCuBlBC,EAAa,M,sEAyChBC,KAAAC,QAAU,KAChBD,KAAKE,cAAcC,MAAM,EAGnBH,KAAAI,UAAaC,IACnB,GAAI,CAAC,IAAK,SAASC,SAASD,EAAGE,KAAM,CACnCF,EAAGG,iBACHR,KAAKE,cAAcC,M,kBAxCF,O,iBAEE,G,aACJ,M,+DAKnB,4BAAAM,CACEJ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mode 100644 index b277b19b1e..0000000000 --- a/1704966176737/dist/build/p-2f76f5f2.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,c as e,h as i,H as o,g as l}from"./p-21a69c18.js";import{g as s}from"./p-1133c92e.js";import{r as c}from"./p-8dc70a87.js";import{i as d}from"./p-b05f0e4e.js";import{c as r}from"./p-71026bf3.js";const n=".docs-pick-theme{--docs-pick-theme-icon-size:1.25rem}.docs-pick-theme__fieldset{border:0}.docs-pick-theme ld-icon{height:var(--docs-pick-theme-icon-size);width:var(--docs-pick-theme-icon-size)}.docs-pick-theme__select::part(trigger-text-wrapper){display:none}.docs-pick-theme__select::part(btn-trigger){padding:var(--ld-sp-6)}.docs-pick-theme__select,.docs-pick-theme__select::part(btn-trigger),.docs-pick-theme__select::part(select){height:var(--ld-sp-32);width:var(--ld-sp-32)}.docs-pick-theme__popper{min-width:14rem}.docs-pick-theme__option-pattern{bottom:0;height:100%;position:absolute;right:0;top:0}.docs-pick-theme__option::part(option){font-weight:700;overflow:hidden}.docs-pick-theme__option.ld-theme-ocean::part(check){color:var(--ld-thm-ocean-primary)}.docs-pick-theme__option.ld-theme-ocean::part(option){color:var(--ld-thm-ocean-primary)}@media (hover:hover){.docs-pick-theme__option.ld-theme-ocean::part(option):hover{background-color:var(--ld-col-rb-010);color:var(--ld-thm-ocean-primary-hover)}}.docs-pick-theme__option.ld-theme-ocean::part(option):focus:focus-visible{background-color:var(--ld-col-rb-010);color:var(--ld-col-rb-800)}.docs-pick-theme__option.ld-theme-ocean::part(option):focus:focus-visible:before{box-shadow:inset 0 0 0 var(--ld-sp-1) var(--ld-thm-ocean-primary-focus)}.docs-pick-theme__option.ld-theme-ocean .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-ocean-primary)}.docs-pick-theme__option.ld-theme-ocean .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-ocean-secondary)}.docs-pick-theme__option.ld-theme-ocean.ld-option-internal--hover-within .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-ocean-primary-hover)}.docs-pick-theme__option.ld-theme-ocean.ld-option-internal--hover-within .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-ocean-secondary-hover)}.docs-pick-theme__option.ld-theme-ocean.ld-option-internal--hover-within::part(check){color:var(--ld-thm-ocean-primary-hover)}.docs-pick-theme__option.ld-theme-ocean.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-ocean-primary-focus)}.docs-pick-theme__option.ld-theme-ocean.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-ocean-secondary-focus)}.docs-pick-theme__option.ld-theme-ocean.ld-option-internal--focus-within:focus-visible::part(check){color:var(--ld-col-rb-800)}.docs-pick-theme__option.ld-theme-bubblegum::part(check){color:var(--ld-thm-bubblegum-primary)}.docs-pick-theme__option.ld-theme-bubblegum::part(option){color:var(--ld-thm-bubblegum-primary)}@media (hover:hover){.docs-pick-theme__option.ld-theme-bubblegum::part(option):hover{background-color:var(--ld-col-rp-010);color:var(--ld-thm-bubblegum-primary-hover)}}.docs-pick-theme__option.ld-theme-bubblegum::part(option):focus:focus-visible{background-color:var(--ld-col-rp-010);color:var(--ld-col-rp-900)}.docs-pick-theme__option.ld-theme-bubblegum::part(option):focus:focus-visible:before{box-shadow:inset 0 0 0 var(--ld-sp-1) var(--ld-thm-bubblegum-primary-focus)}.docs-pick-theme__option.ld-theme-bubblegum .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-bubblegum-primary)}.docs-pick-theme__option.ld-theme-bubblegum .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-bubblegum-secondary)}.docs-pick-theme__option.ld-theme-bubblegum.ld-option-internal--hover-within .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-bubblegum-primary-hover)}.docs-pick-theme__option.ld-theme-bubblegum.ld-option-internal--hover-within .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-bubblegum-secondary-hover)}.docs-pick-theme__option.ld-theme-bubblegum.ld-option-internal--hover-within::part(check){color:var(--ld-thm-bubblegum-primary-hover)}.docs-pick-theme__option.ld-theme-bubblegum.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-bubblegum-primary-focus)}.docs-pick-theme__option.ld-theme-bubblegum.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-bubblegum-primary-focus)}.docs-pick-theme__option.ld-theme-bubblegum.ld-option-internal--focus-within:focus-visible::part(check){color:var(--ld-col-rp-900)}.docs-pick-theme__option.ld-theme-shake::part(check){color:var(--ld-thm-shake-primary)}.docs-pick-theme__option.ld-theme-shake::part(option){color:var(--ld-thm-shake-primary)}@media (hover:hover){.docs-pick-theme__option.ld-theme-shake::part(option):hover{background-color:var(--ld-col-rp-010);color:var(--ld-thm-shake-primary-hover)}}.docs-pick-theme__option.ld-theme-shake::part(option):focus:focus-visible{background-color:var(--ld-col-rp-010);color:var(--ld-col-rp-900)}.docs-pick-theme__option.ld-theme-shake::part(option):focus:focus-visible:before{box-shadow:inset 0 0 0 var(--ld-sp-1) var(--ld-thm-shake-primary-focus)}.docs-pick-theme__option.ld-theme-shake .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-shake-primary)}.docs-pick-theme__option.ld-theme-shake .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-shake-secondary)}.docs-pick-theme__option.ld-theme-shake.ld-option-internal--hover-within .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-shake-primary-hover)}.docs-pick-theme__option.ld-theme-shake.ld-option-internal--hover-within .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-shake-secondary-hover)}.docs-pick-theme__option.ld-theme-shake.ld-option-internal--hover-within::part(check){color:var(--ld-thm-shake-primary-hover)}.docs-pick-theme__option.ld-theme-shake.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-shake-primary-focus)}.docs-pick-theme__option.ld-theme-shake.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-shake-secondary-focus)}.docs-pick-theme__option.ld-theme-shake.ld-option-internal--focus-within:focus-visible::part(check){color:var(--ld-col-rp-900)}.docs-pick-theme__option.ld-theme-solvent::part(check){color:var(--ld-thm-solvent-primary)}.docs-pick-theme__option.ld-theme-solvent::part(option){color:var(--ld-thm-solvent-primary)}@media (hover:hover){.docs-pick-theme__option.ld-theme-solvent::part(option):hover{background-color:var(--ld-col-rp-010);color:var(--ld-thm-solvent-primary-hover)}}.docs-pick-theme__option.ld-theme-solvent::part(option):focus:focus-visible{background-color:var(--ld-col-rp-010);color:var(--ld-col-rp-900)}.docs-pick-theme__option.ld-theme-solvent::part(option):focus:focus-visible:before{box-shadow:inset 0 0 0 var(--ld-sp-1) var(--ld-thm-solvent-primary-focus)}.docs-pick-theme__option.ld-theme-solvent .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-solvent-primary)}.docs-pick-theme__option.ld-theme-solvent .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-solvent-secondary)}.docs-pick-theme__option.ld-theme-solvent.ld-option-internal--hover-within .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-solvent-primary-hover)}.docs-pick-theme__option.ld-theme-solvent.ld-option-internal--hover-within .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-solvent-secondary-hover)}.docs-pick-theme__option.ld-theme-solvent.ld-option-internal--hover-within::part(check){color:var(--ld-thm-solvent-primary-hover)}.docs-pick-theme__option.ld-theme-solvent.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-solvent-primary-focus)}.docs-pick-theme__option.ld-theme-solvent.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-solvent-primary-focus)}.docs-pick-theme__option.ld-theme-solvent.ld-option-internal--focus-within:focus-visible::part(check){color:var(--ld-col-rp-900)}.docs-pick-theme__option.ld-theme-tea::part(check){color:var(--ld-thm-tea-primary)}.docs-pick-theme__option.ld-theme-tea::part(option){color:var(--ld-thm-tea-primary)}@media (hover:hover){.docs-pick-theme__option.ld-theme-tea::part(option):hover{background-color:var(--ld-col-rg-010);color:var(--ld-thm-tea-primary-hover)}}.docs-pick-theme__option.ld-theme-tea::part(option):focus:focus-visible{background-color:var(--ld-col-rg-010);color:var(--ld-col-rg-900)}.docs-pick-theme__option.ld-theme-tea::part(option):focus:focus-visible:before{box-shadow:inset 0 0 0 var(--ld-sp-1) var(--ld-thm-tea-primary-focus)}.docs-pick-theme__option.ld-theme-tea .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-tea-primary)}.docs-pick-theme__option.ld-theme-tea .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-tea-secondary)}.docs-pick-theme__option.ld-theme-tea.ld-option-internal--hover-within .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-tea-primary-hover)}.docs-pick-theme__option.ld-theme-tea.ld-option-internal--hover-within .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-tea-secondary-hover)}.docs-pick-theme__option.ld-theme-tea.ld-option-internal--hover-within::part(check){color:var(--ld-thm-tea-primary-hover)}.docs-pick-theme__option.ld-theme-tea.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-primary{fill:var(--ld-thm-tea-primary-focus)}.docs-pick-theme__option.ld-theme-tea.ld-option-internal--focus-within:focus-visible .docs-pick-theme__option-pattern-accent{fill:var(--ld-thm-tea-secondary-focus)}.docs-pick-theme__option.ld-theme-tea.ld-option-internal--focus-within:focus-visible::part(check){color:var(--ld-col-rg-900)}";const h=class{constructor(i){t(this,i);this.pickTheme=e(this,"pickTheme",7);this.themes=["ocean","bubblegum","shake","solvent","tea"];this.currentTheme="ocean"}handleChange(t){this.pickTheme.emit(t.detail[0]);this.currentTheme=t.detail[0]}render(){return i(o,{class:`docs-pick-theme ld-theme-${this.currentTheme.toLowerCase()}`},i("form",null,i("fieldset",{class:"docs-pick-theme__fieldset"},i("ld-sr-only",null,i("legend",null,"Pick a theme")),i("ld-select",{class:"docs-pick-theme__select",onLdchange:this.handleChange.bind(this),preventDeselection:true,mode:"ghost",tetherOptions:JSON.stringify({attachment:"top right",targetAttachment:"bottom right",offset:"-2px -8px"}),popperClass:"docs-pick-theme__popper"},this.themes.map((t=>i("ld-option",{value:t.toLowerCase(),class:`docs-pick-theme__option ld-theme-${t.toLowerCase()}`,selected:t===this.currentTheme},t.charAt(0).toUpperCase()+t.slice(1).toLowerCase(),i("svg",{role:"presentation",class:"docs-pick-theme__option-pattern","fill-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2","clip-rule":"evenodd",viewBox:"0 0 88 41"},i("path",{class:"docs-pick-theme__option-pattern-primary",d:"M88 41V0H72.894L50.257 15.408c-6.465 4.408-5.884 5.492-6.428 8.6-.262 1.493-.256 9.29-.173 16.992H88z"}),i("path",{class:"docs-pick-theme__option-pattern-accent",d:"M9.372 14.479c.445-.889.369-1.265 2.712-2.031 2.339-.753 12.084-3.895 12.088-3.908 1.067-.574 2.663-.369 3.547.461l10.055 9.513c.879.844 1.581 2.515 1.549 3.737l-.236 10.345c-.033 1.221-1.048 2.314-2.255 2.42l-19.07 1.741c-1.208.106-2.918-.5-3.78-1.354l-7.428-7.431c-.863-.854-.714-1.793-.207-3.302 0 0 2.581-9.302 3.025-10.191z"}))))),i("ld-icon",{slot:"icon"},i("svg",{class:"docs-pick-theme__icon",fill:"none",viewBox:"0 0 32 32"},i("path",{fill:"currentColor",stroke:"currentColor",d:"M9 20l-.7-.7a1 1 0 00-.3.7h1zm3.5 3.5v1a1 1 0 00.7-.3l-.7-.7zm9-9l.7.7a1 1 0 000-1.4l-.7.7zM18 11l.7-.7a1 1 0 00-1.4 0l.7.7zM8 20v2.5h2V20H8zm2 4.5h2.5v-2H10v2zm3.2-.3l9-9-1.4-1.4-9 9 1.4 1.4zm9-10.4l-3.5-3.5-1.4 1.4 3.5 3.5 1.4-1.4zm-4.9-3.5l-9 9 1.4 1.4 9-9-1.4-1.4zM8 22.5c0 1.1.9 2 2 2v-2H8z"}),i("path",{fill:"currentColor",stroke:"currentColor",d:"M17.58 10.33L19.92 8a2 2 0 012.83 0l1.79 1.79a2 2 0 010 2.83l-2.35 2.34-4.61-4.62zM9 23v-4l4 4H9z"}),i("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M23 16l-6.5-6.5"})))))))}};h.style=n;const a=".docs-toggle-code svg{height:100%;width:100%}";const p=class{constructor(i){t(this,i);this.toggleCode=e(this,"toggleCode",7);this.isOn=undefined}handleClick(t){t.preventDefault();this.toggleCode.emit(!this.isOn)}render(){return i("ld-button",{role:"switch","aria-checked":this.isOn?"true":"false",class:"docs-toggle-code",mode:this.isOn?undefined:"ghost",size:"sm"},i("ld-sr-only",null,"Toggle code"),i("ld-icon",{size:"sm"},i("svg",{fill:"none",viewBox:"0 0 22 22"},i("path",{stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m8 18 6-13m3 10 4-4-4-4M5 7l-4 4 4 4"}))))}};p.style=a;const m=".ld-switch,:host{--ld-switch-item-icon-size:1.25rem;--ld-switch-item-icon-size-sm:1rem;--ld-switch-item-icon-size-lg:1.5rem;--ld-switch-item-icon-margin-x:-0.25rem;--ld-switch-item-icon-margin-x-sm:-0.125rem;--ld-switch-item-icon-margin-x-lg:-0.5rem;--ld-switch-item-justify-content:center;--ld-switch-item-padding-x:0.875rem;--ld-switch-item-padding-y:0.625rem;--ld-switch-item-padding-x-sm:0.625rem;--ld-switch-item-padding-y-sm:0.4375rem;--ld-switch-item-padding-x-lg:1.3125rem;--ld-switch-item-padding-y-lg:0.85rem;--ld-switch-item-gap:0.875rem;--ld-switch-item-gap-sm:0.625rem;--ld-switch-item-gap-lg:1.1875rem;--ld-switch-font:var(--ld-typo-body-m);--ld-switch-font-sm:var(--ld-typo-body-s);--ld-switch-font-lg:var(--ld-typo-body-l);--ld-switch-bg-col:var(--ld-thm-primary-alpha-low);--ld-switch-bg-col-hover:var(--ld-thm-primary-hover);--ld-switch-bg-col-active:var(--ld-thm-primary-active);--ld-switch-bg-col-focus:var(--ld-thm-primary-focus);--ld-switch-item-col:var(--ld-thm-primary-hover);--ld-switch-item-label-bg-col:var(--ld-col-wht);--ld-switch-selected-col:var(--ld-col-wht);--ld-switch-selected-bg-col:var(--ld-thm-primary)}.ld-switch legend,:host legend{height:var(--ld-sp-1);padding:0;position:absolute;width:var(--ld-sp-1);clip:rect(0,0,0,0);border-width:0}:host{display:inline-flex}.ld-switch,:host fieldset{border:0;border-radius:var(--ld-br-m);display:inline-grid;grid-auto-columns:minmax(min-content,1fr);grid-auto-flow:column;margin:0;min-width:auto;overflow:hidden;padding:0;position:relative}.ld-switch--fit-content,:host(.ld-switch--fit-content) fieldset{--ld-switch-item-justify-content:flex-start;grid-auto-columns:minmax(0,auto)}:host fieldset{height:100%;width:100%}.ld-switch--sm,:host(.ld-switch--sm){--ld-switch-font:var(--ld-switch-font-sm);--ld-switch-item-gap:var(--ld-switch-item-gap-sm);--ld-switch-item-icon-margin-x:var(--ld-switch-item-icon-margin-x-sm);--ld-switch-item-icon-size:var(--ld-switch-item-icon-size-sm);--ld-switch-item-padding-x:var(--ld-switch-item-padding-x-sm);--ld-switch-item-padding-y:var(--ld-switch-item-padding-y-sm)}.ld-switch--lg,:host(.ld-switch--lg){--ld-switch-font:var(--ld-switch-font-lg);--ld-switch-item-gap:var(--ld-switch-item-gap-lg);--ld-switch-item-icon-margin-x:var(--ld-switch-item-icon-margin-x-lg);--ld-switch-item-icon-size:var(--ld-switch-item-icon-size-lg);--ld-switch-item-padding-x:var(--ld-switch-item-padding-x-lg);--ld-switch-item-padding-y:var(--ld-switch-item-padding-y-lg)}.ld-switch--brand-color,:host(.ld-switch--brand-color){--ld-switch-item-col:var(--ld-col-wht);--ld-switch-item-bg-col:var(--ld-col-wht-alpha-low);--ld-switch-item-label-bg-col:var(--ld-thm-primary);--ld-switch-item-bg-col-hover:var(--ld-col-wht-alpha-high);--ld-switch-item-bg-col-active:var(--ld-col-wht-alpha-medium);--ld-switch-item-bg-col-focus:var(--ld-col-wht-alpha-high);--ld-switch-item-bg-col-selected:var(--ld-col-wht);--ld-switch-item-col-selected:var(--ld-thm-primary);--ld-switch-item-col-active:var(--ld-switch-item-col-selected)}";const v=class{constructor(i){t(this,i);this.ldswitchchange=e(this,"ldswitchchange",7);this.handleItemFocus=()=>{this.hasFocus=true};this.handleFocus=()=>{this.focusInner()};this.handleFocusout=()=>{this.hasFocus=false};this.size=undefined;this.brandColor=undefined;this.legend=undefined;this.autofocus=undefined;this.disabled=undefined;this.fitContent=false;this.form=undefined;this.ariaDisabled=undefined;this.name=undefined;this.readonly=undefined;this.required=undefined;this.ldTabindex=undefined;this.hasFocus=false}handleLdSwitchItemChange(t){t.stopImmediatePropagation();const e=t.target;this.ldswitchchange.emit(e.value)}async focusInner(){const t=Array.from(this.el.querySelectorAll("ld-switch-item")).filter((t=>!t.disabled));const e=t.find((t=>t.checked));if(e){e.focusInner()}else{t[0].focusInner()}}updateSwitchItemProps(){const t=this.el.querySelectorAll("ld-switch-item");t.forEach((t=>{if(d(this.ariaDisabled)){t.ariaDisabled=this.ariaDisabled}if(this.disabled){t.disabled=this.disabled}t.form=this.form;t.ldTabindex=this.ldTabindex;t.name=this.name;t.readonly=this.readonly;t.required=this.required}))}componentWillLoad(){this.updateSwitchItemProps();c(this.autofocus)}render(){return i(o,{class:s(["ld-switch",this.brandColor&&`ld-switch--brand-color`,this.fitContent&&`ld-switch--fit-content`,this.size&&`ld-switch--${this.size}`]),onLdswitchitemfocus:this.handleItemFocus,onFocus:this.handleFocus,onFocusout:this.handleFocusout,tabIndex:this.disabled||d(this.ariaDisabled)?this.ldTabindex:this.hasFocus?-1:this.ldTabindex||0},i("fieldset",{part:"fieldset"},this.legend&&i("legend",{part:"legend"},this.legend),i("slot",null)))}get el(){return l(this)}static get watchers(){return{ariaDisabled:["updateSwitchItemProps"],disabled:["updateSwitchItemProps"],form:["updateSwitchItemProps"],ldTabindex:["updateSwitchItemProps"],name:["updateSwitchItemProps"],readonly:["updateSwitchItemProps"],required:["updateSwitchItemProps"]}}};v.style=m;const u='.ld-switch-item,:host{display:inline-flex;position:relative}.ld-switch-item:first-of-type,:host:first-of-type{border-bottom-left-radius:var(--ld-br-m);border-top-left-radius:var(--ld-br-m)}.ld-switch-item:last-of-type,:host:last-of-type{border-bottom-right-radius:var(--ld-br-m);border-top-right-radius:var(--ld-br-m)}.ld-switch-item input,:host input{height:var(--ld-sp-1);overflow:hidden;padding:0;position:absolute;width:var(--ld-sp-1);clip:rect(0,0,0,0);border-width:0}.ld-switch-item input:checked~.ld-switch-item__content,:host input:checked~.ld-switch-item__content{background-color:var(\n --ld-switch-item-bg-col-selected,var(--ld-thm-primary)\n );color:var(--ld-switch-item-col-selected,var(--ld-col-wht))}.ld-switch-item input:where(:disabled)~.ld-switch-item__content,.ld-switch-item input:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))~.ld-switch-item__content,:host input:where(:disabled)~.ld-switch-item__content,:host input:where([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false])))~.ld-switch-item__content{opacity:.2}.ld-switch-item input:where(:not(:disabled)):focus:focus-visible~.ld-switch-item__content,:host input:where(:not(:disabled)):focus:focus-visible~.ld-switch-item__content{background-color:var(\n --ld-switch-item-bg-col-focus,var(--ld-thm-primary-focus)\n );color:var(--ld-switch-item-col-active,var(--ld-col-wht));outline:var(--ld-switch-item-outline,auto);outline:var(\n --ld-switch-item-outline,auto 5px -webkit-focus-ring-color\n );outline-offset:-2px}.ld-switch-item input:where(:not(:disabled)):focus:not:focus-visible~.ld-switch-item__content,:host input:where(:not(:disabled)):focus:not:focus-visible~.ld-switch-item__content{outline:none}.ld-switch-item input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly]))~.ld-switch-item__content,:host input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly]))~.ld-switch-item__content{cursor:pointer}@media (hover:hover){.ld-switch-item input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly]))~.ld-switch-item__content:hover,:host input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly]))~.ld-switch-item__content:hover{background-color:var(\n --ld-switch-item-bg-col-hover,var(--ld-thm-primary-hover)\n );color:var(--ld-switch-item-col-active,var(--ld-col-wht))}}.ld-switch-item input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly])):active:focus-visible~.ld-switch-item__content,.ld-switch-item input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly])):active~.ld-switch-item__content,:host input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly])):active:focus-visible~.ld-switch-item__content,:host input:where(:not(:disabled):not([aria-disabled]:where(:not([aria-disabled=""]):not([aria-disabled=false]))):not([readonly])):active~.ld-switch-item__content{background-color:var(\n --ld-switch-item-bg-col-active,var(--ld-thm-primary-active)\n );color:var(--ld-switch-item-col-active,var(--ld-col-wht))}.ld-switch-item__content{align-items:center;background-color:var(\n --ld-switch-item-bg-col,var(--ld-thm-primary-alpha-low)\n );border-radius:inherit;color:var(--ld-switch-item-col,var(--ld-thm-primary));display:inline-grid;font:var(--ld-switch-font);font-weight:700;gap:var(--ld-switch-item-gap);grid-auto-flow:column;height:100%;justify-content:var(--ld-switch-item-justify-content);line-height:1.25;overflow:hidden;padding:var(--ld-switch-item-padding-y) var(--ld-switch-item-padding-x);text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.ld-switch-item__content ::slotted(.ld-icon),.ld-switch-item__content ::slotted(ld-icon),.ld-switch-item__content>.ld-icon,.ld-switch-item__content>ld-icon{margin:auto var(--ld-switch-item-icon-margin-x)}.ld-switch-item__label{overflow:hidden;padding:auto var(--ld-switch-item-padding-x);text-align:center;text-overflow:ellipsis}:host .ld-switch-item__label{display:none}:host(.ld-switch-item--has-label) .ld-switch-item__label{display:block}.ld-switch-item,:host label{align-items:center;background-clip:padding-box;background-color:var(--ld-switch-item-label-bg-col);border:0;display:inline-flex;height:100%;margin:0}:host label{border-radius:inherit;width:100%}';const _=class{constructor(i){t(this,i);this.ldswitchitemchange=e(this,"ldswitchitemchange",7);this.ldswitchitemfocus=e(this,"ldswitchitemfocus",7);this.handleKeyDown=t=>{switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault();this.focusAndSelect("prev");return;case"ArrowDown":case"ArrowRight":t.preventDefault();this.focusAndSelect("next")}};this.handleClick=t=>{if(this.checked||this.disabled||d(this.ariaDisabled)||this.readonly){t.preventDefault();return}Array.from(this.el.parentElement.querySelectorAll("ld-switch-item")).forEach((t=>{t.checked=false}));this.checked=true;this.el.dispatchEvent(new InputEvent("change",{bubbles:true}));this.ldswitchitemchange.emit(this.el.value)};this.handleFocus=()=>{this.ldswitchitemfocus.emit()};this.ariaDisabled=undefined;this.checked=false;this.disabled=undefined;this.form=undefined;this.ldTabindex=undefined;this.name=undefined;this.readonly=undefined;this.required=undefined;this.value=undefined;this.clonedAttributes=undefined;this.hasLabel=undefined}async focusInner(){this.input.focus()}updateHiddenInput(){const t=this.el.closest("form");if(!this.hiddenInput&&this.name&&(t||this.form)){this.createHiddenInput()}if(this.hiddenInput){if(!this.name){this.hiddenInput.remove();this.hiddenInput=undefined;return}this.hiddenInput.name=this.name;this.hiddenInput.checked=this.checked;if(this.value){this.hiddenInput.value=this.value}else{this.hiddenInput.removeAttribute("value")}if(this.form){this.hiddenInput.setAttribute("form",this.form)}else if(this.hiddenInput.getAttribute("form")){if(t){this.hiddenInput.removeAttribute("form")}else{this.hiddenInput.remove();this.hiddenInput=undefined}}}}createHiddenInput(){this.hiddenInput=document.createElement("input");this.hiddenInput.type="radio";this.hiddenInput.style.visibility="hidden";this.hiddenInput.style.position="absolute";this.hiddenInput.style.pointerEvents="none";this.el.appendChild(this.hiddenInput)}focusAndSelect(t){const e=t==="next"?this.el.nextElementSibling:this.el.previousElementSibling;if(e){e.focusInner();e.click()}}componentWillLoad(){this.hasLabel=Array.from(this.el.childNodes).some((t=>{var e;return t.tagName!=="LD-ICON"&&!((e=t.classList)===null||e===void 0?void 0:e.contains("ld-icon"))&&t.textContent.trim()}));this.attributesObserver=r.call(this)}disconnectedCallback(){if(this.attributesObserver)this.attributesObserver.disconnect()}render(){const t=s(["ld-switch-item",this.hasLabel&&"ld-switch-item--has-label"]);return i(o,{onClick:this.handleClick,class:t},i("label",{part:"label-element"},i("input",Object.assign({type:"radio"},this.clonedAttributes,{part:"input focusable",onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,ref:t=>this.input=t,required:this.required,disabled:this.disabled,checked:this.checked,tabIndex:this.checked?this.ldTabindex:-1})),i("span",{part:"content",class:"ld-switch-item__content"},i("slot",{name:"icon-start"}),i("span",{part:"label",class:"ld-switch-item__label"},i("slot",null)),i("slot",{name:"icon-end"}))))}get el(){return l(this)}static get watchers(){return{checked:["updateHiddenInput"],form:["updateHiddenInput"],name:["updateHiddenInput"],value:["updateHiddenInput"]}}};_.style=u;export{h as docs_pick_theme,p as docs_toggle_code,v as ld_switch,_ as ld_switch_item}; -//# sourceMappingURL=p-2f76f5f2.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-2f76f5f2.entry.js.map b/1704966176737/dist/build/p-2f76f5f2.entry.js.map deleted file mode 100644 index 6309dcf1ee..0000000000 --- a/1704966176737/dist/build/p-2f76f5f2.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsPickThemeCss","DocsPickTheme","this","themes","handleChange","ev","pickTheme","emit","detail","currentTheme","render","h","Host","class","toLowerCase","onLdchange","bind","preventDeselection","mode","tetherOptions","JSON","stringify","attachment","targetAttachment","offset","popperClass","map","theme","value","selected","charAt","toUpperCase","slice","role","viewBox","d","slot","fill","stroke","docsToggleCodeCss","DocsToggleCode","handleClick","preventDefault","toggleCode","isOn","undefined","size","ldSwitchCss","LdSwitch","handleItemFocus","hasFocus","handleFocus","focusInner","handleFocusout","handleLdSwitchItemChange","stopImmediatePropagation","currentLdSwitchItem","target","ldswitchchange","ldSwitchItems","Array","from","el","querySelectorAll","filter","ldSwitchItem","disabled","checkedItem","find","checked","updateSwitchItemProps","forEach","isAriaDisabled","ariaDisabled","form","ldTabindex","name","readonly","required","componentWillLoad","registerAutofocus","autofocus","getClassNames","brandColor","fitContent","onLdswitchitemfocus","onFocus","onFocusout","tabIndex","part","legend","ldSwitchItemCss","LdSwitchItem","handleKeyDown","key","focusAndSelect","parentElement","dispatchEvent","InputEvent","bubbles","ldswitchitemchange","ldswitchitemfocus","input","focus","updateHiddenInput","outerForm","closest","hiddenInput","createHiddenInput","remove","removeAttribute","setAttribute","getAttribute","document","createElement","type","style","visibility","position","pointerEvents","appendChild","dir","sibling","nextElementSibling","previousElementSibling","click","hasLabel","childNodes","some","tagName","_a","classList","contains","textContent","trim","attributesObserver","cloneAttributes","call","disconnectedCallback","disconnect","cl","onClick","Object","assign","clonedAttributes","onKeyDown","ref"],"sources":["../src/docs/components/docs-pick-theme/docs-pick-theme.css?tag=docs-pick-theme","../src/docs/components/docs-pick-theme/docs-pick-theme.tsx","../src/docs/components/docs-toggle-code/docs-toggle-code.css?tag=docs-toggle-code","../src/docs/components/docs-toggle-code/docs-toggle-code.tsx","../src/liquid/components/ld-switch/ld-switch.css?tag=ld-switch&encapsulation=shadow","../src/liquid/components/ld-switch/ld-switch.tsx","../src/liquid/components/ld-switch/ld-switch-item/ld-switch-item.css?tag=ld-switch-item&encapsulation=shadow","../src/liquid/components/ld-switch/ld-switch-item/ld-switch-item.tsx"],"sourcesContent":[".docs-pick-theme {\n --docs-pick-theme-icon-size: 1.25rem;\n}\n\n.docs-pick-theme__fieldset {\n border: 0;\n}\n\n.docs-pick-theme ld-icon {\n width: var(--docs-pick-theme-icon-size);\n height: var(--docs-pick-theme-icon-size);\n}\n\n.docs-pick-theme__select {\n &::part(trigger-text-wrapper) {\n display: none;\n }\n\n &::part(btn-trigger) {\n padding: var(--ld-sp-6);\n }\n}\n\n.docs-pick-theme__select,\n.docs-pick-theme__select::part(select),\n.docs-pick-theme__select::part(btn-trigger) {\n height: var(--ld-sp-32);\n width: var(--ld-sp-32);\n}\n\n.docs-pick-theme__popper {\n min-width: 14rem;\n}\n\n.docs-pick-theme__option-pattern {\n position: absolute;\n right: 0;\n top: 0;\n bottom: 0;\n height: 100%;\n}\n\n.docs-pick-theme__option {\n &::part(option) {\n font-weight: 700;\n overflow: hidden;\n }\n\n &.ld-theme-ocean {\n &::part(check) {\n color: var(--ld-thm-ocean-primary);\n }\n\n &::part(option) {\n color: var(--ld-thm-ocean-primary);\n\n @media (hover: hover) {\n &:hover {\n color: var(--ld-thm-ocean-primary-hover);\n background-color: var(--ld-col-rb-010);\n }\n }\n &:focus:focus-visible {\n color: var(--ld-col-rb-800);\n background-color: var(--ld-col-rb-010);\n\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-1)\n var(--ld-thm-ocean-primary-focus);\n }\n }\n }\n\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-ocean-primary);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-ocean-secondary);\n }\n\n &.ld-option-internal--hover-within {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-ocean-primary-hover);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-ocean-secondary-hover);\n }\n &::part(check) {\n color: var(--ld-thm-ocean-primary-hover);\n }\n }\n\n &.ld-option-internal--focus-within:focus-visible {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-ocean-primary-focus);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-ocean-secondary-focus);\n }\n &::part(check) {\n color: var(--ld-col-rb-800);\n }\n }\n }\n\n &.ld-theme-bubblegum {\n &::part(check) {\n color: var(--ld-thm-bubblegum-primary);\n }\n\n &::part(option) {\n color: var(--ld-thm-bubblegum-primary);\n\n @media (hover: hover) {\n &:hover {\n color: var(--ld-thm-bubblegum-primary-hover);\n background-color: var(--ld-col-rp-010);\n }\n }\n &:focus:focus-visible {\n color: var(--ld-col-rp-900);\n background-color: var(--ld-col-rp-010);\n\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-1)\n var(--ld-thm-bubblegum-primary-focus);\n }\n }\n }\n\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-bubblegum-primary);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-bubblegum-secondary);\n }\n\n &.ld-option-internal--hover-within {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-bubblegum-primary-hover);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-bubblegum-secondary-hover);\n }\n &::part(check) {\n color: var(--ld-thm-bubblegum-primary-hover);\n }\n }\n\n &.ld-option-internal--focus-within:focus-visible {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-bubblegum-primary-focus);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-bubblegum-primary-focus);\n }\n &::part(check) {\n color: var(--ld-col-rp-900);\n }\n }\n }\n\n &.ld-theme-shake {\n &::part(check) {\n color: var(--ld-thm-shake-primary);\n }\n\n &::part(option) {\n color: var(--ld-thm-shake-primary);\n\n @media (hover: hover) {\n &:hover {\n color: var(--ld-thm-shake-primary-hover);\n background-color: var(--ld-col-rp-010);\n }\n }\n &:focus:focus-visible {\n color: var(--ld-col-rp-900);\n background-color: var(--ld-col-rp-010);\n\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-1)\n var(--ld-thm-shake-primary-focus);\n }\n }\n }\n\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-shake-primary);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-shake-secondary);\n }\n\n &.ld-option-internal--hover-within {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-shake-primary-hover);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-shake-secondary-hover);\n }\n &::part(check) {\n color: var(--ld-thm-shake-primary-hover);\n }\n }\n\n &.ld-option-internal--focus-within:focus-visible {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-shake-primary-focus);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-shake-secondary-focus);\n }\n &::part(check) {\n color: var(--ld-col-rp-900);\n }\n }\n }\n\n &.ld-theme-solvent {\n &::part(check) {\n color: var(--ld-thm-solvent-primary);\n }\n\n &::part(option) {\n color: var(--ld-thm-solvent-primary);\n\n @media (hover: hover) {\n &:hover {\n color: var(--ld-thm-solvent-primary-hover);\n background-color: var(--ld-col-rp-010);\n }\n }\n &:focus:focus-visible {\n color: var(--ld-col-rp-900);\n background-color: var(--ld-col-rp-010);\n\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-1)\n var(--ld-thm-solvent-primary-focus);\n }\n }\n }\n\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-solvent-primary);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-solvent-secondary);\n }\n\n &.ld-option-internal--hover-within {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-solvent-primary-hover);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-solvent-secondary-hover);\n }\n &::part(check) {\n color: var(--ld-thm-solvent-primary-hover);\n }\n }\n\n &.ld-option-internal--focus-within:focus-visible {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-solvent-primary-focus);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-solvent-primary-focus);\n }\n &::part(check) {\n color: var(--ld-col-rp-900);\n }\n }\n }\n\n &.ld-theme-tea {\n &::part(check) {\n color: var(--ld-thm-tea-primary);\n }\n\n &::part(option) {\n color: var(--ld-thm-tea-primary);\n\n @media (hover: hover) {\n &:hover {\n color: var(--ld-thm-tea-primary-hover);\n background-color: var(--ld-col-rg-010);\n }\n }\n &:focus:focus-visible {\n color: var(--ld-col-rg-900);\n background-color: var(--ld-col-rg-010);\n\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-thm-tea-primary-focus);\n }\n }\n }\n\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-tea-primary);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-tea-secondary);\n }\n\n &.ld-option-internal--hover-within {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-tea-primary-hover);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-tea-secondary-hover);\n }\n &::part(check) {\n color: var(--ld-thm-tea-primary-hover);\n }\n }\n\n &.ld-option-internal--focus-within:focus-visible {\n .docs-pick-theme__option-pattern-primary {\n fill: var(--ld-thm-tea-primary-focus);\n }\n .docs-pick-theme__option-pattern-accent {\n fill: var(--ld-thm-tea-secondary-focus);\n }\n &::part(check) {\n color: var(--ld-col-rg-900);\n }\n }\n }\n}\n","import { Component, h, Host, Event, EventEmitter, State } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-pick-theme',\n styleUrl: 'docs-pick-theme.css',\n shadow: false,\n})\nexport class DocsPickTheme {\n @State() currentTheme = 'ocean'\n\n /** Theme pick change event. */\n @Event() pickTheme: EventEmitter\n\n private handleChange(ev) {\n this.pickTheme.emit(ev.detail[0])\n this.currentTheme = ev.detail[0]\n }\n\n private themes = ['ocean', 'bubblegum', 'shake', 'solvent', 'tea']\n\n render() {\n return (\n \n
    \n
    \n \n Pick a theme\n \n\n \n {this.themes.map((theme) => (\n \n {theme.charAt(0).toUpperCase() + theme.slice(1).toLowerCase()}\n\n \n \n \n \n \n ))}\n \n \n \n \n \n \n \n \n
    \n
    \n \n )\n }\n}\n",".docs-toggle-code {\n svg {\n width: 100%;\n height: 100%;\n }\n}\n","import { Component, Event, EventEmitter, h, Listen, Prop } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-toggle-code',\n styleUrl: 'docs-toggle-code.css',\n shadow: false,\n})\nexport class DocsToggleCode {\n /** Is code toggled to be visible */\n @Prop() isOn: boolean\n\n /** Theme select change event. */\n @Event() toggleCode: EventEmitter\n\n @Listen('click', { capture: true })\n handleClick(ev) {\n ev.preventDefault()\n this.toggleCode.emit(!this.isOn)\n }\n\n render() {\n return (\n \n Toggle code\n \n \n \n \n \n \n )\n }\n}\n",":host,\n.ld-switch {\n /* layout */\n --ld-switch-item-icon-size: 1.25rem;\n --ld-switch-item-icon-size-sm: 1rem;\n --ld-switch-item-icon-size-lg: 1.5rem;\n --ld-switch-item-icon-margin-x: -0.25rem;\n --ld-switch-item-icon-margin-x-sm: -0.125rem;\n --ld-switch-item-icon-margin-x-lg: -0.5rem;\n --ld-switch-item-justify-content: center;\n --ld-switch-item-padding-x: 0.875rem;\n --ld-switch-item-padding-y: 0.625rem;\n --ld-switch-item-padding-x-sm: 0.625rem;\n --ld-switch-item-padding-y-sm: 0.4375rem;\n --ld-switch-item-padding-x-lg: 1.3125rem;\n --ld-switch-item-padding-y-lg: 0.85rem;\n --ld-switch-item-gap: 0.875rem;\n --ld-switch-item-gap-sm: 0.625rem;\n --ld-switch-item-gap-lg: 1.1875rem;\n --ld-switch-font: var(--ld-typo-body-m);\n --ld-switch-font-sm: var(--ld-typo-body-s);\n --ld-switch-font-lg: var(--ld-typo-body-l);\n\n /* colors */\n --ld-switch-bg-col: var(--ld-thm-primary-alpha-low);\n --ld-switch-bg-col-hover: var(--ld-thm-primary-hover);\n --ld-switch-bg-col-active: var(--ld-thm-primary-active);\n --ld-switch-bg-col-focus: var(--ld-thm-primary-focus);\n --ld-switch-item-col: var(--ld-thm-primary-hover);\n --ld-switch-item-label-bg-col: var(--ld-col-wht);\n --ld-switch-selected-col: var(--ld-col-wht);\n --ld-switch-selected-bg-col: var(--ld-thm-primary);\n\n legend {\n position: absolute;\n width: var(--ld-sp-1);\n height: var(--ld-sp-1);\n padding: 0;\n clip: rect(0, 0, 0, 0);\n border-width: 0;\n }\n}\n\n:host {\n display: inline-flex;\n}\n\n.ld-switch,\n:host fieldset {\n border: 0;\n border-radius: var(--ld-br-m);\n display: inline-grid;\n grid-auto-columns: minmax(min-content, 1fr);\n grid-auto-flow: column;\n margin: 0;\n min-width: auto;\n overflow: hidden;\n padding: 0;\n position: relative;\n}\n\n.ld-switch--fit-content,\n:host(.ld-switch--fit-content) fieldset {\n --ld-switch-item-justify-content: flex-start;\n grid-auto-columns: minmax(0, auto);\n}\n\n:host fieldset {\n width: 100%;\n height: 100%;\n}\n\n:host(.ld-switch--sm),\n.ld-switch--sm {\n --ld-switch-font: var(--ld-switch-font-sm);\n --ld-switch-item-gap: var(--ld-switch-item-gap-sm);\n --ld-switch-item-icon-margin-x: var(--ld-switch-item-icon-margin-x-sm);\n --ld-switch-item-icon-size: var(--ld-switch-item-icon-size-sm);\n --ld-switch-item-padding-x: var(--ld-switch-item-padding-x-sm);\n --ld-switch-item-padding-y: var(--ld-switch-item-padding-y-sm);\n}\n\n:host(.ld-switch--lg),\n.ld-switch--lg {\n --ld-switch-font: var(--ld-switch-font-lg);\n --ld-switch-item-gap: var(--ld-switch-item-gap-lg);\n --ld-switch-item-icon-margin-x: var(--ld-switch-item-icon-margin-x-lg);\n --ld-switch-item-icon-size: var(--ld-switch-item-icon-size-lg);\n --ld-switch-item-padding-x: var(--ld-switch-item-padding-x-lg);\n --ld-switch-item-padding-y: var(--ld-switch-item-padding-y-lg);\n}\n\n:host(.ld-switch--brand-color),\n.ld-switch--brand-color {\n --ld-switch-item-col: var(--ld-col-wht);\n --ld-switch-item-bg-col: var(--ld-col-wht-alpha-low);\n --ld-switch-item-label-bg-col: var(--ld-thm-primary);\n\n --ld-switch-item-bg-col-hover: var(--ld-col-wht-alpha-high);\n --ld-switch-item-bg-col-active: var(--ld-col-wht-alpha-medium);\n --ld-switch-item-bg-col-focus: var(--ld-col-wht-alpha-high);\n --ld-switch-item-bg-col-selected: var(--ld-col-wht);\n\n --ld-switch-item-col-selected: var(--ld-thm-primary);\n --ld-switch-item-col-active: var(--ld-switch-item-col-selected);\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { registerAutofocus } from '../../utils/focus'\nimport { isAriaDisabled } from '../../utils/ariaDisabled'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part fieldset - Container wrapping the legent element and the slot\n * @part legend - The legend element\n */\n\n@Component({\n tag: 'ld-switch',\n styleUrl: 'ld-switch.css',\n shadow: true,\n})\nexport class LdSwitch implements InnerFocusable {\n @Element() el: HTMLElement\n\n /** Size of the switch. */\n @Prop() size?: 'sm' | 'md' | 'lg'\n\n /** Defines switch custom color */\n @Prop() brandColor?: boolean\n\n /** Defines a description of the contents of the switch component. */\n @Prop() legend?: string\n\n /** Automatically focus the form control when the page is loaded. */\n @Prop({ reflect: true }) autofocus: boolean\n\n /** Disabled state of the switch. */\n @Prop() disabled?: boolean\n\n /** Make each switch item take up as little space as its content requires. */\n @Prop() fitContent? = false\n\n /** Associates the control with a form element. */\n @Prop() form?: string\n\n /** Alternative disabled state that keeps element focusable */\n @Prop() ariaDisabled: string\n\n /** Used to specify the name of the control. */\n @Prop() name?: string\n\n /** The value is not editable. */\n @Prop() readonly?: boolean\n\n /** Set this property to `true` in order to mark the switch as required. */\n @Prop() required?: boolean\n\n /** Tab index of the input. */\n @Prop() ldTabindex?: number\n\n @State() hasFocus = false\n\n /** Emitted with the value of the selected switch item. */\n @Event() ldswitchchange: EventEmitter\n\n @Listen('ldswitchitemchange')\n handleLdSwitchItemChange(ev: CustomEvent) {\n ev.stopImmediatePropagation()\n const currentLdSwitchItem = ev.target as HTMLLdSwitchItemElement\n this.ldswitchchange.emit(currentLdSwitchItem.value)\n }\n\n /** Sets focus on the radio button. */\n @Method()\n async focusInner() {\n const ldSwitchItems = Array.from(\n this.el.querySelectorAll('ld-switch-item')\n ).filter((ldSwitchItem) => !ldSwitchItem.disabled)\n\n const checkedItem = ldSwitchItems.find(\n (ldSwitchItem) => ldSwitchItem.checked\n )\n if (checkedItem) {\n checkedItem.focusInner()\n } else {\n ldSwitchItems[0].focusInner()\n }\n }\n\n private handleItemFocus = () => {\n this.hasFocus = true\n }\n\n private handleFocus = () => {\n this.focusInner()\n }\n\n private handleFocusout = () => {\n this.hasFocus = false\n }\n\n @Watch('ariaDisabled')\n @Watch('disabled')\n @Watch('form')\n @Watch('ldTabindex')\n @Watch('name')\n @Watch('readonly')\n @Watch('required')\n updateSwitchItemProps() {\n const ldSwitchItems = this.el.querySelectorAll('ld-switch-item')\n ldSwitchItems.forEach((ldSwitchItem) => {\n if (isAriaDisabled(this.ariaDisabled)) {\n ldSwitchItem.ariaDisabled = this.ariaDisabled\n }\n if (this.disabled) {\n ldSwitchItem.disabled = this.disabled\n }\n ldSwitchItem.form = this.form\n ldSwitchItem.ldTabindex = this.ldTabindex\n ldSwitchItem.name = this.name\n ldSwitchItem.readonly = this.readonly\n ldSwitchItem.required = this.required\n })\n }\n\n componentWillLoad() {\n this.updateSwitchItemProps()\n\n registerAutofocus(this.autofocus)\n }\n\n render() {\n return (\n \n
    \n {this.legend && {this.legend}}\n \n
    \n \n )\n }\n}\n",":host,\n.ld-switch-item {\n position: relative;\n display: inline-flex;\n\n &:first-of-type {\n border-bottom-left-radius: var(--ld-br-m);\n border-top-left-radius: var(--ld-br-m);\n }\n\n &:last-of-type {\n border-bottom-right-radius: var(--ld-br-m);\n border-top-right-radius: var(--ld-br-m);\n }\n\n input {\n position: absolute;\n width: var(--ld-sp-1);\n height: var(--ld-sp-1);\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border-width: 0;\n\n &:checked {\n ~ .ld-switch-item__content {\n background-color: var(\n --ld-switch-item-bg-col-selected,\n var(--ld-thm-primary)\n );\n color: var(--ld-switch-item-col-selected, var(--ld-col-wht));\n }\n }\n\n &:where(:disabled),\n &:where(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n ~ .ld-switch-item__content {\n opacity: 0.2;\n }\n }\n\n &:where(:not(:disabled)):focus {\n &:focus-visible {\n ~ .ld-switch-item__content {\n background-color: var(\n --ld-switch-item-bg-col-focus,\n var(--ld-thm-primary-focus)\n );\n color: var(--ld-switch-item-col-active, var(--ld-col-wht));\n outline: var(--ld-switch-item-outline, auto);\n /* stylelint-disable-next-line declaration-block-no-duplicate-properties */\n outline: var(\n --ld-switch-item-outline,\n auto 5px -webkit-focus-ring-color\n );\n outline-offset: -2px;\n }\n }\n &:not:focus-visible {\n ~ .ld-switch-item__content {\n outline: none;\n }\n }\n }\n\n &:where(\n :not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n ),\n [readonly]\n )\n ) {\n ~ .ld-switch-item__content {\n cursor: pointer;\n\n @media (hover: hover) {\n &:hover {\n background-color: var(\n --ld-switch-item-bg-col-hover,\n var(--ld-thm-primary-hover)\n );\n color: var(--ld-switch-item-col-active, var(--ld-col-wht));\n }\n }\n }\n\n &:active,\n &:active:focus-visible {\n ~ .ld-switch-item__content {\n background-color: var(\n --ld-switch-item-bg-col-active,\n var(--ld-thm-primary-active)\n );\n color: var(--ld-switch-item-col-active, var(--ld-col-wht));\n }\n }\n }\n }\n}\n\n.ld-switch-item__content {\n align-items: center;\n background-color: var(\n --ld-switch-item-bg-col,\n var(--ld-thm-primary-alpha-low)\n );\n border-radius: inherit;\n color: var(--ld-switch-item-col, var(--ld-thm-primary));\n display: inline-grid;\n font: var(--ld-switch-font);\n font-weight: 700;\n gap: var(--ld-switch-item-gap);\n grid-auto-flow: column;\n height: 100%;\n justify-content: var(--ld-switch-item-justify-content);\n line-height: 1.25;\n overflow: hidden;\n padding: var(--ld-switch-item-padding-y) var(--ld-switch-item-padding-x);\n text-align: center;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n\n ::slotted(ld-icon),\n ::slotted(.ld-icon),\n > ld-icon,\n > .ld-icon {\n margin: auto var(--ld-switch-item-icon-margin-x);\n }\n}\n\n.ld-switch-item__label {\n overflow: hidden;\n padding: auto var(--ld-switch-item-padding-x);\n text-align: center;\n text-overflow: ellipsis;\n\n :host & {\n display: none;\n }\n\n :host(.ld-switch-item--has-label) & {\n display: block;\n }\n}\n\n.ld-switch-item,\n:host label {\n align-items: center;\n border: 0;\n background-clip: padding-box;\n background-color: var(--ld-switch-item-label-bg-col);\n display: inline-flex;\n height: 100%;\n margin: 0;\n}\n\n:host label {\n border-radius: inherit;\n width: 100%;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Method,\n h,\n Host,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { cloneAttributes } from '../../../utils/cloneAttributes'\nimport { getClassNames } from '../../../utils/getClassNames'\nimport { isAriaDisabled } from '../../../utils/ariaDisabled'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part label-element - wrapping label element\n * @part input - the form input element\n * @part content - content container element\n * @part label - text label container containing the main slot\n */\n@Component({\n tag: 'ld-switch-item',\n styleUrl: 'ld-switch-item.css',\n shadow: true,\n})\nexport class LdSwitchItem implements InnerFocusable, ClonesAttributes {\n @Element() el: HTMLLdSwitchItemElement\n\n private attributesObserver: MutationObserver\n\n private input: HTMLInputElement\n private hiddenInput: HTMLInputElement\n\n /** Alternative disabled state that keeps element focusable */\n @Prop({ reflect: true }) ariaDisabled: string\n\n /** Indicates whether the switch item is selected. */\n @Prop({ mutable: true }) checked? = false\n\n /** Disabled state of the switch item. */\n @Prop() disabled?: boolean\n\n /**\n * @internal\n * Associates the control with a form element.\n */\n @Prop() form?: string\n\n /**\n * @internal\n * Tab index of the input.\n */\n @Prop() ldTabindex?: number\n\n /**\n * @internal\n * A string specifying a name for the input control. This name is submitted\n * along with the control's value when the form data is submitted.\n */\n @Prop() name?: string\n\n /**\n * @internal\n * The value is not editable.\n */\n @Prop({ reflect: true }) readonly?: boolean\n\n /**\n * @internal\n * Set by the outer switch component marking input element as required.\n */\n @Prop() required?: boolean\n\n /** The input value. */\n @Prop() value?: string\n\n @State() clonedAttributes\n @State() hasLabel: boolean\n\n /**\n * @internal\n * Emitted when the input value changed and the element loses focus.\n */\n @Event() ldswitchitemchange: EventEmitter\n\n /**\n * @internal\n * Emitted when the input receives focus.\n */\n @Event() ldswitchitemfocus: EventEmitter\n\n /** Sets focus on the switch item. */\n @Method()\n async focusInner() {\n this.input.focus()\n }\n\n @Watch('checked')\n @Watch('form')\n @Watch('name')\n @Watch('value')\n updateHiddenInput() {\n const outerForm = this.el.closest('form')\n if (!this.hiddenInput && this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n }\n\n if (this.hiddenInput) {\n if (!this.name) {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n return\n }\n\n this.hiddenInput.name = this.name\n this.hiddenInput.checked = this.checked\n\n if (this.value) {\n this.hiddenInput.value = this.value\n } else {\n this.hiddenInput.removeAttribute('value')\n }\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n } else if (this.hiddenInput.getAttribute('form')) {\n if (outerForm) {\n this.hiddenInput.removeAttribute('form')\n } else {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n }\n }\n }\n }\n\n private createHiddenInput() {\n this.hiddenInput = document.createElement('input')\n this.hiddenInput.type = 'radio'\n this.hiddenInput.style.visibility = 'hidden'\n this.hiddenInput.style.position = 'absolute'\n this.hiddenInput.style.pointerEvents = 'none'\n this.el.appendChild(this.hiddenInput)\n }\n\n private handleKeyDown = (ev: KeyboardEvent) => {\n switch (ev.key) {\n case 'ArrowUp':\n case 'ArrowLeft':\n ev.preventDefault()\n this.focusAndSelect('prev')\n return\n case 'ArrowDown':\n case 'ArrowRight':\n ev.preventDefault()\n this.focusAndSelect('next')\n }\n }\n\n private handleClick = (ev: MouseEvent) => {\n if (\n this.checked ||\n this.disabled ||\n isAriaDisabled(this.ariaDisabled) ||\n this.readonly\n ) {\n ev.preventDefault()\n return\n }\n\n // Uncheck siblings.\n Array.from(\n this.el.parentElement.querySelectorAll('ld-switch-item')\n ).forEach((ldSwitchItem) => {\n ldSwitchItem.checked = false\n })\n\n this.checked = true\n\n this.el.dispatchEvent(new InputEvent('change', { bubbles: true }))\n this.ldswitchitemchange.emit(this.el.value)\n }\n\n private handleFocus = () => {\n this.ldswitchitemfocus.emit()\n }\n\n private focusAndSelect(dir: 'next' | 'prev') {\n const sibling = (\n dir === 'next'\n ? this.el.nextElementSibling\n : this.el.previousElementSibling\n ) as HTMLLdSwitchItemElement\n if (sibling) {\n sibling.focusInner()\n sibling.click()\n }\n }\n\n componentWillLoad() {\n this.hasLabel = Array.from(this.el.childNodes).some(\n (el: HTMLElement) =>\n el.tagName !== 'LD-ICON' &&\n !el.classList?.contains('ld-icon') &&\n el.textContent.trim()\n )\n\n this.attributesObserver = cloneAttributes.call(this)\n }\n\n disconnectedCallback() {\n // istanbul ignore if\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n const cl = getClassNames([\n 'ld-switch-item',\n this.hasLabel && 'ld-switch-item--has-label',\n ])\n\n return (\n \n \n \n )\n }\n}\n"],"mappings":"gNAAA,MAAMA,EAAmB,uzS,MCQZC,EAAa,M,8DAWhBC,KAAAC,OAAS,CAAC,QAAS,YAAa,QAAS,UAAW,O,kBAVpC,O,CAKhB,YAAAC,CAAaC,GACnBH,KAAKI,UAAUC,KAAKF,EAAGG,OAAO,IAC9BN,KAAKO,aAAeJ,EAAGG,OAAO,E,CAKhC,MAAAE,GACE,OACEC,EAACC,EAAI,CACHC,MAAO,4BAA4BX,KAAKO,aAAaK,iBA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GACE,MAAMkI,EAAK1D,EAAc,CACvB,iBACAhF,KAAK4H,UAAY,8BAGnB,OACEnH,EAACC,EAAI,CAACiI,QAAS3I,KAAKuC,YAAa5B,MAAO+H,GACtCjI,EAAA,SAAO8E,KAAK,iBACV9E,EAAA,QAAAmI,OAAAC,OAAA,CACE5B,KAAK,SACDjH,KAAK8I,iBAAgB,CACzBvD,KAAK,kBACLwD,UAAW/I,KAAK2F,cAChBP,QAASpF,KAAKiD,YACd+F,IAAMA,GAAShJ,KAAKoG,MAAQ4C,EAC5BpE,SAAU5E,KAAK4E,SACfZ,SAAUhE,KAAKgE,SACfG,QAASnE,KAAKmE,QACdmB,SAAUtF,KAAKmE,QAAUnE,KAAKyE,YAAc,KAE9ChE,EAAA,QAAM8E,KAAK,UAAU5E,MAAM,2BACzBF,EAAA,QAAMiE,KAAK,eACXjE,EAAA,QAAM8E,KAAK,QAAQ5E,MAAM,yBACvBF,EAAA,cAEFA,EAAA,QAAMiE,KAAK,e"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-34dc80c9.entry.js b/1704966176737/dist/build/p-34dc80c9.entry.js deleted file mode 100644 index ee3e11c0ba..0000000000 --- a/1704966176737/dist/build/p-34dc80c9.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as o}from"./p-21a69c18.js";const s=":host{display:contents}";const r=class{constructor(o){t(this,o)}render(){return o("tfoot",{class:"ld-table-foot",part:"tfoot"},o("slot",null))}};r.style=s;export{r as ld_table_foot}; -//# sourceMappingURL=p-34dc80c9.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-34dc80c9.entry.js.map b/1704966176737/dist/build/p-34dc80c9.entry.js.map deleted file mode 100644 index 07d478a7c7..0000000000 --- a/1704966176737/dist/build/p-34dc80c9.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableFootShadowCss","LdTableFoot","render","h","class","part"],"sources":["../src/liquid/components/ld-table/ld-table-foot/ld-table-foot.shadow.css?tag=ld-table-foot&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-foot/ld-table-foot.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n","import { Component, h } from '@stencil/core'\n\n/**\n * @part tfoot - the actual tfoot element\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-foot',\n styleUrl: 'ld-table-foot.shadow.css',\n shadow: true,\n})\nexport class LdTableFoot {\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAuB,0B,MCYhBC,EAAW,M,yBACtB,MAAAC,GACE,OACEC,EAAA,SAAOC,MAAM,gBAAgBC,KAAK,SAChCF,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-36bbded8.entry.js.map b/1704966176737/dist/build/p-36bbded8.entry.js.map deleted file mode 100644 index 2798d8327b..0000000000 --- a/1704966176737/dist/build/p-36bbded8.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsSpacingCss","DocsSpacing","render","h","Host","class","textToCopy","this","var","val","style","width","height"],"sources":["../src/docs/components/docs-spacing/docs-spacing.css?tag=docs-spacing","../src/docs/components/docs-spacing/docs-spacing.tsx"],"sourcesContent":["@define-mixin docs-spacing-ui-light {\n .docs-spacing {\n border-color: var(--ld-col-neutral-100);\n }\n}\n@define-mixin docs-spacing-ui-dark {\n .docs-spacing {\n border-color: var(--ld-col-neutral-600);\n }\n}\n\n@mixin docs-spacing-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-spacing-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-spacing-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-spacing-ui-light;\n}\n\n.docs-spacing {\n display: flex;\n width: 100%;\n align-items: center;\n overflow: hidden;\n border-style: solid;\n border-width: var(--ld-sp-1);\n color: var(--ld-col-neutral-900);\n background-color: var(--ld-col-wht);\n padding: var(--ld-sp-16) var(--ld-sp-16) var(--ld-sp-16) var(--ld-sp-8);\n min-height: 6rem;\n\n &:first-of-type {\n border-top-left-radius: var(--ld-br-l);\n border-top-right-radius: var(--ld-br-l);\n }\n &:last-of-type {\n border-bottom-left-radius: var(--ld-br-l);\n border-bottom-right-radius: var(--ld-br-l);\n }\n &:not(:first-of-type) {\n border-top-width: 0;\n }\n &:not(:last-of-type) {\n border-bottom-width: 0;\n }\n}\n\n.docs-spacing__var,\n.docs-spacing__val {\n display: flex;\n border-radius: var(--ld-br-l);\n align-items: center;\n font: var(--ld-typo-body-s);\n font-family: 'Source Code Pro', Consolas, Monaco, 'Ubuntu Mono', monospace;\n flex-shrink: 0;\n white-space: nowrap;\n\n .docs-copy-to-cb {\n margin-right: var(--ld-sp-8);\n }\n}\n\n.docs-spacing__var {\n width: 9rem;\n}\n\n.docs-spacing__val {\n color: var(--ld-col-neutral-400);\n width: 6.5rem;\n}\n\n.docs-spacing__vis {\n display: inline-flex;\n background-color: var(--ld-col-vm);\n}\n","import { Component, h, Host, Prop } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-spacing',\n styleUrl: 'docs-spacing.css',\n shadow: false,\n})\nexport class DocsSpacing {\n /** CSS variable name */\n @Prop() var: string\n\n /** CSS variable value */\n @Prop() val: string\n\n render() {\n return (\n \n \n \n {this.var}\n \n {this.val}\n
    \n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAiB,y1C,MCQVC,EAAW,M,+DAOtB,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,gBACVF,EAAA,QAAME,MAAM,qBACVF,EAAA,mBAAiBG,WAAYC,KAAKC,MACjCD,KAAKC,KAERL,EAAA,QAAME,MAAM,qBAAqBE,KAAKE,KACtCN,EAAA,QACEE,MAAM,oBACNK,MAAO,CAAEC,MAAO,OAAOJ,KAAKC,OAAQI,OAAQ,OAAOL,KAAKC,U"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-385d2a88.entry.js b/1704966176737/dist/build/p-385d2a88.entry.js deleted file mode 100644 index c16073ada8..0000000000 --- a/1704966176737/dist/build/p-385d2a88.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as e,h as a,H as d,g as r}from"./p-21a69c18.js";import{g as t}from"./p-1133c92e.js";const l=".ld-header,:host(.ld-header){--ld-header-height:3.125rem;--ld-header-max-width:90rem;--ld-header-col:var(--ld-col-wht);--ld-header-bg-col:var(--ld-thm-primary);--ld-header-box-shadow:var(--ld-shadow-stacked);background-color:var(--ld-header-bg-col);box-shadow:var(--ld-header-box-shadow);color:var(--ld-header-col);display:flex;justify-content:center;overflow-x:auto;transition:transform var(--ld-transition-duration-quick) ease-in-out;width:100%}.ld-header.ld-header--sticky,:host(.ld-header.ld-header--sticky){position:sticky;top:0;z-index:1}.ld-header.ld-header--hidden,:host(.ld-header.ld-header--hidden){transform:translateY(-100%)}.ld-header__container{align-items:center;box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--ld-sp-16);height:var(--ld-header-height);max-width:var(--ld-header-max-width);padding-left:var(--ld-sp-16);padding-right:var(--ld-sp-16)}.ld-header__container>.ld-button--ghost,.ld-header__container>[mode=ghost],::slotted(.ld-button--ghost),::slotted([mode=ghost]){margin:0 calc(var(--ld-sp-4) * -1)}.ld-header__logo-wrapper{color:inherit;display:flex}.ld-header__logo-wrapper ::slotted(*){margin:0}.ld-header__logo{--ld-icon-size-md:2.4rem;color:var(--ld-thm-warning);display:block;margin:-.2rem}.ld-header_site-name{white-space:nowrap}.ld-header__grow{flex-grow:1}:host(.ld-header) .ld-header__grow{margin-right:calc(var(--ld-sp-16) * -1)}";const s=class{constructor(a){e(this,a);this.updateScrollDirection=()=>{var e;const a=(e=window.pageYOffset)!==null&&e!==void 0?e:document.documentElement.scrollTop;if(window.innerHeight+a>=document.body.offsetHeight){this.hidden=false}else if(a>this.lastOffset&&a>this.currentHeight){this.hidden=true}else{this.hidden=false}this.lastOffset=a<0?0:a};this.hidden=false;this.hideOnScroll=false;this.logoTitle=undefined;this.logoUrl=undefined;this.sticky=false;this.siteName=undefined}connectedCallback(){if(this.hideOnScroll){this.lastOffset=window.pageYOffset||document.documentElement.scrollTop;window.addEventListener("scroll",this.updateScrollDirection,{passive:true})}else{this.disconnectedCallback()}}disconnectedCallback(){window.removeEventListener("scroll",this.updateScrollDirection)}componentDidLoad(){this.currentHeight=this.el.getBoundingClientRect().height;this.el.querySelectorAll("ld-header > ld-button").forEach((e=>{e.size="sm";e.brandColor=true}));this.el.querySelectorAll("ld-header > .ld-button").forEach((e=>{e.classList.add("ld-button--brand-color");e.classList.add("ld-button--sm");e.classList.remove("ld-button--lg")}))}render(){const e=t(["ld-header",this.hidden&&"ld-header--hidden",this.sticky&&"ld-header--sticky"]);return a(d,{class:e,role:"banner"},a("header",{class:"ld-header__container",part:"container"},a("slot",{name:"start"}),this.logoUrl?a("a",{"aria-label":this.logoTitle,class:"ld-header__logo-wrapper",href:this.logoUrl,part:"logo-wrapper"},a("slot",{name:"logo"},a("ld-icon",{"aria-label":this.logoTitle?undefined:"Merck KGaA, Darmstadt, Germany",class:"ld-header__logo",name:"initial-m",part:"logo"}))):a("div",{"aria-label":this.logoTitle,class:"ld-header__logo-wrapper",part:"logo-wrapper"},a("slot",{name:"logo"},a("ld-icon",{"aria-label":this.logoTitle?undefined:"Merck KGaA, Darmstadt, Germany",class:"ld-header__logo",name:"initial-m",part:"logo"}))),this.siteName&&a("ld-typo",{class:"ld-header_site-name",part:"site-name",tag:"div",variant:"h5"},this.siteName),a("slot",null),a("div",{class:"ld-header__grow",part:"spacer"}),a("slot",{name:"end"})))}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{hideOnScroll:["connectedCallback"]}}};s.style=l;export{s as ld_header}; -//# sourceMappingURL=p-385d2a88.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-385d2a88.entry.js.map b/1704966176737/dist/build/p-385d2a88.entry.js.map deleted file mode 100644 index b9d25882fc..0000000000 --- a/1704966176737/dist/build/p-385d2a88.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldHeaderCss","LdHeader","this","updateScrollDirection","offset","_a","window","pageYOffset","document","documentElement","scrollTop","innerHeight","body","offsetHeight","hidden","lastOffset","currentHeight","connectedCallback","hideOnScroll","addEventListener","passive","disconnectedCallback","removeEventListener","componentDidLoad","el","getBoundingClientRect","height","querySelectorAll","forEach","ldButton","size","brandColor","cssButton","classList","add","remove","render","cl","getClassNames","sticky","h","Host","class","role","part","name","logoUrl","logoTitle","href","undefined","siteName","tag","variant"],"sources":["../src/liquid/components/ld-header/ld-header.css?tag=ld-header&encapsulation=shadow","../src/liquid/components/ld-header/ld-header.tsx"],"sourcesContent":[".ld-header {\n &,\n :host(&) {\n /* layout */\n --ld-header-height: 3.125rem;\n --ld-header-max-width: 90rem;\n\n /* colors */\n --ld-header-col: var(--ld-col-wht);\n --ld-header-bg-col: var(--ld-thm-primary);\n\n /* misc */\n --ld-header-box-shadow: var(--ld-shadow-stacked);\n\n background-color: var(--ld-header-bg-col);\n box-shadow: var(--ld-header-box-shadow);\n color: var(--ld-header-col);\n display: flex;\n justify-content: center;\n width: 100%;\n transition: transform var(--ld-transition-duration-quick) ease-in-out;\n overflow-x: auto;\n }\n\n :host(&.ld-header--sticky),\n &.ld-header--sticky {\n position: sticky;\n top: 0;\n z-index: 1;\n }\n\n :host(&.ld-header--hidden),\n &.ld-header--hidden {\n transform: translateY(-100%);\n }\n}\n\n.ld-header__container {\n align-items: center;\n box-sizing: border-box;\n display: flex;\n gap: var(--ld-sp-16);\n height: var(--ld-header-height);\n max-width: var(--ld-header-max-width);\n padding-left: var(--ld-sp-16);\n padding-right: var(--ld-sp-16);\n flex-grow: 1;\n flex-shrink: 0;\n}\n\n[mode='ghost'],\n.ld-button--ghost {\n ::slotted(&),\n .ld-header__container > & {\n margin: 0 calc(var(--ld-sp-4) * -1);\n }\n}\n\n.ld-header__logo-wrapper {\n color: inherit;\n display: flex;\n\n ::slotted(*) {\n margin: 0;\n }\n}\n\n.ld-header__logo {\n --ld-icon-size-md: 2.4rem;\n color: var(--ld-thm-warning);\n display: block;\n margin: -0.2rem;\n}\n\n.ld-header_site-name {\n white-space: nowrap;\n}\n\n.ld-header__grow {\n flex-grow: 1;\n}\n\n:host(.ld-header) {\n .ld-header__grow {\n margin-right: calc(var(--ld-sp-16) * -1);\n }\n}\n","import { Component, Host, h, Prop, Element, Watch } from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\n\n/**\n * @slot end - Items on the right side of the header.\n * @slot logo - Custom logo.\n * @slot start - Items on the left side of the header.\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part container - Actual header element that limits the width of the header content\n * @part logo - The default logo\n * @part logo-wrapper - The element wrapping the logo slot (div or anchor, if linked)\n * @part site-name - `ld-typo` element containing the site name\n * @part spacer - Element adding the space between the default slot and the end slot\n */\n@Component({\n assetsDirs: ['assets'],\n tag: 'ld-header',\n styleUrl: 'ld-header.css',\n shadow: true,\n})\nexport class LdHeader {\n @Element() el: HTMLElement\n private lastOffset?: number\n private currentHeight?: number\n\n /** Hides header. */\n @Prop({ mutable: true }) hidden = false\n\n /** Hide the header when the user scrolls down and show it again, when the user scrolls up. */\n @Prop() hideOnScroll? = false\n\n /** Title attribute of the logo link. */\n @Prop() logoTitle?: string\n\n /** URL that the logo links to. */\n @Prop() logoUrl?: string\n\n /** Make the header sticky. */\n @Prop() sticky? = false\n\n /** Name shown on the right side of the logo. */\n @Prop() siteName?: string\n\n private updateScrollDirection = () => {\n const offset = window.pageYOffset ?? document.documentElement.scrollTop\n\n if (window.innerHeight + offset >= document.body.offsetHeight) {\n this.hidden = false\n } else if (offset > this.lastOffset && offset > this.currentHeight) {\n this.hidden = true\n } else {\n this.hidden = false\n }\n\n // For mobile or negative scrolling\n this.lastOffset = offset < 0 ? 0 : offset\n }\n\n @Watch('hideOnScroll')\n connectedCallback() {\n if (this.hideOnScroll) {\n this.lastOffset = window.pageYOffset || document.documentElement.scrollTop\n window.addEventListener('scroll', this.updateScrollDirection, {\n passive: true,\n })\n } else {\n this.disconnectedCallback()\n }\n }\n\n disconnectedCallback() {\n window.removeEventListener('scroll', this.updateScrollDirection)\n }\n\n componentDidLoad() {\n this.currentHeight = this.el.getBoundingClientRect().height\n\n this.el\n .querySelectorAll('ld-header > ld-button')\n .forEach((ldButton) => {\n ldButton.size = 'sm'\n ldButton.brandColor = true\n })\n\n this.el\n .querySelectorAll('ld-header > .ld-button')\n .forEach((cssButton) => {\n cssButton.classList.add('ld-button--brand-color')\n cssButton.classList.add('ld-button--sm')\n cssButton.classList.remove('ld-button--lg')\n })\n }\n\n render() {\n const cl = getClassNames([\n 'ld-header',\n this.hidden && 'ld-header--hidden',\n this.sticky && 'ld-header--sticky',\n ])\n\n return (\n \n
    \n \n {this.logoUrl ? (\n \n \n \n \n \n ) : (\n \n \n \n \n \n )}\n {this.siteName && (\n \n {this.siteName}\n \n )}\n \n
    \n \n
    \n
    \n )\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAc,i3C,MCqBPC,EAAQ,M,yBAuBXC,KAAAC,sBAAwB,K,MAC9B,MAAMC,GAASC,EAAAC,OAAOC,eAAW,MAAAF,SAAA,EAAAA,EAAIG,SAASC,gBAAgBC,UAE9D,GAAIJ,OAAOK,YAAcP,GAAUI,SAASI,KAAKC,aAAc,CAC7DX,KAAKY,OAAS,K,MACT,GAAIV,EAASF,KAAKa,YAAcX,EAASF,KAAKc,cAAe,CAClEd,KAAKY,OAAS,I,KACT,CACLZ,KAAKY,OAAS,K,CAIhBZ,KAAKa,WAAaX,EAAS,EAAI,EAAIA,CAAM,E,YA7BT,M,kBAGV,M,4DASN,M,wBAqBlB,iBAAAa,GACE,GAAIf,KAAKgB,aAAc,CACrBhB,KAAKa,WAAaT,OAAOC,aAAeC,SAASC,gBAAgBC,UACjEJ,OAAOa,iBAAiB,SAAUjB,KAAKC,sBAAuB,CAC5DiB,QAAS,M,KAEN,CACLlB,KAAKmB,sB,EAIT,oBAAAA,GACEf,OAAOgB,oBAAoB,SAAUpB,KAAKC,sB,CAG5C,gBAAAoB,GACErB,KAAKc,cAAgBd,KAAKsB,GAAGC,wBAAwBC,OAErDxB,KAAKsB,GACFG,iBAAsC,yBACtCC,SAASC,IACRA,EAASC,KAAO,KAChBD,EAASE,WAAa,IAAI,IAG9B7B,KAAKsB,GACFG,iBAA8B,0BAC9BC,SAASI,IACRA,EAAUC,UAAUC,IAAI,0BACxBF,EAAUC,UAAUC,IAAI,iBACxBF,EAAUC,UAAUE,OAAO,gBAAgB,G,CAIjD,MAAAC,GACE,MAAMC,EAAKC,EAAc,CACvB,YACApC,KAAKY,QAAU,oBACfZ,KAAKqC,QAAU,sBAGjB,OACEC,EAACC,EAAI,CAACC,MAAOL,EAAIM,KAAK,UACpBH,EAAA,UAAQE,MAAM,uBAAuBE,KAAK,aACxCJ,EAAA,QAAMK,KAAK,UACV3C,KAAK4C,QACJN,EAAA,kBACctC,KAAK6C,UACjBL,MAAM,0BACNM,KAAM9C,KAAK4C,QACXF,KAAK,gBAELJ,EAAA,QAAMK,KAAK,QACTL,EAAA,wBAEItC,KAAK6C,UACDE,UACA,iCAENP,MAAM,kBACNG,KAAK,YACLD,KAAK,WAKXJ,EAAA,oBACctC,KAAK6C,UACjBL,MAAM,0BACNE,KAAK,gBAELJ,EAAA,QAAMK,KAAK,QACTL,EAAA,wBAEItC,KAAK6C,UACDE,UACA,iCAENP,MAAM,kBACNG,KAAK,YACLD,KAAK,WAKZ1C,KAAKgD,UACJV,EAAA,WACEE,MAAM,sBACNE,KAAK,YACLO,IAAI,MACJC,QAAQ,MAEPlD,KAAKgD,UAGVV,EAAA,aACAA,EAAA,OAAKE,MAAM,kBAAkBE,KAAK,WAClCJ,EAAA,QAAMK,KAAK,S"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-3a42d32d.entry.js b/1704966176737/dist/build/p-3a42d32d.entry.js deleted file mode 100644 index cc52249684..0000000000 --- a/1704966176737/dist/build/p-3a42d32d.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as e}from"./p-21a69c18.js";const a=":host{display:contents}:host ::slotted(ld-table-row){--ld-table-selection-wrapper-border-width-top:calc(var(--ld-sp-1) * 0.5);--ld-table-selection-wrapper-border-width-bottom:var(--ld-sp-1)}thead{background-image:var(--ld-table-head-gradient);position:sticky;top:0;z-index:2}";const r=class{constructor(e){t(this,e)}render(){return e("thead",{class:"ld-table-head",part:"thead"},e("slot",null))}};r.style=a;export{r as ld_table_head}; -//# sourceMappingURL=p-3a42d32d.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-3a42d32d.entry.js.map b/1704966176737/dist/build/p-3a42d32d.entry.js.map deleted file mode 100644 index 72f8b72212..0000000000 --- a/1704966176737/dist/build/p-3a42d32d.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableHeadShadowCss","LdTableHead","render","h","class","part"],"sources":["../src/liquid/components/ld-table/ld-table-head/ld-table-head.shadow.css?tag=ld-table-head&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-head/ld-table-head.tsx"],"sourcesContent":[":host {\n display: contents;\n\n ::slotted(ld-table-row) {\n --ld-table-selection-wrapper-border-width-top: calc(var(--ld-sp-1) * 0.5);\n --ld-table-selection-wrapper-border-width-bottom: var(--ld-sp-1);\n }\n}\n\nthead {\n background-image: var(--ld-table-head-gradient);\n position: sticky;\n top: 0;\n z-index: 2;\n}\n","import { Component, h } from '@stencil/core'\n\n/**\n * @part thead - the actual thead element\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-head',\n styleUrl: 'ld-table-head.shadow.css',\n shadow: true,\n})\nexport class LdTableHead {\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAuB,sR,MCYhBC,EAAW,M,yBACtB,MAAAC,GACE,OACEC,EAAA,SAAOC,MAAM,gBAAgBC,KAAK,SAChCF,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-3aadade1.entry.js b/1704966176737/dist/build/p-3aadade1.entry.js deleted file mode 100644 index 42dcd8747f..0000000000 --- a/1704966176737/dist/build/p-3aadade1.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as a,h as s,H as t}from"./p-21a69c18.js";const l="";const r=class{constructor(s){a(this,s)}render(){return s(t,{role:"tabpanel",class:"ld-tabpanel",tabindex:"-1"},s("slot",null))}};r.style=l;export{r as ld_tabpanel}; -//# sourceMappingURL=p-3aadade1.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-3aadade1.entry.js.map b/1704966176737/dist/build/p-3aadade1.entry.js.map deleted file mode 100644 index eda9c3b2ed..0000000000 --- a/1704966176737/dist/build/p-3aadade1.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTabpanelShadowCss","LdTabpanel","render","h","Host","role","class","tabindex"],"sources":["../src/liquid/components/ld-tabs/ld-tabpanel/ld-tabpanel.shadow.css?tag=ld-tabpanel&encapsulation=shadow","../src/liquid/components/ld-tabs/ld-tabpanel/ld-tabpanel.tsx"],"sourcesContent":[null,"import { Component, h, Host } from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-tabpanel',\n styleUrl: 'ld-tabpanel.shadow.css',\n shadow: true,\n})\nexport class LdTabpanel {\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAsB,G,MCWfC,EAAU,M,yBACrB,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,KAAK,WAAWC,MAAM,cAAcC,SAAS,MACjDJ,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-3b79636e.entry.js.map b/1704966176737/dist/build/p-3b79636e.entry.js.map deleted file mode 100644 index 724db40a60..0000000000 --- a/1704966176737/dist/build/p-3b79636e.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldOptgroupInternalShadowCss","LdOptgroupInternal","this","handleClick","disabled","mode","options","Array","from","el","children","newSelectedState","selected","filter","o","forEach","focusInner","optgroupRef","focus","handleOptionSelect","totalOptions","length","totalSelected","handleKeyDown","ev","key","preventDefault","stopImmediatePropagation","handleSelectedChange","ldoptgroupselect","emit","componentWillLoad","render","h","Host","class","getClassNames","size","filtered","role","ref","undefined","onClick","tabIndex","ldTabindex","part","checked","indeterminate","label"],"sources":["../src/liquid/components/ld-select/ld-optgroup-internal/ld-optgroup-internal.shadow.css?tag=ld-optgroup-internal&encapsulation=shadow","../src/liquid/components/ld-select/ld-optgroup-internal/ld-optgroup-internal.tsx"],"sourcesContent":[":host {\n /* layout */\n --ld-optgroup-padding-inline-start-sm: 0.625rem;\n --ld-optgroup-padding-inline-start-lg: 0.875rem;\n --ld-optgroup-option-padding-inline-start: 1rem;\n\n /* colors */\n --ld-optgroup-bg-col: var(--ld-col-neutral-010);\n --ld-optgroup-border-col: var(--ld-col-neutral-100);\n --ld-optgroup-disabled-text-col: var(--ld-col-neutral-100);\n --ld-optgroup-text-col: var(--ld-col-neutral-900);\n\n /* themable colors */\n --ld-optgroup-thm-col: var(--ld-thm-primary);\n --ld-optgroup-thm-col-hover: var(--ld-thm-primary-hover);\n --ld-optgroup-thm-col-focus: var(--ld-thm-primary-focus);\n --ld-optgroup-thm-col-active: var(--ld-thm-primary-active);\n --ld-optgroup-thm-bg-col-hover: var(--ld-thm-primary-highlight);\n --ld-optgroup-thm-bg-col-focus: var(--ld-thm-primary-highlight);\n --ld-optgroup-thm-bg-col-active: var(--ld-thm-primary-highlight);\n\n &(:not(:last-child)) {\n .ld-optgroup-internal__slot-container {\n border-bottom: solid var(--ld-optgroup-border-col) var(--ld-sp-1);\n }\n }\n}\n\n.ld-optgroup-internal {\n background-color: var(--ld-optgroup-bg-col);\n border: 0;\n box-sizing: border-box;\n color: var(--ld-optgroup-text-col);\n display: flex;\n font: var(--ld-typo-label-m);\n min-height: 2.5rem;\n outline: none;\n padding-block: var(--ld-sp-8);\n padding-inline: var(--ld-sp-12);\n position: relative;\n touch-action: manipulation;\n user-select: none;\n white-space: nowrap;\n -webkit-touch-callout: none;\n\n &::after {\n content: '';\n inset-block: calc(-1 * var(--ld-sp-1)) 0;\n inset-inline: calc(-1 * var(--ld-sp-1));\n position: absolute;\n pointer-events: none;\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-col-neutral-100);\n }\n\n &--sm {\n padding-inline-start: var(--ld-optgroup-padding-inline-start-sm);\n }\n\n &--lg {\n padding-inline-start: var(--ld-optgroup-padding-inline-start-lg);\n }\n\n &--filtered {\n display: none;\n }\n\n *,\n *::before,\n *::after {\n box-sizing: inherit;\n }\n\n [data-popper-placement*='bottom'] & {\n &:last-of-type {\n border-bottom-left-radius: var(--ld-br-m);\n border-bottom-right-radius: var(--ld-br-m);\n }\n }\n [data-popper-placement*='top'] & {\n &:first-of-type {\n border-top-left-radius: var(--ld-br-m);\n border-top-right-radius: var(--ld-br-m);\n }\n }\n\n &:not(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n cursor: pointer;\n }\n\n &[aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false'])) {\n color: var(--ld-optgroup-disabled-text-col);\n }\n\n &:where(:focus),\n &:where(:focus:focus-visible) {\n /* Pseudo element for focus outline */\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n border-radius: var(--ld-br-m);\n pointer-events: none;\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-optgroup-thm-col);\n }\n }\n\n &:where(:focus:not(:focus-visible)) {\n &::before {\n content: none;\n }\n }\n\n &:where(\n :not(\n .ld-optgroup-internal--disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n :where(.ld-optgroup-internal__check) {\n color: var(--ld-optgroup-thm-col);\n }\n\n &:where(:focus),\n &:where(:focus:focus-visible) {\n background-color: var(--ld-optgroup-thm-bg-col-focus);\n\n :where(.ld-optgroup-internal__check) {\n color: var(--ld-optgroup-thm-col-focus);\n }\n }\n\n &:where(:focus:not(:focus-visible)) {\n background-color: var(--ld-optgroup-bg-col);\n\n :where(.ld-optgroup-internal__check) {\n color: var(--ld-optgroup-thm-col);\n }\n }\n\n @media (hover: hover) {\n &:where(:hover) {\n background-color: var(--ld-optgroup-thm-bg-col-hover);\n\n :where(.ld-optgroup-internal__check) {\n color: var(--ld-optgroup-thm-col-hover);\n }\n }\n }\n\n &:where(:active),\n &:where(:active:focus-visible) {\n background-color: var(--ld-optgroup-thm-bg-col-active);\n\n :where(.ld-optgroup-internal__check) {\n color: var(--ld-optgroup-thm-col-active);\n }\n }\n }\n}\n\n.ld-optgroup-internal__checkbox-wrapper {\n display: inline-flex;\n flex-shrink: 0;\n}\n\n.ld-optgroup-internal__check,\n.ld-optgroup-internal__checkbox {\n align-self: center;\n flex-shrink: 0;\n transform: translateX(calc(-1 * var(--ld-sp-2)));\n}\n\n.ld-optgroup-internal__check {\n margin-right: var(--ld-sp-4);\n}\n\n.ld-optgroup-internal__checkbox {\n margin-left: var(--ld-sp-2);\n margin-right: var(--ld-sp-6);\n}\n\n.ld-optgroup-internal__label {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\n\n/** @internal **/\n@Component({\n tag: 'ld-optgroup-internal',\n styleUrl: 'ld-optgroup-internal.shadow.css',\n shadow: true,\n})\nexport class LdOptgroupInternal implements InnerFocusable {\n @Element() el: HTMLElement\n\n private optgroupRef: HTMLElement\n\n /** Disables the whole option group. */\n @Prop() disabled?: boolean\n\n /** Set to true on filtering via select input. */\n @Prop() filtered? = false\n\n /** The name of the group of options. */\n @Prop() label!: string\n\n /** Tab index of the option. */\n @Prop() ldTabindex? = -1\n\n /** Display mode. */\n @Prop() mode?: 'checkbox' | undefined\n\n /** Size of the option. */\n @Prop() size?: 'sm' | 'lg'\n\n @State() selected?: boolean | 'indeterminate' = false\n\n /**\n * @internal\n * Emitted on either selection or de-selection of the option.\n */\n @Event() ldoptgroupselect: EventEmitter\n\n /** Sets focus internally. */\n @Method()\n async focusInner() {\n this.optgroupRef.focus()\n }\n\n @Listen('ldoptionselect')\n handleOptionSelect() {\n if (this.mode !== 'checkbox') return\n\n const options = Array.from(\n this.el.children\n ) as HTMLLdOptionInternalElement[]\n const totalOptions = options.length\n const totalSelected = options.filter((o) => o.selected).length\n\n if (totalSelected === 0) {\n this.selected = false\n return\n }\n\n if (totalOptions === totalSelected) {\n this.selected = true\n return\n }\n\n this.selected = 'indeterminate'\n }\n\n @Listen('keydown', { passive: false })\n handleKeyDown(ev: KeyboardEvent) {\n if (ev.key === ' ' || ev.key === 'Enter') {\n ev.preventDefault()\n ev.stopImmediatePropagation()\n this.handleClick()\n }\n }\n\n private handleClick = () => {\n if (this.disabled) return\n if (this.mode !== 'checkbox') return\n\n const options = Array.from(\n this.el.children\n ) as HTMLLdOptionInternalElement[]\n const newSelectedState =\n this.selected === false || this.selected === 'indeterminate'\n options\n .filter((o) => o.selected !== newSelectedState)\n .forEach((o) => {\n o.selected = newSelectedState\n })\n }\n\n @Watch('selected')\n handleSelectedChange() {\n this.ldoptgroupselect.emit(this.selected)\n }\n\n componentWillLoad() {\n this.handleOptionSelect()\n }\n\n render() {\n return (\n \n (this.optgroupRef = el as HTMLElement)}\n aria-disabled={this.disabled ? 'true' : undefined}\n onClick={this.handleClick}\n tabIndex={this.ldTabindex}\n part=\"option focusable\"\n >\n {this.mode === 'checkbox' && (\n \n \n \n )}\n\n \n {this.label}\n \n \n\n
    \n \n
    \n \n )\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAA8B,y1L,MCqBvBC,EAAkB,M,4EAqErBC,KAAAC,YAAc,KACpB,GAAID,KAAKE,SAAU,OACnB,GAAIF,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C,KAAKG,OAAS,YACb4B,EAAA,OACEE,MAAM,yCACNI,KAAK,eACLM,KAAK,oBAELZ,EAAA,eACEE,MAAM,iCACNW,QAAS5C,KAAKU,WAAa,KAC3BmC,cAAe7C,KAAKU,WAAa,gBACjCR,SAAUF,KAAKE,SACfyC,KAAK,cAKXZ,EAAA,QAAME,MAAM,8BAA8BU,KAAK,SAC5C3C,KAAK8C,QAIVf,EAAA,OAAKE,MAAM,uCAAuCU,KAAK,kBACrDZ,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-40a74ea6.entry.js.map b/1704966176737/dist/build/p-40a74ea6.entry.js.map deleted file mode 100644 index 0dd244d691..0000000000 --- a/1704966176737/dist/build/p-40a74ea6.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldInputMessageCss","LdInputMessage","render","h","Host","class","this","mode","name","part","size"],"sources":["../src/liquid/components/ld-input-message/ld-input-message.css?tag=ld-input-message&encapsulation=shadow","../src/liquid/components/ld-input-message/ld-input-message.tsx"],"sourcesContent":[":host,\n.ld-input-message {\n --ld-input-message-valid-text-col: var(--ld-thm-success);\n --ld-input-message-error-text-col: var(--ld-thm-error);\n\n display: inline-flex;\n align-items: baseline;\n font: var(--ld-typo-body-s);\n line-height: 1.5;\n}\n\n:host(.ld-input-message--info),\n.ld-input-message--info {\n .ld-input-message__icon {\n --ld-icon-secondary-col: var(--ld-col-neutral-900);\n color: var(--ld-thm-warning);\n }\n}\n\n:host(.ld-input-message--valid),\n.ld-input-message--valid {\n color: var(--ld-input-message-valid-text-col);\n}\n\n:host(.ld-input-message--error),\n.ld-input-message--error {\n color: var(--ld-input-message-error-text-col);\n}\n\n.ld-input-message__icon {\n transform: translateY(var(--ld-sp-2));\n margin-top: var(--ld-sp-2);\n margin-right: var(--ld-sp-6);\n flex-shrink: 0;\n}\n","import { Component, h, Prop, Host } from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part icon - Image tag used for the icon\n */\n@Component({\n assetsDirs: ['assets'],\n tag: 'ld-input-message',\n styleUrl: 'ld-input-message.css',\n shadow: true,\n})\nexport class LdInputMessage {\n /** Input message mode. */\n @Prop() mode?: 'error' | 'info' | 'valid' = 'error'\n\n render() {\n return (\n \n \n \n \n \n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAoB,+tB,MCabC,EAAc,M,mCAEmB,O,CAE5C,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAO,sCAAsCC,KAAKC,QACtDJ,EAAA,WACEE,MAAM,yBACNG,KAAM,oBAAsBF,KAAKC,KACjCE,KAAK,OACLC,KAAK,OAEPP,EAAA,oBAAgB,aACdA,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-42bd57e0.entry.js.map b/1704966176737/dist/build/p-42bd57e0.entry.js.map deleted file mode 100644 index 1e820e3174..0000000000 --- a/1704966176737/dist/build/p-42bd57e0.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldBgCellsCss","LdBgCells","loadPatternPathData","this","type","patternString","fetchPattern","el","shadowRoot","querySelectorAll","forEach","layer","div","document","createElement","innerHTML","Array","from","_a","children","child","tagName","appendChild","componentWillLoad","render","cellType","h","Host","class","getClassNames","threeLayers","animated","viewBox","fill","xmlns","part"],"sources":["../src/liquid/components/ld-bg-cells/ld-bg-cells.css?tag=ld-bg-cells&encapsulation=shadow","../src/liquid/components/ld-bg-cells/ld-bg-cells.tsx"],"sourcesContent":[":host,\n.ld-bg-cells {\n --ld-bg-cells-bg-col: var(--ld-thm-secondary);\n --ld-bg-cells-layer-col: var(--ld-thm-primary);\n --ld-bg-cells-layer-translation-x: -80%;\n --ld-bg-cells-layer-translation-y: -6%;\n --ld-bg-cells-layer-size: 260%;\n --ld-bg-cells-layer-rotation: 0deg;\n --ld-bg-cells-secondary-layer-col: transparent;\n --ld-bg-cells-secondary-layer-translation-x: 0%;\n --ld-bg-cells-secondary-layer-translation-y: 0%;\n --ld-bg-cells-secondary-layer-size: 150%;\n --ld-bg-cells-secondary-layer-rotation: 0deg;\n\n --ld-bg-cells-base-size-factor: 0.39;\n\n --ld-bg-cells-layer-size-clamped: clamp(\n 50%,\n var(--ld-bg-cells-layer-size),\n 800%\n );\n --ld-bg-cells-layer-size-normalized: calc(\n var(--ld-bg-cells-layer-size-clamped) * var(--ld-bg-cells-base-size-factor)\n );\n --ld-bg-cells-secondary-layer-size-clamped: clamp(\n 50%,\n var(--ld-bg-cells-secondary-layer-size),\n 800%\n );\n --ld-bg-cells-secondary-layer-size-normalized: calc(\n var(--ld-bg-cells-secondary-layer-size-clamped) *\n var(--ld-bg-cells-base-size-factor)\n );\n\n --ld-bg-cells-layer-animation-translate: 0.3%;\n --ld-bg-cells-layer-animation-scale: 4%;\n --ld-bg-cells-layer-animation-rotate: 6deg;\n --ld-bg-cells-layer-animation-speed: 1;\n\n --ld-bg-cells-layer-animation-dur: calc(\n 126s / var(--ld-bg-cells-layer-animation-speed)\n );\n --ld-bg-cells-secondary-layer-animation-dur: calc(\n 84s / var(--ld-bg-cells-layer-animation-speed)\n );\n\n background: var(--ld-bg-cells-bg-col);\n position: relative;\n display: block;\n height: 100%;\n width: 100%;\n overflow: hidden;\n}\n\n/* We are scaling the layer up to 1000% to smoothen calculations for the transformation.\n Original size leads to rounding errors and therefore jumping of the pattern. */\n.ld-bg-cells__layer,\n.ld-bg-cells__secondary-layer {\n inset: 0;\n position: absolute;\n min-width: 1000%;\n min-height: 1000%;\n top: 50%;\n left: 50%;\n}\n\n.ld-bg-cells__layer {\n color: var(--ld-bg-cells-layer-col);\n transform: translate(\n calc((var(--ld-bg-cells-layer-translation-x) / 10) - 50%),\n calc((var(--ld-bg-cells-layer-translation-y) / 10) - 50%)\n )\n scale(var(--ld-bg-cells-layer-size-normalized))\n rotate(var(--ld-bg-cells-layer-rotation));\n\n &--animated {\n animation: layer-animate var(--ld-bg-cells-layer-animation-dur) ease-in-out\n infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n }\n}\n\n.ld-bg-cells__secondary-layer {\n color: var(--ld-bg-cells-secondary-layer-col);\n transform: translate(\n calc((var(--ld-bg-cells-secondary-layer-translation-x) / 10) - 50%),\n calc((var(--ld-bg-cells-secondary-layer-translation-y) / 10) - 50%)\n )\n scale(var(--ld-bg-cells-secondary-layer-size-normalized))\n rotate(var(--ld-bg-cells-secondary-layer-rotation));\n\n &--animated {\n animation: secondary-layer-animate\n var(--ld-bg-cells-secondary-layer-animation-dur) ease-in-out infinite\n reverse;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n }\n}\n\n.ld-bg-cells {\n :host(&--three-layers),\n &--three-layers {\n --ld-bg-cells-layer-col: var(--ld-thm-primary);\n --ld-bg-cells-secondary-layer-col: var(--ld-col-vy);\n --ld-bg-cells-layer-size: 390%;\n --ld-bg-cells-layer-translation-x: -50%;\n --ld-bg-cells-layer-rotation: -30deg;\n --ld-bg-cells-secondary-layer-size: 580%;\n --ld-bg-cells-secondary-layer-translation-x: -20%;\n --ld-bg-cells-secondary-layer-translation-y: -100%;\n }\n\n :host(&--bioreliance),\n &--bioreliance {\n --ld-bg-cells-base-size-factor: 0.46;\n --ld-bg-cells-bg-col: var(--ld-col-vg);\n --ld-bg-cells-layer-col: var(--ld-col-rp);\n --ld-bg-cells-secondary-layer-col: transparent;\n --ld-bg-cells-layer-translation-x: -89%;\n --ld-bg-cells-layer-translation-y: 48%;\n --ld-bg-cells-layer-size: 297%;\n }\n\n :host(&--f),\n &--f {\n --ld-bg-cells-base-size-factor: 0.49;\n --ld-bg-cells-layer-translation-x: -79%;\n --ld-bg-cells-layer-translation-y: 24%;\n --ld-bg-cells-layer-size: 240%;\n }\n\n :host(&--mdo),\n &--mdo {\n --ld-bg-cells-base-size-factor: 0.2;\n --ld-bg-cells-bg-col: var(--ld-col-rb);\n --ld-bg-cells-layer-col: var(--ld-col-sy);\n --ld-bg-cells-secondary-layer-col: var(--ld-col-sb);\n --ld-bg-cells-layer-translation-x: -107%;\n --ld-bg-cells-layer-translation-y: -32%;\n --ld-bg-cells-layer-size: 147%;\n --ld-bg-cells-layer-rotation: 145deg;\n --ld-bg-cells-secondary-layer-translation-x: 133%;\n --ld-bg-cells-secondary-layer-translation-y: 46%;\n --ld-bg-cells-secondary-layer-size: 150%;\n --ld-bg-cells-secondary-layer-rotation: 145deg;\n }\n\n :host(&--millipore),\n &--millipore {\n --ld-bg-cells-base-size-factor: 0.43;\n --ld-bg-cells-bg-col: var(--ld-col-rb);\n --ld-bg-cells-layer-col: var(--ld-col-vy);\n --ld-bg-cells-secondary-layer-col: transparent;\n --ld-bg-cells-layer-translation-x: -80%;\n --ld-bg-cells-layer-translation-y: 43%;\n --ld-bg-cells-layer-size: 230%;\n }\n\n :host(&--milliq),\n &--milliq {\n --ld-bg-cells-base-size-factor: 0.23;\n --ld-bg-cells-bg-col: var(--ld-col-vc);\n --ld-bg-cells-layer-col: var(--ld-col-rp);\n --ld-bg-cells-secondary-layer-col: transparent;\n --ld-bg-cells-layer-translation-x: -70%;\n --ld-bg-cells-layer-translation-y: 100%;\n --ld-bg-cells-layer-size: 420%;\n }\n\n :host(&--o),\n &--o {\n --ld-bg-cells-base-size-factor: 0.33;\n --ld-bg-cells-layer-translation-x: -75%;\n --ld-bg-cells-layer-translation-y: -21%;\n --ld-bg-cells-layer-size: 190%;\n }\n\n :host(&--supelco),\n &--supelco {\n --ld-bg-cells-base-size-factor: 0.66;\n --ld-bg-cells-bg-col: var(--ld-col-rg);\n --ld-bg-cells-layer-col: var(--ld-col-vy);\n --ld-bg-cells-secondary-layer-col: transparent;\n --ld-bg-cells-layer-translation-x: -59%;\n --ld-bg-cells-layer-translation-y: 43%;\n --ld-bg-cells-layer-size: 190%;\n }\n\n :host(&--safc),\n &--safc {\n --ld-bg-cells-base-size-factor: 0.34;\n --ld-bg-cells-bg-col: var(--ld-col-vm);\n --ld-bg-cells-layer-col: var(--ld-col-vy);\n --ld-bg-cells-secondary-layer-col: transparent;\n --ld-bg-cells-layer-translation-x: -122%;\n --ld-bg-cells-layer-translation-y: 5%;\n --ld-bg-cells-layer-size: 362%;\n }\n\n :host(&--sigma-aldrich),\n &--sigma-aldrich {\n --ld-bg-cells-base-size-factor: 0.53;\n --ld-bg-cells-bg-col: var(--ld-col-rr);\n --ld-bg-cells-layer-col: var(--ld-col-vy);\n --ld-bg-cells-secondary-layer-col: transparent;\n --ld-bg-cells-layer-translation-x: -124%;\n --ld-bg-cells-layer-translation-y: -2%;\n --ld-bg-cells-layer-size: 460%;\n }\n\n :host(&--t),\n &--t {\n --ld-bg-cells-base-size-factor: 0.47;\n --ld-bg-cells-layer-translation-x: -108%;\n --ld-bg-cells-layer-translation-y: 72%;\n --ld-bg-cells-layer-size: 312%;\n }\n\n :host(&--tile),\n &--tile {\n --ld-bg-cells-base-size-factor: 0.31;\n --ld-bg-cells-layer-translation-x: -93%;\n --ld-bg-cells-layer-translation-y: -1%;\n --ld-bg-cells-layer-size: 340%;\n }\n}\n\n@keyframes layer-animate {\n 0%,\n 100% {\n transform: translate(\n calc(\n (var(--ld-bg-cells-layer-translation-x) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate))\n ),\n calc(\n (var(--ld-bg-cells-layer-translation-y) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n )\n scale(calc(var(--ld-bg-cells-layer-size-normalized)))\n rotate(calc(var(--ld-bg-cells-layer-rotation)));\n }\n 25% {\n transform: translate(\n calc(\n (\n (var(--ld-bg-cells-layer-translation-x) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate))\n )\n ),\n calc(\n (\n (var(--ld-bg-cells-layer-translation-y) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n )\n )\n scale(\n calc(\n var(--ld-bg-cells-layer-size-normalized) +\n var(--ld-bg-cells-layer-animation-scale)\n )\n )\n rotate(\n calc(\n var(--ld-bg-cells-layer-rotation) -\n var(--ld-bg-cells-layer-animation-rotate)\n )\n );\n }\n 50% {\n transform: translate(\n calc(\n (\n (var(--ld-bg-cells-layer-translation-x) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n ),\n calc(\n (\n (var(--ld-bg-cells-layer-translation-y) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate))\n )\n )\n )\n scale(calc(var(--ld-bg-cells-layer-size-normalized)))\n rotate(calc(var(--ld-bg-cells-layer-rotation)));\n }\n 75% {\n transform: translate(\n calc(\n (\n (var(--ld-bg-cells-layer-translation-x) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n ),\n calc(\n (\n (var(--ld-bg-cells-layer-translation-y) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate))\n )\n )\n )\n scale(\n calc(\n var(--ld-bg-cells-layer-size-normalized) -\n var(--ld-bg-cells-layer-animation-scale)\n )\n )\n rotate(\n calc(\n var(--ld-bg-cells-layer-rotation) +\n var(--ld-bg-cells-layer-animation-rotate)\n )\n );\n }\n}\n\n@keyframes secondary-layer-animate {\n 0%,\n 100% {\n transform: translate(\n calc(\n (var(--ld-bg-cells-secondary-layer-translation-x) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate))\n ),\n calc(\n (var(--ld-bg-cells-secondary-layer-translation-y) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n )\n scale(calc(var(--ld-bg-cells-secondary-layer-size-normalized)))\n rotate(calc(var(--ld-bg-cells-secondary-layer-rotation)));\n }\n 25% {\n transform: translate(\n calc(\n (\n (var(--ld-bg-cells-secondary-layer-translation-x) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate))\n )\n ),\n calc(\n (\n (var(--ld-bg-cells-secondary-layer-translation-y) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n )\n )\n scale(\n calc(\n var(--ld-bg-cells-secondary-layer-size-normalized) +\n var(--ld-bg-cells-layer-animation-scale)\n )\n )\n rotate(\n calc(\n var(--ld-bg-cells-secondary-layer-rotation) -\n var(--ld-bg-cells-layer-animation-rotate)\n )\n );\n }\n 50% {\n transform: translate(\n calc(\n (\n (var(--ld-bg-cells-secondary-layer-translation-x) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n ),\n calc(\n (\n (var(--ld-bg-cells-secondary-layer-translation-y) / 10) -\n (50% + var(--ld-bg-cells-layer-animation-translate))\n )\n )\n )\n scale(calc(var(--ld-bg-cells-secondary-layer-size-normalized)))\n rotate(calc(var(--ld-bg-cells-secondary-layer-rotation)));\n }\n 75% {\n transform: translate(\n calc(\n (\n (var(--ld-bg-cells-secondary-layer-translation-x) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate) / 2)\n )\n ),\n calc(\n (\n (var(--ld-bg-cells-secondary-layer-translation-y) / 10) -\n (50% - var(--ld-bg-cells-layer-animation-translate))\n )\n )\n )\n scale(\n calc(\n var(--ld-bg-cells-secondary-layer-size-normalized) -\n var(--ld-bg-cells-layer-animation-scale)\n )\n )\n rotate(\n calc(\n var(--ld-bg-cells-secondary-layer-rotation) +\n var(--ld-bg-cells-layer-animation-rotate)\n )\n );\n }\n}\n","import { Build, Component, Element, h, Host, Prop, Watch } from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { fetchPattern } from '../../utils/fetchAsset'\n\nexport type CellType =\n | 'bioreliance'\n | 'f' // Functional\n | 'functional'\n | 'hexagon' // Synthetic\n | 'mdo'\n | 'millipore'\n | 'milliq'\n | 'o' // Organic\n | 'organic'\n | 'plastic'\n | 'qa-x2f-qc' // Supelco\n | 'safc'\n | 'sigma-aldrich'\n | 'supelco'\n | 'synthetic'\n | 't' // Technical\n | 'technical'\n | 'tile' // Plastic\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part layer - the primary cell layer\n * @part secondary-layer - the secondary cell layer\n */\n@Component({\n assetsDirs: ['assets'],\n tag: 'ld-bg-cells',\n styleUrl: 'ld-bg-cells.css',\n shadow: true,\n})\nexport class LdBgCells {\n @Element() el: HTMLElement\n\n /** Cells pattern */\n @Prop() type?: CellType = 'hexagon'\n\n /** Use 3 color layers */\n @Prop() threeLayers? = false\n\n /** Animate the pattern */\n @Prop() animated? = false\n\n @Watch('type')\n private async loadPatternPathData(): Promise {\n if ((!Build.isBrowser && !Build.isTesting) || !this.type) {\n return\n }\n\n const patternString = await fetchPattern(this.type)\n this.el.shadowRoot.querySelectorAll('svg').forEach((layer) => {\n const div = document.createElement('div')\n div.innerHTML = patternString\n Array.from(div.children[0]?.children || []).forEach((child) => {\n if (child.tagName !== 'script') {\n layer.appendChild(child)\n }\n })\n })\n }\n\n componentWillLoad() {\n this.loadPatternPathData()\n }\n\n render() {\n // Handle aliases (for backward compatibility).\n let cellType = this.type\n\n if (cellType === 'qa-x2f-qc') cellType = 'supelco'\n if (cellType === 'functional') cellType = 'f'\n if (cellType === 'technical') cellType = 't'\n if (cellType === 'plastic') cellType = 'tile'\n if (cellType === 'synthetic') cellType = 'hexagon'\n if (cellType === 'organic') cellType = 'o'\n\n return (\n \n \n \n \n )\n }\n}\n"],"mappings":"iIAAA,MAAMA,EAAe,mzS,MCoCRC,EAAS,M,mCAIM,U,iBAGH,M,cAGH,K,CAGZ,yBAAMC,GACZ,IAA+CC,KAAKC,KAAM,CACxD,M,CAGF,MAAMC,QAAsBC,EAAaH,KAAKC,MAC9CD,KAAKI,GAAGC,WAAWC,iBAAiB,OAAOC,SAASC,I,MAClD,MAAMC,EAAMC,SAASC,cAAc,OACnCF,EAAIG,UAAYV,EAChBW,MAAMC,OAAKC,EAAAN,EAAIO,SAAS,MAAE,MAAAD,SAAA,SAAAA,EAAEC,WAAY,IAAIT,SAASU,IACnD,GAAIA,EAAMC,UAAY,SAAU,CAC9BV,EAAMW,YAAYF,E,IAEpB,G,CAIN,iBAAAG,GACEpB,KAAKD,qB,CAGP,MAAAsB,GAEE,IAAIC,EAAWtB,KAAKC,KAEpB,GAAIqB,IAAa,YAAaA,EAAW,UACzC,GAAIA,IAAa,aAAcA,EAAW,IAC1C,GAAIA,IAAa,YAAaA,EAAW,IACzC,GAAIA,IAAa,UAAWA,EAAW,OACvC,GAAIA,IAAa,YAAaA,EAAW,UACzC,GAAIA,IAAa,UAAWA,EAAW,IAEvC,OACEC,EAACC,EAAI,CACHC,MAAOC,EAAc,CACnB,cACA,gBAAgBJ,IAChBtB,KAAK2B,aAAe,+BAGtBJ,EAAA,OACEE,MAAOC,EAAc,CACnB,+BACA1B,KAAK4B,UAAY,2CAEnBC,QAAQ,gBACRC,KAAK,OACLC,MAAM,6BACNC,KAAK,oBAEPT,EAAA,OACEE,MAAOC,EAAc,CACnB,qBACA1B,KAAK4B,UAAY,iCAEnBC,QAAQ,gBACRC,KAAK,OACLC,MAAM,6BACNC,KAAK,U"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-430fe27d.entry.js b/1704966176737/dist/build/p-430fe27d.entry.js deleted file mode 100644 index 10b4d76770..0000000000 --- a/1704966176737/dist/build/p-430fe27d.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as s}from"./p-21a69c18.js";const o=":host{display:contents}";const r=class{constructor(s){t(this,s)}render(){return s("tbody",{class:"ld-table-body",part:"tbody"},s("slot",null))}};r.style=o;export{r as ld_table_body}; -//# sourceMappingURL=p-430fe27d.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-430fe27d.entry.js.map b/1704966176737/dist/build/p-430fe27d.entry.js.map deleted file mode 100644 index 2e381c0c44..0000000000 --- a/1704966176737/dist/build/p-430fe27d.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableBodyShadowCss","LdTableBody","render","h","class","part"],"sources":["../src/liquid/components/ld-table/ld-table-body/ld-table-body.shadow.css?tag=ld-table-body&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-body/ld-table-body.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n","import { Component, h } from '@stencil/core'\n\n/**\n * @part tbody - the actual tbody element\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-body',\n styleUrl: 'ld-table-body.shadow.css',\n shadow: true,\n})\nexport class LdTableBody {\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAuB,0B,MCYhBC,EAAW,M,yBACtB,MAAAC,GACE,OACEC,EAAA,SAAOC,MAAM,gBAAgBC,KAAK,SAChCF,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-43a7d779.entry.js b/1704966176737/dist/build/p-43a7d779.entry.js deleted file mode 100644 index a96e08e2d7..0000000000 --- a/1704966176737/dist/build/p-43a7d779.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as s,h as t,H as i,g as e}from"./p-21a69c18.js";import{T as n}from"./p-6f9b9619.js";import{a as r,b as o,c as h}from"./p-f13d3119.js";import"./p-8dc70a87.js";const a=":host{display:inline-flex}.ld-menu{background:var(--ld-col-wht);border-radius:var(--ld-br-l);box-shadow:var(--ld-shadow-stacked);box-sizing:border-box;list-style:none;margin:0;padding:var(--ld-sp-12)}";const l=s=>{if(!r(s)){return[]}if(o(s)){return[s]}const t=[];if(h(s)){s.assignedNodes().forEach((s=>t.push(...l(s))));return t}s.childNodes.forEach((s=>t.push(...l(s))));return t};const c=class{constructor(t){s(this,t);this.initMenuItems=(s,t=false)=>{if(!r(s)){return}if(o(s)){s.size=this.size;if(!t){return}s.ldTabindex=this.initialized?-1:0;if(!this.initialized){this.initialized=true}return}if(h(s)){s.assignedNodes().forEach((s=>this.initMenuItems(s)));return}s.childNodes.forEach((s=>this.initMenuItems(s)))};this.getAllMenuItems=()=>{const s=[];this.el.querySelectorAll("slot, ld-menuitem").forEach((t=>s.push(...l(t))));return s};this.focusFirst=s=>{const t=this.getAllMenuItems();const[i]=t;s.ldTabindex=-1;i.ldTabindex=0;i.focusInner()};this.focusLast=s=>{const t=this.getAllMenuItems();const i=t[t.length-1];s.ldTabindex=-1;i.ldTabindex=0;i.focusInner()};this.focusNext=s=>{const t=this.getAllMenuItems();const i=t.indexOf(s);const e=t.length>i+1?t[i+1]:t[0];s.ldTabindex=-1;e.ldTabindex=0;e.focusInner()};this.focusPrev=s=>{const t=this.getAllMenuItems();const i=t.indexOf(s);const e=i===0?t[t.length-1]:t[i-1];s.ldTabindex=-1;e.ldTabindex=0;e.focusInner()};this.handleKeyDown=s=>{const t=s.target;let i;switch(s.key){case"ArrowUp":s.preventDefault();if(s.metaKey){this.focusFirst(t)}else{this.focusPrev(t)}break;case"ArrowDown":s.preventDefault();if(s.metaKey){this.focusLast(t)}else{this.focusNext(t)}break;case"Home":s.preventDefault();this.focusFirst(t);break;case"End":s.preventDefault();this.focusLast(t);break;default:i=this.typeAheadHandler.typeAhead(s.key,t);if(i){t.ldTabindex=-1;i.ldTabindex=0}}};this.updateMenuItems=(s=false)=>{this.el.querySelectorAll("slot, ld-menuitem").forEach((t=>this.initMenuItems(t,s)))};this.size=undefined;this.initialized=false;this.typeAheadHandler=undefined}async getFirstMenuItem(){return this.getAllMenuItems()[0]}handleSizeChange(){this.updateMenuItems()}componentWillLoad(){this.updateMenuItems(true);this.typeAheadHandler=new n(this.getAllMenuItems())}disconnectedCallback(){var s;(s=this.typeAheadHandler)===null||s===void 0?void 0:s.clearTimeout()}render(){return t(i,{onKeyDown:this.handleKeyDown},t("ul",{class:"ld-menu",part:"list",role:"menu"},t("slot",null)))}get el(){return e(this)}static get watchers(){return{size:["handleSizeChange"]}}};c.style=a;export{c as ld_menu}; -//# sourceMappingURL=p-43a7d779.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-43a7d779.entry.js.map b/1704966176737/dist/build/p-43a7d779.entry.js.map deleted file mode 100644 index 5bd2850220..0000000000 --- a/1704966176737/dist/build/p-43a7d779.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldMenuCss","getMenuItemOrNestedMenuItems","node","isElement","isMenuItem","items","isSlot","assignedNodes","forEach","push","childNodes","LdMenu","this","initMenuItems","element","initial","size","ldTabindex","initialized","getAllMenuItems","el","querySelectorAll","focusFirst","target","allMenuItems","first","focusInner","focusLast","last","length","focusNext","index","indexOf","next","focusPrev","prev","handleKeyDown","event","focusedElement","key","preventDefault","metaKey","typeAheadHandler","typeAhead","updateMenuItems","getFirstMenuItem","handleSizeChange","componentWillLoad","TypeAheadHandler","disconnectedCallback","_a","clearTimeout","render","h","Host","onKeyDown","class","part","role"],"sources":["../src/liquid/components/ld-context-menu/ld-menu/ld-menu.css?tag=ld-menu&encapsulation=shadow","../src/liquid/components/ld-context-menu/ld-menu/ld-menu.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n}\n\n.ld-menu {\n background: var(--ld-col-wht);\n border-radius: var(--ld-br-l);\n box-shadow: var(--ld-shadow-stacked);\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n padding: var(--ld-sp-12);\n}\n","import {\n Component,\n Element,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { TypeAheadHandler } from '../../../utils/typeahead'\nimport { isElement, isMenuItem, isSlot } from '../../../utils/type-checking'\n\nconst getMenuItemOrNestedMenuItems = (node: Node) => {\n if (!isElement(node)) {\n return []\n }\n\n if (isMenuItem(node)) {\n return [node]\n }\n\n const items: HTMLLdMenuitemElement[] = []\n\n if (isSlot(node)) {\n node\n .assignedNodes()\n .forEach((node) => items.push(...getMenuItemOrNestedMenuItems(node)))\n return items\n }\n\n node.childNodes.forEach((node) =>\n items.push(...getMenuItemOrNestedMenuItems(node))\n )\n\n return items\n}\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part list - `ul` element wrapping the default slot\n */\n@Component({\n tag: 'ld-menu',\n styleUrl: 'ld-menu.css',\n shadow: true,\n})\nexport class LdMenu {\n @Element() el: HTMLLdMenuElement\n\n /** Size of the context menu. */\n @Prop() size?: 'sm' | 'lg'\n\n @State() initialized = false\n @State() typeAheadHandler: TypeAheadHandler\n\n private initMenuItems = (element: Node, initial = false) => {\n if (!isElement(element)) {\n return\n }\n\n if (isMenuItem(element)) {\n element.size = this.size\n\n if (!initial) {\n return\n }\n\n element.ldTabindex = this.initialized ? -1 : 0\n\n if (!this.initialized) {\n this.initialized = true\n }\n\n return\n }\n\n if (isSlot(element)) {\n element.assignedNodes().forEach((node) => this.initMenuItems(node))\n return\n }\n\n element.childNodes.forEach((node) => this.initMenuItems(node))\n }\n\n /** Get the first menu item inside this menu. */\n @Method()\n async getFirstMenuItem(): Promise {\n return this.getAllMenuItems()[0]\n }\n\n private getAllMenuItems = () => {\n const items: HTMLLdMenuitemElement[] = []\n\n this.el\n .querySelectorAll('slot, ld-menuitem')\n .forEach((node) => items.push(...getMenuItemOrNestedMenuItems(node)))\n\n return items\n }\n\n private focusFirst = (target: HTMLLdMenuitemElement) => {\n const allMenuItems = this.getAllMenuItems()\n const [first] = allMenuItems\n\n target.ldTabindex = -1\n first.ldTabindex = 0\n first.focusInner()\n }\n\n private focusLast = (target: HTMLLdMenuitemElement) => {\n const allMenuItems = this.getAllMenuItems()\n const last = allMenuItems[allMenuItems.length - 1]\n\n target.ldTabindex = -1\n last.ldTabindex = 0\n last.focusInner()\n }\n\n private focusNext = (target: HTMLLdMenuitemElement) => {\n const allMenuItems = this.getAllMenuItems()\n const index = allMenuItems.indexOf(target)\n const next =\n allMenuItems.length > index + 1\n ? allMenuItems[index + 1]\n : allMenuItems[0]\n\n target.ldTabindex = -1\n next.ldTabindex = 0\n next.focusInner()\n }\n\n private focusPrev = (target: HTMLLdMenuitemElement) => {\n const allMenuItems = this.getAllMenuItems()\n const index = allMenuItems.indexOf(target)\n const prev =\n index === 0\n ? allMenuItems[allMenuItems.length - 1]\n : allMenuItems[index - 1]\n\n target.ldTabindex = -1\n prev.ldTabindex = 0\n prev.focusInner()\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n const target = event.target as HTMLLdMenuitemElement\n let focusedElement: HTMLLdMenuitemElement\n\n switch (event.key) {\n case 'ArrowUp':\n event.preventDefault()\n if (event.metaKey) {\n this.focusFirst(target)\n } else {\n this.focusPrev(target)\n }\n break\n case 'ArrowDown':\n event.preventDefault()\n if (event.metaKey) {\n this.focusLast(target)\n } else {\n this.focusNext(target)\n }\n break\n case 'Home':\n event.preventDefault()\n this.focusFirst(target)\n break\n case 'End':\n event.preventDefault()\n this.focusLast(target)\n break\n default:\n focusedElement = this.typeAheadHandler.typeAhead(event.key, target)\n\n if (focusedElement) {\n target.ldTabindex = -1\n focusedElement.ldTabindex = 0\n }\n }\n }\n\n @Watch('size')\n handleSizeChange() {\n this.updateMenuItems()\n }\n\n private updateMenuItems = (initial = false) => {\n this.el\n .querySelectorAll('slot, ld-menuitem')\n .forEach((element) => this.initMenuItems(element, initial))\n }\n\n componentWillLoad() {\n this.updateMenuItems(true)\n this.typeAheadHandler = new TypeAheadHandler(this.getAllMenuItems())\n }\n\n disconnectedCallback() {\n this.typeAheadHandler?.clearTimeout()\n }\n\n render() {\n return (\n \n
      \n \n
    \n
    \n )\n }\n}\n"],"mappings":"uKAAA,MAAMA,EAAY,2MCalB,MAAMC,EAAgCC,IACpC,IAAKC,EAAUD,GAAO,CACpB,MAAO,E,CAGT,GAAIE,EAAWF,GAAO,CACpB,MAAO,CAACA,E,CAGV,MAAMG,EAAiC,GAEvC,GAAIC,EAAOJ,GAAO,CAChBA,EACGK,gBACAC,SAASN,GAASG,EAAMI,QAAQR,EAA6BC,MAChE,OAAOG,C,CAGTH,EAAKQ,WAAWF,SAASN,GACvBG,EAAMI,QAAQR,EAA6BC,MAG7C,OAAOG,CAAK,E,MAaDM,EAAM,M,yBASTC,KAAAC,cAAgB,CAACC,EAAeC,EAAU,SAChD,IAAKZ,EAAUW,GAAU,CACvB,M,CAGF,GAAIV,EAAWU,GAAU,CACvBA,EAAQE,KAAOJ,KAAKI,KAEpB,IAAKD,EAAS,CACZ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IAAK,UACHF,EAAMG,iBACN,GAAIH,EAAMI,QAAS,CACjB7B,KAAKU,WAAWC,E,KACX,CACLX,KAAKsB,UAAUX,E,CAEjB,MACF,IAAK,YACHc,EAAMG,iBACN,GAAIH,EAAMI,QAAS,CACjB7B,KAAKe,UAAUJ,E,KACV,CACLX,KAAKkB,UAAUP,E,CAEjB,MACF,IAAK,OACHc,EAAMG,iBACN5B,KAAKU,WAAWC,GAChB,MACF,IAAK,MACHc,EAAMG,iBACN5B,KAAKe,UAAUJ,GACf,MACF,QACEe,EAAiB1B,KAAK8B,iBAAiBC,UAAUN,EAAME,IAAKhB,GAE5D,GAAIe,EAAgB,CAClBf,EAAON,YAAc,EACrBqB,EAAerB,WAAa,C,IAU5BL,KAAAgC,gBAAkB,CAAC7B,EAAU,SACnCH,KAAKQ,GACFC,iBAAiB,qBACjBb,SAASM,GAAYF,KAAKC,cAAcC,EAASC,IAAS,E,qCA3IxC,M,gCAkCvB,sBAAM8B,GACJ,OAAOjC,KAAKO,kBAAkB,E,CAiGhC,gBAAA2B,GACElC,KAAKgC,iB,CASP,iBAAAG,GACEnC,KAAKgC,gBAAgB,MACrBhC,KAAK8B,iBAAmB,IAAIM,EAAiBpC,KAAKO,kB,CAGpD,oBAAA8B,G,OACEC,EAAAtC,KAAK8B,oBAAgB,MAAAQ,SAAA,SAAAA,EAAEC,c,CAGzB,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,UAAW3C,KAAKwB,eACpBiB,EAAA,MAAIG,MAAM,UAAUC,KAAK,OAAOC,KAAK,QACnCL,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-47f9082b.entry.js b/1704966176737/dist/build/p-47f9082b.entry.js deleted file mode 100644 index d7ecd752ac..0000000000 --- a/1704966176737/dist/build/p-47f9082b.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as a}from"./p-21a69c18.js";const o="";const s=class{constructor(a){t(this,a)}render(){return a("figcaption",{class:"ld-table-caption",part:"figcaption"},a("slot",null))}};s.style=o;export{s as ld_table_caption}; -//# sourceMappingURL=p-47f9082b.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-47f9082b.entry.js.map b/1704966176737/dist/build/p-47f9082b.entry.js.map deleted file mode 100644 index b4e310344f..0000000000 --- a/1704966176737/dist/build/p-47f9082b.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableCaptionShadowCss","LdTableCaption","render","h","class","part"],"sources":["../src/liquid/components/ld-table/ld-table-caption/ld-table-caption.shadow.css?tag=ld-table-caption&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-caption/ld-table-caption.tsx"],"sourcesContent":[null,"import { Component, h } from '@stencil/core'\n\n/**\n * @part figcaption - the actual figcaption element\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-caption',\n styleUrl: 'ld-table-caption.shadow.css',\n shadow: true,\n})\nexport class LdTableCaption {\n render() {\n return (\n
    \n \n
    \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAA0B,G,MCYnBC,EAAc,M,yBACzB,MAAAC,GACE,OACEC,EAAA,cAAYC,MAAM,mBAAmBC,KAAK,cACxCF,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-488f0189.entry.js.map b/1704966176737/dist/build/p-488f0189.entry.js.map deleted file mode 100644 index 7fae860e29..0000000000 --- a/1704966176737/dist/build/p-488f0189.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldLoadingCss","LdLoading","render","cl","getClassNames","this","neutral","paused","h","Host","class","viewBox","preserveAspectRatio","label","cx","cy","r","attributeName","attributeType","type","from","to","dur","repeatCount"],"sources":["../src/liquid/components/ld-loading/ld-loading.css?tag=ld-loading&encapsulation=shadow","../src/liquid/components/ld-loading/ld-loading.tsx"],"sourcesContent":[":host,\nsvg.ld-loading {\n --ld-loading-col-base: var(--ld-thm-warning);\n --ld-loading-col-primary: var(--ld-thm-primary);\n --ld-loading-col-secondary: var(--ld-thm-secondary);\n --ld-loading-play-state: running;\n --ld-loading-size: var(--ld-sp-24);\n --ld-loading-stretch-dur: 4s;\n\n /* stylelint-disable-next-line */\n &:host(.ld-loading--neutral), /* safari specific hack */\n &.ld-loading--neutral {\n --ld-loading-col-base: var(--ld-col-neutral-100);\n --ld-loading-col-primary: var(--ld-col-neutral-700);\n --ld-loading-col-secondary: var(--ld-col-neutral-400);\n }\n\n /* stylelint-disable-next-line */\n &:host(.ld-loading--paused), /* safari specific hack */\n &.ld-loading--paused {\n --ld-loading-play-state: paused;\n }\n\n display: inline-flex;\n flex-shrink: 0;\n width: var(--ld-loading-size);\n height: var(--ld-loading-size);\n fill: none;\n border-radius: 100%;\n overflow: hidden;\n mask-image: url('data:image/svg+xml;utf8,');\n\n circle {\n transform-origin: center;\n stroke: var(--ld-loading-col-base);\n stroke-width: 40;\n stroke-dashoffset: 330;\n stroke-linecap: round;\n }\n\n g {\n circle {\n stroke-dasharray: 570;\n animation: ld-loading-stretch var(--ld-loading-stretch-dur) ease infinite\n var(--ld-loading-play-state);\n\n &:nth-last-of-type(1) {\n --ld-stroke-dashoffset-from: 420;\n --ld-stroke-dashoffset-to: 540;\n }\n &:nth-last-of-type(2) {\n --ld-stroke-dashoffset-from: 300;\n --ld-stroke-dashoffset-to: 490;\n stroke: var(--ld-loading-col-secondary);\n animation-delay: calc(0.2 * var(--ld-loading-stretch-dur));\n stroke-width: 39;\n }\n &:nth-last-of-type(3) {\n --ld-stroke-dashoffset-from: 330;\n --ld-stroke-dashoffset-to: 450;\n stroke: var(--ld-loading-col-primary);\n animation-delay: calc(0.4 * var(--ld-loading-stretch-dur));\n stroke-width: 39;\n }\n }\n }\n}\n\n@keyframes ld-loading-stretch {\n 0% {\n stroke-dashoffset: var(--ld-stroke-dashoffset-from);\n }\n 50% {\n stroke-dashoffset: var(--ld-stroke-dashoffset-to);\n }\n 100% {\n stroke-dashoffset: var(--ld-stroke-dashoffset-from);\n }\n}\n","import { Component, h, Host, Prop } from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-loading',\n styleUrl: 'ld-loading.css',\n shadow: true,\n})\nexport class LdLoading {\n /** Used as svg title element content. */\n @Prop() label? = 'Loading'\n\n /** Uses neutral colors. */\n @Prop() neutral?: boolean\n\n /** Pauses all animations. */\n @Prop() paused?: boolean\n\n render() {\n const cl = getClassNames([\n 'ld-loading',\n this.neutral && 'ld-loading--neutral',\n this.paused && 'ld-loading--paused',\n ])\n\n return (\n \n \n {this.label}\n \n \n \n \n \n {!this.paused && (\n // When zooming in safari CSS transforms get messed up.\n // That is why we need to use an SVG animation here.\n \n )}\n \n \n \n )\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAe,u3E,MCYRC,EAAS,M,oCAEH,U,6CAQjB,MAAAC,GACE,MAAMC,EAAKC,EAAc,CACvB,aACAC,KAAKC,SAAW,sBAChBD,KAAKE,QAAU,uBAGjB,OACEC,EAACC,EAAI,CAACC,MAAOP,GACXK,EAAA,OAAKG,QAAQ,cAAcC,oBAAoB,iBAC7CJ,EAAA,aAAQH,KAAKQ,OACbL,EAAA,UAAQM,GAAG,KAAKC,GAAG,KAAKC,EAAE,OAC1BR,EAAA,SACEA,EAAA,UAAQM,GAAG,KAAKC,GAAG,KAAKC,EAAE,OAC1BR,EAAA,UAAQM,GAAG,KAAKC,GAAG,KAAKC,EAAE,OAC1BR,EAAA,UAAQM,GAAG,KAAKC,GAAG,KAAKC,EAAE,QACxBX,KAAKE,QAGLC,EAAA,oBACES,cAAc,YACdC,cAAc,MACdC,KAAK,SACLC,KAAK,UACLC,GAAG,YACHC,IAAI,OACJC,YAAY,iB"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-48d582a3.entry.js b/1704966176737/dist/build/p-48d582a3.entry.js deleted file mode 100644 index 73c6d257f3..0000000000 --- a/1704966176737/dist/build/p-48d582a3.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as o,h as t,H as e,g as r}from"./p-21a69c18.js";const c='.docs-toc__content:before{background-color:var(--ld-col-neutral-050)}@media (prefers-color-scheme:dark){.docs-toc__content:before{background-color:var(--ld-col-neutral-400)}}.docs-ui-dark .docs-toc__content:before{background-color:var(--ld-col-neutral-400)}.docs-ui-light .docs-toc__content:before{background-color:var(--ld-col-neutral-050)}.docs-toc{--docs-toc-heading-height:2rem}.docs-toc__content{overflow:hidden;padding:var(--ld-sp-8) var(--ld-sp-24) var(--ld-sp-24) 0}.docs-toc__content:before{border-radius:var(--ld-br-full);bottom:1.25rem;content:"";display:block;left:0;position:absolute;top:calc(1.25rem + var(--docs-toc-heading-height));transform:translateY(-.4rem);width:.1875rem}.docs-toc__nav{margin-right:-3rem;max-height:calc(100vh - var(--docs-toc-top) - 4rem);overflow:visible scroll;padding-right:3rem;position:relative}.docs-toc__nav ol{list-style:none;padding-left:var(--ld-sp-24)}.docs-toc__nav li{margin-top:var(--ld-sp-12)}.docs-toc__nav a{font:var(--ld-typo-label-s);-webkit-text-decoration:none;text-decoration:none}.docs-toc__nav a:before{border-radius:var(--ld-br-full);content:"";display:block;height:2.2rem;left:0;position:absolute;transform:translateY(-.4rem);width:.1875rem}.docs-toc__nav a.docs-toc__link--is-active,.docs-toc__nav a.docs-toc__link--is-target{color:var(--ld-thm-secondary)}.docs-toc__nav a.docs-toc__link--is-active:before{background-color:var(--ld-thm-secondary);z-index:1}.docs-toc__nav a[href="#methods"]+ol a{word-break:break-all}[href="#graph"],[href="#graph"]+ol,[href="#overview"],[href="#overview"]+ol,[href="#shadow-parts"],[href="#shadow-parts"]+ol{display:none}.docs-toc__heading{display:block;font:var(--ld-typo-cap-m);font-weight:400;height:var(--docs-toc-heading-height);text-transform:uppercase}';const s=class{constructor(t){o(this,t);this.headings=undefined}createObserver(o){const t={rootMargin:"-60px 0px -70% 0px",threshold:1};const e=t=>this.handleObserver(t,o);return new IntersectionObserver(e,t)}handleObserver(o,t){for(let e=o.length;e--;){const r=o[e];const{target:c,isIntersecting:s,intersectionRatio:a}=r;if(s&&a>=1){const o=c.getAttribute("id");this.updateLinks(o,t);return}}}updateLinks(o,t){if(["overview","shadow-parts","graph"].includes(o)||!t.find((t=>t.href.split("#")[1]===o))){return}const e=document.getElementById(o);if(e&&e.tagName==="H1"){t.map((o=>{o.classList.remove("docs-toc__link--is-active")}));t[0].classList.add("docs-toc__link--is-active");return}t.map((t=>{const e=t.getAttribute("href");t.classList.remove("docs-toc__link--is-active");if(e===`#${o}`){t.classList.add("docs-toc__link--is-active")}}))}handleClick(o){var t;if(o.target.tagName!=="A")return;o.preventDefault();(t=this.el.querySelector(".docs-toc__link--is-active"))===null||t===void 0?void 0:t.classList.remove("docs-toc__link--is-active");o.target.classList.add("docs-toc__link--is-active");const e=o.target.getAttribute("href").replace("#","");const r=this.headings.find((o=>o.getAttribute("id")===e));r.setAttribute("tabindex","-1");r.focus();window.scroll({top:r.offsetTop-80})}componentDidLoad(){setTimeout((()=>{this.headings=Array.from(document.querySelectorAll("#main > h1, #main > h2, #main > h3"));const o=Array.from(this.el.querySelectorAll("a"));const t=this.createObserver(o);this.headings.map((o=>t.observe(o)))}))}render(){return t(e,{class:"docs-toc"},t("aside",{class:"docs-toc__content"},t("h2",{class:"docs-toc__heading","aria-label":"Content"},"Content"),t("slot",null)))}get el(){return r(this)}};s.style=c;export{s as docs_toc}; -//# sourceMappingURL=p-48d582a3.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-48d582a3.entry.js.map b/1704966176737/dist/build/p-48d582a3.entry.js.map deleted file mode 100644 index e34e08f6bd..0000000000 --- a/1704966176737/dist/build/p-48d582a3.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsTocCss","DocsToc","createObserver","links","options","rootMargin","threshold","callback","entries","this","handleObserver","IntersectionObserver","i","length","entry","target","isIntersecting","intersectionRatio","visibleId","getAttribute","updateLinks","includes","find","link","href","split","heading","document","getElementById","tagName","map","classList","remove","add","handleClick","ev","preventDefault","_a","el","querySelector","id","replace","headings","setAttribute","focus","window","scroll","top","offsetTop","componentDidLoad","setTimeout","Array","from","querySelectorAll","observer","observe","render","h","Host","class"],"sources":["../src/docs/components/docs-toc/docs-toc.css?tag=docs-toc","../src/docs/components/docs-toc/docs-toc.tsx"],"sourcesContent":["@define-mixin docs-toc-ui-light {\n .docs-toc__content::before {\n background-color: var(--ld-col-neutral-050);\n }\n}\n@define-mixin docs-toc-ui-dark {\n .docs-toc__content::before {\n background-color: var(--ld-col-neutral-400);\n }\n}\n\n@mixin docs-toc-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-toc-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-toc-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-toc-ui-light;\n}\n\n.docs-toc {\n --docs-toc-heading-height: 2rem;\n}\n\n.docs-toc__content {\n overflow: hidden;\n padding: var(--ld-sp-8) var(--ld-sp-24) var(--ld-sp-24) 0;\n\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: calc(1.25rem + var(--docs-toc-heading-height));\n bottom: 1.25rem;\n width: 0.1875rem;\n display: block;\n transform: translateY(-0.4rem);\n border-radius: var(--ld-br-full);\n }\n}\n\n.docs-toc__nav {\n max-height: calc(100vh - var(--docs-toc-top) - 4rem);\n overflow: visible scroll;\n position: relative;\n padding-right: 3rem;\n margin-right: -3rem;\n\n ol {\n list-style: none;\n padding-left: var(--ld-sp-24);\n }\n\n li {\n margin-top: var(--ld-sp-12);\n }\n\n a {\n font: var(--ld-typo-label-s);\n text-decoration: none;\n\n &::before {\n content: '';\n position: absolute;\n left: 0;\n height: 2.2rem;\n width: 0.1875rem;\n display: block;\n transform: translateY(-0.4rem);\n border-radius: var(--ld-br-full);\n }\n\n &.docs-toc__link--is-active,\n &.docs-toc__link--is-target {\n color: var(--ld-thm-secondary);\n }\n\n &.docs-toc__link--is-active {\n &::before {\n background-color: var(--ld-thm-secondary);\n z-index: 1;\n }\n }\n\n &[href='#methods'] + ol a {\n word-break: break-all;\n }\n }\n}\n\n[href='#overview'],\n[href='#graph'],\n[href='#shadow-parts'] {\n display: none;\n\n & + ol {\n display: none;\n }\n}\n\n.docs-toc__heading {\n display: block;\n font: var(--ld-typo-cap-m);\n font-weight: 400;\n height: var(--docs-toc-heading-height);\n text-transform: uppercase;\n}\n","import { Component, h, Host, Element, Listen, State } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-toc',\n styleUrl: 'docs-toc.css',\n shadow: false,\n})\nexport class DocsToc {\n @Element() el: HTMLElement\n @State() headings: HTMLElement[]\n\n private createObserver(links) {\n const options = {\n rootMargin: '-60px 0px -70% 0px',\n threshold: 1,\n }\n const callback = (entries) => this.handleObserver(entries, links)\n return new IntersectionObserver(callback, options)\n }\n\n private handleObserver(entries, links) {\n for (let i = entries.length; i--; ) {\n const entry = entries[i]\n const { target, isIntersecting, intersectionRatio } = entry\n if (isIntersecting && intersectionRatio >= 1) {\n const visibleId = target.getAttribute('id')\n this.updateLinks(visibleId, links)\n return\n }\n }\n }\n\n private updateLinks(visibleId, links) {\n if (\n ['overview', 'shadow-parts', 'graph'].includes(visibleId) ||\n !links.find((link) => link.href.split('#')[1] === visibleId)\n ) {\n return\n }\n\n const heading = document.getElementById(visibleId)\n if (heading && (heading as HTMLElement).tagName === 'H1') {\n links.map((link) => {\n link.classList.remove('docs-toc__link--is-active')\n })\n links[0].classList.add('docs-toc__link--is-active')\n return\n }\n\n links.map((link) => {\n const href = link.getAttribute('href')\n link.classList.remove('docs-toc__link--is-active')\n if (href === `#${visibleId}`) {\n link.classList.add('docs-toc__link--is-active')\n }\n })\n }\n\n @Listen('click', { capture: true })\n handleClick(ev) {\n if ((ev.target as HTMLElement).tagName !== 'A') return\n\n ev.preventDefault()\n this.el\n .querySelector('.docs-toc__link--is-active')\n ?.classList.remove('docs-toc__link--is-active')\n ev.target.classList.add('docs-toc__link--is-active')\n const id = ev.target.getAttribute('href').replace('#', '')\n const heading = this.headings.find(\n (heading) => heading.getAttribute('id') === id\n )\n heading.setAttribute('tabindex', '-1')\n heading.focus()\n\n window.scroll({\n top: heading.offsetTop - 80,\n })\n }\n\n componentDidLoad() {\n // Generating a list of heading links\n setTimeout(() => {\n this.headings = Array.from(\n document.querySelectorAll('#main > h1, #main > h2, #main > h3')\n )\n\n // Adding an Intersection Observer\n const links = Array.from(this.el.querySelectorAll('a'))\n const observer = this.createObserver(links)\n this.headings.map((heading) => observer.observe(heading))\n })\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAa,kuD,MCQNC,EAAO,M,iDAIV,cAAAC,CAAeC,GACrB,MAAMC,EAAU,CACdC,WAAY,qBACZC,UAAW,GAEb,MAAMC,EAAYC,GAAYC,KAAKC,eAAeF,EAASL,GAC3D,OAAO,IAAIQ,qBAAqBJ,EAAUH,E,CAGpC,cAAAM,CAAeF,EAASL,GAC9B,IAAK,IAAIS,EAAIJ,EAAQK,OAAQD,KAAO,CAClC,MAAME,EAAQN,EAAQI,GACtB,MAAMG,OAAEA,EAAMC,eAAEA,EAAcC,kBAAEA,GAAsBH,EACtD,GAAIE,GAAkBC,GAAqB,EAAG,CAC5C,MAAMC,EAAYH,EAAOI,aAAa,MACtCV,KAAKW,YAAYF,EAAWf,GAC5B,M,GAKE,WAAAiB,CAAYF,EAAWf,GAC7B,GACE,CAAC,WAAY,eAAgB,SAASkB,SAASH,KAC9Cf,EAAMmB,MAAMC,GAASA,EAAKC,KAAKC,MAAM,KAAK,KAAOP,IAClD,CACA,M,CAGF,MAAMQ,EAAUC,SAASC,eAAeV,GACxC,GAAIQ,GAAYA,EAAwBG,UAAY,KAAM,CACxD1B,EAAM2B,KAAKP,IACTA,EAAKQ,UAAUC,OAAO,4BAA4B,IAEpD7B,EAAM,GAAG4B,UAAUE,IAAI,6BACvB,M,CAGF9B,EAAM2B,KAAKP,IACT,MAAMC,EAAOD,EAAKJ,aAAa,QAC/BI,EAAKQ,UAAUC,OAAO,6BACtB,GAAIR,IAAS,IAAIN,IAAa,CAC5BK,EAAKQ,UAAUE,IAAI,4B,KAMzB,WAAAC,CAAYC,G,MACV,GAAKA,EAAGpB,OAAuBc,UAAY,IAAK,OAEhDM,EAAGC,kBACHC,EAAA5B,KAAK6B,GACFC,cAAc,iCAA6B,MAAAF,SAAA,SAAAA,EAC1CN,UAAUC,OAAO,6BACrBG,EAAGpB,OAAOgB,UAAUE,IAAI,6BACxB,MAAMO,EAAKL,EAAGpB,OAAOI,aAAa,QAAQsB,QAAQ,IAAK,IACvD,MAAMf,EAAUjB,KAAKiC,SAASpB,MAC3BI,GAAYA,EAAQP,aAAa,QAAUqB,IAE9Cd,EAAQiB,aAAa,WAAY,MACjCjB,EAAQkB,QAERC,OAAOC,OAAO,CACZC,IAAKrB,EAAQsB,UAAY,I,CAI7B,gBAAAC,GAEEC,YAAW,KACTzC,KAAKiC,SAAWS,MAAMC,KACpBzB,SAAS0B,iBAAiB,uCAI5B,MAAMlD,EAAQgD,MAAMC,KAAK3C,KAAK6B,GAAGe,iBAAiB,MAClD,MAAMC,EAAW7C,KAAKP,eAAeC,GACrCM,KAAKiC,SAASZ,KAAKJ,GAAY4B,EAASC,QAAQ7B,IAAS,G,CAI7D,MAAA8B,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,YACVF,EAAA,SAAOE,MAAM,qBACXF,EAAA,MAAIE,MAAM,oBAAmB,aAAY,WAAS,WAGlDF,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-49b9f144.js.map b/1704966176737/dist/build/p-49b9f144.js.map deleted file mode 100644 index 40dbb42554..0000000000 --- a/1704966176737/dist/build/p-49b9f144.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["NavEventType","SearchEventType","EventBus","constructor","description","this","eventTarget","document","appendChild","createComment","on","type","listener","addEventListener","once","off","removeEventListener","emit","detail","dispatchEvent","CustomEvent","eventBus"],"sources":["../src/docs/utils/eventTypes.ts","../src/docs/utils/eventBus.ts"],"sourcesContent":["/* eslint-disable @stencil/ban-exported-const-enums */\nexport enum NavEventType {\n open = 'NAV_OPEN',\n close = 'NAV_CLOSE',\n}\n\nexport enum SearchEventType {\n open = 'SEARCH_OPEN',\n close = 'SEARCH_CLOSE',\n}\n","class EventBus {\n private eventTarget: EventTarget\n constructor(description = '') {\n this.eventTarget = document.appendChild(document.createComment(description))\n }\n on(type: string, listener: (event: CustomEvent) => void) {\n this.eventTarget.addEventListener(type, listener)\n }\n once(type: string, listener: (event: CustomEvent) => void) {\n this.eventTarget.addEventListener(type, listener, { once: true })\n }\n off(type: string, listener: (event: CustomEvent) => void) {\n this.eventTarget.removeEventListener(type, listener)\n }\n emit(type: string, detail?: DetailType) {\n return this.eventTarget.dispatchEvent(new CustomEvent(type, { detail }))\n }\n}\n\nconst eventBus = new EventBus('event bus')\n\nexport default eventBus\n"],"mappings":"IACYA,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,oBACD,EAHD,CAAYA,MAAY,K,IAKZC,GAAZ,SAAYA,GACVA,EAAA,sBACAA,EAAA,uBACD,EAHD,CAAYA,MAAe,KCN3B,MAAMC,EAEJ,WAAAC,CAAYC,EAAc,IACxBC,KAAKC,YAAcC,SAASC,YAAYD,SAASE,cAAcL,G,CAEjE,EAAAM,CAAGC,EAAcC,GACfP,KAAKC,YAAYO,iBAAiBF,EAAMC,E,CAE1C,IAAAE,CAAKH,EAAcC,GACjBP,KAAKC,YAAYO,iBAAiBF,EAAMC,EAAU,CAAEE,KAAM,M,CAE5D,GAAAC,CAAIJ,EAAcC,GAChBP,KAAKC,YAAYU,oBAAoBL,EAAMC,E,CAE7C,IAAAK,CAAKN,EAAcO,GACjB,OAAOb,KAAKC,YAAYa,cAAc,IAAIC,YAAYT,EAAM,CAAEO,W,QAI5DG,EAAW,IAAInB,EAAiB,oB"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-4a9a72a7.entry.js.map b/1704966176737/dist/build/p-4a9a72a7.entry.js.map deleted file mode 100644 index 53113a7eb9..0000000000 --- a/1704966176737/dist/build/p-4a9a72a7.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldInputCss","LdInput","this","isInputTypeFile","input","type","handleChange","ev","el","dispatchEvent","InputEvent","ldchange","emit","value","handleInput","ldinput","handleClick","target","composedPath","disabled","isAriaDisabled","ariaDisabled","preventDefault","closest","shadowRoot","activeElement","focus","MouseEvent","bubbles","handleKeyDown","outerForm","formToSubmit","form","_a","document","querySelector","includes","key","multiline","requestSubmit","focusInner","undefined","updateHiddenInput","hiddenInput","name","createHiddenInput","dirname","dirName","remove","setAttribute","getAttribute","removeAttribute","clonedInput","cloneNode","style","display","replaceWith","createElement","appendChild","updateIconAndButtonSize","querySelectorAll","forEach","button","size","classList","add","icon","componentWillLoad","Object","defineProperty","get","files","attributesObserver","cloneAttributes","call","autocomplete","registerAutofocus","autofocus","disconnectedCallback","disconnect","render","cl","getClassNames","tone","invalid","resize","_c","clonedAttributes","clonedAttributesWithoutType","__rest","h","Host","class","onClick","assign","readonly","onChange","onInput","part","ref","tabIndex","ldTabindex","placeholder","onKeyDown","_b"],"sources":["../src/liquid/components/ld-input/ld-input.css?tag=ld-input&encapsulation=shadow","../src/liquid/components/ld-input/ld-input.tsx"],"sourcesContent":[":host > input [type='file'] {\n pointer-events: none; /* important for Safari */\n}\n\n:host,\n.ld-input {\n --ld-input-padding-x-sm: 0.5rem;\n --ld-input-padding-x-md: 0.625rem;\n --ld-input-padding-x-lg: 0.875rem;\n --ld-input-padding-top-sm: 0.25rem;\n --ld-input-padding-top-md: 0.625rem;\n --ld-input-padding-top-lg: 0.625rem;\n --ld-input-padding-bottom-sm: 0.25rem;\n --ld-input-padding-bottom-md: 0.6875rem;\n --ld-input-padding-bottom-lg: 0.6875rem;\n --ld-input-min-height-sm: 2rem;\n --ld-input-min-height-md: 2.5rem;\n --ld-input-min-height-lg: 3.125rem;\n --ld-input-max-height-sm: 2rem;\n --ld-input-max-height-md: 2.5rem;\n --ld-input-max-height-lg: 3.125rem;\n --ld-input-time-min-width-sm: 5.125rem;\n --ld-input-time-min-width-md: 6.25rem;\n --ld-input-time-min-width-lg: 7.5rem;\n\n /* colors */\n --ld-input-bg-col-disabled: var(--ld-col-neutral-010);\n --ld-input-bg-col-invalid-focus: var(--ld-col-wht);\n --ld-input-bg-col-invalid: var(--ld-thm-error-disabled);\n --ld-input-bg-col: var(--ld-col-wht);\n --ld-input-border-col-disabled: var(--ld-col-neutral-100);\n --ld-input-border-col-hover: var(--ld-col-neutral-300);\n --ld-input-border-col: var(--ld-col-neutral-100);\n --ld-input-icon-col-focus: var(--ld-thm-primary-focus);\n --ld-input-icon-col-invalid-focus: var(--ld-thm-error-focus);\n --ld-input-icon-col: var(--ld-thm-primary);\n --ld-input-placeholder-opacity: 0.6;\n --ld-input-text-col-disabled: var(--ld-col-neutral-300);\n --ld-input-text-col-invalid-focus: var(--ld-col-neutral-900);\n --ld-input-text-col-invalid: var(--ld-thm-error);\n --ld-input-text-col: var(--ld-col-neutral-900);\n\n /* mode colors */\n --ld-input-dark-bg-col-focus: var(--ld-col-wht);\n --ld-input-dark-bg-col: var(--ld-col-neutral-010);\n\n cursor: text;\n position: relative;\n display: inline-flex;\n align-items: center;\n background-color: var(--ld-input-bg-col);\n color: var(--ld-input-text-col);\n max-width: 100%;\n border-radius: var(--ld-br-m);\n line-height: 1;\n min-height: var(--ld-input-min-height-md);\n\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n border-radius: var(--ld-br-m);\n display: block;\n pointer-events: none;\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-input-border-col);\n }\n\n :where(input) {\n margin: 0; /* margin reset for Safari */\n }\n\n ::slotted(*),\n > :where(:not(input, textarea)) {\n user-select: none;\n }\n\n ::slotted(:not(ld-button, .ld-button)[slot='start']),\n > :where(\n :not(input, textarea, ld-button, .ld-button, [slot='end']):first-child\n ) {\n margin-left: var(--ld-input-padding-x-md);\n }\n\n ::slotted(:not(ld-button, .ld-button)[slot='end']),\n > :where(\n :not(input, textarea, ld-button, .ld-button, [slot='start']):last-child\n ) {\n margin-right: var(--ld-input-padding-x-md);\n }\n\n > input {\n color: var(--ld-input-text-col);\n align-self: stretch;\n max-height: var(--ld-input-max-height-md);\n -webkit-text-fill-color: var(--ld-input-text-col);\n\n &[type='file'] {\n opacity: 0;\n\n &::-webkit-file-upload-button {\n display: none;\n }\n }\n\n &[type='number'] {\n appearance: textfield;\n\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n\n &[type='search'] {\n &::-webkit-search-decoration,\n &::-webkit-search-cancel-button,\n &::-webkit-search-results-button,\n &::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n }\n\n &::-webkit-calendar-picker-indicator {\n cursor: pointer;\n background: var(--ld-input-icon-col);\n mask-repeat: no-repeat;\n mask-position: center;\n outline: none;\n\n &:focus:focus-visible {\n background: var(--ld-input-icon-col-focus);\n }\n }\n /* custom icon calendar-picker */\n &[type='datetime-local']::-webkit-calendar-picker-indicator,\n &[type='date']::-webkit-calendar-picker-indicator {\n mask-image: url('data:image/svg+xml;utf8,');\n transform: translateY(4%);\n }\n /* custom icon calendar-picker */\n &[type='time'] {\n min-width: var(--ld-input-time-min-width-md);\n\n &::-webkit-calendar-picker-indicator {\n mask-image: url('data:image/svg+xml;utf8,');\n }\n }\n }\n\n > input,\n > textarea {\n padding: var(--ld-input-padding-top-md) var(--ld-input-padding-x-md)\n var(--ld-input-padding-bottom-md);\n font: var(--ld-typo-body-m);\n line-height: 1;\n background-color: rgba(255, 255, 255, 0);\n width: 100%;\n border: 0;\n border-radius: var(--ld-br-m);\n outline: none;\n appearance: none;\n box-sizing: border-box;\n\n &::placeholder {\n opacity: var(--ld-input-placeholder-opacity);\n }\n }\n\n > textarea {\n height: 100%;\n max-height: inherit;\n min-height: inherit;\n flex-grow: 1;\n }\n\n ::slotted(ld-button),\n ::slotted(.ld-button),\n > ld-button,\n > .ld-button {\n --ld-button-ghost-bg-color-active: transparent;\n --ld-button-ghost-bg-color-focus: transparent;\n --ld-button-ghost-bg-color-hover: transparent;\n flex-shrink: 0;\n z-index: 0;\n }\n\n ::slotted(ld-button[slot='start']),\n ::slotted(.ld-button[slot='start']),\n > ld-button:where(:not([slot='end'])):first-child,\n > .ld-button:where(:not([slot='end'])):first-child {\n --ld-button-border-top-right-radius: 0;\n --ld-button-border-bottom-right-radius: 0;\n }\n\n ::slotted(ld-button[slot='end']),\n ::slotted(.ld-button[slot='end']),\n > ld-button:where(:not([slot='start'])):last-child,\n > .ld-button:where(:not([slot='start'])):last-child {\n --ld-button-border-top-left-radius: 0;\n --ld-button-border-bottom-left-radius: 0;\n }\n\n ::slotted(ld-button[mode='ghost']:where([slot='start'])),\n ::slotted(.ld-button.ld-button--ghost:where([slot='start'])),\n > ld-button[mode='ghost']:where(:not([slot='end'])):first-child,\n > .ld-button.ld-button--ghost:where(:not([slot='end'])):first-child {\n margin-right: calc(-1 * var(--ld-input-padding-x-md));\n }\n\n ::slotted(ld-button[mode='ghost']:where([slot='end'])),\n ::slotted(.ld-button.ld-button--ghost:where([slot='end'])),\n > ld-button[mode='ghost']:where(:not([slot='start'])):last-child,\n > .ld-button.ld-button--ghost:where(:not([slot='start'])):last-child {\n margin-left: calc(-1 * var(--ld-input-padding-x-md));\n }\n\n ::slotted(ld-icon),\n ::slotted(.ld-icon),\n > ld-icon,\n > .ld-icon {\n color: var(--ld-input-icon-col);\n cursor: text;\n display: inline-flex;\n }\n}\n\n:host(.ld-input--resize-both),\n.ld-input--resize-both {\n > textarea {\n resize: both; /* stylelint-disable-line plugin/no-unsupported-browser-features */\n }\n}\n:host(.ld-input--resize-horizontal),\n.ld-input--resize-horizontal {\n > textarea {\n resize: horizontal; /* stylelint-disable-line plugin/no-unsupported-browser-features */\n }\n}\n:host(.ld-input--resize-vertical),\n.ld-input--resize-vertical {\n > textarea {\n resize: vertical; /* stylelint-disable-line plugin/no-unsupported-browser-features */\n }\n}\n:host(.ld-input--resize-none),\n.ld-input--resize-none {\n > textarea {\n resize: none; /* stylelint-disable-line plugin/no-unsupported-browser-features */\n }\n}\n\n:host(.ld-input--sm),\n.ld-input--sm {\n min-height: var(--ld-input-min-height-sm);\n\n ::slotted(:not(ld-button, .ld-button)[slot='start']),\n > :where(\n :not(input, textarea, ld-button, .ld-button, [slot='end']):first-child\n ) {\n margin-left: var(--ld-input-padding-x-sm);\n }\n\n ::slotted(:not(ld-button, .ld-button)[slot='end']),\n > :where(\n :not(input, textarea, ld-button, .ld-button, [slot='start']):last-child\n ) {\n margin-right: var(--ld-input-padding-x-sm);\n }\n\n > input {\n max-height: var(--ld-input-max-height-sm);\n\n &[type='datetime-local']::-webkit-calendar-picker-indicator,\n &[type='date']::-webkit-calendar-picker-indicator {\n mask-size: 65%;\n }\n &[type='time'] {\n min-width: var(--ld-input-time-min-width-sm);\n\n &::-webkit-calendar-picker-indicator {\n mask-size: 85%;\n }\n }\n }\n\n > input,\n > textarea {\n padding: var(--ld-input-padding-top-sm) var(--ld-input-padding-x-sm)\n var(--ld-input-padding-bottom-sm);\n font: var(--ld-typo-body-s);\n }\n\n ::slotted(ld-button[mode='ghost']:where([slot='start'])),\n ::slotted(.ld-button.ld-button--ghost:where([slot='start'])),\n > ld-button[mode='ghost']:where(:not([slot='end'])):first-child,\n > .ld-button.ld-button--ghost:where(:not([slot='end'])):first-child {\n margin-right: calc(-1 * var(--ld-input-padding-x-sm));\n }\n\n ::slotted(ld-button[mode='ghost']:where([slot='end'])),\n ::slotted(.ld-button.ld-button--ghost:where([slot='end'])),\n > ld-button[mode='ghost']:where(:not([slot='start'])):last-child,\n > .ld-button.ld-button--ghost:where(:not([slot='start'])):last-child {\n margin-left: calc(-1 * var(--ld-input-padding-x-sm));\n }\n}\n\n:host(.ld-input--lg),\n.ld-input--lg {\n min-height: var(--ld-input-min-height-lg);\n\n ::slotted(:not(ld-button, .ld-button)[slot='start']),\n > :where(\n :not(input, textarea, ld-button, .ld-button, [slot='end']):first-child\n ) {\n margin-left: var(--ld-input-padding-x-lg);\n }\n\n ::slotted(:not(ld-button, .ld-button)[slot='end']),\n > :where(\n :not(input, textarea, ld-button, .ld-button, [slot='start']):last-child\n ) {\n margin-right: var(--ld-input-padding-x-lg);\n }\n\n > input {\n max-height: var(--ld-input-max-height-lg);\n\n &[type='date']::-webkit-calendar-picker-indicator {\n mask-size: 90%;\n }\n &[type='time'] {\n min-width: var(--ld-input-time-min-width-lg);\n\n &::-webkit-calendar-picker-indicator {\n mask-size: 114%;\n }\n }\n }\n\n > input,\n > textarea {\n padding: var(--ld-input-padding-top-lg) var(--ld-input-padding-x-lg)\n var(--ld-input-padding-bottom-lg) var(--ld-input-padding-x-lg);\n font: var(--ld-typo-body-l);\n }\n\n ::slotted(ld-button[mode='ghost']:where([slot='start'])),\n ::slotted(.ld-button.ld-button--ghost:where([slot='start'])),\n > ld-button[mode='ghost']:where(:not([slot='end'])):first-child,\n > .ld-button.ld-button--ghost:where(:not([slot='end'])):first-child {\n margin-right: calc(-1 * var(--ld-input-padding-x-lg));\n }\n\n ::slotted(ld-button[mode='ghost']:where([slot='end'])),\n ::slotted(.ld-button.ld-button--ghost:where([slot='end'])),\n > ld-button[mode='ghost']:where(:not([slot='start'])):last-child,\n > .ld-button.ld-button--ghost:where(:not([slot='start'])):last-child {\n margin-left: calc(-1 * var(--ld-input-padding-x-lg));\n }\n}\n\n:host(.ld-input--dark),\n.ld-input--dark {\n background-color: var(--ld-input-dark-bg-col);\n}\n\n@media (hover: hover) {\n :host(\n :not(\n .ld-input--invalid,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n ),\n .ld-input--disabled\n ):hover:not(:focus-within)\n ),\n .ld-input:not(\n .ld-input--invalid,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false'])),\n .ld-input--disabled\n ):hover:not(:focus-within) {\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-input-border-col-hover);\n }\n }\n}\n\n:host(:not(.ld-input--invalid):focus-within),\n.ld-input:not(.ld-input--invalid):focus-within {\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-thm-primary);\n }\n}\n\n:host(.ld-input--dark:not(.ld-input--invalid):focus-within),\n.ld-input--dark:not(.ld-input--invalid):focus-within {\n background-color: var(--ld-input-dark-bg-col-focus);\n}\n\n:host(.ld-input--invalid:focus-within),\n.ld-input--invalid:focus-within {\n background-color: var(--ld-input-bg-col-invalid-focus);\n}\n\n:host(\n .ld-input--invalid:not(\n .ld-input--disabled,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ):where(:not(:focus))\n ),\n.ld-input--invalid:not(\n .ld-input--disabled,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ):where(:not(:focus)) {\n background-color: var(--ld-input-bg-col-invalid);\n color: var(--ld-input-text-col-invalid);\n -webkit-text-fill-color: var(--ld-input-text-col-invalid);\n}\n\n:host(\n .ld-input--invalid:not(\n .ld-input--disabled,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n )\n ),\n.ld-input--invalid:not(\n .ld-input--disabled,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-input-text-col-invalid);\n }\n\n > input,\n > textarea {\n color: var(--ld-input-text-col-invalid);\n -webkit-text-fill-color: var(--ld-input-text-col-invalid);\n }\n\n > input::-webkit-calendar-picker-indicator {\n background: var(--ld-input-text-col-invalid);\n\n &:focus:focus-visible {\n background: var(--ld-input-icon-col-invalid-focus);\n }\n }\n}\n\n:host(\n .ld-input--invalid:not(\n .ld-input--disabled,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ):focus-within\n ),\n.ld-input--invalid:not(\n .ld-input--disabled,\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ):focus-within {\n background-color: var(--ld-input-bg-col-invalid-focus);\n\n > input,\n > textarea {\n color: var(--ld-input-text-col-invalid-focus);\n -webkit-text-fill-color: var(--ld-input-text-col-invalid-focus);\n }\n}\n\n:host(.ld-input--disabled),\n:host([aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))),\n.ld-input.ld-input--disabled,\n.ld-input[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n ) {\n color: var(--ld-input-text-col-disabled);\n background-color: var(--ld-input-bg-col-disabled);\n\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-input-border-col-disabled);\n }\n\n input,\n textarea {\n color: var(--ld-input-text-col-disabled);\n caret-color: transparent;\n -webkit-text-fill-color: var(--ld-input-text-col-disabled);\n }\n\n input::-webkit-calendar-picker-indicator {\n background: var(--ld-input-text-col-disabled);\n pointer-events: none;\n }\n\n ::slotted(ld-icon),\n ::slotted(.ld-icon),\n ld-icon,\n .ld-icon {\n color: currentColor;\n }\n}\n\n.ld-input__placeholder {\n position: absolute;\n display: flex;\n height: 100%;\n align-items: center;\n pointer-events: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n right: var(--ld-input-padding-x-md);\n left: var(--ld-input-padding-x-md);\n margin-right: 0;\n opacity: var(--ld-input-placeholder-opacity);\n}\n\n.ld-select__slot-container {\n display: none;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { cloneAttributes } from '../../utils/cloneAttributes'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { registerAutofocus } from '../../utils/focus'\nimport { isAriaDisabled } from '../../utils/ariaDisabled'\n\n/**\n * The `ld-input` component. You can use it in conjunction with the `ld-label`\n * and the `ld-input-message` component. See examples in the docs for a better\n * understanding on how they can be used together.\n *\n * @slot start - The purpose of this slot is to add icons or buttons\n * to the input, __justifying the item to the end of the component__.\n * Styling for `ld-icon` and `ld-button` is provided within the `ld-input` component.\n * If you choose to place something different into the slot, you will probably\n * need to adjust some styles on the slotted item in order to make it fit right.\n * @slot end - The purpose of this slot is to add icons or buttons\n * to the input, __justifying the item to the start of the component__.\n * Styling for `ld-icon` and `ld-button` is provided within the `ld-input` component.\n * If you choose to place something different into the slot, you will probably\n * need to adjust some styles on the slotted item in order to make it fit right.\n * @virtualProp { FileList | undefined } files - Selected files for ld-input with type file (readonly).\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part input - Actual input/textarea element\n * @part placeholder - Placeholder rendered for input type \"file\"\n */\n@Component({\n tag: 'ld-input',\n styleUrl: 'ld-input.css',\n shadow: true,\n})\nexport class LdInput implements InnerFocusable, ClonesAttributes {\n @Element() el: HTMLInputElement | HTMLTextAreaElement\n\n private attributesObserver: MutationObserver\n\n private hiddenInput?: HTMLInputElement\n private input: HTMLInputElement | HTMLTextAreaElement\n\n /** Hint for expected file type in file upload controls. */\n @Prop() accept?: string\n\n /** Alternative disabled state that keeps element focusable */\n @Prop() ariaDisabled: string\n\n /** Hint for form autofill feature. */\n @Prop({ mutable: true, reflect: true }) autocomplete?: string\n\n /** Automatically focus the form control when the page is loaded. */\n @Prop({ reflect: true }) autofocus: boolean\n\n /** Media capture input method in file upload controls. */\n @Prop() capture?: string\n\n /** The number of columns. */\n @Prop() cols?: number\n\n /** Name of form field to use for sending the element's directionality in form submission. */\n @Prop() dirname?: string\n\n /** Whether the form control is disabled. */\n @Prop() disabled?: boolean\n\n /** Associates the control with a form element. */\n @Prop() form?: string\n\n /** Set this property to `true` in order to mark the field visually as invalid. */\n @Prop() invalid?: boolean\n\n /** Tab index of the input. */\n @Prop() ldTabindex?: number\n\n /** Value of the id attribute of the `` of autocomplete options. */\n @Prop() list?: string\n\n /** Maximum value. */\n @Prop() max?: string | number\n\n /** Maximum length (number of characters) of `value`. */\n @Prop() maxlength?: string | number\n\n /** Minimum value. */\n @Prop() min?: string | number\n\n /** Minimum length (number of characters) of `value`. */\n @Prop() minlength?: string | number\n\n /**\n * Uses textarea instead of input internally. Setting this attribute to true\n * disables the attribute type and both slots.\n */\n @Prop() multiline?: boolean\n\n /** Boolean. Whether to allow multiple values. */\n @Prop() multiple?: boolean\n\n /** Used to specify the name of the control. */\n @Prop() name?: string\n\n /** Pattern the `value` must match to be valid. */\n @Prop() pattern?: string\n\n /** The input placeholder. */\n @Prop() placeholder?: string\n\n /** The value is not editable. */\n @Prop() readonly?: boolean\n\n /** A value is required for the form to be submittable. */\n @Prop() required?: boolean\n\n /** Whether the multiline input is resizable, and if so, in which directions. */\n @Prop() resize?: 'none' | 'both' | 'horizontal' | 'vertical' = 'both'\n\n /** The number of rows. */\n @Prop() rows?: number\n\n /** Size of the input. */\n @Prop() size?: 'sm' | 'lg'\n\n /** Incremental values that are valid. */\n @Prop() step?: string\n\n /** Input tone. Use `'dark'` on white backgrounds. Default is a light tone. */\n @Prop() tone?: 'dark'\n\n /** The input type. */\n @Prop() type?: string\n\n /** The input value. */\n @Prop({ mutable: true }) value?: string\n\n @State() clonedAttributes\n\n /** Emitted when the input value changed and the element loses focus. */\n @Event() ldchange: EventEmitter\n\n /** Emitted when the input value changed. */\n @Event() ldinput: EventEmitter\n\n /**\n * Sets focus on the input\n */\n @Method()\n async focusInner() {\n if (this.input !== undefined) {\n this.input.focus()\n }\n }\n\n @Watch('dirname')\n @Watch('form')\n @Watch('name')\n @Watch('value')\n updateHiddenInput() {\n const outerForm = this.el.closest('form')\n if (!this.hiddenInput && this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n }\n\n if (this.hiddenInput) {\n if (this.dirname) {\n this.hiddenInput.dirName = this.dirname\n }\n\n if (this.name) {\n this.hiddenInput.name = this.name\n } else if (this.hiddenInput.name) {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n return\n }\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n } else if (this.hiddenInput.getAttribute('form')) {\n if (outerForm) {\n this.hiddenInput.removeAttribute('form')\n } else {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n return\n }\n }\n\n if (this.isInputTypeFile(this.input)) {\n // Clone input field in shadow dom to hidden input field.\n const clonedInput = this.input.cloneNode() as HTMLInputElement\n clonedInput.style.display = 'none'\n this.hiddenInput.replaceWith(clonedInput)\n this.hiddenInput = clonedInput\n } else {\n // Update value.\n if (this.value) {\n this.hiddenInput.value = this.value\n } else if (this.hiddenInput.value) {\n this.hiddenInput.removeAttribute('value')\n }\n }\n }\n }\n\n private createHiddenInput() {\n this.hiddenInput = document.createElement('input')\n this.hiddenInput.type = 'hidden'\n this.el.appendChild(this.hiddenInput)\n }\n\n @Watch('size')\n private updateIconAndButtonSize() {\n this.el.querySelectorAll('ld-button').forEach((button) => {\n if (this.size !== undefined) {\n button.setAttribute('size', this.size)\n } else {\n button.removeAttribute('size')\n }\n })\n this.el.querySelectorAll('.ld-button').forEach((button) => {\n if (this.size === 'sm') {\n button.classList.remove('ld-button--lg')\n button.classList.add('ld-button--sm')\n } else if (this.size === 'lg') {\n button.classList.remove('ld-button--sm')\n button.classList.add('ld-button--lg')\n } else {\n button.classList.remove('ld-button--sm', 'ld-button--lg')\n }\n })\n this.el.querySelectorAll('ld-icon').forEach((icon) => {\n if (this.size !== undefined) {\n icon.setAttribute('size', this.size)\n } else {\n icon.removeAttribute('size')\n }\n })\n this.el.querySelectorAll('.ld-icon').forEach((icon) => {\n if (this.size === 'sm') {\n icon.classList.remove('ld-icon--lg')\n icon.classList.add('ld-icon--sm')\n } else if (this.size === 'lg') {\n icon.classList.remove('ld-icon--sm')\n icon.classList.add('ld-icon--lg')\n } else {\n icon.classList.remove('ld-icon--sm', 'ld-icon--lg')\n }\n })\n }\n\n componentWillLoad() {\n // Add readonly prop files.\n Object.defineProperty(this.el, 'files', {\n get: () => {\n if (this.isInputTypeFile(this.input)) {\n return this.input.files\n }\n return undefined\n },\n })\n\n this.attributesObserver = cloneAttributes.call(this, [\n 'multiline',\n 'autocomplete',\n 'value',\n ])\n\n const outerForm = this.el.closest('form')\n\n if (outerForm && !this.autocomplete) {\n this.autocomplete = outerForm.getAttribute('autocomplete')\n }\n\n if (this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n this.hiddenInput.name = this.name\n\n if (this.dirname) {\n this.hiddenInput.dirName = this.dirname\n }\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n }\n\n if (this.value) {\n this.hiddenInput.value = this.value\n }\n }\n\n this.updateIconAndButtonSize()\n\n registerAutofocus(this.autofocus)\n }\n\n private isInputTypeFile = (\n input: HTMLInputElement | HTMLTextAreaElement\n ): input is HTMLInputElement => {\n return (input as HTMLInputElement).type === 'file'\n }\n\n private handleChange = (ev: InputEvent) => {\n this.el.dispatchEvent(new InputEvent('change', ev))\n\n this.ldchange.emit(this.value)\n }\n\n private handleInput = () => {\n this.value = this.input.value\n\n this.ldinput.emit(this.value)\n }\n\n private handleClick = (ev: MouseEvent) => {\n const target = (\n 'composedPath' in ev ? ev.composedPath()[0] : ev['target']\n ) as HTMLElement\n if (this.el.disabled || isAriaDisabled(this.el.ariaDisabled)) {\n ev.preventDefault()\n return\n }\n\n if (target.closest('ld-button')) return\n\n if (this.el.shadowRoot.activeElement !== this.input) {\n this.input.focus()\n }\n\n if (target === this.el) {\n this.input.dispatchEvent(new MouseEvent('click', { bubbles: false }))\n }\n }\n\n private handleKeyDown = (ev: KeyboardEvent) => {\n const outerForm = this.el.closest('form')\n const formToSubmit = this.form\n ? document.querySelector(`#${this.form}`) ?? outerForm\n : outerForm\n\n if (\n isAriaDisabled(this.el.ariaDisabled) &&\n !['ArrowLeft', 'ArrowRight', 'Tab'].includes(ev.key)\n ) {\n ev.preventDefault()\n } else if (!this.multiline && ev.key === 'Enter' && formToSubmit) {\n formToSubmit.requestSubmit()\n }\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n const cl = getClassNames([\n 'ld-input',\n this.disabled && `ld-input--disabled`,\n this.size && `ld-input--${this.size}`,\n this.tone && `ld-input--${this.tone}`,\n this.invalid && 'ld-input--invalid',\n this.multiline && this.resize && `ld-input--resize-${this.resize}`,\n ])\n\n if (this.multiline) {\n const { type, ...clonedAttributesWithoutType } = this.clonedAttributes\n return (\n \n (this.input = el)}\n tabIndex={this.ldTabindex}\n value={this.value}\n />\n {type === 'file' && (\n \n {this.input?.value || this.placeholder}\n \n )}\n \n )\n }\n\n return (\n \n \n (this.input = el)}\n tabIndex={this.ldTabindex}\n type={this.type}\n value={this.value || undefined} // the undefined fixes negative number input in input of type number\n />\n {this.type === 'file' && (\n \n {this.input?.value || this.placeholder}\n \n )}\n \n \n )\n }\n}\n"],"mappings":"gNAAA,MAAMA,EAAa,0/yB,oXC2CNC,EAAO,M,6FAsQVC,KAAAC,gBACNC,GAEQA,EAA2BC,OAAS,OAGtCH,KAAAI,aAAgBC,IACtBL,KAAKM,GAAGC,cAAc,IAAIC,WAAW,SAAUH,IAE/CL,KAAKS,SAASC,KAAKV,KAAKW,MAAM,EAGxBX,KAAAY,YAAc,KACpBZ,KAAKW,MAAQX,KAAKE,MAAMS,MAExBX,KAAKa,QAAQH,KAAKV,KAAKW,MAAM,EAGvBX,KAAAc,YAAeT,IACrB,MAAMU,EACJ,iBAAkBV,EAAKA,EAAGW,eAAe,GAAKX,EAAG,UAEnD,GAAIL,KAAKM,GAAGW,UAAYC,EAAelB,KAAKM,GAAGa,cAAe,CAC5Dd,EAAGe,iBACH,M,CAGF,GAAIL,EAAOM,QAAQ,aAAc,OAEjC,GAAIrB,KAAKM,GAAGgB,WAAWC,gBAAkBvB,KAAKE,MAAO,CACnDF,KAAKE,MAAMsB,O,CAGb,GAAIT,IAAWf,KAAKM,GAAI,CACtBN,KAAKE,MAAMK,cAAc,IAAIkB,WAAW,QAAS,CAAEC,QAAS,Q,GAIxD1B,KAAA2B,cAAiBtB,I,MACvB,MAAMuB,E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,iBAE7BtF,KAAKiB,UAAYC,EAAelB,KAAKmB,cACjC,OACAoB,UAENtB,SAAUjB,KAAKiB,SACf4E,SAAU7F,KAAK6F,SACfC,SAAU9F,KAAKI,aACf2F,QAAS/F,KAAKY,YACdoF,KAAK,kBACLC,IAAM3F,GAAQN,KAAKE,MAAQI,EAC3B4F,SAAUlG,KAAKmG,WACfxF,MAAOX,KAAKW,SAEbR,IAAS,QACRqF,EAAA,QAAME,MAAM,wBAAwBM,KAAK,iBACtCjE,EAAA/B,KAAKE,SAAK,MAAA6B,SAAA,SAAAA,EAAEpB,QAASX,KAAKoG,a,CAOrC,OACEZ,EAACC,EAAI,CAACC,MAAOX,EAAIY,QAAS3F,KAAKc,aAC7B0E,EAAA,QAAM9C,KAAK,UACX8C,EAAA,QAAAtB,OAAA0B,OAAA,GACM5F,KAAKqF,iBAAgB,iBAEvBrF,KAAKiB,UAAYC,EAAelB,KAAKmB,cACjC,OACAoB,UAENkC,aAAczE,KAAKyE,aACnBxD,SAAUjB,KAAKiB,SACf6E,SAAU9F,KAAKI,aACf2F,QAAS/F,KAAKY,YACdyF,UAAWrG,KAAK2B,cAChBqE,KAAK,kBACLI,YAAapG,KAAKoG,YAClBP,SAAU7F,KAAK6F,SACfI,IAAM3F,GAAQN,KAAKE,MAAQI,EAC3B4F,SAAUlG,KAAKmG,WACfhG,KAAMH,KAAKG,KACXQ,MAAOX,KAAKW,OAAS4B,aAEtBvC,KAAKG,OAAS,QACbqF,EAAA,QAAME,MAAM,wBAAwBM,KAAK,iBACtCM,EAAAtG,KAAKE,SAAK,MAAAoG,SAAA,SAAAA,EAAE3F,QAASX,KAAKoG,aAG/BZ,EAAA,QAAM9C,KAAK,Q"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-6191a5f8.entry.js b/1704966176737/dist/build/p-6191a5f8.entry.js deleted file mode 100644 index 5bf1ad8ce3..0000000000 --- a/1704966176737/dist/build/p-6191a5f8.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as s,h as t,g as r}from"./p-21a69c18.js";const e=".ld-breadcrumbs,:host{--ld-crumb-icon-gap:0.5em;--ld-crumb-gap:0.6em;line-height:1.5}.ld-breadcrumbs>ol{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}";const a=class{constructor(t){s(this,t);this.updateCurrent=()=>{const s=this.el.querySelectorAll("ld-crumb");if(!s.length)return;s.forEach((s=>{s.current=undefined}));s[s.length-1].current=true}}componentDidLoad(){this.observer=new MutationObserver(this.updateCurrent);this.observer.observe(this.el,{subtree:true,childList:true,attributes:false});this.updateCurrent()}disconnectedCallback(){if(this.observer)this.observer.disconnect()}render(){return t("nav",{"aria-label":"Breadcrumbs",class:"ld-breadcrumbs"},t("ol",{class:"ld-breadcrumbs__list",part:"list"},t("slot",null)))}get el(){return r(this)}};a.style=e;export{a as ld_breadcrumbs}; -//# sourceMappingURL=p-6191a5f8.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-6191a5f8.entry.js.map b/1704966176737/dist/build/p-6191a5f8.entry.js.map deleted file mode 100644 index ac0f4bbf6f..0000000000 --- a/1704966176737/dist/build/p-6191a5f8.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldBreadcrumbsCss","LdBreadcrumbs","constructor","hostRef","this","updateCurrent","crumbs","el","querySelectorAll","length","forEach","crumb","current","undefined","componentDidLoad","observer","MutationObserver","observe","subtree","childList","attributes","disconnectedCallback","disconnect","render","h","class","part"],"sources":["../src/liquid/components/ld-breadcrumbs/ld-breadcrumbs.css?tag=ld-breadcrumbs&encapsulation=shadow","../src/liquid/components/ld-breadcrumbs/ld-breadcrumbs.tsx"],"sourcesContent":[":host,\n.ld-breadcrumbs {\n --ld-crumb-icon-gap: 0.5em;\n --ld-crumb-gap: 0.6em;\n\n line-height: 1.5;\n}\n\n.ld-breadcrumbs > ol {\n display: flex;\n flex-wrap: wrap;\n list-style: none;\n padding: 0;\n margin: 0;\n}\n","import { Component, h, Element } from '@stencil/core'\n\n/**\n * @part list - Breadcrumbs list\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n\n@Component({\n tag: 'ld-breadcrumbs',\n styleUrl: 'ld-breadcrumbs.css',\n shadow: true,\n})\nexport class LdBreadcrumbs {\n @Element() el: HTMLElement\n\n private observer: MutationObserver\n\n private updateCurrent = () => {\n const crumbs = this.el.querySelectorAll('ld-crumb')\n if (!crumbs.length) return\n\n crumbs.forEach((crumb) => {\n crumb.current = undefined\n })\n crumbs[crumbs.length - 1].current = true\n }\n\n componentDidLoad() {\n this.observer = new MutationObserver(this.updateCurrent)\n this.observer.observe(this.el, {\n subtree: true,\n childList: true,\n attributes: false,\n })\n\n this.updateCurrent()\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.observer) this.observer.disconnect()\n }\n\n render() {\n return (\n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,0K,MCaZC,EAAa,MAL1B,WAAAC,CAAAC,G,UAUUC,KAAAC,cAAgB,KACtB,MAAMC,EAASF,KAAKG,GAAGC,iBAAiB,YACxC,IAAKF,EAAOG,OAAQ,OAEpBH,EAAOI,SAASC,IACdA,EAAMC,QAAUC,SAAS,IAE3BP,EAAOA,EAAOG,OAAS,GAAGG,QAAU,IAAI,C,CAG1C,gBAAAE,GACEV,KAAKW,SAAW,IAAIC,iBAAiBZ,KAAKC,eAC1CD,KAAKW,SAASE,QAAQb,KAAKG,GAAI,CAC7BW,QAAS,KACTC,UAAW,KACXC,WAAY,QAGdhB,KAAKC,e,CAGP,oBAAAgB,GAEE,GAAIjB,KAAKW,SAAUX,KAAKW,SAASO,Y,CAGnC,MAAAC,GACE,OACEC,EAAA,oBAAgB,cAAcC,MAAM,kBAClCD,EAAA,MAAIC,MAAM,uBAAuBC,KAAK,QACpCF,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-62594aee.entry.js b/1704966176737/dist/build/p-62594aee.entry.js deleted file mode 100644 index ccb5614a58..0000000000 --- a/1704966176737/dist/build/p-62594aee.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,c as e,h as o,H as i,g as l}from"./p-21a69c18.js";import{T as r}from"./p-2f695d4a.js";import{g as h}from"./p-1133c92e.js";import{a as d,i as a}from"./p-8dc70a87.js";import{a as s,c as n}from"./p-f13d3119.js";const p=".ld-tooltip__trigger{--ld-tooltip-trigger-icon-col:var(--ld-thm-primary);--ld-tooltip-trigger-icon-col-hover:var(--ld-thm-primary-hover);--ld-tooltip-trigger-icon-col-focus:var(--ld-thm-primary-focus);background:none;border:0;color:inherit;display:inline-block;font-family:inherit;font-size:inherit;padding:0}.ld-tooltip__trigger--clickable{cursor:pointer}.ld-tooltip__trigger:focus:focus-visible .ld-tooltip__icon{color:var(--ld-tooltip-trigger-icon-col-focus)}.ld-tooltip__trigger:hover .ld-tooltip__icon{color:var(--ld-tooltip-trigger-icon-col-hover)}.ld-tooltip__trigger~.ld-tooltip{display:none;opacity:0;position:absolute}.ld-tooltip__icon{color:var(--ld-tooltip-trigger-icon-col);display:flex;height:var(--ld-sp-16);width:var(--ld-sp-16)}.ld-tooltip__content{display:none}";let c=0;const f=t=>({"bottom center":"top center","bottom left":"top left","bottom right":"top right","left bottom":"bottom right","left middle":"middle right","left top":"top right","right bottom":"bottom left","right middle":"middle left","right top":"top left","top center":"bottom center","top left":"bottom left","top right":"bottom right"}[t]);const g=t=>{var e;return(e={"left bottom":"bottom left","left middle":"middle left","left top":"top left","right bottom":"bottom right","right middle":"middle right","right top":"top right"}[t])!==null&&e!==void 0?e:t};const m=t=>{if(!s(t)){return}t.querySelectorAll("slot").forEach((t=>{t.assignedNodes().forEach((e=>{m(e);t.parentElement.insertBefore(e,t)}));t.remove()}))};const u=class{constructor(o){t(this,o);this.ldtooltipopen=e(this,"ldtooltipopen",7);this.ldtooltipclose=e(this,"ldtooltipclose",7);this.idDescriber=`ld-tooltip-${++c}`;this.isObserverEnabled=true;this.syncContent=()=>{this.isObserverEnabled=false;const t=this.contentRef.querySelector("slot").assignedNodes();this.tooltipRef.textContent="";t.forEach((t=>{m(t);this.tooltipRef.appendChild(t)}));setTimeout((()=>{this.isObserverEnabled=true}))};this.initTooltip=async()=>{const t=f(this.position);const e=g(this.position);const o=typeof this.tetherOptions==="string"?JSON.parse(this.tetherOptions):this.tetherOptions;const i=Object.assign({attachment:t,classPrefix:"ld-tether",constraints:[{attachment:"together",to:"window"}],element:this.tooltipRef,target:this.triggerRef,targetAttachment:e},o);this.popper=new r(i);this.popper.enable();this.popper.enable();this.popper.enable();await this.showTooltip()};this.toggleTooltip=()=>{if(!this.popper){this.initTooltip();return}if(this.visible){this.hideTooltip()}else{this.showTooltip()}};this.handleHideTrigger=()=>{if(this.triggerType==="click"||this.disabled){return}clearTimeout(this.delayTimeout);if(this.popper){this.delayTimeout=setTimeout((()=>{this.hideTooltip()}),this.hideDelay)}};this.handleShowTrigger=()=>{if(this.triggerType==="click"||this.disabled){return}clearTimeout(this.delayTimeout);if(this.popper===undefined){this.delayTimeout=setTimeout(this.initTooltip,this.showDelay)}else{this.delayTimeout=setTimeout(this.showTooltip.bind(this),this.showDelay)}};this.handleClick=()=>{if(this.rightClick||this.triggerType==="hover"||this.disabled){return}this.toggleTooltip()};this.handleSlotChange=()=>{if(!this.isObserverEnabled)return;this.tooltipRef.childNodes.forEach((t=>{if(s(t)&&t.classList.contains("ld-tether-element-marker")){return}t.remove()}));this.syncContent()};this.initObserver=()=>{this.observer=new MutationObserver(this.handleSlotChange);this.observer.observe(this.el,{subtree:true,childList:true,attributes:false})};this.findFirstSlottedTrigger=()=>{let t=this.el.querySelector('[slot="trigger"]');while(t&&n(t)){t=t.assignedElements()[0]}return t};this.arrow=undefined;this.disabled=undefined;this.hideDelay=0;this.position="top center";this.preventScreenreader=false;this.rightClick=false;this.showDelay=0;this.size=undefined;this.unstyled=undefined;this.tag="button";this.tetherOptions=undefined;this.triggerType="hover";this.hasDefaultTrigger=true;this.triggerTabIndex=undefined;this.visible=false}updatePopper(t){if(t){this.hideTooltip()}}async getTooltip(){return this.tooltipRef}async hideTooltip(){var t;clearTimeout(this.delayTimeout);(t=this.popper)===null||t===void 0?void 0:t.disable();this.visible=false;this.ldtooltipclose.emit()}async showTooltip(){if(this.disabled)return;if(!this.popper){await this.initTooltip();return}clearTimeout(this.delayTimeout);this.popper.enable();this.visible=true;this.ldtooltipopen.emit()}async handleContextMenu(t){if(!this.rightClick||this.disabled)return;t.preventDefault();this.toggleTooltip()}handleClickOutside(t){if(this.visible&&this.triggerType==="click"&&t.isTrusted&&!t.composedPath().includes(this.el)&&!t.composedPath().includes(this.tooltipRef)){this.hideTooltip()}}handleContextMenuOutside(t){if(this.visible&&!t.composedPath().includes(this.el)&&!t.composedPath().includes(this.tooltipRef)){this.hideTooltip()}}handleTouchOutside(t){this.handleClickOutside(t)}handleCloseTooltip(t){if(t.composedPath().includes(this.tooltipRef)){this.hideTooltip()}}componentWillLoad(){const t=this.findFirstSlottedTrigger();this.hasDefaultTrigger=!t;if(t&&(t.matches(d)||a(t))){this.triggerTabIndex=-1}this.el.addEventListener("focus",this.handleShowTrigger,true);this.el.addEventListener("blur",this.handleHideTrigger,true)}componentDidLoad(){setTimeout((()=>{this.syncContent();this.initObserver()}))}disconnectedCallback(){if(this.observer)this.observer.disconnect();if(this.popper)this.popper.destroy();if(this.tooltipRef)this.tooltipRef.remove()}render(){const t=this.tag;return o(i,null,o(t,{"aria-describedby":this.preventScreenreader?undefined:this.idDescriber,class:h(["ld-tooltip__trigger",this.triggerType==="click"&&"ld-tooltip__trigger--clickable"]),onClick:this.handleClick,onContextMenu:this.handleContextMenu.bind(this),onMouseEnter:this.handleShowTrigger,onMouseLeave:this.handleHideTrigger,part:"trigger focusable",ref:t=>{this.triggerRef=t},tabIndex:this.triggerTabIndex,type:"button"},o("ld-sr-only",null,"Info"),o("slot",{name:"trigger"},o("svg",{class:"ld-tooltip__icon",fill:"none",part:"icon",viewBox:"0 0 24 24"},o("path",{"clip-rule":"evenodd",d:"M12 23C18.0751 23 23 18.0751 23 12C23 5.9249 18.0751 1 12 1C5.9249 1 1 5.9249 1 12C1 18.0751 5.9249 23 12 23Z","fill-rule":"evenodd",fill:"currentColor"}),o("path",{"clip-rule":"evenodd",d:"M11.9996 8.6477C12.9254 8.6477 13.6758 7.8973 13.6758 6.9715C13.6758 6.0458 12.9254 5.2953 11.9996 5.2953C11.0739 5.2953 10.3235 6.0458 10.3235 6.9715C10.3235 7.8973 11.0739 8.6477 11.9996 8.6477ZM10.8453 17.8038C11.1932 18.1517 11.6736 18.3256 12.2865 18.3256H13.4545C13.6864 18.3256 13.8023 18.2263 13.8023 18.0275V12.2873C13.8023 11.6744 13.6284 11.1939 13.2805 10.8461C12.9326 10.4982 12.4522 10.3242 11.8393 10.3242H10.6713C10.4394 10.3242 10.3235 10.4236 10.3235 10.6224V16.3626C10.3235 16.9755 10.4974 17.456 10.8453 17.8038Z","fill-rule":"evenodd",fill:"var(--ld-col-wht)"})))),o("span",{class:"ld-tooltip__content",part:"content",ref:t=>this.contentRef=t},o("slot",null)),o("ld-tooltip-popper",{"aria-hidden":this.visible?undefined:"true",arrow:this.arrow,hasDefaultTrigger:this.hasDefaultTrigger,id:this.preventScreenreader?undefined:this.idDescriber,unstyled:this.unstyled,part:"popper",ref:t=>{this.tooltipRef=t},rightClick:this.rightClick,size:this.size,triggerType:this.triggerType}))}get el(){return l(this)}static get watchers(){return{disabled:["updatePopper"]}}};u.style=p;const w="@keyframes ld-tooltip-show{0%{opacity:0}to{opacity:1}}@keyframes ld-tooltip-hide{to{visibility:hidden}}:host(.ld-tooltip){--ld-zi-max:2147483647;--ld-tooltip-animation-duration:0s;--ld-tooltip-distance-from-trigger:var(--ld-sp-8);--ld-tooltip-max-width:20rem;--ld-tooltip-offset-x:0px;--ld-tooltip-offset-y:0px;--ld-tooltip-padding:var(--ld-sp-16);--ld-tooltip-sm-padding:var(--ld-sp-6) var(--ld-sp-8);--tooltip-col:var(--ld-col-neutral-900);--tooltip-bg-col:var(--ld-col-wht);animation:ld-tooltip-hide 0s ease var(--ld-tooltip-animation-duration);animation-fill-mode:forwards;margin-left:var(--ld-tooltip-offset-x);margin-top:var(--ld-tooltip-offset-y);max-width:var(--ld-tooltip-max-width);opacity:0;pointer-events:none;position:relative;transition:opacity var(--ld-tooltip-animation-duration) ease-in;z-index:var(--ld-zi-max)}:host(.ld-tooltip:not(.ld-tooltip--unstyled)){background-color:var(--tooltip-bg-col);border-radius:var(--ld-br-m);color:var(--tooltip-col);filter:var(--ld-drop-shadow-hover);padding:var(--ld-tooltip-padding)}@media (prefers-reduced-motion:no-preference){:host(.ld-tooltip--initialized){--ld-tooltip-animation-duration:var(--ld-transition-duration-normal)}}:host(.ld-tooltip--sm){--ld-tooltip-padding:var(--ld-tooltip-sm-padding)}:host(.ld-tooltip--with-arrow){--ld-tooltip-arrow-size:0.5rem;--ld-tooltip-arrow-offset:var(--ld-sp-16);--ld-tooltip-distance-from-trigger:calc(var(--ld-tooltip-arrow-size) + var(--ld-sp-8))}:host(.ld-tooltip--interactive){pointer-events:auto}:host(.ld-tooltip.ld-tether-enabled){animation:ld-tooltip-show var(--ld-tooltip-animation-duration) ease-out;opacity:1}:host(.ld-tooltip.ld-tether-element-attached-bottom) .ld-tooltip__arrow{bottom:var(--ld-tooltip-arrow-offset)}:host(.ld-tooltip.ld-tether-element-attached-bottom.ld-tether-target-attached-top){margin-top:calc(var(--ld-tooltip-distance-from-trigger) * -1 - var(--ld-tooltip-offset-y))}:host(.ld-tooltip.ld-tether-element-attached-bottom.ld-tether-target-attached-top) .ld-tooltip__arrow{border-top-color:var(--tooltip-bg-col);top:100%}:host(.ld-tooltip.ld-tether-element-attached-center) .ld-tooltip__arrow{left:calc(50% - var(--ld-tooltip-arrow-size))}:host(.ld-tooltip.ld-tether-element-attached-left.ld-tether-target-attached-right){margin-left:calc(var(--ld-tooltip-offset-x) + var(--ld-tooltip-distance-from-trigger))}:host(.ld-tooltip.ld-tether-element-attached-left.ld-tether-target-attached-right) .ld-tooltip__arrow{border-right-color:var(--tooltip-bg-col);right:100%}:host(.ld-tooltip.ld-tether-element-attached-middle) .ld-tooltip__arrow{top:calc(50% - var(--ld-tooltip-arrow-size))}:host(.ld-tooltip.ld-tether-element-attached-right) .ld-tooltip__arrow{right:var(--ld-tooltip-arrow-offset)}:host(.ld-tooltip.ld-tether-element-attached-right.ld-tether-target-attached-left){margin-left:calc(var(--ld-tooltip-distance-from-trigger) * -1 - var(--ld-tooltip-offset-x))}:host(.ld-tooltip.ld-tether-element-attached-right.ld-tether-target-attached-left) .ld-tooltip__arrow{border-left-color:var(--tooltip-bg-col);left:100%}:host(.ld-tooltip.ld-tether-element-attached-top.ld-tether-target-attached-bottom){margin-top:calc(var(--ld-tooltip-distance-from-trigger) + var(--ld-tooltip-offset-y))}:host(.ld-tooltip.ld-tether-element-attached-top.ld-tether-target-attached-bottom) .ld-tooltip__arrow{border-bottom-color:var(--tooltip-bg-col);bottom:100%}:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-bottom.ld-tether-target-attached-top):where(.ld-tether-element-attached-right)),:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-top.ld-tether-target-attached-bottom):where(.ld-tether-element-attached-right)){--ld-tooltip-offset-x:1rem}:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-bottom.ld-tether-target-attached-top):where(.ld-tether-element-attached-left)),:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-top.ld-tether-target-attached-bottom):where(.ld-tether-element-attached-left)){--ld-tooltip-offset-x:-1rem}:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-left.ld-tether-target-attached-right):where(.ld-tether-element-attached-bottom)),:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-right.ld-tether-target-attached-left):where(.ld-tether-element-attached-bottom)){--ld-tooltip-offset-y:1rem}:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-left.ld-tether-target-attached-right):where(.ld-tether-element-attached-top)),:host(.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow):where(.ld-tether-element-attached-right.ld-tether-target-attached-left):where(.ld-tether-element-attached-top)){--ld-tooltip-offset-y:-1rem}.ld-tooltip__arrow{border:var(--ld-tooltip-arrow-size) solid #0000;position:absolute}";const v=class{constructor(e){t(this,e);this.initialized=false;this.arrow=undefined;this.rightClick=false;this.size=undefined;this.triggerType="hover";this.unstyled=false;this.hasDefaultTrigger=undefined}componentDidLoad(){setTimeout((()=>{this.initialized=true}))}render(){return o(i,{class:h(["ld-tooltip",this.arrow&&"ld-tooltip--with-arrow",this.hasDefaultTrigger&&"ld-tooltip--with-default-trigger",this.initialized&&"ld-tooltip--initialized",this.size&&`ld-tooltip--${this.size}`,(this.rightClick||this.triggerType==="click")&&"ld-tooltip--interactive",this.unstyled&&"ld-tooltip--unstyled"]),role:"tooltip"},this.arrow&&o("span",{class:"ld-tooltip__arrow"}),o("slot",null))}get element(){return l(this)}};v.style=w;export{u as ld_tooltip,v as ld_tooltip_popper}; -//# sourceMappingURL=p-62594aee.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-62594aee.entry.js.map b/1704966176737/dist/build/p-62594aee.entry.js.map deleted file mode 100644 index ccecd7bf26..0000000000 --- a/1704966176737/dist/build/p-62594aee.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTooltipShadowCss","tooltipCount","mapPositionToAttachment","position","mapPositionToTargetAttachment","_a","copySlottedNodes","node","isElement","querySelectorAll","forEach","slot","assignedNodes","childNode","parentElement","insertBefore","remove","LdTooltip","this","idDescriber","isObserverEnabled","syncContent","tooltipContent","contentRef","querySelector","tooltipRef","textContent","appendChild","setTimeout","initTooltip","async","attachment","targetAttachment","customTetherOptions","tetherOptions","JSON","parse","Object","assign","classPrefix","constraints","to","element","target","triggerRef","popper","Tether","enable","showTooltip","toggleTooltip","visible","hideTooltip","handleHideTrigger","triggerType","disabled","clearTimeout","delayTimeout","hideDelay","handleShowTrigger","undefined","showDelay","bind","handleClick","rightClick","handleSlotChange","childNodes","classList","contains","initObserver","observer","MutationObserver","observe","el","subtree","childList","attributes","findFirstSlottedTrigger","triggerInSlot","isSlot","assignedElements","updatePopper","newDisabled","getTooltip","disable","ldtooltipclose","emit","ldtooltipopen","handleContextMenu","ev","preventDefault","handleClickOutside","isTrusted","composedPath","includes","handleContextMenuOutside","handleTouchOutside","handleCloseTooltip","componentWillLoad","hasDefaultTrigger","matches","focusableSelector","isInnerFocusable","triggerTabIndex","addEventListener","componentDidLoad","disconnectedCallback","disconnect","destroy","render","TriggerTag","tag","h","Host","preventScreenreader","class","getClassNames","onClick","onContextMenu","onMouseEnter","onMouseLeave","part","ref","tabIndex","type","name","fill","viewBox","d","arrow","id","unstyled","size","ldTooltipPopperShadowCss","LdTooltipPopper","initialized","role"],"sources":["../src/liquid/components/ld-tooltip/ld-tooltip.shadow.css?tag=ld-tooltip&encapsulation=shadow","../src/liquid/components/ld-tooltip/ld-tooltip.tsx","../src/liquid/components/ld-tooltip/ld-tooltip-popper/ld-tooltip-popper.shadow.css?tag=ld-tooltip-popper&encapsulation=shadow","../src/liquid/components/ld-tooltip/ld-tooltip-popper/ld-tooltip-popper.tsx"],"sourcesContent":[".ld-tooltip__trigger {\n /* themable colors */\n --ld-tooltip-trigger-icon-col: var(--ld-thm-primary);\n --ld-tooltip-trigger-icon-col-hover: var(--ld-thm-primary-hover);\n --ld-tooltip-trigger-icon-col-focus: var(--ld-thm-primary-focus);\n\n background: none;\n border: 0;\n display: inline-block;\n font-family: inherit;\n font-size: inherit;\n padding: 0;\n color: inherit;\n\n &--clickable {\n cursor: pointer;\n }\n\n &:focus:focus-visible .ld-tooltip__icon {\n color: var(--ld-tooltip-trigger-icon-col-focus);\n }\n\n &:hover .ld-tooltip__icon {\n color: var(--ld-tooltip-trigger-icon-col-hover);\n }\n\n ~ .ld-tooltip {\n opacity: 0;\n position: absolute;\n display: none;\n }\n}\n\n.ld-tooltip__icon {\n color: var(--ld-tooltip-trigger-icon-col);\n display: flex;\n height: var(--ld-sp-16);\n width: var(--ld-sp-16);\n}\n\n.ld-tooltip__content {\n display: none;\n}\n","import Tether from 'tether'\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { focusableSelector, isInnerFocusable } from '../../utils/focus'\nimport { isElement, isSlot } from '../../utils/type-checking'\n\nexport type Position =\n | 'bottom center'\n | 'bottom left'\n | 'bottom right'\n | 'left bottom'\n | 'left middle'\n | 'left top'\n | 'right bottom'\n | 'right middle'\n | 'right top'\n | 'top center'\n | 'top left'\n | 'top right'\n\nlet tooltipCount = 0\n\nconst mapPositionToAttachment = (position: Position) => {\n return {\n 'bottom center': 'top center',\n 'bottom left': 'top left',\n 'bottom right': 'top right',\n 'left bottom': 'bottom right',\n 'left middle': 'middle right',\n 'left top': 'top right',\n 'right bottom': 'bottom left',\n 'right middle': 'middle left',\n 'right top': 'top left',\n 'top center': 'bottom center',\n 'top left': 'bottom left',\n 'top right': 'bottom right',\n }[position]\n}\n\nconst mapPositionToTargetAttachment = (position: Position) => {\n return (\n {\n 'left bottom': 'bottom left',\n 'left middle': 'middle left',\n 'left top': 'top left',\n 'right bottom': 'bottom right',\n 'right middle': 'middle right',\n 'right top': 'top right',\n }[position] ?? position\n )\n}\n\nconst copySlottedNodes = (node: Node) => {\n // text node\n if (!isElement(node)) {\n return\n }\n\n node.querySelectorAll('slot').forEach((slot) => {\n slot.assignedNodes().forEach((childNode) => {\n copySlottedNodes(childNode)\n slot.parentElement.insertBefore(childNode, slot)\n })\n slot.remove()\n })\n}\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part content - `span` element wrapping the default slot\n * @part icon - Default icon when no trigger is supplied\n * @part trigger - Trigger button\n * @part popper - Popper element (can only be styled as long as tooltip is not initialized)\n */\n@Component({\n tag: 'ld-tooltip',\n styleUrl: 'ld-tooltip.shadow.css',\n shadow: true,\n})\nexport class LdTooltip {\n @Element() el: HTMLElement\n\n private contentRef!: HTMLSpanElement\n private delayTimeout?: NodeJS.Timeout\n private idDescriber = `ld-tooltip-${++tooltipCount}`\n private observer: MutationObserver\n private popper?: Tether\n private tooltipRef!: HTMLElement\n private triggerRef!: HTMLSpanElement\n private isObserverEnabled = true\n\n /** Show arrow */\n @Prop() arrow?: boolean\n\n /** Disable tooltip trigger */\n @Prop() disabled?: boolean\n\n /** Delay in ms until tooltip hides (only when trigger type is 'hover') */\n @Prop() hideDelay? = 0\n\n /** Position of the tooltip relative to the trigger element (also affects the arrow position) */\n @Prop() position?: Position = 'top center'\n\n /**\n * Do not apply code that triggers screenreaders when tooltip opens.\n * @internal\n */\n @Prop() preventScreenreader? = false\n\n /**\n * Use to right-click.\n * @internal\n */\n @Prop() rightClick? = false\n\n /** Delay in ms until tooltip shows (only when trigger type is 'hover') */\n @Prop() showDelay? = 0\n\n /** The tooltip size (effects tooltip padding only) */\n @Prop() size?: 'sm'\n\n /**\n * Render the tooltip without visual styling.\n * @internal\n */\n @Prop() unstyled?: HTMLLdTooltipPopperElement['unstyled']\n\n /** The rendered HTML tag for the tooltip trigger. */\n @Prop() tag? = 'button'\n\n /** Tether options object to be merged with the default options (optionally stringified). */\n @Prop() tetherOptions?: Partial | string\n\n /** Event type that triggers the tooltip */\n @Prop() triggerType?: 'click' | 'hover' = 'hover'\n\n /** Emitted when the tooltip is opened. */\n @Event() ldtooltipopen: EventEmitter\n\n /** Emitted when the tooltip is closed. */\n @Event() ldtooltipclose: EventEmitter\n\n @State() hasDefaultTrigger = true\n @State() triggerTabIndex?: number\n @State() visible = false\n\n @Watch('disabled')\n updatePopper(newDisabled: boolean) {\n if (newDisabled) {\n this.hideTooltip()\n }\n }\n\n private syncContent = () => {\n this.isObserverEnabled = false\n\n // Grab the new content in the slot.\n const tooltipContent = this.contentRef.querySelector('slot').assignedNodes()\n\n // Delete old content in popper element. Using textContent\n // is faster than innerHTML as no HTML parsers needs to be\n // invoked. Instead, this immediately replaces all children\n // of the tooltip ref with a single #text node.\n this.tooltipRef.textContent = ''\n\n // Move original nodes to popper element,\n // including all event listeners!\n tooltipContent.forEach((node) => {\n copySlottedNodes(node)\n this.tooltipRef.appendChild(node)\n })\n\n // The timeout is required. Without the setTimeout,\n // there is a possibility that the observer could be\n // re-enabled immediately after the content synchronization\n // code has been executed, but before the DOM modifications\n // have been fully processed. This could result in the\n // observer detecting incomplete or inconsistent changes,\n // leading to unexpected behavior.\n setTimeout(() => {\n this.isObserverEnabled = true\n })\n }\n\n private initTooltip = async () => {\n const attachment = mapPositionToAttachment(this.position)\n const targetAttachment = mapPositionToTargetAttachment(this.position)\n\n const customTetherOptions: Partial =\n typeof this.tetherOptions === 'string'\n ? JSON.parse(this.tetherOptions)\n : this.tetherOptions\n const tetherOptions: Tether.ITetherOptions = {\n attachment,\n classPrefix: 'ld-tether',\n constraints: [\n {\n attachment: 'together',\n to: 'window',\n },\n ],\n element: this.tooltipRef,\n target: this.triggerRef,\n targetAttachment,\n ...customTetherOptions,\n }\n\n this.popper = new Tether(tetherOptions)\n // Fixes a tether positioning bug\n this.popper.enable()\n this.popper.enable()\n this.popper.enable()\n await this.showTooltip()\n }\n\n /** Get the `ld-tooltip-popper` element. */\n @Method()\n async getTooltip() {\n return this.tooltipRef\n }\n\n /** Hide tooltip */\n @Method()\n async hideTooltip() {\n clearTimeout(this.delayTimeout)\n this.popper?.disable()\n this.visible = false\n this.ldtooltipclose.emit()\n }\n\n /** Show tooltip */\n @Method()\n async showTooltip() {\n if (this.disabled) return\n\n if (!this.popper) {\n await this.initTooltip()\n return\n }\n\n clearTimeout(this.delayTimeout)\n this.popper.enable()\n this.visible = true\n this.ldtooltipopen.emit()\n }\n\n /** @internal */\n @Method()\n async handleContextMenu(ev) {\n if (!this.rightClick || this.disabled) return\n\n ev.preventDefault()\n this.toggleTooltip()\n }\n\n private toggleTooltip = () => {\n if (!this.popper) {\n this.initTooltip()\n return\n }\n\n if (this.visible) {\n this.hideTooltip()\n } else {\n this.showTooltip()\n }\n }\n\n private handleHideTrigger = () => {\n if (this.triggerType === 'click' || this.disabled) {\n return\n }\n\n clearTimeout(this.delayTimeout)\n\n if (this.popper) {\n this.delayTimeout = setTimeout(() => {\n this.hideTooltip()\n }, this.hideDelay)\n }\n }\n\n private handleShowTrigger = () => {\n if (this.triggerType === 'click' || this.disabled) {\n return\n }\n\n clearTimeout(this.delayTimeout)\n\n if (this.popper === undefined) {\n this.delayTimeout = setTimeout(this.initTooltip, this.showDelay)\n } else {\n this.delayTimeout = setTimeout(\n this.showTooltip.bind(this),\n this.showDelay\n )\n }\n }\n\n private handleClick = () => {\n if (this.rightClick || this.triggerType === 'hover' || this.disabled) {\n return\n }\n\n this.toggleTooltip()\n }\n\n // TODO: maybe this should listen only, if the tooltip was opened by click.\n @Listen('click', {\n target: 'window',\n })\n handleClickOutside(ev: MouseEvent) {\n if (\n this.visible &&\n this.triggerType === 'click' &&\n ev.isTrusted &&\n !ev.composedPath().includes(this.el) &&\n !ev.composedPath().includes(this.tooltipRef)\n ) {\n this.hideTooltip()\n }\n }\n\n // This listener is required for tooltips which open via right click.\n // It makes sure that tooltips opened via right click get closed again\n // if another tooltip gets open via right click. Since a right click\n // is not a left click, the click outside handler, which otherwise would\n // close the tooltip, is not sufficient.\n @Listen('ldtooltipopen', {\n target: 'window',\n })\n handleContextMenuOutside(ev: CustomEvent) {\n if (\n this.visible &&\n !ev.composedPath().includes(this.el) &&\n !ev.composedPath().includes(this.tooltipRef)\n ) {\n this.hideTooltip()\n }\n }\n\n // Mobile Safari in some cases does not react to click events on elements\n // which are not interactive. But it does to touch events.\n // TODO: maybe this should listen only, if the tooltip was opened by click.\n @Listen('touchend', {\n target: 'window',\n passive: true,\n })\n handleTouchOutside(ev) {\n this.handleClickOutside(ev)\n }\n\n @Listen('ldclosetooltip', {\n target: 'window',\n passive: true,\n })\n handleCloseTooltip(ev) {\n if (ev.composedPath().includes(this.tooltipRef)) {\n this.hideTooltip()\n }\n }\n\n private handleSlotChange = () => {\n if (!this.isObserverEnabled) return\n\n // Remove all content from the popper element except for the tether-element-marker.\n this.tooltipRef.childNodes.forEach((node) => {\n if (\n isElement(node) &&\n node.classList.contains('ld-tether-element-marker')\n ) {\n return\n }\n\n node.remove()\n })\n\n // Put all content from the slot in the popper element.\n this.syncContent()\n }\n\n private initObserver = () => {\n this.observer = new MutationObserver(this.handleSlotChange)\n this.observer.observe(this.el, {\n subtree: true,\n childList: true,\n attributes: false,\n })\n }\n\n private findFirstSlottedTrigger = () => {\n let triggerInSlot = this.el.querySelector('[slot=\"trigger\"]')\n\n while (triggerInSlot && isSlot(triggerInSlot)) {\n triggerInSlot = triggerInSlot.assignedElements()[0]\n }\n\n return triggerInSlot as HTMLElement\n }\n\n componentWillLoad() {\n const triggerInSlot = this.findFirstSlottedTrigger()\n this.hasDefaultTrigger = !triggerInSlot\n\n if (\n triggerInSlot &&\n (triggerInSlot.matches(focusableSelector) ||\n isInnerFocusable(triggerInSlot))\n ) {\n this.triggerTabIndex = -1\n }\n\n this.el.addEventListener('focus', this.handleShowTrigger, true)\n this.el.addEventListener('blur', this.handleHideTrigger, true)\n }\n\n componentDidLoad() {\n setTimeout(() => {\n this.syncContent()\n this.initObserver()\n })\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.observer) this.observer.disconnect()\n /* istanbul ignore if */\n if (this.popper) this.popper.destroy()\n /* istanbul ignore if */\n if (this.tooltipRef) this.tooltipRef.remove()\n }\n\n render() {\n const TriggerTag = this.tag\n\n return (\n \n {\n this.triggerRef = element\n }}\n tabIndex={this.triggerTabIndex}\n type=\"button\"\n >\n Info\n \n \n \n \n \n \n \n (this.contentRef = element)}\n >\n \n \n {\n this.tooltipRef = element\n }}\n rightClick={this.rightClick}\n size={this.size}\n triggerType={this.triggerType}\n />\n \n )\n }\n}\n","@keyframes ld-tooltip-show {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes ld-tooltip-hide {\n to {\n visibility: hidden;\n }\n}\n\n.ld-tooltip {\n :host(&) {\n /* TODO: move to global vars? */\n --ld-zi-max: 2147483647; /* max z-index */\n\n --ld-tooltip-animation-duration: 0s;\n --ld-tooltip-distance-from-trigger: var(--ld-sp-8);\n --ld-tooltip-max-width: 20rem;\n /* calculation does not work, if 0 is used instead of 0px */\n --ld-tooltip-offset-x: 0px;\n --ld-tooltip-offset-y: 0px;\n\n --ld-tooltip-padding: var(--ld-sp-16);\n --ld-tooltip-sm-padding: var(--ld-sp-6) var(--ld-sp-8);\n\n /* colors */\n --tooltip-col: var(--ld-col-neutral-900);\n --tooltip-bg-col: var(--ld-col-wht);\n\n animation: ld-tooltip-hide 0s ease var(--ld-tooltip-animation-duration);\n animation-fill-mode: forwards;\n margin-left: var(--ld-tooltip-offset-x);\n margin-top: var(--ld-tooltip-offset-y);\n max-width: var(--ld-tooltip-max-width);\n opacity: 0;\n pointer-events: none;\n position: relative;\n transition: opacity var(--ld-tooltip-animation-duration) ease-in;\n z-index: var(--ld-zi-max);\n }\n\n &:not(.ld-tooltip--unstyled) {\n :host(&) {\n background-color: var(--tooltip-bg-col);\n border-radius: var(--ld-br-m);\n color: var(--tooltip-col);\n filter: var(--ld-drop-shadow-hover);\n padding: var(--ld-tooltip-padding);\n }\n }\n\n &--initialized {\n :host(&) {\n @media (prefers-reduced-motion: no-preference) {\n --ld-tooltip-animation-duration: var(--ld-transition-duration-normal);\n }\n }\n }\n\n &--sm {\n :host(&) {\n --ld-tooltip-padding: var(--ld-tooltip-sm-padding);\n }\n }\n\n &--with-arrow {\n :host(&) {\n --ld-tooltip-arrow-size: 0.5rem;\n --ld-tooltip-arrow-offset: var(--ld-sp-16);\n --ld-tooltip-distance-from-trigger: calc(\n var(--ld-tooltip-arrow-size) + var(--ld-sp-8)\n );\n }\n }\n\n &--interactive {\n :host(&) {\n pointer-events: auto;\n }\n }\n\n &.ld-tether-enabled {\n :host(&) {\n animation: ld-tooltip-show var(--ld-tooltip-animation-duration) ease-out;\n opacity: 1;\n }\n }\n\n &.ld-tether-element-attached-bottom {\n :host(&) {\n .ld-tooltip__arrow {\n bottom: var(--ld-tooltip-arrow-offset);\n }\n }\n\n &.ld-tether-target-attached-top {\n :host(&) {\n margin-top: calc(\n var(--ld-tooltip-distance-from-trigger) * -1 -\n var(--ld-tooltip-offset-y)\n );\n\n .ld-tooltip__arrow {\n border-top-color: var(--tooltip-bg-col);\n top: 100%;\n }\n }\n }\n }\n\n &.ld-tether-element-attached-center {\n :host(&) {\n .ld-tooltip__arrow {\n left: calc(50% - var(--ld-tooltip-arrow-size));\n }\n }\n }\n\n &.ld-tether-element-attached-left.ld-tether-target-attached-right {\n :host(&) {\n margin-left: calc(\n var(--ld-tooltip-offset-x) + var(--ld-tooltip-distance-from-trigger)\n );\n\n .ld-tooltip__arrow {\n border-right-color: var(--tooltip-bg-col);\n right: 100%;\n }\n }\n }\n\n &.ld-tether-element-attached-middle {\n :host(&) {\n .ld-tooltip__arrow {\n top: calc(50% - var(--ld-tooltip-arrow-size));\n }\n }\n }\n\n &.ld-tether-element-attached-right {\n :host(&) {\n .ld-tooltip__arrow {\n right: var(--ld-tooltip-arrow-offset);\n }\n }\n\n &.ld-tether-target-attached-left {\n :host(&) {\n margin-left: calc(\n var(--ld-tooltip-distance-from-trigger) * -1 -\n var(--ld-tooltip-offset-x)\n );\n\n .ld-tooltip__arrow {\n border-left-color: var(--tooltip-bg-col);\n left: 100%;\n }\n }\n }\n }\n\n &.ld-tether-element-attached-top.ld-tether-target-attached-bottom {\n :host(&) {\n margin-top: calc(\n var(--ld-tooltip-distance-from-trigger) + var(--ld-tooltip-offset-y)\n );\n .ld-tooltip__arrow {\n border-bottom-color: var(--tooltip-bg-col);\n bottom: 100%;\n }\n }\n }\n}\n\n.ld-tooltip--with-default-trigger:where(.ld-tooltip--with-arrow) {\n &:where(.ld-tether-element-attached-top.ld-tether-target-attached-bottom),\n &:where(.ld-tether-element-attached-bottom.ld-tether-target-attached-top) {\n &:where(.ld-tether-element-attached-right) {\n :host(&) {\n --ld-tooltip-offset-x: 1rem;\n }\n }\n\n &:where(.ld-tether-element-attached-left) {\n :host(&) {\n --ld-tooltip-offset-x: -1rem;\n }\n }\n }\n\n &:where(.ld-tether-element-attached-right.ld-tether-target-attached-left),\n &:where(.ld-tether-element-attached-left.ld-tether-target-attached-right) {\n &:where(.ld-tether-element-attached-bottom) {\n :host(&) {\n --ld-tooltip-offset-y: 1rem;\n }\n }\n\n &:where(.ld-tether-element-attached-top) {\n :host(&) {\n --ld-tooltip-offset-y: -1rem;\n }\n }\n }\n}\n\n.ld-tooltip__arrow {\n border: var(--ld-tooltip-arrow-size) solid transparent;\n position: absolute;\n}\n","import { Component, Element, h, Host, Prop, State } from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\n\n/** @internal **/\n@Component({\n tag: 'ld-tooltip-popper',\n styleUrl: 'ld-tooltip-popper.shadow.css',\n shadow: true,\n})\nexport class LdTooltipPopper {\n @Element() element: HTMLElement\n\n @State() initialized = false\n\n /** Show arrow */\n @Prop() arrow?: boolean\n\n /**\n * Use to right-click.\n * @internal\n */\n @Prop() rightClick? = false\n\n /** The tooltip size (effects tooltip padding only) */\n @Prop() size?: 'sm'\n\n /** Event type that triggers the tooltip */\n @Prop() triggerType?: 'click' | 'hover' = 'hover'\n\n /** Render the tooltip without visual styling. */\n @Prop() unstyled? = false\n\n /** Whether the tooltip has a custom trigger or not */\n @Prop() hasDefaultTrigger?: boolean\n\n componentDidLoad() {\n setTimeout(() => {\n this.initialized = true\n })\n }\n\n render() {\n return (\n \n {this.arrow && }\n \n \n )\n }\n}\n"],"mappings":"8NAAA,MAAMA,EAAqB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AEVF,KAAK,yBAKbd,EAAA,QACEG,MAAM,sBACNM,KAAK,UACLC,IAAM/E,GAA8BxB,KAAKK,WAAamB,GAEtDqE,EAAA,cAEFA,EAAA,mCACe7F,KAAKgC,QAAUS,UAAY,OACxCqE,MAAO9G,KAAK8G,MACZ9B,kBAAmBhF,KAAKgF,kBACxB+B,GAAI/G,KAAK+F,oBAAsBtD,UAAYzC,KAAKC,YAChD+G,SAAUhH,KAAKgH,SACfV,KAAK,SACLC,IAAM/E,IACJxB,KAAKO,WAAaiB,CAAO,EAE3BqB,WAAY7C,KAAK6C,WACjBoE,KAAMjH,KAAKiH,KACX9E,YAAanC,KAAKmC,c,6FChgB5B,MAAM+E,EAA2B,u7J,MCSpBC,EAAe,M,0CAGH,M,qCASD,M,qCAMoB,Q,cAGtB,M,iCAKpB,gBAAA7B,GACE5E,YAAW,KACTV,KAAKoH,YAAc,IAAI,G,CAI3B,MAAA1B,GACE,OACEG,EAACC,EAAI,CACHE,MAAOC,EAAc,CACnB,aACAjG,KAAK8G,OAAS,yBACd9G,KAAKgF,mBAAqB,mCAC1BhF,KAAKoH,aAAe,0BACpBpH,KAAKiH,MAAQ,eAAejH,KAAKiH,QAChCjH,KAAK6C,YAAc7C,KAAKmC,cAAgB,UACvC,0BACFnC,KAAKgH,UAAY,yBAEnBK,KAAK,WAEJrH,KAAK8G,OAASjB,EAAA,QAAMG,MAAM,sBAC3BH,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-6378f694.entry.js b/1704966176737/dist/build/p-6378f694.entry.js deleted file mode 100644 index 6f5a003900..0000000000 --- a/1704966176737/dist/build/p-6378f694.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as s,h as t,H as l}from"./p-21a69c18.js";const a="";const r=class{constructor(t){s(this,t)}render(){return t(l,{class:"ld-tabpanellist"},t("slot",null))}};r.style=a;export{r as ld_tabpanellist}; -//# sourceMappingURL=p-6378f694.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-6378f694.entry.js.map b/1704966176737/dist/build/p-6378f694.entry.js.map deleted file mode 100644 index c9faca5fd0..0000000000 --- a/1704966176737/dist/build/p-6378f694.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTabpanellistShadowCss","LdTabpanellist","render","h","Host","class"],"sources":["../src/liquid/components/ld-tabs/ld-tabpanellist/ld-tabpanellist.shadow.css?tag=ld-tabpanellist&encapsulation=shadow","../src/liquid/components/ld-tabs/ld-tabpanellist/ld-tabpanellist.tsx"],"sourcesContent":[null,"import { Component, h, Host } from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-tabpanellist',\n styleUrl: 'ld-tabpanellist.shadow.css',\n shadow: true,\n})\nexport class LdTabpanellist {\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAA0B,G,MCWnBC,EAAc,M,yBACzB,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,mBACVF,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-6443c1fe.entry.js.map b/1704966176737/dist/build/p-6443c1fe.entry.js.map deleted file mode 100644 index f40097e4a5..0000000000 --- a/1704966176737/dist/build/p-6443c1fe.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsNavCss","DocsNav","onNavOpen","this","isNavOpen","document","getElementById","setAttribute","onNavClose","removeAttribute","handleResize","isNarrow","window","matchMedia","matches","handleClick","ev","closestLink","target","closest","location","href","componentWillLoad","hash","setTimeout","history","replaceState","pathname","componentDidLoad","eventBus","on","NavEventType","open","bind","close","link","el","querySelector","scrollIntoView","block","render","h","Host","class","id","role","Date","getFullYear","rel"],"sources":["../src/docs/components/docs-nav/docs-nav.css?tag=docs-nav","../src/docs/components/docs-nav/docs-nav.tsx"],"sourcesContent":["@define-mixin docs-nav-ui-light {\n .docs-nav__content {\n background-color: var(--ld-col-neutral-010);\n box-shadow: var(--ld-sp-1) 0 0 0 var(--ld-col-neutral-100);\n }\n .docs-nav::before {\n background-color: var(--ld-col-neutral-010);\n }\n .docs-nav__section {\n border-bottom-color: var(--ld-col-neutral-100);\n }\n .docs-nav__li {\n color: var(--ld-col-neutral-600);\n\n a:hover,\n &.docs-nav__li--active {\n color: var(--ld-col-neutral-900);\n }\n }\n .docs-nav__summary--introduction,\n .docs-nav__summary--introduction + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-introduction-dark.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-rb);\n }\n }\n .docs-nav__summary--guides,\n .docs-nav__summary--guides + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-guides-dark.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-vc-200);\n }\n }\n .docs-nav__summary--globals,\n .docs-nav__summary--globals + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-globals-dark.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-rp);\n }\n }\n .docs-nav__summary--components,\n .docs-nav__summary--components + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-components-dark.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-rg);\n }\n }\n .docs-nav__summary--data-visualization,\n .docs-nav__summary--data-visualization + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-data-visualization-dark.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-vm);\n }\n }\n .docs-nav__li--active .docs-nav__summary--introduction {\n color: var(--ld-col-rb);\n }\n .docs-nav__li--active .docs-nav__summary--guides {\n color: var(--ld-col-vc);\n }\n .docs-nav__li--active .docs-nav__summary--globals {\n color: var(--ld-col-rp);\n }\n .docs-nav__li--active .docs-nav__summary--components {\n color: var(--ld-col-rg);\n }\n .docs-nav__li--active .docs-nav__summary--data-visualization {\n color: var(--ld-col-vm);\n }\n}\n@define-mixin docs-nav-ui-dark {\n .docs-nav__content {\n background-color: var(--ld-col-neutral-900);\n box-shadow: none;\n }\n .docs-nav::before {\n background-color: var(--ld-col-neutral-900);\n }\n .docs-nav__section {\n border-bottom-color: var(--ld-col-neutral-800);\n }\n .docs-nav__li {\n color: var(--ld-col-neutral-200);\n\n a:hover,\n &.docs-nav__li--active {\n color: var(--ld-col-wht);\n }\n }\n .docs-nav__summary--introduction,\n .docs-nav__summary--introduction + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-introduction-light.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-rb);\n }\n }\n .docs-nav__summary--guides,\n .docs-nav__summary--guides + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-guides-light.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-vc);\n }\n }\n .docs-nav__summary--globals,\n .docs-nav__summary--globals + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-globals-light.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-rp);\n }\n }\n .docs-nav__summary--components,\n .docs-nav__summary--components + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-components-light.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-rg);\n }\n }\n .docs-nav__summary--data-visualization,\n .docs-nav__summary--data-visualization + ul .docs-nav__summary {\n .docs-nav__arrow {\n background-image: url('dist/build/assets/chevron-data-visualization-light.svg');\n }\n .docs-nav__summary-toggle {\n background-color: var(--ld-col-vm);\n }\n }\n .docs-nav__li--active .docs-nav__summary--introduction {\n color: var(--ld-col-rb-400);\n }\n .docs-nav__li--active .docs-nav__summary--guides {\n color: var(--ld-col-vc-400);\n }\n .docs-nav__li--active .docs-nav__summary--globals {\n color: var(--ld-col-rp-400);\n }\n .docs-nav__li--active .docs-nav__summary--components {\n color: var(--ld-col-rg-400);\n }\n .docs-nav__li--active .docs-nav__summary--data-visualization {\n color: var(--ld-col-vm-400);\n }\n}\n\n@mixin docs-nav-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-nav-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-nav-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-nav-ui-light;\n}\n\n.docs-nav {\n font: var(--ld-typo-body-s);\n overscroll-behavior: contain;\n overflow: hidden auto;\n z-index: 2;\n flex-shrink: 0;\n pointer-events: none;\n\n &::before {\n content: '';\n position: fixed;\n height: 100%;\n left: 0;\n z-index: -1;\n display: block;\n width: calc(50vw - var(--docs-max-width) / 2 + 2rem);\n }\n\n ul {\n pointer-events: all;\n list-style: none;\n }\n\n details[open] > summary .docs-nav__arrow {\n transform: rotate(90deg);\n }\n\n .docs-switch-dark-light {\n margin-bottom: var(--ld-sp-32);\n display: block;\n }\n}\n\n.docs-nav__content {\n pointer-events: all;\n bottom: 0;\n overflow: hidden scroll;\n overscroll-behavior: contain;\n padding: var(--ld-sp-24) var(--ld-sp-24) var(--ld-sp-24) var(--ld-sp-32);\n position: fixed;\n top: 3.125rem;\n width: var(--docs-nav-width);\n\n @media (width <= 52rem) {\n position: fixed;\n top: 0;\n }\n}\n\n.docs-nav__section {\n padding: var(--ld-sp-24) var(--ld-sp-8) var(--ld-sp-24) 0;\n border-bottom-style: solid;\n border-bottom-width: var(--ld-sp-1);\n\n &:first-of-type {\n padding-top: 0;\n }\n\n &:last-of-type {\n padding-bottom: 0;\n border-bottom: 0;\n }\n}\n.docs-nav__nav > ul > li:first-of-type {\n margin-top: 0;\n}\n\n.docs-nav__summary {\n cursor: pointer;\n display: inline-block;\n font: var(--ld-typo-label-s);\n font-weight: 700;\n margin: var(--ld-sp-24) 0 var(--ld-sp-6);\n outline: none;\n position: relative;\n text-transform: uppercase;\n user-select: none;\n width: 100%;\n pointer-events: none;\n\n &::marker,\n &::-webkit-details-marker {\n display: none;\n }\n\n a {\n padding-left: var(--ld-sp-40);\n pointer-events: all;\n\n &::before {\n position: absolute;\n width: var(--ld-sp-24);\n height: var(--ld-sp-24);\n transform: translate(-170%, -20%);\n outline: none;\n opacity: 0.5;\n }\n\n &:hover::before,\n .docs-nav__li--active &::before {\n opacity: 1;\n }\n }\n\n li ul & {\n font-weight: inherit;\n margin-top: 0;\n text-transform: none;\n\n + ul {\n margin-left: var(--ld-sp-12);\n }\n }\n\n li ul li.docs-nav__li--active > details > & {\n font-weight: 700;\n }\n}\n\n.docs-nav__arrow {\n position: absolute;\n right: 0;\n top: calc(-1 * var(--ld-sp-1));\n background-repeat: no-repeat;\n background-position: center;\n width: 0.8rem;\n height: 1rem;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n z-index: 1;\n}\n\n.docs-nav__summary-toggle {\n position: absolute;\n right: 0;\n top: calc(-1 * var(--ld-sp-1));\n width: var(--ld-sp-24);\n height: var(--ld-sp-24);\n pointer-events: all;\n transform: translate(25%, -20%);\n outline: none;\n opacity: 0;\n border-radius: var(--ld-br-m);\n\n &:hover {\n opacity: 0.5;\n }\n}\n\nbody:not(.safari) {\n .docs-nav__summary:focus:focus-visible {\n outline: auto;\n outline: auto 5px -webkit-focus-ring-color; /* stylelint-disable-line declaration-block-no-duplicate-properties */\n }\n}\n\n.docs-nav__summary--introduction a::before {\n background-image: url('dist/build/assets/introduction.svg');\n content: '';\n}\n\n.docs-nav__summary--guides a::before {\n background-image: url('dist/build/assets/guides.svg');\n content: '';\n}\n\n.docs-nav__summary--components a::before {\n background-image: url('dist/build/assets/components.svg');\n content: '';\n}\n\n.docs-nav__summary--data-visualization a::before {\n background-image: url('dist/build/assets/data-visualization.svg');\n content: '';\n}\n\n.docs-nav__summary--globals a::before {\n background-image: url('dist/build/assets/globals.svg');\n content: '';\n}\n\n.docs-nav__li {\n margin-top: var(--ld-sp-12);\n\n ul {\n padding-left: var(--ld-sp-40);\n }\n\n > a {\n display: block;\n }\n\n .docs-nav__li ul,\n .docs-nav__li .docs-nav__summary a {\n padding: 0;\n }\n}\n\n.docs-nav__li--active > a {\n font-weight: 700;\n}\n\n.docs-nav__contact-links,\n.docs-nav__legal-links {\n display: flex;\n\n a {\n opacity: 0.8;\n\n @media (hover: hover) {\n &:hover {\n opacity: 1;\n }\n }\n }\n}\n\n.docs-nav__contact-links {\n flex-wrap: wrap;\n margin-top: var(--ld-sp-12);\n\n a {\n margin-right: var(--ld-sp-24);\n }\n}\n\n.docs-nav__legal-links {\n flex-direction: column;\n\n a:not(:first-of-type) {\n margin-top: var(--ld-sp-12);\n }\n}\n\n.docs-nav__dimmed {\n opacity: 0.8;\n}\n","import { Component, h, Host, State, Listen, Element } from '@stencil/core'\nimport eventBus from '../../utils/eventBus'\nimport { NavEventType } from '../../utils/eventTypes'\n\n/** @internal **/\n@Component({\n tag: 'docs-nav',\n styleUrl: 'docs-nav.css',\n shadow: false,\n assetsDirs: ['assets'],\n})\nexport class DocsNav {\n @Element() el: HTMLElement\n\n @State() isNavOpen = false\n\n private onNavOpen() {\n this.isNavOpen = true\n document.getElementById('main').setAttribute('inert', 'true')\n }\n private onNavClose() {\n this.isNavOpen = false\n document.getElementById('main').removeAttribute('inert')\n }\n\n @Listen('resize', { target: 'window' })\n handleResize() {\n const isNarrow = window.matchMedia('(max-width: 52rem)').matches\n if (!isNarrow) {\n document.getElementById('main').removeAttribute('inert')\n } else if (this.isNavOpen) {\n document.getElementById('main').setAttribute('inert', 'true')\n }\n }\n\n /**\n * This click handler is needed on mobile safari.\n * @param ev\n */\n @Listen('click', { capture: false })\n handleClick(ev) {\n const closestLink = ev.target.closest('.docs-nav__li a')\n if (closestLink) {\n window.location.href = closestLink.href\n }\n }\n\n componentWillLoad() {\n // Make sure the sidenav-open hash is removed on page reload\n // when the sidenav is open.\n if (location.hash === '#sidenav-open') {\n location.hash = ''\n setTimeout(() => {\n history.replaceState({}, '', window.location.pathname)\n })\n }\n }\n\n componentDidLoad() {\n eventBus.on(NavEventType.open, this.onNavOpen.bind(this))\n eventBus.on(NavEventType.close, this.onNavClose.bind(this))\n\n // Scroll current nav item into view.\n const link = this.el.querySelector(`[href='${location.pathname}']`)\n link?.scrollIntoView({ block: 'center' })\n }\n\n render() {\n return (\n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n

    \n \n © {new Date().getFullYear()}, Merck KGaA,\n Darmstadt, Germany\n \n

    \n
    \n

    \n Get in touch:\n \n \n GitHub discussions\n \n
    \n \n Teams\n \n
    \n

    \n
    \n \n
    \n
    \n )\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAa,ggd,MCWNC,EAAO,M,wCAGG,K,CAEb,SAAAC,GACNC,KAAKC,UAAY,KACjBC,SAASC,eAAe,QAAQC,aAAa,QAAS,O,CAEhD,UAAAC,GACNL,KAAKC,UAAY,MACjBC,SAASC,eAAe,QAAQG,gBAAgB,Q,CAIlD,YAAAC,GACE,MAAMC,EAAWC,OAAOC,WAAW,sBAAsBC,QACzD,IAAKH,EAAU,CACbN,SAASC,eAAe,QAAQG,gBAAgB,Q,MAC3C,GAAIN,KAAKC,UAAW,CACzBC,SAASC,eAAe,QAAQC,aAAa,QAAS,O,EAS1D,WAAAQ,CAAYC,GACV,MAAMC,EAAcD,EAAGE,OAAOC,QAAQ,mBACtC,GAAIF,EAAa,CACfL,OAAOQ,SAASC,KAAOJ,EAAYI,I,EAIvC,iBAAAC,GAGE,GAAIF,SAASG,OAAS,gBAAiB,CACrCH,SAASG,KAAO,GAChBC,YAAW,KACTC,QAAQC,aAAa,GAAI,GAAId,OAAOQ,SAASO,SAAS,G,EAK5D,gBAAAC,GACEC,EAASC,GAAGC,EAAaC,KAAM7B,KAAKD,UAAU+B,KAAK9B,OACnD0B,EAASC,GAAGC,EAAaG,MAAO/B,KAAKK,WAAWyB,KAAK9B,OAGrD,MAAMgC,EAAOhC,KAAKiC,GAAGC,cAAc,UAAUjB,SAASO,cACtDQ,IAAI,MAAJA,SAAI,SAAJA,EAAMG,eAAe,CAAEC,MAAO,U,CAGhC,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,WAAWC,GAAG,gBACxBH,EAAA,OAAKE,MAAM,qBACTF,EAAA,OAAKE,MAAM,qBACTF,EAAA,+BACAA,EAAA,yBAEFA,EAAA,OAAKE,MAAM,qBACTF,EAAA,OAAKE,MAAM,gBAAgBE,KAAK,cAC9BJ,EAAA,eAGJA,EAAA,OAAKE,MAAM,qBACTF,EAAA,SACEA,EAAA,QAAME,MAAM,oBAAkB,MACzB,IAAIG,MAAOC,cAAa,qCAI/BN,EAAA,WACAA,EAAA,SACEA,EAAA,QAAME,MAAM,oBAAkB,iBAC9BF,EAAA,QAAME,MAAM,2BACVF,EAAA,KACEpB,KAAK,wDACLH,OAAO,SACP8B,IAAI,uBAAqB,sBAI3BP,EAAA,WACAA,EAAA,KACEpB,KAAK,gMACLH,OAAO,SACP8B,IAAI,uBAAqB,YAOjCP,EAAA,OAAKE,MAAM,qBACTF,EAAA,KAAGE,MAAM,yBACPF,EAAA,KAAGpB,KAAK,kBAAgB,WACxBoB,EAAA,KAAGpB,KAAK,gBAAc,wBACtBoB,EAAA,KAAGpB,KAAK,kBAAgB,qBACxBoB,EAAA,KAAGpB,KAAK,kBAAgB,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-699b0a42.entry.js.map b/1704966176737/dist/build/p-699b0a42.entry.js.map deleted file mode 100644 index bcb981d29a..0000000000 --- a/1704966176737/dist/build/p-699b0a42.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTabShadowCss","LdTab","focusInner","this","btnRef","focus","preventScroll","handleTabClick","event","preventDefault","select","emitEvent","newSelected","oldSelected","ldtabselect","emit","disabled","getAttribute","selected","render","h","undefined","class","onClick","bind","part","ref","el","role","tabindex","ldTabindex"],"sources":["../src/liquid/components/ld-tabs/ld-tab/ld-tab.shadow.css?tag=ld-tab&encapsulation=shadow","../src/liquid/components/ld-tabs/ld-tab/ld-tab.tsx"],"sourcesContent":[":host {\n --ld-tab-font: var(--ld-typo-body-m);\n --ld-tab-gap: 0.625rem;\n --ld-tab-min-height: 2.5rem;\n --ld-tab-disabled-opacity: 1;\n --ld-tab-disabled-content-opacity: 0.25;\n --ld-tab-padding-x: 0.875rem;\n --ld-tab-padding-y: 0.75rem;\n\n /* colors */\n --ld-tab-bg-col-active: var(--ld-col-neutral-200);\n --ld-tab-bg-col-focus: var(--ld-col-neutral-600);\n --ld-tab-bg-col-hover: var(--ld-col-neutral-100);\n --ld-tab-bg-col: var(--ld-col-neutral-010);\n --ld-tab-disabled-bg-col-focus: var(--ld-col-neutral-400);\n --ld-tab-disabled-text-col-focus: var(--ld-col-wht);\n --ld-tab-disabled-text-col: var(--ld-col-neutral-900);\n --ld-tab-text-col-focus: var(--ld-col-neutral-100);\n --ld-tab-text-col: var(--ld-col-neutral-900);\n\n /* theme colors */\n --ld-tab-selected-border-col-focus: var(--ld-thm-primary-focus);\n --ld-tab-selected-border-col: var(--ld-thm-primary);\n --ld-tab-selected-text-col-focus: var(--ld-thm-primary-focus);\n --ld-tab-selected-text-col: var(--ld-thm-primary);\n}\n\n.ld-tab {\n position: relative;\n font: var(--ld-tab-font);\n font-weight: 700;\n border: 0;\n border-radius: var(--ld-tab-border-radius, 0);\n text-decoration: none;\n user-select: none;\n touch-action: manipulation;\n display: grid;\n grid-template-columns: minmax(0, var(--ld-sp-16)) max-content minmax(\n 0,\n var(--ld-sp-16)\n );\n align-items: center;\n text-align: center;\n justify-content: center;\n line-height: 1;\n scroll-snap-align: start;\n white-space: nowrap;\n -webkit-touch-callout: none;\n padding: var(--ld-tab-padding-y) var(--ld-tab-padding-x);\n min-height: var(--ld-tab-min-height);\n color: var(--ld-tab-text-col);\n background-color: var(--ld-tab-bg-col);\n box-sizing: border-box;\n margin: 0;\n\n &[aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false'])) {\n color: var(--ld-tab-disabled-text-col);\n opacity: var(--ld-tab-disabled-opacity);\n\n .ld-tab__content {\n opacity: var(--ld-tab-disabled-content-opacity);\n }\n }\n\n /* Selection indicator */\n &::after {\n content: '';\n display: var(--ld-tab-selected-border-display, block);\n position: absolute;\n inset: auto 0 0;\n height: var(--ld-tab-indicator-height);\n z-index: 3;\n }\n\n &[aria-selected='true'] {\n color: var(--ld-tab-selected-text-col);\n background-color: var(--ld-tab-bg-col);\n\n &::after {\n background-color: var(--ld-tab-selected-border-col);\n }\n }\n\n &:focus:focus-visible {\n --ld-tab-disabled-content-opacity: 0.5;\n outline: none;\n background-color: var(--ld-tab-bg-col-focus);\n\n &:not(:active) {\n color: var(--ld-tab-text-col-focus);\n }\n\n &[aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false'])) {\n background-color: var(--ld-tab-disabled-bg-col-focus);\n color: var(--ld-tab-disabled-text-col-focus);\n }\n\n &[aria-selected='true'] {\n &:not(:active) {\n color: var(--ld-tab-selected-text-col-focus);\n }\n\n &::after {\n background-color: var(--ld-tab-selected-border-col-focus);\n }\n }\n\n &:not([aria-selected='true'])::after {\n background-color: inherit;\n }\n }\n\n &:where(\n :not(\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n cursor: pointer;\n\n @media (hover: hover) {\n &:hover {\n background-color: var(--ld-tab-bg-col-hover);\n\n &[aria-selected='true'] {\n background-color: var(\n --ld-tab-selected-bg-col-hover,\n var(--ld-tab-bg-col-hover)\n );\n }\n\n &:not([aria-selected='true']) {\n color: var(--ld-tab-text-col-hover);\n\n &::after {\n background-color: inherit;\n }\n }\n }\n }\n &:active:focus,\n &:active:focus:focus-visible {\n background-color: var(--ld-tab-bg-col-active);\n\n &[aria-selected='true'] {\n background-color: var(\n --ld-tab-selected-bg-col-active,\n var(--ld-tab-bg-col-active)\n );\n }\n\n &:not([aria-selected='true'])::after {\n background-color: inherit;\n }\n }\n }\n\n ::slotted(ld-icon),\n ::slotted(.ld-icon) {\n height: 0;\n }\n}\n\n.ld-tab__spacer {\n display: inline-flex;\n flex-shrink: 1;\n width: var(--ld-sp-16);\n}\n\n.ld-tab__content {\n display: grid;\n grid-auto-flow: column;\n gap: var(--ld-tab-gap);\n align-items: center;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n Watch,\n} from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part button - Actual button element\n * @part content - Element wrapping the slot\n * @part spacer - Both spacer elements\n * @part spacer-left - Left spacer element\n * @part spacer-right - Right spacer element\n */\n@Component({\n tag: 'ld-tab',\n styleUrl: 'ld-tab.shadow.css',\n shadow: true,\n})\nexport class LdTab implements InnerFocusable {\n @Element() el: HTMLElement\n\n private btnRef: HTMLButtonElement\n\n /** Disables the tab. */\n @Prop() disabled?: boolean\n\n /** Tab index of the tab. */\n @Prop() ldTabindex?: number\n\n /** If present, this boolean attribute indicates that the tab is selected. */\n @Prop({ mutable: true, reflect: true }) selected?: boolean\n\n /** Focuses the tab */\n @Method()\n async focusInner() {\n this.btnRef.focus({ preventScroll: true })\n }\n\n /**\n * @internal\n * Emitted with the id of the selected tab.\n */\n @Event() ldtabselect: EventEmitter\n\n private handleTabClick(event: MouseEvent) {\n event.preventDefault()\n\n this.select()\n }\n\n @Watch('selected')\n emitEvent(newSelected: boolean, oldSelected: boolean) {\n if (!newSelected || newSelected === oldSelected) return\n\n this.ldtabselect.emit()\n }\n\n /** Set selected tab to a certain index */\n @Method()\n async select() {\n if (this.disabled) return\n\n if (this.btnRef.getAttribute('aria-selected')) return\n\n this.selected = true\n }\n\n render() {\n return (\n (this.btnRef = el as HTMLButtonElement)}\n role=\"tab\"\n tabindex={this.selected ? this.ldTabindex : '-1'}\n >\n \n \n \n \n \n \n )\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAiB,u0J,MCyBVC,EAAK,M,4IAgBhB,gBAAMC,GACJC,KAAKC,OAAOC,MAAM,CAAEC,cAAe,M,CAS7B,cAAAC,CAAeC,GACrBA,EAAMC,iBAENN,KAAKO,Q,CAIP,SAAAC,CAAUC,EAAsBC,GAC9B,IAAKD,GAAeA,IAAgBC,EAAa,OAEjDV,KAAKW,YAAYC,M,CAKnB,YAAML,GACJ,GAAIP,KAAKa,SAAU,OAEnB,GAAIb,KAAKC,OAAOa,aAAa,iBAAkB,OAE/Cd,KAAKe,SAAW,I,CAGlB,MAAAC,GACE,OACEC,EAAA,0BACiBjB,KAAKa,SAAW,OAASK,UAAS,gBAClClB,KAAKe,SAAW,OAASG,UACxCC,MAAM,SACNC,QAASpB,KAAKI,eAAeiB,KAAKrB,MAClCsB,KAAK,mBACLC,IAAMC,GAAQxB,KAAKC,OAASuB,EAC5BC,KAAK,MACLC,SAAU1B,KAAKe,SAAWf,KAAK2B,WAAa,MAE5CV,EAAA,QAAME,MAAM,iBAAiBG,KAAK,uBAClCL,EAAA,QAAME,MAAM,kBAAkBG,KAAK,WACjCL,EAAA,cAEFA,EAAA,QAAME,MAAM,iBAAiBG,KAAK,wB"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-6d64a66c.entry.js b/1704966176737/dist/build/p-6d64a66c.entry.js deleted file mode 100644 index c7c06c404d..0000000000 --- a/1704966176737/dist/build/p-6d64a66c.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as o,h as r,H as s}from"./p-21a69c18.js";const i=".docs-icon-group{display:block;margin-bottom:var(--ld-sp-32)}.docs-icon-group__headline{margin-bottom:var(--ld-sp-16)}.docs-icon-group__icons{border-radius:var(--ld-br-l);display:grid;grid-template-columns:repeat(2,1fr);text-align:center}@media (width >= 70rem){.docs-icon-group__icons{grid-template-columns:repeat(4,1fr)}}@media (width >= 32rem) and (width <= 52rem),(width >= 60rem) and (width <= 70rem){.docs-icon-group__icons{grid-template-columns:repeat(3,1fr)}}";const c=class{constructor(r){o(this,r);this.name=undefined}render(){return r(s,{class:"docs-icon-group"},r("ld-typo",{class:"docs-icon-group__headline",variant:"h4",tag:"h3"},this.name),r("div",{class:"docs-icon-group__icons"},r("slot",null)))}};c.style=i;export{c as docs_icon_group}; -//# sourceMappingURL=p-6d64a66c.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-6d64a66c.entry.js.map b/1704966176737/dist/build/p-6d64a66c.entry.js.map deleted file mode 100644 index c23a176800..0000000000 --- a/1704966176737/dist/build/p-6d64a66c.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsIconGroupCss","DocsIconGroup","render","h","Host","class","variant","tag","this","name"],"sources":["../src/docs/components/docs-icon-group/docs-icon-group.css?tag=docs-icon-group","../src/docs/components/docs-icon-group/docs-icon-group.tsx"],"sourcesContent":[".docs-icon-group {\n margin-bottom: var(--ld-sp-32);\n display: block;\n\n &__headline {\n margin-bottom: var(--ld-sp-16);\n }\n}\n\n.docs-icon-group__icons {\n border-radius: var(--ld-br-l);\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n text-align: center;\n\n @media (width >= 70rem) {\n grid-template-columns: repeat(4, 1fr);\n }\n\n @media (width >= 32rem) and (width <= 52rem),\n (width >= 60rem) and (width <= 70rem) {\n grid-template-columns: repeat(3, 1fr);\n }\n}\n","import { Component, Prop, h, Host } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-icon-group',\n styleUrl: 'docs-icon-group.css',\n shadow: false,\n})\nexport class DocsIconGroup {\n /** Group name */\n @Prop() name: string\n\n render() {\n return (\n \n \n {this.name}\n \n
    \n \n
    \n
    \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,sd,MCQZC,EAAa,M,6CAIxB,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,mBACVF,EAAA,WAASE,MAAM,4BAA4BC,QAAQ,KAAKC,IAAI,MACzDC,KAAKC,MAERN,EAAA,OAAKE,MAAM,0BACTF,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-6f1c0dce.entry.js.map b/1704966176737/dist/build/p-6f1c0dce.entry.js.map deleted file mode 100644 index 6d19a4cf3f..0000000000 --- a/1704966176737/dist/build/p-6f1c0dce.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsContributorsCss","DocsContributors","render","contributors","JSON","parse","this","length","h","class","variant","tag","map","contributor","href","target","rel","src","loading","width","height","alt","importance"],"sources":["../src/docs/components/docs-contributors/docs-contributors.css?tag=docs-contributors","../src/docs/components/docs-contributors/docs-contributors.tsx"],"sourcesContent":["@define-mixin docs-contributors-ui-light {\n .docs-contributors__img {\n border-color: var(--ld-col-wht);\n }\n}\n@define-mixin docs-contributors-ui-dark {\n .docs-contributors__img {\n border-color: var(--ld-col-neutral-800);\n }\n}\n\n@mixin docs-contributors-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-contributors-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-contributors-ui-light;\n}\n.docs-ui-dark {\n @mixin docs-contributors-ui-dark;\n}\n\n.docs-contributors {\n margin: var(--ld-sp-40) 0;\n display: block;\n\n hr {\n margin-bottom: var(--ld-sp-40);\n height: var(--ld-sp-1);\n border: 0;\n }\n\n ul {\n display: flex;\n flex-flow: row-reverse wrap;\n justify-content: flex-end;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n li {\n flex-shrink: 0;\n\n &:not(:last-child) {\n margin-left: calc(-1 * var(--ld-sp-8));\n }\n\n &:hover {\n z-index: 2;\n }\n }\n\n a {\n transition: transform 0.05s ease;\n display: inline-flex;\n text-align: center;\n text-decoration: none;\n color: var(--color-dodger-blue);\n border: 0;\n\n &:hover {\n border: 0;\n transform: scale(1.125);\n z-index: 1;\n }\n }\n}\n\n.docs-contributors__heading {\n margin-bottom: var(--ld-sp-12);\n}\n\n.docs-contributors__img {\n border-radius: var(--ld-br-full);\n border: var(--ld-sp-2) solid;\n}\n","import { Component, Prop, h } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-contributors',\n styleUrl: 'docs-contributors.css',\n shadow: false,\n})\nexport class DocsContributors {\n /** stringified array of GitHub user ids */\n @Prop() contributors: string\n\n render() {\n const contributors = JSON.parse(this.contributors)\n if (!contributors || contributors.length === 0) {\n return null\n }\n\n return (\n
    \n
    \n \n Contributors\n \n
      \n {contributors.map((contributor) => (\n
    • \n \n \n \n
    • \n ))}\n
    \n
    \n )\n }\n}\n"],"mappings":"sCAAA,MAAMA,EAAsB,qlC,MCQfC,EAAgB,M,qDAI3B,MAAAC,GACE,MAAMC,EAAeC,KAAKC,MAAMC,KAAKH,cACrC,IAAKA,GAAgBA,EAAaI,SAAW,EAAG,CAC9C,OAAO,I,CAGT,OACEC,EAAA,WAASC,MAAM,qBACbD,EAAA,WACAA,EAAA,WAASC,MAAM,6BAA6BC,QAAQ,KAAKC,IAAI,MAAI,gBAGjEH,EAAA,UACGL,EAAaS,KAAKC,GACjBL,EAAA,UACEA,EAAA,KACEM,KAAM,sBAAsBD,IAC5BE,OAAO,SACPC,IAAI,uBAEJR,EAAA,OACEC,MAAM,yBACNQ,IAAK,sBAAsBJ,gBAC3BK,QAAQ,OACRC,MAAM,KACNC,OAAO,KACPC,IAAK,eAAeR,IACpBS,WAAW,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-6fdf0745.entry.js b/1704966176737/dist/build/p-6fdf0745.entry.js deleted file mode 100644 index 1ae2c0e866..0000000000 --- a/1704966176737/dist/build/p-6fdf0745.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as s,h as t,H as r,g as n}from"./p-21a69c18.js";const e="";const o=class{constructor(t){s(this,t);this.label=undefined;this.disabled=undefined}render(){return t(r,null,t("slot",null))}get el(){return n(this)}};o.style=e;export{o as ld_optgroup}; -//# sourceMappingURL=p-6fdf0745.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-6fdf0745.entry.js.map b/1704966176737/dist/build/p-6fdf0745.entry.js.map deleted file mode 100644 index b25962800a..0000000000 --- a/1704966176737/dist/build/p-6fdf0745.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldOptgroupShadowCss","LdOptgroup","render","h","Host"],"sources":["../src/liquid/components/ld-select/ld-optgroup/ld-optgroup.shadow.css?tag=ld-optgroup&encapsulation=shadow","../src/liquid/components/ld-select/ld-optgroup/ld-optgroup.tsx"],"sourcesContent":[null,"import { Component, h, Host, Prop, Element } from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-optgroup',\n styleUrl: 'ld-optgroup.shadow.css',\n shadow: true,\n})\nexport class LdOptgroup {\n @Element() el: HTMLElement\n\n /** The name of the group of options. */\n @Prop() label!: string\n\n /** Disables the whole option group. */\n @Prop() disabled?: boolean\n\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAsB,G,MCWfC,EAAU,M,sEASrB,MAAAC,GACE,OACEC,EAACC,EAAI,KACHD,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-7161caa6.entry.js b/1704966176737/dist/build/p-7161caa6.entry.js deleted file mode 100644 index 2c7b2c3fd9..0000000000 --- a/1704966176737/dist/build/p-7161caa6.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as s,h as r,H as o}from"./p-21a69c18.js";const l=".ld-sr-only,:host{height:var(--ld-sp-1);overflow:hidden;padding:0;position:absolute;width:var(--ld-sp-1);clip:rect(0,0,0,0);border-width:0}";const t=class{constructor(r){s(this,r)}render(){return r(o,{class:"ld-sr-only"},r("slot",null))}};t.style=l;export{t as ld_sr_only}; -//# sourceMappingURL=p-7161caa6.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-7161caa6.entry.js.map b/1704966176737/dist/build/p-7161caa6.entry.js.map deleted file mode 100644 index acda17977d..0000000000 --- a/1704966176737/dist/build/p-7161caa6.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSrOnlyCss","LdSrOnly","render","h","Host","class"],"sources":["../src/liquid/components/ld-sr-only/ld-sr-only.css?tag=ld-sr-only&encapsulation=shadow","../src/liquid/components/ld-sr-only/ld-sr-only.tsx"],"sourcesContent":[":host,\n.ld-sr-only {\n position: absolute;\n width: var(--ld-sp-1);\n height: var(--ld-sp-1);\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border-width: 0;\n}\n","import { Component, Host, h } from '@stencil/core'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-sr-only',\n styleUrl: 'ld-sr-only.css',\n shadow: true,\n})\nexport class LdSrOnly {\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAc,8I,MCWPC,EAAQ,M,yBACnB,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,cACVF,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-71d931bf.entry.js b/1704966176737/dist/build/p-71d931bf.entry.js deleted file mode 100644 index 20d7bad2e1..0000000000 --- a/1704966176737/dist/build/p-71d931bf.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,c as s,h as e,g as i}from"./p-21a69c18.js";import{c as r}from"./p-6e5841ef.js";import{g as n}from"./p-1133c92e.js";import{i as d}from"./p-b05f0e4e.js";const a=":host{display:contents}th{background-color:inherit;font:inherit;max-width:inherit;min-width:inherit;padding-block:var(--ld-table-cell-padding-y);padding-inline:var(--ld-table-cell-padding-x)}.ld-table-header--sortable{cursor:pointer}.ld-table-header__sort-buttons{display:inline-grid;margin:-1.2rem calc(-1 * var(--ld-sp-8)) -1rem var(--ld-sp-6);vertical-align:middle}.ld-table-header__sort-buttons ld-button::part(button){min-height:0}";const o=class{constructor(e){t(this,e);this.ldTableSort=s(this,"ldTableSort",7);this.handleSort=t=>{this.sortOrder=t;const s=Array.from(this.el.parentNode.children).indexOf(this.el);this.ldTableSort.emit({columnIndex:s,sortOrder:t})};this.onSortClick=(t,s)=>{t.preventDefault();t.stopPropagation();if(d(r("ld-button",t.target).ariaDisabled)){return}this.handleSort(s)};this.onThClick=()=>{if(!this.sortable)return;if(this.sortOrder==="desc"){this.handleSort("asc")}else{this.handleSort("desc")}};this.abbr=undefined;this.colspan=undefined;this.headers=undefined;this.rowspan=undefined;this.scope=undefined;this.sortable=false;this.sortAscLabel="Sort ascending";this.sortDescLabel="Sort descending";this.sortOrder=undefined}async resetSort(){this.sortOrder=undefined}componentWillLoad(){if(this.sortOrder){this.handleSort(this.sortOrder)}}renderChevron(t){return e("ld-icon",{size:"sm",part:`icon chevron-${t?"asc":"desc"}`},e("svg",{fill:"none",height:"7",part:`svg svg-${t?"asc":"desc"}`,style:{transform:t?undefined:"rotate(180deg)"},viewBox:"0 0 15 7",width:"15"},e("path",{d:"M13.3 5.5 7.3 1l-6 4.5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})))}render(){return e("th",{class:n(["ld-table-header",this.sortable&&"ld-table-header--sortable"]),abbr:this.abbr,colSpan:this.colspan,headers:this.abbr,rowspan:this.rowspan,scope:this.scope,part:"cell",onClick:this.onThClick},e("slot",null),this.sortable&&e("div",{class:"ld-table-header__sort-buttons",part:"sort-buttons"},e("ld-button",{"aria-label":this.sortAscLabel,"aria-disabled":this.sortOrder==="asc"?"true":undefined,mode:"ghost",onClick:t=>this.onSortClick(t,"asc"),part:"sort-button-asc",size:"sm"},this.renderChevron(true)),e("ld-button",{"aria-label":this.sortDescLabel,"aria-disabled":this.sortOrder==="desc"?"true":undefined,mode:"ghost",onClick:t=>this.onSortClick(t,"desc"),part:"sort-button-desc",size:"sm"},this.renderChevron())))}get el(){return i(this)}};o.style=a;export{o as ld_table_header}; -//# sourceMappingURL=p-71d931bf.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-71d931bf.entry.js.map b/1704966176737/dist/build/p-71d931bf.entry.js.map deleted file mode 100644 index c8fa16cedf..0000000000 --- a/1704966176737/dist/build/p-71d931bf.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableHeaderShadowCss","LdTableHeader","this","handleSort","sortOrder","columnIndex","Array","from","el","parentNode","children","indexOf","ldTableSort","emit","onSortClick","ev","preventDefault","stopPropagation","isAriaDisabled","closest","target","ariaDisabled","onThClick","sortable","resetSort","undefined","componentWillLoad","renderChevron","asc","h","size","part","fill","height","style","transform","viewBox","width","d","stroke","render","class","getClassNames","abbr","colSpan","colspan","headers","rowspan","scope","onClick","sortAscLabel","mode","sortDescLabel"],"sources":["../src/liquid/components/ld-table/ld-table-header/ld-table-header.shadow.css?tag=ld-table-header&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-header/ld-table-header.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n\nth {\n background-color: inherit;\n font: inherit;\n max-width: inherit;\n min-width: inherit;\n padding-block: var(--ld-table-cell-padding-y);\n padding-inline: var(--ld-table-cell-padding-x);\n}\n\n.ld-table-header--sortable {\n cursor: pointer;\n}\n\n.ld-table-header__sort-buttons {\n display: inline-grid;\n margin: -1.2rem calc(-1 * var(--ld-sp-8)) -1rem var(--ld-sp-6);\n vertical-align: middle;\n\n ld-button::part(button) {\n min-height: 0;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n} from '@stencil/core'\nimport { closest } from '../../../utils/closest'\nimport { getClassNames } from '../../../utils/getClassNames'\nimport { isAriaDisabled } from '../../../utils/ariaDisabled'\n\n/**\n * @part cell - the actual th element\n * @part sort-button-asc - ascending sort button\n * @part sort-button-desc - descending sort button\n * @part sort-buttons - container wrapping the sort buttons\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-header',\n styleUrl: 'ld-table-header.shadow.css',\n shadow: true,\n})\nexport class LdTableHeader {\n @Element() el: HTMLLdTableHeaderElement\n\n /**\n * This attribute contains a short abbreviated description\n * of the cell's content. Some user-agents, such as speech readers,\n * may present this description before the content itself.\n */\n @Prop() abbr?: HTMLTableCellElement['abbr']\n\n /** Indicates for how many columns the cell extends. */\n @Prop() colspan?: HTMLTableCellElement['colSpan']\n\n /**\n * This attribute contains a list of space-separated strings,\n * each corresponding to the id attribute of the elements\n * that apply to this element.\n */\n @Prop() headers?: HTMLTableCellElement['headers']\n\n /** Indicates for how many rows the cell extends. */\n @Prop() rowspan?: HTMLTableCellElement['rowSpan']\n\n /** Defines the cells that the header element relates to. */\n @Prop() scope?: HTMLTableCellElement['scope']\n\n /** Defines whether the column is sortable. */\n @Prop() sortable? = false\n\n /** The aria label used for sort ascending buttons. */\n @Prop() sortAscLabel? = 'Sort ascending'\n\n /** The aria label used for sort descending buttons. */\n @Prop() sortDescLabel? = 'Sort descending'\n\n /** Defines whether the column is sorted and in which order. */\n @Prop({ mutable: true }) sortOrder?: 'asc' | 'desc'\n\n /** Emitted with culumn index and sort order. */\n @Event() ldTableSort: EventEmitter<{\n columnIndex: number\n sortOrder: 'asc' | 'desc'\n }>\n\n /**\n * @internal\n * Resets sort buttons.\n */\n @Method()\n async resetSort() {\n this.sortOrder = undefined\n }\n\n handleSort = (sortOrder: 'asc' | 'desc') => {\n this.sortOrder = sortOrder\n const columnIndex = Array.from(this.el.parentNode.children).indexOf(this.el)\n this.ldTableSort.emit({\n columnIndex,\n sortOrder,\n })\n }\n\n onSortClick = (ev: Event, sortOrder: 'asc' | 'desc') => {\n ev.preventDefault()\n ev.stopPropagation()\n if (\n isAriaDisabled(\n closest('ld-button', ev.target as HTMLElement).ariaDisabled\n )\n ) {\n return\n }\n this.handleSort(sortOrder)\n }\n\n onThClick = () => {\n if (!this.sortable) return\n if (this.sortOrder === 'desc') {\n this.handleSort('asc')\n } else {\n this.handleSort('desc')\n }\n }\n\n componentWillLoad() {\n if (this.sortOrder) {\n this.handleSort(this.sortOrder)\n }\n }\n\n renderChevron(asc?: boolean) {\n return (\n \n \n \n \n \n )\n }\n\n render() {\n return (\n \n \n {this.sortable && (\n
    \n this.onSortClick(ev, 'asc')}\n part=\"sort-button-asc\"\n size=\"sm\"\n >\n {this.renderChevron(true)}\n \n this.onSortClick(ev, 'desc')}\n part=\"sort-button-desc\"\n size=\"sm\"\n >\n {this.renderChevron()}\n \n
    \n )}\n \n )\n }\n}\n"],"mappings":"qKAAA,MAAMA,EAAyB,ub,MC0BlBC,EAAa,M,kEAqDxBC,KAAAC,WAAcC,IACZF,KAAKE,UAAYA,EACjB,MAAMC,EAAcC,MAAMC,KAAKL,KAAKM,GAAGC,WAAWC,UAAUC,QAAQT,KAAKM,IACzEN,KAAKU,YAAYC,KAAK,CACpBR,cACAD,aACA,EAGJF,KAAAY,YAAc,CAACC,EAAWX,KACxBW,EAAGC,iBACHD,EAAGE,kBACH,GACEC,EACEC,EAAQ,YAAaJ,EAAGK,QAAuBC,cAEjD,CACA,M,CAEFnB,KAAKC,WAAWC,EAAU,EAG5BF,KAAAoB,UAAY,KACV,IAAKpB,KAAKqB,SAAU,OACpB,GAAIrB,KAAKE,YAAc,OAAQ,CAC7BF,KAAKC,WAAW,M,KACX,CACLD,KAAKC,WAAW,O,+HArDA,M,kBAGI,iB,mBAGC,kB,yBAgBzB,eAAMqB,GACJtB,KAAKE,UAAYqB,S,CAkCnB,iBAAAC,GACE,GAAIxB,KAAKE,UAAW,CAClBF,KAAKC,WAAWD,KAAKE,U,EAIzB,aAAAuB,CAAcC,GACZ,OACEC,EAAA,WAASC,KAAK,KAAKC,KAAM,gBAAgBH,EAAM,MAAQ,UACrDC,EAAA,OACEG,KAAK,OACLC,OAAO,IACPF,KAAM,WAAWH,EAAM,MAAQ,SAC/BM,MAAO,CACLC,UAAWP,EAAMH,UAAY,kBAE/BW,QAAQ,WACRC,MAAM,MAENR,EAAA,QACES,EAAE,yBACFC,OAAO,eAAc,eACR,IAAG,iBACD,QAAO,kBACN,W,CAO1B,MAAAC,GACE,OACEX,EAAA,MACEY,MAAOC,EAAc,CACnB,kBACAxC,KAAKqB,UAAY,8BAEnBoB,KAAMzC,KAAKyC,KACXC,QAAS1C,KAAK2C,QACdC,QAAS5C,KAAKyC,KACdI,QAAS7C,KAAK6C,QACdC,MAAO9C,KAAK8C,MACZjB,KAAK,OACLkB,QAAS/C,KAAKoB,WAEdO,EAAA,aACC3B,KAAKqB,UACJM,EAAA,OAAKY,MAAM,gCAAgCV,KAAK,gBAC9CF,EAAA,0BACc3B,KAAKgD,aAAY,gBACdhD,KAAKE,YAAc,MAAQ,OAASqB,UACnD0B,KAAK,QACLF,QAAUlC,GAAOb,KAAKY,YAAYC,EAAI,OACtCgB,KAAK,kBACLD,KAAK,MAEJ5B,KAAKyB,cAAc,OAEtBE,EAAA,0BACc3B,KAAKkD,cAAa,gBACflD,KAAKE,YAAc,OAAS,OAASqB,UACpD0B,KAAK,QACLF,QAAUlC,GAAOb,KAAKY,YAAYC,EAAI,QACtCgB,KAAK,mBACLD,KAAK,MAEJ5B,KAAKyB,kB"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-73303dba.entry.js b/1704966176737/dist/build/p-73303dba.entry.js deleted file mode 100644 index 8fea66ec85..0000000000 --- a/1704966176737/dist/build/p-73303dba.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,h as s,H as a,g as i}from"./p-21a69c18.js";import{g as e}from"./p-1133c92e.js";import{c as n}from"./p-6e5841ef.js";import{t as r}from"./p-98010be8.js";const l=':host{--ld-scroll-shadow-height:1.5rem;--ld-scroll-shadow-intensity:0.1;display:flex;flex-direction:column;height:100%;overflow:hidden auto;overscroll-behavior:none;padding-right:var(--ld-sp-32);scrollbar-width:none;width:100%}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{display:none}:host ::slotted(ld-sidenav-heading:first-child),:host ::slotted(ld-sidenav-navitem:first-child){margin-top:var(--ld-sidenav-padding-y)}:host ::slotted(ld-sidenav-navitem){margin-bottom:var(--ld-sidenav-padding-y);will-change:opacity}:host(.ld-sidenav-scroller-internal--relative){position:relative}:host(.ld-sidenav-scroller-internal--relative) .ld-sidenav-scroller-internal__hr-bottom,:host(.ld-sidenav-scroller-internal--relative) .ld-sidenav-scroller-internal__hr-top{position:sticky}:host(.ld-sidenav-scroller-internal--collapsed) .ld-sidenav-scroller-internal__shadow-bottom,:host(.ld-sidenav-scroller-internal--collapsed) .ld-sidenav-scroller-internal__shadow-top{transform:translateX(calc(var(--ld-sidenav-translate-x-direction) * (50% - (.5 * var(--ld-sidenav-width-collapsed)))))}.ld-sidenav-scroller-internal__shadow-bottom,.ld-sidenav-scroller-internal__shadow-top{height:0;left:0;opacity:0;pointer-events:none;position:sticky;transition:opacity var(--ld-sidenav-transition-duration) linear,transform var(--ld-sidenav-transition-duration) ease;width:100%;z-index:1}.ld-sidenav-scroller-internal__shadow-bottom:after,.ld-sidenav-scroller-internal__shadow-top:after{content:"";display:block;height:var(--ld-scroll-shadow-height);width:100%}.ld-sidenav-scroller-internal__shadow-top{top:0}.ld-sidenav-scroller-internal__shadow-top:after{background:radial-gradient(farthest-side at 50% 0,rgb(0,0,0,var(--ld-scroll-shadow-intensity)),#0000) 0 100% no-repeat}.ld-sidenav-scroller-internal__shadow-bottom{top:100%}.ld-sidenav-scroller-internal__shadow-bottom:after{background:radial-gradient(farthest-side at 50% 100%,rgb(0,0,0,var(--ld-scroll-shadow-intensity)),#0000) 0 100% no-repeat;transform:translateY(-100%)}.ld-sidenav-scroller-internal__hr-bottom,.ld-sidenav-scroller-internal__hr-top{margin-bottom:0;margin-top:0;position:absolute;width:calc(100% - 2 * var(--ld-sidenav-padding-x))}.ld-sidenav-scroller-internal__hr-top{top:0}.ld-sidenav-scroller-internal__hr-bottom{top:calc(100% - var(--ld-sp-1) * 1.5)}';const o=class{constructor(s){t(this,s);this.hasShadowBottom=false;this.hasShadowTop=false;this.needsHRBottom=undefined;this.needsHRTop=undefined;this.relative=undefined;this.sidenavClosable=undefined;this.sidenavCollapsed=undefined}handleSidenavCollapsedChange(t){if(t.target!==this.sidenav)return;this.sidenavCollapsed=t.detail.collapsed}handleSidenavBreakpointChange(t){if(t.target!==this.sidenav)return;this.sidenavClosable=t.detail}async updateShadows(){const t=this.el;if(!t)return;this.hasShadowBottom=t.scrollTop10}async scrollToTop(t=false){const s=window.matchMedia("(prefers-reduced-motion: reduce)").matches;try{this.el.scrollTo({top:0,behavior:t&&!s?"smooth":"auto"})}catch(t){}}componentWillLoad(){this.sidenav=n("ld-sidenav",this.el);if(!this.sidenav)return;this.needsHRTop=!!this.sidenav.querySelector('[slot="top"]');this.needsHRBottom=!!this.sidenav.querySelector('[slot="bottom"]');this.relative=!this.sidenav.querySelector("ld-sidenav-slider")}componentDidLoad(){setTimeout((()=>{this.updateShadows()}))}render(){const t=e(["ld-sidenav-scroller-internal",this.relative&&"ld-sidenav-scroller-internal--relative",this.sidenavCollapsed&&!this.sidenavClosable&&"ld-sidenav-scroller-internal--collapsed"]);return s(a,{class:t,onScroll:this.updateShadows.bind(this),onLdSidenavAccordionTransitionEnd:this.updateShadows.bind(this),"data-needs-bottom":this.needsHRBottom,"data-needs-top":this.needsHRTop},s("div",{class:"ld-sidenav-scroller-internal__shadow-top",style:{opacity:this.hasShadowTop?"1":"0"},part:"shadow-top"}),s("div",{class:"ld-sidenav-scroller-internal__shadow-bottom",style:{opacity:this.hasShadowBottom?"1":"0"},part:"shadow-bottom"}),this.needsHRTop&&s("ld-sidenav-separator",{class:"ld-sidenav-scroller-internal__hr-top",style:{opacity:this.hasShadowTop?"0":"1"}}),this.needsHRBottom&&s("ld-sidenav-separator",{class:"ld-sidenav-scroller-internal__hr-bottom",style:{opacity:this.hasShadowBottom?"0":"1"}}),s("slot",null))}get el(){return i(this)}};o.style=l;const d=":host{display:block;margin:0 var(--ld-sidenav-padding-x) var(--ld-sidenav-padding-y);transform-origin:left;transition:transform var(--ld-sidenav-transition-duration-collapse-expand) ease}:host hr{background-color:var(--ld-sidenav-separator-line-bg-col);border:0;border-radius:var(--ld-br-full);height:var(--ld-sp-2);margin:0;transition:transform var(--ld-sidenav-transition-duration-collapse-expand) ease}:host(.ld-sidenav-separator--collapsed){transform:translateX(var(--ld-sidenav-translate-x-delta)) scaleX(var(--ld-sidenav-separator-scale-x-collapsed))}:host(.ld-sidenav-separator--collapsed) hr{transform:translateY(var(\n --ld-sidenav-navitem-move-up-closable,var(--ld-sidenav-navitem-move-up,0)\n ));transition:var(--ld-sidenav-stack-to-top-transition)}";const h=class{constructor(s){t(this,s);this.computeScaleXCollapsed=()=>{const t=parseFloat(window.getComputedStyle(this.sidenav).getPropertyValue("--ld-sidenav-width"));const s=parseFloat(window.getComputedStyle(this.sidenav).getPropertyValue("--ld-sidenav-padding-x"));const a=parseFloat(window.getComputedStyle(this.sidenav).getPropertyValue("--ld-sidenav-navitem-icon-size"));return a/(t-2*s)};this.updateStackToTop=()=>{if(this.sidenavClosable){r(this.el,false)}else{r(this.el,this.sidenav.narrow&&this.sidenavCollapsed)}};this.sidenavCollapsed=undefined;this.sidenavClosable=undefined;this.scaleXCollapsed=1}handleSidenavCollapsedChange(t){if(t.target!==this.sidenav)return;this.sidenavCollapsed=t.detail.collapsed;if(this.el.parentElement&&!["LD-SIDENAV-SLIDER","LD-SIDENAV-SUBNAV"].includes(this.el.parentElement.tagName)){return}if(this.sidenav.narrow){r(this.el,this.sidenavCollapsed)}}handleSidenavBreakpointChange(t){if(t.target!==this.sidenav)return;this.sidenavClosable=t.detail;this.updateStackToTop()}componentWillLoad(){this.sidenav=n("ld-sidenav",this.el);if(this.sidenav){this.scaleXCollapsed=this.computeScaleXCollapsed()||1;this.sidenavCollapsed=this.sidenav.collapsed}}componentDidLoad(){setTimeout((()=>{this.updateStackToTop()}))}render(){const t=e(["ld-sidenav-separator",this.sidenavCollapsed&&!this.sidenavClosable&&"ld-sidenav-separator--collapsed"]);return s(a,{style:{"--ld-sidenav-separator-scale-x-collapsed":this.scaleXCollapsed.toString()},class:t},s("hr",{part:"hr"}))}get el(){return i(this)}};h.style=d;export{o as ld_sidenav_scroller_internal,h as ld_sidenav_separator}; -//# sourceMappingURL=p-73303dba.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-73303dba.entry.js.map b/1704966176737/dist/build/p-73303dba.entry.js.map deleted file mode 100644 index 81d7d83ab2..0000000000 --- a/1704966176737/dist/build/p-73303dba.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSidenavScrollerInternalShadowCss","LdSidenavScrollerInternal","handleSidenavCollapsedChange","ev","target","this","sidenav","sidenavCollapsed","detail","collapsed","handleSidenavBreakpointChange","sidenavClosable","updateShadows","scrollContainer","el","hasShadowBottom","scrollTop","scrollHeight","clientHeight","hasShadowTop","scrollToTop","smoothly","prefersReducedMotion","window","matchMedia","matches","scrollTo","top","behavior","err","componentWillLoad","closest","needsHRTop","querySelector","needsHRBottom","relative","componentDidLoad","setTimeout","render","cl","getClassNames","h","Host","class","onScroll","bind","onLdSidenavAccordionTransitionEnd","style","opacity","part","ldSidenavSeparatorShadowCss","LdSidenavSeparator","computeScaleXCollapsed","sidenavWidth","parseFloat","getComputedStyle","getPropertyValue","sidenavPaddingX","sidenavNavitemIconSize","updateStackToTop","toggleStackToTop","narrow","parentElement","includes","tagName","scaleXCollapsed","toString"],"sources":["../src/liquid/components/ld-sidenav/ld-sidenav-scroller-internal/ld-sidenav-scroller-internal.shadow.css?tag=ld-sidenav-scroller-internal&encapsulation=shadow","../src/liquid/components/ld-sidenav/ld-sidenav-scroller-internal/ld-sidenav-scroller-internal.tsx","../src/liquid/components/ld-sidenav/ld-sidenav-separator/ld-sidenav-separator.shadow.css?tag=ld-sidenav-separator&encapsulation=shadow","../src/liquid/components/ld-sidenav/ld-sidenav-separator/ld-sidenav-separator.tsx"],"sourcesContent":[":host {\n --ld-scroll-shadow-height: 1.5rem;\n --ld-scroll-shadow-intensity: 0.1;\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: hidden auto;\n overscroll-behavior: none;\n padding-right: var(--ld-sp-32);\n scrollbar-width: none;\n width: 100%;\n\n &::-webkit-scrollbar,\n &::-webkit-scrollbar-thumb {\n display: none;\n }\n\n ::slotted(ld-sidenav-navitem:first-child),\n ::slotted(ld-sidenav-heading:first-child) {\n margin-top: var(--ld-sidenav-padding-y);\n }\n\n ::slotted(ld-sidenav-navitem) {\n margin-bottom: var(--ld-sidenav-padding-y);\n will-change: opacity; /* prevents flickering on transition in Safari */\n }\n\n &(.ld-sidenav-scroller-internal--relative) {\n position: relative;\n\n .ld-sidenav-scroller-internal__hr-top,\n .ld-sidenav-scroller-internal__hr-bottom {\n position: sticky;\n }\n }\n\n &(.ld-sidenav-scroller-internal--collapsed) {\n .ld-sidenav-scroller-internal__shadow-top,\n .ld-sidenav-scroller-internal__shadow-bottom {\n transform: translateX(\n calc(\n var(--ld-sidenav-translate-x-direction) *\n (50% - (0.5 * var(--ld-sidenav-width-collapsed)))\n )\n );\n }\n }\n}\n\n.ld-sidenav-scroller-internal__shadow-top,\n.ld-sidenav-scroller-internal__shadow-bottom {\n position: sticky;\n pointer-events: none;\n height: 0;\n width: 100%;\n z-index: 1;\n opacity: 0;\n left: 0;\n transition: opacity var(--ld-sidenav-transition-duration) linear,\n transform var(--ld-sidenav-transition-duration) ease;\n\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: var(--ld-scroll-shadow-height);\n }\n}\n\n.ld-sidenav-scroller-internal__shadow-top {\n top: 0;\n\n &::after {\n background: radial-gradient(\n farthest-side at 50% 0,\n rgb(0, 0, 0, var(--ld-scroll-shadow-intensity)),\n rgb(0, 0, 0, 0)\n )\n 0 100% no-repeat;\n }\n}\n\n.ld-sidenav-scroller-internal__shadow-bottom {\n top: 100%;\n\n &::after {\n background: radial-gradient(\n farthest-side at 50% 100%,\n rgb(0, 0, 0, var(--ld-scroll-shadow-intensity)),\n rgb(0, 0, 0, 0)\n )\n 0 100% no-repeat;\n transform: translateY(-100%);\n }\n}\n\n.ld-sidenav-scroller-internal__hr-top,\n.ld-sidenav-scroller-internal__hr-bottom {\n margin-top: 0;\n margin-bottom: 0;\n position: absolute;\n width: calc(100% - 2 * var(--ld-sidenav-padding-x));\n}\n\n.ld-sidenav-scroller-internal__hr-top {\n top: 0;\n}\n\n.ld-sidenav-scroller-internal__hr-bottom {\n top: calc(100% - var(--ld-sp-1) * 1.5);\n}\n","import {\n Component,\n Element,\n h,\n Host,\n Listen,\n Method,\n State,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\nimport { closest } from '../../../utils/closest'\n\n/** @internal **/\n@Component({\n tag: 'ld-sidenav-scroller-internal',\n styleUrl: 'ld-sidenav-scroller-internal.shadow.css',\n shadow: true,\n})\nexport class LdSidenavScrollerInternal {\n @Element() el: HTMLElement\n private sidenav: HTMLLdSidenavElement\n\n @State() hasShadowBottom = false\n @State() hasShadowTop = false\n @State() needsHRBottom: boolean\n @State() needsHRTop: boolean\n @State() relative: boolean\n @State() sidenavClosable: boolean\n @State() sidenavCollapsed: boolean\n\n @Listen('ldSidenavCollapsedChange', { target: 'window', passive: true })\n handleSidenavCollapsedChange(\n ev: CustomEvent<{\n collapsed: boolean\n fully: boolean\n }>\n ) {\n if (ev.target !== this.sidenav) return\n this.sidenavCollapsed = ev.detail.collapsed\n }\n\n @Listen('ldSidenavBreakpointChange', { target: 'window', passive: true })\n handleSidenavBreakpointChange(ev: CustomEvent) {\n if (ev.target !== this.sidenav) return\n this.sidenavClosable = ev.detail\n }\n\n /**\n * Makes shadows either appear or disappear on top and bottom of the\n * scroll container, depending on the current scroll position.\n */\n @Method()\n async updateShadows() {\n const scrollContainer = this.el\n if (!scrollContainer) return\n this.hasShadowBottom =\n scrollContainer.scrollTop <\n scrollContainer.scrollHeight - scrollContainer.clientHeight - 10\n this.hasShadowTop = scrollContainer.scrollTop > 10\n }\n\n /** Scrolls the scroll container to the top instantly. */\n @Method()\n async scrollToTop(smoothly = false) {\n const prefersReducedMotion = window.matchMedia(\n '(prefers-reduced-motion: reduce)'\n ).matches\n try {\n this.el.scrollTo({\n top: 0,\n behavior: smoothly && !prefersReducedMotion ? 'smooth' : 'auto',\n })\n } catch (err) {\n // js-dom seems to not know scrollTo - ignoring for now\n }\n }\n\n componentWillLoad() {\n this.sidenav = closest('ld-sidenav', this.el)\n if (!this.sidenav) return\n\n this.needsHRTop = !!this.sidenav.querySelector('[slot=\"top\"]')\n this.needsHRBottom = !!this.sidenav.querySelector('[slot=\"bottom\"]')\n this.relative = !this.sidenav.querySelector('ld-sidenav-slider')\n }\n\n componentDidLoad() {\n setTimeout(() => {\n this.updateShadows()\n })\n }\n\n render() {\n const cl = getClassNames([\n 'ld-sidenav-scroller-internal',\n this.relative && 'ld-sidenav-scroller-internal--relative',\n this.sidenavCollapsed &&\n !this.sidenavClosable &&\n 'ld-sidenav-scroller-internal--collapsed',\n ])\n\n return (\n \n \n \n {this.needsHRTop && (\n \n )}\n {this.needsHRBottom && (\n \n )}\n \n \n )\n }\n}\n",":host {\n display: block;\n margin: 0 var(--ld-sidenav-padding-x) var(--ld-sidenav-padding-y);\n transform-origin: left;\n transition: transform var(--ld-sidenav-transition-duration-collapse-expand)\n ease;\n\n hr {\n border: 0;\n border-radius: var(--ld-br-full);\n height: var(--ld-sp-2);\n margin: 0;\n transition: transform var(--ld-sidenav-transition-duration-collapse-expand)\n ease;\n background-color: var(--ld-sidenav-separator-line-bg-col);\n }\n\n &(.ld-sidenav-separator--collapsed) {\n transform: translateX(var(--ld-sidenav-translate-x-delta))\n scaleX(var(--ld-sidenav-separator-scale-x-collapsed));\n\n hr {\n transform: translateY(\n var(\n --ld-sidenav-navitem-move-up-closable,\n var(--ld-sidenav-navitem-move-up, 0)\n )\n );\n transition: var(--ld-sidenav-stack-to-top-transition);\n }\n }\n}\n","import { Component, Element, h, Host, Listen, State } from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\nimport { closest } from '../../../utils/closest'\nimport { toggleStackToTop } from '../utils/toggleStackToTop'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-sidenav-separator',\n styleUrl: 'ld-sidenav-separator.shadow.css',\n shadow: true,\n})\nexport class LdSidenavSeparator {\n @Element() el: HTMLElement\n private sidenav: HTMLLdSidenavElement\n\n @State() sidenavCollapsed: boolean\n @State() sidenavClosable: boolean\n @State() scaleXCollapsed = 1\n\n @Listen('ldSidenavCollapsedChange', { target: 'window', passive: true })\n handleSidenavCollapsedChange(\n ev: CustomEvent<{\n collapsed: boolean\n fully: boolean\n }>\n ) {\n if (ev.target !== this.sidenav) return\n this.sidenavCollapsed = ev.detail.collapsed\n if (\n this.el.parentElement &&\n !['LD-SIDENAV-SLIDER', 'LD-SIDENAV-SUBNAV'].includes(\n this.el.parentElement.tagName\n )\n ) {\n return\n }\n if (this.sidenav.narrow) {\n toggleStackToTop(this.el, this.sidenavCollapsed)\n }\n }\n\n @Listen('ldSidenavBreakpointChange', { target: 'window', passive: true })\n handleSidenavBreakpointChange(ev: CustomEvent) {\n if (ev.target !== this.sidenav) return\n this.sidenavClosable = ev.detail\n this.updateStackToTop()\n }\n\n private computeScaleXCollapsed = () => {\n const sidenavWidth = parseFloat(\n window\n .getComputedStyle(this.sidenav)\n .getPropertyValue('--ld-sidenav-width')\n )\n const sidenavPaddingX = parseFloat(\n window\n .getComputedStyle(this.sidenav)\n .getPropertyValue('--ld-sidenav-padding-x')\n )\n const sidenavNavitemIconSize = parseFloat(\n window\n .getComputedStyle(this.sidenav)\n .getPropertyValue('--ld-sidenav-navitem-icon-size')\n )\n return sidenavNavitemIconSize / (sidenavWidth - 2 * sidenavPaddingX)\n }\n\n private updateStackToTop = () => {\n if (this.sidenavClosable) {\n toggleStackToTop(this.el, false)\n } else {\n toggleStackToTop(this.el, this.sidenav.narrow && this.sidenavCollapsed)\n }\n }\n\n componentWillLoad() {\n this.sidenav = closest('ld-sidenav', this.el)\n if (this.sidenav) {\n this.scaleXCollapsed = this.computeScaleXCollapsed() || 1\n this.sidenavCollapsed = this.sidenav.collapsed\n }\n }\n\n componentDidLoad() {\n // The ldSidenavCollapsedChange event can be fired before this component is loaded.\n // So we need to update the stacking here.\n setTimeout(() => {\n this.updateStackToTop()\n })\n }\n\n render() {\n const cl = getClassNames([\n 'ld-sidenav-separator',\n this.sidenavCollapsed &&\n !this.sidenavClosable &&\n 'ld-sidenav-separator--collapsed',\n ])\n\n return (\n \n
    \n \n )\n }\n}\n"],"mappings":"qKAAA,MAAMA,EAAqC,8wE,MCkB9BC,EAAyB,M,8CAIT,M,kBACH,M,8IAQxB,4BAAAC,CACEC,GAKA,GAAIA,EAAGC,SAAWC,KAAKC,QAAS,OAChCD,KAAKE,iBAAmBJ,EAAGK,OAAOC,S,CAIpC,6BAAAC,CAA8BP,GAC5B,GAAIA,EAAGC,SAAWC,KAAKC,QAAS,OAChCD,KAAKM,gBAAkBR,EAAGK,M,CAQ5B,mBAAMI,GACJ,MAAMC,EAAkBR,KAAKS,GAC7B,IAAKD,EAAiB,OACtBR,KAAKU,gBACHF,EAAgBG,UAChBH,EAAgBI,aAAeJ,EAAgBK,aAAe,GAChEb,KAAKc,aAAeN,EAAgBG,UAAY,E,CAKlD,iBAAMI,CAAYC,EAAW,OAC3B,MAAMC,EAAuBC,OAAOC,WAClC,oCACAC,QACF,IACEpB,KAAKS,GAAGY,SAAS,CACfC,IAAK,EACLC,SAAUP,IAAaC,EAAuB,SAAW,Q,CAE3D,MAAOO,G,EAKX,iBAAAC,GACEzB,KAAKC,QAAUyB,EAAQ,aAAc1B,KAAKS,IAC1C,IAAKT,KAAKC,QAAS,OAEnBD,KAAK2B,aAAe3B,KAAKC,QAAQ2B,cAAc,gBAC/C5B,KAAK6B,gBAAkB7B,KAAKC,QAAQ2B,cAAc,mBAClD5B,KAAK8B,UAAY9B,KAAKC,QAAQ2B,cAAc,oB,CAG9C,gBAAAG,GACEC,YAAW,KACThC,KAAKO,eAAe,G,CAIxB,MAAA0B,GACE,MAAMC,EAAKC,EAAc,CACvB,+BACAnC,KAAK8B,UAAY,yCACjB9B,KAAKE,mBACFF,KAAKM,iBACN,4CAGJ,OACE8B,EAACC,EAAI,CACHC,M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CACA,M,CAEF,GAAI3D,KAAKC,QAAQuD,OAAQ,CACvBD,EAAiBvD,KAAKS,GAAIT,KAAKE,iB,EAKnC,6BAAAG,CAA8BP,GAC5B,GAAIA,EAAGC,SAAWC,KAAKC,QAAS,OAChCD,KAAKM,gBAAkBR,EAAGK,OAC1BH,KAAKsD,kB,CA8BP,iBAAA7B,GACEzB,KAAKC,QAAUyB,EAAQ,aAAc1B,KAAKS,IAC1C,GAAIT,KAAKC,QAAS,CAChBD,KAAK4D,gBAAkB5D,KAAK+C,0BAA4B,EACxD/C,KAAKE,iBAAmBF,KAAKC,QAAQG,S,EAIzC,gBAAA2B,GAGEC,YAAW,KACThC,KAAKsD,kBAAkB,G,CAI3B,MAAArB,GACE,MAAMC,EAAKC,EAAc,CACvB,uBACAnC,KAAKE,mBACFF,KAAKM,iBACN,oCAGJ,OACE8B,EAACC,EAAI,CACHK,MAAO,CACL,2CACE1C,KAAK4D,gBAAgBC,YAEzBvB,MAAOJ,GAEPE,EAAA,MAAIQ,KAAK,O"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-760822ab.entry.js.map b/1704966176737/dist/build/p-760822ab.entry.js.map deleted file mode 100644 index 5b43e58b61..0000000000 --- a/1704966176737/dist/build/p-760822ab.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSidenavHeaderShadowCss","LdSidenavHeader","this","handleToggleClick","ldSidenavHeaderToggleClick","emit","handleSidenavCollapsedChange","ev","target","sidenav","sidenavCollapsed","detail","collapsed","sidenavCollapsedFully","fully","_a","tooltipRef","hideTooltip","handleSidenavBreakpointChange","sidenavClosable","handleSidenavOpenChange","sidenavOpen","open","updateCollapsible","sidenavCollapsible","collapsible","componentWillLoad","el","closest","sidenavAlignement","align","render","cl","getClassNames","h","Host","class","arrow","size","ref","part","position","tag","tetherOptions","slot","role","onClick","name","labelExpand","labelCollapse","href","ariaLabel","fill","preserveAspectRatio","viewBox","d"],"sources":["../src/liquid/components/ld-sidenav/ld-sidenav-header/ld-sidenav-header.shadow.css?tag=ld-sidenav-header&encapsulation=shadow","../src/liquid/components/ld-sidenav/ld-sidenav-header/ld-sidenav-header.tsx"],"sourcesContent":[":host {\n /* layout */\n --ld-sidenav-header-height: 3.125rem;\n\n /* colors */\n --ld-sidenav-header-col: var(--ld-col-neutral-900);\n --ld-sidenav-header-bg-col: var(--ld-col-neutral-010);\n --ld-sidenav-header-anchor-col: var(--ld-thm-primary);\n --ld-sidenav-header-anchor-col-active: var(--ld-thm-primary-active);\n --ld-sidenav-header-anchor-col-hover: var(--ld-thm-primary-hover);\n --ld-sidenav-header-anchor-col-focus: var(--ld-thm-primary);\n\n --ld-sidenav-header-indicator-col: transparent;\n --ld-sidenav-header-indicator-col-focus: var(--ld-thm-primary-focus);\n --ld-sidenav-header-indicator-col-active: var(--ld-thm-primary);\n\n align-items: center;\n background-color: var(--ld-sidenav-header-bg-col);\n color: var(--ld-sidenav-header-col);\n display: flex;\n flex-direction: row-reverse;\n flex-shrink: 0;\n gap: 0.625rem;\n height: var(--ld-sidenav-header-height);\n padding: 0 var(--ld-sidenav-padding-x);\n position: relative;\n z-index: 1;\n\n &(.ld-sidenav-header--right-aligned) {\n flex-direction: row;\n }\n}\n\n.ld-sidenav-header__anchor {\n align-items: center;\n border-radius: calc(var(--ld-sidenav-navitem-border-radius));\n color: inherit;\n display: grid;\n font-weight: 700;\n gap: var(--ld-sp-12);\n grid-auto-flow: column;\n grid-template-columns: min-content;\n line-height: var(--ld-sidenav-line-height);\n margin-right: auto;\n min-height: calc(var(--ld-sidenav-navitem-icon-size) - var(--ld-sp-12));\n outline-offset: var(--ld-sidenav-navitem-bg-inset);\n position: relative;\n text-decoration: none;\n transition:\n opacity var(--ld-sidenav-transition-duration-collapse-expand)\n var(--ld-sidenav-transition-delay-collapse-expand) linear,\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease;\n\n &[href] {\n color: var(--ld-sidenav-header-anchor-col);\n\n &:focus:focus-visible {\n --ld-sidenav-header-indicator-col: var(\n --ld-sidenav-header-indicator-col-focus\n );\n color: var(--ld-sidenav-header-anchor-col-focus);\n outline: none;\n\n &::before,\n &::after {\n content: '';\n }\n\n &:active {\n --ld-sidenav-header-indicator-col: var(\n --ld-sidenav-header-indicator-col-active\n );\n\n &::before {\n opacity: 0.3;\n }\n }\n }\n @media (hover: hover) {\n &:hover {\n color: var(--ld-sidenav-header-anchor-col-hover);\n }\n }\n &:active,\n &:active:focus-visible {\n color: var(--ld-sidenav-header-anchor-col-active);\n }\n }\n\n &::before,\n &::after {\n border-radius: var(--ld-sidenav-navitem-border-radius);\n display: block;\n inset: calc(-1 * var(--ld-sp-6));\n position: absolute;\n }\n\n &::before {\n background-color: var(--ld-sidenav-header-indicator-col);\n z-index: 1;\n opacity: 0.2;\n }\n &::after {\n background-color: var(--ld-col-wht);\n z-index: 0;\n }\n\n :host(.ld-sidenav-header--closed) &,\n :host(.ld-sidenav-header--collapsed) & {\n transform: translateX(var(--ld-sidenav-translate-x-delta));\n transition:\n visibility 0s\n calc(\n var(--ld-sidenav-transition-duration-collapse-expand) +\n var(--ld-sidenav-transition-delay-collapse-expand)\n )\n linear,\n opacity calc(0.5 * var(--ld-sidenav-transition-duration-collapse-expand))\n linear,\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease;\n visibility: hidden;\n }\n\n :host(.ld-sidenav-header--collapsed) & {\n opacity: 0;\n }\n}\n\n:host ::slotted([slot='logo']),\n.ld-sidenav-header__initial-m {\n color: var(--ld-thm-primary);\n min-width: var(--ld-sidenav-navitem-icon-size);\n z-index: 2;\n height: 100%;\n}\n\n.ld-sidenav-header__initial-m {\n width: var(--ld-sidenav-navitem-icon-size);\n}\n\n.ld-sidenav-header__toggle {\n aspect-ratio: 1;\n background-color: transparent;\n border: 0;\n border-radius: var(--ld-sidenav-navitem-border-radius);\n color: var(--ld-thm-primary);\n cursor: pointer;\n display: grid;\n margin: var(--ld-sp-2) 0 auto 0;\n padding-bottom: 0;\n padding-top: 0;\n place-content: center;\n touch-action: manipulation;\n transform: translateX(var(--ld-sp-6));\n transition:\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease,\n opacity var(--ld-sidenav-transition-duration-collapse-expand) linear;\n width: var(--ld-sidenav-navitem-icon-size);\n will-change: transform; /* fixes rendering issue */\n -webkit-touch-callout: none;\n\n &::before,\n &::after {\n border-radius: inherit;\n display: block;\n inset: 0;\n position: absolute;\n }\n\n &::before {\n z-index: 1;\n background-color: var(--ld-sidenav-header-indicator-col);\n opacity: 0.2;\n }\n\n &::after {\n background-color: var(--ld-col-wht);\n z-index: 0;\n }\n\n &:where(:focus:focus-visible) {\n --ld-sidenav-header-indicator-col: var(\n --ld-sidenav-header-indicator-col-focus\n );\n color: var(--ld-sidenav-header-anchor-col-focus);\n outline: none;\n\n &::before,\n &::after {\n content: '';\n }\n\n &:active {\n --ld-sidenav-header-indicator-col: var(\n --ld-sidenav-header-indicator-col-active\n );\n\n &::before {\n opacity: 0.3;\n }\n }\n }\n @media (hover: hover) {\n &:where(:hover) {\n color: var(--ld-sidenav-header-anchor-col-hover);\n }\n }\n &:where(:active),\n &:where(:active:focus-visible) {\n color: var(--ld-sidenav-header-anchor-col-active);\n }\n\n :host(.ld-sidenav-header--closed) &,\n :host(.ld-sidenav-header--collapsed-fully) & {\n transition:\n visibility 0s\n calc(2 * var(--ld-sidenav-transition-duration-collapse-expand)) linear,\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease,\n opacity calc(var(--ld-sidenav-transition-duration-collapse-expand) * 0.5)\n linear;\n visibility: hidden;\n }\n\n :host(.ld-sidenav-header--collapsed) & {\n transform: none;\n }\n\n :host(.ld-sidenav-header--collapsed-fully) & {\n opacity: 0;\n }\n\n :host(.ld-sidenav-header--right-aligned) & {\n transform: none;\n }\n\n :host(.ld-sidenav-header--right-aligned.ld-sidenav-header--collapsed) & {\n transform: translateX(0);\n }\n}\n\n.ld-sidenav-header__toggle-icon {\n z-index: 2;\n\n :host(:not(.ld-sidenav-header--collapsed)) & {\n transform: scaleX(-100%);\n }\n\n :host(.ld-sidenav-header--right-aligned:not(.ld-sidenav-header--collapsed))\n & {\n transform: none;\n }\n :host(.ld-sidenav-header--right-aligned.ld-sidenav-header--collapsed) & {\n transform: scaleX(-100%);\n }\n}\n\n.ld-sidenav-header__slot-wrapper {\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n display: -webkit-box;\n max-height: var(--ld-sidenav-header-height); /* required in Safari */\n overflow: hidden;\n position: relative;\n text-overflow: ellipsis;\n word-break: break-word;\n z-index: 2;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\n\n/**\n * @slot - Slot for the header title.\n * @slot logo - Replace the initial M with your custom logo.\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-sidenav-header',\n styleUrl: 'ld-sidenav-header.shadow.css',\n shadow: true,\n})\nexport class LdSidenavHeader {\n @Element() el: HTMLLdSidenavHeaderElement\n private sidenav: HTMLLdSidenavElement\n private tooltipRef: HTMLLdTooltipElement\n\n /** href to be used on the anchor element within the sidenav header. */\n @Prop() href?: string\n\n /** aria-label to be used on the anchor element within the sidenav header. */\n @Prop() ariaLabel: string\n\n /** Label to be used for the toggle button when navigation is expanded. */\n @Prop() labelCollapse? = 'Collapse side navigation'\n /** Label to be used for the toggle button when navigation is collapsed. */\n @Prop() labelExpand? = 'Expand side navigation'\n\n /** Tooltip tether options object to be merged with the default options (optionally stringified). */\n @Prop() tetherOptions?: Partial | string\n\n @State() sidenavAlignement: 'left' | 'right'\n @State() sidenavClosable: boolean\n @State() sidenavCollapsed: boolean\n @State() sidenavCollapsedFully: boolean\n @State() sidenavCollapsible: boolean\n @State() sidenavOpen: boolean\n\n /** Emitted on toggle click. */\n @Event() ldSidenavHeaderToggleClick: EventEmitter\n\n @Listen('ldSidenavCollapsedChange', { target: 'window', passive: true })\n handleSidenavCollapsedChange(\n ev: CustomEvent<{\n collapsed: boolean\n fully: boolean\n }>\n ) {\n if (ev.target !== this.sidenav) return\n this.sidenavCollapsed = ev.detail.collapsed\n this.sidenavCollapsedFully = ev.detail.collapsed && ev.detail.fully\n this.tooltipRef?.hideTooltip()\n }\n\n @Listen('ldSidenavBreakpointChange', { target: 'window', passive: true })\n handleSidenavBreakpointChange(ev: CustomEvent) {\n if (ev.target !== this.sidenav) return\n this.sidenavClosable = ev.detail\n this.tooltipRef?.hideTooltip()\n }\n\n @Listen('ldSidenavOpenChange', { target: 'window', passive: true })\n handleSidenavOpenChange(ev: CustomEvent) {\n if (ev.target !== this.sidenav) return\n this.sidenavOpen = this.sidenav.open\n }\n\n private handleToggleClick = () => {\n this.ldSidenavHeaderToggleClick.emit()\n }\n\n /**\n * @internal\n * Updates collapsible state.\n */\n @Method()\n async updateCollapsible() {\n if (this.sidenav) {\n this.sidenavCollapsible = this.sidenav.collapsible\n }\n }\n\n componentWillLoad() {\n this.sidenav = this.el.closest('ld-sidenav')\n if (this.sidenav) {\n this.sidenavAlignement = this.sidenav.align\n this.sidenavCollapsible = this.sidenav.collapsible\n this.sidenavCollapsed = this.sidenav.collapsed\n }\n }\n\n render() {\n const cl = getClassNames([\n 'ld-sidenav-header',\n !this.sidenavOpen && this.sidenavClosable && 'ld-sidenav-header--closed',\n this.sidenavCollapsed &&\n !this.sidenavClosable &&\n 'ld-sidenav-header--collapsed',\n this.sidenavCollapsedFully &&\n !this.sidenavClosable &&\n 'ld-sidenav-header--collapsed-fully',\n this.sidenavAlignement === 'right' && 'ld-sidenav-header--right-aligned',\n ])\n\n return (\n \n {/*Inner toggle*/}\n {this.sidenavCollapsible && (\n (this.tooltipRef = el)}\n show-delay=\"1000\"\n part=\"tooltip\"\n position={\n this.sidenavAlignement === 'left' ? 'right middle' : 'left middle'\n }\n tag=\"span\"\n tetherOptions={this.tetherOptions}\n >\n \n \n \n {this.sidenavCollapsed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2B,oBAAsB,SAAW,qCAGxC,OACEK,EAACC,EAAI,CAACC,MAAOJ,GAEV9B,KAAKsB,oBACJU,EAAA,cACEG,MAAK,KACLC,KAAK,KACLF,MAAM,6BACNG,IAAMZ,GAAQzB,KAAKc,WAAaW,EAAG,aACxB,OACXa,KAAK,UACLC,SACEvC,KAAK2B,oBAAsB,OAAS,eAAiB,cAEvDa,IAAI,OACJC,cAAezC,KAAKyC,eAEpBT,EAAA,UACEU,KAAK,UACLC,KAAK,SAAQ,kCAEC3C,KAAKQ,iBAAmB,QAAU,OAChD0B,MAAM,4BACNU,QAAS5C,KAAKC,kBACdqC,KAAK,UAELN,EAAA,WACEE,MAAM,iCACNW,KAAK,gBACLP,KAAK,gBAEPN,EAAA,kBACGhC,KAAKQ,iBAAmBR,KAAK8C,YAAc9C,KAAK+C,gBAGrDf,EAAA,WAASM,KAAK,iBACXtC,KAAKQ,iBAAmBR,KAAK8C,YAAc9C,KAAK+C,gBAIvDf,EAAA,KACEE,MAAM,4BACNc,KAAMhD,KAAKgD,KACXV,KAAK,SAAQ,aACDtC,KAAKiD,WAEjBjB,EAAA,QAAMa,KAAK,QACTb,EAAA,OACEE,MAAM,+BACNgB,KAAK,OACLZ,KAAK,OACLa,oBAAoB,gBACpBC,QAAQ,aAERpB,EAAA,oBACY,UAAS,YACT,UACVqB,EAAE,orBACFH,KAAK,mBAIXlB,EAAA,QAAMM,KAAK,QAAQJ,MAAM,mCACvBF,EAAA,e"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-79ffd165.entry.js b/1704966176737/dist/build/p-79ffd165.entry.js deleted file mode 100644 index 9aab28769a..0000000000 --- a/1704966176737/dist/build/p-79ffd165.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as o,c as e,h as s,H as l,g as t}from"./p-21a69c18.js";import{g as a}from"./p-1133c92e.js";const c=".docs-example__code{background-color:var(--ld-col-neutral-010)}.docs-example__tools-scroll-container{background-color:var(--ld-col-neutral-050);border-color:var(--ld-col-neutral-100)}.docs-example__tools{stroke:var(--ld-col-neutral-900)}.docs-example__copy-to-clipboard,.docs-example__tool-buttons,.docs-example__tool-switch{filter:none}@media (prefers-color-scheme:dark){.docs-example__code{background-color:var(--ld-col-neutral-900)}.docs-example__tools-scroll-container{background-color:var(--ld-col-neutral-700);border-color:var(--ld-col-neutral-700)}.docs-example__tools{stroke:var(--ld-col-wht)}.docs-example__copy-to-clipboard,.docs-example__tool-buttons,.docs-example__tool-switch{filter:invert(1) hue-rotate(180deg)}.docs-example--has-border .docs-example__show{border-color:#0000}}.docs-ui-light .docs-example__code{background-color:var(--ld-col-neutral-010)}.docs-ui-light .docs-example__tools-scroll-container{background-color:var(--ld-col-neutral-050);border-color:var(--ld-col-neutral-100)}.docs-ui-light .docs-example__tools{stroke:var(--ld-col-neutral-900)}.docs-ui-light .docs-example__copy-to-clipboard,.docs-ui-light .docs-example__tool-buttons,.docs-ui-light .docs-example__tool-switch{filter:none}.docs-ui-dark .docs-example__code{background-color:var(--ld-col-neutral-900)}.docs-ui-dark .docs-example__tools-scroll-container{background-color:var(--ld-col-neutral-700);border-color:var(--ld-col-neutral-700)}.docs-ui-dark .docs-example__tools{stroke:var(--ld-col-wht)}.docs-ui-dark .docs-example__copy-to-clipboard,.docs-ui-dark .docs-example__tool-buttons,.docs-ui-dark .docs-example__tool-switch{filter:invert(1) hue-rotate(180deg)}.docs-ui-dark .docs-example--has-border .docs-example__show{border-color:#0000}.docs-example{display:block}.docs-example__code{display:none;overflow:hidden;position:relative}.docs-example__code,.docs-example__code pre{border-bottom-left-radius:var(--ld-br-l);border-bottom-right-radius:var(--ld-br-l)}.docs-example__tools-scroll-container{border-bottom-left-radius:var(--ld-br-l);border-bottom-right-radius:var(--ld-br-l);border-style:solid;border-width:var(--ld-sp-1);display:flex;overflow:auto;position:relative;width:100%}.docs-example__tools{align-items:center;display:flex;flex-grow:1;justify-content:space-between;line-height:0;padding:var(--ld-sp-8)}.docs-example__tool-switch{background-color:var(--ld-col-wht);border-radius:calc(var(--ld-br-m) + 1px)}.docs-example__tool-buttons{align-items:center;display:flex;flex:1 0;justify-content:flex-end}.docs-example__tool-buttons>:not(:first-child){margin-left:var(--ld-sp-12)}.docs-example__show{background-color:var(--ld-col-neutral-010);border-bottom-width:0;border-top-left-radius:var(--ld-br-l);border-top-right-radius:var(--ld-br-l);color:var(--ld-col-neutral-900);color-scheme:light;overflow:hidden;will-change:transform}.docs-example--has-border .docs-example__show{border:var(--ld-sp-1) solid var(--ld-col-neutral-100);border-bottom:0}.docs-example--has-padding .docs-example__show{padding:0 var(--ld-sp-8) var(--ld-sp-24)}@media (width <= 52rem){.docs-example--has-padding .docs-example__show{padding:0 0 var(--ld-sp-24)}}.docs-example--has-padding .docs-example__show>div>:not(.ld-modal){margin:var(--ld-sp-24) var(--ld-sp-24) 0;max-width:calc(100% - 2 * var(--ld-sp-24))}.docs-example__show>div{align-items:flex-start;display:flex;flex-wrap:wrap;justify-content:space-evenly;width:100%}.docs-example__show--centered>div{align-items:center}.docs-example__show--stacked>div{flex-direction:column}.docs-example__show--stacked:not(.docs-example__show--centered)>div{align-items:stretch}.docs-example__show--brand{border-color:#0000}.docs-example__show--brand.ld-theme-ocean{background-color:var(--ld-thm-ocean-primary)}.docs-example__show--brand.ld-theme-bubblegum,.docs-example__show--brand.ld-theme-shake,.docs-example__show--brand.ld-theme-solvent{background-color:var(--ld-thm-shake-primary)}.docs-example__show--brand.ld-theme-tea{background-color:var(--ld-thm-tea-primary)}.docs-example__show--light{background-color:var(--ld-col-wht)}.docs-example--code-visible .docs-example__tools-scroll-container{border-radius:0}.docs-example--code-visible .docs-example__code{display:block}.docs-example--css-component [slot=codeReactComponent],.docs-example--css-component [slot=code],.docs-example--css-component [slot=show],.docs-example--react-component [slot=codeCssComponent],.docs-example--react-component [slot=code],.docs-example--react-component [slot=showCssComponent],.docs-example--web-component [slot=codeCssComponent],.docs-example--web-component [slot=codeReactComponent],.docs-example--web-component [slot=showCssComponent]{display:none}.docs-example__code-tools{display:grid;gap:var(--ld-sp-8);grid-auto-flow:column;margin:var(--ld-sp-2) var(--ld-sp-1);position:absolute;right:var(--ld-sp-8);top:var(--ld-sp-8)}.docs-example__copy-to-clipboard{background-color:var(--ld-col-wht);border-radius:var(--ld-br-m)}";const d=class{constructor(s){o(this,s);this.pickCodeType=e(this,"pickCodeType",7);this.handlePickTheme=o=>{this.currentTheme=o.detail};this.handleToggleCode=o=>{this.isCodeVisible=o.detail};this.background=undefined;this.centered=false;this.code=undefined;this.codeCssComponent=undefined;this.codeReactComponent=undefined;this.hasBorder=false;this.hasPadding=false;this.opened=false;this.stacked=false;this.styles="{}";this.themable=false;this.currentTheme="ocean";this.isCodeVisible=this.opened;this.codeType="wc"}handleSwitchCode(o){if(!this.hasCodeType(o.detail))return;this.codeType=o.detail;window.localStorage.setItem("liquid_docs_preferred_code_type",this.codeType)}unescapeCode(o){return o.replaceAll(/\\{\\{/g,"{{").replaceAll(/\\}\\}/g,"}}").replaceAll(/{<\/span> {<\/span>/g,'{{').replaceAll(/}<\/span> }<\/span>/g,'}}')}hasCodeType(o){if(o==="wc"){return Boolean(this.el.querySelector('[slot="code"]'))}return Array.from(this.el.querySelectorAll('[slot^="code"]')).some((e=>e.getAttribute("slot").toLowerCase()===`code${o}component`))}componentWillLoad(){const o=window.localStorage.getItem("liquid_docs_preferred_code_type");if(o){if(this.hasCodeType(o)){this.codeType=o}}this.el.querySelectorAll('[slot^="code"]').forEach((o=>{o.innerHTML=this.unescapeCode(o.innerHTML)}))}render(){const o=["docs-example",this.isCodeVisible&&"docs-example--code-visible",this.hasBorder&&"docs-example--has-border",this.hasPadding&&"docs-example--has-padding",this.codeType==="wc"&&"docs-example--web-component",this.codeType==="css"&&"docs-example--css-component",this.codeType==="react"&&"docs-example--react-component"];let e="docs-example__show";if(this.themable&&this.currentTheme){e+=" ld-theme-"+this.currentTheme.toLowerCase()}if(this.centered)e+=" docs-example__show--centered";if(this.stacked)e+=" docs-example__show--stacked";if(this.background)e+=` docs-example__show--${this.background}`;return s(l,{class:a(o)},s("div",{class:e,style:JSON.parse(this.styles)},s("slot",{name:"show"}),s("slot",{name:"showCssComponent"})),s("div",{class:"docs-example__tools-scroll-container"},s("div",{class:"docs-example__tools"},(this.codeCssComponent||this.codeReactComponent)&&s("ld-switch",{onClick:()=>this.isCodeVisible=true,onLdswitchchange:o=>{this.handleSwitchCode(o);this.pickCodeType.emit(this.codeType)},class:"docs-example__tool-switch",size:"sm"},s("ld-switch-item",{value:"wc",checked:this.codeType==="wc"},s("ld-icon",{slot:"icon-start",size:"sm","aria-label":"Web Component"},s("svg",{viewBox:"0 0 800 800"},s("path",{fill:"currentColor",d:"M196.3 400l200 346.4H200L0 400 200 53.6h196.3L196.3 400zM505.4 53.6H600L800 400 600 746.4h-94.6l-98-169.8H502L604 400 502 223.4h-94.7l98-169.8z"})))),this.codeReactComponent&&s("ld-switch-item",{value:"react",checked:this.codeType==="react"},s("ld-icon",{slot:"icon-start",size:"sm","aria-label":"React component"},s("svg",{viewBox:"-11.5 -10.2 23 20.5",style:{transform:"scale(1.1)"}},s("circle",{r:"2",fill:"currentColor"}),s("g",{stroke:"currentColor",fill:"none"},s("ellipse",{rx:"11",ry:"4.2"}),s("ellipse",{rx:"11",ry:"4.2",transform:"rotate(60)"}),s("ellipse",{rx:"11",ry:"4.2",transform:"rotate(120)"}))))),this.codeCssComponent&&s("ld-switch-item",{value:"css",checked:this.codeType==="css"},s("ld-icon",{slot:"icon-start",size:"sm","aria-label":"CSS component"},s("svg",{viewBox:"0 0 800 300",style:{transform:"scale(1.2)"}},s("path",{fill:"currentColor",d:"M0 0h238.7v99.8H99.8v99.8h139v99.9H0V0zM283.2 0h235.3v85.6H381.6v17h136.9v196.9H283.2v-89.9h136.9v-17H283.2V0zM564.7 0H800v85.6H663.1v17H800v196.9H564.7v-89.9h136.9v-17H564.7V0z"}))))),s("div",{class:"docs-example__tool-buttons"},this.themable&&s("docs-pick-theme",{onPickTheme:this.handlePickTheme}),s("docs-toggle-code",{onToggleCode:this.handleToggleCode,isOn:this.isCodeVisible})))),s("div",{class:"docs-example__code"},s("div",{class:"docs-example__code-tools"},s("docs-copy-to-cb",{class:"docs-example__copy-to-clipboard",textToCopy:this.unescapeCode(decodeURIComponent(this.codeType==="wc"?this.code:this.codeType==="css"?this.codeCssComponent:this.codeType==="react"?this.codeReactComponent:""))})),s("slot",{name:"code"}),s("slot",{name:"codeReactComponent"}),s("slot",{name:"codeCssComponent"})))}get el(){return t(this)}};d.style=c;export{d as docs_example}; -//# sourceMappingURL=p-79ffd165.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-79ffd165.entry.js.map b/1704966176737/dist/build/p-79ffd165.entry.js.map deleted file mode 100644 index dafffa8fd3..0000000000 --- a/1704966176737/dist/build/p-79ffd165.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsExampleCss","DocsExample","this","handlePickTheme","event","currentTheme","detail","handleToggleCode","isCodeVisible","opened","handleSwitchCode","ev","hasCodeType","codeType","window","localStorage","setItem","unescapeCode","code","replaceAll","Boolean","el","querySelector","Array","from","querySelectorAll","some","slot","getAttribute","toLowerCase","componentWillLoad","preferredCodeType","getItem","forEach","innerHTML","render","cl","hasBorder","hasPadding","clShow","themable","centered","stacked","background","h","Host","class","getClassNames","style","JSON","parse","styles","name","codeCssComponent","codeReactComponent","onClick","onLdswitchchange","pickCodeType","emit","size","value","checked","viewBox","fill","d","transform","r","stroke","rx","ry","onPickTheme","onToggleCode","isOn","textToCopy","decodeURIComponent"],"sources":["../src/docs/components/docs-example/docs-example.css?tag=docs-example","../src/docs/components/docs-example/docs-example.tsx"],"sourcesContent":["@define-mixin docs-example-ui-light {\n .docs-example__code {\n background-color: var(--ld-col-neutral-010);\n }\n\n .docs-example__tools-scroll-container {\n background-color: var(--ld-col-neutral-050);\n border-color: var(--ld-col-neutral-100);\n }\n\n .docs-example__tools {\n stroke: var(--ld-col-neutral-900);\n }\n\n .docs-example__tool-buttons,\n .docs-example__tool-switch,\n .docs-example__copy-to-clipboard {\n filter: none;\n }\n}\n@define-mixin docs-example-ui-dark {\n .docs-example__code {\n background-color: var(--ld-col-neutral-900);\n }\n\n .docs-example__tools-scroll-container {\n background-color: var(--ld-col-neutral-700);\n border-color: var(--ld-col-neutral-700);\n }\n\n .docs-example__tools {\n stroke: var(--ld-col-wht);\n }\n\n .docs-example__tool-buttons,\n .docs-example__tool-switch,\n .docs-example__copy-to-clipboard {\n filter: invert(1) hue-rotate(180deg);\n }\n\n .docs-example--has-border .docs-example__show {\n border-color: transparent;\n }\n}\n\n@mixin docs-example-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-example-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-example-ui-light;\n}\n.docs-ui-dark {\n @mixin docs-example-ui-dark;\n}\n\n.docs-example {\n display: block;\n}\n\n.docs-example__code {\n overflow: hidden;\n display: none;\n border-bottom-left-radius: var(--ld-br-l);\n border-bottom-right-radius: var(--ld-br-l);\n position: relative;\n\n pre {\n border-bottom-left-radius: var(--ld-br-l);\n border-bottom-right-radius: var(--ld-br-l);\n }\n}\n\n.docs-example__tools-scroll-container {\n position: relative;\n overflow: auto;\n display: flex;\n width: 100%;\n border-style: solid;\n border-width: var(--ld-sp-1);\n border-bottom-left-radius: var(--ld-br-l);\n border-bottom-right-radius: var(--ld-br-l);\n}\n\n.docs-example__tools {\n padding: var(--ld-sp-8);\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 1;\n line-height: 0; /* Firefox fix */\n}\n\n.docs-example__tool-switch {\n background-color: var(--ld-col-wht);\n border-radius: calc(var(--ld-br-m) + 1px);\n}\n\n.docs-example__tool-buttons {\n display: flex;\n flex: 1 0;\n align-items: center;\n justify-content: flex-end;\n\n > :not(:first-child) {\n margin-left: var(--ld-sp-12);\n }\n}\n\n.docs-example__show {\n background-color: var(--ld-col-neutral-010);\n color: var(--ld-col-neutral-900);\n border-bottom-width: 0;\n border-top-left-radius: var(--ld-br-l);\n border-top-right-radius: var(--ld-br-l);\n overflow: hidden;\n will-change: transform; /* Fixes overflow in Safari */\n color-scheme: light; /* stylelint-disable-line scale-unlimited/declaration-strict-value */\n\n .docs-example--has-border & {\n border: var(--ld-sp-1) solid var(--ld-col-neutral-100);\n border-bottom: 0;\n }\n\n .docs-example--has-padding & {\n padding: 0 var(--ld-sp-8) var(--ld-sp-24);\n\n @media (width <= 52rem) {\n padding: 0 0 var(--ld-sp-24);\n }\n\n > div > *:not(.ld-modal) {\n margin: var(--ld-sp-24) var(--ld-sp-24) 0;\n max-width: calc(100% - 2 * var(--ld-sp-24));\n }\n }\n\n > div {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: space-evenly;\n width: 100%;\n }\n}\n.docs-example__show--centered {\n > div {\n align-items: center;\n }\n}\n.docs-example__show--stacked {\n > div {\n flex-direction: column;\n }\n &:not(.docs-example__show--centered) {\n > div {\n align-items: stretch;\n }\n }\n}\n\n.docs-example__show--brand {\n border-color: transparent;\n\n &.ld-theme-ocean {\n background-color: var(--ld-thm-ocean-primary);\n }\n &.ld-theme-solvent,\n &.ld-theme-bubblegum,\n &.ld-theme-shake {\n background-color: var(--ld-thm-shake-primary);\n }\n &.ld-theme-tea {\n background-color: var(--ld-thm-tea-primary);\n }\n}\n\n.docs-example__show--light {\n background-color: var(--ld-col-wht);\n}\n\n.docs-example--code-visible {\n .docs-example__tools-scroll-container {\n border-radius: 0;\n }\n\n .docs-example__code {\n display: block;\n }\n}\n\n.docs-example--web-component {\n [slot='showCssComponent'],\n [slot='codeReactComponent'],\n [slot='codeCssComponent'] {\n display: none;\n }\n}\n\n.docs-example--react-component {\n [slot='showCssComponent'],\n [slot='codeCssComponent'],\n [slot='code'] {\n display: none;\n }\n}\n\n.docs-example--css-component {\n [slot='show'],\n [slot='codeReactComponent'],\n [slot='code'] {\n display: none;\n }\n}\n\n.docs-example__code-tools {\n position: absolute;\n display: grid;\n grid-auto-flow: column;\n gap: var(--ld-sp-8);\n top: var(--ld-sp-8);\n right: var(--ld-sp-8);\n margin: var(--ld-sp-2) var(--ld-sp-1);\n}\n\n.docs-example__copy-to-clipboard {\n background-color: var(--ld-col-wht);\n border-radius: var(--ld-br-m);\n}\n","import {\n Component,\n h,\n Host,\n Prop,\n State,\n Element,\n Event,\n EventEmitter,\n Listen,\n} from '@stencil/core'\nimport { getClassNames } from '../../../liquid/utils/getClassNames'\n\n/** @internal **/\n@Component({\n tag: 'docs-example',\n styleUrl: 'docs-example.css',\n shadow: false,\n})\nexport class DocsExample {\n @Element() el: HTMLElement\n\n /** Background color mode. */\n @Prop() background: 'brand' | 'light'\n\n /** Center examples. */\n @Prop() centered = false\n\n /** Web Component markup encoded as URI component. */\n @Prop() code!: string\n\n /** CSS component markup encoded as URI component. */\n @Prop() codeCssComponent: string\n\n /** React component markup encoded as URI component. */\n @Prop() codeReactComponent: string\n\n /** Adds a thin border to the container. */\n @Prop() hasBorder = false\n\n /** Puts some space between content and container. */\n @Prop() hasPadding = false\n\n /** Opens code view on initial load. */\n @Prop() opened = false\n\n /** Stack examples (use display block). */\n @Prop() stacked = false\n\n /** Custom show-container styles. */\n @Prop() styles = '{}'\n\n /** Enables theme switch. */\n @Prop() themable = false\n\n /** Current theme. */\n @State() currentTheme = 'ocean'\n\n /** Is code toggled to be visible */\n @State() isCodeVisible = this.opened\n\n /** Is Web Component visible (as opposed to the css component version) */\n @State() codeType: 'wc' | 'css' | 'react' = 'wc'\n\n /** Code type pick change event. */\n @Event() pickCodeType: EventEmitter\n\n private handlePickTheme = (event: CustomEvent) => {\n this.currentTheme = event.detail\n }\n\n private handleToggleCode = (event: CustomEvent) => {\n this.isCodeVisible = event.detail\n }\n\n @Listen('pickCodeType', {\n target: 'window',\n })\n handleSwitchCode(ev: CustomEvent) {\n if (!this.hasCodeType(ev.detail)) return\n this.codeType = ev.detail\n window.localStorage.setItem(\n 'liquid_docs_preferred_code_type',\n this.codeType\n )\n }\n\n private unescapeCode(code) {\n return (\n code\n // lang html\n .replaceAll(/\\\\{\\\\{/g, '{{')\n .replaceAll(/\\\\}\\\\}/g, '}}')\n // lang jsx\n .replaceAll(\n /{<\\/span> {<\\/span>/g,\n '{{'\n )\n .replaceAll(\n /}<\\/span> }<\\/span>/g,\n '}}'\n )\n )\n }\n\n private hasCodeType(codeType: this['codeType']) {\n if (codeType === 'wc') {\n return Boolean(this.el.querySelector('[slot=\"code\"]'))\n }\n return Array.from(this.el.querySelectorAll('[slot^=\"code\"]')).some(\n (slot) =>\n slot.getAttribute('slot').toLowerCase() === `code${codeType}component`\n )\n }\n\n componentWillLoad() {\n const preferredCodeType = window.localStorage.getItem(\n 'liquid_docs_preferred_code_type'\n ) as this['codeType']\n if (preferredCodeType) {\n if (this.hasCodeType(preferredCodeType)) {\n this.codeType = preferredCodeType as this['codeType']\n }\n }\n this.el.querySelectorAll('[slot^=\"code\"]').forEach((slot) => {\n slot.innerHTML = this.unescapeCode(slot.innerHTML)\n })\n }\n\n render() {\n const cl = [\n 'docs-example',\n this.isCodeVisible && 'docs-example--code-visible',\n this.hasBorder && 'docs-example--has-border',\n this.hasPadding && 'docs-example--has-padding',\n this.codeType === 'wc' && 'docs-example--web-component',\n this.codeType === 'css' && 'docs-example--css-component',\n this.codeType === 'react' && 'docs-example--react-component',\n ]\n\n let clShow = 'docs-example__show'\n if (this.themable && this.currentTheme) {\n clShow += ' ld-theme-' + this.currentTheme.toLowerCase()\n }\n if (this.centered) clShow += ' docs-example__show--centered'\n if (this.stacked) clShow += ' docs-example__show--stacked'\n if (this.background) clShow += ` docs-example__show--${this.background}`\n\n return (\n \n
    \n \n \n
    \n
    \n
    \n {(this.codeCssComponent || this.codeReactComponent) && (\n (this.isCodeVisible = true)}\n onLdswitchchange={(ev) => {\n this.handleSwitchCode(ev as CustomEvent)\n this.pickCodeType.emit(this.codeType)\n }}\n class=\"docs-example__tool-switch\"\n size=\"sm\"\n >\n \n \n \n \n \n \n \n {this.codeReactComponent && (\n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.codeCssComponent && (\n \n \n \n \n \n \n \n )}\n \n )}\n
    \n {this.themable && (\n \n )}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n \n
    \n
    \n )\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAiB,20J,MCmBVC,EAAW,M,oEAgDdC,KAAAC,gBAAmBC,IACzBF,KAAKG,aAAeD,EAAME,MAAM,EAG1BJ,KAAAK,iBAAoBH,IAC1BF,KAAKM,cAAgBJ,EAAME,MAAM,E,wCA9ChB,M,qGAYC,M,gBAGC,M,YAGJ,M,aAGC,M,YAGD,K,cAGE,M,kBAGK,Q,mBAGCJ,KAAKO,O,cAGc,I,CAgB5C,gBAAAC,CAAiBC,GACf,IAAKT,KAAKU,YAAYD,EAAGL,QAAS,OAClCJ,KAAKW,SAAWF,EAAGL,OACnBQ,OAAOC,aAAaC,QAClB,kCACAd,KAAKW,S,CAID,YAAAI,CAAaC,GACnB,OACEA,EAEGC,WAAW,UAAW,MACtBA,WAAW,UAAW,MAEtBA,WACC,uFACA,oFAEDA,WACC,uFACA,mF,CAKA,WAAAP,CAAYC,GAClB,GAAIA,IAAa,KAAM,CACrB,OAAOO,QAAQlB,KAAKmB,GAAGC,cAAc,iB,CAEvC,OAAOC,MAAMC,KAAKtB,KAAKmB,GAAGI,iBAAiB,mBAAmBC,MAC3DC,GACCA,EAAKC,aAAa,QAAQC,gBAAkB,OAAOhB,c,CAIzD,iBAAAiB,GACE,MAAMC,EAAoBjB,OAAOC,aAAaiB,QAC5C,mCAEF,GAAID,EAAmB,CACrB,GAAI7B,KAAKU,YAAYmB,GAAoB,CACvC7B,KAAKW,SAAWkB,C,EAGpB7B,KAAKmB,GAAGI,iBAAiB,kBAAkBQ,SAASN,IAClDA,EAAKO,UAAYhC,KAAKe,aAAaU,EAAKO,UAAU,G,CAItD,MAAAC,GACE,MAAMC,EAAK,CACT,eACAlC,KAAKM,eAAiB,6BACtBN,KAAKmC,WAAa,2BAClBnC,KAAKo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,GAAG,KAAKC,GAAG,QACpBzB,EAAA,WAASwB,GAAG,KAAKC,GAAG,MAAMJ,UAAU,eACpCrB,EAAA,WAASwB,GAAG,KAAKC,GAAG,MAAMJ,UAAU,oBAM7C/D,KAAKmD,kBACJT,EAAA,kBAAgBgB,MAAM,MAAMC,QAAS3D,KAAKW,WAAa,OACrD+B,EAAA,WACEjB,KAAK,aACLgC,KAAK,KAAI,aACE,iBAEXf,EAAA,OACEkB,QAAQ,cACRd,MAAO,CAAEiB,UAAW,eAEpBrB,EAAA,QACEmB,KAAK,eACLC,EAAE,0LAQhBpB,EAAA,OAAKE,MAAM,8BACR5C,KAAKsC,UACJI,EAAA,mBAAiB0B,YAAapE,KAAKC,kBAErCyC,EAAA,oBACE2B,aAAcrE,KAAKK,iBACnBiE,KAAMtE,KAAKM,mBAKnBoC,EAAA,OAAKE,MAAM,sBACTF,EAAA,OAAKE,MAAM,4BACTF,EAAA,mBACEE,MAAM,kCACN2B,WAAYvE,KAAKe,aACfyD,mBACExE,KAAKW,WAAa,KACdX,KAAKgB,KACLhB,KAAKW,WAAa,MAChBX,KAAKmD,iBACLnD,KAAKW,WAAa,QAChBX,KAAKoD,mBACL,QAKhBV,EAAA,QAAMQ,KAAK,SACXR,EAAA,QAAMQ,KAAK,uBACXR,EAAA,QAAMQ,KAAK,sB"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-7ecbe9da.entry.js.map b/1704966176737/dist/build/p-7ecbe9da.entry.js.map deleted file mode 100644 index 00474ba4af..0000000000 --- a/1704966176737/dist/build/p-7ecbe9da.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsShadowCss","DocsShadow","render","style","this","filter","var","boxShadow","h","Host","class","textToCopy"],"sources":["../src/docs/components/docs-shadow/docs-shadow.css?tag=docs-shadow","../src/docs/components/docs-shadow/docs-shadow.tsx"],"sourcesContent":["@define-mixin docs-shadow-ui-light {\n .docs-shadow {\n border-color: var(--ld-col-neutral-100);\n }\n}\n@define-mixin docs-shadow-ui-dark {\n .docs-shadow {\n border-color: var(--ld-col-neutral-600);\n }\n}\n\n@mixin docs-shadow-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-shadow-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-shadow-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-shadow-ui-light;\n}\n\n.docs-shadow {\n display: flex;\n width: 100%;\n align-items: center;\n overflow: hidden;\n border-style: solid;\n border-width: var(--ld-sp-1);\n color: var(--ld-col-neutral-900);\n background-color: var(--ld-col-wht);\n padding: var(--ld-sp-16) var(--ld-sp-16) 4rem;\n\n &:first-of-type {\n border-top-left-radius: var(--ld-br-l);\n border-top-right-radius: var(--ld-br-l);\n }\n &:last-of-type {\n border-bottom-left-radius: var(--ld-br-l);\n border-bottom-right-radius: var(--ld-br-l);\n }\n &:not(:first-of-type) {\n border-top-width: 0;\n }\n &:not(:last-of-type) {\n border-bottom-width: 0;\n }\n}\n\n.docs-shadow__var {\n display: flex;\n flex: 1 0 auto;\n border-radius: var(--ld-br-l);\n align-items: center;\n font: var(--ld-typo-body-s);\n font-family: 'Source Code Pro', Consolas, Monaco, 'Ubuntu Mono', monospace;\n flex-shrink: 0;\n white-space: nowrap;\n padding: var(--ld-sp-8);\n background-color: var(--ld-col-wht);\n\n .docs-copy-to-cb {\n margin-right: var(--ld-sp-8);\n }\n}\n","import { Component, h, Host, Prop } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-shadow',\n styleUrl: 'docs-shadow.css',\n shadow: false,\n})\nexport class DocsShadow {\n /** CSS variable name */\n @Prop() var: string\n\n /** If set to true the component uses the drop-shadow filter variable instead of box-shadow */\n @Prop() filter: boolean\n\n render() {\n const style = this.filter\n ? {\n filter: `var(${this.var})`,\n }\n : {\n boxShadow: `var(${this.var})`,\n }\n\n return (\n \n \n \n {this.var}\n \n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAgB,8oC,MCQTC,EAAU,M,kEAOrB,MAAAC,GACE,MAAMC,EAAQC,KAAKC,OACf,CACEA,OAAQ,OAAOD,KAAKE,QAEtB,CACEC,UAAW,OAAOH,KAAKE,QAG7B,OACEE,EAACC,EAAI,CAACC,MAAM,eACVF,EAAA,QAAME,MAAM,mBAAmBP,MAAOA,GACpCK,EAAA,mBAAiBG,WAAYP,KAAKE,MACjCF,KAAKE,K"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-7ef0fda6.entry.js b/1704966176737/dist/build/p-7ef0fda6.entry.js deleted file mode 100644 index c5a21bc8cf..0000000000 --- a/1704966176737/dist/build/p-7ef0fda6.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as t,c as e,h as s,H as d,g as a}from"./p-21a69c18.js";const i="";let l=0;const n=class{constructor(s){t(this,s);this.ldtabchange=e(this,"ldtabchange",7);this.idDescriber=`ld-tabs-${l++}`;this.handleLdtabselect=t=>{t.stopImmediatePropagation();const e=t.target;this.updateTabs();this.updateTabPanels(e.id);this.ldtabchange.emit(e.id)}}updateTabs(){var t;(t=Array.from(this.el.querySelectorAll("ld-tab")).find((t=>t.hasAttribute("selected"))))===null||t===void 0?void 0:t.removeAttribute("selected")}updateTabPanels(t){var e,s;const d=Array.from(this.el.querySelectorAll("ld-tabpanel"));(e=d.find((t=>!t.hasAttribute("hidden"))))===null||e===void 0?void 0:e.setAttribute("hidden",undefined);(s=d.find((e=>e.getAttribute("aria-labelledby")===t)))===null||s===void 0?void 0:s.removeAttribute("hidden")}async switchTab(t){const e=typeof t==="number"?this.el.querySelectorAll("ld-tab")[t]:this.el.querySelector(`ld-tab#${t}`);if(!e){throw new Error(`Could not find ld-tab with ${typeof t==="number"?"index":"id"} ${typeof t==="number"?t:`"${t}"`}.`)}e.select()}componentDidRender(){let t;this.el.querySelectorAll("ld-tab").forEach(((e,s)=>{e.id=`${this.idDescriber}-tab-${s}`;if(e.selected){t=s}}));this.el.querySelectorAll("ld-tabpanel").forEach(((e,s)=>{e.setAttribute("aria-labelledby",`${this.idDescriber}-tab-${s}`);if(t===s){e.removeAttribute("hidden")}else{e.setAttribute("hidden","true")}}))}render(){return s(d,{onLdtabselect:this.handleLdtabselect,class:"ld-tabs"},s("slot",null))}get el(){return a(this)}};n.style=i;export{n as ld_tabs}; -//# sourceMappingURL=p-7ef0fda6.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-7ef0fda6.entry.js.map b/1704966176737/dist/build/p-7ef0fda6.entry.js.map deleted file mode 100644 index 0e8cffba23..0000000000 --- a/1704966176737/dist/build/p-7ef0fda6.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTabsShadowCss","tabsCount","LdTabs","constructor","hostRef","this","idDescriber","handleLdtabselect","ev","stopImmediatePropagation","currentLdTab","target","updateTabs","updateTabPanels","id","ldtabchange","emit","_a","Array","from","el","querySelectorAll","find","tab","hasAttribute","removeAttribute","tabId","tabPanels","tabpanel","setAttribute","undefined","_b","getAttribute","switchTab","identifier","newActiveTab","querySelector","Error","select","componentDidRender","selectedIndex","forEach","index","selected","render","h","Host","onLdtabselect","class"],"sources":["../src/liquid/components/ld-tabs/ld-tabs.shadow.css?tag=ld-tabs&encapsulation=shadow","../src/liquid/components/ld-tabs/ld-tabs.tsx"],"sourcesContent":[null,"import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n} from '@stencil/core'\nimport { LdTab } from './ld-tab/ld-tab'\n\nlet tabsCount = 0\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-tabs',\n styleUrl: 'ld-tabs.shadow.css',\n shadow: true,\n})\nexport class LdTabs {\n @Element() el: HTMLElement\n\n /** Emitted with the id of the selected tab. */\n @Event() ldtabchange: EventEmitter\n\n private idDescriber = `ld-tabs-${tabsCount++}`\n\n private updateTabs() {\n // TODO: fix Stencils DOM implementation for unit testing and replace\n // this.el.querySelector('[selected]')?.removeAttribute('selected')\n Array.from(this.el.querySelectorAll('ld-tab'))\n .find((tab) => tab.hasAttribute('selected'))\n ?.removeAttribute('selected')\n }\n\n private updateTabPanels(tabId: string) {\n // TODO: fix Stencils DOM implementation for unit testing and replace\n const tabPanels = Array.from(this.el.querySelectorAll('ld-tabpanel'))\n // this.el.querySelector('ld-tabpanel:not([hidden])')\n tabPanels\n .find((tabpanel) => !tabpanel.hasAttribute('hidden'))\n ?.setAttribute('hidden', undefined)\n // this.el.querySelector(`[aria-labelledby=\"${tabId}\"]`)\n tabPanels\n .find((tabpanel) => tabpanel.getAttribute('aria-labelledby') === tabId)\n ?.removeAttribute('hidden')\n }\n\n private handleLdtabselect = (ev: CustomEvent) => {\n ev.stopImmediatePropagation()\n const currentLdTab = ev.target as HTMLLdTabElement\n this.updateTabs()\n this.updateTabPanels(currentLdTab.id)\n this.ldtabchange.emit(currentLdTab.id)\n }\n\n /** Set selected tab to a certain index */\n @Method()\n async switchTab(identifier: number | string) {\n const newActiveTab =\n typeof identifier === 'number'\n ? this.el.querySelectorAll('ld-tab')[identifier]\n : this.el.querySelector(`ld-tab#${identifier}`)\n\n if (!newActiveTab) {\n throw new Error(\n `Could not find ld-tab with ${\n typeof identifier === 'number' ? 'index' : 'id'\n } ${typeof identifier === 'number' ? identifier : `\"${identifier}\"`}.`\n )\n }\n\n ;(newActiveTab as unknown as LdTab).select()\n }\n\n componentDidRender() {\n // Assign ids to tabs and use them in aria-describedby attributes of the corresponding tabpanels.\n // Memorize the index of the selected tab in order to hide all non-selected tabpanels.\n let selectedIndex\n this.el.querySelectorAll('ld-tab').forEach((tab, index) => {\n tab.id = `${this.idDescriber}-tab-${index}`\n if (tab.selected) {\n selectedIndex = index\n }\n })\n this.el.querySelectorAll('ld-tabpanel').forEach((tabpanel, index) => {\n tabpanel.setAttribute(\n 'aria-labelledby',\n `${this.idDescriber}-tab-${index}`\n )\n if (selectedIndex === index) {\n tabpanel.removeAttribute('hidden')\n } else {\n tabpanel.setAttribute('hidden', 'true')\n }\n })\n }\n\n render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,EAAUc,KACzDd,EAASC,aACP,kBACA,GAAGxB,KAAKC,mBAAmBoC,KAE7B,GAAIF,IAAkBE,EAAO,CAC3Bd,EAASH,gBAAgB,S,KACpB,CACLG,EAASC,aAAa,SAAU,O,KAKtC,MAAAe,GACE,OACEC,EAACC,EAAI,CAACC,cAAe1C,KAAKE,kBAAmByC,MAAM,WACjDH,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-7f19e682.entry.js.map b/1704966176737/dist/build/p-7f19e682.entry.js.map deleted file mode 100644 index d159fa5d9e..0000000000 --- a/1704966176737/dist/build/p-7f19e682.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldCircularProgressCss","LdCircularProgress","render","cl","getClassNames","this","brandColor","h","Host","class","role","style","Object","assign","ariaValuemax","undefined","ariaValuemin","ariaValuenow","viewBox","cx","cy","r"],"sources":["../src/liquid/components/ld-circular-progress/ld-circular-progress.css?tag=ld-circular-progress&encapsulation=shadow","../src/liquid/components/ld-circular-progress/ld-circular-progress.tsx"],"sourcesContent":[":host,\n.ld-circular-progress {\n --ld-circular-progress-valuemin: 0;\n --ld-circular-progress-valuemax: 100;\n --ld-circular-progress-valuenow: 0;\n --ld-circular-progress-size: 7.5rem;\n --ld-circular-progress-transition-duration: var(\n --ld-transition-duration-normal\n );\n --ld-circular-progress-stroke-mask: url('data:image/svg+xml;utf8,');\n\n /* colors */\n --ld-circular-progress-bar-col: var(--ld-thm-primary);\n --ld-circular-progress-bar-col-overflow: var(--ld-thm-error);\n --ld-circular-progress-bg-col: var(--ld-col-neutral-100);\n --ld-circular-progress-bg-col-overflow: var(--ld-thm-error);\n --ld-circular-progress-circle-bg-col: var(--ld-circular-progress-bg-col);\n --ld-circular-progress-circle-bg-col-overflow: var(\n --ld-circular-progress-bg-col-overflow\n );\n /* stylelint-disable-next-line number-max-precision */\n --ld-circular-progress-pi: 3.141592653589793;\n --ld-circular-progress-wht-overlay-col: var(--ld-col-wht-alpha-high);\n\n /* computed */\n --ld-circular-progress-calc-valuenow: max(\n 0,\n calc(\n var(--ld-circular-progress-valuenow) -\n var(--ld-circular-progress-valuemin)\n )\n );\n --ld-circular-progress-calc-valuemax: calc(\n var(--ld-circular-progress-valuemax) - var(--ld-circular-progress-valuemin)\n );\n --ld-circular-progress-calc-relative-progress: calc(\n var(--ld-circular-progress-calc-valuenow) /\n var(--ld-circular-progress-calc-valuemax)\n );\n --ld-circular-progress-has-overflow: clamp(\n 0,\n calc(\n (var(--ld-circular-progress-calc-relative-progress) - 1) * 99999999999\n ),\n 1\n );\n\n align-items: center;\n box-sizing: content-box !important;\n display: inline-flex;\n flex-direction: column;\n gap: var(--ld-sp-4);\n height: calc(\n var(--ld-circular-progress-size) - var(--ld-circular-progress-size) * 0.4\n );\n max-width: 100%;\n justify-content: center;\n padding: calc(var(--ld-circular-progress-size) * 0.165)\n calc(var(--ld-circular-progress-size) * 0.2)\n calc(var(--ld-circular-progress-size) * 0.235);\n position: relative;\n width: calc(\n var(--ld-circular-progress-size) - var(--ld-circular-progress-size) * 0.4\n );\n\n &::before,\n &::after {\n content: '';\n inset: 0;\n mask-image: var(--ld-circular-progress-stroke-mask);\n position: absolute;\n transition: opacity var(--ld-circular-progress-transition-duration) linear;\n }\n\n &::before {\n background-color: var(--ld-circular-progress-bg-col);\n opacity: calc(1 - var(--ld-circular-progress-has-overflow));\n }\n\n &::after {\n box-shadow: inset 0 0 0\n calc(var(--ld-circular-progress-has-overflow) * 99rem)\n var(--ld-circular-progress-wht-overlay-col),\n inset 0 0 0 calc(var(--ld-circular-progress-has-overflow) * 99rem)\n var(--ld-circular-progress-bg-col-overflow);\n opacity: var(--ld-circular-progress-has-overflow);\n position: absolute;\n }\n}\n\n:host(.ld-circular-progress--brand-color),\n.ld-circular-progress--brand-color {\n --ld-circular-progress-bar-col: var(--ld-col-wht);\n --ld-circular-progress-bg-col: var(--ld-thm-primary-focus);\n --ld-circular-progress-bg-col-overflow: var(--ld-thm-error-active);\n --ld-circular-progress-wht-overlay-col: var(--ld-col-wht-alpha-low);\n}\n\n/* HACK: Safari 7.1+ */\n/* stylelint-disable selector-type-no-unknown */\n_::-webkit-full-page-media,\n_:future,\n:root {\n --ld-circular-progress-bar-correction: 3.5px;\n}\n/* stylelint-enable selector-type-no-unknown */\n\n.ld-circular-progress__stroke {\n position: absolute;\n inset: 0;\n fill: none;\n mask-image: var(--ld-circular-progress-stroke-mask);\n transform: rotate(-90deg);\n width: 100%; /* required in Safari */\n z-index: 1;\n\n circle {\n transform-origin: center;\n stroke-width: 2.2;\n stroke-dasharray: calc(100 / var(--ld-circular-progress-pi));\n transition: opacity var(--ld-circular-progress-transition-duration) linear,\n stroke-dashoffset var(--ld-circular-progress-transition-duration) ease;\n\n &:first-of-type {\n stroke: var(--ld-circular-progress-bar-col);\n /* Safari does not support a negative stroke dash offset! */\n stroke-dashoffset: calc(\n -1 * min(0px, (\n -100px + var(--ld-circular-progress-calc-relative-progress) * (100px -\n var(--ld-circular-progress-bar-correction, 1px))\n ) / var(--ld-circular-progress-pi))\n );\n opacity: calc(1 - var(--ld-circular-progress-has-overflow));\n }\n &:last-of-type {\n stroke: var(--ld-circular-progress-bar-col-overflow);\n /* Safari does not support a negative stroke dash offset! */\n stroke-dashoffset: calc(\n -1 * max(-100px / var(--ld-circular-progress-pi), min(0px, (\n -100px + (\n var(--ld-circular-progress-calc-relative-progress) - 1\n ) * (100px - var(--ld-circular-progress-bar-correction, 1px))\n ) / var(--ld-circular-progress-pi)))\n );\n opacity: var(--ld-circular-progress-has-overflow);\n }\n }\n}\n","import { Component, h, Host, Prop } from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-circular-progress',\n styleUrl: 'ld-circular-progress.css',\n shadow: true,\n})\nexport class LdCircularProgress {\n /**\n * Defines the string value or identifies the element (or elements)\n * that label the progressbar element providing an accessible name.\n */\n @Prop({ reflect: true }) ariaLabeledby?: string\n\n /**\n * Set to a decimal value representing the maximum value, and greater\n * than aria-valuemin. If not present, the default value is 100.\n */\n @Prop({ reflect: true }) ariaValuemax? = 100\n\n /**\n * Set to a decimal value representing the minimum value, and less\n * than aria-valuemax. If not present, the default value is 0.\n */\n @Prop({ reflect: true }) ariaValuemin? = 0\n\n /**\n * Only present and required if the value is not indeterminate.\n * Set to a decimal value between 0, or valuemin if present,\n * and aria-valuemax indicating the current value of the progress bar.\n */\n @Prop({ reflect: true }) ariaValuenow?: number\n\n /**\n * Assistive technologies often present the value of aria-valuenow\n * as a percentage. If this would not be accurate use this property\n * to make the progress bar value understandable.\n */\n @Prop({ reflect: true }) ariaValuetext?: string\n\n // `onBrandColor` is not possible: Stencil expects `on*` props to be event handlers.\n /**\n * Styles the progress bar in a way that it looks good on the\n * primary color of the current theme.\n */\n @Prop() brandColor?: boolean\n\n render() {\n const cl = getClassNames([\n 'ld-circular-progress',\n this.brandColor && 'ld-circular-progress--brand-color',\n ])\n\n return (\n \n \n \n \n \n \n \n )\n }\n}\n"],"mappings":"iFAAA,MAAMA,EAAwB,q0I,MCYjBC,EAAkB,M,wEAWY,I,kBAMA,E,mFAuBzC,MAAAC,GACE,MAAMC,EAAKC,EAAc,CACvB,uBACAC,KAAKC,YAAc,sCAGrB,OACEC,EAACC,EAAI,CACHC,MAAON,EACPO,KAAK,cACLC,MAAKC,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACCR,KAAKS,eAAiBC,WAAa,CACrC,kCAAmCV,KAAKS,aAAe,KAErDT,KAAKW,eAAiBD,WAAa,CACrC,kCAAmCV,KAAKW,aAAe,KAErDX,KAAKY,eAAiBF,WAAa,CACrC,kCAAmCV,KAAKY,aAAe,MAI3DV,EAAA,OAAKE,MAAM,+BAA+BS,QAAQ,aAChDX,EAAA,UAAQY,GAAG,IAAIC,GAAG,IAAIC,EAAE,MACxBd,EAAA,UAAQY,GAAG,IAAIC,GAAG,IAAIC,EAAE,OAE1Bd,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-8157d479.entry.js.map b/1704966176737/dist/build/p-8157d479.entry.js.map deleted file mode 100644 index f83cd7c50c..0000000000 --- a/1704966176737/dist/build/p-8157d479.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldLabelCss","LdLabel","this","handleClick","async","event","inputElement","el","querySelector","notClickedInsideNotDisabled","target","contains","focusInner","focus","click","componentWillLoad","attributesObserver","cloneAttributes","call","disconnectedCallback","disconnect","render","cl","getClassNames","alignMessage","position","size","h","Object","assign","clonedAttributes","class","onClick","part"],"sources":["../src/liquid/components/ld-label/ld-label.css?tag=ld-label&encapsulation=shadow","../src/liquid/components/ld-label/ld-label.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n\n .ld-label {\n width: 100%;\n }\n}\n\n.ld-label {\n /* layout */\n --ld-label-column-gap: 0.625rem;\n --ld-label-row-gap: var(--ld-sp-6);\n\n /* colors */\n --ld-label-col: var(--ld-col-neutral-900);\n --ld-label-disabled-col: var(--ld-col-neutral-300);\n\n color: var(--ld-label-col);\n font: var(--ld-typo-label-s);\n display: inline-grid;\n gap: var(--ld-label-row-gap) 0;\n max-width: 100%;\n align-content: flex-start;\n}\n\n.ld-label--left,\n.ld-label--right {\n justify-content: flex-start;\n align-items: center;\n gap: 0 var(--ld-label-column-gap);\n\n > ::slotted(.ld-checkbox),\n > .ld-checkbox,\n > ::slotted(.ld-radio),\n > .ld-radio,\n > ::slotted(.ld-toggle),\n > .ld-toggle,\n > ::slotted(.ld-input),\n > .ld-input,\n > ::slotted(.ld-select),\n > .ld-select {\n grid-area: input;\n align-self: baseline;\n }\n\n > ::slotted(.ld-input-message),\n > .ld-input-message {\n grid-area: message;\n margin-top: var(--ld-sp-4);\n }\n}\n\n.ld-label--align-message {\n &.ld-label--left {\n > ::slotted(.ld-input-message),\n > .ld-input-message {\n grid-column-start: 2;\n }\n }\n\n &.ld-label--right {\n > ::slotted(.ld-input-message),\n > .ld-input-message {\n grid-column-end: 2;\n }\n }\n}\n\n.ld-label--left {\n grid-template-columns: 1fr auto;\n grid-template-areas:\n 'label input'\n 'message message';\n}\n\n.ld-label--right {\n grid-template-columns: auto 1fr;\n grid-template-areas:\n 'input label'\n 'message message';\n}\n\n.ld-label--m {\n font: var(--ld-typo-label-m);\n line-height: 1;\n}\n","import { Component, Element, h, Prop, State } from '@stencil/core'\nimport { cloneAttributes } from '../../utils/cloneAttributes'\nimport { getClassNames } from '../../utils/getClassNames'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part tag - Actual label element\n */\n@Component({\n tag: 'ld-label',\n styleUrl: 'ld-label.css',\n shadow: true,\n})\nexport class LdLabel implements ClonesAttributes {\n @Element() el: HTMLLabelElement\n\n private attributesObserver: MutationObserver\n\n /** Align input message with input position. */\n @Prop() for?: string\n\n /** Align input message with input position. */\n @Prop() alignMessage?: boolean\n\n /** Relative position to labeled element. Default is top. */\n @Prop() position?: 'left' | 'right'\n\n /** Size of the label. Default is small. */\n @Prop() size?: 'm'\n\n @State() clonedAttributes\n\n private handleClick = async (event: MouseEvent) => {\n const inputElement: HTMLElement = this.el.querySelector(\n 'ld-input, ld-textarea, ld-toggle, ld-select, ld-button, ld-checkbox, ld-radio, input, textarea, button, select'\n )\n const notClickedInsideNotDisabled =\n inputElement &&\n !(\n event.target === inputElement ||\n inputElement.contains(event.target as Node)\n ) &&\n !inputElement['disabled']\n\n if (notClickedInsideNotDisabled) {\n if ('focusInner' in inputElement) {\n await (inputElement as unknown as InnerFocusable).focusInner()\n } else {\n inputElement.focus()\n }\n\n inputElement.click()\n }\n }\n\n componentWillLoad() {\n this.attributesObserver = cloneAttributes.call(this, [\n 'align-message',\n 'position',\n 'size',\n ])\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n const cl = getClassNames([\n 'ld-label',\n this.alignMessage && 'ld-label--align-message',\n this.position && `ld-label--${this.position}`,\n this.size && `ld-label--${this.size}`,\n ])\n\n return (\n \n \n \n )\n }\n}\n"],"mappings":"0HAAA,MAAMA,EAAa,s4D,MCcNC,EAAO,M,yBAmBVC,KAAAC,YAAcC,MAAOC,IAC3B,MAAMC,EAA4BJ,KAAKK,GAAGC,cACxC,kHAEF,MAAMC,EACJH,KAEED,EAAMK,SAAWJ,GACjBA,EAAaK,SAASN,EAAMK,WAE7BJ,EAAa,YAEhB,GAAIG,EAA6B,CAC/B,GAAI,eAAgBH,EAAc,OACzBA,EAA2CM,Y,KAC7C,CACLN,EAAaO,O,CAGfP,EAAaQ,O,8HAIjB,iBAAAC,GACEb,KAAKc,mBAAqBC,EAAgBC,KAAKhB,KAAM,CACnD,gBACA,WACA,Q,CAIJ,oBAAAiB,GAEE,GAAIjB,KAAKc,mBAAoBd,KAAKc,mBAAmBI,Y,CAGvD,MAAAC,GACE,MAAMC,EAAKC,EAAc,CACvB,WACArB,KAAKsB,cAAgB,0BACrBtB,KAAKuB,UAAY,aAAavB,KAAKuB,WACnCvB,KAAKwB,MAAQ,aAAaxB,KAAKwB,SAGjC,OACEC,EAAA,QAAAC,OAAAC,OAAA,GACM3B,KAAK4B,iBAAgB,CACzBC,MAAOT,EACPU,QAAS9B,KAAKC,YACd8B,KAAK,QAELN,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-890d5ddc.entry.js.map b/1704966176737/dist/build/p-890d5ddc.entry.js.map deleted file mode 100644 index f4849ed78e..0000000000 --- a/1704966176737/dist/build/p-890d5ddc.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSliderShadowCss","findClosest","items","currValue","length","reduce","prevItem","item","Math","abs","findNext","filter","findPrev","sliderCount","LdSlider","this","idPrefix","handleTrackClick","ev","composedPath","el","afterStyles","getComputedStyle","paddingLeft","Number","parseInt","marginLeft","trackWidth","width","clickPosition","offsetX","newValue","round","max","min","values","index","indexOf","correctedValue","getCorrectedValue","splice","value","join","handleInput","target","isAriaDisabled","ariaDisabled","String","handleKeyDown","prevValue","stops","snapOffset","key","steps","undefined","preventDefault","snap","nextValue","swappable","stepToSnapTo","find","step","validateValue","correctValues","correctedValues","map","every","updateValues","autoCorrectValues","split","focusInner","_a","firstSliderRef","focus","preventScroll","updateState","valueLabel","Array","floor","fill","valueLabels","handleValueChange","success","ldchange","emit","componentWillLoad","render","cssValues","prev","curr","h","Host","class","getClassNames","hideValueLabels","size","onClick","role","style","Object","assign","negative","_","Fragment","id","part","labelFrom","labelTo","labelValue","disabled","unit","onInput","onKeyDown","ref","zIndex","tabindex","ldTabindex","type","hideValues","htmlFor","indicators","hideStopLabels"],"sources":["../src/liquid/components/ld-slider/ld-slider.shadow.css?tag=ld-slider&encapsulation=shadow","../src/liquid/components/ld-slider/ld-slider.tsx"],"sourcesContent":["@define-mixin ld-slider-track {\n width: 100%;\n height: 100%;\n background: none;\n}\n@define-mixin ld-slider-thumb {\n background: var(--ld-slider-thumb-col);\n border-radius: var(--ld-br-full);\n border: none;\n box-shadow: var(--ld-slider-thumb-box-shadow);\n box-sizing: border-box;\n height: var(--ld-slider-thumb-size);\n pointer-events: auto;\n width: var(--ld-slider-thumb-size);\n will-change: transform;\n}\n\n:host {\n /* thumbs shadow/outline */\n --ld-slider-disabled-thumb-box-shadow: 0 0 0 transparent;\n --ld-slider-thumb-box-shadow: var(--ld-slider-thumb-box-shadow-default);\n --ld-slider-thumb-box-shadow-default: var(--ld-shadow-stacked);\n --ld-slider-thumb-box-shadow-active: var(--ld-slider-thumb-box-shadow-default),\n 0 0 0 var(--ld-sp-6) var(--ld-thm-primary-alpha-lowest);\n --ld-slider-thumb-box-shadow-hover: var(--ld-slider-thumb-box-shadow-default),\n 0 0 0 var(--ld-sp-4) var(--ld-thm-primary-alpha-lowest);\n\n /* thumb size */\n --ld-slider-thumb-size: var(--ld-slider-thumb-size-md);\n --ld-slider-thumb-size-sm: var(--ld-sp-24);\n --ld-slider-thumb-size-md: var(--ld-sp-32);\n --ld-slider-thumb-size-lg: var(--ld-sp-40);\n\n /* positioning */\n --ld-slider-diff: calc(var(--max) - var(--min));\n --ld-slider-indicator-size: var(--ld-sp-6);\n --ld-slider-track-margin: calc(\n (var(--ld-slider-thumb-size) - var(--ld-slider-indicator-size)) / 2 -\n 0.0625rem\n );\n --ld-slider-radius: calc(var(--ld-slider-thumb-size) / 2);\n --ld-slider-useful-width: calc(\n var(--ld-slider-width) - var(--ld-slider-thumb-size)\n );\n\n /* colors */\n --ld-slider-thumb-col: var(--ld-col-wht);\n --ld-slider-disabled-thumb-col: var(--ld-col-neutral-200);\n --ld-slider-selected-col: var(--ld-slider-selected-col-default);\n --ld-slider-selected-col-default: var(--ld-thm-primary);\n --ld-slider-disabled-selected-col: var(--ld-col-neutral-200);\n\n /* animations */\n --ld-slider-animation-duration: 0s;\n\n @media (prefers-reduced-motion: no-preference) {\n --ld-slider-animation-duration: var(--ld-transition-duration-swift);\n }\n\n display: grid;\n font: var(--ld-typo-body-xs);\n grid-template-rows: max-content var(--ld-slider-thumb-size) max-content;\n pointer-events: none;\n position: relative;\n min-width: var(--ld-slider-width);\n width: var(--ld-slider-width);\n z-index: 0;\n\n &::after,\n &::before {\n grid-column: 1;\n grid-row: 2;\n border-radius: var(--ld-slider-radius);\n background: var(--ld-col-neutral-100);\n content: '';\n align-self: center;\n height: var(--ld-sp-8);\n margin: 0 var(--ld-slider-track-margin);\n will-change: transform;\n }\n\n &::after {\n background: var(--ld-slider-selected-col);\n cursor: pointer;\n mask: var(--fill);\n mask-composite: exclude;\n pointer-events: auto;\n }\n\n &([disabled]),\n &([aria-disabled=true]) {\n --ld-slider-selected-col: var(--ld-slider-disabled-selected-col);\n --ld-slider-thumb-box-shadow-default: var(\n --ld-slider-disabled-thumb-box-shadow\n );\n --ld-slider-thumb-col: var(--ld-slider-disabled-thumb-col);\n\n &::after {\n pointer-events: none;\n }\n\n .ld-slider__input {\n opacity: 1; /* iOS Safari fix */\n\n &::-webkit-slider-thumb {\n pointer-events: none;\n transform: scale(calc(2 / 3));\n }\n &::-moz-range-thumb {\n pointer-events: none;\n transform: scale(calc(2 / 3));\n }\n\n &:focus + .ld-slider__output--permanent::after {\n color: var(--ld-slider-selected-col-default);\n }\n\n &:focus:not(:focus-visible) + .ld-slider__output--permanent::after {\n color: inherit;\n }\n }\n }\n\n &(.ld-slider--padded) {\n padding-bottom: var(--ld-sp-6);\n }\n\n &(.ld-slider--sm) {\n --ld-slider-thumb-size: var(--ld-slider-thumb-size-sm);\n }\n\n &(.ld-slider--lg) {\n --ld-slider-thumb-size: var(--ld-slider-thumb-size-lg);\n }\n\n & * {\n --ld-slider-highlighted: 0;\n margin: 0;\n font: inherit;\n }\n\n .ld-slider__input {\n &::-webkit-slider-runnable-track,\n &::-webkit-slider-thumb,\n & {\n -webkit-appearance: none;\n }\n\n background: none;\n /* stylelint-disable-next-line plugin/no-unsupported-browser-features */\n cursor: grab;\n grid-column: 1;\n grid-row: 2;\n left: 0;\n top: 0;\n z-index: calc(3 + var(--ld-slider-highlighted));\n\n &::-webkit-slider-runnable-track {\n @mixin ld-slider-track;\n }\n &::-moz-range-track {\n @mixin ld-slider-track;\n z-index: 2;\n }\n\n &::-webkit-slider-thumb {\n @mixin ld-slider-thumb;\n }\n &::-moz-range-thumb {\n @mixin ld-slider-thumb;\n }\n\n &:active,\n &:focus-visible {\n outline: none;\n\n & + output {\n --ld-slider-highlighted: 1;\n }\n }\n\n &:focus,\n &:hover {\n --ld-slider-thumb-box-shadow: var(--ld-slider-thumb-box-shadow-hover);\n }\n\n &:active {\n --ld-slider-thumb-box-shadow: var(--ld-slider-thumb-box-shadow-active);\n /* stylelint-disable-next-line plugin/no-unsupported-browser-features */\n cursor: grabbing;\n outline: none;\n z-index: 4;\n }\n\n &:not(:active, :focus-visible, :hover) {\n --ld-slider-thumb-box-shadow: var(--ld-slider-thumb-box-shadow-default);\n }\n }\n\n .ld-slider__indicator,\n .ld-slider__value-label,\n .ld-slider__output {\n grid-column: 1;\n left: calc(\n (var(--now) - var(--min)) / var(--ld-slider-diff) *\n var(--ld-slider-useful-width) + var(--ld-slider-radius)\n );\n max-width: max-content;\n position: relative;\n }\n\n .ld-slider__indicator {\n aspect-ratio: 1;\n backdrop-filter: brightness(0.6) invert(1) hue-rotate(180deg);\n border-radius: var(--ld-br-full);\n grid-row: 2;\n height: var(--ld-slider-indicator-size);\n opacity: 0.5;\n top: var(--ld-slider-radius);\n transform: translate(-50%, -50%);\n z-index: 1;\n }\n\n .ld-slider__value-label {\n grid-row: 3;\n transform: translate(-50%);\n\n &--first {\n left: var(--ld-slider-track-margin);\n transform: none;\n }\n\n &--last {\n left: auto;\n position: absolute;\n right: var(--ld-slider-track-margin);\n transform: none;\n }\n }\n\n .ld-slider__output {\n font-weight: 700;\n grid-row: 1;\n opacity: var(--ld-slider-highlighted);\n transform: translate(-50%) scale(max(0.8, var(--ld-slider-highlighted)));\n transition: opacity var(--ld-slider-animation-duration) ease-out,\n transform var(--ld-slider-animation-duration) ease-out;\n color: var(--ld-col-wht);\n content: counter(now) var(--unit);\n counter-reset: now var(--now);\n margin-bottom: var(--ld-sp-16);\n\n &::before {\n background: var(--ld-slider-selected-col);\n border-radius: var(--ld-br-m);\n content: '';\n inset: 0;\n position: absolute;\n z-index: -1;\n }\n\n &::after {\n content: counter(now) var(--unit);\n counter-reset: now var(--now);\n display: block;\n padding: 0 var(--ld-sp-6);\n }\n\n &--permanent {\n color: var(--ld-slider-selected-col);\n opacity: 1;\n transform: translate(\n -50%,\n calc((var(--ld-slider-highlighted) - 1) * var(--ld-sp-12) * -1)\n );\n transition: transform var(--ld-slider-animation-duration) ease-out;\n\n &::before {\n opacity: var(--ld-slider-highlighted);\n transition: opacity var(--ld-slider-animation-duration) ease-out;\n }\n\n &::after {\n filter: invert(var(--ld-slider-highlighted))\n grayscale(var(--ld-slider-highlighted))\n contrast(max(1, calc(4 * var(--ld-slider-highlighted))));\n }\n }\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n Host,\n h,\n Prop,\n State,\n Watch,\n Method,\n} from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { isAriaDisabled } from '../../utils/ariaDisabled'\n\nconst findClosest = (items: number[], currValue: number) =>\n items.length\n ? items.reduce((prevItem, item) =>\n Math.abs(item - currValue) < Math.abs(prevItem - currValue)\n ? item\n : prevItem\n )\n : currValue\n\nconst findNext = (items: number[], currValue: number) =>\n findClosest(\n items.filter((item) => item > currValue),\n currValue\n )\n\nconst findPrev = (items: number[], currValue: number) =>\n findClosest(\n items.filter((item) => item < currValue),\n currValue\n )\n\nlet sliderCount = 0\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part indicator - Stop/step indicator div elements\n * @part input - `input` elements\n * @part label - `ld-sr-only` elements labelling an input\n * @part output - `output` elements\n * @part value-label - `div` element containing the max/min/stops values + unit\n */\n@Component({\n tag: 'ld-slider',\n styleUrl: 'ld-slider.shadow.css',\n shadow: true,\n})\nexport class LdSlider implements InnerFocusable {\n @Element() el: HTMLLdSliderElement\n private firstSliderRef?: HTMLInputElement\n private idPrefix = `ld-slider-${++sliderCount}`\n\n /** Alternative disabled state that keeps element focusable */\n @Prop() ariaDisabled: string\n /** Disabled state of the slider */\n @Prop() disabled? = false\n /** Prevents rendering of the stop labels below the slider */\n @Prop() hideStopLabels? = false\n /** Prevents rendering of the value labels below the slider */\n @Prop() hideValueLabels? = false\n /** Makes the current values only visible on interaction */\n @Prop() hideValues? = false\n /** Specifies the legal number intervals */\n @Prop() indicators? = false\n /** \"From\" value label (when exactly 2 values are given) */\n @Prop() labelFrom? = 'From'\n /** \"To\" value label (when exactly 2 values are given) */\n @Prop() labelTo? = 'To'\n /** \"Value\" label (when exactly 2 values are given) */\n @Prop() labelValue? = 'Value'\n /** Specifies the maximum value allowed */\n @Prop() max? = 100\n /** Specifies the minimum value allowed */\n @Prop() min? = 0\n /** Swap which areas are being marked as selected and deselected */\n @Prop() negative? = false\n /** Size of the thumb(s). */\n @Prop() size?: 'sm' | 'lg'\n /** Offset inside which a thumb snaps to a stop point */\n @Prop() snapOffset?: number\n /** Specifies the legal number intervals */\n @Prop() step?: number\n /** Adds custom stop points to the slider (instead of steps) */\n @Prop() stops?: string\n /** Allows swapping of thumbs */\n @Prop() swappable? = false\n /** Tab index of the input(s). */\n @Prop() ldTabindex?: number\n /** Adds custom stop points to the slider (instead of steps) */\n @Prop() unit?: string\n /** Specifies the default value */\n @Prop({ mutable: true, reflect: true }) value?: string | number | number[] =\n this.min\n /** Width of the slider */\n @Prop() width? = '100%'\n\n @State() valueLabels: number[] = []\n @State() steps: number[] = []\n @State() values: number[] = []\n\n @Event() ldchange: EventEmitter\n\n /** Focuses the toggle */\n @Method()\n async focusInner() {\n this.firstSliderRef?.focus({ preventScroll: true })\n }\n\n handleTrackClick = (ev: PointerEvent) => {\n if (ev.composedPath()[0] !== this.el) {\n return\n }\n\n const afterStyles = getComputedStyle(this.el, 'after')\n const paddingLeft =\n Number.parseInt(getComputedStyle(this.el).paddingLeft) || 0\n const marginLeft = Number.parseInt(afterStyles.marginLeft) || 0\n const trackWidth = Number.parseInt(afterStyles.width)\n const clickPosition = ev.offsetX - paddingLeft - marginLeft\n const newValue =\n Math.round((clickPosition / trackWidth) * (this.max - this.min)) +\n this.min\n const values = [...this.values]\n const index = values.indexOf(findClosest(values, newValue))\n const correctedValue = this.getCorrectedValue(newValue, index, values)\n\n values.splice(index, 1, correctedValue)\n this.value = values.join(',')\n }\n\n handleInput = (ev: Event, index: number) => {\n const target = ev.target as HTMLInputElement\n\n if (isAriaDisabled(this.ariaDisabled)) {\n target.value = String(this.values[index])\n return\n }\n\n const currValue = Number.parseInt(target.value, 10)\n const values = [...this.values]\n const correctedValue = this.getCorrectedValue(\n currValue,\n index,\n values,\n true\n )\n\n values[index] = correctedValue\n\n if (correctedValue !== currValue) {\n target.value = String(correctedValue)\n }\n\n const newValue = values.join(',')\n\n if (this.value !== newValue) {\n this.value = values.join(',')\n }\n }\n\n handleKeyDown = (ev: KeyboardEvent, index: number) => {\n const target = ev.target as HTMLInputElement\n\n if (isAriaDisabled(this.ariaDisabled)) {\n target.value = String(this.values[index])\n return\n }\n\n const prevValue = Number.parseInt(target.value, 10)\n const values = [...this.values]\n let currValue: number\n\n if (this.stops && !this.snapOffset) {\n switch (ev.key) {\n case 'ArrowDown':\n case 'ArrowLeft':\n currValue = findPrev(this.steps, prevValue)\n break\n case 'ArrowRight':\n case 'ArrowUp':\n currValue = findNext(this.steps, prevValue)\n }\n } else if (this.snapOffset) {\n switch (ev.key) {\n case 'ArrowDown':\n case 'ArrowLeft':\n currValue = prevValue - 1\n break\n case 'ArrowRight':\n case 'ArrowUp':\n currValue = prevValue + 1\n }\n }\n\n if (currValue === undefined) {\n return\n }\n\n ev.preventDefault()\n const correctedValue = this.getCorrectedValue(currValue, index, values)\n\n if (correctedValue === prevValue) {\n return\n }\n\n values[index] = correctedValue\n target.value = String(correctedValue)\n\n const newValue = values.join(',')\n\n if (this.value !== newValue) {\n this.value = values.join(',')\n }\n }\n\n getCorrectedValue = (\n currValue: number,\n index: number,\n values: number[],\n snap = false\n ) => {\n const prevValue = values[index - 1]\n const nextValue = values[index + 1]\n\n if (currValue < this.min) {\n return this.min\n }\n\n if (currValue > this.max) {\n return this.max\n }\n\n if (!this.swappable && prevValue > currValue) {\n return prevValue\n }\n\n if (!this.swappable && nextValue < currValue) {\n return nextValue\n }\n\n if (snap && this.snapOffset !== undefined) {\n const stepToSnapTo = this.steps.find(\n (step) =>\n currValue <= step + this.snapOffset &&\n currValue >= step - this.snapOffset\n )\n\n return stepToSnapTo ?? currValue\n }\n\n if (this.steps.length && this.snapOffset === undefined) {\n return findClosest(this.steps, currValue)\n }\n\n return currValue\n }\n\n validateValue = (currValue: number, index: number, values: number[]) =>\n currValue === this.getCorrectedValue(currValue, index, values)\n\n @Watch('max')\n @Watch('min')\n @Watch('step')\n @Watch('stops')\n updateState() {\n this.steps = this.stops\n ? [\n this.min,\n ...this.stops\n .split(',')\n .map((valueLabel) => Number.parseInt(valueLabel, 10)),\n this.max,\n ]\n : this.step\n ? Array(Math.floor((this.max - this.min) / this.step) + 1)\n .fill(this.min)\n .map((min, index) => min + index * this.step)\n : []\n\n this.valueLabels = this.stops ? [...this.steps] : [this.min, this.max]\n }\n\n @Watch('value')\n handleValueChange() {\n const success = this.updateValues()\n\n if (success) {\n this.ldchange.emit(this.values)\n }\n }\n\n correctValues = (values: number[]) => {\n const correctedValues = values.map(this.getCorrectedValue)\n\n if (!correctedValues.every(this.validateValue)) {\n return this.correctValues(correctedValues)\n }\n\n return correctedValues\n }\n\n updateValues = (autoCorrectValues = false) => {\n const values = String(this.value)\n .split(',')\n .map((value) => Number.parseInt(value, 10))\n\n if (!values.every(this.validateValue)) {\n if (autoCorrectValues) {\n this.value = this.correctValues(values).join(',')\n }\n return false\n }\n\n this.values = values\n return true\n }\n\n componentWillLoad() {\n this.updateState()\n this.updateValues(true)\n }\n\n render() {\n const cssValues = this.values.reduce>(\n (prev, curr, index) => {\n prev[`--value${index}`] = curr\n return prev\n },\n {}\n )\n\n return (\n `\nlinear-gradient(\n 90deg,\n red\n calc(\n var(--ld-slider-radius) - var(--ld-slider-track-margin) +\n (var(--value${index}) - var(--min)) / var(--ld-slider-diff) *\n (var(--ld-slider-useful-width)${\n this.width === '100%' ? ' + 2 * var(--ld-slider-track-margin)' : ''\n })\n ),\n transparent 0\n)`\n )\n .join(','),\n }}\n >\n {this.values.map((value, index) => (\n <>\n \n {this.values.length === 2\n ? index === 0\n ? this.labelFrom\n : this.labelTo\n : `${this.labelValue} ${index + 1}`}\n \n this.handleInput(ev, index)}\n onKeyDown={(ev) => this.handleKeyDown(ev, index)}\n part=\"input focusable\"\n ref={\n index === 0\n ? (ref) => {\n this.firstSliderRef = ref\n }\n : undefined\n }\n step={this.snapOffset !== undefined ? undefined : this.step}\n style={\n // prevents that thumb is not movable, when swappable prop is not set\n value === this.max && this.values[index - 1] === this.max\n ? {\n zIndex: '2',\n }\n : undefined\n }\n tabindex={this.ldTabindex}\n type=\"range\"\n value={value}\n />\n \n \n ))}\n {this.indicators &&\n this.steps.map((step) => (\n \n ))}\n {!this.hideValueLabels &&\n this.valueLabels.map(\n (valueLabel, index) =>\n (index === 0 ||\n index === this.valueLabels.length - 1 ||\n !this.hideStopLabels) && (\n \n {valueLabel}\n {this.unit}\n \n )\n )}\n \n )\n }\n}\n"],"mappings":"+IAAA,MAAMA,EAAoB,moOCgB1B,MAAMC,EAAc,CAACC,EAAiBC,IACpCD,EAAME,OACFF,EAAMG,QAAO,CAACC,EAAUC,IACtBC,KAAKC,IAAIF,EAAOJ,GAAaK,KAAKC,IAAIH,EAAWH,GAC7CI,EACAD,IAENH,EAEN,MAAMO,EAAW,CAACR,EAAiBC,IACjCF,EACEC,EAAMS,QAAQJ,GAASA,EAAOJ,IAC9BA,GAGJ,MAAMS,EAAW,CAACV,EAAiBC,IACjCF,EACEC,EAAMS,QAAQJ,GAASA,EAAOJ,IAC9BA,GAGJ,IAAIU,EAAc,E,MAgBLC,EAAQ,M,4DAGXC,KAAAC,SAAW,eAAeH,IA0DlCE,KAAAE,iBAAoBC,IAClB,GAAIA,EAAGC,eAAe,KAAOJ,KAAKK,GAAI,CACpC,M,CAGF,MAAMC,EAAcC,iBAAiBP,KAAKK,GAAI,SAC9C,MAAMG,EACJC,OAAOC,SAASH,iBAAiBP,KAAKK,IAAIG,cAAgB,EAC5D,MAAMG,EAAaF,OAAOC,SAASJ,EAAYK,aAAe,EAC9D,MAAMC,EAAaH,OAAOC,SAASJ,EAAYO,OAC/C,MAAMC,EAAgBX,EAAGY,QAAUP,EAAcG,EACjD,MAAMK,EACJvB,KAAKwB,MAAOH,EAAgBF,GAAeZ,KAAKkB,IAAMlB,KAAKmB,MAC3DnB,KAAKmB,IACP,MAAMC,EAAS,IAAIpB,KAAKoB,QACxB,MAAMC,EAAQD,EAAOE,QAAQpC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mB,IACV6E,QAAU7F,GAAOH,KAAK4B,YAAYzB,EAAIkB,GACtC4E,UAAY9F,GAAOH,KAAKiC,cAAc9B,EAAIkB,GAC1CqE,KAAK,kBACLQ,IACE7E,IAAU,EACL6E,IACClG,KAAKyD,eAAiByC,CAAG,EAE3B3D,UAENO,KAAM9C,KAAKoC,aAAeG,UAAYA,UAAYvC,KAAK8C,KACvDqC,MAEEzD,IAAU1B,KAAKkB,KAAOlB,KAAKoB,OAAOC,EAAQ,KAAOrB,KAAKkB,IAClD,CACEiF,OAAQ,KAEV5D,UAEN6D,SAAUpG,KAAKqG,WACfC,KAAK,QACL5E,MAAOA,IAETiD,EAAA,UACEE,MAAOC,EAAc,CACnB,qBACC9E,KAAKuG,YAAc,iCAEtBC,QAAS,GAAGxG,KAAKC,kBAAkBoB,IACnCgB,IAAK,UAAUhB,IACfqE,KAAK,SACLP,MAAO,CACL,QAAS,cAAc9D,KACvB,SAAU,KAAImC,EAAAxD,KAAK+F,QAAI,MAAAvC,SAAA,EAAAA,EAAI,SAG9B,IAEJxD,KAAKyG,YACJzG,KAAKsC,MAAMY,KAAKJ,GACd6B,EAAA,OACEE,MAAM,uBACNxC,IAAK,aAAaS,IAClB4C,KAAK,YACLP,MAAO,CAAE,QAASnD,OAAOc,SAG7B9C,KAAK+E,iBACL/E,KAAKiE,YAAYf,KACf,CAACW,EAAYxC,KACVA,IAAU,GACTA,IAAUrB,KAAKiE,YAAY5E,OAAS,IACnCW,KAAK0G,iBACN/B,EAAA,OACEE,MAAOC,EAAc,CACnB,yBACAzD,IAAU,GAAK,gCACfA,IAAUrB,KAAKiE,YAAY5E,OAAS,GAClC,iCAEJgD,IAAK,eAAewB,IACpB6B,KAAK,cACLP,MAAO,CAAE,QAASnD,OAAO6B,KAExBA,EACA7D,KAAK+F,Q"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-94719925.entry.js b/1704966176737/dist/build/p-94719925.entry.js deleted file mode 100644 index 9c9bb549eb..0000000000 --- a/1704966176737/dist/build/p-94719925.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as s,h as t}from"./p-21a69c18.js";const l=":host{display:contents}";const o=class{constructor(t){s(this,t);this.span=undefined}render(){return t("col",{class:"ld-table-col",span:this.span,part:"col"},t("slot",null))}};o.style=l;export{o as ld_table_col}; -//# sourceMappingURL=p-94719925.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-94719925.entry.js.map b/1704966176737/dist/build/p-94719925.entry.js.map deleted file mode 100644 index eaf170f8fd..0000000000 --- a/1704966176737/dist/build/p-94719925.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableColShadowCss","LdTableCol","render","h","class","span","this","part"],"sources":["../src/liquid/components/ld-table/ld-table-col/ld-table-col.shadow.css?tag=ld-table-col&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-col/ld-table-col.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n","import { Component, h, Prop } from '@stencil/core'\n\n/**\n * @part col - the actual col element\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-col',\n styleUrl: 'ld-table-col.shadow.css',\n shadow: true,\n})\nexport class LdTableCol {\n /** indicating the number of consecutive columns the colgroup element spans. */\n @Prop() span?: HTMLTableColElement['span']\n\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAsB,0B,MCYfC,EAAU,M,6CAIrB,MAAAC,GACE,OACEC,EAAA,OAAKC,MAAM,eAAeC,KAAMC,KAAKD,KAAME,KAAK,OAC9CJ,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-9833ecb4.entry.js.map b/1704966176737/dist/build/p-9833ecb4.entry.js.map deleted file mode 100644 index 5fc7862375..0000000000 --- a/1704966176737/dist/build/p-9833ecb4.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldCheckboxCss","LdCheckbox","this","handleChange","ev","el","dispatchEvent","InputEvent","ldchange","emit","checked","handleClick","disabled","isAriaDisabled","ariaDisabled","preventDefault","isTrusted","bubbles","composed","handleInput","ldinput","focusInner","input","undefined","focus","updateIndeterminate","indeterminate","updateHiddenInput","outerForm","closest","hiddenInput","name","form","createHiddenInput","remove","value","removeAttribute","setAttribute","getAttribute","document","createElement","type","style","visibility","position","pointerEvents","appendChild","componentWillLoad","attributesObserver","cloneAttributes","call","registerAutofocus","autofocus","disconnectedCallback","disconnect","render","cl","mode","tone","invalid","h","Host","part","class","getClassNames","onClick","Object","assign","clonedAttributes","onChange","onInput","ref","tabIndex","ldTabindex","width","height","fill","viewBox","d","stroke"],"sources":["../src/liquid/components/ld-checkbox/ld-checkbox.css?tag=ld-checkbox&encapsulation=shadow","../src/liquid/components/ld-checkbox/ld-checkbox.tsx"],"sourcesContent":[":host,\n.ld-checkbox {\n /* layout */\n --ld-checkbox-size: 1.25rem;\n\n /* colors */\n --ld-checkbox-bg-col: var(--ld-col-wht);\n --ld-checkbox-bg-col-hover: var(--ld-col-neutral-010);\n --ld-checkbox-bg-col-active: var(--ld-col-neutral-050);\n --ld-checkbox-disabled-col: var(--ld-col-neutral-300);\n --ld-checkbox-disabled-bg-col: var(--ld-col-neutral-100);\n --ld-checkbox-dark-bg-col: var(--ld-col-neutral-050);\n --ld-checkbox-dark-bg-col-hover: var(--ld-col-neutral-100);\n --ld-checkbox-dark-bg-col-active: var(--ld-col-neutral-300);\n --ld-checkbox-checked-col: var(--ld-col-wht);\n --ld-checkbox-checked-col-active: var(--ld-col-wht);\n\n /* themable colors */\n --ld-checkbox-col: var(--ld-thm-primary);\n --ld-checkbox-col-hover: var(--ld-thm-primary-hover);\n --ld-checkbox-col-active: var(--ld-thm-primary-active);\n --ld-checkbox-col-focus: var(--ld-thm-primary-focus);\n --ld-checkbox-invalid-col: var(--ld-thm-error);\n --ld-checkbox-invalid-col-hover: var(--ld-thm-error-hover);\n --ld-checkbox-invalid-col-focus: var(--ld-thm-error-focus);\n --ld-checkbox-invalid-col-active: var(--ld-thm-error-active);\n --ld-checkbox-warn-col: var(--ld-thm-warning);\n --ld-checkbox-warn-col-hover: var(--ld-thm-warning-hover);\n --ld-checkbox-warn-col-focus: var(--ld-thm-warning-focus);\n --ld-checkbox-warn-col-active: var(--ld-thm-warning-active);\n --ld-checkbox-warn-checked-col: var(--ld-thm-warning-active);\n --ld-checkbox-warn-checked-col-active: var(--ld-thm-warning-hover);\n\n position: relative;\n display: inline-flex;\n flex-shrink: 0;\n width: var(--ld-checkbox-size);\n height: var(--ld-checkbox-size);\n min-width: auto !important;\n box-sizing: border-box;\n\n input {\n appearance: none;\n background-color: transparent; /* Required for Mobile Sarari */\n height: 100%;\n inset: 0;\n margin: 0;\n position: absolute;\n width: 100%;\n z-index: 1;\n\n &:checked {\n ~ .ld-checkbox__check {\n visibility: inherit;\n }\n }\n\n &:indeterminate {\n ~ .ld-checkbox__box::before {\n content: '';\n position: absolute;\n width: 50%;\n height: var(--ld-sp-2);\n border-radius: var(--ld-sp-2);\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-shadow: inherit;\n z-index: 1;\n }\n }\n\n &:where(:disabled),\n &:where(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n ~ .ld-checkbox__check {\n color: var(--ld-checkbox-disabled-col);\n }\n ~ .ld-checkbox__box {\n background-color: transparent;\n box-shadow: inset 0 0 0 var(--ld-sp-2)\n var(--ld-checkbox-disabled-bg-col);\n }\n\n &:checked {\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-disabled-bg-col);\n }\n }\n }\n\n &:where(\n :not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n cursor: pointer;\n\n ~ .ld-checkbox__check {\n color: var(--ld-checkbox-col-active);\n }\n ~ .ld-checkbox__box {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col);\n }\n\n &:focus:focus-visible {\n ~ .ld-checkbox__box {\n background-color: transparent;\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col-focus);\n }\n }\n &:active,\n &:active:focus-visible {\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-bg-col-active);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col-active);\n }\n }\n\n &:checked {\n ~ .ld-checkbox__check {\n color: var(--ld-checkbox-checked-col);\n }\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-col);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col);\n }\n\n &:focus:focus-visible {\n ~ .ld-checkbox__check {\n color: var(--ld-checkbox-col-active);\n }\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-col-focus);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col-focus);\n }\n }\n &:active,\n &:active:focus-visible {\n ~ .ld-checkbox__check {\n color: var(--ld-checkbox-checked-col-active);\n }\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-col-active);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col-active);\n }\n }\n }\n }\n }\n\n :where(\n input:not(\n :disabled,\n input[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-bg-col);\n }\n\n @media (hover: hover) {\n &:hover {\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-bg-col-hover);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col-hover);\n }\n\n &:checked {\n ~ .ld-checkbox__check {\n color: var(--ld-checkbox-checked-col);\n }\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-col-hover);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-checkbox-col-hover);\n }\n }\n }\n }\n }\n}\n\n.ld-checkbox.ld-checkbox--dark,\n:host(.ld-checkbox.ld-checkbox--dark) {\n :where(input) {\n &:not(\n :disabled,\n input[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n ),\n :checked\n ) {\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-dark-bg-col);\n }\n\n @media (hover: hover) {\n &:hover {\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-dark-bg-col-hover);\n }\n }\n }\n\n &:active,\n &:active:focus-visible {\n ~ .ld-checkbox__box {\n background-color: var(--ld-checkbox-dark-bg-col-active);\n }\n }\n }\n }\n}\n\n.ld-checkbox__check {\n visibility: hidden;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n pointer-events: none;\n z-index: 1;\n}\n\n.ld-checkbox__box {\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n:host,\n.ld-checkbox,\n.ld-checkbox__box {\n border-radius: var(--ld-br-m);\n}\n\n:host(.ld-checkbox--highlight),\n.ld-checkbox--highlight {\n --ld-checkbox-col: var(--ld-checkbox-warn-col);\n --ld-checkbox-col-hover: var(--ld-checkbox-warn-col-hover);\n --ld-checkbox-col-focus: var(--ld-checkbox-warn-col-focus);\n --ld-checkbox-col-active: var(--ld-checkbox-warn-col-active);\n --ld-checkbox-checked-col: var(--ld-checkbox-warn-checked-col);\n --ld-checkbox-checked-col-active: var(--ld-checkbox-warn-checked-col-active);\n}\n\n:host(.ld-checkbox--invalid),\n:host(.ld-checkbox--danger),\n.ld-checkbox--invalid,\n.ld-checkbox--danger {\n --ld-checkbox-col: var(--ld-checkbox-invalid-col);\n --ld-checkbox-col-hover: var(--ld-checkbox-invalid-col-hover);\n --ld-checkbox-col-active: var(--ld-checkbox-invalid-col-active);\n --ld-checkbox-col-focus: var(--ld-checkbox-invalid-col-focus);\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { cloneAttributes } from '../../utils/cloneAttributes'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { registerAutofocus } from '../../utils/focus'\nimport { isAriaDisabled } from '../../utils/ariaDisabled'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part input - Actual input element\n */\n@Component({\n tag: 'ld-checkbox',\n styleUrl: 'ld-checkbox.css',\n shadow: true,\n})\nexport class LdCheckbox implements InnerFocusable, ClonesAttributes {\n @Element() el: HTMLInputElement\n\n private attributesObserver: MutationObserver\n\n private input: HTMLInputElement\n private hiddenInput: HTMLInputElement\n\n /** Alternative disabled state that keeps element focusable */\n @Prop() ariaDisabled: string\n\n /** Automatically focus the form control when the page is loaded. */\n @Prop({ reflect: true }) autofocus: boolean\n\n /** Indicates whether the checkbox is checked. */\n @Prop({ mutable: true }) checked? = false\n\n /** Disabled state of the checkbox. */\n @Prop() disabled?: boolean\n\n /** Associates the control with a form element. */\n @Prop() form?: string\n\n /**\n * Set this property to `true` to indicate that the checkbox's value is neither true nor false.\n * The prop is removed automatically as soon as the checkbox is clicked (if not disabled).\n */\n @Prop({ mutable: true }) indeterminate?: boolean\n\n /** Set this property to `true` in order to mark the checkbox visually as invalid. */\n @Prop() invalid?: boolean\n\n /** Tab index of the input. */\n @Prop() ldTabindex?: number\n\n /** Display mode. */\n @Prop() mode?: 'highlight' | 'danger'\n\n /** Used to specify the name of the control. */\n @Prop() name?: string\n\n /** The value is not editable. */\n @Prop() readonly?: boolean\n\n /** Set this property to `true` in order to mark the checkbox as required. */\n @Prop() required?: boolean\n\n /** Checkbox tone. Use `'dark'` on white backgrounds. Default is a light tone. */\n @Prop() tone?: 'dark'\n\n /** The input value. */\n @Prop() value?: string\n\n @State() clonedAttributes\n\n /** Emitted when the input value changed and the element loses focus. */\n @Event() ldchange: EventEmitter\n\n /** Emitted when the input value changed. */\n @Event() ldinput: EventEmitter\n\n /** Sets focus on the checkbox. */\n @Method()\n async focusInner() {\n if (this.input !== undefined) {\n this.input.focus()\n }\n }\n\n @Watch('checked')\n updateIndeterminate() {\n this.indeterminate = undefined\n }\n\n @Watch('checked')\n @Watch('form')\n @Watch('name')\n @Watch('value')\n updateHiddenInput() {\n const outerForm = this.el.closest('form')\n if (!this.hiddenInput && this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n }\n\n if (this.hiddenInput) {\n if (!this.name) {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n return\n }\n\n this.hiddenInput.name = this.name\n this.hiddenInput.checked = this.checked\n\n if (this.value) {\n this.hiddenInput.value = this.value\n } else {\n this.hiddenInput.removeAttribute('value')\n }\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n } else if (this.hiddenInput.getAttribute('form')) {\n if (outerForm) {\n this.hiddenInput.removeAttribute('form')\n } else {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n }\n }\n }\n }\n\n private createHiddenInput() {\n this.hiddenInput = document.createElement('input')\n this.hiddenInput.type = 'checkbox'\n this.hiddenInput.style.visibility = 'hidden'\n this.hiddenInput.style.position = 'absolute'\n this.hiddenInput.style.pointerEvents = 'none'\n this.el.appendChild(this.hiddenInput)\n }\n\n private handleChange = (ev: InputEvent) => {\n this.el.dispatchEvent(new InputEvent('change', ev))\n this.ldchange.emit(this.checked)\n }\n\n private handleClick = (ev: MouseEvent) => {\n if (this.disabled || isAriaDisabled(this.el.ariaDisabled)) {\n ev.preventDefault()\n return\n }\n\n this.checked = !this.checked\n\n if (!ev.isTrusted) {\n // This happens, when a click event is dispatched on the host element\n // from the outside i.e. on click on a parent ld-label element.\n this.el.dispatchEvent(\n new InputEvent('input', { bubbles: true, composed: true })\n )\n this.handleInput()\n this.el.dispatchEvent(new InputEvent('change', { bubbles: true }))\n this.ldchange.emit(this.checked)\n }\n }\n\n private handleInput = () => {\n this.ldinput.emit(this.checked)\n }\n\n componentWillLoad() {\n this.attributesObserver = cloneAttributes.call(this, ['tone', 'mode'])\n\n const outerForm = this.el.closest('form')\n\n if (this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n this.hiddenInput.checked = this.checked\n this.hiddenInput.name = this.name\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n }\n\n if (this.value) {\n this.hiddenInput.value = this.value\n }\n }\n\n registerAutofocus(this.autofocus)\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n const cl = [\n 'ld-checkbox',\n this.mode && `ld-checkbox--${this.mode}`,\n this.tone && `ld-checkbox--${this.tone}`,\n this.invalid && 'ld-checkbox--invalid',\n ]\n\n return (\n \n (this.input = ref)}\n tabIndex={this.ldTabindex}\n value={this.value}\n />\n {/* custom icon check */}\n \n \n \n
    \n
    \n )\n }\n}\n"],"mappings":"2MAAA,MAAMA,EAAgB,0tY,MC2BTC,EAAU,M,6FA0HbC,KAAAC,aAAgBC,IACtBF,KAAKG,GAAGC,cAAc,IAAIC,WAAW,SAAUH,IAC/CF,KAAKM,SAASC,KAAKP,KAAKQ,QAAQ,EAG1BR,KAAAS,YAAeP,IACrB,GAAIF,KAAKU,UAAYC,EAAeX,KAAKG,GAAGS,cAAe,CACzDV,EAAGW,iBACH,M,CAGFb,KAAKQ,SAAWR,KAAKQ,QAErB,IAAKN,EAAGY,UAAW,CAGjBd,KAAKG,GAAGC,cACN,IAAIC,WAAW,QAAS,CAAEU,QAAS,KAAMC,SAAU,QAErDhB,KAAKiB,cACLjB,KAAKG,GAAGC,cAAc,IAAIC,WAAW,SAAU,CAAEU,QAAS,QAC1Df,KAAKM,SAASC,KAAKP,KAAKQ,Q,GAIpBR,KAAAiB,YAAc,KACpBjB,KAAKkB,QAAQX,KAAKP,KAAKQ,QAAQ,E,kEArIG,M,2RAgDpC,gBAAMW,GACJ,GAAInB,KAAKoB,QAAUC,UAAW,CAC5BrB,KAAKoB,MAAME,O,EAKf,mBAAAC,GACEvB,KAAKwB,cAAgBH,S,CAOvB,iBAAAI,GACE,MAAMC,EAAY1B,KAAKG,GAAGwB,QAAQ,QAClC,IAAK3B,KAAK4B,aAA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KAAK4B,YAAYK,MAAQjC,KAAKiC,K,EAIlCgB,EAAkBjD,KAAKkD,U,CAGzB,oBAAAC,GAEE,GAAInD,KAAK8C,mBAAoB9C,KAAK8C,mBAAmBM,Y,CAGvD,MAAAC,GACE,MAAMC,EAAK,CACT,cACAtD,KAAKuD,MAAQ,gBAAgBvD,KAAKuD,OAClCvD,KAAKwD,MAAQ,gBAAgBxD,KAAKwD,OAClCxD,KAAKyD,SAAW,wBAGlB,OACEC,EAACC,EAAI,CAACC,KAAK,OAAOC,MAAOC,EAAcR,GAAKS,QAAS/D,KAAKS,aACxDiD,EAAA,QAAAM,OAAAC,OAAA,CACE1B,KAAK,YACDvC,KAAKkE,iBAAgB,CACzB1D,QAASR,KAAKQ,QACdE,SAAUV,KAAKU,SACfc,cAAexB,KAAKwB,cACpB2C,SAAUnE,KAAKC,aACfmE,QAASpE,KAAKiB,YACd2C,KAAK,kBACLS,IAAMA,GAASrE,KAAKoB,MAAQiD,EAC5BC,SAAUtE,KAAKuE,WACftC,MAAOjC,KAAKiC,SAGdyB,EAAA,OACEG,MAAM,qBACND,KAAK,QACLY,MAAM,KACNC,OAAO,KACPC,KAAK,OACLC,QAAQ,aAERjB,EAAA,QACEkB,EAAE,6BACFC,OAAO,eAAc,eACR,IAAG,iBACD,QAAO,kBACN,WAGpBnB,EAAA,OAAKG,MAAM,mBAAmBD,KAAK,Q"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-98b11beb.entry.js b/1704966176737/dist/build/p-98b11beb.entry.js deleted file mode 100644 index a3e19f4b5e..0000000000 --- a/1704966176737/dist/build/p-98b11beb.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as i,c as t,h as a,H as n}from"./p-21a69c18.js";import{g as o}from"./p-1133c92e.js";const s='.ld-pagination{--ld-pagination-animation-duration:var(--ld-transition-duration-instant);--ld-pagination-sm-item-size:2rem;--ld-pagination-md-item-size:2.5rem;--ld-pagination-lg-item-size:3.125rem;--ld-pagination-column-size:var(--ld-pagination-default-column-size);--ld-pagination-default-column-size:calc(var(--ld-pagination-item-size) + var(--ld-pagination-items-space));--ld-pagination-dot-col:var(--ld-thm-primary);--ld-pagination-dots-indicator-size:calc(var(--ld-pagination-dots-size) + var(--ld-sp-8));--ld-pagination-dots-indicator-size-active:calc(var(--ld-pagination-dots-size) + var(--ld-sp-12));--ld-pagination-dots-sm-size:0.25rem;--ld-pagination-dots-md-size:0.375rem;--ld-pagination-dots-lg-size:0.5rem;--ld-pagination-dots-size:var(--ld-pagination-dots-md-size);--ld-pagination-dots-sm-space:var(--ld-sp-8);--ld-pagination-dots-md-space:var(--ld-sp-12);--ld-pagination-dots-lg-space:var(--ld-sp-16);--ld-pagination-dots-space:var(--ld-pagination-dots-md-space);--ld-pagination-item-size:var(--ld-pagination-md-item-size);--ld-pagination-items-space:var(--ld-sp-4);--ld-pagination-marker-col:var(--ld-thm-primary-alpha-lowest);--ld-pagination-more-indicator-font:var(--ld-typo-body-m);--ld-pagination-primary-col:var(--ld-thm-primary);--ld-pagination-selected-col:var(--thm-primary-active);align-items:center;display:inline-flex;list-style:none;margin:0;padding:var(--ld-sp-1);position:relative}.ld-pagination--sm{--ld-pagination-more-indicator-font:var(--ld-typo-body-s);--ld-pagination-item-size:var(--ld-pagination-sm-item-size);--ld-pagination-dots-size:var(--ld-pagination-dots-sm-size);--ld-pagination-dots-space:var(--ld-pagination-dots-sm-space)}.ld-pagination--lg{--ld-pagination-more-indicator-font:var(--ld-typo-body-l);--ld-pagination-item-size:var(--ld-pagination-lg-item-size);--ld-pagination-dots-size:var(--ld-pagination-dots-lg-size);--ld-pagination-dots-space:var(--ld-pagination-dots-lg-space)}.ld-pagination--brand-color{--ld-pagination-marker-col:var(--ld-col-wht-alpha-lowest);--ld-pagination-dot-col:var(--ld-col-wht);--ld-pagination-primary-col:var(--ld-col-wht);--ld-pagination-selected-col:var(--ld-col-wht)}.ld-pagination--brand-color ld-button::part(button){color:var(--ld-col-wht)}.ld-pagination--brand-color ld-button::part(button):hover{background-color:var(--ld-col-wht-alpha-low)}.ld-pagination__arrow:not(:last-child),.ld-pagination__sticky{margin-right:var(--ld-pagination-items-space)}.ld-pagination__item,.ld-pagination__sticky{width:var(--ld-pagination-item-size)}.ld-pagination__item ld-button::part(button),.ld-pagination__sticky ld-button::part(button){padding:0}.ld-pagination__item,.ld-pagination__more-indicator{opacity:0;transition:opacity var(--ld-transition-duration-quick) linear}.ld-pagination__item--visible,.ld-pagination__more-indicator--visible{opacity:1}.ld-pagination__more-indicator{color:var(--ld-pagination-primary-col);font:var(--ld-pagination-more-indicator-font);font-weight:700;height:var(--ld-pagination-item-size);line-height:1;pointer-events:none;position:relative}.ld-pagination__more-indicator--end{right:var(--ld-pagination-column-size)}.ld-pagination__more-indicator span{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;white-space:nowrap;width:var(--ld-pagination-item-size)}.ld-pagination__slide-wrapper{height:var(--ld-pagination-item-size);position:relative;width:calc(var(--ld-pagination-slider-cols) * var(--ld-pagination-column-size))}.ld-pagination__slide-wrapper--transitioning{overflow:hidden}.ld-pagination__items{display:inline-flex;list-style:none;padding:0;pointer-events:none;position:absolute;transform:translateX(calc(var(--ld-pagination-slide-index) * var(--ld-pagination-column-size) * -1));transition:transform var(--ld-transition-duration-quick) ease}.ld-pagination__item{left:calc(var(--ld-pagination-item-pos) * var(--ld-pagination-column-size));position:absolute}.ld-pagination__item--visible{pointer-events:auto}.ld-pagination__item--selected ld-button{--ld-button-bg-col:#0000}.ld-pagination__item--selected ld-button::part(button){color:var(--ld-pagination-selected-col);font-weight:900}.ld-pagination__item--selected ld-button .ld-pagination__dot{background-color:var(--ld-pagination-primary-col)}.ld-pagination__marker{background:var(--ld-pagination-marker-col);border-radius:var(--ld-br-m);height:var(--ld-pagination-item-size);position:absolute;transform:translateX(calc(var(--ld-pagination-column-size) * var(--ld-pagination-selected-index)));transition:transform var(--ld-pagination-animation-duration) ease,opacity var(--ld-pagination-animation-duration) ease;width:var(--ld-pagination-item-size);z-index:-1}@media (prefers-reduced-motion:no-preference){.ld-pagination__marker{--ld-pagination-animation-duration:var(--ld-transition-duration-quick)}}.ld-pagination__marker--hidden{opacity:0}.ld-pagination--dots{--ld-pagination-item-size:var(--ld-pagination-dots-size);--ld-pagination-items-space:var(--ld-pagination-dots-space);--ld-pagination-column-size:max(var(--ld-pagination-default-column-size),var(--ld-pagination-dots-indicator-size))}.ld-pagination--dots .ld-pagination__arrow:not(:last-child),.ld-pagination--dots .ld-pagination__sticky{margin-right:var(--ld-sp-4)}.ld-pagination--dots .ld-pagination__slide-wrapper{height:var(--ld-pagination-column-size);margin-right:var(--ld-sp-4)}.ld-pagination--dots .ld-pagination__item{align-items:center;display:flex;height:var(--ld-pagination-column-size);justify-content:center;left:calc(var(--ld-pagination-item-pos) * var(--ld-pagination-column-size));width:var(--ld-pagination-column-size)}.ld-pagination--dots .ld-pagination__item:not(.ld-pagination__item--selected) .ld-pagination__dot:after{background-color:var(--ld-pagination-primary-col);opacity:.3}.ld-pagination__dot{align-items:center;display:flex;height:var(--ld-pagination-column-size);justify-content:center;width:var(--ld-pagination-column-size)}.ld-pagination__dot::part(button){align-items:center;border-radius:var(--ld-br-full);display:flex;height:var(--ld-pagination-dots-indicator-size);justify-content:center;min-height:auto;min-width:auto;position:absolute;width:var(--ld-pagination-dots-indicator-size)}.ld-pagination__dot::part(button):active{height:var(--ld-pagination-dots-indicator-size-active);width:var(--ld-pagination-dots-indicator-size-active)}.ld-pagination__dot::part(button):focus{outline-color:var(--ld-thm-primary);outline-offset:calc(var(--ld-sp-1) * -1)}.ld-pagination__dot::part(button):focus:not(:focus-visible){outline:none}.ld-pagination__dot:after{background-color:var(--ld-pagination-dot-col);border-radius:50%;content:"";height:var(--ld-pagination-dots-size);pointer-events:none;position:absolute;width:var(--ld-pagination-dots-size)}';const e=20;const l=class{constructor(n){i(this,n);this.ldchange=t(this,"ldchange",7);this.handleTransitionEnd=()=>{this.transitioning=false};this.handleTransitionStart=()=>{this.transitioning=true};this.renderItem=(i,t,n)=>{const s=this.mode==="dots";const e=(this.renderMoreIndicators||s)&&(in);const l=i===this.selectedIndex+1;return a("li",{"aria-hidden":e?"true":undefined,class:o(["ld-pagination__item",!e&&"ld-pagination__item--visible",l&&"ld-pagination__item--selected"]),key:i,style:{"--ld-pagination-item-pos":`${i-1}`}},a("ld-button",{"aria-current":l?"true":undefined,"aria-label":e?undefined:`${this.itemLabel} ${i}`,class:s?"ld-pagination__dot":undefined,"ld-tabindex":e?-1:undefined,mode:"ghost",onClick:()=>{this.selectedIndex=i-1},part:"item focusable",size:this.size},!s&&i))};this.calculateSliderContent=()=>{const i=this.maxSliderColumns+this.sticky-1;const t=this.length-this.maxSliderColumns-this.sticky+1;this.sliderContent=this.slidableItems.filter((a=>a>this.selectedIndex-e&&a<=this.selectedIndex+e||(!this.hideStartEnd||this.sticky>0)&&(a<=i||a>t)))};this.brandColor=undefined;this.endLabel=undefined;this.hidePrevNext=false;this.hideStartEnd=false;this.itemLabel="Page";this.length=Infinity;this.mode="numbers";this.nextLabel=undefined;this.offset=2;this.prevLabel=undefined;this.selectedIndex=0;this.size=undefined;this.space=undefined;this.startLabel=undefined;this.sticky=0;this.maxSliderColumns=0;this.renderMoreIndicators=false;this.renderSticky=false;this.slidableItems=[];this.sliderContent=[];this.transitioning=false;this.visibleItemsInSlider=0}handleSelectedIndex(){if(this.selectedIndex<-1){this.selectedIndex=-1}else if(this.selectedIndex>=this.length){this.selectedIndex=this.length-1}else{this.ldchange.emit(this.selectedIndex)}}componentWillLoad(){this.visibleItemsInSlider=this.offset*2+1;const i=this.sticky*2+this.visibleItemsInSlider;this.maxSliderColumns=this.visibleItemsInSlider+2;this.renderSticky=this.sticky>0&&this.mode!=="dots";this.renderMoreIndicators=this.mode!=="dots"&&this.length>i+2;this.slidableItems=Array.from({length:this.length===Infinity?9999:this.length-this.sticky*2}).map(((i,t)=>t+this.sticky+1));if(this.length<1){this.length=1}if(this.selectedIndex<-1){this.selectedIndex=-1}else if(this.selectedIndex>=this.length){this.selectedIndex=this.length-1}this.calculateSliderContent()}componentDidLoad(){if(this.wrapperRef){this.wrapperRef.addEventListener("transitionstart",this.handleTransitionStart);this.wrapperRef.addEventListener("transitionend",this.handleTransitionEnd)}}disconnectedCallback(){if(this.wrapperRef){this.wrapperRef.removeEventListener("transitionstart",this.handleTransitionStart);this.wrapperRef.removeEventListener("transitionend",this.handleTransitionEnd)}}render(){const i=this.mode==="dots";const t=i&&this.space?{"--ld-pagination-dots-space":this.space==="0"?"0px":this.space}:undefined;const s=this.renderMoreIndicators&&this.selectedIndex>this.sticky+this.offset+1;const e=this.renderMoreIndicators&&this.selectedIndex{this.selectedIndex=0},part:"arrow start focusable",size:this.size},this.startLabel?this.startLabel:a("ld-icon",{name:"arrow-double-left",size:this.size}))),!this.hidePrevNext&&a("li",{class:"ld-pagination__arrow"},a("ld-button",{"aria-label":this.prevLabel?undefined:`Previous ${this.itemLabel.toLocaleLowerCase()}`,disabled:this.selectedIndex<1,mode:"ghost",onClick:()=>{if(this.selectedIndex<1)return;this.selectedIndex-=1},part:"arrow prev focusable",size:this.size},this.prevLabel?this.prevLabel:a("ld-icon",{name:"arrow-left",size:this.size}))),this.renderSticky&&Array.from({length:Math.min(this.sticky,this.length)}).map(((i,t)=>a("li",{class:"ld-pagination__sticky"},a("ld-button",{"aria-label":`${this.itemLabel} ${t+1}`,mode:"ghost",onClick:()=>{this.selectedIndex=t},part:"sticky item focusable",size:this.size},t+1)))),this.renderMoreIndicators&&a("li",{class:o(["ld-pagination__more-indicator",s&&"ld-pagination__more-indicator--visible"]),part:"more-indicator"},a("span",null,". . .")),a("li",{class:o(["ld-pagination__slide-wrapper",this.transitioning&&"ld-pagination__slide-wrapper--transitioning"]),part:"slide-wrapper",ref:i=>this.wrapperRef=i,style:{"--ld-pagination-slider-cols":`${Math.min(this.slidableItems.length,this.maxSliderColumns)}`}},a("ul",{class:"ld-pagination__items",part:"items",style:{"--ld-pagination-slide-index":`${Math.max(Math.min(this.selectedIndex-this.offset-1,this.length-this.visibleItemsInSlider-this.sticky-2),Math.min(this.sticky,this.length),0)}`}},!i&&a("li",{class:o(["ld-pagination__marker",this.selectedIndex<0&&"ld-pagination__marker--hidden"]),key:"marker",onTransitionEnd:this.calculateSliderContent,part:"marker",style:{"--ld-pagination-selected-index":`${Math.max(this.selectedIndex,0)}`}}),this.length>0&&this.sliderContent.map((i=>this.renderItem(i,l,d))))),this.renderMoreIndicators&&a("li",{class:o(["ld-pagination__more-indicator ld-pagination__more-indicator--end",e&&"ld-pagination__more-indicator--visible"]),part:"more-indicator"},a("span",null,". . .")),this.renderSticky&&this.length{const n=this.length-t;if(n<=this.sticky){return null}return a("li",{class:"ld-pagination__sticky"},a("ld-button",{mode:"ghost",onClick:()=>{this.selectedIndex=n-1},part:"sticky item focusable",size:this.size},n))})).reverse(),!this.hidePrevNext&&a("li",{class:"ld-pagination__arrow"},a("ld-button",{"aria-label":this.nextLabel?undefined:`Next ${this.itemLabel.toLocaleLowerCase()}`,disabled:this.selectedIndex>=this.length-1,mode:"ghost",onClick:()=>{if(this.selectedIndex>=this.length-1)return;this.selectedIndex+=1},part:"arrow next focusable",size:this.size},this.nextLabel?this.nextLabel:a("ld-icon",{name:"arrow-right",size:this.size}))),this.length=this.length-1,mode:"ghost",onClick:()=>{this.selectedIndex=this.length-1},part:"arrow end focusable",size:this.size},this.endLabel?this.endLabel:a("ld-icon",{name:"arrow-double-right",size:this.size})))))}static get assetsDirs(){return["assets"]}static get watchers(){return{selectedIndex:["handleSelectedIndex"],length:["componentWillLoad"],mode:["componentWillLoad"],offset:["componentWillLoad"],sticky:["componentWillLoad"]}}};l.style=s;export{l as ld_pagination}; -//# sourceMappingURL=p-98b11beb.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-98b11beb.entry.js.map b/1704966176737/dist/build/p-98b11beb.entry.js.map deleted file mode 100644 index 63c53870b9..0000000000 --- a/1704966176737/dist/build/p-98b11beb.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldPaginationShadowCss","BUFFER_SIZE","LdPagination","this","handleTransitionEnd","transitioning","handleTransitionStart","renderItem","itemNumber","showFrom","showTo","isDots","mode","isHidden","renderMoreIndicators","isSelected","selectedIndex","h","undefined","class","getClassNames","key","style","itemLabel","onClick","part","size","calculateSliderContent","directlyReachableFirstItems","maxSliderColumns","sticky","directlyReachableLastItems","length","sliderContent","slidableItems","filter","hideStartEnd","Infinity","handleSelectedIndex","ldchange","emit","componentWillLoad","visibleItemsInSlider","offset","maxVisibleItems","renderSticky","Array","from","map","_","index","componentDidLoad","wrapperRef","addEventListener","disconnectedCallback","removeEventListener","render","styleDots","space","showStartMoreIndicator","showEndMoreIndicator","Math","max","min","Host","role","brandColor","startLabel","toLocaleLowerCase","disabled","name","hidePrevNext","prevLabel","ref","onTransitionEnd","reverse","nextLabel","endLabel"],"sources":["../src/liquid/components/ld-pagination/ld-pagination.shadow.css?tag=ld-pagination&encapsulation=shadow","../src/liquid/components/ld-pagination/ld-pagination.tsx"],"sourcesContent":[".ld-pagination {\n /* Not using 0s here because we rely on the transition end event. */\n --ld-pagination-animation-duration: var(--ld-transition-duration-instant);\n --ld-pagination-sm-item-size: 2rem;\n --ld-pagination-md-item-size: 2.5rem;\n --ld-pagination-lg-item-size: 3.125rem;\n --ld-pagination-column-size: var(--ld-pagination-default-column-size);\n --ld-pagination-default-column-size: calc(\n var(--ld-pagination-item-size) + var(--ld-pagination-items-space)\n );\n --ld-pagination-dot-col: var(--ld-thm-primary);\n --ld-pagination-dots-indicator-size: calc(\n var(--ld-pagination-dots-size) + var(--ld-sp-8)\n );\n --ld-pagination-dots-indicator-size-active: calc(\n var(--ld-pagination-dots-size) + var(--ld-sp-12)\n );\n --ld-pagination-dots-sm-size: 0.25rem;\n --ld-pagination-dots-md-size: 0.375rem;\n --ld-pagination-dots-lg-size: 0.5rem;\n --ld-pagination-dots-size: var(--ld-pagination-dots-md-size);\n --ld-pagination-dots-sm-space: var(--ld-sp-8);\n --ld-pagination-dots-md-space: var(--ld-sp-12);\n --ld-pagination-dots-lg-space: var(--ld-sp-16);\n --ld-pagination-dots-space: var(--ld-pagination-dots-md-space);\n --ld-pagination-item-size: var(--ld-pagination-md-item-size);\n --ld-pagination-items-space: var(--ld-sp-4);\n --ld-pagination-marker-col: var(--ld-thm-primary-alpha-lowest);\n --ld-pagination-more-indicator-font: var(--ld-typo-body-m);\n --ld-pagination-primary-col: var(--ld-thm-primary);\n --ld-pagination-selected-col: var(--thm-primary-active);\n\n align-items: center;\n display: inline-flex;\n list-style: none;\n margin: 0;\n /* for the focus outline */\n padding: var(--ld-sp-1);\n position: relative;\n\n &--sm {\n --ld-pagination-more-indicator-font: var(--ld-typo-body-s);\n --ld-pagination-item-size: var(--ld-pagination-sm-item-size);\n --ld-pagination-dots-size: var(--ld-pagination-dots-sm-size);\n --ld-pagination-dots-space: var(--ld-pagination-dots-sm-space);\n }\n\n &--lg {\n --ld-pagination-more-indicator-font: var(--ld-typo-body-l);\n --ld-pagination-item-size: var(--ld-pagination-lg-item-size);\n --ld-pagination-dots-size: var(--ld-pagination-dots-lg-size);\n --ld-pagination-dots-space: var(--ld-pagination-dots-lg-space);\n }\n\n &--brand-color {\n --ld-pagination-marker-col: var(--ld-col-wht-alpha-lowest);\n --ld-pagination-dot-col: var(--ld-col-wht);\n --ld-pagination-primary-col: var(--ld-col-wht);\n --ld-pagination-selected-col: var(--ld-col-wht);\n\n ld-button::part(button) {\n color: var(--ld-col-wht);\n\n &:hover {\n background-color: var(--ld-col-wht-alpha-low);\n }\n }\n }\n}\n\n.ld-pagination__arrow:not(:last-child),\n.ld-pagination__sticky {\n margin-right: var(--ld-pagination-items-space);\n}\n\n.ld-pagination__sticky,\n.ld-pagination__item {\n width: var(--ld-pagination-item-size);\n\n ld-button::part(button) {\n padding: 0;\n }\n}\n\n.ld-pagination__more-indicator,\n.ld-pagination__item {\n opacity: 0;\n transition: opacity var(--ld-transition-duration-quick) linear;\n\n &--visible {\n opacity: 1;\n }\n}\n\n.ld-pagination__more-indicator {\n color: var(--ld-pagination-primary-col);\n font: var(--ld-pagination-more-indicator-font);\n font-weight: 700;\n height: var(--ld-pagination-item-size);\n line-height: 1;\n pointer-events: none;\n position: relative;\n\n &--end {\n right: var(--ld-pagination-column-size);\n }\n\n span {\n align-items: center;\n justify-content: center;\n display: flex;\n height: 100%;\n position: absolute;\n white-space: nowrap;\n width: var(--ld-pagination-item-size);\n }\n}\n\n.ld-pagination__slide-wrapper {\n height: var(--ld-pagination-item-size);\n position: relative;\n width: calc(\n var(--ld-pagination-slider-cols) * var(--ld-pagination-column-size)\n );\n\n &--transitioning {\n overflow: hidden;\n }\n}\n\n.ld-pagination__items {\n display: inline-flex;\n list-style: none;\n padding: 0;\n pointer-events: none;\n position: absolute;\n transform: translateX(\n calc(\n var(--ld-pagination-slide-index) * var(--ld-pagination-column-size) * -1\n )\n );\n transition: transform var(--ld-transition-duration-quick) ease;\n}\n\n.ld-pagination__item {\n left: calc(var(--ld-pagination-item-pos) * var(--ld-pagination-column-size));\n position: absolute;\n\n &--visible {\n pointer-events: auto;\n }\n\n &--selected ld-button {\n --ld-button-bg-col: transparent;\n\n &::part(button) {\n color: var(--ld-pagination-selected-col);\n font-weight: 900;\n }\n\n .ld-pagination__dot {\n background-color: var(--ld-pagination-primary-col);\n }\n }\n}\n\n.ld-pagination__marker {\n background: var(--ld-pagination-marker-col);\n border-radius: var(--ld-br-m);\n height: var(--ld-pagination-item-size);\n position: absolute;\n width: var(--ld-pagination-item-size);\n z-index: -1;\n transform: translateX(\n calc(var(--ld-pagination-column-size) * var(--ld-pagination-selected-index))\n );\n transition: transform var(--ld-pagination-animation-duration) ease,\n opacity var(--ld-pagination-animation-duration) ease;\n\n @media (prefers-reduced-motion: no-preference) {\n --ld-pagination-animation-duration: var(--ld-transition-duration-quick);\n }\n\n &--hidden {\n opacity: 0;\n }\n}\n\n.ld-pagination--dots {\n --ld-pagination-item-size: var(--ld-pagination-dots-size);\n --ld-pagination-items-space: var(--ld-pagination-dots-space);\n --ld-pagination-column-size: max(\n var(--ld-pagination-default-column-size),\n var(--ld-pagination-dots-indicator-size)\n );\n\n .ld-pagination__arrow:not(:last-child),\n .ld-pagination__sticky {\n margin-right: var(--ld-sp-4);\n }\n\n .ld-pagination__slide-wrapper {\n height: var(--ld-pagination-column-size);\n margin-right: var(--ld-sp-4);\n }\n\n .ld-pagination__item {\n align-items: center;\n display: flex;\n height: var(--ld-pagination-column-size);\n justify-content: center;\n left: calc(\n var(--ld-pagination-item-pos) * var(--ld-pagination-column-size)\n );\n width: var(--ld-pagination-column-size);\n\n &:not(.ld-pagination__item--selected) .ld-pagination__dot::after {\n background-color: var(--ld-pagination-primary-col);\n opacity: 0.3;\n }\n }\n}\n\n.ld-pagination__dot {\n align-items: center;\n display: flex;\n justify-content: center;\n height: var(--ld-pagination-column-size);\n width: var(--ld-pagination-column-size);\n\n &::part(button) {\n align-items: center;\n border-radius: var(--ld-br-full);\n display: flex;\n height: var(--ld-pagination-dots-indicator-size);\n justify-content: center;\n min-height: auto;\n min-width: auto;\n position: absolute;\n width: var(--ld-pagination-dots-indicator-size);\n\n &:active {\n height: var(--ld-pagination-dots-indicator-size-active);\n width: var(--ld-pagination-dots-indicator-size-active);\n }\n\n &:focus {\n outline-offset: calc(var(--ld-sp-1) * -1);\n outline-color: var(--ld-thm-primary);\n\n &:not(:focus-visible) {\n outline: none;\n }\n }\n }\n\n &::after {\n background-color: var(--ld-pagination-dot-col);\n border-radius: 50%;\n content: '';\n height: var(--ld-pagination-dots-size);\n pointer-events: none;\n position: absolute;\n width: var(--ld-pagination-dots-size);\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Event,\n EventEmitter,\n Watch,\n State,\n} from '@stencil/core'\nimport { getClassNames } from '../../utils/getClassNames'\n\nconst BUFFER_SIZE = 20\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part arrow - all arrow items (`ld-button` elements)\n * @part more-indicator - list-items containing more-indicator\n * @part end - arrow to jump to the last item (`ld-button` element)\n * @part item - all pagination items containing a number (`ld-button` elements)\n * @part items - list containing all slidable items and the marker\n * @part list-wrapper - list-item containing the `ul` element with slidable items\n * @part marker - marker highlighting the selected item\n * @part next - arrow to go to the next item (`ld-button` element)\n * @part prev - arrow to go to the previous item (`ld-button` element)\n * @part start - arrow to jump to the first item (`ld-button` element)\n * @part sticky - all sticky items (`ld-button` elements)\n * @part wrapper - list containing all pagination items\n */\n@Component({\n assetsDirs: ['assets'],\n tag: 'ld-pagination',\n styleUrl: 'ld-pagination.shadow.css',\n shadow: true,\n})\nexport class LdPagination {\n private wrapperRef?: HTMLLIElement\n\n /** Switch colors for brand background. */\n @Prop() brandColor?: boolean\n\n /** Label text for the end button (replaces the icon). */\n @Prop() endLabel?: string\n\n /** Hide the buttons to navigate forward/backward. */\n @Prop() hidePrevNext? = false\n\n /** Hide the buttons to navigate to the first/last item. */\n @Prop() hideStartEnd? = false\n\n /** Label to communicate the type of an item. */\n @Prop() itemLabel? = 'Page'\n\n /** The number of items/pages available for pagination (required to let the user jump to the last item/page). */\n @Prop({ mutable: true }) length? = Infinity\n\n /** Items display mode, default as numbers. */\n @Prop() mode?: 'numbers' | 'dots' = 'numbers'\n\n /** Label text for the forward button (replaces the icon). */\n @Prop() nextLabel?: string\n\n /** Number of next/previous items visible. */\n @Prop() offset? = 2\n\n /** Label text for the backward button (replaces the icon). */\n @Prop() prevLabel?: string\n\n /** The currently selected item (an index of `-1` means nothing is selected). */\n @Prop({ mutable: true }) selectedIndex? = 0\n\n /** Size of the pagination. */\n @Prop() size?: 'sm' | 'lg'\n\n /** Space between dots (dots mode only, default depending on `size` prop). */\n @Prop() space?: string\n\n /** Label text for the start button (replaces the icon). */\n @Prop() startLabel?: string\n\n /** Number of items permanently visible at the start/end. */\n @Prop() sticky? = 0\n\n @State() maxSliderColumns = 0\n @State() renderMoreIndicators = false\n @State() renderSticky = false\n @State() slidableItems: number[] = []\n @State() sliderContent: number[] = []\n @State() transitioning = false\n @State() visibleItemsInSlider = 0\n\n /** Dispatched, if the selected index changes. */\n @Event() ldchange: EventEmitter\n\n @Watch('selectedIndex')\n handleSelectedIndex() {\n if (this.selectedIndex < -1) {\n this.selectedIndex = -1\n } else if (this.selectedIndex >= this.length) {\n this.selectedIndex = this.length - 1\n } else {\n this.ldchange.emit(this.selectedIndex)\n }\n }\n\n handleTransitionEnd = () => {\n this.transitioning = false\n }\n\n handleTransitionStart = () => {\n this.transitioning = true\n }\n\n // pageNumber is 1-based\n private renderItem = (\n itemNumber: number,\n showFrom: number,\n showTo: number\n ) => {\n const isDots = this.mode === 'dots'\n const isHidden =\n (this.renderMoreIndicators || isDots) &&\n (itemNumber < showFrom || itemNumber > showTo)\n const isSelected = itemNumber === this.selectedIndex + 1\n return (\n \n {\n this.selectedIndex = itemNumber - 1\n }}\n part=\"item focusable\"\n size={this.size}\n >\n {!isDots && itemNumber}\n \n \n )\n }\n\n private calculateSliderContent = () => {\n const directlyReachableFirstItems = this.maxSliderColumns + this.sticky - 1\n const directlyReachableLastItems =\n this.length - this.maxSliderColumns - this.sticky + 1\n\n this.sliderContent = this.slidableItems.filter(\n (itemNumber) =>\n (itemNumber > this.selectedIndex - BUFFER_SIZE &&\n itemNumber <= this.selectedIndex + BUFFER_SIZE) ||\n // render the first/last items in case the user can navigate there directly\n ((!this.hideStartEnd || this.sticky > 0) &&\n (itemNumber <= directlyReachableFirstItems ||\n itemNumber > directlyReachableLastItems))\n )\n }\n\n @Watch('length')\n @Watch('mode')\n @Watch('offset')\n @Watch('sticky')\n componentWillLoad() {\n this.visibleItemsInSlider = this.offset * 2 + 1\n const maxVisibleItems = this.sticky * 2 + this.visibleItemsInSlider\n this.maxSliderColumns = this.visibleItemsInSlider + 2\n this.renderSticky = this.sticky > 0 && this.mode !== 'dots'\n this.renderMoreIndicators =\n this.mode !== 'dots' && this.length > maxVisibleItems + 2\n this.slidableItems = Array.from({\n length: this.length === Infinity ? 9999 : this.length - this.sticky * 2,\n }).map((_, index) => index + this.sticky + 1)\n\n if (this.length < 1) {\n this.length = 1\n }\n\n if (this.selectedIndex < -1) {\n this.selectedIndex = -1\n } else if (this.selectedIndex >= this.length) {\n this.selectedIndex = this.length - 1\n }\n\n this.calculateSliderContent()\n }\n\n componentDidLoad() {\n if (this.wrapperRef) {\n this.wrapperRef.addEventListener(\n 'transitionstart',\n this.handleTransitionStart\n )\n this.wrapperRef.addEventListener(\n 'transitionend',\n this.handleTransitionEnd\n )\n }\n }\n\n disconnectedCallback() {\n if (this.wrapperRef) {\n this.wrapperRef.removeEventListener(\n 'transitionstart',\n this.handleTransitionStart\n )\n this.wrapperRef.removeEventListener(\n 'transitionend',\n this.handleTransitionEnd\n )\n }\n }\n\n render() {\n const isDots = this.mode === 'dots'\n const styleDots =\n isDots && this.space\n ? {\n '--ld-pagination-dots-space':\n this.space === '0' ? '0px' : this.space,\n }\n : undefined\n // +1 because it must be the index right to the centered item\n const showStartMoreIndicator =\n this.renderMoreIndicators &&\n this.selectedIndex > this.sticky + this.offset + 1\n // -1 because it is 0-based and another -1 because it must be the index left to the centered item\n const showEndMoreIndicator =\n this.renderMoreIndicators &&\n this.selectedIndex < this.length - this.offset - this.sticky - 2\n const showFrom =\n // +1 because it is not 0-based\n Math.max(\n Math.min(\n this.selectedIndex -\n this.offset -\n // start hiding numbers\n (showStartMoreIndicator ? 0 : 1),\n this.length -\n this.visibleItemsInSlider -\n this.sticky -\n 1 +\n (isDots ? -1 : 0)\n ),\n this.sticky\n ) + 1\n // +1 because it is not 0-based\n const showTo =\n Math.min(\n Math.max(\n this.selectedIndex + (showEndMoreIndicator ? 0 : 1),\n this.offset + this.sticky + 1 + (isDots ? 1 : 0)\n ) + this.offset,\n this.length - this.sticky\n ) + 1\n\n return (\n \n \n {!this.hideStartEnd && (\n
  • \n {\n this.selectedIndex = 0\n }}\n part=\"arrow start focusable\"\n size={this.size}\n >\n {this.startLabel ? (\n this.startLabel\n ) : (\n \n )}\n \n
  • \n )}\n {!this.hidePrevNext && (\n
  • \n {\n if (this.selectedIndex < 1) return\n this.selectedIndex -= 1\n }}\n part=\"arrow prev focusable\"\n size={this.size}\n >\n {this.prevLabel ? (\n this.prevLabel\n ) : (\n \n )}\n \n
  • \n )}\n {this.renderSticky &&\n Array.from({ length: Math.min(this.sticky, this.length) }).map(\n (_: unknown, index: number) => {\n return (\n
  • \n {\n this.selectedIndex = index\n }}\n part=\"sticky item focusable\"\n size={this.size}\n >\n {index + 1}\n \n
  • \n )\n }\n )}\n {this.renderMoreIndicators && (\n \n . . .\n \n )}\n (this.wrapperRef = ref)}\n style={{\n '--ld-pagination-slider-cols': `${Math.min(\n this.slidableItems.length,\n this.maxSliderColumns\n )}`,\n }}\n >\n \n {!isDots && (\n \n )}\n {this.length > 0 &&\n this.sliderContent.map((itemNumber) =>\n this.renderItem(itemNumber, showFrom, showTo)\n )}\n \n \n {this.renderMoreIndicators && (\n \n . . .\n \n )}\n {this.renderSticky &&\n this.length < Infinity &&\n Array.from({ length: this.sticky })\n .map((_: unknown, index: number) => {\n const itemNumber = this.length - index\n\n if (itemNumber <= this.sticky) {\n return null\n }\n\n return (\n
  • \n {\n this.selectedIndex = itemNumber - 1\n }}\n part=\"sticky item focusable\"\n size={this.size}\n >\n {itemNumber}\n \n
  • \n )\n })\n .reverse()}\n {!this.hidePrevNext && (\n
  • \n = this.length - 1}\n mode=\"ghost\"\n onClick={() => {\n if (this.selectedIndex >= this.length - 1) return\n this.selectedIndex += 1\n }}\n part=\"arrow next focusable\"\n size={this.size}\n >\n {this.nextLabel ? (\n this.nextLabel\n ) : (\n \n )}\n \n
  • \n )}\n {this.length < Infinity && !this.hideStartEnd && (\n
  • \n = this.length - 1}\n mode=\"ghost\"\n onClick={() => {\n this.selectedIndex = this.length - 1\n }}\n part=\"arrow end focusable\"\n size={this.size}\n >\n {this.endLabel ? (\n this.endLabel\n ) : (\n \n )}\n \n
  • \n )}\n \n
    \n )\n }\n}\n"],"m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,KAAKa,eAAiBb,KAAK6B,OAAS,EAC9CpB,KAAK,QACLY,QAAS,KACPrB,KAAKa,cAAgBb,KAAK6B,OAAS,CAAC,EAEtCP,KAAK,sBACLC,KAAMvB,KAAKuB,MAEVvB,KAAK0E,SACJ1E,KAAa,SAEbc,EAAA,WAASqD,KAAK,qBAAqB5C,KAAMvB,KAAKuB,U"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-99899d8a.entry.js b/1704966176737/dist/build/p-99899d8a.entry.js deleted file mode 100644 index 9d27d05f7e..0000000000 --- a/1704966176737/dist/build/p-99899d8a.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as a,h as i,H as n,g as s}from"./p-21a69c18.js";import{g as t}from"./p-1133c92e.js";import{c as e}from"./p-6e5841ef.js";const o=':host{--ld-sidenav-accordion-bg-col-hover:var(--ld-col-neutral-100);background:var(\n --ld-sidenav-bg-color\n );display:none;height:100%;position:absolute;top:0;transform:translateX(100%);visibility:hidden;width:100%;z-index:1}:host(.ld-sidenav-subnav--active){display:block}:host ::slotted(:where(:not(ld-sidenav-separator):not(ld-sidenav-navitem):not(ld-sidenav-subnav))){margin-bottom:var(--ld-sidenav-padding-y);transition:var(--ld-sidenav-collapse-content-transition);will-change:opacity,transform}:host ::slotted(.ld-sidenav-subnav__hidden){opacity:0;transform:translateX(var(--ld-sidenav-translate-x-delta));transition:opacity var(--ld-sidenav-transition-duration-collapse-expand) linear,visibility 0s var(--ld-sidenav-transition-duration-collapse-expand) linear,transform var(--ld-sidenav-transition-duration-collapse-expand) ease;visibility:hidden}:host ::slotted(.ld-sidenav-accordion){transform:none}.ld-sidenav-subnav__background{background-color:var(--ld-sidenav-bg-color);inset:0;opacity:0;position:absolute;transition:opacity var(--ld-sidenav-transition-duration) linear}.ld-sidenav-subnav__background:before{background-color:var(--ld-sidenav-subnav-bg-color);content:"";inset:0;position:absolute}.ld-sidenav-subnav__background--active{opacity:1}:host(.ld-sidenav-subnav--has-parent-subnav) .ld-sidenav-subnav__background{opacity:1}';const d=class{constructor(i){a(this,i);this.toggleVisibilityOnHidableContent=a=>{Array.from(this.el.children).forEach((i=>{if(!["LD-SIDENAV-ACCORDION","LD-SIDENAV-NAVITEM","LD-SIDENAV-SEPARATOR","LD-SIDENAV-SUBNAV"].includes(i.tagName)){i.classList.toggle("ld-sidenav-subnav__hidden",!a)}}))};this.activeBeforeTransition=false;this.active=false;this.ancestor=false;this.label=undefined;this.hasParentSubnav=undefined}async scrollToTop(a=false){this.scrollerRef.scrollToTop(a)}onActiveChange(a){var i;if(a){(i=this.scrollerRef)===null||i===void 0?void 0:i.updateShadows()}}onActiveBeforeTransitionChange(a){this.updateBackground(a)}updateBackground(a){setTimeout((()=>{this.bgRef.classList.toggle("ld-sidenav-subnav__background--active",a)}),20)}handleSidenavCollapsedChange(a){if(a.target!==this.sidenav)return;if(a.detail.collapsed){this.scrollToTop(true);this.toggleVisibilityOnHidableContent(false)}else{this.toggleVisibilityOnHidableContent(true)}}handleSidenavBreakpointChange(a){if(a.target!==this.sidenav)return;const i=a.detail;if(i){this.toggleVisibilityOnHidableContent(true)}else{this.toggleVisibilityOnHidableContent(!this.sidenav.collapsed)}}componentWillLoad(){this.sidenav=e("ld-sidenav",this.el);this.hasParentSubnav=this.el.parentElement.tagName==="LD-SIDENAV-SUBNAV"}render(){const a=t(["ld-sidenav-subnav",this.active&&"ld-sidenav-subnav--active",this.hasParentSubnav&&"ld-sidenav-subnav--has-parent-subnav"]);return i(n,{class:a},i("div",{ref:a=>this.bgRef=a,class:"ld-sidenav-subnav__background"}),i("ld-sidenav-scroller-internal",{style:{visibility:!this.active||this.ancestor?"hidden":"visible"},part:"scroll-container",ref:a=>this.scrollerRef=a},i("slot",null)))}get el(){return s(this)}static get watchers(){return{active:["onActiveChange"],activeBeforeTransition:["onActiveBeforeTransitionChange"]}}};d.style=o;export{d as ld_sidenav_subnav}; -//# sourceMappingURL=p-99899d8a.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-99899d8a.entry.js.map b/1704966176737/dist/build/p-99899d8a.entry.js.map deleted file mode 100644 index 881129abb8..0000000000 --- a/1704966176737/dist/build/p-99899d8a.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldSidenavSubnavShadowCss","LdSidenavSubnav","this","toggleVisibilityOnHidableContent","visible","Array","from","el","children","forEach","includes","tagName","classList","toggle","scrollToTop","smoothly","scrollerRef","onActiveChange","active","_a","updateShadows","onActiveBeforeTransitionChange","activeBeforeTransition","updateBackground","setTimeout","bgRef","handleSidenavCollapsedChange","ev","target","sidenav","detail","collapsed","handleSidenavBreakpointChange","sidenavClosable","componentWillLoad","closest","hasParentSubnav","parentElement","render","cl","getClassNames","h","Host","class","ref","style","visibility","ancestor","part"],"sources":["../src/liquid/components/ld-sidenav/ld-sidenav-subnav/ld-sidenav-subnav.shadow.css?tag=ld-sidenav-subnav&encapsulation=shadow","../src/liquid/components/ld-sidenav/ld-sidenav-subnav/ld-sidenav-subnav.tsx"],"sourcesContent":[":host {\n --ld-sidenav-accordion-bg-col-hover: var(--ld-col-neutral-100);\n\n position: absolute;\n top: 0;\n height: 100%;\n width: 100%;\n transform: translateX(100%);\n display: none;\n z-index: 1; /* makes the scrollbar of the parent scroll-container disappear, */\n background: var(\n --ld-sidenav-bg-color\n ); /* which only works with a background color */\n visibility: hidden;\n\n &(.ld-sidenav-subnav--active) {\n display: block;\n }\n\n ::slotted(\n :where(:not(ld-sidenav-separator, ld-sidenav-navitem, ld-sidenav-subnav))\n ) {\n margin-bottom: var(--ld-sidenav-padding-y);\n transition: var(--ld-sidenav-collapse-content-transition);\n will-change: opacity, transform; /* fixes flickering on slide */\n }\n\n ::slotted(.ld-sidenav-subnav__hidden) {\n transition: opacity var(--ld-sidenav-transition-duration-collapse-expand)\n linear,\n visibility 0s var(--ld-sidenav-transition-duration-collapse-expand) linear,\n transform var(--ld-sidenav-transition-duration-collapse-expand) ease;\n opacity: 0;\n visibility: hidden;\n transform: translateX(var(--ld-sidenav-translate-x-delta));\n }\n\n ::slotted(.ld-sidenav-accordion) {\n transform: none;\n }\n}\n\n.ld-sidenav-subnav__background {\n opacity: 0;\n transition: opacity var(--ld-sidenav-transition-duration) linear;\n position: absolute;\n inset: 0;\n background-color: var(--ld-sidenav-bg-color);\n\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n background-color: var(--ld-sidenav-subnav-bg-color);\n }\n\n &--active {\n opacity: 1;\n }\n}\n\n:host(.ld-sidenav-subnav--has-parent-subnav) {\n .ld-sidenav-subnav__background {\n opacity: 1;\n }\n}\n","import {\n Component,\n Element,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\nimport { closest } from '../../../utils/closest'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-sidenav-subnav',\n styleUrl: 'ld-sidenav-subnav.shadow.css',\n shadow: true,\n})\nexport class LdSidenavSubnav {\n @Element() el: HTMLElement\n private sidenav: HTMLLdSidenavElement\n private scrollerRef: HTMLLdSidenavScrollerInternalElement\n private bgRef: HTMLElement\n\n /**\n * @internal\n * Internal prop indicating that the subnav is about to become active which\n * may happen before a transition finishes after which it actually becomes active.\n */\n @Prop() activeBeforeTransition? = false\n\n /**\n * @internal\n * Internal prop indicating that the subnav is either ancestor of the\n * currently visible subnav or the currently visible subnav itself.\n */\n @Prop() active? = false\n\n /**\n * @internal\n * Internal prop indicating that the subnav is ancestor of the\n * currently visible subnav.\n */\n @Prop() ancestor? = false\n\n /** Used in the ld-sidenav-back component to display parent nav label. */\n @Prop() label!: string\n\n @State() hasParentSubnav: boolean\n\n /** Scrolls the subnav scroll container to the top. */\n @Method()\n async scrollToTop(smoothly = false) {\n this.scrollerRef.scrollToTop(smoothly)\n }\n\n @Watch('active')\n onActiveChange(active) {\n if (active) {\n this.scrollerRef?.updateShadows()\n }\n }\n\n @Watch('activeBeforeTransition')\n onActiveBeforeTransitionChange(activeBeforeTransition) {\n this.updateBackground(activeBeforeTransition)\n }\n\n private updateBackground(activeBeforeTransition: boolean) {\n // HACK: Timeout is required to make the transition work on nav item click\n setTimeout(() => {\n this.bgRef.classList.toggle(\n 'ld-sidenav-subnav__background--active',\n activeBeforeTransition\n )\n }, 20)\n }\n\n private toggleVisibilityOnHidableContent = (visible: boolean) => {\n Array.from(this.el.children).forEach((el) => {\n // To also hide one of the following elements,\n // it is possible to wrap it in a div with display contents.\n if (\n ![\n 'LD-SIDENAV-ACCORDION',\n 'LD-SIDENAV-NAVITEM',\n 'LD-SIDENAV-SEPARATOR',\n 'LD-SIDENAV-SUBNAV',\n ].includes(el.tagName)\n ) {\n el.classList.toggle('ld-sidenav-subnav__hidden', !visible)\n }\n })\n }\n\n @Listen('ldSidenavCollapsedChange', { target: 'window', passive: true })\n handleSidenavCollapsedChange(\n ev: CustomEvent<{\n collapsed: boolean\n fully: boolean\n }>\n ) {\n if (ev.target !== this.sidenav) return\n if (ev.detail.collapsed) {\n this.scrollToTop(true)\n this.toggleVisibilityOnHidableContent(false)\n } else {\n this.toggleVisibilityOnHidableContent(true)\n }\n }\n\n @Listen('ldSidenavBreakpointChange', { target: 'window', passive: true })\n handleSidenavBreakpointChange(ev: CustomEvent) {\n if (ev.target !== this.sidenav) return\n const sidenavClosable = ev.detail\n if (sidenavClosable) {\n this.toggleVisibilityOnHidableContent(true)\n } else {\n this.toggleVisibilityOnHidableContent(!this.sidenav.collapsed)\n }\n }\n\n componentWillLoad() {\n this.sidenav = closest('ld-sidenav', this.el)\n this.hasParentSubnav = this.el.parentElement.tagName === 'LD-SIDENAV-SUBNAV'\n }\n\n render() {\n const cl = getClassNames([\n 'ld-sidenav-subnav',\n this.active && 'ld-sidenav-subnav--active',\n this.hasParentSubnav && 'ld-sidenav-subnav--has-parent-subnav',\n ])\n\n return (\n \n (this.bgRef = el)}\n class=\"ld-sidenav-subnav__background\"\n >\n (this.scrollerRef = el)}\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J,GACXE,EAAA,OACEG,IAAMrC,GAAQL,KAAKuB,MAAQlB,EAC3BoC,MAAM,kCAERF,EAAA,gCACEI,MAAO,CACLC,YAAa5C,KAAKgB,QAAUhB,KAAK6C,SAAW,SAAW,WAEzDC,KAAK,mBACLJ,IAAMrC,GAAQL,KAAKc,YAAcT,GAEjCkC,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-9dc79166.entry.js.map b/1704966176737/dist/build/p-9dc79166.entry.js.map deleted file mode 100644 index d35500deab..0000000000 --- a/1704966176737/dist/build/p-9dc79166.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldOptionInternalShadowCss","LdOptionInternal","this","handleClick","disabled","preventDeselection","selected","mode","focusInner","optionRef","focus","handleSelectedChange","ldoptionselect","emit","handleKeyDown","ev","key","preventDefault","stopImmediatePropagation","componentWillLoad","value","setTimeout","el","innerText","closest","indent","render","h","Host","class","getClassNames","size","filtered","role","ref","undefined","onClick","tabindex","ldTabindex","part","checked","width","height","viewBox","fill","style","visibility","d","stroke","title"],"sources":["../src/liquid/components/ld-select/ld-option-internal/ld-option-internal.shadow.css?tag=ld-option-internal&encapsulation=shadow","../src/liquid/components/ld-select/ld-option-internal/ld-option-internal.tsx"],"sourcesContent":[":host,\n.ld-option-internal {\n /* layout */\n --ld-option-padding-inline-start: var(--ld-sp-12);\n --ld-option-padding-inline-start-sm: 0.625rem;\n --ld-option-padding-inline-start-lg: 0.875rem;\n\n /* colors */\n --ld-option-bg-col: var(--ld-col-wht);\n --ld-option-border-col: var(--ld-col-neutral-100);\n --ld-option-disabled-text-col: var(--ld-col-neutral-100);\n --ld-option-text-col: var(--ld-col-neutral-900);\n\n /* themable colors */\n --ld-option-thm-col: var(--ld-thm-primary);\n --ld-option-thm-col-hover: var(--ld-thm-primary-hover);\n --ld-option-thm-col-focus: var(--ld-thm-primary-focus);\n --ld-option-thm-col-active: var(--ld-thm-primary-active);\n --ld-option-thm-bg-col-hover: var(--ld-thm-primary-highlight);\n --ld-option-thm-bg-col-focus: var(--ld-thm-primary-highlight);\n --ld-option-thm-bg-col-active: var(--ld-thm-primary-highlight);\n}\n\n:host(:not(:last-of-type)) {\n .ld-option-internal {\n border-bottom: solid var(--ld-option-border-col) var(--ld-sp-1);\n }\n}\n\n.ld-option-internal {\n &--sm {\n --ld-option-padding-inline-start: var(--ld-option-padding-inline-start-sm);\n }\n\n &--lg {\n --ld-option-padding-inline-start: var(--ld-option-padding-inline-start-lg);\n }\n\n &--indent {\n --ld-option-indent: 1.75rem;\n }\n\n outline: none;\n display: flex;\n position: relative;\n color: var(--ld-option-text-col);\n background-color: var(--ld-option-bg-col);\n padding-block: var(--ld-sp-8);\n padding-inline: calc(\n var(--ld-option-padding-inline-start) + var(--ld-option-indent, 0px)\n ) var(--ld-sp-12);\n font: var(--ld-typo-label-m);\n min-height: 2.5rem;\n white-space: nowrap;\n user-select: none;\n touch-action: manipulation;\n border: 0;\n -webkit-touch-callout: none;\n box-sizing: border-box;\n\n &--filtered {\n display: none;\n }\n\n *,\n *::before,\n *::after {\n box-sizing: inherit;\n }\n\n [data-popper-placement*='bottom'] & {\n &:last-of-type {\n border-bottom-left-radius: var(--ld-br-m);\n border-bottom-right-radius: var(--ld-br-m);\n }\n }\n [data-popper-placement*='top'] & {\n &:first-of-type {\n border-top-left-radius: var(--ld-br-m);\n border-top-right-radius: var(--ld-br-m);\n }\n }\n\n &:not(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n cursor: pointer;\n }\n\n &[aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false'])) {\n color: var(--ld-option-disabled-text-col);\n }\n\n /* Pseudo element for focus outline */\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n border-radius: var(--ld-br-m);\n pointer-events: none;\n }\n\n &:where(:focus),\n &:where(:focus:focus-visible) {\n &::before {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-option-thm-col);\n }\n }\n\n &:where(:focus:not(:focus-visible)) {\n &::before {\n box-shadow: none;\n }\n }\n\n &:where(\n :not(\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n :where(.ld-option-internal__check) {\n color: var(--ld-option-thm-col);\n }\n\n &:where(:focus),\n &:where(:focus:focus-visible) {\n background-color: var(--ld-option-thm-bg-col-focus);\n\n :where(.ld-option-internal__check) {\n color: var(--ld-option-thm-col-focus);\n }\n }\n\n &:where(:focus:not(:focus-visible)) {\n background-color: var(--ld-option-bg-col);\n\n :where(.ld-option-internal__check) {\n color: var(--ld-option-thm-col);\n }\n }\n\n @media (hover: hover) {\n &:where(:hover) {\n background-color: var(--ld-option-thm-bg-col-hover);\n\n :where(.ld-option-internal__check) {\n color: var(--ld-option-thm-col-hover);\n }\n }\n }\n\n &:where(:active),\n &:where(:active:focus-visible) {\n background-color: var(--ld-option-thm-bg-col-active);\n\n :where(.ld-option-internal__check) {\n color: var(--ld-option-thm-col-active);\n }\n }\n }\n}\n\n.ld-option-internal__checkbox-wrapper {\n display: inline-flex;\n flex-shrink: 0;\n}\n\n.ld-option-internal__check,\n.ld-option-internal__checkbox {\n align-self: center;\n flex-shrink: 0;\n transform: translateX(calc(-1 * var(--ld-sp-2)));\n}\n\n.ld-option-internal__check {\n margin-right: var(--ld-sp-4);\n}\n\n.ld-option-internal__checkbox {\n margin-left: var(--ld-sp-2);\n margin-right: var(--ld-sp-6);\n}\n\n.ld-option-internal__label {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n","import {\n Component,\n h,\n Host,\n Prop,\n Element,\n Event,\n EventEmitter,\n Listen,\n State,\n Method,\n Watch,\n} from '@stencil/core'\nimport { getClassNames } from '../../../utils/getClassNames'\n\n/** @internal **/\n@Component({\n tag: 'ld-option-internal',\n styleUrl: 'ld-option-internal.shadow.css',\n shadow: true,\n})\nexport class LdOptionInternal implements InnerFocusable {\n @Element() el: HTMLElement\n\n private optionRef: HTMLElement\n\n /**\n * The content of this attribute represents the value to be submitted with the form,\n * should this option be selected. If this attribute is omitted, the value is taken\n * from the text content of the option element.\n */\n @Prop({ mutable: true, reflect: true }) value?: string\n\n /**\n * If present, this boolean attribute indicates that the option is selected.\n */\n @Prop({ mutable: true, reflect: true }) selected? = false\n\n /**\n * Disables the option.\n */\n @Prop() disabled? = false\n\n /**\n * Prevents deselection of a selected options when the selected option\n * is clicked in single select mode.\n */\n @Prop() preventDeselection?: boolean\n\n /**\n * Display mode.\n */\n @Prop() mode?: 'checkbox'\n\n /** Size of the option. */\n @Prop() size?: 'sm' | 'lg'\n\n /** Set to true on filtering via select input. */\n @Prop() filtered? = false\n\n /** Tab index of the option. */\n @Prop() ldTabindex? = -1\n\n /** Sets focus internally. */\n @Method()\n async focusInner() {\n this.optionRef.focus()\n }\n\n /**\n * @internal\n * Emitted on either selection or de-selection of the option.\n */\n @Event() ldoptionselect: EventEmitter\n\n @State() title: string\n\n @State() hasFocus: boolean\n @State() hasHover: boolean\n @State() indent?: boolean = false\n\n @Watch('selected')\n handleSelectedChange() {\n this.ldoptionselect.emit(this.selected)\n }\n\n private handleClick = () => {\n if (this.disabled) return\n\n if (\n !this.preventDeselection ||\n !this.selected ||\n this.mode === 'checkbox'\n ) {\n this.selected = !this.selected\n }\n }\n\n @Listen('keydown', { passive: false })\n handleKeyDown(ev: KeyboardEvent) {\n if (ev.key === ' ' || ev.key === 'Enter') {\n ev.preventDefault()\n ev.stopImmediatePropagation()\n this.handleClick()\n }\n }\n\n componentWillLoad() {\n if (typeof this.value === 'undefined') {\n setTimeout(() => {\n this.value = this.el.innerText\n })\n }\n if (this.mode === 'checkbox' && this.el.closest('ld-optgroup-internal')) {\n this.indent = true\n }\n }\n\n render() {\n return (\n \n (this.optionRef = el as HTMLElement)}\n aria-selected={this.selected ? 'true' : undefined}\n aria-disabled={this.disabled ? 'true' : undefined}\n onClick={this.handleClick}\n tabindex={this.ldTabindex}\n part=\"option focusable\"\n >\n {this.mode === 'checkbox' ? (\n \n \n \n ) : (\n \n \n \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,eACNJ,MAAM,4BACNY,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRC,KAAK,OACLL,KAAK,SAELZ,EAAA,QACEkB,MAAO,CAAEC,WAAY5C,KAAKI,SAAW,UAAY,UACjDyC,EAAE,6BACFC,OAAO,eAAc,eACR,IAAG,iBACD,QAAO,kBACN,WAKtBrB,EAAA,QACEE,MAAM,4BACNoB,MAAO/C,KAAK+C,MACZV,KAAK,SAELZ,EAAA,e"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-9eccdd55.entry.js.map b/1704966176737/dist/build/p-9eccdd55.entry.js.map deleted file mode 100644 index 6c1e155b35..0000000000 --- a/1704966176737/dist/build/p-9eccdd55.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsMainCss","DocsNav","componentDidLoad","this","mainRef","querySelectorAll","forEach","code","innerHTML","replace","setTimeout","Array","from","children","filter","child","tagName","pre","copyToCB","document","createElement","textToCopy","innerText","appendChild","render","h","Host","class","id","ref"],"sources":["../src/docs/components/docs-main/docs-main.css?tag=docs-main","../src/docs/components/docs-main/docs-main.tsx"],"sourcesContent":["@define-mixin docs-main-ui-light {\n .docs-main {\n hr {\n background-color: var(--ld-col-neutral-100);\n }\n\n main {\n > header {\n ld-breadcrumbs {\n filter: none;\n }\n }\n\n > p,\n > ol,\n > ul,\n > ld-notice,\n > [id^='css-variables'] + table,\n > [id^='properties'] + table,\n > [id^='events'] + table,\n > [id^='slots'] + table,\n > [id^='methods'] ~ h3 {\n code {\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-col-neutral-100);\n background-color: var(--ld-col-neutral-010);\n }\n }\n\n [id^='css-variables'] + table td,\n [id^='properties'] + table td {\n &:first-of-type,\n &:nth-of-type(2),\n &:nth-of-type(4) {\n code {\n &:not(:last-child) {\n color: var(--ld-col-rb-010);\n background-color: var(--ld-thm-ocean-primary);\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-col-rb-800);\n }\n }\n }\n }\n\n > p > a,\n > ul a,\n > ol a,\n > table a {\n color: var(--ld-col-vc-600);\n\n @media (hover: hover) {\n &:hover {\n color: var(--ld-thm-secondary);\n }\n }\n\n &:active,\n &:active:focus-visible {\n color: var(--ld-col-vc-700);\n }\n }\n\n > blockquote {\n color: var(--ld-col-neutral-900);\n background-color: var(--ld-thm-warning-focus);\n border-left: solid var(--ld-sp-6) var(--ld-thm-warning);\n font: var(--ld-typo-body-m);\n\n code {\n background-color: var(--ld-thm-warning);\n }\n }\n\n > pre {\n border-color: var(--ld-col-neutral-100);\n\n > docs-copy-to-cb {\n filter: none;\n }\n }\n\n > table {\n thead tr {\n border-bottom: solid var(--ld-sp-1) var(--ld-col-neutral-300);\n }\n tbody tr {\n border-bottom: solid var(--ld-sp-1) var(--ld-col-neutral-100);\n }\n }\n }\n }\n}\n@define-mixin docs-main-ui-dark {\n .docs-main {\n hr {\n background-color: var(--ld-col-neutral-600);\n }\n\n main {\n > header {\n ld-breadcrumbs {\n filter: invert(1) hue-rotate(180deg);\n }\n }\n\n > p,\n > ol,\n > ul,\n > [id^='css-variables'] + table,\n > [id^='properties'] + table,\n > [id^='events'] + table,\n > [id^='slots'] + table,\n > [id^='methods'] ~ h3 {\n code {\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-col-neutral-400);\n background-color: var(--ld-col-neutral-600);\n }\n }\n\n [id^='properties'] + table td {\n &:first-of-type,\n &:nth-of-type(2),\n &:nth-of-type(4) {\n code {\n &:not(:last-child) {\n color: var(--ld-col-rb-010);\n background-color: var(--ld-thm-ocean-primary);\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-col-rb-400);\n }\n }\n }\n }\n\n [id^='css-variables'] + table td {\n &:first-of-type,\n &:nth-of-type(3) {\n code {\n &:not(:last-child) {\n color: var(--ld-col-rb-010);\n background-color: var(--ld-thm-ocean-primary);\n box-shadow: inset 0 0 0 var(--ld-sp-1) var(--ld-col-rb-400);\n }\n }\n }\n }\n\n > p > a,\n > ol a,\n > ul a,\n > table a {\n color: var(--ld-col-vc-200);\n\n @media (hover: hover) {\n &:hover {\n color: var(--ld-col-vc);\n }\n }\n\n &:active,\n &:active:focus-visible {\n color: var(--ld-col-vc-600);\n }\n }\n\n > blockquote {\n color: var(--ld-col-neutral-900);\n background-color: var(--ld-thm-warning);\n border-left: solid var(--ld-sp-6) var(--ld-thm-warning-hover);\n\n code {\n background-color: var(--ld-thm-warning);\n }\n }\n\n > pre {\n border-color: var(--ld-col-neutral-900);\n\n > docs-copy-to-cb {\n filter: invert(1) hue-rotate(180deg);\n }\n }\n\n > table {\n thead tr {\n border-bottom: solid var(--ld-sp-1) var(--ld-col-wht);\n }\n tbody tr {\n border-bottom: solid var(--ld-sp-1) var(--ld-col-neutral-700);\n }\n }\n }\n }\n}\n\n@mixin docs-main-ui-light;\n\n@media (prefers-color-scheme: dark) {\n @mixin docs-main-ui-dark;\n}\n.docs-ui-dark {\n @mixin docs-main-ui-dark;\n}\n.docs-ui-light {\n @mixin docs-main-ui-light;\n}\n\n.docs-main {\n --ld-typo-code-s: 0.875rem / 176% 'Source Code Pro', Consolas, Monaco,\n 'Ubuntu Mono', monospace;\n --ld-typo-code-m: 1rem / 160% 'Source Code Pro', Consolas, Monaco,\n 'Ubuntu Mono', monospace;\n --docs-main-padding-x: var(--ld-sp-40);\n padding: var(--ld-sp-24) var(--docs-main-padding-x) var(--ld-sp-40);\n max-width: 54rem;\n min-width: 20rem;\n\n @media (width <= 75rem) {\n --docs-main-padding-x: var(--ld-sp-24);\n }\n\n main {\n > header,\n > footer {\n display: flex;\n justify-content: flex-end;\n flex-wrap: wrap;\n align-items: center;\n }\n\n > header {\n ld-breadcrumbs {\n flex-grow: 1;\n margin-inline: 0 var(--ld-sp-24);\n margin-block: var(--ld-sp-16);\n }\n }\n\n > p,\n > ol,\n > ul {\n font: var(--ld-typo-body-m);\n }\n\n > p,\n > ol,\n > ul,\n > ld-notice {\n code {\n display: inline-flex;\n padding: 0 var(--ld-sp-4);\n border-radius: var(--ld-br-s);\n }\n }\n\n > p > a,\n > table a,\n > ol a,\n > ul a,\n > blockquote a {\n text-decoration: underline;\n\n code {\n background-color: transparent !important;\n box-shadow: none !important;\n padding: 0;\n font-size: inherit;\n }\n }\n\n > hr {\n border: 0;\n height: var(--ld-sp-1);\n\n &:last-of-type:not(:first-of-type) {\n display: none;\n\n & + p {\n display: none;\n }\n }\n }\n\n > * + * {\n margin-top: var(--ld-sp-32);\n }\n\n > * + h1 {\n margin-top: var(--ld-sp-16);\n }\n\n > * + h2,\n > * + h3,\n > * + footer {\n margin-top: var(--ld-sp-40);\n }\n\n #overview,\n #overview + p,\n [id^='graph'],\n [id^='graph'] + pre,\n [id^='shadow-parts'],\n [id^='shadow-parts'] + table {\n display: none;\n }\n\n > h1 {\n font: var(--ld-typo-xh5);\n }\n > h2 {\n font: var(--ld-typo-h2);\n }\n > h3 {\n font: var(--ld-typo-h3);\n }\n > h4 {\n font: var(--ld-typo-h4);\n }\n > h5 {\n font: var(--ld-typo-h5);\n }\n > h6 {\n font: var(--ld-typo-h6);\n }\n\n > h1,\n > h2,\n > h3,\n > h4,\n > h5,\n > h6 {\n position: relative;\n font-weight: 700;\n outline: none;\n\n > code {\n font-size: inherit;\n font-weight: inherit;\n }\n }\n\n > ul,\n > ol {\n padding-left: var(--ld-sp-16);\n\n > li {\n > p {\n display: inline;\n }\n }\n }\n\n > ul {\n list-style: disc;\n }\n\n > ol {\n list-style: decimal;\n }\n\n > table {\n overflow: scroll hidden;\n min-width: 100%;\n text-align: left;\n border-collapse: collapse;\n display: block;\n padding-bottom: var(--ld-sp-24);\n\n tr {\n margin-top: var(--ld-sp-16);\n }\n tbody tr:nth-child(odd) {\n background-color: var(--sensitive-grey-dark);\n }\n\n thead {\n tr {\n margin-top: 0;\n }\n th {\n padding-top: 0;\n }\n }\n\n th {\n padding-bottom: var(--ld-sp-16);\n }\n\n td,\n th {\n padding: var(--ld-sp-12) var(--ld-sp-16);\n vertical-align: top;\n\n &:first-of-type {\n padding-left: 0;\n }\n &:last-of-type {\n padding-right: 0;\n }\n }\n\n b,\n strong {\n font-weight: 700;\n }\n }\n\n > [id^='properties'] + table {\n td,\n th {\n code {\n display: inline-grid;\n grid-auto-flow: column;\n gap: var(--ld-sp-4);\n\n + em {\n display: none;\n }\n\n &:not(:last-child) {\n font-weight: 700;\n\n &::after {\n content: '*';\n transform: translateY(-0.125rem);\n }\n }\n }\n\n /* attributes */\n &:nth-of-type(2) {\n display: none;\n }\n }\n }\n\n > [id^='css-variables'] + table {\n td,\n th {\n &:first-of-type {\n flex-shrink: 0;\n\n code {\n display: inline-grid;\n grid-auto-flow: column;\n gap: var(--ld-sp-4);\n\n + em {\n display: none;\n }\n\n &:not(:last-child) {\n font-weight: 700;\n\n &::after {\n content: '*';\n transform: translateY(-0.125rem);\n }\n }\n }\n }\n }\n }\n\n > [id^='methods'] {\n ~ h3 code {\n font: var(--ld-typo-body-s);\n line-height: 1;\n font-weight: 400;\n font-family: 'Source Code Pro', Consolas, Monaco, 'Ubuntu Mono',\n monospace;\n padding: var(--ld-sp-4) var(--ld-sp-6);\n border-radius: var(--ld-br-s);\n display: inline-flex;\n }\n }\n\n > [id^='css-variables'] + table,\n > [id^='properties'] + table,\n > [id^='events'] + table,\n > [id^='slots'] + table {\n font: var(--ld-typo-body-m);\n\n code {\n display: inline-flex;\n padding: 0 var(--ld-sp-6);\n border-radius: var(--ld-br-s);\n }\n }\n\n > blockquote {\n padding: var(--ld-sp-8) var(--ld-sp-24) var(--ld-sp-12) var(--ld-sp-24);\n\n a {\n text-decoration: underline;\n }\n\n code {\n padding: 0 var(--ld-sp-4);\n border-radius: var(--ld-br-s);\n }\n }\n\n > pre {\n border-radius: var(--ld-br-l);\n border-style: solid;\n border-width: var(--ld-sp-1);\n position: relative;\n display: flex;\n justify-content: space-between;\n\n > docs-copy-to-cb {\n position: sticky;\n right: var(--ld-sp-4);\n bottom: 100%;\n height: 0;\n\n ld-button {\n transform: translateX(var(--ld-sp-12))\n translateY(calc(-1 * var(--ld-sp-6)));\n }\n }\n }\n }\n\n code {\n font: var(--ld-typo-code-s);\n }\n\n @media (width <= 52rem) {\n padding: var(--ld-sp-24) var(--ld-sp-24);\n\n main {\n padding-bottom: var(--ld-sp-40);\n }\n }\n}\n\n[id^='properties'] + table::after {\n content: '* required';\n}\n[id^='css-variables'] + table::after {\n content: '* readonly';\n}\n\n[id^='slots'],\n[id^='events'],\n[id^='properties'],\n[id^='shadow-parts'] {\n + table + hr {\n display: none;\n }\n}\n\n.language-mermaid {\n & + hr {\n display: none;\n }\n\n code > :nth-last-child(-n + 3) {\n display: none;\n }\n}\n\n[id^='returns'] + p + hr {\n display: none;\n}\n\n.header-anchor {\n left: 0;\n transform: translateX(-100%);\n position: absolute;\n text-align: right;\n\n @media screen and (width <= 52rem) {\n left: unset;\n position: relative;\n width: auto;\n }\n}\n\n.header-anchor__symbol {\n visibility: hidden;\n padding-right: var(--ld-sp-8);\n opacity: 0.25;\n\n &:hover {\n opacity: 1;\n }\n\n h1:hover &,\n h2:hover &,\n h3:hover &,\n h4:hover &,\n h5:hover &,\n h6:hover &,\n .header-anchor:focus & {\n visibility: inherit;\n }\n\n .header-anchor:focus & {\n opacity: 1;\n }\n\n @media screen and (hover: none) {\n visibility: inherit;\n }\n\n @media screen and (width <= 52rem) {\n visibility: inherit;\n padding-right: 0;\n opacity: 0.25;\n\n h1:hover &,\n h2:hover &,\n h3:hover &,\n h4:hover &,\n h5:hover &,\n h6:hover &,\n .header-anchor:focus & {\n visibility: inherit;\n }\n\n .header-anchor:focus & {\n opacity: 1;\n }\n }\n}\n\n.docs-main__header-image {\n max-width: 32rem;\n}\n","import { Component, Element, h, Host } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-main',\n styleUrl: 'docs-main.css',\n shadow: false,\n})\nexport class DocsNav {\n @Element() el: HTMLElement\n\n private mainRef!: HTMLElement\n\n componentDidLoad() {\n this.mainRef\n .querySelectorAll('#css-variables + table code, #properties + table code')\n .forEach((code) => {\n code.innerHTML = code.innerHTML.replace(/\\\\\\|/g, '|')\n })\n\n // Timeout is required in order to use innerText.\n // We use innerText and not textContent in order to preserve line breaks.\n setTimeout(() => {\n Array.from(this.mainRef.children)\n .filter((child) => child.tagName === 'PRE')\n .forEach((pre: HTMLPreElement) => {\n const copyToCB = document.createElement('docs-copy-to-cb')\n copyToCB.textToCopy = pre.innerText\n pre.appendChild(copyToCB)\n })\n })\n }\n\n render() {\n return (\n \n
    (this.mainRef = ref)}>\n \n
    \n
    \n )\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAc,ohjB,MCQPC,EAAO,M,yBAKlB,gBAAAC,GACEC,KAAKC,QACFC,iBAAiB,yDACjBC,SAASC,IACRA,EAAKC,UAAYD,EAAKC,UAAUC,QAAQ,QAAS,IAAI,IAKzDC,YAAW,KACTC,MAAMC,KAAKT,KAAKC,QAAQS,UACrBC,QAAQC,GAAUA,EAAMC,UAAY,QACpCV,SAASW,IACR,MAAMC,EAAWC,SAASC,cAAc,mBACxCF,EAASG,WAAaJ,EAAIK,UAC1BL,EAAIM,YAAYL,EAAS,GACzB,G,CAIR,MAAAM,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,aACVF,EAAA,QAAMG,GAAG,OAAOC,IAAMA,GAAS1B,KAAKC,QAAUyB,GAC5CJ,EAAA,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-a088f7d3.entry.js.map b/1704966176737/dist/build/p-a088f7d3.entry.js.map deleted file mode 100644 index 20007003d2..0000000000 --- a/1704966176737/dist/build/p-a088f7d3.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldRadioCss","LdRadio","this","handleKeyDown","ev","key","preventDefault","focusAndSelect","handleChange","event","el","dispatchEvent","InputEvent","ldchange","emit","checked","handleClick","disabled","isAriaDisabled","ariaDisabled","name","Array","from","document","querySelectorAll","filter","ldRadio","getAttribute","forEach","groupChecked","isTrusted","bubbles","composed","handleInput","ldinput","focusInner","input","undefined","focus","updateHiddenInput","outerForm","closest","hiddenInput","form","createHiddenInput","remove","value","removeAttribute","setAttribute","createElement","type","style","visibility","position","pointerEvents","appendChild","dir","ldRadios","index","targetLdRadio","click","componentWillLoad","attributesObserver","cloneAttributes","call","registerAutofocus","autofocus","disconnectedCallback","disconnect","render","cl","mode","tone","invalid","h","Host","part","class","getClassNames","onClick","Object","assign","clonedAttributes","onChange","onInput","onKeyDown","ref","tabIndex","ldTabindex"],"sources":["../src/liquid/components/ld-radio/ld-radio.css?tag=ld-radio&encapsulation=shadow","../src/liquid/components/ld-radio/ld-radio.tsx"],"sourcesContent":[":host,\n.ld-radio {\n /* layout */\n --ld-radio-size: 1.25rem;\n --ld-radio-dot-size: 0.625rem;\n\n /* colors */\n --ld-radio-bg-col: var(--ld-col-wht);\n --ld-radio-bg-col-hover: var(--ld-col-neutral-010);\n --ld-radio-bg-col-active: var(--ld-col-neutral-050);\n --ld-radio-disabled-col: var(--ld-col-neutral-300);\n --ld-radio-disabled-bg-col: var(--ld-col-neutral-100);\n --ld-radio-dark-bg-col: var(--ld-col-neutral-050);\n --ld-radio-dark-bg-col-hover: var(--ld-col-neutral-100);\n --ld-radio-dark-bg-col-active: var(--ld-col-neutral-300);\n --ld-radio-checked-col: var(--ld-col-wht);\n --ld-radio-checked-col-active: var(--ld-col-wht);\n --ld-radio-invalid-checked-col: var(--ld-col-wht);\n --ld-radio-invalid-checked-col-active: var(--ld-col-wht);\n\n /* themable colors */\n --ld-radio-col: var(--ld-thm-primary);\n --ld-radio-col-hover: var(--ld-thm-primary-hover);\n --ld-radio-col-active: var(--ld-thm-primary-active);\n --ld-radio-col-focus: var(--ld-thm-primary-focus);\n --ld-radio-invalid-col: var(--ld-thm-error);\n --ld-radio-invalid-col-hover: var(--ld-thm-error-hover);\n --ld-radio-invalid-col-focus: var(--ld-thm-error-focus);\n --ld-radio-invalid-col-active: var(--ld-thm-error-active);\n --ld-radio-warn-col: var(--ld-thm-warning);\n --ld-radio-warn-col-hover: var(--ld-thm-warning-hover);\n --ld-radio-warn-col-focus: var(--ld-thm-warning-focus);\n --ld-radio-warn-col-active: var(--ld-thm-warning-active);\n --ld-radio-warn-checked-col: var(--ld-thm-warning-active);\n --ld-radio-warn-checked-col-active: var(--ld-thm-warning-hover);\n\n position: relative;\n display: inline-flex;\n flex-shrink: 0;\n width: var(--ld-radio-size);\n height: var(--ld-radio-size);\n min-width: auto !important;\n box-sizing: border-box;\n\n input {\n appearance: none;\n background-color: transparent; /* Required for Mobile Sarari */\n height: 100%;\n inset: 0;\n margin: 0;\n position: absolute;\n width: 100%;\n z-index: 1;\n\n &:checked {\n ~ .ld-radio__dot {\n visibility: inherit;\n }\n }\n\n &:where(:disabled),\n &:where(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n ~ .ld-radio__dot {\n background-color: var(--ld-radio-disabled-col);\n }\n ~ .ld-radio__box {\n background-color: transparent;\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-disabled-bg-col);\n }\n\n &:checked {\n ~ .ld-radio__box {\n background-color: var(--ld-radio-disabled-bg-col);\n }\n }\n }\n\n &:where(\n :not(\n :disabled,\n [aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n cursor: pointer;\n\n ~ .ld-radio__dot {\n background-color: var(--ld-radio-col-active);\n }\n ~ .ld-radio__box {\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col);\n }\n\n &:focus:focus-visible {\n ~ .ld-radio__box {\n background-color: transparent;\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col-focus);\n }\n }\n &:active,\n &:active:focus-visible {\n ~ .ld-radio__box {\n background-color: var(--ld-radio-bg-col-active);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col-active);\n }\n }\n\n &:checked {\n ~ .ld-radio__dot {\n background-color: var(--ld-radio-checked-col);\n }\n ~ .ld-radio__box {\n background-color: var(--ld-radio-col);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col);\n }\n\n &:focus:focus-visible {\n ~ .ld-radio__dot {\n background-color: var(--ld-radio-col-active);\n }\n ~ .ld-radio__box {\n background-color: var(--ld-radio-col-focus);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col-focus);\n }\n }\n &:active,\n &:active:focus-visible {\n ~ .ld-radio__dot {\n background-color: var(--ld-radio-checked-col-active);\n }\n ~ .ld-radio__box {\n background-color: var(--ld-radio-col-active);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col-active);\n }\n }\n }\n }\n }\n\n :where(\n input:not(\n :disabled,\n input[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n )\n )\n ) {\n ~ .ld-radio__box {\n background-color: var(--ld-radio-bg-col);\n }\n\n @media (hover: hover) {\n &:hover {\n ~ .ld-radio__box {\n background-color: var(--ld-radio-bg-col-hover);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col-hover);\n }\n\n &:checked {\n ~ .ld-radio__dot {\n color: var(--ld-radio-checked-col);\n }\n ~ .ld-radio__box {\n background-color: var(--ld-radio-col-hover);\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-radio-col-hover);\n }\n }\n }\n }\n }\n}\n\n.ld-radio.ld-radio--dark,\n:host(.ld-radio.ld-radio--dark) {\n :where(input) {\n &:not(\n :disabled,\n input[aria-disabled]:where(\n :not([aria-disabled=''], [aria-disabled='false'])\n ),\n :checked\n ) {\n ~ .ld-radio__box {\n background-color: var(--ld-radio-dark-bg-col);\n }\n\n @media (hover: hover) {\n &:hover {\n ~ .ld-radio__box {\n background-color: var(--ld-radio-dark-bg-col-hover);\n }\n }\n }\n\n &:active,\n &:active:focus-visible {\n ~ .ld-radio__box {\n background-color: var(--ld-radio-dark-bg-col-active);\n }\n }\n }\n }\n}\n\n.ld-radio__dot {\n visibility: hidden;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n pointer-events: none;\n z-index: 1;\n width: var(--ld-radio-dot-size);\n height: var(--ld-radio-dot-size);\n}\n\n.ld-radio__box {\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n box-shadow: inset 0 0 0 var(--ld-sp-2) var(--ld-col-rblck4);\n}\n\n:host,\n.ld-radio,\n.ld-radio__dot,\n.ld-radio__box {\n border-radius: var(--ld-br-full);\n}\n\n:host(.ld-radio--highlight),\n.ld-radio--highlight {\n --ld-radio-col: var(--ld-radio-warn-col);\n --ld-radio-col-hover: var(--ld-radio-warn-col-hover);\n --ld-radio-col-active: var(--ld-radio-warn-col-focus);\n --ld-radio-col-focus: var(--ld-radio-warn-col-active);\n --ld-radio-checked-col: var(--ld-radio-warn-checked-col);\n --ld-radio-checked-col-active: var(--ld-radio-warn-checked-col-active);\n}\n\n:host(.ld-radio--invalid),\n:host(.ld-radio--danger),\n.ld-radio--invalid,\n.ld-radio--danger {\n --ld-radio-col: var(--ld-radio-invalid-col);\n --ld-radio-col-hover: var(--ld-radio-invalid-col-hover);\n --ld-radio-col-active: var(--ld-radio-invalid-col-focus);\n --ld-radio-col-focus: var(--ld-radio-invalid-col-active);\n --ld-radio-checked-col: var(--ld-radio-invalid-checked-col);\n --ld-radio-checked-col-active: var(--ld-radio-invalid-checked-col-active);\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core'\nimport { cloneAttributes } from '../../utils/cloneAttributes'\nimport { getClassNames } from '../../utils/getClassNames'\nimport { registerAutofocus } from '../../utils/focus'\nimport { isAriaDisabled } from '../../utils/ariaDisabled'\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part input - Actual input element\n */\n@Component({\n tag: 'ld-radio',\n styleUrl: 'ld-radio.css',\n shadow: true,\n})\nexport class LdRadio implements InnerFocusable, ClonesAttributes {\n @Element() el: HTMLInputElement\n\n private attributesObserver: MutationObserver\n\n private input: HTMLInputElement\n private hiddenInput: HTMLInputElement\n\n /** Alternative disabled state that keeps element focusable */\n @Prop() ariaDisabled: string\n\n /** Automatically focus the form control when the page is loaded. */\n @Prop({ reflect: true }) autofocus: boolean\n\n /** Indicates whether the radio button is selected. */\n @Prop({ mutable: true }) checked? = false\n\n /** Disabled state of the radio. */\n @Prop() disabled?: boolean\n\n /** Associates the control with a form element. */\n @Prop() form?: string\n\n /**\n * @internal\n * States that this radio button or another radio button with the same name is checked.\n */\n @Prop() groupChecked? = false\n\n /** Set this property to `true` in order to mark the radio visually as invalid. */\n @Prop() invalid?: boolean\n\n /** Tab index of the input. */\n @Prop() ldTabindex?: number\n\n /** Display mode. */\n @Prop() mode?: 'highlight' | 'danger'\n\n /** Used to specify the name of the control. */\n @Prop() name!: string\n\n /** The value is not editable. */\n @Prop() readonly?: boolean\n\n /** Set this property to `true` in order to mark the radio button as required. */\n @Prop() required?: boolean\n\n /** radio tone. Use `'dark'` on white backgrounds. Default is a light tone. */\n @Prop() tone?: 'dark'\n\n /** The input value. */\n @Prop() value?: string\n\n @State() clonedAttributes\n\n /** Emitted when the input value changed and the element loses focus. */\n @Event() ldchange: EventEmitter\n\n /** Emitted when the input value changed. */\n @Event() ldinput: EventEmitter\n\n /** Sets focus on the radio button. */\n @Method()\n async focusInner() {\n if (this.input !== undefined) {\n this.input.focus()\n }\n }\n\n @Watch('checked')\n @Watch('form')\n @Watch('name')\n @Watch('value')\n updateHiddenInput() {\n const outerForm = this.el.closest('form')\n if (!this.hiddenInput && this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n }\n\n if (this.hiddenInput) {\n if (!this.name) {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n return\n }\n\n this.hiddenInput.name = this.name\n this.hiddenInput.checked = this.checked\n\n if (this.value) {\n this.hiddenInput.value = this.value\n } else {\n this.hiddenInput.removeAttribute('value')\n }\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n } else if (this.hiddenInput.getAttribute('form')) {\n if (outerForm) {\n this.hiddenInput.removeAttribute('form')\n } else {\n this.hiddenInput.remove()\n this.hiddenInput = undefined\n }\n }\n }\n }\n\n private createHiddenInput() {\n this.hiddenInput = document.createElement('input')\n this.hiddenInput.type = 'radio'\n this.hiddenInput.style.visibility = 'hidden'\n this.hiddenInput.style.position = 'absolute'\n this.hiddenInput.style.pointerEvents = 'none'\n this.el.appendChild(this.hiddenInput)\n }\n\n private handleKeyDown = (ev: KeyboardEvent) => {\n switch (ev.key) {\n case 'ArrowUp':\n case 'ArrowLeft': {\n ev.preventDefault()\n this.focusAndSelect('prev')\n return\n }\n case 'ArrowDown':\n case 'ArrowRight': {\n ev.preventDefault()\n this.focusAndSelect('next')\n return\n }\n }\n }\n\n private handleChange = (event: InputEvent) => {\n this.el.dispatchEvent(new InputEvent('change', event))\n this.ldchange.emit(this.checked)\n }\n\n private handleClick = (ev?: MouseEvent) => {\n if (this.disabled || isAriaDisabled(this.el.ariaDisabled)) {\n ev?.preventDefault()\n return\n }\n\n if (this.checked) return\n\n // Uncheck radios with same name.\n if (this.name) {\n // Attribute selector fails in test env, hance filtering with js below.\n Array.from(document.querySelectorAll('ld-radio'))\n .filter((ldRadio) => ldRadio.getAttribute('name') === this.name)\n .forEach((ldRadio) => {\n ldRadio.checked = false\n ldRadio.groupChecked = true\n })\n }\n\n this.checked = true\n\n if (!ev.isTrusted) {\n // This happens, when a click event is dispatched on the host element\n // from the outside i.e. on click on a parent ld-label element.\n this.el.dispatchEvent(\n new InputEvent('input', { bubbles: true, composed: true })\n )\n this.handleInput()\n this.el.dispatchEvent(new InputEvent('change', { bubbles: true }))\n this.ldchange.emit(this.checked)\n }\n }\n\n private handleInput = () => {\n this.ldinput.emit(this.checked)\n }\n\n private focusAndSelect(dir: 'next' | 'prev') {\n const ldRadios = Array.from(document.querySelectorAll('ld-radio')).filter(\n (ldRadio) => ldRadio.getAttribute('name') === this.name\n )\n ldRadios.forEach((ldRadio, index) => {\n if (ldRadio === (this.el as unknown as HTMLLdRadioElement)) {\n const targetLdRadio = ldRadios[index + (dir === 'next' ? 1 : -1)]\n if (targetLdRadio) {\n targetLdRadio.focusInner()\n targetLdRadio.click()\n }\n }\n })\n }\n\n componentWillLoad() {\n this.attributesObserver = cloneAttributes.call(this, ['tone', 'mode'])\n\n const outerForm = this.el.closest('form')\n\n if (this.name && (outerForm || this.form)) {\n this.createHiddenInput()\n this.hiddenInput.checked = this.checked\n this.hiddenInput.name = this.name\n\n if (this.form) {\n this.hiddenInput.setAttribute('form', this.form)\n }\n\n if (this.value) {\n this.hiddenInput.value = this.value\n }\n }\n\n if (this.checked) {\n Array.from(document.querySelectorAll('ld-radio'))\n .filter((ldRadio) => ldRadio.getAttribute('name') === this.name)\n .forEach((ldRadio) => {\n ldRadio.groupChecked = true\n })\n }\n\n registerAutofocus(this.autofocus)\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n const cl = [\n 'ld-radio',\n this.mode && `ld-radio--${this.mode}`,\n this.tone && `ld-radio--${this.tone}`,\n this.invalid && 'ld-radio--invalid',\n ]\n\n return (\n \n (this.input = ref)}\n disabled={this.disabled}\n checked={this.checked}\n tabIndex={\n this.disabled || this.checked || !this.groupChecked\n ? this.ldTabindex\n : -1\n }\n value={this.value}\n />\n
    \n
    \n
    \n )\n }\n}\n"],"mappings":"gNAAA,MAAMA,EAAa,m0X,MC2BNC,EAAO,M,6FAqHVC,KAAAC,cAAiBC,IACvB,OAAQA,EAAGC,KACT,IAAK,UACL,IAAK,YAAa,CAChBD,EAAGE,iBACHJ,KAAKK,eAAe,QACpB,M,CAEF,IAAK,YACL,IAAK,aAAc,CACjBH,EAAGE,iBACHJ,KAAKK,eAAe,QACpB,M,IAKEL,KAAAM,aAAgBC,IACtBP,KAAKQ,GAAGC,cAAc,IAAIC,WAAW,SAAUH,IAC/CP,KAAKW,SAASC,KAAKZ,KAAKa,QAAQ,EAG1Bb,K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AMC,KAAKC,SAASC,iBAAiB,aAClCC,QAAQC,GAAYA,EAAQC,aAAa,UAAYzB,KAAKkB,OAC1DQ,SAASF,IACRA,EAAQG,aAAe,IAAI,G,CAIjCoC,EAAkB/D,KAAKgE,U,CAGzB,oBAAAC,GAEE,GAAIjE,KAAK4D,mBAAoB5D,KAAK4D,mBAAmBM,Y,CAGvD,MAAAC,GACE,MAAMC,EAAK,CACT,WACApE,KAAKqE,MAAQ,aAAarE,KAAKqE,OAC/BrE,KAAKsE,MAAQ,aAAatE,KAAKsE,OAC/BtE,KAAKuE,SAAW,qBAGlB,OACEC,EAACC,EAAI,CAACC,KAAK,OAAOC,MAAOC,EAAcR,GAAKS,QAAS7E,KAAKc,aACxD0D,EAAA,QAAAM,OAAAC,OAAA,CACE/B,KAAK,SACDhD,KAAKgF,iBAAgB,CACzBN,KAAK,kBACLO,SAAUjF,KAAKM,aACf4E,QAASlF,KAAK+B,YACdoD,UAAWnF,KAAKC,cAChBmF,IAAMA,GAASpF,KAAKkC,MAAQkD,EAC5BrE,SAAUf,KAAKe,SACfF,QAASb,KAAKa,QACdwE,SACErF,KAAKe,UAAYf,KAAKa,UAAYb,KAAK2B,aACnC3B,KAAKsF,YACJ,EAEP1C,MAAO5C,KAAK4C,SAEd4B,EAAA,OAAKE,KAAK,MAAMC,MAAM,kBACtBH,EAAA,OAAKG,MAAM,gBAAgBD,KAAK,Q"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-a4360635.entry.js.map b/1704966176737/dist/build/p-a4360635.entry.js.map deleted file mode 100644 index 26c920ef55..0000000000 --- a/1704966176737/dist/build/p-a4360635.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsLayoutCss","DocsLayout","render","h","Host","class"],"sources":["../src/docs/layouts/docs-layout/docs-layout.css?tag=docs-layout","../src/docs/layouts/docs-layout/docs-layout.tsx"],"sourcesContent":["html {\n scroll-padding-top: 5rem;\n}\n\nbody {\n --docs-header-height: 3.125rem;\n --docs-max-width: 90rem;\n --docs-nav-width: 19rem;\n --docs-toc-top: 7.75rem;\n --docs-toc-width: 17rem;\n -webkit-text-size-adjust: none; /* stylelint-disable-line plugin/no-unsupported-browser-features */\n overscroll-behavior: none;\n overflow-x: hidden;\n\n @media (width <= 75rem) {\n --docs-toc-width: 13rem;\n }\n}\n\n.docs-toc__content {\n width: var(--docs-toc-width);\n position: sticky;\n top: var(--docs-toc-top);\n\n @media (width <= 40rem) {\n display: none;\n }\n}\n\n.docs-layout {\n display: grid;\n grid-template-columns: auto auto 1fr auto;\n font-family: var(--ld-font-body);\n margin: 0 auto;\n max-width: var(--docs-max-width);\n min-height: calc(100vh - var(--docs-header-height));\n\n &.hydrated {\n visibility: visible !important;\n }\n\n &::before {\n content: '';\n position: fixed;\n inset: 0;\n z-index: -1;\n }\n\n :where(a:not([class*='ld-'], [class*='docs-'], .ld-notice *)) {\n text-decoration: none;\n color: inherit;\n }\n}\n\n.docs-nav {\n width: var(--docs-nav-width);\n\n @media (width <= 52rem) {\n transition: transform 0.2s ease, visibility 0s 0.2s linear;\n visibility: hidden;\n transform: translateX(-100%);\n position: fixed;\n height: calc(100% - var(--docs-header-height));\n box-shadow: var(--ld-shadow-hover);\n }\n}\n\n@media (width <= 52rem) {\n .docs-nav:target {\n visibility: visible;\n transform: translateX(0);\n transition: transform 0.2s ease;\n\n + .docs-nav-backdrop {\n transition: opacity 0.2s linear;\n display: block;\n pointer-events: auto;\n visibility: visible;\n opacity: 0.5;\n }\n\n ~ .docs-btn-toggle-nav {\n .docs-btn-toggle-nav__close {\n display: inline-flex;\n }\n .docs-btn-toggle-nav__open {\n display: none;\n }\n }\n }\n}\n","import { Component, h, Host } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-layout',\n styleUrl: 'docs-layout.css',\n shadow: false,\n})\nexport class DocsLayout {\n render(): HTMLDivElement {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAgB,igD,MCQTC,EAAU,M,yBACrB,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAM,eACVF,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-a5f4b2c5.entry.js b/1704966176737/dist/build/p-a5f4b2c5.entry.js deleted file mode 100644 index 3c258756b5..0000000000 --- a/1704966176737/dist/build/p-a5f4b2c5.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as o,h as s}from"./p-21a69c18.js";const t=":host{display:contents}";const r=class{constructor(s){o(this,s);this.span=undefined}render(){return s("colgroup",{class:"ld-table-colgroup",span:this.span,part:"colgroup"},s("slot",null))}};r.style=t;export{r as ld_table_colgroup}; -//# sourceMappingURL=p-a5f4b2c5.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-a5f4b2c5.entry.js.map b/1704966176737/dist/build/p-a5f4b2c5.entry.js.map deleted file mode 100644 index 8da02c4e41..0000000000 --- a/1704966176737/dist/build/p-a5f4b2c5.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldTableColgroupShadowCss","LdTableColgroup","render","h","class","span","this","part"],"sources":["../src/liquid/components/ld-table/ld-table-colgroup/ld-table-colgroup.shadow.css?tag=ld-table-colgroup&encapsulation=shadow","../src/liquid/components/ld-table/ld-table-colgroup/ld-table-colgroup.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n","import { Component, h, Prop } from '@stencil/core'\n\n/**\n * @part colgroup - the actual colgroup element\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n */\n@Component({\n tag: 'ld-table-colgroup',\n styleUrl: 'ld-table-colgroup.shadow.css',\n shadow: true,\n})\nexport class LdTableColgroup {\n /** Contains a non-negative integer value indicating the number of consecutive columns the colgroup element spans. */\n @Prop() span?: HTMLTableColElement['span']\n\n render() {\n return (\n \n \n \n )\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAA2B,0B,MCYpBC,EAAe,M,6CAI1B,MAAAC,GACE,OACEC,EAAA,YAAUC,MAAM,oBAAoBC,KAAMC,KAAKD,KAAME,KAAK,YACxDJ,EAAA,a"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-ad64dade.entry.js.map b/1704966176737/dist/build/p-ad64dade.entry.js.map deleted file mode 100644 index 431b785f29..0000000000 --- a/1704966176737/dist/build/p-ad64dade.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ldStepCss","LdStep","this","handleClick","ldstepselected","emit","index","Array","from","el","parentElement","children","findIndex","child","label","textContent","focusInner","_a","focusableElement","focus","componentWillLoad","attributesObserver","cloneAttributes","call","componentDidLoad","current","disconnectedCallback","disconnect","render","FocusableElement","href","h","Host","class","getClassNames","brandColor","done","icon","lastActive","next","optional","size","skipped","vertical","part","role","labelDone","labelWasOptional","labelOptional","labelSkipped","labelCurrent","Object","assign","clonedAttributes","undefined","disabled","onClick","ref","tabIndex","ldTabindex","type","name","description"],"sources":["../src/liquid/components/ld-stepper/ld-step/ld-step.css?tag=ld-step&encapsulation=shadow","../src/liquid/components/ld-stepper/ld-step/ld-step.tsx"],"sourcesContent":["@define-mixin ld-step-dot {\n border-radius: var(--ld-br-full);\n box-sizing: border-box;\n content: '';\n display: block;\n height: var(--ld-step-dot-size);\n position: absolute;\n top: var(--ld-step-dot-offset);\n width: var(--ld-step-dot-size);\n}\n\n.ld-step {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-default);\n --ld-step-brand-dot-opacity-default: 0.3;\n --ld-step-brand-dot-opacity-active: 0.7;\n --ld-step-brand-dot-opacity-done: 1;\n --ld-step-brand-dot-opacity-focus: 0.2;\n --ld-step-brand-dot-opacity-hover: 0.5;\n --ld-step-brand-line-opacity: var(--ld-step-brand-line-opacity-default);\n --ld-step-brand-line-opacity-default: 0.3;\n --ld-step-brand-line-opacity-done: 1;\n --ld-step-description-font-size: var(--ld-step-description-font-size-md);\n --ld-step-description-font-size-sm: 0.625rem;\n --ld-step-description-font-size-md: 0.75rem;\n --ld-step-description-font-size-lg: 0.875rem;\n --ld-step-dot-offset: calc(\n (var(--ld-step-dot-size-with-icon) - var(--ld-step-dot-size)) / 2\n );\n --ld-step-dot-size: var(--ld-step-dot-size-default);\n --ld-step-dot-size-default: var(--ld-step-dot-size-md);\n --ld-step-dot-size-sm: var(--ld-sp-12);\n --ld-step-dot-size-md: var(--ld-sp-16);\n --ld-step-dot-size-lg: 1.25rem;\n --ld-step-dot-size-with-icon: var(--ld-step-dot-size-with-icon-md);\n --ld-step-dot-size-with-icon-sm: 1.25rem;\n --ld-step-dot-size-with-icon-md: var(--ld-sp-24);\n --ld-step-dot-size-with-icon-lg: var(--ld-sp-32);\n --ld-step-icon-size: calc(var(--ld-step-dot-size-with-icon) * 0.5);\n --ld-step-icon-size-custom: calc(var(--ld-step-dot-size-with-icon) * 0.6);\n --ld-step-icon-offset: calc(\n (var(--ld-step-dot-size-with-icon) - var(--ld-step-icon-size)) / 2\n );\n --ld-step-label-font-size: var(--ld-step-label-font-size-md);\n --ld-step-label-font-size-sm: 0.75rem;\n --ld-step-label-font-size-md: 0.875rem;\n --ld-step-label-font-size-lg: 1.125rem;\n --ld-step-line-thickness: var(--ld-step-line-thickness-md);\n --ld-step-line-thickness-sm: var(--ld-sp-2);\n --ld-step-line-thickness-md: 0.1875rem;\n --ld-step-line-thickness-lg: var(--ld-sp-4);\n --ld-step-text-distance: var(--ld-sp-16);\n --ld-step-text-margin: calc(\n var(--ld-step-dot-size-with-icon) + var(--ld-step-text-distance)\n );\n --ld-step-vertical-label-margin-top: calc(\n /* remove actual line-height of the label from dot size to get the difference */\n (var(--ld-step-dot-size-with-icon) - var(--ld-step-label-font-size) * 1.4) /\n 2\n );\n --ld-step-vertical-text-gap: var(--ld-step-vertical-text-gap-md);\n --ld-step-vertical-text-gap-sm: var(--ld-sp-4);\n --ld-step-vertical-text-gap-md: var(--ld-sp-6);\n --ld-step-vertical-text-gap-lg: var(--ld-sp-8);\n\n /* colors */\n --ld-step-bg-col: var(--ld-thm-primary);\n --ld-step-col: var(--ld-step-col-default);\n --ld-step-col-default: var(--ld-col-neutral-600);\n --ld-step-col-done: var(--ld-thm-primary);\n --ld-step-dot-col: var(--ld-step-dot-col-default);\n --ld-step-dot-col-default: var(--ld-col-neutral-200);\n --ld-step-dot-col-active: var(--ld-col-neutral-500);\n --ld-step-dot-col-current: var(--ld-thm-secondary);\n --ld-step-dot-col-done: var(--ld-thm-primary);\n --ld-step-dot-col-done-active: var(--ld-thm-primary-active);\n --ld-step-dot-col-done-focus: var(--ld-thm-primary-focus);\n --ld-step-dot-col-done-hover: var(--ld-thm-primary-hover);\n --ld-step-dot-col-focus: var(--ld-col-neutral-100);\n --ld-step-dot-col-hover: var(--ld-col-neutral-400);\n --ld-step-description-col: var(--ld-step-description-col-default);\n --ld-step-description-col-default: var(--ld-step-col);\n --ld-step-description-col-done: var(--ld-col-neutral-900);\n --ld-step-icon-col: var(--ld-step-icon-col-default);\n --ld-step-icon-col-default: var(--ld-col-wht);\n --ld-step-line-start-col: var(--ld-step-line-col-default);\n --ld-step-line-end-col: var(--ld-step-line-col-default);\n --ld-step-line-col-default: var(--ld-col-neutral-200);\n --ld-step-line-col-done: var(--ld-thm-primary);\n\n /* on-brand colors */\n --ld-step-brand-bg-col: var(--ld-thm-primary);\n --ld-step-brand-col: var(--ld-thm-primary-highlight);\n --ld-step-brand-col-done: var(--ld-col-wht);\n --ld-step-description-brand-col: var(--ld-thm-primary-highlight);\n --ld-step-description-brand-col-done: var(--ld-col-wht);\n --ld-step-dot-brand-col: var(--ld-col-wht);\n --ld-step-dot-brand-col-done-active: var(--ld-col-wht-alpha-medium);\n --ld-step-dot-brand-col-done-focus: var(--ld-col-wht);\n --ld-step-dot-brand-col-done-hover: var(--ld-col-wht-alpha-high);\n --ld-step-brand-icon-col: var(--ld-step-brand-bg-col);\n --ld-step-brand-icon-col-done-focus: var(--ld-thm-primary-focus);\n --ld-step-line-brand-col: var(--ld-col-wht);\n\n align-items: center;\n display: flex;\n flex-direction: column;\n height: 100%;\n position: relative;\n\n .ld-icon {\n --ld-icon-size-sm: var(--ld-step-icon-size);\n --ld-icon-size-md: var(--ld-step-icon-size);\n --ld-icon-size-lg: var(--ld-step-icon-size);\n color: var(--ld-step-icon-col);\n pointer-events: none;\n position: absolute;\n top: var(--ld-step-icon-offset);\n z-index: 1;\n }\n\n &--brand-color {\n --ld-step-col-default: var(--ld-step-brand-col);\n --ld-step-col-done: var(--ld-step-brand-col-done);\n --ld-step-description-col-default: var(--ld-step-description-brand-col);\n --ld-step-description-col-done: var(--ld-step-description-brand-col-done);\n --ld-step-dot-col-default: var(--ld-step-dot-brand-col);\n --ld-step-dot-col-active: var(--ld-step-dot-brand-col);\n --ld-step-dot-col-done: var(--ld-step-dot-brand-col);\n --ld-step-dot-col-done-active: var(--ld-step-dot-brand-col-done-active);\n --ld-step-dot-col-done-focus: var(--ld-step-dot-brand-col-done-focus);\n --ld-step-dot-col-done-hover: var(--ld-step-dot-brand-col-done-hover);\n --ld-step-dot-col-focus: var(--ld-step-dot-brand-col);\n --ld-step-dot-col-hover: var(--ld-step-dot-brand-col);\n --ld-step-icon-col-default: var(--ld-step-brand-icon-col);\n --ld-step-icon-col-done-focus: var(--ld-step-brand-icon-col-done-focus);\n --ld-step-line-col-default: var(--ld-step-line-brand-col);\n --ld-step-line-col-done: var(--ld-step-line-brand-col);\n\n &::after,\n &::before {\n opacity: var(--ld-step-brand-line-opacity);\n }\n\n &.ld-step {\n &--current,\n &--done,\n &--next,\n &--skipped {\n --ld-step-brand-line-opacity: var(--ld-step-brand-line-opacity-done);\n }\n\n &--done:where(:not(.ld-step--optional)) .ld-step__focusable-element {\n &:focus:where(:not(:active, :hover)) {\n + .ld-icon {\n --ld-step-icon-col: var(--ld-step-icon-col-done-focus);\n }\n\n /* stylelint-disable-next-line csstools/use-nesting */\n &:where(:not(:focus-visible)) + .ld-icon {\n --ld-step-icon-col: var(--ld-step-icon-col-default);\n }\n }\n }\n\n &--last-active {\n &::after {\n --ld-step-brand-line-opacity: var(\n --ld-step-brand-line-opacity-default\n );\n }\n }\n }\n\n .ld-step__focusable-element {\n &::after {\n @mixin ld-step-dot;\n background: var(--ld-step-brand-bg-col);\n z-index: 0;\n }\n\n &::before,\n + .ld-icon {\n opacity: var(--ld-step-brand-dot-opacity);\n }\n }\n }\n\n &--custom-icon {\n --ld-step-icon-size: var(--ld-step-icon-size-custom);\n }\n\n &--with-icon {\n --ld-step-dot-size: var(--ld-step-dot-size-with-icon);\n }\n\n &--done,\n &--next,\n &--skipped {\n --ld-step-dot-col: var(--ld-step-dot-col-done);\n --ld-step-dot-col-default: var(--ld-step-dot-col-done);\n --ld-step-dot-col-active: var(--ld-step-dot-col-done-active);\n --ld-step-dot-col-focus: var(--ld-step-dot-col-done-focus);\n --ld-step-dot-col-hover: var(--ld-step-dot-col-done-hover);\n }\n\n &--current,\n &--done,\n &--next,\n &--skipped {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-done);\n --ld-step-brand-dot-opacity-default: var(--ld-step-brand-dot-opacity-done);\n --ld-step-brand-dot-opacity-active: var(--ld-step-brand-dot-opacity-done);\n --ld-step-brand-dot-opacity-focus: var(--ld-step-brand-dot-opacity-done);\n --ld-step-brand-dot-opacity-hover: var(--ld-step-brand-dot-opacity-done);\n --ld-step-col: var(--ld-step-col-done);\n --ld-step-description-col: var(--ld-step-description-col-done);\n --ld-step-line-start-col: var(--ld-step-line-col-done);\n --ld-step-line-end-col: var(--ld-step-line-col-done);\n }\n\n &--current {\n --ld-step-dot-col: var(--ld-step-dot-col-current);\n }\n\n &--last-active {\n --ld-step-line-end-col: var(--ld-step-line-col-default);\n }\n\n &--optional {\n --ld-step-icon-col: var(--ld-step-dot-col);\n\n .ld-step__focusable-element {\n &::before {\n background: transparent;\n border: solid var(--ld-step-line-thickness) var(--ld-step-dot-col);\n }\n }\n }\n\n &--vertical {\n align-items: start;\n gap: var(--ld-step-vertical-text-gap);\n\n .ld-step__focusable-element {\n margin: var(--ld-step-vertical-label-margin-top) 0 0\n var(--ld-step-text-margin);\n text-align: left;\n\n &::after,\n &::before {\n flex-shrink: 0;\n left: calc(var(--ld-step-dot-size-with-icon) / 2);\n transform: translateX(-50%);\n }\n }\n\n .ld-icon {\n left: var(--ld-step-icon-offset);\n }\n }\n\n :host(:empty) & .ld-step__focusable-element,\n .ld-step__focusable-element:empty {\n margin: var(--ld-step-dot-offset) 0 0;\n\n &,\n &::before {\n position: relative;\n top: 0;\n }\n\n &::after {\n top: 0;\n }\n }\n\n &--sm {\n --ld-step-description-font-size: var(--ld-step-description-font-size-sm);\n --ld-step-dot-size-default: var(--ld-step-dot-size-sm);\n --ld-step-dot-size-with-icon: var(--ld-step-dot-size-with-icon-sm);\n --ld-step-label-font-size: var(--ld-step-label-font-size-sm);\n --ld-step-line-thickness: var(--ld-step-line-thickness-sm);\n --ld-step-vertical-text-gap: var(--ld-step-vertical-text-gap-sm);\n }\n\n &--lg {\n --ld-step-description-font-size: var(--ld-step-description-font-size-lg);\n --ld-step-dot-size-default: var(--ld-step-dot-size-lg);\n --ld-step-dot-size-with-icon: var(--ld-step-dot-size-with-icon-lg);\n --ld-step-label-font-size: var(--ld-step-label-font-size-lg);\n --ld-step-line-thickness: var(--ld-step-line-thickness-lg);\n --ld-step-vertical-text-gap: var(--ld-step-vertical-text-gap-lg);\n }\n}\n\n.ld-step__focusable-element {\n align-items: center;\n background: transparent;\n border: 0;\n color: var(--ld-step-col);\n display: flex;\n flex-direction: column;\n font-family: var(--ld-font-body);\n font-size: var(--ld-step-label-font-size);\n font-weight: 700;\n line-height: 140%;\n margin: var(--ld-step-text-margin) 0 0; /* Safari reset */\n padding: 0;\n text-align: center;\n text-decoration: none;\n\n .ld-step:not(.ld-step--current)\n &:not(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n cursor: pointer;\n\n &:focus {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-focus);\n --ld-step-dot-col: var(--ld-step-dot-col-focus);\n\n &:where(:not(:focus-visible)) {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-default);\n --ld-step-dot-col: var(--ld-step-dot-col-default);\n }\n }\n\n @media (hover: hover) {\n &:hover {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-hover);\n --ld-step-dot-col: var(--ld-step-dot-col-hover);\n }\n }\n\n &:active {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-active);\n --ld-step-dot-col: var(--ld-step-dot-col-active);\n }\n }\n\n /* Usually the .ld-icon class should already inherit its color from `--ld-step-dot-col`.\n But due to a bug (assumably) it inherits the same color than the element it inherits\n the variable assignment from, instead of the color for `--ld-step-dot-col` set a few\n lines above this comment. Thus the color needs to be overwritten explicitly. */\n .ld-step--optional:not(.ld-step--current)\n &:not(\n [aria-disabled]:where(:not([aria-disabled=''], [aria-disabled='false']))\n ) {\n &:focus {\n + .ld-icon {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-focus);\n color: var(--ld-step-dot-col-focus);\n }\n\n /* stylelint-disable-next-line csstools/use-nesting */\n &:where(:not(:focus-visible)) + .ld-icon {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-default);\n color: var(--ld-step-dot-col-default);\n }\n }\n\n @media (hover: hover) {\n &:hover + .ld-icon {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-hover);\n color: var(--ld-step-dot-col-hover);\n }\n }\n\n &:active + .ld-icon {\n --ld-step-brand-dot-opacity: var(--ld-step-brand-dot-opacity-active);\n color: var(--ld-step-dot-col-active);\n }\n }\n\n &::before {\n @mixin ld-step-dot;\n background: var(--ld-step-dot-col);\n z-index: 1;\n }\n}\n\n:host(:not(:first-of-type)) .ld-step,\n.ld-step:not(:first-of-type) {\n &::before {\n content: '';\n background: var(--ld-step-line-start-col);\n height: var(--ld-step-line-thickness);\n left: calc(var(--ld-stepper-gap) / -2);\n position: absolute;\n right: calc(50% + var(--ld-step-dot-size) / 2 - var(--ld-sp-1));\n top: calc(var(--ld-step-dot-size-with-icon) / 2);\n transform: translateY(-50%);\n }\n\n &.ld-step--vertical::before {\n /* stylelint-disable declaration-block-no-redundant-longhand-properties */\n bottom: calc(100% - var(--ld-step-dot-offset) - var(--ld-sp-1));\n left: calc(var(--ld-step-dot-size-with-icon) / 2);\n right: auto;\n top: calc(var(--ld-stepper-gap) / -2);\n /* stylelint-enable declaration-block-no-redundant-longhand-properties */\n height: auto;\n transform: translateX(-50%);\n width: var(--ld-step-line-thickness);\n }\n}\n\n:host(:not(:last-of-type)) .ld-step,\n.ld-step:not(:last-of-type) {\n &::after {\n /* stylelint-disable declaration-block-no-redundant-longhand-properties */\n left: calc(50% + var(--ld-step-dot-size) / 2 - var(--ld-sp-1));\n right: calc(var(--ld-stepper-gap) / -2);\n top: calc(var(--ld-step-dot-size-with-icon) / 2);\n /* stylelint-enable declaration-block-no-redundant-longhand-properties */\n background: var(--ld-step-line-end-col);\n content: '';\n height: var(--ld-step-line-thickness);\n position: absolute;\n transform: translateY(-50%);\n }\n\n &.ld-step--vertical::after {\n /* stylelint-disable declaration-block-no-redundant-longhand-properties */\n bottom: calc(var(--ld-stepper-gap) / -2);\n left: calc(var(--ld-step-dot-size-with-icon) / 2);\n right: auto;\n top: calc(\n var(--ld-step-dot-size) + var(--ld-step-dot-offset) - var(--ld-sp-1)\n );\n /* stylelint-enable declaration-block-no-redundant-longhand-properties */\n height: auto;\n transform: translateX(-50%);\n width: var(--ld-step-line-thickness);\n }\n}\n\n.ld-step__description {\n color: var(--ld-step-description-col);\n font-family: var(--ld-font-body);\n font-size: var(--ld-step-description-font-size);\n line-height: 140%;\n margin-left: var(--ld-step-text-margin);\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n Method,\n State,\n} from '@stencil/core'\nimport { cloneAttributes } from '../../../utils/cloneAttributes'\nimport { getClassNames } from '../../../utils/getClassNames'\n\nexport type SelectedDetail = { index: number; label: string }\n\n/**\n * @virtualProp ref - reference to component\n * @virtualProp {string | number} key - for tracking the node's identity when working with lists\n * @part a - actual `a` element\n * @part button - actual `button` element\n * @part description - `span` element wrapping the description text\n * @part focusable - focusable `a` or `button` element, depending on `href` prop\n * @part li - actual `li` element\n */\n@Component({\n tag: 'ld-step',\n styleUrl: 'ld-step.css',\n shadow: true,\n})\nexport class LdStep implements InnerFocusable {\n @Element() el: HTMLLdStepElement\n private attributesObserver?: MutationObserver\n private focusableElement: HTMLButtonElement | HTMLAnchorElement\n\n /** Switch colors for brand background */\n @Prop() brandColor? = false\n\n /** Step is the current step */\n @Prop() current? = false\n\n /** Description text to display below the step name (vertical mode only) */\n @Prop() description?: string\n\n /** Step is not clickable */\n @Prop() disabled? = false\n\n /** Step is done */\n @Prop() done? = false\n\n /** Link to the step (makes the step an anchor instead of a button) */\n @Prop() href?: string\n\n /** Permanently show a custom icon inside the dot */\n @Prop() icon?: HTMLLdIconElement['name']\n\n /** Label for current step (scree-reader only) */\n @Prop() labelCurrent? = 'Current'\n\n /** Label for step that is done (scree-reader only) */\n @Prop() labelDone? = 'Done'\n\n /** Label for step that is optional (scree-reader only) */\n @Prop() labelOptional? = 'Optional'\n\n /** Label for step that was skipped (scree-reader only) */\n @Prop() labelSkipped? = 'Skipped'\n\n /** Additional hint in label for step that is done and was optional (scree-reader only) */\n @Prop() labelWasOptional? = 'was optional'\n\n /** Indicates that the next step is not active */\n @Prop() lastActive? = false\n\n /** Tab index of the step */\n @Prop() ldTabindex?: number\n\n /** Step can be processed next */\n @Prop() next? = false\n\n /** Step may be skipped */\n @Prop() optional? = false\n\n /** Step size */\n @Prop() size?: 'sm' | 'lg'\n\n /** Step was skipped */\n @Prop() skipped? = false\n\n /** Vertical layout */\n @Prop() vertical? = false\n\n /** Emitted when the focusable element is clicked and step is neither current nor disabled */\n @Event() ldstepselected: EventEmitter\n\n @State() clonedAttributes\n\n /** Sets focus on the step */\n @Method()\n async focusInner() {\n this.focusableElement?.focus()\n }\n\n handleClick = () => {\n this.ldstepselected.emit({\n index: Array.from(this.el.parentElement.children).findIndex(\n (child) => child === this.el\n ),\n label: this.el.textContent,\n })\n }\n\n componentWillLoad() {\n this.attributesObserver = cloneAttributes.call(this, [\n 'aria-current',\n 'aria-disabled',\n 'brand-color',\n 'current',\n 'description',\n 'disabled',\n 'done',\n 'href',\n 'icon',\n 'label-current',\n 'label-done',\n 'label-optional',\n 'label-skipped',\n 'label-was-optional',\n 'last-active',\n 'ld-tabindex',\n 'next',\n 'optional',\n 'size',\n 'skipped',\n 'tabindex',\n 'type',\n 'vertical',\n ])\n }\n\n componentDidLoad() {\n if (this.current) {\n this.handleClick()\n }\n }\n\n disconnectedCallback() {\n /* istanbul ignore if */\n if (this.attributesObserver) this.attributesObserver.disconnect()\n }\n\n render() {\n const FocusableElement = this.href ? 'a' : 'button'\n\n return (\n \n \n {!this.current && this.done && (\n \n {this.labelDone}\n {this.optional ? ` (${this.labelWasOptional})` : ''}:{' '}\n \n )}\n {!this.current && this.optional && !this.done && !this.skipped && (\n {this.labelOptional}: \n )}\n {!this.current && this.skipped && (\n {this.labelSkipped}: \n )}\n {this.current && (\n \n {this.labelCurrent}\n {this.optional ? ` (${this.labelOptional})` : ''}:{' '}\n \n )}\n \n (this.focusableElement = ref)\n }\n tabIndex={this.ldTabindex}\n type={FocusableElement === 'button' ? 'button' : undefined}\n >\n \n \n {(this.done || this.icon) && (\n \n )}\n {this.description && this.vertical && (\n \n {this.description}\n \n )}\n \n \n )\n }\n}\n"],"mappings":"wIAAA,MAAMA,EAAY,4lc,MC8BLC,EAAM,M,wEAyEjBC,KAAAC,YAAc,KACZD,KAAKE,eAAeC,KAAK,CACvBC,MAAOC,MAAMC,KAAKN,KAAKO,GAAGC,cAAcC,UAAUC,WAC/CC,GAAUA,IAAUX,KAAKO,KAE5BK,MAAOZ,KAAKO,GAAGM,aACf,E,gBAzEkB,M,aAGH,M,yCAMC,M,UAGJ,M,0DASQ,U,eAGH,O,mBAGI,W,kBAGD,U,sBAGI,e,gBA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,KAAKsC,SAAW,KAAKtC,KAAK8C,iBAAmB,GAAE,IAAG,KAGvDjB,EAACF,EAAgBsB,OAAAC,OAAA,GACXlD,KAAKmD,iBAAgB,gBACXnD,KAAKuB,QAAU,OAAS6B,UAAS,gBAChCpD,KAAKqD,SAAW,OAASD,UACxCrB,MAAM,6BACNH,MAAO5B,KAAKqD,WAAarD,KAAKuB,QAAUvB,KAAK4B,KAAOwB,UACpDE,SACGtD,KAAKqD,WAAarD,KAAKuB,QAAUvB,KAAKC,YAAcmD,UAEvDV,KAAM,GAAGf,cACT4B,IAAMA,GACHvD,KAAKgB,iBAAmBuC,EAE3BC,SAAUxD,KAAKyD,WACfC,KAAM/B,IAAqB,SAAW,SAAWyB,YAEjDvB,EAAA,eAEA7B,KAAKkC,MAAQlC,KAAKmC,OAClBN,EAAA,WAAS8B,KAAM3D,KAAKmC,MAAQ,cAE7BnC,KAAK4D,aAAe5D,KAAKyC,UACxBZ,EAAA,QAAME,MAAM,uBAAuBW,KAAK,eACrC1C,KAAK4D,c"} \ No newline at end of file diff --git a/1704966176737/dist/build/p-b2dd29b5.entry.js b/1704966176737/dist/build/p-b2dd29b5.entry.js deleted file mode 100644 index ef6656ca03..0000000000 --- a/1704966176737/dist/build/p-b2dd29b5.entry.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as e,h as t,H as s}from"./p-21a69c18.js";const a=".docs-iframe{inset:0;left:max(calc(var(--docs-nav-width) + 50vw - var(--docs-max-width) / 2),var(--docs-nav-width));position:fixed;top:var(--docs-header-height)}@media (width <= 52rem){.docs-iframe{left:0}}.docs-iframe iframe{height:100%;width:100%}";const i=class{constructor(t){e(this,t);this.src=undefined;this.darkMode=undefined;this.loaded=false}async setDarkMode(e){this.darkMode=e}updateDarkMode(e){if(!this.loaded)return;this.iframe.contentWindow.postMessage({mode:"updateDarkmode",darkMode:e})}componentDidLoad(){this.iframe.addEventListener("load",(()=>{this.loaded=true;this.updateDarkMode(this.darkMode)}))}render(){return t(s,{class:"docs-iframe"},t("iframe",{ref:e=>this.iframe=e,src:this.src}))}static get watchers(){return{darkMode:["updateDarkMode"]}}};i.style=a;export{i as docs_iframe}; -//# sourceMappingURL=p-b2dd29b5.entry.js.map \ No newline at end of file diff --git a/1704966176737/dist/build/p-b2dd29b5.entry.js.map b/1704966176737/dist/build/p-b2dd29b5.entry.js.map deleted file mode 100644 index c0d5d3baac..0000000000 --- a/1704966176737/dist/build/p-b2dd29b5.entry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["docsIframeCss","DocsIFrame","setDarkMode","darkMode","this","updateDarkMode","loaded","iframe","contentWindow","postMessage","mode","componentDidLoad","addEventListener","render","h","Host","class","ref","src"],"sources":["../src/docs/components/docs-iframe/docs-iframe.css?tag=docs-iframe","../src/docs/components/docs-iframe/docs-iframe.tsx"],"sourcesContent":[".docs-iframe {\n inset: 0;\n top: var(--docs-header-height);\n left: max(\n calc(var(--docs-nav-width) + 50vw - var(--docs-max-width) / 2),\n var(--docs-nav-width)\n );\n position: fixed;\n\n @media (width <= 52rem) {\n left: 0;\n }\n\n iframe {\n height: 100%;\n width: 100%;\n }\n}\n","import { Component, h, Host, Method, Prop, State, Watch } from '@stencil/core'\n\n/** @internal **/\n@Component({\n tag: 'docs-iframe',\n styleUrl: 'docs-iframe.css',\n shadow: false,\n})\nexport class DocsIFrame {\n private iframe: HTMLIFrameElement\n\n /** URL to the IFrame content */\n @Prop() src?: string\n\n @State() darkMode: boolean\n @State() loaded = false\n\n /** Setting the dark mode on the component */\n @Method()\n async setDarkMode(darkMode?: boolean) {\n this.darkMode = darkMode\n }\n\n @Watch('darkMode')\n updateDarkMode(darkMode: boolean) {\n if (!this.loaded) return\n\n this.iframe.contentWindow.postMessage({\n mode: 'updateDarkmode',\n darkMode: darkMode,\n })\n }\n\n componentDidLoad() {\n this.iframe.addEventListener('load', () => {\n this.loaded = true\n this.updateDarkMode(this.darkMode)\n })\n }\n\n render() {\n return (\n \n