@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
35 lines (34 loc) • 1.62 kB
JavaScript
import { jsx as g, jsxs as y } from "react/jsx-runtime";
import { c as b } from "react/compiler-runtime";
import { twMerge as N } from "tailwind-merge";
import { mergeDeep as w } from "../../helpers/merge-deep.mjs";
import { getTheme as x } from "../../theme-store/index.mjs";
const D = (n) => {
const e = b(25);
let r, l, o, i, s, a;
e[0] !== n ? ({
by: r,
className: l,
href: o,
theme: s,
year: a,
...i
} = n, e[0] = n, e[1] = r, e[2] = l, e[3] = o, e[4] = i, e[5] = s, e[6] = a) : (r = e[1], l = e[2], o = e[3], i = e[4], s = e[5], a = e[6]);
let c;
e[7] !== s ? (c = s === void 0 ? {} : s, e[7] = s, e[8] = c) : c = e[8];
const d = c;
let m, f, t;
e[9] !== l || e[10] !== d ? (t = w(x().footer.copyright, d), m = "flowbite-footer-copyright", f = N(t.base, l), e[9] = l, e[10] = d, e[11] = m, e[12] = f, e[13] = t) : (m = e[11], f = e[12], t = e[13]);
let p;
e[14] !== r || e[15] !== o || e[16] !== t.href || e[17] !== t.span ? (p = o ? /* @__PURE__ */ g("a", { href: o, className: t.href, children: r }) : /* @__PURE__ */ g("span", { "data-testid": "flowbite-footer-copyright-span", className: t.span, children: r }), e[14] = r, e[15] = o, e[16] = t.href, e[17] = t.span, e[18] = p) : p = e[18];
let h;
return e[19] !== i || e[20] !== m || e[21] !== f || e[22] !== p || e[23] !== a ? (h = /* @__PURE__ */ y("div", { "data-testid": m, className: f, ...i, children: [
"© ",
a,
p
] }), e[19] = i, e[20] = m, e[21] = f, e[22] = p, e[23] = a, e[24] = h) : h = e[24], h;
};
export {
D as FooterCopyright
};
//# sourceMappingURL=FooterCopyright.mjs.map