import{__rest as o,__assign as s}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as e}from"react/jsx-runtime";import{makeStyles as c,Breadcrumbs as i}from"@material-ui/core";import n from"classnames";import{Link as r}from"react-router";import{Fragment as m}from"react";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import{UniversalLink as a}from"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import p from"../TruncatedText/index.js";import{LeftIcon as l}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";var u=c((function(o){return{container:{display:"flex",gap:"0px 8px",fontSize:"0.8125rem"},pathPart:{color:o.palette.primary.text6,"&:hover":{textDecoration:"underline"}},lastPathPart:{color:o.palette.primary.text1,"&:hover":{textDecoration:"underline"}},iconLink:{display:"flex",alignItems:"center",color:o.palette.primary.text6,"&:hover":{textDecoration:"underline"}}}})),d=function(c){var d=c.pathItems,h=c.withBackIcon,j=c.classes,I=void 0===j?{}:j,x=o(c,["pathItems","withBackIcon","classes"]),f=I.container,C=o(I,["container"]),b=u();return t(i,s({classes:s({li:n(b.container,f)},C)},x,{children:d.map((function(o,s,c){var i;return e(m,{children:[0===s&&h&&t(r,{to:o.href,className:b.iconLink,children:t(l,{size:"small"})}),t(p,{children:t(a,{className:n(b.pathPart,(i={},i[b.lastPathPart]=s===c.length-1&&!h,i)),"data-testid":"Breadcrumbs_".concat(o.text),href:o.href,children:o.text},o.text)})]},o.href)}))}))};export{d as default};
