/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../assets","../../../core/maybe"],(function(e,t,n){"use strict";const o="esri-directions",r={base:`${o} esri-widget esri-widget--panel`,directionsButton:`${o}__button`,clearRouteButton:`${o}__clear-route-button`,scroller:`${o}__scroller`,panelContent:`${o}__panel-content`,panelContentLoading:`${o}__panel-content--loading`,panelContentError:`${o}__panel-content--error`,panelContentSignIn:`${o}__panel-content--sign-in`,loader:`${o}__loader`,message:`${o}__message`,travelMode:`${o}__travel-modes`,travelModeSelect:`${o}__travel-modes-select`,departureTime:`${o}__departure-time`,departureTimeSelect:`${o}__departure-time-select`,directionsSection:`${o}__directions-section`,departureTimeControls:`${o}__departure-time-controls`,section:`${o}__section`,summary:`${o}__summary`,stopIcon:`${o}__stop-icon`,interactiveStopIcon:`${o}__stop-icon--interactive`,removeStopButton:`${o}__remove-stop`,removeStop:`${o}__remove-stop-icon`,reverseStops:`${o}__reverse-stops`,stopIconContainer:`${o}__stop-icon-container`,lastStopIconContainer:`${o}__stop-icon-container--last`,stopHandle:`${o}__stop-handle`,stopInput:`${o}__stop-input`,stopOptions:`${o}__stop-options`,stopHandleIcon:`${o}__stop-handle-icon`,verticalSplitter:`${o}__vertical-splitter`,stopRow:`${o}__stop-row`,stopRowGhost:`${o}__stop-row-ghost`,validStopRow:`${o}__stop-row--valid`,stops:`${o}__stops`,directionCosts:`${o}__costs`,costsDetails:`${o}__costs-details`,primaryCosts:`${o}__costs-value`,secondaryCosts:`${o}__other-costs-total`,routeActions:`${o}__route-actions`,maneuvers:`${o}__maneuvers`,maneuverList:`${o}__maneuver-list`,maneuverSection:`${o}__maneuver-section`,maneuverSectionHeader:`${o}__maneuver-section-header`,maneuverSectionHeaderButton:`${o}__maneuver-section-header-toggle-button`,maneuverSectionTitle:`${o}__maneuver-section-title`,collapsibleSection:`${o}__maneuver-section--collapsible`,maneuverSectionToggle:`${o}__maneuver-section-toggle`,maneuver:`${o}__maneuver`,maneuverActive:`${o}__maneuver--active`,maneuverCosts:`${o}__maneuver-costs`,maneuverCostsContainer:`${o}__maneuver-costs-container`,maneuverIcon:`${o}__maneuver-icon`,cumulativeCost:`${o}__cost--cumulative`,intermediateCost:`${o}__cost--intermediate`,horizontalSplitter:`${o}__horizontal-splitter`,sectionSplitter:`${o}__section-splitter`,disclaimer:`${o}__disclaimer`,signInContent:`${o}__sign-in-content`,signInButton:`${o}__sign-in-button`,contentTitle:`${o}__content-title`,warningCard:`${o}__warning-card`,warningHeader:`${o}__warning-header`,warningHeading:`${o}__warning-heading`,warningMessage:`${o}__warning-message`,saveSection:`${o}__save-section`,saveButtons:`${o}__save-buttons`,saveButton:`${o}__save-button`,saveAsButton:`${o}__save-as-button`,saveAsButtonPopover:`${o}__save-as-button-with-popover`,printButton:`${o}__print-button`,layerDetailsLink:`${o}__layer-details-link`,toolbarSection:`${o}__toolbar-section`,toolbarButtons:`${o}__toolbar-buttons`,addStopButton:`${o}__add-stop-button`,closeIcon:"esri-icon-up",handleIcon:"esri-icon-handle-vertical",lastStopIcon:"esri-icon-radio-checked",openIcon:"esri-icon-down",removeStopIcon:"esri-icon-trash",reverseStopIcon:"esri-icon-up-down-arrows",stopsIcon:"esri-icon-radio-unchecked",warningIcon:"esri-icon-notice-triangle",widgetIcon:"esri-icon-directions",button:"esri-button",buttonDisabled:"esri-button--disabled",buttonSecondary:"esri-button--secondary",buttonTertiary:"esri-button--tertiary",emptyContent:"esri-widget__content--empty",emptyIllustration:"esri-widget__content-illustration--empty",screenReaderText:"esri-icon-font-fallback-text",select:"esri-select"},i=new Map([["bear-left","bear-left"],["bear-right","bear-right"],["central-fork","fork-middle"],["door","walk-through-door"],["elevator","elevator"],["escalator","escalator"],["left-fork","fork-left"],["left-ramp","ramp-left"],["left-turn","left"],["left-turn-and-immediate-left-turn","left-left"],["left-turn-and-immediate-right-turn","left-right"],["off-ferry","disembark"],["on-ferry","embark"],["pedestrian-ramp","take-pedestrian-ramp"],["right-fork","fork-right"],["right-ramp","exit-highway-right"],["right-ramp","ramp-right"],["right-turn","right"],["right-turn-and-immediate-left-turn","right-left"],["right-turn-and-immediate-right-turn","right-right"],["roundabout","roundabout-left"],["sharp-left","sharp-left"],["sharp-right","sharp-right"],["stairs","stairs"],["straight","straight"],["u-turn","u-turn-left"]]);var a;e.DepartureTime=void 0,(a=e.DepartureTime||(e.DepartureTime={})).NOW="now",a.DEPART_BY="depart-by",a.UNSPECIFIED="unspecified";const s=()=>t.getAssetUrl("esri/themes/base/images/maneuvers/");function _(e){if(n.isNone(e)||!i.has(e))return null;const t=i.get(e),o=2===window.devicePixelRatio?"@2x":"";return`${s()}${t}${o}.png`}e.CSS=r,e.getIconPath=_,e.getManeuversIconDir=s,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
