snice 4.9.0 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adapters/react/app-tiles.d.ts +28 -0
- package/adapters/react/app-tiles.d.ts.map +1 -0
- package/adapters/react/app-tiles.js +24 -0
- package/adapters/react/app-tiles.js.map +1 -0
- package/adapters/react/app-tiles.tsx +36 -0
- package/adapters/react/book.d.ts +28 -0
- package/adapters/react/book.d.ts.map +1 -0
- package/adapters/react/book.js +24 -0
- package/adapters/react/book.js.map +1 -0
- package/adapters/react/book.tsx +36 -0
- package/adapters/react/comments.d.ts +29 -0
- package/adapters/react/comments.d.ts.map +1 -0
- package/adapters/react/comments.js +24 -0
- package/adapters/react/comments.js.map +1 -0
- package/adapters/react/comments.tsx +37 -0
- package/adapters/react/components.d.ts +52 -0
- package/adapters/react/components.d.ts.map +1 -1
- package/adapters/react/components.js +26 -0
- package/adapters/react/components.js.map +1 -1
- package/adapters/react/components.ts +52 -0
- package/adapters/react/countdown.d.ts +31 -0
- package/adapters/react/countdown.d.ts.map +1 -0
- package/adapters/react/countdown.js +24 -0
- package/adapters/react/countdown.js.map +1 -0
- package/adapters/react/countdown.tsx +39 -0
- package/adapters/react/cropper.d.ts +29 -0
- package/adapters/react/cropper.d.ts.map +1 -0
- package/adapters/react/cropper.js +24 -0
- package/adapters/react/cropper.js.map +1 -0
- package/adapters/react/cropper.tsx +37 -0
- package/adapters/react/diff.d.ts +31 -0
- package/adapters/react/diff.d.ts.map +1 -0
- package/adapters/react/diff.js +24 -0
- package/adapters/react/diff.js.map +1 -0
- package/adapters/react/diff.tsx +39 -0
- package/adapters/react/flip-card.d.ts +28 -0
- package/adapters/react/flip-card.d.ts.map +1 -0
- package/adapters/react/flip-card.js +24 -0
- package/adapters/react/flip-card.js.map +1 -0
- package/adapters/react/flip-card.tsx +36 -0
- package/adapters/react/flow.d.ts +32 -0
- package/adapters/react/flow.d.ts.map +1 -0
- package/adapters/react/flow.js +24 -0
- package/adapters/react/flow.js.map +1 -0
- package/adapters/react/flow.tsx +40 -0
- package/adapters/react/gantt.d.ts +27 -0
- package/adapters/react/gantt.d.ts.map +1 -0
- package/adapters/react/gantt.js +24 -0
- package/adapters/react/gantt.js.map +1 -0
- package/adapters/react/gantt.tsx +35 -0
- package/adapters/react/map.d.ts +30 -0
- package/adapters/react/map.d.ts.map +1 -0
- package/adapters/react/map.js +24 -0
- package/adapters/react/map.js.map +1 -0
- package/adapters/react/map.tsx +38 -0
- package/adapters/react/markdown.d.ts +26 -0
- package/adapters/react/markdown.d.ts.map +1 -0
- package/adapters/react/markdown.js +24 -0
- package/adapters/react/markdown.js.map +1 -0
- package/adapters/react/markdown.tsx +34 -0
- package/adapters/react/notification-center.d.ts +26 -0
- package/adapters/react/notification-center.d.ts.map +1 -0
- package/adapters/react/notification-center.js +24 -0
- package/adapters/react/notification-center.js.map +1 -0
- package/adapters/react/notification-center.tsx +34 -0
- package/adapters/react/org-chart.d.ts +28 -0
- package/adapters/react/org-chart.d.ts.map +1 -0
- package/adapters/react/org-chart.js +24 -0
- package/adapters/react/org-chart.js.map +1 -0
- package/adapters/react/org-chart.tsx +36 -0
- package/adapters/react/pdf-viewer.d.ts +28 -0
- package/adapters/react/pdf-viewer.d.ts.map +1 -0
- package/adapters/react/pdf-viewer.js +24 -0
- package/adapters/react/pdf-viewer.js.map +1 -0
- package/adapters/react/pdf-viewer.tsx +36 -0
- package/adapters/react/podcast-player.d.ts +40 -0
- package/adapters/react/podcast-player.d.ts.map +1 -0
- package/adapters/react/podcast-player.js +24 -0
- package/adapters/react/podcast-player.js.map +1 -0
- package/adapters/react/podcast-player.tsx +48 -0
- package/adapters/react/pricing-table.d.ts +27 -0
- package/adapters/react/pricing-table.d.ts.map +1 -0
- package/adapters/react/pricing-table.js +24 -0
- package/adapters/react/pricing-table.js.map +1 -0
- package/adapters/react/pricing-table.tsx +35 -0
- package/adapters/react/rating.d.ts +30 -0
- package/adapters/react/rating.d.ts.map +1 -0
- package/adapters/react/rating.js +24 -0
- package/adapters/react/rating.js.map +1 -0
- package/adapters/react/rating.tsx +38 -0
- package/adapters/react/recipe.d.ts +43 -0
- package/adapters/react/recipe.d.ts.map +1 -0
- package/adapters/react/recipe.js +24 -0
- package/adapters/react/recipe.js.map +1 -0
- package/adapters/react/recipe.tsx +51 -0
- package/adapters/react/sortable.d.ts +28 -0
- package/adapters/react/sortable.d.ts.map +1 -0
- package/adapters/react/sortable.js +24 -0
- package/adapters/react/sortable.js.map +1 -0
- package/adapters/react/sortable.tsx +36 -0
- package/adapters/react/spotlight.d.ts +27 -0
- package/adapters/react/spotlight.d.ts.map +1 -0
- package/adapters/react/spotlight.js +24 -0
- package/adapters/react/spotlight.js.map +1 -0
- package/adapters/react/spotlight.tsx +35 -0
- package/adapters/react/spreadsheet.d.ts +27 -0
- package/adapters/react/spreadsheet.d.ts.map +1 -0
- package/adapters/react/spreadsheet.js +24 -0
- package/adapters/react/spreadsheet.js.map +1 -0
- package/adapters/react/spreadsheet.tsx +35 -0
- package/adapters/react/tag-input.d.ts +33 -0
- package/adapters/react/tag-input.d.ts.map +1 -0
- package/adapters/react/tag-input.js +24 -0
- package/adapters/react/tag-input.js.map +1 -0
- package/adapters/react/tag-input.tsx +41 -0
- package/adapters/react/testimonial.d.ts +31 -0
- package/adapters/react/testimonial.d.ts.map +1 -0
- package/adapters/react/testimonial.js +24 -0
- package/adapters/react/testimonial.js.map +1 -0
- package/adapters/react/testimonial.tsx +39 -0
- package/adapters/react/video-player.d.ts +34 -0
- package/adapters/react/video-player.d.ts.map +1 -0
- package/adapters/react/video-player.js +24 -0
- package/adapters/react/video-player.js.map +1 -0
- package/adapters/react/video-player.tsx +42 -0
- package/adapters/react/waterfall.d.ts +29 -0
- package/adapters/react/waterfall.d.ts.map +1 -0
- package/adapters/react/waterfall.js +24 -0
- package/adapters/react/waterfall.js.map +1 -0
- package/adapters/react/waterfall.tsx +37 -0
- package/adapters/react/weather.d.ts +27 -0
- package/adapters/react/weather.d.ts.map +1 -0
- package/adapters/react/weather.js +24 -0
- package/adapters/react/weather.js.map +1 -0
- package/adapters/react/weather.tsx +35 -0
- package/dist/cdn/accordion/snice-accordion.js +1 -1
- package/dist/cdn/accordion/snice-accordion.min.js +1 -1
- package/dist/cdn/alert/snice-alert.js +1 -1
- package/dist/cdn/alert/snice-alert.min.js +1 -1
- package/dist/cdn/app-tiles/README.md +27 -0
- package/dist/cdn/app-tiles/snice-app-tiles.js +333 -0
- package/dist/cdn/app-tiles/snice-app-tiles.js.map +1 -0
- package/dist/cdn/app-tiles/snice-app-tiles.min.js +11 -0
- package/dist/cdn/app-tiles/snice-app-tiles.min.js.map +1 -0
- package/dist/cdn/audio-recorder/snice-audio-recorder.js +1 -1
- package/dist/cdn/audio-recorder/snice-audio-recorder.min.js +1 -1
- package/dist/cdn/avatar/snice-avatar.js +1 -1
- package/dist/cdn/avatar/snice-avatar.min.js +1 -1
- package/dist/cdn/badge/snice-badge.js +1 -1
- package/dist/cdn/badge/snice-badge.min.js +1 -1
- package/dist/cdn/banner/snice-banner.js +1 -1
- package/dist/cdn/banner/snice-banner.min.js +1 -1
- package/dist/cdn/book/README.md +27 -0
- package/dist/cdn/book/snice-book.js +353 -0
- package/dist/cdn/book/snice-book.js.map +1 -0
- package/dist/cdn/book/snice-book.min.js +13 -0
- package/dist/cdn/book/snice-book.min.js.map +1 -0
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.js +1 -1
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js +1 -1
- package/dist/cdn/button/snice-button.js +1 -1
- package/dist/cdn/button/snice-button.min.js +1 -1
- package/dist/cdn/calendar/snice-calendar.js +1 -1
- package/dist/cdn/calendar/snice-calendar.min.js +1 -1
- package/dist/cdn/camera/snice-camera.js +1 -1
- package/dist/cdn/camera/snice-camera.min.js +1 -1
- package/dist/cdn/camera-annotate/snice-camera-annotate.js +1 -1
- package/dist/cdn/camera-annotate/snice-camera-annotate.min.js +1 -1
- package/dist/cdn/candlestick/snice-candlestick.js +1 -1
- package/dist/cdn/candlestick/snice-candlestick.min.js +1 -1
- package/dist/cdn/card/snice-card.js +1 -1
- package/dist/cdn/card/snice-card.min.js +1 -1
- package/dist/cdn/carousel/snice-carousel.js +1 -1
- package/dist/cdn/carousel/snice-carousel.min.js +1 -1
- package/dist/cdn/chart/snice-chart.js +1 -1
- package/dist/cdn/chart/snice-chart.min.js +1 -1
- package/dist/cdn/chat/snice-chat.js +1 -1
- package/dist/cdn/chat/snice-chat.min.js +1 -1
- package/dist/cdn/checkbox/snice-checkbox.js +1 -1
- package/dist/cdn/checkbox/snice-checkbox.min.js +1 -1
- package/dist/cdn/chip/snice-chip.js +1 -1
- package/dist/cdn/chip/snice-chip.min.js +1 -1
- package/dist/cdn/code-block/snice-code-block.js +1 -1
- package/dist/cdn/code-block/snice-code-block.min.js +1 -1
- package/dist/cdn/color-display/snice-color-display.js +1 -1
- package/dist/cdn/color-display/snice-color-display.min.js +1 -1
- package/dist/cdn/color-picker/snice-color-picker.js +1 -1
- package/dist/cdn/color-picker/snice-color-picker.min.js +1 -1
- package/dist/cdn/command-palette/snice-command-palette.js +1 -1
- package/dist/cdn/command-palette/snice-command-palette.min.js +1 -1
- package/dist/cdn/comments/README.md +27 -0
- package/dist/cdn/comments/snice-comments.js +544 -0
- package/dist/cdn/comments/snice-comments.js.map +1 -0
- package/dist/cdn/comments/snice-comments.min.js +100 -0
- package/dist/cdn/comments/snice-comments.min.js.map +1 -0
- package/dist/cdn/countdown/README.md +27 -0
- package/dist/cdn/countdown/snice-countdown.js +235 -0
- package/dist/cdn/countdown/snice-countdown.js.map +1 -0
- package/dist/cdn/countdown/snice-countdown.min.js +14 -0
- package/dist/cdn/countdown/snice-countdown.min.js.map +1 -0
- package/dist/cdn/cropper/README.md +27 -0
- package/dist/cdn/cropper/snice-cropper.js +352 -0
- package/dist/cdn/cropper/snice-cropper.js.map +1 -0
- package/dist/cdn/cropper/snice-cropper.min.js +25 -0
- package/dist/cdn/cropper/snice-cropper.min.js.map +1 -0
- package/dist/cdn/date-picker/snice-date-picker.js +1 -1
- package/dist/cdn/date-picker/snice-date-picker.min.js +1 -1
- package/dist/cdn/diff/README.md +27 -0
- package/dist/cdn/diff/snice-diff.js +441 -0
- package/dist/cdn/diff/snice-diff.js.map +1 -0
- package/dist/cdn/diff/snice-diff.min.js +54 -0
- package/dist/cdn/diff/snice-diff.min.js.map +1 -0
- package/dist/cdn/divider/snice-divider.js +1 -1
- package/dist/cdn/divider/snice-divider.min.js +1 -1
- package/dist/cdn/doc/snice-doc.js +1 -1
- package/dist/cdn/doc/snice-doc.min.js +1 -1
- package/dist/cdn/draw/snice-draw.js +1 -1
- package/dist/cdn/draw/snice-draw.min.js +1 -1
- package/dist/cdn/drawer/snice-drawer.js +1 -1
- package/dist/cdn/drawer/snice-drawer.min.js +1 -1
- package/dist/cdn/empty-state/snice-empty-state.js +1 -1
- package/dist/cdn/empty-state/snice-empty-state.min.js +1 -1
- package/dist/cdn/file-gallery/snice-file-gallery.js +1 -1
- package/dist/cdn/file-gallery/snice-file-gallery.min.js +1 -1
- package/dist/cdn/file-upload/snice-file-upload.js +1 -1
- package/dist/cdn/file-upload/snice-file-upload.min.js +1 -1
- package/dist/cdn/flip-card/README.md +27 -0
- package/dist/cdn/flip-card/snice-flip-card.js +183 -0
- package/dist/cdn/flip-card/snice-flip-card.js.map +1 -0
- package/dist/cdn/flip-card/snice-flip-card.min.js +22 -0
- package/dist/cdn/flip-card/snice-flip-card.min.js.map +1 -0
- package/dist/cdn/flow/README.md +27 -0
- package/dist/cdn/flow/snice-flow.js +822 -0
- package/dist/cdn/flow/snice-flow.js.map +1 -0
- package/dist/cdn/flow/snice-flow.min.js +17 -0
- package/dist/cdn/flow/snice-flow.min.js.map +1 -0
- package/dist/cdn/funnel/snice-funnel.js +1 -1
- package/dist/cdn/funnel/snice-funnel.min.js +1 -1
- package/dist/cdn/gantt/README.md +27 -0
- package/dist/cdn/gantt/snice-gantt.js +436 -0
- package/dist/cdn/gantt/snice-gantt.js.map +1 -0
- package/dist/cdn/gantt/snice-gantt.min.js +60 -0
- package/dist/cdn/gantt/snice-gantt.min.js.map +1 -0
- package/dist/cdn/gauge/snice-gauge.js +1 -1
- package/dist/cdn/gauge/snice-gauge.min.js +1 -1
- package/dist/cdn/heatmap/snice-heatmap.js +1 -1
- package/dist/cdn/heatmap/snice-heatmap.min.js +1 -1
- package/dist/cdn/image/snice-image.js +1 -1
- package/dist/cdn/image/snice-image.min.js +1 -1
- package/dist/cdn/input/snice-input.js +1 -1
- package/dist/cdn/input/snice-input.min.js +1 -1
- package/dist/cdn/kanban/snice-kanban.js +1 -1
- package/dist/cdn/kanban/snice-kanban.min.js +1 -1
- package/dist/cdn/kpi/snice-kpi.js +1 -1
- package/dist/cdn/kpi/snice-kpi.min.js +1 -1
- package/dist/cdn/layout/snice-layout.js +1 -1
- package/dist/cdn/layout/snice-layout.min.js +1 -1
- package/dist/cdn/link/snice-link.js +1 -1
- package/dist/cdn/link/snice-link.min.js +1 -1
- package/dist/cdn/link-preview/snice-link-preview.js +1 -1
- package/dist/cdn/link-preview/snice-link-preview.min.js +1 -1
- package/dist/cdn/list/snice-list.js +1 -1
- package/dist/cdn/list/snice-list.min.js +1 -1
- package/dist/cdn/location/snice-location.js +1 -1
- package/dist/cdn/location/snice-location.min.js +1 -1
- package/dist/cdn/login/snice-login.js +1 -1
- package/dist/cdn/login/snice-login.min.js +1 -1
- package/dist/cdn/map/README.md +27 -0
- package/dist/cdn/map/snice-map.js +415 -0
- package/dist/cdn/map/snice-map.js.map +1 -0
- package/dist/cdn/map/snice-map.min.js +52 -0
- package/dist/cdn/map/snice-map.min.js.map +1 -0
- package/dist/cdn/markdown/README.md +27 -0
- package/dist/cdn/markdown/snice-markdown.js +317 -0
- package/dist/cdn/markdown/snice-markdown.js.map +1 -0
- package/dist/cdn/markdown/snice-markdown.min.js +11 -0
- package/dist/cdn/markdown/snice-markdown.min.js.map +1 -0
- package/dist/cdn/masonry/snice-masonry.js +1 -1
- package/dist/cdn/masonry/snice-masonry.min.js +1 -1
- package/dist/cdn/menu/snice-menu.js +1 -1
- package/dist/cdn/menu/snice-menu.min.js +1 -1
- package/dist/cdn/modal/snice-modal.js +1 -1
- package/dist/cdn/modal/snice-modal.min.js +1 -1
- package/dist/cdn/music-player/snice-music-player.js +1 -1
- package/dist/cdn/music-player/snice-music-player.min.js +1 -1
- package/dist/cdn/nav/snice-nav.js +1 -1
- package/dist/cdn/nav/snice-nav.min.js +1 -1
- package/dist/cdn/network-graph/snice-network-graph.js +1 -1
- package/dist/cdn/network-graph/snice-network-graph.min.js +1 -1
- package/dist/cdn/notification-center/README.md +27 -0
- package/dist/cdn/notification-center/snice-notification-center.js +204 -0
- package/dist/cdn/notification-center/snice-notification-center.js.map +1 -0
- package/dist/cdn/notification-center/snice-notification-center.min.js +33 -0
- package/dist/cdn/notification-center/snice-notification-center.min.js.map +1 -0
- package/dist/cdn/org-chart/README.md +27 -0
- package/dist/cdn/org-chart/snice-org-chart.js +294 -0
- package/dist/cdn/org-chart/snice-org-chart.js.map +1 -0
- package/dist/cdn/org-chart/snice-org-chart.min.js +32 -0
- package/dist/cdn/org-chart/snice-org-chart.min.js.map +1 -0
- package/dist/cdn/pagination/snice-pagination.js +1 -1
- package/dist/cdn/pagination/snice-pagination.min.js +1 -1
- package/dist/cdn/paint/snice-paint.js +1 -1
- package/dist/cdn/paint/snice-paint.min.js +1 -1
- package/dist/cdn/pdf-viewer/README.md +27 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.js +594 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.js.map +1 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js +88 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js.map +1 -0
- package/dist/cdn/podcast-player/README.md +27 -0
- package/dist/cdn/podcast-player/snice-podcast-player.js +835 -0
- package/dist/cdn/podcast-player/snice-podcast-player.js.map +1 -0
- package/dist/cdn/podcast-player/snice-podcast-player.min.js +209 -0
- package/dist/cdn/podcast-player/snice-podcast-player.min.js.map +1 -0
- package/dist/cdn/pricing-table/README.md +27 -0
- package/dist/cdn/pricing-table/snice-pricing-table.js +491 -0
- package/dist/cdn/pricing-table/snice-pricing-table.js.map +1 -0
- package/dist/cdn/pricing-table/snice-pricing-table.min.js +141 -0
- package/dist/cdn/pricing-table/snice-pricing-table.min.js.map +1 -0
- package/dist/cdn/progress/snice-progress.js +1 -1
- package/dist/cdn/progress/snice-progress.min.js +1 -1
- package/dist/cdn/qr-code/snice-qr-code.js +1 -1
- package/dist/cdn/qr-code/snice-qr-code.min.js +1 -1
- package/dist/cdn/qr-reader/snice-qr-reader.js +1 -1
- package/dist/cdn/qr-reader/snice-qr-reader.min.js +1 -1
- package/dist/cdn/radio/snice-radio.js +1 -1
- package/dist/cdn/radio/snice-radio.min.js +1 -1
- package/dist/cdn/rating/README.md +27 -0
- package/dist/cdn/rating/snice-rating.js +210 -0
- package/dist/cdn/rating/snice-rating.js.map +1 -0
- package/dist/cdn/rating/snice-rating.min.js +25 -0
- package/dist/cdn/rating/snice-rating.min.js.map +1 -0
- package/dist/cdn/recipe/README.md +27 -0
- package/dist/cdn/recipe/snice-recipe.js +619 -0
- package/dist/cdn/recipe/snice-recipe.js.map +1 -0
- package/dist/cdn/recipe/snice-recipe.min.js +185 -0
- package/dist/cdn/recipe/snice-recipe.min.js.map +1 -0
- package/dist/cdn/runtime/snice-runtime.esm.js +3 -3
- package/dist/cdn/runtime/snice-runtime.esm.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.esm.min.js +3 -3
- package/dist/cdn/runtime/snice-runtime.esm.min.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.js +3 -3
- package/dist/cdn/runtime/snice-runtime.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.min.js +3 -3
- package/dist/cdn/runtime/snice-runtime.min.js.map +1 -1
- package/dist/cdn/sankey/snice-sankey.js +1 -1
- package/dist/cdn/sankey/snice-sankey.min.js +1 -1
- package/dist/cdn/select/snice-select.js +1 -1
- package/dist/cdn/select/snice-select.min.js +1 -1
- package/dist/cdn/skeleton/snice-skeleton.js +1 -1
- package/dist/cdn/skeleton/snice-skeleton.min.js +1 -1
- package/dist/cdn/slider/snice-slider.js +1 -1
- package/dist/cdn/slider/snice-slider.min.js +1 -1
- package/dist/cdn/sortable/README.md +27 -0
- package/dist/cdn/sortable/snice-sortable.js +254 -0
- package/dist/cdn/sortable/snice-sortable.js.map +1 -0
- package/dist/cdn/sortable/snice-sortable.min.js +12 -0
- package/dist/cdn/sortable/snice-sortable.min.js.map +1 -0
- package/dist/cdn/sparkline/snice-sparkline.js +1 -1
- package/dist/cdn/sparkline/snice-sparkline.min.js +1 -1
- package/dist/cdn/spinner/snice-spinner.js +1 -1
- package/dist/cdn/spinner/snice-spinner.min.js +1 -1
- package/dist/cdn/split-pane/snice-split-pane.js +1 -1
- package/dist/cdn/split-pane/snice-split-pane.min.js +1 -1
- package/dist/cdn/spotlight/README.md +27 -0
- package/dist/cdn/spotlight/snice-spotlight.js +397 -0
- package/dist/cdn/spotlight/snice-spotlight.js.map +1 -0
- package/dist/cdn/spotlight/snice-spotlight.min.js +8 -0
- package/dist/cdn/spotlight/snice-spotlight.min.js.map +1 -0
- package/dist/cdn/spreadsheet/README.md +27 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.js +1171 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.js.map +1 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.min.js +30 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.min.js.map +1 -0
- package/dist/cdn/stepper/snice-stepper.js +1 -1
- package/dist/cdn/stepper/snice-stepper.min.js +1 -1
- package/dist/cdn/switch/snice-switch.js +1 -1
- package/dist/cdn/switch/snice-switch.min.js +1 -1
- package/dist/cdn/table/snice-table.js +1 -1
- package/dist/cdn/table/snice-table.min.js +1 -1
- package/dist/cdn/tabs/snice-tabs.js +1 -1
- package/dist/cdn/tabs/snice-tabs.min.js +1 -1
- package/dist/cdn/tag-input/README.md +27 -0
- package/dist/cdn/tag-input/snice-tag-input.js +387 -0
- package/dist/cdn/tag-input/snice-tag-input.js.map +1 -0
- package/dist/cdn/tag-input/snice-tag-input.min.js +65 -0
- package/dist/cdn/tag-input/snice-tag-input.min.js.map +1 -0
- package/dist/cdn/terminal/snice-terminal.js +1 -1
- package/dist/cdn/terminal/snice-terminal.min.js +1 -1
- package/dist/cdn/testimonial/README.md +27 -0
- package/dist/cdn/testimonial/snice-testimonial.js +187 -0
- package/dist/cdn/testimonial/snice-testimonial.js.map +1 -0
- package/dist/cdn/testimonial/snice-testimonial.min.js +21 -0
- package/dist/cdn/testimonial/snice-testimonial.min.js.map +1 -0
- package/dist/cdn/textarea/snice-textarea.js +1 -1
- package/dist/cdn/textarea/snice-textarea.min.js +1 -1
- package/dist/cdn/time-range-picker/snice-time-range-picker.js +1 -1
- package/dist/cdn/time-range-picker/snice-time-range-picker.min.js +1 -1
- package/dist/cdn/timeline/snice-timeline.js +1 -1
- package/dist/cdn/timeline/snice-timeline.min.js +1 -1
- package/dist/cdn/timer/snice-timer.js +1 -1
- package/dist/cdn/timer/snice-timer.min.js +1 -1
- package/dist/cdn/toast/snice-toast.js +1 -1
- package/dist/cdn/toast/snice-toast.min.js +1 -1
- package/dist/cdn/tooltip/snice-tooltip.js +1 -1
- package/dist/cdn/tooltip/snice-tooltip.min.js +1 -1
- package/dist/cdn/tree/snice-tree.js +1 -1
- package/dist/cdn/tree/snice-tree.min.js +1 -1
- package/dist/cdn/treemap/snice-treemap.js +1 -1
- package/dist/cdn/treemap/snice-treemap.min.js +1 -1
- package/dist/cdn/video-player/README.md +27 -0
- package/dist/cdn/video-player/snice-video-player.js +721 -0
- package/dist/cdn/video-player/snice-video-player.js.map +1 -0
- package/dist/cdn/video-player/snice-video-player.min.js +153 -0
- package/dist/cdn/video-player/snice-video-player.min.js.map +1 -0
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.js +1 -1
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js +1 -1
- package/dist/cdn/waterfall/README.md +27 -0
- package/dist/cdn/waterfall/snice-waterfall.js +292 -0
- package/dist/cdn/waterfall/snice-waterfall.js.map +1 -0
- package/dist/cdn/waterfall/snice-waterfall.min.js +12 -0
- package/dist/cdn/waterfall/snice-waterfall.min.js.map +1 -0
- package/dist/cdn/weather/README.md +27 -0
- package/dist/cdn/weather/snice-weather.js +194 -0
- package/dist/cdn/weather/snice-weather.js.map +1 -0
- package/dist/cdn/weather/snice-weather.min.js +42 -0
- package/dist/cdn/weather/snice-weather.min.js.map +1 -0
- package/dist/components/app-tiles/snice-app-tiles.d.ts +36 -0
- package/dist/components/app-tiles/snice-app-tiles.js +265 -0
- package/dist/components/app-tiles/snice-app-tiles.js.map +1 -0
- package/dist/components/app-tiles/snice-app-tiles.types.d.ts +22 -0
- package/dist/components/book/snice-book.d.ts +46 -0
- package/dist/components/book/snice-book.js +285 -0
- package/dist/components/book/snice-book.js.map +1 -0
- package/dist/components/book/snice-book.types.d.ts +21 -0
- package/dist/components/comments/snice-comments.d.ts +62 -0
- package/dist/components/comments/snice-comments.js +476 -0
- package/dist/components/comments/snice-comments.js.map +1 -0
- package/dist/components/comments/snice-comments.types.d.ts +64 -0
- package/dist/components/countdown/snice-countdown.d.ts +21 -0
- package/dist/components/countdown/snice-countdown.js +168 -0
- package/dist/components/countdown/snice-countdown.js.map +1 -0
- package/dist/components/countdown/snice-countdown.types.d.ts +18 -0
- package/dist/components/cropper/snice-cropper.d.ts +32 -0
- package/dist/components/cropper/snice-cropper.js +285 -0
- package/dist/components/cropper/snice-cropper.js.map +1 -0
- package/dist/components/cropper/snice-cropper.types.d.ts +26 -0
- package/dist/components/diff/snice-diff.d.ts +32 -0
- package/dist/components/diff/snice-diff.js +374 -0
- package/dist/components/diff/snice-diff.js.map +1 -0
- package/dist/components/diff/snice-diff.types.d.ts +26 -0
- package/dist/components/flip-card/snice-flip-card.d.ts +15 -0
- package/dist/components/flip-card/snice-flip-card.js +116 -0
- package/dist/components/flip-card/snice-flip-card.js.map +1 -0
- package/dist/components/flip-card/snice-flip-card.types.d.ts +16 -0
- package/dist/components/flow/snice-flow.d.ts +91 -0
- package/dist/components/flow/snice-flow.js +755 -0
- package/dist/components/flow/snice-flow.js.map +1 -0
- package/dist/components/flow/snice-flow.types.d.ts +64 -0
- package/dist/components/gantt/snice-gantt.d.ts +34 -0
- package/dist/components/gantt/snice-gantt.js +369 -0
- package/dist/components/gantt/snice-gantt.js.map +1 -0
- package/dist/components/gantt/snice-gantt.types.d.ts +37 -0
- package/dist/components/map/snice-map.d.ts +44 -0
- package/dist/components/map/snice-map.js +348 -0
- package/dist/components/map/snice-map.js.map +1 -0
- package/dist/components/map/snice-map.types.d.ts +41 -0
- package/dist/components/markdown/snice-markdown.d.ts +24 -0
- package/dist/components/markdown/snice-markdown.js +250 -0
- package/dist/components/markdown/snice-markdown.js.map +1 -0
- package/dist/components/markdown/snice-markdown.types.d.ts +16 -0
- package/dist/components/notification-center/snice-notification-center.d.ts +18 -0
- package/dist/components/notification-center/snice-notification-center.js +137 -0
- package/dist/components/notification-center/snice-notification-center.js.map +1 -0
- package/dist/components/notification-center/snice-notification-center.types.d.ts +24 -0
- package/dist/components/org-chart/snice-org-chart.d.ts +28 -0
- package/dist/components/org-chart/snice-org-chart.js +227 -0
- package/dist/components/org-chart/snice-org-chart.js.map +1 -0
- package/dist/components/org-chart/snice-org-chart.types.d.ts +28 -0
- package/dist/components/pdf-viewer/pdf.min.mjs +21 -0
- package/dist/components/pdf-viewer/pdf.worker.min.mjs +21 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.d.ts +59 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.js +527 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.js.map +1 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.types.d.ts +25 -0
- package/dist/components/podcast-player/snice-podcast-player.d.ts +72 -0
- package/dist/components/podcast-player/snice-podcast-player.js +768 -0
- package/dist/components/podcast-player/snice-podcast-player.js.map +1 -0
- package/dist/components/podcast-player/snice-podcast-player.types.d.ts +79 -0
- package/dist/components/pricing-table/snice-pricing-table.d.ts +51 -0
- package/dist/components/pricing-table/snice-pricing-table.js +422 -0
- package/dist/components/pricing-table/snice-pricing-table.js.map +1 -0
- package/dist/components/pricing-table/snice-pricing-table.types.d.ts +49 -0
- package/dist/components/rating/snice-rating.d.ts +15 -0
- package/dist/components/rating/snice-rating.js +143 -0
- package/dist/components/rating/snice-rating.js.map +1 -0
- package/dist/components/rating/snice-rating.types.d.ts +15 -0
- package/dist/components/recipe/snice-recipe.d.ts +53 -0
- package/dist/components/recipe/snice-recipe.js +552 -0
- package/dist/components/recipe/snice-recipe.js.map +1 -0
- package/dist/components/recipe/snice-recipe.types.d.ts +56 -0
- package/dist/components/sortable/snice-sortable.d.ts +24 -0
- package/dist/components/sortable/snice-sortable.js +187 -0
- package/dist/components/sortable/snice-sortable.js.map +1 -0
- package/dist/components/sortable/snice-sortable.types.d.ts +20 -0
- package/dist/components/spotlight/snice-spotlight.d.ts +42 -0
- package/dist/components/spotlight/snice-spotlight.js +330 -0
- package/dist/components/spotlight/snice-spotlight.js.map +1 -0
- package/dist/components/spotlight/snice-spotlight.types.d.ts +26 -0
- package/dist/components/spreadsheet/snice-spreadsheet.d.ts +102 -0
- package/dist/components/spreadsheet/snice-spreadsheet.js +1104 -0
- package/dist/components/spreadsheet/snice-spreadsheet.js.map +1 -0
- package/dist/components/spreadsheet/snice-spreadsheet.types.d.ts +54 -0
- package/dist/components/tag-input/snice-tag-input.d.ts +40 -0
- package/dist/components/tag-input/snice-tag-input.js +320 -0
- package/dist/components/tag-input/snice-tag-input.js.map +1 -0
- package/dist/components/tag-input/snice-tag-input.types.d.ts +29 -0
- package/dist/components/testimonial/snice-testimonial.d.ts +15 -0
- package/dist/components/testimonial/snice-testimonial.js +120 -0
- package/dist/components/testimonial/snice-testimonial.js.map +1 -0
- package/dist/components/testimonial/snice-testimonial.types.d.ts +10 -0
- package/dist/components/video-player/snice-video-player.d.ts +78 -0
- package/dist/components/video-player/snice-video-player.js +654 -0
- package/dist/components/video-player/snice-video-player.js.map +1 -0
- package/dist/components/video-player/snice-video-player.types.d.ts +47 -0
- package/dist/components/waterfall/snice-waterfall.d.ts +30 -0
- package/dist/components/waterfall/snice-waterfall.js +225 -0
- package/dist/components/waterfall/snice-waterfall.js.map +1 -0
- package/dist/components/waterfall/snice-waterfall.types.d.ts +23 -0
- package/dist/components/weather/snice-weather.d.ts +10 -0
- package/dist/components/weather/snice-weather.js +127 -0
- package/dist/components/weather/snice-weather.js.map +1 -0
- package/dist/components/weather/snice-weather.types.d.ts +22 -0
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/symbols.cjs +1 -1
- package/dist/symbols.esm.js +1 -1
- package/dist/transitions.cjs +1 -1
- package/dist/transitions.esm.js +1 -1
- package/docs/ai/DEVELOPMENT.md +1 -1
- package/docs/ai/api.md +6 -3
- package/docs/ai/components/accordion.md +0 -34
- package/docs/ai/components/app-tiles.md +77 -0
- package/docs/ai/components/audio-recorder.md +2 -0
- package/docs/ai/components/badge.md +7 -0
- package/docs/ai/components/book.md +78 -0
- package/docs/ai/components/button.md +5 -0
- package/docs/ai/components/chart.md +0 -24
- package/docs/ai/components/chat.md +7 -95
- package/docs/ai/components/code-block.md +3 -82
- package/docs/ai/components/color-display.md +3 -3
- package/docs/ai/components/color-picker.md +4 -4
- package/docs/ai/components/comments.md +75 -0
- package/docs/ai/components/countdown.md +54 -0
- package/docs/ai/components/cropper.md +57 -0
- package/docs/ai/components/date-picker.md +15 -9
- package/docs/ai/components/diff.md +66 -0
- package/docs/ai/components/divider.md +1 -1
- package/docs/ai/components/draw.md +5 -5
- package/docs/ai/components/drawer.md +5 -5
- package/docs/ai/components/empty-state.md +2 -2
- package/docs/ai/components/file-gallery.md +16 -87
- package/docs/ai/components/file-upload.md +6 -6
- package/docs/ai/components/flip-card.md +52 -0
- package/docs/ai/components/flow.md +104 -0
- package/docs/ai/components/funnel.md +3 -3
- package/docs/ai/components/gantt.md +63 -0
- package/docs/ai/components/gauge.md +1 -1
- package/docs/ai/components/heatmap.md +5 -5
- package/docs/ai/components/input.md +20 -18
- package/docs/ai/components/kanban.md +2 -2
- package/docs/ai/components/kpi.md +4 -53
- package/docs/ai/components/layout.md +10 -235
- package/docs/ai/components/link-preview.md +20 -29
- package/docs/ai/components/link.md +27 -47
- package/docs/ai/components/list.md +51 -31
- package/docs/ai/components/location.md +15 -27
- package/docs/ai/components/login.md +43 -94
- package/docs/ai/components/map.md +72 -0
- package/docs/ai/components/markdown.md +63 -0
- package/docs/ai/components/masonry.md +10 -6
- package/docs/ai/components/menu.md +40 -72
- package/docs/ai/components/modal.md +25 -42
- package/docs/ai/components/music-player.md +37 -89
- package/docs/ai/components/nav.md +25 -39
- package/docs/ai/components/network-graph.md +39 -43
- package/docs/ai/components/notification-center.md +79 -0
- package/docs/ai/components/org-chart.md +62 -0
- package/docs/ai/components/pagination.md +16 -18
- package/docs/ai/components/pdf-viewer.md +57 -0
- package/docs/ai/components/podcast-player.md +94 -0
- package/docs/ai/components/pricing-table.md +87 -0
- package/docs/ai/components/progress.md +23 -39
- package/docs/ai/components/qr-code.md +37 -84
- package/docs/ai/components/qr-reader.md +51 -61
- package/docs/ai/components/radio.md +27 -39
- package/docs/ai/components/rating.md +56 -0
- package/docs/ai/components/recipe.md +90 -0
- package/docs/ai/components/skeleton.md +0 -8
- package/docs/ai/components/slider.md +10 -50
- package/docs/ai/components/sortable.md +57 -0
- package/docs/ai/components/sparkline.md +26 -152
- package/docs/ai/components/spinner.md +0 -21
- package/docs/ai/components/split-pane.md +16 -38
- package/docs/ai/components/spotlight.md +61 -0
- package/docs/ai/components/spreadsheet.md +138 -0
- package/docs/ai/components/stepper.md +37 -183
- package/docs/ai/components/switch.md +28 -35
- package/docs/ai/components/table.md +43 -172
- package/docs/ai/components/tabs.md +31 -52
- package/docs/ai/components/tag-input.md +70 -0
- package/docs/ai/components/terminal.md +34 -116
- package/docs/ai/components/testimonial.md +56 -0
- package/docs/ai/components/textarea.md +11 -43
- package/docs/ai/components/theme.md +120 -0
- package/docs/ai/components/time-range-picker.md +17 -49
- package/docs/ai/components/timeline.md +7 -46
- package/docs/ai/components/timer.md +41 -37
- package/docs/ai/components/toast.md +19 -90
- package/docs/ai/components/tooltip.md +17 -104
- package/docs/ai/components/tree.md +38 -162
- package/docs/ai/components/treemap.md +23 -44
- package/docs/ai/components/video-player.md +91 -0
- package/docs/ai/components/virtual-scroller.md +23 -46
- package/docs/ai/components/waterfall.md +56 -0
- package/docs/ai/components/weather.md +78 -0
- package/docs/ai/decorators.md +25 -3
- package/docs/ai/patterns.md +17 -1
- package/docs/components/accordion.md +8 -6
- package/docs/components/alert.md +2 -0
- package/docs/components/app-tiles.md +162 -0
- package/docs/components/audio-recorder.md +6 -0
- package/docs/components/avatar.md +225 -0
- package/docs/components/badge.md +2 -0
- package/docs/components/banner.md +2 -0
- package/docs/components/book.md +184 -0
- package/docs/components/breadcrumbs.md +2 -0
- package/docs/components/button.md +15 -0
- package/docs/components/calendar.md +2 -0
- package/docs/components/camera-annotate.md +2 -0
- package/docs/components/camera.md +2 -0
- package/docs/components/candlestick.md +2 -0
- package/docs/components/card.md +2 -0
- package/docs/components/carousel.md +205 -36
- package/docs/components/chart.md +2 -0
- package/docs/components/chat.md +2 -0
- package/docs/components/checkbox.md +2 -0
- package/docs/components/chip.md +2 -0
- package/docs/components/code-block.md +2 -0
- package/docs/components/color-display.md +2 -0
- package/docs/components/color-picker.md +6 -4
- package/docs/components/command-palette.md +2 -0
- package/docs/components/comments.md +235 -0
- package/docs/components/countdown.md +121 -0
- package/docs/components/cropper.md +152 -0
- package/docs/components/date-picker.md +201 -0
- package/docs/components/diff.md +177 -0
- package/docs/components/divider.md +132 -0
- package/docs/components/doc.md +2 -0
- package/docs/components/draw.md +2 -0
- package/docs/components/drawer.md +2 -0
- package/docs/components/empty-state.md +2 -0
- package/docs/components/file-gallery.md +2 -0
- package/docs/components/file-upload.md +2 -0
- package/docs/components/flip-card.md +169 -0
- package/docs/components/flow.md +208 -0
- package/docs/components/funnel.md +2 -0
- package/docs/components/gantt.md +187 -0
- package/docs/components/gauge.md +2 -0
- package/docs/components/heatmap.md +2 -0
- package/docs/components/image.md +2 -0
- package/docs/components/input.md +242 -0
- package/docs/components/kanban.md +2 -0
- package/docs/components/kpi.md +2 -0
- package/docs/components/layout.md +84 -0
- package/docs/components/link-preview.md +66 -92
- package/docs/components/link.md +73 -157
- package/docs/components/list.md +140 -44
- package/docs/components/location.md +96 -283
- package/docs/components/login.md +131 -498
- package/docs/components/map.md +203 -0
- package/docs/components/markdown.md +220 -0
- package/docs/components/masonry.md +57 -102
- package/docs/components/menu.md +87 -494
- package/docs/components/modal.md +83 -436
- package/docs/components/music-player.md +116 -221
- package/docs/components/nav.md +107 -170
- package/docs/components/network-graph.md +83 -111
- package/docs/components/notification-center.md +256 -0
- package/docs/components/org-chart.md +275 -0
- package/docs/components/pagination.md +75 -218
- package/docs/components/paint.md +108 -73
- package/docs/components/pdf-viewer.md +204 -0
- package/docs/components/podcast-player.md +277 -0
- package/docs/components/pricing-table.md +249 -0
- package/docs/components/progress.md +169 -0
- package/docs/components/qr-code.md +95 -378
- package/docs/components/qr-reader.md +83 -258
- package/docs/components/radio.md +151 -0
- package/docs/components/rating.md +154 -0
- package/docs/components/recipe.md +323 -0
- package/docs/components/sankey.md +84 -107
- package/docs/components/select.md +114 -485
- package/docs/components/skeleton.md +96 -0
- package/docs/components/slider.md +92 -235
- package/docs/components/sortable.md +267 -0
- package/docs/components/sparkline.md +76 -222
- package/docs/components/spinner.md +37 -18
- package/docs/components/split-pane.md +62 -226
- package/docs/components/spotlight.md +240 -0
- package/docs/components/spreadsheet.md +405 -0
- package/docs/components/stepper.md +72 -306
- package/docs/components/switch.md +69 -293
- package/docs/components/table.md +250 -0
- package/docs/components/tabs.md +92 -471
- package/docs/components/tag-input.md +257 -0
- package/docs/components/terminal.md +87 -391
- package/docs/components/testimonial.md +185 -0
- package/docs/components/textarea.md +96 -181
- package/docs/components/theme.md +216 -0
- package/docs/components/time-range-picker.md +99 -151
- package/docs/components/timeline.md +67 -115
- package/docs/components/timer.md +44 -86
- package/docs/components/toast.md +93 -432
- package/docs/components/tooltip.md +75 -419
- package/docs/components/tree.md +110 -436
- package/docs/components/treemap.md +86 -129
- package/docs/components/video-player.md +336 -0
- package/docs/components/virtual-scroller.md +86 -226
- package/docs/components/waterfall.md +217 -0
- package/docs/components/weather.md +239 -0
- package/package.json +1 -1
- package/docs/ai/components/popover.md +0 -70
- package/docs/components/popover.md +0 -333
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snice-recipe.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../components/recipe/snice-recipe.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","import { __runInitializers, __esDecorate } from 'tslib';\nimport { element, property, watch, dispatch, styles, render, css, html } from 'snice';\n\nvar cssContent = \":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);color:var(--snice-color-text,rgb(23 23 23));contain:layout style paint;width:100%;--recipe-bg:var(--snice-color-background-element, rgb(252 251 249));--recipe-border:var(--snice-color-border, rgb(226 226 226));--recipe-text:var(--snice-color-text, rgb(23 23 23));--recipe-text-secondary:var(--snice-color-text-secondary, rgb(82 82 82));--recipe-text-tertiary:var(--snice-color-text-tertiary, rgb(115 115 115));--recipe-primary:var(--snice-color-primary, rgb(37 99 235));--recipe-success:var(--snice-color-success, rgb(22 163 74));--recipe-danger:var(--snice-color-danger, rgb(220 38 38));--recipe-radius:var(--snice-border-radius-lg, 0.5rem);--recipe-shadow:var(--snice-shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1))}.recipe{background:var(--recipe-bg);border-radius:var(--recipe-radius);box-shadow:var(--recipe-shadow);overflow:hidden}.recipe__hero{position:relative;width:100%;overflow:hidden}.recipe__hero img{width:100%;height:auto;display:block;object-fit:cover;max-height:25rem}.recipe__header{padding:var(--snice-spacing-lg,1.5rem)}.recipe__title{margin:0 0 var(--snice-spacing-xs,.5rem);font-size:var(--snice-font-size-2xl, 1.5rem);font-weight:var(--snice-font-weight-bold,700);line-height:var(--snice-line-height-normal, 1.5);color:var(--recipe-text)}.recipe__description{margin:0 0 var(--snice-spacing-sm,.75rem);font-size:var(--snice-font-size-md, 1rem);color:var(--recipe-text-secondary);line-height:var(--snice-line-height-normal, 1.5)}.recipe__author{font-size:var(--snice-font-size-sm, .875rem);color:var(--recipe-text-tertiary)}.recipe__tags{display:flex;flex-wrap:wrap;gap:var(--snice-spacing-2xs,.25rem);margin-top:var(--snice-spacing-sm,.75rem)}.recipe__tag{display:inline-flex;align-items:center;padding:var(--snice-spacing-3xs,.125rem) var(--snice-spacing-xs,.5rem);font-size:var(--snice-font-size-xs, .75rem);border-radius:9999px;background:var(--snice-color-background,rgb(255 255 255));border:1px solid var(--recipe-border);color:var(--recipe-text-secondary)}.recipe__meta{display:flex;flex-wrap:wrap;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--recipe-border);border-bottom:1px solid var(--recipe-border);background:var(--snice-color-background,rgb(255 255 255))}.recipe__meta-item{display:flex;flex-direction:column;align-items:center;gap:var(--snice-spacing-3xs,.125rem);min-width:4rem}.recipe__meta-label{font-size:var(--snice-font-size-xs, .75rem);color:var(--recipe-text-tertiary);text-transform:uppercase;letter-spacing:.05em}.recipe__meta-value{font-size:var(--snice-font-size-md, 1rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--recipe-text)}.recipe__difficulty--easy{color:var(--recipe-success)}.recipe__difficulty--medium{color:var(--snice-color-warning,rgb(234 179 8))}.recipe__difficulty--hard{color:var(--recipe-danger)}.recipe__content{display:grid;grid-template-columns:1fr 2fr;gap:var(--snice-spacing-lg,1.5rem);padding:var(--snice-spacing-lg,1.5rem)}@media (max-width:768px){.recipe__content{grid-template-columns:1fr}}.recipe__servings-adjuster{display:flex;align-items:center;gap:var(--snice-spacing-xs,.5rem);margin-bottom:var(--snice-spacing-md,1rem)}.recipe__servings-adjuster span{font-size:var(--snice-font-size-md, 1rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--recipe-text)}.recipe__servings-btn{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--recipe-border);border-radius:50%;background:var(--snice-color-background,rgb(255 255 255));color:var(--recipe-text);font-size:var(--snice-font-size-lg, 1.125rem);cursor:pointer;transition:background var(--snice-transition-fast, 150ms),border-color var(--snice-transition-fast, 150ms);padding:0;line-height:1}.recipe__servings-btn:hover{border-color:var(--recipe-primary);background:var(--snice-color-primary-subtle,rgb(239 246 255))}.recipe__servings-btn:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__servings-count{min-width:2rem;text-align:center;font-weight:var(--snice-font-weight-bold,700);font-size:var(--snice-font-size-lg, 1.125rem)}.recipe__ingredients-section{position:relative}.recipe__section-title{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);margin:0 0 var(--snice-spacing-sm,.75rem);color:var(--recipe-text)}.recipe__ingredient-group-title{font-size:var(--snice-font-size-md, 1rem);font-weight:var(--snice-font-weight-medium,500);color:var(--recipe-text-secondary);margin:var(--snice-spacing-sm,.75rem) 0 var(--snice-spacing-2xs,.25rem)}.recipe__ingredients-list{list-style:none;padding:0;margin:0}.recipe__ingredient{display:flex;align-items:center;gap:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-xs,.5rem) 0;border-bottom:1px solid var(--recipe-border);cursor:pointer;transition:opacity var(--snice-transition-fast, 150ms)}.recipe__ingredient:last-child{border-bottom:none}.recipe__ingredient--checked{opacity:.5}.recipe__ingredient--checked .recipe__ingredient-text{text-decoration:line-through}.recipe__ingredient-checkbox{appearance:none;width:1.125rem;height:1.125rem;border:2px solid var(--recipe-border);border-radius:3px;cursor:pointer;flex-shrink:0;position:relative;transition:background var(--snice-transition-fast, 150ms),border-color var(--snice-transition-fast, 150ms)}.recipe__ingredient-checkbox:checked{background:var(--recipe-primary);border-color:var(--recipe-primary)}.recipe__ingredient-checkbox:checked::after{content:'';position:absolute;left:3px;top:0;width:.375rem;height:.625rem;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.recipe__ingredient-checkbox:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__ingredient-amount{font-weight:var(--snice-font-weight-semibold,600);white-space:nowrap;color:var(--recipe-text)}.recipe__ingredient-text{color:var(--recipe-text-secondary)}.recipe__steps-section{position:relative}.recipe__steps-list{list-style:none;padding:0;margin:0;counter-reset:step-counter}.recipe__step{display:flex;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-md,1rem) 0;border-bottom:1px solid var(--recipe-border);counter-increment:step-counter;transition:opacity var(--snice-transition-fast, 150ms)}.recipe__step:last-child{border-bottom:none}.recipe__step--completed{opacity:.5}.recipe__step--active{background:var(--snice-color-primary-subtle,rgb(239 246 255));margin:0 calc(-1 * var(--snice-spacing-sm,.75rem));padding-left:var(--snice-spacing-sm,.75rem);padding-right:var(--snice-spacing-sm,.75rem);border-radius:var(--snice-border-radius-md,.25rem)}.recipe__step-number{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:var(--recipe-primary);color:var(--snice-color-text-inverse,rgb(250 250 250));font-size:var(--snice-font-size-sm, .875rem);font-weight:var(--snice-font-weight-bold,700);cursor:pointer;transition:background var(--snice-transition-fast, 150ms)}.recipe__step--completed .recipe__step-number{background:var(--recipe-success)}.recipe__step-number:hover{opacity:.8}.recipe__step-body{flex:1;min-width:0}.recipe__step-text{font-size:var(--snice-font-size-md, 1rem);line-height:var(--snice-line-height-normal, 1.5);color:var(--recipe-text)}.recipe__step-tip{margin-top:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);background:var(--snice-color-primary-subtle,rgb(239 246 255));border-left:3px solid var(--recipe-primary);border-radius:0 var(--snice-border-radius-md,.25rem) var(--snice-border-radius-md,.25rem) 0;font-size:var(--snice-font-size-sm, .875rem);color:var(--recipe-text-secondary)}.recipe__step-image{margin-top:var(--snice-spacing-xs,.5rem);width:100%;max-width:20rem;border-radius:var(--snice-border-radius-md,.25rem)}.recipe__step-timer-btn{display:inline-flex;align-items:center;gap:var(--snice-spacing-3xs,.125rem);margin-top:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-3xs,.125rem) var(--snice-spacing-xs,.5rem);border:1px solid var(--recipe-primary);border-radius:var(--snice-border-radius-md,.25rem);background:0 0;color:var(--recipe-primary);font-size:var(--snice-font-size-sm, .875rem);cursor:pointer;transition:background var(--snice-transition-fast, 150ms)}.recipe__step-timer-btn:hover{background:var(--snice-color-primary-subtle,rgb(239 246 255))}.recipe__step-timer-btn:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__step-timer-btn svg{width:.875rem;height:.875rem}.recipe__active-timer{display:inline-flex;align-items:center;gap:var(--snice-spacing-2xs,.25rem);margin-top:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-xs,.5rem);background:var(--snice-color-primary-subtle,rgb(239 246 255));border-radius:var(--snice-border-radius-md,.25rem);font-size:var(--snice-font-size-sm, .875rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--recipe-primary)}.recipe__active-timer--done{background:var(--snice-color-success-subtle,rgb(220 252 231));color:var(--recipe-success)}.recipe__timer-cancel{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border:none;border-radius:50%;background:0 0;color:inherit;cursor:pointer;padding:0;font-size:.75rem}.recipe__timer-cancel:hover{background:rgb(0 0 0 / .1)}.recipe__nutrition{padding:var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--recipe-border)}.recipe__nutrition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(6rem,1fr));gap:var(--snice-spacing-md,1rem);margin-top:var(--snice-spacing-sm,.75rem)}.recipe__nutrition-item{text-align:center;padding:var(--snice-spacing-sm,.75rem);background:var(--snice-color-background,rgb(255 255 255));border-radius:var(--snice-border-radius-md,.25rem);border:1px solid var(--recipe-border)}.recipe__nutrition-value{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-bold,700);color:var(--recipe-text)}.recipe__nutrition-label{font-size:var(--snice-font-size-xs, .75rem);color:var(--recipe-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.recipe__step-controls{display:flex;gap:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--recipe-border)}.recipe__step-controls button{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem);border:1px solid var(--recipe-border);border-radius:var(--snice-border-radius-md,.25rem);background:var(--snice-color-background,rgb(255 255 255));color:var(--recipe-text);font-size:var(--snice-font-size-sm, .875rem);cursor:pointer;transition:background var(--snice-transition-fast, 150ms),border-color var(--snice-transition-fast, 150ms)}.recipe__step-controls button:hover{border-color:var(--recipe-primary);background:var(--snice-color-primary-subtle,rgb(239 246 255))}.recipe__step-controls button:disabled{opacity:.4;cursor:not-allowed}.recipe__step-controls button:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__print-btn{margin-left:auto}:host([variant=card]) .recipe__content{grid-template-columns:1fr;padding:var(--snice-spacing-md,1rem)}:host([variant=card]) .recipe__hero img{max-height:15rem}:host([variant=card]) .recipe__header{padding:var(--snice-spacing-md,1rem)}@media print{.recipe{box-shadow:none;border:1px solid #ccc}.recipe__active-timer,.recipe__servings-btn,.recipe__step-controls,.recipe__step-timer-btn,.recipe__timer-cancel{display:none!important}.recipe__ingredient--checked,.recipe__step--completed{opacity:1}.recipe__ingredient--checked .recipe__ingredient-text{text-decoration:none}}[hidden]{display:none!important}\";\n\nlet SniceRecipe = (() => {\n let _classDecorators = [element('snice-recipe')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _title_decorators;\n let _title_initializers = [];\n let _title_extraInitializers = [];\n let _description_decorators;\n let _description_initializers = [];\n let _description_extraInitializers = [];\n let _image_decorators;\n let _image_initializers = [];\n let _image_extraInitializers = [];\n let _author_decorators;\n let _author_initializers = [];\n let _author_extraInitializers = [];\n let _prepTime_decorators;\n let _prepTime_initializers = [];\n let _prepTime_extraInitializers = [];\n let _cookTime_decorators;\n let _cookTime_initializers = [];\n let _cookTime_extraInitializers = [];\n let _servings_decorators;\n let _servings_initializers = [];\n let _servings_extraInitializers = [];\n let _difficulty_decorators;\n let _difficulty_initializers = [];\n let _difficulty_extraInitializers = [];\n let _cuisine_decorators;\n let _cuisine_initializers = [];\n let _cuisine_extraInitializers = [];\n let _variant_decorators;\n let _variant_initializers = [];\n let _variant_extraInitializers = [];\n let _ingredients_decorators;\n let _ingredients_initializers = [];\n let _ingredients_extraInitializers = [];\n let _steps_decorators;\n let _steps_initializers = [];\n let _steps_extraInitializers = [];\n let _nutrition_decorators;\n let _nutrition_initializers = [];\n let _nutrition_extraInitializers = [];\n let _tags_decorators;\n let _tags_initializers = [];\n let _tags_extraInitializers = [];\n let _currentServings_decorators;\n let _currentServings_initializers = [];\n let _currentServings_extraInitializers = [];\n let _checkedIngredients_decorators;\n let _checkedIngredients_initializers = [];\n let _checkedIngredients_extraInitializers = [];\n let _completedSteps_decorators;\n let _completedSteps_initializers = [];\n let _completedSteps_extraInitializers = [];\n let _activeStep_decorators;\n let _activeStep_initializers = [];\n let _activeStep_extraInitializers = [];\n let _timerVersion_decorators;\n let _timerVersion_initializers = [];\n let _timerVersion_extraInitializers = [];\n let _onServingsChange_decorators;\n let _onIngredientsChange_decorators;\n let _onStepsChange_decorators;\n let _emitServingChange_decorators;\n let _emitStepComplete_decorators;\n let _emitIngredientCheck_decorators;\n let _styles_decorators;\n let _template_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n constructor() {\n super(...arguments);\n this.title = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _title_initializers, ''));\n this.description = (__runInitializers(this, _title_extraInitializers), __runInitializers(this, _description_initializers, ''));\n this.image = (__runInitializers(this, _description_extraInitializers), __runInitializers(this, _image_initializers, ''));\n this.author = (__runInitializers(this, _image_extraInitializers), __runInitializers(this, _author_initializers, ''));\n this.prepTime = (__runInitializers(this, _author_extraInitializers), __runInitializers(this, _prepTime_initializers, 0));\n this.cookTime = (__runInitializers(this, _prepTime_extraInitializers), __runInitializers(this, _cookTime_initializers, 0));\n this.servings = (__runInitializers(this, _cookTime_extraInitializers), __runInitializers(this, _servings_initializers, 4));\n this.difficulty = (__runInitializers(this, _servings_extraInitializers), __runInitializers(this, _difficulty_initializers, 'medium'));\n this.cuisine = (__runInitializers(this, _difficulty_extraInitializers), __runInitializers(this, _cuisine_initializers, ''));\n this.variant = (__runInitializers(this, _cuisine_extraInitializers), __runInitializers(this, _variant_initializers, 'full'));\n this.ingredients = (__runInitializers(this, _variant_extraInitializers), __runInitializers(this, _ingredients_initializers, []));\n this.steps = (__runInitializers(this, _ingredients_extraInitializers), __runInitializers(this, _steps_initializers, []));\n this.nutrition = (__runInitializers(this, _steps_extraInitializers), __runInitializers(this, _nutrition_initializers, null));\n this.tags = (__runInitializers(this, _nutrition_extraInitializers), __runInitializers(this, _tags_initializers, []));\n // Internal state\n this.currentServings = (__runInitializers(this, _tags_extraInitializers), __runInitializers(this, _currentServings_initializers, 0));\n this.checkedIngredients = (__runInitializers(this, _currentServings_extraInitializers), __runInitializers(this, _checkedIngredients_initializers, []));\n this.completedSteps = (__runInitializers(this, _checkedIngredients_extraInitializers), __runInitializers(this, _completedSteps_initializers, []));\n this.activeStep = (__runInitializers(this, _completedSteps_extraInitializers), __runInitializers(this, _activeStep_initializers, -1));\n this.timerVersion = (__runInitializers(this, _activeStep_extraInitializers), __runInitializers(this, _timerVersion_initializers, 0));\n this.activeTimers = (__runInitializers(this, _timerVersion_extraInitializers), new Map());\n this.baseServings = 0;\n }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _title_decorators = [property()];\n _description_decorators = [property()];\n _image_decorators = [property()];\n _author_decorators = [property()];\n _prepTime_decorators = [property({ type: Number, attribute: 'prep-time' })];\n _cookTime_decorators = [property({ type: Number, attribute: 'cook-time' })];\n _servings_decorators = [property({ type: Number })];\n _difficulty_decorators = [property()];\n _cuisine_decorators = [property()];\n _variant_decorators = [property()];\n _ingredients_decorators = [property({ type: Array })];\n _steps_decorators = [property({ type: Array })];\n _nutrition_decorators = [property({ type: Object })];\n _tags_decorators = [property({ type: Array })];\n _currentServings_decorators = [property({ type: Number })];\n _checkedIngredients_decorators = [property({ type: Array })];\n _completedSteps_decorators = [property({ type: Array })];\n _activeStep_decorators = [property({ type: Number })];\n _timerVersion_decorators = [property({ type: Number })];\n _onServingsChange_decorators = [watch('servings')];\n _onIngredientsChange_decorators = [watch('ingredients')];\n _onStepsChange_decorators = [watch('steps')];\n _emitServingChange_decorators = [dispatch('recipe-serving-change', { bubbles: true, composed: true })];\n _emitStepComplete_decorators = [dispatch('recipe-step-complete', { bubbles: true, composed: true })];\n _emitIngredientCheck_decorators = [dispatch('recipe-ingredient-check', { bubbles: true, composed: true })];\n _styles_decorators = [styles()];\n _template_decorators = [render()];\n __esDecorate(this, null, _onServingsChange_decorators, { kind: \"method\", name: \"onServingsChange\", static: false, private: false, access: { has: obj => \"onServingsChange\" in obj, get: obj => obj.onServingsChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _onIngredientsChange_decorators, { kind: \"method\", name: \"onIngredientsChange\", static: false, private: false, access: { has: obj => \"onIngredientsChange\" in obj, get: obj => obj.onIngredientsChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _onStepsChange_decorators, { kind: \"method\", name: \"onStepsChange\", static: false, private: false, access: { has: obj => \"onStepsChange\" in obj, get: obj => obj.onStepsChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _emitServingChange_decorators, { kind: \"method\", name: \"emitServingChange\", static: false, private: false, access: { has: obj => \"emitServingChange\" in obj, get: obj => obj.emitServingChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _emitStepComplete_decorators, { kind: \"method\", name: \"emitStepComplete\", static: false, private: false, access: { has: obj => \"emitStepComplete\" in obj, get: obj => obj.emitStepComplete }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _emitIngredientCheck_decorators, { kind: \"method\", name: \"emitIngredientCheck\", static: false, private: false, access: { has: obj => \"emitIngredientCheck\" in obj, get: obj => obj.emitIngredientCheck }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _styles_decorators, { kind: \"method\", name: \"styles\", static: false, private: false, access: { has: obj => \"styles\" in obj, get: obj => obj.styles }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _template_decorators, { kind: \"method\", name: \"template\", static: false, private: false, access: { has: obj => \"template\" in obj, get: obj => obj.template }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _title_decorators, { kind: \"field\", name: \"title\", static: false, private: false, access: { has: obj => \"title\" in obj, get: obj => obj.title, set: (obj, value) => { obj.title = value; } }, metadata: _metadata }, _title_initializers, _title_extraInitializers);\n __esDecorate(null, null, _description_decorators, { kind: \"field\", name: \"description\", static: false, private: false, access: { has: obj => \"description\" in obj, get: obj => obj.description, set: (obj, value) => { obj.description = value; } }, metadata: _metadata }, _description_initializers, _description_extraInitializers);\n __esDecorate(null, null, _image_decorators, { kind: \"field\", name: \"image\", static: false, private: false, access: { has: obj => \"image\" in obj, get: obj => obj.image, set: (obj, value) => { obj.image = value; } }, metadata: _metadata }, _image_initializers, _image_extraInitializers);\n __esDecorate(null, null, _author_decorators, { kind: \"field\", name: \"author\", static: false, private: false, access: { has: obj => \"author\" in obj, get: obj => obj.author, set: (obj, value) => { obj.author = value; } }, metadata: _metadata }, _author_initializers, _author_extraInitializers);\n __esDecorate(null, null, _prepTime_decorators, { kind: \"field\", name: \"prepTime\", static: false, private: false, access: { has: obj => \"prepTime\" in obj, get: obj => obj.prepTime, set: (obj, value) => { obj.prepTime = value; } }, metadata: _metadata }, _prepTime_initializers, _prepTime_extraInitializers);\n __esDecorate(null, null, _cookTime_decorators, { kind: \"field\", name: \"cookTime\", static: false, private: false, access: { has: obj => \"cookTime\" in obj, get: obj => obj.cookTime, set: (obj, value) => { obj.cookTime = value; } }, metadata: _metadata }, _cookTime_initializers, _cookTime_extraInitializers);\n __esDecorate(null, null, _servings_decorators, { kind: \"field\", name: \"servings\", static: false, private: false, access: { has: obj => \"servings\" in obj, get: obj => obj.servings, set: (obj, value) => { obj.servings = value; } }, metadata: _metadata }, _servings_initializers, _servings_extraInitializers);\n __esDecorate(null, null, _difficulty_decorators, { kind: \"field\", name: \"difficulty\", static: false, private: false, access: { has: obj => \"difficulty\" in obj, get: obj => obj.difficulty, set: (obj, value) => { obj.difficulty = value; } }, metadata: _metadata }, _difficulty_initializers, _difficulty_extraInitializers);\n __esDecorate(null, null, _cuisine_decorators, { kind: \"field\", name: \"cuisine\", static: false, private: false, access: { has: obj => \"cuisine\" in obj, get: obj => obj.cuisine, set: (obj, value) => { obj.cuisine = value; } }, metadata: _metadata }, _cuisine_initializers, _cuisine_extraInitializers);\n __esDecorate(null, null, _variant_decorators, { kind: \"field\", name: \"variant\", static: false, private: false, access: { has: obj => \"variant\" in obj, get: obj => obj.variant, set: (obj, value) => { obj.variant = value; } }, metadata: _metadata }, _variant_initializers, _variant_extraInitializers);\n __esDecorate(null, null, _ingredients_decorators, { kind: \"field\", name: \"ingredients\", static: false, private: false, access: { has: obj => \"ingredients\" in obj, get: obj => obj.ingredients, set: (obj, value) => { obj.ingredients = value; } }, metadata: _metadata }, _ingredients_initializers, _ingredients_extraInitializers);\n __esDecorate(null, null, _steps_decorators, { kind: \"field\", name: \"steps\", static: false, private: false, access: { has: obj => \"steps\" in obj, get: obj => obj.steps, set: (obj, value) => { obj.steps = value; } }, metadata: _metadata }, _steps_initializers, _steps_extraInitializers);\n __esDecorate(null, null, _nutrition_decorators, { kind: \"field\", name: \"nutrition\", static: false, private: false, access: { has: obj => \"nutrition\" in obj, get: obj => obj.nutrition, set: (obj, value) => { obj.nutrition = value; } }, metadata: _metadata }, _nutrition_initializers, _nutrition_extraInitializers);\n __esDecorate(null, null, _tags_decorators, { kind: \"field\", name: \"tags\", static: false, private: false, access: { has: obj => \"tags\" in obj, get: obj => obj.tags, set: (obj, value) => { obj.tags = value; } }, metadata: _metadata }, _tags_initializers, _tags_extraInitializers);\n __esDecorate(null, null, _currentServings_decorators, { kind: \"field\", name: \"currentServings\", static: false, private: false, access: { has: obj => \"currentServings\" in obj, get: obj => obj.currentServings, set: (obj, value) => { obj.currentServings = value; } }, metadata: _metadata }, _currentServings_initializers, _currentServings_extraInitializers);\n __esDecorate(null, null, _checkedIngredients_decorators, { kind: \"field\", name: \"checkedIngredients\", static: false, private: false, access: { has: obj => \"checkedIngredients\" in obj, get: obj => obj.checkedIngredients, set: (obj, value) => { obj.checkedIngredients = value; } }, metadata: _metadata }, _checkedIngredients_initializers, _checkedIngredients_extraInitializers);\n __esDecorate(null, null, _completedSteps_decorators, { kind: \"field\", name: \"completedSteps\", static: false, private: false, access: { has: obj => \"completedSteps\" in obj, get: obj => obj.completedSteps, set: (obj, value) => { obj.completedSteps = value; } }, metadata: _metadata }, _completedSteps_initializers, _completedSteps_extraInitializers);\n __esDecorate(null, null, _activeStep_decorators, { kind: \"field\", name: \"activeStep\", static: false, private: false, access: { has: obj => \"activeStep\" in obj, get: obj => obj.activeStep, set: (obj, value) => { obj.activeStep = value; } }, metadata: _metadata }, _activeStep_initializers, _activeStep_extraInitializers);\n __esDecorate(null, null, _timerVersion_decorators, { kind: \"field\", name: \"timerVersion\", static: false, private: false, access: { has: obj => \"timerVersion\" in obj, get: obj => obj.timerVersion, set: (obj, value) => { obj.timerVersion = value; } }, metadata: _metadata }, _timerVersion_initializers, _timerVersion_extraInitializers);\n __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: \"class\", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);\n _classThis = _classDescriptor.value;\n if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });\n __runInitializers(_classThis, _classExtraInitializers);\n }\n onServingsChange() {\n if (this.baseServings === 0) {\n this.baseServings = this.servings;\n this.currentServings = this.servings;\n }\n }\n onIngredientsChange() {\n this.checkedIngredients = new Array(this.ingredients.length).fill(false);\n }\n onStepsChange() {\n this.completedSteps = new Array(this.steps.length).fill(false);\n this.activeStep = -1;\n }\n setServings(count) {\n if (count < 1)\n return;\n const previous = this.currentServings;\n this.currentServings = count;\n this.emitServingChange(previous);\n }\n print() {\n window.print();\n }\n reset() {\n this.checkedIngredients = new Array(this.ingredients.length).fill(false);\n this.completedSteps = new Array(this.steps.length).fill(false);\n this.activeStep = -1;\n this.currentServings = this.baseServings || this.servings;\n // Clear all active timers\n for (const [, timer] of this.activeTimers.entries()) {\n clearInterval(timer.intervalId);\n }\n this.activeTimers.clear();\n this.timerVersion++;\n }\n scaleAmount(amount) {\n const base = this.baseServings || this.servings;\n if (base === 0)\n return amount;\n const scaled = (amount * this.currentServings) / base;\n return Math.round(scaled * 100) / 100;\n }\n formatAmount(amount) {\n const scaled = this.scaleAmount(amount);\n if (scaled === Math.floor(scaled))\n return scaled.toString();\n // Common fractions\n const frac = scaled - Math.floor(scaled);\n const whole = Math.floor(scaled);\n const fractionMap = [\n [0.25, '\\u00BC'], [0.33, '\\u2153'], [0.5, '\\u00BD'],\n [0.67, '\\u2154'], [0.75, '\\u00BE'],\n ];\n for (const [val, sym] of fractionMap) {\n if (Math.abs(frac - val) < 0.05) {\n return whole > 0 ? `${whole}${sym}` : sym;\n }\n }\n return scaled.toFixed(1);\n }\n toggleIngredient(index) {\n const updated = [...this.checkedIngredients];\n updated[index] = !updated[index];\n this.checkedIngredients = updated;\n this.emitIngredientCheck(index, updated[index]);\n }\n toggleStepComplete(index) {\n const updated = [...this.completedSteps];\n updated[index] = !updated[index];\n this.completedSteps = updated;\n this.emitStepComplete(index, updated[index]);\n }\n decrementServings() {\n if (this.currentServings > 1) {\n this.setServings(this.currentServings - 1);\n }\n }\n incrementServings() {\n this.setServings(this.currentServings + 1);\n }\n goToPrevStep() {\n if (this.activeStep > 0) {\n this.activeStep = this.activeStep - 1;\n }\n }\n goToNextStep() {\n if (this.activeStep < this.steps.length - 1) {\n this.activeStep = this.activeStep + 1;\n }\n else {\n this.activeStep = -1;\n }\n }\n startStepByStep() {\n this.activeStep = 0;\n }\n startTimer(stepIndex, minutes) {\n if (this.activeTimers.has(stepIndex))\n return;\n const remaining = minutes * 60;\n const intervalId = window.setInterval(() => {\n const timer = this.activeTimers.get(stepIndex);\n if (!timer)\n return;\n if (timer.remaining <= 1) {\n clearInterval(timer.intervalId);\n this.activeTimers.set(stepIndex, { ...timer, remaining: 0, done: true });\n this.timerVersion++;\n return;\n }\n this.activeTimers.set(stepIndex, { ...timer, remaining: timer.remaining - 1 });\n this.timerVersion++;\n }, 1000);\n this.activeTimers.set(stepIndex, { remaining, intervalId, done: false });\n this.timerVersion++;\n }\n cancelTimer(stepIndex) {\n const timer = this.activeTimers.get(stepIndex);\n if (timer) {\n clearInterval(timer.intervalId);\n this.activeTimers.delete(stepIndex);\n this.timerVersion++;\n }\n }\n formatTimer(seconds) {\n const m = Math.floor(seconds / 60);\n const s = seconds % 60;\n return `${m}:${s.toString().padStart(2, '0')}`;\n }\n formatMinutes(minutes) {\n if (minutes < 60)\n return `${minutes} min`;\n const hrs = Math.floor(minutes / 60);\n const mins = minutes % 60;\n return mins > 0 ? `${hrs}h ${mins}m` : `${hrs}h`;\n }\n emitServingChange(previousServings) {\n return { servings: this.currentServings, previousServings };\n }\n emitStepComplete(stepIndex, completed) {\n return { stepIndex, completed };\n }\n emitIngredientCheck(ingredientIndex, checked) {\n return { ingredientIndex, checked, ingredient: this.ingredients[ingredientIndex] };\n }\n styles() {\n return css /*css*/ `${cssContent}`;\n }\n template() {\n // Initialize base servings on first render\n if (this.baseServings === 0 && this.servings > 0) {\n this.baseServings = this.servings;\n this.currentServings = this.servings;\n }\n const totalTime = this.prepTime + this.cookTime;\n // Group ingredients\n const groups = new Map();\n this.ingredients.forEach((ing, i) => {\n const group = ing.group || '';\n if (!groups.has(group))\n groups.set(group, []);\n groups.get(group).push({ ingredient: ing, index: i });\n });\n const hasStepByStep = this.activeStep >= 0;\n const hasTags = this.tags.length > 0 || this.cuisine.length > 0;\n const hasCuisine = this.cuisine.length > 0;\n const hasIngredients = this.ingredients.length > 0;\n const hasSteps = this.steps.length > 0;\n const hasContent = hasIngredients || hasSteps;\n const hasMeta = this.prepTime > 0 || this.cookTime > 0 || this.servings > 0 || this.difficulty.length > 0;\n // Pre-compute nutrition values to avoid null access in template\n const hasNutrition = this.nutrition !== null;\n const nutritionCalories = hasNutrition ? this.nutrition.calories : 0;\n const nutritionProtein = hasNutrition ? this.nutrition.protein : 0;\n const nutritionCarbs = hasNutrition ? this.nutrition.carbs : 0;\n const nutritionFat = hasNutrition ? this.nutrition.fat : 0;\n const nutritionFiber = hasNutrition ? this.nutrition.fiber : 0;\n const nutritionSodium = hasNutrition ? this.nutrition.sodium : 0;\n const hasFiber = hasNutrition && this.nutrition.fiber !== undefined;\n const hasSodium = hasNutrition && this.nutrition.sodium !== undefined;\n // Pre-build ingredient items to avoid nested template issues\n const ingredientItems = [];\n for (const [groupName, items] of groups.entries()) {\n if (groupName) {\n ingredientItems.push(html `<li class=\"recipe__ingredient-group-title\">${groupName}</li>`);\n }\n for (const { ingredient, index } of items) {\n const isChecked = this.checkedIngredients[index] || false;\n const checkedClass = isChecked ? 'recipe__ingredient--checked' : '';\n ingredientItems.push(html `\n <li class=\"recipe__ingredient ${checkedClass}\" @click=${() => this.toggleIngredient(index)}>\n <input type=\"checkbox\" class=\"recipe__ingredient-checkbox\" ?checked=${isChecked} @click=${(e) => e.stopPropagation()} @change=${() => this.toggleIngredient(index)} />\n <span class=\"recipe__ingredient-amount\">${this.formatAmount(ingredient.amount)} ${ingredient.unit}</span>\n <span class=\"recipe__ingredient-text\">${ingredient.name}</span>\n </li>\n `);\n }\n }\n return html /*html*/ `\n <div class=\"recipe\" part=\"container\">\n <if ${this.image}>\n <div class=\"recipe__hero\" part=\"hero\">\n <img src=\"${this.image}\" alt=\"${this.title}\" loading=\"lazy\" />\n </div>\n </if>\n\n <div class=\"recipe__header\" part=\"header\">\n <h2 class=\"recipe__title\">${this.title}</h2>\n <if ${this.description}>\n <p class=\"recipe__description\">${this.description}</p>\n </if>\n <if ${this.author}>\n <span class=\"recipe__author\">By ${this.author}</span>\n </if>\n <if ${hasTags}>\n <div class=\"recipe__tags\">\n <if ${hasCuisine}>\n <span class=\"recipe__tag\">${this.cuisine}</span>\n </if>\n ${this.tags.map(tag => html `<span class=\"recipe__tag\">${tag}</span>`)}\n </div>\n </if>\n </div>\n\n <if ${hasMeta}>\n <div class=\"recipe__meta\" part=\"meta\">\n <if ${this.prepTime > 0}>\n <div class=\"recipe__meta-item\">\n <span class=\"recipe__meta-label\">Prep</span>\n <span class=\"recipe__meta-value\">${this.formatMinutes(this.prepTime)}</span>\n </div>\n </if>\n <if ${this.cookTime > 0}>\n <div class=\"recipe__meta-item\">\n <span class=\"recipe__meta-label\">Cook</span>\n <span class=\"recipe__meta-value\">${this.formatMinutes(this.cookTime)}</span>\n </div>\n </if>\n <if ${totalTime > 0}>\n <div class=\"recipe__meta-item\">\n <span class=\"recipe__meta-label\">Total</span>\n <span class=\"recipe__meta-value\">${this.formatMinutes(totalTime)}</span>\n </div>\n </if>\n <if ${this.currentServings > 0}>\n <div class=\"recipe__meta-item\">\n <span class=\"recipe__meta-label\">Servings</span>\n <span class=\"recipe__meta-value\">${this.currentServings}</span>\n </div>\n </if>\n <if ${this.difficulty}>\n <div class=\"recipe__meta-item\">\n <span class=\"recipe__meta-label\">Difficulty</span>\n <span class=\"recipe__meta-value recipe__difficulty--${this.difficulty}\">${this.difficulty}</span>\n </div>\n </if>\n </div>\n </if>\n\n <if ${hasContent}>\n <div class=\"recipe__content\" part=\"content\">\n <if ${hasIngredients}>\n <div class=\"recipe__ingredients-section\" part=\"ingredients\">\n <h3 class=\"recipe__section-title\">Ingredients</h3>\n <div class=\"recipe__servings-adjuster\">\n <button class=\"recipe__servings-btn\" @click=${() => this.decrementServings()} aria-label=\"Decrease servings\">-</button>\n <span class=\"recipe__servings-count\">${this.currentServings}</span>\n <button class=\"recipe__servings-btn\" @click=${() => this.incrementServings()} aria-label=\"Increase servings\">+</button>\n <span>servings</span>\n </div>\n <ul class=\"recipe__ingredients-list\">\n ${ingredientItems}\n </ul>\n </div>\n </if>\n\n <if ${hasSteps}>\n <div class=\"recipe__steps-section\" part=\"steps\">\n <h3 class=\"recipe__section-title\">Instructions</h3>\n <ol class=\"recipe__steps-list\">\n ${this.steps.map((step, i) => {\n const isCompleted = this.completedSteps[i] || false;\n const isActive = this.activeStep === i;\n const timer = this.activeTimers.get(i);\n const hasTimer = timer !== undefined;\n const timerDone = hasTimer && timer.done;\n const timerClass = timerDone ? 'recipe__active-timer--done' : '';\n const timerText = hasTimer ? (timer.done ? 'Done!' : this.formatTimer(timer.remaining)) : '';\n const showTimerBtn = step.time && !hasTimer;\n return html `\n <li class=\"recipe__step ${isCompleted ? 'recipe__step--completed' : ''} ${isActive ? 'recipe__step--active' : ''}\">\n <span class=\"recipe__step-number\" @click=${() => this.toggleStepComplete(i)} title=\"${isCompleted ? 'Mark incomplete' : 'Mark complete'}\">\n ${isCompleted ? '\\u2713' : i + 1}\n </span>\n <div class=\"recipe__step-body\">\n <div class=\"recipe__step-text\">${step.text}</div>\n <if ${step.tip}>\n <div class=\"recipe__step-tip\">${step.tip}</div>\n </if>\n <if ${step.image}>\n <img class=\"recipe__step-image\" src=\"${step.image}\" alt=\"Step ${i + 1}\" loading=\"lazy\" />\n </if>\n <if ${showTimerBtn}>\n <button class=\"recipe__step-timer-btn\" @click=${() => this.startTimer(i, step.time)}>\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"/><polyline points=\"12 6 12 12 16 14\"/>\n </svg>\n ${this.formatMinutes(step.time)}\n </button>\n </if>\n <if ${hasTimer}>\n <span class=\"recipe__active-timer ${timerClass}\">\n ${timerText}\n <button class=\"recipe__timer-cancel\" @click=${() => this.cancelTimer(i)} title=\"Cancel timer\">\\u2715</button>\n </span>\n </if>\n </div>\n </li>\n `;\n })}\n </ol>\n </div>\n </if>\n </div>\n </if>\n\n <if ${hasNutrition}>\n <div class=\"recipe__nutrition\" part=\"nutrition\">\n <h3 class=\"recipe__section-title\">Nutrition Facts</h3>\n <span class=\"recipe__author\">Per serving</span>\n <div class=\"recipe__nutrition-grid\">\n <div class=\"recipe__nutrition-item\">\n <div class=\"recipe__nutrition-value\">${nutritionCalories}</div>\n <div class=\"recipe__nutrition-label\">Calories</div>\n </div>\n <div class=\"recipe__nutrition-item\">\n <div class=\"recipe__nutrition-value\">${nutritionProtein}g</div>\n <div class=\"recipe__nutrition-label\">Protein</div>\n </div>\n <div class=\"recipe__nutrition-item\">\n <div class=\"recipe__nutrition-value\">${nutritionCarbs}g</div>\n <div class=\"recipe__nutrition-label\">Carbs</div>\n </div>\n <div class=\"recipe__nutrition-item\">\n <div class=\"recipe__nutrition-value\">${nutritionFat}g</div>\n <div class=\"recipe__nutrition-label\">Fat</div>\n </div>\n <if ${hasFiber}>\n <div class=\"recipe__nutrition-item\">\n <div class=\"recipe__nutrition-value\">${nutritionFiber}g</div>\n <div class=\"recipe__nutrition-label\">Fiber</div>\n </div>\n </if>\n <if ${hasSodium}>\n <div class=\"recipe__nutrition-item\">\n <div class=\"recipe__nutrition-value\">${nutritionSodium}mg</div>\n <div class=\"recipe__nutrition-label\">Sodium</div>\n </div>\n </if>\n </div>\n </div>\n </if>\n\n <if ${hasSteps}>\n <div class=\"recipe__step-controls\" part=\"controls\">\n <if ${!hasStepByStep}>\n <button @click=${() => this.startStepByStep()}>Step-by-Step</button>\n </if>\n <if ${hasStepByStep}>\n <button @click=${() => this.goToPrevStep()} ?disabled=${this.activeStep <= 0}>Previous</button>\n <button @click=${() => this.goToNextStep()}>\n ${this.activeStep >= this.steps.length - 1 ? 'Finish' : 'Next'}\n </button>\n </if>\n <button class=\"recipe__print-btn\" @click=${() => this.print()}>Print</button>\n <button @click=${() => this.reset()}>Reset</button>\n </div>\n </if>\n </div>\n `;\n }\n });\n return _classThis;\n})();\n\nexport { SniceRecipe };\n//# sourceMappingURL=snice-recipe.js.map\n"],"names":["element","property","watch","dispatch","styles","render","css","html"],"mappings":";;;;;;;;;;EAAA;EACA;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;EAmDO,SAAS,YAAY,CAAC,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE;EACzG,EAAE,SAAS,MAAM,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,MAAM,IAAI,OAAO,CAAC,KAAK,UAAU,EAAE,MAAM,IAAI,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;EACxH,EAAE,IAAI,IAAI,GAAG,SAAS,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,KAAK,QAAQ,GAAG,K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AChC,6BAA6B,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC,WAAW,EAAE,IAAI,CAAC,UAAU,IAAI,CAAC,CAAC;AAC3F,6BAA6B,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;AACzD,gBAAgB,EAAE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,GAAG,QAAQ,GAAG,MAAM;AAC9E;AACA;AACA,qDAAqD,EAAE,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;AAC1E,2BAA2B,EAAE,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;AAChD;AACA;AACA;AACA,IAAI,CAAC;EACL,QAAQ;EACR,KAAK;EACL,IAAI,OAAO,UAAU;EACrB,CAAC;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* snice v4.9.0
|
|
3
|
+
* Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
|
|
4
|
+
* (c) 2024
|
|
5
|
+
* Released under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
void 0===globalThis.Snice&&console.warn("[snice] snice-runtime.min.js must be loaded before snice-recipe.min.js");var SniceRecipe=function(e,i){"use strict";function t(e,i,t,r,s,n){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,o=r.kind,p="getter"===o?"get":"setter"===o?"set":"value",l=!i&&e?r.static?e:e.prototype:null,d=i||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),m=!1,g=t.length-1;g>=0;g--){var v={};for(var h in r)v[h]="access"===h?{}:r[h];for(var h in r.access)v.access[h]=r.access[h];v.addInitializer=function(e){if(m)throw new TypeError("Cannot add initializers after decoration has completed");n.push(a(e||null))};var u=(0,t[g])("accessor"===o?{get:d.get,set:d.set}:d[p],v);if("accessor"===o){if(void 0===u)continue;if(null===u||"object"!=typeof u)throw new TypeError("Object expected");(c=a(u.get))&&(d.get=c),(c=a(u.set))&&(d.set=c),(c=a(u.init))&&s.unshift(c)}else(c=a(u))&&("field"===o?s.unshift(c):d[p]=c)}l&&Object.defineProperty(l,r.name,d),m=!0}function r(e,i,t){for(var r=arguments.length>2,s=0;s<i.length;s++)t=r?i[s].call(e,t):i[s].call(e);return r?t:void 0}"function"==typeof SuppressedError&&SuppressedError;let s=(()=>{let e,s,n,a,c,o,p,l,d,m,g,v,h,u,_,f,b,y,x,k,S,$,w,T,z,I,C,M,j,A=[i.element("snice-recipe")],P=[],N=HTMLElement,V=[],E=[],F=[],O=[],B=[],D=[],R=[],H=[],L=[],U=[],q=[],G=[],J=[],K=[],Q=[],W=[],X=[],Y=[],Z=[],ee=[],ie=[],te=[],re=[],se=[],ne=[],ae=[],ce=[],oe=[],pe=[],le=[],de=[],me=[],ge=[],ve=[],he=[],ue=[],_e=[],fe=[],be=[];return class extends N{static{s=this}constructor(){super(...arguments),this.title=(r(this,V),r(this,E,"")),this.description=(r(this,F),r(this,O,"")),this.image=(r(this,B),r(this,D,"")),this.author=(r(this,R),r(this,H,"")),this.prepTime=(r(this,L),r(this,U,0)),this.cookTime=(r(this,q),r(this,G,0)),this.servings=(r(this,J),r(this,K,4)),this.difficulty=(r(this,Q),r(this,W,"medium")),this.cuisine=(r(this,X),r(this,Y,"")),this.variant=(r(this,Z),r(this,ee,"full")),this.ingredients=(r(this,ie),r(this,te,[])),this.steps=(r(this,re),r(this,se,[])),this.nutrition=(r(this,ne),r(this,ae,null)),this.tags=(r(this,ce),r(this,oe,[])),this.currentServings=(r(this,pe),r(this,le,0)),this.checkedIngredients=(r(this,de),r(this,me,[])),this.completedSteps=(r(this,ge),r(this,ve,[])),this.activeStep=(r(this,he),r(this,ue,-1)),this.timerVersion=(r(this,_e),r(this,fe,0)),this.activeTimers=(r(this,be),new Map),this.baseServings=0}static{const ye="function"==typeof Symbol&&Symbol.metadata?Object.create(N[Symbol.metadata]??null):void 0;n=[i.property()],a=[i.property()],c=[i.property()],o=[i.property()],p=[i.property({type:Number,attribute:"prep-time"})],l=[i.property({type:Number,attribute:"cook-time"})],d=[i.property({type:Number})],m=[i.property()],g=[i.property()],v=[i.property()],h=[i.property({type:Array})],u=[i.property({type:Array})],_=[i.property({type:Object})],f=[i.property({type:Array})],b=[i.property({type:Number})],y=[i.property({type:Array})],x=[i.property({type:Array})],k=[i.property({type:Number})],S=[i.property({type:Number})],$=[i.watch("servings")],w=[i.watch("ingredients")],T=[i.watch("steps")],z=[i.dispatch("recipe-serving-change",{bubbles:!0,composed:!0})],I=[i.dispatch("recipe-step-complete",{bubbles:!0,composed:!0})],C=[i.dispatch("recipe-ingredient-check",{bubbles:!0,composed:!0})],M=[i.styles()],j=[i.render()],t(this,null,$,{kind:"method",name:"onServingsChange",static:!1,private:!1,access:{has:e=>"onServingsChange"in e,get:e=>e.onServingsChange},metadata:ye},null,V),t(this,null,w,{kind:"method",name:"onIngredientsChange",static:!1,private:!1,access:{has:e=>"onIngredientsChange"in e,get:e=>e.onIngredientsChange},metadata:ye},null,V),t(this,null,T,{kind:"method",name:"onStepsChange",static:!1,private:!1,access:{has:e=>"onStepsChange"in e,get:e=>e.onStepsChange},metadata:ye},null,V),t(this,null,z,{kind:"method",name:"emitServingChange",static:!1,private:!1,access:{has:e=>"emitServingChange"in e,get:e=>e.emitServingChange},metadata:ye},null,V),t(this,null,I,{kind:"method",name:"emitStepComplete",static:!1,private:!1,access:{has:e=>"emitStepComplete"in e,get:e=>e.emitStepComplete},metadata:ye},null,V),t(this,null,C,{kind:"method",name:"emitIngredientCheck",static:!1,private:!1,access:{has:e=>"emitIngredientCheck"in e,get:e=>e.emitIngredientCheck},metadata:ye},null,V),t(this,null,M,{kind:"method",name:"styles",static:!1,private:!1,access:{has:e=>"styles"in e,get:e=>e.styles},metadata:ye},null,V),t(this,null,j,{kind:"method",name:"template",static:!1,private:!1,access:{has:e=>"template"in e,get:e=>e.template},metadata:ye},null,V),t(null,null,n,{kind:"field",name:"title",static:!1,private:!1,access:{has:e=>"title"in e,get:e=>e.title,set:(e,i)=>{e.title=i}},metadata:ye},E,F),t(null,null,a,{kind:"field",name:"description",static:!1,private:!1,access:{has:e=>"description"in e,get:e=>e.description,set:(e,i)=>{e.description=i}},metadata:ye},O,B),t(null,null,c,{kind:"field",name:"image",static:!1,private:!1,access:{has:e=>"image"in e,get:e=>e.image,set:(e,i)=>{e.image=i}},metadata:ye},D,R),t(null,null,o,{kind:"field",name:"author",static:!1,private:!1,access:{has:e=>"author"in e,get:e=>e.author,set:(e,i)=>{e.author=i}},metadata:ye},H,L),t(null,null,p,{kind:"field",name:"prepTime",static:!1,private:!1,access:{has:e=>"prepTime"in e,get:e=>e.prepTime,set:(e,i)=>{e.prepTime=i}},metadata:ye},U,q),t(null,null,l,{kind:"field",name:"cookTime",static:!1,private:!1,access:{has:e=>"cookTime"in e,get:e=>e.cookTime,set:(e,i)=>{e.cookTime=i}},metadata:ye},G,J),t(null,null,d,{kind:"field",name:"servings",static:!1,private:!1,access:{has:e=>"servings"in e,get:e=>e.servings,set:(e,i)=>{e.servings=i}},metadata:ye},K,Q),t(null,null,m,{kind:"field",name:"difficulty",static:!1,private:!1,access:{has:e=>"difficulty"in e,get:e=>e.difficulty,set:(e,i)=>{e.difficulty=i}},metadata:ye},W,X),t(null,null,g,{kind:"field",name:"cuisine",static:!1,private:!1,access:{has:e=>"cuisine"in e,get:e=>e.cuisine,set:(e,i)=>{e.cuisine=i}},metadata:ye},Y,Z),t(null,null,v,{kind:"field",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,i)=>{e.variant=i}},metadata:ye},ee,ie),t(null,null,h,{kind:"field",name:"ingredients",static:!1,private:!1,access:{has:e=>"ingredients"in e,get:e=>e.ingredients,set:(e,i)=>{e.ingredients=i}},metadata:ye},te,re),t(null,null,u,{kind:"field",name:"steps",static:!1,private:!1,access:{has:e=>"steps"in e,get:e=>e.steps,set:(e,i)=>{e.steps=i}},metadata:ye},se,ne),t(null,null,_,{kind:"field",name:"nutrition",static:!1,private:!1,access:{has:e=>"nutrition"in e,get:e=>e.nutrition,set:(e,i)=>{e.nutrition=i}},metadata:ye},ae,ce),t(null,null,f,{kind:"field",name:"tags",static:!1,private:!1,access:{has:e=>"tags"in e,get:e=>e.tags,set:(e,i)=>{e.tags=i}},metadata:ye},oe,pe),t(null,null,b,{kind:"field",name:"currentServings",static:!1,private:!1,access:{has:e=>"currentServings"in e,get:e=>e.currentServings,set:(e,i)=>{e.currentServings=i}},metadata:ye},le,de),t(null,null,y,{kind:"field",name:"checkedIngredients",static:!1,private:!1,access:{has:e=>"checkedIngredients"in e,get:e=>e.checkedIngredients,set:(e,i)=>{e.checkedIngredients=i}},metadata:ye},me,ge),t(null,null,x,{kind:"field",name:"completedSteps",static:!1,private:!1,access:{has:e=>"completedSteps"in e,get:e=>e.completedSteps,set:(e,i)=>{e.completedSteps=i}},metadata:ye},ve,he),t(null,null,k,{kind:"field",name:"activeStep",static:!1,private:!1,access:{has:e=>"activeStep"in e,get:e=>e.activeStep,set:(e,i)=>{e.activeStep=i}},metadata:ye},ue,_e),t(null,null,S,{kind:"field",name:"timerVersion",static:!1,private:!1,access:{has:e=>"timerVersion"in e,get:e=>e.timerVersion,set:(e,i)=>{e.timerVersion=i}},metadata:ye},fe,be),t(null,e={value:s},A,{kind:"class",name:s.name,metadata:ye},null,P),s=e.value,ye&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:ye}),r(s,P)}onServingsChange(){0===this.baseServings&&(this.baseServings=this.servings,this.currentServings=this.servings)}onIngredientsChange(){this.checkedIngredients=new Array(this.ingredients.length).fill(!1)}onStepsChange(){this.completedSteps=new Array(this.steps.length).fill(!1),this.activeStep=-1}setServings(e){if(e<1)return;const i=this.currentServings;this.currentServings=e,this.emitServingChange(i)}print(){window.print()}reset(){this.checkedIngredients=new Array(this.ingredients.length).fill(!1),this.completedSteps=new Array(this.steps.length).fill(!1),this.activeStep=-1,this.currentServings=this.baseServings||this.servings;for(const[,e]of this.activeTimers.entries())clearInterval(e.intervalId);this.activeTimers.clear(),this.timerVersion++}scaleAmount(e){const i=this.baseServings||this.servings;if(0===i)return e;const t=e*this.currentServings/i;return Math.round(100*t)/100}formatAmount(e){const i=this.scaleAmount(e);if(i===Math.floor(i))return i.toString();const t=i-Math.floor(i),r=Math.floor(i),s=[[.25,"¼"],[.33,"⅓"],[.5,"½"],[.67,"⅔"],[.75,"¾"]];for(const[e,i]of s)if(Math.abs(t-e)<.05)return r>0?`${r}${i}`:i;return i.toFixed(1)}toggleIngredient(e){const i=[...this.checkedIngredients];i[e]=!i[e],this.checkedIngredients=i,this.emitIngredientCheck(e,i[e])}toggleStepComplete(e){const i=[...this.completedSteps];i[e]=!i[e],this.completedSteps=i,this.emitStepComplete(e,i[e])}decrementServings(){this.currentServings>1&&this.setServings(this.currentServings-1)}incrementServings(){this.setServings(this.currentServings+1)}goToPrevStep(){this.activeStep>0&&(this.activeStep=this.activeStep-1)}goToNextStep(){this.activeStep<this.steps.length-1?this.activeStep=this.activeStep+1:this.activeStep=-1}startStepByStep(){this.activeStep=0}startTimer(e,i){if(this.activeTimers.has(e))return;const t=60*i,r=window.setInterval(()=>{const i=this.activeTimers.get(e);if(i){if(i.remaining<=1)return clearInterval(i.intervalId),this.activeTimers.set(e,{...i,remaining:0,done:!0}),void this.timerVersion++;this.activeTimers.set(e,{...i,remaining:i.remaining-1}),this.timerVersion++}},1e3);this.activeTimers.set(e,{remaining:t,intervalId:r,done:!1}),this.timerVersion++}cancelTimer(e){const i=this.activeTimers.get(e);i&&(clearInterval(i.intervalId),this.activeTimers.delete(e),this.timerVersion++)}formatTimer(e){return`${Math.floor(e/60)}:${(e%60).toString().padStart(2,"0")}`}formatMinutes(e){if(e<60)return`${e} min`;const i=Math.floor(e/60),t=e%60;return t>0?`${i}h ${t}m`:`${i}h`}emitServingChange(e){return{servings:this.currentServings,previousServings:e}}emitStepComplete(e,i){return{stepIndex:e,completed:i}}emitIngredientCheck(e,i){return{ingredientIndex:e,checked:i,ingredient:this.ingredients[e]}}styles(){return i.css`${":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);color:var(--snice-color-text,rgb(23 23 23));contain:layout style paint;width:100%;--recipe-bg:var(--snice-color-background-element, rgb(252 251 249));--recipe-border:var(--snice-color-border, rgb(226 226 226));--recipe-text:var(--snice-color-text, rgb(23 23 23));--recipe-text-secondary:var(--snice-color-text-secondary, rgb(82 82 82));--recipe-text-tertiary:var(--snice-color-text-tertiary, rgb(115 115 115));--recipe-primary:var(--snice-color-primary, rgb(37 99 235));--recipe-success:var(--snice-color-success, rgb(22 163 74));--recipe-danger:var(--snice-color-danger, rgb(220 38 38));--recipe-radius:var(--snice-border-radius-lg, 0.5rem);--recipe-shadow:var(--snice-shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1))}.recipe{background:var(--recipe-bg);border-radius:var(--recipe-radius);box-shadow:var(--recipe-shadow);overflow:hidden}.recipe__hero{position:relative;width:100%;overflow:hidden}.recipe__hero img{width:100%;height:auto;display:block;object-fit:cover;max-height:25rem}.recipe__header{padding:var(--snice-spacing-lg,1.5rem)}.recipe__title{margin:0 0 var(--snice-spacing-xs,.5rem);font-size:var(--snice-font-size-2xl, 1.5rem);font-weight:var(--snice-font-weight-bold,700);line-height:var(--snice-line-height-normal, 1.5);color:var(--recipe-text)}.recipe__description{margin:0 0 var(--snice-spacing-sm,.75rem);font-size:var(--snice-font-size-md, 1rem);color:var(--recipe-text-secondary);line-height:var(--snice-line-height-normal, 1.5)}.recipe__author{font-size:var(--snice-font-size-sm, .875rem);color:var(--recipe-text-tertiary)}.recipe__tags{display:flex;flex-wrap:wrap;gap:var(--snice-spacing-2xs,.25rem);margin-top:var(--snice-spacing-sm,.75rem)}.recipe__tag{display:inline-flex;align-items:center;padding:var(--snice-spacing-3xs,.125rem) var(--snice-spacing-xs,.5rem);font-size:var(--snice-font-size-xs, .75rem);border-radius:9999px;background:var(--snice-color-background,rgb(255 255 255));border:1px solid var(--recipe-border);color:var(--recipe-text-secondary)}.recipe__meta{display:flex;flex-wrap:wrap;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--recipe-border);border-bottom:1px solid var(--recipe-border);background:var(--snice-color-background,rgb(255 255 255))}.recipe__meta-item{display:flex;flex-direction:column;align-items:center;gap:var(--snice-spacing-3xs,.125rem);min-width:4rem}.recipe__meta-label{font-size:var(--snice-font-size-xs, .75rem);color:var(--recipe-text-tertiary);text-transform:uppercase;letter-spacing:.05em}.recipe__meta-value{font-size:var(--snice-font-size-md, 1rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--recipe-text)}.recipe__difficulty--easy{color:var(--recipe-success)}.recipe__difficulty--medium{color:var(--snice-color-warning,rgb(234 179 8))}.recipe__difficulty--hard{color:var(--recipe-danger)}.recipe__content{display:grid;grid-template-columns:1fr 2fr;gap:var(--snice-spacing-lg,1.5rem);padding:var(--snice-spacing-lg,1.5rem)}@media (max-width:768px){.recipe__content{grid-template-columns:1fr}}.recipe__servings-adjuster{display:flex;align-items:center;gap:var(--snice-spacing-xs,.5rem);margin-bottom:var(--snice-spacing-md,1rem)}.recipe__servings-adjuster span{font-size:var(--snice-font-size-md, 1rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--recipe-text)}.recipe__servings-btn{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--recipe-border);border-radius:50%;background:var(--snice-color-background,rgb(255 255 255));color:var(--recipe-text);font-size:var(--snice-font-size-lg, 1.125rem);cursor:pointer;transition:background var(--snice-transition-fast, 150ms),border-color var(--snice-transition-fast, 150ms);padding:0;line-height:1}.recipe__servings-btn:hover{border-color:var(--recipe-primary);background:var(--snice-color-primary-subtle,rgb(239 246 255))}.recipe__servings-btn:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__servings-count{min-width:2rem;text-align:center;font-weight:var(--snice-font-weight-bold,700);font-size:var(--snice-font-size-lg, 1.125rem)}.recipe__ingredients-section{position:relative}.recipe__section-title{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);margin:0 0 var(--snice-spacing-sm,.75rem);color:var(--recipe-text)}.recipe__ingredient-group-title{font-size:var(--snice-font-size-md, 1rem);font-weight:var(--snice-font-weight-medium,500);color:var(--recipe-text-secondary);margin:var(--snice-spacing-sm,.75rem) 0 var(--snice-spacing-2xs,.25rem)}.recipe__ingredients-list{list-style:none;padding:0;margin:0}.recipe__ingredient{display:flex;align-items:center;gap:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-xs,.5rem) 0;border-bottom:1px solid var(--recipe-border);cursor:pointer;transition:opacity var(--snice-transition-fast, 150ms)}.recipe__ingredient:last-child{border-bottom:none}.recipe__ingredient--checked{opacity:.5}.recipe__ingredient--checked .recipe__ingredient-text{text-decoration:line-through}.recipe__ingredient-checkbox{appearance:none;width:1.125rem;height:1.125rem;border:2px solid var(--recipe-border);border-radius:3px;cursor:pointer;flex-shrink:0;position:relative;transition:background var(--snice-transition-fast, 150ms),border-color var(--snice-transition-fast, 150ms)}.recipe__ingredient-checkbox:checked{background:var(--recipe-primary);border-color:var(--recipe-primary)}.recipe__ingredient-checkbox:checked::after{content:'';position:absolute;left:3px;top:0;width:.375rem;height:.625rem;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.recipe__ingredient-checkbox:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__ingredient-amount{font-weight:var(--snice-font-weight-semibold,600);white-space:nowrap;color:var(--recipe-text)}.recipe__ingredient-text{color:var(--recipe-text-secondary)}.recipe__steps-section{position:relative}.recipe__steps-list{list-style:none;padding:0;margin:0;counter-reset:step-counter}.recipe__step{display:flex;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-md,1rem) 0;border-bottom:1px solid var(--recipe-border);counter-increment:step-counter;transition:opacity var(--snice-transition-fast, 150ms)}.recipe__step:last-child{border-bottom:none}.recipe__step--completed{opacity:.5}.recipe__step--active{background:var(--snice-color-primary-subtle,rgb(239 246 255));margin:0 calc(-1 * var(--snice-spacing-sm,.75rem));padding-left:var(--snice-spacing-sm,.75rem);padding-right:var(--snice-spacing-sm,.75rem);border-radius:var(--snice-border-radius-md,.25rem)}.recipe__step-number{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:var(--recipe-primary);color:var(--snice-color-text-inverse,rgb(250 250 250));font-size:var(--snice-font-size-sm, .875rem);font-weight:var(--snice-font-weight-bold,700);cursor:pointer;transition:background var(--snice-transition-fast, 150ms)}.recipe__step--completed .recipe__step-number{background:var(--recipe-success)}.recipe__step-number:hover{opacity:.8}.recipe__step-body{flex:1;min-width:0}.recipe__step-text{font-size:var(--snice-font-size-md, 1rem);line-height:var(--snice-line-height-normal, 1.5);color:var(--recipe-text)}.recipe__step-tip{margin-top:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);background:var(--snice-color-primary-subtle,rgb(239 246 255));border-left:3px solid var(--recipe-primary);border-radius:0 var(--snice-border-radius-md,.25rem) var(--snice-border-radius-md,.25rem) 0;font-size:var(--snice-font-size-sm, .875rem);color:var(--recipe-text-secondary)}.recipe__step-image{margin-top:var(--snice-spacing-xs,.5rem);width:100%;max-width:20rem;border-radius:var(--snice-border-radius-md,.25rem)}.recipe__step-timer-btn{display:inline-flex;align-items:center;gap:var(--snice-spacing-3xs,.125rem);margin-top:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-3xs,.125rem) var(--snice-spacing-xs,.5rem);border:1px solid var(--recipe-primary);border-radius:var(--snice-border-radius-md,.25rem);background:0 0;color:var(--recipe-primary);font-size:var(--snice-font-size-sm, .875rem);cursor:pointer;transition:background var(--snice-transition-fast, 150ms)}.recipe__step-timer-btn:hover{background:var(--snice-color-primary-subtle,rgb(239 246 255))}.recipe__step-timer-btn:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__step-timer-btn svg{width:.875rem;height:.875rem}.recipe__active-timer{display:inline-flex;align-items:center;gap:var(--snice-spacing-2xs,.25rem);margin-top:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-xs,.5rem);background:var(--snice-color-primary-subtle,rgb(239 246 255));border-radius:var(--snice-border-radius-md,.25rem);font-size:var(--snice-font-size-sm, .875rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--recipe-primary)}.recipe__active-timer--done{background:var(--snice-color-success-subtle,rgb(220 252 231));color:var(--recipe-success)}.recipe__timer-cancel{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border:none;border-radius:50%;background:0 0;color:inherit;cursor:pointer;padding:0;font-size:.75rem}.recipe__timer-cancel:hover{background:rgb(0 0 0 / .1)}.recipe__nutrition{padding:var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--recipe-border)}.recipe__nutrition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(6rem,1fr));gap:var(--snice-spacing-md,1rem);margin-top:var(--snice-spacing-sm,.75rem)}.recipe__nutrition-item{text-align:center;padding:var(--snice-spacing-sm,.75rem);background:var(--snice-color-background,rgb(255 255 255));border-radius:var(--snice-border-radius-md,.25rem);border:1px solid var(--recipe-border)}.recipe__nutrition-value{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-bold,700);color:var(--recipe-text)}.recipe__nutrition-label{font-size:var(--snice-font-size-xs, .75rem);color:var(--recipe-text-tertiary);margin-top:var(--snice-spacing-3xs,.125rem)}.recipe__step-controls{display:flex;gap:var(--snice-spacing-xs,.5rem);padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--recipe-border)}.recipe__step-controls button{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem);border:1px solid var(--recipe-border);border-radius:var(--snice-border-radius-md,.25rem);background:var(--snice-color-background,rgb(255 255 255));color:var(--recipe-text);font-size:var(--snice-font-size-sm, .875rem);cursor:pointer;transition:background var(--snice-transition-fast, 150ms),border-color var(--snice-transition-fast, 150ms)}.recipe__step-controls button:hover{border-color:var(--recipe-primary);background:var(--snice-color-primary-subtle,rgb(239 246 255))}.recipe__step-controls button:disabled{opacity:.4;cursor:not-allowed}.recipe__step-controls button:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.recipe__print-btn{margin-left:auto}:host([variant=card]) .recipe__content{grid-template-columns:1fr;padding:var(--snice-spacing-md,1rem)}:host([variant=card]) .recipe__hero img{max-height:15rem}:host([variant=card]) .recipe__header{padding:var(--snice-spacing-md,1rem)}@media print{.recipe{box-shadow:none;border:1px solid #ccc}.recipe__active-timer,.recipe__servings-btn,.recipe__step-controls,.recipe__step-timer-btn,.recipe__timer-cancel{display:none!important}.recipe__ingredient--checked,.recipe__step--completed{opacity:1}.recipe__ingredient--checked .recipe__ingredient-text{text-decoration:none}}[hidden]{display:none!important}"}`}template(){0===this.baseServings&&this.servings>0&&(this.baseServings=this.servings,this.currentServings=this.servings);const e=this.prepTime+this.cookTime,t=new Map;this.ingredients.forEach((e,i)=>{const r=e.group||"";t.has(r)||t.set(r,[]),t.get(r).push({ingredient:e,index:i})});const r=this.activeStep>=0,s=this.tags.length>0||this.cuisine.length>0,n=this.cuisine.length>0,a=this.ingredients.length>0,c=this.steps.length>0,o=a||c,p=this.prepTime>0||this.cookTime>0||this.servings>0||this.difficulty.length>0,l=null!==this.nutrition,d=l?this.nutrition.calories:0,m=l?this.nutrition.protein:0,g=l?this.nutrition.carbs:0,v=l?this.nutrition.fat:0,h=l?this.nutrition.fiber:0,u=l?this.nutrition.sodium:0,_=l&&void 0!==this.nutrition.fiber,f=l&&void 0!==this.nutrition.sodium,b=[];for(const[e,r]of t.entries()){e&&b.push(i.html`<li class="recipe__ingredient-group-title">${e}</li>`);for(const{ingredient:e,index:t}of r){const r=this.checkedIngredients[t]||!1,s=r?"recipe__ingredient--checked":"";b.push(i.html`
|
|
8
|
+
<li class="recipe__ingredient ${s}" @click=${()=>this.toggleIngredient(t)}>
|
|
9
|
+
<input type="checkbox" class="recipe__ingredient-checkbox" ?checked=${r} @click=${e=>e.stopPropagation()} @change=${()=>this.toggleIngredient(t)} />
|
|
10
|
+
<span class="recipe__ingredient-amount">${this.formatAmount(e.amount)} ${e.unit}</span>
|
|
11
|
+
<span class="recipe__ingredient-text">${e.name}</span>
|
|
12
|
+
</li>
|
|
13
|
+
`)}}return i.html`
|
|
14
|
+
<div class="recipe" part="container">
|
|
15
|
+
<if ${this.image}>
|
|
16
|
+
<div class="recipe__hero" part="hero">
|
|
17
|
+
<img src="${this.image}" alt="${this.title}" loading="lazy" />
|
|
18
|
+
</div>
|
|
19
|
+
</if>
|
|
20
|
+
|
|
21
|
+
<div class="recipe__header" part="header">
|
|
22
|
+
<h2 class="recipe__title">${this.title}</h2>
|
|
23
|
+
<if ${this.description}>
|
|
24
|
+
<p class="recipe__description">${this.description}</p>
|
|
25
|
+
</if>
|
|
26
|
+
<if ${this.author}>
|
|
27
|
+
<span class="recipe__author">By ${this.author}</span>
|
|
28
|
+
</if>
|
|
29
|
+
<if ${s}>
|
|
30
|
+
<div class="recipe__tags">
|
|
31
|
+
<if ${n}>
|
|
32
|
+
<span class="recipe__tag">${this.cuisine}</span>
|
|
33
|
+
</if>
|
|
34
|
+
${this.tags.map(e=>i.html`<span class="recipe__tag">${e}</span>`)}
|
|
35
|
+
</div>
|
|
36
|
+
</if>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<if ${p}>
|
|
40
|
+
<div class="recipe__meta" part="meta">
|
|
41
|
+
<if ${this.prepTime>0}>
|
|
42
|
+
<div class="recipe__meta-item">
|
|
43
|
+
<span class="recipe__meta-label">Prep</span>
|
|
44
|
+
<span class="recipe__meta-value">${this.formatMinutes(this.prepTime)}</span>
|
|
45
|
+
</div>
|
|
46
|
+
</if>
|
|
47
|
+
<if ${this.cookTime>0}>
|
|
48
|
+
<div class="recipe__meta-item">
|
|
49
|
+
<span class="recipe__meta-label">Cook</span>
|
|
50
|
+
<span class="recipe__meta-value">${this.formatMinutes(this.cookTime)}</span>
|
|
51
|
+
</div>
|
|
52
|
+
</if>
|
|
53
|
+
<if ${e>0}>
|
|
54
|
+
<div class="recipe__meta-item">
|
|
55
|
+
<span class="recipe__meta-label">Total</span>
|
|
56
|
+
<span class="recipe__meta-value">${this.formatMinutes(e)}</span>
|
|
57
|
+
</div>
|
|
58
|
+
</if>
|
|
59
|
+
<if ${this.currentServings>0}>
|
|
60
|
+
<div class="recipe__meta-item">
|
|
61
|
+
<span class="recipe__meta-label">Servings</span>
|
|
62
|
+
<span class="recipe__meta-value">${this.currentServings}</span>
|
|
63
|
+
</div>
|
|
64
|
+
</if>
|
|
65
|
+
<if ${this.difficulty}>
|
|
66
|
+
<div class="recipe__meta-item">
|
|
67
|
+
<span class="recipe__meta-label">Difficulty</span>
|
|
68
|
+
<span class="recipe__meta-value recipe__difficulty--${this.difficulty}">${this.difficulty}</span>
|
|
69
|
+
</div>
|
|
70
|
+
</if>
|
|
71
|
+
</div>
|
|
72
|
+
</if>
|
|
73
|
+
|
|
74
|
+
<if ${o}>
|
|
75
|
+
<div class="recipe__content" part="content">
|
|
76
|
+
<if ${a}>
|
|
77
|
+
<div class="recipe__ingredients-section" part="ingredients">
|
|
78
|
+
<h3 class="recipe__section-title">Ingredients</h3>
|
|
79
|
+
<div class="recipe__servings-adjuster">
|
|
80
|
+
<button class="recipe__servings-btn" @click=${()=>this.decrementServings()} aria-label="Decrease servings">-</button>
|
|
81
|
+
<span class="recipe__servings-count">${this.currentServings}</span>
|
|
82
|
+
<button class="recipe__servings-btn" @click=${()=>this.incrementServings()} aria-label="Increase servings">+</button>
|
|
83
|
+
<span>servings</span>
|
|
84
|
+
</div>
|
|
85
|
+
<ul class="recipe__ingredients-list">
|
|
86
|
+
${b}
|
|
87
|
+
</ul>
|
|
88
|
+
</div>
|
|
89
|
+
</if>
|
|
90
|
+
|
|
91
|
+
<if ${c}>
|
|
92
|
+
<div class="recipe__steps-section" part="steps">
|
|
93
|
+
<h3 class="recipe__section-title">Instructions</h3>
|
|
94
|
+
<ol class="recipe__steps-list">
|
|
95
|
+
${this.steps.map((e,t)=>{const r=this.completedSteps[t]||!1,s=this.activeStep===t,n=this.activeTimers.get(t),a=void 0!==n,c=a&&n.done?"recipe__active-timer--done":"",o=a?n.done?"Done!":this.formatTimer(n.remaining):"",p=e.time&&!a;return i.html`
|
|
96
|
+
<li class="recipe__step ${r?"recipe__step--completed":""} ${s?"recipe__step--active":""}">
|
|
97
|
+
<span class="recipe__step-number" @click=${()=>this.toggleStepComplete(t)} title="${r?"Mark incomplete":"Mark complete"}">
|
|
98
|
+
${r?"✓":t+1}
|
|
99
|
+
</span>
|
|
100
|
+
<div class="recipe__step-body">
|
|
101
|
+
<div class="recipe__step-text">${e.text}</div>
|
|
102
|
+
<if ${e.tip}>
|
|
103
|
+
<div class="recipe__step-tip">${e.tip}</div>
|
|
104
|
+
</if>
|
|
105
|
+
<if ${e.image}>
|
|
106
|
+
<img class="recipe__step-image" src="${e.image}" alt="Step ${t+1}" loading="lazy" />
|
|
107
|
+
</if>
|
|
108
|
+
<if ${p}>
|
|
109
|
+
<button class="recipe__step-timer-btn" @click=${()=>this.startTimer(t,e.time)}>
|
|
110
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
111
|
+
<circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/>
|
|
112
|
+
</svg>
|
|
113
|
+
${this.formatMinutes(e.time)}
|
|
114
|
+
</button>
|
|
115
|
+
</if>
|
|
116
|
+
<if ${a}>
|
|
117
|
+
<span class="recipe__active-timer ${c}">
|
|
118
|
+
${o}
|
|
119
|
+
<button class="recipe__timer-cancel" @click=${()=>this.cancelTimer(t)} title="Cancel timer">\u2715</button>
|
|
120
|
+
</span>
|
|
121
|
+
</if>
|
|
122
|
+
</div>
|
|
123
|
+
</li>
|
|
124
|
+
`})}
|
|
125
|
+
</ol>
|
|
126
|
+
</div>
|
|
127
|
+
</if>
|
|
128
|
+
</div>
|
|
129
|
+
</if>
|
|
130
|
+
|
|
131
|
+
<if ${l}>
|
|
132
|
+
<div class="recipe__nutrition" part="nutrition">
|
|
133
|
+
<h3 class="recipe__section-title">Nutrition Facts</h3>
|
|
134
|
+
<span class="recipe__author">Per serving</span>
|
|
135
|
+
<div class="recipe__nutrition-grid">
|
|
136
|
+
<div class="recipe__nutrition-item">
|
|
137
|
+
<div class="recipe__nutrition-value">${d}</div>
|
|
138
|
+
<div class="recipe__nutrition-label">Calories</div>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="recipe__nutrition-item">
|
|
141
|
+
<div class="recipe__nutrition-value">${m}g</div>
|
|
142
|
+
<div class="recipe__nutrition-label">Protein</div>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="recipe__nutrition-item">
|
|
145
|
+
<div class="recipe__nutrition-value">${g}g</div>
|
|
146
|
+
<div class="recipe__nutrition-label">Carbs</div>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="recipe__nutrition-item">
|
|
149
|
+
<div class="recipe__nutrition-value">${v}g</div>
|
|
150
|
+
<div class="recipe__nutrition-label">Fat</div>
|
|
151
|
+
</div>
|
|
152
|
+
<if ${_}>
|
|
153
|
+
<div class="recipe__nutrition-item">
|
|
154
|
+
<div class="recipe__nutrition-value">${h}g</div>
|
|
155
|
+
<div class="recipe__nutrition-label">Fiber</div>
|
|
156
|
+
</div>
|
|
157
|
+
</if>
|
|
158
|
+
<if ${f}>
|
|
159
|
+
<div class="recipe__nutrition-item">
|
|
160
|
+
<div class="recipe__nutrition-value">${u}mg</div>
|
|
161
|
+
<div class="recipe__nutrition-label">Sodium</div>
|
|
162
|
+
</div>
|
|
163
|
+
</if>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
</if>
|
|
167
|
+
|
|
168
|
+
<if ${c}>
|
|
169
|
+
<div class="recipe__step-controls" part="controls">
|
|
170
|
+
<if ${!r}>
|
|
171
|
+
<button @click=${()=>this.startStepByStep()}>Step-by-Step</button>
|
|
172
|
+
</if>
|
|
173
|
+
<if ${r}>
|
|
174
|
+
<button @click=${()=>this.goToPrevStep()} ?disabled=${this.activeStep<=0}>Previous</button>
|
|
175
|
+
<button @click=${()=>this.goToNextStep()}>
|
|
176
|
+
${this.activeStep>=this.steps.length-1?"Finish":"Next"}
|
|
177
|
+
</button>
|
|
178
|
+
</if>
|
|
179
|
+
<button class="recipe__print-btn" @click=${()=>this.print()}>Print</button>
|
|
180
|
+
<button @click=${()=>this.reset()}>Reset</button>
|
|
181
|
+
</div>
|
|
182
|
+
</if>
|
|
183
|
+
</div>
|
|
184
|
+
`}},s})();return e.SniceRecipe=s,e}({},Snice);
|
|
185
|
+
//# sourceMappingURL=snice-recipe.min.js.map
|