text: (this["webpackJsonpBitfari-SC"]=this["webpackJsonpBitfari-SC"]||[]).push([[101],{1959:function(e,a,s){"use strict";s.r(a);var c=s(0),t=s(445),n=s(446),r=s(441),l=s(443),i=s(449),o=s(448),d=s(444),j=s(923),b=s(6),m=function(){return Object(b.jsxs)(l.a,{children:[Object(b.jsx)(i.a,{className:"pb-0",children:Object(b.jsx)(o.a,{tag:"h4",children:"Basic"})}),Object(b.jsx)(d.a,{children:Object(b.jsxs)("div",{className:"demo-inline-spacing",children:[Object(b.jsx)(j.a,{type:"switch",id:"exampleCustomSwitch",name:"customSwitch",label:"Toggle this switch element",inline:!0}),Object(b.jsx)(j.a,{type:"switch",id:"exampleCustomSwitchdisabled",name:"customSwitchdisabled",label:"Disabled switch element",inline:!0,disabled:!0})]})})]})},u=s(452),h=function(){return Object(b.jsxs)(l.a,{children:[Object(b.jsx)(i.a,{children:Object(b.jsx)(o.a,{tag:"h4",children:"Colors"})}),Object(b.jsxs)(d.a,{children:[Object(b.jsxs)(u.a,{className:"mb-0",children:["Use class ",Object(b.jsx)("code",{children:".custom-control-colorName"})," to change switch's color"]}),Object(b.jsxs)("div",{className:"demo-inline-spacing",children:[Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Primary"}),Object(b.jsx)(j.a,{type:"switch",id:"switch-primary",name:"primary",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Secondary"}),Object(b.jsx)(j.a,{className:"custom-control-secondary",type:"switch",id:"secondary",name:"secondary",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Success"}),Object(b.jsx)(j.a,{className:"custom-control-success",type:"switch",id:"success",name:"success",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Danger"}),Object(b.jsx)(j.a,{className:"custom-control-danger",type:"switch",id:"danger",name:"danger",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Warning"}),Object(b.jsx)(j.a,{className:"custom-control-warning",type:"switch",id:"warning",name:"warning",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Info"}),Object(b.jsx)(j.a,{className:"custom-control-info",type:"switch",id:"info",name:"info",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Dark"}),Object(b.jsx)(j.a,{className:"custom-control-dark",type:"switch",id:"dark",name:"dark",inline:!0,defaultChecked:!0})]})]})]})]})},O=s(991),p=s(925),x=function(){return Object(b.jsxs)(c.Fragment,{children:[Object(b.jsx)("span",{className:"switch-icon-left",children:Object(b.jsx)(O.a,{size:14})}),Object(b.jsx)("span",{className:"switch-icon-right",children:Object(b.jsx)(p.a,{size:14})})]})},g=function(){return Object(b.jsxs)(l.a,{children:[Object(b.jsx)(i.a,{children:Object(b.jsx)(o.a,{tag:"h4",children:"Icons"})}),Object(b.jsxs)(d.a,{children:[Object(b.jsxs)(u.a,{className:"mb-0",children:["Use class ",Object(b.jsx)("code",{children:".switch-icon-left & .switch-icon-right"})," inside of",Object(b.jsx)("code",{children:"label"})," prop to create a switch with icon."]}),Object(b.jsxs)("div",{className:"demo-inline-spacing",children:[Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Primary"}),Object(b.jsx)(j.a,{type:"switch",label:Object(b.jsx)(x,{}),id:"icon-primary",name:"icon-primary",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Secondary"}),Object(b.jsx)(j.a,{type:"switch",label:Object(b.jsx)(x,{}),className:"custom-control-secondary",id:"icon-secondary",name:"icon-secondary",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Success"}),Object(b.jsx)(j.a,{type:"switch",label:Object(b.jsx)(x,{}),className:"custom-control-success",id:"icon-success",name:"icon-success",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Danger"}),Object(b.jsx)(j.a,{type:"switch",label:Object(b.jsx)(x,{}),className:"custom-control-danger",id:"icon-danger",name:"icon-danger",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Warning"}),Object(b.jsx)(j.a,{type:"switch",label:Object(b.jsx)(x,{}),className:"custom-control-warning",id:"icon-warning",name:"icon-warning",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Info"}),Object(b.jsx)(j.a,{type:"switch",label:Object(b.jsx)(x,{}),className:"custom-control-info",id:"icon-info",name:"icon-info",inline:!0,defaultChecked:!0})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(u.a,{className:"mb-0",children:"Dark"}),Object(b.jsx)(j.a,{type:"switch",label:Object(b.jsx)(x,{}),className:"custom-control-dark",id:"icon-dark",name:"icon-dark",inline:!0,defaultChecked:!0})]})]})]})]})};a.default=function(){return Object(b.jsxs)(c.Fragment,{children:[Object(b.jsx)(r.a,{breadCrumbTitle:"Switch",breadCrumbParent:"Form Elements",breadCrumbActive:"Switch"}),Object(b.jsxs)(t.a,{children:[Object(b.jsx)(n.a,{sm:"12",children:Object(b.jsx)(m,{})}),Object(b.jsx)(n.a,{sm:"12",children:Object(b.jsx)(h,{})}),Object(b.jsx)(n.a,{sm:"12",children:Object(b.jsx)(g,{})})]})]})}},441:function(e,a,s){"use strict";var c=s(442),t=s(450),n=s(451),r=s(6);a.a=function(e){var a=e.breadCrumbTitle,s=e.breadCrumbParent,l=e.breadCrumbParent2,i=e.breadCrumbParent3,o=e.breadCrumbActive;return Object(r.jsxs)("div",{className:"content-header row",children:[Object(r.jsx)("div",{className:"content-header-left col-md-9 col-12 mb-2",children:Object(r.jsx)("div",{className:"row breadcrumbs-top",children:Object(r.jsxs)("div",{className:"col-12",children:[a?Object(r.jsx)("h2",{className:"content-header-title float-left mb-0",children:a}):"",Object(r.jsx)("div",{className:"breadcrumb-wrapper vs-breadcrumbs d-sm-block d-none col-12",children:Object(r.jsxs)(t.a,{children:[Object(r.jsx)(n.a,{tag:"li",children:Object(r.jsx)(c.b,{to:"/",children:"Home"})}),Object(r.jsx)(n.a,{tag:"li",className:"text-primary",children:s}),l?Object(r.jsx)(n.a,{tag:"li",className:"text-primary",children:l}):"",i?Object(r.jsx)(n.a,{tag:"li",className:"text-primary",children:i}):"",Object(r.jsx)(n.a,{tag:"li",active:!0,children:o})]})})]})})}),Object(r.jsx)("div",{className:"content-header-right text-md-right col-md-3 col-12 d-md-block d-none",children:Object(r.jsx)("div",{className:"form-group breadcrum-right dropdown"})})]})}},443:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b={tag:j.tagPropType,inverse:i.a.bool,color:i.a.string,body:i.a.bool,outline:i.a.bool,className:i.a.string,cssModule:i.a.object,innerRef:i.a.oneOfType([i.a.object,i.a.string,i.a.func])},m=function(e){var a=e.className,s=e.cssModule,n=e.color,l=e.body,i=e.inverse,o=e.outline,b=e.tag,m=e.innerRef,u=Object(t.a)(e,["className","cssModule","color","body","inverse","outline","tag","innerRef"]),h=Object(j.mapToCssModules)(d()(a,"card",!!i&&"text-white",!!l&&"card-body",!!n&&(o?"border":"bg")+"-"+n),s);return r.a.createElement(b,Object(c.a)({},u,{className:h,ref:m}))};m.propTypes=b,m.defaultProps={tag:"div"},a.a=m},444:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b={tag:j.tagPropType,className:i.a.string,cssModule:i.a.object,innerRef:i.a.oneOfType([i.a.object,i.a.string,i.a.func])},m=function(e){var a=e.className,s=e.cssModule,n=e.innerRef,l=e.tag,i=Object(t.a)(e,["className","cssModule","innerRef","tag"]),o=Object(j.mapToCssModules)(d()(a,"card-body"),s);return r.a.createElement(l,Object(c.a)({},i,{className:o,ref:n}))};m.propTypes=b,m.defaultProps={tag:"div"},a.a=m},445:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b=i.a.oneOfType([i.a.number,i.a.string]),m={tag:j.tagPropType,noGutters:i.a.bool,className:i.a.string,cssModule:i.a.object,form:i.a.bool,xs:b,sm:b,md:b,lg:b,xl:b},u={tag:"div",widths:["xs","sm","md","lg","xl"]},h=function(e){var a=e.className,s=e.cssModule,n=e.noGutters,l=e.tag,i=e.form,o=e.widths,b=Object(t.a)(e,["className","cssModule","noGutters","tag","form","widths"]),m=[];o.forEach((function(a,s){var c=e[a];if(delete b[a],c){var t=!s;m.push(t?"row-cols-"+c:"row-cols-"+a+"-"+c)}}));var u=Object(j.mapToCssModules)(d()(a,n?"no-gutters":null,i?"form-row":"row",m),s);return r.a.createElement(l,Object(c.a)({},b,{className:u}))};h.propTypes=m,h.defaultProps=u,a.a=h},446:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b=i.a.oneOfType([i.a.number,i.a.string]),m=i.a.oneOfType([i.a.bool,i.a.number,i.a.string,i.a.shape({size:i.a.oneOfType([i.a.bool,i.a.number,i.a.string]),order:b,offset:b})]),u={tag:j.tagPropType,xs:m,sm:m,md:m,lg:m,xl:m,className:i.a.string,cssModule:i.a.object,widths:i.a.array},h={tag:"div",widths:["xs","sm","md","lg","xl"]},O=function(e,a,s){return!0===s||""===s?e?"col":"col-"+a:"auto"===s?e?"col-auto":"col-"+a+"-auto":e?"col-"+s:"col-"+a+"-"+s},p=function(e){var a=e.className,s=e.cssModule,n=e.widths,l=e.tag,i=Object(t.a)(e,["className","cssModule","widths","tag"]),o=[];n.forEach((function(a,c){var t=e[a];if(delete i[a],t||""===t){var n=!c;if(Object(j.isObject)(t)){var r,l=n?"-":"-"+a+"-",b=O(n,a,t.size);o.push(Object(j.mapToCssModules)(d()(((r={})[b]=t.size||""===t.size,r["order"+l+t.order]=t.order||0===t.order,r["offset"+l+t.offset]=t.offset||0===t.offset,r)),s))}else{var m=O(n,a,t);o.push(m)}}})),o.length||o.push("col");var b=Object(j.mapToCssModules)(d()(a,o),s);return r.a.createElement(l,Object(c.a)({},i,{className:b}))};p.propTypes=u,p.defaultProps=h,a.a=p},448:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b={tag:j.tagPropType,className:i.a.string,cssModule:i.a.object},m=function(e){var a=e.className,s=e.cssModule,n=e.tag,l=Object(t.a)(e,["className","cssModule","tag"]),i=Object(j.mapToCssModules)(d()(a,"card-title"),s);return r.a.createElement(n,Object(c.a)({},l,{className:i}))};m.propTypes=b,m.defaultProps={tag:"div"},a.a=m},449:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b={tag:j.tagPropType,className:i.a.string,cssModule:i.a.object},m=function(e){var a=e.className,s=e.cssModule,n=e.tag,l=Object(t.a)(e,["className","cssModule","tag"]),i=Object(j.mapToCssModules)(d()(a,"card-header"),s);return r.a.createElement(n,Object(c.a)({},l,{className:i}))};m.propTypes=b,m.defaultProps={tag:"div"},a.a=m},450:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b={tag:j.tagPropType,listTag:j.tagPropType,className:i.a.string,listClassName:i.a.string,cssModule:i.a.object,children:i.a.node,"aria-label":i.a.string},m=function(e){var a=e.className,s=e.listClassName,n=e.cssModule,l=e.children,i=e.tag,o=e.listTag,b=e["aria-label"],m=Object(t.a)(e,["className","listClassName","cssModule","children","tag","listTag","aria-label"]),u=Object(j.mapToCssModules)(d()(a),n),h=Object(j.mapToCssModules)(d()("breadcrumb",s),n);return r.a.createElement(i,Object(c.a)({},m,{className:u,"aria-label":b}),r.a.createElement(o,{className:h},l))};m.propTypes=b,m.defaultProps={tag:"nav",listTag:"ol","aria-label":"breadcrumb"},a.a=m},451:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b={tag:j.tagPropType,active:i.a.bool,className:i.a.string,cssModule:i.a.object},m=function(e){var a=e.className,s=e.cssModule,n=e.active,l=e.tag,i=Object(t.a)(e,["className","cssModule","active","tag"]),o=Object(j.mapToCssModules)(d()(a,!!n&&"active","breadcrumb-item"),s);return r.a.createElement(l,Object(c.a)({},i,{className:o,"aria-current":n?"page":void 0}))};m.propTypes=b,m.defaultProps={tag:"li"},a.a=m},452:function(e,a,s){"use strict";var c=s(14),t=s(18),n=s(0),r=s.n(n),l=s(5),i=s.n(l),o=s(102),d=s.n(o),j=s(60),b={tag:j.tagPropType,className:i.a.string,cssModule:i.a.object},m=function(e){var a=e.className,s=e.cssModule,n=e.tag,l=Object(t.a)(e,["className","cssModule","tag"]),i=Object(j.mapToCssModules)(d()(a,"card-text"),s);return r.a.createElement(n,Object(c.a)({},l,{className:i}))};m.propTypes=b,m.defaultProps={tag:"p"},a.a=m}}]);
  //# sourceMappingURL=101.dfd3ee20.chunk.js.map