import{b as I}from"./chunk-HP6GYALN.js";import{Ia as C,Ja as E,Ka as y,Pa as f,Qa as h,Ta as $,o as v,tb as B,ub as g}from"./chunk-6564DHLL.js";import{$b as p,Fc as e,Gc as S,Hc as x,Qb as c,Tc as _,Zb as d,_b as u,ac as t,bc as n,cc as s,ib as a,yb as b}from"./chunk-YRCUNHHT.js";import"./chunk-2AVGQ2MQ.js";var T=i=>({mark:i});function k(i,r){if(i&1&&(e(0,`
              `),t(1,"c-breadcrumb-item",12),e(2),n(),e(3,`
            `)),i&2){let m=r.$implicit,o=r.$index,l=r.$count;a(),c("active",o===l-1)("url",m.url),a(),x(`
                `,m.label,`
              `)}}function D(i,r){if(i&1&&(e(0,`
              `),t(1,"c-breadcrumb-item",12),e(2),n(),e(3,`
            `)),i&2){let m=r.$implicit,o=r.$index,l=r.$count;a(),c("active",o===l-1)("url",m.url),a(),x(`
                `,m.label,`
              `)}}function F(i,r){if(i&1&&(e(0,`
              `),t(1,"c-breadcrumb-item",12),e(2),n(),e(3,`
            `)),i&2){let m=r.$implicit,o=r.$index,l=r.$count;a(),c("active",o===l-1)("url",m.url),a(),x(`
                `,m.label,`
              `)}}function H(i,r){if(i&1&&(e(0,`
              `),t(1,"c-breadcrumb-item",12),e(2),n(),e(3,`
            `)),i&2){let m=r.$implicit,o=r.$index,l=r.$count;a(),c("active",o===l-1)("url",m.url),a(),x(`
                `,m.label,`
              `)}}function w(i,r){if(i&1&&(e(0,`
              `),t(1,"c-breadcrumb-item",12),e(2,`
                `),t(3,"span",13),e(4),n(),e(5,`
              `),n(),e(6,`
            `)),i&2){let m=r.$implicit,o=r.$index,l=r.$count;a(),c("active",o===l-1)("url",m.url),a(2),c("ngClass",_(4,T,o===l-1)),a(),S(m.label)}}var R=(()=>{class i{constructor(){this.items=[]}ngOnInit(){this.items=[{label:"Home",url:"/",attributes:{title:"Home"}},{label:"Library",url:"/"},{label:"Data",url:"/dashboard/"},{label:"CoreUI",url:"/"}],setTimeout(()=>{this.items=[{label:"CoreUI",url:"/"},{label:"Data",url:"/dashboard/"},{label:"Library",url:"/"},{label:"Home",url:"/",attributes:{title:"Home"}}]},5e3)}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=b({type:i,selectors:[["ng-component"]],decls:104,vars:2,consts:[["xs","12",1,"mb-4"],[1,"text-body-secondary","small"],["href","https://developer.mozilla.org/en-US/docs/Web/CSS/::before"],["href","https://developer.mozilla.org/en-US/docs/Web/CSS/content"],["href","components/breadcrumb"],[1,"mb-2"],[1,"mb-0"],["url","/"],[3,"active"],["xs","12"],["href","components/breadcrumb#router"],[3,"items"],[3,"active","url"],[3,"ngClass"]],template:function(o,l){o&1&&(t(0,"c-row"),e(1,`
  `),t(2,"c-col",0),e(3,`
    `),t(4,"c-card"),e(5,`
      `),t(6,"c-card-header"),e(7,`
        `),t(8,"strong"),e(9,"Angular Breadcrumbs"),n(),e(10,`
      `),n(),e(11,`
      `),t(12,"c-card-body"),e(13,`
        `),t(14,"p",1),e(15,`
          The breadcrumb navigation provides links back to each previous page the user navigated
          through and shows the current location in a website or an application. You don\u2019t have
          to add separators, because they automatically added in CSS through
          `),t(16,"a",2),e(17,`
            `),t(18,"code"),e(19,"::before"),n(),e(20,`
          `),n(),e(21,`
          and
          `),t(22,"a",3),e(23,`
            `),t(24,"code"),e(25,"content"),n(),e(26,`
          `),n(),e(27,`
          .
        `),n(),e(28,`
        `),t(29,"app-docs-example",4),e(30,`
          `),t(31,"c-breadcrumb",5),e(32,`
            `),u(33,k,4,3,null,null,d),n(),e(35,`
          `),s(36,"hr"),e(37,`
          `),t(38,"c-breadcrumb",5),e(39,`
            `),u(40,D,4,3,null,null,d),n(),e(42,`
          `),t(43,"c-breadcrumb",5),e(44,`
            `),u(45,F,4,3,null,null,d),n(),e(47,`
          `),t(48,"c-breadcrumb",5),e(49,`
            `),u(50,H,4,3,null,null,d),n(),e(52,`
          `),t(53,"c-breadcrumb",5),e(54,`
            `),u(55,w,7,6,null,null,d),n(),e(57,`
          `),s(58,"hr"),e(59,`
          `),t(60,"c-breadcrumb",6),e(61,`
            `),t(62,"c-breadcrumb-item",7),e(63,`
              Home
            `),n(),e(64,`
            `),t(65,"c-breadcrumb-item",7),e(66,`
              Library
            `),n(),e(67,`
            `),t(68,"c-breadcrumb-item",7),e(69,`
              Data
            `),n(),e(70,`
            `),t(71,"c-breadcrumb-item",8),e(72,`
              Bootstrap
            `),n(),e(73,`
          `),n(),e(74,`
        `),n(),e(75,`
      `),n(),e(76,`
    `),n(),e(77,`
  `),n(),e(78,`
  `),t(79,"c-col",9),e(80,`
    `),t(81,"c-card"),e(82,`
      `),t(83,"c-card-header"),e(84,`
        `),t(85,"strong"),e(86,"Angular Breadcrumbs"),n(),e(87," "),t(88,"small"),e(89,"router"),n(),e(90,`
      `),n(),e(91,`
      `),t(92,"c-card-body"),e(93,`
        `),t(94,"app-docs-example",10),e(95,`
          `),s(96,"c-breadcrumb-router"),e(97,`
          `),s(98,"c-breadcrumb-router",11),e(99,`
        `),n(),e(100,`
      `),n(),e(101,`
    `),n(),e(102,`
  `),n(),e(103,`
`),n()),o&2&&(a(33),p(l.items),a(7),p(l.items.slice(0,1)),a(5),p(l.items.slice(0,2)),a(5),p(l.items.slice(0,3)),a(5),p(l.items.slice(0,4)),a(16),c("active",!0),a(27),c("items",l.items))},dependencies:[g,B,f,$,h,I,E,C,v,y],encapsulation:2})}}return i})();export{R as BreadcrumbsComponent};
