@coveo/atomic 3.32.4-pre.3fd48fae35 → 3.32.4-pre.402ac385d9
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/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-numeric-facet/atomic-commerce-numeric-facet.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-link/atomic-product-link.js +1 -15
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/mixins/slots-for-no-shadow-dom-mixin.js +43 -99
- package/dist/atomic/components/slot-utils.js +11 -0
- package/dist/atomic/components/slot-utils.js.map +1 -1
- package/dist/atomic/components/utils/slot-utils.js +11 -0
- package/dist/atomic/{p-bbdbf7c5.entry.js → p-0c076058.entry.js} +2 -2
- package/dist/atomic/p-1891bbcf.js +2 -0
- package/dist/atomic/p-1891bbcf.js.map +1 -0
- package/dist/atomic/{p-b79a7896.entry.js → p-421850f9.entry.js} +2 -2
- package/dist/atomic/{p-57d5db65.entry.js → p-4cda93be.entry.js} +2 -2
- package/dist/atomic/{p-486ad8f3.js → p-5fca1435.js} +2 -2
- package/dist/atomic/{p-75962f6a.entry.js → p-8d408215.entry.js} +2 -2
- package/dist/atomic/{p-10857962.js → p-9f18363b.js} +2 -2
- package/dist/atomic/{p-efca37de.entry.js → p-a6be5ee3.entry.js} +2 -2
- package/dist/atomic/{p-4a6faf22.entry.js → p-ab55ee64.entry.js} +2 -2
- package/dist/atomic/{p-8ff9d07e.js → p-b309aadd.js} +2 -2
- package/dist/atomic/{p-cfb12696.entry.js → p-c6b4ac09.entry.js} +2 -2
- package/dist/atomic/{p-ce7cdbc7.entry.js → p-d2201e8a.entry.js} +2 -2
- package/dist/atomic/{p-11b9e476.entry.js → p-d3e1a9aa.entry.js} +2 -2
- package/dist/atomic/{p-6a33b860.entry.js → p-dc89e560.entry.js} +2 -2
- package/dist/atomic/{p-506d47e2.entry.js → p-e43fe680.entry.js} +2 -2
- package/dist/atomic/{p-a2e1fa2c.entry.js → p-ff653000.entry.js} +2 -2
- package/dist/cjs/{analytics-config-9e355173.js → analytics-config-fc33aab5.js} +2 -2
- package/dist/cjs/{analytics-config-9e355173.js.map → analytics-config-fc33aab5.js.map} +1 -1
- package/dist/cjs/atomic-generated-answer.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-smart-snippet-suggestions.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-smart-snippet.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +2 -2
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-link.cjs.entry.js +2 -2
- package/dist/cjs/atomic-result-printable-uri.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-smart-snippet-suggestions.cjs.entry.js +2 -2
- package/dist/cjs/atomic-smart-snippet.cjs.entry.js +2 -2
- package/dist/cjs/{attributes-slot-5799cb5b.js → attributes-slot-4e7d7a75.js} +2 -2
- package/dist/cjs/{attributes-slot-5799cb5b.js.map → attributes-slot-4e7d7a75.js.map} +1 -1
- package/dist/cjs/{generated-answer-common-e5cd257b.js → generated-answer-common-4cd4b7c6.js} +2 -2
- package/dist/cjs/{generated-answer-common-e5cd257b.js.map → generated-answer-common-4cd4b7c6.js.map} +1 -1
- package/dist/cjs/{slot-utils-948feedc.js → slot-utils-a30cb814.js} +12 -1
- package/dist/cjs/slot-utils-a30cb814.js.map +1 -0
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/{analytics-config-f13e1e85.js → analytics-config-3e2729b3.js} +2 -2
- package/dist/esm/{analytics-config-f13e1e85.js.map → analytics-config-3e2729b3.js.map} +1 -1
- package/dist/esm/atomic-generated-answer.entry.js +2 -2
- package/dist/esm/atomic-insight-generated-answer.entry.js +2 -2
- package/dist/esm/atomic-insight-interface.entry.js +1 -1
- package/dist/esm/atomic-insight-smart-snippet-suggestions.entry.js +2 -2
- package/dist/esm/atomic-insight-smart-snippet.entry.js +2 -2
- package/dist/esm/atomic-ipx-result-link.entry.js +2 -2
- package/dist/esm/atomic-recs-interface.entry.js +1 -1
- package/dist/esm/atomic-result-link.entry.js +2 -2
- package/dist/esm/atomic-result-printable-uri.entry.js +2 -2
- package/dist/esm/atomic-search-interface.entry.js +1 -1
- package/dist/esm/atomic-smart-snippet-suggestions.entry.js +2 -2
- package/dist/esm/atomic-smart-snippet.entry.js +2 -2
- package/dist/esm/{attributes-slot-0fb13fa2.js → attributes-slot-cb60f29b.js} +2 -2
- package/dist/esm/{attributes-slot-0fb13fa2.js.map → attributes-slot-cb60f29b.js.map} +1 -1
- package/dist/esm/{generated-answer-common-835787fa.js → generated-answer-common-06146290.js} +2 -2
- package/dist/esm/{generated-answer-common-835787fa.js.map → generated-answer-common-06146290.js.map} +1 -1
- package/dist/esm/{slot-utils-39a2fc43.js → slot-utils-dcf4fc27.js} +12 -1
- package/dist/esm/slot-utils-dcf4fc27.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/components/commerce/atomic-product-link/atomic-product-link.d.ts +1 -2
- package/dist/types/mixins/slots-for-no-shadow-dom-mixin.d.ts +3 -8
- package/docs/atomic-docs.json +1 -1
- package/package.json +1 -1
- package/dist/atomic/p-634ca060.js +0 -2
- package/dist/atomic/p-634ca060.js.map +0 -1
- package/dist/cjs/slot-utils-948feedc.js.map +0 -1
- package/dist/esm/slot-utils-39a2fc43.js.map +0 -1
- /package/dist/atomic/{p-bbdbf7c5.entry.js.map → p-0c076058.entry.js.map} +0 -0
- /package/dist/atomic/{p-b79a7896.entry.js.map → p-421850f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-57d5db65.entry.js.map → p-4cda93be.entry.js.map} +0 -0
- /package/dist/atomic/{p-486ad8f3.js.map → p-5fca1435.js.map} +0 -0
- /package/dist/atomic/{p-75962f6a.entry.js.map → p-8d408215.entry.js.map} +0 -0
- /package/dist/atomic/{p-10857962.js.map → p-9f18363b.js.map} +0 -0
- /package/dist/atomic/{p-efca37de.entry.js.map → p-a6be5ee3.entry.js.map} +0 -0
- /package/dist/atomic/{p-4a6faf22.entry.js.map → p-ab55ee64.entry.js.map} +0 -0
- /package/dist/atomic/{p-8ff9d07e.js.map → p-b309aadd.js.map} +0 -0
- /package/dist/atomic/{p-cfb12696.entry.js.map → p-c6b4ac09.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce7cdbc7.entry.js.map → p-d2201e8a.entry.js.map} +0 -0
- /package/dist/atomic/{p-11b9e476.entry.js.map → p-d3e1a9aa.entry.js.map} +0 -0
- /package/dist/atomic/{p-6a33b860.entry.js.map → p-dc89e560.entry.js.map} +0 -0
- /package/dist/atomic/{p-506d47e2.entry.js.map → p-e43fe680.entry.js.map} +0 -0
- /package/dist/atomic/{p-a2e1fa2c.entry.js.map → p-ff653000.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-dc3df5ce.js";export{s as setNonce}from"./p-dc3df5ce.js";import{g as a}from"./p-e1255160.js";var i=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};i().then((async e=>{await a();return t(JSON.parse('[["p-8ef7e37a",[[1,"atomic-result-list",{"display":[513],"density":[513],"imageSize":[1537,"image-size"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"resultListState":[32],"resultsPerPageState":[32],"tabManagerState":[32],"resultTemplateRegistered":[32],"error":[32],"isAppLoaded":[32],"templateHasError":[32],"setRenderFunction":[64]},null,{"tabManagerState":["watchTabManagerState"]}]]],["p-a13ee8b3",[[1,"atomic-folded-result-list",{"density":[513],"imageSize":[513,"image-size"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"collectionField":[513,"collection-field"],"parentField":[513,"parent-field"],"childField":[513,"child-field"],"numberOfFoldedResults":[514,"number-of-folded-results"],"foldedResultListState":[32],"resultsPerPageState":[32],"tabManagerState":[32],"resultTemplateRegistered":[32],"error":[32],"templateHasError":[32],"isAppLoaded":[32],"setRenderFunction":[64]},[[0,"atomic/resolveFoldedResultList","resolveFoldedResultList"],[0,"atomic/loadCollection","loadCollection"]],{"tabManagerState":["watchTabManagerState"]}]]],["p-0dc84319",[[1,"atomic-insight-folded-result-list",{"density":[513],"imageSize":[513,"image-size"],"collectionField":[513,"collection-field"],"parentField":[513,"parent-field"],"childField":[513,"child-field"],"foldedResultListState":[32],"resultsPerPageState":[32],"resultTemplateRegistered":[32],"error":[32],"isAppLoaded":[32],"templateHasError":[32],"setRenderFunction":[64]},[[0,"atomic/resolveFoldedResultList","resolveFoldedResultList"],[0,"atomic/loadCollection","loadCollection"]]]]],["p-fbacb7a0",[[1,"atomic-insight-result-children",{"inheritTemplates":[4,"inherit-templates"],"imageSize":[513,"image-size"],"noResultText":[1,"no-result-text"],"error":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"foldedResultListState":[32],"showInitialChildren":[32]},[[0,"atomic/resolveChildTemplates","resolveChildTemplates"]]]]],["p-08d7290a",[[1,"atomic-insight-result-list",{"density":[513],"imageSize":[513,"image-size"],"resultsPerPageState":[32],"resultListState":[32],"templateHasError":[32],"resultTemplateRegistered":[32],"error":[32],"isAppLoaded":[32],"setRenderFunction":[64]}]]],["p-4a6faf22",[[1,"atomic-insight-smart-snippet",{"headingLevel":[514,"heading-level"],"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"snippetStyle":[513,"snippet-style"],"smartSnippetState":[32],"feedbackSent":[32]}]]],["p-3ace419e",[[1,"atomic-ipx-recs-list",{"recommendation":[513],"display":[513],"density":[513],"imageSize":[513,"image-size"],"numberOfRecommendations":[514,"number-of-recommendations"],"numberOfRecommendationsPerPage":[514,"number-of-recommendations-per-page"],"label":[513],"headingLevel":[514,"heading-level"],"error":[32],"isAppLoaded":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"currentPage":[32],"recommendationListState":[32],"setRenderFunction":[64],"previousPage":[64],"nextPage":[64]},null,{"numberOfRecommendationsPerPage":["watchNumberOfRecommendationsPerPage"]}]]],["p-1899894c",[[1,"atomic-recs-list",{"recommendation":[513],"display":[513],"density":[513],"imageSize":[513,"image-size"],"numberOfRecommendations":[514,"number-of-recommendations"],"numberOfRecommendationsPerPage":[514,"number-of-recommendations-per-page"],"label":[513],"headingLevel":[514,"heading-level"],"error":[32],"isAppLoaded":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"currentPage":[32],"recommendationListState":[32],"setRenderFunction":[64],"previousPage":[64],"nextPage":[64]},null,{"numberOfRecommendationsPerPage":["watchNumberOfRecommendationsPerPage"]}]]],["p-c19a9af4",[[1,"atomic-result-children",{"inheritTemplates":[4,"inherit-templates"],"imageSize":[513,"image-size"],"noResultText":[1,"no-result-text"],"error":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"foldedResultListState":[32],"showInitialChildren":[32],"loadedFullCollection":[32]},[[0,"atomic/resolveChildTemplates","resolveChildTemplates"]]]]],["p-506d47e2",[[1,"atomic-smart-snippet",{"headingLevel":[514,"heading-level"],"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"snippetStyle":[513,"snippet-style"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"snippetMaximumHeight":[514,"snippet-maximum-height"],"snippetCollapsedHeight":[514,"snippet-collapsed-height"],"smartSnippetState":[32],"tabManagerState":[32],"feedbackSent":[32]},[[0,"selectInlineLink","onSelectInlineLink"],[0,"beginDelayedSelectInlineLink","onBeginDelayedSelectInlineLink"],[0,"cancelPendingSelectInlineLink","onCancelPendingSelectInlineLink"]]]]],["p-7464f00a",[[1,"atomic-insight-user-actions-toggle",{"userId":[1,"user-id"],"ticketCreationDateTime":[1,"ticket-creation-date-time"],"excludedCustomActions":[16],"userActionsState":[32],"error":[32]}]]],["p-04481727",[[1,"atomic-refine-toggle",{"collapseFacetsAfter":[514,"collapse-facets-after"],"error":[32],"searchStatusState":[32]}]]],["p-a2e1fa2c",[[1,"atomic-insight-smart-snippet-suggestions",{"headingLevel":[514,"heading-level"],"snippetStyle":[1,"snippet-style"],"smartSnippetQuestionsListState":[32]}]]],["p-57d5db65",[[1,"atomic-smart-snippet-suggestions",{"headingLevel":[514,"heading-level"],"snippetStyle":[1,"snippet-style"],"smartSnippetQuestionsListState":[32]}]]],["p-db9ca9c3",[[1,"atomic-insight-refine-toggle",{"error":[32],"breadcrumbManagerState":[32],"searchStatusState":[32]}]]],["p-db3dce80",[[0,"atomic-insight-result-quickview-action",{"sandbox":[1],"error":[32],"quickviewState":[32]},[[16,"atomic/quickview/next","onNextQuickview"],[16,"atomic/quickview/previous","onPreviousQuickview"]]]]],["p-c35fb052",[[1,"atomic-ipx-refine-toggle",{"collapseFacetsAfter":[514,"collapse-facets-after"],"error":[32],"breadcrumbManagerState":[32],"searchStatusState":[32]}]]],["p-444bff80",[[1,"atomic-quickview",{"sandbox":[1],"error":[32],"quickviewState":[32]},[[16,"atomic/quickview/next","onNextQuickview"],[16,"atomic/quickview/previous","onPreviousQuickview"]]]]],["p-8b6aaeed",[[1,"atomic-search-box",{"numberOfQueries":[514,"number-of-queries"],"redirectionUrl":[513,"redirection-url"],"suggestionTimeout":[2,"suggestion-timeout"],"suggestionDelay":[2,"suggestion-delay"],"disableSearch":[516,"disable-search"],"minimumQueryLength":[514,"minimum-query-length"],"clearFilters":[516,"clear-filters"],"enableQuerySyntax":[516,"enable-query-syntax"],"searchBoxState":[32],"error":[32],"isExpanded":[32]},[[0,"atomic/searchBoxSuggestion/register","registerSuggestions"]],{"redirectionUrl":["watchRedirectionUrl"]}]]],["p-ce7cdbc7",[[1,"atomic-search-interface",{"fieldsToInclude":[1025,"fields-to-include"],"pipeline":[1537],"searchHub":[1537,"search-hub"],"analytics":[516],"timezone":[513],"logLevel":[513,"log-level"],"i18n":[16],"language":[513],"engine":[1040],"reflectStateInUrl":[516,"reflect-state-in-url"],"scrollContainer":[513,"scroll-container"],"languageAssetsPath":[513,"language-assets-path"],"iconAssetsPath":[513,"icon-assets-path"],"enableRelevanceInspector":[516,"enable-relevance-inspector"],"CspNonce":[513,"csp-nonce"],"error":[32],"relevanceInspectorIsOpen":[32],"initialize":[64],"initializeWithSearchEngine":[64],"executeFirstSearch":[64]},[[0,"atomic/initializeComponent","handleInitialization"],[0,"atomic/scrollToTop","scrollToTop"],[0,"atomic/relevanceInspector/close","closeRelevanceInspector"]],{"searchHub":["updateSearchHub"],"pipeline":["updatePipeline"],"analytics":["toggleAnalytics"],"language":["updateLanguage"],"iconAssetsPath":["updateIconAssetsPath"]}]]],["p-8044bbe4",[[1,"atomic-tab-manager",{"clearFiltersOnTabChange":[4,"clear-filters-on-tab-change"],"tabManagerState":[32],"error":[32]}]]],["p-579c5b46",[[1,"atomic-generated-answer-feedback-modal",{"isOpen":[1540,"is-open"],"generatedAnswer":[1040],"helpful":[1540],"error":[32],"currentAnswer":[32],"feedbackSubmitted":[32],"answerEvaluationRequired":[32]},null,{"isOpen":["watchToggleOpen"]}]]],["p-d5d1c5c0",[[4,"atomic-insight-tabs",{"error":[32]}]]],["p-11b9e476",[[4,"atomic-ipx-result-link",{"hrefTemplate":[513,"href-template"]}]]],["p-731b7ad8",[[4,"atomic-ipx-tabs",{"error":[32]}]]],["p-e9dd6d4f",[[1,"atomic-result-badge",{"field":[513],"label":[513],"icon":[513]}]]],["p-6a33b860",[[4,"atomic-result-link",{"hrefTemplate":[513,"href-template"]}]]],["p-efca37de",[[0,"atomic-result-printable-uri",{"maxNumberOfParts":[514,"max-number-of-parts"],"listExpanded":[32],"error":[32]}]]],["p-5afe99b1",[[1,"atomic-insight-numeric-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"numberOfValues":[514,"number-of-values"],"withInput":[513,"with-input"],"sortCriteria":[513,"sort-criteria"],"rangeAlgorithm":[513,"range-algorithm"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"filterState":[32],"searchStatusState":[32],"error":[32],"facetForInputState":[32]},[[0,"atomic/numberFormat","setFormat"],[0,"atomic/numberInputApply","applyNumberInput"]]]]],["p-31d3304c",[[1,"atomic-insight-search-box",{"disableSearch":[516,"disable-search"],"numberOfSuggestions":[514,"number-of-suggestions"],"searchBoxState":[32],"error":[32],"isExpanded":[32]}]]],["p-09a5ef74",[[1,"atomic-ipx-embedded",{"container":[1040],"error":[32],"hasFooterSlotElements":[32]}]]],["p-882a99f5",[[1,"atomic-ipx-modal",{"source":[1040],"container":[1040],"isOpen":[1540,"is-open"],"error":[32],"hasFooterSlotElements":[32]},[[0,"touchmove","onWindowTouchMove"]],{"isOpen":["watchToggleOpen"]}]]],["p-9a72f043",[[1,"atomic-numeric-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withInput":[513,"with-input"],"sortCriteria":[513,"sort-criteria"],"rangeAlgorithm":[513,"range-algorithm"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"filterState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32],"facetForInputState":[32]},[[0,"atomic/numberFormat","setFormat"],[0,"atomic/numberInputApply","applyNumberInput"]]]]],["p-48c8a766",[[1,"atomic-popover",{"searchStatusState":[32],"facetState":[32],"error":[32],"isOpen":[32],"childFacet":[32]},[[0,"atomic/initializePopover","initializePopover"],[0,"keydown","handleKeyDown"]]]]],["p-ce974d50",[[0,"atomic-result-html",{"field":[513],"sanitize":[516],"error":[32]}]]],["p-d5071b5a",[[1,"atomic-search-box-instant-results",{"maxResultsPerQuery":[514,"max-results-per-query"],"density":[513],"imageSize":[513,"image-size"],"ariaLabelGenerator":[16],"error":[32],"templateHasError":[32],"setRenderFunction":[64]}]]],["p-4aeb5e8f",[[1,"atomic-breadbox",{"pathLimit":[2,"path-limit"],"breadcrumbManagerState":[32],"facetManagerState":[32],"error":[32],"isCollapsed":[32]}]]],["p-2a7ac870",[[1,"atomic-category-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withSearch":[516,"with-search"],"sortCriteria":[513,"sort-criteria"],"delimitingCharacter":[513,"delimiting-character"],"basePath":[1537,"base-path"],"filterByBasePath":[516,"filter-by-base-path"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-e27e1e46",[[0,"atomic-citation",{"citation":[16],"index":[2],"sendHoverEndEvent":[16],"interactiveCitation":[16],"disableCitationAnchoring":[4,"disable-citation-anchoring"],"isOpen":[32]},null,{"isOpen":["sendHoverAnalytics"]}]]],["p-a2b3dfd0",[[1,"atomic-color-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withSearch":[516,"with-search"],"sortCriteria":[513,"sort-criteria"],"resultsMustMatch":[513,"results-must-match"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"allowedValues":[1025,"allowed-values"],"customSort":[1025,"custom-sort"],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-e5a5b612",[[1,"atomic-did-you-mean",{"automaticallyCorrectQuery":[516,"automatically-correct-query"],"queryCorrectionMode":[513,"query-correction-mode"],"didYouMeanState":[32],"queryTriggerState":[32],"error":[32]},null,{"queryCorrectionMode":["updateQueryCorrectionMode"]}]]],["p-47002021",[[0,"atomic-external",{"selector":[513],"boundInterface":[1040]},[[0,"atomic/initializeComponent","handleInitialization"],[0,"atomic/scrollToTop","handleScrollToTop"],[8,"atomic/parentReady","handleParentReady"]]]]],["p-fb26a29f",[[1,"atomic-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withSearch":[516,"with-search"],"sortCriteria":[513,"sort-criteria"],"resultsMustMatch":[513,"results-must-match"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"enableExclusion":[516,"enable-exclusion"],"injectionDepth":[2,"injection-depth"],"dependsOn":[16],"allowedValues":[1025,"allowed-values"],"customSort":[1025,"custom-sort"],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-27064d6e",[[4,"atomic-facet-manager",{"collapseFacetsAfter":[514,"collapse-facets-after"],"facetManagerState":[32],"error":[32]}]]],["p-52df8126",[[4,"atomic-field-condition",{"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16]}]]],["p-52121e1e",[[1,"atomic-format-currency",{"currency":[513],"error":[32]}]]],["p-b0bd2709",[[1,"atomic-format-number",{"minimumIntegerDigits":[514,"minimum-integer-digits"],"minimumFractionDigits":[514,"minimum-fraction-digits"],"maximumFractionDigits":[514,"maximum-fraction-digits"],"minimumSignificantDigits":[514,"minimum-significant-digits"],"maximumSignificantDigits":[514,"maximum-significant-digits"],"error":[32]}]]],["p-633628d5",[[1,"atomic-format-unit",{"unit":[513],"unitDisplay":[513,"unit-display"],"error":[32]}]]],["p-bbdbf7c5",[[1,"atomic-generated-answer",{"withToggle":[4,"with-toggle"],"collapsible":[4],"maxCollapsedHeight":[2,"max-collapsed-height"],"answerConfigurationId":[1,"answer-configuration-id"],"fieldsToIncludeInCitations":[1,"fields-to-include-in-citations"],"disableCitationAnchoring":[4,"disable-citation-anchoring"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"generatedAnswerState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32],"copied":[32],"copyError":[32]},null,{"generatedAnswerState":["updateAnswerCollapsed"],"tabManagerState":["watchTabManagerState"]}]]],["p-6497543c",[[1,"atomic-insight-edit-toggle",{"clickCallback":[1040],"tooltip":[1025]}]]],["p-617090d1",[[1,"atomic-insight-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"numberOfValues":[514,"number-of-values"],"sortCriteria":[513,"sort-criteria"],"resultsMustMatch":[513,"results-must-match"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[2,"injection-depth"],"enableExclusion":[516,"enable-exclusion"],"facetState":[32],"searchStatusState":[32],"error":[32]}]]],["p-66dd8761",[[1,"atomic-insight-full-search-button",{"tooltip":[1025],"error":[32]}]]],["p-b79a7896",[[1,"atomic-insight-generated-answer",{"withToggle":[4,"with-toggle"],"collapsible":[4],"maxCollapsedHeight":[2,"max-collapsed-height"],"answerConfigurationId":[1,"answer-configuration-id"],"fieldsToIncludeInCitations":[1,"fields-to-include-in-citations"],"disableCitationAnchoring":[4,"disable-citation-anchoring"],"generatedAnswerState":[32],"searchStatusState":[32],"error":[32],"copied":[32],"copyError":[32]},null,{"generatedAnswerState":["updateAnswerCollapsed"]}]]],["p-a1924914",[[1,"atomic-insight-history-toggle",{"clickCallback":[1040],"tooltip":[1025]}]]],["p-cfb12696",[[1,"atomic-insight-interface",{"engine":[1040],"analytics":[516],"i18n":[16],"logLevel":[513,"log-level"],"language":[513],"languageAssetsPath":[513,"language-assets-path"],"iconAssetsPath":[513,"icon-assets-path"],"fieldsToInclude":[1025,"fields-to-include"],"resultsPerPage":[514,"results-per-page"],"CspNonce":[513,"csp-nonce"],"error":[32],"initialize":[64],"initializeWithInsightEngine":[64],"executeFirstSearch":[64]},[[0,"atomic/initializeComponent","handleInitialization"]],{"iconAssetsPath":["updateIconAssetsPath"],"language":["updateLanguage"],"analytics":["toggleAnalytics"]}]]],["p-6ad9e0c8",[[0,"atomic-insight-layout",{"widget":[1540]},null,{"widget":["updateStyles"]}]]],["p-5c813055",[[1,"atomic-insight-no-results",{"searchStatusState":[32],"querySummaryState":[32],"error":[32]}]]],["p-22ef68f4",[[1,"atomic-insight-pager",{"numberOfPages":[514,"number-of-pages"],"pagerState":[32],"searchStatusState":[32],"error":[32]}]]],["p-b6c5584a",[[1,"atomic-insight-query-error",{"queryErrorState":[32],"error":[32],"showMoreInfo":[32]}]]],["p-31aa63b8",[[1,"atomic-insight-query-summary",{"querySummaryState":[32],"error":[32]}]]],["p-742bd3cb",[[0,"atomic-insight-result-action",{"icon":[1025],"tooltip":[1025],"tooltipOnClick":[1025,"tooltip-on-click"],"action":[1025],"error":[32]}]]],["p-352e8c42",[[0,"atomic-insight-result-action-bar"]]],["p-c3004f08",[[0,"atomic-insight-result-attach-to-case-action",{"error":[32],"attachToCaseState":[32]}]]],["p-5db0ffd7",[[0,"atomic-insight-result-attach-to-case-indicator",{"error":[32],"attachToCaseState":[32]}]]],["p-4c9498de",[[1,"atomic-insight-result-children-template",{"conditions":[16],"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-ef0e6888",[[1,"atomic-insight-result-template",{"conditions":[16],"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-53070229",[[1,"atomic-insight-tab",{"label":[513],"active":[1540],"expression":[1],"error":[32],"isAppLoaded":[32],"tabState":[32],"select":[64]}]]],["p-64c9a9ef",[[1,"atomic-insight-timeframe-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"withDatePicker":[516,"with-date-picker"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"sortCriteria":[513,"sort-criteria"],"facetState":[32],"facetForDatePickerState":[32],"filterState":[32],"searchStatusState":[32],"error":[32]},[[0,"atomic/dateInputApply","applyDateInput"]]]]],["p-2b76b255",[[1,"atomic-ipx-button",{"label":[513],"closeIcon":[513,"close-icon"],"openIcon":[513,"open-icon"],"isModalOpen":[1540,"is-modal-open"],"error":[32]}]]],["p-512143ef",[[1,"atomic-ipx-tab",{"label":[513],"active":[1540],"expression":[1],"error":[32],"isAppLoaded":[32],"tabState":[32],"select":[64]}]]],["p-c727cd49",[[1,"atomic-load-more-results",{"querySummaryState":[32],"resultListState":[32],"error":[32],"isAppLoaded":[32]}]]],["p-e392095a",[[1,"atomic-no-results",{"enableCancelLastAction":[516,"enable-cancel-last-action"],"searchStatusState":[32],"historyState":[32],"querySummaryState":[32],"error":[32]}]]],["p-5ed976df",[[1,"atomic-notifications",{"headingLevel":[514,"heading-level"],"icon":[513],"notifyTriggerState":[32],"error":[32]}]]],["p-c4046d57",[[0,"atomic-numeric-range",{"label":[513],"start":[514],"end":[514],"endInclusive":[516,"end-inclusive"]}]]],["p-8b80d576",[[1,"atomic-pager",{"numberOfPages":[514,"number-of-pages"],"previousButtonIcon":[513,"previous-button-icon"],"nextButtonIcon":[513,"next-button-icon"],"pagerState":[32],"searchStatusState":[32],"error":[32],"isAppLoaded":[32]}]]],["p-d172edcc",[[1,"atomic-query-error",{"queryErrorState":[32],"error":[32],"showMoreInfo":[32]}]]],["p-113cc160",[[1,"atomic-query-summary",{"querySummaryState":[32],"error":[32]}]]],["p-cd39ba3c",[[1,"atomic-rating-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfIntervals":[514,"number-of-intervals"],"maxValueInIndex":[514,"max-value-in-index"],"minValueInIndex":[514,"min-value-in-index"],"displayValuesAs":[513,"display-values-as"],"icon":[513],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-83f46502",[[1,"atomic-rating-range-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfIntervals":[514,"number-of-intervals"],"maxValueInIndex":[514,"max-value-in-index"],"minValueInIndex":[514,"min-value-in-index"],"icon":[513],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-1e21a920",[[1,"atomic-recs-error",{"recommendationListState":[32],"error":[32],"showMoreInfo":[32]}]]],["p-75962f6a",[[1,"atomic-recs-interface",{"pipeline":[1537],"searchHub":[1537,"search-hub"],"timezone":[513],"engine":[1040],"analytics":[516],"i18n":[16],"logLevel":[513,"log-level"],"language":[513],"fieldsToInclude":[1025,"fields-to-include"],"languageAssetsPath":[513,"language-assets-path"],"iconAssetsPath":[513,"icon-assets-path"],"CspNonce":[513,"csp-nonce"],"error":[32],"initialize":[64],"initializeWithRecommendationEngine":[64],"getRecommendations":[64]},[[0,"atomic/initializeComponent","handleInitialization"]],{"iconAssetsPath":["updateIconAssetsPath"],"language":["updateLanguage"],"analytics":["toggleAnalytics"]}]]],["p-6dce5603",[[1,"atomic-recs-result-template",{"conditions":[16],"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-a897e7f1",[[1,"atomic-result-children-template",{"conditions":[16],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-3ca9ced1",[[0,"atomic-result-date",{"field":[513],"format":[513],"relativeTime":[516,"relative-time"],"error":[32]}]]],["p-2f668825",[[0,"atomic-result-fields-list"]]],["p-10e8d6e9",[[1,"atomic-result-icon"]]],["p-7814e1ed",[[0,"atomic-result-image",{"field":[513],"imageAltField":[513,"image-alt-field"],"fallback":[513],"useFallback":[32]}]]],["p-0839dd37",[[0,"atomic-result-localized-text",{"localeKey":[1,"locale-key"],"field":[16],"fieldCount":[1,"field-count"],"error":[32]}]]],["p-5a140589",[[1,"atomic-result-multi-value-text",{"field":[513],"maxValuesToDisplay":[514,"max-values-to-display"],"delimiter":[513],"error":[32]}]]],["p-ffedf24d",[[0,"atomic-result-number",{"field":[513],"error":[32],"formatter":[32],"valueToDisplay":[32]},[[0,"atomic/numberFormat","setFormat"]]]]],["p-dcb930e7",[[1,"atomic-result-rating",{"field":[513],"maxValueInIndex":[514,"max-value-in-index"],"icon":[513],"error":[32],"numberOfStars":[32]}]]],["p-26d0a8d6",[[0,"atomic-result-section-children"]]],["p-d61e65c5",[[0,"atomic-result-section-emphasized"]]],["p-4fe614d1",[[0,"atomic-result-section-title-metadata"]]],["p-53b5eec1",[[1,"atomic-result-template",{"conditions":[16],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-24cae323",[[0,"atomic-result-timespan",{"field":[513],"unit":[513],"format":[513],"error":[32]}]]],["p-b5fe644f",[[0,"atomic-search-layout",{"mobileBreakpoint":[513,"mobile-breakpoint"]}]]],["p-d1e45cc0",[[1,"atomic-segmented-facet",{"facetId":[1537,"facet-id"],"field":[513],"label":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[2,"injection-depth"],"numberOfValues":[514,"number-of-values"],"sortCriteria":[513,"sort-criteria"],"dependsOn":[16],"allowedValues":[1025,"allowed-values"],"customSort":[1025,"custom-sort"],"searchStatusState":[32],"tabManagerState":[32],"facetState":[32],"error":[32]}]]],["p-8c80991f",[[1,"atomic-segmented-facet-scrollable",{"searchStatusState":[32],"error":[32],"hideLeftArrow":[32],"hideRightArrow":[32]},[[1,"wheel","handleScroll"],[1,"touchmove","handleScroll"],[0,"keydown","handleScroll"]]]]],["p-ac8941e8",[[1,"atomic-sort-dropdown",{"sortState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-308c3a88",[[0,"atomic-sort-expression",{"label":[513],"expression":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"]}]]],["p-995b31cf",[[0,"atomic-stencil-facet-date-input",{"bindings":[16],"rangeGetter":[16],"rangeSetter":[16],"facetId":[1,"facet-id"],"label":[1],"min":[1],"max":[1],"start":[32],"end":[32]}]]],["p-56adc7d8",[[0,"atomic-tab",{"label":[1],"name":[1],"expression":[1]}]]],["p-5f6cf383",[[0,"atomic-table-element",{"label":[513]}]]],["p-ba52e9f3",[[0,"atomic-timeframe",{"period":[513],"unit":[513],"amount":[514],"label":[513]}]]],["p-412e9a6d",[[1,"atomic-timeframe-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"withDatePicker":[516,"with-date-picker"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"min":[513],"max":[513],"sortCriteria":[513,"sort-criteria"],"facetState":[32],"facetForDatePickerState":[32],"filterState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]},[[0,"atomic/dateInputApply","applyDateInput"]]]]],["p-2d1d5cd9",[[1,"atomic-insight-user-actions-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"userId":[1,"user-id"],"ticketCreationDateTime":[1,"ticket-creation-date-time"],"excludedCustomActions":[16],"error":[32],"interfaceDimensions":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-2fd28743",[[0,"atomic-automatic-facet-generator",{"desiredCount":[514,"desired-count"],"numberOfValues":[514,"number-of-values"],"error":[32],"automaticFacetGeneratorState":[32],"searchStatusState":[32],"collapseFacetsAfter":[32],"updateCollapseFacetsDependingOnFacetsVisibility":[64]}],[1,"atomic-automatic-facet",{"field":[513],"facetId":[513,"facet-id"],"facet":[16],"searchStatus":[16],"isCollapsed":[1540,"is-collapsed"],"error":[32]}]]],["p-4eb5bc54",[[1,"atomic-refine-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"collapseFacetsAfter":[514,"collapse-facets-after"],"querySummaryState":[32],"breadcrumbManagerState":[32],"facetManagerState":[32],"sortState":[32],"tabManagerState":[32],"error":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-4dd88abc",[[1,"atomic-insight-refine-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"querySummaryState":[32],"breadcrumbManagerState":[32],"error":[32],"interfaceDimensions":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-77ae34ce",[[1,"atomic-insight-smart-snippet-feedback-modal",{"source":[1040],"isOpen":[1540,"is-open"],"error":[32],"currentAnswer":[32]},null,{"isOpen":["watchToggleOpen"]}]]],["p-f5f8990e",[[1,"atomic-ipx-refine-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"collapseFacetsAfter":[514,"collapse-facets-after"],"querySummaryState":[32],"breadcrumbManagerState":[32],"error":[32],"interfaceDimensions":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-009525f1",[[1,"atomic-relevance-inspector",{"bindings":[16],"open":[516]}]]],["p-f2bae47c",[[1,"atomic-smart-snippet-feedback-modal",{"source":[1040],"isOpen":[1540,"is-open"],"error":[32],"currentAnswer":[32]},null,{"isOpen":["watchToggleOpen"]}]]],["p-d5628c4c",[[1,"atomic-html",{"value":[1],"sanitize":[516],"error":[32]}]]],["p-6adbdb0f",[[0,"atomic-tab-button",{"label":[1],"active":[4],"select":[16]}]]],["p-8bba9f56",[[1,"atomic-quickview-modal",{"content":[1025],"result":[1040],"current":[2],"total":[2],"sandbox":[1],"modalCloseCallback":[16],"error":[32],"highlightKeywords":[32],"minimizeSidebar":[32],"words":[32],"reset":[64]},null,{"highlightKeywords":["watchHighlightKeywords"]}]]],["p-bfdecd0f",[[1,"atomic-search-box-query-suggestions",{"icon":[1],"maxWithQuery":[514,"max-with-query"],"maxWithoutQuery":[514,"max-without-query"],"error":[32]}],[1,"atomic-search-box-recent-queries",{"icon":[1],"maxWithQuery":[514,"max-with-query"],"maxWithoutQuery":[514,"max-without-query"],"error":[32]}]]],["p-05ab5909",[[0,"atomic-facet-number-input",{"bindings":[16],"type":[1],"filter":[16],"filterState":[16],"label":[1],"start":[32],"end":[32]}]]],["p-09934c1e",[[1,"atomic-ipx-body",{"isOpen":[1028,"is-open"],"displayFooterSlot":[516,"display-footer-slot"],"error":[32]}]]],["p-d824c0c2",[[1,"atomic-recs-result",{"stopPropagation":[4,"stop-propagation"],"linkContent":[16],"result":[16],"interactiveResult":[16],"store":[16],"content":[16],"display":[1],"density":[1],"imageSize":[1,"image-size"],"classes":[1],"loadingFlag":[1,"loading-flag"],"renderingFunction":[16]},[[0,"click","handleClick"],[0,"atomic/resolveResult","resolveResult"],[0,"atomic/resolveInteractiveResult","resolveInteractiveResult"],[0,"atomic/resolveStopPropagation","resolveStopPropagation"],[0,"atomic/resolveResultDisplayConfig","resolveResultDisplayConfig"]]]]],["p-516b5bd4",[[0,"atomic-suggestion-renderer",{"i18n":[16],"id":[1],"suggestion":[16],"isSelected":[4,"is-selected"],"side":[1],"index":[2],"lastIndex":[2,"last-index"],"isDoubleList":[4,"is-double-list"],"onClick":[16],"onMouseOver":[16]}]]],["p-100da102",[[1,"atomic-insight-result",{"stopPropagation":[4,"stop-propagation"],"result":[16],"interactiveResult":[16],"store":[16],"content":[16],"density":[1],"imageSize":[1,"image-size"],"classes":[1],"loadingFlag":[1,"loading-flag"]},[[0,"atomic/resolveResult","resolveResult"],[0,"atomic/resolveInteractiveResult","resolveInteractiveResult"],[0,"atomic/resolveStopPropagation","resolveStopPropagation"],[0,"atomic/resolveResultDisplayConfig","resolveResultDisplayConfig"]]]]],["p-1442d3c3",[[1,"atomic-smart-snippet-expandable-answer",{"expanded":[516],"htmlContent":[1,"html-content"],"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"snippetStyle":[1,"snippet-style"],"fullHeight":[32]},null,{"fullHeight":["fullHeightUpdated"]}],[1,"atomic-smart-snippet-collapse-wrapper",{"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"isExpanded":[32],"showButton":[32],"fullHeight":[32]}]]],["p-75851b6c",[[1,"atomic-result",{"stopPropagation":[4,"stop-propagation"],"result":[16],"interactiveResult":[16],"store":[16],"content":[16],"linkContent":[16],"display":[1],"density":[1],"imageSize":[1,"image-size"],"classes":[1],"loadingFlag":[1,"loading-flag"],"renderingFunction":[16]},[[0,"atomic/resolveResult","resolveResult"],[0,"atomic/resolveInteractiveResult","resolveInteractiveResult"],[0,"atomic/resolveStopPropagation","resolveStopPropagation"],[0,"atomic/resolveResultDisplayConfig","resolveResultDisplayConfig"],[0,"click","handleClick"]]]]],["p-a3aaf456",[[1,"atomic-insight-user-actions-timeline",{"userId":[1,"user-id"],"ticketCreationDateTime":[1,"ticket-creation-date-time"],"excludedCustomActions":[16],"userActionsState":[32],"followingSessionsAreVisible":[32],"precedingSessionsAreVisible":[32]}],[1,"atomic-insight-user-actions-session",{"startTimestamp":[2,"start-timestamp"],"userActions":[16],"error":[32],"areActionsAfterCaseCreationVisible":[32]},null,{"userActions":["prepareUserActionsToDisplay"]}]]],["p-eb026d69",[[1,"atomic-tab-bar",{"popoverTabs":[32]},[[0,"atomic/tabRendered","resolveResult"]]],[1,"atomic-tab-popover",{"show":[32],"error":[32],"isOpen":[32],"toggle":[64],"setButtonVisibility":[64],"closePopoverOnFocusOut":[64]},[[0,"keydown","handleKeyDown"]]]]],["p-7056c717",[[0,"atomic-result-text",{"field":[513],"shouldHighlight":[516,"should-highlight"],"default":[513],"error":[32]}],[1,"atomic-text",{"value":[513],"count":[514],"error":[32]}]]],["p-1f4f26ee",[[0,"atomic-smart-snippet-source",{"source":[1040],"anchorAttributes":[16],"error":[32]},[[0,"atomic/resolveResult","resolveResult"]]],[1,"atomic-smart-snippet-answer",{"htmlContent":[1,"html-content"],"innerStyle":[1,"inner-style"]}]]],["p-0167ba21",[[1,"atomic-modal",{"fullscreen":[1540],"source":[1040],"container":[1040],"isOpen":[1540,"is-open"],"close":[1040],"scope":[16],"boundary":[513],"error":[32]},[[16,"keyup","handleCloseOnEscape"],[0,"touchmove","onWindowTouchMove"]],{"isOpen":["watchToggleOpen"]}],[0,"atomic-focus-trap",{"active":[4],"source":[1040],"container":[1040],"shouldHideSelf":[4,"should-hide-self"],"scope":[16]},[[4,"focusin","onFocusChanged"]],{"active":["activeChanged"]}]]],["p-64963829",[[1,"atomic-result-placeholder",{"display":[1],"density":[1],"imageSize":[1,"image-size"]}],[1,"atomic-result-table-placeholder",{"density":[1],"imageSize":[1,"image-size"],"rows":[2]}],[0,"atomic-result-section-actions"],[0,"atomic-result-section-badges"],[0,"atomic-result-section-bottom-metadata"],[0,"atomic-result-section-excerpt"],[0,"atomic-result-section-title"],[0,"atomic-result-section-visual",{"imageSize":[513,"image-size"]}]]]]'),e)}));
|
|
1
|
+
import{p as e,b as t}from"./p-dc3df5ce.js";export{s as setNonce}from"./p-dc3df5ce.js";import{g as a}from"./p-e1255160.js";var i=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};i().then((async e=>{await a();return t(JSON.parse('[["p-8ef7e37a",[[1,"atomic-result-list",{"display":[513],"density":[513],"imageSize":[1537,"image-size"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"resultListState":[32],"resultsPerPageState":[32],"tabManagerState":[32],"resultTemplateRegistered":[32],"error":[32],"isAppLoaded":[32],"templateHasError":[32],"setRenderFunction":[64]},null,{"tabManagerState":["watchTabManagerState"]}]]],["p-a13ee8b3",[[1,"atomic-folded-result-list",{"density":[513],"imageSize":[513,"image-size"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"collectionField":[513,"collection-field"],"parentField":[513,"parent-field"],"childField":[513,"child-field"],"numberOfFoldedResults":[514,"number-of-folded-results"],"foldedResultListState":[32],"resultsPerPageState":[32],"tabManagerState":[32],"resultTemplateRegistered":[32],"error":[32],"templateHasError":[32],"isAppLoaded":[32],"setRenderFunction":[64]},[[0,"atomic/resolveFoldedResultList","resolveFoldedResultList"],[0,"atomic/loadCollection","loadCollection"]],{"tabManagerState":["watchTabManagerState"]}]]],["p-0dc84319",[[1,"atomic-insight-folded-result-list",{"density":[513],"imageSize":[513,"image-size"],"collectionField":[513,"collection-field"],"parentField":[513,"parent-field"],"childField":[513,"child-field"],"foldedResultListState":[32],"resultsPerPageState":[32],"resultTemplateRegistered":[32],"error":[32],"isAppLoaded":[32],"templateHasError":[32],"setRenderFunction":[64]},[[0,"atomic/resolveFoldedResultList","resolveFoldedResultList"],[0,"atomic/loadCollection","loadCollection"]]]]],["p-fbacb7a0",[[1,"atomic-insight-result-children",{"inheritTemplates":[4,"inherit-templates"],"imageSize":[513,"image-size"],"noResultText":[1,"no-result-text"],"error":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"foldedResultListState":[32],"showInitialChildren":[32]},[[0,"atomic/resolveChildTemplates","resolveChildTemplates"]]]]],["p-08d7290a",[[1,"atomic-insight-result-list",{"density":[513],"imageSize":[513,"image-size"],"resultsPerPageState":[32],"resultListState":[32],"templateHasError":[32],"resultTemplateRegistered":[32],"error":[32],"isAppLoaded":[32],"setRenderFunction":[64]}]]],["p-ab55ee64",[[1,"atomic-insight-smart-snippet",{"headingLevel":[514,"heading-level"],"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"snippetStyle":[513,"snippet-style"],"smartSnippetState":[32],"feedbackSent":[32]}]]],["p-3ace419e",[[1,"atomic-ipx-recs-list",{"recommendation":[513],"display":[513],"density":[513],"imageSize":[513,"image-size"],"numberOfRecommendations":[514,"number-of-recommendations"],"numberOfRecommendationsPerPage":[514,"number-of-recommendations-per-page"],"label":[513],"headingLevel":[514,"heading-level"],"error":[32],"isAppLoaded":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"currentPage":[32],"recommendationListState":[32],"setRenderFunction":[64],"previousPage":[64],"nextPage":[64]},null,{"numberOfRecommendationsPerPage":["watchNumberOfRecommendationsPerPage"]}]]],["p-1899894c",[[1,"atomic-recs-list",{"recommendation":[513],"display":[513],"density":[513],"imageSize":[513,"image-size"],"numberOfRecommendations":[514,"number-of-recommendations"],"numberOfRecommendationsPerPage":[514,"number-of-recommendations-per-page"],"label":[513],"headingLevel":[514,"heading-level"],"error":[32],"isAppLoaded":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"currentPage":[32],"recommendationListState":[32],"setRenderFunction":[64],"previousPage":[64],"nextPage":[64]},null,{"numberOfRecommendationsPerPage":["watchNumberOfRecommendationsPerPage"]}]]],["p-c19a9af4",[[1,"atomic-result-children",{"inheritTemplates":[4,"inherit-templates"],"imageSize":[513,"image-size"],"noResultText":[1,"no-result-text"],"error":[32],"resultTemplateRegistered":[32],"templateHasError":[32],"foldedResultListState":[32],"showInitialChildren":[32],"loadedFullCollection":[32]},[[0,"atomic/resolveChildTemplates","resolveChildTemplates"]]]]],["p-e43fe680",[[1,"atomic-smart-snippet",{"headingLevel":[514,"heading-level"],"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"snippetStyle":[513,"snippet-style"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"snippetMaximumHeight":[514,"snippet-maximum-height"],"snippetCollapsedHeight":[514,"snippet-collapsed-height"],"smartSnippetState":[32],"tabManagerState":[32],"feedbackSent":[32]},[[0,"selectInlineLink","onSelectInlineLink"],[0,"beginDelayedSelectInlineLink","onBeginDelayedSelectInlineLink"],[0,"cancelPendingSelectInlineLink","onCancelPendingSelectInlineLink"]]]]],["p-7464f00a",[[1,"atomic-insight-user-actions-toggle",{"userId":[1,"user-id"],"ticketCreationDateTime":[1,"ticket-creation-date-time"],"excludedCustomActions":[16],"userActionsState":[32],"error":[32]}]]],["p-04481727",[[1,"atomic-refine-toggle",{"collapseFacetsAfter":[514,"collapse-facets-after"],"error":[32],"searchStatusState":[32]}]]],["p-ff653000",[[1,"atomic-insight-smart-snippet-suggestions",{"headingLevel":[514,"heading-level"],"snippetStyle":[1,"snippet-style"],"smartSnippetQuestionsListState":[32]}]]],["p-4cda93be",[[1,"atomic-smart-snippet-suggestions",{"headingLevel":[514,"heading-level"],"snippetStyle":[1,"snippet-style"],"smartSnippetQuestionsListState":[32]}]]],["p-db9ca9c3",[[1,"atomic-insight-refine-toggle",{"error":[32],"breadcrumbManagerState":[32],"searchStatusState":[32]}]]],["p-db3dce80",[[0,"atomic-insight-result-quickview-action",{"sandbox":[1],"error":[32],"quickviewState":[32]},[[16,"atomic/quickview/next","onNextQuickview"],[16,"atomic/quickview/previous","onPreviousQuickview"]]]]],["p-c35fb052",[[1,"atomic-ipx-refine-toggle",{"collapseFacetsAfter":[514,"collapse-facets-after"],"error":[32],"breadcrumbManagerState":[32],"searchStatusState":[32]}]]],["p-444bff80",[[1,"atomic-quickview",{"sandbox":[1],"error":[32],"quickviewState":[32]},[[16,"atomic/quickview/next","onNextQuickview"],[16,"atomic/quickview/previous","onPreviousQuickview"]]]]],["p-8b6aaeed",[[1,"atomic-search-box",{"numberOfQueries":[514,"number-of-queries"],"redirectionUrl":[513,"redirection-url"],"suggestionTimeout":[2,"suggestion-timeout"],"suggestionDelay":[2,"suggestion-delay"],"disableSearch":[516,"disable-search"],"minimumQueryLength":[514,"minimum-query-length"],"clearFilters":[516,"clear-filters"],"enableQuerySyntax":[516,"enable-query-syntax"],"searchBoxState":[32],"error":[32],"isExpanded":[32]},[[0,"atomic/searchBoxSuggestion/register","registerSuggestions"]],{"redirectionUrl":["watchRedirectionUrl"]}]]],["p-d2201e8a",[[1,"atomic-search-interface",{"fieldsToInclude":[1025,"fields-to-include"],"pipeline":[1537],"searchHub":[1537,"search-hub"],"analytics":[516],"timezone":[513],"logLevel":[513,"log-level"],"i18n":[16],"language":[513],"engine":[1040],"reflectStateInUrl":[516,"reflect-state-in-url"],"scrollContainer":[513,"scroll-container"],"languageAssetsPath":[513,"language-assets-path"],"iconAssetsPath":[513,"icon-assets-path"],"enableRelevanceInspector":[516,"enable-relevance-inspector"],"CspNonce":[513,"csp-nonce"],"error":[32],"relevanceInspectorIsOpen":[32],"initialize":[64],"initializeWithSearchEngine":[64],"executeFirstSearch":[64]},[[0,"atomic/initializeComponent","handleInitialization"],[0,"atomic/scrollToTop","scrollToTop"],[0,"atomic/relevanceInspector/close","closeRelevanceInspector"]],{"searchHub":["updateSearchHub"],"pipeline":["updatePipeline"],"analytics":["toggleAnalytics"],"language":["updateLanguage"],"iconAssetsPath":["updateIconAssetsPath"]}]]],["p-8044bbe4",[[1,"atomic-tab-manager",{"clearFiltersOnTabChange":[4,"clear-filters-on-tab-change"],"tabManagerState":[32],"error":[32]}]]],["p-579c5b46",[[1,"atomic-generated-answer-feedback-modal",{"isOpen":[1540,"is-open"],"generatedAnswer":[1040],"helpful":[1540],"error":[32],"currentAnswer":[32],"feedbackSubmitted":[32],"answerEvaluationRequired":[32]},null,{"isOpen":["watchToggleOpen"]}]]],["p-d5d1c5c0",[[4,"atomic-insight-tabs",{"error":[32]}]]],["p-d3e1a9aa",[[4,"atomic-ipx-result-link",{"hrefTemplate":[513,"href-template"]}]]],["p-731b7ad8",[[4,"atomic-ipx-tabs",{"error":[32]}]]],["p-e9dd6d4f",[[1,"atomic-result-badge",{"field":[513],"label":[513],"icon":[513]}]]],["p-dc89e560",[[4,"atomic-result-link",{"hrefTemplate":[513,"href-template"]}]]],["p-a6be5ee3",[[0,"atomic-result-printable-uri",{"maxNumberOfParts":[514,"max-number-of-parts"],"listExpanded":[32],"error":[32]}]]],["p-5afe99b1",[[1,"atomic-insight-numeric-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"numberOfValues":[514,"number-of-values"],"withInput":[513,"with-input"],"sortCriteria":[513,"sort-criteria"],"rangeAlgorithm":[513,"range-algorithm"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"filterState":[32],"searchStatusState":[32],"error":[32],"facetForInputState":[32]},[[0,"atomic/numberFormat","setFormat"],[0,"atomic/numberInputApply","applyNumberInput"]]]]],["p-31d3304c",[[1,"atomic-insight-search-box",{"disableSearch":[516,"disable-search"],"numberOfSuggestions":[514,"number-of-suggestions"],"searchBoxState":[32],"error":[32],"isExpanded":[32]}]]],["p-09a5ef74",[[1,"atomic-ipx-embedded",{"container":[1040],"error":[32],"hasFooterSlotElements":[32]}]]],["p-882a99f5",[[1,"atomic-ipx-modal",{"source":[1040],"container":[1040],"isOpen":[1540,"is-open"],"error":[32],"hasFooterSlotElements":[32]},[[0,"touchmove","onWindowTouchMove"]],{"isOpen":["watchToggleOpen"]}]]],["p-9a72f043",[[1,"atomic-numeric-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withInput":[513,"with-input"],"sortCriteria":[513,"sort-criteria"],"rangeAlgorithm":[513,"range-algorithm"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"filterState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32],"facetForInputState":[32]},[[0,"atomic/numberFormat","setFormat"],[0,"atomic/numberInputApply","applyNumberInput"]]]]],["p-48c8a766",[[1,"atomic-popover",{"searchStatusState":[32],"facetState":[32],"error":[32],"isOpen":[32],"childFacet":[32]},[[0,"atomic/initializePopover","initializePopover"],[0,"keydown","handleKeyDown"]]]]],["p-ce974d50",[[0,"atomic-result-html",{"field":[513],"sanitize":[516],"error":[32]}]]],["p-d5071b5a",[[1,"atomic-search-box-instant-results",{"maxResultsPerQuery":[514,"max-results-per-query"],"density":[513],"imageSize":[513,"image-size"],"ariaLabelGenerator":[16],"error":[32],"templateHasError":[32],"setRenderFunction":[64]}]]],["p-4aeb5e8f",[[1,"atomic-breadbox",{"pathLimit":[2,"path-limit"],"breadcrumbManagerState":[32],"facetManagerState":[32],"error":[32],"isCollapsed":[32]}]]],["p-2a7ac870",[[1,"atomic-category-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withSearch":[516,"with-search"],"sortCriteria":[513,"sort-criteria"],"delimitingCharacter":[513,"delimiting-character"],"basePath":[1537,"base-path"],"filterByBasePath":[516,"filter-by-base-path"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-e27e1e46",[[0,"atomic-citation",{"citation":[16],"index":[2],"sendHoverEndEvent":[16],"interactiveCitation":[16],"disableCitationAnchoring":[4,"disable-citation-anchoring"],"isOpen":[32]},null,{"isOpen":["sendHoverAnalytics"]}]]],["p-a2b3dfd0",[[1,"atomic-color-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withSearch":[516,"with-search"],"sortCriteria":[513,"sort-criteria"],"resultsMustMatch":[513,"results-must-match"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"allowedValues":[1025,"allowed-values"],"customSort":[1025,"custom-sort"],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-e5a5b612",[[1,"atomic-did-you-mean",{"automaticallyCorrectQuery":[516,"automatically-correct-query"],"queryCorrectionMode":[513,"query-correction-mode"],"didYouMeanState":[32],"queryTriggerState":[32],"error":[32]},null,{"queryCorrectionMode":["updateQueryCorrectionMode"]}]]],["p-47002021",[[0,"atomic-external",{"selector":[513],"boundInterface":[1040]},[[0,"atomic/initializeComponent","handleInitialization"],[0,"atomic/scrollToTop","handleScrollToTop"],[8,"atomic/parentReady","handleParentReady"]]]]],["p-fb26a29f",[[1,"atomic-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfValues":[514,"number-of-values"],"withSearch":[516,"with-search"],"sortCriteria":[513,"sort-criteria"],"resultsMustMatch":[513,"results-must-match"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"enableExclusion":[516,"enable-exclusion"],"injectionDepth":[2,"injection-depth"],"dependsOn":[16],"allowedValues":[1025,"allowed-values"],"customSort":[1025,"custom-sort"],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-27064d6e",[[4,"atomic-facet-manager",{"collapseFacetsAfter":[514,"collapse-facets-after"],"facetManagerState":[32],"error":[32]}]]],["p-52df8126",[[4,"atomic-field-condition",{"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16]}]]],["p-52121e1e",[[1,"atomic-format-currency",{"currency":[513],"error":[32]}]]],["p-b0bd2709",[[1,"atomic-format-number",{"minimumIntegerDigits":[514,"minimum-integer-digits"],"minimumFractionDigits":[514,"minimum-fraction-digits"],"maximumFractionDigits":[514,"maximum-fraction-digits"],"minimumSignificantDigits":[514,"minimum-significant-digits"],"maximumSignificantDigits":[514,"maximum-significant-digits"],"error":[32]}]]],["p-633628d5",[[1,"atomic-format-unit",{"unit":[513],"unitDisplay":[513,"unit-display"],"error":[32]}]]],["p-0c076058",[[1,"atomic-generated-answer",{"withToggle":[4,"with-toggle"],"collapsible":[4],"maxCollapsedHeight":[2,"max-collapsed-height"],"answerConfigurationId":[1,"answer-configuration-id"],"fieldsToIncludeInCitations":[1,"fields-to-include-in-citations"],"disableCitationAnchoring":[4,"disable-citation-anchoring"],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"generatedAnswerState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32],"copied":[32],"copyError":[32]},null,{"generatedAnswerState":["updateAnswerCollapsed"],"tabManagerState":["watchTabManagerState"]}]]],["p-6497543c",[[1,"atomic-insight-edit-toggle",{"clickCallback":[1040],"tooltip":[1025]}]]],["p-617090d1",[[1,"atomic-insight-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"numberOfValues":[514,"number-of-values"],"sortCriteria":[513,"sort-criteria"],"resultsMustMatch":[513,"results-must-match"],"displayValuesAs":[513,"display-values-as"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[2,"injection-depth"],"enableExclusion":[516,"enable-exclusion"],"facetState":[32],"searchStatusState":[32],"error":[32]}]]],["p-66dd8761",[[1,"atomic-insight-full-search-button",{"tooltip":[1025],"error":[32]}]]],["p-421850f9",[[1,"atomic-insight-generated-answer",{"withToggle":[4,"with-toggle"],"collapsible":[4],"maxCollapsedHeight":[2,"max-collapsed-height"],"answerConfigurationId":[1,"answer-configuration-id"],"fieldsToIncludeInCitations":[1,"fields-to-include-in-citations"],"disableCitationAnchoring":[4,"disable-citation-anchoring"],"generatedAnswerState":[32],"searchStatusState":[32],"error":[32],"copied":[32],"copyError":[32]},null,{"generatedAnswerState":["updateAnswerCollapsed"]}]]],["p-a1924914",[[1,"atomic-insight-history-toggle",{"clickCallback":[1040],"tooltip":[1025]}]]],["p-c6b4ac09",[[1,"atomic-insight-interface",{"engine":[1040],"analytics":[516],"i18n":[16],"logLevel":[513,"log-level"],"language":[513],"languageAssetsPath":[513,"language-assets-path"],"iconAssetsPath":[513,"icon-assets-path"],"fieldsToInclude":[1025,"fields-to-include"],"resultsPerPage":[514,"results-per-page"],"CspNonce":[513,"csp-nonce"],"error":[32],"initialize":[64],"initializeWithInsightEngine":[64],"executeFirstSearch":[64]},[[0,"atomic/initializeComponent","handleInitialization"]],{"iconAssetsPath":["updateIconAssetsPath"],"language":["updateLanguage"],"analytics":["toggleAnalytics"]}]]],["p-6ad9e0c8",[[0,"atomic-insight-layout",{"widget":[1540]},null,{"widget":["updateStyles"]}]]],["p-5c813055",[[1,"atomic-insight-no-results",{"searchStatusState":[32],"querySummaryState":[32],"error":[32]}]]],["p-22ef68f4",[[1,"atomic-insight-pager",{"numberOfPages":[514,"number-of-pages"],"pagerState":[32],"searchStatusState":[32],"error":[32]}]]],["p-b6c5584a",[[1,"atomic-insight-query-error",{"queryErrorState":[32],"error":[32],"showMoreInfo":[32]}]]],["p-31aa63b8",[[1,"atomic-insight-query-summary",{"querySummaryState":[32],"error":[32]}]]],["p-742bd3cb",[[0,"atomic-insight-result-action",{"icon":[1025],"tooltip":[1025],"tooltipOnClick":[1025,"tooltip-on-click"],"action":[1025],"error":[32]}]]],["p-352e8c42",[[0,"atomic-insight-result-action-bar"]]],["p-c3004f08",[[0,"atomic-insight-result-attach-to-case-action",{"error":[32],"attachToCaseState":[32]}]]],["p-5db0ffd7",[[0,"atomic-insight-result-attach-to-case-indicator",{"error":[32],"attachToCaseState":[32]}]]],["p-4c9498de",[[1,"atomic-insight-result-children-template",{"conditions":[16],"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-ef0e6888",[[1,"atomic-insight-result-template",{"conditions":[16],"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-53070229",[[1,"atomic-insight-tab",{"label":[513],"active":[1540],"expression":[1],"error":[32],"isAppLoaded":[32],"tabState":[32],"select":[64]}]]],["p-64c9a9ef",[[1,"atomic-insight-timeframe-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"withDatePicker":[516,"with-date-picker"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"sortCriteria":[513,"sort-criteria"],"facetState":[32],"facetForDatePickerState":[32],"filterState":[32],"searchStatusState":[32],"error":[32]},[[0,"atomic/dateInputApply","applyDateInput"]]]]],["p-2b76b255",[[1,"atomic-ipx-button",{"label":[513],"closeIcon":[513,"close-icon"],"openIcon":[513,"open-icon"],"isModalOpen":[1540,"is-modal-open"],"error":[32]}]]],["p-512143ef",[[1,"atomic-ipx-tab",{"label":[513],"active":[1540],"expression":[1],"error":[32],"isAppLoaded":[32],"tabState":[32],"select":[64]}]]],["p-c727cd49",[[1,"atomic-load-more-results",{"querySummaryState":[32],"resultListState":[32],"error":[32],"isAppLoaded":[32]}]]],["p-e392095a",[[1,"atomic-no-results",{"enableCancelLastAction":[516,"enable-cancel-last-action"],"searchStatusState":[32],"historyState":[32],"querySummaryState":[32],"error":[32]}]]],["p-5ed976df",[[1,"atomic-notifications",{"headingLevel":[514,"heading-level"],"icon":[513],"notifyTriggerState":[32],"error":[32]}]]],["p-c4046d57",[[0,"atomic-numeric-range",{"label":[513],"start":[514],"end":[514],"endInclusive":[516,"end-inclusive"]}]]],["p-8b80d576",[[1,"atomic-pager",{"numberOfPages":[514,"number-of-pages"],"previousButtonIcon":[513,"previous-button-icon"],"nextButtonIcon":[513,"next-button-icon"],"pagerState":[32],"searchStatusState":[32],"error":[32],"isAppLoaded":[32]}]]],["p-d172edcc",[[1,"atomic-query-error",{"queryErrorState":[32],"error":[32],"showMoreInfo":[32]}]]],["p-113cc160",[[1,"atomic-query-summary",{"querySummaryState":[32],"error":[32]}]]],["p-cd39ba3c",[[1,"atomic-rating-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfIntervals":[514,"number-of-intervals"],"maxValueInIndex":[514,"max-value-in-index"],"minValueInIndex":[514,"min-value-in-index"],"displayValuesAs":[513,"display-values-as"],"icon":[513],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-83f46502",[[1,"atomic-rating-range-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"numberOfIntervals":[514,"number-of-intervals"],"maxValueInIndex":[514,"max-value-in-index"],"minValueInIndex":[514,"min-value-in-index"],"icon":[513],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"facetState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-1e21a920",[[1,"atomic-recs-error",{"recommendationListState":[32],"error":[32],"showMoreInfo":[32]}]]],["p-8d408215",[[1,"atomic-recs-interface",{"pipeline":[1537],"searchHub":[1537,"search-hub"],"timezone":[513],"engine":[1040],"analytics":[516],"i18n":[16],"logLevel":[513,"log-level"],"language":[513],"fieldsToInclude":[1025,"fields-to-include"],"languageAssetsPath":[513,"language-assets-path"],"iconAssetsPath":[513,"icon-assets-path"],"CspNonce":[513,"csp-nonce"],"error":[32],"initialize":[64],"initializeWithRecommendationEngine":[64],"getRecommendations":[64]},[[0,"atomic/initializeComponent","handleInitialization"]],{"iconAssetsPath":["updateIconAssetsPath"],"language":["updateLanguage"],"analytics":["toggleAnalytics"]}]]],["p-6dce5603",[[1,"atomic-recs-result-template",{"conditions":[16],"ifDefined":[513,"if-defined"],"ifNotDefined":[513,"if-not-defined"],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-a897e7f1",[[1,"atomic-result-children-template",{"conditions":[16],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-3ca9ced1",[[0,"atomic-result-date",{"field":[513],"format":[513],"relativeTime":[516,"relative-time"],"error":[32]}]]],["p-2f668825",[[0,"atomic-result-fields-list"]]],["p-10e8d6e9",[[1,"atomic-result-icon"]]],["p-7814e1ed",[[0,"atomic-result-image",{"field":[513],"imageAltField":[513,"image-alt-field"],"fallback":[513],"useFallback":[32]}]]],["p-0839dd37",[[0,"atomic-result-localized-text",{"localeKey":[1,"locale-key"],"field":[16],"fieldCount":[1,"field-count"],"error":[32]}]]],["p-5a140589",[[1,"atomic-result-multi-value-text",{"field":[513],"maxValuesToDisplay":[514,"max-values-to-display"],"delimiter":[513],"error":[32]}]]],["p-ffedf24d",[[0,"atomic-result-number",{"field":[513],"error":[32],"formatter":[32],"valueToDisplay":[32]},[[0,"atomic/numberFormat","setFormat"]]]]],["p-dcb930e7",[[1,"atomic-result-rating",{"field":[513],"maxValueInIndex":[514,"max-value-in-index"],"icon":[513],"error":[32],"numberOfStars":[32]}]]],["p-26d0a8d6",[[0,"atomic-result-section-children"]]],["p-d61e65c5",[[0,"atomic-result-section-emphasized"]]],["p-4fe614d1",[[0,"atomic-result-section-title-metadata"]]],["p-53b5eec1",[[1,"atomic-result-template",{"conditions":[16],"mustMatch":[16],"mustNotMatch":[16],"error":[32],"getTemplate":[64]}]]],["p-24cae323",[[0,"atomic-result-timespan",{"field":[513],"unit":[513],"format":[513],"error":[32]}]]],["p-b5fe644f",[[0,"atomic-search-layout",{"mobileBreakpoint":[513,"mobile-breakpoint"]}]]],["p-d1e45cc0",[[1,"atomic-segmented-facet",{"facetId":[1537,"facet-id"],"field":[513],"label":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[2,"injection-depth"],"numberOfValues":[514,"number-of-values"],"sortCriteria":[513,"sort-criteria"],"dependsOn":[16],"allowedValues":[1025,"allowed-values"],"customSort":[1025,"custom-sort"],"searchStatusState":[32],"tabManagerState":[32],"facetState":[32],"error":[32]}]]],["p-8c80991f",[[1,"atomic-segmented-facet-scrollable",{"searchStatusState":[32],"error":[32],"hideLeftArrow":[32],"hideRightArrow":[32]},[[1,"wheel","handleScroll"],[1,"touchmove","handleScroll"],[0,"keydown","handleScroll"]]]]],["p-ac8941e8",[[1,"atomic-sort-dropdown",{"sortState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]}]]],["p-308c3a88",[[0,"atomic-sort-expression",{"label":[513],"expression":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"]}]]],["p-995b31cf",[[0,"atomic-stencil-facet-date-input",{"bindings":[16],"rangeGetter":[16],"rangeSetter":[16],"facetId":[1,"facet-id"],"label":[1],"min":[1],"max":[1],"start":[32],"end":[32]}]]],["p-56adc7d8",[[0,"atomic-tab",{"label":[1],"name":[1],"expression":[1]}]]],["p-5f6cf383",[[0,"atomic-table-element",{"label":[513]}]]],["p-ba52e9f3",[[0,"atomic-timeframe",{"period":[513],"unit":[513],"amount":[514],"label":[513]}]]],["p-412e9a6d",[[1,"atomic-timeframe-facet",{"facetId":[1537,"facet-id"],"label":[513],"field":[513],"tabsIncluded":[1537,"tabs-included"],"tabsExcluded":[1537,"tabs-excluded"],"withDatePicker":[516,"with-date-picker"],"isCollapsed":[1540,"is-collapsed"],"headingLevel":[514,"heading-level"],"filterFacetCount":[516,"filter-facet-count"],"injectionDepth":[514,"injection-depth"],"dependsOn":[16],"min":[513],"max":[513],"sortCriteria":[513,"sort-criteria"],"facetState":[32],"facetForDatePickerState":[32],"filterState":[32],"searchStatusState":[32],"tabManagerState":[32],"error":[32]},[[0,"atomic/dateInputApply","applyDateInput"]]]]],["p-2d1d5cd9",[[1,"atomic-insight-user-actions-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"userId":[1,"user-id"],"ticketCreationDateTime":[1,"ticket-creation-date-time"],"excludedCustomActions":[16],"error":[32],"interfaceDimensions":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-2fd28743",[[0,"atomic-automatic-facet-generator",{"desiredCount":[514,"desired-count"],"numberOfValues":[514,"number-of-values"],"error":[32],"automaticFacetGeneratorState":[32],"searchStatusState":[32],"collapseFacetsAfter":[32],"updateCollapseFacetsDependingOnFacetsVisibility":[64]}],[1,"atomic-automatic-facet",{"field":[513],"facetId":[513,"facet-id"],"facet":[16],"searchStatus":[16],"isCollapsed":[1540,"is-collapsed"],"error":[32]}]]],["p-4eb5bc54",[[1,"atomic-refine-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"collapseFacetsAfter":[514,"collapse-facets-after"],"querySummaryState":[32],"breadcrumbManagerState":[32],"facetManagerState":[32],"sortState":[32],"tabManagerState":[32],"error":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-4dd88abc",[[1,"atomic-insight-refine-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"querySummaryState":[32],"breadcrumbManagerState":[32],"error":[32],"interfaceDimensions":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-77ae34ce",[[1,"atomic-insight-smart-snippet-feedback-modal",{"source":[1040],"isOpen":[1540,"is-open"],"error":[32],"currentAnswer":[32]},null,{"isOpen":["watchToggleOpen"]}]]],["p-f5f8990e",[[1,"atomic-ipx-refine-modal",{"openButton":[1040],"isOpen":[1540,"is-open"],"collapseFacetsAfter":[514,"collapse-facets-after"],"querySummaryState":[32],"breadcrumbManagerState":[32],"error":[32],"interfaceDimensions":[32]},null,{"isOpen":["watchEnabled"]}]]],["p-009525f1",[[1,"atomic-relevance-inspector",{"bindings":[16],"open":[516]}]]],["p-f2bae47c",[[1,"atomic-smart-snippet-feedback-modal",{"source":[1040],"isOpen":[1540,"is-open"],"error":[32],"currentAnswer":[32]},null,{"isOpen":["watchToggleOpen"]}]]],["p-d5628c4c",[[1,"atomic-html",{"value":[1],"sanitize":[516],"error":[32]}]]],["p-6adbdb0f",[[0,"atomic-tab-button",{"label":[1],"active":[4],"select":[16]}]]],["p-8bba9f56",[[1,"atomic-quickview-modal",{"content":[1025],"result":[1040],"current":[2],"total":[2],"sandbox":[1],"modalCloseCallback":[16],"error":[32],"highlightKeywords":[32],"minimizeSidebar":[32],"words":[32],"reset":[64]},null,{"highlightKeywords":["watchHighlightKeywords"]}]]],["p-bfdecd0f",[[1,"atomic-search-box-query-suggestions",{"icon":[1],"maxWithQuery":[514,"max-with-query"],"maxWithoutQuery":[514,"max-without-query"],"error":[32]}],[1,"atomic-search-box-recent-queries",{"icon":[1],"maxWithQuery":[514,"max-with-query"],"maxWithoutQuery":[514,"max-without-query"],"error":[32]}]]],["p-05ab5909",[[0,"atomic-facet-number-input",{"bindings":[16],"type":[1],"filter":[16],"filterState":[16],"label":[1],"start":[32],"end":[32]}]]],["p-09934c1e",[[1,"atomic-ipx-body",{"isOpen":[1028,"is-open"],"displayFooterSlot":[516,"display-footer-slot"],"error":[32]}]]],["p-d824c0c2",[[1,"atomic-recs-result",{"stopPropagation":[4,"stop-propagation"],"linkContent":[16],"result":[16],"interactiveResult":[16],"store":[16],"content":[16],"display":[1],"density":[1],"imageSize":[1,"image-size"],"classes":[1],"loadingFlag":[1,"loading-flag"],"renderingFunction":[16]},[[0,"click","handleClick"],[0,"atomic/resolveResult","resolveResult"],[0,"atomic/resolveInteractiveResult","resolveInteractiveResult"],[0,"atomic/resolveStopPropagation","resolveStopPropagation"],[0,"atomic/resolveResultDisplayConfig","resolveResultDisplayConfig"]]]]],["p-516b5bd4",[[0,"atomic-suggestion-renderer",{"i18n":[16],"id":[1],"suggestion":[16],"isSelected":[4,"is-selected"],"side":[1],"index":[2],"lastIndex":[2,"last-index"],"isDoubleList":[4,"is-double-list"],"onClick":[16],"onMouseOver":[16]}]]],["p-100da102",[[1,"atomic-insight-result",{"stopPropagation":[4,"stop-propagation"],"result":[16],"interactiveResult":[16],"store":[16],"content":[16],"density":[1],"imageSize":[1,"image-size"],"classes":[1],"loadingFlag":[1,"loading-flag"]},[[0,"atomic/resolveResult","resolveResult"],[0,"atomic/resolveInteractiveResult","resolveInteractiveResult"],[0,"atomic/resolveStopPropagation","resolveStopPropagation"],[0,"atomic/resolveResultDisplayConfig","resolveResultDisplayConfig"]]]]],["p-1442d3c3",[[1,"atomic-smart-snippet-expandable-answer",{"expanded":[516],"htmlContent":[1,"html-content"],"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"snippetStyle":[1,"snippet-style"],"fullHeight":[32]},null,{"fullHeight":["fullHeightUpdated"]}],[1,"atomic-smart-snippet-collapse-wrapper",{"maximumHeight":[514,"maximum-height"],"collapsedHeight":[514,"collapsed-height"],"isExpanded":[32],"showButton":[32],"fullHeight":[32]}]]],["p-75851b6c",[[1,"atomic-result",{"stopPropagation":[4,"stop-propagation"],"result":[16],"interactiveResult":[16],"store":[16],"content":[16],"linkContent":[16],"display":[1],"density":[1],"imageSize":[1,"image-size"],"classes":[1],"loadingFlag":[1,"loading-flag"],"renderingFunction":[16]},[[0,"atomic/resolveResult","resolveResult"],[0,"atomic/resolveInteractiveResult","resolveInteractiveResult"],[0,"atomic/resolveStopPropagation","resolveStopPropagation"],[0,"atomic/resolveResultDisplayConfig","resolveResultDisplayConfig"],[0,"click","handleClick"]]]]],["p-a3aaf456",[[1,"atomic-insight-user-actions-timeline",{"userId":[1,"user-id"],"ticketCreationDateTime":[1,"ticket-creation-date-time"],"excludedCustomActions":[16],"userActionsState":[32],"followingSessionsAreVisible":[32],"precedingSessionsAreVisible":[32]}],[1,"atomic-insight-user-actions-session",{"startTimestamp":[2,"start-timestamp"],"userActions":[16],"error":[32],"areActionsAfterCaseCreationVisible":[32]},null,{"userActions":["prepareUserActionsToDisplay"]}]]],["p-eb026d69",[[1,"atomic-tab-bar",{"popoverTabs":[32]},[[0,"atomic/tabRendered","resolveResult"]]],[1,"atomic-tab-popover",{"show":[32],"error":[32],"isOpen":[32],"toggle":[64],"setButtonVisibility":[64],"closePopoverOnFocusOut":[64]},[[0,"keydown","handleKeyDown"]]]]],["p-7056c717",[[0,"atomic-result-text",{"field":[513],"shouldHighlight":[516,"should-highlight"],"default":[513],"error":[32]}],[1,"atomic-text",{"value":[513],"count":[514],"error":[32]}]]],["p-1f4f26ee",[[0,"atomic-smart-snippet-source",{"source":[1040],"anchorAttributes":[16],"error":[32]},[[0,"atomic/resolveResult","resolveResult"]]],[1,"atomic-smart-snippet-answer",{"htmlContent":[1,"html-content"],"innerStyle":[1,"inner-style"]}]]],["p-0167ba21",[[1,"atomic-modal",{"fullscreen":[1540],"source":[1040],"container":[1040],"isOpen":[1540,"is-open"],"close":[1040],"scope":[16],"boundary":[513],"error":[32]},[[16,"keyup","handleCloseOnEscape"],[0,"touchmove","onWindowTouchMove"]],{"isOpen":["watchToggleOpen"]}],[0,"atomic-focus-trap",{"active":[4],"source":[1040],"container":[1040],"shouldHideSelf":[4,"should-hide-self"],"scope":[16]},[[4,"focusin","onFocusChanged"]],{"active":["activeChanged"]}]]],["p-64963829",[[1,"atomic-result-placeholder",{"display":[1],"density":[1],"imageSize":[1,"image-size"]}],[1,"atomic-result-table-placeholder",{"density":[1],"imageSize":[1,"image-size"],"rows":[2]}],[0,"atomic-result-section-actions"],[0,"atomic-result-section-badges"],[0,"atomic-result-section-bottom-metadata"],[0,"atomic-result-section-excerpt"],[0,"atomic-result-section-title"],[0,"atomic-result-section-visual",{"imageSize":[513,"image-size"]}]]]]'),e)}));
|
|
2
2
|
//# sourceMappingURL=atomic.esm.js.map
|
|
@@ -87,7 +87,7 @@ let AtomicCommerceNumericFacet = class AtomicCommerceNumericFacet extends LitEle
|
|
|
87
87
|
0);
|
|
88
88
|
}
|
|
89
89
|
get hasInputRange() {
|
|
90
|
-
return !!this.facetState.manualRange;
|
|
90
|
+
return !!this.facetState.manualRange || this.summaryState.isLoading;
|
|
91
91
|
}
|
|
92
92
|
get shouldRenderValues() {
|
|
93
93
|
return !this.hasInputRange && !!this.valuesToRender.length;
|
package/dist/atomic/components/components/commerce/atomic-product-link/atomic-product-link.js
CHANGED
|
@@ -38,20 +38,6 @@ let AtomicProductLink = class AtomicProductLink extends SlotsForNoShadowDOMMixin
|
|
|
38
38
|
this.bindings.engine.logger.warn(warning);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
extractAttributesFromSlot() {
|
|
42
|
-
const slotName = 'attributes';
|
|
43
|
-
const attributes = getAttributesFromLinkSlot(this, slotName);
|
|
44
|
-
if (!attributes) {
|
|
45
|
-
this.linkAttributes = undefined;
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
const attributesSlot = this.slots.attributes?.[0];
|
|
49
|
-
if (attributesSlot instanceof Element &&
|
|
50
|
-
!attributesSlot.hasAttribute('hidden')) {
|
|
51
|
-
attributesSlot.setAttribute('hidden', '');
|
|
52
|
-
}
|
|
53
|
-
this.linkAttributes = attributes.filter((attr) => attr.nodeName !== 'hidden');
|
|
54
|
-
}
|
|
55
41
|
initialize() {
|
|
56
42
|
if (!this.product && this.productController.item) {
|
|
57
43
|
this.product = this.productController.item;
|
|
@@ -80,7 +66,7 @@ let AtomicProductLink = class AtomicProductLink extends SlotsForNoShadowDOMMixin
|
|
|
80
66
|
? product.clickUri
|
|
81
67
|
: buildStringTemplateFromProduct(this.hrefTemplate, product, this.bindings);
|
|
82
68
|
const { warningMessage } = interactiveProduct;
|
|
83
|
-
this.
|
|
69
|
+
this.linkAttributes = getAttributesFromLinkSlot(this, 'attributes');
|
|
84
70
|
return renderLinkWithItemAnalytics({
|
|
85
71
|
props: {
|
|
86
72
|
href,
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
* A mixin class that provides slot functionality for LitElement components
|
|
3
3
|
* that render in the light DOM (no shadow DOM).
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* shadow DOM slots work, but operates in the light DOM. It provides
|
|
7
|
-
* methods to adopt children, map them to slots based on their `slot`
|
|
8
|
-
* attribute, and yield slot content during rendering.
|
|
5
|
+
* Provides the `renderDefaultSlotContent()` method, which returns the default slot’s content or a fallback if the slot is empty.
|
|
9
6
|
*
|
|
10
7
|
* @example
|
|
11
8
|
* ```typescript
|
|
@@ -27,136 +24,83 @@ export const SlotsForNoShadowDOMMixin = (superClass) => {
|
|
|
27
24
|
/**
|
|
28
25
|
* @internal
|
|
29
26
|
*/
|
|
30
|
-
this.
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
this.slotsInitialized = false;
|
|
27
|
+
this.slotContent = {};
|
|
35
28
|
/**
|
|
36
29
|
* @internal
|
|
37
30
|
*/
|
|
38
31
|
this.slotPlaceholders = [];
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
|
-
this.pendingSlotRelocation = false;
|
|
43
32
|
}
|
|
44
33
|
createRenderRoot() {
|
|
45
34
|
return this;
|
|
46
35
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
36
|
+
/**
|
|
37
|
+
* We adopt the children here once, just before the first render.
|
|
38
|
+
*/
|
|
51
39
|
willUpdate(changedProperties) {
|
|
52
40
|
super.willUpdate?.(changedProperties);
|
|
53
|
-
if (!this.hasUpdated
|
|
41
|
+
if (!this.hasUpdated) {
|
|
54
42
|
this.adoptChildren();
|
|
55
43
|
}
|
|
56
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* After Lit has rendered, we find our placeholders and swap them
|
|
47
|
+
* with the actual nodes from the slots.
|
|
48
|
+
*/
|
|
57
49
|
updated(changedProperties) {
|
|
58
50
|
super.updated?.(changedProperties);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
for (const placeholderInfo of this.slotPlaceholders) {
|
|
64
|
-
this._relocateSingleSlot(placeholderInfo);
|
|
51
|
+
for (const { placeholder, nodes } of this.slotPlaceholders) {
|
|
52
|
+
placeholder.replaceWith(...nodes);
|
|
65
53
|
}
|
|
54
|
+
// Clear the list for the next render cycle.
|
|
66
55
|
this.slotPlaceholders = [];
|
|
67
|
-
this.pendingSlotRelocation = false;
|
|
68
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Reads the initial child nodes, sorts them into the `slots` map,
|
|
59
|
+
* and removes them from the DOM temporarily.
|
|
60
|
+
*/
|
|
69
61
|
adoptChildren() {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return this._createSlotPlaceholder('');
|
|
79
|
-
}
|
|
80
|
-
return defaultContent ? [defaultContent] : [];
|
|
81
|
-
}
|
|
82
|
-
getSlotNameForChild(child) {
|
|
83
|
-
if (child instanceof Comment && child.nextSibling instanceof Element) {
|
|
84
|
-
return this.getSlotNameForChild(child.nextSibling);
|
|
85
|
-
}
|
|
86
|
-
if (child instanceof Element) {
|
|
87
|
-
return child.getAttribute('slot') || '';
|
|
62
|
+
const children = Array.from(this.childNodes);
|
|
63
|
+
for (const child of children) {
|
|
64
|
+
const slotName = child instanceof Element ? child.getAttribute('slot') || '' : '';
|
|
65
|
+
if (!this.slotContent[slotName]) {
|
|
66
|
+
this.slotContent[slotName] = [];
|
|
67
|
+
}
|
|
68
|
+
this.slotContent[slotName].push(child);
|
|
69
|
+
child.remove();
|
|
88
70
|
}
|
|
89
|
-
return '';
|
|
90
71
|
}
|
|
91
72
|
isTextNodeEmpty(node) {
|
|
92
73
|
return !node.textContent || !node.textContent.trim();
|
|
93
74
|
}
|
|
94
75
|
isSlotEmpty(slot) {
|
|
95
|
-
const content = this.
|
|
76
|
+
const content = this.slotContent[slot];
|
|
96
77
|
return (!content ||
|
|
97
78
|
content.every((child) => {
|
|
98
79
|
return (child instanceof Comment ||
|
|
99
80
|
(child instanceof Text && this.isTextNodeEmpty(child)));
|
|
100
81
|
}));
|
|
101
82
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
_hasDefaultSlotContent() {
|
|
114
|
-
return !this.isSlotEmpty('');
|
|
115
|
-
}
|
|
116
|
-
_mapChildrenToSlots() {
|
|
117
|
-
const children = Array.from(this.childNodes);
|
|
118
|
-
for (const child of children) {
|
|
119
|
-
const slotName = this.getSlotNameForChild(child);
|
|
120
|
-
this._addChildToSlot(child, slotName);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
_addChildToSlot(child, slotName) {
|
|
124
|
-
if (!this.slots[slotName]) {
|
|
125
|
-
this.slots[slotName] = [];
|
|
83
|
+
/**
|
|
84
|
+
* Returns the content for the default slot.
|
|
85
|
+
* If no nodes are assigned to the default slot, returns the provided fallback content.
|
|
86
|
+
*
|
|
87
|
+
* @param defaultContent - Optional content to render if the default slot is empty.
|
|
88
|
+
* @returns A `TemplateResult` representing the slot placeholder if nodes exist, otherwise an array containing the default content or an empty array.
|
|
89
|
+
*/
|
|
90
|
+
renderDefaultSlotContent(defaultContent) {
|
|
91
|
+
if (!this.isSlotEmpty('')) {
|
|
92
|
+
return this.createSlotPlaceholder(this.slotContent['']);
|
|
126
93
|
}
|
|
127
|
-
|
|
94
|
+
return defaultContent ? [defaultContent] : [];
|
|
128
95
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
this.slotPlaceholders.push({
|
|
136
|
-
slotName,
|
|
137
|
-
placeholder,
|
|
138
|
-
originalNodes: slotContent,
|
|
139
|
-
});
|
|
140
|
-
this.pendingSlotRelocation = true;
|
|
96
|
+
/**
|
|
97
|
+
* Creates a placeholder comment that will be replaced in `updated`.
|
|
98
|
+
*/
|
|
99
|
+
createSlotPlaceholder(nodes) {
|
|
100
|
+
const placeholder = document.createComment('slot');
|
|
101
|
+
this.slotPlaceholders.push({ placeholder, nodes });
|
|
141
102
|
return [placeholder];
|
|
142
103
|
}
|
|
143
|
-
_relocateSingleSlot(placeholderInfo) {
|
|
144
|
-
const { placeholder, originalNodes } = placeholderInfo;
|
|
145
|
-
const parent = placeholder.parentNode;
|
|
146
|
-
if (!parent) {
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
for (const node of originalNodes) {
|
|
150
|
-
this._moveNodeIfNeeded(node, parent, placeholder);
|
|
151
|
-
}
|
|
152
|
-
placeholder.remove();
|
|
153
|
-
}
|
|
154
|
-
_moveNodeIfNeeded(node, parent, placeholder) {
|
|
155
|
-
const needsMove = node.parentNode !== parent || node.nextSibling !== placeholder;
|
|
156
|
-
if (needsMove) {
|
|
157
|
-
parent.insertBefore(node, placeholder);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
104
|
}
|
|
161
105
|
return SlotsForNoShadowDOMClass;
|
|
162
106
|
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
function hasLightDOMSlotContent(element) {
|
|
2
|
+
return ('slotContent' in element &&
|
|
3
|
+
typeof element.slotContent === 'object');
|
|
4
|
+
}
|
|
1
5
|
function getNamedSlotFromHost(host, slotName) {
|
|
6
|
+
if (hasLightDOMSlotContent(host)) {
|
|
7
|
+
const targetLightDomSlotContent = host.slotContent[slotName];
|
|
8
|
+
if (!targetLightDomSlotContent) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
return targetLightDomSlotContent.find((node) => node instanceof Element);
|
|
12
|
+
}
|
|
2
13
|
const children = Array.from(host.children);
|
|
3
14
|
const targetSlot = children.filter((child) => child.getAttribute('slot') === slotName);
|
|
4
15
|
if (!targetSlot.length) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"slot-utils.js","mappings":"
|
|
1
|
+
{"file":"slot-utils.js","mappings":"AAEA,SAAS,sBAAsB,CAC7B,OAAoB;IAEpB,QACE,aAAa,IAAI,OAAO;QACxB,OAAQ,OAA2C,CAAC,WAAW,KAAK,QAAQ,EAC5E;AACJ,CAAC;SAEe,oBAAoB,CAAC,IAAiB,EAAE,QAAgB;IACtE,IAAI,sBAAsB,CAAC,IAAI,CAAC,EAAE;QAChC,MAAM,yBAAyB,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAE7D,IAAI,CAAC,yBAAyB,EAAE;YAC9B,OAAO;SACR;QAED,OAAO,yBAAyB,CAAC,IAAI,CACnC,CAAC,IAAe,KAAK,IAAI,YAAY,OAAO,CAC7C,CAAC;KACH;IAED,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAChC,CAAC,KAAK,KAAK,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,QAAQ,CACnD,CAAC;IAEF,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE;QACtB,OAAO;KACR;IAED,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;QACzB,OAAO,CAAC,IAAI,CAAC,0CAA0C,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC;KAC5E;IAED,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC;AACvB,CAAC;SAEe,sBAAsB,CAAC,IAAiB;IACtD,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,QAAQ,CAAC,MAAM,CACjC,CAAC,KAAK,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,EAAE,CAC5E,CAAC;IAEF,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE;QACvB,OAAO;KACR;IAED,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;QAC1B,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,IAAI,CAAC,CAAC;KAChE;IAED,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;AACxB;;;;","names":[],"sources":["src/utils/slot-utils.ts"],"sourcesContent":["import type {LightDOMWithSlots} from '@/src/mixins/slots-for-no-shadow-dom-mixin';\n\nfunction hasLightDOMSlotContent(\n element: HTMLElement\n): element is HTMLElement & LightDOMWithSlots {\n return (\n 'slotContent' in element &&\n typeof (element as HTMLElement & LightDOMWithSlots).slotContent === 'object'\n );\n}\n\nexport function getNamedSlotFromHost(host: HTMLElement, slotName: string) {\n if (hasLightDOMSlotContent(host)) {\n const targetLightDomSlotContent = host.slotContent[slotName];\n\n if (!targetLightDomSlotContent) {\n return;\n }\n\n return targetLightDomSlotContent.find(\n (node: ChildNode) => node instanceof Element\n );\n }\n\n const children = Array.from(host.children);\n const targetSlot = children.filter(\n (child) => child.getAttribute('slot') === slotName\n );\n\n if (!targetSlot.length) {\n return;\n }\n\n if (targetSlot.length > 1) {\n console.warn(`Element should only have 1 slot named \"${slotName}\".`, host);\n }\n\n return targetSlot[0];\n}\n\nexport function getDefaultSlotFromHost(host: HTMLElement) {\n const children = Array.from(host.children);\n const defaultSlot = children.filter(\n (child) => !child.hasAttribute('slot') || child.getAttribute('slot') === ''\n );\n\n if (!defaultSlot.length) {\n return;\n }\n\n if (defaultSlot.length > 1) {\n console.warn('Element should only have 1 default slot.', host);\n }\n\n return defaultSlot[0];\n}\n"],"version":3}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
function hasLightDOMSlotContent(element) {
|
|
2
|
+
return ('slotContent' in element &&
|
|
3
|
+
typeof element.slotContent === 'object');
|
|
4
|
+
}
|
|
1
5
|
export function getNamedSlotFromHost(host, slotName) {
|
|
6
|
+
if (hasLightDOMSlotContent(host)) {
|
|
7
|
+
const targetLightDomSlotContent = host.slotContent[slotName];
|
|
8
|
+
if (!targetLightDomSlotContent) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
return targetLightDomSlotContent.find((node) => node instanceof Element);
|
|
12
|
+
}
|
|
2
13
|
const children = Array.from(host.children);
|
|
3
14
|
const targetSlot = children.filter((child) => child.getAttribute('slot') === slotName);
|
|
4
15
|
if (!targetSlot.length) {
|