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C,CACvCpY,OApJuC+D,IAAwB,IAAtBpW,EAAMoW,EAANpW,OAAQpB,EAAQwX,EAARxX,SACnD,MAAOqB,EAAWD,EAAXC,QACPrB,EAAS4rB,GAAqCvqB,IAmJ5CuT,iBAAiB,GAElB,CAACiX,IAA4C,CAC5CpY,OApJ4CiE,IAAwB,IAAtBtW,EAAMsW,EAANtW,OAAQpB,EAAQ0X,EAAR1X,SACxD,MAAOqB,EAAWD,EAAXC,QACPrB,EAAS4rB,GAA0CvqB,IAmJjDuT,iBAAiB,GAElB,CAACiX,IAAsC,CACtCpY,OApJsCoE,IAAwB,IAAtBzW,EAAMyW,EAANzW,OAAQpB,EAAQ6X,EAAR7X,SAClD,MAAOqB,EAAWD,EAAXC,QACPrB,EAAS4rB,GAAoCvqB,IAmJ3CuT,iBAAiB,GAElB,CAACiX,IAAoC,CACpCpY,OApJoCqE,IAAwB,IAAtB1W,EAAM0W,EAAN1W,OAAQpB,EAAQ8X,EAAR9X,SAChD,MAAOqB,EAAWD,EAAXC,QACPrB,EAAS4rB,GAAkCvqB,IAmJzCuT,iBAAiB,IAGnByF,aAAc,CACb0R,eAAgB,CACf5f,QAAQ,EACRhB,QAAS,GACTvU,SAAU,QACVu0B,eAAgB,CAAC,GAElBqB,WAAY,KACZH,eAAe,GAEhBpT,OAAQ,GAAGA,SClSZhd,OAAOkxB,8BAA8B/lC,EAAAA;AAAA,oBAAAA","file":"externals/sn-cx-shell-addon/index.min.js","names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","___CSS_LOADER_EXPORT___","result","__esModule","default","a","n","TypeError","toPropertyKey","require","_defineProperties","e","r","t","o","enumerable","configurable","writable","Object","defineProperty","key","prototype","value","_extends","assign","bind","arguments","hasOwnProperty","call","apply","_typeof","Symbol","toPrimitive","String","Number","iterator","constructor","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","d","definition","get","obj","prop","toStringTag","y","x","cjsModule","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__","actionTypes","createCustomElement","declarativeOperations","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__","Fragment","createElement","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__","GLOBAL_SEARCH_SOURCE","POPOVER_ITEM_TYPE","QUERY_CONTENT","RECENTLY_VIEWED","USER_HISTORY_AND_CLICK","EXACT_MATCH","USER_HISTORY","PERSONAL_CLICK","AUTOCOMPLETE","POPULAR_QUERY","NAVIGATION","SECTION_HEADER","USER_SEARCH_TERM","FOOTER","EVENT_TYPE","UPDATE_ARIA_LIVE_TEXT_SOURCES","PLACEMENT","AUTOCOMPLETE_QUERY_EVENT","INFO_EVENT","GlideSignals","INFO","PERSONAL_CLICK_FIELDS","EXACT_MATCH_FIELDS","QUERY_CONTENT_FIELDS","SR_LABELS","CLEARED_RECENT_SEARCH_ITEM","EXACT_MATCH_FOUND","LABELS","CLEAR_SEARCH","SUBMIT_SEARCH","CLEAR_RECENT_SEARCH","CANCEL_SEARCH","LOADING_LABEL","SHOW_SEARCH_PANEL","KEYCODE","KEYBOARD_NAVIGATION","RECENT_SEARCH_SECTION_HEADER","WINDOW_SIZE","GLOBAL_RECENT_SEARCH_SECTION_HEADER","ICON_SOURCE_MAP","Map","ICON_TYPE","SYS_ATTACHMENT","ATTACHMENT_LABEL","CACHE_EXACT_MATCH_KEY","POPOVER_FOOTER_SIGN_IN","POPOVER_FOOTER_SEARCH_EXPERIENCE","ICON_SIZES","ANALYTICS_EVENTS","trackEvent","eventAction","eventPriority","eventModel","applicationType","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__","cloneDeep","filter","isEmpty","isEqual","lowerCase","throttle","upperFirst","SEARCH_EXECUTED","NAVIGATION_SUCCEEDED","SEARCH_EXECUTED_INTERNAL","NAVIGATION_EXECUTED_INTERNAL","NAVIGATION_EXECUTED_UTIL","NAVIGATION_EXECUTED_PUBLIC_UTIL","CONTEXT_CHANGED_INTERNAL","SEARCH_CLOSED_INTERNAL","NOW_BUTTON_BARE_CLICKED","NOW_BUTTON_ICONIC_CLICKED","NOW_TEXT_LINK_CLICKED","HANDLE_TOOLTIP_ON_TRUNCATED_TEXT","INPUT_CHANGED","INPUT_FOCUSED_IN","INPUT_FOCUSED_OUT","SHOW_POPOVER","CONTEXT_DROPDOWN_FOCUSED","ARROW_UP_PRESSED","ARROW_DOWN_PRESSED","ARROW_LEFT_PRESSED","ARROW_RIGHT_PRESSED","MOUSE_OVERED","CLEAR_SEARCH_SELECTED","CLEAR_SEARCH_MUTATION","CLEAR_SEARCH_MUTATION_SUCCEEDED","CLEAR_SEARCH_MUTATION_FAILED","ITEM_SELECTED","ITEM_FOCUSED","DEBOUNCED_SUGGESTION_FETCH","SUGGESTION_FETCH","SUGGESTION_FETCH_STARTED","SUGGESTION_FETCH_SUCCEEDED","SUGGESTION_FETCH_FAILED","EXACT_MATCH_FETCH","EXACT_MATCH_STARTED","EXACT_MATCH_SUCCEEDED","EXACT_MATCH_FAILED","CONTEXT_ITEM_SELECTED","HIDE_SEARCH_PANEL","SET_REF","FETCH_EXACT_MATCH_CONFIG","SET_ENABLE_EXACT_MATCH_PROPERTY","SWITCH_TO_DEFAULT_ENABLE_EXACT_MATCH_PROPERTY","UPDATE_SEARCH_CACHE","SET_INPUT_DESKTOP_ELEMENT","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__","querySelectorAllDeep","selector","_querySelectorDeep","document","querySelectorDeep","findMany","root","allElements","sel","saveUnmatched","unmatched","tokens","test","state","not_escaped_pattern","whitespace_pattern","state_patterns","match","regex","prev_match_idx","next_match_idx","trim","lastIndex","exec","substr","substring","RegExp","pop","charAt","normalizeSelector","lightElement","querySelector","head","createShadowRoot","attachShadow","splitByCharacterUnlessQuoted","reduce","acc","minimalSelector","splitSelector","replace","entry","possibleElementsIndex","possibleElements","cachedElements","findAllElements","nodes","el","shadowRoot","querySelectorAll","matches","collectAllElementsDeep","findElements","element","position","parent","foundElement","isDocumentNode","foundMatch","reversedParts","reverse","newParent","part","findParentOrHost","findMatchingElement","find","character","p","c","sQuote","quote","node","nodeType","Node","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","parentNode","host","PositionObserver","_createClass","positionObserverCallback","threshold","_classCallCheck","_defineProperty","thresholdList","Array","fill","_","ind","targetElement","intersectionObserver","IntersectionObserver","viewportCallback","rootMargin","observe","target","targetBounds","boundingClientRect","left","top","outOfViewport","isIntersecting","rootBounds","intersectionRatio","_this$intersectionObs","_this$intersectionObs2","_this$intersectionObs3","unobserve","disconnect","options","getMargins","constructBoxWindow","intersectionObsCallback","_this$intersectionObs4","_this$intersectionObs5","_this$intersectionObs6","_this$intersectionObs7","constrainedLeft","Math","min","max","right","width","constrainedTop","bottom","height","windowDimensions","viewportBounds","visualViewport","offsetTop","offsetLeft","getSearchConfiguration","selectedContent","searchConfigFallback","_window","path","context","JSON","parse","window","ux_globals","experienceConfigs","pageProperties","search_configuration","declarativeStateUpdate","updateState","args","params","keys","operation","SET","shouldRender","getMagnifyingGlassIcon","iconName","size","getSearchInputIcon","getIconId","getBestPracticesIcon","getLightbulbIcon","getNowSupportIcon","getDocumentOutlineIcon","getCustomerSuccessCenterIcon","getHandshakeIcon","getDeveloperPortalIcon","getCodeIcon","getNowCommunityIcon","getOngoingIcon","getServicenowComIcon","getGlobeOutlineIcon","getCircleCloseOutlineIcon","getCloseIcon","getNowLearningIcon","getOpenBookOutlineIcon","getProductDocumentationIcon","getBookIcon","getIcon","icon","searchConfig","sourceIcons","iconFromSource","getIconFromSource","getServicenowFullLogoIcon","getServicenowLogoIcon","getClockOutlineIcon","getLightXIcon","getLightXIconMobile","getArrowRightLongIcon","sourceKey","shouldFocusInput","setFocus","isMobileView","isCollapsedView","vnode","elm","focus","removeFocus","blur","_ref","hasFocus","showPopover","placeholder","term","dispatch","placement","hasSuggestions","animationsEnabled","nowId","attachToNavigation","attachToElement","hideSearchPopover","inputContainerClassName","showCancel","buttonSize","navigationAttachedIcon","class","backIcon","className","type","bare","variant","on-click","cancelElement","action","payload","on-focus","inputElement","role","maxLength","_ref2","ev","_ev$relatedTarget","relatedTarget","preventDefault","hook","insert","destroy","isAttached","getColumnByFieldName","columns","fieldName","isArray","col","navItem","newTitle","text","highlightFragments","rawText","index","indexOf","splitHighlighting","tableValue","table","label","actionDataCol","recordUrl","sysId","sourceTable","actionData","actionPayload","parentTableData","parentTable","parentSysId","_navData$actionPayloa","getAttachmentTableDetails","console","log","title","isActive","breadCrumbText","primaryText","_ref$suggestionLabel","suggestionLabel","showActions","_ref$itemActions","itemActions","_ref$showTooltip","showTooltip","titleRef","_ref$tooltipContent","tooltipContent","_ref$itemType","itemType","actions","createActions","clickActionType","findSearchPopoverListItem","_target$classList","classList","contains","onItemSelection","evt","showToolTip","closest","selectedItem","onMouseOver","toLowerCase","tabindex","event","code","delay","offset","dir","Item","labelName","includes","replaceWhiteSpace","str","highlightMatch","matchText","sourceText","DOMParser","parseFromString","documentElement","textContent","matchStartIndex","matchEndIndex","regularLeftText","bold","regularRightText","leftTextVNode","middleTextVNode","rightTextVNode","name","_ref$icon","disableClearSearch","ariaLiveText","_ref$ariaBusyState","ariaBusyState","_ref$exactMatch","exactMatch","_ref$enableExactMatch","enableExactMatch","ariaLiveTextContainer","AriaLiveContainer","hasExactMatch","displayValue","notRecentSearch","userHistoryAndClick","isSearchInput","_ref$isLoggedIn","isLoggedIn","_ref$attachToNavigati","_ref$showLoginNotice","showLoginNotice","onFooterItemClick","searchTerm","onFooterSignInClick","pathname","location","viewAll","loginInNotice","totalSectionsToDisplay","parseNavItem","itemFooter","itemText","sourceTableLowerCase","sourceIcon","has","imageType","column","getPopoverItemIcon","tableName","number","documentType","_item$columns$","forEach","getTooltipContent","breadCrumbTextContent","SearchTerm","SectionHeader","InstanceHistory","UserHistory","Navigation","PopoverFooter","activeRowIndex","data","showEmptyState","fetching","ariaLiveBusy","alignment","illustration","heading","level","items","exactMatchData","idx","itemIndex","getPopoverItem","view","inputHasFocus","isInputActive","searchPanelOpened","suggestionTypeFooter","_state$properties","properties","canAnimate","exactMatchRegex","opened","isTyping","unauth","Input","Popover","constructAriaLiveText","groupCount","getGroupCount","resultCount","getResultsCount","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__","getProperty","getRowColIndex","activeColumnIndex","direction","len","rowIndex","columnIndex","recentSearchSection","option","some","_option$columns$","_option$columns$2","_recentSearchSection","_data$rowIndex","canTermMatchExactly","criterionRegex","exactMatchEnabled","generateExactMatchPayload","searchContextConfigId","definitionSysId","inputValues","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__","TOOLTIP_HIDE","TOOLTIP_SHOW","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__","a11yPreferences","getUserPrefContext","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__","createGraphQLEffect","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__","searchSuggestionCache","unifiedCache","adapter","description","storeName","evictionPolicy","dataResponse","ignoreTypes","output","userHistoryRecords","footerItem","firstSectionHeaderIndex","group","filteredRecords","records","record","splice","unshift","getSuggestionCacheKey","fetchSuggestions","async","cache_key","cached","getItem","suggestionFetchEffect","variableList","startActionType","successActionType","errorActionType","_getRelativeClickIndex","slice","_getValue","_setInputFocus","input","_isPopoverTermEvent","composedPath","sourceElement","tagName","nowButtonClickedEffect","_ref$action$payload","handlers","selectedSearchContext","disableAutocomplete","locale","navData","updatedActionPayloadData","signalTracker","queryTerm","selectedQuery","queryType","clickIndex","itemSelectedEffect","_ref5","_action$payload","exactMatchFound","exactMatchFetching","isFetching","isInputEvent","isEnterKeyPressedInInput","_enterKeyPressedInInput","_setInputBlur","navigating","queueExactMatchEvent","_setPopoverSuggestionFocus","row","suggestions","listItem","ariaSelected","focusedOption","selectorQuery","focusedColumn","_isPopoverButtonEvent","clearSearchEffect","actionNames","actionName","after","effects","effect","coeffects","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__","createHttpEffect","response","displayFields","record_url","displayValueForTableWhenAvailable","string","toUpperCase","handleExactMatchFetchEffect","method","headers","pathParams","exactMatchConfigFetchEffect","dataParam","batch","coeffectFnWithStopPropagation","extraProperties","stopPropagation","COMPONENT_BOOTSTRAPPED","COMPONENT_CONNECTED","COMPONENT_PROPERTY_CHANGED","COMPONENT_DISCONNECTED","COMPONENT_TREE_RENDERED","setTermToState","fetchExactMatch","_ref3","setTimeout","prefetch","onComponentDisconnected","removeEventListener","updateAriaLiveTextSource","throttleTimeout","previousValue","onSearchTermChanged","onOpenedChanged","_ref4","onSearchContextConfigIdChanged","modifier","updateProperties","setItem","exactMatchConfigFromSAC","effectProxy","suggestionSearchTermQuery","dataItems","transformSuggestionResponse","newState","_action$payload2","status","error","_ref13","exactMatchSysProperty","exactMatchCriterionRegex","isExactMatchPresent","hasExactMatchReadingFinished","termCriterionRegex","interceptors","createAfterInterceptor","_ref8","_getRowColIndex2","_ref7","_getRowColIndex","_ref9","_getRowColIndex3","_ref0","_getRowColIndex4","_ref6","_ref1","_ref10","_ref12","searchDataConfigId","transformExactMatchResponse","_ref14","windowSize","_ref15","_ref16","a11yTx","GLIDE_UI_ACCESSIBILITY_SHOW_TRUNCATED_TEXT","userPrefVal","isUserPreferenceEnabled","primaryTextElement","breadCrumbElement","offsetWidth","scrollWidth","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__","renderer","snabbdom","styles","style","actionHandlers","eventHandlers","events","behaviors","behavior","keyBindingBehavior","keyBindings","pressArrowUp","pressArrowDown","pressArrowLeft","pressArrowRight","pressEscape","pressEnter","_isDropDownEvent","enterKeyHandler","rtlBehavior","tooltipBehavior","truncationBehavior","initialState","targetRef","searchContexts","schema","applyFilters","filters","source","_state$properties$app","_state$properties$fil","_state$properties$sea","_state$properties$isL","_state$properties$sou","_state$properties$loc","dispatchNavigationEvent","handleNavVariables","variables","ret","varKeys","varKey","handleSearchExecutedEffect","searchConfigPayload","searchRoute","route","fields","searchRouteConfig","_routeConfig$params","routeConfig","filtersToApply","handleSeismicNavigationExecutedEffect","encodeURIComponent","handleSeismicNavigationExecutedPublicEffect","enum","searchViewConfigId","_ref$state$properties","_coeffects$state$prop","_coeffects$action","meta","emitNavItemSelected","aaDigitalData","page","search","inputField","eventType","_coeffects$state$prop2","_searchConfig$content","contentLinkColumns","devSiteLinkColumn","devSiteLink","external","url","navigationOptions","count","getResponseCount","_coeffects$state","inputDesktopElement","dispatches","SEARCH_TOGGLED","SEARCH_TOGGLED_INTERNAL","SEARCH_BACK","SEARCH_CLOSED","SEARCH_OPENED","OVERLAY_CLICKED","OVERLAY_OVERED","COMBOBOX_NAVIGATION_EXECUTED","COMBOBOX_SEARCH_EXECUTED","SET_NOW_MODAL_REF","WINDOW_RESIZED","SIGNIN_BUTTON_CLICKED_INITIATED","SET_INPUT_ELEMENT","OVERLAY_CSS_VAR_TOP","ServicenowLogoIcon","mediaQuery","sm","CloseModalIcon","xl","SearchModalHeader","lg","showMobileCloseIcon","SearchModalBody","_ref4$opened","_ref4$attachToElement","searchModalDomElementsCache","originObserved","observer","positionObserver","observeOrigin","origin","isEqualNode","_originObserved","attachObservers","fallback","ResizeObserver","findShadowActiveElement","_element$shadowRoot","activeElement","getDomElement","searchElement","isOnDOM","checkVisibility","getSearchInputDesktop","searchInput","nowModalRef","getSearchInput","getOriginElementFromEvent","searchInputPathConfig","elementId","parentElement","getEventParentDOMElement","elementFromPath","_searchInputPathConfi","values","getOriginElementFromPathConfig","getOriginElementByElementId","setModalPosition","setProperty","getOriginElement","searchInputRouteMapping","getSearchInputPathConfig","searchInputRouteMap","searchClosedEffect","animationFrameId","onResize","addEventListener","cancelAnimationFrame","requestAnimationFrame","setModalListeners","_coeffects$action$pay","navTopOverlayOffset","currentOpenedState","_coeffects$state$prop3","_payload$opened","_payload$term","_payload$attachToNavi","_payload$applyFilters","_payload$filters","_payload$source","_payload$elementId","searchConfigFromContext","elementPosition","isMegaMenuExpanded","searchBackEffect","href","_coeffects$state2","calculateModalPosition","getBoundingClientRect","searchInputDesktop","_searchInputDesktop$s","setFocusSearchInput","eventTarget","_coeffects$state3","_ref$state","_ref$state$elementPos","currentPosition","previousElement","focusableElements","getAttribute","activeElementIdx","findIndex","previousElementIdx","nextElement","shiftKey","body","useCapture","timerId","_ref2$state","isClick","isEscape","isInsideSearchModal","_el$tagName","clearTimeout","isEscaped","enableCloseIcon","isAttachedToElement","currentSearchConfig","ref","_e$target","searchModalStyles","computed","_ref$properties","localizedSearchContextConfigs","searchContextConfigId_public","_ref2$properties","mediaQueryBehavior","md","xxl","handleBreadCrumbClick","updateItems","currentItem","currentItemIdx","screenId","handleItemClick","NOW_BREADCRUMBS_ITEM_CLICKED","SN_CX_BREADCRUMBS_ITEM_DATA_UPDATED","SN_CX_BREADCRUMBS_RENDER_REQUESTED","breadcrumbsDataCache","activeScreenId","rootItem","cachedItemData","itemsClone","rootScreenId","populateCurrentItem","cacheItems","deepCompare","translatable","nowUIType","hideLabel","experienceName","queryString","updateUrl","setInitialState","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__","footerLogoAriaLabel","footerLogoSrc","brandLineText","brandLineSrc","src","alt","classnames","COPYRIGHT_TEXT","TEXT_DIRECTION","FOOTER_LOGO_ARIA_LABEL","BRAND_LINE_TEXT","SOCIAL_LINKS_ARIA_LABEL","socialLinks","socialLinksAriaLabel","copyrightText","isRtl","link","rel","linkedin","youtube","twitter","facebook","instagram","navLinks","FOOTER_NAV_LINK_CLICKED","FOOTER_NAV_LINK_ELEMENT_REF","FOOTER_NAV_LINK_TRUST_ARC_REF","handleFooterNavLinkElementRef","trustArcElement","handleFooterNavLinkClicked","digitalData","version","pageInfo","pageName","eVar20","eVar21","eVar22","pageArea","handleComponentTreeRendered","handleFooterNavLinkTrustArcReady","footerConfig","_footerConfig$nav_lin","nav_links","_footerConfig$social_","social_links","_footerConfig$copyrig","copyright_text","FooterLogo","FooterNavLinks","FooterSocial","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__","_handleClose","beforeClose","Promise","resolve","then","res","TAG_NAME","backdrop","containerProps","canClose","isTitleClickable","hidden","cursor","slots","_host$shadowRoot","cssText","focusBehavior","cxPageEvents","uxfPageEvents","_ref11","sidePanelProps","scrollable","headingLevel","headingOnlyVisibleToScreenReaders","interceptNotifications","propagateNotifications","isPageLoading","loaderLabel","loaderAction","uxfPageRef","hook-destroy","slot","panelcontent","scrollBehavior","verticalAlignment","scrollIntoView","block","sidePanelOpened","_action$payload3","loading","__TECTONIC__sn_cx_shell_addon"],"sources":["webpack:///css-loader/6.7.1/dist/runtime/api.js","webpack:///css-loader/6.7.1/dist/runtime/noSourceMaps.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/styles.scss","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/styles.scss","webpack:///sn-cx-shell-addon/src/components/sn-cx-page/sn-cx-page.scss","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/sn-cx-search-input-desktop/index.scss","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/styles.scss","webpack:///sn-cx-shell-addon/src/components/sn-cx-side-panel/sn-cx-side-panel.scss","webpack:///./src/components/sn-cx-breadcrumbs/styles.scss?ccf3","webpack:///./src/components/sn-cx-footer/styles.scss?dba3","webpack:///./src/components/sn-cx-page/sn-cx-page.scss?e080","webpack:///./src/components/sn-cx-search-input/sn-cx-search-input-desktop/index.scss?9872","webpack:///./src/components/sn-cx-search-modal/styles.scss?6c40","webpack:///./src/components/sn-cx-side-panel/sn-cx-side-panel.scss?7c8d","webpack:///@babel/runtime/7.25.7/helpers/classCallCheck.js","webpack:///@babel/runtime/7.25.7/helpers/createClass.js","webpack:///@babel/runtime/7.25.7/helpers/defineProperty.js","webpack:///@babel/runtime/7.25.7/helpers/extends.js","webpack:///@babel/runtime/7.25.7/helpers/toPrimitive.js","webpack:///@babel/runtime/7.25.7/helpers/toPropertyKey.js","webpack:///@babel/runtime/7.25.7/helpers/typeof.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///external module \"/uxasset/externals/@servicenow/ui-core/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/ui-renderer-snabbdom/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/behavior-media-query/28.4.1/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/behavior-rtl/28.4.1/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-modal/index.jsdbx\"","webpack:///external module \"/uxasset/externals/sn-translate/index.jsdbx\"","webpack:///external module \"/uxasset/externals/sn-signals/19.1.0/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/constants/index.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/signalTracker.js","webpack:///external module \"/uxasset/externals/lodash/4.17.21/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/actions/index.js","webpack:///external module \"/uxasset/externals/@servicenow/behavior-key-binding/28.4.1/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-button/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-icon/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-tooltip/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-dropdown/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/utils/qsDeep.js","webpack:///sn-cx-shell-addon/src/utils/positionObserver.js","webpack:///sn-cx-shell-addon/src/utils/getSearchConfiguration.js","webpack:///sn-cx-shell-addon/src/utils/declarativeStateUpdate.js","webpack:///sn-cx-shell-addon/src/utils/icons.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/Input.js","webpack:///external module \"/uxasset/externals/@servicenow/now-template-message/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-loader/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/parseNavItem.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/PopoverItem.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/SearchTerm.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/SectionHeader.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/highlight.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/UserHistory.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/InstanceHistory.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/ariaLiveContainer.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/Navigation.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/PopoverFooter.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/PopoverItems/index.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/getPopoverItemIcon.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/view/Popover.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/sn-cx-search-input-desktop/view/Combobox.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/resultItemsUtil.js","webpack:///external module \"/uxasset/externals/sn-uxpage-presource/23.0.1/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/keyboardNavigation.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/exactMatch.js","webpack:///external module \"/uxasset/externals/@servicenow/behavior-tooltip/28.4.1/index.jsdbx\"","webpack:///external module \"/uxasset/externals/sn-ux-core/24.0.8/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/ui-effect-graphql/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@devsnc/library-unified-cache/27.0.6/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/cache.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/transformSuggestionResponse.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/suggestion.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/suggestionEffects.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/inputEffects.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/clearSearchEffects.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/interceptor.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/effectProxy.js","webpack:///external module \"/uxasset/externals/@servicenow/ui-effect-http/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/transformExactMatchResponse.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/exactMatchEffects.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/onComponentPropertyChanged.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/actionHandlers/index.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/setTermToState.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/fetchExactMatch.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/contextDropdownEffects.js","webpack:///external module \"/uxasset/externals/@servicenow/behavior-truncation/28.4.1/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/sn-cx-search-input-desktop/index.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/view.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/utils/dispatchNavigation.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/handleNavVariables.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/handleSearchExecutedEffect.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/navigationExecutedEffect.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/sn-cx-search-input.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-input/common/effects/navigationSucceedEffect.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/actions.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/constants.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/view.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/cache.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/utils/observeOrigin.js","webpack:///sn-cx-shell-addon/src/utils/attachObservers.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/utils/findShadowActiveElement.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/utils/setModalListeners.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/utils/index.js","webpack:///sn-cx-components/src/utils/declarativeUpdateState.js","webpack:///sn-cx-components/src/constants.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/effects/setNowModalRef.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/effects.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/effects/onComponentBootstrapped.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/effects/onWindowResize.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/events.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-search-modal/index.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/utils/attachClickListener.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/utils/updateItems.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/utils/handleItemClick.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/utils/dispatchNavigationEvent.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/actions.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/utils/cache.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/effects.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/utils/populateCurrentItem.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/utils/cacheItems.js","webpack:///external module \"/uxasset/externals/@servicenow/now-breadcrumbs/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/index.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-breadcrumbs/view.js","webpack:///external module \"/uxasset/externals/classnames/2.3.1/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/view/logo/FooterLogo.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/constants.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/view/social/FooterSocial.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/utils.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/view/nav-links/FooterNavLinks.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/actions.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/effects.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/index.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-footer/view/index.js","webpack:///external module \"/uxasset/externals/@servicenow/behavior-focus/28.4.1/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-heading/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-side-panel/sn-cx-side-panel.js","webpack:///sn-cx-shell-addon/src/components/sn-cx-side-panel/positions.js","webpack:///external module \"/uxasset/externals/@servicenow/now-uxf-page/index.jsdbx\"","webpack:///sn-cx-shell-addon/src/components/sn-cx-page/sn-cx-page.js","webpack:///sn-cx-shell-addon/src/__imaginary__/entry-wrapper.js"],"sourcesContent":["\"use strict\";\n\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n  var list = []; // return the list of modules as css string\n\n  list.toString = function toString() {\n    return this.map(function (item) {\n      var content = \"\";\n      var needLayer = typeof item[5] !== \"undefined\";\n\n      if (item[4]) {\n        content += \"@supports (\".concat(item[4], \") {\");\n      }\n\n      if (item[2]) {\n        content += \"@media \".concat(item[2], \" {\");\n      }\n\n      if (needLayer) {\n        content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n      }\n\n      content += cssWithMappingToString(item);\n\n      if (needLayer) {\n        content += \"}\";\n      }\n\n      if (item[2]) {\n        content += \"}\";\n      }\n\n      if (item[4]) {\n        content += \"}\";\n      }\n\n      return content;\n    }).join(\"\");\n  }; // import a list of modules into the list\n\n\n  list.i = function i(modules, media, dedupe, supports, layer) {\n    if (typeof modules === \"string\") {\n      modules = [[null, modules, undefined]];\n    }\n\n    var alreadyImportedModules = {};\n\n    if (dedupe) {\n      for (var k = 0; k < this.length; k++) {\n        var id = this[k][0];\n\n        if (id != null) {\n          alreadyImportedModules[id] = true;\n        }\n      }\n    }\n\n    for (var _k = 0; _k < modules.length; _k++) {\n      var item = [].concat(modules[_k]);\n\n      if (dedupe && alreadyImportedModules[item[0]]) {\n        continue;\n      }\n\n      if (typeof layer !== \"undefined\") {\n        if (typeof item[5] === \"undefined\") {\n          item[5] = layer;\n        } else {\n          item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n          item[5] = layer;\n        }\n      }\n\n      if (media) {\n        if (!item[2]) {\n          item[2] = media;\n        } else {\n          item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n          item[2] = media;\n        }\n      }\n\n      if (supports) {\n        if (!item[4]) {\n          item[4] = \"\".concat(supports);\n        } else {\n          item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n          item[4] = supports;\n        }\n      }\n\n      list.push(item);\n    }\n  };\n\n  return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n  return i[1];\n};","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.sn-cx-breadcrumbs{--now-breadcrumbs--font-family:var(--now-font-family-gilroy);--now-line-height-crop--before:-0.25em;--now-line-height-crop--after:-0.35em;background:rgb(var(--now-color--neutral-1,246,247,247));padding:12px var(--now-global-space--3xl,40px)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.now-line-height-crop{display:block}.now-line-height-crop:after,.now-line-height-crop:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1)}.now-line-height-crop:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1)}.now-line-height-crop+.now-line-height-crop{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1*-1)}.now-line-height-crop--sm{display:block}.now-line-height-crop--sm:after,.now-line-height-crop--sm:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop--sm:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1.06664)}.now-line-height-crop--sm:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1.06664)}.now-line-height-crop--sm+.now-line-height-crop--sm{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1.06664*-1)}.now-heading--lg,.now-heading--md,.now-heading--xl{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-weight:600}.now-heading--md{font-size:var(--now-font-size--md1,1rem)}.now-heading--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-heading--xl{font-size:var(--now-font-size--xl,2.5rem)}.now-text--normal{font-weight:400}.now-text--semibold{font-weight:600}.now-text--bold{font-weight:700}.now-text--sm{font-size:var(--now-font-size--sm,.75rem)}.now-text--md{font-size:var(--now-font-size--md1,1rem)}.now-text--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-text--primary{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}.now-text--secondary{color:RGB(var(--now-color_text--secondary,var(--now-color--neutral-15,44,53,55)))}.now-text--tertiary{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}.now-m-block--xxs{margin-block-end:.125rem}.now-m-block--xxs,.now-m-block-start--xxs{margin-block-start:.125rem}.now-m-block-end--xxs{margin-block-end:.125rem}.now-m-inline--xxs{margin-inline-end:.125rem}.now-m-inline--xxs,.now-m-inline-start--xxs{margin-inline-start:.125rem}.now-m-inline-end--xxs{margin-inline-end:.125rem}.now-m-block--xs{margin-block-end:.25rem}.now-m-block--xs,.now-m-block-start--xs{margin-block-start:.25rem}.now-m-block-end--xs{margin-block-end:.25rem}.now-m-inline--xs{margin-inline-end:.25rem}.now-m-inline--xs,.now-m-inline-start--xs{margin-inline-start:.25rem}.now-m-inline-end--xs{margin-inline-end:.25rem}.now-m-block--sm{margin-block-end:.5rem}.now-m-block--sm,.now-m-block-start--sm{margin-block-start:.5rem}.now-m-block-end--sm{margin-block-end:.5rem}.now-m-inline--sm{margin-inline-end:.5rem}.now-m-inline--sm,.now-m-inline-start--sm{margin-inline-start:.5rem}.now-m-inline-end--sm{margin-inline-end:.5rem}.now-m-block--md{margin-block-end:.75rem}.now-m-block--md,.now-m-block-start--md{margin-block-start:.75rem}.now-m-block-end--md{margin-block-end:.75rem}.now-m-inline--md{margin-inline-end:.75rem}.now-m-inline--md,.now-m-inline-start--md{margin-inline-start:.75rem}.now-m-inline-end--md{margin-inline-end:.75rem}.now-m-block--lg{margin-block-end:1rem}.now-m-block--lg,.now-m-block-start--lg{margin-block-start:1rem}.now-m-block-end--lg{margin-block-end:1rem}.now-m-inline--lg{margin-inline-end:1rem}.now-m-inline--lg,.now-m-inline-start--lg{margin-inline-start:1rem}.now-m-inline-end--lg{margin-inline-end:1rem}.now-m-block--xl{margin-block-end:1.5rem}.now-m-block--xl,.now-m-block-start--xl{margin-block-start:1.5rem}.now-m-block-end--xl{margin-block-end:1.5rem}.now-m-inline--xl{margin-inline-end:1.5rem}.now-m-inline--xl,.now-m-inline-start--xl{margin-inline-start:1.5rem}.now-m-inline-end--xl{margin-inline-end:1.5rem}.now-m-block--xxl{margin-block-end:2rem}.now-m-block--xxl,.now-m-block-start--xxl{margin-block-start:2rem}.now-m-block-end--xxl{margin-block-end:2rem}.now-m-inline--xxl{margin-inline-end:2rem}.now-m-inline--xxl,.now-m-inline-start--xxl{margin-inline-start:2rem}.now-m-inline-end--xxl{margin-inline-end:2rem}.now-m-block--3xl{margin-block-end:2.5rem}.now-m-block--3xl,.now-m-block-start--3xl{margin-block-start:2.5rem}.now-m-block-end--3xl{margin-block-end:2.5rem}.now-m-inline--3xl{margin-inline-end:2.5rem}.now-m-inline--3xl,.now-m-inline-start--3xl{margin-inline-start:2.5rem}.now-m-inline-end--3xl{margin-inline-end:2.5rem}.now-m-block--0{margin-block-end:0}.now-m-block--0,.now-m-block-start--0{margin-block-start:0}.now-m-block-end--0{margin-block-end:0}.now-m-inline--0{margin-inline-end:0}.now-m-inline--0,.now-m-inline-start--0{margin-inline-start:0}.now-m-inline-end--0{margin-inline-end:0}.now-p-block--xxs{padding-block-end:.125rem}.now-p-block--xxs,.now-p-block-start--xxs{padding-block-start:.125rem}.now-p-block-end--xxs{padding-block-end:.125rem}.now-p-inline--xxs{padding-inline-end:.125rem}.now-p-inline--xxs,.now-p-inline-start--xxs{padding-inline-start:.125rem}.now-p-inline-end--xxs{padding-inline-end:.125rem}.now-p-block--xs{padding-block-end:.25rem}.now-p-block--xs,.now-p-block-start--xs{padding-block-start:.25rem}.now-p-block-end--xs{padding-block-end:.25rem}.now-p-inline--xs{padding-inline-end:.25rem}.now-p-inline--xs,.now-p-inline-start--xs{padding-inline-start:.25rem}.now-p-inline-end--xs{padding-inline-end:.25rem}.now-p-block--sm{padding-block-end:.5rem}.now-p-block--sm,.now-p-block-start--sm{padding-block-start:.5rem}.now-p-block-end--sm{padding-block-end:.5rem}.now-p-inline--sm{padding-inline-end:.5rem}.now-p-inline--sm,.now-p-inline-start--sm{padding-inline-start:.5rem}.now-p-inline-end--sm{padding-inline-end:.5rem}.now-p-block--md{padding-block-end:.75rem}.now-p-block--md,.now-p-block-start--md{padding-block-start:.75rem}.now-p-block-end--md{padding-block-end:.75rem}.now-p-inline--md{padding-inline-end:.75rem}.now-p-inline--md,.now-p-inline-start--md{padding-inline-start:.75rem}.now-p-inline-end--md{padding-inline-end:.75rem}.now-p-block--lg{padding-block-end:1rem}.now-p-block--lg,.now-p-block-start--lg{padding-block-start:1rem}.now-p-block-end--lg{padding-block-end:1rem}.now-p-inline--lg{padding-inline-end:1rem}.now-p-inline--lg,.now-p-inline-start--lg{padding-inline-start:1rem}.now-p-inline-end--lg{padding-inline-end:1rem}.now-p-block--xl{padding-block-end:1.5rem}.now-p-block--xl,.now-p-block-start--xl{padding-block-start:1.5rem}.now-p-block-end--xl{padding-block-end:1.5rem}.now-p-inline--xl{padding-inline-end:1.5rem}.now-p-inline--xl,.now-p-inline-start--xl{padding-inline-start:1.5rem}.now-p-inline-end--xl{padding-inline-end:1.5rem}.now-p-block--xxl{padding-block-end:2rem}.now-p-block--xxl,.now-p-block-start--xxl{padding-block-start:2rem}.now-p-block-end--xxl{padding-block-end:2rem}.now-p-inline--xxl{padding-inline-end:2rem}.now-p-inline--xxl,.now-p-inline-start--xxl{padding-inline-start:2rem}.now-p-inline-end--xxl{padding-inline-end:2rem}.now-p-block--3xl{padding-block-end:2.5rem}.now-p-block--3xl,.now-p-block-start--3xl{padding-block-start:2.5rem}.now-p-block-end--3xl{padding-block-end:2.5rem}.now-p-inline--3xl{padding-inline-end:2.5rem}.now-p-inline--3xl,.now-p-inline-start--3xl{padding-inline-start:2.5rem}.now-p-inline-end--3xl{padding-inline-end:2.5rem}.now-p-block--0{padding-block-end:0}.now-p-block--0,.now-p-block-start--0{padding-block-start:0}.now-p-block-end--0{padding-block-end:0}.now-p-inline--0{padding-inline-end:0}.now-p-inline--0,.now-p-inline-start--0{padding-inline-start:0}.now-p-inline-end--0{padding-inline-end:0}:host{display:block;width:100%}.sn-cx-footer{align-items:baseline;background:var(--now-color--neutral-0,#fff);display:flex;justify-content:center;margin:0;padding:2rem 0;width:100%}.sn-cx-footer-container{align-items:flex-start;display:flex;flex:1 0 0;gap:7.5rem}.sn-cx-footer-container .sn-cx-footer-content{display:flex;flex-direction:column}.sn-cx-footer-container .sn-cx-footer-content.left{align-items:flex-start;flex:1 0 0;gap:1rem}.sn-cx-footer-container .sn-cx-footer-content.right{align-items:flex-end;gap:.5rem;justify-content:center}.sn-cx-footer-container .sn-cx-footer-logo-wrapper{align-items:center;display:flex}.sn-cx-footer-container .sn-cx-footer-logo-wrapper .sn-cx-footer-logo>img{height:1.5rem;width:8.15rem}.sn-cx-footer-container .sn-cx-footer-logo-wrapper .sn-cx-footer-separator{background:#e1e1e1;height:1.3125rem;margin:0 1.25rem;padding:0;width:.0625rem}.sn-cx-footer-container .sn-cx-footer-logo-wrapper .sn-cx-footer-tagline{height:.9375rem;margin:0;padding:0}.sn-cx-footer-container .sn-cx-footer-nav-links li,.sn-cx-footer-container .sn-cx-footer-nav-links ul{margin:0;padding:0;width:max-content}.sn-cx-footer-container .sn-cx-footer-nav-links ul{align-items:flex-start;display:flex;gap:2rem}.sn-cx-footer-container .sn-cx-footer-nav-links li{list-style-type:none;padding:.125rem 0}.sn-cx-footer-container .sn-cx-footer-nav-links li .sn-cx-footer-nav-link{font-feature-settings:\\\"liga\\\" off,\\\"clig\\\" off;color:#007393;cursor:pointer;font-family:var(--now-font-family-sn-sans);font-size:.875rem;font-style:normal;font-weight:300;line-height:1.5rem;text-decoration-line:underline;text-decoration-skip-ink:none;text-decoration-style:solid;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.sn-cx-footer-container .sn-cx-footer-nav-links li .sn-cx-footer-nav-link::-moz-focus-inner{border-style:none}.sn-cx-footer-container .sn-cx-footer-nav-links li .sn-cx-footer-nav-link:focus{box-shadow:inset 0 0 0 .125rem RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))),inset 0 0 0 .1875rem RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))));outline:none}@media(forced-colors:active){.sn-cx-footer-container .sn-cx-footer-nav-links li .sn-cx-footer-nav-link:focus{outline:1px solid highlight}}.sn-cx-footer-container .sn-cx-footer-nav-links li .sn-cx-footer-nav-link:hover{color:#02506b}.sn-cx-footer-container .sn-cx-footer-nav-links li .sn-cx-footer-nav-link:active{color:#032d42}.sn-cx-footer-container .sn-cx-footer-social{align-items:center;display:flex;gap:.75rem}.sn-cx-footer-container .sn-cx-footer-social-link{align-items:center;cursor:pointer;display:flex;height:2.5rem;text-decoration:none;width:2.5rem}.sn-cx-footer-container .sn-cx-footer-social-link::-moz-focus-inner{border-style:none}.sn-cx-footer-container .sn-cx-footer-social-link:focus{box-shadow:inset 0 0 0 .125rem RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))),inset 0 0 0 .1875rem RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))));outline:none}@media(forced-colors:active){.sn-cx-footer-container .sn-cx-footer-social-link:focus{outline:1px solid highlight}}.sn-cx-footer-container .sn-cx-footer-social-link.twitter img{border:none;padding:.5rem}.sn-cx-footer-container .sn-cx-footer-copyright span{color:#1d1d1d;font-family:var(--now-font-family-sn-sans);font-size:.875rem;font-style:normal;font-weight:300;line-height:150%;text-align:right}@media(max-width:1058px){.sn-cx-footer-container{flex-direction:column;gap:var(--now-global-space--xl,24px)}.sn-cx-footer-content.right{align-items:center!important}}@media(max-width:685px){.sn-cx-footer-logo-wrapper{align-items:flex-start!important;flex-direction:column;flex-wrap:wrap;gap:var(--now-global-space--lg,1rem)}.sn-cx-footer-separator{display:none}.sn-cx-footer-container .sn-cx-footer-nav-links ul{flex-direction:column;gap:var(--now-global-space--sm,.5rem)}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,.page,:after,:before{box-sizing:border-box}.page{height:100%;width:100%}.loaderContainer{--now-loader--font-family:var(--now-font-family-sn-sans);align-items:center;display:flex;height:65vh;justify-content:center}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}:host{--unified_nav-input--color:var(--nav_menu-input--color);--unified_nav-input--color--placeholder:var( --nav_menu-input--color--placeholder );--unified_nav-input--color--opened:var(--nav_menu-input--color--opened);--unified_nav-input--background-color:var( --nav_menu-input--background-color );--unified_nav-input--background-color--hover:var( --nav_menu-input--background-color--hover );--unified_nav-input--background-color--opened:var( --nav_menu-input--background-color--opened );--unified_nav-input--border-color:var(--nav_menu-input--border-color);--unified_nav-search--icon-color--collapsed:var( --nav_menu-input--search-icon-color--collapsed )}.input-container{align-items:center;background-color:RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255)));border:var(--now-form-control--border-width,1px) solid RGB(var(--now-color_divider--tertiary,var(--now-color--neutral-3,209,214,214)));border-top-left-radius:.25rem;border-top-right-radius:.25rem;box-sizing:border-box;display:flex;padding-bottom:.5rem;padding-top:.5rem}.input-container.input-container--is-popover-open{border-bottom-color:transparent}.input-container.input-container--has-focus{box-shadow:inset 0 0 0 2px RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142)));outline:none}.input-container.input-container--search{background-color:#f2f2f2;border:none;border-radius:.5rem}.input-container.input-container--search:hover{border:none}.input-container.-global{max-height:2rem}:host([dir=rtl]) .search-input__back-icon,:root[dir=rtl] .search-input__back-icon{transform:scaleX(-1)}.input-container__input{background-color:transparent;border:none;box-sizing:border-box;color:#1d1d1d;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:1rem;font-style:normal;font-weight:300;line-height:1.5rem;outline:none;overflow:hidden;padding:0;text-overflow:ellipsis;width:100%}.input-container__input::placeholder{color:#666;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);opacity:.7}.input-container-sparkle-icon{align-items:center;display:inline-flex;justify-content:center}now-icon[icon=ai-sparkle-outline]{color:RGB(var(--now-color--primary-1,30,133,109))}:host(:not([dir=rtl])) now-icon[icon=ai-sparkle-outline],:root:not([dir=rtl]) now-icon[icon=ai-sparkle-outline]{margin-right:.25rem}:host([dir=rtl]) now-icon[icon=ai-sparkle-outline],:root[dir=rtl] now-icon[icon=ai-sparkle-outline]{margin-left:.25rem}now-icon[icon=magnifying-glass-sparkle-outline]{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}:host(:not([dir=rtl])) now-icon[icon=magnifying-glass-sparkle-outline],:root:not([dir=rtl]) now-icon[icon=magnifying-glass-sparkle-outline]{margin-right:.25rem}:host([dir=rtl]) now-icon[icon=magnifying-glass-sparkle-outline],:root[dir=rtl] now-icon[icon=magnifying-glass-sparkle-outline]{margin-left:.25rem}.-attached-navigation-icon{align-items:center;color:RGB(var(--unified_nav-input--color,var(--now-color--neutral-0,255,255,255)));display:inline-flex;height:2rem;justify-content:center}:host(:not([dir=rtl])) .-attached-navigation-icon,:root:not([dir=rtl]) .-attached-navigation-icon{padding-left:1rem}:host([dir=rtl]) .-attached-navigation-icon,:root[dir=rtl] .-attached-navigation-icon{padding-right:1rem}:host(:not([dir=rtl])) .-attached-navigation-icon,:root:not([dir=rtl]) .-attached-navigation-icon{padding-right:.5rem}:host([dir=rtl]) .-attached-navigation-icon,:root[dir=rtl] .-attached-navigation-icon{padding-left:.5rem}.-attached-navigation-icon.-active{color:RGB(var(--unified_nav-input--color--opened,var(--now-color--neutral-18,22,27,28)))}.-attached-navigation-icon.-empty{color:RGB(var(--sn-cx-search-input--attached-empty-color,81,114,133))}@media(forced-colors:active){.input-container.input-container--has-focus{border:1px solid HighLight}}.attached-to-navigation .input-container{background:hsla(0,0%,100%,.04)}.attached-to-navigation .input-container input{color:#fff;font-weight:450;line-height:125%}.attached-to-navigation .input-container input::placeholder{color:#517285;opacity:1}.attached-to-navigation .cancel-icon{line-height:0}.attached-to-navigation .cancel-icon,.attached-to-navigation .cancel-icon svg{color:RGB(var(--now-color--neutral-0,255,255,255))}.attached-to-navigation .input-container__button-icon{--now-button--scale-size-block:0}:host(:not([dir=rtl])) .attached-to-navigation .input-container__button-icon:first-of-type,:root:not([dir=rtl]) .attached-to-navigation .input-container__button-icon:first-of-type{padding-left:.5rem}:host([dir=rtl]) .attached-to-navigation .input-container__button-icon:first-of-type,:root[dir=rtl] .attached-to-navigation .input-container__button-icon:first-of-type{padding-right:.5rem}:host(:not([dir=rtl])) .attached-to-navigation .input-container__button-icon:first-of-type,:root:not([dir=rtl]) .attached-to-navigation .input-container__button-icon:first-of-type{padding-right:1rem}:host([dir=rtl]) .attached-to-navigation .input-container__button-icon:first-of-type,:root[dir=rtl] .attached-to-navigation .input-container__button-icon:first-of-type{padding-left:1rem}.attached-to-element .input-container.input-container--search{background-color:var(--sn-cx-search-input--attached-element-background_color,var(--now-color--neutral-0,255,255,255));border-bottom:var(--sn-cx-search-input--attached-element-border_bottom,1px solid #e3e3e3);border-radius:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:.5rem 0}.attached-to-element .input-container.input-container--search.input-container--no-popover{border-bottom-color:transparent}.attached-to-element .-attached-navigation-icon,.attached-to-element .-attached-navigation-icon.-active,.attached-to-element .-attached-navigation-icon.-empty{color:RGB(var(--sn-cx-search-input--attached-element-navigation-icon--color,102,102,102))}.search-popover{background-color:RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255)));border:var(--popover-border) solid RGB(var(--now-color_divider--tertiary,var(--now-color--neutral-3,209,214,214)));border-top:none;border-top-left-radius:0;border-top-right-radius:0;box-sizing:border-box;margin:0;overflow:auto;width:100%;z-index:1000}.search-popover now-loader{--now-loader_label--color:var(--now-color--neutral-0,255,255,255);--now-loader_icon--color:var(--now-color--neutral-0,255,255,255)}:host(:not([dir=rtl])) .search-popover,:root:not([dir=rtl]) .search-popover{border-bottom-right-radius:1.5rem}:host([dir=rtl]) .search-popover,:root[dir=rtl] .search-popover{border-bottom-left-radius:1.5rem}:host(:not([dir=rtl])) .search-popover,:root:not([dir=rtl]) .search-popover{border-bottom-left-radius:1.5rem}:host([dir=rtl]) .search-popover,:root[dir=rtl] .search-popover{border-bottom-right-radius:1.5rem}:host(:not([dir=rtl])) .search-popover,:root:not([dir=rtl]) .search-popover{text-align:left}:host([dir=rtl]) .search-popover,:root[dir=rtl] .search-popover{text-align:right}.search-popover ul{list-style:none;margin:0;padding:0}.search-popover .sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.search-popover__section-header{color:#d7e0e6;display:block;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:.75rem;font-style:normal;font-weight:400;line-height:.975rem}:host(:not([dir=rtl])) .search-popover__section-header,:root:not([dir=rtl]) .search-popover__section-header{text-align:left}:host([dir=rtl]) .search-popover__section-header,:root[dir=rtl] .search-popover__section-header{text-align:right}.search-popover__item{align-items:center;cursor:pointer;display:flex;margin:1px}.search-popover__item:hover{background-color:var(--now-search-modal_hover,#bddee7)}.search-popover__item-icon{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));line-height:0}:host(:not([dir=rtl])) .search-popover__item-icon,:root:not([dir=rtl]) .search-popover__item-icon{padding-left:0}:host([dir=rtl]) .search-popover__item-icon,:root[dir=rtl] .search-popover__item-icon{padding-right:0}:host(:not([dir=rtl])) .search-popover__item-icon,:root:not([dir=rtl]) .search-popover__item-icon{padding-right:0}:host([dir=rtl]) .search-popover__item-icon,:root[dir=rtl] .search-popover__item-icon{padding-left:0}.search-popover__item-metadata{align-items:center;display:flex;flex:1 1 auto;width:1%}.search-popover__item-metadata::-moz-focus-inner{border-style:none}.search-popover__item-metadata:focus{box-shadow:inset 0 0 0 .125rem RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))),inset 0 0 0 .1875rem RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))));outline:none}@media(forced-colors:active){.search-popover__item-metadata:focus{outline:1px solid highlight}}.search-popover__item-primary-text{-webkit-line-clamp:1;-webkit-box-orient:vertical;align-items:baseline;color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));display:block;display:-webkit-box;display:flex;flex:1 1 auto;font-size:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis}:host(:not([dir=rtl])) .search-popover__item-primary-text,:root:not([dir=rtl]) .search-popover__item-primary-text{margin-left:.75rem}:host([dir=rtl]) .search-popover__item-primary-text,:root[dir=rtl] .search-popover__item-primary-text{margin-right:.75rem}.search-popover__item-primary-text p{margin-bottom:0;margin-top:0}.search-popover__item-primary-text p,.search-popover__item-primary-text p.click-breadcrumb{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.search-popover__item-primary-text p.click-breadcrumb{color:#3b3b3b;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:.75rem;font-style:normal;font-weight:400;line-height:normal}:host(:not([dir=rtl])) .search-popover__item-primary-text p.click-breadcrumb span,:root:not([dir=rtl]) .search-popover__item-primary-text p.click-breadcrumb span{margin-right:.75rem}:host([dir=rtl]) .search-popover__item-primary-text p.click-breadcrumb span,:root[dir=rtl] .search-popover__item-primary-text p.click-breadcrumb span{margin-left:.75rem}:host(:not([dir=rtl])) .search-popover__item-primary-text p.click-breadcrumb span:last-child,:root:not([dir=rtl]) .search-popover__item-primary-text p.click-breadcrumb span:last-child{margin-right:0}:host([dir=rtl]) .search-popover__item-primary-text p.click-breadcrumb span:last-child,:root[dir=rtl] .search-popover__item-primary-text p.click-breadcrumb span:last-child{margin-left:0}.search-popover__item-primary-text--match{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}:host(:not([dir=rtl])) .search-popover__item-primary-text--match,:root:not([dir=rtl]) .search-popover__item-primary-text--match{padding-left:.5rem}:host([dir=rtl]) .search-popover__item-primary-text--match,:root[dir=rtl] .search-popover__item-primary-text--match{padding-right:.5rem}.search-popover__item-button{--now-button--scale-size:0.2;color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}:host(:not([dir=rtl])) .search-popover__item-button,:root:not([dir=rtl]) .search-popover__item-button{padding-left:1.5rem}:host([dir=rtl]) .search-popover__item-button,:root[dir=rtl] .search-popover__item-button{padding-right:1.5rem}.action-icon{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));display:block;line-height:0}.attached-to-navigation .search-popover{background:transparent!important}.attached-to-navigation .search-popover__section-header{font-family:var(--now-font-family-sn-sans-mono,\\\"ServiceNow Sans Mono\\\",ui-monospace,SFMono-Regular,Menlo,Consolas,\\\"Liberation Mono\\\",monospace);text-transform:uppercase}.attached-to-navigation .search-popover__item:hover{background:RGBA(var(--sn-cx-search-input--attached-item-background-hover,var(--now-color--neutral-0,255,255,255)),var(--sn-cx-search-input--attached-item-background-alpha,.08))}.attached-to-navigation .action-icon{color:RGB(var(--now-color--neutral-0,255,255,255))}.attached-to-navigation .search-combobox--body .search-popover__item-icon{color:RGB(var(--sn-cx-search-input--attached-input-color,var(--now-color--neutral-0,255,255,255)))}.attached-to-navigation .search-combobox--body .search-popover__item-text-link{color:#fff;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:1rem;font-style:normal;font-weight:450;line-height:normal;padding-bottom:.75rem;padding-top:.75rem}.attached-to-navigation .search-combobox--body .search-popover__item-sign-in-notice>span,.attached-to-navigation .search-combobox--body .search-popover__item-view-all>span{align-items:center;display:flex;gap:.75rem}.attached-to-navigation .search-combobox--body .search-popover__item-sign-in-notice:hover,.attached-to-navigation .search-combobox--body .search-popover__item-view-all:hover{background:RGBA(var(--sn-cx-search-input--attached-item-background-hover,var(--now-color--neutral-0,255,255,255)),var(--sn-cx-search-input--attached-item-background-alpha,.08))}.attached-to-navigation .search-combobox--body .search-popover__item-sign-in-notice .view-all-arrow-icon,.attached-to-navigation .search-combobox--body .search-popover__item-view-all .view-all-arrow-icon{display:inline;line-height:0}.attached-to-navigation .search-combobox--body .search-popover__item-sign-in-notice-text{color:#1d1d1d}.attached-to-navigation .search-combobox--body .search-popover__item-primary-text{color:RGB(var(--sn-cx-search-input--attached-input-color,var(--now-color--neutral-0,255,255,255)))}.attached-to-navigation .search-combobox--body .search-popover__item-primary-text p{font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-style:normal}.attached-to-navigation .search-combobox--body .search-popover__item-primary-text p.primary-text-container{color:#fff;font-weight:300;line-height:1.5rem}.attached-to-navigation .search-combobox--body .search-popover__item-primary-text p strong{color:#63df4e;font-weight:450;line-height:1.5rem}.attached-to-navigation .search-combobox--body .search-popover__item-primary-text p.click-breadcrumb{color:#d7e0e6;font-size:.75rem;font-weight:400;line-height:125%}.attached-to-element .search-combobox--body .search-popover__section-header{font-feature-settings:\\\"liga\\\" off,\\\"clig\\\" off;color:#666;line-height:normal;padding-bottom:.25rem;padding-top:.5rem}.attached-to-element .search-combobox--body .search-popover__item{padding-bottom:.5rem;padding-top:.5rem}.attached-to-element .search-combobox--body .search-popover__item .search-popover__item-primary-text p{font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-style:normal}.attached-to-element .search-combobox--body .search-popover__item .search-popover__item-primary-text p.primary-text-container{color:#1d1d1d;font-size:1rem;font-weight:300;line-height:1.5rem}.attached-to-element .search-combobox--body .search-popover__item .search-popover__item-primary-text p strong{color:#1d1d1d;font-size:1rem;font-weight:450;line-height:1.5rem}.attached-to-element .search-combobox--body .search-popover__item .search-popover__item-primary-text p.click-breadcrumb{font-feature-settings:\\\"liga\\\" off,\\\"clig\\\" off;color:#3b3b3b}.attached-to-element .search-combobox--body .search-popover__item-view-all{padding-bottom:.5rem;padding-top:.5rem}.attached-to-element .search-combobox--body .search-popover__item-view-all.search-popover__item-sign-in-notice-added{padding-bottom:.75rem;padding-top:.75rem}.attached-to-element .search-combobox--body.unauth .search-combobox--body .search-popover{padding-bottom:0}.attached-to-element .search-combobox--body.unauth .search-combobox--body .search-popover ul:first-of-type{padding-top:0}.attached-to-element .search-combobox--body.unauth .search-combobox--body .search-popover__section-header{padding-top:.75rem}.attached-to-element .search-combobox--body.unauth .search-popover__item-sign-in-notice.search-popover__item-sign-in-notice-empty{border-top:0}.trtr{--now-template-message-empty-state_heading--header--font-family:var( --now-font-family-sn-sans );--now-template-message-empty-state_content--font-family:var( --now-font-family-sn-sans )}:host{--classicsponlydonotuse--rem-multipy-ais:var( --classicsponlydonotuse--rem-multipy,1 );--now-color_focus-ring:62,170,43;--now-indicator--border-radius:12px;--now-badge--primary_green--background-color:99,223,78}.search-combobox{display:flex;flex-direction:column;font-family:var(--sn-cx-search-input--combobox-font_family,var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif));font-style:normal;font-variant:normal;font-weight:400;gap:var(--search-combobox--gap,1rem);letter-spacing:inherit;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;width:100%;word-spacing:inherit}.search-combobox--header .input-container{padding-bottom:now-mx-rtl-property(.125rem);padding-top:.125rem}:host(:not([dir=rtl])) .search-combobox--header .input-container,:root:not([dir=rtl]) .search-combobox--header .input-container{padding-right:.5rem}:host([dir=rtl]) .search-combobox--header .input-container,:root[dir=rtl] .search-combobox--header .input-container{padding-left:.5rem}:host(:not([dir=rtl])) .search-combobox--header .input-container,:root:not([dir=rtl]) .search-combobox--header .input-container{padding-left:1rem}:host([dir=rtl]) .search-combobox--header .input-container,:root[dir=rtl] .search-combobox--header .input-container{padding-right:1rem}.search-combobox--header .input-container.-global{background-color:RGB(var(--unified_nav-input--background-color,var(--now-color_chrome--brand-4,77,96,97)));border:1px solid RGB(var(--unified_nav-input--border-color,var(--now-color_chrome--divider-1,144,155,156)));border-radius:.25rem;padding-top:0;width:244px!important}:host(:not([dir=rtl])) .search-combobox--header .input-container.-global,:root:not([dir=rtl]) .search-combobox--header .input-container.-global{padding-right:0}:host([dir=rtl]) .search-combobox--header .input-container.-global,:root[dir=rtl] .search-combobox--header .input-container.-global{padding-left:0}:host(:not([dir=rtl])) .search-combobox--header .input-container.-global,:root:not([dir=rtl]) .search-combobox--header .input-container.-global{padding-left:0}:host([dir=rtl]) .search-combobox--header .input-container.-global,:root[dir=rtl] .search-combobox--header .input-container.-global{padding-right:0}.search-combobox--header .input-container.-global:hover{background:RGBA(var(--unified_nav-input--background-color--hover,var(--now-color_chrome--brand-3,114,128,129)),var(--now-opacity--most,.8));border:1px solid RGB(var(--unified_nav-input--border-color,var(--now-color_chrome--divider-1,144,155,156)));border-radius:.25rem}@media(forced-colors:active){.search-combobox--header .input-container.-global:hover{border:1px solid RGB(var(--unified_nav-input--border-color,var(--now-color_chrome--divider-1,144,155,156)))}}.search-combobox--header .input-container.-global.-active-input{border:1px solid RGB(var(--now-color_background--secondary,var(--now-color--neutral-1,246,247,247)))!important;border-radius:.25rem!important;width:320px!important}.search-combobox--header .input-container.-global.-active-input,.search-combobox--header .input-container.-global.-active-input:hover{background:RGB(var(--unified_nav-input--background-color--opened,var(--now-color--neutral-0,255,255,255)))!important}.search-combobox--header .input-container__input.-global{color:RGB(var(--unified_nav-input--color,var(--now-color--neutral-0,255,255,255)));font-size:1rem}.search-combobox--header .input-container__input.-global::placeholder{color:RGB(var(--unified_nav-input--color--placeholder,var(--unified_nav-input--color,var(--now-color--neutral-0,255,255,255))));font-size:inherit;font-weight:400}.search-combobox--header .input-container__input.-global.can-animate{transition:background-color RGB(var(--unified_nav-input--background-color--opened,var(--now-color--neutral-0,255,255,255)));transition:opacity var(--now-opacity--least,.1)}.search-combobox--header .input-container__input.-global.-active-input{color:RGB(var(--unified_nav-input--color--opened,var(--now-color--neutral-18,22,27,28)))}.search-combobox--header .input-container__input.-global.-active-input::placeholder{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)));font-size:inherit;font-weight:400}:host(:not([dir=rtl])) .search-combobox--header .input-container__button-icon:first-of-type,:root:not([dir=rtl]) .search-combobox--header .input-container__button-icon:first-of-type{padding-left:.5rem}:host([dir=rtl]) .search-combobox--header .input-container__button-icon:first-of-type,:root[dir=rtl] .search-combobox--header .input-container__button-icon:first-of-type{padding-right:.5rem}:host(:not([dir=rtl])) .search-combobox--header .input-container__button-icon:first-of-type,:root:not([dir=rtl]) .search-combobox--header .input-container__button-icon:first-of-type{padding-right:1rem}:host([dir=rtl]) .search-combobox--header .input-container__button-icon:first-of-type,:root[dir=rtl] .search-combobox--header .input-container__button-icon:first-of-type{padding-left:1rem}:host(:not([dir=rtl])) .search-combobox--header .input-container__button-icon:nth-of-type(2),:root:not([dir=rtl]) .search-combobox--header .input-container__button-icon:nth-of-type(2){padding-left:0}:host([dir=rtl]) .search-combobox--header .input-container__button-icon:nth-of-type(2),:root[dir=rtl] .search-combobox--header .input-container__button-icon:nth-of-type(2){padding-right:0}.search-combobox--header .-global-search-icon{align-items:center;color:RGB(var(--unified_nav-input--color,var(--now-color--neutral-0,255,255,255)));display:inline-flex;height:2rem;justify-content:center;width:2rem}:host(:not([dir=rtl])) .search-combobox--header .-global-search-icon,:root:not([dir=rtl]) .search-combobox--header .-global-search-icon{padding-left:.5rem}:host([dir=rtl]) .search-combobox--header .-global-search-icon,:root[dir=rtl] .search-combobox--header .-global-search-icon{padding-right:.5rem}:host(:not([dir=rtl])) .search-combobox--header .-global-search-icon,:root:not([dir=rtl]) .search-combobox--header .-global-search-icon{padding-right:.5rem}:host([dir=rtl]) .search-combobox--header .-global-search-icon,:root[dir=rtl] .search-combobox--header .-global-search-icon{padding-left:.5rem}.search-combobox--header .-global-search-icon.-active{color:RGB(var(--unified_nav-input--color--opened,var(--now-color--neutral-18,22,27,28)));padding-bottom:.5rem;padding-top:.5rem}:host(:not([dir=rtl])) .search-combobox--header .-global-search-icon.-active,:root:not([dir=rtl]) .search-combobox--header .-global-search-icon.-active{padding-left:.5rem}:host([dir=rtl]) .search-combobox--header .-global-search-icon.-active,:root[dir=rtl] .search-combobox--header .-global-search-icon.-active{padding-right:.5rem}:host(:not([dir=rtl])) .search-combobox--header .-global-search-icon.-active,:root:not([dir=rtl]) .search-combobox--header .-global-search-icon.-active{padding-right:.5rem}:host([dir=rtl]) .search-combobox--header .-global-search-icon.-active,:root[dir=rtl] .search-combobox--header .-global-search-icon.-active{padding-left:.5rem}.search-combobox--header .cancel-icon{color:var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28))}.search-combobox--header .input-container__global-cancel-icon{background:transparent;border:none;border-radius:100%;color:RGB(var(--unified_nav-input--color,var(--now-color--neutral-0,255,255,255)));cursor:pointer;height:2rem;outline:none;width:2rem}.search-combobox--header .input-container__global-cancel-icon:focus,.search-combobox--header .input-container__global-cancel-icon:hover{background-color:RGB(var(--now-color_background--tertiary,var(--now-color--neutral-2,228,230,231)));border-color:RGB(var(--now-color--neutral-7,135,147,148))}.search-combobox--header .input-container__global-cancel-icon.can-animate{transition:background-color RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)));transition:opacity var(--now-opacity--least,.1)}.search-combobox--header .input-container__global-cancel-icon now-icon[icon=filter-outline]{background:RGB(var(--now-color_background--tertiary,var(--now-color--neutral-2,228,230,231)));border:RGB(var(--now-color--neutral-7,135,147,148));margin-block-start:-.5rem;position:absolute;top:40%}:host(:not([dir=rtl])) .search-combobox--header .input-container__global-cancel-icon now-icon[icon=filter-outline],:root:not([dir=rtl]) .search-combobox--header .input-container__global-cancel-icon now-icon[icon=filter-outline]{left:.75rem}:host([dir=rtl]) .search-combobox--header .input-container__global-cancel-icon now-icon[icon=filter-outline],:root[dir=rtl] .search-combobox--header .input-container__global-cancel-icon now-icon[icon=filter-outline]{right:.75rem}:host(:not([dir=rtl])) .search-combobox--header .context-dropdown-container,:root:not([dir=rtl]) .search-combobox--header .context-dropdown-container{border-left:1px solid RGB(var(--unified_nav-input--border-color,var(--now-color_chrome--divider-1,144,155,156)))}:host([dir=rtl]) .search-combobox--header .context-dropdown-container,:root[dir=rtl] .search-combobox--header .context-dropdown-container{border-right:1px solid RGB(var(--unified_nav-input--border-color,var(--now-color_chrome--divider-1,144,155,156)))}.search-combobox--header .context-dropdown-container:hover{background-color:RGB(var(--unified_nav-input--background-color--hover,var(--now-color_chrome--brand-3,114,128,129)))}.search-combobox--header .context-dropdown-container .dropdown-search-context{align-items:center;background-color:inherit;color:RGB(var(--unified_nav-input--color,var(--now-color--neutral-0,255,255,255)));justify-content:center}.search-combobox--header .context-dropdown-container .dropdown-search-context-active{color:RGB(var(--unified_nav-input--color--opened,var(--now-color--neutral-18,22,27,28)))}.search-combobox--header .search-popover{border:1px solid RGB(var(--now-color_divider--tertiary,var(--now-color--neutral-3,209,214,214)));border-top:none;box-shadow:0 .5rem .75rem 0 RGB(56,56,56,var(--now-opacity--less,.25));padding-bottom:.5rem;padding-top:.5rem}:host(:not([dir=rtl])) .search-combobox--header .search-popover,:root:not([dir=rtl]) .search-combobox--header .search-popover{padding-left:0}:host([dir=rtl]) .search-combobox--header .search-popover,:root[dir=rtl] .search-combobox--header .search-popover{padding-right:0}:host(:not([dir=rtl])) .search-combobox--header .search-popover,:root:not([dir=rtl]) .search-combobox--header .search-popover{padding-right:0}:host([dir=rtl]) .search-combobox--header .search-popover,:root[dir=rtl] .search-combobox--header .search-popover{padding-left:0}.search-combobox--header .search-popover__item{padding-bottom:.125rem;padding-top:0}:host(:not([dir=rtl])) .search-combobox--header .search-popover__item,:root:not([dir=rtl]) .search-combobox--header .search-popover__item{padding-left:1rem}:host([dir=rtl]) .search-combobox--header .search-popover__item,:root[dir=rtl] .search-combobox--header .search-popover__item{padding-right:1rem}:host(:not([dir=rtl])) .search-combobox--header .search-popover__item,:root:not([dir=rtl]) .search-combobox--header .search-popover__item{padding-right:.5rem}:host([dir=rtl]) .search-combobox--header .search-popover__item,:root[dir=rtl] .search-combobox--header .search-popover__item{padding-left:.5rem}.search-combobox--header .search-popover__item.-search-popover__item--is-active:hover{background-color:RGB(var(--now-color--primary-0,221,237,233))}.search-combobox--header .search-popover__section-header{display:block;padding-bottom:.125rem;padding-top:1rem}:host(:not([dir=rtl])) .search-combobox--header .search-popover__section-header,:root:not([dir=rtl]) .search-combobox--header .search-popover__section-header{padding-left:1rem}:host([dir=rtl]) .search-combobox--header .search-popover__section-header,:root[dir=rtl] .search-combobox--header .search-popover__section-header{padding-right:1rem}:host(:not([dir=rtl])) .search-combobox--header .search-popover__section-header,:root:not([dir=rtl]) .search-combobox--header .search-popover__section-header{padding-right:.5rem}:host([dir=rtl]) .search-combobox--header .search-popover__section-header,:root[dir=rtl] .search-combobox--header .search-popover__section-header{padding-left:.5rem}.search-combobox--header .search-popover__item-button{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}:host(:not([dir=rtl])) .search-combobox--header .search-popover__item-button,:root:not([dir=rtl]) .search-combobox--header .search-popover__item-button{padding-left:.75rem}:host([dir=rtl]) .search-combobox--header .search-popover__item-button,:root[dir=rtl] .search-combobox--header .search-popover__item-button{padding-right:.75rem}.search-combobox--header .search-popover.-global{border:1px solid RGB(var(--now-color_border--tertiary,var(--now-color--neutral-3,209,214,214)));border-radius:.25rem;box-shadow:0 .25rem .5rem 0 RGB(56,56,56,var(--now-opacity--less,.25));margin-top:.125rem;max-height:24.75rem;padding-top:1rem;width:22.25rem;z-index:999}.search-combobox--header .search-popover__section-header.-global{color:RGB(var(--now-color--primary-2,23,100,82));padding-bottom:.5rem;padding-top:0!important}.search-combobox--header .section-divider-global{border-top:1px;border-color:var(--now-color_divider--tertiary,var(--now-color--neutral-3,209,214,214));margin-bottom:.75rem}.search-combobox--header .search-popover__item.-is-active-global:focus,.search-combobox--header .search-popover__item.-is-active-global:hover{background-color:RGB(var(--now-color--primary-1,30,133,109),var(--now-opacity--least,.1))}.search-combobox--header .search-popover__item-sign-in-notice,.search-combobox--header .search-popover__item-view-all{cursor:pointer;display:flex;padding-bottom:var(--footer-padding);padding-top:var(--footer-padding)}:host(:not([dir=rtl])) .search-combobox--header .search-popover__item-sign-in-notice,:host(:not([dir=rtl])) .search-combobox--header .search-popover__item-view-all,:root:not([dir=rtl]) .search-combobox--header .search-popover__item-sign-in-notice,:root:not([dir=rtl]) .search-combobox--header .search-popover__item-view-all{padding-left:1rem}:host([dir=rtl]) .search-combobox--header .search-popover__item-sign-in-notice,:host([dir=rtl]) .search-combobox--header .search-popover__item-view-all,:root[dir=rtl] .search-combobox--header .search-popover__item-sign-in-notice,:root[dir=rtl] .search-combobox--header .search-popover__item-view-all{padding-right:1rem}:host(:not([dir=rtl])) .search-combobox--header .search-popover__item-sign-in-notice,:host(:not([dir=rtl])) .search-combobox--header .search-popover__item-view-all,:root:not([dir=rtl]) .search-combobox--header .search-popover__item-sign-in-notice,:root:not([dir=rtl]) .search-combobox--header .search-popover__item-view-all{padding-right:1rem}:host([dir=rtl]) .search-combobox--header .search-popover__item-sign-in-notice,:host([dir=rtl]) .search-combobox--header .search-popover__item-view-all,:root[dir=rtl] .search-combobox--header .search-popover__item-sign-in-notice,:root[dir=rtl] .search-combobox--header .search-popover__item-view-all{padding-left:1rem}.search-combobox--header .search-popover__item-sign-in-notice:hover,.search-combobox--header .search-popover__item-view-all:hover{background-color:var(--now-search-modal_hover,#bddee7)}.search-combobox--header .search-popover__item-sign-in-notice .view-all-arrow-icon,.search-combobox--header .search-popover__item-view-all .view-all-arrow-icon{display:none}:host([dir=rtl]) .search-combobox--header .search-popover__item-sign-in-notice .view-all-arrow-icon,:host([dir=rtl]) .search-combobox--header .search-popover__item-view-all .view-all-arrow-icon,:root[dir=rtl] .search-combobox--header .search-popover__item-sign-in-notice .view-all-arrow-icon,:root[dir=rtl] .search-combobox--header .search-popover__item-view-all .view-all-arrow-icon{transform:scaleX(-1)}.search-combobox--header .search-popover__item-text-link{-webkit-line-clamp:1;-webkit-box-orient:vertical;align-items:var(--align-footer-content);color:#02506b;display:flex;display:-webkit-box;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:1rem;font-style:normal;font-weight:450;justify-content:var(--align-footer-content);line-height:normal;overflow:hidden;text-align:var(--align-footer-content);text-overflow:ellipsis;width:100%}.search-combobox--header .search-popover__item-sign-in-notice{cursor:auto}.search-combobox--header .search-popover__item-sign-in-notice:hover{background-color:transparent}.search-combobox--header .search-popover__item-sign-in-notice .search-popover__item-text-link{color:#007393;cursor:pointer;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-weight:300;text-decoration:underline;text-decoration-skip-ink:none;text-decoration-style:solid;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.search-combobox--header .search-popover__item-metadata-global{align-items:center;display:flex;flex:auto;overflow:hidden}:host(:not([dir=rtl])) .search-combobox--header .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item,:root:not([dir=rtl]) .search-combobox--header .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item{margin-right:.5rem}:host([dir=rtl]) .search-combobox--header .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item,:root[dir=rtl] .search-combobox--header .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item{margin-left:.5rem}.search-combobox--header .search-popover__item-primary-text.-global{font-size:1rem}:host(:not([dir=rtl])) .search-combobox--header .search-popover__item-primary-text.-global,:root:not([dir=rtl]) .search-combobox--header .search-popover__item-primary-text.-global{margin-left:.5rem}:host([dir=rtl]) .search-combobox--header .search-popover__item-primary-text.-global,:root[dir=rtl] .search-combobox--header .search-popover__item-primary-text.-global{margin-right:.5rem}.search-combobox--header .search-popover__item-primary-text.-global .search-popover__item--content-container{width:100%}.search-combobox--header .search-popover__item-primary-text.-global p{display:block}.search-combobox--header .search-popover__item-sign-in-notice{border-top:var(--sn-cx-search-input--popover-item-sign-in-notice-border_top,1px solid #e3e3e3);padding-bottom:.75rem;padding-top:.75rem}.search-combobox--header .search-popover__item-sign-in-notice .search-popover__item-text-link{width:auto}.search-combobox--header .search-popover__item-sign-in-notice .search-popover__item-sign-in-notice-text{color:#1d1d1d;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:1rem;font-style:normal;font-weight:300;line-height:1.5rem}@media(forced-colors:active){.search-combobox--header .search-popover__item-text-link{padding:.125rem 0}.search-combobox--header .search-popover__item.-is-active-global:hover{background-color:highlight}.search-combobox--header .search-popover__item.-is-active-global:hover .search-popover__item-metadata-global{border:.1px solid transparent;forced-color-adjust:none}.search-combobox--header .search-popover__item.-is-active-global:hover now-icon.search-popover__item-icon{color:highlighttext}}:host(:not([dir=rtl])) .search-combobox--body .input-container__button-icon:first-of-type,:root:not([dir=rtl]) .search-combobox--body .input-container__button-icon:first-of-type{padding-left:.5rem}:host([dir=rtl]) .search-combobox--body .input-container__button-icon:first-of-type,:root[dir=rtl] .search-combobox--body .input-container__button-icon:first-of-type{padding-right:.5rem}:host(:not([dir=rtl])) .search-combobox--body .input-container__button-icon:first-of-type,:root:not([dir=rtl]) .search-combobox--body .input-container__button-icon:first-of-type{padding-right:1rem}:host([dir=rtl]) .search-combobox--body .input-container__button-icon:first-of-type,:root[dir=rtl] .search-combobox--body .input-container__button-icon:first-of-type{padding-left:1rem}:host(:not([dir=rtl])) .search-combobox--body .input-container__button-icon:nth-of-type(2),:root:not([dir=rtl]) .search-combobox--body .input-container__button-icon:nth-of-type(2){padding-right:.25rem}:host([dir=rtl]) .search-combobox--body .input-container__button-icon:nth-of-type(2),:root[dir=rtl] .search-combobox--body .input-container__button-icon:nth-of-type(2){padding-left:.25rem}:host(:not([dir=rtl])) .search-combobox--body .input-container-search-icon-global:first-of-type,:root:not([dir=rtl]) .search-combobox--body .input-container-search-icon-global:first-of-type{padding-left:0}:host([dir=rtl]) .search-combobox--body .input-container-search-icon-global:first-of-type,:root[dir=rtl] .search-combobox--body .input-container-search-icon-global:first-of-type{padding-right:0}:host(:not([dir=rtl])) .search-combobox--body .input-container-search-icon-global:first-of-type,:root:not([dir=rtl]) .search-combobox--body .input-container-search-icon-global:first-of-type{padding-right:0}:host([dir=rtl]) .search-combobox--body .input-container-search-icon-global:first-of-type,:root[dir=rtl] .search-combobox--body .input-container-search-icon-global:first-of-type{padding-left:0}.search-combobox--body .input-container__button-icon.input-container__icon--cancel{--now-button--bare_primary--border-radius:99999px}.search-combobox--body .input-container__button-icon.input-container__icon--cancel .cancel-icon{line-height:0;padding-left:.3125rem;padding-right:.3125rem}.search-combobox--body .search-popover{padding-bottom:.5rem;padding-top:0}:host(:not([dir=rtl])) .search-combobox--body .search-popover,:root:not([dir=rtl]) .search-combobox--body .search-popover{padding-left:0}:host([dir=rtl]) .search-combobox--body .search-popover,:root[dir=rtl] .search-combobox--body .search-popover{padding-right:0}:host(:not([dir=rtl])) .search-combobox--body .search-popover,:root:not([dir=rtl]) .search-combobox--body .search-popover{padding-right:0}:host([dir=rtl]) .search-combobox--body .search-popover,:root[dir=rtl] .search-combobox--body .search-popover{padding-left:0}.search-combobox--body .search-popover ul:first-of-type{padding-top:.5rem}.search-combobox--body .search-popover ul:not(:last-child){padding-bottom:.5rem}.search-combobox--body .search-popover__item{padding-bottom:.75rem;padding-top:.75rem}:host(:not([dir=rtl])) .search-combobox--body .search-popover__item,:root:not([dir=rtl]) .search-combobox--body .search-popover__item{padding-left:1rem}:host([dir=rtl]) .search-combobox--body .search-popover__item,:root[dir=rtl] .search-combobox--body .search-popover__item{padding-right:1rem}:host(:not([dir=rtl])) .search-combobox--body .search-popover__item,:root:not([dir=rtl]) .search-combobox--body .search-popover__item{padding-right:1rem}:host([dir=rtl]) .search-combobox--body .search-popover__item,:root[dir=rtl] .search-combobox--body .search-popover__item{padding-left:1rem}.search-combobox--body .search-popover__section-header{display:block;padding-bottom:.75rem;padding-top:.75rem}:host(:not([dir=rtl])) .search-combobox--body .search-popover__section-header,:root:not([dir=rtl]) .search-combobox--body .search-popover__section-header{padding-left:1rem}:host([dir=rtl]) .search-combobox--body .search-popover__section-header,:root[dir=rtl] .search-combobox--body .search-popover__section-header{padding-right:1rem}:host(:not([dir=rtl])) .search-combobox--body .search-popover__section-header,:root:not([dir=rtl]) .search-combobox--body .search-popover__section-header{padding-right:1rem}:host([dir=rtl]) .search-combobox--body .search-popover__section-header,:root[dir=rtl] .search-combobox--body .search-popover__section-header{padding-left:1rem}.search-combobox--body .search-popover__section-header:first-child{padding-top:0}.search-combobox--body .search-popover__item-view-all.search-popover__item-sign-in-notice-added{padding-bottom:.75rem;padding-top:.75rem}.search-combobox--body .search-popover.-global{border:1px solid RGB(var(--now-color_border--tertiary,var(--now-color--neutral-3,209,214,214)));border-radius:.25rem;box-shadow:0 .25rem .5rem 0 RGB(56,56,56,var(--now-opacity--less,.25));margin-top:.125rem;max-height:24.75rem;padding-top:1rem;width:22.25rem;z-index:999}.search-combobox--body .search-popover__section-header.-global{color:RGB(var(--now-color--primary-2,23,100,82));padding-bottom:.5rem;padding-top:0!important}.search-combobox--body .section-divider-global{border-top:1px;border-color:var(--now-color_divider--tertiary,var(--now-color--neutral-3,209,214,214));margin-bottom:.75rem}.search-combobox--body .search-popover__item.-is-active-global:focus,.search-combobox--body .search-popover__item.-is-active-global:hover{background-color:RGB(var(--now-color--primary-1,30,133,109),var(--now-opacity--least,.1))}.search-combobox--body .search-popover__item-sign-in-notice,.search-combobox--body .search-popover__item-view-all{cursor:pointer;display:flex;padding-bottom:var(--footer-padding);padding-top:var(--footer-padding)}:host(:not([dir=rtl])) .search-combobox--body .search-popover__item-sign-in-notice,:host(:not([dir=rtl])) .search-combobox--body .search-popover__item-view-all,:root:not([dir=rtl]) .search-combobox--body .search-popover__item-sign-in-notice,:root:not([dir=rtl]) .search-combobox--body .search-popover__item-view-all{padding-left:1rem}:host([dir=rtl]) .search-combobox--body .search-popover__item-sign-in-notice,:host([dir=rtl]) .search-combobox--body .search-popover__item-view-all,:root[dir=rtl] .search-combobox--body .search-popover__item-sign-in-notice,:root[dir=rtl] .search-combobox--body .search-popover__item-view-all{padding-right:1rem}:host(:not([dir=rtl])) .search-combobox--body .search-popover__item-sign-in-notice,:host(:not([dir=rtl])) .search-combobox--body .search-popover__item-view-all,:root:not([dir=rtl]) .search-combobox--body .search-popover__item-sign-in-notice,:root:not([dir=rtl]) .search-combobox--body .search-popover__item-view-all{padding-right:1rem}:host([dir=rtl]) .search-combobox--body .search-popover__item-sign-in-notice,:host([dir=rtl]) .search-combobox--body .search-popover__item-view-all,:root[dir=rtl] .search-combobox--body .search-popover__item-sign-in-notice,:root[dir=rtl] .search-combobox--body .search-popover__item-view-all{padding-left:1rem}.search-combobox--body .search-popover__item-sign-in-notice:hover,.search-combobox--body .search-popover__item-view-all:hover{background-color:var(--now-search-modal_hover,#bddee7)}.search-combobox--body .search-popover__item-sign-in-notice .view-all-arrow-icon,.search-combobox--body .search-popover__item-view-all .view-all-arrow-icon{display:none}:host([dir=rtl]) .search-combobox--body .search-popover__item-sign-in-notice .view-all-arrow-icon,:host([dir=rtl]) .search-combobox--body .search-popover__item-view-all .view-all-arrow-icon,:root[dir=rtl] .search-combobox--body .search-popover__item-sign-in-notice .view-all-arrow-icon,:root[dir=rtl] .search-combobox--body .search-popover__item-view-all .view-all-arrow-icon{transform:scaleX(-1)}.search-combobox--body .search-popover__item-text-link{-webkit-line-clamp:1;-webkit-box-orient:vertical;align-items:var(--align-footer-content);color:#02506b;display:flex;display:-webkit-box;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:1rem;font-style:normal;font-weight:450;justify-content:var(--align-footer-content);line-height:normal;overflow:hidden;text-align:var(--align-footer-content);text-overflow:ellipsis;width:100%}.search-combobox--body .search-popover__item-sign-in-notice{cursor:auto}.search-combobox--body .search-popover__item-sign-in-notice:hover{background-color:transparent}.search-combobox--body .search-popover__item-sign-in-notice .search-popover__item-text-link{color:#007393;cursor:pointer;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-weight:300;text-decoration:underline;text-decoration-skip-ink:none;text-decoration-style:solid;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.search-combobox--body .search-popover__item-metadata-global{align-items:center;display:flex;flex:auto;overflow:hidden}:host(:not([dir=rtl])) .search-combobox--body .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item,:root:not([dir=rtl]) .search-combobox--body .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item{margin-right:.5rem}:host([dir=rtl]) .search-combobox--body .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item,:root[dir=rtl] .search-combobox--body .search-popover__item-metadata-global.search-popover__item-metadata-global-stacked-item{margin-left:.5rem}.search-combobox--body .search-popover__item-primary-text.-global{font-size:1rem}:host(:not([dir=rtl])) .search-combobox--body .search-popover__item-primary-text.-global,:root:not([dir=rtl]) .search-combobox--body .search-popover__item-primary-text.-global{margin-left:.5rem}:host([dir=rtl]) .search-combobox--body .search-popover__item-primary-text.-global,:root[dir=rtl] .search-combobox--body .search-popover__item-primary-text.-global{margin-right:.5rem}.search-combobox--body .search-popover__item-primary-text.-global .search-popover__item--content-container{width:100%}.search-combobox--body .search-popover__item-primary-text.-global p{display:block}.search-combobox--body .search-popover__item-sign-in-notice{border-top:var(--sn-cx-search-input--popover-item-sign-in-notice-border_top,1px solid #e3e3e3);padding-bottom:.75rem;padding-top:.75rem}.search-combobox--body .search-popover__item-sign-in-notice .search-popover__item-text-link{width:auto}.search-combobox--body .search-popover__item-sign-in-notice .search-popover__item-sign-in-notice-text{color:#1d1d1d;font-family:var(--now-font-family-sn-sans,\\\"ServiceNow Sans\\\",system-ui,-apple-system,\\\"Segoe UI\\\",Roboto,Arial,sans-serif);font-size:1rem;font-style:normal;font-weight:300;line-height:1.5rem}@media(forced-colors:active){.search-combobox--body .search-popover__item-text-link{padding:.125rem 0}.search-combobox--body .search-popover__item.-is-active-global:hover{background-color:highlight}.search-combobox--body .search-popover__item.-is-active-global:hover .search-popover__item-metadata-global{border:.1px solid transparent;forced-color-adjust:none}.search-combobox--body .search-popover__item.-is-active-global:hover now-icon.search-popover__item-icon{color:highlighttext}}now-template-message-empty-state{--now-template-message-empty-state_heading--header--font-family:var( --now-font-family-gilroy );--now-template-message-empty-state_content--font-family:var( --now-font-family-gilroy );margin:.5rem 0}.attached-to-navigation now-button-iconic{--now-button-iconic--bare_tertiary--color:var(--sn-cx-search-input--attached-input-color,var(--now-color--neutral-0,255,255,255))}.attached-to-navigation now-template-message-empty-state{--now-template-message-empty-state_heading--color:var(--sn-cx-search-input-combobox-empty-state--color,var(--now-color--neutral-0,255,255,255));--now-template-message-empty-state_content--color:var(--sn-cx-search-input-combobox-empty-state--color,var(--now-color--neutral-0,255,255,255))}.attached-to-element .search-combobox{gap:var(--search-attach-element-combobox--gap,.5rem)}.attached-to-element.unauth .search-combobox{gap:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.now-line-height-crop{display:block}.now-line-height-crop:after,.now-line-height-crop:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1)}.now-line-height-crop:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1)}.now-line-height-crop+.now-line-height-crop{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1*-1)}.now-line-height-crop--sm{display:block}.now-line-height-crop--sm:after,.now-line-height-crop--sm:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop--sm:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1.06664)}.now-line-height-crop--sm:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1.06664)}.now-line-height-crop--sm+.now-line-height-crop--sm{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1.06664*-1)}.now-heading--lg,.now-heading--md,.now-heading--xl{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-weight:600}.now-heading--md{font-size:var(--now-font-size--md1,1rem)}.now-heading--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-heading--xl{font-size:var(--now-font-size--xl,2.5rem)}.now-text--normal{font-weight:400}.now-text--semibold{font-weight:600}.now-text--bold{font-weight:700}.now-text--sm{font-size:var(--now-font-size--sm,.75rem)}.now-text--md{font-size:var(--now-font-size--md1,1rem)}.now-text--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-text--primary{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}.now-text--secondary{color:RGB(var(--now-color_text--secondary,var(--now-color--neutral-15,44,53,55)))}.now-text--tertiary{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}.now-m-block--xxs{margin-block-end:.125rem}.now-m-block--xxs,.now-m-block-start--xxs{margin-block-start:.125rem}.now-m-block-end--xxs{margin-block-end:.125rem}.now-m-inline--xxs{margin-inline-end:.125rem}.now-m-inline--xxs,.now-m-inline-start--xxs{margin-inline-start:.125rem}.now-m-inline-end--xxs{margin-inline-end:.125rem}.now-m-block--xs{margin-block-end:.25rem}.now-m-block--xs,.now-m-block-start--xs{margin-block-start:.25rem}.now-m-block-end--xs{margin-block-end:.25rem}.now-m-inline--xs{margin-inline-end:.25rem}.now-m-inline--xs,.now-m-inline-start--xs{margin-inline-start:.25rem}.now-m-inline-end--xs{margin-inline-end:.25rem}.now-m-block--sm{margin-block-end:.5rem}.now-m-block--sm,.now-m-block-start--sm{margin-block-start:.5rem}.now-m-block-end--sm{margin-block-end:.5rem}.now-m-inline--sm{margin-inline-end:.5rem}.now-m-inline--sm,.now-m-inline-start--sm{margin-inline-start:.5rem}.now-m-inline-end--sm{margin-inline-end:.5rem}.now-m-block--md{margin-block-end:.75rem}.now-m-block--md,.now-m-block-start--md{margin-block-start:.75rem}.now-m-block-end--md{margin-block-end:.75rem}.now-m-inline--md{margin-inline-end:.75rem}.now-m-inline--md,.now-m-inline-start--md{margin-inline-start:.75rem}.now-m-inline-end--md{margin-inline-end:.75rem}.now-m-block--lg{margin-block-end:1rem}.now-m-block--lg,.now-m-block-start--lg{margin-block-start:1rem}.now-m-block-end--lg{margin-block-end:1rem}.now-m-inline--lg{margin-inline-end:1rem}.now-m-inline--lg,.now-m-inline-start--lg{margin-inline-start:1rem}.now-m-inline-end--lg{margin-inline-end:1rem}.now-m-block--xl{margin-block-end:1.5rem}.now-m-block--xl,.now-m-block-start--xl{margin-block-start:1.5rem}.now-m-block-end--xl{margin-block-end:1.5rem}.now-m-inline--xl{margin-inline-end:1.5rem}.now-m-inline--xl,.now-m-inline-start--xl{margin-inline-start:1.5rem}.now-m-inline-end--xl{margin-inline-end:1.5rem}.now-m-block--xxl{margin-block-end:2rem}.now-m-block--xxl,.now-m-block-start--xxl{margin-block-start:2rem}.now-m-block-end--xxl{margin-block-end:2rem}.now-m-inline--xxl{margin-inline-end:2rem}.now-m-inline--xxl,.now-m-inline-start--xxl{margin-inline-start:2rem}.now-m-inline-end--xxl{margin-inline-end:2rem}.now-m-block--3xl{margin-block-end:2.5rem}.now-m-block--3xl,.now-m-block-start--3xl{margin-block-start:2.5rem}.now-m-block-end--3xl{margin-block-end:2.5rem}.now-m-inline--3xl{margin-inline-end:2.5rem}.now-m-inline--3xl,.now-m-inline-start--3xl{margin-inline-start:2.5rem}.now-m-inline-end--3xl{margin-inline-end:2.5rem}.now-m-block--0{margin-block-end:0}.now-m-block--0,.now-m-block-start--0{margin-block-start:0}.now-m-block-end--0{margin-block-end:0}.now-m-inline--0{margin-inline-end:0}.now-m-inline--0,.now-m-inline-start--0{margin-inline-start:0}.now-m-inline-end--0{margin-inline-end:0}.now-p-block--xxs{padding-block-end:.125rem}.now-p-block--xxs,.now-p-block-start--xxs{padding-block-start:.125rem}.now-p-block-end--xxs{padding-block-end:.125rem}.now-p-inline--xxs{padding-inline-end:.125rem}.now-p-inline--xxs,.now-p-inline-start--xxs{padding-inline-start:.125rem}.now-p-inline-end--xxs{padding-inline-end:.125rem}.now-p-block--xs{padding-block-end:.25rem}.now-p-block--xs,.now-p-block-start--xs{padding-block-start:.25rem}.now-p-block-end--xs{padding-block-end:.25rem}.now-p-inline--xs{padding-inline-end:.25rem}.now-p-inline--xs,.now-p-inline-start--xs{padding-inline-start:.25rem}.now-p-inline-end--xs{padding-inline-end:.25rem}.now-p-block--sm{padding-block-end:.5rem}.now-p-block--sm,.now-p-block-start--sm{padding-block-start:.5rem}.now-p-block-end--sm{padding-block-end:.5rem}.now-p-inline--sm{padding-inline-end:.5rem}.now-p-inline--sm,.now-p-inline-start--sm{padding-inline-start:.5rem}.now-p-inline-end--sm{padding-inline-end:.5rem}.now-p-block--md{padding-block-end:.75rem}.now-p-block--md,.now-p-block-start--md{padding-block-start:.75rem}.now-p-block-end--md{padding-block-end:.75rem}.now-p-inline--md{padding-inline-end:.75rem}.now-p-inline--md,.now-p-inline-start--md{padding-inline-start:.75rem}.now-p-inline-end--md{padding-inline-end:.75rem}.now-p-block--lg{padding-block-end:1rem}.now-p-block--lg,.now-p-block-start--lg{padding-block-start:1rem}.now-p-block-end--lg{padding-block-end:1rem}.now-p-inline--lg{padding-inline-end:1rem}.now-p-inline--lg,.now-p-inline-start--lg{padding-inline-start:1rem}.now-p-inline-end--lg{padding-inline-end:1rem}.now-p-block--xl{padding-block-end:1.5rem}.now-p-block--xl,.now-p-block-start--xl{padding-block-start:1.5rem}.now-p-block-end--xl{padding-block-end:1.5rem}.now-p-inline--xl{padding-inline-end:1.5rem}.now-p-inline--xl,.now-p-inline-start--xl{padding-inline-start:1.5rem}.now-p-inline-end--xl{padding-inline-end:1.5rem}.now-p-block--xxl{padding-block-end:2rem}.now-p-block--xxl,.now-p-block-start--xxl{padding-block-start:2rem}.now-p-block-end--xxl{padding-block-end:2rem}.now-p-inline--xxl{padding-inline-end:2rem}.now-p-inline--xxl,.now-p-inline-start--xxl{padding-inline-start:2rem}.now-p-inline-end--xxl{padding-inline-end:2rem}.now-p-block--3xl{padding-block-end:2.5rem}.now-p-block--3xl,.now-p-block-start--3xl{padding-block-start:2.5rem}.now-p-block-end--3xl{padding-block-end:2.5rem}.now-p-inline--3xl{padding-inline-end:2.5rem}.now-p-inline--3xl,.now-p-inline-start--3xl{padding-inline-start:2.5rem}.now-p-inline-end--3xl{padding-inline-end:2.5rem}.now-p-block--0{padding-block-end:0}.now-p-block--0,.now-p-block-start--0{padding-block-start:0}.now-p-block-end--0{padding-block-end:0}.now-p-inline--0{padding-inline-end:0}.now-p-inline--0,.now-p-inline-start--0{padding-inline-start:0}.now-p-inline-end--0{padding-inline-end:0}:host{display:block}.sn-cx-search-modal{align-items:flex-start;background-color:RGB(var(--search-modal_overlay--background-color,var(--now-color--neutral-21,0,0,0)),var(--search-modal_overlay--background-color-alpha,var(--now-opacity--mid,.5)));grid-template-columns:repeat(12,1fr);height:var(--search-modal_overlay--height,100vh);left:var(--search-modal_overlay-left,0);margin:0;max-height:0;max-width:100%;opacity:0;padding:0;position:fixed;top:var(--search-modal_overlay--top,0);transition:opacity .3s ease;visibility:hidden;width:var(--search-modal_overlay--width,100vw);z-index:var(--search-modal_overlay--z-index,4000)}@media(min-width:1024px){.sn-cx-search-modal{height:calc(var(--search-modal_overlay--height, 100vh) - var(--search-modal_overlay-lg--top, var(--search-modal_overlay--top, 0px)));top:var(--search-modal_overlay-lg--top,var(--search-modal_overlay--top,0))}}.sn-cx-search-modal .search-modal-content{background-color:RGB(var(--search-modal_content-background,var(--now-color--neutral-0,255,255,255)));border-radius:var(--search-modal-content--border_radius,var(--now-window--border-radius,.25rem));grid-column:3/span 8;margin-top:var(--sn-cx-search-modal--margin-top,3.75rem);padding:var(--search-modal_content-padding,.75rem)}.sn-cx-search-modal.-opened{display:grid;max-height:100%;opacity:1;visibility:visible}.sn-cx-search-modal .search-modal-header{align-items:center;display:none;justify-content:space-between;margin-bottom:var(--sn-cx-search-modal-attached-header--margin_bottom,1.5rem);padding:var(--sn-cx-search-modal-attached-dialog--padding_y,.5rem) var(--sn-cx-search-modal-attached-dialog--padding_x,.5rem)}.sn-cx-search-modal .search-modal-header h1{color:RGB(var(--sn-cx-search-modal-attached-header-title--color,var(--now-color--neutral-0,255,255,255)));font-family:var(--now-font-family-sn-sans);font-size:var(--sn-cx-search-modal-attached-header-title-sm--font-size,1.125rem);font-style:normal;font-weight:700;letter-spacing:-.3px;line-height:var(--sn-cx-search-modal-attached-header-title-sm--line_height,calc(var(--sn-cx-search-modal-attached-header-title-sm--font-size, 1.125rem)*1.1));text-align:center}@media(min-width:768px){.sn-cx-search-modal .search-modal-header h1{font-size:var(--sn-cx-search-modal-attached-header-title-md--font_size,1.25rem);line-height:var(--sn-cx-search-modal-attached-header-title-md--line_height,calc(var(--sn-cx-search-modal-attached-header-title-md--font_size, 1.25rem)*1.1))}}.sn-cx-search-modal.-attached-to-navigation{background-color:RGBA(var(--sn-cx-search-modal-attached-overlay--background_color,var(--sn-cx-search-modal--color-prirmary,18,77,107)),var(--sn-cx-search-modal-attached-overlay-background--opacity,.9))}.sn-cx-search-modal.-attached-to-navigation .search-modal-header{display:flex}@media(min-width:1024px){.sn-cx-search-modal.-attached-to-navigation .search-modal-header{display:none}}.sn-cx-search-modal.-attached-to-navigation.-opened{align-items:flex-start;display:flex}.sn-cx-search-modal.-attached-to-navigation .back-modal-button now-icon,.sn-cx-search-modal.-attached-to-navigation .close-modal-button now-icon{color:RGBA(var(--sn-cx-search-modal-attached-closed-icon-color,var(--now-color--neutral-0,255,255,255)),var(--sn-cx-search-modal-attached-closed-icon-color-alpha,1))}@media(max-width:1023px){.sn-cx-search-modal.-attached-to-navigation .close-modal-button{--now-button--bare_primary--background-color-alpha--hover:0;--now-button--bare_primary--background-color-alpha--active:0}}@media(min-width:1024px){.sn-cx-search-modal.-attached-to-navigation .close-modal-button{--now-button--bare_primary--border-radius:var(--sn-cx-search-modal-attached-border-radius,6249.9375rem);--now-button--scale-size-block:$search-modal-attached-closed-icon-size-block;bottom:var(--sn-cx-search-modal-attached-closed-icon-bottom,auto);inset-inline-end:var(--sn-cx-search-modal-attached-closed-icon-right,1rem);inset-inline-start:var(--sn-cx-search-modal-attached-closed-icon-left,auto);position:absolute;top:var(--sn-cx-search-modal-attached-closed-icon-top,1rem)}}.sn-cx-search-modal.-attached-to-navigation .search-modal-content{background:var(--search-modal-attached--background,radial-gradient(87.81% 80.71% at 100% 100%,rgba(98,216,78,.08) 0,rgba(35,194,206,.06) 60.96%,rgba(35,194,206,0) 100%) #032d42);border-radius:0;display:block;height:100vh;margin-top:0;overflow-y:auto;padding:var(--sn-cx-search-modal-attached-content--padding,1.5rem 1rem 2rem 1rem);width:100%}@media(min-width:576px){.sn-cx-search-modal.-attached-to-navigation .search-modal-content{padding:var(--sn-cx-search-modal-attached-content--padding,1.5rem 2rem 2.5rem 2rem)}}@media(min-width:1024px){.sn-cx-search-modal.-attached-to-navigation .search-modal-content{align-items:flex-start;box-shadow:var(--sn-cx-search-modal-attached-modal-content-box-shadow,0 .75rem 1rem 0 rgba(0,0,0,.2));display:grid;grid-template-columns:repeat(12,1fr);height:auto;max-height:calc(100vh - 128px);padding:var(--sn-cx-search-modal-attached-content-lg--padding,3rem 2rem 4rem 2rem)}}@media(min-width:1680px){.sn-cx-search-modal.-attached-to-navigation .search-modal-content{padding:var(--sn-cx-search-modal-attached-content-xxl--padding,4rem 2.5rem)}}.sn-cx-search-modal.-attached-to-navigation .search-modal-body{padding:0}@media(min-width:1024px){.sn-cx-search-modal.-attached-to-navigation .search-modal-body{grid-column:3/span 8}}.sn-cx-search-modal.-attached-to-navigation .close-icon{align-items:center;color:RGB(var(--sn-cx-search-modal-close-icon-lg-background-color,var(--now-color--neutral-0,255,255,255)));display:flex;justify-content:center}.sn-cx-search-modal.-attached-to-navigation .close-icon:hover{color:RGB(var(--sn-cx-search-modal-close-icon-lg-background-color-hover,219,219,219))}.sn-cx-search-modal.-attached-to-element{background:transparent;display:flex;padding:0}.sn-cx-search-modal.-attached-to-element .search-modal-content{--search-modal_content-border-radius:var(--search-modal-attached-to-element-modal_content--border_radius,0.5rem);border:1px solid #e3e3e3;border-radius:1.5rem;box-shadow:0 .5rem 1rem 0 rgba(56,56,56,.25);box-sizing:content-box;left:var(--search-modal-attached-to-element-modal_content-left,0);margin-top:0;padding:0;position:absolute;top:var(--search-modal-attached-to-element-modal_content-top,0);width:var(--search-modal-attached-to-element-modal_content-width,100%)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.now-line-height-crop{display:block}.now-line-height-crop:after,.now-line-height-crop:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1)}.now-line-height-crop:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1)}.now-line-height-crop+.now-line-height-crop{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1*-1)}.now-line-height-crop--sm{display:block}.now-line-height-crop--sm:after,.now-line-height-crop--sm:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop--sm:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1.06664)}.now-line-height-crop--sm:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1.06664)}.now-line-height-crop--sm+.now-line-height-crop--sm{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1.06664*-1)}.now-heading--lg,.now-heading--md,.now-heading--xl{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-weight:600}.now-heading--md{font-size:var(--now-font-size--md1,1rem)}.now-heading--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-heading--xl{font-size:var(--now-font-size--xl,2.5rem)}.now-text--normal{font-weight:400}.now-text--semibold{font-weight:600}.now-text--bold{font-weight:700}.now-text--sm{font-size:var(--now-font-size--sm,.75rem)}.now-text--md{font-size:var(--now-font-size--md1,1rem)}.now-text--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-text--primary{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}.now-text--secondary{color:RGB(var(--now-color_text--secondary,var(--now-color--neutral-15,44,53,55)))}.now-text--tertiary{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}.now-m-block--xxs{margin-block-end:.125rem}.now-m-block--xxs,.now-m-block-start--xxs{margin-block-start:.125rem}.now-m-block-end--xxs{margin-block-end:.125rem}.now-m-inline--xxs{margin-inline-end:.125rem}.now-m-inline--xxs,.now-m-inline-start--xxs{margin-inline-start:.125rem}.now-m-inline-end--xxs{margin-inline-end:.125rem}.now-m-block--xs{margin-block-end:.25rem}.now-m-block--xs,.now-m-block-start--xs{margin-block-start:.25rem}.now-m-block-end--xs{margin-block-end:.25rem}.now-m-inline--xs{margin-inline-end:.25rem}.now-m-inline--xs,.now-m-inline-start--xs{margin-inline-start:.25rem}.now-m-inline-end--xs{margin-inline-end:.25rem}.now-m-block--sm{margin-block-end:.5rem}.now-m-block--sm,.now-m-block-start--sm{margin-block-start:.5rem}.now-m-block-end--sm{margin-block-end:.5rem}.now-m-inline--sm{margin-inline-end:.5rem}.now-m-inline--sm,.now-m-inline-start--sm{margin-inline-start:.5rem}.now-m-inline-end--sm{margin-inline-end:.5rem}.now-m-block--md{margin-block-end:.75rem}.now-m-block--md,.now-m-block-start--md{margin-block-start:.75rem}.now-m-block-end--md{margin-block-end:.75rem}.now-m-inline--md{margin-inline-end:.75rem}.now-m-inline--md,.now-m-inline-start--md{margin-inline-start:.75rem}.now-m-inline-end--md{margin-inline-end:.75rem}.now-m-block--lg{margin-block-end:1rem}.now-m-block--lg,.now-m-block-start--lg{margin-block-start:1rem}.now-m-block-end--lg{margin-block-end:1rem}.now-m-inline--lg{margin-inline-end:1rem}.now-m-inline--lg,.now-m-inline-start--lg{margin-inline-start:1rem}.now-m-inline-end--lg{margin-inline-end:1rem}.now-m-block--xl{margin-block-end:1.5rem}.now-m-block--xl,.now-m-block-start--xl{margin-block-start:1.5rem}.now-m-block-end--xl{margin-block-end:1.5rem}.now-m-inline--xl{margin-inline-end:1.5rem}.now-m-inline--xl,.now-m-inline-start--xl{margin-inline-start:1.5rem}.now-m-inline-end--xl{margin-inline-end:1.5rem}.now-m-block--xxl{margin-block-end:2rem}.now-m-block--xxl,.now-m-block-start--xxl{margin-block-start:2rem}.now-m-block-end--xxl{margin-block-end:2rem}.now-m-inline--xxl{margin-inline-end:2rem}.now-m-inline--xxl,.now-m-inline-start--xxl{margin-inline-start:2rem}.now-m-inline-end--xxl{margin-inline-end:2rem}.now-m-block--3xl{margin-block-end:2.5rem}.now-m-block--3xl,.now-m-block-start--3xl{margin-block-start:2.5rem}.now-m-block-end--3xl{margin-block-end:2.5rem}.now-m-inline--3xl{margin-inline-end:2.5rem}.now-m-inline--3xl,.now-m-inline-start--3xl{margin-inline-start:2.5rem}.now-m-inline-end--3xl{margin-inline-end:2.5rem}.now-m-block--0{margin-block-end:0}.now-m-block--0,.now-m-block-start--0{margin-block-start:0}.now-m-block-end--0{margin-block-end:0}.now-m-inline--0{margin-inline-end:0}.now-m-inline--0,.now-m-inline-start--0{margin-inline-start:0}.now-m-inline-end--0{margin-inline-end:0}.now-p-block--xxs{padding-block-end:.125rem}.now-p-block--xxs,.now-p-block-start--xxs{padding-block-start:.125rem}.now-p-block-end--xxs{padding-block-end:.125rem}.now-p-inline--xxs{padding-inline-end:.125rem}.now-p-inline--xxs,.now-p-inline-start--xxs{padding-inline-start:.125rem}.now-p-inline-end--xxs{padding-inline-end:.125rem}.now-p-block--xs{padding-block-end:.25rem}.now-p-block--xs,.now-p-block-start--xs{padding-block-start:.25rem}.now-p-block-end--xs{padding-block-end:.25rem}.now-p-inline--xs{padding-inline-end:.25rem}.now-p-inline--xs,.now-p-inline-start--xs{padding-inline-start:.25rem}.now-p-inline-end--xs{padding-inline-end:.25rem}.now-p-block--sm{padding-block-end:.5rem}.now-p-block--sm,.now-p-block-start--sm{padding-block-start:.5rem}.now-p-block-end--sm{padding-block-end:.5rem}.now-p-inline--sm{padding-inline-end:.5rem}.now-p-inline--sm,.now-p-inline-start--sm{padding-inline-start:.5rem}.now-p-inline-end--sm{padding-inline-end:.5rem}.now-p-block--md{padding-block-end:.75rem}.now-p-block--md,.now-p-block-start--md{padding-block-start:.75rem}.now-p-block-end--md{padding-block-end:.75rem}.now-p-inline--md{padding-inline-end:.75rem}.now-p-inline--md,.now-p-inline-start--md{padding-inline-start:.75rem}.now-p-inline-end--md{padding-inline-end:.75rem}.now-p-block--lg{padding-block-end:1rem}.now-p-block--lg,.now-p-block-start--lg{padding-block-start:1rem}.now-p-block-end--lg{padding-block-end:1rem}.now-p-inline--lg{padding-inline-end:1rem}.now-p-inline--lg,.now-p-inline-start--lg{padding-inline-start:1rem}.now-p-inline-end--lg{padding-inline-end:1rem}.now-p-block--xl{padding-block-end:1.5rem}.now-p-block--xl,.now-p-block-start--xl{padding-block-start:1.5rem}.now-p-block-end--xl{padding-block-end:1.5rem}.now-p-inline--xl{padding-inline-end:1.5rem}.now-p-inline--xl,.now-p-inline-start--xl{padding-inline-start:1.5rem}.now-p-inline-end--xl{padding-inline-end:1.5rem}.now-p-block--xxl{padding-block-end:2rem}.now-p-block--xxl,.now-p-block-start--xxl{padding-block-start:2rem}.now-p-block-end--xxl{padding-block-end:2rem}.now-p-inline--xxl{padding-inline-end:2rem}.now-p-inline--xxl,.now-p-inline-start--xxl{padding-inline-start:2rem}.now-p-inline-end--xxl{padding-inline-end:2rem}.now-p-block--3xl{padding-block-end:2.5rem}.now-p-block--3xl,.now-p-block-start--3xl{padding-block-start:2.5rem}.now-p-block-end--3xl{padding-block-end:2.5rem}.now-p-inline--3xl{padding-inline-end:2.5rem}.now-p-inline--3xl,.now-p-inline-start--3xl{padding-inline-start:2.5rem}.now-p-inline-end--3xl{padding-inline-end:2.5rem}.now-p-block--0{padding-block-end:0}.now-p-block--0,.now-p-block-start--0{padding-block-start:0}.now-p-block-end--0{padding-block-end:0}.now-p-inline--0{padding-inline-end:0}.now-p-inline--0,.now-p-inline-start--0{padding-inline-start:0}.now-p-inline-end--0{padding-inline-end:0}.now-a11y-label{clip:rect(0 0 0 0);block-size:1px;border:none;clip-path:inset(50%);inline-size:1px;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap}:host{margin:0;padding:0}.sn-cx-sidepanel{bottom:0;font-family:var(--now-font-family-sn-sans);letter-spacing:normal;position:fixed;top:0;word-spacing:normal;z-index:var(--sn-cx-side-panel--z-index,4001)}:host(:not([dir=rtl])) .sn-cx-sidepanel,:root:not([dir=rtl]) .sn-cx-sidepanel{right:0}:host([dir=rtl]) .sn-cx-sidepanel,:root[dir=rtl] .sn-cx-sidepanel{left:0}:host(:not([dir=rtl])) .sn-cx-sidepanel,:root:not([dir=rtl]) .sn-cx-sidepanel{left:0}:host([dir=rtl]) .sn-cx-sidepanel,:root[dir=rtl] .sn-cx-sidepanel{right:0}:host(:not([dir=rtl])) .sn-cx-sidepanel,:root:not([dir=rtl]) .sn-cx-sidepanel{text-align:left}:host([dir=rtl]) .sn-cx-sidepanel,:root[dir=rtl] .sn-cx-sidepanel{text-align:right}.sn-cx-sidepanel:before{content:\\\"\\\";display:block;height:100%;position:relative;top:0;width:100%}:host(:not([dir=rtl])) .sn-cx-sidepanel:before,:root:not([dir=rtl]) .sn-cx-sidepanel:before{left:0}:host([dir=rtl]) .sn-cx-sidepanel:before,:root[dir=rtl] .sn-cx-sidepanel:before{right:0}.sn-cx-sidepanel.-backdrop:before{background-color:RGBA(var(--now-color--neutral-21,0,0,0),.16)}.sn-cx-sidepanel-overlay{background-color:RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255)));box-shadow:0 .5rem .75rem 0 RGB(56,56,56,var(--now-opacity--less,.25));height:100vh;overflow:auto;position:absolute}.sn-cx-sidepanel-overlay.-top{height:23.4375rem;max-height:80%;top:0;width:100vw}:host(:not([dir=rtl])) .sn-cx-sidepanel-overlay.-top,:root:not([dir=rtl]) .sn-cx-sidepanel-overlay.-top{left:0}:host([dir=rtl]) .sn-cx-sidepanel-overlay.-top,:root[dir=rtl] .sn-cx-sidepanel-overlay.-top{right:0}.sn-cx-sidepanel-overlay.-bottom{bottom:0;height:23.4375rem;max-height:80%;width:100vw}:host(:not([dir=rtl])) .sn-cx-sidepanel-overlay.-bottom,:root:not([dir=rtl]) .sn-cx-sidepanel-overlay.-bottom{left:0}:host([dir=rtl]) .sn-cx-sidepanel-overlay.-bottom,:root[dir=rtl] .sn-cx-sidepanel-overlay.-bottom{right:0}.sn-cx-sidepanel-overlay.-left{height:100vh;max-width:80%;top:0;width:23.4375rem}:host(:not([dir=rtl])) .sn-cx-sidepanel-overlay.-left,:root:not([dir=rtl]) .sn-cx-sidepanel-overlay.-left{left:0}:host([dir=rtl]) .sn-cx-sidepanel-overlay.-left,:root[dir=rtl] .sn-cx-sidepanel-overlay.-left{right:0}.sn-cx-sidepanel-overlay.-right{height:100vh;max-width:80%;top:0;width:23.4375rem}:host(:not([dir=rtl])) .sn-cx-sidepanel-overlay.-right,:root:not([dir=rtl]) .sn-cx-sidepanel-overlay.-right{right:0}:host([dir=rtl]) .sn-cx-sidepanel-overlay.-right,:root[dir=rtl] .sn-cx-sidepanel-overlay.-right{left:0}.sn-cx-sidepanel-overlay .sn-cx-sidepanel-overlay-panel{height:100%}.sn-cx-sidepanel-overlay .sn-cx-sidepanel-op-header{align-items:center;display:flex;height:4.0625rem;justify-content:space-between;padding:24px}.sn-cx-sidepanel-overlay .sn-cx-sidepanel-op-header .sn-cx-sidepanel-oph-title{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-size:1rem;margin:0;padding:0}.sn-cx-sidepanel-overlay .sn-cx-sidepanel-op-header .sn-cx-sidepanel-oph-heading{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-size:.875rem;font-style:normal;font-weight:450;letter-spacing:-.21px;line-height:normal;margin:0;padding:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./styles.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./styles.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./sn-cx-page.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","\n        var result = require(\"!!../../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./index.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./styles.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./sn-cx-side-panel.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","function _classCallCheck(a, n) {\n  if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n  for (var t = 0; t < r.length; t++) {\n    var o = r[t];\n    o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n  }\n}\nfunction _createClass(e, r, t) {\n  return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n    writable: !1\n  }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(e, r, t) {\n  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n    value: t,\n    enumerable: !0,\n    configurable: !0,\n    writable: !0\n  }) : e[r] = t, e;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _extends() {\n  return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n  if (\"object\" != _typeof(t) || !t) return t;\n  var e = t[Symbol.toPrimitive];\n  if (void 0 !== e) {\n    var i = e.call(t, r || \"default\");\n    if (\"object\" != _typeof(i)) return i;\n    throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n  }\n  return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n  var i = toPrimitive(t, \"string\");\n  return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n  \"@babel/helpers - typeof\";\n\n  return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n    return typeof o;\n  } : function (o) {\n    return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n  }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"actionTypes\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t\t} else if ('actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.actionTypes || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t}, [\"createCustomElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t\t} else if ('createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.createCustomElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t}, [\"declarativeOperations\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'declarativeOperations' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].declarativeOperations;\n\t\t\t\t\t} else if ('declarativeOperations' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.declarativeOperations || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].declarativeOperations;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"Fragment\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'Fragment' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].Fragment;\n\t\t\t\t\t} else if ('Fragment' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.Fragment || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].Fragment;\n\t\t\t\t}, [\"createElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t\t} else if ('createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.createElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t}, [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_media_query_28_4_1_index_jsdbx_6258a394__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"t\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.__esModule\n\t\t\t\t\tif (cjsModule && 't' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"].t;\n\t\t\t\t\t} else if ('t' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.t || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"].t;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_signals_19_1_0_index_jsdbx_e44c5c32__[\"default\"][\"default\"];\n\t\t\t\t} });","import GlideSignals from 'sn-signals';\nimport {t} from 'sn-translate';\n\nexport const GLOBAL_SEARCH_SOURCE = 'global';\n\nconst POPOVER_ITEM_TYPE = {\n\tQUERY_CONTENT: 'QUERY_CONTENT',\n\tRECENTLY_VIEWED: 'RECENTLY_VIEWED',\n\t//Recently Viewed results by user\n\tUSER_HISTORY_AND_CLICK: 'USER_HISTORY_AND_CLICK',\n\tEXACT_MATCH: 'EXACT_MATCH',\n\t// Recent queries by the user\n\tUSER_HISTORY: 'USER_HISTORY',\n\t// Recent clicked results by the user\n\tPERSONAL_CLICK: 'PERSONAL_CLICK',\n\tAUTOCOMPLETE: 'AUTOCOMPLETE',\n\tPOPULAR_QUERY: 'POPULAR_QUERY',\n\tNAVIGATION: 'NAVIGATION',\n\tSECTION_HEADER: 'SECTION_HEADER',\n\tUSER_SEARCH_TERM: 'USER_SEARCH_TERM',\n\tFOOTER: 'FOOTER' //for global search\n};\n\nconst EVENT_TYPE = {\n\tSEARCH_FROM_INPUT: 'SEARCH_FROM_INPUT',\n\tSEARCH_FROM_POPOVER: 'SEARCH_FROM_POPOVER',\n\tNAVIGATION: 'NAVIGATION'\n};\n\nconst UPDATE_ARIA_LIVE_TEXT_SOURCES = {\n\tCLEAR_RECENT_SEARCH_ITEM: 'CLEAR_RECENT_SEARCH_ITEM',\n\tRESULT_COUNT: 'RESULT_COUNT'\n};\n\nconst MAX_QUERY_LENGTH = 255; // characters\n\nconst SIZE = {\n\tSMALL: 'sm',\n\tLARGE: 'lg'\n};\n\nconst PLACEMENT = {\n\tBODY: 'body',\n\tHEADER: 'header'\n};\n\nconst AUTOCOMPLETE_QUERY_EVENT = 'AUTOCOMPLETE_QUERY_EVENT';\nconst INFO_EVENT = GlideSignals.priority.INFO;\nconst SEISMIC_OR_MOBILE_APPLICATION = 'SeismicOrMobileApplication';\n\nconst INPUT_DEBOUNCE_DELAY = 500; // milliseconds\nconst DEBOUNCE_MODIFIER = 'debounce';\nconst SUGGESTION_QUERY = `query($searchContextConfigId: String!, $term: String!, $locale: String){\n    GlideSearch_Query {\n        suggestions(searchContextConfigId: $searchContextConfigId, searchTerm: $term, locale: $locale) {\n            term\n            data {\n                name\n                records {\n                    type\n                    columns {\n                        label\n                        fieldName\n                        value\n                        displayValue\n                    }\n                }\n            }\n        }\n    }\n}`;\n\nconst CLEAR_SEARCH_FROM_HISTORY_MUTATION_QUERY = `mutation($searchContextConfigId: String!, $term: String!){\n    GlideSearch_Mutation {\n        clearSearchFromHistory(searchContextConfigId: $searchContextConfigId, searchTerm: $term) {\n            term\n        }\n    }\n}`;\n\nconst PERSONAL_CLICK_FIELDS = {\n\tTABLE: 'source_table',\n\tSYSID: 'result_doc_id',\n\tURL: 'source_url',\n\tLABEL: 'name',\n\tACTION_DATA: 'action_data'\n};\nconst EXACT_MATCH_FIELDS = {\n\tTABLE: 'source_table_name',\n\tSYSID: 'sysID',\n\tRECORD_URL: 'record_url',\n\tNUMBER: 'number',\n\tDOCUMENT_TYPE_ID: 'document_type_id'\n};\n\nconst QUERY_CONTENT_FIELDS = {\n\tTABLE: 'table',\n\tSYSID: 'sys_id',\n\tRECORD_URL: 'url',\n\tPARENT_TABLE: 'parent_table',\n\tPARENT_RECORD_SYSID: 'parent_sys_id'\n};\n\nconst SR_LABELS = {\n\tCLEARED_RECENT_SEARCH_ITEM: t('cleared recent search term'),\n\tEXACT_MATCH_FOUND: t('exact match found')\n};\n\nconst LABELS = {\n\tCLEAR_SEARCH: t('Clear search term'),\n\tSUBMIT_SEARCH: t('Submit search'),\n\tCLEAR_RECENT_SEARCH: t('Clear recent search'),\n\tCANCEL_SEARCH: t('Cancel search'),\n\tLOADING_LABEL: t('Checking for suggestions...'),\n\tSHOW_SEARCH_PANEL: t('show search panel')\n};\n\nconst KEYCODE = {\n\tENTER: 'Enter',\n\tSPACE: 'Space'\n};\n\nconst KEYBOARD_NAVIGATION = {\n\tUP: 'UP',\n\tDOWN: 'DOWN',\n\tRIGHT: 'RIGHT',\n\tLEFT: 'LEFT'\n};\n\nconst RECENT_SEARCH_SECTION_HEADER = t('Recent Searches');\n\nconst SEARCH_CONTEXT_TRIGGER_LABEL = t('Choose search context');\nconst PANEL_DROPDOWN = t('Dropdown');\nconst DROPDOWN_POSITION = ['bottom-end top-end'];\nconst CONTEXT_SWITCH_TOP_OFFSET = 2;\nconst WINDOW_SIZE = {\n\tEXPANDED: 'expanded',\n\tCOLLAPSED: 'collapsed',\n\tMOBILE: 'mobile'\n};\nconst GLOBAL_SEARCH_MOBILE_CONTEXT_CONSTRAIN_WIDTH = {\n\tminWidth: 'target',\n\tmaxWidth: 244\n};\n\nconst GLOBAL_SEARCH_DROPDOWN_WIDTH = 320;\nconst GLOBAL_RECENT_SEARCH_SECTION_HEADER = t('RECENTLY SEARCHED');\n\nconst GLOBAL_SEARCH_WIDTH = '356px';\nconst DEFAULT_PLACEHODLER = t('Search');\nconst GLOBAL_SEARCH_MOBILE_WIDTH = '300px';\n\nconst DEFAULT_EXACT_MATCH_REGEX = '^\\\\s*[a-zA-Z]+\\\\d+\\\\s*$';\n\nexport const ICON_SOURCE_MAP = new Map([\n\t['now-support', 'document-outline'],\n\t['now-learning', 'book-open-outline'],\n\t['servicenow-university', 'book-open-outline'],\n\t['partner-portal', 'document-outline'],\n\t['now-create', 'document-outline'],\n\t['developer-portal', 'code-outline'],\n\t['now-community-articles', 'ongoing-outline'],\n\t['now-community', 'ongoing-outline'],\n\t['prod-docs', 'book-outline'],\n\t['product-documentation', 'book-outline'],\n\t['customer-success', 'handshake-outline'],\n\t['customer-success-center', 'handshake-outline'],\n\t['best-practices', 'lightbulb-outline'],\n\t['servicenow', 'globe-outline'],\n\t['servicenow.com', 'globe-outline'],\n\t['dotcom-gsdr', 'globe-outline']\n]);\n\nconst ICON_TYPE = new Map([\n\t['incident', 'circle-exclamation-outline'],\n\t['sc_cat_item', 'book-outline'],\n\t['kb_knowledge', 'document_outline'],\n\t['change_request', 'arrow-up-down-outline'],\n\t['sys_user_group', 'user-group-outline'],\n\t['sys_user', 'user-outline'],\n\t['problem', 'triangle-exclamation-outline'],\n\t['task', 'circle-exclamation-outline']\n]);\n\nconst EXACT_MATCH_REGEX_SYS_PROPERTY =\n\t'com.snc.agent_workspace.global_search.typeahead.exact_match_request_criterion_regex';\n\nconst EXACT_MATCH_SECTION_HEADER = t('EXACT MATCH');\n\nconst SYS_ATTACHMENT = 'sys_attachment';\n\nconst ATTACHMENT_LABEL = 'Attachment';\n\nconst EXACT_MATCH_CONFIG_QUERY = `query($searchContextConfigId: String!){\n    GlideRecord_Query {\n      sys_search_context_config (sys_id: $searchContextConfigId) {\n        _results {\n          enable_exact_match{\n            value\n          }\n        }\n      }\n    }\n}`;\n\nconst DATABROKER_URI_QUERY = '/api/now/uxf/databroker/exec';\n\nconst EXACT_MATCH_QUERY_PATH = `result[0].executionResult.output`;\n\nconst CACHE_INPUT_SUGGESTION_PREFIX = 'search.input.suggestion.';\nconst CACHE_EXACT_MATCH_KEY = 'search.input.exactmatch';\n\nconst POPOVER_FOOTER_SIGN_IN = t(\n\t'sn_cx_shell_addon.search_popover_footer.sign_in'\n);\nconst POPOVER_FOOTER_SEARCH_EXPERIENCE = t(\n\t'sn_cx_shell_addon.search_popover_footer.search_experience'\n);\n\nconst ICON_SIZES = {\n\tSM: 'sm',\n\tMD: 'md',\n\tLG: 'lg',\n\tXL: 'xl'\n};\n\n/**\n * Object containing event names for Adobe Analytics purposes.\n */\nexport const ANALYTICS_EVENTS = {\n\t// Dispatched event name for Adobe Analytics in click event.\n\tCLICK: 'AA_TRACK#PAGE_ELEMENT_CLICKED',\n\n\t// Dispatched event name for Adobe Analytics in page load event. 22a13422c90b76c36f173f53a2858cf4\n\tPAGE_LOAD: 'AA_TRACK#PAGE_LOADED',\n\n\t// Dispatched event name for Adobe Analytics in content load event.\n\tIMPRESSION: 'AA_TRACK#PAGE_CONTENT_IMPRESSION'\n};\n\nexport {\n\tPOPOVER_ITEM_TYPE,\n\tDEBOUNCE_MODIFIER,\n\tINPUT_DEBOUNCE_DELAY,\n\tSUGGESTION_QUERY,\n\tCLEAR_SEARCH_FROM_HISTORY_MUTATION_QUERY,\n\tEVENT_TYPE,\n\tMAX_QUERY_LENGTH,\n\tSIZE,\n\tPLACEMENT,\n\tAUTOCOMPLETE_QUERY_EVENT,\n\tINFO_EVENT,\n\tSEISMIC_OR_MOBILE_APPLICATION,\n\tPERSONAL_CLICK_FIELDS,\n\tLABELS,\n\tKEYCODE,\n\tKEYBOARD_NAVIGATION,\n\tRECENT_SEARCH_SECTION_HEADER,\n\tDROPDOWN_POSITION,\n\tCONTEXT_SWITCH_TOP_OFFSET,\n\tWINDOW_SIZE,\n\tGLOBAL_SEARCH_MOBILE_CONTEXT_CONSTRAIN_WIDTH,\n\tSEARCH_CONTEXT_TRIGGER_LABEL,\n\tGLOBAL_RECENT_SEARCH_SECTION_HEADER,\n\tGLOBAL_SEARCH_WIDTH,\n\tDEFAULT_PLACEHODLER,\n\tDEFAULT_EXACT_MATCH_REGEX,\n\tEXACT_MATCH_FIELDS,\n\tQUERY_CONTENT_FIELDS,\n\tICON_TYPE,\n\tEXACT_MATCH_REGEX_SYS_PROPERTY,\n\tGLOBAL_SEARCH_MOBILE_WIDTH,\n\tEXACT_MATCH_SECTION_HEADER,\n\tGLOBAL_SEARCH_DROPDOWN_WIDTH,\n\tPANEL_DROPDOWN,\n\tSYS_ATTACHMENT,\n\tATTACHMENT_LABEL,\n\tUPDATE_ARIA_LIVE_TEXT_SOURCES,\n\tSR_LABELS,\n\tEXACT_MATCH_CONFIG_QUERY,\n\tEXACT_MATCH_QUERY_PATH,\n\tDATABROKER_URI_QUERY,\n\tCACHE_INPUT_SUGGESTION_PREFIX,\n\tCACHE_EXACT_MATCH_KEY,\n\tPOPOVER_FOOTER_SIGN_IN,\n\tPOPOVER_FOOTER_SEARCH_EXPERIENCE,\n\tICON_SIZES\n};\n","import GlideSignals from 'sn-signals';\nimport {SEISMIC_OR_MOBILE_APPLICATION} from '../constants';\n\nconst signalTracker = {\n\ttrackEvent(eventAction, eventPriority, eventModel) {\n\t\teventModel.applicationType = SEISMIC_OR_MOBILE_APPLICATION;\n\t\tGlideSignals.trackEvent(eventAction, eventPriority, eventModel);\n\t}\n};\n\nexport default signalTracker;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"cloneDeep\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'cloneDeep' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].cloneDeep;\n\t\t\t\t\t} else if ('cloneDeep' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.cloneDeep || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].cloneDeep;\n\t\t\t\t}, [\"filter\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'filter' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].filter;\n\t\t\t\t\t} else if ('filter' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.filter || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].filter;\n\t\t\t\t}, [\"get\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'get' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].get;\n\t\t\t\t\t} else if ('get' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.get || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].get;\n\t\t\t\t}, [\"isEmpty\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'isEmpty' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEmpty;\n\t\t\t\t\t} else if ('isEmpty' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.isEmpty || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEmpty;\n\t\t\t\t}, [\"isEqual\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'isEqual' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEqual;\n\t\t\t\t\t} else if ('isEqual' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.isEqual || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEqual;\n\t\t\t\t}, [\"lowerCase\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'lowerCase' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].lowerCase;\n\t\t\t\t\t} else if ('lowerCase' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.lowerCase || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].lowerCase;\n\t\t\t\t}, [\"throttle\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'throttle' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].throttle;\n\t\t\t\t\t} else if ('throttle' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.throttle || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].throttle;\n\t\t\t\t}, [\"upperFirst\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'upperFirst' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].upperFirst;\n\t\t\t\t\t} else if ('upperFirst' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.upperFirst || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].upperFirst;\n\t\t\t\t} });","// public actions exposed to external components\nexport const SEARCH_EXECUTED = 'SN_SEARCH_COMBOBOX#SEARCH_EXECUTED';\nexport const NAVIGATION_EXECUTED = 'SN_SEARCH_COMBOBOX#NAVIGATION_EXECUTED';\nexport const NAVIGATION_SUCCEEDED = 'SN_SEARCH_COMBOBOX#NAVIGATION_SUCCEEDED';\nexport const CONTEXT_CHANGED = 'SN_SEARCH_COMBOBOX#CONTEXT_CHANGED';\nexport const SEARCH_CLOSED = 'SN_CX_SEARCH_MODAL#SEARCH_CLOSED';\nexport const SEARCH_INITIATED = 'SN_CX_SEARCH_MODAL#SEARCH_INITIATED';\nexport const SIGNIN_BUTTON_CLICKED_INITIATED =\n\t'SN_SEARCH_COMBOBOX#SIGNIN_BUTTON_CLICKED';\n\n// private actions consumed within sn-search-combobox component\nexport const SEARCH_EXECUTED_INTERNAL = 'SEARCH_EXECUTED';\nexport const NAVIGATION_EXECUTED_INTERNAL = 'NAVIGATION_EXECUTED';\n\nexport const NAVIGATION_EXECUTED_UTIL =\n\t'SN_SEARCH_COMBOBOX#NAVIGATION_EXECUTED_UTIL';\nexport const NAVIGATION_EXECUTED_PUBLIC_UTIL =\n\t'SN_SEARCH_COMBOBOX#NAVIGATION_EXECUTE_PUBLIC_UTIL';\nexport const CONTEXT_CHANGED_INTERNAL = 'CONTEXT_CHANGED';\nexport const SEARCH_CLOSED_INTERNAL = 'SEARCH_CLOSED';\nexport const MOBILE_CANCEL_BUTTON_CLICKED = 'MOBILE_CANCEL_BUTTON_CLICKED';\nexport const NOW_BUTTON_BARE_CLICKED = 'NOW_BUTTON_BARE#CLICKED'; // nds action\nexport const NOW_BUTTON_ICONIC_CLICKED = 'NOW_BUTTON_ICONIC#CLICKED'; // nds action\nexport const NOW_TEXT_LINK_CLICKED = 'NOW_TEXT_LINK#CLICKED'; //nds action\nexport const HANDLE_TOOLTIP_ON_TRUNCATED_TEXT =\n\t'HANDLE_TOOLTIP_ON_TRUNCATED_TEXT';\n\n// SEARCH INPUT\nexport const INPUT_CHANGED = 'INPUT_CHANGED';\nexport const INPUT_FOCUSED_IN = 'INPUT_FOCUSED_IN';\nexport const INPUT_FOCUSED_OUT = 'INPUT_FOCUSED_OUT';\nexport const SHOW_POPOVER = 'SHOW_POPOVER';\nexport const HIDE_POPOVER = 'HIDE_POPOVER';\nexport const CONTEXT_DROPDOWN_FOCUSED = 'CONTEXT_DROPDOWN_FOCUSED';\n\n// POPOVER\nexport const ARROW_UP_PRESSED = 'ARROW_UP_PRESSED';\nexport const ARROW_DOWN_PRESSED = 'ARROW_DOWN_PRESSED';\nexport const ARROW_LEFT_PRESSED = 'ARROW_LEFT_PRESSED';\nexport const ARROW_RIGHT_PRESSED = 'ARROW_RIGHT_PRESSED';\nexport const MOUSE_OVERED = 'MOUSE_OVERED';\n\n// CLEARING SEARCH FROM USER HISTORY\nexport const CLEAR_SEARCH_SELECTED = 'CLEAR_SEARCH_SELECTED';\nexport const CLEAR_SEARCH_MUTATION = 'CLEAR_SEARCH_MUTATION';\nexport const CLEAR_SEARCH_MUTATION_SUCCEEDED =\n\t'CLEAR_SEARCH_MUTATION_SUCCEEDED';\nexport const CLEAR_SEARCH_MUTATION_FAILED = 'CLEAR_SEARCH_MUTATION_FAILED';\n\nexport const ITEM_SELECTED = 'ITEM_SELECTED';\nexport const ITEM_FOCUSED = 'ITEM_FOCUSED';\n\n// POPOVER DATA\nexport const DEBOUNCED_SUGGESTION_FETCH = 'DEBOUNCED_SUGGESTION_FETCH';\nexport const SUGGESTION_FETCH = 'SUGGESTION_FETCH';\nexport const SUGGESTION_FETCH_STARTED = 'SUGGESTION_FETCH_STARTED';\nexport const SUGGESTION_FETCH_SUCCEEDED = 'SUGGESTION_FETCH_SUCCEEDED';\nexport const SUGGESTION_FETCH_FAILED = 'SUGGESTION_FETCH_FAILED';\n\n// EXACT_MATCH\nexport const EXACT_MATCH_FETCH = 'EXACT_MATCH_FETCH';\nexport const EXACT_MATCH_STARTED = 'EXACT_MATCH_STARTED';\nexport const EXACT_MATCH_SUCCEEDED = 'EXACT_MATCH_SUCCEEDED';\nexport const EXACT_MATCH_FAILED = 'EXACT_MATCH_FAILED';\n\n// SEARCH CONTEXT SWITCH\nexport const CONTEXT_DROPDOWN_CLICKED = 'NOW_DROPDOWN#OPENED_SET';\nexport const CONTEXT_ITEM_SELECTED = 'NOW_DROPDOWN#ITEM_CLICKED';\n\n//SEARCH PANEL DISPLAY\nexport const SHOW_SEARCH_PANEL = 'SHOW_SEARCH_PANEL';\nexport const HIDE_SEARCH_PANEL = 'HIDE_SEARCH_PANEL';\nexport const SET_REF = 'SET_REF';\n\nexport const FETCH_EXACT_MATCH_CONFIG = 'FETCH_EXACT_MATCH_CONFIG';\nexport const SET_ENABLE_EXACT_MATCH_PROPERTY =\n\t'SET_ENABLE_EXACT_MATCH_PROPERTY';\n\nexport const SWITCH_TO_DEFAULT_ENABLE_EXACT_MATCH_PROPERTY =\n\t'SWITCH_TO_DEFAULT_ENABLE_EXACT_MATCH_PROPERTY';\n\nexport const NAV_ITEM_SELECTED = 'NAV_ITEM_SELECTED';\n\nexport const UPDATE_SEARCH_CACHE = 'SN_CX_SEARCH_INPUT#UPDATE_SEARCH_CACHE';\nexport const SET_INPUT_DESKTOP_ELEMENT = 'SN_CX_SEARCH_INPUT#SET_INPUT_ELEMENT';\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_key_binding_28_4_1_index_jsdbx_89a19852__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","function normalizeSelector(sel) {\n\t// save unmatched text, if any\n\tfunction saveUnmatched() {\n\t\tif (unmatched) {\n\t\t\t// whitespace needed after combinator?\n\t\t\tif (tokens.length > 0 && /^[~+>]$/.test(tokens[tokens.length - 1])) {\n\t\t\t\ttokens.push(' ');\n\t\t\t}\n\n\t\t\t// save unmatched text\n\t\t\ttokens.push(unmatched);\n\t\t}\n\t}\n\n\tconst tokens = [],\n\t\tstate = [0],\n\t\tnot_escaped_pattern = /(?:[^\\\\]|(?:^|[^\\\\])(?:\\\\\\\\)+)$/,\n\t\twhitespace_pattern = /^\\s+$/,\n\t\tstate_patterns = [\n\t\t\t/\\s+|\\/\\*|[\"'>~+[(]/g, // general\n\t\t\t/\\s+|\\/\\*|[\"'[\\]()]/g, // [..] set\n\t\t\t/\\s+|\\/\\*|[\"'[\\]()]/g, // (..) set\n\t\t\tnull, // string literal (placeholder)\n\t\t\t/\\*\\//g // comment\n\t\t];\n\tlet match,\n\t\tunmatched,\n\t\tregex,\n\t\tnext_match_idx = 0,\n\t\tprev_match_idx;\n\n\tsel = sel.trim();\n\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\tunmatched = '';\n\n\t\tregex = state_patterns[state[state.length - 1]];\n\n\t\tregex.lastIndex = next_match_idx;\n\t\tmatch = regex.exec(sel);\n\n\t\t// matched text to process?\n\t\tif (match) {\n\t\t\tprev_match_idx = next_match_idx;\n\t\t\tnext_match_idx = regex.lastIndex;\n\n\t\t\t// collect the previous string chunk not matched before this token\n\t\t\tif (prev_match_idx < next_match_idx - match[0].length) {\n\t\t\t\tunmatched = sel.substring(\n\t\t\t\t\tprev_match_idx,\n\t\t\t\t\tnext_match_idx - match[0].length\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// general, [ ] pair, ( ) pair?\n\t\t\tif (state[state.length - 1] < 3) {\n\t\t\t\tsaveUnmatched();\n\n\t\t\t\t// starting a [ ] pair?\n\t\t\t\tif (match[0] === '[') {\n\t\t\t\t\tstate.push(1);\n\t\t\t\t}\n\t\t\t\t// starting a ( ) pair?\n\t\t\t\telse if (match[0] === '(') {\n\t\t\t\t\tstate.push(2);\n\t\t\t\t}\n\t\t\t\t// starting a string literal?\n\t\t\t\telse if (/^[\"']$/.test(match[0])) {\n\t\t\t\t\tstate.push(3);\n\t\t\t\t\tstate_patterns[3] = new RegExp(match[0], 'g');\n\t\t\t\t}\n\t\t\t\t// starting a comment?\n\t\t\t\telse if (match[0] === '/*') {\n\t\t\t\t\tstate.push(4);\n\t\t\t\t}\n\t\t\t\t// ending a [ ] or ( ) pair?\n\t\t\t\telse if (/^[\\])]$/.test(match[0]) && state.length > 0) {\n\t\t\t\t\tstate.pop();\n\t\t\t\t}\n\t\t\t\t// handling whitespace or a combinator?\n\t\t\t\telse if (/^(?:\\s+|[~+>])$/.test(match[0])) {\n\t\t\t\t\t// need to insert whitespace before?\n\t\t\t\t\tif (\n\t\t\t\t\t\ttokens.length > 0 &&\n\t\t\t\t\t\t!whitespace_pattern.test(tokens[tokens.length - 1]) &&\n\t\t\t\t\t\tstate[state.length - 1] === 0\n\t\t\t\t\t) {\n\t\t\t\t\t\t// add normalized whitespace\n\t\t\t\t\t\ttokens.push(' ');\n\t\t\t\t\t}\n\n\t\t\t\t\t// case-insensitive attribute selector CSS L4\n\t\t\t\t\tif (\n\t\t\t\t\t\tstate[state.length - 1] === 1 &&\n\t\t\t\t\t\ttokens.length === 5 &&\n\t\t\t\t\t\ttokens[2].charAt(tokens[2].length - 1) === '='\n\t\t\t\t\t) {\n\t\t\t\t\t\ttokens[4] = ' ' + tokens[4];\n\t\t\t\t\t}\n\n\t\t\t\t\t// whitespace token we can skip?\n\t\t\t\t\tif (whitespace_pattern.test(match[0])) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// save matched text\n\t\t\t\ttokens.push(match[0]);\n\t\t\t}\n\t\t\t// otherwise, string literal or comment\n\t\t\telse {\n\t\t\t\t// save unmatched text\n\t\t\t\ttokens[tokens.length - 1] += unmatched;\n\n\t\t\t\t// unescaped terminator to string literal or comment?\n\t\t\t\tif (not_escaped_pattern.test(tokens[tokens.length - 1])) {\n\t\t\t\t\t// comment terminator?\n\t\t\t\t\tif (state[state.length - 1] === 4) {\n\t\t\t\t\t\t// ok to drop comment?\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttokens.length < 2 ||\n\t\t\t\t\t\t\twhitespace_pattern.test(tokens[tokens.length - 2])\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\ttokens.pop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// otherwise, turn comment into whitespace\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\ttokens[tokens.length - 1] = ' ';\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// handled already\n\t\t\t\t\t\tmatch[0] = '';\n\t\t\t\t\t}\n\n\t\t\t\t\tstate.pop();\n\t\t\t\t}\n\n\t\t\t\t// append matched text to existing token\n\t\t\t\ttokens[tokens.length - 1] += match[0];\n\t\t\t}\n\t\t}\n\t\t// otherwise, end of processing (no more matches)\n\t\telse {\n\t\t\tunmatched = sel.substr(next_match_idx);\n\t\t\tsaveUnmatched();\n\n\t\t\tbreak;\n\t\t}\n\t}\n\n\treturn tokens.join('').trim();\n}\n\n/**\n * Finds first matching elements on the page that may be in a shadow root using a complex selector of n-depth.\n * Don't have to specify all shadow roots to button, tree is traversed to find the correct element.\n *\n * Example querySelectorAllDeep('downloads-item:nth-child(4) #remove');\n *\n * Example should work on chrome://downloads outputting the remove button inside of a download card component\n *\n * Example find first active download link element querySelectorDeep('#downloads-list .is-active a[href^=\"https://\"]');\n *\n * Another example querySelectorAllDeep('#downloads-list div#title-area + a');\n *\n * @param selector\n * @param root\n * @param allElements\n * @returns {*}\n */\nexport function querySelectorAllDeep(\n\tselector,\n\troot = document,\n\tallElements = null\n) {\n\treturn _querySelectorDeep(selector, true, root, allElements);\n}\n\n/**\n * querySelectorDeep\n * @param selector\n * @param root\n * @param allElements\n * @returns {*}\n */\nexport function querySelectorDeep(\n\tselector,\n\troot = document,\n\tallElements = null\n) {\n\treturn _querySelectorDeep(selector, false, root, allElements);\n}\n\n/**\n * Finds all elements on the page, inclusive of those within shadow roots.\n *\n * @param {string=} selector Simple selector to filter the elements by. e.g. 'a', 'div.main'\n * @return {!Array<string>} List of anchor hrefs.\n */\nfunction collectAllElementsDeep(selector = null, root, cachedElements = null) {\n\tlet allElements = [];\n\n\tif (cachedElements) {\n\t\tallElements = cachedElements;\n\t} else {\n\t\tconst findAllElements = function(nodes) {\n\t\t\tfor (let i = 0; i < nodes.length; i++) {\n\t\t\t\tconst el = nodes[i];\n\t\t\t\tallElements.push(el);\n\t\t\t\t// If the element has a shadow root, dig deeper.\n\t\t\t\tif (el.shadowRoot) {\n\t\t\t\t\tfindAllElements(el.shadowRoot.querySelectorAll('*'));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tif (root.shadowRoot) {\n\t\t\tfindAllElements(root.shadowRoot.querySelectorAll('*'));\n\t\t}\n\t\tfindAllElements(root.querySelectorAll('*'));\n\t}\n\n\treturn selector\n\t\t? allElements.filter((el) => el.matches(selector))\n\t\t: allElements;\n}\n\n/**\n * _querySelectorDeep\n * @param selector\n * @param findMany\n * @param root\n * @param allElements\n * @returns {*}\n * @private\n */\nfunction _querySelectorDeep(selector, findMany, root, allElements = null) {\n\tselector = normalizeSelector(selector);\n\tconst lightElement = root.querySelector(selector);\n\n\tif (document.head.createShadowRoot || document.head.attachShadow) {\n\t\t// no need to do any special if selector matches something specific in light-dom\n\t\tif (!findMany && lightElement) {\n\t\t\treturn lightElement;\n\t\t}\n\n\t\t// split on commas because those are a logical divide in the operation\n\t\tconst selectionsToMake = splitByCharacterUnlessQuoted(selector, ',');\n\n\t\treturn selectionsToMake.reduce(\n\t\t\t(acc, minimalSelector) => {\n\t\t\t\t// if not finding many just reduce the first match\n\t\t\t\tif (!findMany && acc) {\n\t\t\t\t\treturn acc;\n\t\t\t\t}\n\t\t\t\t// do best to support complex selectors and split the query\n\t\t\t\tconst splitSelector = splitByCharacterUnlessQuoted(\n\t\t\t\t\tminimalSelector\n\t\t\t\t\t\t//remove white space at start of selector\n\t\t\t\t\t\t.replace(/^\\s+/g, '')\n\t\t\t\t\t\t.replace(/\\s*([>+~]+)\\s*/g, '$1'),\n\t\t\t\t\t' '\n\t\t\t\t)\n\t\t\t\t\t// filter out entry white selectors\n\t\t\t\t\t.filter((entry) => !!entry)\n\t\t\t\t\t// convert \"a > b\" to [\"a\", \"b\"]\n\t\t\t\t\t.map((entry) => splitByCharacterUnlessQuoted(entry, '>'));\n\n\t\t\t\tconst possibleElementsIndex = splitSelector.length - 1;\n\t\t\t\tconst lastSplitPart =\n\t\t\t\t\tsplitSelector[possibleElementsIndex][\n\t\t\t\t\t\tsplitSelector[possibleElementsIndex].length - 1\n\t\t\t\t\t];\n\t\t\t\tconst possibleElements = collectAllElementsDeep(\n\t\t\t\t\tlastSplitPart,\n\t\t\t\t\troot,\n\t\t\t\t\tallElements\n\t\t\t\t);\n\t\t\t\tconst findElements = findMatchingElement(\n\t\t\t\t\tsplitSelector,\n\t\t\t\t\tpossibleElementsIndex,\n\t\t\t\t\troot\n\t\t\t\t);\n\t\t\t\tif (findMany) {\n\t\t\t\t\tacc = acc.concat(possibleElements.filter(findElements));\n\t\t\t\t\treturn acc;\n\t\t\t\t} else {\n\t\t\t\t\tacc = possibleElements.find(findElements);\n\t\t\t\t\treturn acc || null;\n\t\t\t\t}\n\t\t\t},\n\t\t\tfindMany ? [] : null\n\t\t);\n\t} else {\n\t\tif (!findMany) {\n\t\t\treturn lightElement;\n\t\t} else {\n\t\t\treturn root.querySelectorAll(selector);\n\t\t}\n\t}\n}\n\n/**\n * findMatchingElement\n * @param splitSelector\n * @param possibleElementsIndex\n * @param root\n * @returns {function(*): boolean}\n */\nfunction findMatchingElement(splitSelector, possibleElementsIndex, root) {\n\treturn (element) => {\n\t\tlet position = possibleElementsIndex;\n\t\tlet parent = element;\n\t\tlet foundElement = false;\n\t\twhile (parent && !isDocumentNode(parent)) {\n\t\t\tlet foundMatch = true;\n\t\t\tif (splitSelector[position].length === 1) {\n\t\t\t\tfoundMatch = parent.matches(splitSelector[position]);\n\t\t\t} else {\n\t\t\t\t// selector is in the format \"a > b\"\n\t\t\t\t// make sure a few parents match in order\n\t\t\t\tconst reversedParts = [].concat(splitSelector[position]).reverse();\n\t\t\t\tlet newParent = parent;\n\t\t\t\tfor (const part of reversedParts) {\n\t\t\t\t\tif (!newParent || !newParent.matches(part)) {\n\t\t\t\t\t\tfoundMatch = false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tnewParent = findParentOrHost(newParent, root);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (foundMatch && position === 0) {\n\t\t\t\tfoundElement = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (foundMatch) {\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tparent = findParentOrHost(parent, root);\n\t\t}\n\t\treturn foundElement;\n\t};\n}\n\n/**\n * splitByCharacterUnlessQuoted\n * @param selector\n * @param character\n * @returns {*}\n */\nfunction splitByCharacterUnlessQuoted(selector, character) {\n\treturn selector.match(/\\\\?.|^$/g).reduce(\n\t\t(p, c) => {\n\t\t\tif (c === '\"' && !p.sQuote) {\n\t\t\t\tp.quote ^= 1;\n\t\t\t\tp.a[p.a.length - 1] += c;\n\t\t\t} else if (c === \"'\" && !p.quote) {\n\t\t\t\tp.sQuote ^= 1;\n\t\t\t\tp.a[p.a.length - 1] += c;\n\t\t\t} else if (!p.quote && !p.sQuote && c === character) {\n\t\t\t\tp.a.push('');\n\t\t\t} else {\n\t\t\t\tp.a[p.a.length - 1] += c;\n\t\t\t}\n\t\t\treturn p;\n\t\t},\n\t\t{a: ['']}\n\t).a;\n}\n\n/**\n * Checks if the node is a document node or not.\n * @param {Node} node\n * @returns {node is Document | DocumentFragment}\n */\nfunction isDocumentNode(node) {\n\treturn (\n\t\tnode.nodeType === Node.DOCUMENT_FRAGMENT_NODE ||\n\t\tnode.nodeType === Node.DOCUMENT_NODE\n\t);\n}\n\n/**\n * finds parent or host\n * @param element\n * @param root\n * @returns {*|null}\n */\nfunction findParentOrHost(element, root) {\n\tconst parentNode = element.parentNode;\n\treturn parentNode && parentNode.host && parentNode.nodeType === 11\n\t\t? parentNode.host\n\t\t: parentNode === root\n\t\t? null\n\t\t: parentNode;\n}\n","/**\n * Observes the position of a target element relative to the viewport or a root boundary.\n * Calls a callback with position and visibility information as the element moves or changes intersection.\n */\nexport class PositionObserver {\n\t/**\n\t * @type {IntersectionObserver | undefined}\n\t * @private\n\t */\n\tintersectionObserver;\n\n\t/**\n\t * @type {Function}\n\t * @private\n\t */\n\tpositionObserverCallback;\n\n\t/**\n\t * @type {number[]}\n\t * @private\n\t */\n\tthresholdList;\n\n\t/**\n\t * Creates a new PositionObserver.\n\t * @param {Function} positionObserverCallback - Callback invoked with position and visibility info.\n\t */\n\tconstructor(positionObserverCallback, threshold = 1000) {\n\t\tthis.positionObserverCallback = positionObserverCallback;\n\t\tthis.thresholdList = new Array(threshold + 1)\n\t\t\t.fill(0)\n\t\t\t.map((_, ind) => ind / threshold);\n\t}\n\n\t/**\n\t * Starts observing the given target element.\n\t * @param {Element} targetElement - The element to observe.\n\t */\n\tobserve(targetElement) {\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tthis.viewportCallback.bind(this),\n\t\t\t{\n\t\t\t\tthreshold: this.thresholdList,\n\t\t\t\trootMargin: '0px 0px 0px 0px',\n\t\t\t\troot: document\n\t\t\t}\n\t\t);\n\t\tthis.intersectionObserver.observe(targetElement);\n\t}\n\n\t/**\n\t * Callback for when the viewport is the boundary.\n\t * @param {IntersectionObserverEntry[]} e - Intersection observer entries.\n\t * @private\n\t */\n\tviewportCallback(e) {\n\t\tconst entry = e[0];\n\t\tconst target = entry.target;\n\t\tconst targetBounds = entry.boundingClientRect;\n\t\tif (this.positionObserverCallback) {\n\t\t\tthis.positionObserverCallback({\n\t\t\t\tx: targetBounds.left,\n\t\t\t\ty: targetBounds.top,\n\t\t\t\ttarget,\n\t\t\t\toutOfViewport: !entry.isIntersecting,\n\t\t\t\trootBounds: entry.rootBounds\n\t\t\t});\n\t\t}\n\t\tif (entry.intersectionRatio > 0) {\n\t\t\tthis.intersectionObserver?.unobserve(target);\n\t\t\tthis.intersectionObserver?.disconnect();\n\t\t\tconst options = {\n\t\t\t\tthreshold: this.thresholdList,\n\t\t\t\trootMargin: this.getMargins(\n\t\t\t\t\tthis.constructBoxWindow(targetBounds, entry.rootBounds),\n\t\t\t\t\tentry.rootBounds\n\t\t\t\t),\n\t\t\t\troot: document\n\t\t\t};\n\t\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\t\tthis.intersectionObsCallback.bind(this),\n\t\t\t\toptions\n\t\t\t);\n\t\t\tthis.intersectionObserver?.observe(target);\n\t\t}\n\t}\n\n\t/**\n\t * Callback for when the target is the boundary.\n\t * @param {IntersectionObserverEntry[]} e - Intersection observer entries.\n\t * @private\n\t */\n\tintersectionObsCallback(e) {\n\t\tconst entry = e[0];\n\t\tconst target = entry.target;\n\t\tconst targetBounds = entry.boundingClientRect;\n\t\tif (this.positionObserverCallback) {\n\t\t\tthis.positionObserverCallback({\n\t\t\t\tx: targetBounds.left,\n\t\t\t\ty: targetBounds.top,\n\t\t\t\ttarget,\n\t\t\t\toutOfViewport: false,\n\t\t\t\trootBounds: entry.rootBounds\n\t\t\t});\n\t\t}\n\t\tif (entry.intersectionRatio === 0) {\n\t\t\tthis.intersectionObserver?.unobserve(target);\n\t\t\tthis.intersectionObserver?.disconnect();\n\t\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\t\tthis.viewportCallback.bind(this),\n\t\t\t\t{\n\t\t\t\t\tthreshold: this.thresholdList,\n\t\t\t\t\trootMargin: '0px 0px 0px 0px',\n\t\t\t\t\troot: document\n\t\t\t\t}\n\t\t\t);\n\t\t\tthis.intersectionObserver?.observe(target);\n\t\t}\n\t}\n\n\t/**\n\t * Disconnects the observer and stops observing all elements.\n\t */\n\tdisconnect() {\n\t\tthis.intersectionObserver?.disconnect();\n\t}\n\n\t/**\n\t * Constructs a constrained bounding box for the target element within the root bounds.\n\t * @param {DOMRect} targetBounds - The bounding rectangle of the target element.\n\t * @param {DOMRect} rootBounds - The bounding rectangle of the root.\n\t * @returns {{left: number, top: number, right: number, bottom: number}} The constrained box window.\n\t * @private\n\t */\n\tconstructBoxWindow(targetBounds, rootBounds) {\n\t\tconst constrainedLeft = Math.min(\n\t\t\tMath.max(rootBounds.left, targetBounds.left),\n\t\t\trootBounds.right - targetBounds.width\n\t\t);\n\t\tconst constrainedTop = Math.min(\n\t\t\tMath.max(rootBounds.top, targetBounds.top),\n\t\t\trootBounds.bottom - targetBounds.height\n\t\t);\n\t\tconst constrainedRight = constrainedLeft + targetBounds.width;\n\t\tconst constrainedBottom = constrainedTop + targetBounds.height;\n\t\treturn {\n\t\t\tleft: constrainedLeft,\n\t\t\ttop: constrainedTop,\n\t\t\tright: constrainedRight,\n\t\t\tbottom: constrainedBottom\n\t\t};\n\t}\n\n\t/**\n\t * Calculates the root margin string for the IntersectionObserver based on window and root bounds.\n\t * @param {{left: number, top: number, right: number, bottom: number}} windowDimensions - The constrained window dimensions.\n\t * @param {DOMRect | null} rootBounds - The bounding rectangle of the root or null.\n\t * @returns {string} The root margin string (e.g., \"0px 0px 0px 0px\").\n\t * @private\n\t */\n\tgetMargins(windowDimensions, rootBounds) {\n\t\tlet viewportBounds;\n\t\tif (!rootBounds) {\n\t\t\tviewportBounds = {\n\t\t\t\ttop: visualViewport.offsetTop,\n\t\t\t\tleft: visualViewport.offsetLeft,\n\t\t\t\tright: visualViewport.width + visualViewport.offsetLeft,\n\t\t\t\tbottom: visualViewport.height + visualViewport.offsetTop\n\t\t\t};\n\t\t} else {\n\t\t\tviewportBounds = rootBounds;\n\t\t}\n\t\tconst constrainedTopMarginOfWindow = Math.min(\n\t\t\t-(windowDimensions.top - 1 - viewportBounds.top),\n\t\t\t0\n\t\t);\n\t\tconst constrainedRightMarginOfWindow = Math.min(\n\t\t\t-(viewportBounds.right - (windowDimensions.right + 1)),\n\t\t\t0\n\t\t);\n\t\tconst constrainedBottomMarginOfWindow = Math.min(\n\t\t\t-(viewportBounds.bottom - (windowDimensions.bottom + 1)),\n\t\t\t0\n\t\t);\n\t\tconst constrainedLeftMarginOfWindow = Math.min(\n\t\t\t-(windowDimensions.left - 1 - viewportBounds.left),\n\t\t\t0\n\t\t);\n\t\treturn `${constrainedTopMarginOfWindow}px ${constrainedRightMarginOfWindow}px ${constrainedBottomMarginOfWindow}px ${constrainedLeftMarginOfWindow}px`;\n\t}\n}\n","/**\n * After experience change the shell does not return current pageProperties, this code guarantee that we have the pageProperty matching the experience\n * @param {Object} searchConfigFallback\n * @returns {Object}\n */\nexport function getSearchConfiguration(\n\tselectedContent,\n\tsearchConfigFallback = {}\n) {\n\ttry {\n\t\tconst {\n\t\t\tcontext: {path}\n\t\t} = selectedContent;\n\t\treturn JSON.parse(\n\t\t\twindow?.ux_globals?.experienceConfigs[path]?.pageProperties\n\t\t\t\t?.search_configuration\n\t\t);\n\t} catch (e) {\n\t\treturn searchConfigFallback;\n\t}\n}\n","/// Miscelanous utility functions\nimport {declarativeOperations} from '@servicenow/ui-core';\n\n/**\n * Update state declaratively\n * @param {function} updateState - updateState function\n * @param {object} args - object with path as key and value as value\n * @param {object} params - object with params to override the updateState operation\n * @returns {void}\n */\nexport const declarativeStateUpdate = (updateState, args, params = {}) => {\n\tconst keys = Object.keys(args);\n\n\tconst operations = keys.map((path) => ({\n\t\t...params,\n\t\tpath,\n\t\tvalue: args[path],\n\t\toperation: params.operation || declarativeOperations.SET,\n\t\tshouldRender: params.shouldRender || true\n\t}));\n\n\tupdateState(operations);\n};\n","import {ICON_SIZES} from '../components/sn-cx-search-input/common/constants';\n\nconst getCloseIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"12\"\n\t\tattr-height=\"12\"\n\t\tattr-viewBox=\"0 0 12 12\"\n\t\tattr-fill=\"currentColor\">\n\t\t<path\n\t\t\tattr-d=\"M9.14645 2.14645C9.34171 1.95118 9.65829 1.95118 9.85355 2.14645C10.0488 2.34171 10.0488 2.65829 9.85355 2.85355L6.70711 6L9.85355 9.14645C10.0488 9.34171 10.0488 9.65829 9.85355 9.85355C9.65829 10.0488 9.34171 10.0488 9.14645 9.85355L6 6.70711L2.85355 9.85355C2.65829 10.0488 2.34171 10.0488 2.14645 9.85355C1.95118 9.65829 1.95118 9.34171 2.14645 9.14645L5.29289 6L2.14645 2.85355C1.95118 2.65829 1.95118 2.34171 2.14645 2.14645C2.34171 1.95118 2.65829 1.95118 2.85355 2.14645L6 5.29289L9.14645 2.14645Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getArrowRightLongIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"24\"\n\t\tattr-height=\"24\"\n\t\tattr-viewBox=\"0 0 24 24\"\n\t\tattr-fill=\"currentColor\">\n\t\t<path\n\t\t\tattr-d=\"M17.0156 4.7116L23.7656 11.4828C23.9062 11.6238 24 11.8119 24 12C24 12.1411 23.9062 12.3762 23.7656 12.5172L17.0156 19.2884C16.7344 19.5705 16.2188 19.5705 15.9375 19.2884C15.6562 19.0063 15.6562 18.5361 15.9375 18.2069L21.4219 12.7524H0.75C0.328125 12.7524 0 12.3762 0 12C0 11.6238 0.328125 11.2476 0.75 11.2476H21.4219L15.9375 5.7931C15.6562 5.51097 15.6562 4.99373 15.9375 4.7116C16.2188 4.42947 16.7344 4.42947 17.0156 4.7116Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getSearchInputIcon = (iconName, size) => (\n\t<svg\n\t\tattr-attr-id={getIconId(iconName, size)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"24\"\n\t\tattr-height=\"24\"\n\t\tattr-viewBox=\"0 0 24 24\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M16.3199 14.9056C17.3729 13.5509 18 11.8487 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C11.8487 18 13.551 17.3729 14.9057 16.3198L20.293 21.7071C20.6835 22.0976 21.3167 22.0976 21.7072 21.7071C22.0977 21.3165 22.0977 20.6834 21.7072 20.2928L16.3199 14.9056ZM16 10C16 13.3137 13.3137 16 10 16C6.68629 16 4 13.3137 4 10C4 6.68629 6.68629 4 10 4C13.3137 4 16 6.68629 16 10Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getMagnifyingGlassIcon = (iconName, size = ICON_SIZES.MD) => {\n\tif (size === ICON_SIZES.LG) {\n\t\treturn getSearchInputIcon(iconName, size);\n\t}\n\treturn (\n\t\t<svg\n\t\t\tattr-id={getIconId(iconName)}\n\t\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\t\tattr-width=\"16\"\n\t\t\tattr-height=\"16\"\n\t\t\tattr-viewBox=\"0 0 16 16\"\n\t\t\tattr-fill=\"none\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M10.7267 10.0195C11.5217 9.06575 12 7.83873 12 6.5C12 3.46243 9.53757 1 6.5 1C3.46243 1 1 3.46243 1 6.5C1 9.53757 3.46243 12 6.5 12C7.83876 12 9.06581 11.5217 10.0196 10.7266L14.1465 14.8535C14.3417 15.0488 14.6583 15.0488 14.8536 14.8535C15.0489 14.6583 15.0489 14.3417 14.8536 14.1464L10.7267 10.0195ZM11 6.5C11 8.98528 8.98528 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5Z\"\n\t\t\t\tattr-fill=\"currentColor\"\n\t\t\t/>\n\t\t<\/svg>\n\t);\n};\n\nconst getBookIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"17\"\n\t\tattr-viewBox=\"0 0 16 17\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M6.5 3.5C6.22386 3.5 6 3.72386 6 4V6C6 6.27614 6.22386 6.5 6.5 6.5H10.5C10.7761 6.5 11 6.27614 11 6V4C11 3.72386 10.7761 3.5 10.5 3.5H6.5ZM7 5.5V4.5H10V5.5H7Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M6.5 3.5C6.22386 3.5 6 3.72386 6 4V6C6 6.27614 6.22386 6.5 6.5 6.5H10.5C10.7761 6.5 11 6.27614 11 6V4C11 3.72386 10.7761 3.5 10.5 3.5H6.5ZM7 5.5V4.5H10V5.5H7Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M2 3V13C2 13.8284 2.67157 14.5 3.5 14.5H12.5C12.7761 14.5 13 14.2761 13 14C13 13.7239 12.7761 13.5 12.5 13.5H12V12.5H12.5C12.7761 12.5 13 12.2761 13 12V2C13 1.72386 12.7761 1.5 12.5 1.5H3.5C2.67157 1.5 2 2.17157 2 3ZM3.5 2.5H4V11.5H3.5C3.32468 11.5 3.15639 11.5301 3 11.5854V3C3 2.72386 3.22386 2.5 3.5 2.5ZM12 2.5V11.5H5V2.5H12ZM11 12.5V13.5H3.5C3.22386 13.5 3 13.2761 3 13C3 12.7239 3.22386 12.5 3.5 12.5H11Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M2 3V13C2 13.8284 2.67157 14.5 3.5 14.5H12.5C12.7761 14.5 13 14.2761 13 14C13 13.7239 12.7761 13.5 12.5 13.5H12V12.5H12.5C12.7761 12.5 13 12.2761 13 12V2C13 1.72386 12.7761 1.5 12.5 1.5H3.5C2.67157 1.5 2 2.17157 2 3ZM3.5 2.5H4V11.5H3.5C3.32468 11.5 3.15639 11.5301 3 11.5854V3C3 2.72386 3.22386 2.5 3.5 2.5ZM12 2.5V11.5H5V2.5H12ZM11 12.5V13.5H3.5C3.22386 13.5 3 13.2761 3 13C3 12.7239 3.22386 12.5 3.5 12.5H11Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getLightbulbIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M3.75 5.25C3.75 2.90279 5.65279 1 8 1C10.3472 1 12.25 2.90279 12.25 5.25C12.25 6.70332 11.5201 7.98604 10.4091 8.75166C10.1406 8.93672 10 9.1822 10 9.4047C10 10.2858 9.28576 11 8.4047 11H7.59531C6.71424 11 6 10.2858 6 9.4047C6 9.1822 5.85942 8.93672 5.59089 8.75166C4.47992 7.98604 3.75 6.70332 3.75 5.25ZM8 2C6.20507 2 4.75 3.45507 4.75 5.25C4.75 6.36058 5.3066 7.34128 6.15834 7.92826C6.60677 8.23729 7 8.75648 7 9.4047C7 9.73347 7.26653 10 7.59531 10H8.4047C8.73347 10 9 9.73347 9 9.4047C9 8.75648 9.39323 8.23729 9.84166 7.92826C10.6934 7.34128 11.25 6.36058 11.25 5.25C11.25 3.45507 9.79493 2 8 2Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M6 12.5C6 12.2239 6.22386 12 6.5 12H9.5C9.77614 12 10 12.2239 10 12.5C10 12.7761 9.77614 13 9.5 13H6.5C6.22386 13 6 12.7761 6 12.5Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M7.5 14C7.22386 14 7 14.2239 7 14.5C7 14.7761 7.22386 15 7.5 15H8.5C8.77614 15 9 14.7761 9 14.5C9 14.2239 8.77614 14 8.5 14H7.5Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getBestPracticesIcon = (iconName) => getLightbulbIcon(iconName);\n\nconst getDocumentOutlineIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M5 8.5C5 8.22386 5.22386 8 5.5 8H10.5C10.7761 8 11 8.22386 11 8.5C11 8.77614 10.7761 9 10.5 9H5.5C5.22386 9 5 8.77614 5 8.5Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M5.5 10C5.22386 10 5 10.2239 5 10.5C5 10.7761 5.22386 11 5.5 11H10.5C10.7761 11 11 10.7761 11 10.5C11 10.2239 10.7761 10 10.5 10H5.5Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M3.5 1C2.67157 1 2 1.67157 2 2.5V13.5C2 14.3284 2.67157 15 3.5 15H12.5C13.3284 15 14 14.3284 14 13.5V5.70095C14 5.28767 13.8295 4.89269 13.5287 4.60926L10.1318 1.40832C9.85346 1.14606 9.48549 1 9.10308 1H3.5ZM3 2.5C3 2.22386 3.22386 2 3.5 2H9V4.5C9 5.32843 9.67157 6 10.5 6H13V13.5C13 13.7761 12.7761 14 12.5 14H3.5C3.22386 14 3 13.7761 3 13.5V2.5ZM12.4852 5L10 2.65817V4.5C10 4.77614 10.2239 5 10.5 5H12.4852Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getNowSupportIcon = (iconName) => getDocumentOutlineIcon(iconName);\n\nconst getHandshakeIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M5.5 4C5.36739 4 5.24021 4.05268 5.14645 4.14645L3.96835 5.32454C3.89729 5.13495 3.7144 5 3.5 5H1.5C1.22386 5 1 5.22386 1 5.5V12.5C1 12.7761 1.22386 13 1.5 13H3.5C3.77614 13 4 12.7761 4 12.5V12H4.79289L5.64645 12.8536C5.74021 12.9473 5.86739 13 6 13H8.5C8.63261 13 8.75979 12.9473 8.85355 12.8536L9.70711 12H12V12.5C12 12.7761 12.2239 13 12.5 13H14.5C14.7761 13 15 12.7761 15 12.5V5.5C15 5.22386 14.7761 5 14.5 5H12.5C12.2239 5 12 5.22386 12 5.5V6H11.7501L10.4001 4.2C10.3057 4.0741 10.1575 4 10.0001 4H5.5ZM13 6.51076C13.0001 6.50718 13.0001 6.5036 13.0001 6.5C13.0001 6.4964 13.0001 6.49282 13 6.48924V6H14V12H13V6.51076ZM12 7H11.5001C11.3427 7 11.1945 6.9259 11.1001 6.8L9.75011 5H8.20722L6.10367 7.10355C5.88472 7.3225 5.88472 7.6775 6.10367 7.89645C6.32262 8.1154 6.67761 8.1154 6.89656 7.89645L8.64656 6.14645C8.84182 5.95118 9.1584 5.95118 9.35367 6.14645C9.54893 6.34171 9.54893 6.65829 9.35367 6.85355L8.45716 7.75006L10.8536 10.1464C10.9473 10.2402 11 10.3674 11 10.5V11H12V7ZM7.75006 8.45716L7.60367 8.60355C6.99419 9.21303 6.00604 9.21303 5.39656 8.60355C4.78708 7.99408 4.78708 7.00592 5.39656 6.39645L6.79301 5H5.70711L4 6.70711V11H5C5.13261 11 5.25979 11.0527 5.35355 11.1464L6.20711 12H8.29289L9.14645 11.1464C9.24022 11.0527 9.36739 11 9.5 11H10V10.7071L7.75006 8.45716ZM3 6H2V12H3V6Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getCustomerSuccessCenterIcon = (iconName) => getHandshakeIcon(iconName);\n\nconst getCodeIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M8.98519 4.62139C9.05216 4.35349 8.88928 4.08202 8.62139 4.01505C8.35349 3.94807 8.08202 4.11095 8.01505 4.37885L6.01505 12.3789C5.94807 12.6467 6.11095 12.9182 6.37885 12.9852C6.64675 13.0522 6.91822 12.8893 6.98519 12.6214L8.98519 4.62139Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M4.85355 5.14645C5.04882 5.34171 5.04882 5.65829 4.85355 5.85355L2.20711 8.5L4.85355 11.1464C5.04882 11.3417 5.04882 11.6583 4.85355 11.8536C4.65829 12.0488 4.34171 12.0488 4.14645 11.8536L1.14645 8.85355C0.951184 8.65829 0.951184 8.34171 1.14645 8.14645L4.14645 5.14645C4.34171 4.95118 4.65829 4.95118 4.85355 5.14645Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M10.1464 5.14645C9.95118 5.34171 9.95118 5.65829 10.1464 5.85355L12.7929 8.5L10.1464 11.1464C9.95118 11.3417 9.95118 11.6583 10.1464 11.8536C10.3417 12.0488 10.6583 12.0488 10.8536 11.8536L13.8536 8.85355C14.0488 8.65829 14.0488 8.34171 13.8536 8.14645L10.8536 5.14645C10.6583 4.95118 10.3417 4.95118 10.1464 5.14645Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getDeveloperPortalIcon = (iconName) => getCodeIcon(iconName);\n\nconst getOngoingIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M5.5 2C3.07952 2 1 3.73023 1 6C1 6.96097 1.38044 7.83515 2 8.51578V10.5C2 10.694 2.11223 10.8705 2.28792 10.9528C2.46361 11.0351 2.67105 11.0083 2.82009 10.8841L4.1131 9.8066C4.55089 9.93238 5.01716 10 5.5 10C5.7127 10 5.92277 9.98664 6.12902 9.96072C6.61788 11.7404 8.4349 13 10.5001 13C10.983 13 11.4493 12.9324 11.887 12.8066L13.1801 13.8841C13.3291 14.0083 13.5365 14.0351 13.7122 13.9528C13.8879 13.8705 14.0001 13.694 14.0001 13.5V11.5158C14.6197 10.8352 15.0001 9.96097 15.0001 9C15.0001 6.73023 12.9206 5 10.5001 5C10.2874 5 10.0774 5.01336 9.87112 5.03928C9.38226 3.25963 7.56524 2 5.5 2ZM2 6C2 4.40377 3.5022 3 5.5 3C7.4978 3 9 4.40377 9 6C9 7.59623 7.4978 9 5.5 9C5.02767 9 4.57893 8.91978 4.17022 8.77544C4.00397 8.71672 3.81908 8.74991 3.68363 8.86279L3 9.43248V8.3151C3 8.18174 2.94672 8.0539 2.85202 7.96001C2.31371 7.42635 2 6.73999 2 6ZM9.99988 6.02995C9.98592 7.75942 8.76399 9.17128 7.10808 9.73542C7.48581 11.0037 8.81711 12 10.5001 12C10.9725 12 11.4212 11.9198 11.8299 11.7754C11.9962 11.7167 12.1811 11.7499 12.3165 11.8628L13.0001 12.4325V11.3151C13.0001 11.1817 13.0534 11.0539 13.1481 10.96C13.6864 10.4263 14.0001 9.73999 14.0001 9C14.0001 7.40377 12.4979 6 10.5001 6C10.3296 6 10.1626 6.01023 9.99988 6.02995Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getNowCommunityIcon = (iconName) => getOngoingIcon(iconName);\n\nconst getGlobeOutlineIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM7.39681 2.34719C7.6396 2.08019 7.84416 2 8 2C8.15584 2 8.3604 2.08019 8.60319 2.34719C8.84611 2.61433 9.08782 3.02877 9.30109 3.5833C9.46003 3.99654 9.59779 4.47343 9.708 5H6.292C6.40221 4.47343 6.53997 3.99654 6.69891 3.5833C6.91218 3.02877 7.15389 2.61433 7.39681 2.34719ZM5.27206 5C5.39817 4.34494 5.56493 3.74596 5.76556 3.22432C5.89989 2.87505 6.05249 2.55238 6.22342 2.26738C4.76903 2.7176 3.55119 3.70607 2.80269 5H5.27206ZM2.34141 6H5.11686C5.0406 6.63479 5 7.30663 5 8C5 8.69337 5.0406 9.36521 5.11686 10H2.34141C2.12031 9.37444 2 8.70127 2 8C2 7.29873 2.12031 6.62556 2.34141 6ZM2.80269 11C3.55119 12.2939 4.76903 13.2824 6.22342 13.7326C6.05249 13.4476 5.89989 13.125 5.76556 12.7757C5.56493 12.254 5.39817 11.6551 5.27206 11H2.80269ZM6.292 11C6.40221 11.5266 6.53997 12.0035 6.69891 12.4167C6.91218 12.9712 7.15389 13.3857 7.39681 13.6528C7.6396 13.9198 7.84416 14 8 14C8.15584 14 8.3604 13.9198 8.60319 13.6528C8.84611 13.3857 9.08782 12.9712 9.30109 12.4167C9.46003 12.0035 9.59779 11.5266 9.708 11H6.292ZM10.7279 11C10.6018 11.6551 10.4351 12.254 10.2344 12.7757C10.1001 13.125 9.94751 13.4476 9.77658 13.7326C11.231 13.2824 12.4488 12.2939 13.1973 11H10.7279ZM13.6586 10H10.8831C10.9594 9.36521 11 8.69337 11 8C11 7.30663 10.9594 6.63479 10.8831 6H13.6586C13.8797 6.62556 14 7.29873 14 8C14 8.70127 13.8797 9.37444 13.6586 10ZM13.1973 5C12.4488 3.70607 11.231 2.7176 9.77658 2.26738C9.94751 2.55238 10.1001 2.87505 10.2344 3.22432C10.4351 3.74596 10.6018 4.34494 10.7279 5H13.1973ZM9.87545 6C9.95585 6.62474 10 7.29718 10 8C10 8.70282 9.95585 9.37526 9.87545 10H6.12456C6.04415 9.37526 6 8.70282 6 8C6 7.29718 6.04415 6.62474 6.12456 6H9.87545Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getServicenowComIcon = (iconName) => getGlobeOutlineIcon(iconName);\n\nconst getOpenBookOutlineIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M4.5 3C2.68658 3 1.66515 3.73812 1.19303 4.10532C1.07124 4.20005 1 4.3457 1 4.5V12.5C1 12.691 1.10878 12.8653 1.28032 12.9492C1.45187 13.0331 1.65623 13.0119 1.80697 12.8947C2.19199 12.5952 2.99971 12 4.5 12C6.00029 12 6.80801 12.5952 7.19303 12.8947C7.37358 13.0351 7.62642 13.0351 7.80697 12.8947C8.19199 12.5952 8.99971 12 10.5 12C12.0003 12 12.808 12.5952 13.193 12.8947C13.3438 13.0119 13.5481 13.0331 13.7197 12.9492C13.8912 12.8653 14 12.691 14 12.5V4.5C14 4.3457 13.9288 4.20005 13.807 4.10532C13.3349 3.73812 12.3134 3 10.5 3C9.01051 3 8.05534 3.49797 7.5 3.87936C6.94467 3.49797 5.98949 3 4.5 3ZM2 11.5777V4.74986C2.4385 4.4364 3.21536 4 4.5 4C5.78464 4 6.5615 4.4364 7 4.74986V11.5777C6.42758 11.278 5.61294 11 4.5 11C3.38706 11 2.57242 11.278 2 11.5777ZM8 11.5777C8.57242 11.278 9.38705 11 10.5 11C11.6129 11 12.4276 11.278 13 11.5777V4.74986C12.5615 4.4364 11.7846 4 10.5 4C9.21536 4 8.4385 4.4364 8 4.74986V11.5777Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getClockOutlineIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M7.5 1.5C7.5 1.22386 7.72386 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 6.04095 1.805 4.27012 3.10109 3H2.5C2.22386 3 2 2.77614 2 2.5C2 2.22386 2.22386 2 2.5 2H4.5C4.77614 2 5 2.22386 5 2.5V2.51349C5.00008 2.51873 5.00008 2.52397 5 2.52921V4.5C5 4.77614 4.77614 5 4.5 5C4.22386 5 4 4.77614 4 4.5V3.52773C2.7719 4.62685 2 6.22339 2 8C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C7.72386 2 7.5 1.77614 7.5 1.5Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M8 3C8.27614 3 8.5 3.22386 8.5 3.5V7.70984L11.7481 9.56588C11.9878 9.70288 12.0711 10.0083 11.9341 10.2481C11.7971 10.4878 11.4917 10.5711 11.2519 10.4341L7.75193 8.43412C7.59614 8.3451 7.5 8.17943 7.5 8V3.5C7.5 3.22386 7.72386 3 8 3Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getServicenowFullLogoIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"144\"\n\t\tattr-height=\"21\"\n\t\tattr-viewBox=\"0 0 144 21\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M34.6818 6.40889C33.1478 6.40889 31.8139 6.93746 30.68 7.79638V6.54103H27.0785V20.482H30.8134V11.5624C31.347 10.8357 32.6142 9.84459 34.2149 9.84459C34.8152 9.84459 35.2821 9.91066 35.7489 10.0428V6.47496C35.4154 6.40889 35.0153 6.40889 34.6818 6.40889Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M1.80079 16.2535C2.73453 17.1124 4.20183 17.641 5.66914 17.641C6.66957 17.641 7.46992 17.1785 7.46992 16.4517C7.46992 14.3374 0.666957 15.1303 0.666957 10.5714C0.666957 7.86245 3.26809 6.21068 6.06931 6.21068C7.8701 6.21068 9.87097 6.87139 10.8047 7.59817L9.07062 10.3071C8.33697 9.77851 7.40323 9.38209 6.40279 9.38209C5.33566 9.38209 4.46861 9.77852 4.46861 10.5053C4.46861 12.2892 11.2716 11.6285 11.2716 16.4517C11.2716 19.1606 8.60375 20.7463 5.66914 20.7463C3.73496 20.7463 1.66739 20.0856 0 18.8963L1.80079 16.2535Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M25.4778 13.4124C25.4778 9.51423 22.7432 6.27675 18.8749 6.27675C14.6731 6.27675 12.0052 9.64637 12.0052 13.5446C12.0052 17.9053 15.1399 20.8124 19.3418 20.8124C21.5427 20.8124 23.7437 19.8874 25.0776 18.3017L22.9433 16.1874C22.2764 16.9142 21.0092 17.7731 19.4085 17.7731C17.4076 17.7731 15.8069 16.4517 15.6068 14.4696H25.3444C25.4111 14.1392 25.4778 13.8088 25.4778 13.4124ZM15.8069 11.7606C16.007 10.5053 17.2742 9.31602 18.8082 9.31602C20.3422 9.31602 21.476 10.5053 21.6094 11.7606H15.8069Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M44.7528 15.0642L48.5545 6.54103H52.4896L46.0201 20.5481H43.4189L36.9494 6.54103H40.8845L44.7528 15.0642Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M55.6909 0C57.0249 0 58.1587 1.05714 58.1587 2.37856C58.1587 3.69998 57.0249 4.75712 55.6909 4.75712C54.357 4.75712 53.2232 3.69998 53.2232 2.37856C53.2232 1.05714 54.2903 0 55.6909 0Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M57.4917 6.54103H53.7568V20.482H57.4917V6.54103Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M73.0985 17.641C71.4311 19.8213 69.3636 20.8124 66.6957 20.8124C62.3605 20.8124 59.1591 17.5749 59.1591 13.5446C59.1591 9.51423 62.4272 6.27675 66.6957 6.27675C69.0968 6.27675 71.2977 7.39996 72.6317 9.05173L69.9638 11.3642C69.2302 10.3732 68.0964 9.71244 66.6957 9.71244C64.4948 9.71244 62.8941 11.4303 62.8941 13.5446C62.8941 15.7249 64.4948 17.3767 66.7624 17.3767C68.2964 17.3767 69.497 16.4517 70.0972 15.5267L73.0985 17.641Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M86.7712 18.3017C85.4372 19.8874 83.1696 20.8124 81.0353 20.8124C76.8335 20.8124 73.6988 17.9053 73.6988 13.5446C73.6988 9.64637 76.3666 6.27675 80.5685 6.27675C84.4368 6.27675 87.1713 9.51423 87.1713 13.4124C87.1713 13.8088 87.1713 14.1392 87.1046 14.4696H77.3671C77.5672 16.4517 79.1678 17.7731 81.1687 17.7731C82.7694 17.7731 84.0366 16.8481 84.7036 16.1874L86.7712 18.3017ZM83.303 11.7606C83.1696 10.5053 82.0358 9.31602 80.5018 9.31602C78.9678 9.31602 77.6339 10.5053 77.5005 11.7606H83.303Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M88.6386 20.5481V6.54103H92.2402V7.66424C93.3074 6.80532 94.6413 6.27675 96.242 6.27675C98.1761 6.27675 99.9769 7.13567 101.111 8.52316C102.044 9.64637 102.578 11.0339 102.578 13.4124V20.5481H98.8431V13.1481C98.8431 11.7606 98.5096 11.0339 97.976 10.5053C97.5092 10.0428 96.7088 9.71244 95.8418 9.71244C94.2411 9.71244 92.9739 10.7035 92.4403 11.4303V20.482H88.6386V20.5481Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M112.249 6.27675C107.78 6.27675 104.045 9.91066 103.979 14.4035C103.979 16.782 104.979 18.8963 106.58 20.416C107.18 20.9445 108.047 21.0106 108.714 20.5481C109.648 19.8213 110.848 19.4249 112.249 19.4249C113.65 19.4249 114.85 19.8874 115.784 20.5481C116.451 21.0106 117.318 21.0106 117.918 20.416C119.519 18.8963 120.453 16.8481 120.453 14.4696C120.386 9.91066 116.784 6.27675 112.249 6.27675ZM112.182 18.4999C109.714 18.4999 108.047 16.6499 108.047 14.4035C108.047 12.1571 109.714 10.3071 112.182 10.3071C114.65 10.3071 116.317 12.1571 116.317 14.4035C116.317 16.716 114.65 18.4999 112.182 18.4999Z\"\n\t\t\tattr-fill=\"#63DF4E\"\n\t\t/>\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M127.856 20.5481H125.055L119.452 6.54103H123.254L126.322 14.5356L129.323 6.54103H132.458L135.459 14.5356L138.527 6.54103H142.262L136.66 20.5481H133.858L130.857 12.5535L127.856 20.5481Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M142.329 18.9624H141.995V19.557H141.728V17.9053H142.395C142.662 17.9053 142.929 18.1695 142.929 18.4338C142.929 18.632 142.796 18.8302 142.596 18.8963L142.996 19.557H142.729L142.329 18.9624ZM141.995 18.6981H142.395C142.529 18.6981 142.662 18.566 142.662 18.4338C142.662 18.3017 142.529 18.1695 142.395 18.1695H141.995V18.6981Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M142.262 17.2445C143.129 17.2445 143.796 17.9053 143.796 18.7642C143.796 19.6231 143.129 20.2838 142.262 20.2838C141.395 20.2838 140.728 19.6231 140.728 18.7642C140.728 17.9053 141.462 17.2445 142.262 17.2445ZM142.262 17.0463C141.262 17.0463 140.528 17.8392 140.528 18.7642C140.528 19.7552 141.328 20.482 142.262 20.482C143.262 20.482 143.996 19.6892 143.996 18.7642C144.063 17.7731 143.262 17.0463 142.262 17.0463Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getServicenowLogoIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"32\"\n\t\tattr-height=\"30\"\n\t\tattr-viewBox=\"0 0 32 30\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-fill-rule=\"evenodd\"\n\t\t\tattr-clip-rule=\"evenodd\"\n\t\t\tattr-d=\"M16.0648 0.816406C7.38463 0.816406 0.129555 7.87517 0 16.6024C0 21.2226 1.94333 25.3296 5.05264 28.2814C6.21864 29.3081 7.90284 29.4365 9.19839 28.5381C11.0122 27.1263 13.3441 26.3563 16.0648 26.3563C18.7854 26.3563 21.1174 27.2547 22.9312 28.5381C24.2267 29.4365 25.9109 29.4365 27.0769 28.2814C30.1863 25.3296 32 21.351 32 16.7307C31.8704 7.87517 24.8745 0.816406 16.0648 0.816406ZM15.9352 24.5595C11.1417 24.5595 7.90284 20.966 7.90284 16.6024C7.90284 12.2388 11.1417 8.64521 15.9352 8.64521C20.7288 8.64521 23.9676 12.2388 23.9676 16.6024C23.9676 21.0943 20.7288 24.5595 15.9352 24.5595Z\"\n\t\t\tattr-fill=\"#63DF4E\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getLightXIcon = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"36\"\n\t\tattr-height=\"36\"\n\t\tattr-viewBox=\"0 0 36 36\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M0 18C0 8.05888 8.05888 0 18 0C27.9411 0 36 8.05888 36 18C36 27.9411 27.9411 36 18 36C8.05888 36 0 27.9411 0 18Z\"\n\t\t\tattr-fill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\tattr-d=\"M24.1406 11.1406C24.3281 10.9531 24.6719 10.9531 24.8594 11.1406C25.0469 11.3281 25.0469 11.6719 24.8594 11.8594L18.7031 17.9844L24.8594 24.1406C25.0469 24.3281 25.0469 24.6719 24.8594 24.8594C24.6719 25.0469 24.3281 25.0469 24.1406 24.8594L18.0156 18.7031L11.8594 24.8594C11.6719 25.0469 11.3281 25.0469 11.1406 24.8594C10.9531 24.6719 10.9531 24.3281 11.1406 24.1406L17.2969 17.9844L11.1406 11.8594C10.9531 11.6719 10.9531 11.3281 11.1406 11.1406C11.3281 10.9531 11.6719 10.9531 11.8594 11.1406L18.0156 17.2969L24.1406 11.1406Z\"\n\t\t\tattr-fill=\"#1D1D1D\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getLightXIconMobile = (iconName) => (\n\t<svg\n\t\tattr-id={getIconId(iconName)}\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"15\"\n\t\tattr-height=\"15\"\n\t\tattr-viewBox=\"0 0 15 15\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M14.7891 14.7891C14.5078 15.0703 13.9922 15.0703 13.7109 14.7891L7.52344 8.55469L1.28906 14.7891C1.00781 15.0703 0.492188 15.0703 0.210938 14.7891C-0.0703125 14.5078 -0.0703125 13.9922 0.210938 13.7109L6.44531 7.47656L0.210938 1.28906C-0.0703125 1.00781 -0.0703125 0.492188 0.210938 0.210938C0.492188 -0.0703125 1.00781 -0.0703125 1.28906 0.210938L7.52344 6.44531L13.7109 0.210938C13.9922 -0.0703125 14.5078 -0.0703125 14.7891 0.210938C15.0703 0.492188 15.0703 1.00781 14.7891 1.28906L8.55469 7.47656L14.7891 13.7109C15.0703 13.9922 15.0703 14.5078 14.7891 14.7891Z\"\n\t\t\tattr-fill=\"white\"\n\t\t/>\n\t<\/svg>\n);\n\nconst getCircleCloseOutlineIcon = (iconName) => getCloseIcon(iconName);\n\nconst getNowLearningIcon = (iconName) => getOpenBookOutlineIcon(iconName);\n\nconst getProductDocumentationIcon = (iconName) => getBookIcon(iconName);\n\nconst getIconId = (iconName, size = ICON_SIZES.MD) => {\n\treturn `${iconName}--${size}`;\n};\n\nexport const getIcon = (icon, size = ICON_SIZES.MD, searchConfig = {}) => {\n\tlet iconName = icon;\n\n\t// If there are custom icons configured, use it.\n\tif (searchConfig?.sourceIcons) {\n\t\tconst iconFromSource = getIconFromSource(\n\t\t\ticonName,\n\t\t\tsize,\n\t\t\tsearchConfig.sourceIcons\n\t\t);\n\t\tif (iconFromSource) {\n\t\t\ticonName = iconFromSource;\n\t\t}\n\t}\n\n\tswitch (iconName) {\n\t\tcase 'now-logo':\n\t\t\treturn getServicenowFullLogoIcon(iconName);\n\t\tcase 'now-icon':\n\t\t\treturn getServicenowLogoIcon(iconName);\n\t\tcase 'clock-outline':\n\t\t\treturn getClockOutlineIcon(iconName);\n\t\tcase 'close-light':\n\t\t\treturn getLightXIcon(iconName);\n\t\tcase 'close-light-mobile':\n\t\t\treturn getLightXIconMobile(iconName);\n\t\tcase 'close-outline':\n\t\tcase 'circle-close-outline':\n\t\t\treturn getCircleCloseOutlineIcon(iconName);\n\t\tcase 'nowsupport':\n\t\tcase 'now-support':\n\t\tcase 'partner-portal':\n\t\tcase 'now-create':\n\t\tcase 'document-outline':\n\t\t\treturn getNowSupportIcon(iconName);\n\t\tcase 'best-practices':\n\t\tcase 'lightbulb-outline':\n\t\t\treturn getBestPracticesIcon(iconName);\n\t\tcase 'customer-success-center':\n\t\tcase 'customer-success':\n\t\tcase 'handshake-outline':\n\t\t\treturn getCustomerSuccessCenterIcon(iconName);\n\t\tcase 'developer-portal':\n\t\tcase 'code-outline':\n\t\t\treturn getDeveloperPortalIcon(iconName);\n\t\tcase 'now-community':\n\t\tcase 'now-community-articles':\n\t\tcase 'ongoing-outline':\n\t\t\treturn getNowCommunityIcon(iconName);\n\t\tcase 'servicenow':\n\t\tcase 'servicenow.com':\n\t\tcase 'dotcom-gsdr':\n\t\tcase 'globe-outline':\n\t\t\treturn getServicenowComIcon(iconName);\n\t\tcase 'nowlearning':\n\t\tcase 'now-learning':\n\t\tcase 'book-open-outline':\n\t\t\treturn getNowLearningIcon(iconName);\n\t\tcase 'product-documentation':\n\t\tcase 'book-outline':\n\t\t\treturn getProductDocumentationIcon(iconName);\n\t\tcase 'magnifying-glass-fill':\n\t\tcase 'magnifying-glass':\n\t\t\treturn getMagnifyingGlassIcon(iconName, size);\n\t\tcase 'arrow-right-long':\n\t\t\treturn getArrowRightLongIcon(iconName, size);\n\t\tdefault:\n\t\t\treturn <now-icon icon={iconName} size={size} />;\n\t}\n};\n\nexport const getIconFromSource = (\n\ticonName,\n\tsize = ICON_SIZES.MD,\n\tsourceIcons\n) => {\n\tconst sourceKeySize = `${iconName}-${size}`;\n\tconst sourceKey = iconName;\n\treturn (\n\t\t(sourceIcons && (sourceIcons[sourceKeySize] || sourceIcons[sourceKey])) ||\n\t\tnull\n\t);\n};\n","import '@servicenow/now-icon';\nimport '@servicenow/now-tooltip';\nimport '@servicenow/now-dropdown';\nimport isEmpty from 'lodash/isEmpty';\nimport {\n\tINPUT_CHANGED,\n\tSHOW_POPOVER,\n\tINPUT_FOCUSED_IN,\n\tINPUT_FOCUSED_OUT,\n\tSEARCH_CLOSED_INTERNAL\n} from '../actions';\nimport {MAX_QUERY_LENGTH, PLACEMENT, LABELS, ICON_SIZES} from '../constants';\nimport {getIcon} from '../../../../utils';\n\nlet shouldFocusInput = false;\n\nconst setFocus = (isMobileView, isCollapsedView) => (vnode) => {\n\tif ((isMobileView && vnode.elm) || (isCollapsedView && vnode.elm)) {\n\t\tvnode.elm.focus();\n\t}\n};\n\nconst removeFocus = (isMobileView, isCollapsedView) => (vnode) => {\n\tif ((isMobileView && vnode.elm) || (isCollapsedView && vnode.elm)) {\n\t\tvnode.elm.blur();\n\t}\n};\n\nconst view = ({\n\thasFocus,\n\tshowPopover,\n\tplaceholder,\n\tterm,\n\tdispatch,\n\tisMobileView,\n\tplacement,\n\thasSuggestions,\n\tanimationsEnabled,\n\tisCollapsedView,\n\tnowId,\n\tattachToNavigation,\n\tattachToElement,\n\tsearchConfig,\n\thideSearchPopover\n}) => {\n\tlet inputContainerClassName = `input-container  input-container--search `;\n\n\tif (showPopover) {\n\t\tinputContainerClassName += ' input-container--is-popover-open';\n\t}\n\n\t/*\n\t * focus is in input with text or\n\t * focus is on cancel button\n\t */\n\tconst showCancel = (term.length && hasFocus) || (term && !hasFocus);\n\n\t// Buttons should be large for the desktop in-page view, else medium\n\tconst buttonSize = placement === PLACEMENT.BODY ? 'lg' : 'md';\n\n\tconst navigationAttachedIcon = (\n\t\t<span\n\t\t\tclass={{\n\t\t\t\t'-attached-navigation-icon': true,\n\t\t\t\t'-empty': isEmpty(term)\n\t\t\t}}\n\t\t\taria-hidden=\"true\">\n\t\t\t{getIcon('magnifying-glass', ICON_SIZES.LG, searchConfig)}\n\t\t<\/span>\n\t);\n\n\tconst backIcon = (\n\t\t<now-button-iconic\n\t\t\tclassName=\"search-input__back-icon\"\n\t\t\ttype=\"button\"\n\t\t\tbare\n\t\t\tsize={buttonSize}\n\t\t\ticon=\"arrow-left-fill\"\n\t\t\tvariant=\"tertiary\"\n\t\t\tconfig-aria={{'aria-label': LABELS.SUBMIT_SEARCH}}\n\t\t\ton-click={() => {\n\t\t\t\tdispatch(SEARCH_CLOSED_INTERNAL);\n\t\t\t}}\n\t\t/>\n\t);\n\n\tconst cancelElement = (\n\t\t<now-button-bare\n\t\t\tappend-to-payload={{\n\t\t\t\taction: INPUT_CHANGED,\n\t\t\t\tpayload: {term: ''}\n\t\t\t}}\n\t\t\tbare\n\t\t\ttype=\"button\"\n\t\t\tsize={navigationAttachedIcon ? 'sm' : 'md'}\n\t\t\tclassName={\n\t\t\t\tanimationsEnabled\n\t\t\t\t\t? 'input-container__global-cancel-icon can-animate'\n\t\t\t\t\t: 'input-container__button-icon input-container__icon--cancel'\n\t\t\t}\n\t\t\ton-focus={() => {\n\t\t\t\tif (hasSuggestions) {\n\t\t\t\t\tdispatch(SHOW_POPOVER);\n\t\t\t\t}\n\t\t\t}}\n\t\t\tvariant=\"primary\"\n\t\t\tconfig-aria={{'aria-label': LABELS.CLEAR_SEARCH}}\n\t\t\ttooltip-content={LABELS.CLEAR_SEARCH}>\n\t\t\t<div className=\"cancel-icon\">\n\t\t\t\t{getIcon('close-outline', ICON_SIZES.XL, searchConfig)}\n\t\t\t<\/div>\n\t\t<\/now-button-bare>\n\t);\n\n\tconst inputElement = (\n\t\t// nds-scanner-disable-start native-element\n\t\t<input\n\t\t\tclass={{\n\t\t\t\t'input-container__input': true,\n\t\t\t\t'can-animate': animationsEnabled\n\t\t\t}}\n\t\t\taria-autocomplete=\"list\"\n\t\t\taria-expanded={showPopover ? 'true' : 'false'}\n\t\t\ttype=\"text\"\n\t\t\taria-owns={`${nowId}-search-popover`}\n\t\t\taria-controls={`${nowId}-search-popover`}\n\t\t\taria-haspopup=\"listbox\"\n\t\t\trole=\"combobox\"\n\t\t\taria-labelledby={`${nowId}-search-information`}\n\t\t\tmaxLength={MAX_QUERY_LENGTH}\n\t\t\taria-label={placeholder}\n\t\t\tplaceholder={placeholder}\n\t\t\ton-input={({target: {value}}) => {\n\t\t\t\tdispatch(INPUT_CHANGED, {term: value});\n\t\t\t}}\n\t\t\tvalue={term}\n\t\t\ton-focus={() => {\n\t\t\t\tif (shouldFocusInput) {\n\t\t\t\t\tshouldFocusInput = false;\n\t\t\t\t}\n\t\t\t\tdispatch(INPUT_FOCUSED_IN);\n\t\t\t}}\n\t\t\ton-blur={(ev) => {\n\t\t\t\tif (ev.relatedTarget?.className === 'search-popover__item-button') {\n\t\t\t\t\tev.preventDefault();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (shouldFocusInput) {\n\t\t\t\t\tev.target.focus();\n\t\t\t\t} else {\n\t\t\t\t\tdispatch(INPUT_FOCUSED_OUT, ev.relatedTarget);\n\t\t\t\t}\n\t\t\t}}\n\t\t\thook={{\n\t\t\t\tinsert: setFocus(isMobileView, isCollapsedView),\n\t\t\t\tdestroy: removeFocus(isMobileView, isCollapsedView)\n\t\t\t}}\n\t\t/>\n\t\t// nds-scanner-disable-stop native-element\n\t);\n\n\tconst isAttached = attachToElement || attachToNavigation ? true : false;\n\n\treturn (\n\t\t<div\n\t\t\tclassName={`${inputContainerClassName} ${\n\t\t\t\thideSearchPopover ? 'input-container--no-popover' : ''\n\t\t\t}`.trim()}>\n\t\t\t{isAttached ? navigationAttachedIcon : null}\n\t\t\t{!isAttached ? backIcon : null}\n\t\t\t{inputElement}\n\t\t\t{showCancel && !isEmpty(term) ? cancelElement : null}\n\t\t<\/div>\n\t);\n};\n\nexport default view;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import {\n\tPERSONAL_CLICK_FIELDS,\n\tEXACT_MATCH_FIELDS,\n\tQUERY_CONTENT_FIELDS,\n\tPOPOVER_ITEM_TYPE,\n\tSYS_ATTACHMENT\n} from '../constants';\n\nfunction getColumnByFieldName(columns, fieldName) {\n\tif (!columns || !Array.isArray(columns)) return {};\n\tconst matches = columns.filter((col) => col.fieldName === fieldName);\n\treturn matches.length > 0 ? matches[0] : {};\n}\n\n/**  For Attachments search based suggestions the expected navigation should be to the parent record\n * But parent table details are to be retrieved differently for personal click fields and query content\n **/\n\nfunction getAttachmentTableDetails(navItem, actionDataCol) {\n\tlet parentTableData;\n\tif (navItem.type === POPOVER_ITEM_TYPE.QUERY_CONTENT) {\n\t\tparentTableData = {\n\t\t\tparentTable:\n\t\t\t\tgetColumnByFieldName(navItem.columns, QUERY_CONTENT_FIELDS.PARENT_TABLE)\n\t\t\t\t\t.value || '',\n\t\t\tparentSysId:\n\t\t\t\tgetColumnByFieldName(\n\t\t\t\t\tnavItem.columns,\n\t\t\t\t\tQUERY_CONTENT_FIELDS.PARENT_RECORD_SYSID\n\t\t\t\t).value || ''\n\t\t};\n\t}\n\tif (\n\t\tnavItem.type === POPOVER_ITEM_TYPE.USER_HISTORY_AND_CLICK ||\n\t\tnavItem.type === POPOVER_ITEM_TYPE.PERSONAL_CLICK\n\t) {\n\t\tconst navData = JSON.parse(actionDataCol.value);\n\t\tconst {parentTable, parentSysId} = navData.actionPayload;\n\t\tparentTableData = {\n\t\t\tparentTable: parentTable,\n\t\t\tparentSysId: parentSysId\n\t\t};\n\t}\n\treturn parentTableData;\n}\nfunction splitHighlighting(text) {\n\tconst highlightFragments = [];\n\tlet rawText = text;\n\tlet index = rawText.indexOf('<highlight>');\n\twhile (index >= 0) {\n\t\thighlightFragments.push(rawText.substring(0, index));\n\t\thighlightFragments.push(\n\t\t\trawText.substring(index + 11, rawText.indexOf('<\/highlight>'))\n\t\t);\n\t\trawText = rawText.substring(rawText.indexOf('<\/highlight>') + 12);\n\t\tindex = rawText.indexOf('<highlight>');\n\t}\n\thighlightFragments.push(rawText);\n\treturn highlightFragments.join('');\n}\n\nfunction parseNavItem(navItem) {\n\tconst title =\n\t\tgetColumnByFieldName(navItem.columns, 'title').value ||\n\t\tgetColumnByFieldName(navItem.columns, 'name').value ||\n\t\t'';\n\tconst newTitle = splitHighlighting(title);\n\n\tconst tableValue =\n\t\tnavItem.table ||\n\t\tgetColumnByFieldName(navItem.columns, PERSONAL_CLICK_FIELDS.TABLE).value ||\n\t\tgetColumnByFieldName(navItem.columns, EXACT_MATCH_FIELDS.TABLE).value ||\n\t\t'';\n\n\tconst table =\n\t\tnavItem.type === POPOVER_ITEM_TYPE.QUERY_CONTENT\n\t\t\t? getColumnByFieldName(navItem.columns, QUERY_CONTENT_FIELDS.TABLE).value\n\t\t\t: tableValue;\n\n\tconst label =\n\t\tnavItem.label ||\n\t\tgetColumnByFieldName(navItem.columns, PERSONAL_CLICK_FIELDS.LABEL).value ||\n\t\t'';\n\n\tconst actionDataCol = getColumnByFieldName(\n\t\tnavItem.columns,\n\t\tPERSONAL_CLICK_FIELDS.ACTION_DATA\n\t);\n\n\tconst recordUrl =\n\t\tgetColumnByFieldName(navItem.columns, PERSONAL_CLICK_FIELDS.URL).value ||\n\t\tgetColumnByFieldName(navItem.columns, EXACT_MATCH_FIELDS.RECORD_URL)\n\t\t\t.value ||\n\t\tgetColumnByFieldName(navItem.columns, QUERY_CONTENT_FIELDS.RECORD_URL)\n\t\t\t.value ||\n\t\t'';\n\n\tconst sysId =\n\t\tgetColumnByFieldName(navItem.columns, PERSONAL_CLICK_FIELDS.SYSID).value ||\n\t\tgetColumnByFieldName(navItem.columns, EXACT_MATCH_FIELDS.SYSID).value ||\n\t\tgetColumnByFieldName(navItem.columns, QUERY_CONTENT_FIELDS.SYSID).value ||\n\t\t'';\n\n\tconst sourceTable = getColumnByFieldName(\n\t\tnavItem.columns,\n\t\tEXACT_MATCH_FIELDS.TABLE\n\t).value;\n\n\tlet actionData = {};\n\tif (recordUrl && table !== SYS_ATTACHMENT) {\n\t\tactionData = {\n\t\t\tactionPayload: {\n\t\t\t\ttable: table,\n\t\t\t\tsysId: sysId,\n\t\t\t\trecordUrl: recordUrl\n\t\t\t}\n\t\t};\n\t} else if (table === SYS_ATTACHMENT) {\n\t\tconst parentTableData = getAttachmentTableDetails(navItem, actionDataCol);\n\t\tactionData = {\n\t\t\tactionPayload: {\n\t\t\t\ttable: parentTableData.parentTable,\n\t\t\t\tsysId: parentTableData.parentSysId\n\t\t\t}\n\t\t};\n\t} else if (actionDataCol && actionDataCol.value) {\n\t\ttry {\n\t\t\tactionData = JSON.parse(actionDataCol.value);\n\t\t} catch (e) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.log(`invalid JSON syntax in actionData: ${actionDataCol.value}`);\n\t\t}\n\t}\n\n\treturn {\n\t\ttable,\n\t\tsourceTable,\n\t\tlabel,\n\t\tactionPayload: actionData,\n\t\ttitle: newTitle\n\t};\n}\n\nexport default parseNavItem;\n","import '@servicenow/now-icon';\nimport '@servicenow/now-button';\nimport {\n\tMOUSE_OVERED,\n\tITEM_SELECTED,\n\tSET_REF,\n\tHANDLE_TOOLTIP_ON_TRUNCATED_TEXT\n} from '../../actions';\nimport {LABELS, KEYCODE, ICON_SIZES} from '../../constants';\nimport {t} from 'sn-translate';\nimport {getIcon} from '../../../../../utils';\n\nconst createActions = (actions, term, searchConfig) =>\n\t(actions || []).map((action) => {\n\t\tconst {clickActionType, icon} = action;\n\t\treturn (\n\t\t\t<now-button-bare\n\t\t\t\tappend-to-payload={{\n\t\t\t\t\taction: clickActionType,\n\t\t\t\t\tpayload: {term}\n\t\t\t\t}}\n\t\t\t\tclassName=\"search-popover__item-button\"\n\t\t\t\tsize=\"xs\"\n\t\t\t\tvariant=\"primary\"\n\t\t\t\tbare\n\t\t\t\tconfig-aria={{\n\t\t\t\t\t'aria-label': `${LABELS.CLEAR_RECENT_SEARCH}: ${term}`\n\t\t\t\t}}\n\t\t\t\ttooltip-content={`${LABELS.CLEAR_RECENT_SEARCH}: ${term}`}>\n\t\t\t\t<span\n\t\t\t\t\tclassName=\"action-icon\"\n\t\t\t\t\trole=\"button\"\n\t\t\t\t\taria-label={`${LABELS.CLEAR_RECENT_SEARCH}: ${term}`}>\n\t\t\t\t\t{getIcon(icon, ICON_SIZES.SM, searchConfig)}\n\t\t\t\t<\/span>\n\t\t\t<\/now-button-bare>\n\t\t);\n\t});\n\nconst view = ({\n\ticon,\n\tisActive,\n\tindex,\n\tdispatch,\n\tbreadCrumbText,\n\tprimaryText,\n\tsuggestionLabel = '',\n\tshowActions,\n\titemActions = [],\n\tshowTooltip = false,\n\ttitleRef,\n\ttooltipContent = '',\n\titemType = '',\n\titem,\n\tsearchConfig\n}) => {\n\tconst actions = createActions(itemActions, suggestionLabel, searchConfig);\n\n\tconst findSearchPopoverListItem = function(target) {\n\t\t// the mouse click can happen on any inner elements. Hence, this helps identify parent div recursively for dispatch\n\t\tif (\n\t\t\ttarget?.classList?.contains('search-popover__item-metadata-global') ===\n\t\t\tfalse\n\t\t) {\n\t\t\treturn findSearchPopoverListItem(target.parentNode);\n\t\t}\n\t\treturn target;\n\t};\n\n\tconst onItemSelection = (evt) => {\n\t\tevt.preventDefault();\n\n\t\tdispatch(HANDLE_TOOLTIP_ON_TRUNCATED_TEXT, {\n\t\t\tshowToolTip: false,\n\t\t\ttarget: findSearchPopoverListItem(evt.target)\n\t\t});\n\t\t// button-bare dispatches its own action\n\n\t\tif (\n\t\t\t!evt.target.matches('now-button-bare') &&\n\t\t\t// if is child of now-button\n\t\t\t!evt.target.closest('now-button-bare')\n\t\t) {\n\t\t\tdispatch(ITEM_SELECTED, {\n\t\t\t\tselectedItem: item\n\t\t\t});\n\t\t}\n\t};\n\n\tconst onMouseOver = () => {\n\t\tdispatch(MOUSE_OVERED, {index});\n\t};\n\n\tconst getBody = () => {\n\t\tif (breadCrumbText && breadCrumbText[0]) {\n\t\t\tif (breadCrumbText[1]) {\n\t\t\t\treturn (\n\t\t\t\t\t<div className=\"search-popover__item--content-container\">\n\t\t\t\t\t\t<p dir=\"auto\" className=\"primary-text-container\">\n\t\t\t\t\t\t\t{primaryText}\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t<p\n\t\t\t\t\t\t\tdir=\"auto\"\n\t\t\t\t\t\t\tclass={{\n\t\t\t\t\t\t\t\t'click-breadcrumb': true\n\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t<span>{breadCrumbText[0]}<\/span>\n\t\t\t\t\t\t\t<span>{breadCrumbText[1]}<\/span>\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn (\n\t\t\t\t<div className=\"search-popover__item--content-container\">\n\t\t\t\t\t<p dir=\"auto\" className=\"primary-text-container\">\n\t\t\t\t\t\t{primaryText}\n\t\t\t\t\t<\/p>\n\t\t\t\t\t<p\n\t\t\t\t\t\tdir=\"auto\"\n\t\t\t\t\t\tclass={{\n\t\t\t\t\t\t\t'click-breadcrumb': true\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t{breadCrumbText[0]}\n\t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t);\n\t\t}\n\t\treturn (\n\t\t\t<p dir=\"auto\" className=\"primary-text-container\">\n\t\t\t\t{primaryText}\n\t\t\t<\/p>\n\t\t);\n\t};\n\n\tconst getTooltip = () => {\n\t\tif (showTooltip) {\n\t\t\treturn (\n\t\t\t\t<now-tooltip\n\t\t\t\t\tid=\"titleTooltip\"\n\t\t\t\t\ttarget-ref={titleRef}\n\t\t\t\t\tcontent={t('Open record related to attachment')}\n\t\t\t\t\tdelay={500}\n\t\t\t\t\tposition={[\n\t\t\t\t\t\t'top-center bottom-center',\n\t\t\t\t\t\t'bottom-center top-center',\n\t\t\t\t\t\t'center-end center-start',\n\t\t\t\t\t\t'center-start center-end',\n\t\t\t\t\t\t'top-end top-start',\n\t\t\t\t\t\t'bottom-end bottom-start',\n\t\t\t\t\t\t'top-start top-end',\n\t\t\t\t\t\t'bottom-start bottom-end'\n\t\t\t\t\t]}\n\t\t\t\t\toffset={8}\n\t\t\t\t/>\n\t\t\t);\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t};\n\treturn (\n\t\t<li\n\t\t\tclass={{\n\t\t\t\t'search-popover__item': true,\n\t\t\t\t'-search-popover__item--is-active': isActive,\n\t\t\t\t[`-search-popover__type--${itemType.toLowerCase()}`]: itemType\n\t\t\t}}\n\t\t\ton-mousedown={onItemSelection}\n\t\t\ton-mouseover={onMouseOver}\n\t\t\ttabindex={-1}\n\t\t\trole=\"menuitem\">\n\t\t\t<div\n\t\t\t\tclass={{\n\t\t\t\t\t'search-popover__item-metadata': true\n\t\t\t\t}}\n\t\t\t\trole=\"button\"\n\t\t\t\ttabindex={0}\n\t\t\t\thook-insert={({elm}) => {\n\t\t\t\t\tif (showTooltip) {\n\t\t\t\t\t\tdispatch(SET_REF, {\n\t\t\t\t\t\t\telm\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t\tdata-tooltip={suggestionLabel || tooltipContent}\n\t\t\t\ton-mouseenter={(event) => {\n\t\t\t\t\tdispatch(HANDLE_TOOLTIP_ON_TRUNCATED_TEXT, {\n\t\t\t\t\t\tshowToolTip: true,\n\t\t\t\t\t\ttarget: event.target\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t\ton-mouseleave={(event) => {\n\t\t\t\t\tdispatch(HANDLE_TOOLTIP_ON_TRUNCATED_TEXT, {\n\t\t\t\t\t\tshowToolTip: false,\n\t\t\t\t\t\ttarget: event.target\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t\ton-focusin={(event) => {\n\t\t\t\t\tdispatch(HANDLE_TOOLTIP_ON_TRUNCATED_TEXT, {\n\t\t\t\t\t\tshowToolTip: true,\n\t\t\t\t\t\ttarget: event.target\n\t\t\t\t\t});\n\t\t\t\t\tonMouseOver();\n\t\t\t\t}}\n\t\t\t\ton-focusout={(event) => {\n\t\t\t\t\tdispatch(HANDLE_TOOLTIP_ON_TRUNCATED_TEXT, {\n\t\t\t\t\t\tshowToolTip: false,\n\t\t\t\t\t\ttarget: event.target\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t\ton-keypress={(event) => {\n\t\t\t\t\tif (event.code === KEYCODE.ENTER) {\n\t\t\t\t\t\tdispatch(HANDLE_TOOLTIP_ON_TRUNCATED_TEXT, {\n\t\t\t\t\t\t\tshowToolTip: false,\n\t\t\t\t\t\t\ttarget: event.target\n\t\t\t\t\t\t});\n\t\t\t\t\t\tonItemSelection(event);\n\t\t\t\t\t}\n\t\t\t\t}}>\n\t\t\t\t{getTooltip()}\n\t\t\t\t<div\n\t\t\t\t\tclass={{\n\t\t\t\t\t\t'search-popover__item-icon': true\n\t\t\t\t\t}}>\n\t\t\t\t\t{getIcon(icon, ICON_SIZES.MD, searchConfig)}\n\t\t\t\t<\/div>\n\t\t\t\t<div\n\t\t\t\t\tclass={{\n\t\t\t\t\t\t'search-popover__item-primary-text': true\n\t\t\t\t\t}}>\n\t\t\t\t\t{getBody()}\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t{showActions ? actions : null}\n\t\t<\/li>\n\t);\n};\n\nexport default view;\n","import {POPOVER_ITEM_TYPE} from '../../constants';\nimport Item from './PopoverItem';\n\nconst view = ({\n\tindex,\n\tterm,\n\tdispatch,\n\tisActive,\n\ttooltipContent,\n\titemType = 'search_term',\n\titem,\n\tsearchConfig\n}) => (\n\t<Item\n\t\tisActive={isActive}\n\t\ttype={POPOVER_ITEM_TYPE.USER_SEARCH_TERM}\n\t\tindex={index}\n\t\ticon=\"magnifying-glass-fill\"\n\t\tprimaryText={term}\n\t\tdispatch={dispatch}\n\t\ttooltipContent={tooltipContent}\n\t\titemType={itemType}\n\t\titem={item}\n\t\tsearchConfig={searchConfig}\n\t/>\n);\n\nexport default view;\n","const view = ({label, index, itemType = 'section_header'}) => {\n\tconst getLabelName = (label) => {\n\t\treturn label;\n\t};\n\n\tconst labelName = getLabelName(label);\n\t// customization, per Chengchang the OOB behavior is confusing for the user and suggested header should be removed\n\tif (\n\t\tString(labelName)\n\t\t\t.toLowerCase()\n\t\t\t.includes('suggested')\n\t) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<li\n\t\t\tclass={{\n\t\t\t\t'search-popover__section-header': true,\n\t\t\t\t[`-search-popover__type--${itemType.toLowerCase()}`]: itemType\n\t\t\t}}\n\t\t\trole=\"menuitem\"\n\t\t\taria-hidden=\"true\">\n\t\t\t<span id={`result-section-header-${index}`}>{labelName}<\/span>\n\t\t<\/li>\n\t);\n};\n\nexport default view;\n","import {Fragment} from '@servicenow/ui-renderer-snabbdom';\n\nconst replaceWhiteSpace = (str) => (str || '').replace(/\\s/g, '\\u00a0');\n\n// bold the matched string\nconst highlightMatch = (match, str) => {\n\tconst matchText = match || '';\n\n\tconst sourceText =\n\t\tnew DOMParser().parseFromString(str, 'text/html').documentElement\n\t\t\t.textContent || '';\n\n\tconst matchStartIndex = sourceText\n\t\t.toLowerCase()\n\t\t.indexOf(matchText.toLowerCase());\n\tconst matchEndIndex =\n\t\tmatchStartIndex !== -1 ? matchStartIndex + matchText.length : 0;\n\n\tconst regularLeftText = replaceWhiteSpace(\n\t\tsourceText.substring(0, matchStartIndex)\n\t);\n\tconst bold = replaceWhiteSpace(\n\t\tsourceText.substring(matchStartIndex, matchEndIndex)\n\t);\n\tconst regularRightText = replaceWhiteSpace(\n\t\tsourceText.substring(matchEndIndex)\n\t);\n\n\tconst leftTextVNode = regularLeftText || null;\n\tconst middleTextVNode = bold ? <strong>{bold}<\/strong> : null;\n\tconst rightTextVNode = regularRightText || null;\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{leftTextVNode}\n\t\t\t{middleTextVNode}\n\t\t\t{rightTextVNode}\n\t\t<\/Fragment>\n\t);\n};\n\nexport default highlightMatch;\n","import Item from './PopoverItem';\nimport highlightMatch from '../../utils/highlight';\nimport {CLEAR_SEARCH_SELECTED} from '../../actions';\n\nconst view = ({\n\tterm,\n\tname,\n\tindex,\n\tdispatch,\n\tisActive,\n\tshowActions,\n\ttooltipContent,\n\ticon = 'change-outline',\n\titemType = 'user_history',\n\titem,\n\tsearchConfig\n}) => {\n\tconst disableClearSearch =\n\t\tsearchConfig.disableClearSearch === true ? true : false;\n\n\tconst actions = [];\n\n\tif (!disableClearSearch) {\n\t\tactions.push({\n\t\t\tclickActionType: CLEAR_SEARCH_SELECTED,\n\t\t\ticon: 'close-outline'\n\t\t});\n\t}\n\n\tconst primaryText = highlightMatch(term, name);\n\treturn (\n\t\t<Item\n\t\t\tisActive={isActive}\n\t\t\tindex={index}\n\t\t\ticon={icon}\n\t\t\tprimaryText={primaryText}\n\t\t\tsuggestionLabel={name}\n\t\t\titemActions={actions}\n\t\t\tdispatch={dispatch}\n\t\t\tshowActions={showActions}\n\t\t\ttooltipContent={tooltipContent}\n\t\t\titemType={itemType}\n\t\t\titem={item}\n\t\t\tsearchConfig={searchConfig}\n\t\t/>\n\t);\n};\n\nexport default view;\n","import Item from './PopoverItem';\nimport highlightMatch from '../../utils/highlight';\n\nconst view = ({\n\tterm,\n\tname,\n\tindex,\n\tdispatch,\n\tisActive,\n\ttooltipContent,\n\titemType = 'instance_history',\n\titem,\n\tsearchConfig\n}) => {\n\tconst icon = 'magnifying-glass-fill';\n\tconst primaryText = highlightMatch(term, name);\n\treturn (\n\t\t<Item\n\t\t\tisActive={isActive}\n\t\t\tindex={index}\n\t\t\ticon={icon}\n\t\t\tprimaryText={primaryText}\n\t\t\tdispatch={dispatch}\n\t\t\ttooltipContent={tooltipContent}\n\t\t\titemType={itemType}\n\t\t\titem={item}\n\t\t\tsearchConfig={searchConfig}\n\t\t/>\n\t);\n};\n\nexport default view;\n","const view = ({ariaLiveText, ariaBusyState = false}) => {\n\tif (!ariaBusyState && !ariaLiveText.length) return null;\n\n\treturn (\n\t\t<span\n\t\t\tclassName=\"sr-only\"\n\t\t\taria-live=\"polite\"\n\t\t\taria-busy={ariaBusyState ? 'true' : 'false'}>\n\t\t\t{ariaLiveText}\n\t\t<\/span>\n\t);\n};\n\nexport default view;\n","import Item from './PopoverItem';\nimport highlightMatch from '../../utils/highlight';\nimport {Fragment} from '@servicenow/ui-renderer-snabbdom';\nimport AriaLiveContainer from '../ariaLiveContainer';\nimport {SR_LABELS} from '../../constants';\n\nconst view = ({\n\tterm,\n\tbreadCrumbText,\n\tisActive,\n\ttype,\n\tname,\n\ticon,\n\tindex,\n\tdispatch,\n\titem,\n\texactMatch = {},\n\tenableExactMatch = false,\n\ttitleRef,\n\tshowTooltip,\n\ttooltipContent,\n\titemType = 'navigation',\n\tsearchConfig\n}) => {\n\tconst actions = [];\n\tconst ariaLiveTextContainer = enableExactMatch ? (\n\t\t<AriaLiveContainer ariaLiveText={SR_LABELS.EXACT_MATCH_FOUND} />\n\t) : null;\n\n\t// apply highlighting for exact match\n\tlet primaryText =\n\t\texactMatch.hasExactMatch && enableExactMatch\n\t\t\t? item.columns[0].displayValue\n\t\t\t: highlightMatch(term, name);\n\n\t// if the response already has highlight tags in it, apply that highlighting\n\tif (name.indexOf('<highlight>') >= 0 && name.indexOf('<\/highlight>') >= 0) {\n\t\tprimaryText = splitHighlighting(name);\n\t}\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{ariaLiveTextContainer}\n\t\t\t<Item\n\t\t\t\tisActive={isActive}\n\t\t\t\ttype={type}\n\t\t\t\tbreadCrumbText={breadCrumbText}\n\t\t\t\tindex={index}\n\t\t\t\ticon={icon}\n\t\t\t\tprimaryText={primaryText}\n\t\t\t\titemActions={actions}\n\t\t\t\tdispatch={dispatch}\n\t\t\t\titem={item}\n\t\t\t\tnotRecentSearch\n\t\t\t\ttitleRef={titleRef}\n\t\t\t\tshowTooltip={showTooltip}\n\t\t\t\tuserHistoryAndClick\n\t\t\t\ttooltipContent={tooltipContent}\n\t\t\t\titemType={itemType}\n\t\t\t\tsearchConfig={searchConfig}\n\t\t\t/>\n\t\t<\/Fragment>\n\t);\n};\n\nconst splitHighlighting = (text) => {\n\tconst highlightFragments = [];\n\tlet rawText = text;\n\tlet index = rawText.indexOf('<highlight>');\n\twhile (index >= 0) {\n\t\thighlightFragments.push(rawText.substring(0, index));\n\t\thighlightFragments.push(\n\t\t\t<strong>\n\t\t\t\t{rawText.substring(index + 11, rawText.indexOf('<\/highlight>'))}\n\t\t\t<\/strong>\n\t\t);\n\t\trawText = rawText.substring(rawText.indexOf('<\/highlight>') + 12);\n\t\tindex = rawText.indexOf('<highlight>');\n\t}\n\thighlightFragments.push(rawText);\n\treturn <Fragment>{highlightFragments}<\/Fragment>;\n};\n\nexport default view;\n","import {\n\tSEARCH_EXECUTED_INTERNAL,\n\tSIGNIN_BUTTON_CLICKED_INITIATED\n} from '../../actions';\nimport {t} from 'sn-translate';\nimport {getIcon} from '../../../../../utils';\nimport {\n\tICON_SIZES,\n\tKEYCODE,\n\tPOPOVER_FOOTER_SEARCH_EXPERIENCE,\n\tPOPOVER_FOOTER_SIGN_IN\n} from '../../constants';\nimport {Fragment} from '@servicenow/ui-renderer-snabbdom';\n\nconst view = ({\n\tterm,\n\tdispatch,\n\tisSearchInput,\n\titemType = 'footer',\n\tisLoggedIn = false,\n\tattachToNavigation = false,\n\tshowLoginNotice = false,\n\tindex,\n\tsearchConfig\n}) => {\n\tconst onFooterItemClick = () => {\n\t\tdispatch(SEARCH_EXECUTED_INTERNAL, {searchTerm: term});\n\t};\n\tconst onFooterSignInClick = () => {\n\t\tconst pathname = window.location.pathname;\n\t\tdispatch(SIGNIN_BUTTON_CLICKED_INITIATED, {pathname});\n\t};\n\n\tconst replaceWhiteSpace = (str) => (str || '').replace(/\\s/g, '\\u00a0');\n\n\tconst viewAll = term ? (\n\t\t<li\n\t\t\tclass={{\n\t\t\t\t'search-popover__item-view-all': true,\n\t\t\t\t[`-search-popover__type--${itemType}`]: true,\n\t\t\t\t'search-popover__item-sign-in-notice-added': !isLoggedIn\n\t\t\t}}>\n\t\t\t<span\n\t\t\t\trole=\"button\"\n\t\t\t\ttabindex={0}\n\t\t\t\ton-mousedown={onFooterItemClick}\n\t\t\t\ton-keypress={(event) => {\n\t\t\t\t\tif (event.code === KEYCODE.ENTER) {\n\t\t\t\t\t\tonFooterItemClick();\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t\tclassName=\"search-popover__item-text-link\">\n\t\t\t\t{isSearchInput\n\t\t\t\t\t? t('sn_cx_nav.view_all_results_for', term)\n\t\t\t\t\t: t('sn_cx_nav.view_all_results_for', term)}\n\t\t\t\t<span className=\"view-all-arrow-icon\">\n\t\t\t\t\t{getIcon('arrow-right-long', ICON_SIZES.MD, searchConfig)}\n\t\t\t\t<\/span>\n\t\t\t<\/span>\n\t\t<\/li>\n\t) : null;\n\n\tconst loginInNotice =\n\t\t!isLoggedIn && !attachToNavigation && showLoginNotice ? (\n\t\t\t<li\n\t\t\t\tclass={{\n\t\t\t\t\t'search-popover__item-sign-in-notice': true,\n\t\t\t\t\t[`-search-popover__type--${itemType}`]: true,\n\t\t\t\t\t'search-popover__item-sign-in-notice-empty':\n\t\t\t\t\t\tterm === '' && index === 0\n\t\t\t\t}}>\n\t\t\t\t<span\n\t\t\t\t\trole=\"button\"\n\t\t\t\t\tclassName=\"search-popover__item-text-link\"\n\t\t\t\t\ton-click={(e) => {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tonFooterSignInClick();\n\t\t\t\t\t}}\n\t\t\t\t\ton-keypress={(event) => {\n\t\t\t\t\t\tif (event.code === KEYCODE.ENTER) {\n\t\t\t\t\t\t\tonFooterSignInClick();\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t\ttabindex={0}>\n\t\t\t\t\t{POPOVER_FOOTER_SIGN_IN}\n\t\t\t\t<\/span>\n\t\t\t\t<span className=\"search-popover__item-sign-in-notice-text\">\n\t\t\t\t\t{replaceWhiteSpace(POPOVER_FOOTER_SEARCH_EXPERIENCE)}\n\t\t\t\t<\/span>\n\t\t\t<\/li>\n\t\t) : null;\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{viewAll}\n\t\t\t{loginInNotice}\n\t\t<\/Fragment>\n\t);\n};\n\nexport default view;\n","import {t} from 'sn-translate';\nimport {upperFirst, lowerCase} from 'lodash';\nimport {\n\tPOPOVER_ITEM_TYPE,\n\tSYS_ATTACHMENT,\n\tATTACHMENT_LABEL,\n\tEXACT_MATCH_FIELDS\n} from '../../constants';\nimport parseNavItem from '../../utils/parseNavItem';\n\nimport SearchTerm from './SearchTerm';\nimport SectionHeader from './SectionHeader';\nimport UserHistory from './UserHistory';\nimport InstanceHistory from './InstanceHistory';\nimport Navigation from './Navigation';\nimport PopoverFooter from './PopoverFooter';\nimport {getPopoverItemIcon} from '../../utils/getPopoverItemIcon';\n\nconst getPopoverItem = ({\n\titem,\n\tdispatch,\n\tisActive,\n\tterm,\n\tindex,\n\ttotalSectionsToDisplay,\n\texactMatch,\n\tenableExactMatch,\n\ttitleRef,\n\tsearchConfig,\n\tisLoggedIn,\n\tattachToNavigation\n}) => {\n\tconst navItem = parseNavItem(item);\n\tconst itemFooter = item.type === POPOVER_ITEM_TYPE.FOOTER;\n\tlet itemText;\n\tlet breadCrumbText;\n\tconst icon = getPopoverItemIcon(item, navItem, searchConfig);\n\tlet tableName;\n\tlet number;\n\tlet showTooltip;\n\tlet documentType;\n\n\tif (!itemFooter) {\n\t\titemText = item.columns[0]?.displayValue;\n\t\titem.columns.forEach((column) => {\n\t\t\tif (column.fieldName === EXACT_MATCH_FIELDS.NUMBER) {\n\t\t\t\tnumber = column?.displayValue;\n\t\t\t} else if (column.fieldName === EXACT_MATCH_FIELDS.TABLE) {\n\t\t\t\ttableName = column?.displayValue;\n\t\t\t} else if (column.fieldName === EXACT_MATCH_FIELDS.DOCUMENT_TYPE_ID) {\n\t\t\t\tdocumentType = column;\n\t\t\t}\n\t\t});\n\n\t\tif (\n\t\t\titem.type != POPOVER_ITEM_TYPE.USER_HISTORY &&\n\t\t\titem.type != POPOVER_ITEM_TYPE.SECTION_HEADER\n\t\t) {\n\t\t\tconst sourceTable = navItem.table;\n\t\t\tif (sourceTable === SYS_ATTACHMENT) {\n\t\t\t\tshowTooltip = true;\n\t\t\t\ttableName = documentType\n\t\t\t\t\t? upperFirst(lowerCase(documentType.displayValue))\n\t\t\t\t\t: tableName;\n\t\t\t\ttableName =\n\t\t\t\t\ttableName === ATTACHMENT_LABEL ? t(ATTACHMENT_LABEL) : tableName;\n\t\t\t\tnumber = number ? t('From: {0}', number) : undefined;\n\t\t\t}\n\t\t\tbreadCrumbText = [tableName, number];\n\t\t}\n\t}\n\n\tconst getTooltipContent = () => {\n\t\t// concatenate primary text with breadcrumb texts for tooltip on trcuncated texts\n\t\tconst breadCrumbTextContent = breadCrumbText\n\t\t\t? breadCrumbText.join(' ')\n\t\t\t: '';\n\t\tconst primaryTextContent = new DOMParser().parseFromString(\n\t\t\titemText,\n\t\t\t'text/html'\n\t\t).documentElement.textContent;\n\t\treturn primaryTextContent.concat(' ', breadCrumbTextContent);\n\t};\n\n\tswitch (item.type) {\n\t\tcase POPOVER_ITEM_TYPE.USER_SEARCH_TERM:\n\t\t\treturn (\n\t\t\t\t<SearchTerm\n\t\t\t\t\tisActive={isActive}\n\t\t\t\t\tindex={index}\n\t\t\t\t\tname={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\tterm={term}\n\t\t\t\t\ttooltipContent={getTooltipContent()}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t\titem={item}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t/>\n\t\t\t);\n\n\t\tcase POPOVER_ITEM_TYPE.SECTION_HEADER:\n\t\t\treturn (\n\t\t\t\t<SectionHeader\n\t\t\t\t\tlabel={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\tindex={index}\n\t\t\t\t\ttotalSectionsToDisplay={totalSectionsToDisplay}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t/>\n\t\t\t);\n\n\t\tcase POPOVER_ITEM_TYPE.POPULAR_QUERY:\n\t\t\treturn (\n\t\t\t\t<InstanceHistory\n\t\t\t\t\tisActive={isActive}\n\t\t\t\t\tindex={index}\n\t\t\t\t\tname={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\tterm={term}\n\t\t\t\t\ttooltipContent={getTooltipContent()}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t\titem={item}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t/>\n\t\t\t);\n\t\tcase POPOVER_ITEM_TYPE.USER_HISTORY:\n\t\t\treturn (\n\t\t\t\t<UserHistory\n\t\t\t\t\tisActive={isActive}\n\t\t\t\t\tindex={index}\n\t\t\t\t\tname={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\tterm={term}\n\t\t\t\t\tshowActions={!term}\n\t\t\t\t\ticon={icon}\n\t\t\t\t\ttooltipContent={getTooltipContent()}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t\titem={item}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t/>\n\t\t\t);\n\t\tcase POPOVER_ITEM_TYPE.PERSONAL_CLICK:\n\t\t\treturn (\n\t\t\t\t<Navigation\n\t\t\t\t\tisActive={isActive}\n\t\t\t\t\ttype={item.type}\n\t\t\t\t\tbreadCrumbText={breadCrumbText}\n\t\t\t\t\tindex={index}\n\t\t\t\t\tname={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\ticon={icon}\n\t\t\t\t\tterm={term}\n\t\t\t\t\titem={item}\n\t\t\t\t\ttooltipContent={getTooltipContent()}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t/>\n\t\t\t);\n\t\tcase POPOVER_ITEM_TYPE.EXACT_MATCH:\n\t\t\treturn (\n\t\t\t\t<Navigation\n\t\t\t\t\tisActive={isActive}\n\t\t\t\t\ttype={item.type}\n\t\t\t\t\tbreadCrumbText={breadCrumbText}\n\t\t\t\t\tindex={index}\n\t\t\t\t\tname={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\ticon={icon}\n\t\t\t\t\tterm={term}\n\t\t\t\t\titem={item}\n\t\t\t\t\texactMatch={exactMatch}\n\t\t\t\t\tenableExactMatch={enableExactMatch}\n\t\t\t\t\ttooltipContent={getTooltipContent()}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t/>\n\t\t\t);\n\t\tcase POPOVER_ITEM_TYPE.QUERY_CONTENT:\n\t\tcase POPOVER_ITEM_TYPE.RECENTLY_VIEWED:\n\t\t\treturn (\n\t\t\t\t<Navigation\n\t\t\t\t\tisActive={isActive}\n\t\t\t\t\ttype={item.type}\n\t\t\t\t\tbreadCrumbText={breadCrumbText}\n\t\t\t\t\tindex={index}\n\t\t\t\t\tname={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\ticon={icon}\n\t\t\t\t\tterm={term}\n\t\t\t\t\titem={item}\n\t\t\t\t\ttitleRef={titleRef}\n\t\t\t\t\tshowTooltip={showTooltip}\n\t\t\t\t\ttooltipContent={getTooltipContent()}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t/>\n\t\t\t);\n\t\tcase POPOVER_ITEM_TYPE.USER_HISTORY_AND_CLICK:\n\t\t\treturn (\n\t\t\t\t<Navigation\n\t\t\t\t\tisActive={isActive}\n\t\t\t\t\ttype={item.type}\n\t\t\t\t\tbreadCrumbText={breadCrumbText}\n\t\t\t\t\tindex={index}\n\t\t\t\t\tname={itemText}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\ticon={icon}\n\t\t\t\t\tterm={term}\n\t\t\t\t\titem={item}\n\t\t\t\t\ttooltipContent={getTooltipContent()}\n\t\t\t\t\titemType={item.type}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t/>\n\t\t\t);\n\t\tcase POPOVER_ITEM_TYPE.FOOTER:\n\t\t\tif (term || !isLoggedIn)\n\t\t\t\treturn (\n\t\t\t\t\t<PopoverFooter\n\t\t\t\t\t\tterm={term}\n\t\t\t\t\t\tisActive={isActive}\n\t\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\t\tindex={index}\n\t\t\t\t\t\titemType={item.type}\n\t\t\t\t\t\tisLoggedIn={isLoggedIn}\n\t\t\t\t\t\tattachToNavigation={attachToNavigation}\n\t\t\t\t\t\tshowLoginNotice={searchConfig.showLoginNotice}\n\t\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\treturn '';\n\t}\n};\n\nexport default getPopoverItem;\n","import {\n\tPOPOVER_ITEM_TYPE,\n\tICON_TYPE,\n\tICON_SOURCE_MAP,\n\tICON_SIZES\n} from '../constants';\nimport {getIconFromSource} from '../../../../utils';\n\nexport const getPopoverItemIcon = (item, navItem, searchConfig = {}) => {\n\t// debugger;\n\tif (\n\t\t[POPOVER_ITEM_TYPE.FOOTER, POPOVER_ITEM_TYPE.SECTION_HEADER].includes(\n\t\t\titem.type\n\t\t)\n\t) {\n\t\treturn null;\n\t}\n\n\tif (\n\t\t[\n\t\t\tPOPOVER_ITEM_TYPE.USER_HISTORY,\n\t\t\tPOPOVER_ITEM_TYPE.USER_HISTORY_AND_CLICK\n\t\t].includes(item.type)\n\t) {\n\t\treturn 'change-outline';\n\t}\n\n\tconst {table, sourceTable} = navItem;\n\n\tconst sourceTableLowerCase = String(sourceTable)\n\t\t.toLowerCase()\n\t\t.replace(/[^a-zA-Z.]/g, '-');\n\n\tif (searchConfig?.sourceIcons) {\n\t\tconst sourceIcon =\n\t\t\tgetIconFromSource(table, ICON_SIZES.MD, searchConfig.sourceIcons) ||\n\t\t\tgetIconFromSource(\n\t\t\t\tsourceTableLowerCase,\n\t\t\t\tICON_SIZES.MD,\n\t\t\t\tsearchConfig.sourceIcons\n\t\t\t);\n\n\t\tif (sourceIcon) {\n\t\t\treturn sourceIcon;\n\t\t}\n\t}\n\n\tif (ICON_SOURCE_MAP.has(sourceTableLowerCase)) {\n\t\treturn ICON_SOURCE_MAP.get(sourceTableLowerCase);\n\t}\n\n\t// if item sourceTable has a configured icon, use it\n\tif (ICON_TYPE.has(sourceTableLowerCase)) {\n\t\treturn ICON_TYPE.get(sourceTableLowerCase);\n\t}\n\n\t// if item has a image column, use it\n\tconst imageType = item.columns.find((column) => {\n\t\treturn column.fieldName === 'doctype_image';\n\t});\n\n\tconst imageFromColumn = imageType?.displayValue;\n\n\t// if has image from column, use it\n\tif (imageFromColumn) {\n\t\treturn imageFromColumn;\n\t}\n\n\t// if is not global search, use the sourceTable iconType\n\treturn table === 'sc_cat_item' ? 'clipboard-outline' : 'document-outline';\n};\n","import '@servicenow/now-icon';\nimport {isEmpty} from 'lodash';\nimport '@servicenow/now-template-message';\nimport '@servicenow/now-loader';\nimport {t} from 'sn-translate';\nimport getPopoverItem from './PopoverItems';\nimport AriaLiveContainer from './ariaLiveContainer';\n\nconst view = ({\n\tactiveRowIndex,\n\tdata,\n\tterm,\n\tdispatch,\n\tshowEmptyState,\n\tfetching,\n\tenableExactMatch,\n\texactMatch,\n\tnowId,\n\ttitleRef,\n\tariaLiveText,\n\tariaLiveBusy,\n\tisSearchInput,\n\tsearchConfig,\n\tisLoggedIn,\n\tattachToNavigation,\n\thideSearchPopover\n}) => {\n\tif (showEmptyState) {\n\t\treturn (\n\t\t\t<now-template-message-empty-state\n\t\t\t\tclassName=\"trtr\"\n\t\t\t\taria-labelledby={`${nowId}-search-information`}\n\t\t\t\talignment=\"vertical-centered\"\n\t\t\t\tillustration=\"no-search-results\"\n\t\t\t\theading={{\n\t\t\t\t\tlabel: t('No recent search found'),\n\t\t\t\t\tlevel: '1'\n\t\t\t\t}}\n\t\t\t\tcontent={t(\n\t\t\t\t\t'Try searching for something to view your recent search activities'\n\t\t\t\t)}\n\t\t\t/>\n\t\t);\n\t}\n\n\tif (hideSearchPopover) {\n\t\treturn null;\n\t}\n\n\tconst items =\n\t\tenableExactMatch && !isEmpty(exactMatch.exactMatchData)\n\t\t\t? exactMatch.exactMatchData\n\t\t\t: data;\n\n\treturn (\n\t\t<div\n\t\t\tclass={{\n\t\t\t\t'search-popover': true,\n\t\t\t\t'search-input': isSearchInput\n\t\t\t}}\n\t\t\tid={`${nowId}-search-popover`}>\n\t\t\t<AriaLiveContainer\n\t\t\t\tariaLiveText={ariaLiveText}\n\t\t\t\tariaBusyState={ariaLiveBusy || !ariaLiveText.length || fetching}\n\t\t\t/>\n\t\t\t<ul role=\"menu\" aria-labelledby={`result-section-header`}>\n\t\t\t\t{items.map((item, idx) => {\n\t\t\t\t\titem.itemIndex = item.itemIndex === undefined ? idx : item.itemIndex;\n\t\t\t\t\tconst isActive = item.itemIndex === activeRowIndex;\n\t\t\t\t\tconst index = item.itemIndex;\n\t\t\t\t\treturn getPopoverItem({\n\t\t\t\t\t\titem,\n\t\t\t\t\t\tdispatch,\n\t\t\t\t\t\tisActive,\n\t\t\t\t\t\tterm,\n\t\t\t\t\t\tindex,\n\t\t\t\t\t\texactMatch,\n\t\t\t\t\t\tenableExactMatch,\n\t\t\t\t\t\ttitleRef,\n\t\t\t\t\t\tisSearchInput,\n\t\t\t\t\t\tsearchConfig,\n\t\t\t\t\t\tisLoggedIn,\n\t\t\t\t\t\tattachToNavigation\n\t\t\t\t\t});\n\t\t\t\t})}\n\t\t\t<\/ul>\n\t\t<\/div>\n\t);\n};\n\nexport default view;\n","import '@servicenow/now-button';\nimport Input from '../../common/view/Input';\nimport Popover from '../../common/view/Popover';\n\nconst view = (state, {updateState, dispatch}) => {\n\tconst {\n\t\tterm,\n\t\tactiveRowIndex,\n\t\tdata,\n\t\tinputHasFocus,\n\t\tfetching,\n\t\tisInputActive,\n\t\texactMatch,\n\t\tsearchPanelOpened,\n\t\tsuggestionTypeFooter,\n\t\ttitleRef,\n\t\tariaLiveText,\n\t\tariaLiveBusy,\n\t\tproperties: {\n\t\t\tattachToNavigation,\n\t\t\tattachToElement,\n\t\t\tplaceholder,\n\t\t\tplacement,\n\t\t\tnowId,\n\t\t\tcanAnimate,\n\t\t\tenableExactMatch,\n\t\t\texactMatchRegex,\n\t\t\tisSearchInput,\n\t\t\topened,\n\t\t\tsearchConfig,\n\t\t\tisLoggedIn\n\t\t}\n\t} = state;\n\n\tif (!opened) {\n\t\treturn null;\n\t}\n\n\tconst hasSuggestions = data && data.length > 0;\n\n\t/*\n\tThe state of fetching is set to false once the suggestion fetch i.e data is completed.\n\tRefer suggestionEffects.js\n\t*/\n\tconst isTyping = term.length > 0;\n\tconst showEmptyState = !fetching && isTyping ? !hasSuggestions : false;\n\tconst hideSearchPopover =\n\t\t(!isTyping && (!data || data.length === 0)) || fetching;\n\n\treturn (\n\t\t<div\n\t\t\trole=\"search\"\n\t\t\taria-label=\"Global\"\n\t\t\tclass={{\n\t\t\t\t'attached-to-navigation': attachToNavigation,\n\t\t\t\t'attached-to-element': attachToElement,\n\t\t\t\tunauth: !isLoggedIn\n\t\t\t}}>\n\t\t\t<div\n\t\t\t\tclassName={`search-combobox search-combobox--${placement} search-combobox--desktop`}>\n\t\t\t\t<Input\n\t\t\t\t\tattachToNavigation={attachToNavigation}\n\t\t\t\t\tattachToElement={attachToElement}\n\t\t\t\t\thasFocus={inputHasFocus}\n\t\t\t\t\tplaceholder={placeholder}\n\t\t\t\t\tterm={term}\n\t\t\t\t\thasSuggestions={hasSuggestions}\n\t\t\t\t\tplacement={placement}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\tnowId={nowId}\n\t\t\t\t\tisInputActive={isInputActive}\n\t\t\t\t\tanimationsEnabled={canAnimate}\n\t\t\t\t\tsearchPanelOpened={searchPanelOpened}\n\t\t\t\t\tsuggestionTypeFooter={suggestionTypeFooter}\n\t\t\t\t\texactMatchRegex={exactMatchRegex}\n\t\t\t\t\tisSearchInput={isSearchInput}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t\thideSearchPopover={hideSearchPopover}\n\t\t\t\t/>\n\n\t\t\t\t<Popover\n\t\t\t\t\tactiveRowIndex={activeRowIndex}\n\t\t\t\t\tdata={data}\n\t\t\t\t\tterm={term}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\tnowId={nowId}\n\t\t\t\t\tshowEmptyState={showEmptyState}\n\t\t\t\t\tplacement={placement}\n\t\t\t\t\texactMatch={exactMatch}\n\t\t\t\t\tenableExactMatch={enableExactMatch}\n\t\t\t\t\ttitleRef={titleRef}\n\t\t\t\t\tupdateState={updateState}\n\t\t\t\t\tariaLiveText={ariaLiveText}\n\t\t\t\t\tariaLiveBusy={ariaLiveBusy}\n\t\t\t\t\tisInputActive={isInputActive}\n\t\t\t\t\taria-haspopup=\"listbox\"\n\t\t\t\t\tisSearchInput={isSearchInput}\n\t\t\t\t\tfetching={fetching === true}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t\tisLoggedIn={isLoggedIn}\n\t\t\t\t\tattachToNavigation={attachToNavigation}\n\t\t\t\t\thideSearchPopover={hideSearchPopover}\n\t\t\t\t/>\n\t\t\t<\/div>\n\t\t<\/div>\n\t);\n};\n\nexport default view;\n","import {POPOVER_ITEM_TYPE} from '../constants';\nimport filter from 'lodash/filter';\nimport {t} from 'sn-translate';\n\nexport const getResultsCount = (items) => {\n\treturn filter(\n\t\titems,\n\t\t(item) =>\n\t\t\titem.type !== POPOVER_ITEM_TYPE.SECTION_HEADER &&\n\t\t\titem.type !== POPOVER_ITEM_TYPE.FOOTER\n\t).length;\n};\n\nexport const getGroupCount = (items) => {\n\treturn filter(items, (item) => item.type === POPOVER_ITEM_TYPE.SECTION_HEADER)\n\t\t.length;\n};\n\nexport const constructAriaLiveText = (items) => {\n\tconst groupCount = getGroupCount(items);\n\tconst resultCount = getResultsCount(items);\n\tconst resultLabel =\n\t\tresultCount === 1\n\t\t\t? t('showing {0} result in', resultCount)\n\t\t\t: t('showing {0} results in', resultCount);\n\tconst groupLabel =\n\t\tgroupCount === 1 ? t('{0} group', groupCount) : t('{0} groups', groupCount);\n\treturn `${resultLabel} ${groupLabel}`;\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"getProperty\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__.__esModule\n\t\t\t\t\tif (cjsModule && 'getProperty' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"].getProperty;\n\t\t\t\t\t} else if ('getProperty' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__.getProperty || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_uxpage_presource_23_0_1_index_jsdbx_67799607__[\"default\"].getProperty;\n\t\t\t\t} });","import isEmpty from 'lodash/isEmpty';\nimport {\n\tPOPOVER_ITEM_TYPE,\n\tKEYBOARD_NAVIGATION,\n\tRECENT_SEARCH_SECTION_HEADER,\n\tGLOBAL_RECENT_SEARCH_SECTION_HEADER\n} from '../constants';\n\nconst _recentSearchSection = (data) => {\n\tif (isEmpty(data)) return false;\n\treturn data\n\t\t.filter((option) => option.type === POPOVER_ITEM_TYPE.SECTION_HEADER)\n\t\t.some(\n\t\t\t(option) =>\n\t\t\t\toption.columns[0]?.displayValue.toLowerCase() ===\n\t\t\t\t\tRECENT_SEARCH_SECTION_HEADER.toLowerCase() ||\n\t\t\t\toption.columns[0]?.displayValue.toLowerCase() ===\n\t\t\t\t\tGLOBAL_RECENT_SEARCH_SECTION_HEADER.toLowerCase()\n\t\t);\n};\n\nconst getRowColIndex = (activeRowIndex, activeColumnIndex, data, direction) => {\n\tconst len = data.length;\n\tif (len === 0) {\n\t\treturn {rowIndex: -1, columnIndex: 0};\n\t}\n\tlet columnIndex = activeColumnIndex;\n\tlet rowIndex = activeRowIndex;\n\n\tconst recentSearchSection = _recentSearchSection(data);\n\n\tswitch (direction) {\n\t\tcase KEYBOARD_NAVIGATION.UP:\n\t\t\tdo {\n\t\t\t\trowIndex = rowIndex < 1 ? -1 : rowIndex - 1;\n\t\t\t\t// move focus to input\n\t\t\t\tif (rowIndex === -1) {\n\t\t\t\t\tcolumnIndex = 0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (data[rowIndex]?.type !== POPOVER_ITEM_TYPE.USER_HISTORY)\n\t\t\t\t\tcolumnIndex = 1;\n\t\t\t\telse columnIndex = columnIndex > 0 ? columnIndex : 1;\n\t\t\t} while (\n\t\t\t\tdata[rowIndex] &&\n\t\t\t\tdata[rowIndex].type === POPOVER_ITEM_TYPE.SECTION_HEADER\n\t\t\t);\n\t\t\tbreak;\n\t\tcase KEYBOARD_NAVIGATION.DOWN:\n\t\t\tdo {\n\t\t\t\trowIndex = rowIndex === len - 1 ? rowIndex : rowIndex + 1;\n\t\t\t\t// when focus is on the last element don't move the focus\n\t\t\t\tif (rowIndex === len - 1) {\n\t\t\t\t\tcolumnIndex = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tdata[rowIndex] &&\n\t\t\t\t\tdata[rowIndex].type !== POPOVER_ITEM_TYPE.USER_HISTORY\n\t\t\t\t)\n\t\t\t\t\tcolumnIndex = 1;\n\t\t\t\telse columnIndex = columnIndex > 0 ? columnIndex : 1;\n\t\t\t} while (\n\t\t\t\tdata[rowIndex] &&\n\t\t\t\tdata[rowIndex].type === POPOVER_ITEM_TYPE.SECTION_HEADER\n\t\t\t);\n\t\t\tbreak;\n\t\tcase KEYBOARD_NAVIGATION.LEFT:\n\t\t\tdo {\n\t\t\t\t// no grid navigation\n\t\t\t\tif (\n\t\t\t\t\tdata[rowIndex].type !== POPOVER_ITEM_TYPE.USER_HISTORY ||\n\t\t\t\t\t!recentSearchSection\n\t\t\t\t) {\n\t\t\t\t\trowIndex = rowIndex < 1 ? len - 1 : rowIndex - 1;\n\t\t\t\t\tcolumnIndex = 1;\n\t\t\t\t} // grid navigation\n\t\t\t\telse if (columnIndex === 1) {\n\t\t\t\t\trowIndex = rowIndex < 1 ? len - 1 : rowIndex - 1;\n\t\t\t\t\tcolumnIndex += 1;\n\t\t\t\t} else {\n\t\t\t\t\tcolumnIndex -= 1;\n\t\t\t\t}\n\t\t\t} while (data[rowIndex].type === POPOVER_ITEM_TYPE.SECTION_HEADER);\n\t\t\tbreak;\n\t\tcase KEYBOARD_NAVIGATION.RIGHT:\n\t\t\tdo {\n\t\t\t\t// no grid navigation\n\t\t\t\tif (\n\t\t\t\t\tdata[rowIndex].type !== POPOVER_ITEM_TYPE.USER_HISTORY ||\n\t\t\t\t\t!recentSearchSection\n\t\t\t\t) {\n\t\t\t\t\trowIndex = (rowIndex + 1) % len;\n\t\t\t\t\tcolumnIndex = 1;\n\t\t\t\t} // grid navigation\n\t\t\t\telse if (columnIndex > 1) {\n\t\t\t\t\trowIndex = (rowIndex + 1) % len;\n\t\t\t\t\tcolumnIndex -= 1;\n\t\t\t\t} else {\n\t\t\t\t\tcolumnIndex += 1;\n\t\t\t\t}\n\t\t\t} while (data[rowIndex].type === POPOVER_ITEM_TYPE.SECTION_HEADER);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t}\n\n\treturn {rowIndex, columnIndex};\n};\n\nexport default getRowColIndex;\n","//import get from 'lodash/get';\nimport isEmpty from 'lodash/isEmpty';\n\nexport const isExactMatchPresent = (exactMatch, term) => {\n\tif (term === exactMatch.term) return exactMatch.hasExactMatch;\n\treturn false;\n};\n\nexport const canTermMatchExactly = (term, criterionRegex, exactMatchEnabled) =>\n\texactMatchEnabled && new RegExp(criterionRegex).test(term);\n\nexport const hasExactMatchReadingFinished = (\n\texactMatch,\n\tterm,\n\ttermCriterionRegex,\n\texactMatchEnabled\n) => {\n\tif (isEmpty(exactMatch)) return true;\n\n\tconst {isFetching} = exactMatch;\n\n\tif (!isFetching) {\n\t\tconst dataTerm = exactMatch.term;\n\t\tif (\n\t\t\tdataTerm !== term &&\n\t\t\tcanTermMatchExactly(term, termCriterionRegex, exactMatchEnabled)\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\treturn !isFetching;\n};\n\nexport const generateExactMatchPayload = (searchContextConfigId) => {\n\tvar payload = [\n\t\t{\n\t\t\ttype: 'TRANSFORM',\n\t\t\tdefinitionSysId: '4c6c99688c8eb910f877893fd12bf7e1',\n\t\t\tinputValues: {\n\t\t\t\tsearchContextConfigId: {\n\t\t\t\t\ttype: 'JSON_LITERAL',\n\t\t\t\t\tvalue: searchContextConfigId\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t];\n\n\treturn payload;\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"TOOLTIP_HIDE\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.__esModule\n\t\t\t\t\tif (cjsModule && 'TOOLTIP_HIDE' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"].TOOLTIP_HIDE;\n\t\t\t\t\t} else if ('TOOLTIP_HIDE' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.TOOLTIP_HIDE || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"].TOOLTIP_HIDE;\n\t\t\t\t}, [\"TOOLTIP_SHOW\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.__esModule\n\t\t\t\t\tif (cjsModule && 'TOOLTIP_SHOW' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"].TOOLTIP_SHOW;\n\t\t\t\t\t} else if ('TOOLTIP_SHOW' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.TOOLTIP_SHOW || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"].TOOLTIP_SHOW;\n\t\t\t\t}, [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_tooltip_28_4_1_index_jsdbx_e29cf2da__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"a11yPreferences\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__.__esModule\n\t\t\t\t\tif (cjsModule && 'a11yPreferences' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"].a11yPreferences;\n\t\t\t\t\t} else if ('a11yPreferences' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__.a11yPreferences || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"].a11yPreferences;\n\t\t\t\t}, [\"getUserPrefContext\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__.__esModule\n\t\t\t\t\tif (cjsModule && 'getUserPrefContext' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"].getUserPrefContext;\n\t\t\t\t\t} else if ('getUserPrefContext' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__.getUserPrefContext || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_ux_core_24_0_8_index_jsdbx_dfd500fb__[\"default\"].getUserPrefContext;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"createGraphQLEffect\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__.__esModule\n\t\t\t\t\tif (cjsModule && 'createGraphQLEffect' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"].createGraphQLEffect;\n\t\t\t\t\t} else if ('createGraphQLEffect' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__.createGraphQLEffect || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_graphql_index_jsdbx_6f4bbecb__[\"default\"].createGraphQLEffect;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_library_unified_cache_27_0_6_index_jsdbx_da6b6e41__[\"default\"][\"default\"];\n\t\t\t\t} });","import unifiedCache from '@devsnc/library-unified-cache';\n\nexport const searchSuggestionCache = unifiedCache.createInstance({\n\tadapter: ['inMemory'],\n\tname: 'searchSuggestionCache',\n\tdescription: `Search Suggestion in memory cache`,\n\tstoreName: 'searchInputCache',\n\tevictionPolicy: 'LRU'\n});\n","import {POPOVER_ITEM_TYPE} from '../constants';\n\nfunction transformSuggestionResponse(dataResponse, term = '', isLoggedIn) {\n\tconst ignoreTypes = [POPOVER_ITEM_TYPE.USER_SEARCH_TERM];\n\tconst output = [];\n\tconst userHistoryRecords = [];\n\tconst footerItem = {\n\t\ttype: POPOVER_ITEM_TYPE.FOOTER,\n\t\titemIndex: 0\n\t};\n\tlet firstSectionHeaderIndex = null;\n\n\tdataResponse.forEach((group) => {\n\t\tif (group.name) {\n\t\t\tfirstSectionHeaderIndex = output.length;\n\t\t\toutput.push({\n\t\t\t\ttype: POPOVER_ITEM_TYPE.SECTION_HEADER,\n\t\t\t\tcolumns: [\n\t\t\t\t\t{\n\t\t\t\t\t\tfieldName: 'name',\n\t\t\t\t\t\tlabel: 'Name',\n\t\t\t\t\t\tvalue: group.name,\n\t\t\t\t\t\tdisplayValue: group.name\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t});\n\t\t}\n\n\t\t// remove all unwanted suggestions\n\t\tconst filteredRecords = group.records.filter((record) => {\n\t\t\t// Only move user history records whenever the header cames empty\n\t\t\tif (\n\t\t\t\tfirstSectionHeaderIndex === null &&\n\t\t\t\t[\n\t\t\t\t\tPOPOVER_ITEM_TYPE.USER_HISTORY,\n\t\t\t\t\tPOPOVER_ITEM_TYPE.POPULAR_QUERY\n\t\t\t\t].includes(record.type)\n\t\t\t) {\n\t\t\t\tuserHistoryRecords.push(record);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn !ignoreTypes.includes(record.type);\n\t\t});\n\n\t\toutput.push(...filteredRecords);\n\t});\n\n\t// if header is found\n\tif (firstSectionHeaderIndex !== null) {\n\t\t// add the user history records after the first section header\n\t\toutput.splice(firstSectionHeaderIndex + 1, 0, ...userHistoryRecords);\n\t} else {\n\t\t// add the user history records at the beginning\n\t\toutput.unshift(...userHistoryRecords);\n\t}\n\n\t// always add footer if term is not empty\n\tif (term !== '' || !isLoggedIn) {\n\t\tfooterItem.itemIndex = output.length;\n\t\toutput.push(footerItem);\n\t}\n\n\treturn output;\n}\n\nexport default transformSuggestionResponse;\n","import {CACHE_INPUT_SUGGESTION_PREFIX} from '../constants';\n/**\n * Returns a cache key for the suggestion based on the term and searchContextConfigId\n * @param {string} term\n * @returns {string}\n */\nexport const getSuggestionCacheKey = (term) => {\n\treturn `${CACHE_INPUT_SUGGESTION_PREFIX}${term}`;\n};\n","import {createGraphQLEffect} from '@servicenow/ui-effect-graphql';\nimport get from 'lodash/get';\nimport {SUGGESTION_QUERY, UPDATE_ARIA_LIVE_TEXT_SOURCES} from '../constants';\nimport {\n\tSUGGESTION_FETCH,\n\tSUGGESTION_FETCH_STARTED,\n\tSUGGESTION_FETCH_SUCCEEDED,\n\tSUGGESTION_FETCH_FAILED\n} from '../actions';\nimport {searchSuggestionCache} from '../utils/cache';\n\nimport transformSuggestionResponse from '../utils/transformSuggestionResponse';\nimport {getSuggestionCacheKey} from '../utils/suggestion';\n/**\n *\n * @param {Object} params\n * @param {string} params.searchContextConfigId\n * @param {Function} params.dispatch\n * @param {Object} params.payload\n */\nexport const fetchSuggestions = async ({dispatch, payload}) => {\n\t// generate cache key based on term\n\tconst cache_key = getSuggestionCacheKey(payload.term);\n\n\t// if any get cached data\n\tconst cached = await searchSuggestionCache.getItem(cache_key);\n\n\t// if not cached, fetch suggestions\n\tif (!cached) {\n\t\tdispatch(SUGGESTION_FETCH, payload);\n\t} else {\n\t\tdispatch(SUGGESTION_FETCH_SUCCEEDED, cached);\n\t}\n};\n\nexport const debouncedSuggestionFetchEffect = ({\n\taction: {payload},\n\tdispatch\n}) => {\n\tfetchSuggestions({\n\t\tdispatch,\n\t\tpayload\n\t});\n};\n\n// Suggestion effect needs to be stripped out in the future\nexport const suggestionFetchEffect = createGraphQLEffect(SUGGESTION_QUERY, {\n\tvariableList: ['searchContextConfigId', 'term', 'locale'],\n\tstartActionType: SUGGESTION_FETCH_STARTED,\n\tsuccessActionType: SUGGESTION_FETCH_SUCCEEDED,\n\terrorActionType: SUGGESTION_FETCH_FAILED\n});\n\nexport const suggestionFetchStartedEffect = ({state, updateState}) => {\n\tupdateState({\n\t\t...state,\n\t\tfetching: true,\n\t\tactiveRowIndex: -1,\n\t\tactiveColumnIndex: 0,\n\t\tupdateAriaLiveTextSource: '',\n\t\tariaLiveBusy: true,\n\t\tariaLiveText: ''\n\t});\n};\n\nexport const suggestionFetchSucceededEffect = ({\n\taction,\n\tstate,\n\tupdateState,\n\tproperties\n}) => {\n\tconst {term} = state;\n\n\tconst suggestionSearchTermQuery = get(\n\t\taction,\n\t\t'payload.data.GlideSearch_Query.suggestions.term',\n\t\t''\n\t);\n\n\tconst data = get(\n\t\taction,\n\t\t'payload.data.GlideSearch_Query.suggestions.data',\n\t\t[]\n\t);\n\n\t// set cache for the term and searchContextConfigId\n\tsearchSuggestionCache.setItem(\n\t\tgetSuggestionCacheKey(suggestionSearchTermQuery),\n\t\taction.payload\n\t);\n\n\tconst dataItems = transformSuggestionResponse(\n\t\tdata,\n\t\tsuggestionSearchTermQuery,\n\t\tproperties.isLoggedIn\n\t);\n\n\tconst newState = {\n\t\t...state,\n\t\tfetching: false,\n\t\tariaLiveBusy: false\n\t};\n\n\t// only update data if term matches the suggestionSearchTermQuery\n\tif (term === suggestionSearchTermQuery) {\n\t\tnewState.data = dataItems;\n\t\tnewState.suggestionSearchTermQuery = suggestionSearchTermQuery;\n\t\tnewState.updateAriaLiveTextSource =\n\t\t\tUPDATE_ARIA_LIVE_TEXT_SOURCES.RESULT_COUNT;\n\t}\n\n\tupdateState(newState);\n};\n\nexport const suggestionFetchFailedEffect = ({\n\taction,\n\tstate,\n\tupdateState,\n\tdispatch\n}) => {\n\t// DEF0106841 - The createGraphQLEffect throw an error when x-is-logged-in is false\n\t// If that is the case we need to handle it here and show the response\n\tif (\n\t\taction.payload?.response?.headers['x-is-logged-in'] === 'false' &&\n\t\taction.payload?.response?.status === 401\n\t) {\n\t\tdispatch(SUGGESTION_FETCH_SUCCEEDED, action.payload.response.data);\n\t} else {\n\t\tupdateState({\n\t\t\t...state,\n\t\t\tfetching: false,\n\t\t\tupdateAriaLiveTextSource: '',\n\t\t\terror: action.payload\n\t\t});\n\t}\n};\n\nexport const updateCacheEffect = (coeffects) => {\n\tconst {\n\t\tstate: {\n\t\t\tinputDesktopElement,\n\t\t\tproperties: {searchContextConfigId, isLoggedIn, locale}\n\t\t}\n\t} = coeffects;\n\tif (isLoggedIn) {\n\t\tinputDesktopElement.elm.dispatch(SUGGESTION_FETCH, {\n\t\t\tsearchContextConfigId,\n\t\t\tterm: '',\n\t\t\t...(locale && {locale})\n\t\t});\n\t}\n};\nexport const setInputElement = (coeffects) => {\n\tconst {updateState, action} = coeffects;\n\tupdateState({inputDesktopElement: action.payload});\n};\n","import isEmpty from 'lodash/isEmpty';\nimport {getProperty} from 'sn-uxpage-presource';\nimport {\n\tDEBOUNCED_SUGGESTION_FETCH,\n\tSUGGESTION_FETCH,\n\tSEARCH_EXECUTED_INTERNAL,\n\tNAVIGATION_EXECUTED_INTERNAL,\n\tCLEAR_SEARCH_MUTATION,\n\tITEM_SELECTED,\n\tEXACT_MATCH_FETCH,\n\tINPUT_CHANGED,\n\tINPUT_FOCUSED_OUT\n} from '../actions';\n\nimport {\n\tPOPOVER_ITEM_TYPE,\n\tEVENT_TYPE,\n\tAUTOCOMPLETE_QUERY_EVENT,\n\tINFO_EVENT,\n\tKEYBOARD_NAVIGATION,\n\tDEFAULT_EXACT_MATCH_REGEX,\n\tEXACT_MATCH_REGEX_SYS_PROPERTY,\n\tWINDOW_SIZE,\n\tUPDATE_ARIA_LIVE_TEXT_SOURCES,\n\tSR_LABELS\n} from '../constants';\n\nimport signalTracker from '../utils/signalTracker';\nimport parseNavItem from '../utils/parseNavItem';\nimport getRowColIndex from '../utils/keyboardNavigation';\nimport {\n\tcanTermMatchExactly,\n\thasExactMatchReadingFinished,\n\tisExactMatchPresent\n} from '../utils/exactMatch';\n\nimport {TOOLTIP_SHOW, TOOLTIP_HIDE} from '@servicenow/behavior-tooltip';\nimport {getUserPrefContext, a11yPreferences} from 'sn-ux-core';\nimport {fetchSuggestions} from './suggestionEffects';\n\nconst _getRelativeClickIndex = (data, activeRowIndex, itemType) => {\n\tconst items = data.slice(0, activeRowIndex + 1);\n\tconst itemClickIndex = items.filter((item) => item.type === itemType).length;\n\n\treturn itemClickIndex;\n};\n\nconst _getValue = (item) => {\n\tif (!item) return '';\n\n\treturn item.columns[0]?.value;\n};\n\nexport const _setInputFocus = (host) => {\n\tconst input = host.shadowRoot.querySelector('input');\n\tif (input) input.focus();\n};\n\nconst _setInputBlur = (host) => {\n\tconst input =\n\t\thost.shadowRoot.querySelector('input') ||\n\t\thost.shadowRoot.querySelector(\n\t\t\t'input-container__input -global-active-input'\n\t\t);\n\n\tif (input) input.blur();\n};\n\nconst _enterKeyPressedInInput = (activeRowIndex) => activeRowIndex === -1;\n\nexport const _isPopoverTermEvent = (event) => {\n\tconst path = event.composedPath ? event.composedPath() : event.path;\n\tconst sourceElement = path.length > 0 ? path[0] : null;\n\tconst isPopoverTerm =\n\t\tsourceElement &&\n\t\tsourceElement.tagName === 'DIV' &&\n\t\t(sourceElement.className === 'search-popover__item-metadata-global' ||\n\t\t\tsourceElement.className === 'search-popover__item-metadata' ||\n\t\t\tsourceElement.className ===\n\t\t\t\t'search-popover__item-metadata-global search-popover__item-metadata-global-stacked-item');\n\treturn isPopoverTerm;\n};\n\nexport const _isDestinationSearchPopoverItem = (ev) => {\n\treturn ev.relatedTarget?.className === 'search-popover__item-metadata';\n};\n\nexport const _isViewAllLinkEvent = (event) => {\n\tconst path = event.composedPath ? event.composedPath() : event.path;\n\tconst isViewAllLink =\n\t\tpath &&\n\t\tpath.some(\n\t\t\t(element) => element.className === 'search-popover__item-text-link'\n\t\t);\n\treturn isViewAllLink;\n};\n\nexport const _isDropDownEvent = (event) => {\n\tconst path = event.composedPath ? event.composedPath() : event.path;\n\tconst isDropDownEvent =\n\t\tpath &&\n\t\tpath.some((element) => element.className === 'context-dropdown-container');\n\n\treturn isDropDownEvent;\n};\n\nexport const _isClearButtonEvent = (event) => {\n\tconst path = event.composedPath ? event.composedPath() : event.path;\n\tconst isClearButtonEvent =\n\t\tpath &&\n\t\tpath.some(\n\t\t\t(element) =>\n\t\t\t\telement.className ===\n\t\t\t\t'now-button-iconic.input-container__global-cancel-icon'\n\t\t);\n\n\treturn isClearButtonEvent;\n};\n\n/**\n * Multiple NDS components may exist within `sn-search-combobox` and\n * all `now-button-bare` dispatch the same action. Instead of having\n * a huge effect, we will just re-dispatch the appropriate action\n * by leveraging the property `append-to-payload`\n *\n * Ex:\n *  <now-button-bare\n *     append-to-payload={{\n *        action: SHOW_MODAL, <-- Action to redispatch\n *        payload: {          <-- Payload to pass to defined action\n *           type, index\n *         }\n *     }}\n *     ... />\n *\n */\nexport const nowButtonClickedEffect = ({\n\taction: {\n\t\tpayload: {action, payload}\n\t},\n\tdispatch\n}) => {\n\tdispatch(action, payload);\n};\n\nexport const clearSearchSelectedEffect = ({\n\taction,\n\t// host,\n\tdispatch,\n\tproperties,\n\tstate,\n\tupdateState\n}) => {\n\tconst {searchContextConfigId} = properties;\n\tconst {\n\t\tpayload: {term}\n\t} = action;\n\n\tdispatch(CLEAR_SEARCH_MUTATION, {searchContextConfigId, term});\n\t// setTimeout(() => _setInputFocus(host), 1000);\n\tupdateState({\n\t\t...state,\n\t\tupdateAriaLiveTextSource:\n\t\t\tUPDATE_ARIA_LIVE_TEXT_SOURCES.CLEAR_RECENT_SEARCH_ITEM,\n\t\tariaLiveBusy: false,\n\t\tariaLiveText: SR_LABELS.CLEARED_RECENT_SEARCH_ITEM\n\t});\n};\n\n// This function is called when search-input is clicked.\nexport const inputFocusedInEffect = ({\n\tstate,\n\tproperties,\n\tupdateState,\n\tdispatch\n}) => {\n\tconst {term, suggestionSearchTermQuery} = state;\n\tconst {searchContextConfigId, disableAutocomplete} = properties;\n\n\tupdateState({\n\t\t...state,\n\t\tinputHasFocus: true,\n\t\tisInputActive: true,\n\t\tactiveRowIndex: 0,\n\t\tupdateAriaLiveTextSource: UPDATE_ARIA_LIVE_TEXT_SOURCES.RESULT_COUNT,\n\t\tariaLiveBusy: false\n\t});\n\n\tif (term !== suggestionSearchTermQuery) {\n\t\tif (!disableAutocomplete) {\n\t\t\tupdateState({\n\t\t\t\texactMatch: {}\n\t\t\t});\n\n\t\t\tconst fetchSuggestionPayload = {\n\t\t\t\tsearchContextConfigId,\n\t\t\t\tterm\n\t\t\t};\n\n\t\t\t// if there are no suggestions in the cache, fetch them\n\t\t\tfetchSuggestions({\n\t\t\t\tdispatch,\n\t\t\t\tpayload: fetchSuggestionPayload\n\t\t\t});\n\t\t}\n\t}\n};\n\nexport const inputFocusedOutEffect = ({state, updateState}) => {\n\tupdateState({\n\t\t...state,\n\t\tinputHasFocus: false,\n\t\tisInputActive: false\n\t});\n};\n\nconst _navigationItemClicked = (type) => {\n\tconst navTypes = [\n\t\tPOPOVER_ITEM_TYPE.EXACT_MATCH,\n\t\tPOPOVER_ITEM_TYPE.NAVIGATION,\n\t\tPOPOVER_ITEM_TYPE.PERSONAL_CLICK,\n\t\tPOPOVER_ITEM_TYPE.QUERY_CONTENT\n\t];\n\treturn navTypes.includes(type);\n};\n\nexport const handlers = {\n\t[EVENT_TYPE.SEARCH_FROM_INPUT](\n\t\tterm,\n\t\tsearchContextConfigId,\n\t\tselectedSearchContext,\n\t\tupdateState,\n\t\tdispatch\n\t) {\n\t\tupdateState({\n\t\t\tpath: 'term',\n\t\t\tvalue: term,\n\t\t\toperation: 'set'\n\t\t});\n\n\t\tdispatch(SEARCH_EXECUTED_INTERNAL, {\n\t\t\tsearchContextConfigId,\n\t\t\t...(selectedSearchContext && {selectedSearchContext}),\n\t\t\tsearchTerm: term\n\t\t});\n\t},\n\t[EVENT_TYPE.SEARCH_FROM_POPOVER](\n\t\tterm,\n\t\tsearchContextConfigId,\n\t\tselectedSearchContext,\n\t\tdisableAutocomplete,\n\t\titem,\n\t\tupdateState,\n\t\tdispatch,\n\t\tlocale = ''\n\t) {\n\t\tupdateState({\n\t\t\tpath: 'term',\n\t\t\tvalue: term,\n\t\t\toperation: 'set'\n\t\t});\n\n\t\tdispatch(SEARCH_EXECUTED_INTERNAL, {\n\t\t\tsearchContextConfigId,\n\t\t\t...(selectedSearchContext && {selectedSearchContext}),\n\t\t\tsearchTerm: term,\n\t\t\titem\n\t\t});\n\n\t\tif (!disableAutocomplete) {\n\t\t\tdispatch(SUGGESTION_FETCH, {\n\t\t\t\tsearchContextConfigId,\n\t\t\t\tterm,\n\t\t\t\t...(locale && {locale})\n\t\t\t});\n\t\t}\n\t},\n\t[EVENT_TYPE.NAVIGATION](\n\t\tsearchContextConfigId,\n\t\tterm,\n\t\tdata,\n\t\tactiveRowIndex,\n\t\titem,\n\t\tdispatch,\n\t\tupdateState\n\t) {\n\t\tconst navData = parseNavItem(item);\n\t\tconst updatedActionPayloadData = navData.actionPayload || {\n\t\t\tindex: activeRowIndex,\n\t\t\t...navData,\n\t\t\titem\n\t\t};\n\n\t\tsignalTracker.trackEvent(AUTOCOMPLETE_QUERY_EVENT, INFO_EVENT, {\n\t\t\tsearchContextConfigId,\n\t\t\tqueryTerm: term,\n\t\t\tselectedQuery: navData.label,\n\t\t\tqueryType: item.type,\n\t\t\tclickIndex: _getRelativeClickIndex(data, activeRowIndex, item.type)\n\t\t});\n\n\t\tdispatch(\n\t\t\tNAVIGATION_EXECUTED_INTERNAL,\n\t\t\tupdatedActionPayloadData,\n\t\t\tupdateState\n\t\t);\n\t}\n};\n\nexport const itemSelectedEffect = ({\n\tstate,\n\taction,\n\tproperties,\n\tdispatch,\n\tupdateState,\n\thost\n}) => {\n\tconst {term, activeRowIndex, data, exactMatch} = state;\n\tconst {\n\t\tsearchContextConfigId,\n\t\tdisableAutocomplete,\n\t\tselectedSearchContext,\n\t\tenableExactMatch,\n\t\tlocale\n\t} = properties;\n\n\tconst exactMatchFound =\n\t\tenableExactMatch && !isEmpty(exactMatch.exactMatchData);\n\tconst exactMatchFetching =\n\t\tenableExactMatch && exactMatch && exactMatch.isFetching;\n\n\tconst isInputEvent = action.payload?.isInputEvent;\n\tif (isInputEvent) {\n\t\tupdateState({\n\t\t\tactiveRowIndex: -1\n\t\t});\n\t}\n\tconst isEnterKeyPressedInInput = _enterKeyPressedInInput(activeRowIndex);\n\n\tconst {selectedItem} = action.payload;\n\n\t// The index of ExactMatch Data ia always one\n\t// retrieving constant 1 prevents stale state of activeRowIndex after frequent popover selections and EnterKey pressed\n\tconst item = exactMatchFound\n\t\t? isEnterKeyPressedInInput\n\t\t\t? exactMatch.exactMatchData[1]\n\t\t\t: exactMatch.exactMatchData[activeRowIndex]\n\t\t: selectedItem;\n\n\t// do not search if exact match is being fetched\n\tif (\n\t\t!exactMatchFetching &&\n\t\t(isEnterKeyPressedInInput || isInputEvent) &&\n\t\t!exactMatchFound\n\t) {\n\t\thandlers[EVENT_TYPE.SEARCH_FROM_INPUT](\n\t\t\tterm,\n\t\t\tsearchContextConfigId,\n\t\t\tselectedSearchContext,\n\t\t\tupdateState,\n\t\t\tdispatch,\n\t\t\thost\n\t\t);\n\t\t_setInputBlur(host);\n\t\treturn;\n\t}\n\n\tlet navigating = false;\n\tlet navData = {};\n\tif (item && item.type) {\n\t\tnavigating = _navigationItemClicked(item.type);\n\t\tnavData = parseNavItem(item);\n\t}\n\n\t/* For new suggestion reader group USER_HISTORY_AND_CLICK\n\t ** The suggestion include both Recent Searches(User History) & Recent Click (User Clicks)\n\t ** For User history part of suggestions it should not be a navigating item but instead should perform a Search again\n\t ** because they do not have any table or sys_id data associated with it\n\t ** !isEmpty(navData.actionPayload) understands this difference and helps in the separation\n\t */\n\tif (\n\t\tnavigating ||\n\t\t(isEnterKeyPressedInInput && exactMatchFound) ||\n\t\t(item &&\n\t\t\titem.type &&\n\t\t\titem.type === POPOVER_ITEM_TYPE.USER_HISTORY_AND_CLICK &&\n\t\t\t!isEmpty(navData.actionPayload))\n\t) {\n\t\thandlers[EVENT_TYPE.NAVIGATION](\n\t\t\tsearchContextConfigId,\n\t\t\tterm,\n\t\t\tdata,\n\t\t\tactiveRowIndex,\n\t\t\titem,\n\t\t\tdispatch,\n\t\t\tenableExactMatch,\n\t\t\tupdateState,\n\t\t\tselectedSearchContext\n\t\t);\n\t} else if (item) {\n\t\thandlers[EVENT_TYPE.SEARCH_FROM_POPOVER](\n\t\t\t_getValue(item),\n\t\t\tsearchContextConfigId,\n\t\t\tselectedSearchContext,\n\t\t\tdisableAutocomplete,\n\t\t\titem,\n\t\t\tupdateState,\n\t\t\tdispatch,\n\t\t\tlocale\n\t\t);\n\n\t\tsignalTracker.trackEvent(AUTOCOMPLETE_QUERY_EVENT, INFO_EVENT, {\n\t\t\tsearchContextConfigId,\n\t\t\tqueryTerm: term,\n\t\t\tselectedQuery: _getValue(item),\n\t\t\tqueryType: item.type,\n\t\t\tclickIndex: isEmpty(term)\n\t\t\t\t? _getRelativeClickIndex(data, activeRowIndex, item.type)\n\t\t\t\t: activeRowIndex + 1 // To have the index start from 1\n\t\t});\n\t}\n\n\t// if enter key is pressed while exact match is being fetched,\n\t// queue the enter event\n\tif (exactMatchFetching && isEnterKeyPressedInInput) {\n\t\tupdateState({queueExactMatchEvent: true});\n\t}\n\n\tdispatch(INPUT_FOCUSED_OUT);\n};\n\nexport const _setPopoverSuggestionFocus = (host, row, column) => {\n\tconst suggestions = host.shadowRoot.querySelectorAll('ul > li');\n\tsuggestions?.forEach((listItem) => (listItem.ariaSelected = false));\n\t/*\n\t * For View All link focus, the suggestion array should explicitly be set to 0 because the activeRowIndex is -1 by\n\t * default when there are no suggestions passed in data array\n\t */\n\n\tconst focusedOption = !isEmpty(suggestions) ? suggestions[row] : null;\n\tif (focusedOption && column > 0) {\n\t\tfocusedOption.ariaSelected = true;\n\t\tconst selectorQuery =\n\t\t\tcolumn === 1\n\t\t\t\t? 'div.search-popover__item-metadata,.search-popover__item-text-link'\n\t\t\t\t: 'now-button-iconic.search-popover__item-button';\n\t\tconst focusedColumn = focusedOption.querySelector(selectorQuery);\n\n\t\tif (focusedColumn) focusedColumn.focus();\n\t}\n};\n\nexport const itemFocusedEffect = ({host, action, state, updateState}) => {\n\tconst {\n\t\tpayload: {index}\n\t} = action;\n\t_setPopoverSuggestionFocus(host, index, 1);\n\tupdateState({\n\t\t...state,\n\t\tactiveRowIndex: index,\n\t\tactiveColumnIndex: 1\n\t});\n};\n\nexport const arrowDownEffect = ({action, state, updateState, properties}) => {\n\tconst {data, activeRowIndex, activeColumnIndex, exactMatch} = state;\n\tconst {enableExactMatch} = properties;\n\tconst {\n\t\tpayload: {host}\n\t} = action;\n\tconst items =\n\t\tenableExactMatch && !isEmpty(exactMatch.exactMatchData)\n\t\t\t? exactMatch.exactMatchData\n\t\t\t: data;\n\n\tconst {rowIndex, columnIndex} = getRowColIndex(\n\t\tactiveRowIndex,\n\t\tactiveColumnIndex,\n\t\titems,\n\t\tKEYBOARD_NAVIGATION.DOWN\n\t);\n\n\t_setPopoverSuggestionFocus(host, rowIndex, columnIndex);\n\tupdateState({\n\t\t...state,\n\t\tactiveRowIndex: rowIndex,\n\t\tactiveColumnIndex: columnIndex\n\t});\n};\n\nexport const arrowUpEffect = ({action, state, updateState, properties}) => {\n\tconst {data, activeRowIndex, activeColumnIndex, exactMatch} = state;\n\tconst {enableExactMatch} = properties;\n\tconst {\n\t\tpayload: {host}\n\t} = action;\n\n\tconst items =\n\t\tenableExactMatch && !isEmpty(exactMatch.exactMatchData)\n\t\t\t? exactMatch.exactMatchData\n\t\t\t: data;\n\n\tconst {rowIndex, columnIndex} = getRowColIndex(\n\t\tactiveRowIndex,\n\t\tactiveColumnIndex,\n\t\titems,\n\t\tKEYBOARD_NAVIGATION.UP\n\t);\n\n\tif (rowIndex === -1) _setInputFocus(host);\n\telse _setPopoverSuggestionFocus(host, rowIndex, columnIndex);\n\tupdateState({\n\t\t...state,\n\t\tactiveRowIndex: rowIndex,\n\t\tactiveColumnIndex: columnIndex\n\t});\n};\n\nexport const arrowLeftEffect = ({action, state, updateState, properties}) => {\n\tconst {data, activeRowIndex, activeColumnIndex, exactMatch} = state;\n\tconst {enableExactMatch} = properties;\n\tconst {\n\t\tpayload: {host}\n\t} = action;\n\n\tconst items =\n\t\tenableExactMatch && !isEmpty(exactMatch.exactMatchData)\n\t\t\t? exactMatch.exactMatchData\n\t\t\t: data;\n\n\tconst {rowIndex, columnIndex} = getRowColIndex(\n\t\tactiveRowIndex,\n\t\tactiveColumnIndex,\n\t\titems,\n\t\tKEYBOARD_NAVIGATION.LEFT\n\t);\n\n\t_setPopoverSuggestionFocus(host, rowIndex, columnIndex);\n\tupdateState({\n\t\tactiveRowIndex: rowIndex,\n\t\tactiveColumnIndex: columnIndex\n\t});\n};\n\nexport const arrowRightEffect = ({action, state, updateState, properties}) => {\n\tconst {data, activeRowIndex, activeColumnIndex, exactMatch} = state;\n\tconst {enableExactMatch} = properties;\n\tconst {\n\t\tpayload: {host}\n\t} = action;\n\n\tconst items =\n\t\tenableExactMatch && !isEmpty(exactMatch.exactMatchData)\n\t\t\t? exactMatch.exactMatchData\n\t\t\t: data;\n\n\tconst {rowIndex, columnIndex} = getRowColIndex(\n\t\tactiveRowIndex,\n\t\tactiveColumnIndex,\n\t\titems,\n\t\tKEYBOARD_NAVIGATION.RIGHT\n\t);\n\n\t_setPopoverSuggestionFocus(host, rowIndex, columnIndex);\n\tupdateState({\n\t\tactiveRowIndex: rowIndex,\n\t\tactiveColumnIndex: columnIndex\n\t});\n};\n\nexport const mouseOverEffect = ({action, state, updateState}) => {\n\tupdateState({\n\t\t...state,\n\t\tactiveRowIndex: action.payload.index,\n\t\tactiveColumnIndex: 0,\n\t\tupdateAriaLiveTextSource: ''\n\t});\n};\n\nexport const showPopoverEffect = ({state, updateState}) => {\n\tupdateState({\n\t\t...state,\n\t\tshowPopover: true,\n\t\tisInputActive: true\n\t});\n};\n\nexport const hidePopoverEffect = ({state, updateState}) => {\n\tupdateState({\n\t\t...state,\n\t\tshowPopover: false,\n\t\tactiveRowIndex: -1,\n\t\tactiveColumnIndex: 0\n\t});\n};\n\nexport const contextDropdownFocusedEffect = ({state, updateState}) => {\n\tupdateState({\n\t\t...state,\n\t\tisInputActive: false\n\t});\n};\n\nexport const inputChangeEffect = ({\n\thost,\n\tproperties,\n\taction,\n\tdispatch,\n\tupdateState,\n\tstate\n}) => {\n\tconst {term} = action.payload;\n\tconst {\n\t\tsearchContextConfigId,\n\t\tdisableAutocomplete,\n\t\tenableExactMatch,\n\t\texactMatchRegex,\n\t\tisLoggedIn,\n\t\tlocale\n\t} = properties;\n\tconst {exactMatch} = state;\n\n\t// when search term is cleared, set focus to input\n\tif (term === '') {\n\t\t_setInputFocus(host);\n\t}\n\n\tupdateState([\n\t\t{\n\t\t\tpath: 'term',\n\t\t\tvalue: term,\n\t\t\toperation: 'set'\n\t\t},\n\t\t{\n\t\t\tpath: 'updateAriaLiveTextSource',\n\t\t\tvalue: '',\n\t\t\toperation: 'set'\n\t\t},\n\t\t{\n\t\t\tpath: 'ariaLiveBusy',\n\t\t\tvalue: true,\n\t\t\toperation: 'set'\n\t\t}\n\t]);\n\tif (isLoggedIn) {\n\t\tconst exactMatchSysProperty = enableExactMatch\n\t\t\t? getProperty(EXACT_MATCH_REGEX_SYS_PROPERTY)\n\t\t\t: '';\n\n\t\tlet exactMatchCriterionRegex = exactMatchRegex;\n\n\t\tif (!exactMatchCriterionRegex)\n\t\t\texactMatchCriterionRegex = exactMatchSysProperty\n\t\t\t\t? exactMatchSysProperty\n\t\t\t\t: DEFAULT_EXACT_MATCH_REGEX;\n\n\t\tconst canTermExactMatch = canTermMatchExactly(\n\t\t\tterm,\n\t\t\texactMatchCriterionRegex,\n\t\t\tenableExactMatch\n\t\t);\n\t\tif (canTermExactMatch && enableExactMatch) {\n\t\t\tdispatch(EXACT_MATCH_FETCH, {\n\t\t\t\tterm,\n\t\t\t\tsearchContextConfigId\n\t\t\t});\n\t\t}\n\n\t\tif (\n\t\t\t!disableAutocomplete &&\n\t\t\t!isExactMatchPresent(exactMatch, term) &&\n\t\t\thasExactMatchReadingFinished(\n\t\t\t\texactMatch,\n\t\t\t\tterm,\n\t\t\t\texactMatchCriterionRegex,\n\t\t\t\tenableExactMatch\n\t\t\t)\n\t\t) {\n\t\t\tupdateState({\n\t\t\t\texactMatch: {}\n\t\t\t});\n\t\t\tdispatch(DEBOUNCED_SUGGESTION_FETCH, {\n\t\t\t\tsearchContextConfigId,\n\t\t\t\tterm,\n\t\t\t\t...(locale && {locale})\n\t\t\t});\n\t\t}\n\t} else if (!disableAutocomplete) {\n\t\tdispatch(DEBOUNCED_SUGGESTION_FETCH, {\n\t\t\tsearchContextConfigId,\n\t\t\tterm,\n\t\t\t...(locale && {locale})\n\t\t});\n\t}\n};\n\nexport const _isPopoverButtonEvent = (event) => {\n\tconst path = event.composedPath ? event.composedPath() : event.path;\n\tconst isClearHistoryButton = path.some(\n\t\t(element) => element.className === 'search-popover__item-button'\n\t);\n\treturn isClearHistoryButton;\n};\n\nexport const enterKeyHandler = (host, event, dispatch) => {\n\tconst path = event.composedPath ? event.composedPath() : event.path;\n\tconst sourceElement = path.length > 0 ? path[0] : null;\n\n\tconst isInputEvent = sourceElement && sourceElement.tagName === 'INPUT';\n\n\tif (isInputEvent) {\n\t\tdispatch(ITEM_SELECTED, {isInputEvent});\n\t}\n};\n\nexport const showSearchPanelInMobileViewEffect = ({\n\tstate,\n\tupdateState,\n\tdispatch,\n\tproperties\n}) => {\n\tupdateState({\n\t\t...state,\n\t\tsearchPanelOpened: true\n\t});\n\tconst {windowSize} = properties;\n\tif (windowSize === WINDOW_SIZE.COLLAPSED) {\n\t\tdispatch(INPUT_CHANGED, {term: ''});\n\t}\n};\n\nexport const hideSearchPanelInMobileViewEffect = ({\n\tstate,\n\tdispatch,\n\tupdateState,\n\tproperties\n}) => {\n\tupdateState({\n\t\t...state,\n\t\tsearchPanelOpened: false,\n\t\tactiveRowIndex: -1,\n\t\tterm: ''\n\t});\n\tconst {windowSize} = properties;\n\tif (windowSize === WINDOW_SIZE.MOBILE) {\n\t\tdispatch(INPUT_CHANGED, {term: ''});\n\t}\n};\n\nexport const handleTooltipOnTruncatedTextEffect = ({\n\tdispatch,\n\taction,\n\tcontext\n}) => {\n\t// decide to show tooltip based on user preference and text overflow\n\tconst a11yTx = getUserPrefContext(\n\t\ta11yPreferences.GLIDE_UI_ACCESSIBILITY_SHOW_TRUNCATED_TEXT\n\t);\n\tconst userPrefVal = a11yTx ? context?.[a11yTx] : false;\n\tconst {\n\t\tpayload: {showToolTip, target}\n\t} = action;\n\tconst isUserPreferenceEnabled = String(userPrefVal).toLowerCase() === 'true';\n\tconst primaryTextElement = target.querySelector('p.primary-text-container');\n\tconst breadCrumbElement = target?.querySelector('p.click-breadcrumb');\n\t// show tooltip on title or breadcrumb text overflow only\n\tconst shouldDispatch =\n\t\tshowToolTip &&\n\t\tisUserPreferenceEnabled &&\n\t\t(primaryTextElement.offsetWidth < primaryTextElement.scrollWidth ||\n\t\t\tbreadCrumbElement?.offsetWidth < breadCrumbElement?.scrollWidth);\n\tdispatch(shouldDispatch ? TOOLTIP_SHOW : TOOLTIP_HIDE, {target: target});\n};\n","import {createGraphQLEffect} from '@servicenow/ui-effect-graphql';\nimport get from 'lodash/get';\nimport {CLEAR_SEARCH_FROM_HISTORY_MUTATION_QUERY} from '../constants';\n\nimport {\n\tCLEAR_SEARCH_MUTATION_SUCCEEDED,\n\tCLEAR_SEARCH_MUTATION_FAILED,\n\tSUGGESTION_FETCH\n} from '../actions';\n\nconst mutationPath =\n\t'payload.data.GlideSearch_Mutation.clearSearchFromHistory.term';\n\nexport const clearSearchEffect = createGraphQLEffect(\n\tCLEAR_SEARCH_FROM_HISTORY_MUTATION_QUERY,\n\t{\n\t\tvariableList: ['searchContextConfigId', 'term'],\n\t\tsuccessActionType: CLEAR_SEARCH_MUTATION_SUCCEEDED,\n\t\terrorActionType: CLEAR_SEARCH_MUTATION_FAILED\n\t}\n);\n\nexport const clearSearchSucceededEffect = ({\n\tdispatch,\n\tproperties,\n\tstate,\n\taction\n}) => {\n\tconst {term} = state;\n\tconst {searchContextConfigId} = properties;\n\tconst deletedQuery = get(action, mutationPath, null);\n\n\t// null if soft delete was not successful\n\tif (!deletedQuery) return;\n\n\tdispatch(SUGGESTION_FETCH, {searchContextConfigId, term});\n};\n\nexport const clearSearchFailedEffect = ({action, state, updateState}) => {\n\tupdateState({\n\t\t...state,\n\t\tfetching: false,\n\t\terror: action.payload\n\t});\n};\n","function createAfterInterceptor(actionNames) {\n\tlet actions = actionNames;\n\tif (!Array.isArray(actionNames)) {\n\t\tactions = [actionNames];\n\t}\n\treturn actions.map((actionName) => ({\n\t\tafter: (context) => ({\n\t\t\t...context,\n\t\t\teffects: [\n\t\t\t\t...context.effects,\n\t\t\t\t{\n\t\t\t\t\teffect: ({dispatch}) => dispatch(actionName),\n\t\t\t\t\targs: [context.coeffects]\n\t\t\t\t}\n\t\t\t]\n\t\t})\n\t}));\n}\n\nexport default createAfterInterceptor;\n","/**\n * Handy dandy proxy for helping keep effect functions mockable by sinon, example:\n *\n * export const unProxiedFetchEffect = createGraphQLEffect(someQuery, {\n *  startActionType,\n *  successActionType,\n *  errorActionType\n * })\n *\n * In actionHandlers -\n * import effectProxy from '../helpers/effectProxy'\n * ...\n * [ACTION_CONSTANT]: effectProxy(unProxiedFetchEffect)\n *\n * In tests -\n * import { unProxiedFetchEffect } from './component-file'\n * ...\n * beforeEach(() => {\n *  sandbox.stub(unProxiedFetchEffect, 'effect')\n * })\n */\n\nexport default (effect) => (coeffects) =>\n\teffect.effect(...effect.args, coeffects);\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"createHttpEffect\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__.__esModule\n\t\t\t\t\tif (cjsModule && 'createHttpEffect' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"].createHttpEffect;\n\t\t\t\t\t} else if ('createHttpEffect' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__.createHttpEffect || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_effect_http_index_jsdbx_efdee9e7__[\"default\"].createHttpEffect;\n\t\t\t\t} });","import get from 'lodash/get';\nimport {t} from 'sn-translate';\nimport {POPOVER_ITEM_TYPE} from '../constants';\n\nconst transformString = (string) => {\n\treturn string && string[0].toUpperCase() + string.slice(1);\n};\n\nconst transformExactMatchResponse = (response) => {\n\tconst term = get(response, 'result.term');\n\tconst record = get(response, 'result.search_results.0.records.0');\n\tconst displayFields = get(response, 'result.search_results.0.fields');\n\n\tconst record_url = get(\n\t\tresponse,\n\t\t'result.search_results.0.records.0.record_url'\n\t);\n\tconst table = get(response, 'result.search_results.0.records.0.table');\n\n\tconst displayValueForTableWhenAvailable =\n\t\tget(response, 'result.search_results.0.label') ||\n\t\tget(response, 'result.search_results.0.records.0.table');\n\n\tconst title = get(\n\t\tresponse,\n\t\t'result.search_results.0.records.0.metadata.title'\n\t);\n\n\tconst sysId = get(response, 'result.search_results.0.records.0.sys_id');\n\n\tif (!term || !record || !displayFields) return undefined;\n\tconst output = [];\n\tif (term && record && displayFields) {\n\t\toutput.push({\n\t\t\ttype: POPOVER_ITEM_TYPE.SECTION_HEADER,\n\t\t\tcolumns: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: 'name',\n\t\t\t\t\tlabel: 'Name',\n\t\t\t\t\tvalue: t('EXACT MATCH'),\n\t\t\t\t\tdisplayValue: t('EXACT MATCH')\n\t\t\t\t}\n\t\t\t]\n\t\t});\n\t\toutput.push({\n\t\t\ttype: POPOVER_ITEM_TYPE.EXACT_MATCH,\n\t\t\tcolumns: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: 'title',\n\t\t\t\t\tlabel: 'title',\n\t\t\t\t\tvalue: title,\n\t\t\t\t\tdisplayValue: title\n\t\t\t\t},\n\t\t\t\t/* For ExactMatch search and with polaris temporary dynamic routing logic,\n\t\t\t\t ** the record routing is based on source table so updates the value for routing and displayVlue\n\t\t\t\t ** contains the required table label for design\n\t\t\t\t */\n\t\t\t\t{\n\t\t\t\t\tfieldName: 'source_table_name',\n\t\t\t\t\tlabel: 'source_table_name',\n\t\t\t\t\tvalue: table,\n\t\t\t\t\tdisplayValue: transformString(displayValueForTableWhenAvailable)\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tfieldName: 'number',\n\t\t\t\t\tlabel: 'number',\n\t\t\t\t\tvalue: term,\n\t\t\t\t\tdisplayValue: term\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tfieldName: 'record_url',\n\t\t\t\t\tlabel: 'record_url',\n\t\t\t\t\tvalue: record_url,\n\t\t\t\t\tdisplayValue: record_url\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tfieldName: 'sysID',\n\t\t\t\t\tlabel: 'sysID',\n\t\t\t\t\tvalue: sysId,\n\t\t\t\t\tdisplayValue: sysId\n\t\t\t\t}\n\t\t\t]\n\t\t});\n\t\toutput.push({\n\t\t\ttype: POPOVER_ITEM_TYPE.FOOTER\n\t\t});\n\t}\n\treturn output;\n};\n\nexport default transformExactMatchResponse;\n","import {createHttpEffect} from '@servicenow/ui-effect-http';\nimport get from 'lodash/get';\nimport {\n\tEXACT_MATCH_FAILED,\n\tEXACT_MATCH_STARTED,\n\tEXACT_MATCH_SUCCEEDED,\n\tSET_ENABLE_EXACT_MATCH_PROPERTY,\n\tSWITCH_TO_DEFAULT_ENABLE_EXACT_MATCH_PROPERTY\n} from '../actions';\nimport transformExactMatchResponse from '../utils/transformExactMatchResponse';\nimport {\n\tEXACT_MATCH_QUERY_PATH,\n\tDATABROKER_URI_QUERY,\n\tEVENT_TYPE,\n\tCACHE_EXACT_MATCH_KEY\n} from '../constants';\nimport {handlers} from './inputEffects';\nimport {searchSuggestionCache} from '../utils/cache';\n\nexport const handleExactMatchFetchEffect = createHttpEffect(\n\t'/api/now/v1/search/exactmatch?sysparm_term=:term&sysparm_search_context_config_id=:searchContextConfigId',\n\t{\n\t\tmethod: 'GET',\n\t\theaders: {},\n\t\tpathParams: ['term', 'searchContextConfigId'],\n\t\tstartActionType: EXACT_MATCH_STARTED,\n\t\tsuccessActionType: EXACT_MATCH_SUCCEEDED,\n\t\terrorActionType: EXACT_MATCH_FAILED\n\t}\n);\n\nexport const handleExactMatchStartedEffect = ({state, updateState}) =>\n\tupdateState({\n\t\t...state,\n\t\texactMatch: {\n\t\t\tisFetching: true,\n\t\t\terror: null\n\t\t},\n\t\tactiveRowIndex: -1,\n\t\tactiveColumnIndex: 0\n\t});\n\nexport const handleExactMatchSucceededEffect = ({\n\tstate,\n\tupdateState,\n\tproperties,\n\taction,\n\tdispatch,\n\thost\n}) => {\n\tconst {term, activeRowIndex, data, queueExactMatchEvent} = state;\n\tconst {\n\t\tsearchContextConfigId,\n\t\tselectedSearchContext,\n\t\tenableExactMatch\n\t} = properties;\n\tconst exactMatchData = transformExactMatchResponse(action.payload);\n\n\tupdateState({\n\t\t...state,\n\t\texactMatch: {\n\t\t\tisFetching: false,\n\t\t\terror: null,\n\t\t\texactMatchData,\n\t\t\thasExactMatch: true\n\t\t}\n\t});\n\n\t// process the queued enter event now that we have exact match results\n\tif (queueExactMatchEvent) {\n\t\t// if valid exact match, route to the record;\n\t\t// otherwise, perform a search\n\t\tif (exactMatchData) {\n\t\t\tconst item = exactMatchData[1];\n\t\t\thandlers[EVENT_TYPE.NAVIGATION](\n\t\t\t\tsearchContextConfigId,\n\t\t\t\tterm,\n\t\t\t\tdata,\n\t\t\t\tactiveRowIndex,\n\t\t\t\titem,\n\t\t\t\tdispatch,\n\t\t\t\tenableExactMatch,\n\t\t\t\tupdateState,\n\t\t\t\tselectedSearchContext\n\t\t\t);\n\t\t} else {\n\t\t\thandlers[EVENT_TYPE.SEARCH_FROM_INPUT](\n\t\t\t\tterm,\n\t\t\t\tsearchContextConfigId,\n\t\t\t\tselectedSearchContext,\n\t\t\t\tupdateState,\n\t\t\t\tdispatch,\n\t\t\t\thost\n\t\t\t);\n\t\t}\n\n\t\tupdateState({queueExactMatchEvent: false});\n\t}\n};\n\nexport const handleExactMatchFailedEffect = ({state, updateState, action}) =>\n\tupdateState({\n\t\t...state,\n\t\texactMatch: {\n\t\t\t...state.exactMatch,\n\t\t\tisFetching: false,\n\t\t\terror: action.payload,\n\t\t\thasExactMatch: false\n\t\t}\n\t});\n\nexport const exactMatchConfigFetchEffect = createHttpEffect(\n\tDATABROKER_URI_QUERY,\n\t{\n\t\tmethod: 'POST',\n\t\tdataParam: 'payload',\n\t\tbatch: false,\n\t\tsuccessActionType: SET_ENABLE_EXACT_MATCH_PROPERTY,\n\t\terrorActionType: SWITCH_TO_DEFAULT_ENABLE_EXACT_MATCH_PROPERTY\n\t}\n);\n\nexport const setEnableExactMatchPropertyVariable = ({\n\taction,\n\tupdateProperties,\n\tproperties\n}) => {\n\tsearchSuggestionCache.setItem(CACHE_EXACT_MATCH_KEY, action?.payload);\n\tconst exactMatchConfigFromSAC = get(\n\t\taction?.payload,\n\t\tEXACT_MATCH_QUERY_PATH,\n\t\ttrue\n\t);\n\t// Only update enableExactMatch if it's not explicitly set to false\n\tif (properties?.enableExactMatch !== false) {\n\t\tupdateProperties({\n\t\t\tenableExactMatch: exactMatchConfigFromSAC\n\t\t});\n\t}\n};\n\nexport const switchToDefaultExactMatchPropertyVariable = ({\n\tupdateProperties,\n\tproperties\n}) => {\n\t// Only update if not explicitly set to false\n\tif (properties?.enableExactMatch !== false) {\n\t\tupdateProperties({\n\t\t\tenableExactMatch: true\n\t\t});\n\t}\n};\n","import isEmpty from 'lodash/isEmpty';\nimport {declarativeStateUpdate} from '../../../../utils';\nimport {fetchSuggestions} from './suggestionEffects';\n\nconst resetSuggestionTerm = ({updateState}) => {\n\tupdateState({\n\t\tpath: 'suggestionSearchTermQuery',\n\t\tvalue: null,\n\t\toperation: 'set'\n\t});\n};\n\nconst onSearchTermChanged = ({\n\tupdateState,\n\tdispatch,\n\tsearchContextConfigId,\n\tvalue\n}) => {\n\tfetchSuggestions({\n\t\tdispatch,\n\t\tpayload: {term: value, searchContextConfigId}\n\t});\n\tdeclarativeStateUpdate(updateState, {\n\t\tterm: value,\n\t\tdata: []\n\t});\n};\n\nconst onOpenedChanged = ({\n\tupdateState,\n\tdispatch,\n\tsearchContextConfigId,\n\tvalue\n}) => {\n\tif (!value) {\n\t\tdeclarativeStateUpdate(updateState, {\n\t\t\tterm: '',\n\t\t\t// prevent search-modal to show previous loaded data\n\t\t\tdata: []\n\t\t});\n\n\t\t// Make sure right data is presented if user\n\t\tfetchSuggestions({\n\t\t\tdispatch,\n\t\t\tpayload: {term: '', searchContextConfigId}\n\t\t});\n\t}\n};\n\nconst onSearchContextConfigIdChanged = ({\n\tupdateState,\n\tdispatch,\n\tpreviousValue,\n\tvalue\n}) => {\n\tif (!isEmpty(value) && previousValue !== value) {\n\t\tresetSuggestionTerm({updateState});\n\t\t// prevent search-modal to show previous loaded data\n\t\tdeclarativeStateUpdate(updateState, {\n\t\t\tdata: []\n\t\t});\n\t\tfetchSuggestions({\n\t\t\tdispatch,\n\t\t\tpayload: {term: '', searchContextConfigId: value}\n\t\t});\n\t}\n};\n\nexport const onComponentPropertyChanged = ({\n\tproperties,\n\taction,\n\tupdateState,\n\tdispatch\n}) => {\n\tconst {\n\t\tpayload: {name, value, previousValue}\n\t} = action;\n\tconst {searchContextConfigId} = properties;\n\tswitch (name) {\n\t\tcase 'searchTerm':\n\t\t\tonSearchTermChanged({\n\t\t\t\tupdateState,\n\t\t\t\tproperties,\n\t\t\t\tdispatch,\n\t\t\t\tsearchContextConfigId,\n\t\t\t\tvalue\n\t\t\t});\n\t\t\tbreak;\n\t\tcase 'opened':\n\t\t\tonOpenedChanged({\n\t\t\t\tupdateState,\n\t\t\t\tdispatch,\n\t\t\t\tsearchContextConfigId,\n\t\t\t\tvalue\n\t\t\t});\n\t\t\tbreak;\n\t\tcase 'searchContextConfigId':\n\t\t\tonSearchContextConfigIdChanged({\n\t\t\t\tupdateState,\n\t\t\t\tdispatch,\n\t\t\t\tvalue,\n\t\t\t\tpreviousValue\n\t\t\t});\n\t\t\tbreak;\n\t}\n};\n","import {actionTypes} from '@servicenow/ui-core';\nimport {isEmpty, throttle} from 'lodash';\nimport get from 'lodash/get';\nimport {\n\tNOW_BUTTON_BARE_CLICKED,\n\tNOW_BUTTON_ICONIC_CLICKED,\n\tNOW_TEXT_LINK_CLICKED,\n\tINPUT_FOCUSED_IN,\n\tINPUT_FOCUSED_OUT,\n\tITEM_SELECTED,\n\tCLEAR_SEARCH_SELECTED,\n\tCLEAR_SEARCH_MUTATION,\n\tCLEAR_SEARCH_MUTATION_SUCCEEDED,\n\tCLEAR_SEARCH_MUTATION_FAILED,\n\tARROW_DOWN_PRESSED,\n\tARROW_UP_PRESSED,\n\tARROW_LEFT_PRESSED,\n\tARROW_RIGHT_PRESSED,\n\tINPUT_CHANGED,\n\tCONTEXT_DROPDOWN_FOCUSED,\n\tSHOW_POPOVER,\n\tMOUSE_OVERED,\n\tDEBOUNCED_SUGGESTION_FETCH,\n\tSUGGESTION_FETCH,\n\tSUGGESTION_FETCH_STARTED,\n\tSUGGESTION_FETCH_SUCCEEDED,\n\tSUGGESTION_FETCH_FAILED,\n\tCONTEXT_ITEM_SELECTED,\n\tEXACT_MATCH_FAILED,\n\tEXACT_MATCH_FETCH,\n\tEXACT_MATCH_STARTED,\n\tEXACT_MATCH_SUCCEEDED,\n\tSHOW_SEARCH_PANEL,\n\tHIDE_SEARCH_PANEL,\n\tSET_REF,\n\tFETCH_EXACT_MATCH_CONFIG,\n\tSET_ENABLE_EXACT_MATCH_PROPERTY,\n\tHANDLE_TOOLTIP_ON_TRUNCATED_TEXT,\n\tSWITCH_TO_DEFAULT_ENABLE_EXACT_MATCH_PROPERTY,\n\tITEM_FOCUSED\n} from '../actions';\nimport {constructAriaLiveText} from '../utils/resultItemsUtil';\n\nimport {\n\tDEBOUNCE_MODIFIER,\n\tINPUT_DEBOUNCE_DELAY,\n\tUPDATE_ARIA_LIVE_TEXT_SOURCES,\n\tSR_LABELS\n} from '../constants';\n\nimport {\n\tnowButtonClickedEffect,\n\tclearSearchSelectedEffect,\n\tinputFocusedInEffect,\n\tinputFocusedOutEffect,\n\titemSelectedEffect,\n\tarrowUpEffect,\n\tarrowDownEffect,\n\tarrowLeftEffect,\n\tarrowRightEffect,\n\tmouseOverEffect,\n\tshowPopoverEffect,\n\tinputChangeEffect,\n\tshowSearchPanelInMobileViewEffect,\n\thideSearchPanelInMobileViewEffect,\n\tcontextDropdownFocusedEffect,\n\thandleTooltipOnTruncatedTextEffect,\n\titemFocusedEffect\n} from '../effects/inputEffects';\n\nimport {\n\tsuggestionFetchEffect,\n\tsuggestionFetchStartedEffect,\n\tsuggestionFetchSucceededEffect,\n\tsuggestionFetchFailedEffect,\n\tdebouncedSuggestionFetchEffect\n} from '../effects/suggestionEffects';\n\nimport {\n\tclearSearchEffect,\n\tclearSearchSucceededEffect,\n\tclearSearchFailedEffect\n} from '../effects/clearSearchEffects';\n\nimport createAfterInterceptor from '../utils/interceptor';\nimport effectProxy from '../utils/effectProxy';\nimport {contextItemSelectedEffect} from '../effects/contextDropdownEffects';\n\nimport {\n\thandleExactMatchFailedEffect,\n\thandleExactMatchFetchEffect,\n\thandleExactMatchSucceededEffect,\n\thandleExactMatchStartedEffect,\n\texactMatchConfigFetchEffect,\n\tsetEnableExactMatchPropertyVariable,\n\tswitchToDefaultExactMatchPropertyVariable\n} from '../effects/exactMatchEffects';\nimport fetchExactMatch from '../utils/fetchExactMatch';\nimport {onComponentPropertyChanged} from '../effects/onComponentPropertyChanged';\nimport {setTermToState} from '../utils/setTermToState';\n\nconst coeffectFnWithStopPropagation = (effect, extraProperties = {}) => {\n\treturn {\n\t\teffect,\n\t\tstopPropagation: true,\n\t\t...extraProperties\n\t};\n};\n\nconst {\n\tCOMPONENT_BOOTSTRAPPED,\n\tCOMPONENT_CONNECTED,\n\tCOMPONENT_PROPERTY_CHANGED,\n\tCOMPONENT_DISCONNECTED,\n\tCOMPONENT_TREE_RENDERED\n} = actionTypes;\n\nconst handleAriaLiveText = ({state, updateState}) => {\n\t// add a dealy so screen reader is done reading search term\n\tif (\n\t\tstate?.updateAriaLiveTextSource ===\n\t\tUPDATE_ARIA_LIVE_TEXT_SOURCES.RESULT_COUNT\n\t) {\n\t\t// throttle to prevent tedious announcements\n\t\tconst throttleTimeout = throttle(() => {\n\t\t\tsetTimeout(() => {\n\t\t\t\tupdateState({\n\t\t\t\t\tariaLiveText: constructAriaLiveText(\n\t\t\t\t\t\tstate.data,\n\t\t\t\t\t\tstate?.updateAriaLiveTextSource\n\t\t\t\t\t)\n\t\t\t\t});\n\t\t\t}, 500);\n\t\t}, 500);\n\t\tthrottleTimeout();\n\t} else if (\n\t\tstate?.updateAriaLiveTextSource ===\n\t\tUPDATE_ARIA_LIVE_TEXT_SOURCES.CLEAR_RECENT_SEARCH_ITEM\n\t) {\n\t\tupdateState({\n\t\t\tariaLiveText: SR_LABELS.CLEARED_RECENT_SEARCH_ITEM\n\t\t});\n\t} else {\n\t\tupdateState({\n\t\t\tariaLiveText: ''\n\t\t});\n\t}\n};\n\nexport const onComponentConnected = ({dispatch, properties, updateState}) => {\n\tsetTermToState({dispatch, properties, updateState});\n\tconst {searchContextConfigId, enableExactMatch} = properties;\n\tif (!isEmpty(searchContextConfigId) && enableExactMatch !== false) {\n\t\tfetchExactMatch({dispatch, searchContextConfigId});\n\t}\n};\nexport const onComponentBootstrap = ({dispatch, properties}) => {\n\tconst {searchContextConfigId, searchTerm} = properties;\n\t// Timeout to optmize page first load by delaying prefetching the suggestions\n\tsetTimeout(() => {\n\t\tdispatch(DEBOUNCED_SUGGESTION_FETCH, {\n\t\t\tsearchContextConfigId,\n\t\t\tterm: searchTerm || '',\n\t\t\tprefetch: true\n\t\t});\n\t}, 1000);\n\tdispatch(SHOW_POPOVER);\n};\n\nexport const onComponentDisconnected = () => {\n\twindow.removeEventListener('resize', () => {});\n};\n\nexport const onSetref = ({updateState, action}) => {\n\tconst elm = get(action, 'payload.elm');\n\tupdateState({titleRef: elm});\n};\n\nexport default {\n\t[COMPONENT_CONNECTED]: coeffectFnWithStopPropagation(onComponentConnected),\n\t[COMPONENT_BOOTSTRAPPED]: coeffectFnWithStopPropagation(onComponentBootstrap),\n\t[COMPONENT_DISCONNECTED]: coeffectFnWithStopPropagation(\n\t\tonComponentDisconnected\n\t),\n\t[COMPONENT_TREE_RENDERED]: coeffectFnWithStopPropagation(handleAriaLiveText),\n\t[COMPONENT_PROPERTY_CHANGED]: coeffectFnWithStopPropagation(\n\t\tonComponentPropertyChanged\n\t),\n\t[DEBOUNCED_SUGGESTION_FETCH]: {\n\t\tmodifier: {\n\t\t\tname: DEBOUNCE_MODIFIER,\n\t\t\tdelay: INPUT_DEBOUNCE_DELAY\n\t\t},\n\t\teffect: debouncedSuggestionFetchEffect\n\t},\n\t[FETCH_EXACT_MATCH_CONFIG]: exactMatchConfigFetchEffect,\n\t[SET_ENABLE_EXACT_MATCH_PROPERTY]: coeffectFnWithStopPropagation(\n\t\tsetEnableExactMatchPropertyVariable\n\t),\n\t[SUGGESTION_FETCH]: effectProxy(suggestionFetchEffect),\n\t[SUGGESTION_FETCH_STARTED]: coeffectFnWithStopPropagation(\n\t\tsuggestionFetchStartedEffect\n\t),\n\t[SUGGESTION_FETCH_SUCCEEDED]: suggestionFetchSucceededEffect,\n\t[SUGGESTION_FETCH_FAILED]: coeffectFnWithStopPropagation(\n\t\tsuggestionFetchFailedEffect\n\t),\n\t[INPUT_CHANGED]: {\n\t\teffect: inputChangeEffect,\n\t\tinterceptors: createAfterInterceptor(SHOW_POPOVER),\n\t\tstopPropagation: true\n\t},\n\t[INPUT_FOCUSED_IN]: {\n\t\teffect: inputFocusedInEffect,\n\t\tinterceptors: createAfterInterceptor(SHOW_POPOVER),\n\t\tstopPropagation: true\n\t},\n\t[INPUT_FOCUSED_OUT]: coeffectFnWithStopPropagation(inputFocusedOutEffect),\n\t[ARROW_UP_PRESSED]: {\n\t\teffect: arrowUpEffect,\n\t\tinterceptors: createAfterInterceptor(SHOW_POPOVER),\n\t\tstopPropagation: true\n\t},\n\t[ARROW_DOWN_PRESSED]: {\n\t\teffect: arrowDownEffect,\n\t\tinterceptors: createAfterInterceptor(SHOW_POPOVER),\n\t\tstopPropagation: true\n\t},\n\t[ARROW_LEFT_PRESSED]: coeffectFnWithStopPropagation(arrowLeftEffect),\n\t[ARROW_RIGHT_PRESSED]: coeffectFnWithStopPropagation(arrowRightEffect),\n\t[NOW_BUTTON_BARE_CLICKED]: coeffectFnWithStopPropagation(\n\t\tnowButtonClickedEffect\n\t),\n\t[NOW_BUTTON_ICONIC_CLICKED]: coeffectFnWithStopPropagation(\n\t\tnowButtonClickedEffect\n\t),\n\t[NOW_TEXT_LINK_CLICKED]: coeffectFnWithStopPropagation(itemSelectedEffect),\n\t[ITEM_SELECTED]: coeffectFnWithStopPropagation(itemSelectedEffect),\n\t[ITEM_FOCUSED]: coeffectFnWithStopPropagation(itemFocusedEffect),\n\t[CLEAR_SEARCH_SELECTED]: coeffectFnWithStopPropagation(\n\t\tclearSearchSelectedEffect\n\t),\n\t[CLEAR_SEARCH_MUTATION]: {\n\t\t...clearSearchEffect,\n\t\tstopPropagation: true\n\t},\n\t[CLEAR_SEARCH_MUTATION_SUCCEEDED]: coeffectFnWithStopPropagation(\n\t\tclearSearchSucceededEffect\n\t),\n\t[CLEAR_SEARCH_MUTATION_FAILED]: coeffectFnWithStopPropagation(\n\t\tclearSearchFailedEffect\n\t),\n\t[MOUSE_OVERED]: coeffectFnWithStopPropagation(mouseOverEffect),\n\t[SHOW_POPOVER]: {\n\t\teffect: showPopoverEffect,\n\t\tstopPropagation: false\n\t},\n\t[CONTEXT_DROPDOWN_FOCUSED]: coeffectFnWithStopPropagation(\n\t\tcontextDropdownFocusedEffect\n\t),\n\t[CONTEXT_ITEM_SELECTED]: {\n\t\teffect: contextItemSelectedEffect,\n\t\tinterceptors: createAfterInterceptor(INPUT_FOCUSED_IN),\n\t\tstopPropagation: true\n\t},\n\t[EXACT_MATCH_FETCH]: effectProxy(handleExactMatchFetchEffect),\n\t[EXACT_MATCH_STARTED]: coeffectFnWithStopPropagation(\n\t\thandleExactMatchStartedEffect\n\t),\n\t[EXACT_MATCH_SUCCEEDED]: coeffectFnWithStopPropagation(\n\t\thandleExactMatchSucceededEffect\n\t),\n\t[EXACT_MATCH_FAILED]: coeffectFnWithStopPropagation(\n\t\thandleExactMatchFailedEffect\n\t),\n\t[SHOW_SEARCH_PANEL]: coeffectFnWithStopPropagation(\n\t\tshowSearchPanelInMobileViewEffect\n\t),\n\t[HIDE_SEARCH_PANEL]: coeffectFnWithStopPropagation(\n\t\thideSearchPanelInMobileViewEffect\n\t),\n\t[SET_REF]: coeffectFnWithStopPropagation(onSetref),\n\t[HANDLE_TOOLTIP_ON_TRUNCATED_TEXT]: coeffectFnWithStopPropagation(\n\t\thandleTooltipOnTruncatedTextEffect\n\t),\n\t[SWITCH_TO_DEFAULT_ENABLE_EXACT_MATCH_PROPERTY]: coeffectFnWithStopPropagation(\n\t\tswitchToDefaultExactMatchPropertyVariable\n\t)\n};\n","export const setTermToState = ({properties, updateState}) => {\n\tconst {searchTerm} = properties;\n\tupdateState({\n\t\tpath: 'term',\n\t\tvalue: searchTerm,\n\t\toperation: 'set'\n\t});\n};\n","import {searchSuggestionCache} from './cache';\nimport {\n\tFETCH_EXACT_MATCH_CONFIG,\n\tSET_ENABLE_EXACT_MATCH_PROPERTY\n} from '../actions';\nimport {CACHE_EXACT_MATCH_KEY} from '../constants';\nimport {generateExactMatchPayload} from './exactMatch';\n\nexport default async function fetchExactMatch({\n\tdispatch,\n\tsearchContextConfigId\n}) {\n\tconst cached = await searchSuggestionCache.getItem(CACHE_EXACT_MATCH_KEY);\n\tif (!cached) {\n\t\tdispatch(FETCH_EXACT_MATCH_CONFIG, {\n\t\t\tpayload: generateExactMatchPayload(searchContextConfigId)\n\t\t});\n\t} else {\n\t\tdispatch(SET_ENABLE_EXACT_MATCH_PROPERTY, cached);\n\t}\n}\n","import {CONTEXT_CHANGED_INTERNAL, INPUT_FOCUSED_IN} from '../actions';\nimport {_setInputFocus} from './inputEffects';\n\nexport const contextItemSelectedEffect = ({\n\tupdateProperties,\n\tdispatch,\n\taction,\n\tstate,\n\tupdateState,\n\thost\n}) => {\n\tconst {\n\t\tpayload: {item}\n\t} = action;\n\n\tconst {searchDataConfigId} = item;\n\tupdateProperties({\n\t\tselectedSearchContext: item,\n\t\tsearchContextConfigId: searchDataConfigId\n\t});\n\tupdateState({\n\t\t...state,\n\t\tinputHasFocus: true,\n\t\tisInputActive: true\n\t});\n\n\tdispatch(CONTEXT_CHANGED_INTERNAL, item);\n\t_setInputFocus(host);\n\tdispatch(INPUT_FOCUSED_IN);\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_truncation_28_4_1_index_jsdbx_d9cd1d89__[\"default\"][\"default\"];\n\t\t\t\t} });","import {createCustomElement} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport keyBindingBehavior from '@servicenow/behavior-key-binding';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport {t} from 'sn-translate';\nimport style from './index.scss';\nimport view from './view/Combobox';\nimport actionHandlers from './actionHandlers';\n\nimport {\n\tARROW_DOWN_PRESSED,\n\tARROW_UP_PRESSED,\n\tARROW_LEFT_PRESSED,\n\tARROW_RIGHT_PRESSED,\n\tHIDE_POPOVER\n} from './actions';\nimport {\n\tenterKeyHandler,\n\t_isPopoverButtonEvent,\n\t_isPopoverTermEvent,\n\t_isDropDownEvent\n} from '../common/effects/inputEffects';\n\nimport truncationBehavior from '@servicenow/behavior-truncation';\nimport tooltipBehavior from '@servicenow/behavior-tooltip';\n\ncreateCustomElement('sn-cx-search-input-desktop', {\n\trenderer: {type: snabbdom},\n\tstyles: style,\n\tview,\n\tactionHandlers,\n\teventHandlers: [\n\t\t{\n\t\t\tevents: ['click'],\n\t\t\teffect({\n\t\t\t\tstate,\n\t\t\t\tdispatch,\n\t\t\t\taction: {\n\t\t\t\t\tpayload: {event, host}\n\t\t\t\t}\n\t\t\t}) {\n\t\t\t\tconst {showPopover} = state;\n\t\t\t\tif (showPopover) {\n\t\t\t\t\tconst path = event.composedPath ? event.composedPath() : event.path;\n\t\t\t\t\tconst hostInPath = path.includes(host);\n\n\t\t\t\t\tif (!hostInPath) {\n\t\t\t\t\t\tdispatch(HIDE_POPOVER);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\ttarget: document\n\t\t}\n\t],\n\tbehaviors: [\n\t\t{\n\t\t\tbehavior: keyBindingBehavior,\n\t\t\toptions: {\n\t\t\t\tkeyBindings: {\n\t\t\t\t\tpressArrowUp: ['ArrowUp'],\n\t\t\t\t\tpressArrowDown: ['ArrowDown'],\n\t\t\t\t\tpressArrowLeft: ['ArrowLeft'],\n\t\t\t\t\tpressArrowRight: ['ArrowRight'],\n\t\t\t\t\tpressEscape: ['Escape'],\n\t\t\t\t\tpressEnter: ['Enter']\n\t\t\t\t\t// pressTab: ['Tab']\n\t\t\t\t},\n\t\t\t\thandlers: {\n\t\t\t\t\tpressArrowUp(host, event, dispatch) {\n\t\t\t\t\t\tevent.preventDefault(); // prevent scrolling up\n\t\t\t\t\t\tdispatch(ARROW_UP_PRESSED, {host});\n\t\t\t\t\t},\n\t\t\t\t\tpressArrowDown(host, event, dispatch) {\n\t\t\t\t\t\tevent.preventDefault(); // prevent scrolling down\n\t\t\t\t\t\tif (!_isDropDownEvent(event)) {\n\t\t\t\t\t\t\tdispatch(ARROW_DOWN_PRESSED, {host});\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tpressArrowLeft(host, event, dispatch) {\n\t\t\t\t\t\tif (_isPopoverButtonEvent(event) || _isPopoverTermEvent(event))\n\t\t\t\t\t\t\tdispatch(ARROW_LEFT_PRESSED, {host});\n\t\t\t\t\t},\n\t\t\t\t\tpressArrowRight(host, event, dispatch) {\n\t\t\t\t\t\tif (_isPopoverButtonEvent(event) || _isPopoverTermEvent(event))\n\t\t\t\t\t\t\tdispatch(ARROW_RIGHT_PRESSED, {host});\n\t\t\t\t\t},\n\t\t\t\t\tpressEscape(host) {\n\t\t\t\t\t\tconst input = host.shadowRoot.querySelector('input');\n\t\t\t\t\t\tif (input) input.focus();\n\t\t\t\t\t},\n\t\t\t\t\tpressEnter: enterKeyHandler\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t{behavior: rtlBehavior},\n\t\ttooltipBehavior,\n\t\ttruncationBehavior\n\t],\n\tinitialState: {\n\t\tterm: '',\n\t\tsuggestionSearchTermQuery: null,\n\t\tactiveRowIndex: -1,\n\t\tactiveColumnIndex: 0,\n\t\tdata: [],\n\t\twidth: 0,\n\t\tinputHasFocus: false,\n\t\ttargetRef: null,\n\t\tisInputActive: false,\n\t\texactMatch: {},\n\t\tqueueExactMatchEvent: false,\n\t\tsearchPanelOpened: false,\n\t\ttitleRef: '',\n\t\tupdateAriaLiveTextSource: '',\n\t\tariaLiveText: '',\n\t\tariaLiveBusy: false\n\t},\n\tproperties: {\n\t\tplaceholder: {default: t('Search')},\n\t\tsearchTerm: {default: ''},\n\t\tsearchContextConfigId: {default: ''},\n\t\tplacement: {default: 'body'},\n\t\tdisableAutocomplete: {default: false},\n\t\tselectedSearchContext: {default: {}},\n\t\tsearchContexts: {default: []},\n\t\twindowSize: {default: 'expanded'},\n\t\tcanAnimate: {default: false},\n\t\tenableExactMatch: {default: true},\n\t\texactMatchRegex: {default: ''},\n\t\tisSearchInput: {default: false},\n\t\tsearchConfig: {\n\t\t\tdefault: {},\n\t\t\tschema: {\n\t\t\t\ttype: 'object'\n\t\t\t}\n\t\t},\n\t\tattachToNavigation: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\tattachToElement: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\topened: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Enable the filters to be added to the routing whenenver user click on a search suggestion\n\t\t * @type {boolean}\n\t\t */\n\t\tapplyFilters: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Filters to be added to the routing whenenver user click on a search suggestion\n\t\t * @type {string}\n\t\t */\n\t\tfilters: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Is User Logged In.\n\t\t * @type {boolean}\n\t\t */\n\t\tisLoggedIn: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Source to be used when navigating.\n\t\t * @type {string}\n\t\t */\n\t\tsource: {\n\t\t\tdefault: null,\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Language locale code (e.g. \"en\", \"fr\") forwarded to the search GraphQL resolver.\n\t\t * @type {string}\n\t\t */\n\t\tlocale: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t}\n\t}\n});\n","import {SET_INPUT_DESKTOP_ELEMENT} from './common/actions';\nimport './sn-cx-search-input-desktop';\n\nconst view = (state, {dispatch}) => {\n\tconst {\n\t\tproperties: {\n\t\t\tplaceholder,\n\t\t\tsearchTerm,\n\t\t\tsearchContextConfigId,\n\t\t\tplacement,\n\t\t\tdisableAutocomplete,\n\t\t\tselectedSearchContext,\n\t\t\tsearchContexts,\n\t\t\twindowSize,\n\t\t\tcanAnimate,\n\t\t\tenableExactMatch,\n\t\t\texactMatchRegex,\n\t\t\tisSearchInput,\n\t\t\tattachToNavigation,\n\t\t\tattachToElement,\n\t\t\topened,\n\t\t\tapplyFilters = false,\n\t\t\tfilters = '',\n\t\t\tsearchConfig = {},\n\t\t\tisLoggedIn = false,\n\t\t\tsource = null,\n\t\t\tlocale = ''\n\t\t}\n\t} = state;\n\n\treturn (\n\t\t<sn-cx-search-input-desktop\n\t\t\tplaceholder={placeholder}\n\t\t\tsearchTerm={searchTerm}\n\t\t\tsearchContextConfigId={searchContextConfigId}\n\t\t\tplacement={placement}\n\t\t\tdisableAutocomplete={disableAutocomplete}\n\t\t\tselectedSearchContext={selectedSearchContext}\n\t\t\tsearchContexts={searchContexts}\n\t\t\twindowSize={windowSize}\n\t\t\tcanAnimate={canAnimate}\n\t\t\tenableExactMatch={enableExactMatch}\n\t\t\texactMatchRegex={exactMatchRegex}\n\t\t\tisSearchInput={isSearchInput}\n\t\t\tattachToNavigation={attachToNavigation}\n\t\t\topened={opened}\n\t\t\tattachToElement={attachToElement}\n\t\t\tapplyFilters={applyFilters}\n\t\t\tfilters={filters}\n\t\t\tsearchConfig={searchConfig}\n\t\t\tisLoggedIn={isLoggedIn}\n\t\t\tsource={source}\n\t\t\tlocale={locale}\n\t\t\thook-insert={(el) => dispatch(SET_INPUT_DESKTOP_ELEMENT, el)}\n\t\t/>\n\t);\n};\n\nexport default view;\n","import {NAV_ITEM_SELECTED} from '../actions';\n\nexport const dispatchNavigationEvent = (dispatch, target) => {\n\tdispatch(NAV_ITEM_SELECTED, {...target});\n};\n","/**\n * Handle variables in the context object.\n * @param {Object} context\n * @param {Object} variables\n */\nexport function handleNavVariables(context, variables) {\n\tconst ret = {};\n\tif (context) {\n\t\tconst varKeys = Object.keys(variables);\n\t\tObject.keys(context).forEach((key) => {\n\t\t\tif (context[key]) {\n\t\t\t\tret[key] = context[key];\n\n\t\t\t\tif (typeof ret[key] === 'object') {\n\t\t\t\t\tret[key] = handleNavVariables(ret[key], variables);\n\t\t\t\t} else {\n\t\t\t\t\t// Replace variables in the context\n\t\t\t\t\tvarKeys.forEach((varKey) => {\n\t\t\t\t\t\tvar regex = new RegExp(`{${varKey}}`, 'g');\n\t\t\t\t\t\tret[key] = ret[key].replace(regex, variables[varKey]);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\treturn ret;\n}\n","import {SEARCH_CLOSED_INTERNAL} from '../actions';\nimport {GLOBAL_SEARCH_SOURCE} from '../constants';\nimport {dispatchNavigationEvent} from '../utils/dispatchNavigation';\nimport {getSearchConfiguration} from '../../../../utils';\nimport {handleNavVariables} from './handleNavVariables';\n\nexport const handleSearchExecutedEffect = (coeffects) => {\n\tconst {action, dispatch, state} = coeffects;\n\tconst {properties} = state;\n\tconst {selectedContent, filters, applyFilters} = properties;\n\tconst {searchTerm, searchConfig: searchConfigPayload} = action.payload;\n\tconst source = properties?.source || GLOBAL_SEARCH_SOURCE;\n\t// get searchconfig from experience page properties\n\tconst searchConfig = getSearchConfiguration(\n\t\tselectedContent,\n\t\tsearchConfigPayload\n\t);\n\n\tif (!searchTerm) return;\n\n\tlet searchRoute = {\n\t\troute: searchConfig?.searchRoute || 'search',\n\t\tfields: {term: searchTerm},\n\t\tparams: {\n\t\t\tsource: properties?.source || GLOBAL_SEARCH_SOURCE,\n\t\t\tfilters: applyFilters ? filters : null\n\t\t}\n\t};\n\n\tif (\n\t\tsearchConfig?.searchRouteConfig &&\n\t\ttypeof searchConfig?.searchRouteConfig === 'object'\n\t) {\n\t\tconst routeConfig = handleNavVariables(\n\t\t\t{...searchRoute, ...searchConfig?.searchRouteConfig},\n\t\t\t{\n\t\t\t\tsearchTerm,\n\t\t\t\tsource\n\t\t\t}\n\t\t);\n\n\t\t// If any passed on the payload, use it, otherwise use the one from the\n\t\tconst filtersToApply = filters || routeConfig?.params?.filters || null;\n\n\t\t// If not apply filters, set filters to null, otherwise set the filters to apply\n\t\trouteConfig.params.filters = applyFilters ? filtersToApply : null;\n\n\t\tsearchRoute = routeConfig;\n\t}\n\n\tdispatch(SEARCH_CLOSED_INTERNAL);\n\tdispatchNavigationEvent(dispatch, searchRoute);\n};\n","import {createHttpEffect} from '@servicenow/ui-effect-http';\nimport {NAVIGATION_SUCCEEDED} from '../actions';\n// When user click on the search suggestion for auth user, we use this api to get the suggestion url\nexport const handleSeismicNavigationExecutedEffect = createHttpEffect(\n\t'/api/now/table/:table/:sysId',\n\t{\n\t\tmethod: 'GET',\n\t\tbatch: false,\n\t\tencodeURIComponent: false,\n\t\tpathParams: ['table', 'sysId'],\n\t\tsuccessActionType: NAVIGATION_SUCCEEDED\n\t}\n);\n// When user click on the search suggestion for unauth user, we use this api to get the suggestion url\nexport const handleSeismicNavigationExecutedPublicEffect = createHttpEffect(\n\t'/api/x_snc_onecx/public_suggest_click/:table/:sysId',\n\t{\n\t\tmethod: 'GET',\n\t\tbatch: false,\n\t\tencodeURIComponent: false,\n\t\tpathParams: ['table', 'sysId'],\n\t\tsuccessActionType: NAVIGATION_SUCCEEDED\n\t}\n);\n","import {createCustomElement} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport {t} from 'sn-translate';\nimport signalTracker from './common/utils/signalTracker';\nimport get from 'lodash/get';\nimport view from './view';\nimport {\n\tSIZE,\n\tWINDOW_SIZE,\n\tAUTOCOMPLETE_QUERY_EVENT,\n\tINFO_EVENT,\n\tPOPOVER_ITEM_TYPE,\n\tANALYTICS_EVENTS\n} from './common/constants';\nimport {\n\tSEARCH_EXECUTED,\n\tNAVIGATION_EXECUTED,\n\tCONTEXT_CHANGED,\n\tSEARCH_EXECUTED_INTERNAL,\n\tNAVIGATION_EXECUTED_INTERNAL,\n\tCONTEXT_CHANGED_INTERNAL,\n\tSEARCH_CLOSED,\n\tSEARCH_CLOSED_INTERNAL,\n\tSUGGESTION_FETCH_SUCCEEDED,\n\tNAVIGATION_EXECUTED_UTIL,\n\tNAVIGATION_EXECUTED_PUBLIC_UTIL,\n\tNAVIGATION_SUCCEEDED,\n\tUPDATE_SEARCH_CACHE,\n\tSET_INPUT_DESKTOP_ELEMENT\n} from './common/actions';\nimport {handleSearchExecutedEffect} from './common/effects/handleSearchExecutedEffect';\nimport {\n\thandleSeismicNavigationExecutedEffect,\n\thandleSeismicNavigationExecutedPublicEffect\n} from './common/effects/navigationExecutedEffect';\nimport {navigationSucceedEffect} from './common/effects/navigationSucceedEffect';\nimport {\n\tupdateCacheEffect,\n\tsetInputElement\n} from './sn-cx-search-input-desktop/effects';\n\nfunction getResponseCount(dataResponse) {\n\tconst output = [];\n\tdataResponse.forEach((group) => {\n\t\toutput.push(...group.records);\n\t});\n\treturn output.length;\n}\n\nconst searchExecutedInternalEffect = ({\n\tstate: {\n\t\tproperties: {searchConfig, source}\n\t},\n\taction: {payload},\n\tdispatch\n}) => {\n\tpayload.searchConfig = searchConfig;\n\tpayload.source = source;\n\tdispatch(SEARCH_EXECUTED, payload);\n};\n\n// this function is executed when search is executed by entering a search term and clicking enter or clicking view all search results\nconst searchExecutedEffect = (coeffects) => {\n\tconst {\n\t\tstate: {\n\t\t\tproperties: {searchConfig, searchContextConfigId}\n\t\t},\n\t\taction: {payload, meta},\n\t\tdispatch\n\t} = coeffects;\n\n\t// if emitNavItemSelected is true, dispatch NAV_ITEM_SELECT event\n\tif (searchConfig?.emitNavItemSelected === true) {\n\t\t// dispatch the NAV_ITEM_SELECT event\n\t\thandleSearchExecutedEffect(coeffects);\n\t}\n\n\t// trigger signal for search executed\n\tsignalTracker.trackEvent(AUTOCOMPLETE_QUERY_EVENT, INFO_EVENT, {\n\t\tsearchContextConfigId: searchContextConfigId,\n\t\tqueryTerm: payload.searchTerm,\n\t\tselectedQuery: payload.searchTerm,\n\t\tqueryType: POPOVER_ITEM_TYPE.USER_SEARCH_TERM,\n\t\tclickIndex: -1 //user did not pick any suggestion\n\t});\n\n\tconst aaDigitalData = {\n\t\tpage: {\n\t\t\tsearch: {\n\t\t\t\tinputField: 'search box',\n\t\t\t\tsearchTerm: payload.searchTerm\n\t\t\t}\n\t\t}\n\t};\n\n\tconst eventType = 'search_submit';\n\n\tdispatch(\n\t\tANALYTICS_EVENTS.CLICK,\n\t\t{\n\t\t\taaDigitalData\n\t\t},\n\t\t{...meta, eventType}\n\t);\n};\n\nconst navigationExecutedEffect = (coeffects) => {\n\tconst {\n\t\tstate: {\n\t\t\tproperties: {searchConfig, isLoggedIn}\n\t\t},\n\t\taction: {payload},\n\t\tdispatch\n\t} = coeffects;\n\n\t// if emitNavItemSelected is true, dispatch NAV_ITEM_SELECT event\n\tif (searchConfig?.emitNavItemSelected === true) {\n\t\t// dispatch the NAV_ITEM_SELECT event\n\t\tif (isLoggedIn) {\n\t\t\tdispatch(NAVIGATION_EXECUTED_UTIL, payload.actionPayload);\n\t\t} else {\n\t\t\tdispatch(NAVIGATION_EXECUTED_PUBLIC_UTIL, payload.actionPayload);\n\t\t}\n\t}\n\n\tdispatch(NAVIGATION_EXECUTED, payload);\n};\n\nconst contextChangedEffect = ({action: {payload}, dispatch}) => {\n\tdispatch(CONTEXT_CHANGED, payload);\n};\n\nconst searchClosedEffect = ({action: {payload}, dispatch}) => {\n\tdispatch(SEARCH_CLOSED, payload);\n};\n\nconst popoverEffect = ({action: {payload}, dispatch}) => {\n\tconst data = get(payload, 'data.GlideSearch_Query.suggestions.data', []);\n\tconst count = getResponseCount(data);\n\tdispatch('SN_SEARCH_COMBOBOX#POPOVER', {count});\n};\n\n/**\n * @class sn-cx-search-input\n * Field for entering and executing user search queries that displays suggested queries and results.\n *\n * ```jsx\n * <sn-cx-search-input\n *      search-context-config-id=\"0ce0997f7320001052c7d5fdbdf6a746\"\n *      placement=\"body\"\n *      size=\"lg\"\n * />\n * ```\n *\n * @seismicElement sn-cx-search-input\n * @summary Gives users the ability to search a portal or workspace.\n */\ncreateCustomElement('sn-cx-search-input', {\n\trenderer: {type: snabbdom},\n\tview,\n\tproperties: {\n\t\t/**\n\t\t * Placeholder text to display in the input box before a user enters a value.\n\t\t * @type {string}\n\t\t */\n\t\tplaceholder: {\n\t\t\tdefault: t('Search'),\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Initial search term for the search input.\n\t\t * @type {string}\n\t\t */\n\t\tsearchTerm: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Sys ID of the search context configuration from the sys_search_context_config table.\n\t\t * This configuration provides search and autocomplete configuration metadata.\n\t\t * @type {string}\n\t\t */\n\t\tsearchContextConfigId: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Determines where the search input is rendered\n\t\t * and defines the input's visual style.\n\t\t * @type {('header'|'body')}\n\t\t */\n\t\tplacement: {\n\t\t\tdefault: 'body',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * When true, disables autocomplete capability.\n\t\t * @type {boolean}\n\t\t */\n\t\tdisableAutocomplete: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * When true, enables exact match functionality.\n\t\t * @type {boolean}\n\t\t */\n\t\tenableExactMatch: {\n\t\t\tdefault: true,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The regular expression that queries must match before a request is sent to the exact match API.\n\t\t * @type {string}\n\t\t */\n\t\texactMatchRegex: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Specifies if the component is being rendered on mobile or desktop.\n\t\t * Options include:\n\t\t * - 'sm': Set for the mobile version.\n\t\t * - 'lg': Set for the desktop version.\n\t\t * @type {('sm'|'lg')}\n\t\t */\n\t\tsize: {\n\t\t\tdefault: SIZE.LARGE,\n\t\t\tschema: {\n\t\t\t\ttype: 'string',\n\t\t\t\tenum: ['sm', 'lg']\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Selected search context\n\t\t * @type {Object}\n\t\t */\n\t\tselectedSearchContext: {\n\t\t\tdefault: {},\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tid: {type: 'string'},\n\t\t\t\t\tlabel: {type: 'string'},\n\t\t\t\t\tcontext: {type: 'string'},\n\t\t\t\t\troute: {type: 'string'},\n\t\t\t\t\tsearchDataConfigId: {type: 'string'},\n\t\t\t\t\tsearchViewConfigId: {type: 'string'}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Search contexts\n\t\t * @type {array}\n\t\t */\n\t\tsearchContexts: {\n\t\t\tdefault: [],\n\t\t\tschema: {\n\t\t\t\ttype: 'array'\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Reads windowSize property from polaris header to render search input in either desktop expanded, collapsed or mobile view\n\t\t * @type {('expanded'|'collapsed'|'mobile')}\n\t\t */\n\t\twindowSize: {\n\t\t\tdefault: WINDOW_SIZE.EXPANDED,\n\t\t\tschema: {\n\t\t\t\ttype: 'string',\n\t\t\t\tenum: ['expanded', 'collapsed', 'mobile']\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Boolean property for enabling animations.\n\t\t * @type {boolean}\n\t\t */\n\t\tcanAnimate: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\topened: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The page property for the search config object\n\t\t * @type {Object}\n\t\t */\n\t\tsearchConfig: {\n\t\t\tdefault: {},\n\t\t\tschema: {\n\t\t\t\ttype: 'object'\n\t\t\t}\n\t\t},\n\t\tattachToNavigation: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\tattachToElement: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Enable the filters to be added to the routing whenenver user click on a search suggestion\n\t\t * @type {boolean}\n\t\t */\n\t\tapplyFilters: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Filters to be added to the routing whenenver user click on a search suggestion\n\t\t * @type {string}\n\t\t */\n\t\tfilters: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The OOB Seismic selectedContent object.\n\t\t * @type {Object}\n\t\t */\n\t\tselectedContent: {\n\t\t\tdefault: {},\n\t\t\tschema: {\n\t\t\t\ttype: 'object'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Is User Logged In.\n\t\t * @type {boolean}\n\t\t */\n\t\tisLoggedIn: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * source to be used when navigating\n\t\t * @type {string}\n\t\t */\n\t\tsource: {\n\t\t\tdefault: null,\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Language locale code (e.g. \"en\", \"fr\") forwarded to the search GraphQL resolver.\n\t\t * If empty, the component falls back to `document.documentElement.lang`.\n\t\t * @type {string}\n\t\t */\n\t\tlocale: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t}\n\t},\n\tactionHandlers: {\n\t\t[SEARCH_EXECUTED_INTERNAL]: {\n\t\t\teffect: searchExecutedInternalEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[SEARCH_EXECUTED]: {\n\t\t\teffect: searchExecutedEffect\n\t\t},\n\t\t[NAVIGATION_EXECUTED_INTERNAL]: {\n\t\t\teffect: navigationExecutedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[NAVIGATION_EXECUTED_UTIL]: handleSeismicNavigationExecutedEffect,\n\t\t[NAVIGATION_EXECUTED_PUBLIC_UTIL]: handleSeismicNavigationExecutedPublicEffect,\n\t\t[NAVIGATION_SUCCEEDED]: {\n\t\t\teffect: navigationSucceedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[CONTEXT_CHANGED_INTERNAL]: {\n\t\t\teffect: contextChangedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[SEARCH_CLOSED_INTERNAL]: {\n\t\t\teffect: searchClosedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[SUGGESTION_FETCH_SUCCEEDED]: {\n\t\t\teffect: popoverEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[UPDATE_SEARCH_CACHE]: {\n\t\t\teffect: updateCacheEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[SET_INPUT_DESKTOP_ELEMENT]: {\n\t\t\teffect: setInputElement,\n\t\t\tstopPropagation: true\n\t\t}\n\t},\n\tdispatches: {\n\t\t/**\n\t\t * Dispatched when search executes. Payload contains the search term, `searchContextConfigId` and `selectedSearchContext` value.\n\t\t * @type {{searchTerm: string, searchContextConfigId: string, selectedSearchContext: object}}\n\t\t */\n\t\t'SN_SEARCH_COMBOBOX#SEARCH_EXECUTED': {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tsearchTerm: {type: 'string'},\n\t\t\t\t\tsearchContextConfigId: {type: 'string'},\n\t\t\t\t\tselectedSearchContext: {type: 'object'}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Dispatched when the user clicks on a navigable item.\n\t\t * Instead of routing to a search page, this action routes to a content page.\n\t\t * @type {{table: string, sysId: string, url: string}}\n\t\t */\n\t\t'SN_SEARCH_COMBOBOX#NAVIGATION_EXECUTED': {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\ttable: {type: 'string'},\n\t\t\t\t\tsysId: {type: 'string'},\n\t\t\t\t\turl: {type: 'string'}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Dispatched when a the search context is changed. The payload contains the selected search context information.\n\t\t * @type {{id: string, label: string, context: string, route: string, searchDataConfigId: string}}\n\t\t */\n\t\t'SN_SEARCH_COMBOBOX#CONTEXT_CHANGED': {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tid: {type: 'string'},\n\t\t\t\t\tlabel: {type: 'string'},\n\t\t\t\t\tcontext: {type: 'string'},\n\t\t\t\t\troute: {type: 'string'},\n\t\t\t\t\tsearchDataConfigId: {type: 'string'}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Dispatched when a the search context is changed. The payload contains the selected search context information.\n\t\t * @type {{id: string, label: string, context: string, route: string, searchDataConfigId: string}}\n\t\t */\n\t\t'SN_SEARCH_COMBOBOX#SEARCH_CLOSED': {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tid: {type: 'string'}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t'SN_SEARCH_COMBOBOX#POPOVER': {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tcount: {type: 'number'}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Dispatched when the SignIn link is clicked. Payload contains the pathname.\n\t\t * @type {{pathname: string}}\n\t\t */\n\t\t'SN_SEARCH_COMBOBOX#SIGNIN_BUTTON_CLICKED': {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tpathname: {type: 'string'}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n});\n","import {SEARCH_INITIATED} from '../actions';\nimport {dispatchNavigationEvent} from '../utils/dispatchNavigation';\n\nexport const navigationSucceedEffect = (coeffects) => {\n\tconst {\n\t\tstate: {\n\t\t\tproperties: {searchConfig}\n\t\t},\n\t\taction,\n\t\tdispatch\n\t} = coeffects;\n\tconst {result} = action.payload;\n\n\tconst {\n\t\tcontentLinkColumns = [\n\t\t\t'u_devsite_link',\n\t\t\t'u_u_devsite_link',\n\t\t\t'u_view_href',\n\t\t\t'u_external_url',\n\t\t\t'x_snc_hi_kb_data_e_gsdr_url',\n\t\t\t'x_snc_nl_data_extr_gsdr_url',\n\t\t\t'x_snc_dev_portal_d_gsdr_url',\n\t\t\t'u_gsdr_url',\n\t\t\t'u_gsdr_attachment_url',\n\t\t\t'u_url'\n\t\t]\n\t} = searchConfig;\n\n\tconst devSiteLinkColumn = contentLinkColumns.find(\n\t\t(column) => column in result && result[column]\n\t);\n\n\tconst devSiteLink = result[devSiteLinkColumn];\n\n\tif (devSiteLink) {\n\t\tconst sendPayload = {\n\t\t\texternal: {\n\t\t\t\turl: devSiteLink,\n\t\t\t\ttarget: '_blank'\n\t\t\t},\n\t\t\tnavigationOptions: {}\n\t\t};\n\t\tdispatchNavigationEvent(dispatch, sendPayload);\n\t\tdispatch(SEARCH_INITIATED, {\n\t\t\topened: false\n\t\t});\n\t}\n};\n","export const SEARCH_TOGGLED = 'SN_CX_SEARCH_MODAL#TOGGLED';\nexport const SEARCH_TOGGLED_INTERNAL = `${SEARCH_TOGGLED}_INTERNAL`;\nexport const SEARCH_BACK = 'SN_CX_SEARCH_MODAL#BACK_BUTTON_CLICKED';\nexport const SEARCH_CLOSED = 'SN_CX_SEARCH_MODAL#SEARCH_CLOSED';\nexport const SEARCH_OPENED = 'SN_CX_SEARCH_MODAL#SEARCH_OPENED';\nexport const OVERLAY_CLICKED = 'SN_CX_SEARCH_MODAL#OVERLAY_CLICKED';\nexport const OVERLAY_OVERED = 'SN_CX_SEARCH_MODAL#OVERLAY_OVERED';\n\nexport const SUGGESTIONS_LOADED = 'SN_SEARCH_COMBOBOX#POPOVER';\n\nexport const SEARCH_NAVIGATION_EXECUTED =\n\t'SN_CX_SEARCH_MODAL#NAVIGATION_EXECUTED';\nexport const SEARCH_SEARCH_EXECUTED = 'SN_CX_SEARCH_MODAL#SEARCH_EXECUTED';\nexport const COMBOBOX_NAVIGATION_EXECUTED =\n\t'SN_SEARCH_COMBOBOX#NAVIGATION_EXECUTED';\nexport const COMBOBOX_SEARCH_EXECUTED = 'SN_SEARCH_COMBOBOX#SEARCH_EXECUTED';\nexport const SET_NOW_MODAL_REF = 'SN_CX_SEARCH_MODAL#SET_NOW_MODAL_REF';\n\nexport const NOW_BUTTON_BARE_CLICKED = 'NOW_BUTTON_BARE#CLICKED';\nexport const REQUEST_DOCUMENT_FREEZE = 'REQUEST_DOCUMENT_FREEZE';\nexport const DOCUMENT_FREEZE_REQUESTED =\n\t'SN_CX_SEARCH_MODAL#DOCUMENT_FREEZE_REQUESTED';\nexport const SIGNIN_BUTTON_CLICKED = 'SN_CX_SEARCH_MODAL#SIGNIN_BUTTON_CLICKED';\nexport const WINDOW_RESIZED = 'SN_CX_SEARCH_MODAL#WINDOW_RESIZED';\nexport const SIGNIN_BUTTON_CLICKED_INITIATED =\n\t'SN_SEARCH_COMBOBOX#SIGNIN_BUTTON_CLICKED';\nexport const UPDATE_SEARCH_CACHE = 'SN_CX_SEARCH_MODAL#UPDATE_CACHE';\nexport const SET_INPUT_ELEMENT = 'SN_CX_SEARCH_MODAL#SET_INPUT_ELEMENT';\nexport const UPDATE_SEARCH_INPUT_CACHE =\n\t'SN_CX_SEARCH_INPUT#UPDATE_SEARCH_CACHE';\n","export const OVERLAY_CSS_VAR_TOP = '--search-modal_overlay-lg--top';\nexport const SERVICENOW_HOMEPAGE_URL = 'https://www.servicenow.com';\n\nexport const MODAL_STYLES = {\n\tdisplay: 'grid',\n\tgridTemplateColumns: 'repeat(12, 1fr)',\n\talignItems: 'flex-start',\n\theight: 'auto',\n\tmarginTop: '5rem',\n\topacity: 1\n};\n\nexport const FULLSCREEN_MODAL_STYLES = {\n\tmarginTop: '0rem',\n\tmarginLeft: '0rem',\n\tjustifyContent: 'flex-start',\n\theight: '100vh',\n\tmaxBlockSize: 'none'\n};\n\nexport const DOCUMENT_STYLES = {\n\tgridColumn: '3 / span 8',\n\tmaxInlineSize: 'none',\n\toverflow: 'hidden',\n\tminBlockSize: 'fit-content'\n};\n\nexport const FULLSCREEN_DOCUMENT_STYLES = {\n\tgridColumn: '1 / span 12',\n\theight: '100vh',\n\tmaxBlockSize: 'none',\n\tmaxInlineSize: 'none'\n};\n\n/**\n * Object containing event names for Adobe Analytics purposes.\n */\nexport const ANALYTICS_EVENTS = {\n\t// Dispatched event name for Adobe Analytics in click event.\n\tCLICK: 'AA_TRACK#PAGE_ELEMENT_CLICKED',\n\n\t// Dispatched event name for Adobe Analytics in page load event. 22a13422c90b76c36f173f53a2858cf4\n\tPAGE_LOAD: 'AA_TRACK#PAGE_LOADED',\n\n\t// Dispatched event name for Adobe Analytics in content load event.\n\tIMPRESSION: 'AA_TRACK#PAGE_CONTENT_IMPRESSION'\n};\n","import '@servicenow/now-modal';\nimport {t} from 'sn-translate';\nimport './../sn-cx-search-input';\nimport {\n\tOVERLAY_CLICKED,\n\tOVERLAY_OVERED,\n\tSEARCH_BACK,\n\tSEARCH_CLOSED,\n\tSET_INPUT_ELEMENT,\n\tSET_NOW_MODAL_REF\n} from './actions';\nimport {OVERLAY_CSS_VAR_TOP} from './constants';\nimport {getIcon, getSearchConfiguration} from '../../utils';\n\nconst ServicenowLogoIcon = ({mediaQuery, searchConfig}) => {\n\tconst {sm} = mediaQuery;\n\treturn (\n\t\t<now-button-bare\n\t\t\tclassName=\"back-modal-button\"\n\t\t\tappend-to-payload={{action: SEARCH_BACK}}>\n\t\t\t<span role=\"button\" tabindex={0} aria-label={t('Go to ServiceNow.com')}>\n\t\t\t\t{sm\n\t\t\t\t\t? getIcon('now-logo', 'md', searchConfig)\n\t\t\t\t\t: getIcon('now-icon', 'md', searchConfig)}\n\t\t\t<\/span>\n\t\t<\/now-button-bare>\n\t);\n};\n\nconst CloseModalIcon = ({mediaQuery, searchConfig, iconName}) => {\n\tconst {xl} = mediaQuery;\n\n\treturn (\n\t\t<now-button-bare\n\t\t\tclassName=\"close-modal-button\"\n\t\t\tappend-to-payload={{action: SEARCH_CLOSED}}\n\t\t\taria-label={t('Close search')}>\n\t\t\t<div class={{'close-icon': true, '-xl': xl}} role=\"button\" tabindex={0}>\n\t\t\t\t{getIcon(iconName, 'md', searchConfig)}\n\t\t\t<\/div>\n\t\t<\/now-button-bare>\n\t);\n};\n\nconst SearchModalHeader = ({mediaQuery, searchConfig}) => {\n\tconst {lg, xl} = mediaQuery;\n\tconst showMobileCloseIcon = !lg && !xl;\n\n\treturn (\n\t\t<div className=\"search-modal-header\">\n\t\t\t<ServicenowLogoIcon mediaQuery={mediaQuery} searchConfig={searchConfig} />\n\n\t\t\t{showMobileCloseIcon && (\n\t\t\t\t<CloseModalIcon\n\t\t\t\t\tmediaQuery={mediaQuery}\n\t\t\t\t\tsearchConfig={searchConfig}\n\t\t\t\t\ticonName=\"close-light-mobile\"\n\t\t\t\t/>\n\t\t\t)}\n\t\t<\/div>\n\t);\n};\n\nexport const SearchModalBody = ({\n\tsearchConfig,\n\tattachToNavigation,\n\tsearchTerm,\n\topened = false,\n\tattachToElement = null,\n\tsource,\n\tapplyFilters,\n\tfilters,\n\tselectedContent,\n\tisLoggedIn,\n\tsearchContextConfigId,\n\tenableExactMatch,\n\tdispatch,\n\tlocale\n}) => {\n\treturn (\n\t\t<div className=\"search-modal-body\" role=\"document\">\n\t\t\t<sn-cx-search-input\n\t\t\t\tid=\"search-modal-input\"\n\t\t\t\tplaceholder={t('Search across ServiceNow')}\n\t\t\t\tsearch-context-config-id={searchContextConfigId}\n\t\t\t\tplacement=\"body\"\n\t\t\t\tsize=\"lg\"\n\t\t\t\tsearch-term={searchTerm}\n\t\t\t\tis-search-input=\"true\"\n\t\t\t\tsearchConfig={searchConfig || {}}\n\t\t\t\tattachToNavigation={attachToNavigation}\n\t\t\t\topened={opened}\n\t\t\t\tattachToElement={attachToElement}\n\t\t\t\tapplyFilters={applyFilters}\n\t\t\t\tfilters={filters}\n\t\t\t\tselectedContent={selectedContent}\n\t\t\t\tisLoggedIn={isLoggedIn}\n\t\t\t\tenableExactMatch={enableExactMatch}\n\t\t\t\thook-insert={(el) => dispatch(SET_INPUT_ELEMENT, el)}\n\t\t\t\tsource={source}\n\t\t\t\tlocale={locale}\n\t\t\t/>\n\t\t<\/div>\n\t);\n};\n\nexport const view = (state, {dispatch}) => {\n\tconst {\n\t\tbehaviors: {mediaQuery},\n\t\topened,\n\t\tsearchTerm,\n\t\tattachToNavigation,\n\t\tattachToElement,\n\t\tapplyFilters,\n\t\tfilters,\n\t\tproperties,\n\t\tnavTopOverlayOffset,\n\t\tsource\n\t} = state;\n\tconst {\n\t\tsearchConfig,\n\t\tselectedContent,\n\t\tisLoggedIn,\n\t\tsearchContextConfigId,\n\t\tenableExactMatch,\n\t\tlocale\n\t} = properties;\n\n\tconst isXL = mediaQuery.xl;\n\n\tconst enableCloseIcon = isXL && attachToNavigation === true ? true : false;\n\n\tconst isAttachedToElement =\n\t\tattachToNavigation === false && attachToElement ? true : false;\n\n\tconst currentSearchConfig = getSearchConfiguration(\n\t\tselectedContent,\n\t\tsearchConfig\n\t);\n\n\treturn (\n\t\t<div\n\t\t\tclass={{\n\t\t\t\t'sn-cx-search-modal': true,\n\t\t\t\t'-opened': opened,\n\t\t\t\t'-attached-to-navigation': attachToNavigation,\n\t\t\t\t'-attached-to-element': isAttachedToElement\n\t\t\t}}\n\t\t\tstyle={{\n\t\t\t\t[OVERLAY_CSS_VAR_TOP]: attachToNavigation\n\t\t\t\t\t? `${navTopOverlayOffset}px`\n\t\t\t\t\t: '0px'\n\t\t\t}}\n\t\t\tref={(nowModalRef) => {\n\t\t\t\tdispatch(SET_NOW_MODAL_REF, {nowModalRef});\n\t\t\t}}\n\t\t\ton-mouseover={(e) => {\n\t\t\t\tdispatch(OVERLAY_OVERED, {eventTarget: e.target});\n\t\t\t}}\n\t\t\ton-click={(e) => {\n\t\t\t\tif (e.target?.classList?.contains('sn-cx-search-modal'))\n\t\t\t\t\tdispatch(OVERLAY_CLICKED);\n\t\t\t}}>\n\t\t\t<div\n\t\t\t\tclassName=\"search-modal-content\"\n\t\t\t\trole=\"dialog\"\n\t\t\t\taria-label={t('Search across ServiceNow')}>\n\t\t\t\t<SearchModalHeader\n\t\t\t\t\tmediaQuery={mediaQuery}\n\t\t\t\t\tsearchConfig={currentSearchConfig}\n\t\t\t\t/>\n\t\t\t\t<SearchModalBody\n\t\t\t\t\tmediaQuery={mediaQuery}\n\t\t\t\t\tsearchTerm={searchTerm}\n\t\t\t\t\topened={opened}\n\t\t\t\t\tattachToNavigation={attachToNavigation}\n\t\t\t\t\tattachToElement={isAttachedToElement}\n\t\t\t\t\tapplyFilters={applyFilters}\n\t\t\t\t\tfilters={filters}\n\t\t\t\t\tisLoggedIn={isLoggedIn}\n\t\t\t\t\tsearchContextConfigId={searchContextConfigId}\n\t\t\t\t\tenableExactMatch={enableExactMatch}\n\t\t\t\t\tsearchConfig={currentSearchConfig}\n\t\t\t\t\tselectedContent={selectedContent}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\tsource={source}\n\t\t\t\t\tlocale={locale}\n\t\t\t\t/>\n\t\t\t\t{enableCloseIcon && (\n\t\t\t\t\t<CloseModalIcon\n\t\t\t\t\t\tmediaQuery={mediaQuery}\n\t\t\t\t\t\tsearchConfig={currentSearchConfig}\n\t\t\t\t\t\ticonName=\"close-light\"\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t<\/div>\n\t\t<\/div>\n\t);\n};\n","import unifiedCache from '@devsnc/library-unified-cache';\n\nexport const searchModalDomElementsCache = unifiedCache.createInstance({\n\tadapter: ['inMemory'],\n\tname: 'searchModalDomElementsCache',\n\tdescription: `Search Modal DOM elements in memory cache`,\n\tstoreName: 'searchModalDomElementsCache',\n\tevictionPolicy: 'LRU'\n});\n","import {attachObservers} from '../../../utils';\nimport {WINDOW_RESIZED} from '../actions';\n\n/***\n * only one origin can be observed at a time, so we need to keep track of the observer and the element being observed\n * @type {{observer: IntersectionObserver | null, element: HTMLElement | null}}\n * @private\n **/\nlet originObserved = {\n\tobserver: null,\n\telement: null,\n\tpositionObserver: null\n};\n\n/***\n * Observe the origin element to calculate the modal position\n * @param {HTMLElement} modalDialog\n * @param {HTMLElement} origin\n * @returns {void}\n */\nexport const observeOrigin = (dispatch, origin) => {\n\t// If a origin is being passed and is the same of already tracked element, ignore.\n\tif (\n\t\torigin &&\n\t\toriginObserved.element &&\n\t\toriginObserved.element.isEqualNode(origin)\n\t) {\n\t\treturn;\n\t}\n\tconst {observer, element, positionObserver} = originObserved;\n\n\tif (observer) {\n\t\tobserver.unobserve(element);\n\t}\n\n\tif (positionObserver) {\n\t\tpositionObserver.disconnect();\n\t}\n\n\t// reset origin observed to initial state\n\toriginObserved = {\n\t\tobserver: null,\n\t\telement: null,\n\t\tpositionObserver: null\n\t};\n\n\tif (origin) {\n\t\t// it observes the body instead of the origin since the origin stops to grow, but position changes\n\t\toriginObserved = attachObservers(origin, function() {\n\t\t\tdispatch(WINDOW_RESIZED);\n\t\t});\n\t}\n};\n","/***\n * Create a ResizeObserver instance and attach it to the given element.\n * @param {HTMLElement} element\n * @param {Function} fallback\n * @returns {Object} with element and observer properties\n *\n * @example\n *\n * ```javascript\n * const {element, observer} = attachObservers(document.body, (entries) => {\n * \tconsole.log(entries);\n * });\n * ```\n */\n\nimport {PositionObserver} from './positionObserver';\n\nexport const attachObservers = (element, fallback) => {\n\tconst observer = new ResizeObserver(fallback);\n\tobserver.observe(element);\n\n\tconst positionObserver = new PositionObserver(fallback);\n\tpositionObserver.observe(element);\n\n\treturn {element, observer, positionObserver};\n};\n","/**\n * Return the active element inside the shadow DOM\n * @param {HTMLElement} element\n */\nexport function findShadowActiveElement(element) {\n\tif (element?.shadowRoot?.activeElement) {\n\t\treturn findShadowActiveElement(element.shadowRoot.activeElement);\n\t}\n\treturn element;\n}\n","import {WINDOW_RESIZED} from '../actions';\n\nexport const setModalListeners = (dispatch) => {\n\tlet animationFrameId; // Store the animation frame ID\n\n\tfunction onResize() {\n\t\tdispatch(WINDOW_RESIZED);\n\t}\n\n\tfunction resizeHandler() {\n\t\t// Cancel any existing animation frame\n\t\tif (animationFrameId) {\n\t\t\tcancelAnimationFrame(animationFrameId);\n\t\t}\n\n\t\t// Schedule a new animation frame\n\t\tanimationFrameId = requestAnimationFrame(onResize);\n\t}\n\n\twindow.addEventListener('resize', resizeHandler);\n};\n","import isEmpty from 'lodash/isEmpty';\nimport isEqual from 'lodash/isEqual';\n\nimport {searchModalDomElementsCache} from './../cache.js';\nimport {\n\tDOCUMENT_STYLES,\n\tFULLSCREEN_DOCUMENT_STYLES,\n\tFULLSCREEN_MODAL_STYLES,\n\tMODAL_STYLES\n} from './../constants';\nimport {querySelectorAllDeep, querySelectorDeep} from '../../../utils';\nimport {observeOrigin} from './observeOrigin.js';\n\nexport * from './findShadowActiveElement.js';\nexport * from './setModalListeners.js';\n\n/**\n * @description Store/retrieved DOM elements to the domElements object\n * @param {string} key\n * @param {Function} searchElement callback function to query for the element on the dom\n */\nexport const getDomElement = async (key, searchElement) => {\n\tlet element = await searchModalDomElementsCache.getItem(key);\n\n\t// validate if key holds a valid and visible element on the DOM.\n\t// This will not work only when style/css of the element is visibility: hidden or display: none\n\tconst isOnDOM =\n\t\telement && element.checkVisibility && element.checkVisibility();\n\n\tif (!element || !isOnDOM) {\n\t\telement = searchElement();\n\t\tawait searchModalDomElementsCache.setItem(key, element);\n\t}\n\n\treturn element;\n};\n\nexport const getSearchInput = async (nowModalRef) => {\n\treturn getDomElement('search-input', () =>\n\t\tnowModalRef.querySelector('sn-cx-search-input')\n\t);\n};\n\nexport const getSearchInputDesktop = async (nowModalRef) => {\n\tconst searchInput = await getSearchInput(nowModalRef);\n\n\treturn getDomElement('search-input-desktop', async () =>\n\t\tsearchInput.shadowRoot.querySelector('sn-cx-search-input-desktop')\n\t);\n};\n\nexport const setFocusSearchInput = async (nowModalRef) => {\n\tconst searchInputDesktop = await getSearchInputDesktop(nowModalRef);\n\tsetTimeout(() => {\n\t\tsearchInputDesktop?.shadowRoot?.querySelector('input')?.focus();\n\t}, 200);\n};\n\n/**\n * Get the search input path configuration based on the selected content\n * @param {SelectedContent} selectedContent\n * @param {SearchInputMap[]} searchInputRouteMapping\n * @returns\n */\nexport const getSearchInputPathConfig = (\n\tselectedContent = {},\n\tsearchInputRouteMapping = []\n) => {\n\tconst {route, fields, params} = selectedContent;\n\n\treturn searchInputRouteMapping.find(\n\t\t(map) =>\n\t\t\tmap.path.route === route &&\n\t\t\t(!map.path.fields || isEqual(map.path.fields, fields)) &&\n\t\t\t(!map.path.params || isEqual(map.path.params, params))\n\t);\n};\n\n/**\n * Get the origin element from the search input path configuration\n * @param {SearchInputMap} searchInputPathConfig\n * @param {HTMLElement} parent\n * @returns {Promise<HTMLElement | null>}\n */\nexport const getOriginElementFromPathConfig = async (\n\tsearchInputPathConfig,\n\tparent\n) => {\n\t// if no path is configured, return null\n\tif (!searchInputPathConfig?.path) {\n\t\treturn null;\n\t}\n\n\tconst {fields, route} = searchInputPathConfig.path;\n\n\t// create unique key based on the route and fields\n\tconst fieldsKey = Object.values(fields || {}).join('_');\n\n\t// create a unique key based on the route and fields\n\tconst key = `SEARCH_INPUT_ROUTE_${route}_${fieldsKey}`;\n\n\t// find the search input element based on the search input path config\n\treturn await getDomElement(key, () => {\n\t\t// sometimes when navigation from page to page the sn-canvas-screen gets duplicated, we need fo find the visible reference.\n\t\treturn querySelectorAllDeep(\n\t\t\tsearchInputPathConfig?.selector,\n\t\t\tparent || document\n\t\t).find((element) => element.checkVisibility());\n\t});\n};\n\n/**\n * Get the parent element of the event\n * @param {HTMLElement} parent\n * @param {HTMLElement} target\n * @returns {HTMLElement}\n */\nexport const getEventParentDOMElement = async (parent, target) => {\n\tif (parent) {\n\t\treturn await getDomElement(`EVENT_PARENT_${parent}`, () => {\n\t\t\treturn querySelectorDeep(\n\t\t\t\t`[component-id=\"${parent}-root\"]`,\n\t\t\t\ttarget || document\n\t\t\t);\n\t\t});\n\t}\n};\n\n/***\n * Get the origin element from the event\n * @param {Object} event\n * @param {HTMLElement} event.target\n * @param {HTMLElement} event.parent\n * @param {SearchInputMap[]} event.searchInputPathConfig\n */\nexport async function getOriginElementFromEvent({\n\ttarget,\n\tparent,\n\tsearchInputPathConfig,\n\telementId\n}) {\n\tif (!searchInputPathConfig) {\n\t\treturn null;\n\t}\n\n\t// if event is has a parent defined and a target, use it to find the closest element to origin\n\tconst parentElement = await getEventParentDOMElement(parent, target);\n\n\t// use the search input path config to find the origin element\n\tconst elementFromPath = await getOriginElementFromPathConfig(\n\t\tsearchInputPathConfig,\n\t\tparentElement\n\t);\n\n\tif (!elementFromPath) {\n\t\treturn getOriginElementByElementId({elementId});\n\t}\n\n\treturn elementFromPath;\n}\n\n/**\n * Function to get the element from elementId\n */\n\nexport async function getOriginElementByElementId({elementId}) {\n\tconst key = `EVENT_ELEMENT_ID_${elementId}`;\n\treturn await getDomElement(key, () => {\n\t\treturn querySelectorDeep(`[component-id$=\"${elementId}\"]`, document);\n\t});\n}\n\n/**\n * @description Get the modal document element from the modal dialog.\n * @param {HTMLElement} modalDialog\n * @returns {HTMLElement}\n */\nexport const getModalDocumentFromDialog = async (modalDialog) => {\n\treturn await getDomElement('MODAL_DOCUMENT', () => {\n\t\treturn modalDialog?.firstChild; // get element with role document\n\t});\n};\n\n/**\n * @description Get the modal body element from the modal document.\n * @param {HTMLElement} modalDocument\n * @returns {HTMLElement | undefined}\n */\nexport const getModalBodyFromDocument = async (modalDocument) => {\n\treturn await getDomElement('MODAL_BODY', () => {\n\t\treturn modalDocument?.firstChild; // get element with role body\n\t});\n};\n\n/***\n * @description Set modal dialog styles\n * @param {HTMLElement} modalDialog\n * @param {Object} position\n */\nexport const setModalDialogStyles = async (\n\tmodalDialog,\n\tposition = {},\n\tmediaQuery = {sm: false, md: false, lg: false}\n) => {\n\tif (!modalDialog) {\n\t\treturn;\n\t}\n\n\tconst modalDocument = await getModalDocumentFromDialog(modalDialog);\n\tconst modalBody = await getModalBodyFromDocument(modalDocument);\n\n\t// if it is a small screen, use the fullscreen position\n\tconst defaultModalStyles = mediaQuery.sm\n\t\t? FULLSCREEN_MODAL_STYLES\n\t\t: MODAL_STYLES;\n\n\tconst defaultDocumentStyles = mediaQuery.sm\n\t\t? FULLSCREEN_DOCUMENT_STYLES\n\t\t: DOCUMENT_STYLES;\n\n\tconst modalPosition = {\n\t\t...defaultModalStyles,\n\t\t...(position?.modal || {})\n\t};\n\n\tconst documentPosition = {\n\t\t...defaultDocumentStyles,\n\t\t...(position?.document || {})\n\t};\n\n\tconst bodyPosition = {\n\t\toverflow: 'hidden',\n\t\t...(position?.body || {})\n\t};\n\n\tapplyStyles(modalDialog, modalPosition);\n\n\tif (modalDocument) {\n\t\tapplyStyles(modalDocument, documentPosition);\n\t}\n\n\tif (modalBody) {\n\t\tapplyStyles(modalBody, bodyPosition);\n\t}\n};\n\n/***\n * @description Apply styles to an element from a styles object.\n * @param {HTMLElement} element\n * @param {Object} styles\n * @returns {void}\n * @example applyStyles(document.body, {background: 'red'});\n */\nexport const applyStyles = (element, styles) => {\n\telement.style = {};\n\tObject.keys(styles).forEach((key) => {\n\t\telement.style[key] = styles[key];\n\t});\n};\n\nexport const setModalPosition = (nowModalRef, position = {}) => {\n\tconst {width, top, left} = position;\n\n\tnowModalRef.style.setProperty(\n\t\t'--search-modal-attached-to-element-modal_content-width',\n\t\t`${width}px`\n\t);\n\n\tnowModalRef.style.setProperty(\n\t\t'--search-modal-attached-to-element-modal_content-top',\n\t\t`${top}px`\n\t);\n\n\tnowModalRef.style.setProperty(\n\t\t'--search-modal-attached-to-element-modal_content-left',\n\t\t`${left}px`\n\t);\n};\n\n/**\n * @description Calculate the modal position based on the origin element\n * @param {HTMLElement} modalDialog - the modal dialog element\n * @param {HTMLElement} origin - the element that triggered the modal\n * @param {boolean} ignoreObserver - when true, it means that the observer is already attached\n * @returns {void|undefined}\n */\nexport const calculateModalPosition = (nowModalRef, origin, dispatch) => {\n\t// Add an observer to the element\n\tobserveOrigin(dispatch, origin);\n\n\t// get the position and size of the origin element\n\tsetModalPosition(nowModalRef, origin.getBoundingClientRect());\n};\n\n/**\n * Get origin element from DOM based on the event and search configuration\n * @param {Object} params\n * @param {Object} params.selectedContent\n * @param {SearchConfig} params.searchConfig\n * @param {Object} params.meta\n * @param {string} params.elementId\n * @returns {Promise<HTMLElement | null>}\n */\nexport const getOriginElement = async ({\n\tselectedContent,\n\tsearchConfig,\n\tmeta,\n\telementId\n}) => {\n\tif (!isEmpty(selectedContent)) {\n\t\t// if the action is triggered by a user interaction, we can get the event and path\n\t\tconst searchInputPathConfig = getSearchInputPathConfig(\n\t\t\tselectedContent,\n\t\t\tsearchConfig?.searchInputRouteMap\n\t\t);\n\n\t\tif (searchInputPathConfig) {\n\t\t\tconst originElement = await getOriginElementFromEvent({\n\t\t\t\tmeta,\n\t\t\t\tsearchInputPathConfig,\n\t\t\t\telementId\n\t\t\t});\n\n\t\t\treturn originElement;\n\t\t}\n\t}\n\n\tif (elementId) {\n\t\treturn await getOriginElementByElementId({elementId});\n\t}\n\n\treturn null;\n};\n","/// Miscelanous utility functions\nimport {declarativeOperations} from '@servicenow/ui-core';\n\n/**\n * Update state declaratively\n * @param {function} updateState - updateState function\n * @param {object} args - object with path as key and value as value\n * @param {object} params - object with params to override the updateState operation\n * @returns {void}\n */\nexport const declarativeStateUpdate = (updateState, args, params = {}) => {\n\tconst keys = Object.keys(args);\n\n\tconst operations = keys.map((path) => ({\n\t\t...params,\n\t\tpath,\n\t\tvalue: args[path],\n\t\toperation: params.operation || declarativeOperations.SET,\n\t\tshouldRender: params.shouldRender || true\n\t}));\n\n\tupdateState(operations);\n};\n","import {t} from 'sn-translate';\n\nexport const SYS_PROPS = {\n\t// The name of the instance (e.g., \"home\", \"homedev\", \"homedemo\")\n\tINSTANCE_NAME: 'instance_name',\n\tUI: {\n\t\tPRESENCE_DISABLED: 'glide.ui.presence.disabled'\n\t}\n};\n\nexport const USER_MENU_ID = 'cx-user-menu';\n\nexport const BUTTON_ACTIONS = {\n\tBELL_CLICKED: 'BELL#CLICKED',\n\tNOTIFICATION_TRIGGERED: 'NOTIFICATION_TRIGGERED'\n};\n\nexport const USER_MENU_HEADER_TEXT = t('User');\n\nexport const SEARCH_DEFAULT_NOW_ICON = 'document-outline';\n\nexport const adobeActions = {\n\tEVENT: 'event',\n\tPAGE: 'page'\n};\n\nexport const adobeActionTypes = {\n\tCLICK: 'click',\n\tSEARCH: 'search',\n\tSEARCH_RESULT_CLICK: 'search_result_click'\n};\n\nexport const adobeActionPayloadValues = {\n\tSEARCH_RESULTS_PAGE_AREA: 'body',\n\tSEARCH_RESULTS_COMPONENT_NAME: 'sn-cx-search-results',\n\tNAVCARD_COMPONENT_NAME: 'navigational card',\n\tGENIUSCARD_COMPONENT_NAME: 'genius card',\n\tALL_FILTERS_SECTION: 'search-results-flyout-filters',\n\tMORE_RESULTS_SECTION: 'search-results-more',\n\tSEARCH_RESULT_CARD_SECTION: 'now-card-template',\n\tSEARCH_RESULT_INPUT_FIELD: 'search result',\n\tNO_TITLE_SECTION: 'no title'\n};\n","import {declarativeStateUpdate} from '../../../utils';\n\nexport const setNowModalRefEffect = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {nowModalRef}\n\t\t},\n\t\tupdateState\n\t} = coeffects;\n\n\tdeclarativeStateUpdate(updateState, {nowModalRef});\n};\n","import {actionTypes} from '@servicenow/ui-core';\nimport {\n\tCOMBOBOX_NAVIGATION_EXECUTED,\n\tCOMBOBOX_SEARCH_EXECUTED,\n\tDOCUMENT_FREEZE_REQUESTED,\n\tNOW_BUTTON_BARE_CLICKED,\n\tOVERLAY_CLICKED,\n\tOVERLAY_OVERED,\n\tSEARCH_BACK,\n\tSEARCH_CLOSED,\n\tSEARCH_NAVIGATION_EXECUTED,\n\tSEARCH_OPENED,\n\tSEARCH_SEARCH_EXECUTED,\n\tSEARCH_TOGGLED,\n\tSEARCH_TOGGLED_INTERNAL,\n\tSET_NOW_MODAL_REF,\n\tSIGNIN_BUTTON_CLICKED,\n\tSIGNIN_BUTTON_CLICKED_INITIATED,\n\tWINDOW_RESIZED,\n\tUPDATE_SEARCH_CACHE,\n\tSET_INPUT_ELEMENT,\n\tUPDATE_SEARCH_INPUT_CACHE\n} from './actions';\nimport {\n\tcalculateModalPosition,\n\tgetOriginElement,\n\tsetFocusSearchInput\n} from './utils';\nimport {getSearchConfiguration} from '../../utils';\nimport {SERVICENOW_HOMEPAGE_URL} from './constants';\nimport {declarativeStateUpdate} from 'sn-cx-components/src/utils';\nimport {onWindowResizeEffect, setNowModalRefEffect} from './effects/index';\nimport {onComponentBootstrapped} from './effects/onComponentBootstrapped';\nimport {observeOrigin} from './utils/observeOrigin';\n\nconst {COMPONENT_PROPERTY_CHANGED, COMPONENT_BOOTSTRAPPED} = actionTypes;\n\nconst searchClosedEffect = ({action: {payload}, dispatch}) => {\n\tdispatch(SEARCH_TOGGLED, {...payload, opened: false});\n};\n/**\n *\n * @param {Object} coeffects\n * @param {Object} coeffects.state\n * @param {Object} coeffects.state.properties\n * @param {Object} coeffects.state.properties.selectedContent\n * @param {SearchConfig} coeffects.state.properties.searchConfig\n */\nconst handleSearchToggledEffect = async (coeffects) => {\n\tconst {\n\t\taction,\n\t\tupdateState,\n\t\tdispatch,\n\t\tstate: {\n\t\t\topened: currentOpenedState,\n\t\t\tproperties: {selectedContent = {}, searchConfig = {}}\n\t\t}\n\t} = coeffects;\n\n\tconst {meta, payload} = action;\n\n\tconst {\n\t\topened = false,\n\t\tterm = '',\n\t\tattachToNavigation = false,\n\t\tapplyFilters = false,\n\t\tfilters = '',\n\t\tsource = null,\n\t\telementId = null\n\t} = payload;\n\n\tconst newState = {\n\t\tsearchTerm: term,\n\t\t// if nav is currently opened and we are opening it again, toggle it\n\t\topened:\n\t\t\tcurrentOpenedState && currentOpenedState === opened\n\t\t\t\t? !currentOpenedState\n\t\t\t\t: opened,\n\t\tapplyFilters,\n\t\tfilters,\n\t\tsource\n\t};\n\n\t// only if opening is passed update it on the state\n\tif (opened) {\n\t\tnewState.attachToNavigation = attachToNavigation;\n\t\tnewState.attachToElement = null;\n\t}\n\n\tif (opened && !attachToNavigation) {\n\t\t// get searchconfig from experience page properties\n\t\tconst searchConfigFromContext = getSearchConfiguration(\n\t\t\tselectedContent,\n\t\t\tsearchConfig\n\t\t);\n\n\t\tnewState.elementPosition = {}; // reset the element last position\n\t\tnewState.attachToElement = await getOriginElement({\n\t\t\tselectedContent,\n\t\t\tsearchConfig: searchConfigFromContext,\n\t\t\tmeta,\n\t\t\telementId\n\t\t});\n\t}\n\n\tdeclarativeStateUpdate(updateState, newState);\n\n\tif (newState.opened) {\n\t\tdispatch(SEARCH_OPENED, payload);\n\t} else {\n\t\t// remove the observers\n\t\tobserveOrigin(dispatch);\n\t}\n\n\tdispatch(DOCUMENT_FREEZE_REQUESTED, {\n\t\tisMegaMenuExpanded: !!(newState.attachToNavigation && newState.opened)\n\t});\n};\n\n// this function is called when user clicks on search input\nconst handleOpenedSearch = async (coeffects) => {\n\tconst {\n\t\tstate: {nowModalRef, attachToNavigation, attachToElement},\n\t\tdispatch\n\t} = coeffects;\n\n\tif (!nowModalRef) {\n\t\treturn;\n\t}\n\t// If an element to attach was found.\n\tif (!attachToNavigation && attachToElement) {\n\t\t// attach an observer and set initial position\n\t\tcalculateModalPosition(nowModalRef, attachToElement, dispatch);\n\t}\n\n\tsetFocusSearchInput(nowModalRef);\n};\n\nconst searchBackEffect = () => {\n\twindow.location.href = SERVICENOW_HOMEPAGE_URL;\n};\n\nconst handleButtonBareClicked = (coeffects) => {\n\tconst {\n\t\taction: {payload},\n\t\tdispatch\n\t} = coeffects;\n\n\tif (payload?.action) {\n\t\tdispatch(payload.action, payload);\n\t}\n};\n\nconst componentPropertyChangedEffect = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {name, previousValue, value}\n\t\t},\n\t\tupdateState\n\t} = coeffects;\n\n\tconst hasChanged = value !== previousValue;\n\n\tif (name === 'navTopOverlayOffset' && hasChanged) {\n\t\tupdateState({\n\t\t\tnavTopOverlayOffset: value\n\t\t});\n\t}\n};\n\nexport const overlayOveredEffect = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {eventTarget}\n\t\t},\n\t\tstate: {opened, attachToNavigation},\n\t\tdispatch\n\t} = coeffects;\n\tif (\n\t\teventTarget?.classList.contains('sn-cx-search-modal') &&\n\t\topened &&\n\t\tattachToNavigation\n\t) {\n\t\tdispatch(SEARCH_CLOSED);\n\t}\n};\n\nconst udpateCacheEffect = (coeffects) => {\n\tconst {state} = coeffects;\n\tconst {inputElement} = state;\n\tinputElement.elm.dispatch(UPDATE_SEARCH_INPUT_CACHE);\n};\n\nconst setInputElement = (coeffects) => {\n\tconst {updateState, action} = coeffects;\n\tupdateState({inputElement: action.payload});\n};\n\nexport const actionHandlers = {\n\t[COMPONENT_BOOTSTRAPPED]: {\n\t\teffect: onComponentBootstrapped,\n\t\tstopPropagation: true\n\t},\n\t[COMPONENT_PROPERTY_CHANGED]: {\n\t\teffect: componentPropertyChangedEffect,\n\t\tstopPropagation: true\n\t},\n\t[SEARCH_TOGGLED]: {\n\t\teffect: handleSearchToggledEffect\n\t},\n\t[SEARCH_TOGGLED_INTERNAL]: {\n\t\teffect: searchClosedEffect,\n\t\tstopPropagation: true\n\t},\n\t[COMBOBOX_NAVIGATION_EXECUTED]: {\n\t\teffect({action: {payload}, dispatch}) {\n\t\t\tdispatch(SEARCH_NAVIGATION_EXECUTED, payload);\n\t\t\tdispatch(SEARCH_TOGGLED_INTERNAL, {opened: false});\n\t\t},\n\t\tstopPropagation: true\n\t},\n\t[COMBOBOX_SEARCH_EXECUTED]: {\n\t\teffect({action: {payload}, dispatch}) {\n\t\t\tdispatch(SEARCH_SEARCH_EXECUTED, payload);\n\t\t\tdispatch(SEARCH_TOGGLED_INTERNAL, {opened: false});\n\t\t},\n\t\tstopPropagation: true\n\t},\n\t[SET_NOW_MODAL_REF]: {\n\t\teffect: setNowModalRefEffect,\n\t\tstopPropagation: true\n\t},\n\t[NOW_BUTTON_BARE_CLICKED]: {\n\t\teffect: handleButtonBareClicked,\n\t\tstopPropagation: true\n\t},\n\t[SEARCH_BACK]: {\n\t\teffect: searchBackEffect\n\t},\n\t[SEARCH_CLOSED]: searchClosedEffect,\n\t[SEARCH_OPENED]: {\n\t\teffect: handleOpenedSearch,\n\t\tstopPropagation: true\n\t},\n\t[OVERLAY_CLICKED]: {\n\t\teffect: searchClosedEffect,\n\t\tstopPropagation: true\n\t},\n\t[OVERLAY_OVERED]: {\n\t\teffect: overlayOveredEffect,\n\t\tstopPropagation: true\n\t},\n\t[SIGNIN_BUTTON_CLICKED_INITIATED]: {\n\t\teffect({action: {payload}, dispatch}) {\n\t\t\tdispatch(SIGNIN_BUTTON_CLICKED, payload);\n\t\t},\n\t\tstopPropagation: true\n\t},\n\t[WINDOW_RESIZED]: {\n\t\teffect: onWindowResizeEffect,\n\t\tstopPropagation: true,\n\t\tmodifier: {\n\t\t\tname: `debounce`,\n\t\t\tdelay: 10\n\t\t}\n\t},\n\t[UPDATE_SEARCH_CACHE]: {\n\t\teffect: udpateCacheEffect,\n\t\tstopPropagation: true\n\t},\n\t[SET_INPUT_ELEMENT]: {\n\t\teffect: setInputElement,\n\t\tstopPropagation: true\n\t}\n};\n","import {setModalListeners} from '../utils';\n\nexport const onComponentBootstrapped = ({dispatch}) => {\n\tsetModalListeners(dispatch);\n};\n","import isEqual from 'lodash/isEqual';\nimport {declarativeStateUpdate} from 'sn-cx-components/src/utils';\nimport {setModalPosition} from '../utils';\n\nexport function onWindowResizeEffect({\n\tstate: {nowModalRef, opened, attachToElement, elementPosition = {}},\n\tupdateState\n}) {\n\tif (attachToElement && opened) {\n\t\tconst currentPosition = attachToElement.getBoundingClientRect();\n\t\tif (!isEqual(elementPosition, currentPosition)) {\n\t\t\tdeclarativeStateUpdate(updateState, {\n\t\t\t\telementPosition: currentPosition\n\t\t\t});\n\t\t\tsetModalPosition(nowModalRef, currentPosition);\n\t\t}\n\t}\n}\n","import {querySelectorAllDeep} from '../../utils/index.js';\nimport {SEARCH_CLOSED} from './actions.js';\nimport {findShadowActiveElement} from './utils';\n/**\n * Return the event handlers for the search modal\n * @documentation https://developer.servicenow.com/dev.do#!/reference/next-experience/xanadu/ui-framework/now-experience-ui-framework-101/event-handlers\n */\nconst eventHandlers = [\n\t{\n\t\tevents: ['keydown'],\n\t\t/**\n\t\t * Handle the tab key press event to focus the next focusable element\n\t\t * @param {Object} coeffects\n\t\t * @returns\n\t\t */\n\t\teffect({\n\t\t\tstate: {opened},\n\t\t\taction: {\n\t\t\t\tpayload: {event, host}\n\t\t\t}\n\t\t}) {\n\t\t\tif (event.code !== 'Tab' || !opened) return;\n\n\t\t\tconst previousElement = findShadowActiveElement(host);\n\n\t\t\t// Wait the next tick to check what element was focused\n\t\t\tsetTimeout(function() {\n\t\t\t\t// get current active element\n\t\t\t\tconst activeElement = findShadowActiveElement(host);\n\n\t\t\t\t// Get all focusable elements\n\t\t\t\tconst focusableElements = querySelectorAllDeep(\n\t\t\t\t\t'input, button, li, [tabindex]',\n\t\t\t\t\thost\n\t\t\t\t).filter((element) => element.getAttribute('tabindex') >= 0);\n\n\t\t\t\t// get the index of the active element\n\t\t\t\tconst activeElementIdx = focusableElements.findIndex(\n\t\t\t\t\t(element) => element === activeElement\n\t\t\t\t);\n\n\t\t\t\t// get the index of the previous element\n\t\t\t\tconst previousElementIdx = focusableElements.findIndex(\n\t\t\t\t\t(element) => element === previousElement\n\t\t\t\t);\n\n\t\t\t\t// if previous element is inside of the modal, find the next element\n\t\t\t\tconst nextElement = event.shiftKey\n\t\t\t\t\t? focusableElements[\n\t\t\t\t\t\t\tpreviousElementIdx > 0\n\t\t\t\t\t\t\t\t? previousElementIdx - 1\n\t\t\t\t\t\t\t\t: focusableElements.length - 1\n\t\t\t\t\t  ]\n\t\t\t\t\t: focusableElements[previousElementIdx + 1];\n\n\t\t\t\t// if current active element is not a focusable element inside of the modal try go to the next or first element\n\t\t\t\tif (\n\t\t\t\t\t(activeElementIdx === -1 &&\n\t\t\t\t\t\tactiveElementIdx !== previousElementIdx) ||\n\t\t\t\t\tactiveElementIdx === previousElementIdx\n\t\t\t\t) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tif (nextElement) nextElement.focus();\n\t\t\t\t\telse focusableElements[0].focus();\n\t\t\t\t} else if (activeElementIdx === -1) {\n\t\t\t\t\tfocusableElements[0].focus();\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t\ttarget: document.body,\n\t\tuseCapture: true\n\t},\n\t{\n\t\tevents: ['click', 'keydown'],\n\t\ttarget: document.body,\n\t\ttimerId: null,\n\t\teffect({\n\t\t\tstate: {opened, attachToNavigation},\n\t\t\taction: {\n\t\t\t\tpayload: {event}\n\t\t\t},\n\t\t\tdispatch\n\t\t}) {\n\t\t\tif (!opened || !attachToNavigation) return;\n\n\t\t\tconst isClick = event.type === 'click';\n\t\t\tconst isEscape = event.type === 'keydown' && event.key === 'Escape'; // Debounce clicks to avoid rapid close/reopen\n\n\t\t\tconst isInsideSearchModal = event\n\t\t\t\t.composedPath()\n\t\t\t\t.some((el) => el.tagName?.toLowerCase() === 'sn-cx-search-modal');\n\n\t\t\tif (isClick) {\n\t\t\t\tclearTimeout(this.timerId);\n\t\t\t\tthis.timerId = setTimeout(() => {\n\t\t\t\t\tif (!isInsideSearchModal) {\n\t\t\t\t\t\tdispatch(SEARCH_CLOSED);\n\t\t\t\t\t}\n\t\t\t\t}, 100); // debounce delay (ms)\n\t\t\t}\n\n\t\t\t// Escape key closes the modal\n\t\t\tif (isEscape) {\n\t\t\t\tdispatch(SEARCH_CLOSED, {isEscaped: true});\n\t\t\t}\n\t\t}\n\t}\n];\n\nexport default eventHandlers;\n","import {createCustomElement} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport mediaQueryBehavior from '@servicenow/behavior-media-query';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport {view} from './view';\nimport {actionHandlers} from './effects';\nimport {SEARCH_TOGGLED} from './actions';\nimport searchModalStyles from './styles.scss';\nimport eventHandlers from './events';\nimport {getSearchConfiguration} from '../../utils';\n\n/**\n * @class sn-cx-search-modal\n * @seismicElement sn-cx-search-modal\n * @summary Used by sn-cx-layout to render and manage the search modal state and positioning. An experience that load the search modal is expected\n * to have a Page Property (sys_ux_page_property) with the name \"search_configuration\" containing a JSON using the SearchConfig schema.\n *\n *\n * @property {SearchConfig} searchConfig Used to determine default values and navigation configuration. Value is passed to the search input component.\n *\n * @seismicEvent SN_CX_SEARCH_MODAL#TOGGLED - Triggered whenever the opened state of the search modal changes.\n * @seismicEvent SN_CX_SEARCH_MODAL#SEARCH_CLOSED - Triggered whenever the search modal is closed\n * @seismicEvent SN_CX_SEARCH_MODAL#SEARCH_EXECUTED - Triggered whenever the user click on a search suggestion.\n * @seismicEvent SN_CX_SEARCH_MODAL#BACK_BUTTON_CLICKED - Triggered whenever the user click on the Servicenow logo.\n *\n *\n * @example\n * ```jsx\n * <sn-cx-search-modal\n * \topened={opened}\n * \tsearchTerm={searchTerm}\n * \tsearchConfig={searchConfig}\n * \tisLoggedIn={isLoggedIn}\n * />\n * ```\n *\n * @example  of a valid position json\n * ```json\n * {\n *  searchConfig: {\n *\t\tsearchRoute: 'search',\n *\t\tsearchContextConfigId: '713e3a53fbe6d6107f58fe638eefdc55',\n *\t\t\"searchInputRouteMap\": [\n *\t\t\t{\n *\t\t\t\t\"selector\": \"#item-search_input_card_base_container\",\n *\t\t\t\t\"path\": {\n *\t\t\t\t\t\"route\": \"my-home\",\n *\t\t\t\t\t\"fields\": {\n *\t\t\t\t\t\t\"page\": \"home\"\n *\t\t\t\t\t}\n *\t\t\t\t}\n *\t\t\t}\n *\t\t]\n *  }\n * }\n * ```\n **/\n\n/**\n * Provide environment configurations that helps determine search and modal behavior.\n * @typedef {Object} SearchConfig\n * @property {string} searchContextConfigId The default search context usign to load suggestions\n * @property {string} searchRoute The current route URL for the search results page. The search results page is expected to have one required parameter for term.\n * @property {UFXRoute} searchRouteConfig The route configuration to be used whenever the user click on a search term suggestion.\n * @property {boolean} emitNavItemSelected Whenever the user clicks on a search suggestions it will emit the NAV_ITEM_SELECTED event. Otherwise expects the parent components to handle the SN_SEARCH_COMBOBOX#SEARCH_EXECUTED event.\n * @property {Array<string>} contentLinkColumns What is the URL field for all tables added to the Search Application. Only required when using the emitNavItemSelected as true, the search will look for all columns listed to find the URL to open the search suggestion.\n * @property {SearchInputMap[]} searchInputRouteMap The route map to find the search input element. Used to calculate the size of the modal.\n * @property {SignalContextMap} signalContextMap The signal context map to the search context. Refer to the search results documentation to learn more.\n * @property {SearchFilterMap} searchFiltersMap The map of the search application tabs and facets to be converted into user friend URL filters. Refer to search results documentation to learn more.\n * @property {SearchFieldMap} searchFieldsMap The map of tables from the search application and fields to be used as version, source and url. Refer to the search results documentation to learn more.\n * @property {Object} requestFields The map of fields to be requested for each table. Is used to build the search results graphql query. Please refer to the search results documentation to learn more.\n * @property {Object} sourceIcons The map of icons to be used based on the search source. Please refer to the search results documentation to learn more.\n ***/\n\n/**\n * OOB UFX Route object\n * @typedef {Object} UFXRoute\n * @property {Object} context\n * @property {Object} route\n * @property {Object} fields\n * @property {Object} params\n *\n * Ex:\n * ```json\n * {\n *   \"context\": {\n *     \"path\": \"now/mynow\",\n *     \"experienceName\": \"MyNow\"\n *   },\n *   \"route\": \"search\",\n *   \"fields\": {\n *     \"term\": \"{searchTerm}\"\n *   },\n *   \"params\": {\n *     \"source\": \"global\",\n *     \"filters\": \"\"\n *   }\n * }\n * ```\n */\n\n/**\n * The map configuration for the route\n * @typedef {Object} SearchInputMapPath\n * @property {string} route The route name\n * @property {Object<string, string>} fields The object with the mandatory query params for your route\n */\n\n/**\n * The route map to find the search input element. Used to calculate the size and position of the modal search modal whenever its attached to the element.\n * @typedef {Object} SearchInputMap\n * @property {string} selector The querySelector path to find the search input.\n * @property {SearchInputMapPath} path The object with route and fields where the field for the element should be found.\n */\n\n/**\n * The payload expected by the TOGGLED event. When the search modal is requested by the navigation or a search input on a UFX Page it\n * is expected that a parent component will listen to a EVENT and delegate the TOGGLE event to the search-modal to close and open the modal.\n * @typedef {Object} SearchToggledPayload\n * @property {boolean} opened When true its it will toggle the search modal and when its false it will close the search-modal.\n * @property {string} term The search term to be used when the search modal is opened.\n * @property {boolean} attachToNavigation When true the search suggestions will be attached to the L1 element of the navigation.\n * @property {boolean} applyFilters When true, it will add filters to the search router when the user clicks on a search suggestion.\n * @property {string} filters It add to the filter on the searchRoute configuration inside of the SearchConfig properties.\n */\ncreateCustomElement('sn-cx-search-modal', {\n\trenderer: {type: snabbdom},\n\tview,\n\tstyles: `${searchModalStyles}`,\n\tproperties: {\n\t\t/**\n\t\t * The page property for the search config object\n\t\t * @type {SearchConfig}\n\t\t */\n\t\tsearchConfig: {\n\t\t\tdefault: {},\n\t\t\tschema: {\n\t\t\t\ttype: 'object'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The OOB Seismic selectedContent object. It's required whenever you navigate between\n\t\t * multiple experiences. The component will use the selected content to get the right\n\t\t * search configuration based on the experience.\n\t\t * @type {Object}\n\t\t */\n\t\tselectedContent: {\n\t\t\tdefault: {},\n\t\t\tschema: {\n\t\t\t\ttype: 'object'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The navigation L0 offset, it will set the top position of the modal when attached\n\t\t * to the navigation.\n\t\t *\n\t\t * SN CX Layout -> Observe L1 Position, when changes, it update the search modal property.\n\t\t * @type {Number}\n\t\t */\n\t\tnavTopOverlayOffset: {\n\t\t\tdefault: 0,\n\t\t\tschema: {\n\t\t\t\ttype: 'number'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Is User Logged In.\n\t\t * @type {boolean}\n\t\t */\n\t\tisLoggedIn: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Language locale code (e.g. \"en\", \"fr\") forwarded to the search input.\n\t\t * If empty, the search input omits the locale and the default config is used.\n\t\t * @type {string}\n\t\t */\n\t\tlocale: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t},\n\t\tsearchContextConfigId: {\n\t\t\tcomputed({\n\t\t\t\tproperties: {isLoggedIn, searchConfig, selectedContent, locale}\n\t\t\t}) {\n\t\t\t\t// If a user changes the experience it will get the searchConfig for the respective experience\n\t\t\t\tconst searchConfigFromContext = getSearchConfiguration(\n\t\t\t\t\tselectedContent,\n\t\t\t\t\tsearchConfig\n\t\t\t\t);\n\n\t\t\t\tif (isLoggedIn) {\n\t\t\t\t\tif (locale) {\n\t\t\t\t\t\tconst localizedSearchContextObj =\n\t\t\t\t\t\t\tsearchConfigFromContext?.localizedSearchContextConfigs || {};\n\t\t\t\t\t\tconst localizedSearchContextConfig =\n\t\t\t\t\t\t\tlocalizedSearchContextObj[locale] ||\n\t\t\t\t\t\t\tsearchConfigFromContext?.searchContextConfigId ||\n\t\t\t\t\t\t\t'';\n\t\t\t\t\t\treturn localizedSearchContextConfig;\n\t\t\t\t\t}\n\t\t\t\t\treturn searchConfigFromContext?.searchContextConfigId || '';\n\t\t\t\t} else {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tsearchConfigFromContext?.searchContextConfigId_public ||\n\t\t\t\t\t\tsearchConfigFromContext?.searchContextConfigId ||\n\t\t\t\t\t\t''\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tenableExactMatch: {\n\t\t\tcomputed({properties: {searchConfig, selectedContent}}) {\n\t\t\t\t// If a user changes the experience it will get the searchConfig for the respective experience\n\t\t\t\tconst searchConfigFromContext = getSearchConfiguration(\n\t\t\t\t\tselectedContent,\n\t\t\t\t\tsearchConfig\n\t\t\t\t);\n\n\t\t\t\t// Default to true unless explicitly set to false in searchConfig\n\t\t\t\treturn searchConfigFromContext?.enableExactMatch !== false;\n\t\t\t}\n\t\t}\n\t},\n\tbehaviors: [\n\t\t{behavior: rtlBehavior},\n\t\t{\n\t\t\tbehavior: mediaQueryBehavior,\n\t\t\toptions: {\n\t\t\t\tsm: '(min-width: 576px)',\n\t\t\t\tmd: '(min-width: 768px)',\n\t\t\t\tlg: '(min-width: 1024px)',\n\t\t\t\txl: '(min-width: 1366px)',\n\t\t\t\txxl: '(min-width: 1680px)'\n\t\t\t}\n\t\t}\n\t],\n\tinitialState: {\n\t\topened: false,\n\t\tsearchTerm: '',\n\t\tattachToNavigation: false,\n\t\tnowModalRef: null,\n\t\tapplyFilters: false,\n\t\tfilters: '',\n\t\tnavTopOverlayOffset: 0,\n\t\tsource: null\n\t},\n\tactionHandlers,\n\teventHandlers,\n\tdispatches: {\n\t\t[SEARCH_TOGGLED]: {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\topened: {type: 'boolean'},\n\t\t\t\t\tsearchTerm: {type: 'string'}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Action dispatched whenever a user click on a search suggestion or executes a search.\n\t\t * @type {{searchTerm: string, searchConfig: SearchConfig, source: string}}\n\t\t */\n\t\t['SN_CX_SEARCH_MODAL#SEARCH_EXECUTED']: {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tsearchTerm: {type: 'string'},\n\t\t\t\t\tsearchConfig: {type: 'object'},\n\t\t\t\t\tsource: {type: 'string'}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n});\n","export const attachClickListener = (element) => {\n\tif (element?.addEventListener) {\n\t\telement.addEventListener('click', handleBreadCrumbClick);\n\t}\n};\n\nconst handleBreadCrumbClick = (event) => {\n\tconst anchor = event.target.closest('a.now-breadcrumbs-item');\n\tif (anchor) {\n\t\tevent.preventDefault();\n\t}\n};\n","export const updateItems = (items, currentItem, updateState) => {\n\tconst currentItemIdx = items.findIndex(\n\t\t(item) => item.screenId === currentItem.screenId\n\t);\n\tif (currentItemIdx == -1) items.push(currentItem);\n\telse {\n\t\titems[currentItemIdx] = currentItem;\n\t\titems.length = currentItemIdx + 1;\n\t}\n\tupdateState([\n\t\t{\n\t\t\tpath: 'items',\n\t\t\tvalue: items,\n\t\t\toperation: 'set'\n\t\t},\n\t\t{\n\t\t\tpath: 'shouldRender',\n\t\t\tvalue: true,\n\t\t\toperation: 'set'\n\t\t}\n\t]);\n};\n","import cloneDeep from 'lodash/cloneDeep';\nimport {dispatchNavigationEvent} from './dispatchNavigationEvent';\nimport {updateItems} from './updateItems';\nexport const handleItemClick = (coeffects) => {\n\tconst {\n\t\tstate,\n\t\taction: {\n\t\t\tpayload: {item}\n\t\t},\n\t\tupdateState,\n\t\tdispatch\n\t} = coeffects;\n\tconst items = cloneDeep(state.items);\n\tconst currentItem = item;\n\tupdateItems(items, currentItem, updateState);\n\tdispatchNavigationEvent(dispatch, currentItem.routeConfig);\n};\n","export const dispatchNavigationEvent = (dispatch, target) => {\n\tconst NAV_ITEM_SELECTED = 'NAV_ITEM_SELECTED';\n\tdispatch(NAV_ITEM_SELECTED, {...target});\n};\n","export const NOW_BREADCRUMBS_ITEM_CLICKED = 'NOW_BREADCRUMBS#ITEM_CLICKED';\nexport const SN_CX_BREADCRUMBS_ITEM_DATA_UPDATED =\n\t'SN_CX_BREADCRUMBS#ITEM_DATA_UPDATED';\nexport const SN_CX_BREADCRUMBS_RENDER_REQUESTED =\n\t'SN_CX_BREADCRUMBS#RENDER_REQUESTED';\n","import unifiedCache from '@devsnc/library-unified-cache';\n\nexport const breadcrumbsDataCache = unifiedCache.createInstance({\n\tadapter: ['inMemory'],\n\tname: 'breadcrumbsDataCache',\n\tdescription: `breadcrumbs' data in memory cache`\n});\n","import {handleItemClick} from './utils/handleItemClick';\nimport {\n\tNOW_BREADCRUMBS_ITEM_CLICKED,\n\tSN_CX_BREADCRUMBS_ITEM_DATA_UPDATED,\n\tSN_CX_BREADCRUMBS_RENDER_REQUESTED\n} from './actions';\nimport {cacheItems} from './utils/cacheItems';\nimport {populateCurrentItem} from './utils/populateCurrentItem';\n\nexport const actionHandlers = {\n\t[NOW_BREADCRUMBS_ITEM_CLICKED]: (coeffects) => {\n\t\thandleItemClick(coeffects);\n\t},\n\t[SN_CX_BREADCRUMBS_RENDER_REQUESTED]: {\n\t\teffect: (coeffects) => {\n\t\t\tconst {\n\t\t\t\tupdateState,\n\t\t\t\taction: {\n\t\t\t\t\tpayload: {activeScreenId}\n\t\t\t\t}\n\t\t\t} = coeffects;\n\t\t\tupdateState({\n\t\t\t\tpath: 'activeScreenId',\n\t\t\t\tvalue: activeScreenId,\n\t\t\t\toperation: 'set'\n\t\t\t});\n\t\t\tpopulateCurrentItem(coeffects);\n\t\t},\n\t\tstopPropagation: true\n\t},\n\t[SN_CX_BREADCRUMBS_ITEM_DATA_UPDATED]: {\n\t\teffect: (coeffects) => {\n\t\t\tcacheItems(coeffects);\n\t\t},\n\t\tstopPropagation: true\n\t}\n};\n","import cloneDeep from 'lodash/cloneDeep';\nimport isEmpty from 'lodash/isEmpty';\nimport {updateItems} from './updateItems';\nimport {breadcrumbsDataCache} from './cache';\n\nexport const populateCurrentItem = async (coeffects) => {\n\tconst {\n\t\tupdateState,\n\t\tstate: {\n\t\t\tproperties: {selectedContent, rootItem},\n\t\t\titems\n\t\t},\n\t\taction: {\n\t\t\tpayload: {activeScreenId}\n\t\t}\n\t} = coeffects;\n\n\tconst cachedItemData = await breadcrumbsDataCache.getItem(activeScreenId);\n\tif (isEmpty(cachedItemData)) {\n\t\tupdateState({\n\t\t\tpath: 'shouldRender',\n\t\t\tvalue: false,\n\t\t\toperation: 'set'\n\t\t});\n\t\treturn;\n\t}\n\tconst itemsClone = cloneDeep(items);\n\tconst {label, rootScreenId, icon, href} = cachedItemData;\n\n\tif (!label || !rootScreenId) return;\n\n\tconst currentItem = {\n\t\tscreenId: activeScreenId,\n\t\thref: href,\n\t\trouteConfig: (({route, fields, params}) => ({\n\t\t\troute,\n\t\t\tfields,\n\t\t\tparams\n\t\t}))(selectedContent),\n\t\ticon: icon,\n\t\tlabel: label,\n\t\trootScreenId: rootScreenId\n\t};\n\n\tif (isEmpty(itemsClone) && !isEmpty(rootItem)) {\n\t\tif (rootItem.screenId === currentItem.screenId)\n\t\t\titemsClone.push(currentItem);\n\t\telse itemsClone.push(rootItem, currentItem);\n\t}\n\tupdateItems(itemsClone, currentItem, updateState);\n};\n","import {breadcrumbsDataCache} from './cache';\nimport {SN_CX_BREADCRUMBS_RENDER_REQUESTED} from '../actions';\n\nexport const cacheItems = (coeffects) => {\n\tconst {\n\t\taction: {payload},\n\t\tdispatch,\n\t\tstate: {activeScreenId}\n\t} = coeffects;\n\tconst {screenId, icon, label, href, rootScreenId} = payload;\n\n\tif (!screenId || !label || !rootScreenId) return;\n\n\tbreadcrumbsDataCache.setItem(screenId, {\n\t\ticon: icon,\n\t\tlabel: label,\n\t\trootScreenId: rootScreenId,\n\t\thref: href\n\t});\n\n\tif (activeScreenId === screenId)\n\t\tdispatch(SN_CX_BREADCRUMBS_RENDER_REQUESTED, {\n\t\t\tactiveScreenId: screenId\n\t\t});\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import {createCustomElement} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport styles from './styles.scss';\nimport {view} from './view';\nimport {actionHandlers} from './effects';\nimport '@servicenow/now-breadcrumbs';\n\ncreateCustomElement('sn-cx-breadcrumbs', {\n\trenderer: {type: snabbdom},\n\tview: view,\n\tstyles,\n\tproperties: {\n\t\trootItem: {\n\t\t\tdeepCompare: true,\n\t\t\ttype: 'object',\n\t\t\tproperties: {\n\t\t\t\tscreenId: {type: 'string'},\n\t\t\t\tlabel: {type: 'string', translatable: true},\n\t\t\t\thref: {type: 'string'},\n\t\t\t\ticon: {nowUIType: 'icon', type: 'string'},\n\t\t\t\thideLabel: {type: 'boolean'},\n\t\t\t\trouteConfig: {\n\t\t\t\t\ttype: 'object',\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\troute: {type: 'string'},\n\t\t\t\t\t\tfields: {type: 'object'},\n\t\t\t\t\t\tparams: {type: 'object'},\n\t\t\t\t\t\tcontext: {\n\t\t\t\t\t\t\ttype: 'object',\n\t\t\t\t\t\t\tproperties: {\n\t\t\t\t\t\t\t\tpath: {\n\t\t\t\t\t\t\t\t\ttype: 'string'\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\texperienceName: {\n\t\t\t\t\t\t\t\t\ttype: 'string'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tqueryString: {type: 'object'},\n\t\t\t\t\t\toptions: {type: 'object'},\n\t\t\t\t\t\tupdateUrl: {type: 'boolean'}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tselectedContent: {\n\t\t\tdeepCompare: true,\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\troute: {\n\t\t\t\t\t\ttype: 'string'\n\t\t\t\t\t},\n\t\t\t\t\tfields: {\n\t\t\t\t\t\ttype: 'object'\n\t\t\t\t\t},\n\t\t\t\t\tcontext: {\n\t\t\t\t\t\ttype: 'object',\n\t\t\t\t\t\tproperties: {\n\t\t\t\t\t\t\tpath: {\n\t\t\t\t\t\t\t\ttype: 'string'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\texperienceName: {\n\t\t\t\t\t\t\t\ttype: 'string'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tqueryString: {\n\t\t\t\t\t\ttype: 'object'\n\t\t\t\t\t},\n\t\t\t\t\toptions: {\n\t\t\t\t\t\ttype: 'object'\n\t\t\t\t\t},\n\t\t\t\t\tupdateUrl: {\n\t\t\t\t\t\ttype: 'boolean'\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tsetInitialState() {\n\t\treturn {\n\t\t\titems: [],\n\t\t\tshouldRender: false,\n\t\t\tactiveScreenId: ''\n\t\t};\n\t},\n\tactionHandlers: actionHandlers\n});\n","import {attachClickListener} from './utils/attachClickListener';\nexport const view = (state) =>\n\tstate.shouldRender ? (\n\t\t<div className=\"sn-cx-breadcrumbs\">\n\t\t\t<now-breadcrumbs\n\t\t\t\titems={state.items}\n\t\t\t\thook-insert={({elm}) => {\n\t\t\t\t\tattachClickListener(elm.shadowRoot);\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/div>\n\t) : null;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_classnames_2_3_1_index_jsdbx_b076f67e__[\"default\"][\"default\"];\n\t\t\t\t} });","import classnames from 'classnames';\n\nfunction FooterLogo({\n\tfooterLogoAriaLabel,\n\tfooterLogoSrc,\n\tbrandLineText,\n\tbrandLineSrc\n}) {\n\treturn (\n\t\t<div className=\"sn-cx-footer-logo-wrapper\">\n\t\t\t<span\n\t\t\t\tclassName=\"sn-cx-footer-logo\"\n\t\t\t\trole=\"img\"\n\t\t\t\taria-label={footerLogoAriaLabel}\n\t\t\t\tdata-testid=\"footer-logo\">\n\t\t\t\t<img src={footerLogoSrc} alt={footerLogoAriaLabel} />\n\t\t\t<\/span>\n\t\t\t<span className={classnames('sn-cx-footer-separator')} />\n\t\t\t<span\n\t\t\t\tclassName=\"sn-cx-footer-tagline\"\n\t\t\t\trole=\"complementary\"\n\t\t\t\taria-label={brandLineText}\n\t\t\t\tdata-testid=\"footer-brand-line\">\n\t\t\t\t<img src={brandLineSrc} alt={brandLineText} />\n\t\t\t<\/span>\n\t\t<\/div>\n\t);\n}\n\nexport default FooterLogo;\n","import {t} from 'sn-translate';\n\nexport const COPYRIGHT_TEXT = t('©2024 ServiceNow. All rights reserved.');\n\nexport const TEXT_DIRECTION = {\n\tLTR: 'ltr',\n\tRTL: 'rtl'\n};\nexport const FOOTER_LOGO_ARIA_LABEL = t('ServiceNow Logo');\nexport const BRAND_LINE_TEXT = t('The world works with ServiceNow');\nexport const SOCIAL_LINKS_ARIA_LABEL = t('Social Links');\n/**\n * Object containing event names for Adobe Analytics purposes.\n */\nexport const ANALYTICS_EVENTS = {\n\t// Dispatched event name for Adobe Analytics in click event.\n\tCLICK: 'AA_TRACK#PAGE_ELEMENT_CLICKED',\n\n\t// Dispatched event name for Adobe Analytics in page load event. 22a13422c90b76c36f173f53a2858cf4\n\tPAGE_LOAD: 'AA_TRACK#PAGE_LOADED',\n\n\t// Dispatched event name for Adobe Analytics in content load event.\n\tIMPRESSION: 'AA_TRACK#PAGE_CONTENT_IMPRESSION'\n};\n","import {Fragment} from '@servicenow/ui-renderer-snabbdom';\nimport classnames from 'classnames';\nimport {getSocialIcon} from '../../utils';\nimport {TEXT_DIRECTION} from '../../constants';\n\nfunction FooterSocial({\n\tsocialLinks,\n\tsocialLinksAriaLabel,\n\tcopyrightText,\n\tisRtl\n}) {\n\treturn (\n\t\t<Fragment>\n\t\t\t<div\n\t\t\t\tclassName=\"sn-cx-footer-social\"\n\t\t\t\trole=\"group\"\n\t\t\t\taria-label={socialLinksAriaLabel}\n\t\t\t\tdata-testid=\"footer-social-links\">\n\t\t\t\t{socialLinks.map((link) => (\n\t\t\t\t\t<a\n\t\t\t\t\t\tkey={link.name}\n\t\t\t\t\t\tclassName={classnames('sn-cx-footer-social-link', link.name)}\n\t\t\t\t\t\thref={link.href}\n\t\t\t\t\t\taria-label={link.name}\n\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\trel=\"noopener noreferrer\">\n\t\t\t\t\t\t<img src={getSocialIcon(link.name)} alt={link.name} />\n\t\t\t\t\t<\/a>\n\t\t\t\t))}\n\t\t\t<\/div>\n\t\t\t<div className=\"sn-cx-footer-copyright\" role=\"contentinfo\">\n\t\t\t\t<span dir={isRtl ? TEXT_DIRECTION.LTR : undefined}>\n\t\t\t\t\t{copyrightText}\n\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t<\/Fragment>\n\t);\n}\n\nexport default FooterSocial;\n","import LINKEDIN_ICON from './assets/linkedin.svg';\nimport TWITTER_ICON from './assets/x-twitter.svg';\nimport YOUTUBE_ICON from './assets/youtube.svg';\nimport FACEBOOK_ICON from './assets/facebook.svg';\nimport INSTAGRAM_ICON from './assets/instagram.svg';\nimport FOOTER_LOGO from './assets/footer_logo.svg';\nimport BRAND_LINE from './assets/brand_line.svg';\n\nexport function getSocialIcon(name) {\n\tconst iconMap = {\n\t\tlinkedin: LINKEDIN_ICON,\n\t\tyoutube: YOUTUBE_ICON,\n\t\ttwitter: TWITTER_ICON,\n\t\tfacebook: FACEBOOK_ICON,\n\t\tinstagram: INSTAGRAM_ICON\n\t};\n\treturn iconMap[name] || '';\n}\n\nexport function getFooterLogo() {\n\treturn FOOTER_LOGO;\n}\n\nexport function getFooterBrandLine() {\n\treturn BRAND_LINE;\n}\n","import classnames from 'classnames';\n\nfunction FooterNavLinks({navLinks, dispatch}) {\n\treturn (\n\t\t<nav\n\t\t\tclassName={classnames('sn-cx-footer-nav-links')}\n\t\t\trole=\"navigation\"\n\t\t\tdata-testid=\"footer-nav-links\">\n\t\t\t<ul>\n\t\t\t\t{navLinks.map((link, index) => (\n\t\t\t\t\t<li key={index}>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\ton-click={(e) => {\n\t\t\t\t\t\t\t\tdispatch(() => {\n\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\ttype: 'SN_CX_FOOTER#NAV_LINK_CLICKED',\n\t\t\t\t\t\t\t\t\t\tpayload: {link},\n\t\t\t\t\t\t\t\t\t\tmeta: {\n\t\t\t\t\t\t\t\t\t\t\tevent: e\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tid={link.id}\n\t\t\t\t\t\t\tclassName={classnames('sn-cx-footer-nav-link')}\n\t\t\t\t\t\t\thref={link.href}\n\t\t\t\t\t\t\tref={(element) => {\n\t\t\t\t\t\t\t\tdispatch('SN_CX_FOOTER#NAV_LINK_REF', element);\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\tdata-testid={`nav-link-${index}`}>\n\t\t\t\t\t\t\t{link.text}\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/li>\n\t\t\t\t))}\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t);\n}\n\nexport default FooterNavLinks;\n","export const FOOTER_NAV_LINK_CLICKED = 'SN_CX_FOOTER#NAV_LINK_CLICKED';\nexport const FOOTER_NAV_LINK_ELEMENT_REF = 'SN_CX_FOOTER#NAV_LINK_REF';\nexport const FOOTER_NAV_LINK_TRUST_ARC_REF = 'TRUST_ARC_LINK_ELEMENT';\nexport const FOOTER_NAV_LINK_TRUST_ARC_READY = 'TRUST_ARC_READY';\n","import {ANALYTICS_EVENTS} from './constants';\nimport {FOOTER_NAV_LINK_TRUST_ARC_REF} from './actions';\n\nconst handleFooterNavLinkElementRef = (coeffects) => {\n\tconst {\n\t\tupdateState,\n\t\tdispatch,\n\t\taction: {payload}\n\t} = coeffects;\n\tif (payload?.id === 'trustarc_footer_link') {\n\t\tupdateState({trustArcElement: payload});\n\t\tdispatch(FOOTER_NAV_LINK_TRUST_ARC_REF, payload);\n\t}\n};\n\nconst handleFooterNavLinkClicked = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {link = {}},\n\t\t\tmeta\n\t\t},\n\t\tdispatch\n\t} = coeffects;\n\n\tconst digitalData = {\n\t\tversion: '1.0',\n\t\tpage: {\n\t\t\tpageInfo: {\n\t\t\t\tpageName: 'Footer'\n\t\t\t}\n\t\t},\n\t\tevent: {\n\t\t\teVar20: 'Footer',\n\t\t\teVar21: link.id,\n\t\t\teVar22: link.text,\n\t\t\tpageArea: link.id\n\t\t}\n\t};\n\n\tdispatch(ANALYTICS_EVENTS.CLICK, {aaDigitalData: digitalData}, meta);\n};\n\nconst handleComponentTreeRendered = (coeffects) => {\n\tconst {\n\t\tdispatch,\n\t\tstate: {trustArcElement}\n\t} = coeffects;\n\tif (trustArcElement !== null) {\n\t\tdispatch(FOOTER_NAV_LINK_TRUST_ARC_REF, trustArcElement);\n\t}\n};\n\nconst handleFooterNavLinkTrustArcReady = ({\n\tdispatch,\n\tstate: {trustArcElement}\n}) => {\n\tif (trustArcElement !== null) {\n\t\tdispatch(FOOTER_NAV_LINK_TRUST_ARC_REF, trustArcElement);\n\t}\n};\n\nconst effects = {\n\thandleFooterNavLinkElementRef,\n\thandleFooterNavLinkClicked,\n\thandleComponentTreeRendered,\n\thandleFooterNavLinkTrustArcReady\n};\n\nexport default effects;\n","import {createCustomElement, actionTypes} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport styles from './styles.scss';\nimport {view} from './view';\nimport {\n\tFOOTER_NAV_LINK_CLICKED,\n\tFOOTER_NAV_LINK_ELEMENT_REF,\n\tFOOTER_NAV_LINK_TRUST_ARC_READY\n} from './actions';\nconst {COMPONENT_TREE_RENDERED} = actionTypes;\nimport effects from './effects';\n\ncreateCustomElement('sn-cx-footer', {\n\trenderer: {type: snabbdom},\n\tview,\n\tstyles,\n\tbehaviors: [{behavior: rtlBehavior}],\n\tproperties: {\n\t\tfooterConfig: {\n\t\t\tdefault: {},\n\t\t\tschema: {type: 'object'}\n\t\t}\n\t},\n\tinitialState: {\n\t\ttrustArcElement: null\n\t},\n\tactionHandlers: {\n\t\t[FOOTER_NAV_LINK_ELEMENT_REF]: effects.handleFooterNavLinkElementRef,\n\t\t[FOOTER_NAV_LINK_CLICKED]: {\n\t\t\teffect: effects.handleFooterNavLinkClicked,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[COMPONENT_TREE_RENDERED]: effects.handleComponentTreeRendered\n\t},\n\teventHandlers: [\n\t\t{\n\t\t\tevents: [FOOTER_NAV_LINK_TRUST_ARC_READY],\n\t\t\teffect: effects.handleFooterNavLinkTrustArcReady,\n\t\t\ttarget: document\n\t\t}\n\t]\n});\n","import {isEmpty} from 'lodash';\nimport classnames from 'classnames';\nimport FooterLogo from './logo/FooterLogo';\nimport FooterSocial from './social/FooterSocial';\nimport FooterNavLinks from './nav-links/FooterNavLinks';\nimport {getFooterBrandLine, getFooterLogo} from '../utils';\nimport {\n\tCOPYRIGHT_TEXT,\n\tBRAND_LINE_TEXT,\n\tSOCIAL_LINKS_ARIA_LABEL,\n\tFOOTER_LOGO_ARIA_LABEL,\n\tTEXT_DIRECTION\n} from '../constants';\n\nexport const view = (state, {dispatch}) => {\n\tconst {footerConfig} = state.properties;\n\tconst {\n\t\tnav_links: navLinks = [],\n\t\tsocial_links: socialLinks = [],\n\t\tcopyright_text: copyrightText = COPYRIGHT_TEXT\n\t} = footerConfig;\n\tconst isRtl = document.dir === TEXT_DIRECTION.RTL;\n\n\tif (isEmpty(footerConfig)) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<footer className=\"sn-cx-footer\">\n\t\t\t<div className=\"sn-cx-footer-container\" role=\"contentinfo\">\n\t\t\t\t<section className={classnames('sn-cx-footer-content', 'left')}>\n\t\t\t\t\t<FooterLogo\n\t\t\t\t\t\tfooterLogoAriaLabel={FOOTER_LOGO_ARIA_LABEL}\n\t\t\t\t\t\tfooterLogoSrc={getFooterLogo()}\n\t\t\t\t\t\tbrandLineText={BRAND_LINE_TEXT}\n\t\t\t\t\t\tbrandLineSrc={getFooterBrandLine()}\n\t\t\t\t\t/>\n\t\t\t\t\t<FooterNavLinks navLinks={navLinks} dispatch={dispatch} />\n\t\t\t\t<\/section>\n\t\t\t\t<section className={classnames('sn-cx-footer-content', 'right')}>\n\t\t\t\t\t<FooterSocial\n\t\t\t\t\t\tsocialLinks={socialLinks}\n\t\t\t\t\t\tsocialLinksAriaLabel={SOCIAL_LINKS_ARIA_LABEL}\n\t\t\t\t\t\tcopyrightText={copyrightText}\n\t\t\t\t\t\tisRtl={isRtl}\n\t\t\t\t\t/>\n\t\t\t\t<\/section>\n\t\t\t<\/div>\n\t\t<\/footer>\n\t);\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_focus_28_4_1_index_jsdbx_707c87ee__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import {actionTypes, createCustomElement} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport styles from './sn-cx-side-panel.scss';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport focusBehavior from '@servicenow/behavior-focus';\nimport {t} from 'sn-translate';\nimport '@servicenow/now-heading';\nimport '@servicenow/now-button';\nimport {POSITIONS} from './positions';\n\nconst {COMPONENT_PROPERTY_CHANGED} = actionTypes;\n\nexport const _handleClose = (state, dispatch) => {\n\tconst {beforeClose} = state.properties;\n\tif (beforeClose && typeof beforeClose === 'function') {\n\t\tconst callbackFn = new Promise((resolve) => {\n\t\t\treturn resolve(beforeClose());\n\t\t});\n\t\treturn callbackFn.then((res) => {\n\t\t\tres ? dispatch('SN_CX_SIDEPANEL#TOGGLE_OPENED', {opened: false}) : null;\n\t\t});\n\t} else {\n\t\tdispatch('SN_CX_SIDEPANEL#TOGGLE_OPENED', {opened: false});\n\t}\n};\n\nconst view = (state, {dispatch}) => {\n\tconst {\n\t\topened,\n\t\tbackdrop,\n\t\tposition,\n\t\tcontainerProps,\n\t\tcanClose,\n\t\theading,\n\t\tisTitleClickable\n\t} = state.properties;\n\n\treturn (\n\t\t<div\n\t\t\trole=\"dialog\"\n\t\t\tclass={{'sn-cx-sidepanel': true, '-backdrop': backdrop}}\n\t\t\thidden={!opened}\n\t\t\ton-click={() => {\n\t\t\t\t_handleClose(state, dispatch);\n\t\t\t}}>\n\t\t\t<div\n\t\t\t\tclassName={'sn-cx-sidepanel-overlay -' + position.toLowerCase()}\n\t\t\t\tstyle={containerProps}\n\t\t\t\ton-click={(evt) => evt.stopPropagation()}>\n\t\t\t\t<div className=\"sn-cx-sidepanel-overlay-panel\">\n\t\t\t\t\t{heading ? (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclassName=\"sn-cx-sidepanel-op-header\"\n\t\t\t\t\t\t\tstyle={{cursor: isTitleClickable ? 'pointer' : 'auto'}}\n\t\t\t\t\t\t\ton-click={() => {\n\t\t\t\t\t\t\t\tisTitleClickable\n\t\t\t\t\t\t\t\t\t? dispatch('SN_CX_SIDEPANEL#TITLE_CLICKED')\n\t\t\t\t\t\t\t\t\t: null;\n\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t<div className=\"sn-cx-sidepanel-oph-title\">\n\t\t\t\t\t\t\t\t<slot name=\"title\">\n\t\t\t\t\t\t\t\t\t<h1 className=\"sn-cx-sidepanel-oph-heading\">{heading}<\/h1>\n\t\t\t\t\t\t\t\t<\/slot>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t{canClose ? (\n\t\t\t\t\t\t\t\t<div className=\"sn-cx-sidepanel-oph-icon\">\n\t\t\t\t\t\t\t\t\t<now-button-iconic\n\t\t\t\t\t\t\t\t\t\tid=\"side-pannel-close-button\"\n\t\t\t\t\t\t\t\t\t\ticon=\"close-fill\"\n\t\t\t\t\t\t\t\t\t\tvariant=\"tertiary\"\n\t\t\t\t\t\t\t\t\t\tsize=\"md\"\n\t\t\t\t\t\t\t\t\t\thide-padding\n\t\t\t\t\t\t\t\t\t\tbare\n\t\t\t\t\t\t\t\t\t\tconfig-aria={{'aria-label': t('Close dialog')}}\n\t\t\t\t\t\t\t\t\t\ttooltip-content={t('Close dialog')}\n\t\t\t\t\t\t\t\t\t\ton-click={(evt) => {\n\t\t\t\t\t\t\t\t\t\t\t_handleClose(state, dispatch);\n\t\t\t\t\t\t\t\t\t\t\tevt.stopPropagation();\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t) : null}\n\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t);\n};\n\n/**\n *\n * ## Overview\n * The sidepanel component is a panel overlaying the screen on the right side.\n * It is used to show more details about a specific object in context. A sidepanel is often triggered by clicking a button\n * or icon that dispatches the action to toggle the visibility.\n *\n * ## Use cases\n * - Showing a sidepanel menu for mobile responsiveness.\n * - Showing detailed information about a transaction (such as items in a cart).\n * - Showing a list of notifications in a notifications tray (sidepanel).\n *\n * Sidepanel aims at UI needs to display workspace notification tray, portal mobile menu panel, and it could also be used\n * for contextual overlay panel across the viewport sides.\n *\n * @seismicElement sn-cx-panel\n * @summary A panel component to display workspace notifications, portal menus and other contextual overlay on the viewport\n */\nconst TAG_NAME = 'sn-cx-side-panel';\ncreateCustomElement(TAG_NAME, {\n\tproperties: {\n\t\t/**\n\t\t * Property opened sets the state of the panel\n\t\t * @type {boolean} set state on side panel\n\t\t */\n\t\topened: {default: false, schema: {type: 'boolean'}},\n\t\t/**\n\t\t * Property backdrop sets the background opacity for the region outside the sidepanel\n\t\t * @type {boolean} set the backdrop to enable background opacity for the region outside the sidepanel\n\t\t */\n\t\tbackdrop: {default: true, schema: {type: 'boolean'}},\n\t\t/**\n\t\t * Property position to set the position of the panel\n\t\t * @type {string} Position - Possible values - TOP,  LEFT, BOTTOM, RIGHT\n\t\t */\n\t\tposition: {default: POSITIONS.RIGHT, schema: {type: 'string'}},\n\t\t/**\n\t\t * Property to set the styles for the panel container\n\t\t * @type {object} Style for container element\n\t\t */\n\t\tcontainerProps: {default: {}, schema: {type: 'object'}},\n\t\t/**\n\t\t * Property sets the icon of the panel header.\n\t\t * @type {boolean} Icon in the header of the panel\n\t\t */\n\t\tcanClose: {default: true, schema: {type: 'boolean'}},\n\t\t/**\n\t\t * Property sets the title of the panel content if title is not sent as slot.\n\t\t * @type {string} Title in the header of panel\n\t\t */\n\t\theading: {default: '', schema: {type: 'string'}},\n\t\t/**\n\t\t * Property sets a callback function to handle before panel is closed.\n\t\t * @type {function} beforeClose A callback function called when user tries to close the panel\n\t\t */\n\t\tbeforeClose: {default: null},\n\t\t/**\n\t\t * If this property is true, header will be clickable.\n\t\t * @type {Boolean} True if header should be clickable\n\t\t */\n\t\tisTitleClickable: {default: false, schema: {type: 'boolean'}}\n\t},\n\trenderer: {\n\t\ttype: snabbdom,\n\t\tview\n\t},\n\tstyles: `${styles}`,\n\tdispatches: {\n\t\t/**\n\t\t * Dispatched when the side panel is opened/closed.\n\t\t * @type {{opened: false}}\n\t\t */\n\t\t'SN_CX_SIDEPANEL#TOGGLE_OPENED': {},\n\t\t/**\n\t\t * Dispatched when the panel title is clicked.\n\t\t * @type {{}}\n\t\t */\n\t\t'SN_CX_SIDEPANEL#TITLE_CLICKED': {}\n\t},\n\tslots: {\n\t\t/**\n\t\t * Sidepanel title appears in this named slot. A title can be clickable, and\n\t\t * dispatches `SN_CX_SIDEPANEL#TITLE_CLICKED` action when clicked.\n\t\t */\n\t\ttitle: {},\n\t\t/**\n\t\t * Content placed in this named slot that appears inside of the sidepanel. It takes care of enabling\n\t\t * the vertical scrollbar for large content.\n\t\t */\n\t\tcontent: {}\n\t},\n\tactionHandlers: {\n\t\t[COMPONENT_PROPERTY_CHANGED]: {\n\t\t\teffect({state, dispatch, host}) {\n\t\t\t\tconst {opened} = state.properties;\n\t\t\t\tif (opened) {\n\t\t\t\t\tdispatch('SN_CX_SIDEPANEL#TOGGLE_OPENED', {opened: true});\n\t\t\t\t\t// To avoid parent scrollbar while the panel is shown.\n\t\t\t\t\t//  panel may have vertical scrollbar for overflowing content\n\t\t\t\t\tdocument.body.style.cssText = 'height:100vh !important';\n\t\t\t\t\thost?.shadowRoot?.querySelector('#side-pannel-close-button')?.focus();\n\t\t\t\t} else {\n\t\t\t\t\t//reset back the height to enable back the parent scrollbar\n\t\t\t\t\tdocument.body.style.cssText = 'height:inherit !important';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tbehaviors: [{behavior: rtlBehavior}, {behavior: focusBehavior}]\n});\n\nexport default TAG_NAME;\n","export const POSITIONS = {\n\tTOP: 'TOP',\n\tBOTTOM: 'BOTTOM',\n\tLEFT: 'LEFT',\n\tRIGHT: 'RIGHT'\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import {createCustomElement, declarativeOperations} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport styles from './sn-cx-page.scss';\nimport '@servicenow/now-uxf-page';\nimport {querySelectorDeep} from '../../utils/qsDeep';\n\nconst cxPageEvents = {\n\tNOTIFICATIONS_UPDATED: 'SN_CX_PAGE#NOTIFICATIONS_UPDATED',\n\tNOTIFICATION_ACTION_CLICKED: 'SN_CX_PAGE#NOTIFICATION_ACTION_CLICKED',\n\tLOADER_ACTION_CLICKED: 'SN_CX_PAGE#LOADER_ACTION_CLICKED',\n\tRECORD_LINK_CLICKED: 'SN_CX_PAGE#RECORD_LINK_CLICKED',\n\tLOADING_STATUS_CHANGED: 'SN_CX_PAGE#LOADING_STATUS_CHANGED',\n\tSET_PROPAGATED_NOTIFICATIONS: 'SN_CX_PAGE#SET_PROPAGATED_NOTIFICATIONS',\n\tINLINE_NAVIGATION: 'SN_CX_PAGE#INLINE_NAVIGATION',\n\tOPEN_SIDE_PANEL: 'SN_CX_PAGE#OPEN_SIDE_PANEL',\n\tADD_NOTIFICATIONS: 'SN_CX_PAGE#ADD_NOTIFICATIONS',\n\tREMOVE_NOTIFICATIONS: 'SN_CX_PAGE#REMOVE_NOTIFICATIONS',\n\tCLEAR_NOTIFICATIONS: 'SN_CX_PAGE#CLEAR_NOTIFICATIONS',\n\tSET_LOADING_STATE: 'SN_CX_PAGE#SET_LOADING_STATE'\n};\n\nconst uxfPageEvents = {\n\tADD_NOTIFICATIONS: 'NOW_UXF_PAGE#ADD_NOTIFICATIONS',\n\tREMOVE_NOTIFICATIONS: 'NOW_UXF_PAGE#REMOVE_NOTIFICATIONS',\n\tCLEAR_NOTIFICATIONS: 'NOW_UXF_PAGE#CLEAR_NOTIFICATIONS',\n\tSET_LOADING_STATE: 'NOW_UXF_PAGE#SET_LOADING_STATE',\n\tNOTIFICATIONS_UPDATED: 'NOW_UXF_PAGE#NOTIFICATIONS_UPDATED',\n\tNOTIFICATION_ACTION_CLICKED: 'NOW_UXF_PAGE#NOTIFICATION_ACTION_CLICKED',\n\tLOADER_ACTION_CLICKED: 'NOW_UXF_PAGE#LOADER_ACTION_CLICKED',\n\tRECORD_LINK_CLICKED: 'NOW_UXF_PAGE#RECORD_LINK_CLICKED',\n\tLOADING_STATUS_CHANGED: 'NOW_UXF_PAGE#LOADING_STATUS_CHANGED',\n\tSET_PROPAGATED_NOTIFICATIONS: 'NOW_UXF_PAGE#SET_PROPAGATED_NOTIFICATIONS'\n};\n\nexport const inlineNavigationEffect = ({action, host}) => {\n\tconst {payload: {elementId, scrollBehavior, verticalAlignment} = {}} = action;\n\tconst element = querySelectorDeep(elementId, host);\n\tif (element) {\n\t\telement.scrollIntoView({\n\t\t\tbehavior: scrollBehavior || 'smooth',\n\t\t\tblock: verticalAlignment || 'start'\n\t\t});\n\t}\n};\nexport const openSidePanelEffect = ({action, updateState}) => {\n\tconst {payload} = action;\n\tupdateState({\n\t\tpath: 'sidePanelProps',\n\t\tvalue: {\n\t\t\topened: payload.opened,\n\t\t\theading: payload.heading,\n\t\t\tposition: payload.position ? payload.position : 'RIGHT',\n\t\t\tcontainerProps: payload.containerProps\n\t\t},\n\t\toperation: declarativeOperations.SET\n\t});\n};\nexport const toggleOpenedSidePanelEffect = ({action, updateState}) => {\n\tif (!action.payload.opened) {\n\t\tupdateState({sidePanelOpened: action.payload.opened});\n\t\tupdateState({\n\t\t\tpath: 'sidePanelProps',\n\t\t\tvalue: {\n\t\t\t\topened: action.payload.opened\n\t\t\t},\n\t\t\toperation: declarativeOperations.SET\n\t\t});\n\t}\n};\nexport const setLoadingStateEffect = ({action, updateState}) => {\n\tconst {\n\t\tpayload: {loading, label, action: loaderAction}\n\t} = action;\n\tupdateState([\n\t\t{\n\t\t\tpath: 'isPageLoading',\n\t\t\tvalue: loading,\n\t\t\toperation: 'set'\n\t\t},\n\t\t{\n\t\t\tpath: 'loaderLabel',\n\t\t\tvalue: label,\n\t\t\toperation: 'set'\n\t\t},\n\t\t{\n\t\t\tpath: 'loaderAction',\n\t\t\tvalue: loaderAction,\n\t\t\toperation: 'set'\n\t\t}\n\t]);\n};\nexport const clearNotificationsEffect = ({state, action}) => {\n\tconst uxfPageRef = state.uxfPageRef;\n\tif (uxfPageRef) {\n\t\tconst {payload} = action;\n\t\tuxfPageRef.dispatch(uxfPageEvents.CLEAR_NOTIFICATIONS, payload);\n\t}\n};\nexport const removeNotificationsEffect = ({state, action}) => {\n\tconst uxfPageRef = state.uxfPageRef;\n\tif (uxfPageRef) {\n\t\tconst {payload} = action;\n\t\tuxfPageRef.dispatch(uxfPageEvents.REMOVE_NOTIFICATIONS, payload);\n\t}\n};\nexport const addNotificationsEffect = ({state, action}) => {\n\tconst uxfPageRef = state.uxfPageRef;\n\tif (uxfPageRef) {\n\t\tconst {payload} = action;\n\t\tuxfPageRef.dispatch(uxfPageEvents.ADD_NOTIFICATIONS, payload);\n\t}\n};\nexport const notificationsUpdatedEffect = ({action, dispatch}) => {\n\tconst {payload} = action;\n\tdispatch(cxPageEvents.NOTIFICATIONS_UPDATED, payload);\n};\nexport const loadingStatusChangedEffect = ({action, dispatch}) => {\n\tconst {payload} = action;\n\tdispatch(cxPageEvents.LOADING_STATUS_CHANGED, payload);\n};\nexport const notificationActionClickedEffect = ({action, dispatch}) => {\n\tconst {payload} = action;\n\tdispatch(cxPageEvents.NOTIFICATION_ACTION_CLICKED, payload);\n};\nexport const loaderActionClickedEffect = ({action, dispatch}) => {\n\tconst {payload} = action;\n\tdispatch(cxPageEvents.LOADER_ACTION_CLICKED, payload);\n};\nexport const recordLinkClickedEffect = ({action, dispatch}) => {\n\tconst {payload} = action;\n\tdispatch(cxPageEvents.RECORD_LINK_CLICKED, payload);\n};\n\nconst view = (state, {updateState}) => {\n\tconst {\n\t\tsidePanelProps,\n\t\tproperties: {\n\t\t\tlabel,\n\t\t\tbare,\n\t\t\tscrollable,\n\t\t\theadingLevel,\n\t\t\theadingOnlyVisibleToScreenReaders,\n\t\t\tinterceptNotifications,\n\t\t\tpropagateNotifications\n\t\t},\n\t\tisPageLoading,\n\t\tloaderLabel,\n\t\tloaderAction\n\t} = state;\n\treturn (\n\t\t<div\n\t\t\tclass={{\n\t\t\t\tpage: true\n\t\t\t}}>\n\t\t\t{isPageLoading ? (\n\t\t\t\t<div className=\"loaderContainer\">\n\t\t\t\t\t<now-loader size=\"lg\" label={loaderLabel} action={loaderAction} />\n\t\t\t\t<\/div>\n\t\t\t) : (\n\t\t\t\t<now-uxf-page\n\t\t\t\t\thook-insert={({elm}) => {\n\t\t\t\t\t\tupdateState({\n\t\t\t\t\t\t\tuxfPageRef: elm\n\t\t\t\t\t\t});\n\t\t\t\t\t}}\n\t\t\t\t\thook-destroy={() =>\n\t\t\t\t\t\tupdateState({\n\t\t\t\t\t\t\tuxfPageRef: null\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\tbare={bare}\n\t\t\t\t\tscrollable={scrollable}\n\t\t\t\t\theadingLevel={headingLevel}\n\t\t\t\t\theadingOnlyVisibleToScreenReaders={headingOnlyVisibleToScreenReaders}\n\t\t\t\t\tinterceptNotifications={interceptNotifications}\n\t\t\t\t\tpropagateNotifications={propagateNotifications}>\n\t\t\t\t\t<slot />\n\t\t\t\t<\/now-uxf-page>\n\t\t\t)}\n\t\t\t<sn-cx-side-panel\n\t\t\t\topened={sidePanelProps.opened}\n\t\t\t\theading={sidePanelProps.heading}\n\t\t\t\tposition={sidePanelProps.position}\n\t\t\t\tcontainerProps={sidePanelProps.containerProps}>\n\t\t\t\t<div slot=\"content\">\n\t\t\t\t\t<slot name=\"panelcontent\" />\n\t\t\t\t<\/div>\n\t\t\t<\/sn-cx-side-panel>\n\t\t<\/div>\n\t);\n};\n\nconst TAG_NAME = 'sn-cx-page';\n\ncreateCustomElement(TAG_NAME, {\n\trenderer: {\n\t\ttype: snabbdom,\n\t\tview\n\t},\n\tbehaviors: [rtlBehavior],\n\tproperties: {\n\t\tlabel: {default: ''},\n\t\tbare: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\tscrollable: {\n\t\t\tdefault: 'y'\n\t\t},\n\t\theadingLevel: {default: 1},\n\t\theadingOnlyVisibleToScreenReaders: {default: false},\n\t\tinterceptNotifications: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t},\n\t\tpropagateNotifications: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: 'boolean'\n\t\t\t}\n\t\t}\n\t},\n\tslots: {\n\t\tpanelcontent: {}\n\t},\n\tactionHandlers: {\n\t\t[cxPageEvents.INLINE_NAVIGATION]: {\n\t\t\teffect: inlineNavigationEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[cxPageEvents.OPEN_SIDE_PANEL]: {\n\t\t\teffect: openSidePanelEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t'SN_CX_SIDEPANEL#TOGGLE_OPENED': {\n\t\t\teffect: toggleOpenedSidePanelEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[cxPageEvents.SET_LOADING_STATE]: {\n\t\t\teffect: setLoadingStateEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[cxPageEvents.CLEAR_NOTIFICATIONS]: {\n\t\t\teffect: clearNotificationsEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[cxPageEvents.REMOVE_NOTIFICATIONS]: {\n\t\t\teffect: removeNotificationsEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[cxPageEvents.ADD_NOTIFICATIONS]: {\n\t\t\teffect: addNotificationsEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[uxfPageEvents.NOTIFICATIONS_UPDATED]: {\n\t\t\teffect: notificationsUpdatedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[uxfPageEvents.LOADING_STATUS_CHANGED]: {\n\t\t\teffect: loadingStatusChangedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[uxfPageEvents.NOTIFICATION_ACTION_CLICKED]: {\n\t\t\teffect: notificationActionClickedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[uxfPageEvents.LOADER_ACTION_CLICKED]: {\n\t\t\teffect: loaderActionClickedEffect,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[uxfPageEvents.RECORD_LINK_CLICKED]: {\n\t\t\teffect: recordLinkClickedEffect,\n\t\t\tstopPropagation: true\n\t\t}\n\t},\n\tinitialState: {\n\t\tsidePanelProps: {\n\t\t\topened: false,\n\t\t\theading: '',\n\t\t\tposition: 'RIGHT',\n\t\t\tcontainerProps: {}\n\t\t},\n\t\tuxfPageRef: null,\n\t\tisPageLoading: false\n\t},\n\tstyles: `${styles}`\n});\n\nexport default TAG_NAME;\n","import * as exports from '../index.js';\nwindow.__TECTONIC__sn_cx_shell_addon=exports;\nexport * from '../index.js';\n\n"],"version":3}},{"offset":{"line":55,"column":0},"map":{"mappings":";;;;;eAMAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA6FX,OA3FAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,IAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GA4B5B,OA1BIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAGvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAGnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAG5EC,GAAWN,EAAuBK,GAE9BE,IACFD,GAAW,KAGTD,EAAK,KACPC,GAAW,KAGTD,EAAK,KACPC,GAAW,KAGNA,CACT,GAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAG7B,IAAIC,EAAyB,CAAC,EAE9B,GAAIJ,EACF,IAAK,IAAIK,EAAI,EAAGA,EAAIhB,KAAKM,OAAQU,IAAK,CACpC,IAAIC,EAAKjB,KAAKgB,GAAG,GAEP,MAANC,IACFF,EAAuBE,IAAM,EAEjC,CAGF,IAAK,IAAIC,EAAK,EAAGA,EAAKT,EAAQH,OAAQY,IAAM,CAC1C,IAAIhB,EAAO,GAAGG,OAAOI,EAAQS,IAEzBP,GAAUI,EAAuBb,EAAK,WAIrB,IAAVW,SACc,IAAZX,EAAK,KAGdA,EAAK,GAAK,SAASG,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,MAAMG,OAAOH,EAAK,GAAI,MAF/FA,EAAK,GAAKW,GAOVH,I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EACfhE,KCnImBA,CAACiE,EAAKhE,KAAiB,IAAdiE,EAAQjE,EAARiE,SAC5B,MAAAC,EAOIF,EAAM5E,WANTgE,EAAIc,EAAJd,KACAzD,EAAUuE,EAAVvE,WACAiE,EAAOM,EAAPN,QACAP,EAAUa,EAAVb,WACAK,EAAIQ,EAAJR,KACAC,EAAMO,EAANP,OAEKE,EAAQD,GAAWA,EAAQC,MAC3BC,EAAUF,GAAWA,EAAQE,QAiBnC,OACC9E,EAAAA,EAAAA,eAAA,MAAA1C,IAAA,CACC6H,MAAO,CACNC,kBAAkB,EAClB,oBAAoB,KAEjBlF,EAAAA,EAAAA,sBAAqBS,EAAY,aACrCX,EAAAA,EAAAA,eAAA,OACCmF,MAAO,CACN,YAAY,EACZ,kBAAkB,EAClB,cAAeP,EACf,CAAC,IAAMC,GAAQA,EACf,CAAC,IAAMC,GAAUA,EACjB,cAAeT,MAGjBrE,EAAAA,EAAAA,eAAA,OACCmF,MAAO,CACN,iBAAiB,EACjB,kBAAkB,EAClB,CAAC,IAAMf,GAAOA,KAEfpE,EAAAA,EAAAA,eAAA,KAAG0E,KAAMA,EAAMC,OAAQA,EAAQ,WA9BAU,IAHRA,IACf,SAAVV,KAAuBU,EAAIC,SAAWD,EAAIE,SAGtCC,CAAiBH,KACpBA,EAAII,iBATLR,EAAS,KAAM,CACd1E,KAAM,qBACNmF,QAASnD,EAAemC,IAAS,CAACA,eAoChC1E,EAAAA,EAAAA,eAAA,iBDiFJsB,OAAM,IACNqE,UAAW,GACXC,MAAO,CAKNC,YAAa,CAAC,GAEfC,WAAY,CAMX,qBAAsB,CAAC,KErJzB3D,OAAO4D,6BAA6BrK,EAAAA;AAAA,oBAAAA","file":"externals/sn-cx-responsive/index.min.js","names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","___CSS_LOADER_EXPORT___","result","__esModule","default","_extends","Object","assign","bind","n","e","arguments","t","r","hasOwnProperty","call","apply","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","d","a","definition","key","o","defineProperty","enumerable","get","obj","prop","prototype","Symbol","toStringTag","value","y","x","cjsModule","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__","actionTypes","createCustomElement","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__","configAriaLabelRoleSchema","configAriaLabelSchema","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__","createElement","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__","filterAriaAttributes","COMPONENT_DOM_READY","properties","tag","schema","type","enum","text","css","configAria","deepCompare","input","additionalProperties","view","_ref","_ref$properties","_ref$properties$tag","TAG","style","display","styles","actionHandlers","host","stylizedTextContainer","parentNode","clientHeight","scrollHeight","setAttribute","checkForScrollableContent","getExperienceName","contextPath","_window2","_experienceConfigs$co2","window","ux_globals","experienceConfigs","experienceName","getRouteConfig","url","urlParts","URL","error","parts","pathname","split","fields","shift","routeValue","_window","_experienceConfigs$co","appRouteConfiguration","routes","isSupportedExperience","routeConfig","route","context","path","queryString","updateUrl","routeFields","_window3","_experienceConfigs$co3","getRouteFields","params","paramValues","j","size","hideShadow","oneOf","button","required","article","href","target","sidebar","color","variant","initialState","state","dispatch","_state$properties","class","nowCardContainer","evt","metaKey","ctrlKey","isSelfNavigation","preventDefault","payload","behaviors","slots","defaultSlot","dispatches","__TECTONIC__sn_cx_responsive"],"sources":["webpack:///css-loader/6.7.1/dist/runtime/api.js","webpack:///css-loader/6.7.1/dist/runtime/noSourceMaps.js","webpack:///sn-cx-responsive/src/components/sn-cx-card/styles.scss","webpack:///sn-cx-responsive/src/components/sn-cx-stylized-text/styles.scss","webpack:///./src/components/sn-cx-card/styles.scss?77ce","webpack:///./src/components/sn-cx-stylized-text/styles.scss?b81b","webpack:///@babel/runtime/7.25.7/helpers/extends.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///external module \"/uxasset/externals/@servicenow/ui-core/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/library-schemas/28.4.1/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/ui-renderer-snabbdom/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/library-enhanced-utils/28.4.1/index.jsdbx\"","webpack:///sn-cx-responsive/src/components/sn-cx-stylized-text/index.js","webpack:///sn-cx-responsive/src/components/sn-cx-stylized-text/view.js","webpack:///sn-cx-responsive/src/components/sn-cx-card/utils.js","webpack:///sn-cx-responsive/src/components/sn-cx-card/index.js","webpack:///sn-cx-responsive/src/components/sn-cx-card/view.js","webpack:///sn-cx-responsive/src/__imaginary__/entry-wrapper.js"],"sourcesContent":["\"use strict\";\n\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n  var list = []; // return the list of modules as css string\n\n  list.toString = function toString() {\n    return this.map(function (item) {\n      var content = \"\";\n      var needLayer = typeof item[5] !== \"undefined\";\n\n      if (item[4]) {\n        content += \"@supports (\".concat(item[4], \") {\");\n      }\n\n      if (item[2]) {\n        content += \"@media \".concat(item[2], \" {\");\n      }\n\n      if (needLayer) {\n        content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n      }\n\n      content += cssWithMappingToString(item);\n\n      if (needLayer) {\n        content += \"}\";\n      }\n\n      if (item[2]) {\n        content += \"}\";\n      }\n\n      if (item[4]) {\n        content += \"}\";\n      }\n\n      return content;\n    }).join(\"\");\n  }; // import a list of modules into the list\n\n\n  list.i = function i(modules, media, dedupe, supports, layer) {\n    if (typeof modules === \"string\") {\n      modules = [[null, modules, undefined]];\n    }\n\n    var alreadyImportedModules = {};\n\n    if (dedupe) {\n      for (var k = 0; k < this.length; k++) {\n        var id = this[k][0];\n\n        if (id != null) {\n          alreadyImportedModules[id] = true;\n        }\n      }\n    }\n\n    for (var _k = 0; _k < modules.length; _k++) {\n      var item = [].concat(modules[_k]);\n\n      if (dedupe && alreadyImportedModules[item[0]]) {\n        continue;\n      }\n\n      if (typeof layer !== \"undefined\") {\n        if (typeof item[5] === \"undefined\") {\n          item[5] = layer;\n        } else {\n          item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n          item[5] = layer;\n        }\n      }\n\n      if (media) {\n        if (!item[2]) {\n          item[2] = media;\n        } else {\n          item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n          item[2] = media;\n        }\n      }\n\n      if (supports) {\n        if (!item[4]) {\n          item[4] = \"\".concat(supports);\n        } else {\n          item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n          item[4] = supports;\n        }\n      }\n\n      list.push(item);\n    }\n  };\n\n  return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n  return i[1];\n};","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}:host{display:block}.nowCardContainer{block-size:inherit;position:relative}.nowCardContainer:hover .now-card{background-color:RGB(var(--now-card--background-color--hover,var(--now-card--background-color,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255)))),var(--now-card--background-color-alpha--hover,var(--now-card--background-color-alpha,0)));border-color:RGB(var(--now-card--border-color--hover,var(--now-color_border--secondary,var(--now-color--neutral-5,172,180,181))));border-width:var(--now-card--border-width--hover,var(--now-card--border-width,var(--now-container--border-width,1px)));box-shadow:0 .25rem .5rem 0 RGB(56,56,56,var(--now-opacity--less,.25))}.now-card{background-color:RGB(var(--now-card--background-color,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))),var(--now-card--background-color-alpha,0));block-size:inherit;border-color:RGB(var(--now-card--border-color,var(--now-color_border--tertiary,var(--now-color--neutral-3,209,214,214))));border-radius:var(--now-card--border-radius,var(--now-container--border-radius,.25rem));border-style:solid;border-width:var(--now-card--border-width,var(--now-container--border-width,1px));box-shadow:0 .125rem .25rem 0 RGB(56,56,56,var(--now-opacity--less,.25));overflow:hidden}.now-card.hide-shadow{box-shadow:none}.now-card.is-interactive{background-color:RGB(var(--now-card--background-color,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))),var(--now-card--background-color-alpha,0));block-size:100%;cursor:pointer;inline-size:100%;inset-block-start:0;inset-inline-start:0;outline:none;padding:0;position:absolute}.now-card.is-interactive::-moz-focus-inner{border-style:none}.now-card.is-interactive:focus{box-shadow:0 0 0 2px RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255)))),0 0 0 4px RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142)))}.now-card.has-sidebar:after{content:\\\"\\\";inline-size:.25rem;inset-block:0;inset-inline-start:0;position:absolute}.now-card.has-sidebar.-critical.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_critical--background-color,var(--now-color_alert--critical-2,200,60,54)))}.now-card.has-sidebar.-critical.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_critical--background-color,var(--now-color_alert--critical-1,221,133,129)))}.now-card.has-sidebar.-critical.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_critical--background-color,var(--now-color_alert--critical-0,241,206,205)))}.now-card.has-sidebar.-high.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_high--background-color,var(--now-color_alert--high-4,133,87,20)))}.now-card.has-sidebar.-high.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_high--background-color,var(--now-color_alert--high-1,234,186,117)))}.now-card.has-sidebar.-high.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_high--background-color,var(--now-color_alert--high-0,247,228,200)))}.now-card.has-sidebar.-warning.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_warning--background-color,var(--now-color_alert--warning-4,149,139,17)))}.now-card.has-sidebar.-warning.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_warning--background-color,var(--now-color_alert--warning-1,227,218,96)))}.now-card.has-sidebar.-warning.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_warning--background-color,var(--now-color_alert--warning-0,244,240,191)))}.now-card.has-sidebar.-moderate.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_moderate--background-color,var(--now-color_alert--moderate-2,84,86,207)))}.now-card.has-sidebar.-moderate.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_moderate--background-color,var(--now-color_alert--moderate-1,148,149,225)))}.now-card.has-sidebar.-moderate.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_moderate--background-color,var(--now-color_alert--moderate-0,212,213,243)))}.now-card.has-sidebar.-positive.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_positive--background-color,var(--now-color_alert--positive-2,37,131,43)))}.now-card.has-sidebar.-positive.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_positive--background-color,var(--now-color_alert--positive-1,119,178,123)))}.now-card.has-sidebar.-positive.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_positive--background-color,var(--now-color_alert--positive-0,201,224,202)))}.now-card.has-sidebar.-info.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_info--background-color,var(--now-color_alert--info-2,14,120,196)))}.now-card.has-sidebar.-info.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_info--background-color,var(--now-color_alert--info-1,104,171,218)))}.now-card.has-sidebar.-info.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_info--background-color,var(--now-color_alert--info-0,195,221,240)))}.now-card.has-sidebar.-low.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_low--background-color,var(--now-color_alert--low-2,102,102,102)))}.now-card.has-sidebar.-low.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_low--background-color,var(--now-color_alert--low-1,159,159,159)))}.now-card.has-sidebar.-low.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_low--background-color,var(--now-color_alert--low-0,217,217,217)))}.now-card.has-sidebar.-magenta.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_magenta--background-color,var(--now-color_grouped--magenta-4,142,85,135)))}.now-card.has-sidebar.-magenta.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_magenta--background-color,var(--now-color_grouped--magenta-1,221,168,215)))}.now-card.has-sidebar.-magenta.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_magenta--background-color,var(--now-color_grouped--magenta-0,239,215,236)))}.now-card.has-sidebar.-pink.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_pink--background-color,var(--now-color_grouped--pink-4,142,85,100)))}.now-card.has-sidebar.-pink.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_pink--background-color,var(--now-color_grouped--pink-1,221,168,182)))}.now-card.has-sidebar.-pink.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_pink--background-color,var(--now-color_grouped--pink-0,239,215,221)))}.now-card.has-sidebar.-orange.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_orange--background-color,var(--now-color_grouped--orange-4,151,90,74)))}.now-card.has-sidebar.-orange.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_orange--background-color,var(--now-color_grouped--orange-1,229,173,158)))}.now-card.has-sidebar.-orange.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_orange--background-color,var(--now-color_grouped--orange-0,243,217,210)))}.now-card.has-sidebar.-yellow.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_yellow--background-color,var(--now-color_grouped--yellow-4,168,145,71)))}.now-card.has-sidebar.-yellow.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_yellow--background-color,var(--now-color_grouped--yellow-1,245,224,155)))}.now-card.has-sidebar.-yellow.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_yellow--background-color,var(--now-color_grouped--yellow-0,251,241,209)))}.now-card.has-sidebar.-brown.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_brown--background-color,var(--now-color_grouped--brown-4,109,97,83)))}.now-card.has-sidebar.-brown.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_brown--background-color,var(--now-color_grouped--brown-1,191,179,167)))}.now-card.has-sidebar.-brown.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_brown--background-color,var(--now-color_grouped--brown-0,225,220,214)))}.now-card.has-sidebar.-green.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_green--background-color,var(--now-color_grouped--green-4,103,119,88)))}.now-card.has-sidebar.-green.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_green--background-color,var(--now-color_grouped--green-1,185,200,171)))}.now-card.has-sidebar.-green.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_green--background-color,var(--now-color_grouped--green-0,223,230,216)))}.now-card.has-sidebar.-green-yellow.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_green-yellow--background-color,var(--now-color_grouped--green-yellow-4,108,121,66)))}.now-card.has-sidebar.-green-yellow.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_green-yellow--background-color,var(--now-color_grouped--green-yellow-1,189,202,150)))}.now-card.has-sidebar.-green-yellow.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_green-yellow--background-color,var(--now-color_grouped--green-yellow-0,225,230,207)))}.now-card.has-sidebar.-blue.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_blue--background-color,var(--now-color_grouped--blue-4,84,123,143)))}.now-card.has-sidebar.-blue.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_blue--background-color,var(--now-color_grouped--blue-1,167,204,222)))}.now-card.has-sidebar.-blue.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_blue--background-color,var(--now-color_grouped--blue-0,215,231,240)))}.now-card.has-sidebar.-gray.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_gray--background-color,var(--now-color_grouped--gray-4,97,102,105)))}.now-card.has-sidebar.-gray.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_gray--background-color,var(--now-color_grouped--gray-1,180,184,187)))}.now-card.has-sidebar.-gray.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_gray--background-color,var(--now-color_grouped--gray-0,220,222,224)))}.now-card.has-sidebar.-teal.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_teal--background-color,var(--now-color_grouped--teal-4,73,122,114)))}.now-card.has-sidebar.-teal.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_teal--background-color,var(--now-color_grouped--teal-1,157,202,195)))}.now-card.has-sidebar.-teal.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_teal--background-color,var(--now-color_grouped--teal-0,210,231,227)))}.now-card.has-sidebar.-purple.-primary:after{background-color:RGB(var(--now-card_sidebar--primary_purple--background-color,var(--now-color_grouped--purple-4,127,109,146)))}.now-card.has-sidebar.-purple.-secondary:after{background-color:RGB(var(--now-card_sidebar--secondary_purple--background-color,var(--now-color_grouped--purple-1,207,190,225)))}.now-card.has-sidebar.-purple.-tertiary:after{background-color:RGB(var(--now-card_sidebar--tertiary_purple--background-color,var(--now-color_grouped--purple-0,233,225,241)))}.now-card-slot{font-family:var(--now-card--font-family,var(--now-container--font-family,var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif)));font-style:var(--now-card--font-style,var(--now-container--font-style,normal));font-variant:normal;font-weight:var(--now-card--font-weight,var(--now-container--font-weight,normal));letter-spacing:inherit;position:relative;text-indent:0;text-shadow:none;text-transform:var(--now-card--text-transform,var(--now-container--text-transform,none));white-space:normal;word-spacing:inherit}.now-card-slot.is-interactive{block-size:inherit;cursor:pointer}.now-card-slot.-sm{padding:calc(.25rem*var(--now-card--scale-size-block, 1)) calc(1rem*var(--now-card--scale-size-inline, 1))}.now-card-slot.-md{padding:calc(.5rem*var(--now-card--scale-size-block, 1)) calc(1rem*var(--now-card--scale-size-inline, 1))}.now-card-slot.-lg{padding:calc(1rem*var(--now-card--scale-size, 1))}@media(forced-colors:active){.now-card{border-width:1px}.now-card.is-interactive{background-color:buttonface;border-color:buttonborder}.now-card.is-interactive:focus,.nowCardContainer:hover .now-card.is-interactive{background-color:highlighttext;border-color:highlight}.now-card.is-interactive:focus::-moz-focus-inner{border-style:none}.now-card.is-interactive:focus:focus{box-shadow:inset 0 0 0 .125rem RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))),inset 0 0 0 .1875rem RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))));outline:none}}@media(forced-colors:active)and (forced-colors:active){.now-card.is-interactive:focus:focus{outline:1px solid highlight}}@media(forced-colors:active){.now-card-slot.is-interactive{padding:1rem}}a{border-radius:var(--now-card--border-radius,var(--now-container--border-radius,.25rem));text-decoration:none}a:active,a:focus{outline:RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))) auto 1px;outline-offset:2px!important}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.now-line-height-crop{display:block}.now-line-height-crop:after,.now-line-height-crop:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1)}.now-line-height-crop:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1)}.now-line-height-crop+.now-line-height-crop{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1*-1)}.now-line-height-crop--sm{display:block}.now-line-height-crop--sm:after,.now-line-height-crop--sm:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop--sm:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1.06664)}.now-line-height-crop--sm:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1.06664)}.now-line-height-crop--sm+.now-line-height-crop--sm{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1.06664*-1)}.now-heading--lg,.now-heading--md,.now-heading--xl{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-weight:600}.now-heading--md{font-size:var(--now-font-size--md1,1rem)}.now-heading--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-heading--xl{font-size:var(--now-font-size--xl,2.5rem)}.now-text--normal{font-weight:400}.now-text--semibold{font-weight:600}.now-text--bold{font-weight:700}.now-text--sm{font-size:var(--now-font-size--sm,.75rem)}.now-text--md{font-size:var(--now-font-size--md1,1rem)}.now-text--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-text--primary{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}.now-text--secondary{color:RGB(var(--now-color_text--secondary,var(--now-color--neutral-15,44,53,55)))}.now-text--tertiary{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}.now-m-block--xxs{margin-block-end:.125rem}.now-m-block--xxs,.now-m-block-start--xxs{margin-block-start:.125rem}.now-m-block-end--xxs{margin-block-end:.125rem}.now-m-inline--xxs{margin-inline-end:.125rem}.now-m-inline--xxs,.now-m-inline-start--xxs{margin-inline-start:.125rem}.now-m-inline-end--xxs{margin-inline-end:.125rem}.now-m-block--xs{margin-block-end:.25rem}.now-m-block--xs,.now-m-block-start--xs{margin-block-start:.25rem}.now-m-block-end--xs{margin-block-end:.25rem}.now-m-inline--xs{margin-inline-end:.25rem}.now-m-inline--xs,.now-m-inline-start--xs{margin-inline-start:.25rem}.now-m-inline-end--xs{margin-inline-end:.25rem}.now-m-block--sm{margin-block-end:.5rem}.now-m-block--sm,.now-m-block-start--sm{margin-block-start:.5rem}.now-m-block-end--sm{margin-block-end:.5rem}.now-m-inline--sm{margin-inline-end:.5rem}.now-m-inline--sm,.now-m-inline-start--sm{margin-inline-start:.5rem}.now-m-inline-end--sm{margin-inline-end:.5rem}.now-m-block--md{margin-block-end:.75rem}.now-m-block--md,.now-m-block-start--md{margin-block-start:.75rem}.now-m-block-end--md{margin-block-end:.75rem}.now-m-inline--md{margin-inline-end:.75rem}.now-m-inline--md,.now-m-inline-start--md{margin-inline-start:.75rem}.now-m-inline-end--md{margin-inline-end:.75rem}.now-m-block--lg{margin-block-end:1rem}.now-m-block--lg,.now-m-block-start--lg{margin-block-start:1rem}.now-m-block-end--lg{margin-block-end:1rem}.now-m-inline--lg{margin-inline-end:1rem}.now-m-inline--lg,.now-m-inline-start--lg{margin-inline-start:1rem}.now-m-inline-end--lg{margin-inline-end:1rem}.now-m-block--xl{margin-block-end:1.5rem}.now-m-block--xl,.now-m-block-start--xl{margin-block-start:1.5rem}.now-m-block-end--xl{margin-block-end:1.5rem}.now-m-inline--xl{margin-inline-end:1.5rem}.now-m-inline--xl,.now-m-inline-start--xl{margin-inline-start:1.5rem}.now-m-inline-end--xl{margin-inline-end:1.5rem}.now-m-block--xxl{margin-block-end:2rem}.now-m-block--xxl,.now-m-block-start--xxl{margin-block-start:2rem}.now-m-block-end--xxl{margin-block-end:2rem}.now-m-inline--xxl{margin-inline-end:2rem}.now-m-inline--xxl,.now-m-inline-start--xxl{margin-inline-start:2rem}.now-m-inline-end--xxl{margin-inline-end:2rem}.now-m-block--3xl{margin-block-end:2.5rem}.now-m-block--3xl,.now-m-block-start--3xl{margin-block-start:2.5rem}.now-m-block-end--3xl{margin-block-end:2.5rem}.now-m-inline--3xl{margin-inline-end:2.5rem}.now-m-inline--3xl,.now-m-inline-start--3xl{margin-inline-start:2.5rem}.now-m-inline-end--3xl{margin-inline-end:2.5rem}.now-m-block--0{margin-block-end:0}.now-m-block--0,.now-m-block-start--0{margin-block-start:0}.now-m-block-end--0{margin-block-end:0}.now-m-inline--0{margin-inline-end:0}.now-m-inline--0,.now-m-inline-start--0{margin-inline-start:0}.now-m-inline-end--0{margin-inline-end:0}.now-p-block--xxs{padding-block-end:.125rem}.now-p-block--xxs,.now-p-block-start--xxs{padding-block-start:.125rem}.now-p-block-end--xxs{padding-block-end:.125rem}.now-p-inline--xxs{padding-inline-end:.125rem}.now-p-inline--xxs,.now-p-inline-start--xxs{padding-inline-start:.125rem}.now-p-inline-end--xxs{padding-inline-end:.125rem}.now-p-block--xs{padding-block-end:.25rem}.now-p-block--xs,.now-p-block-start--xs{padding-block-start:.25rem}.now-p-block-end--xs{padding-block-end:.25rem}.now-p-inline--xs{padding-inline-end:.25rem}.now-p-inline--xs,.now-p-inline-start--xs{padding-inline-start:.25rem}.now-p-inline-end--xs{padding-inline-end:.25rem}.now-p-block--sm{padding-block-end:.5rem}.now-p-block--sm,.now-p-block-start--sm{padding-block-start:.5rem}.now-p-block-end--sm{padding-block-end:.5rem}.now-p-inline--sm{padding-inline-end:.5rem}.now-p-inline--sm,.now-p-inline-start--sm{padding-inline-start:.5rem}.now-p-inline-end--sm{padding-inline-end:.5rem}.now-p-block--md{padding-block-end:.75rem}.now-p-block--md,.now-p-block-start--md{padding-block-start:.75rem}.now-p-block-end--md{padding-block-end:.75rem}.now-p-inline--md{padding-inline-end:.75rem}.now-p-inline--md,.now-p-inline-start--md{padding-inline-start:.75rem}.now-p-inline-end--md{padding-inline-end:.75rem}.now-p-block--lg{padding-block-end:1rem}.now-p-block--lg,.now-p-block-start--lg{padding-block-start:1rem}.now-p-block-end--lg{padding-block-end:1rem}.now-p-inline--lg{padding-inline-end:1rem}.now-p-inline--lg,.now-p-inline-start--lg{padding-inline-start:1rem}.now-p-inline-end--lg{padding-inline-end:1rem}.now-p-block--xl{padding-block-end:1.5rem}.now-p-block--xl,.now-p-block-start--xl{padding-block-start:1.5rem}.now-p-block-end--xl{padding-block-end:1.5rem}.now-p-inline--xl{padding-inline-end:1.5rem}.now-p-inline--xl,.now-p-inline-start--xl{padding-inline-start:1.5rem}.now-p-inline-end--xl{padding-inline-end:1.5rem}.now-p-block--xxl{padding-block-end:2rem}.now-p-block--xxl,.now-p-block-start--xxl{padding-block-start:2rem}.now-p-block-end--xxl{padding-block-end:2rem}.now-p-inline--xxl{padding-inline-end:2rem}.now-p-inline--xxl,.now-p-inline-start--xxl{padding-inline-start:2rem}.now-p-inline-end--xxl{padding-inline-end:2rem}.now-p-block--3xl{padding-block-end:2.5rem}.now-p-block--3xl,.now-p-block-start--3xl{padding-block-start:2.5rem}.now-p-block-end--3xl{padding-block-end:2.5rem}.now-p-inline--3xl{padding-inline-end:2.5rem}.now-p-inline--3xl,.now-p-inline-start--3xl{padding-inline-start:2.5rem}.now-p-inline-end--3xl{padding-inline-end:2.5rem}.now-p-block--0{padding-block-end:0}.now-p-block--0,.now-p-block-start--0{padding-block-start:0}.now-p-block-end--0{padding-block-end:0}.now-p-inline--0{padding-inline-end:0}.now-p-inline--0,.now-p-inline-start--0{padding-inline-start:0}.now-p-inline-end--0{padding-inline-end:0}:host{color:var(--now-sn-cx-stylized-text--color,var(--arc-color-text-primary-on-dark,#fff));display:block;font-family:var(--sn-cx-stylized-text--font-family,var(--now-font-family-gilroy,Gilroy));font-style:var(--now-sn-cx-stylized-text--font-style,normal);text-align:var(--now-sn-cx-stylized-text--text-align,center);word-break:break-word}:host h1{font-size:var(--now-sn-cx-stylized-text--h1--xs--font-size,32px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--h1--xs--line-height,35px)}@media(min-width:576px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--sm--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h1--sm--line-height,35px)}}@media(min-width:768px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--md--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h1--md--line-height,35px)}}@media(min-width:1024px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--lg--font-size,64px);line-height:var(--now-sn-cx-stylized-text--h1--lg--line-height,60px)}}@media(min-width:1280px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--xl--font-size,64px);line-height:var(--now-sn-cx-stylized-text--h1--xl--line-height,60px)}}@media(min-width:1366px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--2xl--font-size,80px);line-height:var(--now-sn-cx-stylized-text--h1--2xl--line-height,70px)}}@media(min-width:1440px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--3xl--font-size,102px);line-height:var(--now-sn-cx-stylized-text--h1--3xl--line-height,90px)}}@media(min-width:1680px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--4xl--font-size,102px);line-height:var(--now-sn-cx-stylized-text--h1--4xl--line-height,90px)}}@media(min-width:1920px){:host h1{font-size:var(--now-sn-cx-stylized-text--h1--5xl--font-size,102px);line-height:var(--now-sn-cx-stylized-text--h1--5xl--line-height,90px)}}:host h2{font-size:var(--now-sn-cx-stylized-text--h2--xs--font-size,16px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--h2--xs--line-height,17.6px)}@media(min-width:576px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--sm--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h2--sm--line-height,22px)}}@media(min-width:768px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--md--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h2--md--line-height,35.2px)}}@media(min-width:1024px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--lg--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h2--lg--line-height,35.2px)}}@media(min-width:1280px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--xl--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h2--xl--line-height,35.2px)}}@media(min-width:1366px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--2xl--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h2--2xl--line-height,35.2px)}}@media(min-width:1440px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--3xl--font-size,40px);line-height:var(--now-sn-cx-stylized-text--h2--3xl--line-height,44px)}}@media(min-width:1680px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--4xl--font-size,40px);line-height:var(--now-sn-cx-stylized-text--h2--4xl--line-height,44px)}}@media(min-width:1920px){:host h2{font-size:var(--now-sn-cx-stylized-text--h2--5xl--font-size,40px);line-height:var(--now-sn-cx-stylized-text--h2--5xl--line-height,44px)}}:host h3{font-size:var(--now-sn-cx-stylized-text--h3--xs--font-size,24px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--h3--xs--line-height,26px)}@media(min-width:576px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--sm--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h3--sm--line-height,26px)}}@media(min-width:768px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--md--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h3--md--line-height,26px)}}@media(min-width:1024px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--lg--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h3--lg--line-height,35px)}}@media(min-width:1280px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--xl--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h3--xl--line-height,35px)}}@media(min-width:1366px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--2xl--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h3--2xl--line-height,35px)}}@media(min-width:1440px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--3xl--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h3--3xl--line-height,35px)}}@media(min-width:1680px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--4xl--font-size,64px);line-height:var(--now-sn-cx-stylized-text--h3--4xl--line-height,70px)}}@media(min-width:1920px){:host h3{font-size:var(--now-sn-cx-stylized-text--h3--5xl--font-size,64px);line-height:var(--now-sn-cx-stylized-text--h3--5xl--line-height,70px)}}:host h4{font-size:var(--now-sn-cx-stylized-text--h4--xs--font-size,20px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--h4--xs--line-height,22px)}@media(min-width:576px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--sm--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h4--sm--line-height,22px)}}@media(min-width:768px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--md--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h4--md--line-height,22px)}}@media(min-width:1024px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--lg--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h4--lg--line-height,26px)}}@media(min-width:1280px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h4--xl--line-height,26px)}}@media(min-width:1366px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--2xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h4--2xl--line-height,26px)}}@media(min-width:1440px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--3xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h4--3xl--line-height,26px)}}@media(min-width:1680px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--4xl--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h4--4xl--line-height,35px)}}@media(min-width:1920px){:host h4{font-size:var(--now-sn-cx-stylized-text--h4--5xl--font-size,32px);line-height:var(--now-sn-cx-stylized-text--h4--5xl--line-height,35px)}}:host h5{font-size:var(--now-sn-cx-stylized-text--h5--xs--font-size,16px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--h5--xs--line-height,17.6px)}@media(min-width:576px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--sm--font-size,16px);line-height:var(--now-sn-cx-stylized-text--h5--sm--line-height,17.6px)}}@media(min-width:768px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--md--font-size,16px);line-height:var(--now-sn-cx-stylized-text--h5--md--line-height,17.6px)}}@media(min-width:1024px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--lg--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h5--lg--line-height,22px)}}@media(min-width:1280px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--xl--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h5--xl--line-height,22px)}}@media(min-width:1366px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--2xl--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h5--2xl--line-height,22px)}}@media(min-width:1440px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--3xl--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h5--3xl--line-height,22px)}}@media(min-width:1680px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--4xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h5--4xl--line-height,26px)}}@media(min-width:1920px){:host h5{font-size:var(--now-sn-cx-stylized-text--h5--5xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--h5--5xl--line-height,26px)}}:host h6{font-size:var(--now-sn-cx-stylized-text--h6--xs--font-size,13px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--h6--xs--line-height,15px)}@media(min-width:576px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--sm--font-size,13px);line-height:var(--now-sn-cx-stylized-text--h6--sm--line-height,15px)}}@media(min-width:768px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--md--font-size,13px);line-height:var(--now-sn-cx-stylized-text--h6--md--line-height,15px)}}@media(min-width:1024px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--lg--font-size,16px);line-height:var(--now-sn-cx-stylized-text--h6--lg--line-height,18px)}}@media(min-width:1280px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--xl--font-size,64px);line-height:var(--now-sn-cx-stylized-text--h6--xl--line-height,60px)}}@media(min-width:1366px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--2xl--font-size,18px);line-height:var(--now-sn-cx-stylized-text--h6--2xl--line-height,20px)}}@media(min-width:1440px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--3xl--font-size,18px);line-height:var(--now-sn-cx-stylized-text--h6--3xl--line-height,20px)}}@media(min-width:1680px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--4xl--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h6--4xl--line-height,22px)}}@media(min-width:1920px){:host h6{font-size:var(--now-sn-cx-stylized-text--h6--5xl--font-size,20px);line-height:var(--now-sn-cx-stylized-text--h6--5xl--line-height,22px)}}:host p{font-size:var(--now-sn-cx-stylized-text--p--xs--font-size,13px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--p--xs--line-height,15px)}@media(min-width:576px){:host p{font-size:var(--now-sn-cx-stylized-text--p--sm--font-size,13px);line-height:var(--now-sn-cx-stylized-text--p--sm--line-height,15px)}}@media(min-width:768px){:host p{font-size:var(--now-sn-cx-stylized-text--p--md--font-size,13px);line-height:var(--now-sn-cx-stylized-text--p--md--line-height,15px)}}@media(min-width:1024px){:host p{font-size:var(--now-sn-cx-stylized-text--p--lg--font-size,16px);line-height:var(--now-sn-cx-stylized-text--p--lg--line-height,18px)}}@media(min-width:1280px){:host p{font-size:var(--now-sn-cx-stylized-text--p--xl--font-size,18px);line-height:var(--now-sn-cx-stylized-text--p--xl--line-height,20px)}}@media(min-width:1366px){:host p{font-size:var(--now-sn-cx-stylized-text--p--2xl--font-size,18px);line-height:var(--now-sn-cx-stylized-text--p--2xl--line-height,20px)}}@media(min-width:1440px){:host p{font-size:var(--now-sn-cx-stylized-text--p--3xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--p--3xl--line-height,26px)}}@media(min-width:1680px){:host p{font-size:var(--now-sn-cx-stylized-text--p--4xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--p--4xl--line-height,26px)}}@media(min-width:1920px){:host p{font-size:var(--now-sn-cx-stylized-text--p--5xl--font-size,28px);line-height:var(--now-sn-cx-stylized-text--p--5xl--line-height,30px)}}:host span{font-size:var(--now-sn-cx-stylized-text--span--xs--font-size,13px);font-weight:400;line-height:var(--now-sn-cx-stylized-text--span--xs--line-height,15px)}@media(min-width:576px){:host span{font-size:var(--now-sn-cx-stylized-text--span--sm--font-size,13px);line-height:var(--now-sn-cx-stylized-text--span--sm--line-height,15px)}}@media(min-width:768px){:host span{font-size:var(--now-sn-cx-stylized-text--span--md--font-size,13px);line-height:var(--now-sn-cx-stylized-text--span--md--line-height,15px)}}@media(min-width:1024px){:host span{font-size:var(--now-sn-cx-stylized-text--span--lg--font-size,16px);line-height:var(--now-sn-cx-stylized-text--span--lg--line-height,18px)}}@media(min-width:1280px){:host span{font-size:var(--now-sn-cx-stylized-text--span--xl--font-size,16px);line-height:var(--now-sn-cx-stylized-text--span--xl--line-height,18px)}}@media(min-width:1366px){:host span{font-size:var(--now-sn-cx-stylized-text--span--2xl--font-size,18px);line-height:var(--now-sn-cx-stylized-text--span--2xl--line-height,20px)}}@media(min-width:1440px){:host span{font-size:var(--now-sn-cx-stylized-text--span--3xl--font-size,20px);line-height:var(--now-sn-cx-stylized-text--span--3xl--line-height,22px)}}@media(min-width:1680px){:host span{font-size:var(--now-sn-cx-stylized-text--span--4xl--font-size,20px);line-height:var(--now-sn-cx-stylized-text--span--4xl--line-height,22px)}}@media(min-width:1920px){:host span{font-size:var(--now-sn-cx-stylized-text--span--5xl--font-size,24px);line-height:var(--now-sn-cx-stylized-text--span--5xl--line-height,26px)}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./styles.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./styles.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","function _extends() {\n  return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"actionTypes\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t\t} else if ('actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.actionTypes || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t}, [\"createCustomElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t\t} else if ('createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.createCustomElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"configAriaLabelRoleSchema\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__.__esModule\n\t\t\t\t\tif (cjsModule && 'configAriaLabelRoleSchema' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"].configAriaLabelRoleSchema;\n\t\t\t\t\t} else if ('configAriaLabelRoleSchema' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__.configAriaLabelRoleSchema || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"].configAriaLabelRoleSchema;\n\t\t\t\t}, [\"configAriaLabelSchema\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__.__esModule\n\t\t\t\t\tif (cjsModule && 'configAriaLabelSchema' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"].configAriaLabelSchema;\n\t\t\t\t\t} else if ('configAriaLabelSchema' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__.configAriaLabelSchema || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_schemas_28_4_1_index_jsdbx_a3d90a2a__[\"default\"].configAriaLabelSchema;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"createElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t\t} else if ('createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.createElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"filterAriaAttributes\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__.__esModule\n\t\t\t\t\tif (cjsModule && 'filterAriaAttributes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"].filterAriaAttributes;\n\t\t\t\t\t} else if ('filterAriaAttributes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__.filterAriaAttributes || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_library_enhanced_utils_28_4_1_index_jsdbx_22bd3cb8__[\"default\"].filterAriaAttributes;\n\t\t\t\t} });","import {createCustomElement, actionTypes} from '@servicenow/ui-core';\nimport {configAriaLabelRoleSchema} from '@servicenow/library-schemas';\nimport styles from './styles.scss';\nimport {view} from './view';\n\nconst {COMPONENT_DOM_READY} = actionTypes;\n\nconst checkForScrollableContent = (host) => {\n\tconst stylizedTextContainer = host?.parentNode;\n\tif (\n\t\tstylizedTextContainer.clientHeight !== stylizedTextContainer.scrollHeight\n\t) {\n\t\thost.setAttribute('tabindex', 0);\n\t}\n};\n\ncreateCustomElement('sn-cx-stylized-text', {\n\tproperties: {\n\t\t/**\n\t\t * The tag for the HTML element (h1-h5, p, span)\n\t\t */\n\t\ttag: {\n\t\t\tdefault: 'h1',\n\t\t\tschema: {\n\t\t\t\ttype: 'string',\n\t\t\t\tenum: ['h1', 'h2', 'h3', 'h4', 'h5', 'p', 'span']\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The actual text content to display\n\t\t */\n\t\ttext: {\n\t\t\tdefault: '',\n\t\t\tschema: {type: 'string'}\n\t\t},\n\t\t/**\n\t\t * Raw CSS to inject, scoped to the text\n\t\t */\n\t\tcss: {\n\t\t\tdefault: '',\n\t\t\tschema: {type: 'string'}\n\t\t},\n\t\t/**\n\t\t * ARIA attributes for accessibility\n\t\t */\n\t\tconfigAria: {\n\t\t\tdeepCompare: true,\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tinput: configAriaLabelRoleSchema\n\t\t\t\t},\n\t\t\t\tadditionalProperties: false\n\t\t\t}\n\t\t}\n\t},\n\tview,\n\tstyles,\n\tactionHandlers: {\n\t\t[COMPONENT_DOM_READY]: ({host}) => {\n\t\t\tcheckForScrollableContent(host);\n\t\t}\n\t}\n});\n","import {filterAriaAttributes} from '@servicenow/library-enhanced-utils';\n\nexport const view = ({\n\tproperties: {tag: TAG = 'h1', text, css, configAria}\n}) => {\n\treturn css ? (\n\t\t<div>\n\t\t\t<style style={{display: 'none'}}>{`div ${css}`}<\/style>\n\t\t\t<TAG {...filterAriaAttributes(configAria, 'input')}>{text}<\/TAG>\n\t\t<\/div>\n\t) : (\n\t\t<TAG {...filterAriaAttributes(configAria, 'input')}>{text}<\/TAG>\n\t);\n};\n","import {isFocusable} from '@servicenow/library-enhanced-utils';\n\nexport const elementIsFocusable = (evt) => {\n\tconst composedPath = evt.composedPath();\n\tconst currentTarget = evt.currentTarget;\n\tfor (let i = 0; i < composedPath.length; i++) {\n\t\tif (composedPath[i] === currentTarget) {\n\t\t\treturn false;\n\t\t}\n\t\tif (isFocusable(composedPath[i])) {\n\t\t\treturn true;\n\t\t}\n\t}\n};\n\nconst isSupportedExperience = (\n\tcontextPath,\n\texperienceConfigs = window?.ux_globals?.experienceConfigs || {}\n) => {\n\treturn (\n\t\t!!experienceConfigs[contextPath]?.appRouteConfiguration?.routes || false\n\t);\n};\n\nconst getExperienceName = (\n\tcontextPath,\n\texperienceConfigs = window?.ux_globals?.experienceConfigs || {}\n) => {\n\treturn experienceConfigs[contextPath]?.experienceName || '';\n};\n\nconst getRouteFields = (\n\tcontextPath,\n\troute,\n\texperienceConfigs = window?.ux_globals?.experienceConfigs || {}\n) => {\n\treturn (\n\t\texperienceConfigs[contextPath]?.appRouteConfiguration?.routes?.[route][0]\n\t\t\t?.fields || []\n\t);\n};\n\nexport function getRouteConfig(url) {\n\tlet urlParts;\n\ttry {\n\t\turlParts = new URL(url);\n\t} catch (error) {\n\t\treturn null;\n\t}\n\tvar parts = urlParts.pathname.split('/params/');\n\tvar fields = parts[0].split('/');\n\tif (fields && fields.length > 3) {\n\t\tfields.shift(); //Remove first slash\n\t\tvar contextPath = fields.shift() + '/' + fields.shift();\n\t\tconst routeValue = fields.shift();\n\t\tif (isSupportedExperience(contextPath)) {\n\t\t\tvar routeConfig = {\n\t\t\t\troute: routeValue,\n\t\t\t\tfields: {},\n\t\t\t\tcontext: {\n\t\t\t\t\tpath: contextPath,\n\t\t\t\t\texperienceName: getExperienceName(contextPath)\n\t\t\t\t},\n\t\t\t\tqueryString: {},\n\t\t\t\tupdateUrl: true\n\t\t\t};\n\t\t\tconst routeFields = getRouteFields(contextPath, routeValue);\n\t\t\tif (routeFields.length !== fields.length) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tif (routeFields) {\n\t\t\t\tfor (let i = 0; i < routeFields.length; i++) {\n\t\t\t\t\trouteConfig.fields[routeFields[i]] = fields[i];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tvar params = parts[1];\n\t\t\tif (params) {\n\t\t\t\tvar paramValues = params.split('/');\n\t\t\t\tfor (let j = 0; j < paramValues.length; j = j + 2) {\n\t\t\t\t\trouteConfig.queryString[paramValues[j]] = paramValues[j + 1];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn routeConfig;\n\t\t}\n\t}\n\treturn null;\n}\n","import {createCustomElement} from '@servicenow/ui-core';\nimport {configAriaLabelSchema} from '@servicenow/library-schemas';\nimport styles from './styles.scss';\nimport {view} from './view';\n\n/**\n * A container for specific information in a simple, easily scannable format.\n * Provides a border, card-level interactivity, and a default slot for holding\n * card subcomponents.\n *\n * ```jsx\n * <sn-cx-card size=\"lg\">\n *   <sn-cx-card-header ... />\n *   <sn-cx-card-footer ... />\n * <\/sn-cx-card>\n * ```\n *\n * @seismicElement sn-cx-card\n * @summary A container for specific information in a simple, easily scannable format.\n * @uib.label Card Base Container\n * @uib.icon card-container\n * @uib.description A container for specific information in a simple, easily scannable format\n * @uib.category primitives\n * @uib.associatedTypes global.core\n * @uib.properties size, hideShadow, sidebar, configAria\n * @uib.layout.accessibility.children configAria\n * @uib.layout.accessibility.icon accessibility-outline\n * @uib.actions SN_CX_CARD#CLICKED\n */\ncreateCustomElement('sn-cx-card', {\n\tproperties: {\n\t\t/**\n\t\t * Defines the card's size.\n\t\t * @type {('sm'|'md'|'lg')}}\n\t\t * @uib.label Size\n\t\t * @uib.defaultValue lg\n\t\t * @uib.description Defines the card's size\n\t\t */\n\t\tsize: {default: 'lg', schema: {type: 'string', enum: ['sm', 'md', 'lg']}},\n\t\t/**\n\t\t * `false`: Card has dropshadow.\n\t\t * `true`: Card has no dropshadow.\n\t\t * @type {boolean}\n\t\t * @uib.label Hide Shadow\n\t\t * @uib.description Removes dropshadow of sn-cx-card\n\t\t * @uib.defaultValue false\n\t\t */\n\t\thideShadow: {default: false, schema: {type: 'boolean'}},\n\t\t/**\n\t\t * An object whose keys reference a specific HTML element within the\n\t\t * sn-cx-card. The value of each key is an object that contains an ARIA\n\t\t * property (or properties) and corresponding value/s. These ARIA\n\t\t * properties are set on the specified element.\n\t\t * @type {{'button': {'aria-*': string, role: string}, 'article': {'aria-*': string, role: string} }}\n\t\t * @uib.label ARIA properties\n\t\t * @uib.description Configures ARIA properties\n\t\t */\n\t\tconfigAria: {\n\t\t\tdeepCompare: true,\n\t\t\tschema: {\n\t\t\t\toneOf: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: 'object',\n\t\t\t\t\t\tproperties: {\n\t\t\t\t\t\t\tbutton: {...configAriaLabelSchema, required: ['aria-label']},\n\t\t\t\t\t\t\tarticle: configAriaLabelSchema\n\t\t\t\t\t\t},\n\t\t\t\t\t\tadditionalProperties: false\n\t\t\t\t\t},\n\t\t\t\t\tconfigAriaLabelSchema\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Specifies the URL to redirect to on click of the card.\n\t\t * @type {{string}}\n\t\t * @uib.label URL\n\t\t * @uib.description Specifies the URL to redirect to on click of the card.\n\t\t * @uib.defaultValue {}\n\t\t */\n\t\thref: {default: '', schema: {type: 'string'}},\n\t\t/**\n\t\t * Specifies whether the URL opens in a new tab or same tab.\n\t\t * the card. The value is an object with values for `color` and `variant`.\n\t\t * @type {{'_blank'|'_self'}}\n\t\t * @uib.label Target\n\t\t * @uib.description Specifies whether the URL opens in a new tab or same tab.\n\t\t * @uib.defaultValue _blank\n\t\t */\n\t\ttarget: {\n\t\t\tdefault: '_self',\n\t\t\tschema: {type: 'string', enum: ['_blank', '_self']}\n\t\t},\n\t\t/**\n\t\t * Specifies the color of the sidebar that appears along the side of\n\t\t * the card. The value is an object with values for `color` and `variant`.\n\t\t * @type {{color: ('critical'|'high'|'warning'|'moderate'|'positive'|'info'|'low'|'magenta'|'pink'|'orange'|'yellow'|'brown'|'green'|'green-yellow'|'blue'|'gray'|'teal'|'purple'), variant: ('primary'|'secondary'|'tertiary')}}\n\t\t * @uib.label Sidebar\n\t\t * @uib.description Specifies the color of the sidebar that appears along the side of the card - the value is an object with values for 'color' and 'variant'\n\t\t * @uib.defaultValue {}\n\t\t */\n\t\tsidebar: {\n\t\t\tschema: {\n\t\t\t\ttype: 'object',\n\t\t\t\tproperties: {\n\t\t\t\t\tcolor: {\n\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\tenum: [\n\t\t\t\t\t\t\t'critical',\n\t\t\t\t\t\t\t'high',\n\t\t\t\t\t\t\t'warning',\n\t\t\t\t\t\t\t'moderate',\n\t\t\t\t\t\t\t'positive',\n\t\t\t\t\t\t\t'info',\n\t\t\t\t\t\t\t'low',\n\t\t\t\t\t\t\t'magenta',\n\t\t\t\t\t\t\t'pink',\n\t\t\t\t\t\t\t'orange',\n\t\t\t\t\t\t\t'yellow',\n\t\t\t\t\t\t\t'brown',\n\t\t\t\t\t\t\t'green',\n\t\t\t\t\t\t\t'green-yellow',\n\t\t\t\t\t\t\t'blue',\n\t\t\t\t\t\t\t'gray',\n\t\t\t\t\t\t\t'teal',\n\t\t\t\t\t\t\t'purple'\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\tvariant: {type: 'string', enum: ['primary', 'secondary', 'tertiary']}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tinitialState: {},\n\tview,\n\tstyles,\n\tbehaviors: [],\n\tslots: {\n\t\t/**\n\t\t * `sn-cx-card` is a wrapper for the `defaultSlot`.\n\t\t * @defaultSlot\n\t\t */\n\t\tdefaultSlot: {}\n\t},\n\tdispatches: {\n\t\t/**\n\t\t * Dispatched when the card is clicked.\n\t\t * @type {{}}\n\t\t * @uib.description Dispatched when the card is clicked'\n\t\t */\n\t\t'SN_CX_CARD#CLICKED': {}\n\t}\n});\n","import {filterAriaAttributes} from '@servicenow/library-enhanced-utils';\nimport {getRouteConfig} from './utils';\n\nexport const view = (state, {dispatch}) => {\n\tconst {\n\t\tsize,\n\t\tconfigAria,\n\t\tsidebar,\n\t\thideShadow,\n\t\thref,\n\t\ttarget\n\t} = state.properties;\n\tconst color = sidebar && sidebar.color;\n\tconst variant = sidebar && sidebar.variant;\n\n\tconst onClick = () =>\n\t\tdispatch(() => ({\n\t\t\ttype: 'SN_CX_CARD#CLICKED',\n\t\t\tpayload: getRouteConfig(href) || {href}\n\t\t}));\n\tconst isSelfNavigation = (evt) =>\n\t\ttarget == '_self' && !(evt.metaKey || evt.ctrlKey);\n\n\tconst disableDefaultNavigation = (evt) => {\n\t\tif (isSelfNavigation(evt)) {\n\t\t\tevt.preventDefault();\n\t\t\tonClick();\n\t\t}\n\t};\n\n\treturn (\n\t\t<div\n\t\t\tclass={{\n\t\t\t\tnowCardContainer: true,\n\t\t\t\t'now-card-article': true\n\t\t\t}}\n\t\t\t{...filterAriaAttributes(configAria, 'article')}>\n\t\t\t<div\n\t\t\t\tclass={{\n\t\t\t\t\t'now-card': true,\n\t\t\t\t\t'is-interactive': true,\n\t\t\t\t\t'has-sidebar': sidebar,\n\t\t\t\t\t['-' + color]: color,\n\t\t\t\t\t['-' + variant]: variant,\n\t\t\t\t\t'hide-shadow': hideShadow\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t<div\n\t\t\t\tclass={{\n\t\t\t\t\t'now-card-slot': true,\n\t\t\t\t\t'is-interactive': true,\n\t\t\t\t\t['-' + size]: size\n\t\t\t\t}}>\n\t\t\t\t<a href={href} target={target} on-click={disableDefaultNavigation}>\n\t\t\t\t\t<slot />\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t<\/div>\n\t);\n};\n","import * as exports from '../index.js';\nwindow.__TECTONIC__sn_cx_responsive=exports;\nexport * from '../index.js';\n\n"],"version":3}},{"offset":{"line":69,"column":0},"map":{"mappings":";;;;;;;;;;;;;eAMAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA6FX,OA3FAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GA4B5B,OA1BIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAGvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAGnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAG5EC,GAAWN,EAAuBK,GAE9BE,IACFD,GAAW,KAGTD,EAAK,KACPC,GAAW,KAGTD,EAAK,KACPC,GAAW,KAGNA,CACT,IAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAG7B,IAAIC,EAAyB,CAAC,EAE9B,GAAIJ,EACF,IAAK,IAAIK,EAAI,EAAGA,EAAIhB,KAAKM,OAAQU,IAAK,CACpC,IAAIC,EAAKjB,KAAKgB,GAAG,GAEP,MAANC,IACFF,EAAuBE,IAAM,EAEjC,CAGF,IAAK,IAAIC,EAAK,EAAGA,EAAKT,EAAQH,OAAQY,IAAM,CAC1C,IAAIhB,EAAO,GAAGG,OAAOI,EAAQS,IAEzBP,GAAUI,EAAuBb,EAAK,WAIrB,IAAVW,SACc,IAAZX,EAAK,KAGdA,EAAK,GAAK,SAASG,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,MAAMG,OAAOH,EAAK,GAAI,MAF/FA,EAAK,GAAKW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C,SAAUC,EAAAA,SAEX,CACCD,SAAUE,EAAAA,UAGZC,MAAO,CAIN1gB,QAAS,CAAC,KC3YZkX,OAAOyJ,gCAAgClhB,EAAAA;AAAA,oBAAAA","file":"externals/@devsnc/sn-carousel/index.min.js","names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","___CSS_LOADER_EXPORT___","result","__esModule","default","_extends","Object","assign","bind","n","e","arguments","t","r","hasOwnProperty","call","apply","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","d","a","definition","key","o","defineProperty","enumerable","get","obj","prop","prototype","Symbol","toStringTag","value","y","x","cjsModule","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__","BUTTON","CAROUSEL_TRACK_ELM","CAROUSEL_WIDTH","CURRENT_INDEX","DISABLE_LOOPING","HAS_STARTED","HORIZONTAL","INDICATOR","INDICATOR_CLICKED_IDX","INDICATORS","IS_TRANSITION_PENDING","LARGE","MEDIUM","NAME","NONE","SET","SCROLL_DIRECTION","CONTENT","SN_CAROUSEL","CONTENT_CONTAINER_ELM","RTL","TITLE","ENABLE_AUTOSCROLL","PAUSE_AUTOSCROLL","ACTION_INDICATOR_CLICKED","ACTION_LINK_CLICKED","ACTION_INDICATOR_INDEX_UPDATED","ACTION_RECALCULATE_INDICATORS","ACTION_SLOT_CHANGE","ACTION_SCROLL","ACTION_TOUCH_END","ACTION_TRANSITION_END","ACTION_UPDATE_INDICATORS","ACTION_FOCUS_IN_ITEM","NOW_BUTTON_BARE_CLICKED","NOW_BUTTON_ICONIC_CLICKED","METRIC_TRACKED","ACTION_ARROW_KEY_PRESSED","ACTION_AUTO_SCROLL_START","ACTION_AUTO_SCROLL_STOP","ACTION_AUTO_SCROLL_PAUSED","CAROUSEL_INITIAL_LOAD","NAVIGATION_INTERACTION","ARROW","ARROWS","CAROUSEL_LABEL","CAROUSEL_FOOTER","CAROUSEL_HEADER","CAROUSEL_HEADER_ABSENT","CAROUSEL_TRACK","CAROUSEL_WRAPPER","DISABLED","EMPTY_STATE","GRADIENT","HEADER_LINK","HIDE","ICON","MARGIN_LEFT","MARGIN_RIGHT","SCROLLING","SELECTED","SHOW","SHOW_ARROWS","TITLE_WRAPPER","BADGE","TRANSITION_TIME","ADD_ATTACHMENT","ADD_DATA","COMPLETED_TASKS","ERROR","FIRST_TIME_USER","INTERRUPTED","NO_ACTIVITIES","NO_DATA","NO_SEARCH_RESULTS","OFFLINE","PERMISSIONS","UNCONFIGURED","EMPTY_STATE_LABEL","EMPTY_STATE_MESSAGE","DARK","PRIMARY","SECONDARY","TERTIARY","GRADIENT_WIDTH","LEFT_MOST_PADDING","RIGHT_MARGIN_WIDTH","LEFT_ARROW_ICON","NEXT","FORWARD","PREVIOUS","BACKWARD","RIGHT_ARROW_ICON","PAUSE_LABEL","PLAY_LABEL","PAUSE_ICON","PLAY_ICON","PAUSE","PLAY","BOTTOM_LEFT","BOTTOM_RIGHT","BOTTOM_SPLIT","CENTER","FILL","OUTLINE","ITEMS_IN_VIEW","MULTIPLE_ITEMS_IN_VIEW","SINGLE_ITEM_IN_VIEW","SINGLE_ITEM_ON_ZOOM","BOOLEAN","JSON","INTEGER","STRING","NEXT_SET_OF_ITEMS","SINGLE_ITEM","SLIDING_TYPE","TITLE_LEVEL_1","TITLE_LEVEL_2","TITLE_LEVEL_3","TITLE_LEVEL_4","TITLE_LEVEL_5","TITLE_LEVEL_6","HEADER_PRIMARY","HEADER_SECONDARY","HEADER_TERTIARY","TITLE_PRIMARY","TITLE_SECONDARY","TITLE_TERTIARY","LEFT","RIGHT","ENTER_KEY","ARROW_LEFT","ARROW_RIGHT","AUTO_SCROLL_INTERVAL_ID_DEFAULT","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__","actionTypes","createCustomElement","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__","duplicateComponent","component","duplicateNode","node","clone","cloneNode","getProperties","props","keys","forEach","children","idx","appendChild","setDuplicateAttribute","attribute","suffix","getAttribute","setAttribute","setupDuplicate","duplicate","deleteDuplicates","hostNode","contentContainerElm","resetPositions","deleted","assignedNodes","removeChild","createDuplicates","contentElms","itemsInView","slidingType","carouselWidth","onResize","getRootNode","host","allComponents","filter","_node$style","style","display","componentsAdded","c","duplicateLastItem","prepend","duplicateFirstItem","firstSet","lastSet","currentSetWidth","currentSet","remainingLength","offsetWidth","findDuplicates","components","original","isDuplicate","swap","index","array","_node$getAttribute","_node$getAttribute2","prePosition","includes","originalIndex","findIndex","sibling","nextElementSibling","insertBefore","removeAttribute","getContentWidth","disableLooping","width","transformComponents","state","updateState","transition","performSwap","properties","dir","swapDuplicates","some","path","operation","shouldRender","originalComponent","find","getComponentsInView","direction","transform","getTranslation","transformValue","matchValue","match","Math","abs","parseInt","calculateIndicators","carouselTrackElm","contentCount","indicators","contentWidth","translate","findOriginals","duplicates","_component$getAttribu","_component$getAttribu2","indicator","currentComponentIdx","checkWidth","firstIndicator","lastIndicator","loopTranslate","includePartials","inViewComponents","componentIdx","hiddenWidth","prevHiddenWidth","parseFloat","marginRight","marginLeft","accumalatedWidth","totalWidth","componentWidth","getActionType","scrollDirection","actionType","updateComponentStyle","margin","maxWidth","minWidth","copyStyle","setComponentMargins","marginWidth","setupComponents","dispatch","loopingChanged","addDuplicatesOnResize","isSwapping","newContentElms","newContentCount","_node$style2","focusinEventHandler","carouselItemFocusinHandler","removeEventListener","addEventListener","contentChanged","isSameNode","areComponentsInitialized","setTimeout","fitsContainer","slotChangeEvent","recalculateIndicators","currentIndex","originalIndicators","prevContentWidth","widthChanged","newIndex","numIndicators","scrollEffect","isTransitionPending","enableAutoScroll","metadata","type","looped","useLoopTranslate","eventName","updateNavigationFocus","shadowRoot","activeElement","querySelector","focus","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__","COMPONENT_DOM_READY","COMPONENT_TREE_RENDERED","COMPONENT_PROPERTY_CHANGED","updateItemsInView","window","devicePixelRatio","actionHandlers","effect","_ref","updateProperties","pauseAutoScroll","_ref2","singleItemOnZoom","handleResize","prevWidth","currentWidth","_ref3","action","propertyChanged","payload","propItemsInView","classList","remove","stopPropagation","_ref4","_ref5","autoScrollAction","isPaused","add","_ref6","indicatorClickedEffect","indicatorClickedIdx","nextIndicator","_ref7","transitionEndEffect","_ref8","_ref9","_ref10","touchStart","touchEnd","swipeEffect","_ref11","setupIndicators","hasStarted","startingIndex","selectedIndex","position","didRender","title","carouselTitle","titleVariant","titlePosition","hideLink","linkIcon","navStyle","navPosition","gradientStyle","hideDotIndicator","numberOfIndicators","_ref12","meta","appended","coeffects","track","indicatorIdx","_ref13","autoScrollSpeed","autoScrollIntervalId","setInterval","autoScrollStart","_ref14","clearInterval","autoScrollStop","initialState","errorMessage","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__","Fragment","createElement","getDisplayArrowClass","arrowType","hideArrow","showTitle","hideTitle","trim","showHeaderLink","linkText","displayHeader","disableTextWrapping","className","titleLevel","badgeConfig","badge","label","color","variant","level","wontWrap","hasNoMargin","displayTitle","size","hidePadding","configAria","button","displayHeaderLink","displayFooter","indicatorClasses","getIndicators","indicatorSelected","items","indicatorId","on-click","event","ulElem","target","parentElement","nextIdx","view","isLooping","leftGradientStyle","rightGradientStyle","roleDesc","ariaLabelledBy","role","emptyStateLabel","emptyStateContent","emptyStateIllustration","headingLevel","heading","alignment","illustration","displayEmptyState","ref","changedTouches","clientX","icon","bare","getNavigationControls","displayLeftArrow","displayRightArrow","disabled","tooltipContent","name","on-slotchange","on-transitionend","schema","enum","setInitialState","renderer","snabbdom","styles","behaviors","behavior","resizeBehavior","rtlBehavior","slots","__TECTONIC__$devsnc_sn_carousel"],"sources":["webpack:///css-loader/6.7.1/dist/runtime/api.js","webpack:///css-loader/6.7.1/dist/runtime/noSourceMaps.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/carousel.scss","webpack:///./src/sn-carousel/carousel.scss?5ab7","webpack:///@babel/runtime/7.25.7/helpers/extends.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///external module \"/uxasset/externals/sn-translate/index.jsdbx\"","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-constants.js","webpack:///external module \"/uxasset/externals/@servicenow/ui-core/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/ui-utils/index.jsdbx\"","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-duplicates.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-common.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-setup.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-resize.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-scroll.js","webpack:///external module \"/uxasset/externals/@devsnc/ux-metrics/index.jsdbx\"","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-action-handlers.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-initial-state.js","webpack:///external module \"/uxasset/externals/@servicenow/behavior-resize/27.0.23/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/behavior-rtl/27.0.23/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/ui-renderer-snabbdom/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-button/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-heading/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-icon/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-template-message/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/now-highlighted-value/index.jsdbx\"","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-nav.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-view.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel-indicators.js","webpack:///@devsnc/sn-carousel/src/sn-carousel/sn-carousel.js","webpack:///@devsnc/sn-carousel/src/__imaginary__/entry-wrapper.js"],"sourcesContent":["\"use strict\";\n\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n  var list = []; // return the list of modules as css string\n\n  list.toString = function toString() {\n    return this.map(function (item) {\n      var content = \"\";\n      var needLayer = typeof item[5] !== \"undefined\";\n\n      if (item[4]) {\n        content += \"@supports (\".concat(item[4], \") {\");\n      }\n\n      if (item[2]) {\n        content += \"@media \".concat(item[2], \" {\");\n      }\n\n      if (needLayer) {\n        content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n      }\n\n      content += cssWithMappingToString(item);\n\n      if (needLayer) {\n        content += \"}\";\n      }\n\n      if (item[2]) {\n        content += \"}\";\n      }\n\n      if (item[4]) {\n        content += \"}\";\n      }\n\n      return content;\n    }).join(\"\");\n  }; // import a list of modules into the list\n\n\n  list.i = function i(modules, media, dedupe, supports, layer) {\n    if (typeof modules === \"string\") {\n      modules = [[null, modules, undefined]];\n    }\n\n    var alreadyImportedModules = {};\n\n    if (dedupe) {\n      for (var k = 0; k < this.length; k++) {\n        var id = this[k][0];\n\n        if (id != null) {\n          alreadyImportedModules[id] = true;\n        }\n      }\n    }\n\n    for (var _k = 0; _k < modules.length; _k++) {\n      var item = [].concat(modules[_k]);\n\n      if (dedupe && alreadyImportedModules[item[0]]) {\n        continue;\n      }\n\n      if (typeof layer !== \"undefined\") {\n        if (typeof item[5] === \"undefined\") {\n          item[5] = layer;\n        } else {\n          item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n          item[5] = layer;\n        }\n      }\n\n      if (media) {\n        if (!item[2]) {\n          item[2] = media;\n        } else {\n          item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n          item[2] = media;\n        }\n      }\n\n      if (supports) {\n        if (!item[4]) {\n          item[4] = \"\".concat(supports);\n        } else {\n          item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n          item[4] = supports;\n        }\n      }\n\n      list.push(item);\n    }\n  };\n\n  return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n  return i[1];\n};","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.now-a11y-label{clip:rect(0 0 0 0);block-size:1px;border:none;clip-path:inset(50%);inline-size:1px;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.now-align{display:flex}.now-align.-row.-reverse{flex-direction:row-reverse}.now-align.-column{flex-direction:column}.now-align.-column.-reverse{flex-direction:column-reverse}.now-align.-wrap{flex-wrap:wrap}.now-align.-inline{justify-content:space-between}.now-align.-inline-center{justify-content:center}.now-align.-inline-end{justify-content:flex-end}.now-align.-block-start{align-items:flex-start}.now-align.-block-center{align-items:center}.now-align.-block-end{align-items:flex-end}.now-m-block--xxs{margin-block-end:.125rem}.now-m-block--xxs,.now-m-block-start--xxs{margin-block-start:.125rem}.now-m-block-end--xxs{margin-block-end:.125rem}.now-m-inline--xxs{margin-inline-end:.125rem}.now-m-inline--xxs,.now-m-inline-start--xxs{margin-inline-start:.125rem}.now-m-inline-end--xxs{margin-inline-end:.125rem}.now-m-block--xs{margin-block-end:.25rem}.now-m-block--xs,.now-m-block-start--xs{margin-block-start:.25rem}.now-m-block-end--xs{margin-block-end:.25rem}.now-m-inline--xs{margin-inline-end:.25rem}.now-m-inline--xs,.now-m-inline-start--xs{margin-inline-start:.25rem}.now-m-inline-end--xs{margin-inline-end:.25rem}.now-m-block--sm{margin-block-end:.5rem}.now-m-block--sm,.now-m-block-start--sm{margin-block-start:.5rem}.now-m-block-end--sm{margin-block-end:.5rem}.now-m-inline--sm{margin-inline-end:.5rem}.now-m-inline--sm,.now-m-inline-start--sm{margin-inline-start:.5rem}.now-m-inline-end--sm{margin-inline-end:.5rem}.now-m-block--md{margin-block-end:.75rem}.now-m-block--md,.now-m-block-start--md{margin-block-start:.75rem}.now-m-block-end--md{margin-block-end:.75rem}.now-m-inline--md{margin-inline-end:.75rem}.now-m-inline--md,.now-m-inline-start--md{margin-inline-start:.75rem}.now-m-inline-end--md{margin-inline-end:.75rem}.now-m-block--lg{margin-block-end:1rem}.now-m-block--lg,.now-m-block-start--lg{margin-block-start:1rem}.now-m-block-end--lg{margin-block-end:1rem}.now-m-inline--lg{margin-inline-end:1rem}.now-m-inline--lg,.now-m-inline-start--lg{margin-inline-start:1rem}.now-m-inline-end--lg{margin-inline-end:1rem}.now-m-block--xl{margin-block-end:1.5rem}.now-m-block--xl,.now-m-block-start--xl{margin-block-start:1.5rem}.now-m-block-end--xl{margin-block-end:1.5rem}.now-m-inline--xl{margin-inline-end:1.5rem}.now-m-inline--xl,.now-m-inline-start--xl{margin-inline-start:1.5rem}.now-m-inline-end--xl{margin-inline-end:1.5rem}.now-m-block--xxl{margin-block-end:2rem}.now-m-block--xxl,.now-m-block-start--xxl{margin-block-start:2rem}.now-m-block-end--xxl{margin-block-end:2rem}.now-m-inline--xxl{margin-inline-end:2rem}.now-m-inline--xxl,.now-m-inline-start--xxl{margin-inline-start:2rem}.now-m-inline-end--xxl{margin-inline-end:2rem}.now-m-block--3xl{margin-block-end:2.5rem}.now-m-block--3xl,.now-m-block-start--3xl{margin-block-start:2.5rem}.now-m-block-end--3xl{margin-block-end:2.5rem}.now-m-inline--3xl{margin-inline-end:2.5rem}.now-m-inline--3xl,.now-m-inline-start--3xl{margin-inline-start:2.5rem}.now-m-inline-end--3xl{margin-inline-end:2.5rem}.now-m-block--0{margin-block-end:0}.now-m-block--0,.now-m-block-start--0{margin-block-start:0}.now-m-block-end--0{margin-block-end:0}.now-m-inline--0{margin-inline-end:0}.now-m-inline--0,.now-m-inline-start--0{margin-inline-start:0}.now-m-inline-end--0{margin-inline-end:0}.now-p-block--xxs{padding-block-end:.125rem}.now-p-block--xxs,.now-p-block-start--xxs{padding-block-start:.125rem}.now-p-block-end--xxs{padding-block-end:.125rem}.now-p-inline--xxs{padding-inline-end:.125rem}.now-p-inline--xxs,.now-p-inline-start--xxs{padding-inline-start:.125rem}.now-p-inline-end--xxs{padding-inline-end:.125rem}.now-p-block--xs{padding-block-end:.25rem}.now-p-block--xs,.now-p-block-start--xs{padding-block-start:.25rem}.now-p-block-end--xs{padding-block-end:.25rem}.now-p-inline--xs{padding-inline-end:.25rem}.now-p-inline--xs,.now-p-inline-start--xs{padding-inline-start:.25rem}.now-p-inline-end--xs{padding-inline-end:.25rem}.now-p-block--sm{padding-block-end:.5rem}.now-p-block--sm,.now-p-block-start--sm{padding-block-start:.5rem}.now-p-block-end--sm{padding-block-end:.5rem}.now-p-inline--sm{padding-inline-end:.5rem}.now-p-inline--sm,.now-p-inline-start--sm{padding-inline-start:.5rem}.now-p-inline-end--sm{padding-inline-end:.5rem}.now-p-block--md{padding-block-end:.75rem}.now-p-block--md,.now-p-block-start--md{padding-block-start:.75rem}.now-p-block-end--md{padding-block-end:.75rem}.now-p-inline--md{padding-inline-end:.75rem}.now-p-inline--md,.now-p-inline-start--md{padding-inline-start:.75rem}.now-p-inline-end--md{padding-inline-end:.75rem}.now-p-block--lg{padding-block-end:1rem}.now-p-block--lg,.now-p-block-start--lg{padding-block-start:1rem}.now-p-block-end--lg{padding-block-end:1rem}.now-p-inline--lg{padding-inline-end:1rem}.now-p-inline--lg,.now-p-inline-start--lg{padding-inline-start:1rem}.now-p-inline-end--lg{padding-inline-end:1rem}.now-p-block--xl{padding-block-end:1.5rem}.now-p-block--xl,.now-p-block-start--xl{padding-block-start:1.5rem}.now-p-block-end--xl{padding-block-end:1.5rem}.now-p-inline--xl{padding-inline-end:1.5rem}.now-p-inline--xl,.now-p-inline-start--xl{padding-inline-start:1.5rem}.now-p-inline-end--xl{padding-inline-end:1.5rem}.now-p-block--xxl{padding-block-end:2rem}.now-p-block--xxl,.now-p-block-start--xxl{padding-block-start:2rem}.now-p-block-end--xxl{padding-block-end:2rem}.now-p-inline--xxl{padding-inline-end:2rem}.now-p-inline--xxl,.now-p-inline-start--xxl{padding-inline-start:2rem}.now-p-inline-end--xxl{padding-inline-end:2rem}.now-p-block--3xl{padding-block-end:2.5rem}.now-p-block--3xl,.now-p-block-start--3xl{padding-block-start:2.5rem}.now-p-block-end--3xl{padding-block-end:2.5rem}.now-p-inline--3xl{padding-inline-end:2.5rem}.now-p-inline--3xl,.now-p-inline-start--3xl{padding-inline-start:2.5rem}.now-p-inline-end--3xl{padding-inline-end:2.5rem}.now-p-block--0{padding-block-end:0}.now-p-block--0,.now-p-block-start--0{padding-block-start:0}.now-p-block-end--0{padding-block-end:0}.now-p-inline--0{padding-inline-end:0}.now-p-inline--0,.now-p-inline-start--0{padding-inline-start:0}.now-p-inline-end--0{padding-inline-end:0}.now-line-height-crop{display:block}.now-line-height-crop:after,.now-line-height-crop:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop:before{margin-block-start:calc(var(\\n\\t\\t\\t\\t\\t--now-line-height-crop--before,\\n\\t\\t\\t\\t\\t-.25em\\n\\t\\t\\t\\t)*1)}.now-line-height-crop:after{margin-block-end:calc(var(\\n\\t\\t\\t\\t\\t--now-line-height-crop--after,\\n\\t\\t\\t\\t\\t-.125em\\n\\t\\t\\t\\t)*1)}.now-line-height-crop+.now-line-height-crop{margin-block-start:calc(var(\\n\\t\\t\\t\\t\\t--now-line-height-crop--after,\\n\\t\\t\\t\\t\\t-.125em\\n\\t\\t\\t\\t)*1*-1)}.now-line-height-crop--sm{display:block}.now-line-height-crop--sm:after,.now-line-height-crop--sm:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop--sm:before{margin-block-start:calc(var(\\n\\t\\t\\t\\t\\t--now-line-height-crop--before,\\n\\t\\t\\t\\t\\t-.25em\\n\\t\\t\\t\\t)*1.06664)}.now-line-height-crop--sm:after{margin-block-end:calc(var(\\n\\t\\t\\t\\t\\t--now-line-height-crop--after,\\n\\t\\t\\t\\t\\t-.125em\\n\\t\\t\\t\\t)*1.06664)}.now-line-height-crop--sm+.now-line-height-crop--sm{margin-block-start:calc(var(\\n\\t\\t\\t\\t\\t--now-line-height-crop--after,\\n\\t\\t\\t\\t\\t-.125em\\n\\t\\t\\t\\t)*1.06664*-1)}.now-heading--lg,.now-heading--md,.now-heading--xl{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-weight:600}.now-heading--md{font-size:1rem}.now-heading--lg{font-size:1.25rem}.now-heading--xl{font-size:1.5rem}.now-text--normal{font-weight:400}.now-text--semibold{font-weight:600}.now-text--bold{font-weight:700}.now-text--sm{font-size:.75rem}.now-text--md{font-size:1rem}.now-text--lg{font-size:1.25rem}.now-text--primary{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}.now-text--secondary{color:RGB(var(--now-color_text--secondary,var(--now-color--neutral-15,44,53,55)))}.now-text--tertiary{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}:host{display:grid;width:100%}.carousel-wrapper{display:flex;flex-direction:column;overflow:hidden;width:100%}.carousel-title{overflow:hidden}.carousel-header{align-items:center;display:flex;height:100%;justify-content:space-between;overflow:hidden;padding-bottom:.75rem;width:100%}.carousel-header .title-wrapper{align-items:center;display:inline-flex;overflow:hidden}:host(:not([dir=rtl])) .carousel-header .title-wrapper.right,:root:not([dir=rtl]) .carousel-header .title-wrapper.right{margin-left:auto}:host([dir=rtl]) .carousel-header .title-wrapper.right,:root[dir=rtl] .carousel-header .title-wrapper.right{margin-right:auto}:host(:not([dir=rtl])) .carousel-header .title-badge,:root:not([dir=rtl]) .carousel-header .title-badge{padding-left:.5rem}:host([dir=rtl]) .carousel-header .title-badge,:root[dir=rtl] .carousel-header .title-badge{padding-right:.5rem}:host(:not([dir=rtl])) .carousel-header .header-link,:root:not([dir=rtl]) .carousel-header .header-link{padding-left:3.25rem}:host([dir=rtl]) .carousel-header .header-link,:root[dir=rtl] .carousel-header .header-link{padding-right:3.25rem}.carousel-track{display:flex;justify-content:flex-start;overflow-x:clip;position:relative}.content-container{display:flex;height:100%;width:100%}::slotted(*){flex:none;height:100%;width:auto}.arrows.bottom-left{bottom:-.75rem;display:inherit;position:absolute}:host(:not([dir=rtl])) .arrows.bottom-left,:root:not([dir=rtl]) .arrows.bottom-left{left:4px}:host([dir=rtl]) .arrows.bottom-left,:root[dir=rtl] .arrows.bottom-left{right:4px}.arrows.bottom-right{bottom:-.75rem;display:inherit;position:absolute}:host(:not([dir=rtl])) .arrows.bottom-right,:root:not([dir=rtl]) .arrows.bottom-right{right:4px}:host([dir=rtl]) .arrows.bottom-right,:root[dir=rtl] .arrows.bottom-right{left:4px}.arrows .arrow{z-index:2}.arrows .arrow .nav-button{background-color:RGB(var(--now-color--neutral-0,255,255,255));border-radius:20px;position:absolute}.arrows .arrow.left.center{height:100%;position:absolute;width:24px}:host(:not([dir=rtl])) .arrows .arrow.left.center,:root:not([dir=rtl]) .arrows .arrow.left.center{left:1rem}:host([dir=rtl]) .arrows .arrow.left.center,:root[dir=rtl] .arrows .arrow.left.center{right:1rem}.arrows .arrow.left.center .nav-button{left:50%;top:50%;transform:translate(-50%,-50%)}.arrows .arrow.left.bottom-left .nav-button{top:0}:host(:not([dir=rtl])) .arrows .arrow.left.bottom-left .nav-button,:root:not([dir=rtl]) .arrows .arrow.left.bottom-left .nav-button{left:0}:host([dir=rtl]) .arrows .arrow.left.bottom-left .nav-button,:root[dir=rtl] .arrows .arrow.left.bottom-left .nav-button{right:0}.arrows .arrow.left.bottom-right .nav-button{top:0}:host(:not([dir=rtl])) .arrows .arrow.left.bottom-right .nav-button,:root:not([dir=rtl]) .arrows .arrow.left.bottom-right .nav-button{right:2.5rem}:host([dir=rtl]) .arrows .arrow.left.bottom-right .nav-button,:root[dir=rtl] .arrows .arrow.left.bottom-right .nav-button{left:2.5rem}.arrows .arrow.left.bottom-split{bottom:-.75rem;position:absolute}:host(:not([dir=rtl])) .arrows .arrow.left.bottom-split,:root:not([dir=rtl]) .arrows .arrow.left.bottom-split{left:4px}:host([dir=rtl]) .arrows .arrow.left.bottom-split,:root[dir=rtl] .arrows .arrow.left.bottom-split{right:4px}.arrows .arrow.left.bottom-split .nav-button{top:0}:host(:not([dir=rtl])) .arrows .arrow.left.bottom-split .nav-button,:root:not([dir=rtl]) .arrows .arrow.left.bottom-split .nav-button{left:0}:host([dir=rtl]) .arrows .arrow.left.bottom-split .nav-button,:root[dir=rtl] .arrows .arrow.left.bottom-split .nav-button{right:0}.arrows .arrow.left.hide{visibility:hidden}.arrows .arrow.left.show{display:inline-block}.arrows .arrow.right.bottom-left .nav-button{top:0}:host(:not([dir=rtl])) .arrows .arrow.right.bottom-left .nav-button,:root:not([dir=rtl]) .arrows .arrow.right.bottom-left .nav-button{left:2.5rem}:host([dir=rtl]) .arrows .arrow.right.bottom-left .nav-button,:root[dir=rtl] .arrows .arrow.right.bottom-left .nav-button{right:2.5rem}.arrows .arrow.right.bottom-right .nav-button{top:0}:host(:not([dir=rtl])) .arrows .arrow.right.bottom-right .nav-button,:root:not([dir=rtl]) .arrows .arrow.right.bottom-right .nav-button{right:0}:host([dir=rtl]) .arrows .arrow.right.bottom-right .nav-button,:root[dir=rtl] .arrows .arrow.right.bottom-right .nav-button{left:0}.arrows .arrow.right.center{height:100%;position:absolute;width:24px}:host(:not([dir=rtl])) .arrows .arrow.right.center,:root:not([dir=rtl]) .arrows .arrow.right.center{right:1rem}:host([dir=rtl]) .arrows .arrow.right.center,:root[dir=rtl] .arrows .arrow.right.center{left:1rem}.arrows .arrow.right.center .nav-button{left:50%;top:50%;transform:translate(-50%,-50%)}.arrows .arrow.right.bottom-split{bottom:-.75rem;position:absolute}:host(:not([dir=rtl])) .arrows .arrow.right.bottom-split,:root:not([dir=rtl]) .arrows .arrow.right.bottom-split{right:4px}:host([dir=rtl]) .arrows .arrow.right.bottom-split,:root[dir=rtl] .arrows .arrow.right.bottom-split{left:4px}.arrows .arrow.right.bottom-split .nav-button{top:0}:host(:not([dir=rtl])) .arrows .arrow.right.bottom-split .nav-button,:root:not([dir=rtl]) .arrows .arrow.right.bottom-split .nav-button{right:0}:host([dir=rtl]) .arrows .arrow.right.bottom-split .nav-button,:root[dir=rtl] .arrows .arrow.right.bottom-split .nav-button{left:0}.arrows .arrow.right.hide{visibility:hidden}.arrows .arrow.right.show{display:inline-block}.carousel-footer{margin-top:.75rem;position:relative}.carousel-footer .show-arrows{height:30px}@media(forced-colors:active){.indicators nav div button{background-color:buttonface!important}.indicators nav div button:focus,.indicators nav div button:hover{border-color:highlight!important}.indicators nav div button.selected{background-color:selecteditem!important;border-color:selecteditemtext!important;color:selecteditemtext!important}}:host(:not([dir=rtl])) .indicators.bottom-left,:root:not([dir=rtl]) .indicators.bottom-left{float:right}:host([dir=rtl]) .indicators.bottom-left,:root[dir=rtl] .indicators.bottom-left{float:left}:host(:not([dir=rtl])) .indicators.bottom-right,:root:not([dir=rtl]) .indicators.bottom-right{float:left}:host([dir=rtl]) .indicators.bottom-right,:root[dir=rtl] .indicators.bottom-right{float:right}.indicators.bottom-split,.indicators.center{margin-left:auto;margin-right:auto}.indicators.center nav{margin-bottom:0;margin-top:0}.indicators nav{display:flex;justify-content:center;list-style:none;margin-bottom:.25rem;margin-top:.25rem;padding:0}.indicators nav div{height:12px;width:12px}:host(:not([dir=rtl])) .indicators nav div,:root:not([dir=rtl]) .indicators nav div{margin-right:.5rem}:host([dir=rtl]) .indicators nav div,:root[dir=rtl] .indicators nav div{margin-left:.5rem}:host(:not([dir=rtl])) .indicators nav div:last-child,:root:not([dir=rtl]) .indicators nav div:last-child{margin-right:0}:host([dir=rtl]) .indicators nav div:last-child,:root[dir=rtl] .indicators nav div:last-child{margin-left:0}.indicators nav div button{background-color:transparent;border:1px solid RGB(var(--now-color--primary-1,30,133,109));border-radius:12px;cursor:pointer;height:12px;padding:0;position:absolute;width:12px}.indicators nav div button.selected{background-color:RGB(var(--now-color--primary-1,30,133,109));border:1px solid RGB(var(--now-color--primary-1,30,133,109))}.indicators nav div button:hover:not(.selected){background-color:RGB(var(--now-color--primary-2,23,100,82));border:1px solid RGB(var(--now-color--primary-2,23,100,82))}.indicators nav div button:focus{border:2px solid RGB(var(--now-color--focus-2,1,119,142));box-shadow:inset 0 0 0 1px #fff}.indicators nav div button:focus-visible{outline:none}.indicators nav div button:active{background-color:RGB(var(--now-color--primary-3,15,67,55));border:1px solid RGB(var(--now-color--primary-3,15,67,55))}.gradient{height:100%;position:absolute;width:56px;z-index:1}:host(:not([dir=rtl])) .gradient.left,:root:not([dir=rtl]) .gradient.left{left:0}:host([dir=rtl]) .gradient.left,:root[dir=rtl] .gradient.left{right:0}:host(:not([dir=rtl])) .gradient.left.primary,:root:not([dir=rtl]) .gradient.left.primary{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))))}:host([dir=rtl]) .gradient.left.primary,:root[dir=rtl] .gradient.left.primary{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))))}:host(:not([dir=rtl])) .gradient.left.secondary,:root:not([dir=rtl]) .gradient.left.secondary{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color_background--secondary,var(--now-color--neutral-1,246,247,247))))}:host([dir=rtl]) .gradient.left.secondary,:root[dir=rtl] .gradient.left.secondary{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color_background--secondary,var(--now-color--neutral-1,246,247,247))))}:host(:not([dir=rtl])) .gradient.left.tertiary,:root:not([dir=rtl]) .gradient.left.tertiary{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color_background--tertiary,var(--now-color--neutral-2,228,230,231))))}:host([dir=rtl]) .gradient.left.tertiary,:root[dir=rtl] .gradient.left.tertiary{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color_background--tertiary,var(--now-color--neutral-2,228,230,231))))}.gradient.left.dark{opacity:.1}:host(:not([dir=rtl])) .gradient.left.dark,:root:not([dir=rtl]) .gradient.left.dark{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color--neutral-16,37,45,46)))}:host([dir=rtl]) .gradient.left.dark,:root[dir=rtl] .gradient.left.dark{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color--neutral-16,37,45,46)))}.gradient.left.none{visibility:hidden}:host(:not([dir=rtl])) .gradient.right,:root:not([dir=rtl]) .gradient.right{right:0}:host([dir=rtl]) .gradient.right,:root[dir=rtl] .gradient.right{left:0}:host(:not([dir=rtl])) .gradient.right.primary,:root:not([dir=rtl]) .gradient.right.primary{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))))}:host([dir=rtl]) .gradient.right.primary,:root[dir=rtl] .gradient.right.primary{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))))}:host(:not([dir=rtl])) .gradient.right.secondary,:root:not([dir=rtl]) .gradient.right.secondary{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color_background--secondary,var(--now-color--neutral-1,246,247,247))))}:host([dir=rtl]) .gradient.right.secondary,:root[dir=rtl] .gradient.right.secondary{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color_background--secondary,var(--now-color--neutral-1,246,247,247))))}:host(:not([dir=rtl])) .gradient.right.tertiary,:root:not([dir=rtl]) .gradient.right.tertiary{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color_background--tertiary,var(--now-color--neutral-2,228,230,231))))}:host([dir=rtl]) .gradient.right.tertiary,:root[dir=rtl] .gradient.right.tertiary{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color_background--tertiary,var(--now-color--neutral-2,228,230,231))))}.gradient.right.dark{opacity:.1}:host(:not([dir=rtl])) .gradient.right.dark,:root:not([dir=rtl]) .gradient.right.dark{background-image:linear-gradient(to right,hsla(0,0%,100%,0),RGB(var(--now-color--neutral-16,37,45,46)))}:host([dir=rtl]) .gradient.right.dark,:root[dir=rtl] .gradient.right.dark{background-image:linear-gradient(to left,hsla(0,0%,100%,0),RGB(var(--now-color--neutral-16,37,45,46)))}.gradient.right.none{visibility:hidden}.pause-play-button{padding-left:1rem;padding-top:.25rem;position:absolute;z-index:3}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n        var result = require(\"!!../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./carousel.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","function _extends() {\n  return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"t\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.__esModule\n\t\t\t\t\tif (cjsModule && 't' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"].t;\n\t\t\t\t\t} else if ('t' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.t || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"].t;\n\t\t\t\t} });","import {t} from 'sn-translate';\n\nexport default {\n\tBUTTON: 'button',\n\tCAROUSEL_TRACK_ELM: 'carouselTrackElm',\n\tCAROUSEL_WIDTH: 'carouselWidth',\n\tCURRENT_INDEX: 'currentIndex',\n\tDISABLE_LOOPING: 'disableLooping',\n  \tHAS_STARTED: 'hasStarted',\n\tHORIZONTAL: 'adaptive',\n\tINDICATOR: 'indicator',\n\tINDICATOR_CLICKED_IDX: 'indicatorClickedIdx',\n\tINDICATORS: 'indicators',\n\tIS_TRANSITION_PENDING: 'isTransitionPending',\n\tLARGE: 'lg',\n\tMEDIUM: 'md',\n\tNAME: 'name',\n\tNONE: 'none',\n\tSET: 'set',\n\tSCROLL_DIRECTION: 'scrollDirection',\n\tCONTENT: 'content',\n\tSN_CAROUSEL: 'sn-carousel',\n\tCONTENT_CONTAINER_ELM: 'contentContainerElm',\n\tRTL: 'rtl',\n\tTITLE: 'carousel-title',\n\tENABLE_AUTOSCROLL: 'enableAutoScroll',\n\tPAUSE_AUTOSCROLL: 'pauseAutoScroll',\n\n\t//Actions\n\tACTION_INDICATOR_CLICKED: 'SN_CAROUSEL#INDICATOR_CLICKED',\n\tACTION_LINK_CLICKED: 'SN_CAROUSEL#LINK_CLICKED',\n\tACTION_INDICATOR_INDEX_UPDATED: 'SN_CAROUSEL#INDICATOR_INDEX_UPDATED',\n\tACTION_RECALCULATE_INDICATORS: 'SN_CAROUSEL#ACTION_RECALCULATE_INDICATORS',\n\tACTION_SLOT_CHANGE: 'SN_CAROUSEL#SLOT_CHANGE',\n\tACTION_SCROLL: 'SN_CAROUSEL#SCROLL',\n\tACTION_TOUCH_END: 'SN_CAROUSEL#TOUCH_END',\n\tACTION_TRANSITION_END: 'SN_CAROUSEL#TRANSITION_END',\n\tACTION_UPDATE_INDICATORS: 'SN_CAROUSEL#UPDATE_INDICATORS',\n\tACTION_FOCUS_IN_ITEM: 'SN_CAROUSEL#FOCUS_IN_ITEM',\n\tNOW_BUTTON_BARE_CLICKED: 'NOW_BUTTON_BARE#CLICKED',\n\tNOW_BUTTON_ICONIC_CLICKED: 'NOW_BUTTON_ICONIC#CLICKED',\n\tMETRIC_TRACKED: 'SN_CAROUSEL#METRIC_TRACKED',\n\tACTION_ARROW_KEY_PRESSED: 'SN_CAROUSEL#ACTION_ARROW_KEY_PRESSED',\n\tACTION_AUTO_SCROLL_START: 'SN_CAROUSEL#AUTO_SCROLL_START',\n\tACTION_AUTO_SCROLL_STOP: 'SN_CAROUSEL#AUTO_SCROLL_STOP',\n\tACTION_AUTO_SCROLL_PAUSED: 'SN_CAROUSEL#AUTO_SCROLL_PAUSED',\n\n\t//Metric Names\n\tCAROUSEL_INITIAL_LOAD:'Initial Carousel View',\n\tNAVIGATION_INTERACTION:'Navigate Carousel Items',\n\n\t//CSS Classes/Values\n\tARROW: 'arrow',\n\tARROWS: 'arrows',\n\tCAROUSEL_LABEL : 'Carousel',\n\tCAROUSEL_FOOTER: 'carousel-footer',\n\tCAROUSEL_HEADER: 'carousel-header',\n\tCAROUSEL_HEADER_ABSENT: 'carousel-header-absent',\n\tCAROUSEL_TRACK: 'carousel-track',\n\tCAROUSEL_WRAPPER: 'carousel-wrapper',\n\tDISABLED: 'disabled',\n\tEMPTY_STATE: 'empty-state',\n\tGRADIENT: 'gradient',\n\tHEADER_LINK: 'header-link',\n\tHIDE: 'hide',\n\tICON: 'icon',\n\tMARGIN_LEFT: 'margin-left',\n\tMARGIN_RIGHT: 'margin-right',\n\tSCROLLING: 'scrolling',\n\tSELECTED: 'selected',\n\tSHOW: 'show',\n\tSHOW_ARROWS: 'show-arrows',\n\tTITLE_WRAPPER: 'title-wrapper',\n\tBADGE: 'title-badge',\n\tTRANSITION_TIME: 'all 0.3s',\n\n\t//Empty State Illustrations\n\tADD_ATTACHMENT: 'add-attachment',\n\tADD_DATA: 'add-data',\n\tCOMPLETED_TASKS: 'completed-tasks',\n\tERROR: 'error',\n\tFIRST_TIME_USER: 'first-time-user',\n\tINTERRUPTED: 'interrupted',\n\tNO_ACTIVITIES: 'no-activities',\n\tNO_DATA: 'no-data',\n\tNO_SEARCH_RESULTS: 'no-search-results',\n\tOFFLINE: 'offline',\n\tPERMISSIONS: 'permissions',\n\tUNCONFIGURED: 'unconfigured',\n\n\t//Empty State Label\n\tEMPTY_STATE_LABEL: t('No content to display'),\n\n\t//Empty State Message\n\tEMPTY_STATE_MESSAGE: t('Please add components into the carousel'),\n\n\t//Gradient Styles\n\tDARK: 'dark',\n\tPRIMARY: 'primary',\n\tSECONDARY: 'secondary',\n\tTERTIARY: 'tertiary',\n\n\t//Margin/Padding constants\n\tGRADIENT_WIDTH: 56,\n\tLEFT_MOST_PADDING: 76,\n\tRIGHT_MARGIN_WIDTH: 12,\n\n\t//Navigation\n\tLEFT_ARROW_ICON: 'circle-chevron-start',\n\tNEXT: t('Next'),\n\tFORWARD: t('Move carousel foward'),\n\tPREVIOUS: t('Previous'),\n\tBACKWARD: t('Move carousel backward'),\n\tRIGHT_ARROW_ICON: 'circle-chevron-end',\n\tPAUSE_LABEL: t('Pause autoscroll'),\n\tPLAY_LABEL: t('Play autoscroll'),\n\tPAUSE_ICON : 'circle-pause',\n\tPLAY_ICON: 'circle-play',\n\n\t//Action constants\n\tPAUSE : 'pause',\n\tPLAY: 'play',\n\n\t//Navigation Position\n\tBOTTOM_LEFT: 'bottom-left',\n\tBOTTOM_RIGHT: 'bottom-right',\n\tBOTTOM_SPLIT: 'bottom-split',\n\tCENTER: 'center',\n\n\t//Navigation Styles\n\tFILL: 'fill',\n\tOUTLINE: 'outline',\n\n\t//Number of Items in View\n\tITEMS_IN_VIEW: 'itemsInView',\n\tMULTIPLE_ITEMS_IN_VIEW: 'multiple-content-items',\n\tSINGLE_ITEM_IN_VIEW: 'single-content-item',\n\n\t//Single Items in View When Zoomed In\n\tSINGLE_ITEM_ON_ZOOM: 'singleItemOnZoom',\n\n\t//Property Types\n\tBOOLEAN: 'boolean',\n\tJSON: 'json',\n\tINTEGER: 'integer',\n\tSTRING: 'string',\n\n\t//Sliding Type\n\tNEXT_SET_OF_ITEMS: 'next-set-of-items',\n\tSINGLE_ITEM: 'single-item',\n\tSLIDING_TYPE: 'slidingType',\n\n\t//Title Levels\n\tTITLE_LEVEL_1: '1',\n\tTITLE_LEVEL_2: '2',\n\tTITLE_LEVEL_3: '3',\n\tTITLE_LEVEL_4: '4',\n\tTITLE_LEVEL_5: '5',\n\tTITLE_LEVEL_6: '6',\n\n\t//Title Styles\n\tHEADER_PRIMARY: 'header-primary',\n\tHEADER_SECONDARY: 'header-secondary',\n\tHEADER_TERTIARY: 'header-tertiary',\n\tTITLE_PRIMARY: 'title-primary',\n\tTITLE_SECONDARY: 'title-secondary',\n\tTITLE_TERTIARY: 'title-tertiary',\n\n\t//Title Position\n\tLEFT: 'left',\n\tRIGHT: 'right',\n\n\t// Keyboard Key Name\n\tENTER_KEY: 'Enter',\n\tARROW_LEFT: 'ArrowLeft',\n\tARROW_RIGHT: 'ArrowRight',\n\n\t//Auto scroll interval ID\n\tAUTO_SCROLL_INTERVAL_ID_DEFAULT: -1\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"actionTypes\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t\t} else if ('actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.actionTypes || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t}, [\"createCustomElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t\t} else if ('createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.createCustomElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"get\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__.__esModule\n\t\t\t\t\tif (cjsModule && 'get' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"].get;\n\t\t\t\t\t} else if ('get' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__.get || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_utils_index_jsdbx_9b965695__[\"default\"].get;\n\t\t\t\t} });","import c from './sn-carousel-constants';\n\n/**\n *  All methods in this file involve the duplication of components required to\n *  make smooth translation if looping is enabled\n */\n\n/**\n * duplicateComponent\n *\n * duplicates a component for use in looping\n */\nconst duplicateComponent = component => {\n\tconst duplicateNode = node => {\n\t\tlet clone = node.cloneNode();\n\n\t\t//if node is a service now component, it will have properties\n\t\tif (node.getProperties !== undefined) {\n\t\t\tconst props = node.getProperties();\n\t\t\tif (props) {\n\t\t\t\tObject.keys(props).forEach(key => {\n\t\t\t\t\tif (node[key])\n\t\t\t\t\t\tclone[key] = node[key];\n\t\t\t\t});\n\t\t\t}\n\n\t\t//otherwise it is pure HTML\n\t\t} else \n\t\t\tclone = node.cloneNode(false);\n\t\t\n\n\t\t//clone any children nodes\n\t\tif (node.children.length > 0) {\n\t\t\tfor (let idx = 0; idx < node.children.length; idx++)\n\t\t\t\tclone.appendChild(duplicateNode(node.children[idx]));\n\t\t}\n\t\treturn clone;\n\t};\n\n\treturn duplicateNode(component);\n};\n\n/**\n * setDuplicateAttribute\n *\n * sets attributes on the duplicated node\n */\nconst setDuplicateAttribute = (component, attribute, suffix) => {\n\tif (component.getAttribute(attribute))\n\t\tcomponent.setAttribute(attribute, component.getAttribute(attribute) + suffix);\n};\n\n/**\n * setupDuplicate\n *\n * sets all the attributes on the duplicated node\n */\nconst setupDuplicate = (duplicate, suffix) => {\n\tsetDuplicateAttribute(duplicate, 'id', suffix);\n\tsetDuplicateAttribute(duplicate, 'now-id', suffix);\n\tsetDuplicateAttribute(duplicate, 'component-id', suffix);\n\tduplicate.setAttribute('is-clone', 'true');\n\tduplicate.setAttribute('tabindex', '-1');\n};\n\n/**\n * deleteDuplicates\n *\n * deletes any duplicated nodes that were created\n * returns true if anything was deleted, false if not\n */\nexport const deleteDuplicates = (hostNode, contentContainerElm) => {\n\t/*\n\t * put any components that have been swapped back into original position before deleting\n\t *  if -pre is after original, or -post is before\n\t */\n\n\tresetPositions(hostNode, contentContainerElm);\n\n\tlet deleted = false;\n\tcontentContainerElm.assignedNodes().forEach(node => {\n\t\tif (node.getAttribute('is-clone') === 'true') {\n\t\t\tdeleted = true;\n\t\t\thostNode.removeChild(node);\n\t\t}\n\t});\n\treturn deleted;\n};\n\n/**\n * createDuplicates\n *\n * creates duplicate nodes for looping\n */\nexport const createDuplicates = (contentContainerElm, contentElms, itemsInView, slidingType, carouselWidth, onResize = false) => {\n\tconst hostNode = contentContainerElm.getRootNode().host;\n\tconst allComponents = contentContainerElm.assignedNodes().filter(node => node.style?.display !== 'none');\n\tlet componentsAdded = false;\n\n\t//If only showing one item at a time, just one duplicate is needed at the front and end\n\tif (itemsInView === c.SINGLE_ITEM_IN_VIEW) {\n\n\t\t//No need to create duplicates on resizing since it's already been create on setup\n\t\tif (onResize) \n\t\t\treturn componentsAdded;\n\n\t\t//Add a duplicate of the last item to the front\n\t\tconst duplicateLastItem = duplicateComponent(contentElms[contentElms.length - 1]);\n\t\tsetupDuplicate(duplicateLastItem, '-pre');\n\t\thostNode.prepend(duplicateLastItem);\n\n\t\t//Add a duplicate of the first item to the end\n\t\tconst duplicateFirstItem = duplicateComponent(contentElms[0]);\n\t\tsetupDuplicate(duplicateFirstItem, '-post');\n\t\thostNode.appendChild(duplicateFirstItem);\n\n\t\tcomponentsAdded = true;\n\n\t} else {\n\n\t\tif (slidingType === c.NEXT_SET_OF_ITEMS) {\n\t\t\t/*\n\t\t\t * For sliding by sets, we need to add the components of the last set and the component before\n\t\t\t * it to the front.  we need the components of the first set and the next component after to add\n\t\t\t *  to the end\n\t\t\t */\n\t\t\tlet firstSet = [];\n\t\t\tlet lastSet = [];\n\t\t\tlet currentSetWidth = 0;\n\t\t\tlet currentSet = [];\n\t\t\tconst remainingLength = carouselWidth - c.LEFT_MOST_PADDING - c.GRADIENT_WIDTH;\n\t\t\tfor (let idx = 0; idx < contentElms.length; idx++) {\n\t\t\t\tcurrentSetWidth += contentElms[idx].offsetWidth;\n\t\t\t\t//far right component could be covered by gradient\n\t\t\t\tif (currentSetWidth > remainingLength) {\n\t\t\t\t\tif (firstSet.length == 0)\n\t\t\t\t\t\tfirstSet = [...currentSet];\n\t\t\t\t\t//since the width is larger, we want to move to the next set\n\t\t\t\t\tcurrentSetWidth = contentElms[idx].offsetWidth;\n\t\t\t\t\tcurrentSet = [];\n\t\t\t\t}\n\t\t\t\tcurrentSetWidth += c.RIGHT_MARGIN_WIDTH;\n\t\t\t\tcurrentSet.push(idx);\n\t\t\t}\n\t\t\tlastSet = [...currentSet];\n\n\t\t\t//The sets may change drastically, so delete all duplicates and recreate if resizing\n\t\t\tif (onResize)\n\t\t\t\tdeleteDuplicates(hostNode, contentContainerElm);\n\n\t\t\tfor (let idx = lastSet[lastSet.length - 1]; idx >= lastSet[0] - 1; idx--) {\n\t\t\t\tconst duplicate = duplicateComponent(contentElms[idx]);\n\t\t\t\tsetupDuplicate(duplicate, '-pre');\n\t\t\t\thostNode.prepend(duplicate);\n\t\t\t}\n\n\t\t\tfor (let idx = firstSet[0]; idx <= firstSet[firstSet.length - 1] + 1; idx++) {\n\t\t\t\tconst duplicate = duplicateComponent(contentElms[idx]);\n\t\t\t\tsetupDuplicate(duplicate, '-post');\n\t\t\t\thostNode.appendChild(duplicate);\n\t\t\t}\n\n\t\t\tcomponentsAdded = true;\n\t\t} else {\n\t\t\t/*\n\t\t\t * For sliding by one item at a time, we need to add the last two items to the front\n\t\t\t * and we need to add the number of items in view based on the position\n\t\t\t * of where the last item ends and the remaining width of the carousel\n\t\t\t */\n\n\t\t\t//Create duplicates components before start of window\n\t\t\tif (!onResize) {\n\t\t\t\tfor (let idx = contentElms.length - 1; idx >= contentElms.length - 2; idx--) {\n\t\t\t\t\tconst duplicate = duplicateComponent(contentElms[idx]);\n\t\t\t\t\tsetupDuplicate(duplicate, '-pre');\n\t\t\t\t\thostNode.prepend(duplicate);\n\t\t\t\t}\n\t\t\t\tcomponentsAdded = true;\n\t\t\t}\n\n\t\t\tlet remainingLength = carouselWidth - c.LEFT_MOST_PADDING;\n\t\t\tfor (let idx = 0; idx < contentElms.length; idx++) {\n\t\t\t\tif (!onResize || findDuplicates(allComponents, contentElms[idx], '-post').length === 0) {\n\t\t\t\t\tconst duplicate = duplicateComponent(contentElms[idx]);\n\t\t\t\t\tsetupDuplicate(duplicate, '-post');\n\t\t\t\t\thostNode.appendChild(duplicate);\n\t\t\t\t\tcomponentsAdded = true;\n\t\t\t\t}\n\n\t\t\t\tremainingLength -= (contentElms[idx].offsetWidth + c.RIGHT_MARGIN_WIDTH);\n\t\t\t\tif (remainingLength < 0)\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\treturn componentsAdded;\n};\n\n/**\n * findDuplicates\n *\n * returns any duplicated components from components that were created from the original component\n */\nexport const findDuplicates = (components, original, suffix) => {\n\tconst isDuplicate = (component, original, suffix) => {\n\t\tif (suffix === '-pre' || suffix === '-post') {\n\t\t\treturn (component.getAttribute('id') === `${original.getAttribute('id')}${suffix}`) ||\n\t\t\t\t(component.getAttribute('component-id') === `${original.getAttribute('component-id')}${suffix}`);\n\t\t}\n\n\t\treturn (component.getAttribute('id') === `${original.getAttribute('id') }-pre`) ||\n\t\t\t(component.getAttribute('id') === `${original.getAttribute('id') }-post`) ||\n\t\t\t(component.getAttribute('component-id') === `${original.getAttribute('component-id') }-pre`) ||\n\t\t\t(component.getAttribute('component-id') === `${original.getAttribute('component-id') }-post`);\n\t};\n\treturn components.filter( component => isDuplicate(component, original, suffix));\n};\n\nexport const findStartingDuplicates = components => components.filter(component => (component.getAttribute('id')?.includes('-pre') || component.getAttribute('component-id')?.includes('-pre')));\n\nexport const findOriginals = (duplicates, components) => duplicates.map(duplicate => components.find(component => (duplicate.getAttribute('id') === `${component.getAttribute('id') }-pre`) ||\n\t\t\t(duplicate.getAttribute('id') === `${component.getAttribute('id') }-post`) ||\n\t\t\t(duplicate.getAttribute('component-id') === `${component.getAttribute('component-id') }-pre`) ||\n\t\t\t(duplicate.getAttribute('component-id') === `${component.getAttribute('component-id') }-post`)));\n\nexport const swapDuplicates = (components, contentContainerElm, updateState) => {\n\tconst swapRequired = components.some(component => component.getAttribute('is-clone') === 'true');\n\n\tif (swapRequired) {\n\t\tconst hostNode = contentContainerElm.getRootNode().host;\n\t\tupdateState({path: 'isSwapping', value: true, operation: c.SET, shouldRender: false});\n\n\t\t//See if any duplicates exist in the components\n\t\tfor (let idx = 0; idx < components.length; idx++) {\n\t\t\tif (components[idx].getAttribute('is-clone')) {\n\t\t\t\t//Find the original\n\t\t\t\tconst originalComponent = contentContainerElm.assignedNodes().find(node => (`${node.getAttribute('id') }-pre`) === components[idx].getAttribute('id') ||\n\t\t\t\t\t\t(`${node.getAttribute('id') }-post`) === components[idx].getAttribute('id') ||\n\t\t\t\t\t\t(`${node.getAttribute('component-id') }-pre`) === components[idx].getAttribute('component-id') ||\n\t\t\t\t\t\t(`${node.getAttribute('component-id') }-post`) === components[idx].getAttribute('component-id'));\n\t\t\t\tconst sibling = originalComponent.nextElementSibling;\n\t\t\t\thostNode.insertBefore(originalComponent, components[idx]);\n\t\t\t\thostNode.insertBefore(components[idx], sibling);\n\n\t\t\t\t// swapped items should be excluded from tab order, so tab focus doesn't loop\n\t\t\t\tif (originalComponent.getAttribute('is-swap')) {\n\t\t\t\t\toriginalComponent.removeAttribute('is-swap');\n\t\t\t\t\toriginalComponent.removeAttribute('tabindex');\n\t\t\t\t} else {\n\t\t\t\t\toriginalComponent.setAttribute('is-swap', 'true');\n\t\t\t\t\toriginalComponent.setAttribute('tabindex', '-1');\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t}\n};\n\n/*\n * resetPositions\n *\n * puts components back into original position if they have been swapped\n */\nexport const resetPositions = (hostNode, contentContainerElm) => {\n\tlet swap = false;\n\tcontentContainerElm.assignedNodes().forEach((node, index, array) => {\n\t\tif (node.getAttribute('is-clone') === 'true') {\n\t\t\tconst prePosition = node.getAttribute('id')?.includes('-pre') || node.getAttribute('component-id')?.includes('-pre');\n\t\t\tconst originalIndex = array.findIndex(original =>\n\t\t\t\t(`${original.getAttribute('id') }-pre`) === node.getAttribute('id') ||\n\t\t\t\t(`${original.getAttribute('id') }-post`) === node.getAttribute('id') ||\n\t\t\t\t(`${original.getAttribute('component-id') }-pre`) === node.getAttribute('component-id') ||\n\t\t\t\t(`${original.getAttribute('component-id') }-post`) === node.getAttribute('component-id'));\n\t\t\t//swap original back to position if required\n\t\t\tif ((prePosition && originalIndex < index) || (!prePosition && originalIndex > index)) {\n\t\t\t\tswap = true;\n\t\t\t\tconst sibling = array[originalIndex].nextElementSibling;\n\t\t\t\thostNode.insertBefore(array[originalIndex], node);\n\t\t\t\thostNode.insertBefore(node, sibling);\n\t\t\t\tarray[originalIndex].removeAttribute('tabindex');\n\t\t\t\tarray[originalIndex].removeAttribute('is-swap');\n\t\t\t}\n\t\t}\n\t});\n\treturn swap;\n};\n","import {findOriginals, findStartingDuplicates, swapDuplicates} from './sn-carousel-duplicates';\nimport c from './sn-carousel-constants';\n\n/**\n * getContentWidth\n *\n * returns the width of all the components with spacing inside the carousel\n */\nexport const getContentWidth = (contentElms, itemsInView, disableLooping, carouselWidth) => {\n\tlet width = 0;\n\tfor (let idx = 0; idx < contentElms.length; idx++) {\n\t\tif (itemsInView === c.SINGLE_ITEM_IN_VIEW)\n\t\t\twidth += carouselWidth;\n\t\t else\n\t\t\twidth += contentElms[idx].offsetWidth + c.RIGHT_MARGIN_WIDTH;\n\n\n\t}\n\tif (itemsInView === c.MULTIPLE_ITEMS_IN_VIEW && disableLooping)\n\t\twidth -= c.RIGHT_MARGIN_WIDTH;\n\n\treturn width;\n};\n\n/**\n * getContentWidth\n *\n * returns false if the width of a component is 0\n */\nexport const areComponentsInitialized = contentElms => !contentElms.some(component => component.offsetWidth === 0);\n\n/**\n * transformComponents\n *\n * moves the carousel to the given position\n */\nexport const transformComponents = (state, updateState, length, transition = c.TRANSITION_TIME, performSwap = true) => {\n\tconst {contentContainerElm, itemsInView, properties: {dir, disableLooping}} = state;\n\n\t//If duplicate entries will be in view, swap them before translating\n\tif (!disableLooping && itemsInView === c.MULTIPLE_ITEMS_IN_VIEW && performSwap) {\n\t\tconst inViewComponents = getComponentsInView(state, length);\n\t\tswapDuplicates(inViewComponents, contentContainerElm, updateState);\n\t}\n\n\tconst direction = (dir === c.RTL) ? '' : '-';\n\tcontentContainerElm.style.transition = transition;\n\tcontentContainerElm.style.transform = `translate(${direction}${length}px)`;\n};\n\nexport const getTranslation = contentContainerElm => {\n\tlet transformValue = 0;\n\tconst matchValue = contentContainerElm.style.transform.match(/-+[0-9]+/);\n\tif (matchValue !== null)\n\t\ttransformValue = Math.abs(parseInt(matchValue[0]));\n\n\treturn transformValue;\n};\n\n\n/**\n * calculateIndicators\n *\n * This determines how many indicators are required and how to move the carousel\n *\n * For Hard Stop\n * --------------\n *\n * If itemsInView is single-content-item, we show one component at a time.  The margins are calculated when\n * added into the slot.  On each click, the content is moved the width of the carousel\n *\n * If itemsInView is multi-content-items, we show multiple components at a time.  The width of each component can\n * be varied.\n * - If moving one component at a time, we move the frame by adding the previous components width and subtracting LEFT_MOST_PADDING\n * so that part of the component is still on screen\n * - If moving more than one component at a time, we add the next set of components width until they are greater than the\n * width of the carousel.  We then add the width of those components to the translation and subtract LEFT_MOST_PADDING\n * so that part of the component is still on screen\n *\n * For Looping\n * -----------\n *\n * We do the same calculations for looping as we do for hardstop.\n * However, since we have added a duplicate component for each component to the front and end of the list,\n * we add the content width to the translation and subtract the LEFT_MOST_PADDING for each position\n *\n * When we move from the start to the end (clicking left on first position), we move to the first indicator's\n * starting position plus the width of all the components.\n * When we move from the end to start (clicking right at last position), we move to the last indicator's position\n * and subtract the width of all the components\n * After the transition is complete, we move back to the indicator's position without animation\n *\n *\n * TBD\n */\nexport const calculateIndicators = state => {\n\tconst {\n\t\tcarouselTrackElm,\n\t\tcontentContainerElm,\n\t\tcontentCount,\n\t\tcontentElms,\n\t\titemsInView,\n\t\tproperties: {\n\t\t\tslidingType,\n\t\t\tdisableLooping\n\t\t}\n\t} = state;\n\tconst indicators = [];\n\tconst carouselWidth = carouselTrackElm.offsetWidth;\n\tconst contentWidth = getContentWidth(contentElms, itemsInView, disableLooping, carouselWidth);\n\n\tlet translate = 0;\n\tif (!disableLooping) {\n\t\tif (itemsInView === c.SINGLE_ITEM_IN_VIEW) \n\t\t\ttranslate = carouselWidth;\n\t\t else {\n\t\t\tconst startingDuplicates = findStartingDuplicates(contentContainerElm.assignedNodes());\n\t\t\tfindOriginals(startingDuplicates, contentContainerElm.assignedNodes()).forEach(component => {\n\t\t\t\ttranslate += component.offsetWidth + c.RIGHT_MARGIN_WIDTH;\n\t\t\t});\n\t\t}\n\t}\n\n\t//If contentWidth <= carouselWidth, return one indicator at starting position\n\tif (contentWidth <= carouselWidth) {\n\t\treturn [{\n\t\t\ttranslate: 0,\n\t\t\tcontent: 0\n\t\t}];\n\t}\n\n\t//if only showing one item at a time, then we need one indicator per item\n\tif (itemsInView === c.SINGLE_ITEM_IN_VIEW) {\n\t\tfor (let idx = 0; idx < contentCount; idx++) {\n\t\t\tconst indicator = {\n\t\t\t\ttranslate,\n\t\t\t\tcontent: idx\n\t\t\t};\n\t\t\tindicators.push(indicator);\n\n\t\t\t//Update translate for next component starting point\n\t\t\ttranslate += carouselWidth;\n\t\t}\n\t} else {\n\t\tlet currentComponentIdx = 0;\n\t\tfor (let idx = 0; idx < contentCount; idx++) {\n\t\t\t//If looped through all the components, then break\n\t\t\tif (currentComponentIdx >= contentCount)\n\t\t\t\tbreak;\n\n\t\t\tconst indicator = {\n\t\t\t\ttranslate,\n\t\t\t\tcontent: currentComponentIdx\n\t\t\t};\n\t\t\tindicators.push(indicator);\n\n\t\t\t//Update the translate to account for padding\n\t\t\tif (disableLooping) {\n\t\t\t\tif (idx !== 0) {\n\t\t\t\t\tif (translate - c.LEFT_MOST_PADDING < contentWidth - carouselWidth) \n\t\t\t\t\t\tindicators[idx].translate = translate - c.LEFT_MOST_PADDING;\n\t\t\t\t\t else {\n\t\t\t\t\t\t//We've reached the farthest right position\n\t\t\t\t\t\tindicators[idx].translate = contentWidth - carouselWidth;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else \n\t\t\t\tindicators[idx].translate = translate - c.LEFT_MOST_PADDING;\n\t\t\t\n\n\t\t\t//If sliding a single item, just add its width and margin to the translation\n\t\t\tif (slidingType === c.SINGLE_ITEM) {\n\t\t\t\ttranslate += contentElms[idx].offsetWidth + c.RIGHT_MARGIN_WIDTH;\n\t\t\t\tcurrentComponentIdx++;\n\t\t\t//otherwise, need to add the width of the set of items to translate\n\t\t\t} else {\n\t\t\t\tlet currentSetWidth = 0;\n\t\t\t\tfor (currentComponentIdx; currentComponentIdx < contentCount; currentComponentIdx++) {\n\t\t\t\t\tcurrentSetWidth += contentElms[currentComponentIdx].offsetWidth;\n\t\t\t\t\tlet checkWidth = currentSetWidth;\n\t\t\t\t\tif (idx !== 0 || !disableLooping)\n\t\t\t\t\t\tcheckWidth += c.LEFT_MOST_PADDING;\n\n\t\t\t\t\t//far right component could be covered by gradient\n\t\t\t\t\tif (checkWidth >= carouselWidth - c.GRADIENT_WIDTH) {\n\t\t\t\t\t\t//since the width is larger, we want to move to the next set\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\ttranslate += contentElms[currentComponentIdx].offsetWidth + c.RIGHT_MARGIN_WIDTH;\n\t\t\t\t\tcurrentSetWidth += c.RIGHT_MARGIN_WIDTH;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t//Add looping parameters to first and last indicators to handle scrolling\n\tif (!disableLooping && indicators.length > 1) {\n\t\tconst firstIndicator = indicators[0];\n\t\tconst lastIndicator = indicators[indicators.length - 1];\n\n\t\tif (itemsInView === c.SINGLE_ITEM_IN_VIEW) {\n\t\t\tfirstIndicator.loopTranslate = lastIndicator.translate + carouselWidth;\n\t\t\tlastIndicator.loopTranslate = 0;\n\t\t} else {\n\t\t\tfirstIndicator.loopTranslate = firstIndicator.translate + contentWidth;\n\t\t\tlastIndicator.loopTranslate = lastIndicator.translate - contentWidth;\n\t\t}\n\n\t}\n\n\treturn indicators;\n};\n/**\n * getComponentsInView\n *\n * This returns the components that will be in view when transform happens according to transformValue.\n *\n * includePartials=true would include components that are partially visible, false, would ignore partially visible components\n *\n */\nexport const getComponentsInView = (state, transformValue, includePartials = true) => {\n\tconst {\n\t\tcarouselTrackElm,\n\t\tcontentContainerElm\n\t} = state;\n\n\tconst inViewComponents = [];\n\tif (contentContainerElm === null)\n\t\treturn inViewComponents;\n\n\t//Get content of slot\n\tconst allComponents = contentContainerElm.assignedNodes().filter(node => node.style?.display !== 'none');\n\tif (allComponents.length === 0)\n\t\treturn inViewComponents;\n\n\tlet componentIdx = 0;\n\tlet hiddenWidth = 0;\n\tfor (; componentIdx < allComponents.length; componentIdx++) {\n\t\tconst component = allComponents[componentIdx];\n\t\tconst componentWidth = component.offsetWidth + parseFloat(component.style.marginRight || 0) + parseFloat(component.style.marginLeft || 0);\n\t\tconst prevHiddenWidth = hiddenWidth;\n\t\thiddenWidth += componentWidth;\n\t\tif (hiddenWidth\t> transformValue) {\n\t\t\tif (includePartials || prevHiddenWidth >= transformValue)\n\t\t\t\tinViewComponents.push(component);\n\t\t\tbreak;\n\t\t}\n\t}\n\n\tlet accumalatedWidth = hiddenWidth - transformValue;\n\tconst totalWidth = carouselTrackElm.offsetWidth;\n\n\tcomponentIdx++;\n\tfor (; componentIdx < allComponents.length; componentIdx++) {\n\t\tconst component = allComponents[componentIdx];\n\t\tconst componentWidth = component.offsetWidth + parseFloat(component.style.marginRight || 0) + parseFloat(component.style.marginLeft || 0);\n\t\tif (accumalatedWidth + componentWidth > totalWidth) {\n\t\t\tif (includePartials)\n\t\t\t\tinViewComponents.push(component);\n\t\t\tbreak;\n\t\t}\n\t\taccumalatedWidth += componentWidth;\n\t\tinViewComponents.push(component);\n\t}\n\n\treturn inViewComponents;\n};\n\nexport function autoScrollStart(state, updateState, dispatch) {\n\tconst {\n\t\tproperties: {enableAutoScroll, autoScrollSpeed, pauseAutoScroll}\n\t} = state;\n\n\tlet {\n\t\tautoScrollIntervalId\n\t} = state;\n\n\tif (!enableAutoScroll || pauseAutoScroll || autoScrollIntervalId !== c.AUTO_SCROLL_INTERVAL_ID_DEFAULT)\n\t\treturn;\n\n\tautoScrollIntervalId = setInterval(() => {\n\t\tdispatch(c.ACTION_SCROLL, {scrollDirection: c.RIGHT});\n\t}, autoScrollSpeed);\n\n\tupdateState({\n\t\tpath: 'autoScrollIntervalId',\n\t\tvalue: autoScrollIntervalId,\n\t\toperation: c.SET,\n\t\tshouldRender: false\n\t});\n}\n\nexport function autoScrollStop(state, updateState) {\n\tconst {autoScrollIntervalId} = state;\n\tif (autoScrollIntervalId === c.AUTO_SCROLL_INTERVAL_ID_DEFAULT)\n\t\treturn;\n\tclearInterval(autoScrollIntervalId);\n\t// Now that we have cleared the interval, reset the value to default.\n\tupdateState({\n\t\tpath: 'autoScrollIntervalId', value: c.AUTO_SCROLL_INTERVAL_ID_DEFAULT, operation: c.SET, shouldRender: false\n\t});\n}\n\nexport function getActionType(scrollDirection) {\n\tlet actionType = null;\n\tswitch (scrollDirection) {\n\t\tcase c.RIGHT:\n\t\t\tactionType = 'right_arrow_selected';\n\t\t\tbreak;\n\t\tcase c.LEFT:\n\t\t\tactionType = 'left_arrow_selected';\n\t\t\tbreak;\n\t\tcase c.INDICATOR:\n\t\t\tactionType = 'indicator_selected';\n\t\t\tbreak;\n\t}\n\treturn actionType;\n}","import {\n\tareComponentsInitialized,\n\tcalculateIndicators,\n\tgetContentWidth,\n\ttransformComponents\n} from './sn-carousel-common';\nimport {\n\tcreateDuplicates,\n\tdeleteDuplicates,\n\tfindDuplicates\n} from './sn-carousel-duplicates';\nimport {get} from '@servicenow/ui-utils';\nimport c from './sn-carousel-constants';\n\n/**\n * updateComponentStyle\n *\n * configures the style for margin, max width and min width on the component\n */\nconst updateComponentStyle = (component, margin, maxWidth) => {\n\tcomponent.style.margin = margin;\n\n\t//Set max width if width is larger\n\tif (component.offsetWidth > maxWidth) {\n\t\tcomponent.style.maxWidth = `${maxWidth}px`;\n\n\t\t//If there is a min width make sure it is less than max width\n\t\tif (component.style.minWidth && component.offsetWidth > maxWidth)\n\t\t\tcomponent.style.minWidth = `${maxWidth}px`;\n\n\t} else {\n\t\t//Otherwise, update maxWidth if it has been set in case the set width is larger\n\t\tif (component.style.maxWidth)\n\t\t\tcomponent.style.maxWidth = `${maxWidth}px`;\n\t}\n};\n\n/**\n * copyStyle\n *\n * copies the set style of the component for its duplicate\n */\nconst copyStyle = (duplicate, component) => {\n\tduplicate.style.margin = component.style.margin;\n\tif (component.style.maxWidth)\n\t\tduplicate.style.maxWidth = component.style.maxWidth;\n\tif (component.style.minWidth)\n\t\tduplicate.style.minWidth = component.style.minWidth;\n};\n\n/**\n * setComponentMargins\n *\n * sets the margins on the components so that the spacing between them is correct\n */\nexport const setComponentMargins = state => {\n\tconst {contentContainerElm, carouselTrackElm, contentElms, itemsInView, properties: {disableLooping, dir}} = state;\n\tconst components = contentContainerElm.assignedNodes().filter(node => node.style?.display !== 'none');\n\n\tfor (let idx = 0; idx < contentElms.length; idx++) {\n\t\tif (contentElms[idx].offsetWidth === 0)\n\t\t\treturn false;\n\n\t\tlet margin = '0';\n\t\tlet maxWidth = carouselTrackElm.offsetWidth - (2 * c.LEFT_MOST_PADDING);\n\n\t\tif (itemsInView === c.SINGLE_ITEM_IN_VIEW) {\n\t\t\tmaxWidth = carouselTrackElm.offsetWidth;\n\t\t\t//Need to set the max width before getting the offsetWidth in case width is %\n\t\t\tcontentElms[idx].style.maxWidth = `${maxWidth}px`;\n\t\t\t//keep margin 0 if width is 100%\n\t\t\tif (contentElms[idx].style.width !== '100%') {\n\t\t\t\tconst marginWidth = (carouselTrackElm.offsetWidth - contentElms[idx].offsetWidth) / 2;\n\t\t\t\tif (marginWidth > 0)\n\t\t\t\t\tmargin = `0 ${marginWidth}px`;\n\t\t\t}\n\n\t\t} else if (!disableLooping || idx !== contentElms.length - 1) {\n\t\t\tif (dir === c.RTL)\n\t\t\t\tmargin = `0 0 0 ${c.RIGHT_MARGIN_WIDTH}px`;\n\t\t\telse\n\t\t\t\tmargin = `0 ${c.RIGHT_MARGIN_WIDTH}px 0 0 `;\n\t\t}\n\n\t\tupdateComponentStyle(contentElms[idx], margin, maxWidth);\n\n\t\t/*\n\t\t * Need to update the margins and widths of the duplicates\n\t\t * Using the style of the original components, as the duplicate components\n\t\t * might not be fully loaded yet\n\t\t *\n\t\t * Make sure duplicates exist before changing the style\n\t\t */\n\t\tif (!disableLooping) {\n\t\t\tfindDuplicates(components, contentElms[idx]).forEach(duplicate => {\n\t\t\t\tcopyStyle(duplicate, contentElms[idx]);\n\t\t\t});\n\t\t}\n\t}\n\n\treturn true;\n};\n\n/**\n * setupComponents\n *\n * Called in initialization or if there was a on slot change event\n * Stores references of the components\n * Checks to see if there was a change to the components\n * If so, update duplicates if need be\n * If no duplicating required, then setup indicators\n */\nexport const setupComponents = (state, updateState, dispatch, loopingChanged = false) => {\n\tconst {\n\t\taddDuplicatesOnResize,\n\t\tcarouselTrackElm,\n\t\tcontentContainerElm,\n\t\tcontentElms,\n\t\tcontentCount,\n\t\tisSwapping,\n\t\titemsInView,\n\t\tproperties: {\n\t\t\tdisableLooping,\n\t\t\tslidingType\n\t\t}\n\t} = state;\n\n\tif (contentContainerElm === null)\n\t\treturn;\n\n\tif (isSwapping) {\n\t\tupdateState({path: 'isSwapping', value: false, operation: c.SET, shouldRender: false});\n\t\treturn;\n\t}\n\n\tif (addDuplicatesOnResize) {\n\t\tupdateState({path: 'addDuplicatesOnResize', value: false, operation: c.SET, shouldRender: false});\n\t\tdispatch(c.ACTION_RECALCULATE_INDICATORS);\n\t\treturn;\n\t}\n\n\t//Get the new contents of the slot\n\tconst newContentElms = [];\n\tlet newContentCount = 0;\n\tif (contentContainerElm.assignedNodes().length !== 0) {\n\t\tcontentContainerElm.style.transition = c.TRANSITION_TIME;\n\t\tcontentContainerElm.assignedNodes().forEach(node => {\n\t\t\tif (!node.getAttribute('is-clone') && node.style?.display !== 'none')\n\t\t\t\tnewContentElms.push(node);\n\n\t\t});\n\t\tnewContentCount = newContentElms.length;\n\t}\n\n\tnewContentElms.forEach((node, idx) => {\n\t\tconst focusinEventHandler = () => {\n\t\t\tdispatch(c.ACTION_FOCUS_IN_ITEM, {node, idx});\n\t\t};\n\n\t\tif (node.carouselItemFocusinHandler)\n\t\t\tnode.removeEventListener('focusin', node.carouselItemFocusinHandler);\n\n\t\tnode.addEventListener('focusin', focusinEventHandler);\n\t\tnode.carouselItemFocusinHandler = focusinEventHandler;\n\t});\n\n\t//Check to see if there was any change\n\tlet contentChanged = false;\n\tif (contentCount !== newContentCount) \n\t\tcontentChanged = true;\n\t else {\n\t\tfor (let i = 0; i < contentElms.length; i++) {\n\t\t\tif (!contentElms[i].isSameNode(newContentElms[i])) {\n\t\t\t\tcontentChanged = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (!areComponentsInitialized(newContentElms)) {\n\t\tsetTimeout(() => {\n\t\t\tdispatch(c.ACTION_SLOT_CHANGE);\n\t\t}, 100);\n\n\t\treturn;\n\t}\n\n\t//Check to see if content fits the carousel\n\tconst contentWidth = getContentWidth(newContentElms, itemsInView, disableLooping, carouselTrackElm.offsetWidth);\n\tconst fitsContainer = (contentWidth <= carouselTrackElm.offsetWidth);\n\n\tupdateState([\n\t\t{path: 'contentCount', value: newContentCount, operation: c.SET, shouldRender: false},\n\t\t{path: 'contentElms', value: newContentElms, operation: c.SET, shouldRender: false}\n\t]);\n\n\tif (loopingChanged || contentChanged) {\n\t\tlet slotChangeEvent = false;\n\t\t//remove any duplicate components\n\t\tconst hostNode = contentContainerElm.getRootNode().host;\n\t\tslotChangeEvent = deleteDuplicates(hostNode, contentContainerElm);\n\n\t\t//If looping, add duplicate components if content changed\n\t\tif (!disableLooping && !fitsContainer) {\n\t\t\t//Create duplicates components before start of window\n\t\t\tcreateDuplicates(contentContainerElm, newContentElms, itemsInView, slidingType, carouselTrackElm.offsetWidth);\n\t\t\tslotChangeEvent = true;\n\t\t}\n\n\t\t/*\n\t\t * Deleting or creating duplicates will fire another on slot change event,\n\t\t * so we don't want to update the indicators\n\t\t * If no duplicates were deleted or created, then update the indicators\n\t\t */\n\t\tif (!slotChangeEvent)\n\t\t\tdispatch(c.ACTION_UPDATE_INDICATORS);\n\t} else {\n\t\t//update the indicators now that the components have been setup\n\t\tdispatch(c.ACTION_UPDATE_INDICATORS);\n\t}\n\tdispatch(c.ACTION_TRANSITION_END);\n};\n\n/**\n * setupIndicators\n *\n * sets the margins on the components, then calculates the indicators and moves the carousel to\n * the starting position\n */\nexport const setupIndicators = (state, updateProperties, updateState, dispatch) => {\n\tconst {contentContainerElm, currentIndex, hasStarted, properties: {startingIndex}} = state;\n\n\t//If settings the margins failed, stop setting up the indicators and try again after waiting 100ms\n\tif (!setComponentMargins(state)) {\n\t\tsetTimeout(() => {\n\t\t\tdispatch(c.ACTION_UPDATE_INDICATORS);\n\t\t}, 100);\n\n\t\treturn;\n\t}\n\n\t//calculate indicators and add to state\n\tconst indicators = calculateIndicators(state);\n\n\t//Update index\n\tlet selectedIndex = 0;\n\tif (indicators.length > 1) {\n\t\tconst position = hasStarted ? currentIndex : startingIndex;\n\t\tif (position >= indicators.length)\n\t\t\tselectedIndex = indicators.length - 1;\n\t\telse if (position < 0)\n\t\t\tselectedIndex = 0;\n\t\telse\n\t\t\tselectedIndex = position;\n\t}\n\n\tupdateState([\n\t\t{path: c.INDICATORS, value: indicators, operation: c.SET, shouldRender: true},\n\t\t{path: c.CURRENT_INDEX, value: selectedIndex, operation: c.SET, shouldRender: false},\n\t\t{path: c.HAS_STARTED, value: ( indicators.length > 1 ), operation: c.SET, shouldRender: false}\n\t]);\n\n\t//Move components to starting position\n\tif (contentContainerElm !== null && indicators.length !== 0)\n\t\ttransformComponents(state, updateState, `${indicators[selectedIndex].translate}`, c.NONE);\n\n\tdispatch(c.ACTION_INDICATOR_INDEX_UPDATED, {indicator: selectedIndex, numIndicators: indicators.length});\n\n\t//Metric Event for Initial Load\n\tif (state.didRender === false && (state.indicators.length > 0 || state.contentCount === 0)) {\n\t\tconst metadata = {\n\t\t\ttitle: !!state.properties.carouselTitle,\n\t\t\ttitleVariant: state.properties.titleVariant,\n\t\t\ttitlePosition: state.properties.titlePosition,\n\t\t\thideLink: state.properties.hideLink,\n\t\t\tlinkIcon: !!state.properties.linkIcon,\n\t\t\titemsInView: state.properties.itemsInView,\n\t\t\tslidingType: state.properties.slidingType,\n\t\t\tdisableLooping: state.properties.disableLooping,\n\t\t\tnavStyle: state.properties.navStyle,\n\t\t\tnavPosition: state.properties.navPosition,\n\t\t\tgradientStyle: state.properties.gradientStyle,\n\t\t\thideDotIndicator: state.properties.hideDotIndicator,\n\t\t\tstartingIndex: state.properties.startingIndex,\n\t\t\tcontentCount: state.contentCount,\n\t\t\tnumberOfIndicators: state.indicators.length,\n\t\t\tcurrentIndex: state.currentIndex\n\t\t};\n\t\tdispatch(c.METRIC_TRACKED, {eventName: c.CAROUSEL_INITIAL_LOAD, metadata});\n\t\tupdateState([\n\t\t\t{path: 'didRender', value: true, operation: c.SET, shouldRender: false}\n\t\t]);\n\t}\n};\n","import {\n\tcalculateIndicators,\n\tgetComponentsInView,\n\tgetContentWidth,\n\tgetTranslation,\n\ttransformComponents\n} from './sn-carousel-common';\nimport {\n\tcreateDuplicates,\n\tdeleteDuplicates\n} from './sn-carousel-duplicates';\nimport {setComponentMargins} from './sn-carousel-setup';\nimport c from './sn-carousel-constants';\n\n/**\n * recalculateIndicators\n *\n * when the carousel is resized, we need to update the indicators to reflect the new size\n * may need to adjust the carousel's components position\n */\nexport const recalculateIndicators = (state, updateState, dispatch) => {\n\tconst {\n\t\tcarouselTrackElm,\n\t\tcontentContainerElm,\n\t\tcontentElms,\n\t\tcurrentIndex: originalIndex,\n\t\tindicators: originalIndicators,\n\t\titemsInView,\n\t\tproperties: {\n\t\t\tdisableLooping,\n\t\t\tslidingType\n\t\t}\n\t} = state;\n\n\tconst prevContentWidth = getContentWidth(contentElms, itemsInView, disableLooping, carouselTrackElm.offsetWidth);\n\n\t//The max width might need to be updated\n\tsetComponentMargins(state);\n\n\tconst currentContentWidth = getContentWidth(contentElms, itemsInView, disableLooping, carouselTrackElm.offsetWidth);\n\tconst widthChanged = (prevContentWidth !== currentContentWidth);\n\n\tconst indicators = calculateIndicators(state);\n\tlet newIndex = originalIndex;\n\tif (newIndex >= indicators.length)\n\t\tnewIndex = indicators.length - 1;\n\n\tif (indicators.length > 1) {\n\n\t\t//If only one item is in view, move it to its proper position after updating spacing\n\t\tif (itemsInView === c.SINGLE_ITEM_IN_VIEW) \n\t\t\ttransformComponents(state, updateState, `${indicators[newIndex].translate}`, c.NONE);\n\n\t\t//If at the right most index, keep it in that position\n\t\t else if ((originalIndex !== 0 && originalIndex === originalIndicators.length - 1) || newIndex >= indicators.length - 1) {\n\t\t\tnewIndex = indicators.length - 1;\n\t\t\ttransformComponents(state, updateState, `${indicators[newIndex].translate}`, c.NONE);\n\n\t\t//If the width was changed, move the component to its new position (NOTE: May change which component is in view)\n\t\t} else if (widthChanged) \n\t\t\ttransformComponents(state, updateState, `${indicators[newIndex].translate}`, c.NONE);\n\n\t\t//if sliding type is next set of items and translations are not the same\n\t\t else if (slidingType === c.NEXT_SET_OF_ITEMS && getTranslation(contentContainerElm) !== indicators[newIndex].translate) \n\t\t\ttransformComponents(state, updateState, `${indicators[newIndex].translate}`, c.NONE);\n\t\t\n\n\t\t//Otherwise, don't change the positioning of the components\n\n\t} else {\n\t\t//Moving components back to starting position\n\t\tnewIndex = 0;\n\t\ttransformComponents(state, updateState, 0, c.NONE);\n\t}\n\n\tupdateState([\n\t\t{path: c.INDICATORS, value: indicators, operation: c.SET, shouldRender: true},\n\t\t{path: c.CURRENT_INDEX, value: newIndex, operation: c.SET, shouldRender: false}\n\t]);\n\n\tdispatch(c.ACTION_INDICATOR_INDEX_UPDATED, {indicator: newIndex, numIndicators: indicators.length});\n};\n\n/**\n * handleResize\n *\n * determine if we need to remove/add duplicates while looping which\n * will move the carousel back to the starting position if required\n * otherwise, update the indicators\n */\nexport const handleResize = (state, updateState, dispatch, prevWidth, currentWidth) => {\n\tconst {\n\t\tcontentContainerElm,\n\t\tcontentElms,\n\t\titemsInView,\n\t\tproperties: {\n\t\t\tdisableLooping,\n\t\t\tslidingType\n\t\t}\n\t} = state;\n\n\tconst contentWidth = getContentWidth(contentElms, itemsInView, disableLooping, currentWidth);\n\n\t//Carousel size was made larger\n\tif (currentWidth > prevWidth) {\n\t\t//Check if content now fits the carousel\n\t\tif (contentWidth < currentWidth && contentWidth > prevWidth) {\n\t\t\t//remove duplicates if looping\n\t\t\tif (!disableLooping) {\n\t\t\t\tconst hostNode = contentContainerElm.getRootNode().host;\n\t\t\t\tdeleteDuplicates(hostNode, contentContainerElm);\n\n\t\t\t\t//Deleting duplicates will cause slot change event\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\t//if duplicates were added due to the width change, there will be a slot change event\n\t\tif (!disableLooping && createDuplicates(contentContainerElm, contentElms, itemsInView, slidingType, currentWidth, true)) {\n\t\t\tupdateState({path: 'addDuplicatesOnResize', value: true, operation: c.SET, shouldRender: false});\n\t\t\treturn;\n\t\t}\n\n\t//Carousel size was made smaller\n\t} else {\n\t\t//Check if content now fits the carousel\n\t\tif (contentWidth > currentWidth && contentWidth < prevWidth) {\n\t\t\t//Add duplicates for looping\n\t\t\tif (!disableLooping) {\n\t\t\t\tcreateDuplicates(contentContainerElm, contentElms, itemsInView, slidingType, currentWidth, true);\n\n\t\t\t\t//adding duplicates will cause slot change event\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\trecalculateIndicators(state, updateState, dispatch);\n\t\n\t//DEF0595372 - update `IS_TRANSITION_PENDING` state to false\n\t//To make sure transition state doesn't end up in weird state, while autoscroll & resize happens at the same time\n\tupdateState({path: c.IS_TRANSITION_PENDING, value: false, operation: c.SET, shouldRender: false});\n};\n","import {transformComponents, getActionType} from './sn-carousel-common';\nimport c from './sn-carousel-constants';\n\n/**\n * updateNavigationFocus\n *\n * if the focus is on one of the arrows, but that arrow disappears after clicking it, set\n * the focus on the other arrow\n */\nconst updateNavigationFocus = (host, scrollDirection, disableLooping, index, indicators) => {\n\tif (disableLooping) {\n\t\tif (host.shadowRoot.activeElement === host.shadowRoot.querySelector(`.${c.ARROW}.${scrollDirection} now-button-iconic`)) {\n\t\t\tif (scrollDirection === c.LEFT) {\n\t\t\t\tif (index === 0) {\n\t\t\t\t\t//using setTimeout in case the right arrow is not visible yet (only two indicators)\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\thost.shadowRoot.querySelector(`.${c.ARROW}.${c.RIGHT} now-button-iconic`).focus();\n\t\t\t\t\t}, 100);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (index === indicators.length - 1) {\n\t\t\t\t\t//using setTimeout in case the left arrow is not visible yet (only two indicators)\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\thost.shadowRoot.querySelector(`.${c.ARROW}.${c.LEFT} now-button-iconic`).focus();\n\t\t\t\t\t}, 100);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n/**\n * scrollEffect\n *\n * move the carousel to the proper position based on which arrow was clicked\n */\nexport const scrollEffect = (scrollDirection, host, state, updateState, dispatch, actionType) => {\n\n\tconst {\n\t\tcontentContainerElm, indicators, isTransitionPending,\n\t\tcurrentIndex: originalIndex,\n\t\tproperties: {disableLooping, dir, enableAutoScroll}\n\t} = state;\n\tconst metadata = {\n\t\ttype: scrollDirection === 'left' ? 'previous' : 'next',\n\t\tlooped: state.properties.disableLooping ? 'not configured' : false\n\t};\n\n\t// Avoid additional scrolls until the transitionEnd has executed for the previous scroll\n\tif (isTransitionPending)\n\t\treturn;\n\n\tlet newIndex = originalIndex;\n\tlet useLoopTranslate = false;\n\n\tif (scrollDirection === c.RIGHT) {\n\t\tnewIndex++;\n\t\tif (newIndex >= indicators.length) {\n\t\t\tif (enableAutoScroll || !disableLooping) {\n\t\t\t\tnewIndex = 0;\n\t\t\t\tuseLoopTranslate = true;\n\t\t\t\tmetadata.looped = true;\n\t\t\t} else \n\t\t\t\tnewIndex = indicators.length - 1;\n\t\t\t\n\t\t}\n\t} else {\n\t\tnewIndex--;\n\t\tif (newIndex < 0) {\n\t\t\tif (disableLooping) \n\t\t\t\tnewIndex = 0;\n\t\t\t else {\n\t\t\t\tnewIndex = indicators.length - 1;\n\t\t\t\tuseLoopTranslate = true;\n\t\t\t\tmetadata.looped = true;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (useLoopTranslate)\n\t\ttransformComponents(state, updateState, `${indicators[newIndex].loopTranslate}`, c.TRANSITION_TIME, false);\n\telse\n\t\ttransformComponents(state, updateState, `${indicators[newIndex].translate}`);\n\n\tupdateState([\n\t\t{path: c.CURRENT_INDEX, value: newIndex, operation: c.SET, shouldRender: true},\n\t\t{path: c.IS_TRANSITION_PENDING, value: true, operation: c.SET, shouldRender: false}\n\t]);\n\n\tdispatch(c.ACTION_INDICATOR_INDEX_UPDATED, {indicator: newIndex, numIndicators: indicators.length, actionType});\n\tdispatch(c.METRIC_TRACKED, {eventName: c.NAVIGATION_INTERACTION, metadata});\n\n\tupdateNavigationFocus(host, scrollDirection, disableLooping, newIndex, indicators);\n};\n\n/**\n * indicatorClickedEffect\n *\n * move the carousel to the proper position based on which indicator was clicked\n */\nexport const indicatorClickedEffect = (action, state, updateState, dispatch, actionType) => {\n\tconst {payload: {indicatorClickedIdx, nextIndicator}} = action;\n\tconst {\n\t\tindicators, isTransitionPending, contentContainerElm\n\t} = state;\n\tconst metadata = {\n\t\ttype: 'dot indicator'\n\t};\n\n\t// Avoid additional scrolls until the transitionEnd has executed for the previous scroll\n\tif (isTransitionPending)\n\t\treturn;\n\n\ttransformComponents(state, updateState, `${indicators[indicatorClickedIdx].translate}`);\n\n\tupdateState([\n\t\t{path: c.CURRENT_INDEX, value: indicatorClickedIdx, operation: c.SET, shouldRender: true},\n\t\t{path: c.IS_TRANSITION_PENDING, value: true, operation: c.SET, shouldRender: false}\n\t]);\n\n\tdispatch(c.ACTION_INDICATOR_INDEX_UPDATED, {indicator: indicatorClickedIdx, numIndicators: indicators.length, actionType});\n\n\tdispatch(c.METRIC_TRACKED, {eventName: c.NAVIGATION_INTERACTION, metadata});\n\n\tif (nextIndicator)\n\t\tdispatch(c.ACTION_ARROW_KEY_PRESSED, {nextIndicator});\n};\n\n/**\n * transitionEndEffect\n *\n * removes the scrolling class added to the carousel track\n * If looping and moving from start to end (or vice versa), update the position to original indicator position\n */\nexport const transitionEndEffect = (dispatch, state, updateState) => {\n\tconst {\n\t\tcontentContainerElm, carouselTrackElm, isSwapping,\n\t\tindicators, currentIndex, properties: {disableLooping, dir}\n\t} = state;\n\n\tif (indicators.length === 0)\n\t\treturn;\n\n\n\t/*\n\t * When Javascript interprets the code, i.e. especially with transitions, it messes up with order as it executes\n\t * super-fast. To make sure the following effect happens, we are doing the setTimeout way.\n\t *\n\t * 100ms wait is executed to avoid jerky movements of the components\n\t */\n\tsetTimeout(() => {\n\n\t\t//If looping, we want to reset the translations if scrolling before the beginning or after the end\n\n\t\tif (!disableLooping && (currentIndex === 0 || currentIndex === indicators.length - 1))\n\t\t\ttransformComponents(state, updateState, `${indicators[currentIndex].translate}`, c.NONE);\n\n\n\t\t/*\n\t\t * We would like to update isTransitionPending only when we enable transition i.e. by setting the value\n\t\t * of contentContainerElm.style.transition. If not there are issues with scroll\n\t\t */\n\t\tupdateState({path: c.IS_TRANSITION_PENDING, value: false, operation: c.SET, shouldRender: false});\n\n\t\t/*\n\t\t * The scrolling class has been added in arrow or indicator click\n\t\t * It needs to be removed once the transition has completed so the user can scroll\n\t\t * the carousel again\n\t\t */\n\t\tcarouselTrackElm.classList.remove(c.SCROLLING);\n\t}, 100);\n};\n\n/**\n * swipeEffect\n *\n * determines which way to scroll when swiping and then calls scrollEffect\n */\nexport const swipeEffect = (touchStart, touchEnd, host, state, updateState, dispatch) => {\n\tconst {\n\t\tcarouselTrackElm, currentIndex, indicators,\n\t\tproperties: {disableLooping}\n\t} = state;\n\n\tif (touchEnd === touchStart) \n\t\treturn;\n\n\tlet scrollDirection = c.RIGHT;\n\t//if swipe right, scroll left\n\tif (touchEnd > touchStart)\n\t\tscrollDirection = c.LEFT;\n\n\t//do not want to scroll past end positions\n\tif (disableLooping && ((currentIndex === 0 && scrollDirection === c.LEFT) ||\n\t\t(currentIndex === indicators.length - 1 && scrollDirection === c.RIGHT)))\n\t\treturn;\n\n\t//c.SCROLLING class is added before transition and is removed on-transitionend\n\tcarouselTrackElm.classList.add(c.SCROLLING);\n\n\tconst actionType = getActionType(scrollDirection);\n\tscrollEffect(scrollDirection, host, state, updateState, dispatch, actionType);\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_devsnc_ux_metrics_index_jsdbx_eca31ced__[\"default\"][\"default\"];\n\t\t\t\t} });","import c from './sn-carousel-constants';\n// noinspection ES6CheckImport\nimport {actionTypes} from '@servicenow/ui-core';\nimport {get} from '@servicenow/ui-utils';\nimport {getComponentsInView, getTranslation, transformComponents, autoScrollStart, autoScrollStop, getActionType} from './sn-carousel-common';\nimport {handleResize, recalculateIndicators} from './sn-carousel-resize';\nimport {\n\tindicatorClickedEffect,\n\tscrollEffect,\n\tswipeEffect,\n\ttransitionEndEffect\n} from './sn-carousel-scroll';\nimport {resetPositions} from './sn-carousel-duplicates';\nimport {setupComponents, setupIndicators} from './sn-carousel-setup';\nimport track from '@devsnc/ux-metrics';\n\nconst {COMPONENT_DOM_READY, COMPONENT_TREE_RENDERED, COMPONENT_PROPERTY_CHANGED} = actionTypes;\n\nconst isZoomedIn = () => window.devicePixelRatio >= 4;\n\nconst updateItemsInView = (updateState, itemsInView) => {\n\tif (isZoomedIn()) {\n\t\tupdateState([\n\t\t\t{path: c.ITEMS_IN_VIEW, value: c.SINGLE_ITEM_IN_VIEW, operation: c.SET, shouldRender: false}\n\t\t]);\n\t\treturn c.SINGLE_ITEM_IN_VIEW;\n\t} \n\tupdateState([\n\t\t{path: c.ITEMS_IN_VIEW, value: itemsInView, operation: c.SET, shouldRender: false}\n\t]);\n\treturn itemsInView;\n\t\n};\n\nexport const actionHandlers = {\n\t[COMPONENT_DOM_READY]: {\n\t\teffect({state, dispatch, updateProperties}) {\n\t\t\tconst {enableAutoScroll, pauseAutoScroll} = state.properties;\n\t\t\tif (enableAutoScroll){\n\t\t\t\tupdateProperties({\n\t\t\t\t\tdisableLooping: false\n\t\t\t\t});\n\t\t\t\tif(!pauseAutoScroll)\n\t\t\t\t\tdispatch(c.ACTION_AUTO_SCROLL_START);\n\t\t\t}\n\t\t}\n\t},\n\t[COMPONENT_TREE_RENDERED]: {\n\t\teffect({state, updateState, dispatch}) {\n\t\t\tconst {carouselTrackElm, carouselWidth, properties: {singleItemOnZoom, itemsInView}} = state;\n\t\t\t//For UIB, set up components once the width is non zero\n\t\t\tif (carouselTrackElm && carouselWidth === 0 && carouselWidth !== carouselTrackElm.offsetWidth) {\n\t\t\t\tupdateState({path: c.CAROUSEL_WIDTH, value: carouselTrackElm.offsetWidth, operation: c.SET, shouldRender: false});\n\t\t\t\tif (singleItemOnZoom) \n\t\t\t\t\tstate.itemsInView = updateItemsInView(updateState, itemsInView);\n\t\t\t\t\n\t\t\t\tsetupComponents(state, updateState, dispatch);\n\t\t\t}\n\n\t\t\t//When the carousel width changes, handle resize\n\t\t\tif (carouselWidth !== 0 && carouselWidth !== carouselTrackElm.offsetWidth && carouselTrackElm.offsetWidth !== 0) {\n\t\t\t\tif (singleItemOnZoom) \n\t\t\t\t\tstate.itemsInView = updateItemsInView(updateState, itemsInView);\n\t\t\t\t\n\t\t\t\tupdateState({path: c.CAROUSEL_WIDTH, value: carouselTrackElm.offsetWidth, operation: c.SET, shouldRender: false});\n\t\t\t\thandleResize(state, updateState, dispatch, carouselWidth, carouselTrackElm.offsetWidth);\n\t\t\t}\n\n\t\t}\n\t},\n\t[COMPONENT_PROPERTY_CHANGED]: {\n\t\teffect({action, state, updateState, dispatch, updateProperties}) {\n\t\t\tconst propertyChanged = get(action.payload, c.NAME);\n\t\t\tconst {\n\t\t\t\tcarouselTrackElm, contentContainerElm, itemsInView,\n\t\t\t\tproperties: {disableLooping, singleItemOnZoom, itemsInView: propItemsInView, pauseAutoScroll}\n\t\t\t} = state;\n\n\t\t\t//If property changes scrolling logic, reset everything\n\t\t\tif (propertyChanged === c.DISABLE_LOOPING || propertyChanged === c.ITEMS_IN_VIEW\n\t\t\t\t|| propertyChanged === c.SLIDING_TYPE || propertyChanged === c.SINGLE_ITEM_ON_ZOOM) {\n\n\t\t\t\tif (carouselTrackElm !== null)\n\t\t\t\t\tcarouselTrackElm.classList.remove(c.SCROLLING);\n\n\t\t\t\tif (propertyChanged === c.DISABLE_LOOPING || propertyChanged === c.SLIDING_TYPE ) {\n\t\t\t\t\tif (contentContainerElm && getTranslation(contentContainerElm) !== 0) {\n\t\t\t\t\t\tcontentContainerElm.style.transition = c.NONE;\n\t\t\t\t\t\tcontentContainerElm.style.transform = 'translate(0px)';\n\t\t\t\t\t}\n\n\t\t\t\t\tupdateState({\n\t\t\t\t\t\tcurrentIndex: 0,\n\t\t\t\t\t\tisTransitionPending: false\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (singleItemOnZoom) \n\t\t\t\t\t\tupdateItemsInView(updateState, propItemsInView);\n\t\t\t\t\t else {\n\t\t\t\t\t\tupdateState([\n\t\t\t\t\t\t\t{path: 'itemsInView', value: propItemsInView, operation: c.SET, shouldRender: false}\n\t\t\t\t\t\t]);\n\t\t\t\t\t}\n\t\t\t\t\tupdateState({\n\t\t\t\t\t\tisTransitionPending: false\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tif (propertyChanged !== c.DISABLE_LOOPING && !disableLooping)\n\t\t\t\t\tresetPositions(contentContainerElm.getRootNode().host, contentContainerElm);\n\n\t\t\t\tsetupComponents(state, updateState, dispatch, (propertyChanged === c.DISABLE_LOOPING || !disableLooping));\n\t\t\t}\n\n\t\t\tif (propertyChanged === c.ENABLE_AUTOSCROLL) {\n\t\t\t\tif(action.payload.value){\n\t\t\t\t\tupdateProperties({\n\t\t\t\t\t\tdisableLooping: false\n\t\t\t\t\t});\n\t\t\t\t\tif (!pauseAutoScroll) \n\t\t\t\t\t\tdispatch(c.ACTION_AUTO_SCROLL_START);\n\t\t\t\t\telse \n\t\t\t\t\t\tdispatch(c.ACTION_AUTO_SCROLL_STOP);\n\t\t\t\t}else{\n\t\t\t\t\tupdateProperties({\n\t\t\t\t\t\tdisableLooping: true\n\t\t\t\t\t});\n\t\t\t\t\tdispatch(c.ACTION_AUTO_SCROLL_STOP);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\n\t\t\tif (propertyChanged === c.PAUSE_AUTOSCROLL) {\n\t\t\t\tif (!action.payload.value) \n\t\t\t\t\tdispatch(c.ACTION_AUTO_SCROLL_START);\n\t\t\t\t else \n\t\t\t\t\tdispatch(c.ACTION_AUTO_SCROLL_STOP);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t},\n\t[c.ACTION_SCROLL]: {\n\t\tstopPropagation: true,\n\t\teffect({action, state, host, updateState, dispatch}) {\n\t\t\tconst {payload: {scrollDirection}} = action;\n\t\t\tscrollEffect(scrollDirection, host, state, updateState, dispatch);\n\t\t}\n\t},\n\t[c.NOW_BUTTON_ICONIC_CLICKED]: {\n\t\teffect({action, state, host, updateState, dispatch, updateProperties}) {\n\t\t\tconst {currentIndex, indicators} = state;\n\t\t\tconst {pauseAutoScroll} = state.properties;\n\t\t\tconst {payload: {carouselTrackElm, scrollDirection, autoScrollAction}} = action;\n\n\t\t\tif (autoScrollAction === c.PAUSE || autoScrollAction === c.PLAY) {\n\t\t\t\tupdateProperties({\n\t\t\t\t\tpauseAutoScroll: !pauseAutoScroll\n\t\t\t\t});\n\t\t\t\tdispatch(c.ACTION_AUTO_SCROLL_PAUSED, {isPaused: !pauseAutoScroll, indicator: currentIndex, numIndicators: indicators.length});\n\t\t\t\taction.stopPropagation();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst actionType = getActionType(scrollDirection);\n\n\t\t\t// stop event propagation for now-button-iconic, only if click is from navigation buttons\n\t\t\tif (carouselTrackElm && scrollDirection) {\n\t\t\t\t//c.SCROLLING class is added before transition and is removed on-transitionend\n\t\t\t\tcarouselTrackElm.classList.add(c.SCROLLING);\n\t\t\t\tscrollEffect(scrollDirection, host, state, updateState, dispatch, actionType);\n\t\t\t\taction.stopPropagation();\n\t\t\t}\n\t\t}\n\t},\n\t[c.ACTION_INDICATOR_CLICKED]: {\n\t\tstopPropagation: true,\n\t\teffect({action, state, updateState, dispatch}) {\n\t\t\tconst actionType = getActionType(c.INDICATOR);\n\t\t\tindicatorClickedEffect(action, state, updateState, dispatch, actionType);\n\t\t}\n\t},\n\t[c.ACTION_TRANSITION_END]: {\n\t\tstopPropagation: true,\n\t\teffect({dispatch, state, updateState}) {\n\t\t\ttransitionEndEffect(dispatch, state, updateState);\n\t\t}\n\t},\n\t[c.ACTION_RECALCULATE_INDICATORS]: {\n\t\tstopPropagation: true,\n\t\teffect({dispatch, state, updateState}) {\n\t\t\trecalculateIndicators(state, updateState, dispatch);\n\t\t}\n\t},\n\t[c.ACTION_SLOT_CHANGE]: {\n\t\tstopPropagation: true,\n\t\teffect({dispatch, state, updateState}) {\n\t\t\tsetupComponents(state, updateState, dispatch);\n\t\t}\n\t},\n\t[c.ACTION_TOUCH_END]: {\n\t\tstopPropagation: true,\n\t\teffect({action, state, host, updateState, dispatch}) {\n\t\t\tconst {touchStart} = state;\n\t\t\tconst {payload: {touchEnd}} = action;\n\t\t\tswipeEffect(touchStart, touchEnd, host, state, updateState, dispatch);\n\t\t}\n\t},\n\t[c.ACTION_UPDATE_INDICATORS]: {\n\t\tstopPropagation: true,\n\t\teffect ({state, updateProperties, updateState, dispatch}) {\n\t\t\tsetupIndicators(state, updateProperties, updateState, dispatch);\n\t\t}\n\t},\n\t[c.NOW_BUTTON_BARE_CLICKED]: {\n\t\teffect({action, dispatch}) {\n\t\t\tconst metadata = {\n\t\t\t\ttype: 'viewAllLink'\n\t\t\t};\n\t\t\t//Only dispatch ACTION_LINK_CLICKED if the 'view all' link was clicked\n\t\t\tif (action.meta.appended) {\n\t\t\t\tconst {component} = action.meta.appended;\n\t\t\t\tif (component === c.SN_CAROUSEL) {\n\t\t\t\t\taction.stopPropagation();\n\t\t\t\t\tdispatch(c.ACTION_LINK_CLICKED);\n\t\t\t\t\tdispatch(c.METRIC_TRACKED, {eventName: c.NAVIGATION_INTERACTION, metadata});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t[c.METRIC_TRACKED]:{\n\t\tstopPropagation: true,\n\t\teffect(coeffects) {\n\t\t\tconst {\n\t\t\t\taction: {\n\t\t\t\t\tpayload: {metadata, eventName}\n\t\t\t\t}\n\t\t\t} = coeffects;\n\t\t\ttrack(coeffects, eventName, metadata);\n\t\t}\n\t},\n\t[c.ACTION_ARROW_KEY_PRESSED]:{\n\t\tstopPropagation: true,\n\t\teffect(coeffects) {\n\t\t\tconst {\n\t\t\t\taction: {\n\t\t\t\t\tpayload: {nextIndicator}\n\t\t\t\t}\n\t\t\t} = coeffects;\n\t\t\tnextIndicator.focus();\n\t\t}\n\t},\n\t[c.ACTION_FOCUS_IN_ITEM]:{\n\t\tstopPropagation: true,\n\t\teffect(coeffects) {\n\t\t\tconst {\n\t\t\t\taction: {\n\t\t\t\t\tpayload: {node, idx}\n\t\t\t\t},\n\t\t\t\tstate, host, updateState, dispatch\n\t\t\t} = coeffects;\n\t\t\tconst {indicators, carouselTrackElm, currentIndex\n\t\t\t} = state;\n\t\t\tconst inViewComponents = getComponentsInView(state, indicators[currentIndex].translate, false);\n\t\t\tlet indicatorIdx = 0;\n\t\t\twhile (indicatorIdx < indicators.length - 1 && indicators[indicatorIdx + 1].content <= idx)\n\t\t\t\tindicatorIdx += 1;\n\n\t\t\tif (!inViewComponents.includes(node)) {\n\t\t\t\tcarouselTrackElm.classList.add(c.SCROLLING);\n\n\t\t\t\ttransformComponents(state, updateState, `${indicators[indicatorIdx].translate}`);\n\n\t\t\t\tupdateState([\n\t\t\t\t\t{path: c.CURRENT_INDEX, value: indicatorIdx, operation: c.SET, shouldRender: true},\n\t\t\t\t\t{path: c.IS_TRANSITION_PENDING, value: true, operation: c.SET, shouldRender: false}\n\t\t\t\t]);\n\t\t\t\tdispatch(c.ACTION_INDICATOR_INDEX_UPDATED, {indicator: indicatorIdx, numIndicators: indicators.length});\n\t\t\t\tdispatch(c.METRIC_TRACKED, {eventName: c.NAVIGATION_INTERACTION, metadata: {type: 'tab focus'}});\n\t\t\t}\n\t\t}\n\t},\n\t[c.ACTION_AUTO_SCROLL_START]: {\n\t\tstopPropagation: true,\n\t\teffect({dispatch, state, updateState}) {\n\t\t\tautoScrollStart(state, updateState, dispatch);\n\t\t}\n\t},\n\n\t[c.ACTION_AUTO_SCROLL_STOP]: {\n\t\tstopPropagation: true,\n\t\teffect({state, updateState}) {\n\t\t\tautoScrollStop(state, updateState);\n\t\t}\n\t}\n};\n","import c from './sn-carousel-constants';\n\nexport const initialState = {\n\taddDuplicatesOnResize: false,\n\tcarouselTrackElm: null,\n\tcarouselWidth: 0,\n\tcontentContainerElm: null,\n\tcontentCount: 0,\n\tcontentElms: [],\n\tcurrentIndex: 0,\n\tdidRender: false,\n\terrorMessage: null,\n\tindicators: [],\n\tisSwapping: false,\n\tisTransitionPending: false,\n  \thasStarted: false,\n\ttouchStart: 0,\n\tautoScrollIntervalId: c.AUTO_SCROLL_INTERVAL_ID_DEFAULT\n};\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_resize_27_0_23_index_jsdbx_63fc5bcd__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_27_0_23_index_jsdbx_d2993a74__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"Fragment\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'Fragment' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].Fragment;\n\t\t\t\t\t} else if ('Fragment' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.Fragment || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].Fragment;\n\t\t\t\t}, [\"createElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t\t} else if ('createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.createElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t}, [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import c from './sn-carousel-constants';\n\nconst getDisplayArrowClass = (state, arrowType) => {\n\tconst {currentIndex, indicators, properties: {disableLooping, navPosition}} = state;\n\n\t//if looping, we always show the arrows\n\tif (!disableLooping)\n\t\treturn c.SHOW;\n\n\tlet hideArrow = false;\n\tif (arrowType === c.LEFT)\n\t\thideArrow = (currentIndex === 0);\n\telse\n\t\thideArrow = (currentIndex === indicators.length - 1);\n\n\tif (!hideArrow)\n\t\treturn c.SHOW;\n\n\tif (navPosition === c.CENTER)\n\t\treturn c.HIDE;\n\n\treturn c.DISABLED;\n};\n\nexport const getNavigationControls = (state, dispatch) => {\n\tconst {contentCount, indicators, carouselTrackElm, properties: {navPosition, navStyle}} = state;\n\n\t//If there are no components or if all of the components fit the width of the carousel, don't show arrows\n\tif (contentCount === 0 || indicators.length <= 1)\n\t\treturn '';\n\n\tconst displayLeftArrow = getDisplayArrowClass(state, c.LEFT);\n\tconst displayRightArrow = getDisplayArrowClass(state, c.RIGHT);\n\n\treturn (\n\t\t<div className={`${c.ARROWS} ${navPosition}`}>\n\t\t\t<span className={`${c.ARROW} ${c.LEFT} ${navPosition} ${displayLeftArrow}`}>\n\t\t\t\t<now-button-iconic\n\t\t\t\t\tsize=\"lg\" bare variant=\"primary\" hidePadding\n\t\t\t\t\ticon={`${c.LEFT_ARROW_ICON}-${navStyle}`}\n\t\t\t\t\tdisabled={displayLeftArrow === c.DISABLED}\n\t\t\t\t\tclassName={'nav-button'}\n\t\t\t\t\ttooltipContent={c.BACKWARD}\n\t\t\t\t\tconfigAria={{\n\t\t\t\t\t\tbutton: {\n\t\t\t\t\t\t\t'aria-label': c.BACKWARD,\n\t\t\t\t\t\t\t...(displayLeftArrow === c.DISABLED && {'aria-disabled': 'true'})\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t\tappend-to-payload={{\n\t\t\t\t\t\tscrollDirection: c.LEFT,\n\t\t\t\t\t\tcarouselTrackElm\n\t\t\t\t\t}}><\/now-button-iconic>\n\t\t\t<\/span>\n\t\t\t<span className={`${c.ARROW} ${c.RIGHT} ${navPosition} ${displayRightArrow}`}>\n\t\t\t\t<now-button-iconic\n\t\t\t\t\tsize=\"lg\" bare variant=\"primary\" hidePadding\n\t\t\t\t\ticon={`${c.RIGHT_ARROW_ICON}-${navStyle}`}\n\t\t\t\t\tdisabled={displayRightArrow === c.DISABLED}\n\t\t\t\t\tclassName={'nav-button'}\n\t\t\t\t\ttooltipContent={c.FORWARD}\n\t\t\t\t\tconfigAria={{\n\t\t\t\t\t\tbutton: {\n\t\t\t\t\t\t\t'aria-label': c.FORWARD,\n\t\t\t\t\t\t\t...(displayRightArrow === c.DISABLED && {'aria-disabled': 'true'})\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t\tappend-to-payload={{\n\t\t\t\t\t\tscrollDirection: c.RIGHT,\n\t\t\t\t\t\tcarouselTrackElm\n\t\t\t\t\t}}\n\t\t\t\t><\/now-button-iconic>\n\t\t\t<\/span>\n\t\t<\/div>\n\t);\n};\n","import '@servicenow/now-button';\nimport '@servicenow/now-heading';\nimport '@servicenow/now-icon';\nimport '@servicenow/now-template-message';\nimport '@servicenow/now-highlighted-value';\n\nimport {t} from 'sn-translate';\n\nimport {Fragment} from '@servicenow/ui-renderer-snabbdom';\nimport {getIndicators} from './sn-carousel-indicators';\nimport {getNavigationControls} from './sn-carousel-nav';\nimport c from './sn-carousel-constants';\n\nconst showTitle = state => {\n\tconst {properties: {hideTitle, carouselTitle}} = state;\n\treturn !(hideTitle || carouselTitle.trim().length === 0);\n};\n\nconst displayTitle = state => {\n\tconst {properties: {carouselTitle, disableTextWrapping, titleLevel, titlePosition, titleVariant, badgeConfig}} = state;\n\n\tif (!showTitle(state))\n\t\treturn (<div id={c.TITLE_WRAPPER} className={c.TITLE_WRAPPER}/>);\n\n\tconst badge = badgeConfig.label ? <now-highlighted-value id={c.BADGE} className={c.BADGE} label={badgeConfig.label} color={badgeConfig.color} variant={badgeConfig.variant}/> : null;\n\n\treturn (\n\t\t<div id={c.TITLE_WRAPPER} className={`${c.TITLE_WRAPPER} ${titlePosition}`}>\n\t\t\t<now-heading className={c.TITLE} label={carouselTitle} level={titleLevel} variant={titleVariant} wontWrap={disableTextWrapping} hasNoMargin={true}/> \n\t\t\t{badge}\n\t\t<\/div>\n\t);\n};\n\nconst showHeaderLink = state => {\n\tconst {properties: {hideLink, linkText, linkIcon}} = state;\n\treturn !(hideLink || (!linkText && !linkIcon));\n};\n\nconst displayHeaderLink = state => {\n\tconst {properties: {linkText, linkIcon}} = state;\n\n\tif (!showHeaderLink(state))\n\t\treturn '';\n\n\treturn (\n\t\t<span className={`${c.HEADER_LINK}`}>\n\t\t\t<now-button-bare\n\t\t\t\tlabel={linkText ? t(linkText) : ''}\n\t\t\t\ticon-end={linkIcon ? linkIcon : ''}\n\t\t\t\tvariant={c.SECONDARY}\n\t\t\t\tsize={c.MEDIUM}\n\t\t\t\tclassName={c.BUTTON}\n\t\t\t\thidePadding={true}\n\t\t\t\tconfigAria={{button: {'aria-roledescription': 'link'}}}\n\t\t\t\tappend-to-meta={{component: c.SN_CAROUSEL}}>\n\t\t\t<\/now-button-bare>\n\t\t<\/span>\n\t);\n};\n\nconst displayHeader = state => {\n\tconst {properties: {titlePosition, disableTextWrapping}} = state;\n\tif (!showTitle(state) && !showHeaderLink(state))\n\t\treturn <div className={c.CAROUSEL_HEADER_ABSENT}/>;\n\n\treturn (\n\t\t<div className={`${c.CAROUSEL_HEADER} carousel-${titlePosition}`}>\n\t\t\t{displayTitle(state)}\n\t\t\t{displayHeaderLink(state)}\n\t\t<\/div>\n\t);\n};\n\nconst displayFooter = (state, dispatch) => {\n\tconst {contentCount, indicators, properties: {navPosition}} = state;\n\tlet indicatorClasses = `${c.INDICATORS} ${navPosition}`;\n\tif (navPosition !== c.CENTER && (contentCount > 0 && indicators.length > 1))\n\t\tindicatorClasses += ` ${c.SHOW_ARROWS}`;\n\n\treturn (\n\t\t<div className={c.CAROUSEL_FOOTER}>\n\t\t\t<div className={indicatorClasses}>{getIndicators(state, dispatch)}<\/div>\n\t\t<\/div>\n\t);\n};\n\nconst displayEmptyState = state => {\n\tconst {\n\t\temptyStateLabel,\n\t\temptyStateContent,\n\t\temptyStateIllustration,\n\t\ttitleLevel\n\t} = state.properties;\n\n\t//The empty state heading level should be lower than the title heading level\n\tconst headingLevel = (titleLevel === c.TITLE_LEVEL_6 ? parseInt(titleLevel) : parseInt(titleLevel) + 1);\n\treturn (\n\t\t<now-template-message-empty-state\n\t\t\tclassName={c.EMPTY_STATE}\n\t\t\theading={{label: emptyStateLabel, level: headingLevel}}\n\t\t\tcontent={emptyStateContent}\n\t\t\talignment={c.HORIZONTAL}\n\t\t\tillustration={emptyStateIllustration}\n\t\t/>\n\t);\n};\n\nconst view = (state, {\n\tdispatch,\n\tupdateState\n}) => {\n\tconst {\n\t\tcontentContainerElm,\n\t\tcontentCount,\n\t\tcurrentIndex,\n\t\tindicators,\n\t\tproperties: {\n\t\t\tdisableLooping,\n\t\t\tgradientStyle,\n\t\t\tnavStyle,\n\t\t\tenableAutoScroll,\n\t\t\tpauseAutoScroll\n\t\t}\n\t} = state;\n\n\tlet isLooping = !disableLooping;\n\tif (contentContainerElm !== null && contentCount > 0)\n\t\tisLooping = (contentContainerElm.assignedNodes().filter(node => node.style?.display !== 'none').length > contentCount);\n\n\tconst leftGradientStyle = (isLooping || (currentIndex > 0)) ? gradientStyle : c.NONE;\n\tconst rightGradientStyle = (isLooping || (currentIndex < indicators.length - 1)) ? gradientStyle : c.NONE;\n\tconst roleDesc = t('Carousel of {0} items', contentCount);\n\n\tconst ariaLabelledBy = showTitle(state) ? c.TITLE_WRAPPER : '';\n\n\treturn (\n\t\t<Fragment> \n\t\t\t<div className={c.CAROUSEL_WRAPPER} aria-label={t(c.CAROUSEL_LABEL)}\n\t\t\t\t role=\"group\" aria-roledescription={roleDesc} aria-labelledby={ariaLabelledBy}> \n\t\t\t\t{displayHeader(state)} \n\t\t\t\t{(contentCount === 0) ? displayEmptyState(state) : ''}\n\t\t\t\t<div className={c.CAROUSEL_TRACK}\n\t\t\t\t\tref={carouselTrackElm => {\n\t\t\t\t\t\tupdateState(\n\t\t\t\t\t\t\t{path: c.CAROUSEL_TRACK_ELM, value: carouselTrackElm, operation: c.SET, shouldRender: true});\n\n\t\t\t\t\t}}\n\t\t\t\t\ton-touchstart={e => {\n\t\t\t\t\t\tupdateState(\n\t\t\t\t\t\t\t{path: 'touchStart', value: e.changedTouches[0].clientX, operation: c.SET, shouldRender: false});\n\t\t\t\t\t}}\n\t\t\t\t\ton-touchend={e => {\n\t\t\t\t\t\tdispatch(c.ACTION_TOUCH_END, {touchEnd: e.changedTouches[0].clientX});\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<div className={`${c.GRADIENT} ${c.LEFT} ${leftGradientStyle}`}/>\n\t\t\t\t\t<div className={`${c.GRADIENT} ${c.RIGHT} ${rightGradientStyle}`}/>\n\t\t\t\t\t{enableAutoScroll ? <div className='pause-play-button'>\n\t\t\t\t\t\t<now-button-iconic\n\t\t\t\t\t\t\ticon={`${!pauseAutoScroll ? c.PAUSE_ICON : c.PLAY_ICON}-${navStyle}`}\n\t\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t\tbare={true}\n\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t\thide-padding={true}\n\t\t\t\t\t\t\tconfig-aria={{button: {'aria-label': !pauseAutoScroll ? c.PAUSE_LABEL : c.PLAY_LABEL}}}\n\t\t\t\t\t\t\ttooltip-content={!pauseAutoScroll ? c.PAUSE_LABEL : c.PLAY_LABEL}\n\t\t\t\t\t\t\tappend-to-payload={{\n\t\t\t\t\t\t\t\tautoScrollAction: !pauseAutoScroll ? c.PAUSE : c.PLAY\n\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t<\/now-button-iconic>\n\t\t\t\t\t<\/div> : ''}\n\t\t\t\t\t{getNavigationControls(state, dispatch)}\n\t\t\t\t\t<slot name={c.CONTENT} className='content-container'\n\t\t\t\t\t\tref={contentContainerElm => {\n\t\t\t\t\t\t\tupdateState(\n\t\t\t\t\t\t\t\t{path: c.CONTENT_CONTAINER_ELM, value: contentContainerElm, operation: c.SET, shouldRender: true});\n\t\t\t\t\t\t}}\n\t\t\t\t\t\ton-slotchange={() => {\n\t\t\t\t\t\t\tdispatch(c.ACTION_SLOT_CHANGE);\n\t\t\t\t\t\t}}\n\t\t\t\t\t\ton-transitionend={() => {\n\t\t\t\t\t\t\tdispatch(c.ACTION_TRANSITION_END);\n\t\t\t\t\t\t}}>\n\n\t\t\t\t\t<\/slot>\n\n\t\t\t\t<\/div>\n\t\t\t\t{displayFooter(state, dispatch)}\n\t\t\t<\/div>\n\n\t\t<\/Fragment>\n\t);\n};\n\nexport default view;","import {t} from 'sn-translate';\nimport c from './sn-carousel-constants';\n\nexport const getIndicators = (state, dispatch) => {\n\tconst {\n\t\tindicators, currentIndex, carouselTrackElm, itemsInView,\n\t\tproperties: {hideDotIndicator}\n\t} = state;\n\n\tconst indicatorSelected = (idx, currentIndex, nextIndicator) => {\n\t\tif (idx !== currentIndex) {\n\t\t\t//c.SCROLLING class is added before transition and is removed on-transitionend\n\t\t\tcarouselTrackElm.classList.add(c.SCROLLING);\n\t\t\tdispatch(c.ACTION_INDICATOR_CLICKED, {indicatorClickedIdx: idx, nextIndicator});\n\t\t}\n\t};\n\n\t//hide if true\n\tif (hideDotIndicator)\n\t\treturn '';\n\n\t// We hide indicators if the number of indicators is greater than 10.\n\tif (indicators.length <= 1 || indicators.length > 10)\n\t\treturn '';\n\n\tconst items = [];\n\tfor (let idx = 0; idx < indicators.length; ++idx) {\n\t\tconst indicatorId = `${c.INDICATOR}${idx + 1}`;\n\t\tconst label = itemsInView === c.SINGLE_ITEM_IN_VIEW ?\n\t\t\tt('Carousel navigation, {0} of {1}', idx + 1, indicators.length) :\n\t\t\tt('Carousel navigation, screen {0} of {1}', idx + 1, indicators.length);\n\t\titems.push(\n\t\t\t<div key={indicatorId} id={indicatorId}>\n\t\t\t\t<button\n\t\t\t\t\tclassName={idx === currentIndex ? c.SELECTED : ''}\n\t\t\t\t\taria-label={label}\n\t\t\t\t\taria-current={idx === currentIndex ? 'true' : 'false'}\n\t\t\t\t\ttitle={label}\n\t\t\t\t\ton-click={() => {\n\t\t\t\t\t\tindicatorSelected(idx, currentIndex);\n\t\t\t\t\t}}\n\t\t\t\t\ton-keydown={event => {\n\t\t\t\t\t\tif (event.key === c.ENTER_KEY) \n\t\t\t\t\t\t\tindicatorSelected(idx, currentIndex);\n\t\t\t\t\t\t else if (event.key === c.ARROW_LEFT || event.key === c.ARROW_RIGHT) {\n\t\t\t\t\t\t\tconst ulElem = event.target.parentElement.parentElement;\n\t\t\t\t\t\t\tconst nextIdx = (currentIndex + (event.key === c.ARROW_RIGHT ? 1 : -1) + indicators.length) % indicators.length;\n\t\t\t\t\t\t\tconst nextIndicator = ulElem.querySelector(`#${c.INDICATOR}${nextIdx + 1} > button`);\n\t\t\t\t\t\t\tindicatorSelected(nextIdx, currentIndex, nextIndicator);\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t<\/div>\n\t\t);\n\t}\n\n\treturn <nav aria-label=\"Carousel Slider\">{items}<\/nav>;\n};\n","import {actionHandlers} from './sn-carousel-action-handlers';\nimport {createCustomElement} from '@servicenow/ui-core';\nimport {initialState} from './sn-initial-state';\nimport c from './sn-carousel-constants';\nimport resizeBehavior from '@servicenow/behavior-resize';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport styles from './carousel.scss';\nimport view from './sn-carousel-view';\n\n/**\n * Carousel is a component that allows the user to cycle through a list of components.\n *\n * The carousel component shows a subset of components on the page.\n * The user can click on the arrows or indicators to move some of the\n * components out of view and other components into view.\n *\n * Note: In the example below, it does not need to be a now-card component.\n * It can be any type of component as long as it is in the slot.\n *\n * ```jsx\n *\t<sn-carousel>\n * \t\t<now-card slot=\"content\" size=\"lg\">\n *\t\t\t<now-card-header\n *\t\t\t\theading={{label: 'Content 1'}}\n *\t\t/>\n *\t\t<\/now-card>\n *\t\t<now-card slot=\"content\" size=\"lg\">\n *\t\t\t<now-card-header\n *\t\t\t\theading={{label: 'Content 2'}}\n *\t\t\t/>\n *\t\t<\/now-card>\n *\t<\/sn-carousel>\n * ```\n *\n * @seismicElement sn-carousel\n * @summary a container that allows some of the content to display if it is larger\n * than the page\n */\nexport default createCustomElement('sn-carousel', {\n\tproperties: {\n\t\t/**\n\t\t * When true, the title is hidden.\n\t\t *\n\t\t * If hideTitle and hideLink are true, the header will be hidden.\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\thideTitle: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The content for the title.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\tcarouselTitle: {\n\t\t\tdefault: 'Title',\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Customizable badge, primarily used to display number of items in the Carousel.\n\t\t *\n\t\t * @type {label: string, color: string, variant: string}\n\t\t */\n\t\tbadgeConfig: {\n\t\t\tdefault: {label: \"\", color: \"low\", variant: \"tertiary\"},\n\t\t\tschema: {\n\t\t\t\ttype: c.JSON\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Disables title text from wrapping and truncates the title instead.\n\t\t * \n\t\t * @type {boolean}\n\t\t */\n\t\tdisableTextWrapping: {\n\t\t\tdefault: true,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Sets the HTML <hx> heading element used to render the title.\n\t\t * The property is based on the Heading component.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\ttitleLevel: {\n\t\t\tdefault: c.TITLE_LEVEL_2,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.TITLE_LEVEL_1,\n\t\t\t\t\tc.TITLE_LEVEL_2,\n\t\t\t\t\tc.TITLE_LEVEL_3,\n\t\t\t\t\tc.TITLE_LEVEL_4,\n\t\t\t\t\tc.TITLE_LEVEL_5,\n\t\t\t\t\tc.TITLE_LEVEL_6\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Sets the style variant that is applied to the title.\n\t\t * The property is based on the Heading component.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\ttitleVariant: {\n\t\t\tdefault: c.HEADER_TERTIARY,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.HEADER_PRIMARY,\n\t\t\t\t\tc.HEADER_SECONDARY,\n\t\t\t\t\tc.HEADER_TERTIARY,\n\t\t\t\t\tc.TITLE_PRIMARY,\n\t\t\t\t\tc.TITLE_SECONDARY,\n\t\t\t\t\tc.TITLE_TERTIARY\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Sets the position of the title. The title can be left-aligned or right-aligned.\n\t\t *\n\t\t * If the space available for the title is not sufficient, the title will be truncated\n\t\t * to the space and 3 ellipses will be shown at the end.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\ttitlePosition: {\n\t\t\tdefault: c.LEFT,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.LEFT, c.RIGHT]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * When true, the link is hidden.\n\t\t *\n\t\t * If hideTitle and hideLink are true, the header will be hidden.\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\thideLink: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The icon to display at the end of the link text.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\tlinkIcon: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The content for the link.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\tlinkText: {\n\t\t\tdefault: '',\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The heading to display if there is no content.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\temptyStateLabel: {\n\t\t\tdefault: c.EMPTY_STATE_LABEL,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The message to display if there is no content.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\temptyStateContent: {\n\t\t\tdefault: c.EMPTY_STATE_MESSAGE,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The illustration to display if there is no content.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\temptyStateIllustration: {\n\t\t\tdefault:c.COMPLETED_TASKS,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [\n\t\t\t\t\tc.ADD_ATTACHMENT,\n\t\t\t\t\tc.ADD_DATA,\n\t\t\t\t\tc.COMPLETED_TASKS,\n\t\t\t\t\tc.ERROR,\n\t\t\t\t\tc.FIRST_TIME_USER,\n\t\t\t\t\tc.INTERRUPTED,\n\t\t\t\t\tc.NO_ACTIVITIES,\n\t\t\t\t\tc.NO_DATA,\n\t\t\t\t\tc.NO_SEARCH_RESULTS,\n\t\t\t\t\tc.OFFLINE,\n\t\t\t\t\tc.PERMISSIONS,\n\t\t\t\t\tc.UNCONFIGURED\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Indicates how to display the items in a carousel: one at a time or multiple times.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\titemsInView: {\n\t\t\tdefault: c.MULTIPLE_ITEMS_IN_VIEW,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.MULTIPLE_ITEMS_IN_VIEW, c.SINGLE_ITEM_IN_VIEW]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Indicates how many items move when you click next: a single item or a set of items.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\tslidingType: {\n\t\t\tdefault: c.SINGLE_ITEM,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.NEXT_SET_OF_ITEMS, c.SINGLE_ITEM]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t *\n\t\t * When true, the left arrow on the first component and the right arrow on the last component\n\t\t * are not visible.\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\tdisableLooping: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The navigation controls can be positioned as follows:\n\t\t *  - center: Vertically centered and displayed on either end\n\t\t *  - bottom-right: Bottom-right aligned\n\t\t *  - bottom-left: Bottom-left aligned\n\t\t *  - bottom-split: Bottom aligned and displayed on either end\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\tnavPosition: {\n\t\t\tdefault: c.CENTER,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.CENTER, c.BOTTOM_LEFT, c.BOTTOM_RIGHT, c.BOTTOM_SPLIT]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * The color of the gradient surrounding the sides of the carousel.\n\t\t *\n\t\t * @type {string}\n\t\t */\n\t\tgradientStyle: {\n\t\t\tdefault: c.PRIMARY,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.PRIMARY, c.SECONDARY, c.TERTIARY, c.DARK, c.NONE]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Defines how the navigation controls look.\n\t\t *  - fill: The icon is filled in.\n\t\t *  - outline: The icon is outlined and the background is filled in.\n\t\t * @type {string}\n\t\t */\n\t\tnavStyle: {\n\t\t\tdefault: c.FILL,\n\t\t\tschema: {\n\t\t\t\ttype: c.STRING,\n\t\t\t\tenum: [c.FILL, c.OUTLINE]\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * When true, the dot indicators will be hidden.\n\t\t *\n\t\t * The dots will also be hidden if there are more than 10.\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\thideDotIndicator: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Index of the indicators to move the carousel to when initially loaded/refreshed.\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\tstartingIndex: {\n\t\t\tdefault: 0,\n\t\t\tschema: {\n\t\t\t\ttype: c.INTEGER\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * When true, the content view will change to single item when zoomed-in to 400%\n\t\t *\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\tsingleItemOnZoom: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t *\n\t\t * When true, carousel content is scrolled automatically at default interval(1000ms)\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\tenableAutoScroll: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Carousel content auto scroll speed interval\n\t\t *\n\t\t * @type {number}\n\t\t */\n\t\tautoScrollSpeed: {\n\t\t\tdefault: 3000,\n\t\t\tschema: {\n\t\t\t\ttype: c.INTEGER\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t *\n\t\t * When true, carousel content autoscroll will be paused\n\t\t *\n\t\t * @type {boolean}\n\t\t */\n\t\tpauseAutoScroll: {\n\t\t\tdefault: false,\n\t\t\tschema: {\n\t\t\t\ttype: c.BOOLEAN\n\t\t\t}\n\t\t}\n\t},\n\tsetInitialState({properties}) {\n\t\treturn {\n\t\t\t...initialState,\n\t\t\titemsInView: properties.itemsInView\n\t\t};\n\t},\n\tactionHandlers,\n\trenderer: {\n\t\ttype: snabbdom,\n\t\tview\n\t},\n\tstyles,\n\tbehaviors: [\n\t\t{\n\t\t\tbehavior: resizeBehavior\n\t\t},\n\t\t{\n\t\t\tbehavior: rtlBehavior\n\t\t}\n\t],\n\tslots: {\n\t\t/**\n\t\t * The content for the slots.\n\t\t */\n\t\tcontent: {}\n\t}\n});","import * as exports from '../index.js';\nwindow.__TECTONIC__$devsnc_sn_carousel=exports;\nexport * from '../index.js';\n\n"],"version":3}},{"offset":{"line":91,"column":0},"map":{"mappings":";;;;;;;;;;eAMAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA6FX,OA3FAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,IAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GA4B5B,OA1BIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAGvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAGnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAG5EC,GAAWN,EAAuBK,GAE9BE,IACFD,GAAW,KAGTD,EAAK,KACPC,GAAW,KAGTD,EAAK,KACPC,GAAW,KAGNA,CACT,GAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAG7B,IAAIC,EAAyB,CAAC,EAE9B,GAAIJ,EACF,IAAK,IAAIK,EAAI,EAAGA,EAAIhB,KAAKM,OAAQU,IAAK,CACpC,IAAIC,EAAKjB,KAAKgB,GAAG,GAEP,MAANC,IACFF,EAAuBE,IAAM,EAEjC,CAGF,IAAK,IAAIC,EAAK,EAAGA,EAAKT,EAAQ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E,OAAQ2P,GACR7b,iBAAiB,GAElB,CAAC4Q,IAAgD,CAChD1E,OAAQ6P,GACR/b,iBAAiB,GAElB,CAAC6Q,IAA+C,CAC/C3E,OAAQ6P,GACR/b,iBAAiB,GAElB,CAAC8Q,IAAmD,CACnD5E,OAAQ+P,GACRjc,iBAAiB,GAElB,CAAC+Q,IAAkD,CAClD7E,OAAQ+P,GACRjc,iBAAiB,GAElB,CAACgR,IAAsD,CACtD9E,OAAQpB,GACR9K,iBAAiB,GAElB,CAACiR,IAAqD,CACrD/E,OAAQpB,GACR9K,iBAAiB,GAElB,CAACiL,IAA6BZ,IAE/BsS,cAAe,CACd,CACCC,OAAQ,CAAC,SACT1Q,MAAAA,CAAM9L,GAMH,IAJST,EAAKS,EADhBqI,OACC8B,QAAU5K,MAEXiD,EAAQxC,EAARwC,SACQwS,EAA0BhV,EAAlCgH,MAAQgO,4BAEHrN,EAAAA,GAAAA,SAAQqN,IACZxS,EACC+N,GACAhR,EAEH,EACAD,OAAQmd,SAASC,OAGnB3Q,WAAY,CAIX,CAACmE,IAAmD,CAAC,EAIrD,CAACN,IAA8C,CAAC,EAIhD,CAACC,IAA6C,CAAC,EAO/C,CAACI,IAA+C,CAAC,EAOjD,CAACN,IAA0C,CAAC,EAO5C,CAACS,IAAwC,CAAC,KE1M5C/C,OAAOsP,6BAA6B7jB,EAAAA;AAAA,oBAAAA","file":"externals/sn-cx-workstream/index.min.js","names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","___CSS_LOADER_EXPORT___","result","__esModule","default","_extends","Object","assign","bind","n","e","arguments","t","r","hasOwnProperty","call","apply","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","d","a","definition","key","o","defineProperty","enumerable","get","obj","prop","prototype","Symbol","toStringTag","value","y","x","cjsModule","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__","actionTypes","createCustomElement","declarativeOperations","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__","Fragment","createElement","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__","WORKSTREAM_TITLE","message","PHASE_TITLE","PHASE_TITLE_SECONDARY","CAROUSEL_CONTENT","NO_CAROUSEL_CONTENT","NO_INITIAL_DATA_ALT","FILE_TYPE_AND_SIZE_UNAVAILABLE","FILE_TYPE_UNAVAILABLE","FILE_SIZE_UNAVAILABLE","MICROSOFT_EXCEL","PDF","MICROSOFT_POWERPOINT","IMAGE_OBJECT","VARIANT","IMAGE_ALT_TEXT","ASSET","SEE_THE_COMPLETE_METHODOLOGY","hex2rgb","hex","replace","split","char","bigint","parseInt","createInteractionHandler","fn","ignoreSpace","interactionHandlers","preventDefault","moreHandlers","reduce","target","event","createFocusHandler","onFocus","onBlur","focusHandlers","stopPropagation","getAssetFormatIcon","defaultValue","LeftCapSelected","_ref","bgColor","selectedColor","RightCapSelected","_ref2","Arrow","position","isSelected","backgroundColor","CapComponent","className","role","toSentenceCase","str","toLowerCase","c","toUpperCase","name","workstream","isFocused","variant","handleWorkstreamClick","handleFocus","handleBlur","style","borderTopColor","borderBottomColor","WorkstreamCap","WorkstreamName","WORKSTREAM_PHASE_CAROUSEL_PHASE_SELECTED","WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_SELECTED","WORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED","WORKSTREAM_PHASE_CAROUSEL_PHASE_BLURRED","WORKSTREAM_PHASE_CAROUSEL_PHASE_FOCUSED","WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_BLURRED","WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_FOCUSED","SN_CX_CARD_CLICKED","workstreams","selectedWorkstreamId","focusedWorkstreamId","dispatch","workstreamId","_workstream$selectedC","renderWorkstreamItem","WorkstreamItem","color","renderWorkstreamList","label","size","handleInlineNavClick","configAria","button","LeftCapForFirst","LeftCapSelectedForFirst","LeftCap","RightCap","RightCapForLast","RightCapSelectedForLast","index","phasesLength","isLeft","getLeftCap","getRightCap","phase","handlePhaseClick","ariaPressed","tabIndex","filter","Boolean","PhaseCap","PhaseName","phases","selectedPhaseId","focusedPhaseId","phaseId","PhaseItem","CardImage","src","alt","CardMeta","category","icon","CardBody","_ref3","description","AssetInfo","_ref4","assetFormat","fileSize","getFooterMessage","CardFooter","_ref5","_ref6","card","href","assetUrl","slot","image","fileFormat","renderCarouselWithItems","carouselItems","hideTitle","disableLooping","slidingType","navPosition","height","slidesForSlot","handleCardClick","Card","totalCards","isCarouselEmpty","carouselData","state","entry","items","getCarouselItemsByWorkstreamAndPhase","PhaseList","WorkstreamList","CarouselContent","__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__","find","findIndex","flatMap","isEmpty","isEqual","memoize","updateStateValues","coeffects","stateOperations","updateState","handleSelectionClick","statePath","selectedId","action","meta","path","operation","SET","handleFocusOrBlurEvent","focusedId","generateStateOperationsForSelection","selectedWorkstream","selectedPhase","getInitialWorkstreamAndPhaseSelection","data","_data$workstreams","_data$phases","assignImagesToCarousel","images","shuffledImages","sort","Math","random","updatedItems","effectHandlers","handleComponentBootstrap","_coeffects$properties","properties","workstreamPhaseCarouselData","_getInitialWorkstream","carouselDataWithImages","handleComponentPropertyChanged","_action$payload","payload","previousValue","_action$payload$image","_getInitialWorkstream2","clickedWorkstreamId","handlePhaseFocusedOrBlurred","_coeffects$action$pay","handleWorkstreamFocusedOrBlurred","handleNavCardClicked","COMPONENT_BOOTSTRAPPED","COMPONENT_PROPERTY_CHANGED","_workstreamPhaseCarou","workstreamPhaseCarouselEffects","renderer","type","snabbdom","view","canRenderCarousel","shouldRenderCarousel","WorkstreamPhaseCarousel","styles","schema","initialState","behaviors","behavior","rtlBehavior","actionHandlers","effect","dispatches","SEE_ALL","COLLAPSE_TASK_LIST","EXPAND_TASK_LIST","PHASE_NAVIGATION","TASK_INDICATORS","NO_PROCESSES_AVAILABLE","hexToRgb","g","b","updateStateWithOperations","operations","op","extractNumericValue","dimension","_dimension$match","match","adjustPopoverDim","width","padding","calculateDimensions","element","window","getComputedStyle","getProcessesCollapsedStateContext","gridmapData","appliedPhaseId","isWorkstreamExpandedMode","appliedWorkstreamId","Array","isArray","matchingWorkstream","processes","process","isCollapsed","isRolePresentInTask","_ref6$responsible","responsible","_ref6$accountable","accountable","appliedRole","includes","isRolePresentInAnyTask","tasks","task","getClassNameForProcessTaskHeader","getClassNameForTaskBarIndicator","getClassNameForTaskPopoverTaskItem","getClassNameForTaskItem","getClassNameForCollapsibleProcessTaskHeaderContent","getClassNameForCollapsibleProcessTaskIndicator","getClassNameForCollapsibleProcessTaskItem","handleWorkstreamSeeAllClick","isPhaseExpandedMode","handlePhaseSeeAllClick","safeId","generateIdFromName","WORKSTREAM_PHASE_GRIDMAP_PHASE_EXPANDED","WORKSTREAM_PHASE_GRIDMAP_PHASE_NAVIGATION_CLICKED","WORKSTREAM_PHASE_GRIDMAP_PHASE_SEE_ALL_CLICKED","WORKSTREAM_PHASE_GRIDMAP_PHASE_SELECTED","WORKSTREAM_PHASE_GRIDMAP_CLEAR_PHASE_FILTER","WORKSTREAM_PHASE_GRIDMAP_CLEAR_ROLE_FILTER","WORKSTREAM_PHASE_GRIDMAP_PHASE_MOUSEHOVER","WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SEE_ALL_CLICKED","WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_EXPANDED","WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SELECTED","WORKSTREAM_PHASE_GRIDMAP_CLEAR_WORKSTREAM_FILTER","WORKSTREAM_PHASE_GRIDMAP_PROCESS_COLLAPSE_EXPAND_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_TASK_CLICKED","WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_LIST_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_REF_UPDATED","WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_TASK_FOCUS_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_TASK_BLUR_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_PROCESS_FOCUS_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_PROCESS_BLUR_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_FOCUS_REQUESTED","WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_BLUR_REQUESTED","previousPhase","nextPhase","handlePhaseNavigation","headerId","phaseName","isExpanded","PhaseNavigation","LeftCapDefault","attrs","xmlns","viewBox","fill","maskUnits","mask","stroke","LeftCapForFirstDefault","LeftCapForFirstHover","LeftCapHover","LeftCapExpanded","RightCapDefault","RightCapHover","RightCapForLastDefault","RightCapForLastHover","RightCapExpanded","isHover","isLast","handlePhaseHoverIn","handlePhaseHoverOut","sectionId","sectionClasses","generatePhaseSectionClasses","fnIn","fnOut","hoverHandlers","createHoverHandler","PhaseDecorativeCap","PhaseSectionHeader","expandedPhaseId","hoverPhaseId","expandedPhase","p","expandedPhaseIndex","PhaseSection","PhaseTitle","WorkstreamHeader","PhaseHeader","highlighterColor","_hexToRgb","vertBarColor","onFocusWorkstreamHandler","onBlurWorkstreamHandler","dynamicProps","WorkstreamNameHighlighter","WorkstreamLabel","taskColor","_ref$appliedRole","barColor","handleTaskClick","background","getBackgroundColor","getPopoverStyle","taskDim","processDim","opacity","parentHeight","top","processPopoverStateContext","updatePopoverRef","clearPopoverStateContext","isLastItem","_ref3$appliedRole","class","elm","hook-destroy","TaskPopoverHeader","TaskPopoverTaskItem","ProcessFocus","_ref$parentWidth","parentWidth","_ref$parentHeight","_ref$color","_ref$strokeWidth","strokeWidth","_ref$rx","rx","viewBoxWidth","viewBoxHeight","toggleProcessTaskPopoverList","onFocusProcessHandler","onBlurProcessHandler","focusedProcess","isProcessPopoverActive","focusedProcessId","TaskBarList","TaskPopoverList","EmptyProcess","ProcessItem","workstreamsRowData","borderColor","borderTop","phaseData","WorkstreamProcessByPhase","TaskFocus","_ref$width","_ref$height","onFocusTaskHandler","onBlurTaskHandler","focusedTaskId","TaskItem","ProcessTaskItem","ProcessTasksForWorkstream","toggleProcessExpandCollapse","currentSum","currentTask","svg","processesCollapsedStateContext","_find$isCollapsed","_find","CollapsableProcessTask","matchingPhase","ProcessTasksForPhase","extractProcesses","wsBgColor","WorkstreamTasksForPhaseExpanded","WorkstreamProcessTaskList","WorkstreamProcessList","workstreamRows","expandedWorkstreamId","_state$appliedRole","expandedWorkstream","w","expandedWorkstreamRowData","wr","processId","offsetWidth","offsetHeight","WorkstreamRow","wsRow","WorkstreamPhaseGridmapHeader","WorkstreamRows","buildProcessesCollapsedStateContext","isWorkstreamExpanded","resetPhaseExpansion","resetWorkstreamExpansion","_coeffects$state3","workstreamPhaseGridmapData","_coeffects$state2","handlePhaseNavigationClick","_coeffects$state4","handlePhasesSeeAllClicked","_coeffects$state","handleWorkstreamSeeAllClicked","_coeffects$state5","stateUpdates","resetRole","handleProcessesCollapseExpandContext","toggleProcessCollapsedState","processCollapsedStateContext","newProcessesCollapsedStateContext","handleProcessPopoverStateContext","toggleProcessPopoverState","newProcessPopoverStateContext","updateProcessPopoverRef","taskPopoverElm","processItemElm","parentElement","parentDimension","popoverDivDimensions","firstChild","updatedState","updateProcessPopoverStateContext","clearProcessPopoverStateContext","clearProcessPopoverState","handleTaskFocusedOrBlurred","updateTaskFocusContext","handleProcessFocusedOrBlurred","updateProcessFocusContext","updateWorkstreamFocusContext","handlePhaseHover","updatePhaseHoverContext","_workstreamPhaseGridm","workstreamPhaseGridmapEffects","canRenderGridmap","shouldRenderGridmap","WorkstreamPhaseGridmap","eventHandlers","events","document","body","__TECTONIC__sn_cx_workstream"],"sources":["webpack:///css-loader/6.7.1/dist/runtime/api.js","webpack:///css-loader/6.7.1/dist/runtime/noSourceMaps.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/styles.scss","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/styles.scss","webpack:///./src/components/sn-cx-workstream-phase-carousel/styles.scss?d950","webpack:///./src/components/sn-cx-workstream-phase-gridmap/styles.scss?1019","webpack:///@babel/runtime/7.25.7/helpers/extends.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///external module \"/uxasset/externals/@servicenow/ui-core/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/ui-renderer-snabbdom/index.jsdbx\"","webpack:///external module \"/uxasset/externals/@servicenow/behavior-rtl/28.4.1/index.jsdbx\"","webpack:///external module \"/uxasset/externals/sn-translate/index.jsdbx\"","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/constants.js","webpack:///external module \"/uxasset/externals/@servicenow/now-button/index.jsdbx\"","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/utils.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/helpers/workstreamSVGComponents.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/WorkstreamCap.js","webpack:///sn-cx-workstream/src/utils/toSentenceCase.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/WorkstreamName.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/WorkstreamItem.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/actions.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/WorkstreamList.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/helpers/phaseSVGComponents.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/PhaseCap.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/helpers/phaseCaps.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/PhaseName.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/PhaseItem.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/PhaseList.js","webpack:///external module \"/uxasset/externals/@servicenow/now-icon/index.jsdbx\"","webpack:///external module \"/uxasset/externals/sn-cx-responsive/index.jsdbx\"","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/Card.js","webpack:///external module \"/uxasset/externals/@devsnc/sn-carousel/index.jsdbx\"","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/CarouselContent.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/WorkstreamPhaseCarousel.js","webpack:///external module \"/uxasset/externals/lodash/4.17.21/index.jsdbx\"","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/effects/stateOperations.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/effects/generalEffects.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/effects/lifecycleEffects.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/effects/index.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/effects/phaseEffects.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/effects/workstreamEffects.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/index.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/index.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-carousel/view/helpers/shouldRenderWorkstreamPhaseCarousel.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/shouldRenderGridmap.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/constants.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/utils.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamHeader.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseTitle.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/generateIdFromName.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseName.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/actions.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseNavigation.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseSectionHeader.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/phaseSVGComponents.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseCap.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/phaseCap.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/generatePhaseSectionClasses.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseSection.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseList.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/PhaseHeader.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamPhaseGridmapHeader.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamNameHighlighter.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamLabel.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamName.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/TaskBarList.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/TaskPopoverHeader.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/TaskPopoverTaskItem.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/TaskPopoverList.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/processSVGComponents.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/ProcessItem.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/EmptyProcess.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamProcessByPhase.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamProcessList.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/isLast.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/helpers/taskSVGComponents.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/TaskItem.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/ProcessTaskItem.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/ProcessTasksForWorkstream.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamProcessTaskList.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/CollapsableProcessTask.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/ProcessTasksForPhase.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamTasksForPhaseExpanded.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamRow.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamRows.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/WorkstreamPhaseGridmap.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/effects.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/index.js","webpack:///sn-cx-workstream/src/components/sn-cx-workstream-phase-gridmap/view/index.js","webpack:///sn-cx-workstream/src/__imaginary__/entry-wrapper.js"],"sourcesContent":["\"use strict\";\n\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n  var list = []; // return the list of modules as css string\n\n  list.toString = function toString() {\n    return this.map(function (item) {\n      var content = \"\";\n      var needLayer = typeof item[5] !== \"undefined\";\n\n      if (item[4]) {\n        content += \"@supports (\".concat(item[4], \") {\");\n      }\n\n      if (item[2]) {\n        content += \"@media \".concat(item[2], \" {\");\n      }\n\n      if (needLayer) {\n        content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n      }\n\n      content += cssWithMappingToString(item);\n\n      if (needLayer) {\n        content += \"}\";\n      }\n\n      if (item[2]) {\n        content += \"}\";\n      }\n\n      if (item[4]) {\n        content += \"}\";\n      }\n\n      return content;\n    }).join(\"\");\n  }; // import a list of modules into the list\n\n\n  list.i = function i(modules, media, dedupe, supports, layer) {\n    if (typeof modules === \"string\") {\n      modules = [[null, modules, undefined]];\n    }\n\n    var alreadyImportedModules = {};\n\n    if (dedupe) {\n      for (var k = 0; k < this.length; k++) {\n        var id = this[k][0];\n\n        if (id != null) {\n          alreadyImportedModules[id] = true;\n        }\n      }\n    }\n\n    for (var _k = 0; _k < modules.length; _k++) {\n      var item = [].concat(modules[_k]);\n\n      if (dedupe && alreadyImportedModules[item[0]]) {\n        continue;\n      }\n\n      if (typeof layer !== \"undefined\") {\n        if (typeof item[5] === \"undefined\") {\n          item[5] = layer;\n        } else {\n          item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n          item[5] = layer;\n        }\n      }\n\n      if (media) {\n        if (!item[2]) {\n          item[2] = media;\n        } else {\n          item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n          item[2] = media;\n        }\n      }\n\n      if (supports) {\n        if (!item[4]) {\n          item[4] = \"\".concat(supports);\n        } else {\n          item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n          item[4] = supports;\n        }\n      }\n\n      list.push(item);\n    }\n  };\n\n  return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n  return i[1];\n};","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.now-line-height-crop{display:block}.now-line-height-crop:after,.now-line-height-crop:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1)}.now-line-height-crop:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1)}.now-line-height-crop+.now-line-height-crop{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1*-1)}.now-line-height-crop--sm{display:block}.now-line-height-crop--sm:after,.now-line-height-crop--sm:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop--sm:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1.06664)}.now-line-height-crop--sm:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1.06664)}.now-line-height-crop--sm+.now-line-height-crop--sm{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1.06664*-1)}.now-heading--lg,.now-heading--md,.now-heading--xl{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-weight:600}.now-heading--md{font-size:var(--now-font-size--md1,1rem)}.now-heading--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-heading--xl{font-size:var(--now-font-size--xl,2.5rem)}.now-text--normal{font-weight:400}.now-text--semibold{font-weight:600}.now-text--bold{font-weight:700}.now-text--sm{font-size:var(--now-font-size--sm,.75rem)}.now-text--md{font-size:var(--now-font-size--md1,1rem)}.now-text--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-text--primary{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}.now-text--secondary{color:RGB(var(--now-color_text--secondary,var(--now-color--neutral-15,44,53,55)))}.now-text--tertiary{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}.now-m-block--xxs{margin-block-end:.125rem}.now-m-block--xxs,.now-m-block-start--xxs{margin-block-start:.125rem}.now-m-block-end--xxs{margin-block-end:.125rem}.now-m-inline--xxs{margin-inline-end:.125rem}.now-m-inline--xxs,.now-m-inline-start--xxs{margin-inline-start:.125rem}.now-m-inline-end--xxs{margin-inline-end:.125rem}.now-m-block--xs{margin-block-end:.25rem}.now-m-block--xs,.now-m-block-start--xs{margin-block-start:.25rem}.now-m-block-end--xs{margin-block-end:.25rem}.now-m-inline--xs{margin-inline-end:.25rem}.now-m-inline--xs,.now-m-inline-start--xs{margin-inline-start:.25rem}.now-m-inline-end--xs{margin-inline-end:.25rem}.now-m-block--sm{margin-block-end:.5rem}.now-m-block--sm,.now-m-block-start--sm{margin-block-start:.5rem}.now-m-block-end--sm{margin-block-end:.5rem}.now-m-inline--sm{margin-inline-end:.5rem}.now-m-inline--sm,.now-m-inline-start--sm{margin-inline-start:.5rem}.now-m-inline-end--sm{margin-inline-end:.5rem}.now-m-block--md{margin-block-end:.75rem}.now-m-block--md,.now-m-block-start--md{margin-block-start:.75rem}.now-m-block-end--md{margin-block-end:.75rem}.now-m-inline--md{margin-inline-end:.75rem}.now-m-inline--md,.now-m-inline-start--md{margin-inline-start:.75rem}.now-m-inline-end--md{margin-inline-end:.75rem}.now-m-block--lg{margin-block-end:1rem}.now-m-block--lg,.now-m-block-start--lg{margin-block-start:1rem}.now-m-block-end--lg{margin-block-end:1rem}.now-m-inline--lg{margin-inline-end:1rem}.now-m-inline--lg,.now-m-inline-start--lg{margin-inline-start:1rem}.now-m-inline-end--lg{margin-inline-end:1rem}.now-m-block--xl{margin-block-end:1.5rem}.now-m-block--xl,.now-m-block-start--xl{margin-block-start:1.5rem}.now-m-block-end--xl{margin-block-end:1.5rem}.now-m-inline--xl{margin-inline-end:1.5rem}.now-m-inline--xl,.now-m-inline-start--xl{margin-inline-start:1.5rem}.now-m-inline-end--xl{margin-inline-end:1.5rem}.now-m-block--xxl{margin-block-end:2rem}.now-m-block--xxl,.now-m-block-start--xxl{margin-block-start:2rem}.now-m-block-end--xxl{margin-block-end:2rem}.now-m-inline--xxl{margin-inline-end:2rem}.now-m-inline--xxl,.now-m-inline-start--xxl{margin-inline-start:2rem}.now-m-inline-end--xxl{margin-inline-end:2rem}.now-m-block--3xl{margin-block-end:2.5rem}.now-m-block--3xl,.now-m-block-start--3xl{margin-block-start:2.5rem}.now-m-block-end--3xl{margin-block-end:2.5rem}.now-m-inline--3xl{margin-inline-end:2.5rem}.now-m-inline--3xl,.now-m-inline-start--3xl{margin-inline-start:2.5rem}.now-m-inline-end--3xl{margin-inline-end:2.5rem}.now-m-block--0{margin-block-end:0}.now-m-block--0,.now-m-block-start--0{margin-block-start:0}.now-m-block-end--0{margin-block-end:0}.now-m-inline--0{margin-inline-end:0}.now-m-inline--0,.now-m-inline-start--0{margin-inline-start:0}.now-m-inline-end--0{margin-inline-end:0}.now-p-block--xxs{padding-block-end:.125rem}.now-p-block--xxs,.now-p-block-start--xxs{padding-block-start:.125rem}.now-p-block-end--xxs{padding-block-end:.125rem}.now-p-inline--xxs{padding-inline-end:.125rem}.now-p-inline--xxs,.now-p-inline-start--xxs{padding-inline-start:.125rem}.now-p-inline-end--xxs{padding-inline-end:.125rem}.now-p-block--xs{padding-block-end:.25rem}.now-p-block--xs,.now-p-block-start--xs{padding-block-start:.25rem}.now-p-block-end--xs{padding-block-end:.25rem}.now-p-inline--xs{padding-inline-end:.25rem}.now-p-inline--xs,.now-p-inline-start--xs{padding-inline-start:.25rem}.now-p-inline-end--xs{padding-inline-end:.25rem}.now-p-block--sm{padding-block-end:.5rem}.now-p-block--sm,.now-p-block-start--sm{padding-block-start:.5rem}.now-p-block-end--sm{padding-block-end:.5rem}.now-p-inline--sm{padding-inline-end:.5rem}.now-p-inline--sm,.now-p-inline-start--sm{padding-inline-start:.5rem}.now-p-inline-end--sm{padding-inline-end:.5rem}.now-p-block--md{padding-block-end:.75rem}.now-p-block--md,.now-p-block-start--md{padding-block-start:.75rem}.now-p-block-end--md{padding-block-end:.75rem}.now-p-inline--md{padding-inline-end:.75rem}.now-p-inline--md,.now-p-inline-start--md{padding-inline-start:.75rem}.now-p-inline-end--md{padding-inline-end:.75rem}.now-p-block--lg{padding-block-end:1rem}.now-p-block--lg,.now-p-block-start--lg{padding-block-start:1rem}.now-p-block-end--lg{padding-block-end:1rem}.now-p-inline--lg{padding-inline-end:1rem}.now-p-inline--lg,.now-p-inline-start--lg{padding-inline-start:1rem}.now-p-inline-end--lg{padding-inline-end:1rem}.now-p-block--xl{padding-block-end:1.5rem}.now-p-block--xl,.now-p-block-start--xl{padding-block-start:1.5rem}.now-p-block-end--xl{padding-block-end:1.5rem}.now-p-inline--xl{padding-inline-end:1.5rem}.now-p-inline--xl,.now-p-inline-start--xl{padding-inline-start:1.5rem}.now-p-inline-end--xl{padding-inline-end:1.5rem}.now-p-block--xxl{padding-block-end:2rem}.now-p-block--xxl,.now-p-block-start--xxl{padding-block-start:2rem}.now-p-block-end--xxl{padding-block-end:2rem}.now-p-inline--xxl{padding-inline-end:2rem}.now-p-inline--xxl,.now-p-inline-start--xxl{padding-inline-start:2rem}.now-p-inline-end--xxl{padding-inline-end:2rem}.now-p-block--3xl{padding-block-end:2.5rem}.now-p-block--3xl,.now-p-block-start--3xl{padding-block-start:2.5rem}.now-p-block-end--3xl{padding-block-end:2.5rem}.now-p-inline--3xl{padding-inline-end:2.5rem}.now-p-inline--3xl,.now-p-inline-start--3xl{padding-inline-start:2.5rem}.now-p-inline-end--3xl{padding-inline-end:2.5rem}.now-p-block--0{padding-block-end:0}.now-p-block--0,.now-p-block-start--0{padding-block-start:0}.now-p-block-end--0{padding-block-end:0}.now-p-inline--0{padding-inline-end:0}.now-p-inline--0,.now-p-inline-start--0{padding-inline-start:0}.now-p-inline-end--0{padding-inline-end:0}:host{align-items:stretch;display:flex;flex-direction:column;height:100%;width:100%}.sn-cx-workstream-phase-carousel{grid-column-gap:1.25rem;grid-row-gap:1.25rem;align-self:stretch;display:grid;grid-template-columns:20.625rem 1fr;grid-template-rows:auto 1fr}.workstream-carousel{align-items:flex-start;display:flex;flex-direction:column;gap:.25rem;grid-column-end:2;grid-column-start:1;grid-row-end:3;grid-row-start:1;padding-top:3.75rem;width:20.625rem}.workstream-carousel__secondary{padding-top:1rem}.workstream-carousel__secondary .scroll_button{--now-button--bare_primary--color:0,113,143;--now-actionable--font-size--md:14px;--now-button--bare--font-family:var(--now-font-family-sn-sans);--now-button--bare--font-weight:300;padding-top:.5rem}.workstream-carousel__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;align-self:stretch;color:RGB(var(--now-color_text--primary,21,25,32));display:-webkit-box;font-family:var(--now-font-family-sn-sans);font-size:1.25rem;font-weight:500;line-height:1.625rem;margin:0;overflow:hidden;text-overflow:ellipsis}.workstream-carousel__list{align-self:stretch;display:flex;flex-direction:column;gap:.25rem}.workstream-item{align-items:center;align-self:stretch;background:none;border:none;border-radius:.3125rem;cursor:pointer;display:flex;flex:1 0 0;gap:.4375rem;height:2.5rem;justify-content:flex-start;padding:.625rem .75rem;position:relative;width:100%}.workstream-item--selected{border-bottom:.0625rem solid;border-top:.0625rem solid;z-index:1}.workstream-item__name{align-items:center;align-self:stretch;display:flex;gap:.25rem}.workstream-item__name .workstream-item__arrow-icon{height:1rem;width:1rem}.workstream-item__name .workstream-item__name-text{color:RGB(var(--now-color_text--primary,21,25,32));font-family:var(--now-font-family-sn-sans);font-size:1rem;font-weight:450;letter-spacing:-.013125rem;line-height:1.25rem;margin-bottom:0;margin-top:0;white-space:nowrap}.workstream-cap--left{left:-.25rem}.workstream-cap--left,.workstream-cap--right{height:2.5rem;position:absolute;width:.5625rem;z-index:1}.workstream-cap--right{right:-.3125rem}.phase-carousel{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:.25rem;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1}.phase-carousel__title{color:RGB(var(--now-color_text--primary,21,25,32));flex:1 0 0;font-family:var(--now-font-family-sn-sans);font-size:18px;font-style:normal;font-weight:500;line-height:26px;margin:0}.phase-carousel__list{align-items:center;align-self:stretch;display:flex;height:2.5rem;padding:0 .25rem}.phase-carousel__list_item{flex:1}.phase-carousel__list-secondary,.phase-item{align-items:center;align-self:stretch;display:flex;height:2.5rem}.phase-item{background:#e3eaef;border-bottom:1px solid var(--now-color--neutral-0,255,255,255);border-top:1px solid var(--now-color--neutral-0,255,255,255);cursor:pointer;flex:1 0 0;position:relative}.phase-item--first{border-bottom-left-radius:.3125rem;border-top-left-radius:.3125rem}.phase-item--selected{background:#d4ebf8;border-bottom:1px solid #032d42;border-top:1px solid #032d42;z-index:1}.phase-item--selected .phase-cap{position:absolute;z-index:1}.phase-item--selected .phase-cap--left{left:-.1875rem}.phase-item--selected .phase-cap--right{right:0}.phase-item--selected .phase-item--first .phase-cap--left{left:0}.phase-item--selected .phase-item--last .phase-cap--last{right:.125rem}.phase-item--selected .phase-item__content{z-index:1}.phase-item--selected .phase-name__arrow{height:1rem;width:1rem}.phase-item--last{border-bottom-right-radius:.3125rem;border-top-right-radius:.3125rem}.phase-item__content{align-items:center;align-self:stretch;display:flex;flex:1 0 0;flex-direction:column;gap:.3125rem;justify-content:center;padding:.625rem .375rem .625rem .625rem}.phase-item__content .phase-name{align-items:center;align-self:stretch;display:flex;gap:.25rem}.phase-item__content .phase-name__text{color:RGB(var(--now-color_text--primary,21,25,32));font-family:var(--now-font-family-sn-sans);font-size:1rem;font-style:normal;font-weight:450;letter-spacing:-.015rem;line-height:1.25;margin-bottom:0;margin-top:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phase-item .phase-cap{height:2.5rem;width:.125rem}.carousel{align-items:flex-start;gap:.5rem;height:20.75rem;padding:0 var(--Spacing-spacing-125,20px) 12px var(--Spacing-spacing-125,20px)}.carousel,.carousel-empty{align-self:stretch;display:flex;flex-direction:column}.carousel-empty{align-items:center;gap:.625rem;height:20.3125rem;justify-content:center}.carousel-empty .empty-content-image{flex-shrink:0;height:8.75rem;width:8.75rem}.carousel-empty .carousel-no-content-message{color:RGB(var(--now-color_text--tertiary,98,99,100));font-family:var(--now-font-family-sn-sans);font-size:1rem;font-style:normal;font-weight:400;line-height:normal;margin:0;text-align:center}.card{position:relative}.card,.card .card-slot{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;padding-bottom:.75rem}.card .card-slot{background:RGB(var(--now-color--neutral-0,255,255,255));border-radius:var(--Radius-border-radius-lg,16px);gap:.75rem;max-width:23.75rem;min-width:12rem;width:17rem}.card:hover{cursor:pointer}.card:hover .card__link{box-shadow:0 .25rem .5rem 0 RGB(56,56,56,var(--now-opacity--less,.25))}.card__image{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:8px;height:129px;margin:0}.card__image-content{border-radius:.75rem .75rem 0 0;height:100%;object-fit:cover;width:100%}.card__content-container{padding:.1875rem 1.0625rem 0 1.0625rem}.card__content,.card__content-container{align-items:flex-start;align-self:stretch;display:flex;flex:1 0 0;flex-direction:column}.card__content{gap:.75rem}.card__meta{align-items:center;display:flex;flex:1 0 0;gap:.25rem}.card__meta,.card__meta .card__meta-text{color:RGB(var(--now-color_text--tertiary,98,99,100))}.card__meta .card__meta-text{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;display:-webkit-box;font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:400;letter-spacing:-.01125rem;line-height:normal;overflow:hidden;text-overflow:ellipsis}.card__body{align-items:flex-start;align-self:stretch;color:RGB(var(--now-color_text--primary,14,14,14));display:flex;flex:1 0 0;flex-direction:column;min-height:3.875rem}.card__title{-webkit-line-clamp:1;line-clamp:1;color:RGB(var(--now-color_text--primary,14,14,14));font-size:1rem;font-weight:450;letter-spacing:-.015rem;line-height:normal}.card__description,.card__title{-webkit-box-orient:vertical;align-self:stretch;display:-webkit-box;font-family:var(--now-font-family-sn-sans);font-style:normal;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.card__description{-webkit-line-clamp:2;line-clamp:2;color:RGB(var(--now-color_text--primary,21,25,32));font-size:.875rem;font-weight:400;line-height:1.3125rem}.card__footer{align-items:flex-start;align-self:stretch;color:RGB(var(--now-color_text--primary,14,14,14));display:flex;flex-direction:column;gap:.125rem}.card__filetype{align-items:flex-end;display:flex;flex:1 0 0;gap:.25rem}.card__file-info{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;color:RGB(var(--now-color_text--tertiary,98,99,100));display:-webkit-box;font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:400;letter-spacing:-.18px;line-height:1.167;overflow:hidden;text-overflow:ellipsis}.disable-click{pointer-events:none}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{box-sizing:border-box;font-family:var(--now-font-family,\\\"Source Sans Pro\\\",Arial,sans-serif);line-height:var(--now-line-height,1.25)}:host([hidden]){display:none}*,:after,:before{box-sizing:border-box}.now-line-height-crop{display:block}.now-line-height-crop:after,.now-line-height-crop:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1)}.now-line-height-crop:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1)}.now-line-height-crop+.now-line-height-crop{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1*-1)}.now-line-height-crop--sm{display:block}.now-line-height-crop--sm:after,.now-line-height-crop--sm:before{block-size:0;content:\\\"\\\";display:block}.now-line-height-crop--sm:before{margin-block-start:calc(var(--now-line-height-crop--before, -.25em)*1.06664)}.now-line-height-crop--sm:after{margin-block-end:calc(var(--now-line-height-crop--after, -.125em)*1.06664)}.now-line-height-crop--sm+.now-line-height-crop--sm{margin-block-start:calc(var(--now-line-height-crop--after, -.125em)*1.06664*-1)}.now-heading--lg,.now-heading--md,.now-heading--xl{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)));font-weight:600}.now-heading--md{font-size:var(--now-font-size--md1,1rem)}.now-heading--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-heading--xl{font-size:var(--now-font-size--xl,2.5rem)}.now-text--normal{font-weight:400}.now-text--semibold{font-weight:600}.now-text--bold{font-weight:700}.now-text--sm{font-size:var(--now-font-size--sm,.75rem)}.now-text--md{font-size:var(--now-font-size--md1,1rem)}.now-text--lg{font-size:var(--now-font-size--lg,1.25rem)}.now-text--primary{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)))}.now-text--secondary{color:RGB(var(--now-color_text--secondary,var(--now-color--neutral-15,44,53,55)))}.now-text--tertiary{color:RGB(var(--now-color_text--tertiary,var(--now-color--neutral-12,66,80,81)))}.now-m-block--xxs{margin-block-end:.125rem}.now-m-block--xxs,.now-m-block-start--xxs{margin-block-start:.125rem}.now-m-block-end--xxs{margin-block-end:.125rem}.now-m-inline--xxs{margin-inline-end:.125rem}.now-m-inline--xxs,.now-m-inline-start--xxs{margin-inline-start:.125rem}.now-m-inline-end--xxs{margin-inline-end:.125rem}.now-m-block--xs{margin-block-end:.25rem}.now-m-block--xs,.now-m-block-start--xs{margin-block-start:.25rem}.now-m-block-end--xs{margin-block-end:.25rem}.now-m-inline--xs{margin-inline-end:.25rem}.now-m-inline--xs,.now-m-inline-start--xs{margin-inline-start:.25rem}.now-m-inline-end--xs{margin-inline-end:.25rem}.now-m-block--sm{margin-block-end:.5rem}.now-m-block--sm,.now-m-block-start--sm{margin-block-start:.5rem}.now-m-block-end--sm{margin-block-end:.5rem}.now-m-inline--sm{margin-inline-end:.5rem}.now-m-inline--sm,.now-m-inline-start--sm{margin-inline-start:.5rem}.now-m-inline-end--sm{margin-inline-end:.5rem}.now-m-block--md{margin-block-end:.75rem}.now-m-block--md,.now-m-block-start--md{margin-block-start:.75rem}.now-m-block-end--md{margin-block-end:.75rem}.now-m-inline--md{margin-inline-end:.75rem}.now-m-inline--md,.now-m-inline-start--md{margin-inline-start:.75rem}.now-m-inline-end--md{margin-inline-end:.75rem}.now-m-block--lg{margin-block-end:1rem}.now-m-block--lg,.now-m-block-start--lg{margin-block-start:1rem}.now-m-block-end--lg{margin-block-end:1rem}.now-m-inline--lg{margin-inline-end:1rem}.now-m-inline--lg,.now-m-inline-start--lg{margin-inline-start:1rem}.now-m-inline-end--lg{margin-inline-end:1rem}.now-m-block--xl{margin-block-end:1.5rem}.now-m-block--xl,.now-m-block-start--xl{margin-block-start:1.5rem}.now-m-block-end--xl{margin-block-end:1.5rem}.now-m-inline--xl{margin-inline-end:1.5rem}.now-m-inline--xl,.now-m-inline-start--xl{margin-inline-start:1.5rem}.now-m-inline-end--xl{margin-inline-end:1.5rem}.now-m-block--xxl{margin-block-end:2rem}.now-m-block--xxl,.now-m-block-start--xxl{margin-block-start:2rem}.now-m-block-end--xxl{margin-block-end:2rem}.now-m-inline--xxl{margin-inline-end:2rem}.now-m-inline--xxl,.now-m-inline-start--xxl{margin-inline-start:2rem}.now-m-inline-end--xxl{margin-inline-end:2rem}.now-m-block--3xl{margin-block-end:2.5rem}.now-m-block--3xl,.now-m-block-start--3xl{margin-block-start:2.5rem}.now-m-block-end--3xl{margin-block-end:2.5rem}.now-m-inline--3xl{margin-inline-end:2.5rem}.now-m-inline--3xl,.now-m-inline-start--3xl{margin-inline-start:2.5rem}.now-m-inline-end--3xl{margin-inline-end:2.5rem}.now-m-block--0{margin-block-end:0}.now-m-block--0,.now-m-block-start--0{margin-block-start:0}.now-m-block-end--0{margin-block-end:0}.now-m-inline--0{margin-inline-end:0}.now-m-inline--0,.now-m-inline-start--0{margin-inline-start:0}.now-m-inline-end--0{margin-inline-end:0}.now-p-block--xxs{padding-block-end:.125rem}.now-p-block--xxs,.now-p-block-start--xxs{padding-block-start:.125rem}.now-p-block-end--xxs{padding-block-end:.125rem}.now-p-inline--xxs{padding-inline-end:.125rem}.now-p-inline--xxs,.now-p-inline-start--xxs{padding-inline-start:.125rem}.now-p-inline-end--xxs{padding-inline-end:.125rem}.now-p-block--xs{padding-block-end:.25rem}.now-p-block--xs,.now-p-block-start--xs{padding-block-start:.25rem}.now-p-block-end--xs{padding-block-end:.25rem}.now-p-inline--xs{padding-inline-end:.25rem}.now-p-inline--xs,.now-p-inline-start--xs{padding-inline-start:.25rem}.now-p-inline-end--xs{padding-inline-end:.25rem}.now-p-block--sm{padding-block-end:.5rem}.now-p-block--sm,.now-p-block-start--sm{padding-block-start:.5rem}.now-p-block-end--sm{padding-block-end:.5rem}.now-p-inline--sm{padding-inline-end:.5rem}.now-p-inline--sm,.now-p-inline-start--sm{padding-inline-start:.5rem}.now-p-inline-end--sm{padding-inline-end:.5rem}.now-p-block--md{padding-block-end:.75rem}.now-p-block--md,.now-p-block-start--md{padding-block-start:.75rem}.now-p-block-end--md{padding-block-end:.75rem}.now-p-inline--md{padding-inline-end:.75rem}.now-p-inline--md,.now-p-inline-start--md{padding-inline-start:.75rem}.now-p-inline-end--md{padding-inline-end:.75rem}.now-p-block--lg{padding-block-end:1rem}.now-p-block--lg,.now-p-block-start--lg{padding-block-start:1rem}.now-p-block-end--lg{padding-block-end:1rem}.now-p-inline--lg{padding-inline-end:1rem}.now-p-inline--lg,.now-p-inline-start--lg{padding-inline-start:1rem}.now-p-inline-end--lg{padding-inline-end:1rem}.now-p-block--xl{padding-block-end:1.5rem}.now-p-block--xl,.now-p-block-start--xl{padding-block-start:1.5rem}.now-p-block-end--xl{padding-block-end:1.5rem}.now-p-inline--xl{padding-inline-end:1.5rem}.now-p-inline--xl,.now-p-inline-start--xl{padding-inline-start:1.5rem}.now-p-inline-end--xl{padding-inline-end:1.5rem}.now-p-block--xxl{padding-block-end:2rem}.now-p-block--xxl,.now-p-block-start--xxl{padding-block-start:2rem}.now-p-block-end--xxl{padding-block-end:2rem}.now-p-inline--xxl{padding-inline-end:2rem}.now-p-inline--xxl,.now-p-inline-start--xxl{padding-inline-start:2rem}.now-p-inline-end--xxl{padding-inline-end:2rem}.now-p-block--3xl{padding-block-end:2.5rem}.now-p-block--3xl,.now-p-block-start--3xl{padding-block-start:2.5rem}.now-p-block-end--3xl{padding-block-end:2.5rem}.now-p-inline--3xl{padding-inline-end:2.5rem}.now-p-inline--3xl,.now-p-inline-start--3xl{padding-inline-start:2.5rem}.now-p-inline-end--3xl{padding-inline-end:2.5rem}.now-p-block--0{padding-block-end:0}.now-p-block--0,.now-p-block-start--0{padding-block-start:0}.now-p-block-end--0{padding-block-end:0}.now-p-inline--0{padding-inline-end:0}.now-p-inline--0,.now-p-inline-start--0{padding-inline-start:0}.now-p-inline-end--0{padding-inline-end:0}:host{align-items:stretch;display:flex;flex-direction:column;height:100%;width:100%}.workstream-phase-gridmap{display:flex;flex-direction:column;gap:.375rem;padding:10px;width:100%}.workstream-phase-header{display:grid;grid-template-columns:12.5rem 1fr;grid-template-rows:auto}.workstream-header{align-items:stretch;align-self:end;display:flex;gap:.625rem;grid-column:1/2;justify-self:start}:host(:not([dir=rtl])) .workstream-header,:root:not([dir=rtl]) .workstream-header{padding-left:.5625rem}:host([dir=rtl]) .workstream-header,:root[dir=rtl] .workstream-header{padding-right:.5625rem}.workstream-header .workstream-title{color:RGB(var(--now-color_text--secondary,44,50,63));letter-spacing:-.013125rem}.workstream-header .workstream-see-all,.workstream-header .workstream-title{font-family:var(--now-font-family-sn-sans);font-size:.875rem;font-weight:400;margin:0}.workstream-header .workstream-see-all{background-color:transparent;border:none;color:#00a3ba;overflow:hidden;padding:0;text-decoration:none;text-overflow:ellipsis}.workstream-header .workstream-see-all:active,.workstream-header .workstream-see-all:hover{color:RGB(var(--now-color--link-3,1,104,124));cursor:pointer;text-decoration:underline}.workstream-header .workstream-see-all::-moz-focus-inner{border-style:none}.workstream-header .workstream-see-all:focus{box-shadow:inset 0 0 0 .125rem RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))),inset 0 0 0 .1875rem RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))));outline:none}@media(forced-colors:active){.workstream-header .workstream-see-all:focus{outline:1px solid highlight}}.phase-header{align-items:flex-start;display:flex;flex-direction:column;gap:.25rem;grid-column:2/3;width:100%}.phase-header .phase-title{align-items:center;align-self:stretch;display:flex;gap:.625rem}.phase-header .phase-title__text{color:RGB(var(--now-color_text--secondary,44,50,63));letter-spacing:-.013125rem;line-height:normal;margin:0;margin-bottom:0;margin-top:0}.phase-header .phase-see-all,.phase-header .phase-title__text{font-family:var(--now-font-family-sn-sans);font-size:.875rem;font-weight:400}.phase-header .phase-see-all{background-color:transparent;border:none;color:#00a3ba;margin:0;overflow:hidden;padding:0;text-decoration:none;text-overflow:ellipsis}.phase-header .phase-see-all:active,.phase-header .phase-see-all:hover{color:RGB(var(--now-color--link-3,1,104,124));cursor:pointer;text-decoration:underline}.phase-header .phase-see-all::-moz-focus-inner{border-style:none}.phase-header .phase-see-all:focus{box-shadow:inset 0 0 0 .125rem RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))),inset 0 0 0 .1875rem RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))));outline:none}@media(forced-colors:active){.phase-header .phase-see-all:focus{outline:1px solid highlight}}.phase-list{align-items:center;align-self:stretch;display:flex;flex-direction:row;height:3.75rem;justify-content:space-between;padding:0 .25rem}.phase-list__item{flex:1}.phase-section{align-items:center;align-self:stretch;background-color:#e3eaef;cursor:pointer;display:flex;flex:1 0 0;height:3.75rem;position:relative}.phase-section .phase-left-cap,.phase-section .phase-right-cap{align-self:stretch;height:3.75rem;position:absolute;width:.125rem}.phase-section .phase-left-cap{left:-8px}.phase-section .phase-right-cap{right:0}.phase-section--expanded{cursor:default}.phase-section--expanded .phase-section__header{border-bottom:1px solid #b0b5bf;border-top:1px solid #b0b5bf}.phase-section--expanded .phase-left-cap{left:-.5625rem}.phase-section--expanded .phase-section__header-content{align-items:center;align-self:stretch;display:flex;flex:1 0 0;gap:2.5rem}.phase-section--expanded .phase-right-cap{right:-.125rem}.phase-section__header-icon-expand{opacity:0;transition:opacity .2s ease-in-out}.phase-section--hover .phase-right-cap{right:7px}.phase-section--hover .phase-left-cap,.phase-section--hover .phase-right-cap{z-index:1}.phase-section--hover .phase-section__header{background:#032d42;border-bottom:1px solid #032d42;border-top:1px solid #032d42}.phase-section--hover .phase-section__header-icon-expand{color:#fff;opacity:1;z-index:2}.phase-section--hover .phase-section__header-content .phase-name h3{color:#fff}.phase-section__header{align-items:center;align-self:stretch;border-bottom:1px solid RGB(var(--now-color--neutral-0,255,255,255));border-top:1px solid RGB(var(--now-color--neutral-0,255,255,255));display:flex;flex:1 0 0;gap:.3125rem;justify-content:space-between;padding:.625rem .375rem .625rem .625rem}.phase-section__header-content{align-items:center;align-self:stretch;display:flex;gap:2.5rem}.phase-section__header-content .phase-name{align-items:center;align-self:stretch;display:flex;gap:.625rem;margin:0;padding:0}.phase-section__header-content .phase-name__heading{margin:0}.phase-section__header-content .phase-name__text{color:RGB(var(--now-color_text--primary,21,25,32));flex:1 0 0;font-family:var(--now-font-family-sn-sans);font-size:1.5rem;font-weight:450;letter-spacing:-.0225rem;margin:0;overflow:hidden;text-overflow:ellipsis}.phase-section__header-content .phase-name__status-icon{align-self:flex-start;height:.75rem;width:.75rem}.phase-navigation{align-items:center;display:flex;gap:2.5rem}.phase-navigation__button{align-items:center;background-color:transparent;display:flex;gap:.625rem;margin:0;padding:0}.phase-navigation__button--next,.phase-navigation__button--previous{background:transparent;border:none;cursor:pointer}.phase-navigation__text{color:RGB(var(--now-color_text--primary,21,25,32));font-family:var(--now-font-family-sn-sans);font-size:1rem;font-weight:450;letter-spacing:-.015rem;margin-bottom:0;margin-top:0;overflow:hidden;text-overflow:ellipsis}.phase-navigation__icon{border:none}.phase-navigation__icon--left,.phase-navigation__icon--right{height:1rem;width:1rem}.workstream-row{background:RGB(var(--now-color--neutral-0,255,255,255));border-radius:.3125rem;box-shadow:0 .125rem .25rem 0 RGB(56,56,56,var(--now-opacity--less,.25));display:grid;grid-template-columns:12.5rem 1fr;grid-template-rows:auto}.workstream-row .workstream-name{align-items:center;border:1px solid transparent;display:flex;grid-column:1/2;position:relative}.workstream-row .workstream-name:focus,.workstream-row .workstream-name:focus-visible{outline:none}.workstream-row .workstream-name .workstream-name-focus{border:2px solid #5274ff;border-bottom-left-radius:5px;border-top-left-radius:5px;bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.workstream-row .workstream-name .workstream-name-focus.--show{opacity:1}.workstream-row .workstream-name:hover{background:#032d42;border:1px solid #032d42;border-radius:.3125rem;cursor:pointer}.workstream-row .workstream-name:hover .workstream-text,.workstream-row .workstream-name:hover .workstream-text h3{color:RGB(var(--now-color--neutral-0))}.workstream-row .workstream-name:hover .workstream-text .workstream-expand-icon{opacity:1}.workstream-row .workstream-name.--expanded{cursor:default}.workstream-row .workstream-name.--expanded:hover{background:none;border:1px solid transparent}.workstream-row .workstream-name.--expanded:hover .workstream-text h3{color:RGB(var(--now-color_text--primary,21,25,32));font-family:var(--now-font-family-sn-sans);font-size:1rem;font-weight:450}.workstream-row .workstream-name.--expanded:hover .workstream-text .workstream-expand-icon{opacity:0}.workstream-row .workstream-name .workstream-color{align-self:stretch;border-bottom-left-radius:.3125rem;border-top-left-radius:.3125rem;width:.5rem}.workstream-row .workstream-name .workstream-text{align-items:flex-start;align-self:stretch;border-right:1px solid RGB(var(--now-color--neutral-3,211,214,220));display:flex;flex:1;flex-direction:row;gap:.4375rem;justify-content:space-between;padding:.75rem .5rem}.workstream-row .workstream-name .workstream-text h3{color:RGB(var(--now-color_text--primary,21,25,32));font-family:var(--now-font-family-sn-sans);font-size:1rem;font-style:normal;font-weight:450;letter-spacing:-.015rem;line-height:normal;margin-bottom:0;margin-top:0}.workstream-row .workstream-name .workstream-text .workstream-expand-icon{opacity:0;transition:opacity .2s ease-in-out}.workstream-process-task-list{background-color:#fff;display:flex;grid-column:2/3;justify-content:space-between;list-style:none;margin:0;padding:0}.workstream-process-task-list .phase-item{align-self:stretch;display:flex;flex:1}.process-tasks-for-workstream{align-items:flex-start;align-self:stretch;border-right:1px dashed RGB(var(--now-color--neutral-3,209,214,214));display:flex;flex:1 0 0;flex-direction:column;gap:.75rem;list-style:none;padding:.625rem}.process-tasks-for-workstream .process-item{align-items:center;align-self:stretch;display:flex;flex-direction:column}.process-task-item{flex-direction:column;gap:.5rem;max-width:62.5rem}.process-task-header,.process-task-item{align-items:flex-start;align-self:stretch;display:flex}.process-task-header{gap:.625rem;justify-content:center}.process-task-header .process-name{-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;color:RGB(var(--now-color_text--primary,21,25,32));display:-webkit-box;flex:1 0 0;font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:450;line-height:1rem;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.process-tasks-for-workstream .task-list{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:.375rem;list-style:none;margin:0;padding:0}.task-item{align-items:center;align-self:stretch;cursor:pointer;display:flex;gap:2.5rem}.task-item:hover{text-decoration:underline}.task-item .task-content{align-items:center;border:1px solid transparent;display:flex;flex:1 0 0;gap:.5rem;position:relative}:host(:not([dir=rtl])) .task-item .task-content,:root:not([dir=rtl]) .task-item .task-content{padding-left:.25rem}:host([dir=rtl]) .task-item .task-content,:root[dir=rtl] .task-item .task-content{padding-right:.25rem}.task-item .task-content:focus,.task-item .task-content:focus-visible{outline:none}.task-item .task-content:hover{border:1px solid #62d84e;border-radius:.25rem}.task-item .task-content .task-content-focus{height:100%;left:-.1875rem;opacity:0;position:absolute;top:-.1875rem;transition:opacity .2s ease-in-out;width:100%}.task-item .task-content .task-content-focus.--show{opacity:1}.task-indicator{border-radius:.125rem;height:.625rem;width:.625rem}.task-name{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;color:RGB(var(--now-color_text--primary,21,25,32));display:-webkit-box;flex:1 0 0;font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:300;line-height:.875rem;margin-bottom:0;margin-top:0;overflow:hidden;text-overflow:ellipsis}.workstream-tasks-for-phase{background-color:RGB(var(--now-color--neutral-0,255,255,255));display:flex;grid-column:2/3;justify-content:space-between}.process-tasks-for-phase{align-items:stretch;display:flex;flex:1 0 0;flex-direction:column;gap:.75rem;list-style:none;margin:0;padding:1.25rem 2.5rem}.process-tasks-for-phase .process-item{align-self:stretch}.collapsible-process-task,.process-tasks-for-phase .process-item{align-items:flex-start;display:flex;flex-direction:column;gap:.75rem}.collapsible-process-task{border:1px solid transparent;height:100%;padding:.5rem;width:100%}.collapsible-process-task.--collapsed:hover{border:1px solid #62d84e;box-shadow:0 0 .125rem 0 #58cfe5;cursor:pointer}.collapsible-process-task__header{align-items:center;align-self:stretch;border-bottom:1px solid RGB(var(--now-color_border--tertiary,211,214,220));cursor:default;display:flex;gap:2.5rem;justify-content:center;padding-bottom:.5rem}.collapsible-process-task__header.--collapsed:hover,.collapsible-process-task__header:hover{cursor:pointer}.collapsible-process-task__header-content{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;justify-content:center;padding-bottom:.5rem}.collapsible-process-task__info{align-items:center;align-self:stretch;display:flex;justify-content:space-between}.collapsible-process-task__name{color:#1d1d1d;font-family:var(--now-font-family-sn-sans);font-size:1.25rem;font-style:normal;font-weight:500;line-height:1.625rem;margin:0;padding:0}.collapsible-process-task__info .collapsible-process-task__details{align-items:center;display:flex;gap:.25rem}.collapsible-process-task__indicators{align-items:center;display:flex;gap:.1875rem;height:.25rem;width:3.125rem}.collapsible-process-task__indicator{align-self:stretch;border-radius:.125rem;flex:1 0 0;height:.25rem}.collapsible-process-task__indicator:hover{text-decoration:underline}.collapsible-process-task__count{color:RGB(var(--now-color_text--tertiary,98,99,100));font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:400;letter-spacing:-.01125rem;line-height:normal}.collapsible-process-task__process-desc{-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;align-self:stretch;color:#1d1d1d;display:-webkit-box;font-family:var(--now-font-family-sn-sans);font-size:1.125rem;font-style:normal;font-weight:300;line-height:1.6875rem;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.collapsible-process-task__toggle-icon{background-color:RGB(var(--now-color--neutral-0,255,255,255));border:none;height:1rem;margin:0;padding:0;width:1rem}.collapsible-process-task__list{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:.75rem;padding:0 1.25rem}.collapsible-process-task__item{align-items:center;align-self:stretch;border:1px solid transparent;border-radius:.1875rem;display:flex;gap:2.5rem;height:3.1875rem;padding:.25rem .625rem .25rem .375rem}.collapsible-process-task__item:hover{align-items:center;border:1px solid #62d84e;box-shadow:0 0 .125rem 0 #58cfe5;cursor:pointer;display:flex}.collapsible-process-task__item:hover .utility-buttons{opacity:1}.collapsible-process-task__item:hover::-moz-focus-inner{border-style:none}.collapsible-process-task__item:hover:focus{box-shadow:inset 0 0 0 .125rem RGB(var(--now-color_focus-ring,var(--now-color--secondary-1,1,119,142))),inset 0 0 0 .1875rem RGB(var(--now-color_focus-ring_shadow,var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))));outline:none}@media(forced-colors:active){.collapsible-process-task__item:hover:focus{outline:1px solid highlight}}.collapsible-process-task__item:hover .collapsible-process-task__task-name{text-decoration:underline;text-decoration-style:solid}.collapsible-process-task__item .utility-buttons{opacity:0}.collapsible-process-task__content{align-items:flex-start;display:flex;flex:1 0 0;gap:.5rem}:host(:not([dir=rtl])) .collapsible-process-task__content,:root:not([dir=rtl]) .collapsible-process-task__content{padding-left:.25rem}:host([dir=rtl]) .collapsible-process-task__content,:root[dir=rtl] .collapsible-process-task__content{padding-right:.25rem}.collapsible-process-task__indicator-wrap{align-items:center;align-self:stretch;display:flex;flex-direction:column;gap:.625rem;padding-top:.25rem}.collapsible-process-task__indicator-box{border-radius:.125rem;height:.625rem;width:.625rem}.collapsible-process-task__content .collapsible-process-task__details{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;justify-content:center}.collapsible-process-task__task-name{-webkit-line-clamp:3;line-clamp:3;color:RGB(var(--now-color_text--primary,21,25,32));font-weight:450;letter-spacing:-.015rem;line-height:normal}.collapsible-process-task__task-desc,.collapsible-process-task__task-name{-webkit-box-orient:vertical;align-self:stretch;display:-webkit-box;font-family:var(--now-font-family-sn-sans);font-size:1rem;font-style:normal;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.collapsible-process-task__task-desc{-webkit-line-clamp:1;line-clamp:1;color:#1d1d1d;font-weight:300;line-height:1.5rem}.workstream-process-list{background-color:RGB(var(--now-color--neutral-0,255,255,255));display:flex;grid-column:2/3;justify-content:space-between}.workstream-process-list .workstream-process-by-phase{align-items:flex-start;align-self:stretch;display:flex;flex:1 0 0;flex-direction:column;gap:.125rem;padding:.625rem}.workstream-process-list .workstream-process-by-phase:not(:last-child){border-right:.0625rem dashed RGB(var(--now-color--neutral-3,211,214,220))}.workstream-process-by-phase .process-list{align-self:stretch;display:flex;flex-direction:column;gap:.25rem;width:100%}.workstream-process-by-phase .process-list .empty-process{align-self:center}.workstream-process-by-phase .process-list .process-item-wrapper{align-items:center;align-self:stretch;display:flex;flex-direction:column;gap:.25rem;position:relative;width:100%}.workstream-process-by-phase .process-list .process-item-wrapper:focus,.workstream-process-by-phase .process-list .process-item-wrapper:focus-visible{outline:none}.workstream-process-by-phase .process-list .process-item-wrapper .process-item-focus{height:100%;left:-3px;opacity:0;position:absolute;top:-3px;transition:opacity .2s ease-in-out;width:100%}.workstream-process-by-phase .process-list .process-item-wrapper .process-item-focus.--show{opacity:1}.workstream-process-by-phase .process-list .process-item-wrapper:hover .process-item{border:1px solid #62d84e;box-shadow:0 0 .125rem 0 #58cfe5;z-index:1}.workstream-process-by-phase .process-list .process-item{align-items:flex-start;align-self:stretch;background:RGB(var(--now-color--neutral-0,255,255,255));border:1px solid transparent;border-radius:.1875rem;display:flex;flex-direction:column;gap:.25rem;padding:.25rem}.workstream-process-by-phase .process-list .process-header{display:flex;flex-direction:column}.workstream-process-by-phase .process-list .process-name{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;color:RGB(var(--now-color_text--secondary,44,50,63));display:-webkit-box;font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:450;line-height:100%;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.task-bar-list{align-items:center;gap:.1875rem;list-style:none;margin:0;padding:0}.task-bar-list,.task-bar-list .task-bar-item{align-self:stretch;display:flex;height:.25rem;width:100%}.task-bar-list .task-bar-item{align-items:flex-start;flex-direction:column}.task-bar-list .task-bar-indicator{align-items:center;align-self:stretch;border-radius:.125rem;display:flex;flex:1;gap:.1875rem;height:.25rem}.task-bar-list .task-bar-indicator:hover{text-decoration:underline}.empty-process{color:RGB(var(--now-color_text--primary,var(--now-color--neutral-18,22,27,28)),.45);font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:400;line-height:100%;margin-bottom:0;margin-top:0}.workstream-process-by-phase .process-item{cursor:pointer;position:relative}.workstream-process-by-phase .process-item .task-popover{align-items:flex-start;align-self:stretch;background:RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255)));border:1px solid RGB(var(--now-color_border--primary,var(--now-color--neutral-7,135,147,148)));border-radius:.25rem;box-shadow:0 .25rem .5rem 0 RGB(56,56,56,var(--now-opacity--less,.25));cursor:default;display:flex;flex-direction:column;gap:.5rem;padding:.5rem;position:absolute;top:1.75rem;width:100%;z-index:4000}.workstream-process-by-phase .process-item .task-popover:after,.workstream-process-by-phase .process-item .task-popover:before{border-style:solid;content:\\\"\\\";height:0;position:absolute;width:0}.workstream-process-by-phase .process-item .task-popover:before{border-color:transparent transparent RGB(var(--now-color_border--primary,var(--now-color--neutral-7,135,147,148))) transparent;border-width:0 .625rem .625rem .625rem;bottom:100%}.workstream-process-by-phase .process-item .task-popover:after{border-color:transparent transparent RGB(var(--now-color_background--primary,var(--now-color--neutral-0,255,255,255))) transparent;border-width:0 .5625rem .5625rem .5625rem;bottom:calc(100% - .0625rem)}:host(:not([dir=rtl])) .workstream-process-by-phase .process-item .task-popover.--last,:root:not([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--last{right:.25rem}:host([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--last,:root[dir=rtl] .workstream-process-by-phase .process-item .task-popover.--last{left:.25rem}:host(:not([dir=rtl])) .workstream-process-by-phase .process-item .task-popover.--last:after,:host(:not([dir=rtl])) .workstream-process-by-phase .process-item .task-popover.--last:before,:root:not([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--last:after,:root:not([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--last:before{right:1.25rem}:host([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--last:after,:host([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--last:before,:root[dir=rtl] .workstream-process-by-phase .process-item .task-popover.--last:after,:root[dir=rtl] .workstream-process-by-phase .process-item .task-popover.--last:before{left:1.25rem}:host(:not([dir=rtl])) .workstream-process-by-phase .process-item .task-popover.--non-last,:root:not([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--non-last{left:.25rem}:host([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--non-last,:root[dir=rtl] .workstream-process-by-phase .process-item .task-popover.--non-last{right:.25rem}:host(:not([dir=rtl])) .workstream-process-by-phase .process-item .task-popover.--non-last:after,:host(:not([dir=rtl])) .workstream-process-by-phase .process-item .task-popover.--non-last:before,:root:not([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--non-last:after,:root:not([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--non-last:before{left:1.25rem}:host([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--non-last:after,:host([dir=rtl]) .workstream-process-by-phase .process-item .task-popover.--non-last:before,:root[dir=rtl] .workstream-process-by-phase .process-item .task-popover.--non-last:after,:root[dir=rtl] .workstream-process-by-phase .process-item .task-popover.--non-last:before{right:1.25rem}.workstream-process-by-phase .process-item .task-popover__content{padding:.75rem .75rem 1.5rem .75rem;width:19.375rem}.workstream-process-by-phase .process-item .task-popover__content,.workstream-process-by-phase .process-item .task-popover__header-content{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:.25rem}.workstream-process-by-phase .process-item .task-popover__description,.workstream-process-by-phase .process-item .task-popover__title{margin:0}.workstream-process-by-phase .process-item .task-popover__title{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;align-self:stretch;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.workstream-process-by-phase .process-item .task-popover__description{-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.workstream-process-by-phase .process-item .task-popover__title{color:RGB(var(--now-color_text--primary,21,25,32));font-family:var(--now-font-family-sn-sans);font-size:.875rem;font-style:normal;font-weight:450;line-height:100%;margin:0}.workstream-process-by-phase .process-item .task-popover__description-wrap{align-self:stretch;display:flex;flex-direction:column;padding:0 .25rem .75rem .25rem;width:100%}.workstream-process-by-phase .process-item .task-popover__description{align-self:stretch;color:RGB(var(--now-color_text--tertiary,98,99,100));font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-weight:300;letter-spacing:-.013125rem;margin:0}.workstream-process-by-phase .process-item .task-popover__task-list{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:.375rem;list-style:none;margin:0;padding:0 1.25rem}.workstream-process-by-phase .process-item .task-popover__task-item{align-items:center;align-self:stretch;border:1px solid transparent;display:flex;flex-direction:column;justify-content:center;width:100%}.workstream-process-by-phase .process-item .task-popover__task-item:hover{border:1px solid #62d84e;border-radius:.25rem;cursor:pointer;text-decoration:underline}.workstream-process-by-phase .process-item .task-popover__task{align-items:center;align-self:stretch;display:flex;gap:.25rem;justify-content:flex-start}.workstream-process-by-phase .process-item .task-popover__task-indicator{border-radius:.125rem;display:inline-flex;height:.625rem;width:.625rem}.workstream-process-by-phase .process-item .task-popover__task-name{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;color:RGB(var(--now-color_text--primary,21,25,32));display:-webkit-box;flex:1 0 0;font-family:var(--now-font-family-sn-sans);font-size:.75rem;font-style:normal;font-weight:300;letter-spacing:-.013125rem;line-height:normal;margin-bottom:0;margin-top:0;overflow:hidden;text-overflow:ellipsis}.greyed{opacity:.5}.greyed:hover{opacity:1}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./styles.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","\n        var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../../node_modules/.pnpm/postcss-loader@7.0.1_postcss@8.4.31_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../../../node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[2].use[3]!../../../../../node_modules/.pnpm/sass-loader@13.0.2_sass@1.53.0_webpack@5.95.0_cssnano@5.1.12_postcss@8.4.31__postcss@8.4.31_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[4]!./styles.scss\");\n\n        if (result && result.__esModule) {\n            result = result.default;\n        }\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    ","function _extends() {\n  return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"actionTypes\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t\t} else if ('actionTypes' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.actionTypes || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].actionTypes;\n\t\t\t\t}, [\"createCustomElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t\t} else if ('createCustomElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.createCustomElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].createCustomElement;\n\t\t\t\t}, [\"declarativeOperations\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.__esModule\n\t\t\t\t\tif (cjsModule && 'declarativeOperations' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].declarativeOperations;\n\t\t\t\t\t} else if ('declarativeOperations' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__.declarativeOperations || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_core_index_jsdbx_65e0859f__[\"default\"].declarativeOperations;\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"Fragment\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'Fragment' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].Fragment;\n\t\t\t\t\t} else if ('Fragment' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.Fragment || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].Fragment;\n\t\t\t\t}, [\"createElement\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t\t} else if ('createElement' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.createElement || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"].createElement;\n\t\t\t\t}, [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_ui_renderer_snabbdom_index_jsdbx_9af105b3__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"default\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__.__esModule\n\t\t\t\t\tif (cjsModule && 'default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"];\n\t\t\t\t\t} else if ('default' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_servicenow_behavior_rtl_28_4_1_index_jsdbx_2bff1391__[\"default\"][\"default\"];\n\t\t\t\t} });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"t\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.__esModule\n\t\t\t\t\tif (cjsModule && 't' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"].t;\n\t\t\t\t\t} else if ('t' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__.t || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_sn_translate_index_jsdbx_813c3733__[\"default\"].t;\n\t\t\t\t} });","import {t} from 'sn-translate';\n\nexport const WORKSTREAM_TITLE = t({\n\tmessage: 'x_snc_bpl_user_exp.by.workstream'\n});\nexport const PHASE_TITLE = t({message: 'x_snc_bpl_user_exp.by.phase'});\nexport const PHASE_TITLE_SECONDARY = t({\n\tmessage: 'x_snc_bpl_user_exp.phase.and.workstream'\n});\n\nexport const NO_ASSET = t({message: 'x_snc_bpl_user_exp.no.asset'});\nexport const ONE_ASSET = t({message: 'x_snc_bpl_user_exp.one.asset'});\n\n// ARIA constants\nexport const CAROUSEL_CONTENT = t({\n\tmessage: 'x_snc_bpl_user_exp.carousel.content'\n});\nexport const NO_CAROUSEL_CONTENT = t({\n\tmessage: 'x_snc_bpl_user_exp.no.content.phase.workstream'\n});\nexport const NO_INITIAL_DATA_ALT = t({\n\tmessage: 'x_snc_bpl_user_exp.carouse.empty.state'\n});\nexport const CAROUSEL_CARD_INTERACTION_CLICK = t({\n\tmessage: 'x_snc_bpl_user_exp.interaction.click'\n});\n\nexport const FILE_TYPE_AND_SIZE_UNAVAILABLE = t({\n\tmessage: 'x_snc_bpl_user_exp.file.type.and.size.unavailable'\n});\nexport const FILE_TYPE_UNAVAILABLE = t({\n\tmessage: 'x_snc_bpl_user_exp.file.size.unavailable'\n});\nexport const FILE_SIZE_UNAVAILABLE = t({\n\tmessage: 'x_snc_bpl_user_exp.size.unavailable'\n});\n\nexport const MICROSOFT_EXCEL = 'Microsoft Excel';\nexport const PDF = 'PDF';\nexport const MICROSOFT_POWERPOINT = 'Microsoft PowerPoint';\n\nexport const DOCUMENT_OUTLINE = 'document-outline';\nexport const DOCUMENT_EXCEL_OUTLINE = 'document-excel-outline';\nexport const DOCUMENT_PDF_OUTLINE = 'document-pdf-outline';\nexport const DOCUMENT_PPT_OUTLINE = 'document-ppt-outline';\n\nexport const IMAGE_OBJECT = {\n\t[MICROSOFT_EXCEL]: DOCUMENT_EXCEL_OUTLINE,\n\t[PDF]: DOCUMENT_PDF_OUTLINE,\n\t[MICROSOFT_POWERPOINT]: DOCUMENT_PPT_OUTLINE\n};\n\nexport const PRIMARY = 'primary';\nexport const SECONDARY = 'secondary';\n\nexport const VARIANT = {\n\tPRIMARY,\n\tSECONDARY\n};\n\nexport const IMAGE_ALT_TEXT = t({\n\tmessage: 'x_snc_bpl_user_exp.randomized.image'\n});\n\nexport const ASSET = t({message: 'x_snc_bpl_user_exp.asset'});\n\nexport const SEE_THE_COMPLETE_METHODOLOGY = t({\n\tmessage: 'x_snc_bpl_user_exp.see.the.complete.methodology'\n});\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import {\n\tDOCUMENT_OUTLINE,\n\tFILE_SIZE_UNAVAILABLE,\n\tFILE_TYPE_AND_SIZE_UNAVAILABLE,\n\tFILE_TYPE_UNAVAILABLE,\n\tIMAGE_OBJECT\n} from './constants';\n\n/**\n * Retrieves carousel items based on the selected workstream and phase.\n *\n * @param {Array} carouselData - Array of objects containing the carousel data.\n *     Each object has a 'workstream' object, a 'phase' object, and an 'items' array.\n * @param {string} selectedWorkstreamId - The ID of the selected workstream.\n * @param {string} selectedPhaseId - The ID of the selected phase.\n * @returns {Array} An array of carousel items for the matching workstream and phase.\n *                   If no match is found, an empty array is returned.\n */\nexport function getCarouselItemsByWorkstreamAndPhase(\n\tcarouselData,\n\tselectedWorkstreamId,\n\tselectedPhaseId\n) {\n\tfor (let i = 0; i < carouselData.length; i++) {\n\t\tconst entry = carouselData[i];\n\n\t\t// Check if both workstream and phase match the selected ones\n\t\tif (\n\t\t\tentry.workstream.id === selectedWorkstreamId &&\n\t\t\tentry.phase.id === selectedPhaseId\n\t\t) {\n\t\t\t// Return the items for the matching workstream and phase\n\t\t\treturn entry.items;\n\t\t}\n\t}\n\n\t// Return an empty array if no matching workstream-phase pair is found\n\treturn [];\n}\n\n/**\n * Selects a random image from an array of images.\n *\n * @param {Array} images - Array of image file paths or URLs.\n * @returns {string} The file path or URL of the randomly selected image.\n */\nexport function getRandomImage(images) {\n\tconst randomIndex = Math.floor(Math.random() * images.length); // Generate a random index\n\treturn images[randomIndex]; // Return the image at the randomly selected index\n}\n\n/**\n * Converts a hexadecimal color code to its RGB equivalent.\n *\n * @param {string} hex - The hex color code (e.g., \"#RRGGBB\" or \"#RGB\").\n *                       This can also be provided without the \"#\" symbol.\n * @returns {string} A string representing the RGB color in the format \"r, g, b\".\n *                   Each component (r, g, b) is an integer between 0 and 255.\n */\nexport function hex2rgb(hex) {\n\t// Remove the '#' if present at the start of the hex string\n\thex = hex.replace(/^#/, '');\n\n\t// If the hex code is in shorthand form (#RGB), expand it to the full form (#RRGGBB)\n\t// For example, \"#FFF\" becomes \"#FFFFFF\"\n\tif (hex.length === 3) {\n\t\thex = hex\n\t\t\t.split('')\n\t\t\t.map((char) => char + char)\n\t\t\t.join('');\n\t}\n\n\t// Convert the hex string into an integer (base 16) to obtain the RGB values\n\tconst bigint = parseInt(hex, 16);\n\n\t// Extract the red component by shifting the bits 16 positions to the right\n\t// and applying a bitwise AND to keep the last 8 bits (0-255 range)\n\tconst r = (bigint >> 16) & 255;\n\n\t// Extract the green component by shifting the bits 8 positions to the right\n\t// and applying a bitwise AND to keep the last 8 bits (0-255 range)\n\tconst g = (bigint >> 8) & 255;\n\n\t// Extract the blue component by applying a bitwise AND to keep the last 8 bits\n\t// (no shift is needed since blue is already in the last 8 bits)\n\tconst b = bigint & 255;\n\n\t// Return the RGB value in the format \"r, g, b\"\n\t// This is useful when directly applying the values in CSS or other RGB-based formats\n\treturn `${r}, ${g}, ${b}`;\n}\n\n/**\n * Creates an interaction handler object that binds event handlers for click, keydown, and custom events.\n *\n * @param {Function} fn - The function to be executed when the event is triggered.\n * @param {boolean} [ignoreSpace=false] - Determines if the 'Space' key should trigger the handler.\n * @param {string[]} [moreEvents=[]] - Additional event names to attach the handler to.\n *\n * @returns {Object} An object containing event handlers for the specified interactions.\n */\nexport function createInteractionHandler(\n\tfn,\n\tignoreSpace = false,\n\tmoreEvents = []\n) {\n\t// Define default interaction handlers for 'on-click' and 'on-keydown' events.\n\tconst interactionHandlers = {\n\t\t// Handler for 'on-click' event\n\t\t'on-click': fn,\n\n\t\t// Handler for 'on-keydown' event\n\t\t'on-keydown': (e) => {\n\t\t\t// Prevent the default action for the 'Space' key and optionally call the handler\n\t\t\tif (e.key === ' ') {\n\t\t\t\te.preventDefault(); // Prevent page scrolling when the 'Space' key is pressed\n\t\t\t\tif (!ignoreSpace) {\n\t\t\t\t\tfn(e); // Call the handler only if 'ignoreSpace' is false\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Prevent the default action for the 'Enter' key and call the handler\n\t\t\telse if (e.key === 'Enter') {\n\t\t\t\te.preventDefault(); // Prevent form submission or other default actions\n\t\t\t\tfn(e); // Call the handler\n\t\t\t}\n\t\t}\n\t};\n\n\t// Process additional events passed in the 'moreEvents' array and attach the handler\n\tconst moreHandlers = moreEvents.reduce((target, event) => {\n\t\ttarget[event] = fn; // Add the event name and assign the handler\n\t\treturn target; // Return the updated target object\n\t}, {});\n\n\t// Merge default interaction handlers with additional handlers and return the result\n\treturn {...interactionHandlers, ...moreHandlers};\n}\n\n/**\n * createFocusHandler\n *\n * Generates handlers for focus and blur interactions, dispatching appropriate events\n * for accessibility or state management.\n *\n * @param {Function} onFocus - The function to call when the element gains focus.\n * @param {Function} onBlur - The function to call when the element loses focus.\n * @param {Array<string>} moreEvents - Additional events to handle focus-related interactions (e.g., custom events like 'on-focus-in').\n *\n * @returns {Object} - Object containing `on-focus`, `on-blur`, and optionally other custom handlers.\n */\nexport function createFocusHandler(onFocus, onBlur, moreEvents = []) {\n\t// Define default focus-related event handlers\n\tconst focusHandlers = {\n\t\t// Handler for 'on-focus' event\n\t\t'on-focus': (e) => {\n\t\t\te.stopPropagation(); // Prevent focus event from propagating up the DOM tree\n\t\t\tif (onFocus) onFocus(e); // Call the provided onFocus handler\n\t\t},\n\n\t\t// Handler for 'on-blur' event\n\t\t'on-blur': (e) => {\n\t\t\te.stopPropagation(); // Prevent blur event from propagating up the DOM tree\n\t\t\tif (onBlur) onBlur(e); // Call the provided onBlur handler\n\t\t}\n\t};\n\n\t// Process additional events passed in the 'moreEvents' array and attach the handlers\n\tconst moreHandlers = moreEvents.reduce((target, event) => {\n\t\ttarget[event] = (e) => {\n\t\t\te.stopPropagation(); // Prevent custom events from propagating\n\t\t\tif (event === 'on-focus-in' && onFocus) onFocus(e); // Handle custom 'on-focus-in'\n\t\t\tif (event === 'on-focus-out' && onBlur) onBlur(e); // Handle custom 'on-focus-out'\n\t\t};\n\t\treturn target;\n\t}, {});\n\n\t// Merge default focus handlers with additional handlers and return the result\n\treturn {...focusHandlers, ...moreHandlers};\n}\n\n/**\n * Takes asset format and returns corresponding icon\n *\n * @param {String} key - Asset Format (ex: Microsoft Excel, PDF)\n * @returns {String} Returns icon.\n */\nexport function getAssetFormatIcon(\n\tkey,\n\tdefaultValue = DOCUMENT_OUTLINE,\n\tobj = IMAGE_OBJECT\n) {\n\treturn obj[key] || defaultValue;\n}\n\n/**\n * Takes asset format and file size and returns footer text.\n *\n * @param {String} assetFormat - Asset Format (ex: Microsoft Excel, PDF)\n * @param {String} fileSize - File size (ex: 15MB, 512KB)\n * @returns {String} Returns footer text.\n */\nexport function getFooterMessage(assetFormat, fileSize) {\n\tif (!assetFormat && !fileSize) {\n\t\treturn FILE_TYPE_AND_SIZE_UNAVAILABLE;\n\t}\n\tif (!assetFormat) {\n\t\treturn `${FILE_TYPE_UNAVAILABLE} (${fileSize})`;\n\t}\n\tif (!fileSize) {\n\t\treturn `${assetFormat} (${FILE_SIZE_UNAVAILABLE})`;\n\t}\n\treturn `${assetFormat} (${fileSize})`;\n}\n","/**\n * LeftCapSelected Component\n *\n * Renders the left cap for the selected workstream. The fill and stroke colors are dynamically set based on\n * the workstream's `bgColor` and `selectedColor` properties.\n *\n * @param {string} bgColor - The background color to fill the left cap (in Hex or RGB).\n * @param {string} selectedColor - The stroke color to apply for the selected workstream (in Hex or RGB).\n *\n * @returns {JSX.Element} The left cap SVG element.\n */\nexport const LeftCapSelected = ({bgColor, selectedColor}) => {\n\treturn (\n\t\t<svg\n\t\t\tattr-width=\"9\"\n\t\t\tattr-height=\"40\"\n\t\t\tattr-viewBox=\"0 0 9 40\"\n\t\t\tattr-fill=\"none\"\n\t\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t<g id=\"Stage picker\">\n\t\t\t\t<mask\n\t\t\t\t\tattr-id=\"mask0_4366_53057\"\n\t\t\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\t\t\tattr-x=\"0\"\n\t\t\t\t\tattr-y=\"0\"\n\t\t\t\t\tattr-width=\"9\"\n\t\t\t\t\tattr-height=\"40\">\n\t\t\t\t\t<path attr-d=\"M0 0H7V40H0V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t\t\t<\/mask>\n\t\t\t\t<g attr-mask=\"url(#mask0_4366_53057)\">\n\t\t\t\t\t<path\n\t\t\t\t\t\tattr-d=\"M5 5C5 2.23858 7.23858 0 10 0H22V20.625V40H10C7.23858 40 5 37.7614 5 35V20.625V5Z\"\n\t\t\t\t\t\tattr-fill={bgColor} // Dynamically set fill color in Hex or RGB\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\tattr-d=\"M0.5 5C0.5 2.51472 2.51472 0.5 5 0.5H16.5V20.625V39.5H5C2.51472 39.5 0.5 37.4853 0.5 35V20.625V5Z\"\n\t\t\t\t\t\tattr-fill={bgColor} // Dynamically set fill color in Hex or RGB\n\t\t\t\t\t\tattr-stroke={selectedColor} // Dynamically set stroke color in Hex or RGB\n\t\t\t\t\t/>\n\t\t\t\t<\/g>\n\t\t\t<\/g>\n\t\t<\/svg>\n\t);\n};\n\n/**\n * RightCapSelected Component\n *\n * Renders the right cap for the selected workstream. The fill and stroke colors are dynamically set based on\n * the workstream's `bgColor` and `selectedColor` properties.\n *\n * @param {string} bgColor - The background color to fill the right cap (in Hex or RGB).\n * @param {string} selectedColor - The stroke color to apply for the selected workstream (in Hex or RGB).\n *\n * @returns {JSX.Element} The right cap SVG element.\n */\nexport const RightCapSelected = ({bgColor, selectedColor}) => {\n\treturn (\n\t\t<svg\n\t\t\tattr-width=\"9\"\n\t\t\tattr-height=\"40\"\n\t\t\tattr-viewBox=\"0 0 9 40\"\n\t\t\tattr-fill=\"none\"\n\t\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t<g id=\"Stage picker\">\n\t\t\t\t<mask\n\t\t\t\t\tattr-id=\"mask0_4366_53070\"\n\t\t\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\t\t\tattr-x=\"0\"\n\t\t\t\t\tattr-y=\"0\"\n\t\t\t\t\tattr-width=\"9\"\n\t\t\t\t\tattr-height=\"40\">\n\t\t\t\t\t<path attr-d=\"M0 0H9V40H0V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t\t\t<\/mask>\n\t\t\t\t<g attr-mask=\"url(#mask0_4366_53070)\">\n\t\t\t\t\t<path\n\t\t\t\t\t\tattr-d=\"M-1.2002 0H2.7998L8.7998 20.625L2.7998 40H-1.2002V20V0Z\"\n\t\t\t\t\t\tattr-fill={bgColor} // Dynamically set fill color in Hex or RGB\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\tattr-d=\"M-0.700195 0.5H2.42453L8.27777 20.6205L2.43122 39.5H-0.700195V20V0.5Z\"\n\t\t\t\t\t\tattr-fill={bgColor} // Dynamically set fill color in Hex or RGB\n\t\t\t\t\t\tattr-stroke={selectedColor} // Dynamically set stroke color in Hex or RGB\n\t\t\t\t\t/>\n\t\t\t\t<\/g>\n\t\t\t<\/g>\n\t\t<\/svg>\n\t);\n};\n\n/**\n * Arrow Component\n *\n * This component renders an SVG arrow. The arrow points to the right and can be used as part of navigation controls,\n * dropdown indicators, or any other UI where a right-pointing arrow is needed. The `attr-` prefixes are used for\n * compatibility with Snabbdom rendering.\n *\n * @returns {JSX.Element} The SVG element representing a right-pointing arrow.\n */\nexport const Arrow = () => (\n\t<svg\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M8.14645 13.8536C7.95118 13.6583 7.95118 13.3417 8.14645 13.1464L12.7929 8.5L2 8.5C1.72386 8.5 1.5 8.27614 1.5 8C1.5 7.72386 1.72386 7.5 2 7.5L12.7929 7.5L8.14645 2.85355C7.95118 2.65829 7.95118 2.34171 8.14645 2.14645C8.34171 1.95118 8.65829 1.95118 8.85355 2.14645L14.3536 7.64645C14.5488 7.84171 14.5488 8.15829 14.3536 8.35355L8.85355 13.8536C8.65829 14.0488 8.34171 14.0488 8.14645 13.8536Z\"\n\t\t\tattr-fill=\"black\"\n\t\t/>\n\t<\/svg>\n);\n","import {\n\tLeftCapSelected,\n\tRightCapSelected\n} from './helpers/workstreamSVGComponents';\n\n/**\n * WorkstreamCap Component\n *\n * Displays a decorative cap (left or right) for a selected workstream.\n * The cap style dynamically changes based on the workstream's selection state.\n *\n * Props:\n * - position (string): Position of the cap ('left' or 'right').\n * - isSelected (boolean): Indicates if the workstream is selected.\n * - backgroundColor (string): Background color for the cap.\n * - selectedColor (string): Border color for the cap when selected.\n *\n * Accessibility:\n * - `aria-hidden=\"true\"` ensures that the decorative cap is not read by assistive technologies.\n *\n * Behavior:\n * - Renders only when the workstream is selected.\n * - Dynamically determines the SVG component to render based on the `position` prop.\n *\n * Returns:\n * - {JSX.Element|null}: The rendered cap or null if the workstream is not selected.\n */\nconst WorkstreamCap = ({\n\tposition,\n\tisSelected,\n\tbackgroundColor,\n\tselectedColor\n}) => {\n\tif (!isSelected) return null;\n\n\tconst CapComponent = position === 'left' ? LeftCapSelected : RightCapSelected;\n\n\treturn (\n\t\t<span\n\t\t\tclassName={`workstream-cap workstream-cap--${position}`}\n\t\t\trole=\"presentation\"\n\t\t\taria-hidden=\"true\">\n\t\t\t<CapComponent bgColor={backgroundColor} selectedColor={selectedColor} />\n\t\t<\/span>\n\t);\n};\n\nexport default WorkstreamCap;\n","/**\n * Converts a string to sentence case, capitalizing the first letter of each sentence.\n *\n * @param {string} str - The string to convert.\n * @returns {string} The converted string in sentence case.\n */\nexport function toSentenceCase(str) {\n\treturn str.toLowerCase().replace(/(^\\s*\\w|[.!?]\\s*\\w)/g, function(c) {\n\t\treturn c.toUpperCase();\n\t});\n}\n","import {Arrow} from './helpers/workstreamSVGComponents';\nimport {toSentenceCase} from '../../../utils';\n\n/**\n * WorkstreamName Component\n *\n * Renders the workstream name with an optional arrow icon if the workstream is selected.\n *\n * @param {boolean} isSelected - Indicates if the workstream is selected.\n * @param {string} name - The name of the workstream.\n *\n * @returns {JSX.Element} The rendered workstream name, with an arrow if selected.\n */\nconst WorkstreamName = ({isSelected, name}) => (\n\t<div className=\"workstream-item__name\">\n\t\t{isSelected && (\n\t\t\t<span\n\t\t\t\tclassName=\"workstream-item__arrow-icon\"\n\t\t\t\trole=\"presentation\"\n\t\t\t\taria-hidden=\"true\">\n\t\t\t\t<Arrow />\n\t\t\t<\/span>\n\t\t)}\n\t\t<h3 className=\"workstream-item__name-text\">{toSentenceCase(name)}<\/h3>\n\t<\/div>\n);\n\nexport default WorkstreamName;\n","import WorkstreamCap from './WorkstreamCap';\nimport WorkstreamName from './WorkstreamName';\nimport {createInteractionHandler, createFocusHandler} from '../utils';\nimport {VARIANT} from '../constants';\n\n/**\n * WorkstreamItem Component\n *\n * Represents an individual workstream in the list. Handles selection, focus, and other interactions.\n *\n * Props:\n * - workstream (Object): The workstream details, including:\n *     - id (string): Unique identifier for the workstream.\n *     - name (string): Name of the workstream.\n * - isSelected (boolean): Indicates if the workstream is currently selected.\n * - isFocused (boolean): Indicates if the workstream is currently focused.\n * - backgroundColor (string): Background color for the workstream.\n * - selectedColor (string): Color to indicate the selected workstream.\n * - variant (string): can be primary or secondary used to switch layouts.\n * - handleWorkstreamClick (Function): Function to handle click interactions.\n * - handleFocus (Function): Function to handle focus interactions.\n * - handleBlur (Function): Function to handle blur interactions.\n *\n * Accessibility:\n * - `aria-pressed` reflects the selection state for assistive technologies.\n * - Focus handling ensures proper navigation for keyboard users.\n *\n * Behavior:\n * - Supports:\n *     - Selection on click.\n *     - Focus and blur for interactive navigation.\n *\n * Returns:\n * - {JSX.Element}: The rendered workstream item.\n */\nconst WorkstreamItem = ({\n\tworkstream,\n\tisSelected,\n\tisFocused,\n\tbackgroundColor,\n\tselectedColor,\n\tvariant,\n\thandleWorkstreamClick,\n\thandleFocus,\n\thandleBlur\n}) => (\n\t<button\n\t\taria-pressed={isSelected} // Accessible state\n\t\taria-label={workstream.name}\n\t\tclassName={`workstream-item ${\n\t\t\tisSelected ? 'workstream-item--selected' : ''\n\t\t} ${isFocused ? 'workstream-item--focused' : ''} ${\n\t\t\tvariant === VARIANT.SECONDARY ? 'disable-click' : ''\n\t\t}`}\n\t\tstyle={{\n\t\t\tbackgroundColor,\n\t\t\tborderTopColor: selectedColor,\n\t\t\tborderBottomColor: selectedColor\n\t\t}}\n\t\t{...createInteractionHandler(handleWorkstreamClick)}\n\t\t{...createFocusHandler(handleFocus, handleBlur)}>\n\t\t<WorkstreamCap\n\t\t\tposition=\"left\"\n\t\t\tisSelected={isSelected}\n\t\t\tbackgroundColor={backgroundColor}\n\t\t\tselectedColor={selectedColor}\n\t\t/>\n\t\t<WorkstreamName isSelected={isSelected} name={workstream.name} />\n\t\t<WorkstreamCap\n\t\t\tposition=\"right\"\n\t\t\tisSelected={isSelected}\n\t\t\tbackgroundColor={backgroundColor}\n\t\t\tselectedColor={selectedColor}\n\t\t/>\n\t<\/button>\n);\n\nexport default WorkstreamItem;\n","/**\n * Event name for when a phase is selected in the Workstream Phase Carousel.\n * This is typically dispatched when a user clicks or interacts with a specific phase.\n * It helps update the state to reflect the selected phase.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_PHASE_SELECTED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#PHASE_SELECTED';\n\n/**\n * Event name for when a workstream is selected in the Workstream Phase Carousel.\n * This is dispatched when a user selects a particular workstream, enabling updates to the UI\n * or triggering data changes based on the selected workstream.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_SELECTED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#WORKSTREAM_SELECTED';\n\n/**\n * Event name for when a card within the carousel is clicked.\n * This is typically used to handle click interactions on individual cards, such as tasks or assets,\n * and can trigger actions like displaying detailed information or navigating to a related page.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#CARD_CLICKED';\n\n/**\n * Event name for when a phase loses focus in the Workstream Phase Carousel.\n * This event is dispatched when a user navigates away from a phase or it loses keyboard focus.\n * It helps in managing focus-related states and accessibility.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_PHASE_BLURRED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#PHASE_BLURRED';\n\n/**\n * Event name for when a phase gains focus in the Workstream Phase Carousel.\n * This event is dispatched when a user focuses on a specific phase, either through keyboard navigation or interaction.\n * It ensures the UI or state can respond appropriately, such as highlighting the focused phase.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_PHASE_FOCUSED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#PHASE_FOCUSED';\n\n/**\n * Event name for when a Work stream loses focus in the Workstream Phase Carousel.\n * This event is dispatched when a user navigates away from a Work stream or it loses keyboard focus.\n * It helps in managing focus-related states and accessibility.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_BLURRED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#WORKSTREAM_BLURRED';\n\n/**\n * Event name for when a Work stream gains focus in the Workstream Phase Carousel.\n * This event is dispatched when a user focuses on a specific Work stream, either through keyboard navigation or interaction.\n * It ensures the UI or state can respond appropriately, such as highlighting the focused Work stream.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_FOCUSED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#WORKSTREAM_FOCUSED';\n\n/**\n * Event name for when in public experience, 'See the complete methodology' button is clicked.\n * This event is dispatched when a user is in the public experience and clicks the above button.\n * The button is located below the workstream list component.\n * The is only applicable in the public experience.\n */\nexport const WORKSTREAM_PHASE_CAROUSEL_SEE_COMPLETE_BUTTON_CLICKED =\n\t'SN_CX_WORKSTREAM_PHASE_CAROUSEL#SEE_COMPLETE_BUTTON_CLICKED';\n\n/**\n * Event name for when sn-cx-card is carousel component is clicked.\n * Redirects to the asset url.\n */\nexport const SN_CX_CARD_CLICKED = 'SN_CX_CARD#CLICKED';\n","import '@servicenow/now-button';\nimport {hex2rgb} from '../utils';\nimport {\n\tSEE_THE_COMPLETE_METHODOLOGY,\n\tVARIANT,\n\tWORKSTREAM_TITLE\n} from '../constants';\nimport WorkstreamItem from './WorkstreamItem';\nimport {\n\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_SELECTED,\n\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_FOCUSED,\n\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_BLURRED,\n\tWORKSTREAM_PHASE_CAROUSEL_SEE_COMPLETE_BUTTON_CLICKED\n} from '../actions';\n\n/**\n * Helper function to render a single workstream item.\n *\n * @param {object} workstream - The workstream object to render.\n * @param {boolean} isSelected - Whether the current workstream is selected.\n * @param {boolean} isFocused - Whether the current workstream is focused.\n * @param {string} backgroundColor - The background color for the workstream.\n * @param {string} selectedColor - The color for the selected workstream.\n * @param {function} handleWorkstreamClick - The click handler function for the workstream.\n * @param {function} handleFocus - The focus handler function for the workstream.\n * @param {function} handleBlur - The blurr handler function for the workstream.\n *\n * @returns {JSX.Element} The rendered workstream item.\n */\nconst renderWorkstreamItem = (\n\tworkstream,\n\tisSelected,\n\tisFocused,\n\tbackgroundColor,\n\tselectedColor,\n\tvariant,\n\thandleWorkstreamClick,\n\thandleFocus,\n\thandleBlur\n) => (\n\t<div role=\"listitem\">\n\t\t<WorkstreamItem\n\t\t\tkey={workstream.id}\n\t\t\tworkstream={workstream}\n\t\t\tisSelected={isSelected}\n\t\t\tisFocused={isFocused}\n\t\t\tbackgroundColor={backgroundColor}\n\t\t\tselectedColor={selectedColor}\n\t\t\tvariant={variant}\n\t\t\thandleWorkstreamClick={handleWorkstreamClick(workstream.id)}\n\t\t\thandleFocus={handleFocus(workstream.id)}\n\t\t\thandleBlur={handleBlur(workstream.id)}\n\t\t/>\n\t<\/div>\n);\n\n/**\n * WorkstreamList Component\n *\n * Displays a list of workstreams and manages their selection, focus, and interaction states.\n * Handles click, focus, and blur events to update the application state.\n *\n * Props:\n * - workstreams (Array): List of workstreams, each containing:\n *     - id (string): Unique identifier for the workstream.\n *     - name (string): Name of the workstream.\n *     - backgroundColor (string): Background color of the workstream.\n *     - selectedColor (string): Border color when selected.\n * - selectedWorkstreamId (string): ID of the currently selected workstream.\n * - focusedWorkstreamId (string): ID of the currently focused workstream.\n * - variant (string): can be primary or secondary used to switch layouts.\n * - dispatch (Function): Function to dispatch actions for interaction handling.\n *\n * Accessibility:\n * - `role=\"list\"` for the container.\n * - Each `WorkstreamItem` is rendered as a `button` with `aria-pressed` indicating the selection state.\n * - Proper focus and blur management for keyboard navigation.\n *\n * Behavior:\n * - Renders all workstreams using the `WorkstreamItem` component.\n * - Updates the state on interaction, such as:\n *     - Clicking a workstream (`handleWorkstreamClick`).\n *     - Focusing or blurring a workstream (`handleFocus` and `handleBlur`).\n *\n * Returns:\n * - {JSX.Element}: The rendered list of workstreams.\n */\nconst WorkstreamList = ({\n\tworkstreams,\n\tselectedWorkstreamId,\n\tfocusedWorkstreamId,\n\tdispatch,\n\tvariant\n}) => {\n\tconst handleWorkstreamClick = (workstreamId) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_SELECTED,\n\t\t\t{id: workstreamId},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\tconst handleFocus = (workstreamId) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_FOCUSED,\n\t\t\t{id: workstreamId},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\tconst handleBlur = () => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_BLURRED,\n\t\t\t{id: null},\n\t\t\t{event: e}\n\t\t); // send null to reset the last phase focuse state\n\t};\n\n\tconst handleInlineNavClick = () => {\n\t\tdispatch(WORKSTREAM_PHASE_CAROUSEL_SEE_COMPLETE_BUTTON_CLICKED);\n\t};\n\n\tconst renderWorkstreamList = (variant) =>\n\t\tworkstreams.map((workstream) => {\n\t\t\tconst isSelected =\n\t\t\t\tworkstream.id === selectedWorkstreamId && variant != VARIANT.SECONDARY;\n\t\t\tconst isFocused =\n\t\t\t\tworkstream.id === focusedWorkstreamId && variant != VARIANT.SECONDARY;\n\t\t\tconst backgroundColor = workstream.backgroundColor.color\n\t\t\t\t? `rgb(var(${workstream.backgroundColor.color}, ${hex2rgb(\n\t\t\t\t\t\tworkstream.backgroundColor.default\n\t\t\t\t  )}))`\n\t\t\t\t: `rgb(${hex2rgb(workstream.backgroundColor.default)})`;\n\t\t\tconst selectedColor = workstream.selectedColor?.color\n\t\t\t\t? `rgb(var(${workstream.selectedColor.color}, ${hex2rgb(\n\t\t\t\t\t\tworkstream.selectedColor.default\n\t\t\t\t  )}))`\n\t\t\t\t: `rgb(${hex2rgb(workstream.selectedColor.default)})`;\n\n\t\t\treturn renderWorkstreamItem(\n\t\t\t\tworkstream,\n\t\t\t\tisSelected,\n\t\t\t\tisFocused,\n\t\t\t\tbackgroundColor,\n\t\t\t\tselectedColor,\n\t\t\t\tvariant,\n\t\t\t\thandleWorkstreamClick,\n\t\t\t\thandleFocus,\n\t\t\t\thandleBlur\n\t\t\t);\n\t\t});\n\n\treturn (\n\t\t<section\n\t\t\tclassName={\n\t\t\t\tvariant !== VARIANT.SECONDARY\n\t\t\t\t\t? 'workstream-carousel'\n\t\t\t\t\t: `workstream-carousel__${variant}`\n\t\t\t}\n\t\t\taria-labelledby=\"workstream-title\">\n\t\t\t{variant !== VARIANT.SECONDARY ? (\n\t\t\t\t<h3 id=\"workstream-title\" className=\"workstream-carousel__title\">\n\t\t\t\t\t{WORKSTREAM_TITLE}\n\t\t\t\t<\/h3>\n\t\t\t) : null}\n\t\t\t<div className=\"workstream-carousel__list\" role=\"list\">\n\t\t\t\t{renderWorkstreamList(variant)}\n\t\t\t<\/div>\n\t\t\t{!(variant !== VARIANT.SECONDARY) && (\n\t\t\t\t<now-button-bare\n\t\t\t\t\tclassName=\"scroll_button\"\n\t\t\t\t\tlabel={SEE_THE_COMPLETE_METHODOLOGY}\n\t\t\t\t\ticon-end=\"arrow-down-outline\"\n\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\tsize=\"md\"\n\t\t\t\t\ton-click={handleInlineNavClick}\n\t\t\t\t\tconfigAria={{button: {'aria-roledescription': 'link'}}}\n\t\t\t\t/>\n\t\t\t)}\n\t\t<\/section>\n\t);\n};\n\nexport default WorkstreamList;\n","/**\n * LeftCapForFirst Component\n *\n * Renders the left cap SVG for the first item in the phase list.\n *\n * @returns {JSX.Element} The left cap SVG for the first item.\n */\nexport const LeftCapForFirst = () => (\n\t<svg\n\t\tattr-width=\"7\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 7 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_20024\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"7\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0 0H7V40H0V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_20024)\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M5 5C5 2.23858 7.23858 0 10 0H22V20.625V40H10C7.23858 40 5 37.7614 5 35V20.625V5Z\"\n\t\t\t\tattr-fill=\"#E3EAEF\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattr-d=\"M0.5 5C0.5 2.51472 2.51472 0.5 5 0.5H16.5V20.625V39.5H5C2.51472 39.5 0.5 37.4853 0.5 35V20.625V5Z\"\n\t\t\t\tattr-fill=\"#E3EAEF\"\n\t\t\t\tattr-stroke=\"white\"\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * LeftCapSelectedForFirst Component\n *\n * Renders the left cap SVG for the selected first item in the phase list.\n *\n * @returns {JSX.Element} The left cap SVG for the selected first item.\n */\nexport const LeftCapSelectedForFirst = () => (\n\t<svg\n\t\tattr-width=\"7\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 7 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_40906\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"7\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0 0H7V40H0V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_40906)\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M5 5C5 2.23858 7.23858 0 10 0H22V20.625V40H10C7.23858 40 5 37.7614 5 35V20.625V5Z\"\n\t\t\t\tattr-fill=\"#032D42\" // Fill for the selected state\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattr-d=\"M0.5 5C0.5 2.51472 2.51472 0.5 5 0.5H16.5V20.625V39.5H5C2.51472 39.5 0.5 37.4853 0.5 35V20.625V5Z\"\n\t\t\t\tattr-fill=\"#D4EBF8\" // Inner fill color\n\t\t\t\tattr-stroke=\"#032D42\" // Stroke for the selected state\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * LeftCapSelected Component\n *\n * Renders the left cap SVG for the selected non-first item in the phase list.\n *\n * @returns {JSX.Element} The left cap SVG for the selected non-first item.\n */\nexport const LeftCapSelected = () => (\n\t<svg\n\t\tattr-width=\"10\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 10 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_29515\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"9\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0 0H9V40H0V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_29515)\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M-0.333984 0H10.666V20.625V40H-0.333984L5.66602 20.625L-0.333984 0Z\"\n\t\t\t\tattr-fill=\"#032D42\" // Fill for the selected state\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattr-d=\"M0.332198 0.5H10.166V20.625V39.5H0.34428L6.14364 20.7729L6.18805 20.6295L6.14611 20.4853L0.332198 0.5Z\"\n\t\t\t\tattr-fill=\"#D4EBF8\" // Inner fill color\n\t\t\t\tattr-stroke=\"#032D42\" // Stroke for the selected state\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * LeftCapFocusedForFirst Component\n *\n * This component renders an SVG graphic used as a visual element for the left cap\n * of the first focused item in the UI. Attributes are prefixed with `attr-` for Snabbdom compatibility.\n *\n * @returns {JSX.Element} The rendered SVG component.\n */\nexport const LeftCapFocusedForFirst = () => (\n\t<svg\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"177\"\n\t\tattr-height=\"46\"\n\t\tattr-viewBox=\"0 0 177 46\"\n\t\tattr-fill=\"none\"\n\t\tattr-aria-hidden=\"true\" // Marks the SVG as decorative for screen readers\n\t>\n\t\t<path\n\t\t\tattr-d=\"M177 1H7C3.6863 1 1 3.68629 1 7V39C1 42.3137 3.68629 45 7 45H177\"\n\t\t\tattr-stroke=\"#5274FF\"\n\t\t\tattr-stroke-width=\"2\"\n\t\t/>\n\t<\/svg>\n);\n\n/**\n * LeftCapFocused Component\n *\n * This component renders an SVG graphic that can be used as a visual element for the left cap\n * of a focused item in the UI. Attributes are prefixed with `attr-` for Snabbdom compatibility.\n *\n * @returns {JSX.Element} The rendered SVG component.\n */\nexport const LeftCapFocused = () => (\n\t<svg\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"10\"\n\t\tattr-height=\"46\"\n\t\tattr-viewBox=\"0 0 10 46\"\n\t\tattr-fill=\"none\"\n\t\tattr-aria-hidden=\"true\" // Marks the SVG as decorative, accessible only for visual purposes\n\t>\n\t\t<path\n\t\t\tattr-d=\"M5.33268 45H2.66602L8.83268 23.5238L2.66602 1H5.33268\"\n\t\t\tattr-stroke=\"#5274FF\"\n\t\t\tattr-stroke-width=\"2\"\n\t\t/>\n\t<\/svg>\n);\n\n/**\n * LeftCap Component\n *\n * Renders the left cap SVG for a phase item.\n *\n * @returns {JSX.Element} The left cap SVG.\n */\nexport const LeftCap = () => (\n\t<svg\n\t\tattr-width=\"10\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 10 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_28056\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"10\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0.333984 0H9.33398V40H0.333984V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_28056)\">\n\t\t\t<path attr-d=\"M0 0H11V20.625V40H0L6 20.625L0 0Z\" attr-fill=\"#E3EAEF\" />\n\t\t\t<path\n\t\t\t\tattr-d=\"M0.666182 0.5H10.5V20.625V39.5H0.678264L6.47762 20.7729L6.52203 20.6295L6.4801 20.4853L0.666182 0.5Z\"\n\t\t\t\tattr-fill=\"#E3EAEF\"\n\t\t\t\tattr-stroke=\"white\"\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCap Component\n *\n * Renders the right cap SVG for a phase item.\n *\n * @returns {JSX.Element} The right cap SVG.\n */\nexport const RightCap = () => (\n\t<svg\n\t\tattr-width=\"10\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 10 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_28051\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"10\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0.666016 0H9.66602V40H0.666016V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_28051)\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M-0.53418 0H3.46582L9.46582 20.625L3.46582 40H-0.53418V20V0Z\"\n\t\t\t\tattr-fill=\"#E3EAEF\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattr-d=\"M-0.0341797 0.5H3.09055L8.94379 20.6205L3.09723 39.5H-0.0341797V20V0.5Z\"\n\t\t\t\tattr-fill=\"#E3EAEF\"\n\t\t\t\tattr-stroke=\"white\"\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapSelected Component\n *\n * Renders the right cap SVG for the selected item in the phase list.\n *\n * @returns {JSX.Element} The right cap SVG for the selected item.\n */\nexport const RightCapSelected = () => (\n\t<svg\n\t\tattr-width=\"10\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 10 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_29530\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"10\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0.666016 0H9.66602V40H0.666016V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_29530)\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M-0.53418 0H3.46582L9.46582 20.625L3.46582 40H-0.53418V20V0Z\"\n\t\t\t\tattr-fill=\"#032D42\" // Fill for the selected state\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattr-d=\"M-0.0341797 0.5H3.09055L8.94379 20.6205L3.09723 39.5H-0.0341797V20V0.5Z\"\n\t\t\t\tattr-fill=\"#D4EBF8\" // Inner fill color\n\t\t\t\tattr-stroke=\"#032D42\" // Stroke for the selected state\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapFocused Component\n *\n * This component renders an SVG graphic that can be used as a visual element for the right cap\n * of a focused item in the UI. Attributes are prefixed with `attr-` for Snabbdom compatibility.\n *\n * @returns {JSX.Element} The rendered SVG component.\n */\nexport const RightCapFocused = () => (\n\t<svg\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"11\"\n\t\tattr-height=\"46\"\n\t\tattr-viewBox=\"0 0 11 46\"\n\t\tattr-fill=\"none\"\n\t\tattr-aria-hidden=\"true\" // Marks the SVG as decorative, accessible only for visual purposes\n\t>\n\t\t<path\n\t\t\tattr-d=\"M1.33301 45H3.66634L9.83301 23.5238L3.66634 1H1.33301\"\n\t\t\tattr-stroke=\"#5274FF\"\n\t\t\tattr-stroke-width=\"2\"\n\t\t/>\n\t<\/svg>\n);\n\n/**\n * RightCapForLast Component\n *\n * Renders the right cap SVG for the last item in the phase list.\n *\n * @returns {JSX.Element} The right cap SVG for the last item.\n */\nexport const RightCapForLast = () => (\n\t<svg\n\t\tattr-width=\"6\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 6 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_28068\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"6\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0 0H6V40H0V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_28068)\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M-11 0H2C4.20914 0 6 1.79086 6 4V20.625V36C6 38.2091 4.20914 40 2 40H-11V20V0Z\"\n\t\t\t\tattr-fill=\"#E3EAEF\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattr-d=\"M-10.5 0.5H2C3.933 0.5 5.5 2.067 5.5 4V20.625V36C5.5 37.933 3.933 39.5 2 39.5H-10.5V20V0.5Z\"\n\t\t\t\tattr-fill=\"#E3EAEF\"\n\t\t\t\tattr-stroke=\"white\"\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapSelectedForLast Component\n *\n * Renders the right cap SVG for the selected last item in the phase list.\n *\n * @returns {JSX.Element} The right cap SVG for the selected last item.\n */\nexport const RightCapSelectedForLast = () => (\n\t<svg\n\t\tattr-width=\"6\"\n\t\tattr-height=\"40\"\n\t\tattr-viewBox=\"0 0 6 40\"\n\t\tattr-fill=\"none\"\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<mask\n\t\t\tattr-id=\"mask0_5004_28068\"\n\t\t\tattr-style=\"mask-type:alpha\"\n\t\t\tattr-maskUnits=\"userSpaceOnUse\"\n\t\t\tattr-x=\"0\"\n\t\t\tattr-y=\"0\"\n\t\t\tattr-width=\"6\"\n\t\t\tattr-height=\"40\">\n\t\t\t<path attr-d=\"M0 0H6V40H0V0Z\" attr-fill=\"#D9D9D9\" />\n\t\t<\/mask>\n\t\t<g attr-mask=\"url(#mask0_5004_28068)\">\n\t\t\t<path\n\t\t\t\tattr-d=\"M-11 0H2C4.20914 0 6 1.79086 6 4V20.625V36C6 38.2091 4.20914 40 2 40H-11V20V0Z\"\n\t\t\t\tattr-fill=\"#032D42\" // Fill for the selected state\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattr-d=\"M-10.5 0.5H2C3.933 0.5 5.5 2.067 5.5 4V20.625V36C5.5 37.933 3.933 39.5 2 39.5H-10.5V20V0.5Z\"\n\t\t\t\tattr-fill=\"#D4EBF8\" // Inner fill color\n\t\t\t\tattr-stroke=\"#032D42\" // Stroke for the selected state\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * Arrow Component\n *\n * This component renders an SVG arrow. The arrow points to the right and can be used as part of navigation controls,\n * dropdown indicators, or any other UI where a right-pointing arrow is needed. The `attr-` prefixes are used for\n * compatibility with Snabbdom rendering.\n *\n * @returns {JSX.Element} The SVG element representing a right-pointing arrow.\n */\nexport const Arrow = () => (\n\t<svg\n\t\tattr-xmlns=\"http://www.w3.org/2000/svg\"\n\t\tattr-width=\"16\"\n\t\tattr-height=\"16\"\n\t\tattr-viewBox=\"0 0 16 16\"\n\t\tattr-fill=\"none\">\n\t\t<path\n\t\t\tattr-d=\"M8.14645 13.8536C7.95118 13.6583 7.95118 13.3417 8.14645 13.1464L12.7929 8.5L2 8.5C1.72386 8.5 1.5 8.27614 1.5 8C1.5 7.72386 1.72386 7.5 2 7.5L12.7929 7.5L8.14645 2.85355C7.95118 2.65829 7.95118 2.34171 8.14645 2.14645C8.34171 1.95118 8.65829 1.95118 8.85355 2.14645L14.3536 7.64645C14.5488 7.84171 14.5488 8.15829 14.3536 8.35355L8.85355 13.8536C8.65829 14.0488 8.34171 14.0488 8.14645 13.8536Z\"\n\t\t\tattr-fill=\"black\"\n\t\t/>\n\t<\/svg>\n);\n","import {getLeftCap, getRightCap} from './helpers/phaseCaps';\n\n/**\n * PhaseCap Component\n *\n * This component renders either the left or right cap for a phase.\n *\n * @param {number} index - The index of the phase.\n * @param {number} phasesLength - Total number of phases.\n * @param {boolean} isSelected - Whether the phase is selected.\n * @param {string} position - Either 'left' or 'right' to specify which cap to render.\n */\nconst PhaseCap = ({index, phasesLength, isSelected, position}) => {\n\tconst isLeft = position === 'left';\n\n\treturn (\n\t\t<span role=\"presentation\" className={`phase-cap phase-cap--${position}`}>\n\t\t\t{isLeft\n\t\t\t\t? getLeftCap(index, isSelected)\n\t\t\t\t: getRightCap(index, phasesLength, isSelected)}\n\t\t<\/span>\n\t);\n};\n\nexport default PhaseCap;\n","import {\n\tLeftCapForFirst,\n\tLeftCapSelectedForFirst,\n\tLeftCapSelected,\n\tLeftCap,\n\tRightCap,\n\tRightCapSelected,\n\tRightCapForLast,\n\tRightCapSelectedForLast\n} from './phaseSVGComponents';\n\n/**\n * Helper function to determine the appropriate left cap component\n * based on whether the phase is the first and/or selected.\n */\nexport const getLeftCap = (index, isSelected) => {\n\tif (index === 0) {\n\t\treturn isSelected ? <LeftCapSelectedForFirst /> : <LeftCapForFirst />;\n\t}\n\treturn isSelected ? <LeftCapSelected /> : <LeftCap />;\n};\n\n/**\n * Helper function to determine the appropriate right cap component\n * based on whether the phase is the last and/or selected.\n */\nexport const getRightCap = (index, phasesLength, isSelected) => {\n\tconst isLast = index === phasesLength - 1;\n\tif (isLast) {\n\t\treturn isSelected ? <RightCapSelectedForLast /> : <RightCapForLast />;\n\t}\n\treturn isSelected ? <RightCapSelected /> : <RightCap />;\n};\n\n/**\n * Determines the appropriate left cap to render based on the `index` and `isFocused` state.\n *\n * @param {number} index - The index of the item in the list.\n * @param {boolean} isFocused - Indicates whether the item is focused.\n * @returns {JSX.Element} The appropriate left cap component.\n */\n// export const getLeftCapForFocused = (index, isFocused) => {\n//     if (index === 0) {\n//         return <LeftCapFocusedForFirst />;\n//     }\n//     return <LeftCapFocused />;\n// };\n","import {toSentenceCase} from '../../../utils';\nimport {Arrow} from './helpers/phaseSVGComponents';\n\n/**\n * PhaseName Component\n *\n * This component renders the name of the phase, along with an arrow if the phase is selected.\n *\n * @param {string} name - The name of the phase.\n * @param {boolean} isSelected - Whether the phase is currently selected.\n */\nconst PhaseName = ({name, isSelected}) => (\n\t<div className=\"phase-name\">\n\t\t{isSelected && (\n\t\t\t<span role=\"presentation\" className=\"phase-name__arrow\">\n\t\t\t\t<Arrow />\n\t\t\t<\/span>\n\t\t)}\n\t\t<h3 className=\"phase-name__text\">{toSentenceCase(name)}<\/h3>\n\t<\/div>\n);\n\nexport default PhaseName;\n","import PhaseCap from './PhaseCap';\nimport PhaseName from './PhaseName';\nimport {createInteractionHandler, createFocusHandler} from '../utils';\nimport {VARIANT} from '../constants';\n\n/**\n * PhaseItem Component\n *\n * Represents an individual phase within the phase list. Supports selection and focus state management.\n *\n * Props:\n * - phase (Object): The phase details, including:\n *     - id (string): Unique identifier for the phase.\n *     - name (string): Name of the phase.\n * - isSelected (boolean): Indicates if the phase is currently selected.\n * - isFocused (boolean): Indicates if the phase is currently focused.\n * - index (number): The position of the phase within the list.\n * - phasesLength (number): Total number of phases in the list.\n * - variant (string): can be primary or secondary used to switch layouts.\n * - handlePhaseClick (Function): Function to handle phase click interaction.\n * - handleFocus (Function): Function to handle phase focus interaction.\n * - handleBlur (Function): Function to handle phase blur interaction.\n *\n * Accessibility:\n * - `aria-selected` indicates the selection state.\n * - Focus handling ensures accessibility for keyboard users.\n *\n * Behavior:\n * - Supports interaction events:\n *     - Clicking to select the phase.\n *     - Focusing or blurring the phase for navigation.\n *\n * Returns:\n * - {JSX.Element}: The rendered phase item.\n */\nconst PhaseItem = ({\n\tphase,\n\tisSelected,\n\tisFocused,\n\tindex,\n\tphasesLength,\n\tvariant,\n\thandlePhaseClick,\n\thandleFocus,\n\thandleBlur\n}) => {\n\tconst ariaPressed = isSelected ? 'true' : 'false'; // ARIA attributes for accessibility\n\n\treturn (\n\t\t<div role=\"listitem\" className=\"phase-carousel__list_item\">\n\t\t\t<div\n\t\t\t\trole=\"button\" // ARIA role for screen readers\n\t\t\t\taria-pressed={ariaPressed} // Accessible state\n\t\t\t\taria-label={phase.name}\n\t\t\t\ttabIndex=\"0\" // Keyboard focusable\n\t\t\t\tclassName={[\n\t\t\t\t\t'phase-item',\n\t\t\t\t\tisSelected && 'phase-item--selected',\n\t\t\t\t\tisFocused && 'phase-item--focused',\n\t\t\t\t\tindex === 0 && 'phase-item--first',\n\t\t\t\t\tindex === phasesLength - 1 && 'phase-item--last',\n\t\t\t\t\tvariant === VARIANT.SECONDARY && 'disable-click'\n\t\t\t\t]\n\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t.join(' ')}\n\t\t\t\t{...createInteractionHandler(handlePhaseClick)} // Click and interaction handler\n\t\t\t\t{...createFocusHandler(handleFocus, handleBlur)}>\n\t\t\t\t{/* Render the left cap */}\n\t\t\t\t<PhaseCap\n\t\t\t\t\tindex={index}\n\t\t\t\t\tphasesLength={phasesLength}\n\t\t\t\t\tisSelected={isSelected}\n\t\t\t\t\tposition=\"left\"\n\t\t\t\t/>\n\n\t\t\t\t{/* Render the phase name */}\n\t\t\t\t<div className=\"phase-item__content\">\n\t\t\t\t\t<PhaseName name={phase.name} isSelected={isSelected} />\n\t\t\t\t<\/div>\n\n\t\t\t\t{/* Render the right cap */}\n\t\t\t\t<PhaseCap\n\t\t\t\t\tindex={index}\n\t\t\t\t\tphasesLength={phasesLength}\n\t\t\t\t\tisSelected={isSelected}\n\t\t\t\t\tposition=\"right\"\n\t\t\t\t/>\n\t\t\t<\/div>\n\t\t<\/div>\n\t);\n};\n\nexport default PhaseItem;\n","import {PHASE_TITLE, PHASE_TITLE_SECONDARY, VARIANT} from '../constants';\nimport {\n\tWORKSTREAM_PHASE_CAROUSEL_PHASE_SELECTED,\n\tWORKSTREAM_PHASE_CAROUSEL_PHASE_BLURRED,\n\tWORKSTREAM_PHASE_CAROUSEL_PHASE_FOCUSED\n} from '../actions';\nimport PhaseItem from './PhaseItem';\n\n/**\n * PhaseList Component\n *\n * Renders a list of phases and provides interaction support for selecting and focusing on individual phases.\n * It dynamically updates the state based on user interactions.\n *\n * Props:\n * - phases (Array): List of phases, each containing:\n *     - id (string): Unique identifier for the phase.\n *     - name (string): Name of the phase.\n * - selectedPhaseId (string): ID of the currently selected phase.\n * - focusedPhaseId (string): ID of the currently focused phase.\n * - variant (string): can be primary or secondary used to switch layouts.\n * - dispatch (Function): Function to dispatch actions for interaction handling.\n *\n * Accessibility:\n * - `role=\"list\"` for the container ensures assistive technologies recognize it as a list.\n * - Each `PhaseItem` is rendered as a `listitem`, providing a hierarchical structure.\n * - Focus management is handled using `handleFocus` and `handleBlur`.\n *\n * Behavior:\n * - Renders all phases using the `PhaseItem` component.\n * - Handles:\n *     - Clicking a phase (`handlePhaseClick`).\n *     - Focusing on a phase (`handleFocus`).\n *     - Blurring a phase (`handleBlur`).\n *\n * Returns:\n * - {JSX.Element}: The rendered list of phases.\n */\nconst PhaseList = ({\n\tphases,\n\tselectedPhaseId,\n\tfocusedPhaseId,\n\tdispatch,\n\tvariant\n}) => {\n\tconst phasesLength = phases.length;\n\n\t/**\n\t * Handles the phase click interaction by dispatching the selection action.\n\t */\n\tconst handlePhaseClick = (phaseId) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_CAROUSEL_PHASE_SELECTED,\n\t\t\t{id: phaseId},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t/**\n\t * Handles the phase focus interaction by dispatching the action.\n\t */\n\tconst handleFocus = (phaseId) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_CAROUSEL_PHASE_FOCUSED,\n\t\t\t{id: phaseId},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t/**\n\t * Handles the phase blur event by dispatching the action.\n\t */\n\tconst handleBlur = () => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(WORKSTREAM_PHASE_CAROUSEL_PHASE_BLURRED, {id: null}, {event: e}); // send null to reset the last phase focuse state\n\t};\n\n\treturn (\n\t\t<section className=\"phase-carousel\" aria-labelledby=\"phases-title\">\n\t\t\t<h3 id=\"phases-title\" className=\"phase-carousel__title\">\n\t\t\t\t{variant !== VARIANT.SECONDARY ? PHASE_TITLE : PHASE_TITLE_SECONDARY}\n\t\t\t<\/h3>\n\t\t\t<div\n\t\t\t\tclassName={`phase-carousel__list${\n\t\t\t\t\tvariant === VARIANT.SECONDARY ? `-${VARIANT.SECONDARY}` : ''\n\t\t\t\t}`}\n\t\t\t\trole=\"list\">\n\t\t\t\t{phases.map((phase, index) => {\n\t\t\t\t\tconst isSelected =\n\t\t\t\t\t\tphase.id === selectedPhaseId && variant !== VARIANT.SECONDARY;\n\t\t\t\t\tconst isFocused =\n\t\t\t\t\t\tphase.id === focusedPhaseId && variant !== VARIANT.SECONDARY;\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<PhaseItem\n\t\t\t\t\t\t\tkey={phase.id}\n\t\t\t\t\t\t\tphase={phase}\n\t\t\t\t\t\t\tisSelected={isSelected}\n\t\t\t\t\t\t\tisFocused={isFocused}\n\t\t\t\t\t\t\tindex={index}\n\t\t\t\t\t\t\tphasesLength={phasesLength}\n\t\t\t\t\t\t\tvariant={variant}\n\t\t\t\t\t\t\thandlePhaseClick={handlePhaseClick(phase.id)}\n\t\t\t\t\t\t\thandleFocus={handleFocus(phase.id)}\n\t\t\t\t\t\t\thandleBlur={handleBlur(phase.id)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t<\/div>\n\t\t<\/section>\n\t);\n};\n\nexport default PhaseList;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import {getAssetFormatIcon, getFooterMessage} from '../utils';\nimport '@servicenow/now-icon';\nimport {ASSET, IMAGE_ALT_TEXT} from '../constants';\nimport {Fragment} from '@servicenow/ui-renderer-snabbdom';\nimport 'sn-cx-responsive';\n\n/**\n * CardImage Component\n *\n * Handles rendering the card image. This component is responsible for setting the `src` and\n *  `alt` attributes for the image.\n *\n * @param {string} src - The source URL of the image to display.\n * @param {string} alt - The alt text for the image, for accessibility purposes.\n * @returns {JSX.Element} The rendered image component.\n */\nconst CardImage = ({src, alt}) => (\n\t<figure className=\"card__image\">\n\t\t<img src={src} alt={alt} className=\"card__image-content\" />\n\t<\/figure>\n);\n\n/**\n * CardMeta Component\n *\n * Handles the display of metadata for the card (Asset).\n * @returns {JSX.Element} The rendered metadata component.\n */\nconst CardMeta = ({category}) => (\n\t<div className=\"card__meta\">\n\t\t<now-icon\n\t\t\ticon=\"document-outline\"\n\t\t\tsize=\"sm\" // Icon size (small)\n\t\t\taria-hidden=\"true\" // Accessibility attribute to hide the icon from assistive technologies\n\t\t/>\n\t\t<span className=\"card__meta-text\">{category || ASSET}<\/span>\n\t<\/div>\n);\n\n/**\n * CardBody Component\n *\n * Handles rendering the title and description of the card.\n * If the description is too long, it will be truncated.\n *\n * @param {string} name - The title of the card.\n * @param {string} description - A short description of the card content.\n * @returns {JSX.Element} The rendered body component.\n */\nconst CardBody = ({name, description}) => (\n\t<div className=\"card__body\">\n\t\t<h4 className=\"card__title\">{name}<\/h4>\n\t\t<p className=\"card__description\">{description}<\/p>\n\t<\/div>\n);\n\n/**\n * AssetInfo Component\n *\n * Handles the display of asset format and size.\n *\n * @param {string} assetFormat - The format of the assets (e.g., \"PDF\", \"DOCX\").\n * @param {string} fileSize - The size of the asset in MB or KB (if < 1MB) (e.g., \"15 MB\",\"512 KB\").\n * @returns {JSX.Element|null} The rendered asset information or null if no data is available.\n */\nconst AssetInfo = ({assetFormat, fileSize}) => {\n\treturn (\n\t\t<Fragment>\n\t\t\t{/* Render asset format and size if available */}\n\t\t\t{\n\t\t\t\t<span className=\"card__file-info\">\n\t\t\t\t\t{getFooterMessage(assetFormat, fileSize)}\n\t\t\t\t<\/span>\n\t\t\t}\n\t\t<\/Fragment>\n\t);\n};\n\n/**\n * CardFooter Component\n *\n * Handles the footer section of the card, including asset information.\n *\n * @param {string} assetFormat - The format of the assets (e.g., \"PDF\",\"DOCX\").\n * @param {string} fileSize - The size of the asset in MB or KB (if < 1MB) (e.g., \"15 MB\",\"512 KB\").\n * @returns {JSX.Element|null} The rendered footer component or null if no asset info is available.\n */\nconst CardFooter = ({assetFormat, fileSize}) => (\n\t<section className=\"card__footer\">\n\t\t<div className=\"card__filetype\">\n\t\t\t<now-icon\n\t\t\t\tsize=\"sm\"\n\t\t\t\ticon={getAssetFormatIcon(assetFormat)}\n\t\t\t\taria-hidden=\"true\"\n\t\t\t/>\n\t\t\t<AssetInfo assetFormat={assetFormat} fileSize={fileSize} />\n\t\t<\/div>\n\t<\/section>\n);\n\n/**\n * Card Component\n *\n * The main component that encapsulates the overall card structure.\n * It composes the image, meta information, title, description, and footer together.\n *\n * @param {Object} card - The card data, including name, type, description, and asset count.\n * @returns {JSX.Element} The rendered Card component.\n */\nconst Card = ({card}) => {\n\treturn (\n\t\t// Root element of the card, with button-like behavior and accessibility attributes\n\t\t<sn-cx-card\n\t\t\tid={card.id}\n\t\t\tclassName=\"card\"\n\t\t\thref={card.assetUrl}\n\t\t\tslot=\"content\">\n\t\t\t<div className=\"card-slot\">\n\t\t\t\t{/* \n\t\t\t\tCardImage Component:\n\t\t\t\t- Use CardImage sub-component to handle rendering of the card image.\n\t\t\t\t- The image's `src` is passed down as a card's image property.\n\t\t\t\t- The image is displayed using `<now-image>` component.\n\t\t\t\t*/}\n\t\t\t\t<CardImage src={card.image} alt={IMAGE_ALT_TEXT} />\n\t\t\t\t{/* \n\t\t\t\t\tCard Content Container:\n\t\t\t\t\t- The card content container holds the meta information, title, description, and footer.\n\t\t\t\t\t- It contains three main sub-components: CardMeta, CardBody, and CardFooter.\n\t\t\t\t*/}\n\t\t\t\t<div className=\"card__content-container\">\n\t\t\t\t\t<div className=\"card__content\">\n\t\t\t\t\t\t{/* \n\t\t\t\t\t\t\tCardMeta Component:\n\t\t\t\t\t\t\t- Handles rendering of metadata such as asset category.\n\t\t\t\t\t\t\t- It displays a folder icon and the type of asset using the `category` prop.\n\t\t\t\t\t\t*/}\n\t\t\t\t\t\t<CardMeta category={card.category} />\n\t\t\t\t\t\t{/* \n\t\t\t\t\t\t\tCardBody Component:\n\t\t\t\t\t\t\t- Displays the card's main body content, including the title and description.\n\t\t\t\t\t\t\t- If the description is missing, you could extend this to show fallback content (e.g., from another field).\n\t\t\t\t\t\t*/}\n\t\t\t\t\t\t<CardBody name={card.name} description={card.description} />\n\t\t\t\t\t\t{/* \n\t\t\t\t\t\t\tCardFooter Component:\n\t\t\t\t\t\t\t- Displays additional information like the fileFormat and fileSize, if available.\n\t\t\t\t\t\t*/}\n\t\t\t\t\t\t<CardFooter\n\t\t\t\t\t\t\tassetFormat={card.fileFormat}\n\t\t\t\t\t\t\tfileSize={card.fileSize}\n\t\t\t\t\t\t/>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/sn-cx-card>\n\t);\n};\n\nexport default Card;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({  });","import Card from './Card';\nimport {WORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED} from '../actions';\nimport {\n\tCAROUSEL_CONTENT,\n\tNO_CAROUSEL_CONTENT,\n\tNO_INITIAL_DATA_ALT\n} from '../constants';\nimport NO_INITIAL_DATA_IMG from '../../../assets/no-content-found.png';\nimport '@devsnc/sn-carousel';\n/**\n * slidesForSlot\n *\n * This function takes the `carouselItems` and `images` arrays and maps them to Card components.\n * Each `card` in the `carouselItems` array is passed to the `Card` component along with the `images` array.\n *\n * @param {Array} carouselItems - An array of objects representing individual cards for the carousel.\n * @returns {Array<JSX.Element>} An array of rendered Card components.\n */\nconst slidesForSlot = (carouselItems, dispatch) => {\n\t/**\n\t * Handles the card click interaction by dispatching the card click action.\n\t */\n\tconst handleCardClick = (card) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(WORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED, {card}, {event: e});\n\t};\n\n\tif (!carouselItems) return null; // If no items are present, return early\n\n\treturn carouselItems.map((card) => (\n\t\t<Card\n\t\t\tkey={card.id}\n\t\t\thandleCardClick={handleCardClick(card)}\n\t\t\tcard={card}\n\t\t\ttotalCards={carouselItems}\n\t\t/>\n\t));\n};\n\n/**\n * Renders the empty state for the carousel.\n *\n * @returns {JSX.Element} The empty state content for the carousel.\n */\nconst renderCarouselEmptyState = () => (\n\t<div className=\"carousel-empty\" role=\"region\" aria-live=\"polite\">\n\t\t<img\n\t\t\tclassName=\"empty-content-image\"\n\t\t\tsrc={NO_INITIAL_DATA_IMG}\n\t\t\talt={NO_INITIAL_DATA_ALT}\n\t\t/>\n\t\t<p className=\"carousel-no-content-message\">{NO_CAROUSEL_CONTENT}<\/p>\n\t<\/div>\n);\n\n/**\n * Renders the carousel with items.\n *\n * @param {Array} carouselItems - List of carousel items to render.\n * @param {Function} dispatch - Dispatch function for card interactions.\n * @returns {JSX.Element} The populated carousel component.\n */\nconst renderCarouselWithItems = (carouselItems, dispatch) => (\n\t<sn-carousel\n\t\thideTitle\n\t\tdisableLooping\n\t\tslidingType=\"next-set-of-items\"\n\t\tnavPosition=\"bottom-right\"\n\t\tstyle={{height: '100%'}}\n\t\taria-live=\"polite\">\n\t\t{slidesForSlot(carouselItems, dispatch)}\n\t<\/sn-carousel>\n);\n\n/**\n * CarouselContent Component\n *\n * Displays a carousel of items, each represented by a `Card` component. It handles carousel interactions and updates the state based on user actions.\n *\n * Props:\n * - carouselItems (Array): List of items to display in the carousel, each containing:\n *     - id (string): Unique identifier for the item.\n *     - name (string): Name of the item.\n *     - description (string): Description of the item.\n *     - type (string): Type of the item (e.g., \"Task\", \"Asset\").\n *     - assetCount (number): Number of associated assets.\n * - dispatch (Function): Function to dispatch actions for interactions.\n *\n * Accessibility:\n * - `aria-label` identifies the carousel for assistive technologies.\n * - Carousel is updated dynamically with `aria-live=\"polite\"` for non-disruptive announcements.\n *\n * Behavior:\n * - Maps `carouselItems` to individual slides using `slidesForSlot`.\n * - Renders slides using the `Card` component.\n * - Dispatches actions for interaction, such as clicking a card.\n *\n * Returns:\n * - {JSX.Element}: The rendered carousel content.\n */\nconst CarouselContent = ({carouselItems, dispatch}) => {\n\tconst isCarouselEmpty = carouselItems.length === 0;\n\n\treturn (\n\t\t<section className=\"carousel\" aria-label={CAROUSEL_CONTENT}>\n\t\t\t{isCarouselEmpty\n\t\t\t\t? renderCarouselEmptyState()\n\t\t\t\t: renderCarouselWithItems(carouselItems, dispatch)}\n\t\t<\/section>\n\t);\n};\n\nexport default CarouselContent;\n","import {Fragment} from '@servicenow/ui-renderer-snabbdom';\nimport WorkstreamList from './WorkstreamList';\nimport PhaseList from './PhaseList';\nimport CarouselContent from './CarouselContent';\nimport {getCarouselItemsByWorkstreamAndPhase} from '../utils';\nimport {VARIANT} from '../constants';\n\n/**\n * WorkstreamPhaseCarousel Component\n *\n * Renders the carousel structure, including lists of workstreams, phases, and the carousel content.\n * This component manages the flow of data between sub-components and dynamically updates based on user actions.\n *\n * Props:\n * - workstreams (Array): List of workstreams, each containing:\n *     - id (string): Unique identifier for the workstream.\n *     - name (string): Name of the workstream.\n *     - backgroundColor (string): Background color for the workstream.\n * - phases (Array): List of phases, each containing:\n *     - id (string): Unique identifier for the phase.\n *     - name (string): Name of the phase.\n * - carouselData (Array): Items associated with the selected workstream and phase.\n * - state (Object): Current state of the application:\n *     - selectedWorkstreamId (string): ID of the selected workstream.\n *     - selectedPhaseId (string): ID of the selected phase.\n * - variant (string): can be primary or secondary used to switch layouts.\n * - dispatch (Function): Function to dispatch actions for interactivity.\n *\n * Accessibility:\n * - `role=\"list\"` and `aria-labelledby` for workstreams and phases.\n * - Interactive components are keyboard navigable.\n * - Carousel announces updates using `aria-live=\"polite\"`.\n *\n * Behavior:\n * - Dynamically fetches carousel items based on the selected workstream and phase.\n * - Renders:\n *     - WorkstreamList: Displays all workstreams.\n *     - PhaseList: Displays all phases.\n *     - CarouselContent: Displays the filtered carousel items.\n *\n * Returns:\n * - {JSX.Element}: The complete carousel layout.\n */\n\nconst WorkstreamPhaseCarousel = ({\n\tworkstreams,\n\tphases,\n\tcarouselData,\n\tstate,\n\tdispatch,\n\tvariant\n}) => {\n\t/**\n\t * Selected workstream and phase.\n\t *\n\t * These values are used to determine which workstream and phase are initially selected.\n\t * In the future, these could be dynamic (based on user selection) as state update.\n\t */\n\tconst {\n\t\tselectedWorkstreamId,\n\t\tselectedPhaseId,\n\t\tfocusedPhaseId,\n\t\tfocusedWorkstreamId\n\t} = state;\n\n\t/**\n\t * Fetch the carousel items based on the selected workstream and phase.\n\t * This function takes the full carousel data and filters it for items that match the selected workstream and phase.\n\t */\n\tconst carouselItems =\n\t\tvariant !== VARIANT.SECONDARY\n\t\t\t? getCarouselItemsByWorkstreamAndPhase(\n\t\t\t\t\tcarouselData,\n\t\t\t\t\tselectedWorkstreamId,\n\t\t\t\t\tselectedPhaseId\n\t\t\t  )\n\t\t\t: [];\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{/* \n                PhaseList Component:\n                - Renders a list of phases.\n                - Uses the phases, selectedPhaseId data passed as props.\n            */}\n\t\t\t<PhaseList\n\t\t\t\tvariant={variant}\n\t\t\t\tphases={phases}\n\t\t\t\tselectedPhaseId={selectedPhaseId}\n\t\t\t\tfocusedPhaseId={focusedPhaseId}\n\t\t\t\tdispatch={dispatch}\n\t\t\t/>\n\n\t\t\t{/* \n                WorkstreamList Component:\n                - Renders a list of workstreams.\n                - Uses the workstreams data passed as props.\n            */}\n\t\t\t<WorkstreamList\n\t\t\t\tvariant={variant}\n\t\t\t\tworkstreams={workstreams}\n\t\t\t\tselectedWorkstreamId={selectedWorkstreamId}\n\t\t\t\tfocusedWorkstreamId={focusedWorkstreamId}\n\t\t\t\tdispatch={dispatch}\n\t\t\t/>\n\n\t\t\t{/* \n                CarouselContent Component:\n                - Renders the carousel items.\n                - The carouselItems and images arrays are passed in as props.\n            */}\n\t\t\t{variant !== VARIANT.SECONDARY ? (\n\t\t\t\t<CarouselContent carouselItems={carouselItems} dispatch={dispatch} />\n\t\t\t) : null}\n\t\t<\/Fragment>\n\t);\n};\n\nexport default WorkstreamPhaseCarousel;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nconst __WEBPACK_NAMESPACE_OBJECT__ = x({ [\"find\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'find' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].find;\n\t\t\t\t\t} else if ('find' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.find || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].find;\n\t\t\t\t}, [\"findIndex\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'findIndex' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].findIndex;\n\t\t\t\t\t} else if ('findIndex' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.findIndex || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].findIndex;\n\t\t\t\t}, [\"flatMap\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'flatMap' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].flatMap;\n\t\t\t\t\t} else if ('flatMap' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.flatMap || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].flatMap;\n\t\t\t\t}, [\"get\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'get' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].get;\n\t\t\t\t\t} else if ('get' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.get || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].get;\n\t\t\t\t}, [\"isEmpty\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'isEmpty' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEmpty;\n\t\t\t\t\t} else if ('isEmpty' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.isEmpty || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEmpty;\n\t\t\t\t}, [\"isEqual\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'isEqual' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEqual;\n\t\t\t\t\t} else if ('isEqual' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.isEqual || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].isEqual;\n\t\t\t\t}, [\"memoize\"]: () => {\n\t\t\t\t\tconst cjsModule = __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.default && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.__esModule\n\t\t\t\t\tif (cjsModule && 'memoize' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"];\n\t\t\t\t\t} else if (cjsModule)  {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].memoize;\n\t\t\t\t\t} else if ('memoize' === 'default') {\n\t\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] ? (__WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] ? __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"][\"default\"] : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"]) : __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__;\n\t\t\t\t\t}\n\t\t\t\t\treturn __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__.memoize || __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"] && __WEBPACK_EXTERNAL_MODULE__uxasset_externals_lodash_4_17_21_index_jsdbx_74640ec9__[\"default\"].memoize;\n\t\t\t\t} });","/**\n * Updates the state with an array of state operations.\n * @param {Object} coeffects - The coeffects object containing updateState.\n * @param {Array} stateOperations - An array of state operations, each containing path, value, and operation.\n */\nexport const updateStateValues = (coeffects, stateOperations) => {\n\tconst {updateState} = coeffects;\n\n\t// Pass the array of operations directly to updateState\n\tupdateState(stateOperations);\n};\n","import {updateStateValues} from './stateOperations';\nimport {declarativeOperations} from '@servicenow/ui-core';\n\n/**\n * General effect handler to update the selected state for either phases or workstreams.\n *\n * This function is a generalized version to handle click events on selectable items\n * (workstreams, phases, etc.). It updates the respective selected state ID based on\n * the item that was clicked.\n *\n * @param {Object} coeffects - The coeffects object containing action, updateState, etc.\n * @param {String} statePath - The state path that needs to be updated ('selectedPhaseId' or 'selectedWorkstreamId').\n * @param {String} selectedId - The selected ID for the clicked item (either phase or workstream ID).\n */\nexport const handleSelectionClick = (coeffects, statePath, selectedId) => {\n\tconst {\n\t\taction: {\n\t\t\t/* eslint-disable-next-line no-unused-vars */\n\t\t\tmeta: {event: sourceEvent} // Optional: source of the event, in case needed for future use\n\t\t}\n\t} = coeffects;\n\n\t// Create an array to hold the state operations\n\tconst stateOperations = [];\n\n\t// Push the operation to update the selected ID (phase or workstream)\n\tstateOperations.push({\n\t\tpath: statePath, // The path in the state to update (e.g., 'selectedPhaseId')\n\t\toperation: declarativeOperations.SET, // Operation type (SET)\n\t\tvalue: selectedId // The new value (ID of the selected item)\n\t});\n\n\t// Apply the state updates\n\tupdateStateValues(coeffects, stateOperations);\n};\n\n/**\n * Handles focus and blur events for phases and workstreams to update the focused state.\n *\n * @param {Object} coeffects - The coeffects object containing context, actions, and utilities.\n * @param {string} statePath - The path in the state to update (e.g., 'focusedPhaseId' or 'focusedWorkstreamId').\n * @param {string|null} focusedId - The ID of the focused phase or workstream, or null for blur.\n */\nexport const handleFocusOrBlurEvent = (\n\tcoeffects,\n\tstatePath,\n\tfocusedId = null\n) => {\n\tconst {\n\t\taction: {\n\t\t\t/* eslint-disable-next-line no-unused-vars */\n\t\t\tmeta: {event: sourceEvent} // Optional: source of the event, in case needed for future use\n\t\t}\n\t} = coeffects;\n\n\t// Create an array to hold the state operations\n\tconst stateOperations = [];\n\n\t// Push the operation to update the focused ID (or clear it if focusedId is null)\n\tstateOperations.push({\n\t\tpath: statePath, // The path in the state to update (e.g., 'focusedPhaseId' or 'focusedWorkstreamId')\n\t\toperation: declarativeOperations.SET, // Operation type (SET)\n\t\tvalue: focusedId || '' // If focusedId is null, reset it to an empty string\n\t});\n\n\t// Apply the state updates\n\tupdateStateValues(coeffects, stateOperations);\n};\n","import {declarativeOperations} from '@servicenow/ui-core';\nimport isEqual from 'lodash/isEqual';\nimport isEmpty from 'lodash/isEmpty';\nimport {updateStateValues} from './stateOperations';\nimport {WORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED} from '../actions';\n\n/**\n * Generates state operations for updating selected workstream and phase.\n *\n * @param {Object} selectedWorkstream - The selected workstream object.\n * @param {Object} selectedPhase - The selected phase object.\n * @returns {Array} An array of state operations to update both selected workstream and phase.\n */\nfunction generateStateOperationsForSelection(\n\tselectedWorkstream,\n\tselectedPhase\n) {\n\tconst stateOperations = [];\n\n\t// Add workstream state update operation\n\tif (selectedWorkstream) {\n\t\tstateOperations.push({\n\t\t\tpath: 'selectedWorkstreamId',\n\t\t\toperation: declarativeOperations.SET,\n\t\t\tvalue: selectedWorkstream.id\n\t\t});\n\t}\n\n\t// Add phase state update operation\n\tif (selectedPhase) {\n\t\tstateOperations.push({\n\t\t\tpath: 'selectedPhaseId',\n\t\t\toperation: declarativeOperations.SET,\n\t\t\tvalue: selectedPhase.id\n\t\t});\n\t}\n\n\treturn stateOperations;\n}\n\n/**\n * Fetches the initial workstream and phase from the workstreamPhaseCarousel data.\n * This function ensures that the first available workstream and phase are selected by default.\n *\n * @param {Object} data - The workstreamPhaseCarouselData object which contains the available workstreams and phases.\n * @returns {Object} - An object containing the initial `selectedWorkstream` and `selectedPhase`.\n */\nfunction getInitialWorkstreamAndPhaseSelection(data) {\n\tconst selectedWorkstream = data?.workstreams?.[0] || null;\n\tconst selectedPhase = data?.phases?.[0] || null;\n\n\treturn {\n\t\tselectedWorkstream,\n\t\tselectedPhase\n\t};\n}\n\n// Function to assign random images ensuring no duplicates within each `items` array\nfunction assignImagesToCarousel(carouselData, images) {\n\treturn carouselData.map((data) => {\n\t\t// Shuffle the images to ensure randomness\n\t\tconst shuffledImages = [...images].sort(() => Math.random() - 0.5);\n\n\t\t// Assign images to items\n\t\tconst updatedItems = data.items.map((item, index) => {\n\t\t\tconst image = shuffledImages[index % shuffledImages.length]; // Ensure enough images\n\t\t\treturn {...item, image};\n\t\t});\n\n\t\t// Return updated carousel data\n\t\treturn {...data, items: updatedItems};\n\t});\n}\n\n/**\n * Handles the component's navigation card click.\n *\n * @param {Object} coeffects - The coeffects object containing the necessary state, properties, and updateState function.\n */\nexport const handleNavCardClicked = ({action, dispatch}) => {\n\tconst {payload} = action;\n\tdispatch(WORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED, {\n\t\t...payload\n\t});\n};\n\n/**\n * Handles the component's initial bootstrap event.\n * If the workstreamPhaseCarouselData exists, it sets the initial selected workstream and phase in the state.\n *\n * @param {Object} coeffects - The coeffects object containing the necessary state, properties, and updateState function.\n */\nexport const handleComponentBootstrap = (coeffects) => {\n\tconst {\n\t\tproperties: {workstreamPhaseCarouselData, images}\n\t} = coeffects;\n\tif (!isEmpty(workstreamPhaseCarouselData)) {\n\t\tconst {\n\t\t\tselectedWorkstream,\n\t\t\tselectedPhase\n\t\t} = getInitialWorkstreamAndPhaseSelection(workstreamPhaseCarouselData);\n\n\t\tlet stateOperations = [];\n\n\t\tif (selectedWorkstream && selectedPhase) {\n\t\t\tconst {carouselData} = workstreamPhaseCarouselData;\n\n\t\t\t// Update the carouselData with images\n\t\t\tconst carouselDataWithImages = assignImagesToCarousel(\n\t\t\t\tcarouselData,\n\t\t\t\timages\n\t\t\t);\n\n\t\t\t// update the carouselData to state\n\t\t\tstateOperations.push({\n\t\t\t\tpath: 'carouselData',\n\t\t\t\toperation: declarativeOperations.SET,\n\t\t\t\tvalue: carouselDataWithImages\n\t\t\t});\n\t\t\t// merge the state operations and update state\n\t\t\tstateOperations = [\n\t\t\t\t...stateOperations,\n\t\t\t\t...generateStateOperationsForSelection(\n\t\t\t\t\tselectedWorkstream,\n\t\t\t\t\tselectedPhase\n\t\t\t\t)\n\t\t\t];\n\t\t\tupdateStateValues(coeffects, stateOperations);\n\t\t}\n\t}\n};\n\n/**\n * Handles changes in component properties.\n * It listens for updates to the workstreamPhaseCarouselData and, if necessary, updates the selected workstream and phase.\n *\n * @param {Object} coeffects - The coeffects object containing action, properties, state, and updateState functions.\n */\nexport const handleComponentPropertyChanged = (coeffects) => {\n\tconst {action, state} = coeffects;\n\tconst {\n\t\tpayload: {name, value, previousValue, images = []}\n\t} = action;\n\tconst {selectedWorkstreamId, selectedPhaseId} = state;\n\tlet stateOperations = [];\n\n\t// Handle property change related to workstreamPhaseCarouselData\n\tif (\n\t\tname === 'workstreamPhaseCarouselData' &&\n\t\t!isEqual(previousValue, value)\n\t) {\n\t\t// If no workstream or phase is selected, set the initial selection\n\t\tif (isEmpty(selectedWorkstreamId) && isEmpty(selectedPhaseId)) {\n\t\t\tconst {\n\t\t\t\tselectedWorkstream,\n\t\t\t\tselectedPhase\n\t\t\t} = getInitialWorkstreamAndPhaseSelection(value);\n\n\t\t\tconst {carouselData} = value;\n\n\t\t\t// Update the carouselData with images\n\t\t\tconst carouselDataWithImages = assignImagesToCarousel(\n\t\t\t\tcarouselData,\n\t\t\t\timages\n\t\t\t);\n\n\t\t\t// update the carouselData to state\n\t\t\tstateOperations.push({\n\t\t\t\tpath: 'carouselData',\n\t\t\t\toperation: declarativeOperations.SET,\n\t\t\t\tvalue: carouselDataWithImages\n\t\t\t});\n\n\t\t\tif (selectedWorkstream && selectedPhase) {\n\t\t\t\t// merge the state operations and update state\n\t\t\t\tstateOperations = [\n\t\t\t\t\t...stateOperations,\n\t\t\t\t\t...generateStateOperationsForSelection(\n\t\t\t\t\t\tselectedWorkstream,\n\t\t\t\t\t\tselectedPhase\n\t\t\t\t\t)\n\t\t\t\t];\n\t\t\t\tupdateStateValues(coeffects, stateOperations);\n\t\t\t}\n\t\t}\n\t}\n};\n","import {handlePhaseClick, handlePhaseFocusedOrBlurred} from './phaseEffects';\nimport {\n\thandleWorkstreamClick,\n\thandleWorkstreamFocusedOrBlurred\n} from './workstreamEffects';\nimport {\n\thandleComponentBootstrap,\n\thandleComponentPropertyChanged,\n\thandleNavCardClicked\n} from './lifecycleEffects';\n\n// Define the handlers for phases and workstreams using the generic click handler\nconst effectHandlers = {\n\thandleComponentBootstrap,\n\thandleComponentPropertyChanged,\n\thandlePhaseClick,\n\thandleWorkstreamClick,\n\thandlePhaseFocusedOrBlurred,\n\thandleWorkstreamFocusedOrBlurred,\n\thandleNavCardClicked\n};\n\nexport default {\n\teffectHandlers\n};\n","import {handleSelectionClick, handleFocusOrBlurEvent} from './generalEffects';\n\n/**\n * Handles the phase click action by updating the selected phase ID.\n *\n * @param {Object} coeffects - The coeffects object provided by the framework.\n */\nexport const handlePhaseClick = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {id: selectedPhaseId} // Extract the phase ID from the payload\n\t\t}\n\t} = coeffects;\n\n\t// Delegate to the generalized handler for updating the selected phase\n\thandleSelectionClick(coeffects, 'selectedPhaseId', selectedPhaseId);\n};\n\n/**\n * Handles the phase focus or blurr action by updating the focused phase ID.\n * @param {*} coeffects\n */\nexport const handlePhaseFocusedOrBlurred = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {id: focusedPhaseId = null}\n\t\t}\n\t} = coeffects;\n\n\t// Delegate to the generalized handler for updating the focused or blurred phase\n\thandleFocusOrBlurEvent(coeffects, 'focusedPhaseId', focusedPhaseId);\n};\n","import {handleSelectionClick, handleFocusOrBlurEvent} from './generalEffects';\n\n/**\n * Handles the workstream click action by updating the selected workstream ID.\n *\n * @param {Object} coeffects - The coeffects object provided by the framework.\n */\nexport const handleWorkstreamClick = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {id: clickedWorkstreamId} // Extract the workstream ID from the payload\n\t\t}\n\t} = coeffects;\n\n\t// Delegate to the generalized handler for updating the selected workstream\n\thandleSelectionClick(coeffects, 'selectedWorkstreamId', clickedWorkstreamId);\n};\n\n/**\n * Handles the Work stream focus or blurr action by updating the focused Work stream ID.\n * @param {*} coeffects\n */\nexport const handleWorkstreamFocusedOrBlurred = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {id: focusedWorkstreamId = null}\n\t\t}\n\t} = coeffects;\n\n\t// Delegate to the generalized handler for updating the focused or blurred phase\n\thandleFocusOrBlurEvent(coeffects, 'focusedWorkstreamId', focusedWorkstreamId);\n};\n","import {createCustomElement, actionTypes} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport styles from './styles.scss';\nimport {view} from './view';\nimport workstreamPhaseCarouselEffects from './effects';\nimport {\n\tWORKSTREAM_PHASE_CAROUSEL_PHASE_SELECTED,\n\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_SELECTED,\n\tWORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED,\n\tWORKSTREAM_PHASE_CAROUSEL_PHASE_FOCUSED,\n\tWORKSTREAM_PHASE_CAROUSEL_PHASE_BLURRED,\n\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_FOCUSED,\n\tWORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_BLURRED,\n\tSN_CX_CARD_CLICKED\n} from './actions';\n\nconst {COMPONENT_BOOTSTRAPPED, COMPONENT_PROPERTY_CHANGED} = actionTypes;\n\nconst {\n\thandlePhaseClick,\n\thandleWorkstreamClick,\n\thandleComponentPropertyChanged,\n\thandleComponentBootstrap,\n\thandlePhaseFocusedOrBlurred,\n\thandleWorkstreamFocusedOrBlurred,\n\thandleNavCardClicked\n} = workstreamPhaseCarouselEffects.effectHandlers;\n\ncreateCustomElement('sn-cx-workstream-phase-carousel', {\n\trenderer: {type: snabbdom},\n\tview,\n\tstyles,\n\tproperties: {\n\t\tvariant: {\n\t\t\tdefault: 'primary'\n\t\t},\n\t\tworkstreamPhaseCarouselData: {\n\t\t\tdefault: {},\n\t\t\tschema: {type: 'object'}\n\t\t},\n\t\timages: {\n\t\t\tdefault: [],\n\t\t\tschema: {type: 'array'}\n\t\t}\n\t},\n\tinitialState: {\n\t\tselectedWorkstreamId: '',\n\t\tselectedPhaseId: '',\n\t\tfocusedPhaseId: '',\n\t\tfocusedWorkstreamId: '',\n\t\tcarouselData: {}\n\t},\n\tbehaviors: [{behavior: rtlBehavior}],\n\tactionHandlers: {\n\t\t[COMPONENT_BOOTSTRAPPED]: handleComponentBootstrap,\n\t\t[COMPONENT_PROPERTY_CHANGED]: handleComponentPropertyChanged,\n\t\t[WORKSTREAM_PHASE_CAROUSEL_PHASE_SELECTED]: {\n\t\t\teffect: handlePhaseClick,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_CAROUSEL_PHASE_FOCUSED]: {\n\t\t\teffect: handlePhaseFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_CAROUSEL_PHASE_BLURRED]: {\n\t\t\teffect: handlePhaseFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_SELECTED]: {\n\t\t\teffect: handleWorkstreamClick,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_FOCUSED]: {\n\t\t\teffect: handleWorkstreamFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_CAROUSEL_WORKSTREAM_BLURRED]: {\n\t\t\teffect: handleWorkstreamFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[SN_CX_CARD_CLICKED]: {\n\t\t\teffect: handleNavCardClicked,\n\t\t\tstopPropagation: true\n\t\t}\n\t},\n\tdispatches: {\n\t\t/**\n\t\t * Fired when clicking carouse Asset or task card.\n\t\t * @type {{\n\t\t *   card: object,      // Clicked card details\n\t\t * }}\n\t\t */\n\t\t[WORKSTREAM_PHASE_CAROUSEL_CARD_CLICKED]: {}\n\t}\n});\n","import {VARIANT} from '../constants';\nimport WorkstreamPhaseCarousel from './WorkstreamPhaseCarousel';\nimport {shouldRenderCarousel} from './helpers/shouldRenderWorkstreamPhaseCarousel';\n\n/**\n * sn-cx-workstream-phase-carousel Component's View\n *\n * This component determines whether to render the WorkstreamPhaseCarousel based on state and application logic.\n * It connects carousel data, workstreams, phases, and images to the WorkstreamPhaseCarousel component.\n *\n * Props:\n * - state (Object): Represents the current state of the application:\n *     - selectedWorkstreamId (string): ID of the selected workstream.\n *     - selectedPhaseId (string): ID of the selected phase.\n *     - properties (Object): Contains:\n *          - workstreamPhaseCarouselData (Object): Data required for the carousel, including workstreams, phases, and carousel items.\n * \t\t\t- variant (string): can be primary or secondary used to swith layouts\n * - dispatch (Function): Function to dispatch actions for state management.\n *\n * Accessibility:\n * - Ensures proper focus and interaction handling for assistive technologies.\n * - Passes accessible props to the rendered components.\n *\n * Behavior:\n * - If the `shouldRenderCarousel` check passes:\n *     - Renders the WorkstreamPhaseCarousel with the provided state, dispatch, and carousel data.\n * - Otherwise:\n *     - Returns `null` to avoid rendering the component.\n *\n * Returns:\n * - {JSX.Element|null}: The rendered carousel component or null based on the rendering condition.\n */\n\nexport const view = (state, {dispatch}) => {\n\tconst {\n\t\tselectedWorkstreamId,\n\t\tselectedPhaseId,\n\t\tcarouselData,\n\t\tproperties\n\t} = state;\n\n\tconst {workstreamPhaseCarouselData, variant} = properties;\n\t// Use the abstracted condition check to determine whether to render the carousel\n\tconst canRenderCarousel = shouldRenderCarousel(\n\t\tselectedWorkstreamId,\n\t\tselectedPhaseId,\n\t\tworkstreamPhaseCarouselData\n\t);\n\n\treturn canRenderCarousel ? (\n\t\t<section\n\t\t\tclassName={\n\t\t\t\tvariant !== VARIANT.SECONDARY ? 'sn-cx-workstream-phase-carousel' : ``\n\t\t\t}>\n\t\t\t{/* \n                WorkstreamPhaseCarousel:\n                - Takes the workstreams, phases, carousel data, variant as props.\n                - This data is passed down to manage and display the carousel content.\n            */}\n\t\t\t<WorkstreamPhaseCarousel\n\t\t\t\tworkstreams={workstreamPhaseCarouselData.workstreams}\n\t\t\t\tphases={workstreamPhaseCarouselData.phases}\n\t\t\t\tcarouselData={carouselData}\n\t\t\t\tstate={state}\n\t\t\t\tdispatch={dispatch}\n\t\t\t\tvariant={variant}\n\t\t\t/>\n\t\t<\/section>\n\t) : null;\n};\n","import isEmpty from 'lodash/isEmpty';\n\n/**\n * Determines whether the WorkstreamPhaseCarousel should be rendered.\n *\n * This function abstracts the conditional logic for evaluating if the necessary state data\n * is present before rendering the WorkstreamPhaseCarousel component.\n *\n * @param {string} selectedWorkstreamId - The ID of the selected workstream.\n * @param {string} selectedPhaseId - The ID of the selected phase.\n * @param {Object} workstreamPhaseCarouselData - The data for workstreams, phases, and carousel items.\n * @returns {boolean} - Returns true if the necessary data is present, false otherwise.\n */\nexport const shouldRenderCarousel = (\n\tselectedWorkstreamId,\n\tselectedPhaseId,\n\tworkstreamPhaseCarouselData\n) => {\n\treturn (\n\t\t!isEmpty(selectedWorkstreamId) &&\n\t\t!isEmpty(selectedPhaseId) &&\n\t\t!isEmpty(workstreamPhaseCarouselData)\n\t);\n};\n","import isEmpty from 'lodash/isEmpty'; // Importing lodash's isEmpty function to simplify empty checks\n\n/**\n * Determines whether the grid map should be rendered based on the presence of data.\n *\n * @param {Object|Array} workstreamPhaseGridmapData - The data to be checked for rendering the grid map.\n *     - If it's an object, the function checks if it has any keys.\n *     - If it's an array, the function checks if it contains any elements.\n * @returns {boolean} - Returns `true` if the data is not empty (i.e., contains elements or keys), and `false` if it is empty.\n */\nexport const shouldRenderGridmap = (workstreamPhaseGridmapData) =>\n\t!isEmpty(workstreamPhaseGridmapData); // Returns true if data is not empty, false otherwise\n","import {t} from 'sn-translate';\n\n/**\n * Translated Constants for Workstream Phase Gridmap\n *\n * These constants represent translatable strings used throughout the workstream phase gridmap.\n * The `t` function from the `sn-translate` library ensures that these strings can be localized\n * to support multiple languages.\n */\n\n// Title for the workstream section\nexport const WORKSTREAM_TITLE = t({message: 'x_snc_bpl_user_exp.workstreams'});\n\n// Title for the phases section\nexport const PHASE_TITLE = t({message: 'x_snc_bpl_user_exp.phases'});\n\n// Text for the \"See All\" action button\nexport const SEE_ALL = t({message: 'x_snc_bpl_user_exp.see.all'});\n\n// collapse or expand task list\nexport const COLLAPSE_TASK_LIST = t({\n\tmessage: 'x_snc_bpl_user_exp.collapse.task.list'\n});\nexport const EXPAND_TASK_LIST = t({\n\tmessage: 'x_snc_bpl_user_exp.expand.task.list'\n});\n\n// phase navigation\nexport const PHASE_NAVIGATION = t({\n\tmessage: 'x_snc_bpl_user_exp.phase.navigation'\n});\n\n// task indicator bars\nexport const TASK_INDICATORS = t({\n\tmessage: 'x_snc_bpl_user_exp.task.indicators'\n});\n\nexport const NO_PROCESSES_AVAILABLE = t({\n\tmessage: 'x_snc_bpl_user_exp.no.processes.available'\n});\n","import {declarativeOperations} from '@servicenow/ui-core';\nimport flatMap from 'lodash/flatMap';\nimport isEmpty from 'lodash/isEmpty';\nimport isEqual from 'lodash/isEqual';\nimport find from 'lodash/find';\n\n/**\n * Creates a unified interaction handler for click and keyboard events.\n *\n * This utility function generates handlers for managing interactions on elements\n * via mouse clicks, keyboard actions (e.g., `Space` or `Enter`), and any additional\n * events specified. It ensures consistent handling of user input across different\n * interaction methods.\n *\n * @param {Function} fn - The callback function to execute for the interaction.\n * @param {boolean} [ignoreSpace=false] - If true, prevents the handler from triggering on the `Space` key.\n * @param {Array<string>} [moreEvents=[]] - Additional event names to bind the interaction handler to.\n *\n * @returns {Object} A set of event handlers for interaction, including:\n *     - `on-click`: Handler for mouse click events.\n *     - `on-keydown`: Handler for `Space` and `Enter` keyboard events.\n *     - Additional handlers for events specified in `moreEvents`.\n */\nexport function createInteractionHandler(\n\tfn,\n\tignoreSpace = false,\n\tmoreEvents = []\n) {\n\tconst interactionHandlers = {\n\t\t'on-click': fn,\n\t\t'on-keydown': (e) => {\n\t\t\tif (e.key === ' ') {\n\t\t\t\te.preventDefault();\n\t\t\t\tif (!ignoreSpace) {\n\t\t\t\t\tfn(e);\n\t\t\t\t}\n\t\t\t} else if (e.key === 'Enter') {\n\t\t\t\te.preventDefault();\n\t\t\t\tfn(e);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst moreHandlers = moreEvents.reduce((target, event) => {\n\t\ttarget[event] = fn;\n\t\treturn target;\n\t}, {});\n\n\treturn {...interactionHandlers, ...moreHandlers};\n}\n\n/**\n * Creates a unified hover handler for mouse hover-in and hover-out events.\n *\n * This utility function generates handlers for managing hover interactions on elements\n * via mouse enter (`mouseenter`) and mouse leave (`mouseleave`) events. It also allows\n * additional events to be specified for extended hover-related behavior.\n *\n * @param {Function} fnIn - The callback function to execute when the hover-in (`mouseenter`) event occurs.\n * @param {Function} fnOut - The callback function to execute when the hover-out (`mouseleave`) event occurs.\n * @param {Array<string>} [moreEvents=[]] - Additional event names to bind the hover handlers to.\n *\n * @returns {Object} A set of event handlers for hover interactions, including:\n *     - `on-mouseenter`: Handler for the hover-in (`mouseenter`) event.\n *     - `on-mouseleave`: Handler for the hover-out (`mouseleave`) event.\n *     - Additional handlers for events specified in `moreEvents`.\n *\n * @example\n * const handleHoverIn = (e) => console.log('Hovered In:', e.target);\n * const handleHoverOut = (e) => console.log('Hovered Out:', e.target);\n *\n * const hoverHandlers = createHoverHandler(handleHoverIn, handleHoverOut);\n *\n * <div {...hoverHandlers}>Hover over me!<\/div>\n */\nexport function createHoverHandler(fnIn, fnOut, moreEvents = []) {\n\tconst hoverHandlers = {\n\t\t'on-mouseenter': (e) => {\n\t\t\tfnIn(e); // Call the hover-in function\n\t\t},\n\t\t'on-mouseleave': (e) => {\n\t\t\tfnOut(e); // Call the hover-out function\n\t\t}\n\t};\n\n\tconst moreHandlers = moreEvents.reduce((target, event) => {\n\t\ttarget[event] = (e) => {\n\t\t\tif (event === 'mouseenter') {\n\t\t\t\tfnIn(e);\n\t\t\t} else if (event === 'mouseleave') {\n\t\t\t\tfnOut(e);\n\t\t\t}\n\t\t};\n\t\treturn target;\n\t}, {});\n\n\treturn {...hoverHandlers, ...moreHandlers};\n}\n\n/**\n * Converts a hex color code to its RGB representation.\n *\n * @param {string} hex - The hex color code (e.g., '#FFFFFF' or 'FFF').\n * @returns {Object} An object containing the r, g, and b values.\n */\nexport function hexToRgb(hex) {\n\t// Remove the leading '#' if present\n\thex = hex.replace(/^#/, '');\n\n\t// Expand shorthand form (e.g., '03F') to full form (e.g., '0033FF')\n\tif (hex.length === 3) {\n\t\thex = hex\n\t\t\t.split('')\n\t\t\t.map(function(char) {\n\t\t\t\treturn char + char;\n\t\t\t})\n\t\t\t.join('');\n\t}\n\n\t// Parse the hexadecimal string to integer\n\tconst bigint = parseInt(hex, 16);\n\n\t// Extract the red, green, and blue components\n\tconst r = (bigint >> 16) & 255;\n\tconst g = (bigint >> 8) & 255;\n\tconst b = bigint & 255;\n\n\treturn {r, g, b};\n}\n\n/**\n * Helper function to update state in bulk with an array of operations.\n *\n * @param {Function} updateState - The updateState function.\n * @param {Array} operations - Array of operations with path and value properties.\n */\nexport const updateStateWithOperations = (updateState, operations) => {\n\tconst formattedOperations = operations.map((op) => ({\n\t\tpath: op.path,\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: op.value\n\t}));\n\tupdateState(formattedOperations);\n};\n\n/**\n * Toggles the collapse state of a specific process in the processCollapsedStateContext.\n *\n * @param {Function} updateState - State update function\n * @param {Array} processCollapsedStateContext - The current collapsed state context for processes.\n * @param {Object} process - The process object containing the ID to toggle.\n * @returns {Array} newProcessesCollapsedStateContext - The updated collapsed state context with the toggled state.\n */\nexport const toggleProcessCollapsedState = (\n\tupdateState,\n\tprocessCollapsedStateContext,\n\tprocess\n) => {\n\tconst newProcessesCollapsedStateContext = processCollapsedStateContext.map(\n\t\t(item) => {\n\t\t\tif (item.id === process.id) {\n\t\t\t\t// Toggle isCollapsed for the matched process\n\t\t\t\treturn {...item, isCollapsed: !item.isCollapsed};\n\t\t\t}\n\t\t\t// Return the item as-is if it doesn't match the process ID\n\t\t\treturn item;\n\t\t}\n\t);\n\n\tupdateState({\n\t\tpath: 'processesCollapsedStateContext',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: newProcessesCollapsedStateContext\n\t});\n};\n\n/**\n * Toggles the popover state of a specific process in the proces list.\n *\n * @param {Function} updateState - State update function\n * @param {Object} processPopoverStateContext - The current process popover state context.\n * @param {String} processId - The process containing the ID to toggle.\n * @returns {Array} newProcessesCollapsedStateContext - The updated collapsed state context with the toggled state.\n */\nexport const toggleProcessPopoverState = (\n\tupdateState,\n\tprocessPopoverStateContext,\n\tprocessId\n) => {\n\tlet newProcessPopoverStateContext = {};\n\tif (\n\t\t!isEmpty(processPopoverStateContext) &&\n\t\t!isEqual(processPopoverStateContext.id, processId)\n\t) {\n\t\tnewProcessPopoverStateContext = {...{id: processId}};\n\t} else {\n\t\tnewProcessPopoverStateContext = {\n\t\t\t...processPopoverStateContext,\n\t\t\t...{id: processId}\n\t\t};\n\t}\n\n\tupdateState({\n\t\tpath: 'processPopoverStateContext',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: {...newProcessPopoverStateContext}\n\t});\n};\n\n/**\n * Extracts numeric values from a dimension string (e.g., \"200px\").\n *\n * @param {string} dimension - The dimension string to extract the numeric value from.\n * @returns {number} The numeric value of the dimension.\n */\nconst extractNumericValue = (dimension) =>\n\tparseInt(dimension.match(/\\d+/)?.[0] || 0, 10);\n\n/**\n * Adjusts the dimensions of the popover to account for additional container paddings.\n *\n * @param {Object} dimensions - The dimensions of the popover.\n * @param {string} dimensions.height - The height of the popover (e.g., \"200px\").\n * @param {string} dimensions.width - The width of the popover (e.g., \"300px\").\n * @param {number} padding - The amount of padding to add (default is 18px).\n * @returns {Object} The adjusted dimensions with padding accounted for.\n */\nconst adjustPopoverDim = ({height, width}, padding = 18) => ({\n\theight: `${extractNumericValue(height) + padding}px`,\n\twidth: `${extractNumericValue(width) + padding}px`\n});\n\n/**\n * Calculates the dimensions of a given DOM element.\n *\n * @param {HTMLElement} element - The DOM element to measure.\n * @returns {Object|null} The dimensions of the element, or null if the element is invalid.\n */\nconst calculateDimensions = (element) => {\n\tif (!element) return null;\n\n\tconst styles = window.getComputedStyle(element);\n\treturn {\n\t\theight: styles.height,\n\t\twidth: styles.width\n\t};\n};\n\n/**\n * Updates the process popover state context with computed dimensions.\n *\n * @param {Object} coeffects - The coeffects object containing dependencies and state.\n */\nexport const updateProcessPopoverStateContext = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {processId, elm: taskPopoverElm}\n\t\t},\n\t\tstate: {processPopoverStateContext},\n\t\tupdateState\n\t} = coeffects;\n\n\tconst processItemElm = taskPopoverElm?.parentElement;\n\n\t// Calculate dimensions\n\tconst parentDimension = calculateDimensions(processItemElm);\n\tconst popoverDivDimensions = calculateDimensions(taskPopoverElm?.firstChild);\n\n\t// Construct the updated state object\n\tconst updatedState = {\n\t\t...(processPopoverStateContext || {}),\n\t\tid: processId,\n\t\t...(popoverDivDimensions\n\t\t\t? {taskDim: adjustPopoverDim(popoverDivDimensions)}\n\t\t\t: {}),\n\t\t...(parentDimension ? {processDim: parentDimension} : {})\n\t};\n\n\t// Update the state\n\tupdateState({\n\t\tpath: 'processPopoverStateContext',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: updatedState\n\t});\n};\n\n/**\n * Clears the process popover state context when destroyed from DOM\n *\n * @param {Function} updateState - State update function\n */\nexport const clearProcessPopoverState = (updateState) => {\n\t// clear the processPopoverStateContext\n\tupdateState({\n\t\tpath: 'processPopoverStateContext',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: {}\n\t});\n};\n\n/**\n * Updates the focus context for a task by setting the focused task ID in the state.\n *\n * - action (Object): The action object containing the payload with task details.\n *   - payload.id (string): The ID of the task to set as focused. If undefined or null, the focus will be cleared.\n *\n * - updateState (Function): Callback function to update the application state.\n *   - path (string): The path in the state object to update (e.g., 'focusedTaskId').\n *   - operation (string): The operation to perform (e.g., declarativeOperations.SET).\n *   - value (string): The new value for the specified state path.\n *\n * This function ensures that the task focus is correctly managed by either setting the task ID\n * or clearing the focus if no ID is provided.\n *\n * @example\n * updateTaskFocusContext({\n *     action: {\n *         payload: { id: '9b8ce4dd47f771d0db63fb25126d431d' }\n *     },\n *     updateState: ({ path, operation, value }) => {\n *         console.log(`Updated state: ${path}, ${operation}, ${value}`);\n *     }\n * });\n */\nexport const updateTaskFocusContext = ({action, updateState}) => {\n\tconst {\n\t\tpayload: {id}\n\t} = action;\n\n\tupdateState({\n\t\tpath: 'focusedTaskId',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: id || ''\n\t});\n};\n\n/**\n * Updates the focus context for a process by setting the focused process ID in the state.\n *\n * - action (Object): The action object containing the payload with process details.\n *   - payload.id (string): The ID of the process to set as focused. If undefined or null, the focus will be cleared.\n *\n * - updateState (Function): Callback function to update the application state.\n *   - path (string): The path in the state object to update (e.g., 'focusedProcessId').\n *   - operation (string): The operation to perform (e.g., declarativeOperations.SET).\n *   - value (string): The new value for the specified state path.\n *\n * This function ensures that the process focus is correctly managed by either setting the process ID\n * or clearing the focus if no ID is provided.\n *\n * @example\n * updateProcessFocusContext({\n *     action: {\n *         payload: { id: '538ce4dd47f771d0db63fb25126d431c' }\n *     },\n *     updateState: ({ path, operation, value }) => {\n *         console.log(`Updated state: ${path}, ${operation}, ${value}`);\n *     }\n * });\n */\nexport const updateProcessFocusContext = ({action, updateState}) => {\n\tconst {\n\t\tpayload: {id, parentWidth, parentHeight}\n\t} = action;\n\n\tupdateState({\n\t\tpath: 'focusedProcess',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: id ? {id, parentWidth, parentHeight} : null\n\t});\n};\n\nexport const updateWorkstreamFocusContext = ({action, updateState}) => {\n\tconst {\n\t\tpayload: {id}\n\t} = action;\n\n\tupdateState({\n\t\tpath: 'focusedWorkstreamId',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: id || ''\n\t});\n};\n\nexport const updatePhaseHoverContext = ({action, updateState}) => {\n\tconst {\n\t\tpayload: {id}\n\t} = action;\n\n\tupdateState({\n\t\tpath: 'hoverPhaseId',\n\t\toperation: declarativeOperations.SET,\n\t\tvalue: id || ''\n\t});\n};\n\n/**\n * Generates the collapsed state context for processes and setting isCollapsed to true for each process.\n *\n * @param {Array} gridmapData - The gridmap data containing phases and processes.\n * @param {string} appliedPhaseId - The ID of the phase to match (when isWorkstreamExpandedMode is false or within a specific workstream).\n * @param {boolean} isWorkstreamExpandedMode - Flag to determine if workstream-expanded mode is enabled.\n * @param {string} appliedWorkstreamId - The ID of the workstream to match (when isWorkstreamExpandedMode is true).\n * @returns {Array} processesCollapsedStateContext - An array of objects with process IDs and isCollapsed set to true.\n */\nexport const getProcessesCollapsedStateContext = (\n\tgridmapData = [],\n\tappliedPhaseId = '',\n\tisWorkstreamExpandedMode = false,\n\tappliedWorkstreamId = ''\n) => {\n\tif (!Array.isArray(gridmapData)) {\n\t\treturn [];\n\t}\n\n\tif (isWorkstreamExpandedMode) {\n\t\tconst matchingWorkstream = gridmapData.find(\n\t\t\t(workstream) => workstream.id === appliedWorkstreamId\n\t\t);\n\t\tif (!matchingWorkstream) return [];\n\n\t\treturn flatMap(matchingWorkstream.phases || [], (phase) =>\n\t\t\tphase.id === appliedPhaseId ? phase.processes || [] : []\n\t\t).map((process) => ({id: process.id, isCollapsed: true}));\n\t} else {\n\t\treturn flatMap(gridmapData, 'phases')\n\t\t\t.filter((phase) => phase.id === appliedPhaseId)\n\t\t\t.flatMap((phase) => phase.processes || [])\n\t\t\t.map((process) => ({id: process.id, isCollapsed: true}));\n\t}\n};\n\n/**\n * createFocusHandler\n *\n * Generates handlers for focus and blur interactions, dispatching appropriate events\n * for accessibility or state management.\n *\n * @param {Function} onFocus - The function to call when the element gains focus.\n * @param {Function} onBlur - The function to call when the element loses focus.\n * @param {Array<string>} moreEvents - Additional events to handle focus-related interactions (e.g., custom events like 'on-focus-in').\n *\n * @returns {Object} - Object containing `on-focus`, `on-blur`, and optionally other custom handlers.\n */\nexport function createFocusHandler(onFocus, onBlur, moreEvents = []) {\n\t// Define default focus-related event handlers\n\tconst focusHandlers = {\n\t\t// Handler for 'on-focus' event\n\t\t'on-focus': (e) => {\n\t\t\te.stopPropagation(); // Prevent focus event from propagating up the DOM tree\n\t\t\tif (onFocus) onFocus(e); // Call the provided onFocus handler\n\t\t},\n\n\t\t// Handler for 'on-blur' event\n\t\t'on-blur': (e) => {\n\t\t\te.stopPropagation(); // Prevent blur event from propagating up the DOM tree\n\t\t\tif (onBlur) onBlur(e); // Call the provided onBlur handler\n\t\t}\n\t};\n\n\t// Process additional events passed in the 'moreEvents' array and attach the handlers\n\tconst moreHandlers = moreEvents.reduce((target, event) => {\n\t\ttarget[event] = (e) => {\n\t\t\te.stopPropagation(); // Prevent custom events from propagating\n\t\t\tif (event === 'on-focus-in' && onFocus) onFocus(e); // Handle custom 'on-focus-in'\n\t\t\tif (event === 'on-focus-out' && onBlur) onBlur(e); // Handle custom 'on-focus-out'\n\t\t};\n\t\treturn target;\n\t}, {});\n\n\t// Merge default focus handlers with additional handlers and return the result\n\treturn {...focusHandlers, ...moreHandlers};\n}\n\n/**\n * isRolePresentInTask\n *\n * Checks if the provided role is present in the current task.\n * The role may be defined under 1 or more of the following, Responsible or Accountable.\n *\n * @param {Object} task - The current task object destructed into the above 4 sub-categories.\n * @param {String} appliedRole - The current role that needs to be evaluated.\n *\n * @returns {Boolean} - Whether the role is present in the task or not.\n */\nexport const isRolePresentInTask = (\n\t{responsible = [], accountable = []},\n\tappliedRole = ''\n) => {\n\tif (!appliedRole) {\n\t\treturn true;\n\t}\n\treturn (\n\t\tresponsible.map((x) => x.id).includes(appliedRole) ||\n\t\taccountable.map((x) => x.id).includes(appliedRole)\n\t);\n};\n\n/**\n * isRolePresentInAnyTask\n *\n * Checks if the provided role is present in the any one of the list of tasks.\n * The role may be defined under 1 or more of the following, Responsible or Accountable.\n *\n * @param {Object} tasks - The list of tasks.\n * @param {String} appliedRole - The current role that needs to be evaluated.\n *\n * @returns {Boolean} - Whether the role is present in any task or not.\n */\nexport const isRolePresentInAnyTask = (tasks, appliedRole = '') => {\n\treturn !isEmpty(\n\t\tfind(tasks, (task) => isRolePresentInTask(task, appliedRole))\n\t);\n};\n\nexport const getClassNameForProcessTaskHeader = (tasks, appliedRole) =>\n\t`process-name${!isRolePresentInAnyTask(tasks, appliedRole) ? ' greyed' : ''}`;\n\nexport const getClassNameForTaskBarIndicator = (task, appliedRole) =>\n\t`task-bar-indicator${\n\t\t!isRolePresentInTask(task, appliedRole) ? ' greyed' : ''\n\t}`;\n\nexport const getClassNameForTaskPopoverTaskItem = (task, appliedRole) =>\n\t`task-popover__task-item${\n\t\t!isRolePresentInTask(task, appliedRole) ? ' greyed' : ''\n\t}`;\n\nexport const getClassNameForTaskItem = (task, appliedRole) =>\n\t`task-item${!isRolePresentInTask(task, appliedRole) ? ' greyed' : ''}`;\n\nexport const getClassNameForCollapsibleProcessTaskHeaderContent = (\n\ttasks,\n\tappliedRole\n) =>\n\t`collapsible-process-task__header-content${\n\t\t!isRolePresentInAnyTask(tasks, appliedRole) ? ' greyed' : ''\n\t}`;\n\nexport const getClassNameForCollapsibleProcessTaskIndicator = (\n\ttask,\n\tappliedRole\n) =>\n\t`collapsible-process-task__indicator${\n\t\t!isRolePresentInTask(task, appliedRole) ? ' greyed' : ''\n\t}`;\n\nexport const getClassNameForCollapsibleProcessTaskItem = (task, appliedRole) =>\n\t`collapsible-process-task__item${\n\t\t!isRolePresentInTask(task, appliedRole) ? ' greyed' : ''\n\t}`;\n","import {WORKSTREAM_TITLE, SEE_ALL} from '../constants';\nimport {createInteractionHandler} from '../utils';\nimport {t} from 'sn-translate';\n\n/**\n * WorkstreamHeader Component\n *\n * Renders the header for the workstream section, including the title and an optional \"See All\" button.\n * The \"See All\" button is accessible and interactive, allowing users to expand the workstream view.\n *\n * Props:\n * - isWorkstreamExpandedMode (boolean): Indicates whether the workstream section is in expanded mode.\n * - handleWorkstreamSeeAllClick (Function): Callback function triggered when the \"See All\" button is clicked.\n *\n * Accessibility:\n * - `aria-label`: Provides a descriptive label for the \"See All\" button, detailing its purpose.\n * - `type=\"button\"`: Ensures the \"See All\" element is semantically recognized as a button.\n * - Keyboard Accessibility: Supports keyboard navigation and activation using `createInteractionHandler`.\n *\n * Behavior:\n * - Always renders the workstream title using the `WORKSTREAM_TITLE` constant.\n * - Conditionally renders the \"See All\" button only if `isWorkstreamExpandedMode` is true.\n *\n * Returns:\n * - {JSX.Element}: A header element containing the workstream title and an optional \"See All\" button.\n */\nconst WorkstreamHeader = ({\n\tisWorkstreamExpandedMode,\n\thandleWorkstreamSeeAllClick\n}) => (\n\t<header className=\"workstream-header\">\n\t\t{/* Workstream Title */}\n\t\t<h3 className=\"workstream-title\" id=\"workstream-title\">\n\t\t\t{WORKSTREAM_TITLE}\n\t\t<\/h3>\n\n\t\t{/* Accessible \"See All\" Button */}\n\t\t{isWorkstreamExpandedMode && (\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclassName=\"workstream-see-all\"\n\t\t\t\taria-label={t(\n\t\t\t\t\t{message: 'x_snc_bpl_user_exp.see.all.phase.workstream'},\n\t\t\t\t\t[WORKSTREAM_TITLE]\n\t\t\t\t)}\n\t\t\t\taria-labelledby=\"workstream-title\"\n\t\t\t\t{...createInteractionHandler(handleWorkstreamSeeAllClick())}>\n\t\t\t\t{SEE_ALL}\n\t\t\t<\/button>\n\t\t)}\n\t<\/header>\n);\n\nexport default WorkstreamHeader;\n","import {PHASE_TITLE, SEE_ALL} from '../constants';\nimport {createInteractionHandler} from '../utils';\nimport {t} from 'sn-translate';\n\n/**\n * PhaseTitle Component\n *\n * Renders the title of the phases section and an optional \"See All\" button when the phase\n * is in expanded mode. The \"See All\" button is accessible and supports keyboard and screen reader usage.\n *\n * Props:\n * - id (string): A unique identifier for linking the `PhaseHeader` to the title.\n * - isPhaseExpandedMode (boolean): Indicates whether the phase section is in expanded mode.\n * - handlePhaseSeeAllClick (Function): Callback function triggered when the \"See All\" button is clicked.\n *\n * Accessibility:\n * - `id`: Links the `PhaseTitle` to the `PhaseHeader` for contextual labeling.\n * - `aria-label`: Provides an accessible label for the \"See All\" button to describe its purpose.\n * - `type=\"button\"`: Ensures the \"See All\" element is properly recognized as a button.\n * - Uses `createInteractionHandler` for consistent handling of click and keyboard events.\n *\n * Behavior:\n * - Always renders the main title using the `PHASE_TITLE` constant.\n * - Conditionally renders the \"See All\" button when `isPhaseExpandedMode` is true.\n *\n * Returns:\n * - {JSX.Element}: A div containing the phase title and an optional \"See All\" button.\n */\nconst PhaseTitle = ({id, isPhaseExpandedMode, handlePhaseSeeAllClick}) => {\n\treturn (\n\t\t<header className=\"phase-title\">\n\t\t\t{/* Main phase title */}\n\t\t\t<h3 id={id} className=\"phase-title__text\">\n\t\t\t\t{PHASE_TITLE}\n\t\t\t<\/h3>\n\n\t\t\t{/* Accessible button to handle the 'See All' functionality */}\n\t\t\t{isPhaseExpandedMode && (\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclassName=\"phase-see-all\"\n\t\t\t\t\taria-label={t(\n\t\t\t\t\t\t{message: 'x_snc_bpl_user_exp.see.all.phase.workstream'},\n\t\t\t\t\t\t[PHASE_TITLE]\n\t\t\t\t\t)}\n\t\t\t\t\t{...createInteractionHandler(handlePhaseSeeAllClick())}>\n\t\t\t\t\t{SEE_ALL}\n\t\t\t\t<\/button>\n\t\t\t)}\n\t\t<\/header>\n\t);\n};\n\nexport default PhaseTitle;\n","/**\n * Generates a sanitized ID string from a given phase name.\n *\n * This function takes a phase name as input and transforms it into a safe, lowercase ID.\n * It replaces spaces with hyphens and removes any non-alphanumeric characters,\n * ensuring compatibility for use as an HTML element ID or CSS class name.\n *\n * @param {string} name - The name of the phase to be converted into an ID.\n * @returns {string} The sanitized ID string, formatted as lowercase and hyphen-separated.\n */\nconst generateIdFromName = (name) => {\n\treturn name\n\t\t.toLowerCase() // Convert the string to lowercase\n\t\t.replace(/\\s+/g, '-') // Replace all spaces with hyphens\n\t\t.replace(/[^a-z0-9-]/g, ''); // Remove all non-alphanumeric and non-hyphen characters\n};\n\nexport default generateIdFromName;\n","import '@servicenow/now-icon';\nimport {toSentenceCase} from '../../../utils';\nimport generateIdFromName from './helpers/generateIdFromName';\n\n/**\n * PhaseName Component\n *\n * A presentational component that renders the name of a phase.\n * This component is non-interactive and is designed to display the phase name\n * as a heading, styled according to the provided class names.\n *\n * Props:\n * - name (string): The name of the phase to display. Required.\n *\n * Example Usage:\n * <PhaseName name=\"Initiate\" />\n *\n * Returns:\n * - JSX.Element: A div containing the phase name as an h3 heading.\n */\nconst PhaseName = ({name}) => {\n\tconst safeId = generateIdFromName(name);\n\n\treturn (\n\t\t<div\n\t\t\tclassName=\"phase-name\"\n\t\t\tid={`phase-name-${safeId}`} // Unique ID for reference or styling\n\t\t>\n\t\t\t<h3 className=\"phase-name__heading\">\n\t\t\t\t<h3 className=\"phase-name__text\">{toSentenceCase(name)}<\/h3>\n\t\t\t<\/h3>\n\t\t<\/div>\n\t);\n};\n\nexport default PhaseName;\n","/**\n * Action Constants for Workstream Phase Gridmap\n *\n * These constants represent the various actions that can be dispatched within\n * the workstream phase gridmap feature. They are used to define specific\n * user interactions or state changes in the application.\n */\n\n// Phase-related Actions\nexport const WORKSTREAM_PHASE_GRIDMAP_PHASE_EXPANDED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PHASE_EXPANDED'; // Action for expanding a phase\nexport const WORKSTREAM_PHASE_GRIDMAP_PHASE_NAVIGATION_CLICKED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PHASE_NAVIGATION_CLICKED'; // Action for navigating between phases\nexport const WORKSTREAM_PHASE_GRIDMAP_PHASE_SEE_ALL_CLICKED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PHASE_SEE_ALL_CLICKED'; // Action for viewing all phases\nexport const WORKSTREAM_PHASE_GRIDMAP_PHASE_SELECTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PHASE_SELECTED'; // Action for selecting a specific phase\nexport const WORKSTREAM_PHASE_GRIDMAP_CLEAR_PHASE_FILTER =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#CLEAR_PHASE_FILTER'; // Action for clearing the phase filter\nexport const WORKSTREAM_PHASE_GRIDMAP_CLEAR_ROLE_FILTER =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#CLEAR_ROLE_FILTER'; // Action for clearing the role filter\nexport const WORKSTREAM_PHASE_GRIDMAP_PHASE_MOUSEHOVER =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PHASE_MOUSEHOVER'; // Action for the phase mouse hover\n\n// Workstream-related Actions\nexport const WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SEE_ALL_CLICKED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#WORKSTREAM_SEE_ALL_CLICKED'; // Action for viewing all workstreams\nexport const WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_EXPANDED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#WORKSTREAM_EXPANDED'; // Action for expanding a workstream\nexport const WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SELECTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#WORKSTREAM_SELECTED'; // Action for selecting a specific workstream\nexport const WORKSTREAM_PHASE_GRIDMAP_CLEAR_WORKSTREAM_FILTER =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#CLEAR_WORKSTREAM_FILTER'; // Action for clearing the workstream filter\n\n// Process-related Actions\nexport const WORKSTREAM_PHASE_GRIDMAP_PROCESS_COLLAPSE_EXPAND_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PROCESS_COLLAPSE_EXPAND_REQUESTED'; // Action for toggling the collapse/expand state of a process\n\n// Task-related Actions\nexport const WORKSTREAM_PHASE_GRIDMAP_TASK_CLICKED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#TASK_CLICKED'; // Action for clicking on a task\n\n// Popover-related Actions\nexport const WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_LIST_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PROCESS_TASK_POPOVER_LIST_REQUESTED'; // Action for displaying the task list in a process popover\nexport const WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_REF_UPDATED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PROCESS_TASK_POPOVER_REF_UPDATED'; // Action for updating the reference for the popover element\nexport const WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED'; // Action for clearing the process popover context\n\n// On focus related Actions\nexport const WORKSTREAM_PHASE_GRIDMAP_TASK_FOCUS_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#TASK_FOCUS_REQUESTED';\nexport const WORKSTREAM_PHASE_GRIDMAP_TASK_BLUR_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#TASK_BLUR_REQUESTED';\nexport const WORKSTREAM_PHASE_GRIDMAP_PROCESS_FOCUS_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PROCESS_FOCUS_REQUESTED';\nexport const WORKSTREAM_PHASE_GRIDMAP_PROCESS_BLUR_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#PROCESS_BLUR_REQUESTED';\nexport const WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_FOCUS_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#WORKSTREAM_FOCUS_REQUESTED';\nexport const WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_BLUR_REQUESTED =\n\t'SN_CX_WORKSTREAM_PHASE_GRIDMAP#WORKSTREAM_FOCUS_REQUESTED';\n","import '@servicenow/now-icon';\nimport {createInteractionHandler} from '../utils';\nimport {WORKSTREAM_PHASE_GRIDMAP_PHASE_NAVIGATION_CLICKED} from '../actions';\nimport generateIdFromName from './helpers/generateIdFromName';\nimport {PHASE_NAVIGATION} from '../constants';\nimport {t} from 'sn-translate';\n\n/**\n * PhaseNavigation Component\n *\n * Provides navigation controls for moving between phases. Includes buttons for the previous and next phases\n * and ensures accessibility for screen readers and keyboard users.\n *\n * Props:\n * - previousPhase (Object, optional): Data for the previous phase.\n *     - name (string): Name of the previous phase.\n * - nextPhase (Object, optional): Data for the next phase.\n *     - name (string): Name of the next phase.\n * - dispatch (Function): Function to dispatch actions for phase navigation.\n *\n * Accessibility:\n * - `aria-label`: Describes the purpose of each button for assistive technologies.\n * - `aria-controls`: Links buttons to the corresponding phase sections for context.\n * - Fully keyboard accessible using `<button>` elements with proper focus handling.\n *\n * Behavior:\n * - Dispatches actions for navigation to the previous or next phase.\n * - Dynamically generates unique IDs for accessibility attributes.\n *\n * Returns:\n * - {JSX.Element}: Navigation controls for the previous and next phases.\n */\n\nconst PhaseNavigation = ({previousPhase, nextPhase, dispatch}) => {\n\tconst handlePhaseNavigation = (phase) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_PHASE_NAVIGATION_CLICKED,\n\t\t\t{phase},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\treturn (\n\t\t<nav className=\"phase-navigation\" aria-label={PHASE_NAVIGATION}>\n\t\t\t{previousPhase && (\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclassName=\"phase-navigation__button phase-navigation__button--previous\"\n\t\t\t\t\taria-label={t(\n\t\t\t\t\t\t{message: 'x_snc_bpl_user_exp.navigate.to.previous.phase'},\n\t\t\t\t\t\t[previousPhase.name]\n\t\t\t\t\t)}\n\t\t\t\t\taria-controls={`phase-section-${generateIdFromName(\n\t\t\t\t\t\tpreviousPhase.name\n\t\t\t\t\t)}`}\n\t\t\t\t\t{...createInteractionHandler(handlePhaseNavigation(previousPhase))}>\n\t\t\t\t\t<span\n\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\tclassName=\"phase-navigation__icon phase-navigation__icon--left\">\n\t\t\t\t\t\t<now-icon icon=\"arrow-left-outline\" size=\"md\" />\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<p className=\"phase-navigation__text\">{previousPhase.name}<\/p>\n\t\t\t\t<\/button>\n\t\t\t)}\n\t\t\t{nextPhase && (\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclassName=\"phase-navigation__button phase-navigation__button--next\"\n\t\t\t\t\taria-label={t(\n\t\t\t\t\t\t{message: 'x_snc_bpl_user_exp.asset.navigate.to.next.phase'},\n\t\t\t\t\t\t[nextPhase.name]\n\t\t\t\t\t)}\n\t\t\t\t\taria-controls={`phase-section-${generateIdFromName(nextPhase.name)}`}\n\t\t\t\t\t{...createInteractionHandler(handlePhaseNavigation(nextPhase))}>\n\t\t\t\t\t<p className=\"phase-navigation__text\">{nextPhase.name}<\/p>\n\t\t\t\t\t<span\n\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\tclassName=\"phase-navigation__icon phase-navigation__icon--right\">\n\t\t\t\t\t\t<now-icon icon=\"arrow-right-outline\" size=\"md\" />\n\t\t\t\t\t<\/span>\n\t\t\t\t<\/button>\n\t\t\t)}\n\t\t<\/nav>\n\t);\n};\n\nexport default PhaseNavigation;\n","import PhaseName from './PhaseName';\nimport PhaseNavigation from './PhaseNavigation';\nimport '@servicenow/now-icon';\n\nconst PhaseSectionHeader = ({\n\theaderId,\n\tphaseName,\n\tisExpanded,\n\tpreviousPhase,\n\tnextPhase,\n\tdispatch\n}) => (\n\t<header id={headerId} className=\"phase-section__header\">\n\t\t<div className=\"phase-section__header-content\">\n\t\t\t<PhaseName name={phaseName} isExpanded={isExpanded} />\n\t\t<\/div>\n\t\t{!isExpanded && (\n\t\t\t<span role=\"presentation\" className=\"phase-section__header-icon-expand\">\n\t\t\t\t<now-icon icon=\"expand-outline\" size=\"sm\" />\n\t\t\t<\/span>\n\t\t)}\n\t\t{isExpanded && (\n\t\t\t<PhaseNavigation\n\t\t\t\tpreviousPhase={previousPhase}\n\t\t\t\tnextPhase={nextPhase}\n\t\t\t\tdispatch={dispatch}\n\t\t\t/>\n\t\t)}\n\t<\/header>\n);\n\nexport default PhaseSectionHeader;\n","/**\n * LeftCapDefault Component\n *\n * Renders the standard left cap SVG for intermediate phases in the sequence.\n *\n * @returns {JSX.Element} The SVG representing the standard left cap.\n */\nexport const LeftCapDefault = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7816_65103',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '-3',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M-3 0H8V60H-3V0Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7816_65103)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M0.666182 0.5H8.5V59.5H0.678264L6.47762 30.7729L6.52203 30.6295L6.4801 30.4853L0.666182 0.5Z',\n\t\t\t\t\tfill: '#E3EAEF',\n\t\t\t\t\tstroke: 'white'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * LeftCapForFirstDefault Component\n *\n * Renders the left cap SVG for the first phase in the sequence.\n * This SVG is visually distinct to indicate the starting phase.\n *\n * @returns {JSX.Element} The SVG representing the left cap for the first phase.\n */\nexport const LeftCapForFirstDefault = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7816_65064',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '-3',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M8 60L-3 60L-3 0L8 0L8 60Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7816_65064)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M8.5 59.5L4 59.5C2.067 59.5 0.5 57.933 0.5 56L0.500002 30L0.500003 4C0.500003 2.067 2.06701 0.5 4 0.5L8.5 0.5L8.5 30L8.5 59.5Z',\n\t\t\t\t\tfill: '#E3EAEF',\n\t\t\t\t\tstroke: 'white'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * LeftCapForFirstHover Component\n *\n * Renders the left cap SVG for the first phase in the sequence when it is hovered.\n * This SVG provides a visual effect indicating the hover state for the first phase.\n *\n * @returns {JSX.Element} The SVG representing the left cap for the first phase in a hover state.\n */\nexport const LeftCapForFirstHover = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7822_71285',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '-3',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td: 'M8 60L-3 60L-2.99999 -9.61651e-07L8.00001 0L8 60Z',\n\t\t\t\t\tfill: '#D9D9D9'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7822_71285)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M8.5 59.5L4 59.5C2.067 59.5 0.5 57.933 0.5 56L0.500003 29.0625L0.500005 4C0.500005 2.067 2.06701 0.499999 4.00001 0.5L8.50001 0.5L8.5 30L8.5 59.5Z',\n\t\t\t\t\tfill: '#e3eaef',\n\t\t\t\t\tstroke: '#e3eaef'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * LeftCapHover Component\n *\n * Renders the left cap SVG for a phase in the sequence when it is hovered.\n * This SVG provides a visual effect indicating the hover state for a non-terminal phase.\n *\n * @returns {JSX.Element} The SVG representing the left cap for a phase in a hover state.\n */\nexport const LeftCapHover = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7822_71291',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '-3',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M-3 0H8V60H-3V0Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7822_71291)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M0.606286 0.5H8.5V59.5H0.61377L6.48967 31.0386L6.50991 30.9406L6.49085 30.8423L0.606286 0.5Z',\n\t\t\t\t\tfill: '#032D42',\n\t\t\t\t\tstroke: '#032D42'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * LeftCapExpanded Component\n *\n * Renders the left cap SVG for phases that are in expanded mode.\n *\n * @returns {JSX.Element} The SVG representing the expanded left cap.\n */\nexport const LeftCapExpanded = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '10',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 10 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_1939_32342',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '0',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '10',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path\n\t\t\t\tattrs={{d: 'M0.666016 0H9.66602V60H0.666016V0Z', fill: '#D9D9D9'}}\n\t\t\t/>\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_1939_32342)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M0.332031 0H11.332V30.9375V60H0.332031L6.33203 30.9375L0.332031 0Z',\n\t\t\t\t\tfill: '#B0B5BF'\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M0.938317 0.5H10.832V30.9375V59.5H0.945801L6.8217 31.0386L6.84194 30.9406L6.82289 30.8423L0.938317 0.5Z',\n\t\t\t\t\tfill: '#E3EAEF',\n\t\t\t\t\tstroke: '#B0B5BF'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapDefault Component\n *\n * Renders the standard right cap SVG for intermediate phases in the sequence.\n *\n * @returns {JSX.Element} The SVG representing the standard right cap.\n */\nexport const RightCapDefault = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7816_65592',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '0',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M0 0H11V60H0V0Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7816_65592)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td: 'M-0.5 0.5H0.697886L7.47071 30.6199L0.705181 59.5H-0.5V0.5Z',\n\t\t\t\t\tfill: '#E3EAEF',\n\t\t\t\t\tstroke: 'white'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapHover Component\n *\n * Renders the right cap SVG for a phase in the sequence when it is hovered.\n * This SVG provides a visual effect indicating the hover state for a non-terminal phase.\n *\n * @returns {JSX.Element} The SVG representing the right cap for a phase in a hover state.\n */\nexport const RightCapHover = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7816_65592',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '0',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M0 0H11V60H0V0Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7816_65592)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td: 'M-0.5 0.5H0.697886L7.47071 30.6199L0.705181 59.5H-0.5V0.5Z',\n\t\t\t\t\tfill: '#032D42',\n\t\t\t\t\tstroke: '#032D42'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapForLastDefault Component\n *\n * Renders the right cap SVG for the last phase in the sequence.\n * This SVG is visually distinct to indicate the ending phase.\n *\n * @returns {JSX.Element} The SVG representing the right cap for the last phase.\n */\nexport const RightCapForLastDefault = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7816_66008',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '0',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M0 0H11V60H0V0Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7816_66008)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M-0.5 0.5H4C5.933 0.5 7.5 2.067 7.5 4V30.625V56C7.5 57.933 5.933 59.5 4 59.5H-0.5V30V0.5Z',\n\t\t\t\t\tfill: '#E3EAEF',\n\t\t\t\t\tstroke: 'white'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapForLastHover Component\n *\n * Renders the right cap SVG for the last phase in the sequence when it is hovered.\n * This SVG provides a visual effect indicating the hover state for the last phase.\n *\n * @returns {JSX.Element} The SVG representing the right cap for the last phase in a hover state.\n */\nexport const RightCapForLastHover = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '8',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 8 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_7822_70521',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '0',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '11',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M0 0H11V60H0V0Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_7822_70521)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M-0.5 0.5H4C5.933 0.5 7.5 2.067 7.5 4V30.9375V56C7.5 57.933 5.933 59.5 4 59.5H-0.5V30V0.5Z',\n\t\t\t\t\tfill: '#032D42',\n\t\t\t\t\tstroke: '#032D42'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n\n/**\n * RightCapExpanded Component\n *\n * Renders the right cap SVG for phases that are in expanded mode.\n *\n * @returns {JSX.Element} The SVG representing the expanded right cap.\n */\nexport const RightCapExpanded = () => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '9',\n\t\t\theight: '60',\n\t\t\tviewBox: '0 0 9 60',\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<mask\n\t\t\tattrs={{\n\t\t\t\tid: 'mask0_1939_32362',\n\t\t\t\tstyle: 'mask-type:alpha',\n\t\t\t\tmaskUnits: 'userSpaceOnUse',\n\t\t\t\tx: '0',\n\t\t\t\ty: '0',\n\t\t\t\twidth: '9',\n\t\t\t\theight: '60'\n\t\t\t}}>\n\t\t\t<path attrs={{d: 'M0 0H9V60H0V0Z', fill: '#D9D9D9'}} />\n\t\t<\/mask>\n\t\t<g attrs={{mask: 'url(#mask0_1939_32362)'}}>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td: 'M-1.19922 0H2.80078L8.80078 30.9375L2.80078 60H-1.19922V30V0Z',\n\t\t\t\t\tfill: '#B0B5BF'\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tattrs={{\n\t\t\t\t\td:\n\t\t\t\t\t\t'M-0.699219 0.5H2.38843L8.29087 30.9344L2.39346 59.5H-0.699219V30V0.5Z',\n\t\t\t\t\tfill: '#E3EAEF',\n\t\t\t\t\tstroke: '#B0B5BF'\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/g>\n\t<\/svg>\n);\n","import {getLeftCap, getRightCap} from './helpers/phaseCap';\n\n/**\n * PhaseCap Component\n *\n * Renders the left or right decorative cap for a phase, based on its position and expanded state.\n * The component is marked as aria-hidden to prevent it from being read by screen readers,\n * as it's used purely for visual purposes.\n *\n * @param {Number} index - Index of the current phase.\n * @param {Number} phasesLength - Total number of phases.\n * @param {Boolean} isExpanded - Whether the phase is in expanded mode.\n * @param {Boolean} isHover - Indicates whether the phase is currently being hovered.\n * @param {String} position - Position of the cap ('left' or 'right').\n * @returns {JSX.Element} The rendered cap.\n */\nconst PhaseCap = ({index, phasesLength, isExpanded, isHover, position}) => {\n\tconst isLeft = position === 'left';\n\n\treturn (\n\t\t<div\n\t\t\tclassName={`phase-${position}-cap`}\n\t\t\taria-hidden=\"true\" // Mark as hidden for screen readers\n\t\t\trole=\"presentation\" // For additional clarity\n\t\t>\n\t\t\t{isLeft\n\t\t\t\t? getLeftCap(index, isExpanded, isHover)\n\t\t\t\t: getRightCap(index, isExpanded, isHover, phasesLength)}\n\t\t<\/div>\n\t);\n};\n\nconst PhaseDecorativeCap = ({\n\tindex,\n\tphasesLength,\n\tisExpanded,\n\tisHover,\n\tposition\n}) => (\n\t<PhaseCap\n\t\tindex={index}\n\t\tphasesLength={phasesLength}\n\t\tisExpanded={isExpanded}\n\t\tisHover={isHover}\n\t\tposition={position}\n\t/>\n);\n\nexport default PhaseDecorativeCap;\n","import {\n\tLeftCapForFirstDefault,\n\tLeftCapForFirstHover,\n\tLeftCapDefault,\n\tLeftCapHover,\n\tRightCapDefault,\n\tRightCapHover,\n\tRightCapForLastDefault,\n\tRightCapForLastHover,\n\tLeftCapExpanded,\n\tRightCapExpanded\n} from './phaseSVGComponents';\n\n/**\n * Get the left cap SVG component for the phase.\n *\n * This function returns the appropriate left cap SVG based on the index of the phase,\n * whether the phase is in expanded mode, and whether it is being hovered.\n *\n * @param {number} index - The index of the phase (zero-based).\n * @param {boolean} isExpanded - Whether the phase is in expanded mode.\n * @param {boolean} isHover - Whether the phase is currently being hovered.\n * @returns {JSX.Element} The left cap SVG component.\n *\n * Behavior:\n * - Returns `<LeftCapExpanded />` if the phase is expanded (`isExpanded` is true).\n * - If the phase is the first one in the list (`index === 0`):\n *     - Returns `<LeftCapForFirstHover />` if hovered (`isHover` is true).\n *     - Returns `<LeftCapForFirstDefault />` if not hovered.\n * - For non-first phases:\n *     - Returns `<LeftCapHover />` if hovered (`isHover` is true).\n *     - Returns `<LeftCapDefault />` if not hovered.\n */\nexport const getLeftCap = (index, isExpanded, isHover) => {\n\tif (isExpanded) {\n\t\treturn <LeftCapExpanded />;\n\t}\n\n\tif (index === 0) {\n\t\treturn isHover ? <LeftCapForFirstHover /> : <LeftCapForFirstDefault />;\n\t}\n\n\treturn isHover ? <LeftCapHover /> : <LeftCapDefault />;\n};\n\n/**\n * Get the right cap SVG component for the phase.\n *\n * This function returns the appropriate right cap SVG based on the index of the phase,\n * whether the phase is in expanded mode, whether it is the last phase in the list, and\n * whether the phase is being hovered.\n *\n * @param {number} index - The index of the phase (zero-based).\n * @param {boolean} isExpanded - Whether the phase is in expanded mode.\n * @param {boolean} isHover - Whether the phase is currently being hovered.\n * @param {number} phasesLength - The total number of phases.\n * @returns {JSX.Element} The right cap SVG component.\n *\n * Behavior:\n * - Returns `<RightCapExpanded />` if the phase is expanded (`isExpanded` is true).\n * - If the phase is the last one in the list (`index === phasesLength - 1`):\n *     - Returns `<RightCapForLastHover />` if hovered (`isHover` is true).\n *     - Returns `<RightCapForLastDefault />` if not hovered.\n * - For non-last phases:\n *     - Returns `<RightCapHover />` if hovered (`isHover` is true).\n *     - Returns `<RightCapDefault />` if not hovered.\n */\nexport const getRightCap = (index, isExpanded, isHover, phasesLength) => {\n\tconst isLast = index === phasesLength - 1;\n\n\tif (isExpanded) {\n\t\treturn <RightCapExpanded />;\n\t}\n\n\tif (isLast) {\n\t\treturn isHover ? <RightCapForLastHover /> : <RightCapForLastDefault />;\n\t}\n\n\treturn isHover ? <RightCapHover /> : <RightCapDefault />;\n};\n","/**\n * generatePhaseSectionClasses\n *\n * Generates a string of CSS class names for a phase section element based on its state.\n * This function dynamically applies classes to represent the position, selection, hover, and expansion states.\n *\n * Parameters:\n * - index (number): The position of the phase section in the list (0-based).\n * - phasesLength (number): The total number of phases in the list.\n * - isHover (boolean): Indicates whether the phase section is currently hovered.\n * - isSelected (boolean): Indicates whether the phase section is currently selected.\n * - isExpanded (boolean): Indicates whether the phase section is currently expanded.\n *\n * Returns:\n * - {string}: A space-separated string of CSS class names for the phase section.\n *\n * Applied Classes:\n * - `phase-section`: Always applied to the phase section.\n * - `phase-section--first`: Applied if the phase section is the first in the list (`index === 0`).\n * - `phase-section--last`: Applied if the phase section is the last in the list (`index === phasesLength - 1`).\n * - `phase-section--hover`: Applied if the phase section is hovered (`isHover` is true).\n * - `phase-section--selected`: Applied if the phase section is selected and not expanded (`isSelected` is true, `isExpanded` is false).\n * - `phase-section--expanded`: Applied if the phase section is selected and expanded (`isSelected` is true, `isExpanded` is true).\n */\nconst generatePhaseSectionClasses = ({\n\tindex,\n\tphasesLength,\n\tisHover,\n\tisSelected,\n\tisExpanded\n}) =>\n\t[\n\t\t'phase-section',\n\t\tindex === 0 && 'phase-section--first',\n\t\tindex === phasesLength - 1 && 'phase-section--last',\n\t\tisHover && 'phase-section--hover',\n\t\tisSelected &&\n\t\t\t(isExpanded ? 'phase-section--expanded' : 'phase-section--selected')\n\t]\n\t\t.filter(Boolean)\n\t\t.join(' ');\n\nexport default generatePhaseSectionClasses;\n","import PhaseSectionHeader from './PhaseSectionHeader';\nimport PhaseDecorativeCap from './PhaseCap';\nimport generatePhaseSectionClasses from './helpers/generatePhaseSectionClasses';\nimport {createInteractionHandler, createHoverHandler} from '../utils';\nimport generateIdFromName from './helpers/generateIdFromName';\n\n/**\n * PhaseSection Component\n *\n * Represents an individual phase in the gridmap or expanded view. It includes phase navigation,\n * decorative caps, and accessibility features to interact with each phase.\n *\n * Props:\n * - phase (Object): Data for the current phase, including:\n *     - id (string): Unique identifier for the phase.\n *     - name (string): Name of the phase.\n * - isSelected (boolean): Indicates if the current phase is selected.\n * - isExpanded (boolean): Indicates if the current phase is expanded.\n * - index (number): Index of the phase in the list.\n * - phasesLength (number): Total number of phases in the gridmap.\n * - previousPhase (Object, optional): Data for the previous phase (used for navigation).\n * - nextPhase (Object, optional): Data for the next phase (used for navigation).\n * - handlePhaseClick (Function): Handles click interactions for the phase.\n * - handlePhaseHoverIn (Function): Handles the hover-in event for the phase.\n * - handlePhaseHoverOut (Function): Handles the hover-out event for the phase.\n * - isHover (boolean): Indicates whether the phase is currently being hovered.\n * - dispatch (Function): Dispatches actions for phase navigation or selection.\n *\n * Accessibility:\n * - `role=\"button\"`: Marks the section as an interactive element for assistive technologies.\n * - `aria-labelledby`: Links the section to its header for screen readers.\n * - `aria-expanded`: Indicates the expanded/collapsed state of the phase.\n * - `tabIndex=\"0\"`: Makes the section focusable in non-expanded mode.\n * - Includes `createInteractionHandler` for both mouse and keyboard interactions\n *   (e.g., activation with Enter or Space keys).\n *\n * Behavior:\n * - Dynamically applies CSS classes to reflect the state of the phase:\n *     - `phase-section--first`: Applied to the first phase in the list.\n *     - `phase-section--last`: Applied to the last phase in the list.\n *     - `phase-section--selected`: Applied when the phase is selected but not expanded.\n *     - `phase-section--expanded`: Applied when the phase is selected and expanded.\n * - Handles hover effects using `handlePhaseHoverIn` and `handlePhaseHoverOut` to dynamically update\n *   the `isHover` state.\n * - Renders decorative `PhaseDecorativeCap` components on the left and right of the phase.\n * - Displays navigation buttons (`PhaseNavigation`) for moving between phases in expanded mode.\n *\n * Returns:\n * - {JSX.Element}: A section representing a phase, with optional navigation and decoration.\n */\nconst PhaseSection = ({\n\tphase,\n\tisSelected,\n\tisExpanded,\n\tindex,\n\tphasesLength,\n\tpreviousPhase,\n\tnextPhase,\n\thandlePhaseClick,\n\thandlePhaseHoverIn,\n\thandlePhaseHoverOut,\n\tisHover,\n\tdispatch\n}) => {\n\tconst safeId = generateIdFromName(phase.name);\n\tconst sectionId = `phase-section-${safeId}`;\n\tconst headerId = `phase-header-${safeId}`;\n\n\t// Generate CSS classes\n\tconst sectionClasses = generatePhaseSectionClasses({\n\t\tindex,\n\t\tphasesLength,\n\t\tisHover,\n\t\tisSelected,\n\t\tisExpanded\n\t});\n\n\t// Generate interaction handlers\n\tconst interactionHandlers = !isExpanded\n\t\t? {\n\t\t\t\t...createInteractionHandler(handlePhaseClick),\n\t\t\t\t...createHoverHandler(handlePhaseHoverIn, handlePhaseHoverOut)\n\t\t  }\n\t\t: {};\n\n\treturn (\n\t\t<div role=\"listitem\" className=\"phase-list__item\">\n\t\t\t<div\n\t\t\t\tid={sectionId}\n\t\t\t\tclassName={sectionClasses}\n\t\t\t\trole=\"button\"\n\t\t\t\taria-labelledby={headerId}\n\t\t\t\taria-expanded={isExpanded}\n\t\t\t\ttabIndex={!isExpanded ? 0 : undefined}\n\t\t\t\t{...interactionHandlers}>\n\t\t\t\t{/* Left Cap */}\n\t\t\t\t<PhaseDecorativeCap\n\t\t\t\t\tindex={index}\n\t\t\t\t\tphasesLength={phasesLength}\n\t\t\t\t\tisExpanded={isExpanded}\n\t\t\t\t\tisHover={isHover}\n\t\t\t\t\tposition=\"left\"\n\t\t\t\t/>\n\n\t\t\t\t{/* Phase Header */}\n\t\t\t\t<PhaseSectionHeader\n\t\t\t\t\theaderId={headerId}\n\t\t\t\t\tphaseName={phase.name}\n\t\t\t\t\tisExpanded={isExpanded}\n\t\t\t\t\tpreviousPhase={previousPhase}\n\t\t\t\t\tnextPhase={nextPhase}\n\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t/>\n\n\t\t\t\t{/* Right Cap */}\n\t\t\t\t<PhaseDecorativeCap\n\t\t\t\t\tindex={index}\n\t\t\t\t\tphasesLength={phasesLength}\n\t\t\t\t\tisExpanded={isExpanded}\n\t\t\t\t\tisHover={isHover}\n\t\t\t\t\tposition=\"right\"\n\t\t\t\t/>\n\t\t\t<\/div>\n\t\t<\/div>\n\t);\n};\n\nexport default PhaseSection;\n","import PhaseSection from './PhaseSection';\nimport find from 'lodash/find';\nimport findIndex from 'lodash/findIndex';\nimport {\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_EXPANDED,\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_MOUSEHOVER\n} from '../actions';\n\n/**\n * PhaseList Component\n *\n * Renders a list of phases in either non-expanded or expanded mode. It supports navigation between phases\n * and allows interaction with each phase to expand or select it. This component ensures accessibility\n * and dynamic behavior based on the current application state.\n *\n * Props:\n * - phases (Array): List of phases to display, each containing:\n *     - id (string): Unique identifier for the phase.\n *     - name (string): Name of the phase.\n *     - description (string): Description of the phase.\n * - state (Object): Represents the current state of the application:\n *     - isPhaseExpandedMode (boolean): Indicates if the component is in expanded mode.\n *     - expandedPhaseId (string): The ID of the currently expanded phase.\n * - dispatch (Function): Function to dispatch actions for phase interactions, such as expansion or selection.\n *\n * Accessibility:\n * - `role=\"list\"`: Identifies the container as a list for assistive technologies.\n * - Each `PhaseSection` is rendered as a `role=\"listitem\"` for a proper hierarchical structure.\n * - Navigation buttons in expanded mode are fully accessible via `aria-label` and `aria-controls`.\n *\n * Behavior:\n * - In non-expanded mode:\n *     - Renders all phases with `PhaseSection`.\n *     - Clicking a phase expands it.\n * - In expanded mode:\n *     - Renders only the expanded phase with navigation to the previous or next phase.\n *\n * Returns:\n * - {JSX.Element}: A list of phases or a single expanded phase based on the mode.\n */\n\nconst PhaseList = ({phases, state, dispatch}) => {\n\tconst {isPhaseExpandedMode, expandedPhaseId, hoverPhaseId} = state;\n\tconst phasesLength = phases.length;\n\n\t// Find the expanded phase\n\tconst expandedPhase = find(phases, (p) => p.id === expandedPhaseId);\n\tconst expandedPhaseIndex = findIndex(phases, (p) => p.id === expandedPhaseId);\n\n\t// Previous and next phases for navigation\n\tconst previousPhase =\n\t\texpandedPhaseIndex > 0 ? phases[expandedPhaseIndex - 1] : null;\n\tconst nextPhase =\n\t\texpandedPhaseIndex < phases.length - 1\n\t\t\t? phases[expandedPhaseIndex + 1]\n\t\t\t: null;\n\n\t// Handle phase click\n\tconst handlePhaseClick = (phase) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(WORKSTREAM_PHASE_GRIDMAP_PHASE_EXPANDED, {phase}, {event: e});\n\t};\n\n\t// Handle phase hover in\n\tconst handlePhaseHoverIn = (phaseId) => (e) => {\n\t\te.stopPropagation = true;\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_PHASE_MOUSEHOVER,\n\t\t\t{id: phaseId},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t// Handle phase hover out\n\tconst handlePhaseHoverOut = () => (e) => {\n\t\te.stopPropagation = true;\n\t\tdispatch(WORKSTREAM_PHASE_GRIDMAP_PHASE_MOUSEHOVER, {id: ''}, {event: e});\n\t};\n\n\treturn (\n\t\t<div className=\"phase-list\" role=\"list\">\n\t\t\t{!isPhaseExpandedMode\n\t\t\t\t? phases.map((phase, index) => {\n\t\t\t\t\t\tconst isSelected = phase.id === expandedPhaseId;\n\t\t\t\t\t\tconst isHover = hoverPhaseId === phase.id;\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<PhaseSection\n\t\t\t\t\t\t\t\tkey={phase.id}\n\t\t\t\t\t\t\t\tphase={phase}\n\t\t\t\t\t\t\t\tisSelected={isSelected}\n\t\t\t\t\t\t\t\tisExpanded={false}\n\t\t\t\t\t\t\t\tindex={index}\n\t\t\t\t\t\t\t\tphasesLength={phasesLength}\n\t\t\t\t\t\t\t\thandlePhaseClick={handlePhaseClick(phase)}\n\t\t\t\t\t\t\t\thandlePhaseHoverIn={handlePhaseHoverIn(phase.id)}\n\t\t\t\t\t\t\t\tisHover={isHover}\n\t\t\t\t\t\t\t\thandlePhaseHoverOut={handlePhaseHoverOut()}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t);\n\t\t\t\t  })\n\t\t\t\t: expandedPhase && (\n\t\t\t\t\t\t<PhaseSection\n\t\t\t\t\t\t\tkey={expandedPhaseId}\n\t\t\t\t\t\t\tphase={expandedPhase}\n\t\t\t\t\t\t\tisSelected\n\t\t\t\t\t\t\tisExpanded\n\t\t\t\t\t\t\tindex={expandedPhaseIndex}\n\t\t\t\t\t\t\tphasesLength={phasesLength}\n\t\t\t\t\t\t\tpreviousPhase={previousPhase}\n\t\t\t\t\t\t\tnextPhase={nextPhase}\n\t\t\t\t\t\t\tdispatch={dispatch}\n\t\t\t\t\t\t/>\n\t\t\t\t  )}\n\t\t<\/div>\n\t);\n};\n\nexport default PhaseList;\n","import PhaseTitle from './PhaseTitle';\nimport PhaseList from './PhaseList';\n\n/**\n * PhaseHeader Component\n *\n * Renders the header section of the phases, including the phase title and phase list.\n * It manages the display of the title and a list of phases based on the provided props.\n *\n * Props:\n * - isPhaseExpandedMode (boolean): Indicates whether the phase header is in expanded mode.\n * - phases (Array): An array of phase objects to be displayed in the phase list.\n * - state (Object): The current state of the application, used for managing the phases.\n * - dispatch (Function): A function to dispatch actions or events to update the application state.\n * - handlePhaseSeeAllClick (Function): Callback function triggered when the \"See All\" button in the\n *   phase title is clicked.\n *\n * Returns:\n * - {JSX.Element}: A header element containing the `PhaseTitle` and `PhaseList` components.\n *\n * Child Components:\n * - PhaseTitle: Displays the title of the phases and manages the \"See All\" action.\n * - PhaseList: Renders the list of phases.\n */\nconst PhaseHeader = ({\n\tisPhaseExpandedMode,\n\tphases,\n\tstate,\n\tdispatch,\n\thandlePhaseSeeAllClick\n}) => {\n\treturn (\n\t\t<header className=\"phase-header\" aria-labelledby=\"phase-header-title\">\n\t\t\t{/* Phase Title */}\n\t\t\t<PhaseTitle\n\t\t\t\tid=\"phase-header-title\" // Pass ID for accessibility\n\t\t\t\tisPhaseExpandedMode={isPhaseExpandedMode}\n\t\t\t\thandlePhaseSeeAllClick={handlePhaseSeeAllClick}\n\t\t\t/>\n\n\t\t\t{/* Phase List */}\n\t\t\t<PhaseList phases={phases} state={state} dispatch={dispatch} />\n\t\t<\/header>\n\t);\n};\n\nexport default PhaseHeader;\n","import WorkstreamHeader from './WorkstreamHeader';\nimport PhaseHeader from './PhaseHeader';\nimport {\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_SEE_ALL_CLICKED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SEE_ALL_CLICKED\n} from '../actions';\n\n/**\n * WorkstreamPhaseGridmapHeader Component\n *\n * This component renders the header section for the gridmap, which includes the workstream and phase headers.\n * It handles the display of workstream and phase titles and provides \"See All\" functionality for both sections.\n *\n * Props:\n * - phases (Array): The list of phases to display in the phase header.\n * - state (Object): The current state of the component, including:\n *     - isPhaseExpandedMode (boolean): Indicates if the phase section is in expanded mode.\n *     - isWorkstreamExpandedMode (boolean): Indicates if the workstream section is in expanded mode.\n * - dispatch (Function): A function to dispatch actions for handling interactions and state updates.\n *\n * Behavior:\n * - Renders the `WorkstreamHeader` with a \"See All\" button for the workstream section.\n * - Renders the `PhaseHeader` with a \"See All\" button and a list of phases.\n * - Handles \"See All\" clicks for both workstream and phase sections, triggering appropriate actions via `dispatch`.\n * - Utilizes event handling to prevent click propagation and ensure consistent behavior.\n *\n * Accessibility:\n * - Includes \"See All\" buttons that are interactive and accessible, allowing keyboard and mouse interaction.\n * - Ensures clear separation of headers for workstreams and phases for assistive technologies.\n *\n * Returns:\n * - {JSX.Element}: A div containing the workstream and phase headers.\n */\nconst WorkstreamPhaseGridmapHeader = ({phases, state, dispatch}) => {\n\tconst {isPhaseExpandedMode, isWorkstreamExpandedMode} = state;\n\n\t// Handle \"See All\" click in the phase section\n\tconst handlePhaseSeeAllClick = () => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(WORKSTREAM_PHASE_GRIDMAP_PHASE_SEE_ALL_CLICKED, {}, {event: e});\n\t};\n\n\t// Handle \"See All\" click in the workstream section\n\tconst handleWorkstreamSeeAllClick = () => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SEE_ALL_CLICKED,\n\t\t\t{},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\treturn (\n\t\t<header className=\"workstream-phase-header\">\n\t\t\t{/* Workstream Header */}\n\t\t\t<WorkstreamHeader\n\t\t\t\tisWorkstreamExpandedMode={isWorkstreamExpandedMode}\n\t\t\t\thandleWorkstreamSeeAllClick={handleWorkstreamSeeAllClick}\n\t\t\t/>\n\n\t\t\t{/* Phase Header */}\n\t\t\t<PhaseHeader\n\t\t\t\tisPhaseExpandedMode={isPhaseExpandedMode}\n\t\t\t\tphases={phases}\n\t\t\t\tstate={state}\n\t\t\t\tdispatch={dispatch}\n\t\t\t\thandlePhaseSeeAllClick={handlePhaseSeeAllClick}\n\t\t\t/>\n\t\t<\/header>\n\t);\n};\n\nexport default WorkstreamPhaseGridmapHeader;\n","import {hexToRgb} from '../utils';\n\n/**\n * WorkstreamNameHighlighter Component\n *\n * This component renders a colored bar (highlighter) next to the workstream name.\n * The color of the highlighter is configurable and dynamically generated based on\n * the provided `highlighterColor` prop.\n *\n * Props:\n * - highlighterColor (Object): Configuration for the highlighter color.\n *     - default (string): Default hex color for the highlighter.\n *     - color (string, optional): Custom CSS variable for the highlighter color.\n *\n * Behavior:\n * - Converts the default hex color to RGB using the `hexToRgb` utility.\n * - Applies a CSS variable for the color if specified; otherwise, uses the computed RGB color.\n *\n * Accessibility:\n * - Purely visual; no interactive elements or additional roles are applied.\n * - Designed to complement adjacent components like labels without disrupting screen-reader flow.\n *\n * Returns:\n * - {JSX.Element}: A styled span element representing the workstream highlighter.\n */\nconst WorkstreamNameHighlighter = ({highlighterColor}) => {\n\tconst {r, g, b} = hexToRgb(highlighterColor.default);\n\tconst vertBarColor = highlighterColor.color\n\t\t? `rgb(var(${highlighterColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\n\treturn (\n\t\t<span\n\t\t\trole=\"presentation\"\n\t\t\tclassName=\"workstream-color\"\n\t\t\tstyle={{backgroundColor: vertBarColor}}\n\t\t\taria-hidden=\"true\"\n\t\t/>\n\t);\n};\n\nexport default WorkstreamNameHighlighter;\n","import '@servicenow/now-icon';\nimport {toSentenceCase} from '../../../utils';\n\n/**\n * WorkstreamLabel Component\n *\n * This component renders a label for a workstream. It displays the name of the workstream\n * inside a styled container.\n *\n * Props:\n * - name (string): The name of the workstream to be displayed.\n *\n * Returns:\n * - {JSX.Element}: A div containing the workstream name wrapped in a span element.\n *\n * Accessibility:\n * - Simple text rendering ensures compatibility with screen readers.\n *\n * Behavior:\n * - Always displays the provided `name` prop inside a styled container.\n */\nconst WorkstreamLabel = ({name}) => {\n\treturn (\n\t\t<div className=\"workstream-text\">\n\t\t\t<h3>{toSentenceCase(name)}<\/h3>\n\t\t\t<span role=\"presentation\" className=\"workstream-expand-icon\">\n\t\t\t\t<now-icon icon=\"expand-outline\" size=\"sm\" />\n\t\t\t<\/span>\n\t\t<\/div>\n\t);\n};\n\nexport default WorkstreamLabel;\n","import WorkstreamNameHighlighter from './WorkstreamNameHighlighter';\nimport WorkstreamLabel from './WorkstreamLabel';\nimport {createInteractionHandler, createFocusHandler} from '../utils';\n\n/**\n * WorkstreamName Component\n *\n * This component renders the entire workstream name section, combining a visual highlighter\n * and a text label. It supports interaction when the workstream is not in an expanded state.\n *\n * Props:\n * - highlighterColor (Object): Color configuration for the workstream highlighter.\n * - workstream (Object): The workstream object containing:\n *     - name (string): The name of the workstream to be displayed.\n * - isExpanded (boolean): Indicates whether the workstream is in an expanded state.\n * - handleWorkstreamClick (Function): Callback function triggered when the workstream name is clicked.\n *\n * Behavior:\n * - Renders the workstream highlighter and name label using `WorkstreamNameHighlighter` and `WorkstreamLabel` components.\n * - Applies an interaction handler when the workstream is not expanded, allowing it to handle clicks or keyboard navigation.\n * - Dynamically applies CSS classes based on the `isExpanded` state.\n *\n * Accessibility:\n * - Interaction handlers support keyboard and mouse inputs for accessibility.\n * - Clear separation of visual highlighter and label ensures screen-reader compatibility.\n *\n * Returns:\n * - {JSX.Element}: A div containing the workstream highlighter and name label.\n */\nconst WorkstreamName = ({\n\thighlighterColor,\n\tworkstream,\n\tisExpanded,\n\thandleWorkstreamClick,\n\tonFocusWorkstreamHandler,\n\tonBlurWorkstreamHandler,\n\tfocusedWorkstreamId\n}) => {\n\t// Determine if the workstream is focused\n\tconst isFocused = focusedWorkstreamId === workstream.id;\n\n\t// Build dynamic props for accessibility and interaction\n\tconst dynamicProps = !isExpanded\n\t\t? {\n\t\t\t\ttabIndex: 0,\n\t\t\t\trole: 'button',\n\t\t\t\t'aria-expanded': false,\n\t\t\t\t...createInteractionHandler(handleWorkstreamClick(workstream)),\n\t\t\t\t...createFocusHandler(\n\t\t\t\t\tonFocusWorkstreamHandler(workstream.id),\n\t\t\t\t\tonBlurWorkstreamHandler(workstream.id)\n\t\t\t\t)\n\t\t  }\n\t\t: {\n\t\t\t\ttabIndex: -1,\n\t\t\t\t'aria-expanded': true\n\t\t  };\n\n\treturn (\n\t\t<div\n\t\t\tclassName={['workstream-name', isExpanded && '--expanded']\n\t\t\t\t.filter(Boolean)\n\t\t\t\t.join(' ')}\n\t\t\t{...dynamicProps}>\n\t\t\t<span\n\t\t\t\taria-hidden=\"true\"\n\t\t\t\trole=\"presentation\"\n\t\t\t\tclassName={['workstream-name-focus', isFocused && '--show']\n\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t.join(' ')}\n\t\t\t/>\n\t\t\t<WorkstreamNameHighlighter highlighterColor={highlighterColor} />\n\t\t\t<WorkstreamLabel name={workstream.name} />\n\t\t<\/div>\n\t);\n};\n\nexport default WorkstreamName;\n","import {getClassNameForTaskBarIndicator, hexToRgb} from '../utils';\nimport {TASK_INDICATORS} from '../constants';\n\n/**\n * TaskBarList Component\n *\n * This component renders a list of visual task bars to represent the number of tasks within a process.\n * Each task is visually represented as a bar with a configurable color.\n *\n * Props:\n * - tasks (Array): An array of task objects to be rendered as visual bars.\n * - taskColor (Object): Configuration for the task bar colors.\n *     - default (string): Default hex color for the task bars.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Accessibility:\n * - `aria-label`: Provides an accessible label for the task bar list to describe its purpose.\n * - `role=\"presentation\"` and `aria-hidden=\"true\"`: Ensures the task bars are decorative and not announced by screen readers.\n *\n * Behavior:\n * - Converts the default hex color to RGB using the `hexToRgb` utility.\n * - Uses a CSS variable for task color if provided, falling back to the default RGB color.\n * - Maps over the `tasks` array to render a visual bar for each task.\n *\n * Returns:\n * - {JSX.Element}: An unordered list of task bars.\n */\nconst TaskBarList = ({tasks, taskColor, appliedRole = ''}) => {\n\tconst {r, g, b} = hexToRgb(taskColor.default);\n\tconst barColor = taskColor.color\n\t\t? `rgb(var(${taskColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\n\treturn (\n\t\t<ul className=\"task-bar-list\" aria-label={TASK_INDICATORS}>\n\t\t\t{tasks.map((task, index) => (\n\t\t\t\t<li key={index} className=\"task-bar-item\">\n\t\t\t\t\t<span\n\t\t\t\t\t\tclassName={getClassNameForTaskBarIndicator(task, appliedRole)}\n\t\t\t\t\t\tstyle={{backgroundColor: barColor}}\n\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t/>\n\t\t\t\t<\/li>\n\t\t\t))}\n\t\t<\/ul>\n\t);\n};\n\nexport default TaskBarList;\n","/**\n * TaskPopoverHeader Component\n *\n * This component renders the header section of the task popover, including a title (process name)\n * and a description of the process.\n *\n * Props:\n * - id (string): A unique identifier for the popover instance, used to generate unique IDs for ARIA attributes.\n * - name (string): The name of the process to be displayed as the title.\n * - description (string): The description of the process to provide additional context.\n *\n * Accessibility:\n * - `aria-labelledby`: Links the `<header>` to the `<h2>` element for better screen reader support.\n * - `aria-describedby`: Links the `<header>` to the `<p>` element for additional context description.\n * - Semantic `<header>`: Used for improved structure and accessibility.\n *\n * Behavior:\n * - Displays the `name` in an `<h2>` element styled with the `task-popover__title` class.\n * - Wraps the `description` in a `<p>` element styled with the `task-popover__description` class.\n * - Provides unique `id` attributes (`task-popover-title-${id}` and `task-popover-description-${id}`)\n *   for linking ARIA properties to the respective elements.\n *\n * Returns:\n * - {JSX.Element}: A `<header>` element containing the process name and description.\n */\n\nconst TaskPopoverHeader = ({id, name, description}) => (\n\t<header\n\t\tclassName=\"task-popover__header\"\n\t\taria-labelledby={`task-popover-title-${id}`}\n\t\taria-describedby={`task-popover-description-${id}`}>\n\t\t<section className=\"task-popover__header-content\">\n\t\t\t<h2 id={`task-popover-title-${id}`} className=\"task-popover__title\">\n\t\t\t\t{name}\n\t\t\t<\/h2>\n\t\t\t<div className=\"task-popover__description-wrap\" role=\"note\">\n\t\t\t\t<p\n\t\t\t\t\tid={`task-popover-description-${id}`}\n\t\t\t\t\tclassName=\"task-popover__description\">\n\t\t\t\t\t{description}\n\t\t\t\t<\/p>\n\t\t\t<\/div>\n\t\t<\/section>\n\t<\/header>\n);\n\nexport default TaskPopoverHeader;\n","import {t} from 'sn-translate';\nimport {\n\tcreateInteractionHandler,\n\tgetClassNameForTaskPopoverTaskItem\n} from '../utils';\n\n/**\n * TaskPopoverTaskItem Component\n *\n * This component renders a single task item within the task popover, including its name and a clickable\n * task indicator. Each task item is interactive and accessible.\n *\n * Props:\n * - task (Object): The task object containing details about the task.\n *     - name (string): The name of the task to be displayed.\n * - bgColor (string): The background color for the task indicator, computed from task color settings.\n * - handleTaskClick (Function): Callback function triggered when the task item is clicked or activated via keyboard.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Accessibility:\n * - `role=\"button\"`: Indicates that the list item is interactive.\n * - `tabIndex=\"0\"`: Makes the task item focusable for keyboard navigation.\n * - `aria-label`: Describes the task item for screen readers.\n * - `aria-hidden=\"true\"`: Hides decorative elements (like the task indicator) from assistive technologies.\n * - Keyboard Interaction: Supports `Enter` and `Space` keys to activate the task.\n *\n * Behavior:\n * - Displays the `task.name` with appropriate styling for the task name.\n * - Renders a visually styled task indicator with a background color (`bgColor`).\n * - Calls `handleTaskClick` when the item is clicked or activated via keyboard.\n *\n * Returns:\n * - {JSX.Element}: A `<li>` element representing the task item with a clickable indicator and name.\n */\nconst TaskPopoverTaskItem = ({\n\ttask,\n\tbgColor,\n\thandleTaskClick,\n\tappliedRole = ''\n}) => (\n\t<li\n\t\tclassName={getClassNameForTaskPopoverTaskItem(task, appliedRole)}\n\t\trole=\"button\" // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role\n\t\ttabIndex=\"0\" // Focusable element\n\t\taria-label={t({message: 'x_snc_bpl_user_exp.task'}, [task.name])} // Accessible label\n\t\t{...createInteractionHandler(handleTaskClick(task))}>\n\t\t<div className=\"task-popover__task\">\n\t\t\t<span\n\t\t\t\tclassName=\"task-popover__task-indicator\"\n\t\t\t\tstyle={{background: bgColor}}\n\t\t\t\taria-hidden=\"true\"\n\t\t\t\trole=\"presentation\"\n\t\t\t/>\n\t\t\t<p className=\"task-popover__task-name\">{task.name}<\/p>\n\t\t\t<span className=\"task-popover__task-icon\" role=\"presentation\">\n\t\t\t\t<now-icon icon=\"arrow-right-outline\" size=\"sm\" />\n\t\t\t<\/span>\n\t\t<\/div>\n\t<\/li>\n);\n\nexport default TaskPopoverTaskItem;\n","import memoize from 'lodash/memoize';\nimport {hexToRgb} from '../utils';\nimport TaskPopoverHeader from './TaskPopoverHeader';\nimport TaskPopoverTaskItem from './TaskPopoverTaskItem';\n\n/**\n * Calculates the background color for the task indicator.\n */\nconst getBackgroundColor = memoize((taskColor) => {\n\tconst {r, g, b} = hexToRgb(taskColor.default);\n\treturn taskColor.color\n\t\t? `rgb(var(${taskColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n});\n\n/**\n * Generates the style object for the popover based on dimensions.\n */\nconst getPopoverStyle = memoize((taskDim, processDim) => {\n\tif (!taskDim || !processDim) {\n\t\treturn {opacity: 0};\n\t}\n\n\tconst {width, height} = taskDim || {};\n\tconst {height: parentHeight} = processDim || {};\n\n\tconst style = {};\n\n\tif (typeof parentHeight === 'string') style.top = parentHeight;\n\tif (typeof width === 'string') style.width = width;\n\tif (typeof height === 'string') style.height = height;\n\n\treturn style;\n});\n\n/**\n * TaskPopoverList Component\n *\n * Renders the task popover containing details about a process and its tasks.\n *\n * @param {Object} config - The configuration object for the popover.\n * @param {Object} config.process - The process object containing process details.\n * @param {Object} config.taskColor - The color configuration for the tasks.\n * @param {Object} config.processPopoverStateContext - The context for the process popover state.\n * @param {Function} config.handleTaskClick - Function to handle task click events.\n * @param {Function} config.updatePopoverRef - Function to update the popover reference.\n * @param {Function} config.clearPopoverStateContext - Function to clear the popover state context.\n * @param {boolean} config.isLastItem - Popover to open right side or left side, If it's true opens left otherwise opens on rightside\n * @param {String} appliedRole - The current role that needs to be evaluated.\n * @returns {JSX.Element} The rendered TaskPopoverList component.\n */\nconst TaskPopoverList = ({\n\tprocess,\n\ttaskColor,\n\tprocessPopoverStateContext,\n\thandleTaskClick,\n\tupdatePopoverRef,\n\tclearPopoverStateContext,\n\tisLastItem,\n\tappliedRole = ''\n}) => {\n\tconst {taskDim, processDim} = processPopoverStateContext || {};\n\tconst {id, name, description, tasks} = process;\n\n\tconst bgColor = getBackgroundColor(taskColor);\n\tconst style = getPopoverStyle(taskDim, processDim);\n\n\treturn (\n\t\t<section\n\t\t\tid={`task-popover-${id}`}\n\t\t\tclass={{\n\t\t\t\t'task-popover': true,\n\t\t\t\t'--last': isLastItem,\n\t\t\t\t'--non-last': !isLastItem\n\t\t\t}}\n\t\t\tstyle={style}\n\t\t\thook-insert={({elm}) => updatePopoverRef(id, elm)}\n\t\t\thook-destroy={() => clearPopoverStateContext()}>\n\t\t\t<article className=\"task-popover__content\">\n\t\t\t\t<TaskPopoverHeader id={id} name={name} description={description} />\n\t\t\t\t<ul className=\"task-popover__task-list\">\n\t\t\t\t\t{tasks.map((task, index) => (\n\t\t\t\t\t\t<TaskPopoverTaskItem\n\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\ttask={task}\n\t\t\t\t\t\t\tbgColor={bgColor}\n\t\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t<\/ul>\n\t\t\t<\/article>\n\t\t<\/section>\n\t);\n};\n\nexport default TaskPopoverList;\n","export const ProcessFocus = ({\n\tparentWidth = 123, // Default width for the parent\n\tparentHeight = 34, // Default height for the parent\n\tcolor = '#5274FF',\n\tstrokeWidth = 2,\n\trx = 5\n}) => {\n\t// Dynamically calculate the viewBox based on the parent dimensions\n\tconst viewBoxWidth = parentWidth + 6;\n\tconst viewBoxHeight = parentHeight + 6;\n\n\treturn (\n\t\t<svg\n\t\t\tattrs={{\n\t\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\t\twidth: `${viewBoxWidth}`, // Take the parent container width\n\t\t\t\theight: `${viewBoxHeight}`, // Take the parent container height\n\t\t\t\tviewBox: `0 0 ${viewBoxWidth} ${viewBoxHeight}`, // Dynamic viewBox\n\t\t\t\tfill: 'none'\n\t\t\t}}>\n\t\t\t<rect\n\t\t\t\tattrs={{\n\t\t\t\t\tx: `${strokeWidth / 2}`,\n\t\t\t\t\ty: `${strokeWidth / 2}`,\n\t\t\t\t\twidth: `${viewBoxWidth - strokeWidth}`,\n\t\t\t\t\theight: `${viewBoxHeight - strokeWidth}`,\n\t\t\t\t\trx: `${rx}`,\n\t\t\t\t\tstroke: color,\n\t\t\t\t\t'stroke-width': `${strokeWidth}`\n\t\t\t\t}}\n\t\t\t/>\n\t\t<\/svg>\n\t);\n};\n","import TaskBarList from './TaskBarList';\nimport TaskPopoverList from './TaskPopoverList';\nimport {\n\tcreateInteractionHandler,\n\tcreateFocusHandler,\n\tisRolePresentInAnyTask\n} from '../utils';\nimport {t} from 'sn-translate';\nimport {ProcessFocus} from './helpers/processSVGComponents';\n\n/**\n * ProcessItem Component\n *\n * This component renders a single process item, including its name, associated task bars,\n * and an optional task popover if the process is active. It handles interactions such as\n * toggling the popover, updating the popover reference, managing focus and blur events,\n * and clearing the popover state.\n *\n * Props:\n * - process (Object): The process object containing the following properties:\n *     - id (string): Unique identifier for the process.\n *     - name (string): Name of the process.\n *     - tasks (Array): Array of task objects associated with the process.\n * - taskColor (Object): Configuration for the task bar colors.\n *     - default (string): Default hex color for the tasks.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - processPopoverStateContext (Object): Context object to track the active process popover state.\n *     - id (string): The ID of the process currently active in the popover.\n * - toggleProcessTaskPopoverList (Function): Callback function to toggle the visibility of the process task popover.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked in the task popover.\n * - updatePopoverRef (Function): Function to update the popover's DOM element reference.\n * - clearPopoverStateContext (Function): Function to clear the process popover state when the component is destroyed.\n * - onFocusProcessHandler (Function): Callback triggered when the process item gains focus.\n * - onBlurProcessHandler (Function): Callback triggered when the process item loses focus.\n * - focusedProcess (Object, optional): Represents the process that is currently focused. Contains:\n *     - id (string): The ID of the focused process.\n *     - parentWidth (number): The width of the parent container.\n *     - parentHeight (number): The height of the parent container.\n * - isLastItem (boolean): Popover to open right side or left side, If it's true opens left otherwise opens on  rightside\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Accessibility:\n * - `role=\"button\"`: Makes the process item interactive.\n * - `aria-label`: Provides an accessible label for the process item, including its name.\n * - `tabIndex=\"0\"`: Ensures the process item is focusable via keyboard navigation.\n * - `hook-insert` and `hook-destroy`: Used for managing DOM lifecycle and context cleanup.\n *\n * Behavior:\n * - Renders the process name and associated tasks using the `TaskBarList` component.\n * - Displays a `TaskPopoverList` component if the process is active in the popover state.\n * - Handles dynamic interactions like toggling the popover, managing focus, and updating popover references.\n * - Shows a visual indication when the process item is focused using the `ProcessFocus` component.\n *\n * Returns:\n * - {JSX.Element}: A div representing a process item, including task bars, focus indicators, and an optional popover.\n */\nconst ProcessItem = ({\n\tprocess,\n\ttaskColor,\n\tprocessPopoverStateContext,\n\ttoggleProcessTaskPopoverList,\n\thandleTaskClick,\n\tupdatePopoverRef,\n\tclearPopoverStateContext,\n\tonFocusProcessHandler,\n\tonBlurProcessHandler,\n\tfocusedProcess,\n\tisLastItem,\n\tappliedRole = ''\n}) => {\n\tconst {id, name} = process;\n\tconst isProcessPopoverActive = id === processPopoverStateContext.id;\n\tconst {id: focusedProcessId, parentWidth, parentHeight} =\n\t\tfocusedProcess || {};\n\tconst isFocused = focusedProcess && id === focusedProcessId;\n\treturn (\n\t\t<div\n\t\t\tid={`process-item-wrapper-${id}`}\n\t\t\tclassName=\"process-item-wrapper\"\n\t\t\trole=\"button\" // Makes it accessible as a button\n\t\t\ttabIndex=\"0\" // Allows focus for keyboard navigation\n\t\t\taria-label={t({message: 'x_snc_bpl_user_exp.process'}, [name])} // Accessible name for screen readers\n\t\t\t{...createInteractionHandler(toggleProcessTaskPopoverList(id))}\n\t\t\t{...createFocusHandler(\n\t\t\t\tonFocusProcessHandler(id),\n\t\t\t\tonBlurProcessHandler()\n\t\t\t)}>\n\t\t\t<span\n\t\t\t\trole=\"presentation\"\n\t\t\t\tclassName={['process-item-focus', isFocused && '--show']\n\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t.join(' ')}>\n\t\t\t\t<ProcessFocus\n\t\t\t\t\t{...parentWidth && {parentWidth}}\n\t\t\t\t\t{...parentHeight && {parentHeight}}\n\t\t\t\t/>\n\t\t\t<\/span>\n\t\t\t<article id={`process-item-${id}`} className=\"process-item\">\n\t\t\t\t<header className=\"process-header\">\n\t\t\t\t\t<h4\n\t\t\t\t\t\tclassName={`process-name${\n\t\t\t\t\t\t\t!isRolePresentInAnyTask(process.tasks, appliedRole)\n\t\t\t\t\t\t\t\t? ' greyed'\n\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t}`}>\n\t\t\t\t\t\t{name}\n\t\t\t\t\t<\/h4>\n\t\t\t\t<\/header>\n\t\t\t\t<TaskBarList\n\t\t\t\t\ttasks={process.tasks}\n\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t/>\n\t\t\t\t{isProcessPopoverActive && (\n\t\t\t\t\t<TaskPopoverList\n\t\t\t\t\t\tprocess={process}\n\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\tprocessPopoverStateContext={processPopoverStateContext}\n\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\tupdatePopoverRef={updatePopoverRef}\n\t\t\t\t\t\tclearPopoverStateContext={clearPopoverStateContext}\n\t\t\t\t\t\tisLastItem={isLastItem}\n\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t<\/article>\n\t\t<\/div>\n\t);\n};\n\nexport default ProcessItem;\n","import {NO_PROCESSES_AVAILABLE} from '../constants';\n\n/**\n * EmptyProcess Component\n *\n * A simple component that displays a message indicating the absence of available processes.\n * This component is intended to provide user feedback when there are no processes to display.\n *\n * Accessibility:\n * - The `role=\"note\"` attribute informs assistive technologies that this is a note-like message.\n *\n * Returns:\n * - {JSX.Element}: A div with the message \"No processes available\".\n */\nconst EmptyProcess = () => (\n\t<div className=\"empty-process\" role=\"note\">\n\t\t{NO_PROCESSES_AVAILABLE}\n\t<\/div>\n);\n\nexport default EmptyProcess;\n","import ProcessItem from './ProcessItem';\nimport EmptyProcess from './EmptyProcess';\n\n/**\n * WorkstreamProcessByPhase Component\n *\n * This component renders the list of processes within a specific phase. It handles the display of individual\n * processes and their interactions, such as popover toggling, task handling, and focus/blur events.\n * If no processes are available, it displays an empty state using the `EmptyProcess` component.\n *\n * Props:\n * - processes (Array): An array of process objects for the phase. Each process contains:\n *     - id (string): Unique identifier for the process.\n *     - name (string): Name of the process.\n *     - tasks (Array): Array of tasks associated with the process.\n * - taskColor (Object): Configuration for the task indicator colors.\n *     - default (string): Default hex color for the task indicators.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - processPopoverStateContext (Object): Context for managing the state of process popovers.\n *     - id (string): The ID of the active process in the popover.\n *     - taskDim (Object): Dimensions of the task element in the popover.\n *     - processDim (Object): Dimensions of the process container in the popover.\n * - toggleProcessTaskPopoverList (Function): Callback function to toggle the visibility of a process popover.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - updatePopoverRef (Function): Callback function to update the popover's DOM element reference.\n * - clearPopoverStateContext (Function): Callback function to clear the state context when the popover is removed.\n * - onFocusProcessHandler (Function): Callback function triggered when a process item gains focus.\n * - onBlurProcessHandler (Function): Callback function triggered when a process item loses focus.\n * - focusedProcess (Object, optional): Represents the process that is currently focused. Contains:\n *     - id (string): The ID of the focused process.\n *     - parentWidth (number): The width of the parent container.\n *     - parentHeight (number): The height of the parent container.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - Renders a list of `ProcessItem` components for each process in the phase.\n * - Passes all relevant props and state contexts to each `ProcessItem`.\n * - Displays the `EmptyProcess` component if no processes are available.\n * - Handles dynamic interactions like toggling the popover, updating references, and managing focus/blur events.\n *\n * Accessibility:\n * - Ensures all processes and tasks are interactive and accessible via keyboard and screen readers.\n * - Delegates interaction handling (e.g., click, keyboard events, focus, blur) to the `ProcessItem` component.\n *\n * Returns:\n * - {JSX.Element}: A section element containing the list of processes or an empty state.\n */\nconst WorkstreamProcessByPhase = ({\n\tprocesses,\n\ttaskColor,\n\tprocessPopoverStateContext,\n\ttoggleProcessTaskPopoverList,\n\thandleTaskClick,\n\tupdatePopoverRef,\n\tclearPopoverStateContext,\n\tonFocusProcessHandler,\n\tonBlurProcessHandler,\n\tfocusedProcess,\n\tisLastItem,\n\tappliedRole = ''\n}) => (\n\t<section className=\"workstream-process-by-phase\">\n\t\t<div className=\"process-list\" role=\"list\">\n\t\t\t{processes.length > 0 ? (\n\t\t\t\tprocesses.map((process, index) => (\n\t\t\t\t\t<div role=\"listitem\">\n\t\t\t\t\t\t<ProcessItem\n\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\tprocess={process}\n\t\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\t\tprocessPopoverStateContext={processPopoverStateContext}\n\t\t\t\t\t\t\ttoggleProcessTaskPopoverList={toggleProcessTaskPopoverList}\n\t\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\t\tupdatePopoverRef={updatePopoverRef}\n\t\t\t\t\t\t\tclearPopoverStateContext={clearPopoverStateContext}\n\t\t\t\t\t\t\tonFocusProcessHandler={onFocusProcessHandler}\n\t\t\t\t\t\t\tonBlurProcessHandler={onBlurProcessHandler}\n\t\t\t\t\t\t\tfocusedProcess={focusedProcess}\n\t\t\t\t\t\t\tisLastItem={isLastItem}\n\t\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t\t/>\n\t\t\t\t\t<\/div>\n\t\t\t\t))\n\t\t\t) : (\n\t\t\t\t<div role=\"listitem\" className=\"empty-process\">\n\t\t\t\t\t<EmptyProcess />\n\t\t\t\t<\/div>\n\t\t\t)}\n\t\t<\/div>\n\t<\/section>\n);\n\nexport default WorkstreamProcessByPhase;\n","import WorkstreamProcessByPhase from './WorkstreamProcessByPhase';\nimport {hexToRgb} from '../utils';\nimport {isLastItem} from './helpers/isLast';\n\n/**\n * WorkstreamProcessList Component\n *\n * This component renders the list of processes for each phase associated with a workstream.\n * Each phase's processes are displayed using the `WorkstreamProcessByPhase` component.\n *\n * Props:\n * - phases (Array): An array of phase objects associated with the workstream.\n *     - id (string): Unique identifier for the phase.\n *     - name (string): Name of the phase.\n * - workstreamsRowData (Object): Data object containing phase and process information for the workstream.\n *     - phases (Array): List of phase objects with their respective processes.\n * - taskColor (Object): Configuration for the task bar colors.\n *     - default (string): Default hex color for the task indicators.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - borderColor (Object): Configuration for the border color of the component.\n *     - default (string): Default hex color for the border.\n *     - color (string, optional): Custom CSS variable for the border color.\n * - processPopoverStateContext (Object): Context for managing the state of process popovers.\n *     - id (string): The ID of the active process in the popover.\n *     - taskDim (Object): Dimensions of the task element in the popover.\n *     - processDim (Object): Dimensions of the process container in the popover.\n * - toggleProcessTaskPopoverList (Function): Callback function to toggle the visibility of a process popover.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - updatePopoverRef (Function): Callback function to update the popover's DOM element reference.\n * - clearPopoverStateContext (Function): Callback function to clear the state context when the popover is removed.\n * - onFocusProcessHandler (Function): Callback function triggered when a process item gains focus.\n * - onBlurProcessHandler (Function): Callback function triggered when a process item loses focus.\n * - focusedProcess (Object, optional): Represents the process that is currently focused. Contains:\n *     - id (string): The ID of the focused process.\n *     - parentWidth (number): The width of the parent container.\n *     - parentHeight (number): The height of the parent container.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - Maps over the `phases` array to render a `WorkstreamProcessByPhase` component for each phase.\n * - Finds the corresponding phase data from `workstreamsRowData.phases` for rendering processes.\n * - Dynamically applies a border color to the section based on `borderColor` configuration.\n * - Passes all relevant props and context to each `WorkstreamProcessByPhase` component.\n * - Handles focus and blur events via the `onFocusProcessHandler` and `onBlurProcessHandler` callbacks.\n *\n * Accessibility:\n * - Ensures processes and tasks within each phase are interactive and accessible via keyboard and screen readers.\n *\n * Returns:\n * - {JSX.Element}: A section element containing the list of processes grouped by phase.\n */\nconst WorkstreamProcessList = ({\n\tphases,\n\tworkstreamsRowData,\n\ttaskColor,\n\tborderColor,\n\tprocessPopoverStateContext,\n\ttoggleProcessTaskPopoverList,\n\thandleTaskClick,\n\tupdatePopoverRef,\n\tclearPopoverStateContext,\n\tonFocusProcessHandler,\n\tonBlurProcessHandler,\n\tfocusedProcess,\n\tappliedRole = ''\n}) => {\n\tconst {r, g, b} = hexToRgb(borderColor.default);\n\tconst borderTopColor = borderColor.color\n\t\t? `rgb(var(${borderColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\n\treturn (\n\t\t<section\n\t\t\tclassName=\"workstream-process-list\"\n\t\t\tstyle={{borderTop: `2px solid ${borderTopColor}`}}>\n\t\t\t{phases.map((phase, index, {length}) => {\n\t\t\t\tconst phaseData = workstreamsRowData.phases.find(\n\t\t\t\t\t(p) => p.id === phase.id\n\t\t\t\t) || {processes: []};\n\t\t\t\treturn (\n\t\t\t\t\t<WorkstreamProcessByPhase\n\t\t\t\t\t\tkey={phase.id}\n\t\t\t\t\t\tprocesses={phaseData.processes}\n\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\tprocessPopoverStateContext={processPopoverStateContext}\n\t\t\t\t\t\ttoggleProcessTaskPopoverList={toggleProcessTaskPopoverList}\n\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\tupdatePopoverRef={updatePopoverRef}\n\t\t\t\t\t\tclearPopoverStateContext={clearPopoverStateContext}\n\t\t\t\t\t\tonFocusProcessHandler={onFocusProcessHandler}\n\t\t\t\t\t\tonBlurProcessHandler={onBlurProcessHandler}\n\t\t\t\t\t\tfocusedProcess={focusedProcess}\n\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t\t{...isLastItem(index, length) && {isLastItem: true}}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\t})}\n\t\t<\/section>\n\t);\n};\n\nexport default WorkstreamProcessList;\n","/**\n * Find is last item of index and length.\n *\n * @param {number} index - The index of the item.\n * @param {number} length - The total number of items.\n * @returns {boolean} true/false.\n *\n */\nexport const isLastItem = (index, length) => {\n\treturn index === length - 1;\n};\n","export const TaskFocus = ({\n\twidth = 222,\n\theight = 20,\n\tcolor = '#5274FF',\n\tstrokeWidth = 2,\n\trx = 6\n}) => (\n\t<svg\n\t\tattrs={{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: `${width}`,\n\t\t\theight: `${height}`,\n\t\t\tviewBox: `0 0 ${width} ${height}`,\n\t\t\tfill: 'none'\n\t\t}}>\n\t\t<rect\n\t\t\tattrs={{\n\t\t\t\tx: `${strokeWidth / 2}`,\n\t\t\t\ty: `${strokeWidth / 2}`,\n\t\t\t\twidth: `${width - strokeWidth}`,\n\t\t\t\theight: `${height - strokeWidth}`,\n\t\t\t\trx: `${rx}`,\n\t\t\t\tstroke: color,\n\t\t\t\t'stroke-width': `${strokeWidth}`\n\t\t\t}}\n\t\t/>\n\t<\/svg>\n);\n","import {\n\tcreateInteractionHandler,\n\thexToRgb,\n\tcreateFocusHandler,\n\tgetClassNameForTaskItem\n} from '../utils';\nimport {TaskFocus} from './helpers/taskSVGComponents';\n\n/**\n * TaskItem Component\n *\n * This component renders a list of tasks, each represented as an interactive item with a colored indicator.\n * The component provides accessibility features and supports click and keyboard interactions for each task.\n *\n * Props:\n * - tasks (Array): An array of task objects, where each task contains:\n *     - id (string): Unique identifier for the task.\n *     - name (string): Name of the task.\n * - taskColor (Object): Configuration for the task colors.\n *     - default (string): Default hex color for the task indicators.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - onFocusTaskHandler (Function): Callback function to handle actions when a task gains focus.\n * - onBlurTaskHandler (Function): Callback function to handle actions when a task loses focus.\n * - focusedTaskId (string): ID of the currently focused task.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Accessibility:\n * - `role=\"button\"`: Marks each task as an interactive element for assistive technologies.\n * - `tabIndex=\"0\"`: Makes each task focusable for keyboard navigation.\n * - `aria-label`: Provides a clear, accessible name for each task.\n *\n * Behavior:\n * - Converts the default hex color to RGB using the `hexToRgb` utility.\n * - Applies the task color using a CSS variable if provided, or falls back to the computed RGB color.\n * - Maps over the `tasks` array to render each task as an interactive list item.\n * - Uses `createInteractionHandler` to handle both click and keyboard events for task interaction.\n *\n * Returns:\n * - {JSX.Element}: An unordered list of interactive task items with visual indicators and accessible attributes.\n */\nconst TaskItem = ({\n\ttasks,\n\ttaskColor,\n\thandleTaskClick,\n\tonFocusTaskHandler,\n\tonBlurTaskHandler,\n\tfocusedTaskId,\n\tappliedRole = ''\n}) => {\n\tconst {r, g, b} = hexToRgb(taskColor.default);\n\tconst bgColor = taskColor.color\n\t\t? `rgb(var(${taskColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\treturn (\n\t\t<ul className=\"task-list\">\n\t\t\t{tasks.map((task) => {\n\t\t\t\tconst isFocused = task.id === focusedTaskId;\n\t\t\t\treturn (\n\t\t\t\t\t<li\n\t\t\t\t\t\tkey={task.id}\n\t\t\t\t\t\tclassName={getClassNameForTaskItem(task, appliedRole)}>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tid={`task-${task.id}`}\n\t\t\t\t\t\t\tclassName=\"task-content\"\n\t\t\t\t\t\t\trole=\"button\" // Makes it accessible as a button\n\t\t\t\t\t\t\ttabIndex=\"0\" // Allows focus for keyboard navigation\n\t\t\t\t\t\t\taria-label={task.name} // Accessible name for screen readers\n\t\t\t\t\t\t\t{...createInteractionHandler(handleTaskClick(task))}\n\t\t\t\t\t\t\t{...createFocusHandler(\n\t\t\t\t\t\t\t\tonFocusTaskHandler(task),\n\t\t\t\t\t\t\t\tonBlurTaskHandler()\n\t\t\t\t\t\t\t)}>\n\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\t\t\tclassName={['task-content-focus', isFocused && '--show']\n\t\t\t\t\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t\t\t\t\t.join(' ')}>\n\t\t\t\t\t\t\t\t<TaskFocus />\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\t\t\tclassName=\"task-indicator\"\n\t\t\t\t\t\t\t\tstyle={{background: `${bgColor}`}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<p className=\"task-name\">{task.name}<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/li>\n\t\t\t\t);\n\t\t\t})}\n\t\t<\/ul>\n\t);\n};\n\nexport default TaskItem;\n","import {getClassNameForProcessTaskHeader} from '../utils';\nimport TaskItem from './TaskItem';\n\n/**\n * ProcessTaskItem Component\n *\n * This component renders a single process task item, including the process name and\n * a list of tasks associated with the process. The tasks are rendered using the `TaskItem`\n * component, and interactions are handled via the provided callback functions.\n *\n * Props:\n * - process (Object): The process object containing the following properties:\n *     - name (string): Name of the process.\n * - tasks (Array): An array of task objects associated with the process.\n * - taskColor (Object): Configuration for the task bar colors.\n *     - default (string): Default hex color for the tasks.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - onFocusTaskHandler (Function): Callback function to handle actions when a task gains focus.\n * - onBlurTaskHandler (Function): Callback function to handle actions when a task loses focus.\n * - focusedTaskId (string): ID of the currently focused task.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - Displays the process name in a header section.\n * - Renders the associated tasks using the `TaskItem` component.\n * - Passes the `handleTaskClick` callback to the `TaskItem` component to handle task interactions.\n *\n * Returns:\n * - {JSX.Element}: An article element representing a process task item, including its name and associated tasks.\n */\nconst ProcessTaskItem = ({\n\tprocess,\n\ttasks,\n\ttaskColor,\n\thandleTaskClick,\n\tonFocusTaskHandler,\n\tonBlurTaskHandler,\n\tfocusedTaskId,\n\tappliedRole = ''\n}) => {\n\treturn (\n\t\t<article className=\"process-task-item\">\n\t\t\t<header className=\"process-task-header\">\n\t\t\t\t<h4 className={getClassNameForProcessTaskHeader(tasks, appliedRole)}>\n\t\t\t\t\t{process.name}\n\t\t\t\t<\/h4>\n\t\t\t<\/header>\n\t\t\t<TaskItem\n\t\t\t\ttasks={tasks}\n\t\t\t\ttaskColor={taskColor}\n\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\tonFocusTaskHandler={onFocusTaskHandler}\n\t\t\t\tonBlurTaskHandler={onBlurTaskHandler}\n\t\t\t\tfocusedTaskId={focusedTaskId}\n\t\t\t\tappliedRole={appliedRole}\n\t\t\t/>\n\t\t<\/article>\n\t);\n};\n\nexport default ProcessTaskItem;\n","import ProcessTaskItem from './ProcessTaskItem';\nimport EmptyProcess from './EmptyProcess';\n\n/**\n * ProcessTasksForWorkstream Component\n *\n * This component renders a list of processes and their associated tasks for a specific workstream.\n * If no processes are available, it displays an empty state using the `EmptyProcess` component.\n *\n * Props:\n * - processes (Array): An array of process objects, where each object contains:\n *     - id (string): Unique identifier for the process.\n *     - name (string): Name of the process.\n *     - tasks (Array): Array of task objects associated with the process.\n * - taskColor (Object): Configuration for the task bar colors.\n *     - default (string): Default hex color for the tasks.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - onFocusTaskHandler (Function): Callback function to handle actions when a task gains focus.\n * - onBlurTaskHandler (Function): Callback function to handle actions when a task loses focus.\n * - focusedTaskId (string): ID of the currently focused task.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - If `processes` is not empty, renders a list of `ProcessTaskItem` components for each process.\n * - Each process is rendered as a list item (`<li>`) for semantic HTML structure.\n * - If no processes are available, renders an empty state using the `EmptyProcess` component.\n *\n * Returns:\n * - {JSX.Element}: An unordered list of processes and tasks, or an empty state if no processes are available.\n */\nconst ProcessTasksForWorkstream = ({\n\tprocesses,\n\ttaskColor,\n\thandleTaskClick,\n\tonFocusTaskHandler,\n\tonBlurTaskHandler,\n\tfocusedTaskId,\n\tappliedRole = ''\n}) => {\n\treturn (\n\t\t<ul className=\"process-tasks-for-workstream\">\n\t\t\t{processes.length > 0 ? (\n\t\t\t\tprocesses.map((process, index) => (\n\t\t\t\t\t<li key={index} className=\"process-item\">\n\t\t\t\t\t\t<ProcessTaskItem\n\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\tprocess={process}\n\t\t\t\t\t\t\ttasks={process.tasks}\n\t\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\t\tonFocusTaskHandler={onFocusTaskHandler}\n\t\t\t\t\t\t\tonBlurTaskHandler={onBlurTaskHandler}\n\t\t\t\t\t\t\tfocusedTaskId={focusedTaskId}\n\t\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t\t/>\n\t\t\t\t\t<\/li>\n\t\t\t\t))\n\t\t\t) : (\n\t\t\t\t<li className=\"empty-process-item\">\n\t\t\t\t\t<EmptyProcess />\n\t\t\t\t<\/li>\n\t\t\t)}\n\t\t<\/ul>\n\t);\n};\n\nexport default ProcessTasksForWorkstream;\n","import ProcessTasksForWorkstream from './ProcessTasksForWorkstream';\nimport {hexToRgb} from '../utils';\n\n/**\n * WorkstreamProcessTaskList Component\n *\n * This component renders a list of tasks for each phase within a workstream.\n * Tasks are grouped by their respective phases and displayed using the `ProcessTasksForWorkstream` component.\n *\n * Props:\n * - phases (Array): An array of phase objects associated with the workstream.\n *     - id (string): Unique identifier for the phase.\n *     - name (string): Name of the phase.\n * - workstreamsRowData (Object): Data object containing phase and process information for the workstream.\n *     - phases (Array): List of phase objects with their respective processes and tasks.\n * - taskColor (Object): Configuration for the task indicator colors.\n *     - default (string): Default hex color for the task indicators.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - borderColor (Object): Configuration for the border color of the component.\n *     - default (string): Default hex color for the border.\n *     - color (string, optional): Custom CSS variable for the border color.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - onFocusTaskHandler (Function): Callback function to handle actions when a task gains focus.\n * - onBlurTaskHandler (Function): Callback function to handle actions when a task loses focus.\n * - focusedTaskId (string): ID of the currently focused task.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - Maps over the `phases` array to render a `ProcessTasksForWorkstream` component for each phase.\n * - Dynamically applies a border color to the component based on `borderColor` configuration.\n * - Passes relevant props to `ProcessTasksForWorkstream` for rendering tasks within processes.\n *\n * Accessibility:\n * - Ensures that tasks within each phase are interactive and accessible via keyboard and screen readers.\n *\n * Returns:\n * - {JSX.Element}: An unordered list element containing tasks grouped by phase.\n */\nconst WorkstreamProcessTaskList = ({\n\tphases,\n\tworkstreamsRowData,\n\ttaskColor,\n\tborderColor,\n\thandleTaskClick,\n\tonFocusTaskHandler,\n\tonBlurTaskHandler,\n\tfocusedTaskId,\n\tappliedRole = ''\n}) => {\n\tconst {r, g, b} = hexToRgb(borderColor.default);\n\tconst borderTopColor = borderColor.color\n\t\t? `rgb(var(${borderColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\n\treturn (\n\t\t<ul\n\t\t\tclassName=\"workstream-process-task-list\"\n\t\t\tstyle={{borderTop: `2px solid ${borderTopColor}`}}>\n\t\t\t{phases.map((phase) => {\n\t\t\t\tconst phaseData = workstreamsRowData.phases.find(\n\t\t\t\t\t(p) => p.id === phase.id\n\t\t\t\t) || {processes: []};\n\t\t\t\treturn (\n\t\t\t\t\t<li key={phase.id} className=\"phase-item\">\n\t\t\t\t\t\t<ProcessTasksForWorkstream\n\t\t\t\t\t\t\tkey={phase.id}\n\t\t\t\t\t\t\tprocesses={phaseData.processes}\n\t\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\t\tonFocusTaskHandler={onFocusTaskHandler}\n\t\t\t\t\t\t\tonBlurTaskHandler={onBlurTaskHandler}\n\t\t\t\t\t\t\tfocusedTaskId={focusedTaskId}\n\t\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t\t/>\n\t\t\t\t\t<\/li>\n\t\t\t\t);\n\t\t\t})}\n\t\t<\/ul>\n\t);\n};\n\nexport default WorkstreamProcessTaskList;\n","import '@servicenow/now-icon';\nimport {\n\tcreateInteractionHandler,\n\tgetClassNameForCollapsibleProcessTaskHeaderContent,\n\tgetClassNameForCollapsibleProcessTaskIndicator,\n\tgetClassNameForCollapsibleProcessTaskItem,\n\thexToRgb,\n\tisRolePresentInTask\n} from '../utils';\nimport {COLLAPSE_TASK_LIST, EXPAND_TASK_LIST} from '../constants';\n\n/**\n * CollapsibleProcessTask Component\n *\n * A component that renders a collapsible list of tasks associated with a process.\n * Allows users to expand or collapse the task list and interact with individual tasks.\n *\n * Props:\n * - process (Object): The process object containing information about the process.\n *     - id (string): Unique identifier for the process.\n *     - name (string): Name of the process.\n *     - description (string): Description of the process.\n *     - taskCount (number): Total number of tasks in the process.\n * - tasks (Array): An array of task objects associated with the process.\n *     - id (string): Unique identifier for the task.\n *     - name (string): Name of the task.\n *     - description (string): Description of the task.\n * - taskColor (Object): Object defining the color properties of the task indicators.\n *     - default (string): Default color in hex format.\n *     - color (string, optional): CSS variable for a custom task color.\n * - isCollapsed (boolean): Indicates whether the task list is collapsed.\n * - toggleProcessExpandCollapse (Function): Callback function to toggle the expansion or collapse of the process.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Returns:\n * - JSX.Element: A collapsible task list with interactive headers and tasks.\n */\nconst CollapsibleProcessTask = ({\n\tprocess,\n\ttasks,\n\ttaskColor,\n\tisCollapsed,\n\ttoggleProcessExpandCollapse,\n\thandleTaskClick,\n\tappliedRole = ''\n}) => {\n\tconst {r, g, b} = hexToRgb(taskColor.default);\n\tconst barColor = taskColor.color\n\t\t? `rgb(var(${taskColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\n\treturn (\n\t\t<article\n\t\t\tclassName={['collapsible-process-task', isCollapsed && '--collapsed']\n\t\t\t\t.filter(Boolean)\n\t\t\t\t.join(' ')}>\n\t\t\t<header\n\t\t\t\tclassName={[\n\t\t\t\t\t'collapsible-process-task__header',\n\t\t\t\t\tisCollapsed && '--collapsed'\n\t\t\t\t]\n\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t.join(' ')}\n\t\t\t\trole=\"button\" // Makes it accessible as a button\n\t\t\t\ttabIndex=\"0\" // Allows focus for keyboard navigation\n\t\t\t\t{...createInteractionHandler(\n\t\t\t\t\ttoggleProcessExpandCollapse({id: process.id, name: process.name})\n\t\t\t\t)}\n\t\t\t\taria-expanded={!isCollapsed}\n\t\t\t\taria-controls={`process-tasks-${process.id}`}\n\t\t\t\taria-label={!isCollapsed ? COLLAPSE_TASK_LIST : EXPAND_TASK_LIST}>\n\t\t\t\t<section\n\t\t\t\t\tclassName={getClassNameForCollapsibleProcessTaskHeaderContent(\n\t\t\t\t\t\ttasks,\n\t\t\t\t\t\tappliedRole\n\t\t\t\t\t)}>\n\t\t\t\t\t<article className=\"collapsible-process-task__info\">\n\t\t\t\t\t\t<h4 className=\"collapsible-process-task__name\">{process.name}<\/h4>\n\t\t\t\t\t\t<article className=\"collapsible-process-task__details\">\n\t\t\t\t\t\t\t{isCollapsed && (\n\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\tclassName=\"collapsible-process-task__indicators\"\n\t\t\t\t\t\t\t\t\trole=\"presentation\">\n\t\t\t\t\t\t\t\t\t{tasks.map((task, index) => (\n\t\t\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\t\t\t\t\tclassName={getClassNameForCollapsibleProcessTaskIndicator(\n\t\t\t\t\t\t\t\t\t\t\t\ttask,\n\t\t\t\t\t\t\t\t\t\t\t\tappliedRole\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\tstyle={{backgroundColor: barColor}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\tclassName=\"collapsible-process-task__count\"\n\t\t\t\t\t\t\t\trole=\"presentation\">{`${tasks.reduce(\n\t\t\t\t\t\t\t\t(currentSum, currentTask) =>\n\t\t\t\t\t\t\t\t\tcurrentSum +\n\t\t\t\t\t\t\t\t\t(isRolePresentInTask(currentTask, appliedRole) ? 1 : 0),\n\t\t\t\t\t\t\t\t0\n\t\t\t\t\t\t\t)} Task(s)`}<\/span>\n\t\t\t\t\t\t<\/article>\n\t\t\t\t\t<\/article>\n\t\t\t\t\t<p className=\"collapsible-process-task__process-desc\">\n\t\t\t\t\t\t{process.description}\n\t\t\t\t\t<\/p>\n\t\t\t\t<\/section>\n\t\t\t\t<span\n\t\t\t\t\tclassName=\"collapsible-process-task__toggle-icon\"\n\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t<now-icon\n\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\tconfig-aria={{\n\t\t\t\t\t\t\tsvg: {\n\t\t\t\t\t\t\t\t'aria-hidden': true\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t\ticon={!isCollapsed ? 'chevron-up-outline' : 'chevron-down-outline'}\n\t\t\t\t\t\tsize=\"md\"\n\t\t\t\t\t/>\n\t\t\t\t<\/span>\n\t\t\t<\/header>\n\t\t\t{!isCollapsed && (\n\t\t\t\t<section\n\t\t\t\t\tid={`process-tasks-${process.id}`}\n\t\t\t\t\tclassName=\"collapsible-process-task__list\">\n\t\t\t\t\t{tasks.map((task) => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tkey={task.id}\n\t\t\t\t\t\t\tclassName={getClassNameForCollapsibleProcessTaskItem(\n\t\t\t\t\t\t\t\ttask,\n\t\t\t\t\t\t\t\tappliedRole\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\trole=\"button\" // Makes it accessible as a button\n\t\t\t\t\t\t\ttabIndex=\"0\" // Allows focus for keyboard navigation\n\t\t\t\t\t\t\t{...createInteractionHandler(handleTaskClick(task))}>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName=\"collapsible-process-task__content\"\n\t\t\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\t\t\ttabIndex=\"0\">\n\t\t\t\t\t\t\t\t<div className=\"collapsible-process-task__indicator-wrap\">\n\t\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\t\tclassName=\"collapsible-process-task__indicator-box\"\n\t\t\t\t\t\t\t\t\t\tstyle={{backgroundColor: barColor}}\n\t\t\t\t\t\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div className=\"collapsible-process-task__details\">\n\t\t\t\t\t\t\t\t\t<h5 className=\"collapsible-process-task__task-name\">\n\t\t\t\t\t\t\t\t\t\t{task.name}\n\t\t\t\t\t\t\t\t\t<\/h5>\n\t\t\t\t\t\t\t\t\t<p className=\"collapsible-process-task__task-desc\">\n\t\t\t\t\t\t\t\t\t\t{task.description}\n\t\t\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div className=\"utility-buttons\" role=\"presentation\">\n\t\t\t\t\t\t\t\t<now-icon icon=\"chevron-right-outline\" size=\"sm\" />\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t))}\n\t\t\t\t<\/section>\n\t\t\t)}\n\t\t<\/article>\n\t);\n};\n\nexport default CollapsibleProcessTask;\n","import EmptyProcess from './EmptyProcess';\nimport CollapsableProcessTask from './CollapsableProcessTask';\nimport find from 'lodash/find';\n\n/**\n * ProcessTasksForPhase Component\n *\n * This component renders a list of processes and their associated tasks for a specific phase.\n * If no processes are available, it displays an empty state using the `EmptyProcess` component.\n * Each process can be expanded or collapsed, and interactions are handled via provided callbacks.\n *\n * Props:\n * - processes (Array): An array of process objects, where each object contains:\n *     - id (string): Unique identifier for the process.\n *     - name (string): Name of the process.\n *     - tasks (Array): Array of task objects associated with the process.\n * - taskColor (Object): Configuration for the task bar colors.\n *     - default (string): Default hex color for the tasks.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - processesCollapsedStateContext (Array): Context state tracking the collapsed or expanded state of processes.\n *     - id (string): Unique identifier for the process.\n *     - isCollapsed (boolean): Indicates whether the process is collapsed.\n * - toggleProcessExpandCollapse (Function): Callback function triggered to toggle the expansion or collapse of a process.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - If `processes` is not empty, renders a list of `CollapsableProcessTask` components for each process.\n * - Uses `processesCollapsedStateContext` to determine whether each process is collapsed.\n * - If no processes are available, renders an empty state using the `EmptyProcess` component.\n * - Each process is rendered as a list item (`<li>`) for semantic HTML structure.\n *\n * Returns:\n * - {JSX.Element}: An unordered list of processes and tasks, or an empty state if no processes are available.\n */\nconst ProcessTasksForPhase = ({\n\tprocesses,\n\ttaskColor,\n\tprocessesCollapsedStateContext,\n\ttoggleProcessExpandCollapse,\n\thandleTaskClick,\n\tappliedRole = ''\n}) => {\n\treturn (\n\t\t<ul className=\"process-tasks-for-phase\">\n\t\t\t{processes.length > 0 ? (\n\t\t\t\tprocesses.map((process, index) => {\n\t\t\t\t\t// Get the isCollapsed property directly, fallback to true if not found\n\t\t\t\t\tconst isCollapsed =\n\t\t\t\t\t\tfind(processesCollapsedStateContext, (p) => p.id === process.id)\n\t\t\t\t\t\t\t?.isCollapsed ?? true;\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<li key={index} className=\"process-item\">\n\t\t\t\t\t\t\t<CollapsableProcessTask\n\t\t\t\t\t\t\t\tprocess={process}\n\t\t\t\t\t\t\t\ttasks={process.tasks}\n\t\t\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\t\t\tisCollapsed={isCollapsed}\n\t\t\t\t\t\t\t\ttoggleProcessExpandCollapse={toggleProcessExpandCollapse}\n\t\t\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t) : (\n\t\t\t\t<li className=\"empty-process-item\">\n\t\t\t\t\t<EmptyProcess />\n\t\t\t\t<\/li>\n\t\t\t)}\n\t\t<\/ul>\n\t);\n};\n\nexport default ProcessTasksForPhase;\n","import ProcessTasksForPhase from './ProcessTasksForPhase';\nimport {hexToRgb} from '../utils';\nimport find from 'lodash/find';\nimport get from 'lodash/get';\nimport {t} from 'sn-translate';\n\n/**\n * WorkstreamTasksForPhaseExpanded Component\n *\n * This component renders the list of processes and tasks for a specific phase within a workstream\n * when the phase is in expanded mode. It ensures the correct phase and its processes are displayed\n * based on the provided `appliedPhaseId`.\n *\n * Props:\n * - appliedPhaseId (string): The ID of the phase currently in expanded mode.\n * - workstreamsRowData (Object): Data object containing workstream processes and tasks grouped by phases.\n *     - phases (Array): Array of phase objects, each containing:\n *         - id (string): Unique identifier for the phase.\n *         - name (string): Name of the phase.\n *         - processes (Array): List of processes associated with the phase.\n * - taskColor (Object): Configuration for task indicator colors.\n *     - default (string): Default hex color for the task indicators.\n *     - color (string, optional): Custom CSS variable for task colors.\n * - borderColor (Object): Configuration for the border color of the component.\n *     - default (string): Default hex color for the border.\n *     - color (string, optional): Custom CSS variable for the border color.\n * - processesCollapsedStateContext (Object): Context state tracking collapsed or expanded processes.\n * - toggleProcessExpandCollapse (Function): Callback function to toggle the collapse/expand state of a process.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - Finds the matching phase from `workstreamsRowData` based on `appliedPhaseId`.\n * - Extracts the processes associated with the matched phase.\n * - Renders the `ProcessTasksForPhase` component to display the processes and their tasks.\n * - Dynamically applies the border color to the component based on `borderColor` configuration.\n *\n * Accessibility:\n * - Includes an `aria-label` for the section to describe the tasks for the expanded phase.\n * - Ensures all tasks and processes are interactive and accessible via keyboard and screen readers.\n *\n * Returns:\n * - {JSX.Element|null}: A section element containing tasks for the expanded phase or `null` if no matching phase is found.\n */\nconst WorkstreamTasksForPhaseExpanded = ({\n\tappliedPhaseId,\n\tworkstreamsRowData,\n\ttaskColor,\n\tborderColor,\n\tprocessesCollapsedStateContext,\n\ttoggleProcessExpandCollapse,\n\thandleTaskClick,\n\tappliedRole = ''\n}) => {\n\tconst {r, g, b} = hexToRgb(borderColor.default);\n\tconst borderTopColor = borderColor.color\n\t\t? `rgb(var(${borderColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\n\t// Find the matching phase by appliedPhaseId\n\tconst matchingPhase = find(workstreamsRowData.phases, {id: appliedPhaseId});\n\n\tconst extractProcesses = (workstreamsRowData, appliedPhaseId) => {\n\t\t// Find the matching phase by appliedPhaseId\n\t\tconst matchingPhase = find(workstreamsRowData.phases, {id: appliedPhaseId});\n\n\t\t// If matching phase is found, return the processes, otherwise return an empty array\n\t\treturn matchingPhase ? get(matchingPhase, 'processes', []) : [];\n\t};\n\n\treturn (\n\t\tmatchingPhase && (\n\t\t\t<section\n\t\t\t\tclassName=\"workstream-tasks-for-phase\"\n\t\t\t\taria-label={t(\n\t\t\t\t\t{message: 'x_snc_bpl_user_exp.workstream.tasks.for'},\n\t\t\t\t\tmatchingPhase.name\n\t\t\t\t)}\n\t\t\t\tstyle={{borderTop: `2px solid ${borderTopColor}`}}>\n\t\t\t\t<ProcessTasksForPhase\n\t\t\t\t\tkey={appliedPhaseId}\n\t\t\t\t\tprocesses={extractProcesses(workstreamsRowData, appliedPhaseId)}\n\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\tprocessesCollapsedStateContext={processesCollapsedStateContext}\n\t\t\t\t\ttoggleProcessExpandCollapse={toggleProcessExpandCollapse}\n\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t/>\n\t\t\t<\/section>\n\t\t)\n\t);\n};\n\nexport default WorkstreamTasksForPhaseExpanded;\n","import {hexToRgb} from '../utils';\nimport WorkstreamName from './WorkstreamName';\nimport WorkstreamProcessList from './WorkstreamProcessList';\nimport WorkstreamProcessTaskList from './WorkstreamProcessTaskList';\nimport WorkstreamTasksForPhaseExpanded from './WorkstreamTasksForPhaseExpanded';\n\n/**\n * WorkstreamRow Component\n *\n * This component renders a row for a workstream, dynamically displaying either processes or tasks\n * based on the expansion state (`isExpanded`) and phase mode (`isPhaseExpandedMode`). It also\n * manages focus and blur events for workstreams, processes, and tasks, ensuring accessibility\n * and dynamic interactions.\n *\n * Props:\n * - workstream (Object): The data object for the workstream containing:\n *     - backgroundColor (Object): The background color for the workstream row.\n *         - default (string): Default hex color.\n *         - color (string, optional): CSS variable for the color.\n *     - highlighterColor (Object): Color configuration for the workstream highlighter.\n *     - borderColor (Object): Color configuration for the row border.\n *     - taskColor (Object): Color configuration for task indicators.\n * - isExpanded (boolean): Indicates whether the workstream is expanded.\n * - phases (Array): Array of phases associated with the workstream.\n * - appliedPhaseId (string): ID of the currently expanded phase.\n * - workstreamsRowData (Object): Data about processes and tasks for the workstream.\n * - handleWorkstreamClick (Function): Callback function triggered when a workstream is clicked.\n * - isPhaseExpandedMode (boolean): Indicates whether the phase is in expanded mode.\n * - processesCollapsedStateContext (Object): Context state tracking collapsed/expanded processes.\n * - toggleProcessExpandCollapse (Function): Callback function to toggle process expansion or collapse.\n * - handleTaskClick (Function): Callback function triggered when a task is clicked.\n * - processPopoverStateContext (Object): Context for managing process popovers.\n * - toggleProcessTaskPopoverList (Function): Callback function to toggle the visibility of process popovers.\n * - updatePopoverRef (Function): Callback function to update the DOM reference for a popover task element.\n * - clearPopoverStateContext (Function): Callback function to clear the process popover state context.\n * - onFocusTaskHandler (Function): Callback function to handle actions when a task gains focus.\n * - onBlurTaskHandler (Function): Callback function to handle actions when a task loses focus.\n * - focusedTaskId (string): ID of the currently focused task.\n * - onFocusProcessHandler (Function): Callback function to handle actions when a process gains focus.\n * - onBlurProcessHandler (Function): Callback function to handle actions when a process loses focus.\n * - focusedProcess (Object, optional): Represents the process that is currently focused. Contains:\n *     - id (string): The ID of the focused process.\n *     - parentWidth (number): The width of the parent container.\n *     - parentHeight (number): The height of the parent container.\n * - onFocusWorkstreamHandler (Function): Callback function to handle actions when the workstream gains focus.\n * - onBlurWorkstreamHandler (Function): Callback function to handle actions when the workstream loses focus.\n * - focusedWorkstreamId (string): ID of the currently focused workstream.\n * - appliedRole (string): The current role that needs to be evaluated.\n *\n * Behavior:\n * - Displays the `WorkstreamName` component at the top of the row with highlighter and focus support.\n * - Dynamically renders different components based on the `isExpanded` and `isPhaseExpandedMode` flags:\n *     - `WorkstreamTasksForPhaseExpanded` if the phase is expanded.\n *     - `WorkstreamProcessTaskList` for the list of processes and tasks.\n *     - `WorkstreamProcessList` for processes grouped by phases.\n * - Applies the background color dynamically based on `backgroundColor`.\n * - Handles focus and blur events for the workstream, processes, and tasks to ensure keyboard navigation.\n *\n * Accessibility:\n * - Interactive components like workstream names, processes, and tasks are accessible via keyboard and mouse.\n * - The `WorkstreamName` component ensures keyboard navigation and screen-reader compatibility.\n * - Focus and blur handlers are applied to provide proper visual and functional feedback for interactive elements.\n *\n * Returns:\n * - {JSX.Element}: A styled `div` containing the workstream name and associated processes or tasks.\n */\nconst WorkstreamRow = ({\n\tworkstream,\n\tisExpanded,\n\tphases,\n\tappliedPhaseId,\n\tworkstreamsRowData,\n\thandleWorkstreamClick,\n\tisPhaseExpandedMode,\n\tprocessesCollapsedStateContext,\n\ttoggleProcessExpandCollapse,\n\thandleTaskClick,\n\tprocessPopoverStateContext,\n\ttoggleProcessTaskPopoverList,\n\tupdatePopoverRef,\n\tclearPopoverStateContext,\n\tonFocusTaskHandler,\n\tonBlurTaskHandler,\n\tfocusedTaskId,\n\tonFocusProcessHandler,\n\tonBlurProcessHandler,\n\tfocusedProcess,\n\tonFocusWorkstreamHandler,\n\tonBlurWorkstreamHandler,\n\tfocusedWorkstreamId,\n\tappliedRole = ''\n}) => {\n\tconst {\n\t\tbackgroundColor,\n\t\thighlighterColor,\n\t\tborderColor,\n\t\ttaskColor\n\t} = workstream;\n\tconst {r, g, b} = hexToRgb(backgroundColor.default);\n\tconst wsBgColor = backgroundColor.color\n\t\t? `rgb(var(${backgroundColor.color}, ${r}, ${g}, ${b}))`\n\t\t: `rgb(${r}, ${g}, ${b})`;\n\n\treturn (\n\t\t<section className=\"workstream-row\" style={{backgroundColor: wsBgColor}}>\n\t\t\t<WorkstreamName\n\t\t\t\thighlighterColor={highlighterColor}\n\t\t\t\tworkstream={workstream}\n\t\t\t\tisExpanded={isExpanded}\n\t\t\t\t{...!isExpanded && {\n\t\t\t\t\thandleWorkstreamClick,\n\t\t\t\t\tonFocusWorkstreamHandler,\n\t\t\t\t\tonBlurWorkstreamHandler,\n\t\t\t\t\tfocusedWorkstreamId\n\t\t\t\t}}\n\t\t\t/>\n\n\t\t\t{/* Render different content based on expansion state */}\n\t\t\t{isExpanded ? (\n\t\t\t\tisPhaseExpandedMode ? (\n\t\t\t\t\t<WorkstreamTasksForPhaseExpanded\n\t\t\t\t\t\tappliedPhaseId={appliedPhaseId}\n\t\t\t\t\t\tworkstreamsRowData={workstreamsRowData}\n\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\tborderColor={borderColor}\n\t\t\t\t\t\tprocessesCollapsedStateContext={processesCollapsedStateContext}\n\t\t\t\t\t\ttoggleProcessExpandCollapse={toggleProcessExpandCollapse}\n\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\t<WorkstreamProcessTaskList\n\t\t\t\t\t\tphases={phases}\n\t\t\t\t\t\tworkstreamsRowData={workstreamsRowData}\n\t\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\t\tborderColor={borderColor}\n\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\tonFocusTaskHandler={onFocusTaskHandler}\n\t\t\t\t\t\tonBlurTaskHandler={onBlurTaskHandler}\n\t\t\t\t\t\tfocusedTaskId={focusedTaskId}\n\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t/>\n\t\t\t\t)\n\t\t\t) : isPhaseExpandedMode ? (\n\t\t\t\t<WorkstreamTasksForPhaseExpanded\n\t\t\t\t\tappliedPhaseId={appliedPhaseId}\n\t\t\t\t\tworkstreamsRowData={workstreamsRowData}\n\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\tborderColor={borderColor}\n\t\t\t\t\tprocessesCollapsedStateContext={processesCollapsedStateContext}\n\t\t\t\t\ttoggleProcessExpandCollapse={toggleProcessExpandCollapse}\n\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<WorkstreamProcessList\n\t\t\t\t\tphases={phases}\n\t\t\t\t\tworkstreamsRowData={workstreamsRowData}\n\t\t\t\t\ttaskColor={taskColor}\n\t\t\t\t\tborderColor={borderColor}\n\t\t\t\t\tprocessPopoverStateContext={processPopoverStateContext}\n\t\t\t\t\ttoggleProcessTaskPopoverList={toggleProcessTaskPopoverList}\n\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\tupdatePopoverRef={updatePopoverRef}\n\t\t\t\t\tclearPopoverStateContext={clearPopoverStateContext}\n\t\t\t\t\tonFocusProcessHandler={onFocusProcessHandler}\n\t\t\t\t\tonBlurProcessHandler={onBlurProcessHandler}\n\t\t\t\t\tfocusedProcess={focusedProcess}\n\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t/>\n\t\t\t)}\n\t\t<\/section>\n\t);\n};\n\nexport default WorkstreamRow;\n","import {Fragment} from '@servicenow/ui-renderer-snabbdom';\nimport WorkstreamRow from './WorkstreamRow.js';\nimport find from 'lodash/find';\nimport isEmpty from 'lodash/isEmpty';\nimport {\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_EXPANDED,\n\tWORKSTREAM_PHASE_GRIDMAP_TASK_CLICKED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_COLLAPSE_EXPAND_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_LIST_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_REF_UPDATED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_TASK_FOCUS_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_TASK_BLUR_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_FOCUS_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_BLUR_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_FOCUS_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_BLUR_REQUESTED\n} from '../actions.js';\n\n/**\n * WorkstreamRows Component\n *\n * This component renders a list of workstream rows, organizing workstreams and their associated processes\n * by phase. It dynamically switches between collapsed and expanded views depending on the state of the\n * workstream or phase. Additionally, it manages focus, blur, and interaction events for tasks, processes,\n * and workstreams to ensure accessibility and interactivity.\n *\n * Props:\n * - workstreamRows (Array): Array of workstream data containing processes and tasks grouped by phases.\n * - workstreams (Array): List of workstreams, each containing:\n *     - id (string): Unique identifier for the workstream.\n *     - name (string): Name of the workstream.\n * - phases (Array): List of phases associated with the workstreams.\n * - state (Object): The current state of the gridmap, including:\n *     - isPhaseExpandedMode (boolean): Indicates if a phase is in expanded mode.\n *     - expandedPhaseId (string): ID of the currently expanded phase.\n *     - isWorkstreamExpandedMode (boolean): Indicates if a workstream is in expanded mode.\n *     - expandedWorkstreamId (string): ID of the currently expanded workstream.\n *     - processesCollapsedStateContext (Object): State tracking collapsed or expanded processes.\n *     - processPopoverStateContext (Object): Context managing the state of process popovers.\n *     - focusedTaskId (string): ID of the currently focused task.\n *     - focusedProcess (Object): Context for the currently focused process, containing:\n *         - id (string): The ID of the focused process.\n *         - parentWidth (number): The width of the parent container.\n *         - parentHeight (number): The height of the parent container.\n *     - focusedWorkstreamId (string): ID of the currently focused workstream.\n * - dispatch (Function): Dispatch function to trigger state updates and handle actions.\n *\n * Behavior:\n * - Renders all workstream rows in a collapsed state if `isWorkstreamExpandedMode` is false.\n * - Renders a single expanded `WorkstreamRow` if `isWorkstreamExpandedMode` is true.\n * - Handles actions such as:\n *     - Expanding a workstream.\n *     - Collapsing or expanding a process.\n *     - Displaying a process popover for task lists.\n *     - Clearing the process popover state context.\n *     - Updating popover references for DOM elements.\n *     - Managing focus and blur events for tasks, processes, and workstreams.\n * - Delegates rendering of individual rows to the `WorkstreamRow` component.\n *\n * Accessibility:\n * - Ensures that workstream names, tasks, and processes are interactive and accessible via keyboard and screen readers.\n * - Uses `dispatch` to handle accessible event updates for state management.\n * - Provides visual and functional feedback during focus and blur interactions.\n *\n * Returns:\n * - {JSX.Element}: A `Fragment` containing workstream rows, either all collapsed or one expanded.\n */\nconst WorkstreamRows = ({\n\tworkstreams,\n\tphases,\n\tworkstreamRows,\n\tstate,\n\tdispatch\n}) => {\n\tconst {\n\t\tisPhaseExpandedMode,\n\t\texpandedPhaseId,\n\t\tisWorkstreamExpandedMode,\n\t\texpandedWorkstreamId,\n\t\tprocessesCollapsedStateContext,\n\t\tprocessPopoverStateContext,\n\t\tfocusedTaskId,\n\t\tfocusedProcess,\n\t\tfocusedWorkstreamId,\n\t\tappliedRole = ''\n\t} = state;\n\n\t// Find the expanded workstream if we're in expanded mode\n\tconst expandedWorkstream = find(\n\t\tworkstreams,\n\t\t(w) => w.id === expandedWorkstreamId\n\t);\n\tconst expandedWorkstreamRowData = !isEmpty(expandedWorkstreamId)\n\t\t? find(workstreamRows, (wr) => wr.id === expandedWorkstreamId)\n\t\t: {};\n\n\t// Function to handle workstream click events\n\tconst handleWorkstreamClick = (workstream) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_EXPANDED,\n\t\t\t{workstream},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t// Function to handle task click event\n\tconst handleTaskClick = (task) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(WORKSTREAM_PHASE_GRIDMAP_TASK_CLICKED, {task}, {event: e});\n\t\tclearPopoverStateContext();\n\t};\n\n\t// function to handle process collapse expand  state\n\tconst toggleProcessExpandCollapse = (process) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_COLLAPSE_EXPAND_REQUESTED,\n\t\t\t{process},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t// function to togget the process popover that displays the list of tasks\n\tconst toggleProcessTaskPopoverList = (processId) => (e) => {\n\t\te.stopPropagation();\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_LIST_REQUESTED,\n\t\t\t{id: processId},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t// function to compute the popover ref in state context\n\tconst updatePopoverRef = (processId, elm) => {\n\t\tdispatch(WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_REF_UPDATED, {\n\t\t\tprocessId,\n\t\t\telm\n\t\t});\n\t};\n\n\t// function to clear the popover state context\n\tconst clearPopoverStateContext = () => {\n\t\tif (!isEmpty(processPopoverStateContext)) {\n\t\t\tdispatch(\n\t\t\t\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED,\n\t\t\t\t{}\n\t\t\t);\n\t\t}\n\t};\n\n\t// function to handle Task in focus\n\tconst onFocusTaskHandler = (task) => (e) => {\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_TASK_FOCUS_REQUESTED,\n\t\t\t{id: task.id},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t// function to handle Task in focus\n\tconst onBlurTaskHandler = () => (e) => {\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_TASK_BLUR_REQUESTED,\n\t\t\t{id: null},\n\t\t\t{event: e}\n\t\t); // send null to reset the last task focuse state\n\t};\n\n\t// function to handle Process in focus\n\tconst onFocusProcessHandler = (processId) => (e) => {\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_FOCUS_REQUESTED,\n\t\t\t{\n\t\t\t\tid: processId,\n\t\t\t\tparentWidth: e.target.offsetWidth,\n\t\t\t\tparentHeight: e.target.offsetHeight\n\t\t\t},\n\t\t\t{event: e}\n\t\t);\n\t};\n\n\t// function to handle Process in focus\n\tconst onBlurProcessHandler = () => (e) => {\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_BLUR_REQUESTED,\n\t\t\t{id: null},\n\t\t\t{event: e}\n\t\t); // send null to reset the last process focuse state\n\t};\n\n\t// function to handle workstream focus\n\tconst onFocusWorkstreamHandler = (workstreamId) => (e) => {\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_FOCUS_REQUESTED,\n\t\t\t{id: workstreamId},\n\t\t\t{event: e}\n\t\t); // send null to reset the last workstream focuse state\n\t};\n\n\t// function to handle workstream blur\n\tconst onBlurWorkstreamHandler = () => (e) => {\n\t\tdispatch(\n\t\t\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_BLUR_REQUESTED,\n\t\t\t{id: null},\n\t\t\t{event: e}\n\t\t); // send null to reset the last workstream focuse state\n\t};\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{!isWorkstreamExpandedMode ? (\n\t\t\t\tworkstreamRows.map((wsRow, index) => {\n\t\t\t\t\tconst workstream = find(workstreams, (w) => w.id === wsRow.id);\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<WorkstreamRow\n\t\t\t\t\t\t\tkey={wsRow.id || index} // Unique key for each workstream\n\t\t\t\t\t\t\tworkstream={workstream} // work stream\n\t\t\t\t\t\t\tisExpanded={false} // Explicitly passing expanded as false\n\t\t\t\t\t\t\tphases={phases} // list of phases\n\t\t\t\t\t\t\t{...(isPhaseExpandedMode\n\t\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\t\tappliedPhaseId: expandedPhaseId,\n\t\t\t\t\t\t\t\t\t\tprocessesCollapsedStateContext,\n\t\t\t\t\t\t\t\t\t\ttoggleProcessExpandCollapse\n\t\t\t\t\t\t\t\t  }\n\t\t\t\t\t\t\t\t: {})} // applied phase Id & processes collapse state context\n\t\t\t\t\t\t\tworkstreamsRowData={wsRow} // workstreams row data\n\t\t\t\t\t\t\thandleWorkstreamClick={handleWorkstreamClick}\n\t\t\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\t\t\tisPhaseExpandedMode={isPhaseExpandedMode}\n\t\t\t\t\t\t\t{...(!isPhaseExpandedMode\n\t\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\t\tprocessPopoverStateContext,\n\t\t\t\t\t\t\t\t\t\ttoggleProcessTaskPopoverList,\n\t\t\t\t\t\t\t\t\t\thandleTaskClick,\n\t\t\t\t\t\t\t\t\t\tupdatePopoverRef,\n\t\t\t\t\t\t\t\t\t\tclearPopoverStateContext,\n\t\t\t\t\t\t\t\t\t\tonFocusProcessHandler,\n\t\t\t\t\t\t\t\t\t\tonBlurProcessHandler,\n\t\t\t\t\t\t\t\t\t\tfocusedProcess\n\t\t\t\t\t\t\t\t  }\n\t\t\t\t\t\t\t\t: {})} // process popover context\n\t\t\t\t\t\t\tonFocusWorkstreamHandler={onFocusWorkstreamHandler}\n\t\t\t\t\t\t\tonBlurWorkstreamHandler={onBlurWorkstreamHandler}\n\t\t\t\t\t\t\tfocusedWorkstreamId={focusedWorkstreamId}\n\t\t\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t\t\t/>\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t) : (\n\t\t\t\t<WorkstreamRow\n\t\t\t\t\tkey={expandedWorkstreamId} // Unique key for expanded workstream\n\t\t\t\t\tworkstream={expandedWorkstream} // work stream\n\t\t\t\t\tisExpanded // Explicitly passing expanded as true\n\t\t\t\t\tphases={phases} // list of phases\n\t\t\t\t\t{...(isPhaseExpandedMode\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tappliedPhaseId: expandedPhaseId,\n\t\t\t\t\t\t\t\tprocessesCollapsedStateContext,\n\t\t\t\t\t\t\t\ttoggleProcessExpandCollapse\n\t\t\t\t\t\t  }\n\t\t\t\t\t\t: {})} // applied phase Id & processes collapse state context\n\t\t\t\t\tworkstreamsRowData={expandedWorkstreamRowData} // workstreams row data\n\t\t\t\t\tisPhaseExpandedMode={isPhaseExpandedMode}\n\t\t\t\t\thandleTaskClick={handleTaskClick}\n\t\t\t\t\tonFocusTaskHandler={onFocusTaskHandler}\n\t\t\t\t\tonBlurTaskHandler={onBlurTaskHandler}\n\t\t\t\t\tfocusedTaskId={focusedTaskId}\n\t\t\t\t\tappliedRole={appliedRole}\n\t\t\t\t/>\n\t\t\t)}\n\t\t<\/Fragment>\n\t);\n};\n\nexport default WorkstreamRows;\n","import WorkstreamPhaseGridmapHeader from './WorkstreamPhaseGridmapHeader';\nimport WorkstreamRows from './WorkstreamRows';\n\n/**\n * WorkstreamPhaseGridmap Component\n *\n * This component represents the gridmap view that combines a header for phases and workstreams,\n * along with rows of workstreams organized by phases. It serves as the main layout for displaying\n * workstream and phase-related data.\n *\n * Props:\n * - gridmapData (Array): The data structure representing processes and tasks within each phase for the workstreams.\n * - workstreams (Array): The list of workstreams to display in the gridmap.\n * - phases (Array): The list of phases to display in the gridmap header.\n * - state (Object): The current application state, used for managing UI behaviors and interactions.\n * - dispatch (Function): A function to dispatch actions and update the application state.\n *\n * Behavior:\n * - Renders the `WorkstreamPhaseGridmapHeader` component to display the phase and workstream headers.\n * - Renders the `WorkstreamRows` component to organize and display the workstream data for each phase.\n * - Uses `state` and `dispatch` for dynamic UI updates and interaction handling.\n *\n * Returns:\n * - {JSX.Element}: A div element containing the gridmap layout, including the header and workstream rows.\n */\nconst WorkstreamPhaseGridmap = ({\n\tworkstreams,\n\tphases,\n\tgridmapData,\n\tstate,\n\tdispatch\n}) => {\n\treturn (\n\t\t<section className=\"workstream-phase-gridmap\">\n\t\t\t{/* Workstream and Phase Header */}\n\t\t\t<WorkstreamPhaseGridmapHeader\n\t\t\t\tphases={phases}\n\t\t\t\tstate={state}\n\t\t\t\tdispatch={dispatch}\n\t\t\t/>\n\n\t\t\t{/* Workstreams organized by phases */}\n\t\t\t<WorkstreamRows\n\t\t\t\tworkstreamRows={gridmapData}\n\t\t\t\tworkstreams={workstreams}\n\t\t\t\tphases={phases}\n\t\t\t\tstate={state}\n\t\t\t\tdispatch={dispatch}\n\t\t\t/>\n\t\t<\/section>\n\t);\n};\n\nexport default WorkstreamPhaseGridmap;\n","import {\n\tgetProcessesCollapsedStateContext,\n\ttoggleProcessCollapsedState,\n\tupdateStateWithOperations,\n\ttoggleProcessPopoverState,\n\tclearProcessPopoverState,\n\tupdateProcessPopoverStateContext,\n\tupdateTaskFocusContext,\n\tupdateProcessFocusContext,\n\tupdateWorkstreamFocusContext,\n\tupdatePhaseHoverContext\n} from './utils';\nimport get from 'lodash/get';\nimport isEqual from 'lodash/isEqual';\nimport {\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SELECTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_SELECTED,\n\tWORKSTREAM_PHASE_GRIDMAP_CLEAR_WORKSTREAM_FILTER,\n\tWORKSTREAM_PHASE_GRIDMAP_CLEAR_PHASE_FILTER,\n\tWORKSTREAM_PHASE_GRIDMAP_CLEAR_ROLE_FILTER\n} from './actions';\n\n/**\n * Builds the processesCollapsedStateContext based on workstream and phase state.\n *\n * @param {Object} gridmapData - Data to build the collapsed state context.\n * @param {String} phaseId - Current phase ID.\n * @param {Boolean} isWorkstreamExpanded - If workstream is expanded.\n * @param {String} workstreamId - Current workstream ID.\n *\n * @returns {Array} - Collapsed state context for processes.\n */\nconst buildProcessesCollapsedStateContext = (\n\tgridmapData,\n\tphaseId,\n\tisWorkstreamExpanded,\n\tworkstreamId\n) => {\n\treturn getProcessesCollapsedStateContext(\n\t\tgridmapData,\n\t\tphaseId,\n\t\tisWorkstreamExpanded,\n\t\tworkstreamId\n\t);\n};\n\n/**\n * Handles the expansion or collapse of a workstream.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst handleWorkstreamExpansion = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {workstream: expandedWorkstream}\n\t\t},\n\t\tstate: {isPhaseExpandedMode, expandedPhaseId},\n\t\tproperties: {\n\t\t\tworkstreamPhaseGridmapData: {gridmapData}\n\t\t},\n\t\tupdateState,\n\t\tdispatch\n\t} = coeffects;\n\n\tconst isWorkstreamExpandedMode = Boolean(expandedWorkstream.id);\n\tconst expandedWorkstreamId = get(expandedWorkstream, 'id', '');\n\tconst processesCollapsedStateContext = isPhaseExpandedMode\n\t\t? buildProcessesCollapsedStateContext(\n\t\t\t\tgridmapData,\n\t\t\t\texpandedPhaseId,\n\t\t\t\tisWorkstreamExpandedMode,\n\t\t\t\texpandedWorkstreamId\n\t\t  )\n\t\t: [];\n\n\tupdateStateWithOperations(updateState, [\n\t\t{path: 'isWorkstreamExpandedMode', value: isWorkstreamExpandedMode},\n\t\t{\n\t\t\tpath: 'processesCollapsedStateContext',\n\t\t\tvalue: processesCollapsedStateContext\n\t\t},\n\t\t{path: 'expandedWorkstreamId', value: expandedWorkstreamId}\n\t]);\n\n\tdispatch(WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SELECTED, {\n\t\tworkstream: (({id, name}) => ({id, name}))(expandedWorkstream)\n\t});\n};\n\n/**\n * Handles the expansion or collapse of a phase.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst handlePhaseExpansion = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {phase: expandedPhase}\n\t\t},\n\t\tstate: {isWorkstreamExpandedMode, expandedWorkstreamId},\n\t\tproperties: {\n\t\t\tworkstreamPhaseGridmapData: {gridmapData}\n\t\t},\n\t\tupdateState,\n\t\tdispatch\n\t} = coeffects;\n\n\tconst expandedPhaseId = get(expandedPhase, 'id', '');\n\tconst processesCollapsedStateContext = buildProcessesCollapsedStateContext(\n\t\tgridmapData,\n\t\texpandedPhaseId,\n\t\tisWorkstreamExpandedMode,\n\t\texpandedWorkstreamId\n\t);\n\n\tupdateStateWithOperations(updateState, [\n\t\t{path: 'isPhaseExpandedMode', value: Boolean(expandedPhase.id)},\n\t\t{\n\t\t\tpath: 'processesCollapsedStateContext',\n\t\t\tvalue: processesCollapsedStateContext\n\t\t},\n\t\t{path: 'expandedPhaseId', value: expandedPhaseId}\n\t]);\n\n\tdispatch(WORKSTREAM_PHASE_GRIDMAP_PHASE_SELECTED, {\n\t\tphase: (({id, name}) => ({id, name}))(expandedPhase)\n\t});\n};\n\n/**\n * Resets the phase expansion state.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst resetPhaseExpansion = ({updateState, dispatch}) => {\n\tupdateStateWithOperations(updateState, [\n\t\t{path: 'isPhaseExpandedMode', value: false},\n\t\t{path: 'processesCollapsedStateContext', value: []},\n\t\t{path: 'expandedPhaseId', value: ''}\n\t]);\n\n\tdispatch(WORKSTREAM_PHASE_GRIDMAP_CLEAR_PHASE_FILTER);\n};\n\n/**\n * Resets the role state.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst resetRole = (coeffects) => {\n\tconst {updateState, dispatch} = coeffects;\n\tupdateStateWithOperations(updateState, [{path: 'appliedRole', value: ''}]);\n\n\tdispatch(WORKSTREAM_PHASE_GRIDMAP_CLEAR_ROLE_FILTER);\n};\n\n/**\n * Resets the workstream expansion state.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst resetWorkstreamExpansion = (coeffects) => {\n\tconst {\n\t\tstate: {isPhaseExpandedMode, expandedPhaseId},\n\t\tproperties: {\n\t\t\tworkstreamPhaseGridmapData: {gridmapData}\n\t\t},\n\t\tupdateState,\n\t\tdispatch\n\t} = coeffects;\n\n\tconst processesCollapsedStateContext = isPhaseExpandedMode\n\t\t? buildProcessesCollapsedStateContext(\n\t\t\t\tgridmapData,\n\t\t\t\texpandedPhaseId,\n\t\t\t\tfalse,\n\t\t\t\t''\n\t\t  )\n\t\t: [];\n\n\tupdateStateWithOperations(updateState, [\n\t\t{path: 'isWorkstreamExpandedMode', value: false},\n\t\t{\n\t\t\tpath: 'processesCollapsedStateContext',\n\t\t\tvalue: processesCollapsedStateContext\n\t\t},\n\t\t{path: 'expandedWorkstreamId', value: ''}\n\t]);\n\n\tdispatch(WORKSTREAM_PHASE_GRIDMAP_CLEAR_WORKSTREAM_FILTER);\n};\n\n/**\n * Navigates to a specified phase by updating the expansion state.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst navigatePhase = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {phase}\n\t\t},\n\t\tstate: {isWorkstreamExpandedMode, expandedWorkstreamId},\n\t\tproperties: {\n\t\t\tworkstreamPhaseGridmapData: {gridmapData}\n\t\t},\n\t\tupdateState,\n\t\tdispatch\n\t} = coeffects;\n\n\tconst expandedPhaseId = get(phase, 'id', '');\n\tconst processesCollapsedStateContext = buildProcessesCollapsedStateContext(\n\t\tgridmapData,\n\t\texpandedPhaseId,\n\t\tisWorkstreamExpandedMode,\n\t\texpandedWorkstreamId\n\t);\n\n\tupdateStateWithOperations(updateState, [\n\t\t{path: 'isPhaseExpandedMode', value: Boolean(phase.id)},\n\t\t{\n\t\t\tpath: 'processesCollapsedStateContext',\n\t\t\tvalue: processesCollapsedStateContext\n\t\t},\n\t\t{path: 'expandedPhaseId', value: expandedPhaseId}\n\t]);\n\n\tdispatch(WORKSTREAM_PHASE_GRIDMAP_PHASE_SELECTED, {\n\t\tphase: (({id, name}) => ({id, name}))(phase)\n\t});\n};\n\n/**\n * Handles component property changes by updating state based on specific properties.\n * Optimized to consolidate update operations in a single check.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst handleComponentPropertyChanged = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {name, value, previousValue}\n\t\t},\n\t\tstate: {\n\t\t\tisWorkstreamExpandedMode,\n\t\t\texpandedWorkstreamId,\n\t\t\tisPhaseExpandedMode,\n\t\t\texpandedPhaseId\n\t\t},\n\t\tproperties: {\n\t\t\tworkstreamPhaseGridmapData: {gridmapData}\n\t\t},\n\t\tupdateState\n\t} = coeffects;\n\n\tconst stateUpdates = {\n\t\tappliedWorkstreamId: () => {\n\t\t\tif (\n\t\t\t\t!isEqual(previousValue, value) &&\n\t\t\t\t!isEqual(expandedWorkstreamId, value)\n\t\t\t) {\n\t\t\t\tif (value === 'all-workstreams') {\n\t\t\t\t\tresetWorkstreamExpansion(coeffects);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst processesCollapsedStateContext = isPhaseExpandedMode\n\t\t\t\t\t? getProcessesCollapsedStateContext(\n\t\t\t\t\t\t\tgridmapData,\n\t\t\t\t\t\t\texpandedPhaseId,\n\t\t\t\t\t\t\tBoolean(value),\n\t\t\t\t\t\t\tvalue\n\t\t\t\t\t  )\n\t\t\t\t\t: [];\n\t\t\t\treturn [\n\t\t\t\t\t{path: 'isWorkstreamExpandedMode', value: Boolean(value)},\n\t\t\t\t\t{\n\t\t\t\t\t\tpath: 'processesCollapsedStateContext',\n\t\t\t\t\t\tvalue: processesCollapsedStateContext\n\t\t\t\t\t},\n\t\t\t\t\t{path: 'expandedWorkstreamId', value}\n\t\t\t\t];\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tappliedPhaseId: () => {\n\t\t\tif (!isEqual(previousValue, value) && !isEqual(expandedPhaseId, value)) {\n\t\t\t\tif (value === 'all-phases') {\n\t\t\t\t\tresetPhaseExpansion(coeffects);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst processesCollapsedStateContext = getProcessesCollapsedStateContext(\n\t\t\t\t\tgridmapData,\n\t\t\t\t\tvalue,\n\t\t\t\t\tisWorkstreamExpandedMode,\n\t\t\t\t\texpandedWorkstreamId\n\t\t\t\t);\n\t\t\t\treturn [\n\t\t\t\t\t{path: 'isPhaseExpandedMode', value: Boolean(value)},\n\t\t\t\t\t{\n\t\t\t\t\t\tpath: 'processesCollapsedStateContext',\n\t\t\t\t\t\tvalue: processesCollapsedStateContext\n\t\t\t\t\t},\n\t\t\t\t\t{path: 'expandedPhaseId', value}\n\t\t\t\t];\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tappliedRole: () => {\n\t\t\tif (!isEqual(previousValue, value)) {\n\t\t\t\tif (value === 'all-roles') {\n\t\t\t\t\tresetRole(coeffects);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\treturn [{path: 'appliedRole', value}];\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t};\n\n\t// Collect operations based on property name and conditions\n\tconst operations = stateUpdates[name] ? stateUpdates[name]() : [];\n\n\tif (operations && operations.length > 0) {\n\t\tupdateStateWithOperations(updateState, operations);\n\t}\n};\n\n/**\n * Toggles the collapse/expand state of a specific process.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst handleProcessesCollapseExpandContext = (coeffects) => {\n\tconst {\n\t\tstate: {processesCollapsedStateContext},\n\t\taction: {\n\t\t\tpayload: {process}\n\t\t},\n\t\tupdateState\n\t} = coeffects;\n\n\ttoggleProcessCollapsedState(\n\t\tupdateState,\n\t\tprocessesCollapsedStateContext,\n\t\tprocess\n\t);\n};\n\n/**\n * Toggles the popover state of a specific process.\n *\n * @param {Object} coeffects - Contains context and utility functions for handling the effect.\n */\nconst handleProcessPopoverStateContext = (coeffects) => {\n\tconst {\n\t\taction: {\n\t\t\tpayload: {id: processId}\n\t\t},\n\t\tstate: {processPopoverStateContext},\n\t\tupdateState\n\t} = coeffects;\n\n\ttoggleProcessPopoverState(updateState, processPopoverStateContext, processId);\n};\n\n/**\n * Updates the reference for the process popover in the state context.\n *\n * This function is used to update the state context with the latest reference\n * for the process popover, ensuring accurate positioning and rendering of the popover.\n *\n * @param {Object} coeffects - The coeffects object containing necessary utilities or data.\n *     - coeffects.updateState (Function): Function to update the application state.\n */\nconst updateProcessPopoverRef = (coeffects) => {\n\tupdateProcessPopoverStateContext(coeffects);\n};\n\n/**\n * Clears the process popover state context.\n *\n * This function resets or clears the state associated with the process popover,\n * typically when the popover is closed or destroyed. It ensures the context is\n * clean and ready for the next interaction.\n *\n * @param {Object} coeffects - The coeffects object containing necessary utilities or data.\n *     - coeffects.updateState (Function): Function to update the application state.\n */\nconst clearProcessPopoverStateContext = (coeffects) => {\n\tconst {updateState} = coeffects;\n\n\tclearProcessPopoverState(updateState);\n};\n\n/**\n * Handles the focus or blur event for a task by updating the focus context.\n *\n * - coeffects (Object): The coeffects object containing the necessary data and methods.\n *   - action (Object): The action object with details about the task being focused or blurred.\n *     - payload.id (string): The ID of the task to be set as focused or cleared.\n *   - updateState (Function): A function to update the application state.\n *     - path (string): The state path to update (e.g., 'focusedTaskId').\n *     - operation (string): The operation to perform (e.g., declarativeOperations.SET).\n *     - value (string): The new value for the specified state path.\n *\n * This function delegates the task of updating the focus context to the `updateTaskFocusContext` function.\n *\n * @example\n * handleTaskFocusedOrBlurred({\n *     action: {\n *         payload: { id: '9b8ce4dd47f771d0db63fb25126d431d' }\n *     },\n *     updateState: ({ path, operation, value }) => {\n *         console.log(`Updated state: ${path}, ${operation}, ${value}`);\n *     }\n * });\n */\nconst handleTaskFocusedOrBlurred = (coeffects) => {\n\tupdateTaskFocusContext(coeffects);\n};\n\n/**\n * Handles the focus or blur event for a process by updating the focus context.\n *\n * - coeffects (Object): The coeffects object containing the necessary data and methods.\n *   - action (Object): The action object with details about the process being focused or blurred.\n *     - payload.id (string): The ID of the process to be set as focused or cleared.\n *   - updateState (Function): A function to update the application state.\n *     - path (string): The state path to update (e.g., 'focusedProcessId').\n *     - operation (string): The operation to perform (e.g., declarativeOperations.SET).\n *     - value (string): The new value for the specified state path.\n *\n * This function delegates the task of updating the focus context to the `updateProcessFocusContext` function.\n *\n * @example\n * handleProcessFocusedOrBlurred({\n *     action: {\n *         payload: { id: 'process-item-538ce4dd47f771d0db63fb25126d431c' }\n *     },\n *     updateState: ({ path, operation, value }) => {\n *         console.log(`Updated state: ${path}, ${operation}, ${value}`);\n *     }\n * });\n */\nconst handleProcessFocusedOrBlurred = (coeffects) => {\n\tupdateProcessFocusContext(coeffects);\n};\n\nconst handleWorkstreamFocusedOrBlurred = (coeffects) => {\n\tupdateWorkstreamFocusContext(coeffects);\n};\n\nconst handlePhaseHover = (coeffects) => {\n\tupdatePhaseHoverContext(coeffects);\n};\n\nconst effectHandlers = {\n\thandlePhaseClick: handlePhaseExpansion,\n\thandlePhaseNavigationClick: navigatePhase,\n\thandlePhasesSeeAllClicked: resetPhaseExpansion,\n\thandleWorkstreamClick: handleWorkstreamExpansion,\n\thandleWorkstreamSeeAllClicked: resetWorkstreamExpansion,\n\thandleComponentPropertyChanged,\n\thandleProcessesCollapseExpandContext,\n\thandleProcessPopoverStateContext,\n\tupdateProcessPopoverRef,\n\tclearProcessPopoverStateContext,\n\thandleTaskFocusedOrBlurred,\n\thandleProcessFocusedOrBlurred,\n\thandleWorkstreamFocusedOrBlurred,\n\thandlePhaseHover\n};\n\nexport default {\n\teffectHandlers\n};\n","import {createCustomElement, actionTypes} from '@servicenow/ui-core';\nimport snabbdom from '@servicenow/ui-renderer-snabbdom';\nimport rtlBehavior from '@servicenow/behavior-rtl';\nimport styles from './styles.scss';\nimport {view} from './view';\nimport isEmpty from 'lodash/isEmpty';\nimport workstreamPhaseGridmapEffects from './effects';\nimport {\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_EXPANDED,\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_MOUSEHOVER,\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_SEE_ALL_CLICKED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_EXPANDED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SEE_ALL_CLICKED,\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_NAVIGATION_CLICKED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_COLLAPSE_EXPAND_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PHASE_SELECTED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SELECTED,\n\tWORKSTREAM_PHASE_GRIDMAP_CLEAR_WORKSTREAM_FILTER,\n\tWORKSTREAM_PHASE_GRIDMAP_CLEAR_PHASE_FILTER,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_LIST_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_REF_UPDATED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_TASK_CLICKED,\n\tWORKSTREAM_PHASE_GRIDMAP_TASK_FOCUS_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_TASK_BLUR_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_FOCUS_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_BLUR_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_FOCUS_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_BLUR_REQUESTED,\n\tWORKSTREAM_PHASE_GRIDMAP_CLEAR_ROLE_FILTER\n} from './actions';\n\nconst {COMPONENT_PROPERTY_CHANGED} = actionTypes;\n\nconst {\n\thandlePhaseClick,\n\thandlePhaseHover,\n\thandlePhasesSeeAllClicked,\n\thandleWorkstreamClick,\n\thandleWorkstreamSeeAllClicked,\n\thandlePhaseNavigationClick,\n\thandleComponentPropertyChanged,\n\thandleProcessesCollapseExpandContext,\n\thandleProcessPopoverStateContext,\n\tupdateProcessPopoverRef,\n\tclearProcessPopoverStateContext,\n\thandleTaskFocusedOrBlurred,\n\thandleProcessFocusedOrBlurred,\n\thandleWorkstreamFocusedOrBlurred\n} = workstreamPhaseGridmapEffects.effectHandlers;\n\ncreateCustomElement('sn-cx-workstream-phase-gridmap', {\n\trenderer: {type: snabbdom},\n\tview,\n\tstyles,\n\tproperties: {\n\t\tappliedWorkstreamId: {\n\t\t\tdefault: '',\n\t\t\tschema: {type: 'string'}\n\t\t},\n\t\tappliedPhaseId: {\n\t\t\tdefault: '',\n\t\t\tschema: {type: 'string'}\n\t\t},\n\t\tappliedRole: {\n\t\t\tdefault: '',\n\t\t\tschema: {type: 'string'}\n\t\t},\n\t\tworkstreamPhaseGridmapData: {\n\t\t\tdefault: {},\n\t\t\tschema: {type: 'object'}\n\t\t}\n\t},\n\tinitialState: {\n\t\tisPhaseExpandedMode: false,\n\t\texpandedPhaseId: '',\n\t\tisWorkstreamExpandedMode: false,\n\t\texpandedWorkstreamId: '',\n\t\tprocessesCollapsedStateContext: [],\n\t\tprocessPopoverStateContext: {},\n\t\tfocusedTaskId: '',\n\t\tfocusedProcess: {},\n\t\tfocusedWorkstreamId: '',\n\t\thoverPhaseId: '',\n\t\tappliedRole: ''\n\t},\n\tbehaviors: [{behavior: rtlBehavior}],\n\tactionHandlers: {\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PHASE_EXPANDED]: {\n\t\t\teffect: handlePhaseClick,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PHASE_MOUSEHOVER]: {\n\t\t\teffect: handlePhaseHover,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_EXPANDED]: {\n\t\t\teffect: handleWorkstreamClick,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PROCESS_COLLAPSE_EXPAND_REQUESTED]: {\n\t\t\teffect: handleProcessesCollapseExpandContext,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PHASE_NAVIGATION_CLICKED]: handlePhaseNavigationClick,\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PHASE_SEE_ALL_CLICKED]: {\n\t\t\teffect: handlePhasesSeeAllClicked,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SEE_ALL_CLICKED]: {\n\t\t\teffect: handleWorkstreamSeeAllClicked,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_LIST_REQUESTED]: {\n\t\t\teffect: handleProcessPopoverStateContext,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_REF_UPDATED]: {\n\t\t\teffect: updateProcessPopoverRef,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED]: {\n\t\t\teffect: clearProcessPopoverStateContext,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_TASK_FOCUS_REQUESTED]: {\n\t\t\teffect: handleTaskFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_TASK_BLUR_REQUESTED]: {\n\t\t\teffect: handleTaskFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PROCESS_FOCUS_REQUESTED]: {\n\t\t\teffect: handleProcessFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PROCESS_BLUR_REQUESTED]: {\n\t\t\teffect: handleProcessFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_FOCUS_REQUESTED]: {\n\t\t\teffect: handleWorkstreamFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_BLUR_REQUESTED]: {\n\t\t\teffect: handleWorkstreamFocusedOrBlurred,\n\t\t\tstopPropagation: true\n\t\t},\n\t\t[COMPONENT_PROPERTY_CHANGED]: handleComponentPropertyChanged\n\t},\n\teventHandlers: [\n\t\t{\n\t\t\tevents: ['click'],\n\t\t\teffect({\n\t\t\t\taction: {\n\t\t\t\t\tpayload: {event}\n\t\t\t\t},\n\t\t\t\tdispatch,\n\t\t\t\tstate: {processPopoverStateContext}\n\t\t\t}) {\n\t\t\t\tif (!isEmpty(processPopoverStateContext))\n\t\t\t\t\tdispatch(\n\t\t\t\t\t\tWORKSTREAM_PHASE_GRIDMAP_PROCESS_TASK_POPOVER_CONTEXT_CLEAR_REQUESTED,\n\t\t\t\t\t\tevent\n\t\t\t\t\t);\n\t\t\t},\n\t\t\ttarget: document.body\n\t\t}\n\t],\n\tdispatches: {\n\t\t/**\n\t\t * Fired when clicking the workstream's see all link.\n\t\t */\n\t\t[WORKSTREAM_PHASE_GRIDMAP_CLEAR_WORKSTREAM_FILTER]: {},\n\t\t/**\n\t\t * Fired when clicking the phase's see all link.\n\t\t */\n\t\t[WORKSTREAM_PHASE_GRIDMAP_CLEAR_PHASE_FILTER]: {},\n\t\t/**\n\t\t * Fired when clicking the role's all filter.\n\t\t */\n\t\t[WORKSTREAM_PHASE_GRIDMAP_CLEAR_ROLE_FILTER]: {},\n\t\t/**\n\t\t * Fired when clicking the workstream.\n\t\t * @type {{\n\t\t *   workstream: object,      // Clicked workstream\n\t\t * }}\n\t\t */\n\t\t[WORKSTREAM_PHASE_GRIDMAP_WORKSTREAM_SELECTED]: {},\n\t\t/**\n\t\t * Fired when clicking the phase.\n\t\t * @type {{\n\t\t *   phase: object,          // Clicked phase\n\t\t * }}\n\t\t */\n\t\t[WORKSTREAM_PHASE_GRIDMAP_PHASE_SELECTED]: {},\n\t\t/**\n\t\t * Fired when clicking the process task.\n\t\t * @type {{\n\t\t *   phase: object,          // Clicked task\n\t\t * }}\n\t\t */\n\t\t[WORKSTREAM_PHASE_GRIDMAP_TASK_CLICKED]: {}\n\t}\n});\n","import {shouldRenderGridmap} from './helpers/shouldRenderGridmap';\nimport WorkstreamPhaseGridmap from './WorkstreamPhaseGridmap';\n\n/**\n * View Component\n *\n * Determines whether the `WorkstreamPhaseGridmap` component should be rendered\n * based on the availability of valid grid map data. If the data is present and\n * valid, it renders the `WorkstreamPhaseGridmap` with the required props.\n *\n * Imports:\n * - shouldRenderGridmap: A utility function to check if the grid map data is not empty.\n * - WorkstreamPhaseGridmap: The grid map component to render.\n *\n * Props:\n * - state (Object): The current state of the application, containing:\n *     - properties (Object): Contains the `workstreamPhaseGridmapData`:\n *         - gridmapData (Array|Object): Data for the grid map layout.\n *         - workstreams (Array): The list of workstreams to display in the grid map.\n *         - phases (Array): The list of phases to display in the grid map.\n * - dispatch (Function): A function to dispatch actions or events in the application.\n *\n * Returns:\n * - JSX.Element|null: Renders the `WorkstreamPhaseGridmap` component if valid data is present;\n *   otherwise, returns `null`.\n */\n\nexport const view = (state, {dispatch}) => {\n\tconst {\n\t\tproperties: {workstreamPhaseGridmapData}\n\t} = state;\n\t// Use the abstracted condition check to determine whether to render the gridmap\n\tconst canRenderGridmap = shouldRenderGridmap(workstreamPhaseGridmapData);\n\n\treturn canRenderGridmap ? (\n\t\t<WorkstreamPhaseGridmap\n\t\t\tgridmapData={workstreamPhaseGridmapData.gridmapData}\n\t\t\tworkstreams={workstreamPhaseGridmapData.workstreams}\n\t\t\tphases={workstreamPhaseGridmapData.phases}\n\t\t\tstate={state}\n\t\t\tdispatch={dispatch}\n\t\t/>\n\t) : null;\n};\n","import * as exports from '../index.js';\nwindow.__TECTONIC__sn_cx_workstream=exports;\nexport * from '../index.js';\n\n"],"version":3}}]}