impact-nova 3.0.0-alpha.0 → 3.0.0-alpha.10
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/README.md +1 -1
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +5 -0
- package/dist/components/data/ag-grid-react/cell-renderers/cell-renderer-utils.js +12 -10
- package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +56 -42
- package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +48 -45
- package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +31 -33
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +8 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +57 -42
- package/dist/components/data/ag-grid-react/cell-renderers/types.d.ts +4 -0
- package/dist/components/data/ag-grid-react/editable-utils.d.ts +9 -1
- package/dist/components/data/ag-grid-react/editable-utils.js +46 -41
- package/dist/components/data/ag-grid-react/headers/header-search-input.js +203 -199
- package/dist/components/data/ag-grid-react/index.d.ts +1 -1
- package/dist/components/data/ag-grid-react/index.js +115 -111
- package/dist/components/data/expandable-list-item/index.d.ts +2 -0
- package/dist/components/data/expandable-list-item/index.js +20 -16
- package/dist/components/data/expandable-list-item/product-card-hero.d.ts +15 -0
- package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.d.ts +8 -0
- package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.js +41 -0
- package/dist/components/data/expandable-list-item/product-card-metrics-toggle.d.ts +13 -0
- package/dist/components/data/expandable-list-item/product-card-metrics-toggle.js +27 -0
- package/dist/components/data/expandable-list-item/sku-picker-chrome.d.ts +40 -0
- package/dist/components/data/expandable-list-item/sku-picker-chrome.js +150 -0
- package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +2 -1
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +5 -4
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +3 -2
- package/dist/components/data-display/chart/chart-scatter3d.d.ts +39 -0
- package/dist/components/data-display/chart/chart-scatter3d.js +180 -0
- package/dist/components/data-display/chart/chart.js +125 -112
- package/dist/components/data-display/chart/chart.utils.js +122 -92
- package/dist/components/data-display/stereo-scatter/index.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/index.js +10 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.d.ts +41 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.js +178 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.d.ts +14 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.js +29 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.d.ts +23 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.js +80 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine.d.ts +120 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine.js +519 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-math.d.ts +64 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-math.js +129 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-model.d.ts +37 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-model.js +71 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.d.ts +33 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.js +19 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.d.ts +4 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.js +19 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.js +75 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.js +149 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.d.ts +13 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.js +93 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.js +62 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.d.ts +3 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.js +41 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.d.ts +12 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.js +107 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.stories-data.d.ts +11 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.types.d.ts +69 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.d.ts +13 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.js +42 -0
- package/dist/components/feedback/tooltip/button-icon-tooltip.d.ts +6 -1
- package/dist/components/feedback/tooltip/button-icon-tooltip.js +22 -17
- package/dist/components/feedback/tooltip/use-overflow-tooltip.js +44 -36
- package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.d.ts +5 -0
- package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.js +73 -0
- package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.d.ts +5 -0
- package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.js +40 -0
- package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.d.ts +3 -0
- package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.js +25 -0
- package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.d.ts +4 -0
- package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.js +99 -0
- package/dist/components/flows/iris-chat/index.d.ts +3 -1
- package/dist/components/flows/iris-chat/index.js +58 -53
- package/dist/components/flows/iris-chat/iris-chat-artifact.js +46 -36
- package/dist/components/flows/iris-chat/iris-chat-chrome.d.ts +39 -0
- package/dist/components/flows/iris-chat/iris-chat-chrome.js +311 -0
- package/dist/components/flows/iris-chat/iris-chat-close-animation.d.ts +12 -0
- package/dist/components/flows/iris-chat/iris-chat-close-animation.js +21 -0
- package/dist/components/flows/iris-chat/iris-chat-composer.js +266 -238
- package/dist/components/flows/iris-chat/iris-chat-context.d.ts +16 -0
- package/dist/components/flows/iris-chat/iris-chat-context.js +14 -10
- package/dist/components/flows/iris-chat/iris-chat-copy-feedback.d.ts +4 -0
- package/dist/components/flows/iris-chat/iris-chat-copy-feedback.js +16 -0
- package/dist/components/flows/iris-chat/iris-chat-frame.d.ts +31 -0
- package/dist/components/flows/iris-chat/iris-chat-frame.js +79 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +1 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.js +28 -15
- package/dist/components/flows/iris-chat/iris-chat-launch-animation.d.ts +11 -0
- package/dist/components/flows/iris-chat/iris-chat-launch-animation.js +35 -0
- package/dist/components/flows/iris-chat/iris-chat-markdown.js +82 -42
- package/dist/components/flows/iris-chat/iris-chat-menu.js +149 -117
- package/dist/components/flows/iris-chat/iris-chat-snap-presets.d.ts +4 -0
- package/dist/components/flows/iris-chat/iris-chat-snap-presets.js +63 -0
- package/dist/components/flows/iris-chat/iris-chat-speech.d.ts +52 -0
- package/dist/components/flows/iris-chat/iris-chat-speech.js +121 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +4 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.js +289 -231
- package/dist/components/flows/iris-chat/iris-chat-window-chrome.d.ts +30 -0
- package/dist/components/flows/iris-chat/iris-chat-window-chrome.js +34 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.d.ts +14 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.js +15 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry.d.ts +12 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry.js +113 -0
- package/dist/components/flows/iris-chat/iris-chat-window-handles.d.ts +6 -0
- package/dist/components/flows/iris-chat/iris-chat-window-handles.js +50 -0
- package/dist/components/flows/iris-chat/iris-chat-window-shell.d.ts +8 -0
- package/dist/components/flows/iris-chat/iris-chat-window-shell.js +37 -0
- package/dist/components/flows/iris-chat/iris-chat.d.ts +3 -39
- package/dist/components/flows/iris-chat/iris-chat.js +22 -330
- package/dist/components/flows/iris-chat/iris-chat.types.d.ts +20 -0
- package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +4 -3
- package/dist/components/flows/iris-chat/iris-chat.variants.js +46 -23
- package/dist/components/flows/iris-chat/use-iris-chat-root.d.ts +29 -0
- package/dist/components/flows/iris-chat/use-iris-chat-root.js +167 -0
- package/dist/components/forms/choice-card/choice-card-percent.js +82 -51
- package/dist/components/forms/choice-card/choice-card.d.ts +1 -0
- package/dist/components/forms/choice-card/choice-card.js +196 -199
- package/dist/components/forms/choice-card/choice-card.variants.js +3 -3
- package/dist/components/forms/input/input.js +5 -5
- package/dist/components/forms/select/components/SelectMenuPanel.js +15 -15
- package/dist/components/forms/select/components/SelectTriggerValue.js +6 -6
- package/dist/components/layout/header/header.js +1 -0
- package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.d.ts +3 -0
- package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.js +12 -0
- package/dist/components/layout/horizontal-scroller/horizontal-scroller.js +181 -125
- package/dist/components/layout/horizontal-scroller/horizontal-scroller.types.d.ts +2 -0
- package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.d.ts +3 -1
- package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.js +77 -67
- package/dist/components/primitives/button/button.variants.js +1 -1
- package/dist/components/primitives/iris/iris-insight-truncated-text.d.ts +3 -0
- package/dist/components/primitives/iris/iris-insight-truncated-text.js +33 -0
- package/dist/components/primitives/iris/iris.d.ts +3 -1
- package/dist/components/primitives/iris/iris.js +76 -84
- package/dist/components/primitives/iris/iris.types.d.ts +9 -0
- package/dist/components/primitives/stepper/internals/step-model.d.ts +1 -1
- package/dist/components/primitives/stepper/internals/step-model.js +5 -5
- package/dist/components/primitives/stepper/internals/stepper-compact.js +13 -13
- package/dist/components/primitives/stepper/internals/stepper-pipeline.js +6 -6
- package/dist/components/primitives/stepper/internals/stepper-rail.js +15 -15
- package/dist/components/primitives/stepper/internals/stepper-summary.js +7 -7
- package/dist/components/primitives/stepper/internals/stepper-track.js +2 -2
- package/dist/components/primitives/stepper/stepper.js +92 -91
- package/dist/components/primitives/stepper/stepper.types.d.ts +2 -0
- package/dist/form-react/Fields/SelectField.js +66 -57
- package/dist/form-react/Fields/VirtualizedListField.d.ts +3 -0
- package/dist/form-react/Fields/VirtualizedListField.js +223 -0
- package/dist/form-react/fields.d.ts +1 -0
- package/dist/form-react/fields.js +28 -26
- package/dist/form-react/index.d.ts +1 -1
- package/dist/form-react/registry/defaultFieldRegistrations.d.ts +1 -1
- package/dist/form-react/registry/defaultFieldRegistrations.js +13 -12
- package/dist/form-react/types/fields.types.d.ts +48 -1
- package/dist/form-react/types/fieldsOutput.types.d.ts +4 -1
- package/dist/form-react/types/reactHookForm.types.d.ts +18 -1
- package/dist/form-react/utils/fieldDefaults.utils.js +1 -1
- package/dist/i18n/defaultMessages.d.ts +45 -0
- package/dist/i18n/defaultMessages.js +58 -14
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/locales/de.js +44 -0
- package/dist/i18n/locales/es.js +44 -0
- package/dist/i18n/locales/hi.js +44 -0
- package/dist/i18n/locales/kn.js +44 -0
- package/dist/impact-nova-components.css +195 -8
- package/dist/impact-nova.css +1 -1
- package/dist/index.js +356 -352
- package/dist/lib/alphabetical-sort.d.ts +3 -0
- package/dist/lib/alphabetical-sort.js +13 -0
- package/dist/lib/overflow/is-text-overflowing.js +24 -6
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
- package/dist/node_modules/bail/index.js +7 -0
- package/dist/node_modules/ccount/index.js +12 -0
- package/dist/node_modules/comma-separated-tokens/index.js +9 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/devlop/lib/default.js +8 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/node_modules/extend/index.js +43 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +93 -0
- package/dist/node_modules/is-plain-obj/index.js +9 -0
- package/dist/node_modules/longest-streak/index.js +12 -0
- package/dist/node_modules/markdown-table/index.js +75 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +78 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +8 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +632 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +29 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +54 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +30 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +35 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
- package/dist/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +225 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +128 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +98 -0
- package/dist/node_modules/micromark/lib/parse.js +32 -0
- package/dist/node_modules/micromark/lib/postprocess.js +9 -0
- package/dist/node_modules/micromark/lib/preprocess.js +44 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +87 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +82 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +37 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +132 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +154 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +75 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +149 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
- package/dist/node_modules/micromark-factory-destination/index.js +31 -0
- package/dist/node_modules/micromark-factory-label/index.js +28 -0
- package/dist/node_modules/micromark-factory-space/index.js +29 -0
- package/dist/node_modules/micromark-factory-title/index.js +26 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +39 -0
- package/dist/node_modules/micromark-util-chunked/index.js +16 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
- package/dist/node_modules/micromark-util-edit-map/index.js +82 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.js +378 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +568 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-markdown/lib/index.js +102 -0
- package/dist/node_modules/remark-gfm/lib/index.js +13 -0
- package/dist/node_modules/remark-parse/lib/index.js +19 -0
- package/dist/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/style-to-js/cjs/index.js +20 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
- package/dist/node_modules/style-to-object/cjs/index.js +28 -0
- package/dist/node_modules/trim-lines/index.js +28 -0
- package/dist/node_modules/trough/lib/index.js +60 -0
- package/dist/node_modules/unified/lib/callable-instance.js +25 -0
- package/dist/node_modules/unified/lib/index.js +529 -0
- package/dist/node_modules/unist-util-is/lib/index.js +91 -0
- package/dist/node_modules/unist-util-position/lib/index.js +23 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
- package/dist/node_modules/vfile/lib/index.js +406 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
- package/dist/node_modules/vfile-message/lib/index.js +91 -0
- package/package.json +8 -2
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { useControllableState as T } from "@radix-ui/react-use-controllable-state";
|
|
3
|
+
import { readIsIrisChatWindowPlacement as te } from "./iris-chat-context.js";
|
|
4
|
+
import { createDefaultIrisChatFrame as I, readIrisChatMaxFrameSize as ne, clampIrisChatFrame as re, IRIS_CHAT_FRAME_DEFAULT_HEIGHT_PX as ae, IRIS_CHAT_FRAME_DEFAULT_WIDTH_PX as oe, createCompactIrisChatFrame as se, readIrisChatViewport as z } from "./iris-chat-frame.js";
|
|
5
|
+
import { readIrisChatFrameIsLarge as ie, createIrisChatSnapFrame as ce } from "./iris-chat-snap-presets.js";
|
|
6
|
+
import { readIrisChatCloseTransform as le, IRIS_CHAT_CLOSE_ANIMATION_MS as ue, readIrisChatCloseAnimationStyle as me } from "./iris-chat-close-animation.js";
|
|
7
|
+
import { readIrisChatLaunchAnimationEnabled as N, runIrisChatOpenFromLaunchTarget as fe } from "./iris-chat-launch-animation.js";
|
|
8
|
+
function Ie(D) {
|
|
9
|
+
const {
|
|
10
|
+
open: W,
|
|
11
|
+
defaultOpen: E = !0,
|
|
12
|
+
onOpenChange: q,
|
|
13
|
+
placement: B,
|
|
14
|
+
defaultPlacement: w = "dock-right",
|
|
15
|
+
onPlacementChange: U,
|
|
16
|
+
frame: V,
|
|
17
|
+
defaultFrame: S,
|
|
18
|
+
onFrameChange: X,
|
|
19
|
+
closeAnimationTarget: p,
|
|
20
|
+
onCloseAnimationComplete: _
|
|
21
|
+
} = D, C = n.useRef(null), a = n.useRef(null), d = n.useRef(null), y = n.useRef(!1), [o, P] = n.useState(!1), [v, x] = n.useState(!1), [G, l] = T({
|
|
22
|
+
prop: W,
|
|
23
|
+
defaultProp: E,
|
|
24
|
+
onChange: q
|
|
25
|
+
}), [j, u] = T({
|
|
26
|
+
prop: B,
|
|
27
|
+
defaultProp: w,
|
|
28
|
+
onChange: U
|
|
29
|
+
}), [L, M] = T({
|
|
30
|
+
prop: V,
|
|
31
|
+
defaultProp: S ?? I(),
|
|
32
|
+
onChange: X
|
|
33
|
+
}), h = n.useRef(
|
|
34
|
+
L ?? S ?? I()
|
|
35
|
+
), s = G ?? E, g = j ?? w, r = L ?? I(), m = te(g);
|
|
36
|
+
function J(e) {
|
|
37
|
+
M(e);
|
|
38
|
+
}
|
|
39
|
+
function i(e) {
|
|
40
|
+
M(e);
|
|
41
|
+
}
|
|
42
|
+
function K() {
|
|
43
|
+
i(I());
|
|
44
|
+
}
|
|
45
|
+
function b() {
|
|
46
|
+
h.current = r, i(se({ x: r.x, y: r.y })), u("minimized");
|
|
47
|
+
}
|
|
48
|
+
function H() {
|
|
49
|
+
i(h.current), u("float");
|
|
50
|
+
}
|
|
51
|
+
function Q(e) {
|
|
52
|
+
h.current = r, i(ce(e, z())), u("float");
|
|
53
|
+
}
|
|
54
|
+
function Y() {
|
|
55
|
+
const e = z();
|
|
56
|
+
if (g === "minimized") {
|
|
57
|
+
H();
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
if (ie(r, e)) {
|
|
61
|
+
b();
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const t = ne(e), c = re(
|
|
65
|
+
{
|
|
66
|
+
x: r.x,
|
|
67
|
+
y: r.y,
|
|
68
|
+
width: Math.min(oe, t.width),
|
|
69
|
+
height: Math.min(ae, t.height)
|
|
70
|
+
},
|
|
71
|
+
e
|
|
72
|
+
);
|
|
73
|
+
h.current = c, i(c), u("float");
|
|
74
|
+
}
|
|
75
|
+
n.useEffect(() => () => {
|
|
76
|
+
a.current !== null && window.clearTimeout(a.current), d.current?.();
|
|
77
|
+
}, []);
|
|
78
|
+
const A = n.useCallback(() => {
|
|
79
|
+
a.current !== null && (window.clearTimeout(a.current), a.current = null);
|
|
80
|
+
const e = C.current;
|
|
81
|
+
e && (e.style.transform = "", e.style.opacity = "", e.style.transition = "", e.style.pointerEvents = ""), P(!1), l(!1), _?.();
|
|
82
|
+
}, [_, l]), F = n.useCallback(
|
|
83
|
+
(e) => {
|
|
84
|
+
requestAnimationFrame(() => {
|
|
85
|
+
const c = p?.() ?? null;
|
|
86
|
+
N({ target: c, panel: e, isWindowPlacement: m }) && (d.current?.(), x(!0), d.current = fe({
|
|
87
|
+
panel: e,
|
|
88
|
+
target: c,
|
|
89
|
+
onComplete: () => {
|
|
90
|
+
d.current = null, x(!1);
|
|
91
|
+
}
|
|
92
|
+
}));
|
|
93
|
+
});
|
|
94
|
+
},
|
|
95
|
+
[p, m]
|
|
96
|
+
), f = n.useRef(!1);
|
|
97
|
+
n.useLayoutEffect(() => {
|
|
98
|
+
if (!s) {
|
|
99
|
+
y.current = !1, f.current = !1;
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (y.current || o)
|
|
103
|
+
return;
|
|
104
|
+
y.current = !0, f.current = !0;
|
|
105
|
+
const e = C.current;
|
|
106
|
+
e && (f.current = !1, F(e));
|
|
107
|
+
}, [o, s, F]);
|
|
108
|
+
const Z = n.useCallback(
|
|
109
|
+
(e) => {
|
|
110
|
+
C.current = e, e && f.current && (f.current = !1, F(e));
|
|
111
|
+
},
|
|
112
|
+
[F]
|
|
113
|
+
), $ = n.useCallback(() => {
|
|
114
|
+
if (!s || o)
|
|
115
|
+
return;
|
|
116
|
+
const e = p?.() ?? null, t = C.current;
|
|
117
|
+
if (!N({
|
|
118
|
+
target: e,
|
|
119
|
+
panel: t,
|
|
120
|
+
isWindowPlacement: m
|
|
121
|
+
}) || t === null || e === null) {
|
|
122
|
+
l(!1);
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
const ee = le(
|
|
126
|
+
t.getBoundingClientRect(),
|
|
127
|
+
e.getBoundingClientRect()
|
|
128
|
+
), R = me(ee);
|
|
129
|
+
P(!0), t.style.pointerEvents = "none", t.style.transformOrigin = "center center", t.style.transition = R.transition, t.style.opacity = R.opacity, requestAnimationFrame(() => {
|
|
130
|
+
t.style.transform = R.transform;
|
|
131
|
+
});
|
|
132
|
+
const O = (k) => {
|
|
133
|
+
k.target !== t || k.propertyName !== "transform" || (t.removeEventListener("transitionend", O), A());
|
|
134
|
+
};
|
|
135
|
+
t.addEventListener("transitionend", O), a.current = window.setTimeout(() => {
|
|
136
|
+
t.removeEventListener("transitionend", O), A();
|
|
137
|
+
}, ue + 80);
|
|
138
|
+
}, [p, A, o, m, s, l]);
|
|
139
|
+
return {
|
|
140
|
+
resolvedOpen: s,
|
|
141
|
+
resolvedPlacement: g,
|
|
142
|
+
isClosing: o,
|
|
143
|
+
isOpening: v,
|
|
144
|
+
providerValue: {
|
|
145
|
+
open: s,
|
|
146
|
+
setOpen: l,
|
|
147
|
+
requestClose: $,
|
|
148
|
+
isClosing: o,
|
|
149
|
+
isOpening: v,
|
|
150
|
+
registerPanelNode: Z,
|
|
151
|
+
placement: g,
|
|
152
|
+
setPlacement: u,
|
|
153
|
+
frame: r,
|
|
154
|
+
setFrame: J,
|
|
155
|
+
commitFrame: i,
|
|
156
|
+
resetFrame: K,
|
|
157
|
+
applyCompactFrame: b,
|
|
158
|
+
expandFromCompactFrame: H,
|
|
159
|
+
applySnapPreset: Q,
|
|
160
|
+
toggleWindowSize: Y,
|
|
161
|
+
isWindowPlacement: m
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
export {
|
|
166
|
+
Ie as useIrisChatRoot
|
|
167
|
+
};
|
|
@@ -1,72 +1,103 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ArrowUp as
|
|
3
|
-
import { createComponent as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { useImpactNovaI18n as
|
|
6
|
-
function
|
|
7
|
-
return Math.min(
|
|
1
|
+
import { jsxs as f, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { ArrowUp as I, ArrowDown as N } from "impact-nova-icons";
|
|
3
|
+
import { createComponent as j } from "../../../lib/primitives/create-component.js";
|
|
4
|
+
import { cn as l } from "../../../lib/utils.js";
|
|
5
|
+
import { useImpactNovaI18n as A } from "../../../i18n/use-impact-nova-i18n.js";
|
|
6
|
+
function z(c, n, s) {
|
|
7
|
+
return Math.min(s, Math.max(n, c));
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const m = "inline-flex h-[11px] w-5 shrink-0 select-none cursor-pointer border-0 p-0 bg-canvas-muted text-content-icon transition-[color,background-color,transform] duration-150 motion-reduce:transition-none enabled:hover:bg-stroke-track enabled:hover:text-content-tertiary enabled:active:scale-[0.98] enabled:active:bg-stroke-hairline enabled:active:text-content focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focus-ring focus-visible:ring-inset disabled:cursor-not-allowed disabled:opacity-40", $ = j(
|
|
10
10
|
"ChoiceCardPercent",
|
|
11
11
|
({
|
|
12
|
-
className:
|
|
13
|
-
value:
|
|
14
|
-
onValueChange:
|
|
15
|
-
min:
|
|
16
|
-
max:
|
|
17
|
-
step:
|
|
18
|
-
suffix:
|
|
19
|
-
increaseLabel:
|
|
20
|
-
decreaseLabel:
|
|
21
|
-
disabled:
|
|
22
|
-
onKeyDown:
|
|
23
|
-
...
|
|
24
|
-
},
|
|
25
|
-
const { t:
|
|
26
|
-
function
|
|
27
|
-
|
|
12
|
+
className: c,
|
|
13
|
+
value: n,
|
|
14
|
+
onValueChange: s,
|
|
15
|
+
min: d = 0,
|
|
16
|
+
max: b = 100,
|
|
17
|
+
step: t = 1,
|
|
18
|
+
suffix: h = "%",
|
|
19
|
+
increaseLabel: x,
|
|
20
|
+
decreaseLabel: g,
|
|
21
|
+
disabled: r,
|
|
22
|
+
onKeyDown: w,
|
|
23
|
+
...v
|
|
24
|
+
}, k) => {
|
|
25
|
+
const { t: p } = A(), y = x ?? p("aria.increase"), C = g ?? p("aria.decrease"), D = !r && n > d, u = !r && n < b;
|
|
26
|
+
function i(e) {
|
|
27
|
+
r || s?.(z(n + e, d, b));
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
e.
|
|
29
|
+
function o(e) {
|
|
30
|
+
e.stopPropagation();
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
function P(e) {
|
|
33
|
+
e.key === "ArrowUp" ? (e.preventDefault(), i(t)) : e.key === "ArrowDown" && (e.preventDefault(), i(-t)), w?.(e);
|
|
34
|
+
}
|
|
35
|
+
return /* @__PURE__ */ f(
|
|
33
36
|
"div",
|
|
34
37
|
{
|
|
35
|
-
ref:
|
|
36
|
-
...
|
|
38
|
+
ref: k,
|
|
39
|
+
...v,
|
|
37
40
|
"data-slot": "choice-card-percent",
|
|
38
41
|
role: "group",
|
|
39
|
-
"aria-disabled":
|
|
40
|
-
tabIndex:
|
|
41
|
-
onKeyDown:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
"aria-disabled": r || void 0,
|
|
43
|
+
tabIndex: r ? void 0 : 0,
|
|
44
|
+
onKeyDown: P,
|
|
45
|
+
onPointerDown: o,
|
|
46
|
+
onClick: o,
|
|
47
|
+
className: l(
|
|
48
|
+
"relative z-[1] box-border flex h-8 w-[111px] items-center gap-2.5 overflow-hidden rounded-[8px] border border-stroke-field bg-canvas py-1 pl-3 pr-1 transition-colors",
|
|
49
|
+
"hover:border-brand focus-within:border-brand focus-within:outline-none",
|
|
50
|
+
r && "pointer-events-none border-stroke bg-disabled-surface opacity-100 hover:border-stroke",
|
|
51
|
+
c
|
|
46
52
|
),
|
|
47
53
|
children: [
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
|
|
50
|
-
|
|
54
|
+
/* @__PURE__ */ a(
|
|
55
|
+
"button",
|
|
56
|
+
{
|
|
57
|
+
type: "button",
|
|
58
|
+
tabIndex: -1,
|
|
59
|
+
disabled: !u,
|
|
60
|
+
className: "min-w-0 flex-1 truncate border-0 bg-transparent p-0 text-left text-sm font-normal leading-4 text-content disabled:opacity-40",
|
|
61
|
+
onPointerDown: o,
|
|
62
|
+
onClick: (e) => {
|
|
63
|
+
o(e), i(t);
|
|
64
|
+
},
|
|
65
|
+
children: `${n}${h}`
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ f("div", { className: "flex h-[23px] shrink-0 flex-col gap-px", children: [
|
|
69
|
+
/* @__PURE__ */ a(
|
|
51
70
|
"button",
|
|
52
71
|
{
|
|
53
72
|
type: "button",
|
|
54
|
-
"aria-label":
|
|
55
|
-
disabled: !
|
|
56
|
-
className:
|
|
57
|
-
|
|
58
|
-
|
|
73
|
+
"aria-label": y,
|
|
74
|
+
disabled: !u,
|
|
75
|
+
className: l(
|
|
76
|
+
m,
|
|
77
|
+
"items-center justify-center rounded-tr-sm"
|
|
78
|
+
),
|
|
79
|
+
onPointerDown: o,
|
|
80
|
+
onClick: (e) => {
|
|
81
|
+
o(e), i(t);
|
|
82
|
+
},
|
|
83
|
+
children: /* @__PURE__ */ a(I, { size: 10 })
|
|
59
84
|
}
|
|
60
85
|
),
|
|
61
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ a(
|
|
62
87
|
"button",
|
|
63
88
|
{
|
|
64
89
|
type: "button",
|
|
65
|
-
"aria-label":
|
|
66
|
-
disabled: !
|
|
67
|
-
className:
|
|
68
|
-
|
|
69
|
-
|
|
90
|
+
"aria-label": C,
|
|
91
|
+
disabled: !D,
|
|
92
|
+
className: l(
|
|
93
|
+
m,
|
|
94
|
+
"items-center justify-center rounded-br-sm"
|
|
95
|
+
),
|
|
96
|
+
onPointerDown: o,
|
|
97
|
+
onClick: (e) => {
|
|
98
|
+
o(e), i(-t);
|
|
99
|
+
},
|
|
100
|
+
children: /* @__PURE__ */ a(N, { size: 10 })
|
|
70
101
|
}
|
|
71
102
|
)
|
|
72
103
|
] })
|
|
@@ -76,5 +107,5 @@ const U = z(
|
|
|
76
107
|
}
|
|
77
108
|
);
|
|
78
109
|
export {
|
|
79
|
-
|
|
110
|
+
$ as ChoiceCardPercent
|
|
80
111
|
};
|
|
@@ -24,6 +24,7 @@ declare const ChoiceCardGroup: React.FC<ChoiceCardGroupProps>;
|
|
|
24
24
|
declare const ChoiceCard: React.ForwardRefExoticComponent<ChoiceCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
declare const ChoiceCardIndicator: React.ForwardRefExoticComponent<{
|
|
26
26
|
className?: string;
|
|
27
|
+
shape?: "checkbox" | "radio";
|
|
27
28
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
28
29
|
declare const ChoiceCardBackground: React.ForwardRefExoticComponent<ChoiceCardBackgroundProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
30
|
declare const ChoiceCardRibbon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|