/*!
 * 
 * [Dojo](https://dojo.io/)
 * Copyright [JS Foundation](https://js.foundation/) & contributors
 * [New BSD license](https://github.com/dojo/meta/blob/master/LICENSE)
 * All rights reserved
 * 
 */
(window.dojoWebpackJsonpdojo_widgets_custom_elements=window.dojoWebpackJsonpdojo_widgets_custom_elements||[]).push([[4],{137:function(e,r,t){e.exports={" _key":"@dojo/widgets/breadcrumb-group",root:"breadcrumb-group-m__root__2GLDa",list:"breadcrumb-group-m__list__3mG7R",listItem:"breadcrumb-group-m__listItem__8UkbK",separator:"breadcrumb-group-m__separator__3d16x",breadcrumb:"breadcrumb-group-m__breadcrumb__mUw1o",current:"breadcrumb-group-m__current__2sn-Y"}},138:function(e,r,t){e.exports={" _key":"@dojo/widgets/breadcrumb-group",listFixed:"breadcrumb-group-m__listFixed__sUJba",breadcrumbFixed:"breadcrumb-group-m__breadcrumbFixed__3B1O-",separatorFixed:"breadcrumb-group-m__separatorFixed__2guMR"}},45:function(e,r,t){"use strict";t.r(r),t.d(r,"Separator",function(){return i}),t.d(r,"BreadcrumbSeparator",function(){return i}),t.d(r,"Breadcrumb",function(){return o}),t.d(r,"BreadcrumbGroup",function(){return u});var a=t(80),s=t(5),c=t(137),n=t(138);const i=Object(s.a)({theme:a.a})(function({children:e,middleware:{theme:r}}){const t=r.classes(c);return Object(s.m)("li",{"aria-hidden":"true",classes:t.listItem},Object(s.m)("span",{classes:[n.separatorFixed,t.separator]},e()))}),o=Object(s.a)({theme:a.a}).properties()(function({children:e,middleware:{theme:r},properties:t}){const{current:a,href:i,title:o}=t(),u=r.classes(c);return Object(s.m)("li",{classes:[u.listItem,a?u.current:void 0]},i?Object(s.m)("a",{"aria-current":a||void 0,classes:[n.breadcrumbFixed,u.breadcrumb],href:i,title:o},e()):Object(s.m)("span",{"aria-current":a||void 0,classes:[n.breadcrumbFixed,u.breadcrumb]},e()))}),u=Object(s.a)({theme:a.a}).properties().children()(function({children:e,properties:r,middleware:{theme:t}}){const{items:a,label:u,classes:m,theme:b,variant:d}=r(),l=t.classes(c),p=e=>{const r=e.length-1;return e.map((e,t)=>Object(s.m)("virtual",null,0!==t&&Object(s.m)(i,{key:`breadcrumb-${t}-separator`},"/"),Object(s.m)(o,{key:`breadcrumb-${t}`,current:t===r?"page":void 0,href:e.href,title:e.title,classes:m,theme:b,variant:d},e.label)))},[_=p]=e();return Object(s.m)("nav",{classes:[t.variant(),l.root],"aria-label":u},Object(s.m)("ol",{classes:[n.listFixed,l.list]},_(a)))});r.default=u},80:function(e,r,t){"use strict";t.d(r,"b",function(){return u});var a=t(5),s=t(83),c=t(12);const n=Object(a.a)({coreTheme:s.a}).properties();function i(e){return`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function o(e){return e&&e.hasOwnProperty("variant")}const u=n(function({middleware:{coreTheme:e},properties:r}){const{variant:t,get:a,set:s,classes:n}=e;return{compose:(t,a,s)=>{const n=function(){const{theme:t}=r();if(t)return t;const a=e.get();return Object(c.c)(a)?{theme:a.theme,variant:a.variant}:a?a.theme:void 0}(),u=t[" _key"],m=a[" _key"],b=Object.keys(t).reduce((e,r)=>" _key"===r?e:(s&&!e[`${s}${i(r)}`]&&(e[`${s}${i(r)}`]=" "),a[r]||(e[r]=" "),e),{" _key":m}),d=e.classes(b),l=e.classes(a);let p=e.classes(t);if(s){const e=Object.keys(Object.assign({},d,l)).reduce((e,r)=>{if(0===r.indexOf(s)&&r!==s){const t=function(e){return`${e.charAt(0).toLowerCase()}${e.slice(1)}`}(r.replace(s,"")),a="string"==typeof l[r]&&l[r].trim(),c="string"==typeof d[r]&&d[r].trim();!a&&c&&(e[t]=`${p[t]} ${c}`),a&&(e[t]=l[r])}return e},{});return p=Object.assign({},p,e),o(n)?{theme:{theme:Object.assign({},n.theme.theme,{[u]:p}),variants:n.theme.variants},variant:n.variant}:Object.assign({},n,{[u]:p})}const _=Object.keys(p).reduce((e,r)=>{if(" _key"===r)return e;const t="string"==typeof l[r]&&l[r].trim(),a="string"==typeof d[r]&&d[r].trim();return t?e[r]=t:a&&(e[r]=`${e[r]} ${a}`),e},Object.assign({},p));return o(n)?{theme:{theme:Object.assign({},n.theme.theme,{[u]:_}),variants:n.theme.variants},variant:n.variant}:Object.assign({},n,{[u]:_})},variant:()=>"inherit"===r().variant?void 0:t(),get:a,set:s,classes:n}});r.a=u}}]);
//# sourceMappingURL=breadcrumb-group-8.0.0-beta.12.js.map