tenara-ui-components 0.1.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -7
- package/dist/components/atoms/Button/Button.d.ts +3 -1
- package/dist/components/atoms/Button/Button.d.ts.map +1 -1
- package/dist/components/atoms/Button/buttonIcons.d.ts +20 -0
- package/dist/components/atoms/Button/buttonIcons.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/molecules/CTA/CTA.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.js +25 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +25 -2
- package/dist/index.js.map +1 -1
- package/dist/themes/core/context.d.ts.map +1 -1
- package/dist/themes/core/types.d.ts +9 -0
- package/dist/themes/core/types.d.ts.map +1 -1
- package/dist/themes/presets/advisors-plus.d.ts.map +1 -1
- package/dist/themes/presets/default.d.ts.map +1 -1
- package/dist/themes/presets/primax.d.ts.map +1 -1
- package/dist/themes/utils/generator.d.ts.map +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -10,16 +10,11 @@ npm install tenara-ui-components
|
|
|
10
10
|
|
|
11
11
|
## Quick Start
|
|
12
12
|
|
|
13
|
-
### 1. Import Styles
|
|
13
|
+
### 1. Import Styles and Wrap Your App with ThemeProvider
|
|
14
14
|
|
|
15
15
|
```tsx
|
|
16
16
|
// app/globals.css or your main CSS file
|
|
17
17
|
import 'tenara-ui-components/dist/index.css';
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
### 2. Wrap Your App with ThemeProvider
|
|
21
|
-
|
|
22
|
-
```tsx
|
|
23
18
|
// app/layout.tsx (Next.js 13+) or _app.tsx
|
|
24
19
|
import { ThemeProvider, mySiteTheme } from 'tenara-ui-components';
|
|
25
20
|
|
|
@@ -36,7 +31,7 @@ export default function RootLayout({ children }) {
|
|
|
36
31
|
}
|
|
37
32
|
```
|
|
38
33
|
|
|
39
|
-
###
|
|
34
|
+
### 2. Use Components
|
|
40
35
|
|
|
41
36
|
```tsx
|
|
42
37
|
import { Button, Card, Header } from 'tenara-ui-components';
|
|
@@ -8,6 +8,8 @@ export interface ButtonProps {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
/** Icon element */
|
|
10
10
|
icon?: React.ReactNode;
|
|
11
|
+
/** Icon to show on hover (optional) */
|
|
12
|
+
hoverIcon?: React.ReactNode;
|
|
11
13
|
/** Allow passing classname to component */
|
|
12
14
|
className?: string;
|
|
13
15
|
/** Custom styles */
|
|
@@ -20,5 +22,5 @@ export interface ButtonProps {
|
|
|
20
22
|
onClick?: () => void;
|
|
21
23
|
}
|
|
22
24
|
/** Primary UI component for user interaction */
|
|
23
|
-
export declare const Button: ({ buttonType, label, icon, className, children, style, disabled, onClick, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const Button: ({ buttonType, label, icon, hoverIcon, className, children, style, disabled, onClick, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
26
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,CAAC;AAGvB,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,OAAO,GACP,WAAW,GACX,KAAK,GACL,WAAW,GACX,gBAAgB,GAChB,SAAS,GACT,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,WAAW,WAAW;IAC1B,0BAA0B;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,uCAAuC;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAID,gDAAgD;AAEhD,eAAO,MAAM,MAAM,GAAI,iGAWpB,WAAW,4CA0Bb,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Button icon configuration
|
|
3
|
+
* Maps button types to their default icons with hover states
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { ButtonType } from './Button';
|
|
7
|
+
interface ButtonIconConfig {
|
|
8
|
+
regular: React.ReactNode;
|
|
9
|
+
hover?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Default icon configuration for each button type
|
|
13
|
+
*/
|
|
14
|
+
export declare const defaultButtonIcons: Partial<Record<ButtonType, ButtonIconConfig>>;
|
|
15
|
+
/**
|
|
16
|
+
* Get icon configuration for a button type
|
|
17
|
+
*/
|
|
18
|
+
export declare function getButtonIcon(buttonType: ButtonType, customIcon?: React.ReactNode, customHoverIcon?: React.ReactNode): ButtonIconConfig | null;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=buttonIcons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttonIcons.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button/buttonIcons.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,UAAU,gBAAgB;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAqB5E,CAAC;AAEF;;GAEG;AACH,wBAAgB,aAAa,CAC3B,UAAU,EAAE,UAAU,EACtB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,EAC5B,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,GAChC,gBAAgB,GAAG,IAAI,CAWzB"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import './styles.css';
|
|
2
|
+
export { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
1
3
|
export { Button } from './atoms/Button/Button';
|
|
4
|
+
export { defaultButtonIcons } from './atoms/Button/buttonIcons';
|
|
2
5
|
export { ButtonLink } from './atoms/ButtonLink';
|
|
3
6
|
export { TextLink } from './atoms/TextLink/TextLink';
|
|
4
7
|
export { BackgroundMedia } from './atoms/BackgroundMedia';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAGtC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,cAAc,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CTA.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/CTA/CTA.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAW,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"CTA.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/CTA/CTA.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAW,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,YAAY,CAAC;AAIpB,MAAM,WAAW,QAAQ;IACvB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,sBAAsB;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kBAAkB;IAClB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC5B,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,sDAAsD;AACtD,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA+ClC,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.button{align-items:center;border:1px solid transparent;border-radius:var(--button-border-radius,20px);cursor:pointer;display:inline-flex;font-family:var(--font-family,sans-serif);font-size:var(--button-font-size,16px);font-weight:var(--button-font-weight,600);padding:var(--button-padding,14px 25px 13px);text-decoration:none;transition:all .3s ease}.button:disabled{cursor:not-allowed;opacity:.6}.button .icon{margin-left:8px}.button .icon--regular{display:inline}.button .icon--hover,.button:hover .icon--regular{display:none}.button:hover .icon--hover{display:inline}.button--general,.button--subscribe,.button--video{background-color:var(--button-general-bg,#1e40af);border-color:var(--button-general-border,#1e40af);box-shadow:var(--button-general-shadow,none);color:var(--button-general-color,#fff)}.button--general:hover:not(:disabled),.button--subscribe:hover:not(:disabled),.button--video:hover:not(:disabled){background-color:var(--button-general-bg-hover,#1e3a8a)}.button--general:active:not(:disabled),.button--subscribe:active:not(:disabled),.button--video:active:not(:disabled){background-color:var(--button-general-bg-active,#1d4ed8)}.button--cta{background-color:var(--button-cta-bg,#efe63f);border-color:var(--button-cta-border,#efe63f);box-shadow:var(--button-cta-shadow,none);color:var(--button-cta-color,#312e81)}.button--cta:hover:not(:disabled){background-color:var(--button-cta-bg-hover,#efe63f)}.button--cta:active:not(:disabled){background-color:var(--button-cta-bg-active,#efe63f)}.button--facebook,.button--linkedIn,.button--secondary,.button--twitter{background-color:var(--button-secondary-bg,transparent);border:2px solid var(--button-secondary-border,#1e40af);box-shadow:var(--button-secondary-shadow,none);color:var(--button-secondary-color,#1e40af);padding:13px 24px 12px}.button--facebook:hover:not(:disabled),.button--linkedIn:hover:not(:disabled),.button--secondary:hover:not(:disabled),.button--twitter:hover:not(:disabled){background-color:var(--button-secondary-bg-hover,#1e40af);color:var(--button-secondary-color-hover,#fff)}.button--facebook:active:not(:disabled),.button--linkedIn:active:not(:disabled),.button--secondary:active:not(:disabled),.button--twitter:active:not(:disabled){background-color:var(--button-secondary-bg-active,#1d4ed8)}.button--secondarySolid{background-color:transparent;border:2px solid #fff;color:#fff}.button--secondarySolid:hover:not(:disabled){background-color:#3b82f6;border-color:#3b82f6}.button--secondarySolid:active:not(:disabled){background-color:#2563eb;border-color:#2563eb}.text-link{align-items:center;color:#1e3a8a;cursor:pointer;display:inline-flex;font-weight:700;gap:4px;text-decoration:underline;text-underline-offset:2px;transition:color .2s ease,text-decoration-color .2s ease}.text-link:hover{color:#1e40af;text-decoration:underline}.text-link:focus{border-radius:2px;outline:2px solid #2563eb;outline-offset:2px}.text-link:focus:not(:focus-visible){outline:none}.text-link:focus-visible{border-radius:2px;outline:2px solid #2563eb;outline-offset:2px}.text-link:active{color:#1e40af}.text-link--disabled{cursor:not-allowed;pointer-events:none}.text-link--disabled,.text-link--disabled:hover{color:#9ca3af;text-decoration:none}@media (prefers-contrast:high){.text-link{text-decoration-thickness:2px}.text-link:focus-visible{outline-width:3px}}@media (prefers-reduced-motion:reduce){.text-link{transition:none}}.background-media{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;left:0;position:absolute;top:0;width:100%}.background-media--video{object-fit:cover}.heading{margin:0}.card-wrapper{max-width:340px;width:100%}.card__link{color:inherit;display:block;text-decoration:none}.card__link:focus{outline:2px solid currentColor;outline-offset:2px}.card{background-color:var(--card-background,#fff);border:var(--card-border,1px solid #e0e0e0);border-radius:var(--card-border-radius,20px);box-sizing:border-box;font-family:var(--font-family,sans-serif);transition:box-shadow .3s ease;width:100%}.card--hover-effect:hover{box-shadow:var(--card-shadow,0 3px 6px rgba(0,0,0,.1))}.card--hover-effect:hover .card__image-container{transform:scale(1.4)}.card:active{border:2px solid #00bcd4}.card[role=button]{cursor:pointer}.card[role=button]:focus{outline:2px solid currentColor;outline-offset:2px}.card__image-wrapper{aspect-ratio:3/2;border-radius:20px 20px 0 0;overflow:hidden;position:relative;width:100%}@media (max-width:768px){.card__image-wrapper{aspect-ratio:16/9}}.card__image-container{bottom:0;left:0;position:absolute;right:0;top:0;transition:transform .25s ease}.card__image{height:100%;object-fit:cover;width:100%}.card__body{box-sizing:border-box;padding:var(--card-padding,30px)}.cta{height:500px;overflow:hidden;position:relative;width:100%}.cta__content{align-items:flex-start;background-color:var(--cta-background,#312e81);border-radius:var(--cta-border-radius,0 0 200px);display:flex;flex-direction:column;flex-wrap:wrap;height:450px;justify-content:center;min-width:50%;padding:var(--cta-padding,84px 50px 0 60px);position:relative;width:745px;z-index:1}.cta__title{font-family:var(--font-family-heading,sans-serif);font-size:var(--cta-title-font-size,2.5rem);font-weight:var(--cta-title-font-weight,bold);line-height:var(--cta-title-line-height,1.2);margin:var(--cta-title-margin,0 0 1rem)}.cta__description,.cta__title{color:var(--text-color-inverse,#fff)}.cta__description{font-family:var(--font-family,sans-serif);font-size:var(--cta-description-font-size,1.125rem);font-weight:var(--cta-description-font-weight,normal);line-height:var(--cta-description-line-height,1.6);margin:var(--cta-description-margin,0 0 2rem)}
|
package/dist/index.esm.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.button{align-items:center;border:1px solid transparent;border-radius:var(--button-border-radius,20px);cursor:pointer;display:inline-flex;font-family:var(--font-family,sans-serif);font-size:var(--button-font-size,16px);font-weight:var(--button-font-weight,600);padding:var(--button-padding,14px 25px 13px);text-decoration:none;transition:all .3s ease}.button:disabled{cursor:not-allowed;opacity:.6}.button .icon{margin-left:8px}.button .icon--regular{display:inline}.button .icon--hover,.button:hover .icon--regular{display:none}.button:hover .icon--hover{display:inline}.button--general,.button--subscribe,.button--video{background-color:var(--button-general-bg,#1e40af);border-color:var(--button-general-border,#1e40af);box-shadow:var(--button-general-shadow,none);color:var(--button-general-color,#fff)}.button--general:hover:not(:disabled),.button--subscribe:hover:not(:disabled),.button--video:hover:not(:disabled){background-color:var(--button-general-bg-hover,#1e3a8a)}.button--general:active:not(:disabled),.button--subscribe:active:not(:disabled),.button--video:active:not(:disabled){background-color:var(--button-general-bg-active,#1d4ed8)}.button--cta{background-color:var(--button-cta-bg,#efe63f);border-color:var(--button-cta-border,#efe63f);box-shadow:var(--button-cta-shadow,none);color:var(--button-cta-color,#312e81)}.button--cta:hover:not(:disabled){background-color:var(--button-cta-bg-hover,#efe63f)}.button--cta:active:not(:disabled){background-color:var(--button-cta-bg-active,#efe63f)}.button--facebook,.button--linkedIn,.button--secondary,.button--twitter{background-color:var(--button-secondary-bg,transparent);border:2px solid var(--button-secondary-border,#1e40af);box-shadow:var(--button-secondary-shadow,none);color:var(--button-secondary-color,#1e40af);padding:13px 24px 12px}.button--facebook:hover:not(:disabled),.button--linkedIn:hover:not(:disabled),.button--secondary:hover:not(:disabled),.button--twitter:hover:not(:disabled){background-color:var(--button-secondary-bg-hover,#1e40af);color:var(--button-secondary-color-hover,#fff)}.button--facebook:active:not(:disabled),.button--linkedIn:active:not(:disabled),.button--secondary:active:not(:disabled),.button--twitter:active:not(:disabled){background-color:var(--button-secondary-bg-active,#1d4ed8)}.button--secondarySolid{background-color:transparent;border:2px solid #fff;color:#fff}.button--secondarySolid:hover:not(:disabled){background-color:#3b82f6;border-color:#3b82f6}.button--secondarySolid:active:not(:disabled){background-color:#2563eb;border-color:#2563eb}.text-link{align-items:center;color:#1e3a8a;cursor:pointer;display:inline-flex;font-weight:700;gap:4px;text-decoration:underline;text-underline-offset:2px;transition:color .2s ease,text-decoration-color .2s ease}.text-link:hover{color:#1e40af;text-decoration:underline}.text-link:focus{border-radius:2px;outline:2px solid #2563eb;outline-offset:2px}.text-link:focus:not(:focus-visible){outline:none}.text-link:focus-visible{border-radius:2px;outline:2px solid #2563eb;outline-offset:2px}.text-link:active{color:#1e40af}.text-link--disabled{cursor:not-allowed;pointer-events:none}.text-link--disabled,.text-link--disabled:hover{color:#9ca3af;text-decoration:none}@media (prefers-contrast:high){.text-link{text-decoration-thickness:2px}.text-link:focus-visible{outline-width:3px}}@media (prefers-reduced-motion:reduce){.text-link{transition:none}}.background-media{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;left:0;position:absolute;top:0;width:100%}.background-media--video{object-fit:cover}.heading{margin:0}.card-wrapper{max-width:340px;width:100%}.card__link{color:inherit;display:block;text-decoration:none}.card__link:focus{outline:2px solid currentColor;outline-offset:2px}.card{background-color:var(--card-background,#fff);border:var(--card-border,1px solid #e0e0e0);border-radius:var(--card-border-radius,20px);box-sizing:border-box;font-family:var(--font-family,sans-serif);transition:box-shadow .3s ease;width:100%}.card--hover-effect:hover{box-shadow:var(--card-shadow,0 3px 6px rgba(0,0,0,.1))}.card--hover-effect:hover .card__image-container{transform:scale(1.4)}.card:active{border:2px solid #00bcd4}.card[role=button]{cursor:pointer}.card[role=button]:focus{outline:2px solid currentColor;outline-offset:2px}.card__image-wrapper{aspect-ratio:3/2;border-radius:20px 20px 0 0;overflow:hidden;position:relative;width:100%}@media (max-width:768px){.card__image-wrapper{aspect-ratio:16/9}}.card__image-container{bottom:0;left:0;position:absolute;right:0;top:0;transition:transform .25s ease}.card__image{height:100%;object-fit:cover;width:100%}.card__body{box-sizing:border-box;padding:var(--card-padding,30px)}.cta{height:500px;overflow:hidden;position:relative;width:100%}.cta__content{align-items:flex-start;background-color:var(--cta-background,#312e81);border-radius:var(--cta-border-radius,0 0 200px);display:flex;flex-direction:column;flex-wrap:wrap;height:450px;justify-content:center;min-width:50%;padding:var(--cta-padding,84px 50px 0 60px);position:relative;width:745px;z-index:1}.cta__title{font-family:var(--font-family-heading,sans-serif);font-size:var(--cta-title-font-size,2.5rem);font-weight:var(--cta-title-font-weight,bold);line-height:var(--cta-title-line-height,1.2);margin:var(--cta-title-margin,0 0 1rem)}.cta__description,.cta__title{color:var(--text-color-inverse,#fff)}.cta__description{font-family:var(--font-family,sans-serif);font-size:var(--cta-description-font-size,1.125rem);font-weight:var(--cta-description-font-weight,normal);line-height:var(--cta-description-line-height,1.6);margin:var(--cta-description-margin,0 0 2rem)}
|
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import e,{createContext as
|
|
2
|
+
import e,{createContext as t,useEffect as n,useContext as r}from"react";
|
|
3
|
+
/*!
|
|
4
|
+
* Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com
|
|
5
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
6
|
+
* Copyright 2025 Fonticons, Inc.
|
|
7
|
+
*/function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=m(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function s(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||m(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}var b=function(){},y={},h={},g=null,v={mark:b,measure:b};try{"undefined"!=typeof window&&(y=window),"undefined"!=typeof document&&(h=document),"undefined"!=typeof MutationObserver&&(g=MutationObserver),"undefined"!=typeof performance&&(v=performance)}catch(V){}var x=(y.navigator||{}).userAgent,w=void 0===x?"":x,k=y,j=h,S=g,O=v;k.document;var A,N=!!j.documentElement&&!!j.head&&"function"==typeof j.addEventListener&&"function"==typeof j.createElement,P=~w.indexOf("MSIE")||~w.indexOf("Trident/"),E={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"}},I=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press"],C="classic",F="duotone",z="sharp",T="sharp-duotone",M="chisel",_="etch",R="jelly",$="jelly-duo",D="jelly-fill",L="notdog",H="notdog-duo",W="slab",U="slab-press",V="thumbprint",B="whiteboard",Y=[C,F,z,T,M,_,R,$,D,L,H,W,U,V,B];s(s(s(s(s(s(s(s(s(s(A={},C,"Classic"),F,"Duotone"),z,"Sharp"),T,"Sharp Duotone"),M,"Chisel"),_,"Etch"),R,"Jelly"),$,"Jelly Duo"),D,"Jelly Fill"),L,"Notdog"),s(s(s(s(s(A,H,"Notdog Duo"),W,"Slab"),U,"Slab Press"),V,"Thumbprint"),B,"Whiteboard");var J=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),q=["fak","fa-kit","fakd","fa-kit-duotone"],X={fak:"kit","fa-kit":"kit"},K={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};s(s({},"kit","Kit"),"kit-duotone","Kit Duotone");var G,Z={kit:"fak"},Q={"kit-duotone":"fakd"},ee="duotone-group",te="swap-opacity",ne="primary",re="secondary";s(s(s(s(s(s(s(s(s(s(G={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),s(s(s(s(s(G,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"whiteboard","Whiteboard");s(s({},"kit","Kit"),"kit-duotone","Kit Duotone");var ae={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"}},oe=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),ie=[1,2,3,4,5,6,7,8,9,10],se=ie.concat([11,12,13,14,15,16,17,18,19,20]),le=[].concat(u(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",ee,te,ne,re]).concat(ie.map(function(e){return"".concat(e,"x")})).concat(se.map(function(e){return"w-".concat(e)})),ce="___FONT_AWESOME___",fe="svg-inline--fa",ue="data-fa-i2svg",de="data-fa-pseudo-element",pe="data-prefix",me="data-icon",be="fontawesome-i2svg",ye=["HTML","HEAD","STYLE","SCRIPT"],he=["::before","::after",":before",":after"],ge=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}();function ve(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[C]}})}var xe=c({},E);xe[C]=c(c(c(c({},{"fa-duotone":"duotone"}),E[C]),X),K);var we=ve(xe),ke=c({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},whiteboard:{semibold:"fawsb"}});ke[C]=c(c(c(c({},{duotone:"fad"}),ke[C]),Z),Q);var je=ve(ke),Se=c({},ae);Se[C]=c(c({},Se[C]),{fak:"fa-kit"});var Oe=ve(Se),Ae=c({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"}});Ae[C]=c(c({},Ae[C]),{"fa-kit":"fak"}),ve(Ae);var Ne=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Pe="fa-layers-text",Ee=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i;ve(c({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"}}));var Ie=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ce={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Fe=[].concat(u(["kit"]),u(le)),ze=k.FontAwesomeConfig||{};if(j&&"function"==typeof j.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=f(e,2),n=t[0],r=t[1],a=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=j.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=a&&(ze[r]=a)})}var Te={styleDefault:"solid",familyDefault:C,cssPrefix:"fa",replacementClass:fe,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ze.familyPrefix&&(ze.cssPrefix=ze.familyPrefix);var Me=c(c({},Te),ze);Me.autoReplaceSvg||(Me.observeMutations=!1);var _e={};Object.keys(Te).forEach(function(e){Object.defineProperty(_e,e,{enumerable:!0,set:function(t){Me[e]=t,Re.forEach(function(e){return e(_e)})},get:function(){return Me[e]}})}),Object.defineProperty(_e,"familyPrefix",{enumerable:!0,set:function(e){Me.cssPrefix=e,Re.forEach(function(e){return e(_e)})},get:function(){return Me.cssPrefix}}),k.FontAwesomeConfig=_e;var Re=[];var $e=16,De={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Le(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function He(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function We(e){return e.classList?He(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function Ue(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Ve(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Be(e){return e.size!==De.size||e.x!==De.x||e.y!==De.y||e.rotate!==De.rotate||e.flipX||e.flipY}function Ye(){var e="fa",t=fe,n=_e.cssPrefix,r=_e.replacementClass,a=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");a=a.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return a}var Je=!1;function qe(){_e.autoAddCss&&!Je&&(!function(e){if(e&&N){var t=j.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=j.head.childNodes,r=null,a=n.length-1;a>-1;a--){var o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}j.head.insertBefore(t,r)}}(Ye()),Je=!0)}var Xe={mixout:function(){return{dom:{css:Ye,insertCss:qe}}},hooks:function(){return{beforeDOMElementCreation:function(){qe()},beforeI2svg:function(){qe()}}}},Ke=k||{};Ke[ce]||(Ke[ce]={}),Ke[ce].styles||(Ke[ce].styles={}),Ke[ce].hooks||(Ke[ce].hooks={}),Ke[ce].shims||(Ke[ce].shims=[]);var Ge=Ke[ce],Ze=[],Qe=function(){j.removeEventListener("DOMContentLoaded",Qe),et=1,Ze.map(function(e){return e()})},et=!1;function tt(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,o=void 0===a?[]:a;return"string"==typeof e?Ue(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Ue(e[n]),'" ')},"").trim()}(r),">").concat(o.map(tt).join(""),"</").concat(t,">")}function nt(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}N&&((et=(j.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(j.readyState))||j.addEventListener("DOMContentLoaded",Qe));var rt=function(e,t,n,r){var a,o,i,s=Object.keys(e),l=s.length,c=t;for(void 0===n?(a=1,i=e[s[0]]):(a=0,i=n);a<l;a++)i=c(i,e[o=s[a]],o,e);return i};function at(e){return 1!==u(e).length?null:e.codePointAt(0).toString(16)}function ot(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function it(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,a=ot(t);"function"!=typeof Ge.hooks.addPack||r?Ge.styles[e]=c(c({},Ge.styles[e]||{}),a):Ge.hooks.addPack(e,ot(t)),"fas"===e&&it("fa",t)}var st=Ge.styles,lt=Ge.shims,ct=Object.keys(Oe),ft=ct.reduce(function(e,t){return e[t]=Object.keys(Oe[t]),e},{}),ut=null,dt={},pt={},mt={},bt={},yt={};function ht(e,t){var n,r=t.split("-"),a=r[0],o=r.slice(1).join("-");return a!==e||""===o||(n=o,~Fe.indexOf(n))?null:o}var gt,vt=function(){var e=function(e){return rt(st,function(t,n,r){return t[r]=rt(n,e,{}),t},{})};dt=e(function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=n});return e}),pt=e(function(e,t,n){(e[n]=n,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n});return e}),yt=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in st||_e.autoFetchSvg,n=rt(lt,function(e,n){var r=n[0],a=n[1],o=n[2];return"far"!==a||t||(a="fas"),"string"==typeof r&&(e.names[r]={prefix:a,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:a,iconName:o}),e},{names:{},unicodes:{}});mt=n.names,bt=n.unicodes,ut=St(_e.styleDefault,{family:_e.familyDefault})};function xt(e,t){return(dt[e]||{})[t]}function wt(e,t){return(yt[e]||{})[t]}function kt(e){return mt[e]||{prefix:null,iconName:null}}function jt(){return ut}gt=function(e){ut=St(e.styleDefault,{family:_e.familyDefault})},Re.push(gt),vt();function St(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?C:t,r=we[n][e];if(n===F&&!e)return"fad";var a=je[n][e]||je[n][r],o=e in Ge.styles?e:null;return a||o||null}function Ot(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}var At=oe.concat(q);function Nt(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,a=void 0!==r&&r,o=null,i=Ot(e.filter(function(e){return At.includes(e)})),s=Ot(e.filter(function(e){return!At.includes(e)})),l=f(i.filter(function(e){return o=e,!I.includes(e)}),1)[0],u=void 0===l?null:l,d=function(e){var t=C,n=ct.reduce(function(e,t){return e[t]="".concat(_e.cssPrefix,"-").concat(t),e},{});return Y.forEach(function(r){(e.includes(n[r])||e.some(function(e){return ft[r].includes(e)}))&&(t=r)}),t}(i),p=c(c({},(t=[],n=null,s.forEach(function(e){var r=ht(_e.cssPrefix,e);r?n=r:e&&t.push(e)}),{iconName:n,rest:t})),{},{prefix:St(u,{family:d})});return c(c(c({},p),function(e){var t=e.values,n=e.family,r=e.canonical,a=e.givenPrefix,o=void 0===a?"":a,i=e.styles,s=void 0===i?{}:i,l=e.config,c=void 0===l?{}:l,f=n===F,u=t.includes("fa-duotone")||t.includes("fad"),d="duotone"===c.familyDefault,p="fad"===r.prefix||"fa-duotone"===r.prefix;!f&&(u||d||p)&&(r.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab");if(!r.prefix&&Pt.includes(n)){if(Object.keys(s).find(function(e){return Et.includes(e)})||c.autoFetchSvg){var m=J.get(n).defaultShortPrefixId;r.prefix=m,r.iconName=wt(r.prefix,r.iconName)||r.iconName}}"fa"!==r.prefix&&"fa"!==o||(r.prefix=jt()||"fas");return r}({values:e,family:d,styles:st,config:_e,canonical:p,givenPrefix:o})),function(e,t,n){var r=n.prefix,a=n.iconName;if(e||!r||!a)return{prefix:r,iconName:a};var o="fa"===t?kt(a):{},i=wt(r,a);a=o.iconName||i||a,"far"!==(r=o.prefix||r)||st.far||!st.fas||_e.autoFetchSvg||(r="fas");return{prefix:r,iconName:a}}(a,o,p))}var Pt=Y.filter(function(e){return e!==C||e!==F}),Et=Object.keys(ae).filter(function(e){return e!==C}).map(function(e){return Object.keys(ae[e])}).flat();var It=function(){return o(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(t){e.definitions[t]=c(c({},e.definitions[t]||{}),a[t]),it(t,a[t]);var n=Oe[C][t];n&&it(n,a[t]),vt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],a=r.prefix,o=r.iconName,i=r.icon,s=i[2];e[a]||(e[a]={}),s.length>0&&s.forEach(function(t){"string"==typeof t&&(e[a][t]=i)}),e[a][o]=i}),e}}])}(),Ct=[],Ft={},zt={},Tt=Object.keys(zt);function Mt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return(Ft[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(r))}),t}function _t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Ft[e]||[]).forEach(function(e){e.apply(null,n)})}function Rt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return zt[e]?zt[e].apply(null,t):void 0}function $t(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||jt();if(t)return t=wt(n,t)||t,nt(Dt.definitions,n,t)||nt(Ge.styles,n,t)}var Dt=new It,Lt={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return N?(_t("beforeI2svg",e),Rt("pseudoElements2svg",e),Rt("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===_e.autoReplaceSvg&&(_e.autoReplaceSvg=!0),_e.observeMutations=!0,e=function(){Wt({autoReplaceSvgRoot:n}),_t("watch",t)},N&&(et?setTimeout(e,0):Ze.push(e))}},Ht={noAuto:function(){_e.autoReplaceSvg=!1,_e.observeMutations=!1,_t("noAuto")},config:_e,dom:Lt,parse:{icon:function(e){if(null===e)return null;if("object"===p(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:wt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=St(e[0]);return{prefix:n,iconName:wt(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(_e.cssPrefix,"-"))>-1||e.match(Ne))){var r=Nt(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||jt(),iconName:wt(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var a=jt();return{prefix:a,iconName:wt(a,e)||e}}}},library:Dt,findIconDefinition:$t,toHtml:tt},Wt=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?j:e;(Object.keys(Ge.styles).length>0||_e.autoFetchSvg)&&N&&_e.autoReplaceSvg&&Ht.dom.i2svg({node:t})};function Ut(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return tt(e)})}}),Object.defineProperty(e,"node",{get:function(){if(N){var t=j.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Vt(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,o=e.iconName,i=e.transform,s=e.symbol,l=e.maskId,f=e.extra,u=e.watchable,d=void 0!==u&&u,p=r.found?r:n,m=p.width,b=p.height,y=[_e.replacementClass,o?"".concat(_e.cssPrefix,"-").concat(o):""].filter(function(e){return-1===f.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(f.classes).join(" "),h={children:[],attributes:c(c({},f.attributes),{},{"data-prefix":a,"data-icon":o,class:y,role:f.attributes.role||"img",viewBox:"0 0 ".concat(m," ").concat(b)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(f.attributes)||f.attributes["aria-hidden"]||(h.attributes["aria-hidden"]="true"),d&&(h.attributes[ue]="");var g=c(c({},h),{},{prefix:a,iconName:o,main:n,mask:r,maskId:l,transform:i,symbol:s,styles:c({},f.styles)}),v=r.found&&n.found?Rt("generateAbstractMask",g)||{children:[],attributes:{}}:Rt("generateAbstractIcon",g)||{children:[],attributes:{}},x=v.children,w=v.attributes;return g.children=x,g.attributes=w,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,o=e.symbol,i=!0===o?"".concat(t,"-").concat(_e.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:c(c({},a),{},{id:i}),children:r}]}]}(g):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,o=e.styles,i=e.transform;if(Be(i)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};a.style=Ve(c(c({},o),{},{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(g)}function Bt(e){var t=e.content,n=e.width,r=e.height,a=e.transform,o=e.extra,i=e.watchable,s=void 0!==i&&i,l=c(c({},o.attributes),{},{class:o.classes.join(" ")});s&&(l[ue]="");var f=c({},o.styles);Be(a)&&(f.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,a=e.height,o=void 0===a?16:a,i="";return i+=P?"translate(".concat(t.x/$e-r/2,"em, ").concat(t.y/$e-o/2,"em) "):"translate(calc(-50% + ".concat(t.x/$e,"em), calc(-50% + ").concat(t.y/$e,"em)) "),i+="scale(".concat(t.size/$e*(t.flipX?-1:1),", ").concat(t.size/$e*(t.flipY?-1:1),") "),i+"rotate(".concat(t.rotate,"deg) ")}({transform:a,width:n,height:r}),f["-webkit-transform"]=f.transform);var u=Ve(f);u.length>0&&(l.style=u);var d=[];return d.push({tag:"span",attributes:l,children:[t]}),d}var Yt=Ge.styles;function Jt(e){var t=e[0],n=e[1],r=f(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(_e.cssPrefix,"-").concat(Ce.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_e.cssPrefix,"-").concat(Ce.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(_e.cssPrefix,"-").concat(Ce.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var qt={found:!1,width:512,height:512};function Xt(e,t){var n=t;return"fa"===t&&null!==_e.styleDefault&&(t=jt()),new Promise(function(r,a){if("fa"===n){var o=kt(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Yt[t]&&Yt[t][e])return r(Jt(Yt[t][e]));!function(e,t){ge||_e.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(c(c({},qt),{},{icon:_e.showMissingIcons&&e&&Rt("missingIconAbstract")||{}}))})}var Kt=function(){},Gt=_e.measurePerformance&&O&&O.mark&&O.measure?O:{mark:Kt,measure:Kt},Zt='FA "7.0.1"',Qt=function(e){Gt.mark("".concat(Zt," ").concat(e," ends")),Gt.measure("".concat(Zt," ").concat(e),"".concat(Zt," ").concat(e," begins"),"".concat(Zt," ").concat(e," ends"))},en=function(e){return Gt.mark("".concat(Zt," ").concat(e," begins")),function(){return Qt(e)}},tn=function(){};function nn(e){return"string"==typeof(e.getAttribute?e.getAttribute(ue):null)}function rn(e){return j.createElementNS("http://www.w3.org/2000/svg",e)}function an(e){return j.createElement(e)}function on(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?rn:an:t;if("string"==typeof e)return j.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){r.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){r.appendChild(on(e,{ceFn:n}))}),r}var sn={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(on(e),t)}),null===t.getAttribute(ue)&&_e.keepOriginalSource){var n=j.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~We(t).indexOf(_e.replacementClass))return sn.replace(e);var r=new RegExp("".concat(_e.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(e,t){return t===_e.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}var o=n.map(function(e){return tt(e)}).join("\n");t.setAttribute(ue,""),t.innerHTML=o}};function ln(e){e()}function cn(e,t){var n="function"==typeof t?t:tn;if(0===e.length)n();else{var r=ln;"async"===_e.mutateApproach&&(r=k.requestAnimationFrame||ln),r(function(){var t=!0===_e.autoReplaceSvg?sn.replace:sn[_e.autoReplaceSvg]||sn.replace,r=en("mutate");e.map(t),r(),n()})}}var fn=!1;function un(){fn=!0}function dn(){fn=!1}var pn=null;function mn(e){if(S&&_e.observeMutations){var t=e.treeCallback,n=void 0===t?tn:t,r=e.nodeCallback,a=void 0===r?tn:r,o=e.pseudoElementsCallback,i=void 0===o?tn:o,s=e.observeMutationsRoot,l=void 0===s?j:s;pn=new S(function(e){if(!fn){var t=jt();He(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!nn(e.addedNodes[0])&&(_e.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&_e.searchPseudoElements&&i([e.target],!0),"attributes"===e.type&&nn(e.target)&&~Ie.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(pe):null,n=e.getAttribute?e.getAttribute(me):null;return t&&n}(e.target)){var r=Nt(We(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(pe,o||t),s&&e.target.setAttribute(me,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(_e.replacementClass)&&a(e.target);var l})}}),N&&pn.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function bn(e){var t,n,r=e.getAttribute("data-prefix"),a=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",i=Nt(We(e));return i.prefix||(i.prefix=jt()),r&&a&&(i.prefix=r,i.iconName=a),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=(t=i.prefix,n=e.innerText,(pt[t]||{})[n]||xt(i.prefix,at(e.innerText)))),!i.iconName&&_e.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function yn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=bn(e),r=n.iconName,a=n.prefix,o=n.rest,i=function(e){return He(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),s=Mt("parseNodeAttributes",{},e),l=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(e[r]=a.join(":").trim()),e},{})),n}(e):[];return c({iconName:r,prefix:a,transform:De,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:i}},s)}var hn=Ge.styles;function gn(e){var t="nest"===_e.autoReplaceSvg?yn(e,{styleParser:!1}):yn(e);return~t.extra.classes.indexOf(Pe)?Rt("generateLayersText",e,t):Rt("generateSvgReplacementMutation",e,t)}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!N)return Promise.resolve();var n=j.documentElement.classList,r=function(e){return n.add("".concat(be,"-").concat(e))},a=function(e){return n.remove("".concat(be,"-").concat(e))},o=_e.autoFetchSvg?[].concat(u(q),u(oe)):I.concat(Object.keys(hn));o.includes("fa")||o.push("fa");var i=[".".concat(Pe,":not([").concat(ue,"])")].concat(o.map(function(e){return".".concat(e,":not([").concat(ue,"])")})).join(", ");if(0===i.length)return Promise.resolve();var s=[];try{s=He(e.querySelectorAll(i))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),a("complete");var l=en("onTree"),c=s.reduce(function(e,t){try{var n=gn(t);n&&e.push(n)}catch(e){ge||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(c).then(function(n){cn(n,function(){r("active"),r("complete"),a("pending"),"function"==typeof t&&t(),l(),e()})}).catch(function(e){l(),n(e)})})}function xn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;gn(e).then(function(e){e&&cn([e],t)})}var wn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?De:n,a=t.symbol,o=void 0!==a&&a,i=t.mask,s=void 0===i?null:i,l=t.maskId,f=void 0===l?null:l,u=t.classes,d=void 0===u?[]:u,p=t.attributes,m=void 0===p?{}:p,b=t.styles,y=void 0===b?{}:b;if(e){var h=e.prefix,g=e.iconName,v=e.icon;return Ut(c({type:"icon"},e),function(){return _t("beforeDOMElementCreation",{iconDefinition:e,params:t}),Vt({icons:{main:Jt(v),mask:s?Jt(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:h,iconName:g,transform:c(c({},De),r),symbol:o,maskId:f,extra:{attributes:m,styles:y,classes:d}})})}},kn={mixout:function(){return{icon:(e=wn,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:$t(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:$t(a||{})),e(r,c(c({},n),{},{mask:a}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=vn,e.nodeCallback=xn,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?j:t,r=e.callback;return vn(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.prefix,a=t.transform,o=t.symbol,i=t.mask,s=t.maskId,l=t.extra;return new Promise(function(t,c){Promise.all([Xt(n,r),i.iconName?Xt(i.iconName,i.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(i){var c=f(i,2),u=c[0],d=c[1];t([e,Vt({icons:{main:u,mask:d},prefix:r,iconName:n,transform:a,symbol:o,maskId:s,extra:l,watchable:!0})])}).catch(c)})},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.transform,i=Ve(e.styles);return i.length>0&&(r.style=i),Be(o)&&(t=Rt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(t||a.icon),{children:n,attributes:r}}}},jn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Ut({type:"layer"},function(){_t("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(_e.cssPrefix,"-layers")].concat(u(r)).join(" ")},children:n}]})}}}},Sn={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.title;var n=t.classes,r=void 0===n?[]:n,a=t.attributes,o=void 0===a?{}:a,i=t.styles,s=void 0===i?{}:i;return Ut({type:"counter",content:e},function(){return _t("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.extra,r=c(c({},n.attributes),{},{class:n.classes.join(" ")}),a=Ve(n.styles);a.length>0&&(r.style=a);var o=[];return o.push({tag:"span",attributes:r,children:[t]}),o}({content:e.toString(),extra:{attributes:o,styles:s,classes:["".concat(_e.cssPrefix,"-layers-counter")].concat(u(r))}})})}}}},On={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?De:n,a=t.classes,o=void 0===a?[]:a,i=t.attributes,s=void 0===i?{}:i,l=t.styles,f=void 0===l?{}:l;return Ut({type:"text",content:e},function(){return _t("beforeDOMElementCreation",{content:e,params:t}),Bt({content:e,transform:c(c({},De),r),extra:{attributes:s,styles:f,classes:["".concat(_e.cssPrefix,"-layers-text")].concat(u(o))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,r=t.extra,a=null,o=null;if(P){var i=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/i,o=s.height/i}return Promise.resolve([e,Bt({content:e.innerHTML,width:a,height:o,transform:n,extra:r,watchable:!0})])}}},An=new RegExp('"',"ug"),Nn=[1105920,1112319],Pn=c(c(c(c({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),En=Object.keys(Pn).reduce(function(e,t){return e[t.toLowerCase()]=Pn[t],e},{}),In=Object.keys(En).reduce(function(e,t){var n=En[t];return e[t]=n[900]||u(Object.entries(n))[0][1],e},{});function Cn(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(r,a){if(null!==e.getAttribute(n))return r();var o,i,s,l=He(e.children).filter(function(e){return e.getAttribute(de)===t})[0],f=k.getComputedStyle(e,t),d=f.getPropertyValue("font-family"),p=d.match(Ee),m=f.getPropertyValue("font-weight"),b=f.getPropertyValue("content");if(l&&!p)return e.removeChild(l),r();if(p&&"none"!==b&&""!==b){var y=f.getPropertyValue("content"),h=function(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),a=isNaN(r)?"normal":r;return(En[n]||{})[a]||In[n]}(d,m),g=function(e){return at(u(e.replace(An,""))[0]||"")}(y),v=p[0].startsWith("FontAwesome"),x=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content").replace(An,""),r=n.codePointAt(0),a=r>=Nn[0]&&r<=Nn[1],o=2===n.length&&n[0]===n[1];return a||o||t}(f),w=xt(h,g),S=w;if(v){var O=(i=bt[o=g],s=xt("fas",o),i||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});O.iconName&&O.prefix&&(w=O.iconName,h=O.prefix)}if(!w||x||l&&l.getAttribute(pe)===h&&l.getAttribute(me)===S)r();else{e.setAttribute(n,S),l&&e.removeChild(l);var A={iconName:null,prefix:null,transform:De,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},N=A.extra;N.attributes[de]=t,Xt(w,h).then(function(a){var o=Vt(c(c({},A),{},{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:h,iconName:S,extra:N,watchable:!0})),i=j.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=o.map(function(e){return tt(e)}).join("\n"),e.removeAttribute(n),r()}).catch(a)}}else r()})}function Fn(e){return Promise.all([Cn(e,"::before"),Cn(e,"::after")])}function zn(e){return!(e.parentNode===document.head||~ye.indexOf(e.tagName.toUpperCase())||e.getAttribute(de)||e.parentNode&&"svg"===e.parentNode.tagName)}var Tn=function(e){return!!e&&he.some(function(t){return e.includes(t)})},Mn=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var r,a=i(n);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(Tn(o)){var s=he.reduce(function(e,t){return e.replace(t,"")},o);""!==s&&"*"!==s&&t.add(s)}}}catch(e){a.e(e)}finally{a.f()}return t};function _n(e){if(N){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(_e.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var n,r=new Set,a=i(document.styleSheets);try{for(a.s();!(n=a.n()).done;){var o=n.value;try{var s,l=i(o.cssRules);try{for(l.s();!(s=l.n()).done;){var c,f=s.value,u=i(Mn(f.selectorText));try{for(u.s();!(c=u.n()).done;){var d=c.value;r.add(d)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){l.e(e)}finally{l.f()}}catch(e){_e.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){a.e(e)}finally{a.f()}if(!r.size)return;var p=Array.from(r).join(", ");try{t=e.querySelectorAll(p)}catch(e){}}return new Promise(function(e,n){var r=He(t).filter(zn).map(Fn),a=en("searchPseudoElements");un(),Promise.all(r).then(function(){a(),dn(),e()}).catch(function(){a(),dn(),n()})})}}var Rn={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=_n,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?j:t;_e.searchPseudoElements&&_n(n)}}},$n=!1,Dn=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Ln={mixout:function(){return{parse:{transform:function(e){return Dn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Dn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,a=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),f={outer:o,inner:{transform:"".concat(i," ").concat(s," ").concat(l)},path:{transform:"translate(".concat(a/2*-1," -256)")}};return{tag:"g",attributes:c({},f.outer),children:[{tag:"g",attributes:c({},f.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:c(c({},t.icon.attributes),f.path)}]}]}}}},Hn={x:0,y:0,width:"100%",height:"100%"};function Wn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Un={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Nt(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=jt()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.mask,i=e.maskId,s=e.transform,l=a.width,f=a.icon,u=o.width,d=o.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(o," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:l}),m={tag:"rect",attributes:c(c({},Hn),{},{fill:"white"})},b=f.children?{children:f.children.map(Wn)}:{},y={tag:"g",attributes:c({},p.inner),children:[Wn(c({tag:f.tag,attributes:c(c({},f.attributes),p.path)},b))]},h={tag:"g",attributes:c({},p.outer),children:[y]},g="mask-".concat(i||Le()),v="clip-".concat(i||Le()),x={tag:"mask",attributes:c(c({},Hn),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,h]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},x]};return n.push(w,{tag:"rect",attributes:c({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")")},Hn)}),{children:n,attributes:r}}}},Vn={provides:function(e){var t=!1;k.matchMedia&&(t=k.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:c(c({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=c(c({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:c(c({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:c(c({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:c(c({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:c(c({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:c(c({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:c(c({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:c(c({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;Ct=e,Ft={},Object.keys(zt).forEach(function(e){-1===Tt.indexOf(e)&&delete zt[e]}),Ct.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===p(t[e])&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){Ft[e]||(Ft[e]=[]),Ft[e].push(r[e])})}e.provides&&e.provides(zt)})}([Xe,kn,jn,Sn,On,Rn,{mixout:function(){return{dom:{unwatch:function(){un(),$n=!0}}}},hooks:function(){return{bootstrap:function(){mn(Mt("mutationObserverCallbacks",{}))},noAuto:function(){pn&&pn.disconnect()},watch:function(e){var t=e.observeMutationsRoot;$n?dn():mn(Mt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Ln,Un,Vn,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:Ht});var Bn=Ht.parse,Yn=Ht.icon;function Jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qn,Xn={exports:{}},Kn={exports:{}},Gn={};var Zn,Qn,er,tr,nr,rr,ar,or,ir,sr,lr,cr,fr,ur,dr,pr={};
|
|
8
|
+
/** @license React v16.13.1
|
|
9
|
+
* react-is.development.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/function mr(){return Qn||(Qn=1,"production"===process.env.NODE_ENV?Kn.exports=function(){if(qn)return Gn;qn=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case l:case c:case r:case o:case a:case u:return e;default:switch(e=e&&e.$$typeof){case s:case f:case m:case p:case i:return e;default:return d}}case n:return d}}}function x(e){return v(e)===c}return Gn.AsyncMode=l,Gn.ConcurrentMode=c,Gn.ContextConsumer=s,Gn.ContextProvider=i,Gn.Element=t,Gn.ForwardRef=f,Gn.Fragment=r,Gn.Lazy=m,Gn.Memo=p,Gn.Portal=n,Gn.Profiler=o,Gn.StrictMode=a,Gn.Suspense=u,Gn.isAsyncMode=function(e){return x(e)||v(e)===l},Gn.isConcurrentMode=x,Gn.isContextConsumer=function(e){return v(e)===s},Gn.isContextProvider=function(e){return v(e)===i},Gn.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Gn.isForwardRef=function(e){return v(e)===f},Gn.isFragment=function(e){return v(e)===r},Gn.isLazy=function(e){return v(e)===m},Gn.isMemo=function(e){return v(e)===p},Gn.isPortal=function(e){return v(e)===n},Gn.isProfiler=function(e){return v(e)===o},Gn.isStrictMode=function(e){return v(e)===a},Gn.isSuspense=function(e){return v(e)===u},Gn.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===a||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b)},Gn.typeOf=v,Gn}():Kn.exports=(Zn||(Zn=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var b=e.type;switch(b){case l:case c:case r:case o:case a:case u:return b;default:var y=b&&b.$$typeof;switch(y){case s:case f:case m:case p:case i:return y;default:return d}}case n:return d}}}var x=l,w=c,k=s,j=i,S=t,O=f,A=r,N=m,P=p,E=n,I=o,C=a,F=u,z=!1;function T(e){return v(e)===c}pr.AsyncMode=x,pr.ConcurrentMode=w,pr.ContextConsumer=k,pr.ContextProvider=j,pr.Element=S,pr.ForwardRef=O,pr.Fragment=A,pr.Lazy=N,pr.Memo=P,pr.Portal=E,pr.Profiler=I,pr.StrictMode=C,pr.Suspense=F,pr.isAsyncMode=function(e){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(e)||v(e)===l},pr.isConcurrentMode=T,pr.isContextConsumer=function(e){return v(e)===s},pr.isContextProvider=function(e){return v(e)===i},pr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},pr.isForwardRef=function(e){return v(e)===f},pr.isFragment=function(e){return v(e)===r},pr.isLazy=function(e){return v(e)===m},pr.isMemo=function(e){return v(e)===p},pr.isPortal=function(e){return v(e)===n},pr.isProfiler=function(e){return v(e)===o},pr.isStrictMode=function(e){return v(e)===a},pr.isSuspense=function(e){return v(e)===u},pr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===a||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===i||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b)},pr.typeOf=v}()),pr)),Kn.exports}
|
|
16
|
+
/*
|
|
17
|
+
object-assign
|
|
18
|
+
(c) Sindre Sorhus
|
|
19
|
+
@license MIT
|
|
20
|
+
*/function br(){if(tr)return er;tr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return er=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(r,a){for(var o,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))t.call(o,c)&&(s[c]=o[c]);if(e){i=e(o);for(var f=0;f<i.length;f++)n.call(o,i[f])&&(s[i[f]]=o[i[f]])}}return s},er}function yr(){if(rr)return nr;rr=1;return nr="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function hr(){return or?ar:(or=1,ar=Function.call.bind(Object.prototype.hasOwnProperty))}function gr(){if(sr)return ir;sr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=yr(),n={},r=hr();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function a(a,o,i,s,l){if("production"!==process.env.NODE_ENV)for(var c in a)if(r(a,c)){var f;try{if("function"!=typeof a[c]){var u=Error((s||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}f=a[c](o,c,s,i,null,t)}catch(e){f=e}if(!f||f instanceof Error||e((s||"React class")+": type specification of "+i+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var d=l?l():"";e("Failed "+i+" type: "+f.message+(null!=d?d:""))}}}return a.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ir=a}function vr(){if(cr)return lr;cr=1;var e=mr(),t=br(),n=yr(),r=hr(),a=gr(),o=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),lr=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator;var f="<<anonymous>>",u={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:m(i),arrayOf:function(e){return m(function(t,r,a,o,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new p("Invalid "+o+" `"+i+"` of type `"+g(s)+"` supplied to `"+a+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,a,o,i+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:m(function(e,t,n,r,a){var o=e[t];return s(o)?null:new p("Invalid "+r+" `"+a+"` of type `"+g(o)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:m(function(t,n,r,a,o){var i=t[n];return e.isValidElementType(i)?null:new p("Invalid "+a+" `"+o+"` of type `"+g(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(t,n,r,a,o){if(!(t[n]instanceof e)){var i=e.name||f;return new p("Invalid "+a+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:f)+"` supplied to `")+r+"`, expected instance of `"+i+"`.")}var s;return null})},node:m(function(e,t,n,r,a){return h(e[t])?null:new p("Invalid "+r+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(t,a,o,i,s){if("function"!=typeof e)return new p("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[a],c=g(l);if("object"!==c)return new p("Invalid "+i+" `"+s+"` of type `"+c+"` supplied to `"+o+"`, expected an object.");for(var f in l)if(r(l,f)){var u=e(l,f,o,i,s+"."+f,n);if(u instanceof Error)return u}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i;return m(function(t,n,r,a,o){for(var i=t[n],s=0;s<e.length;s++)if(d(i,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new p("Invalid "+a+" `"+o+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var a=e[t];if("function"!=typeof a)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(a)+" at index "+t+"."),i}return m(function(t,a,o,i,s){for(var l=[],c=0;c<e.length;c++){var f=(0,e[c])(t,a,o,i,s,n);if(null==f)return null;f.data&&r(f.data,"expectedType")&&l.push(f.data.expectedType)}return new p("Invalid "+i+" `"+s+"` supplied to `"+o+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return m(function(t,r,a,o,i){var s=t[r],l=g(s);if("object"!==l)return new p("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+a+"`, expected `object`.");for(var c in e){var f=e[c];if("function"!=typeof f)return y(a,o,i,c,v(f));var u=f(s,c,a,o,i+"."+c,n);if(u)return u}return null})},exact:function(e){return m(function(a,o,i,s,l){var c=a[o],f=g(c);if("object"!==f)return new p("Invalid "+s+" `"+l+"` of type `"+f+"` supplied to `"+i+"`, expected `object`.");var u=t({},a[o],e);for(var d in u){var m=e[d];if(r(e,d)&&"function"!=typeof m)return y(i,s,l,d,v(m));if(!m)return new p("Invalid "+s+" `"+l+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(a[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var b=m(c,d,i,s,l+"."+d,n);if(b)return b}return null})}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function a(a,i,s,c,u,d,m){if(c=c||f,d=d||s,m!==n){if(l){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var y=c+":"+s;!t[y]&&r<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[y]=!0,r++)}}return null==i[s]?a?null===i[s]?new p("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new p("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,s,c,u,d)}var i=a.bind(null,!1);return i.isRequired=a.bind(null,!0),i}function b(e){return m(function(t,n,r,a,o,i){var s=t[n];return g(s)!==e?new p("Invalid "+a+" `"+o+"` of type `"+v(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function y(e,t,n,r,a){return new p((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+a+"`.")}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!h(n.value))return!1}else for(;!(n=r.next()).done;){var a=n.value;if(a&&!h(a[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,u.checkPropTypes=a,u.resetWarningCache=a.resetWarningCache,u.PropTypes=u,u},lr}function xr(){if(ur)return fr;ur=1;var e=yr();function t(){}function n(){}return n.resetWarningCache=t,fr=function(){function r(t,n,r,a,o,i){if(i!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function a(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}function wr(){if(dr)return Xn.exports;if(dr=1,"production"!==process.env.NODE_ENV){var e=mr();Xn.exports=vr()(e.isElement,true)}else Xn.exports=xr()();return Xn.exports}var kr=Jn(wr());function jr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Sr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(n),!0).forEach(function(t){Sr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Nr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||Ir(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pr(e){return function(e){if(Array.isArray(e))return jr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ir(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Er(e){return Er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Er(e)}function Ir(e,t){if(e){if("string"==typeof e)return jr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jr(e,t):void 0}}var Cr;try{var Fr=require("@fortawesome/fontawesome-svg-core/package.json");Cr=Fr.version}catch(V){Cr="undefined"!=typeof process&&process.env.FA_VERSION||"7.0.0"}function zr(e){var t=e.beat,n=e.fade,r=e.beatFade,a=e.bounce,o=e.shake,i=e.flash,s=e.spin,l=e.spinPulse,c=e.spinReverse,f=e.pulse,u=e.fixedWidth,d=e.inverse,p=e.border,m=e.listItem,b=e.flip,y=e.size,h=e.rotation,g=e.pull,v=e.swapOpacity,x=e.rotateBy,w=e.widthAuto,k=function(e,t){for(var n=Nr(e.split("-"),2),r=n[0],a=n[1],o=Nr(t.split("-"),2),i=o[0],s=o[1],l=r.split("."),c=i.split("."),f=0;f<Math.max(l.length,c.length);f++){var u=l[f]||"0",d=c[f]||"0",p=parseInt(u,10),m=parseInt(d,10);if(p!==m)return p>m}for(var b=0;b<Math.max(l.length,c.length);b++){var y=l[b]||"0",h=c[b]||"0";if(y!==h&&y.length!==h.length)return y.length<h.length}return!(a&&!s)}(Cr,"7.0.0"),j=Sr(Sr(Sr(Sr(Sr(Sr({"fa-beat":t,"fa-fade":n,"fa-beat-fade":r,"fa-bounce":a,"fa-shake":o,"fa-flash":i,"fa-spin":s,"fa-spin-reverse":c,"fa-spin-pulse":l,"fa-pulse":f,"fa-fw":u,"fa-inverse":d,"fa-border":p,"fa-li":m,"fa-flip":!0===b,"fa-flip-horizontal":"horizontal"===b||"both"===b,"fa-flip-vertical":"vertical"===b||"both"===b},"fa-".concat(y),null!=y),"fa-rotate-".concat(h),null!=h&&0!==h),"fa-pull-".concat(g),null!=g),"fa-swap-opacity",v),"fa-rotate-by",k&&x),"fa-width-auto",k&&w);return Object.keys(j).map(function(e){return j[e]?e:null}).filter(function(e){return e})}function Tr(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1);var t}var Mr=["style"];var _r=!1;try{_r="production"===process.env.NODE_ENV}catch(V){}function Rr(e){return e&&"object"===Er(e)&&e.prefix&&e.iconName&&e.icon?e:Bn.icon?Bn.icon(e):null===e?null:e&&"object"===Er(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function $r(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Sr({},e,t):{}}var Dr={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,rotateBy:!1,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1,widthAuto:!1},Lr=e.forwardRef(function(e,t){var n=Ar(Ar({},Dr),e),r=n.icon,a=n.mask,o=n.symbol,i=n.className,s=n.title,l=n.titleId,c=n.maskId,f=Rr(r),u=$r("classes",[].concat(Pr(zr(n)),Pr((i||"").split(" ")))),d=$r("transform","string"==typeof n.transform?Bn.transform(n.transform):n.transform),p=$r("mask",Rr(a)),m=Yn(f,Ar(Ar(Ar(Ar({},u),d),p),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!m)return function(){var e;!_r&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",f),null;var b=m.abstract,y={ref:t};return Object.keys(n).forEach(function(e){Dr.hasOwnProperty(e)||(y[e]=n[e])}),Hr(b[0],y)});Lr.displayName="FontAwesomeIcon",Lr.propTypes={beat:kr.bool,border:kr.bool,beatFade:kr.bool,bounce:kr.bool,className:kr.string,fade:kr.bool,flash:kr.bool,mask:kr.oneOfType([kr.object,kr.array,kr.string]),maskId:kr.string,fixedWidth:kr.bool,inverse:kr.bool,flip:kr.oneOf([!0,!1,"horizontal","vertical","both"]),icon:kr.oneOfType([kr.object,kr.array,kr.string]),listItem:kr.bool,pull:kr.oneOf(["right","left"]),pulse:kr.bool,rotation:kr.oneOf([0,90,180,270]),rotateBy:kr.bool,shake:kr.bool,size:kr.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:kr.bool,spinPulse:kr.bool,spinReverse:kr.bool,symbol:kr.oneOfType([kr.bool,kr.string]),title:kr.string,titleId:kr.string,transform:kr.oneOfType([kr.string,kr.object]),swapOpacity:kr.bool,widthAuto:kr.bool};var Hr=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map(function(n){return e(t,n)}),o=Object.keys(n.attributes||{}).reduce(function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n,r=t.indexOf(":"),a=Tr(t.slice(0,r)),o=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[a]=o,e},{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Tr(t)]=r}return e},{attrs:{}}),i=r.style,s=void 0===i?{}:i,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,Mr);return o.attrs.style=Ar(Ar({},o.attrs.style),s),t.apply(void 0,[n.tag,Ar(Ar({},o.attrs),l)].concat(Pr(a)))}.bind(null,e.createElement);function Wr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Ur,Vr={exports:{}},Br={};var Yr,Jr,qr={};
|
|
3
21
|
/**
|
|
4
22
|
* @license React
|
|
5
23
|
* react-jsx-runtime.development.js
|
|
@@ -8,5 +26,10 @@ import e,{createContext as r,useEffect as o,useContext as n}from"react";function
|
|
|
8
26
|
*
|
|
9
27
|
* This source code is licensed under the MIT license found in the
|
|
10
28
|
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/function b(){return l||(l=1,"production"!==process.env.NODE_ENV&&function(){function r(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===_?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case y:return"Profiler";case g:return"StrictMode";case h:return"Suspense";case k:return"SuspenseList";case N:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case u:return"Portal";case v:return(e.displayName||"Context")+".Provider";case m:return(e._context.displayName||"Context")+".Consumer";case x:var o=e.render;return(e=e.displayName)||(e=""!==(e=o.displayName||o.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(o=e.displayName||null)?o:r(e.type)||"Memo";case w:o=e._payload,e=e._init;try{return r(e(o))}catch(e){}}return null}function o(e){return""+e}function n(e){try{o(e);var r=!1}catch(e){r=!0}if(r){var n=(r=console).error,t="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",t),o(e)}}function t(e){if(e===p)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===w)return"<...>";try{var o=r(e);return o?"<"+o+">":"<...>"}catch(e){return"<...>"}}function a(){return Error("react-stack-top-frame")}function c(){var e=r(this.type);return A[e]||(A[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,o,t,a,s,d,b,u){var p,g=o.children;if(void 0!==g)if(a)if(S(g)){for(a=0;a<g.length;a++)l(g[a]);Object.freeze&&Object.freeze(g)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(g);if(O.call(o,"key")){g=r(e);var y=Object.keys(o).filter(function(e){return"key"!==e});a=0<y.length?"{key: someKey, "+y.join(": ..., ")+": ...}":"{key: someKey}",C[g+a]||(y=0<y.length?"{"+y.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,g,y,g),C[g+a]=!0)}if(g=null,void 0!==t&&(n(t),g=""+t),function(e){if(O.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(o)&&(n(o.key),g=""+o.key),"key"in o)for(var m in t={},o)"key"!==m&&(t[m]=o[m]);else t=o;return g&&function(e,r){function o(){i||(i=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(t,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,r,o,n,t,a,s,l){return o=a.ref,e={$$typeof:f,type:e,key:r,props:a,_owner:t},null!==(void 0!==o?o:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:c}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,g,d,0,null===(p=$.A)?null:p.getOwner(),t,b,u)}function l(e){"object"==typeof e&&null!==e&&e.$$typeof===f&&e._store&&(e._store.validated=1)}var i,b=e,f=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),v=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),_=Symbol.for("react.client.reference"),$=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=Object.prototype.hasOwnProperty,S=Array.isArray,H=console.createTask?console.createTask:function(){return null},A={},R=(b={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(b,a)(),T=H(t(a)),C={};d.Fragment=p,d.jsx=function(e,r,o,n,a){var c=1e4>$.recentlyCreatedOwnerStacks++;return s(e,r,o,!1,0,a,c?Error("react-stack-top-frame"):R,c?H(t(e)):T)},d.jsxs=function(e,r,o,n,a){var c=1e4>$.recentlyCreatedOwnerStacks++;return s(e,r,o,!0,0,a,c?Error("react-stack-top-frame"):R,c?H(t(e)):T)}}()),d}var f=(i||(i=1,"production"===process.env.NODE_ENV?c.exports=function(){if(a)return s;a=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(r,o,n){var t=null;if(void 0!==n&&(t=""+n),void 0!==o.key&&(t=""+o.key),"key"in o)for(var a in n={},o)"key"!==a&&(n[a]=o[a]);else n=o;return o=n.ref,{$$typeof:e,type:r,key:t,ref:void 0!==o?o:null,props:n}}return s.Fragment=r,s.jsx=o,s.jsxs=o,s}():c.exports=b()),c.exports);const u=e=>{var{buttonType:r="general",label:o,icon:n,className:a,children:c,style:s,disabled:l=!1,onClick:i}=e,d=t(e,["buttonType","label","icon","className","children","style","disabled","onClick"]);const b=`button button--${r} ${a||""}`;return f.jsxs("button",Object.assign({type:"button",className:b,style:s,onClick:i,disabled:l},d,{children:[c||o," ",n&&f.jsx("span",{className:"icon",children:n})]}))},p=e=>{var{buttonType:r="general",label:o,icon:n,href:a,target:c="_self",className:s,children:l,style:i}=e,d=t(e,["buttonType","label","icon","href","target","className","children","style"]);const b=`button button--${r} ${s||""}`,u="_blank"===c?"noopener noreferrer":void 0;return f.jsxs("a",Object.assign({href:a,target:c,rel:u,className:b,style:i},d,{children:[l||o," ",n&&f.jsx("span",{className:"icon",children:n})]}))},g=({label:e,href:r,externalLink:o,target:n="_self",onClick:t,className:a="",icon:c,style:s,disabled:l=!1,"aria-label":i,"aria-describedby":d,"data-testid":b})=>{const u=o||r,p=!!o||"_blank"===n;return!u||l?f.jsxs("span",{className:`text-link text-link--disabled ${a}`,style:s,"data-testid":b,"aria-label":i||e,"aria-describedby":d,children:[e," ",c]}):f.jsxs("a",{href:u,target:n,rel:p?"noopener noreferrer":void 0,onClick:e=>{l?e.preventDefault():t&&t(e)},onKeyDown:e=>{!l||"Enter"!==e.key&&" "!==e.key||e.preventDefault()},className:`text-link ${a}`,style:s,"aria-label":i,"aria-describedby":d,"data-testid":b,children:[e," ",c]})},y=({videoUrl:e,imageUrl:r,gradient:o,bgColor:n,className:t,style:a})=>{const c=["background-media",t].filter(Boolean).join(" ");if(e)return f.jsxs("video",{className:`${c} background-media--video`,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,style:a,children:[f.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support video."]});const s=Object.assign({backgroundImage:o?`${o}, url(${r})`:r?`url(${r})`:void 0,backgroundColor:n},a);return f.jsx("div",{className:c,style:s})},m=({level:e="h2",children:r,className:o,style:n})=>{const t=e,a=["heading",o].filter(Boolean).join(" ");return f.jsx(t,{className:a,style:n,children:r})},v=({user:e,onLogin:r,onLogout:o,onCreateAccount:n})=>f.jsx("header",{children:f.jsxs("div",{className:"storybook-header",children:[f.jsxs("div",{children:[f.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:f.jsxs("g",{fill:"none",fillRule:"evenodd",children:[f.jsx("path",{d:"M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z",fill:"#FFF"}),f.jsx("path",{d:"M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z",fill:"#555AB9"}),f.jsx("path",{d:"M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z",fill:"#91BAF8"})]})}),f.jsx("h1",{children:"Acme"})]}),f.jsx("div",{children:e?f.jsxs(f.Fragment,{children:[f.jsxs("span",{className:"welcome",children:["Welcome, ",f.jsx("b",{children:e.name}),"!"]}),f.jsx(u,{buttonType:"secondary",onClick:o,label:"Log out"})]}):f.jsxs(f.Fragment,{children:[f.jsx(u,{buttonType:"secondary",onClick:r,label:"Log in"}),f.jsx(u,{buttonType:"cta",onClick:n,label:"Sign up"})]})})]})}),x=({children:e,maxWidth:r="340px",padding:o="30px",onClick:n,href:t,target:a="_self",imageUrl:c,imageAlt:s="",className:l="",style:i,aspectRatio:d="3/2",borderRadius:b="20px",hoverEffect:u=!0,"aria-label":p,"data-testid":g})=>{const y=e=>{"Enter"!==e.key&&" "!==e.key||!n||(e.preventDefault(),n(e))},m=e=>{n&&n(e)},v=Object.assign({maxWidth:r},i),x={borderRadius:b},h={aspectRatio:d,borderRadius:`${b} ${b} 0 0`},k={padding:o},j=["card",u&&"card--hover-effect",l].filter(Boolean).join(" "),w=f.jsxs("div",{className:j,style:x,"data-testid":g,children:[c&&f.jsx("div",{className:"card__image-wrapper",style:h,children:f.jsx("div",{className:"card__image-container",children:f.jsx("img",{src:c,alt:s,className:"card__image",loading:"lazy"})})}),f.jsx("div",{className:"card__body",style:k,children:e})]});return t?f.jsx("div",{className:"card-wrapper",style:v,children:f.jsx("a",{href:t,target:a,rel:"_blank"===a?"noopener noreferrer":void 0,onClick:m,className:"card__link",style:{borderRadius:b},"aria-label":p,children:w})}):n?f.jsx("div",{className:"card-wrapper",style:v,children:f.jsxs("div",{className:j,style:x,onClick:n,onKeyDown:y,role:"button",tabIndex:0,"aria-label":p,"data-testid":g,children:[c&&f.jsx("div",{className:"card__image-wrapper",style:h,children:f.jsx("div",{className:"card__image-container",children:f.jsx("img",{src:c,alt:s,className:"card__image",loading:"lazy"})})}),f.jsx("div",{className:"card__body",style:k,children:e})]})}):f.jsx("div",{className:"card-wrapper",style:v,children:w})},h=({videoUrl:e,imageUrl:r,gradient:o,bgColor:n,title:t,headingLevel:a="h2",description:c,buttonText:s,link:l,externalLink:i,target:d="_self",className:b,style:g})=>{const v=["cta",b].filter(Boolean).join(" ");return f.jsxs("div",{className:v,style:g,children:[f.jsx(y,{videoUrl:e,imageUrl:r,gradient:o,bgColor:n}),f.jsxs("div",{className:"cta__content",children:[f.jsx(m,{level:a,className:"cta__title",children:t}),c&&f.jsx("p",{className:"cta__description",children:c}),l?f.jsx(p,{buttonType:"cta",label:s,href:l,target:i?d:"_self"}):f.jsx(u,{buttonType:"cta",label:s,onClick:()=>{}})]})]})},k=()=>{const[r,o]=e.useState();return f.jsxs("article",{children:[f.jsx(v,{user:r,onLogin:()=>o({name:"Jane Doe"}),onLogout:()=>o(void 0),onCreateAccount:()=>o({name:"Jane Doe"})}),f.jsxs("section",{className:"storybook-page",children:[f.jsx("h2",{children:"Pages in Storybook"}),f.jsxs("p",{children:["We recommend building UIs with a"," ",f.jsx("a",{href:"https://componentdriven.org",target:"_blank",rel:"noopener noreferrer",children:f.jsx("strong",{children:"component-driven"})})," ","process starting with atomic components and ending with pages."]})]})]})},j={name:"default",colors:{primary:"#2e6bf0",primaryHover:"#1e40af",primaryActive:"#1e3a8a",secondary:"#efe63f",secondaryHover:"#eab308",secondaryActive:"#ca8a04",text:"#1f2937",textInverse:"#ffffff",background:"#ffffff",border:"#e5e5e5",success:"#10b981",warning:"#efe63f",error:"#ef4444"},spacing:{xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px",xxl:"48px"},borderRadius:{sm:"4px",md:"8px",lg:"16px",xl:"24px"},shadows:{sm:"0 2px 4px rgba(0, 0, 0, 0.1)",md:"0 4px 8px rgba(0, 0, 0, 0.15)",lg:"0 8px 16px rgba(0, 0, 0, 0.2)",xl:"0 16px 32px rgba(0, 0, 0, 0.25)"},typography:{fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontFamilyHeading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSizeXs:"12px",fontSizeSm:"14px",fontSizeMd:"16px",fontSizeLg:"18px",fontSizeXl:"24px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightBold:"700",lineHeightTight:"1.25",lineHeightNormal:"1.5",lineHeightRelaxed:"1.75"},buttons:{borderRadius:"8px",padding:"12px 24px",fontSize:"16px",fontWeight:"500",general:{background:"#2e6bf0",backgroundHover:"#1e40af",backgroundActive:"#1e3a8a",color:"#ffffff",colorHover:"#ffffff",border:"#2e6bf0",borderHover:"#1e40af",shadow:"0 2px 4px rgba(46, 107, 240, 0.2)"},cta:{background:"#efe63f",backgroundHover:"#eab308",backgroundActive:"#ca8a04",color:"#1f2937",colorHover:"#1f2937",border:"#efe63f",borderHover:"#eab308",shadow:"0 4px 8px rgba(239, 230, 63, 0.3)"},secondary:{background:"transparent",backgroundHover:"#2e6bf0",backgroundActive:"#1e40af",color:"#2e6bf0",colorHover:"#ffffff",border:"#2e6bf0",borderHover:"#2e6bf0",shadow:"none"},outline:{background:"transparent",backgroundHover:"#f8f9fa",backgroundActive:"#e9ecef",color:"#333333",colorHover:"#333333",border:"#e5e5e5",borderHover:"#d1d5db",shadow:"none"},ghost:{background:"transparent",backgroundHover:"#f8f9fa",backgroundActive:"#e9ecef",color:"#333333",colorHover:"#333333",border:"transparent",borderHover:"transparent",shadow:"none"}},components:{card:{background:"#ffffff",border:"1px solid #e5e5e5",borderRadius:"8px",shadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"24px"},header:{background:"#ffffff",borderBottom:"1px solid #e5e5e5",height:"64px",padding:"0 24px"},cta:{background:"#1e40af",borderRadius:"16px",padding:"32px"}}},w=Object.assign(Object.assign({},j),{name:"advisors-plus",colors:Object.assign(Object.assign({},j.colors),{primary:"#1e2a78",primaryHover:"#151f5c",primaryActive:"#0f1640",secondary:"#4f46e5",secondaryHover:"#4338ca",secondaryActive:"#3730a3",text:"#1f2937",background:"#f8fafc"}),buttons:Object.assign(Object.assign({},j.buttons),{borderRadius:"8px",general:{background:"#1e2a78",backgroundHover:"#151f5c",backgroundActive:"#0f1640",color:"#ffffff",colorHover:"#ffffff",border:"#1e2a78",borderHover:"#151f5c",shadow:"0 2px 6px rgba(30, 42, 120, 0.25)"},cta:{background:"#4f46e5",backgroundHover:"#4338ca",backgroundActive:"#3730a3",color:"#ffffff",colorHover:"#ffffff",border:"#4f46e5",borderHover:"#4338ca",shadow:"0 3px 6px rgba(79, 70, 229, 0.3)"},secondary:{background:"transparent",backgroundHover:"#1e2a78",backgroundActive:"#151f5c",color:"#1e2a78",colorHover:"#ffffff",border:"#1e2a78",borderHover:"#1e2a78",shadow:"none"}}),components:Object.assign(Object.assign({},j.components),{cta:{background:"#1e2a78",borderRadius:"16px",padding:"32px"}})}),N=Object.assign(Object.assign({},j),{name:"primax",colors:Object.assign(Object.assign({},j.colors),{primary:"#0066cc",primaryHover:"#0052a3",primaryActive:"#003d7a",secondary:"#ff6600",secondaryHover:"#e55a00",secondaryActive:"#cc4f00"}),buttons:Object.assign(Object.assign({},j.buttons),{borderRadius:"8px",general:{background:"#0066cc",backgroundHover:"#0052a3",backgroundActive:"#003d7a",color:"#ffffff",colorHover:"#ffffff",border:"#0066cc",borderHover:"#0052a3",shadow:"0 2px 4px rgba(0, 102, 204, 0.2)"},cta:{background:"#ff6600",backgroundHover:"#e55a00",backgroundActive:"#cc4f00",color:"#ffffff",colorHover:"#ffffff",border:"#ff6600",borderHover:"#e55a00",shadow:"0 4px 8px rgba(255, 102, 0, 0.3)"},secondary:{background:"transparent",backgroundHover:"#0066cc",backgroundActive:"#0052a3",color:"#0066cc",colorHover:"#ffffff",border:"#0066cc",borderHover:"#0066cc",shadow:"none"}}),components:Object.assign(Object.assign({},j.components),{cta:{background:"#003d7a",borderRadius:"0px 0px 50px 50px",padding:"54px 60px 0px 30px"}})});const _=r(void 0);function $(){const e=n(_);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e}const O=function({children:e,initialTheme:r=j,initialThemeName:n="default"}){o(()=>{!function(e,r){const o=document.getElementById(`theme-${r}`)||document.createElement("style");o.id=`theme-${r}`;const n=`\n [data-theme="${r}"] {\n --primary-color: ${e.colors.primary};\n --primary-color-hover: ${e.colors.primaryHover};\n --primary-color-active: ${e.colors.primaryActive};\n --secondary-color: ${e.colors.secondary};\n --secondary-color-hover: ${e.colors.secondaryHover};\n --secondary-color-active: ${e.colors.secondaryActive};\n --text-color: ${e.colors.text};\n --text-color-inverse: ${e.colors.textInverse};\n --background-color: ${e.colors.background};\n --border-color: ${e.colors.border};\n \n --button-general-bg: ${e.buttons.general.background};\n --button-general-bg-hover: ${e.buttons.general.backgroundHover};\n --button-general-bg-active: ${e.buttons.general.backgroundActive};\n --button-general-color: ${e.buttons.general.color};\n --button-general-border: ${e.buttons.general.border};\n --button-general-shadow: ${e.buttons.general.shadow};\n \n --button-cta-bg: ${e.buttons.cta.background};\n --button-cta-bg-hover: ${e.buttons.cta.backgroundHover};\n --button-cta-bg-active: ${e.buttons.cta.backgroundActive};\n --button-cta-color: ${e.buttons.cta.color};\n --button-cta-border: ${e.buttons.cta.border};\n --button-cta-shadow: ${e.buttons.cta.shadow};\n \n --button-secondary-bg: ${e.buttons.secondary.background};\n --button-secondary-bg-hover: ${e.buttons.secondary.backgroundHover};\n --button-secondary-bg-active: ${e.buttons.secondary.backgroundActive};\n --button-secondary-color: ${e.buttons.secondary.color};\n --button-secondary-color-hover: ${e.buttons.secondary.colorHover};\n --button-secondary-border: ${e.buttons.secondary.border};\n --button-secondary-shadow: ${e.buttons.secondary.shadow};\n \n --button-border-radius: ${e.buttons.borderRadius};\n \n --content-container-bg: ${e.components.cta.background};\n --content-container-border-radius: ${e.components.cta.borderRadius};\n --content-container-padding: ${e.components.cta.padding};\n }\n `;o.textContent=n,document.head.contains(o)||document.head.appendChild(o)}(r,n),document.documentElement.setAttribute("data-theme",n)},[r,n]);const t={currentTheme:r,themeName:n};return f.jsx(_.Provider,{value:t,children:e})};export{y as BackgroundMedia,u as Button,p as ButtonLink,h as CTA,x as Card,v as Header,m as Heading,k as Page,g as TextLink,O as ThemeProvider,w as advisorsPlusTheme,j as defaultTheme,N as primaxTheme,$ as useTheme};
|
|
29
|
+
*/function Xr(){return Yr||(Yr=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===S?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case b:return"Profiler";case m:return"StrictMode";case v:return"Suspense";case x:return"SuspenseList";case j:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case d:return"Portal";case h:return(e.displayName||"Context")+".Provider";case y:return(e._context.displayName||"Context")+".Consumer";case g:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(n=e.displayName||null)?n:t(e.type)||"Memo";case k:n=e._payload,e=e._init;try{return t(e(n))}catch(e){}}return null}function n(e){return""+e}function r(e){try{n(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,a="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function a(e){if(e===p)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===k)return"<...>";try{var n=t(e);return n?"<"+n+">":"<...>"}catch(e){return"<...>"}}function o(){return Error("react-stack-top-frame")}function i(){var e=t(this.type);return E[e]||(E[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,n,a,o,s,f,d,p){var m,b=n.children;if(void 0!==b)if(o)if(N(b)){for(o=0;o<b.length;o++)l(b[o]);Object.freeze&&Object.freeze(b)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(b);if(A.call(n,"key")){b=t(e);var y=Object.keys(n).filter(function(e){return"key"!==e});o=0<y.length?"{key: someKey, "+y.join(": ..., ")+": ...}":"{key: someKey}",F[b+o]||(y=0<y.length?"{"+y.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',o,b,y,b),F[b+o]=!0)}if(b=null,void 0!==a&&(r(a),b=""+a),function(e){if(A.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(r(n.key),b=""+n.key),"key"in n)for(var h in a={},n)"key"!==h&&(a[h]=n[h]);else a=n;return b&&function(e,t){function n(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(a,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,n,r,a,o,s,l){return n=o.ref,e={$$typeof:u,type:e,key:t,props:o,_owner:a},null!==(void 0!==n?n:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,b,f,0,null===(m=O.A)?null:m.getOwner(),a,d,p)}function l(e){"object"==typeof e&&null!==e&&e.$$typeof===u&&e._store&&(e._store.validated=1)}var c,f=e,u=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),S=Symbol.for("react.client.reference"),O=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,N=Array.isArray,P=console.createTask?console.createTask:function(){return null},E={},I=(f={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(f,o)(),C=P(a(o)),F={};qr.Fragment=p,qr.jsx=function(e,t,n,r,o){var i=1e4>O.recentlyCreatedOwnerStacks++;return s(e,t,n,!1,0,o,i?Error("react-stack-top-frame"):I,i?P(a(e)):C)},qr.jsxs=function(e,t,n,r,o){var i=1e4>O.recentlyCreatedOwnerStacks++;return s(e,t,n,!0,0,o,i?Error("react-stack-top-frame"):I,i?P(a(e)):C)}}()),qr}var Kr=(Jr||(Jr=1,"production"===process.env.NODE_ENV?Vr.exports=function(){if(Ur)return Br;Ur=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var a=null;if(void 0!==r&&(a=""+r),void 0!==n.key&&(a=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:a,ref:void 0!==n?n:null,props:r}}return Br.Fragment=t,Br.jsx=n,Br.jsxs=n,Br}():Vr.exports=Xr()),Vr.exports),Gr={prefix:"fas",iconName:"angles-right",icon:[448,512,[187,"angle-double-right"],"f101","M439.1 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L371.2 256 233.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L179.2 256 41.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]};
|
|
30
|
+
/*!
|
|
31
|
+
* Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com
|
|
32
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
33
|
+
* Copyright 2025 Fonticons, Inc.
|
|
34
|
+
*/const Zr={video:{regular:Kr.jsx(Lr,{icon:{prefix:"far",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM212.5 147.5c-7.4-4.5-16.7-4.7-24.3-.5S176 159.3 176 168l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88zM298 256l-74 45.2 0-90.4 74 45.2z"]}}),hover:Kr.jsx(Lr,{icon:{prefix:"fas",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]}})},subscribe:{regular:Kr.jsx(Lr,{icon:{prefix:"far",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M61.4 64C27.5 64 0 91.5 0 125.4 0 126.3 0 127.1 .1 128L0 128 0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256-.1 0c0-.9 .1-1.7 .1-2.6 0-33.9-27.5-61.4-61.4-61.4L61.4 64zM464 192.3L464 384c0 8.8-7.2 16-16 16L64 400c-8.8 0-16-7.2-16-16l0-191.7 154.8 117.4c31.4 23.9 74.9 23.9 106.4 0L464 192.3zM48 125.4C48 118 54 112 61.4 112l389.2 0c7.4 0 13.4 6 13.4 13.4 0 4.2-2 8.2-5.3 10.7L280.2 271.5c-14.3 10.8-34.1 10.8-48.4 0L53.3 136.1c-3.3-2.5-5.3-6.5-5.3-10.7z"]}}),hover:Kr.jsx(Lr,{icon:{prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64c-26.5 0-48 21.5-48 48 0 15.1 7.1 29.3 19.2 38.4l208 156c17.1 12.8 40.5 12.8 57.6 0l208-156c12.1-9.1 19.2-23.3 19.2-38.4 0-26.5-21.5-48-48-48L48 64zM0 196L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-188-198.4 148.8c-34.1 25.6-81.1 25.6-115.2 0L0 196z"]}})},cta:{regular:Kr.jsx(Lr,{icon:Gr})},twitter:{regular:Kr.jsx(Lr,{icon:{prefix:"fab",iconName:"x-twitter",icon:[448,512,[],"e61b","M357.2 48L427.8 48 273.6 224.2 455 464 313 464 201.7 318.6 74.5 464 3.8 464 168.7 275.5-5.2 48 140.4 48 240.9 180.9 357.2 48zM332.4 421.8l39.1 0-252.4-333.8-42 0 255.3 333.8z"]}})},linkedIn:{regular:Kr.jsx(Lr,{icon:{prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32L31.9 32C14.3 32 0 46.5 0 64.3L0 447.7C0 465.5 14.3 480 31.9 480L416 480c17.6 0 32-14.5 32-32.3l0-383.4C448 46.5 433.6 32 416 32zM135.4 416l-66.4 0 0-213.8 66.5 0 0 213.8-.1 0zM102.2 96a38.5 38.5 0 1 1 0 77 38.5 38.5 0 1 1 0-77zM384.3 416l-66.4 0 0-104c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9l0 105.8-66.4 0 0-213.8 63.7 0 0 29.2 .9 0c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9l0 117.2z"]}})},facebook:{regular:Kr.jsx(Lr,{icon:{prefix:"fab",iconName:"square-facebook",icon:[448,512,["facebook-square"],"f082","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l98.2 0 0-145.8-52.8 0 0-78.2 52.8 0 0-33.7c0-87.1 39.4-127.5 125-127.5 16.2 0 44.2 3.2 55.7 6.4l0 70.8c-6-.6-16.5-1-29.6-1-42 0-58.2 15.9-58.2 57.2l0 27.8 83.6 0-14.4 78.2-69.3 0 0 145.8 129 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]}})}};const Qr=e=>{var{buttonType:t="general",label:n,icon:r,hoverIcon:a,className:o,children:i,style:s,disabled:l=!1,onClick:c}=e,f=Wr(e,["buttonType","label","icon","hoverIcon","className","children","style","disabled","onClick"]);const u=`button button--${t} ${o||""}`,d=function(e,t,n){return t?{regular:t,hover:n}:Zr[e]||null}(t,r,a);return Kr.jsxs("button",Object.assign({type:"button",className:u,style:s,onClick:c,disabled:l},f,{children:[i||n,d&&(d.hover?Kr.jsxs(Kr.Fragment,{children:[Kr.jsx("span",{className:"icon icon--regular",children:d.regular}),Kr.jsx("span",{className:"icon icon--hover",children:d.hover})]}):Kr.jsx("span",{className:"icon",children:d.regular}))]}))},ea=e=>{var{buttonType:t="general",label:n,icon:r,href:a,target:o="_self",className:i,children:s,style:l}=e,c=Wr(e,["buttonType","label","icon","href","target","className","children","style"]);const f=`button button--${t} ${i||""}`,u="_blank"===o?"noopener noreferrer":void 0;return Kr.jsxs("a",Object.assign({href:a,target:o,rel:u,className:f,style:l},c,{children:[s||n," ",r&&Kr.jsx("span",{className:"icon",children:r})]}))},ta=({label:e,href:t,externalLink:n,target:r="_self",onClick:a,className:o="",icon:i,style:s,disabled:l=!1,"aria-label":c,"aria-describedby":f,"data-testid":u})=>{const d=n||t,p=!!n||"_blank"===r;return!d||l?Kr.jsxs("span",{className:`text-link text-link--disabled ${o}`,style:s,"data-testid":u,"aria-label":c||e,"aria-describedby":f,children:[e," ",i]}):Kr.jsxs("a",{href:d,target:r,rel:p?"noopener noreferrer":void 0,onClick:e=>{l?e.preventDefault():a&&a(e)},onKeyDown:e=>{!l||"Enter"!==e.key&&" "!==e.key||e.preventDefault()},className:`text-link ${o}`,style:s,"aria-label":c,"aria-describedby":f,"data-testid":u,children:[e," ",i]})},na=({videoUrl:e,imageUrl:t,gradient:n,bgColor:r,className:a,style:o})=>{const i=["background-media",a].filter(Boolean).join(" ");if(e)return Kr.jsxs("video",{className:`${i} background-media--video`,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,style:o,children:[Kr.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support video."]});const s=Object.assign({backgroundImage:n?`${n}, url(${t})`:t?`url(${t})`:void 0,backgroundColor:r},o);return Kr.jsx("div",{className:i,style:s})},ra=({level:e="h2",children:t,className:n,style:r})=>{const a=e,o=["heading",n].filter(Boolean).join(" ");return Kr.jsx(a,{className:o,style:r,children:t})},aa=({user:e,onLogin:t,onLogout:n,onCreateAccount:r})=>Kr.jsx("header",{children:Kr.jsxs("div",{className:"storybook-header",children:[Kr.jsxs("div",{children:[Kr.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:Kr.jsxs("g",{fill:"none",fillRule:"evenodd",children:[Kr.jsx("path",{d:"M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z",fill:"#FFF"}),Kr.jsx("path",{d:"M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z",fill:"#555AB9"}),Kr.jsx("path",{d:"M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z",fill:"#91BAF8"})]})}),Kr.jsx("h1",{children:"Acme"})]}),Kr.jsx("div",{children:e?Kr.jsxs(Kr.Fragment,{children:[Kr.jsxs("span",{className:"welcome",children:["Welcome, ",Kr.jsx("b",{children:e.name}),"!"]}),Kr.jsx(Qr,{buttonType:"secondary",onClick:n,label:"Log out"})]}):Kr.jsxs(Kr.Fragment,{children:[Kr.jsx(Qr,{buttonType:"secondary",onClick:t,label:"Log in"}),Kr.jsx(Qr,{buttonType:"cta",onClick:r,label:"Sign up"})]})})]})}),oa=({children:e,maxWidth:t="340px",padding:n="30px",onClick:r,href:a,target:o="_self",imageUrl:i,imageAlt:s="",className:l="",style:c,aspectRatio:f="3/2",borderRadius:u="20px",hoverEffect:d=!0,"aria-label":p,"data-testid":m})=>{const b=e=>{"Enter"!==e.key&&" "!==e.key||!r||(e.preventDefault(),r(e))},y=e=>{r&&r(e)},h=Object.assign({maxWidth:t},c),g={borderRadius:u},v={aspectRatio:f,borderRadius:`${u} ${u} 0 0`},x={padding:n},w=["card",d&&"card--hover-effect",l].filter(Boolean).join(" "),k=Kr.jsxs("div",{className:w,style:g,"data-testid":m,children:[i&&Kr.jsx("div",{className:"card__image-wrapper",style:v,children:Kr.jsx("div",{className:"card__image-container",children:Kr.jsx("img",{src:i,alt:s,className:"card__image",loading:"lazy"})})}),Kr.jsx("div",{className:"card__body",style:x,children:e})]});return a?Kr.jsx("div",{className:"card-wrapper",style:h,children:Kr.jsx("a",{href:a,target:o,rel:"_blank"===o?"noopener noreferrer":void 0,onClick:y,className:"card__link",style:{borderRadius:u},"aria-label":p,children:k})}):r?Kr.jsx("div",{className:"card-wrapper",style:h,children:Kr.jsxs("div",{className:w,style:g,onClick:r,onKeyDown:b,role:"button",tabIndex:0,"aria-label":p,"data-testid":m,children:[i&&Kr.jsx("div",{className:"card__image-wrapper",style:v,children:Kr.jsx("div",{className:"card__image-container",children:Kr.jsx("img",{src:i,alt:s,className:"card__image",loading:"lazy"})})}),Kr.jsx("div",{className:"card__body",style:x,children:e})]})}):Kr.jsx("div",{className:"card-wrapper",style:h,children:k})},ia=({videoUrl:e,imageUrl:t,gradient:n,bgColor:r,title:a,headingLevel:o="h2",description:i,buttonText:s,link:l,externalLink:c,target:f="_self",className:u,style:d})=>{const p=["cta",u].filter(Boolean).join(" ");return Kr.jsxs("div",{className:p,style:d,children:[Kr.jsx(na,{videoUrl:e,imageUrl:t,gradient:n,bgColor:r}),Kr.jsxs("div",{className:"cta__content",children:[Kr.jsx(ra,{level:o,className:"cta__title",children:a}),i&&Kr.jsx("p",{className:"cta__description",children:i}),l?Kr.jsx(ea,{buttonType:"cta",label:s,href:l,target:c?f:"_self",icon:Kr.jsx(Lr,{icon:Gr})}):Kr.jsx(Qr,{buttonType:"cta",label:s,onClick:()=>{},icon:Kr.jsx(Lr,{icon:Gr})})]})]})},sa=()=>{const[t,n]=e.useState();return Kr.jsxs("article",{children:[Kr.jsx(aa,{user:t,onLogin:()=>n({name:"Jane Doe"}),onLogout:()=>n(void 0),onCreateAccount:()=>n({name:"Jane Doe"})}),Kr.jsxs("section",{className:"storybook-page",children:[Kr.jsx("h2",{children:"Pages in Storybook"}),Kr.jsxs("p",{children:["We recommend building UIs with a"," ",Kr.jsx("a",{href:"https://componentdriven.org",target:"_blank",rel:"noopener noreferrer",children:Kr.jsx("strong",{children:"component-driven"})})," ","process starting with atomic components and ending with pages."]})]})]})},la={name:"default",fontImportUrl:"https://use.typekit.net/nmh6hoc.css",colors:{primary:"#2e6bf0",primaryHover:"#1e40af",primaryActive:"#1e3a8a",secondary:"#efe63f",secondaryHover:"#eab308",secondaryActive:"#ca8a04",text:"#1f2937",textInverse:"#ffffff",background:"#ffffff",border:"#e5e5e5",success:"#10b981",warning:"#efe63f",error:"#ef4444"},spacing:{xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px",xxl:"48px"},borderRadius:{sm:"4px",md:"8px",lg:"16px",xl:"24px"},shadows:{sm:"0 2px 4px rgba(0, 0, 0, 0.1)",md:"0 4px 8px rgba(0, 0, 0, 0.15)",lg:"0 8px 16px rgba(0, 0, 0, 0.2)",xl:"0 16px 32px rgba(0, 0, 0, 0.25)"},typography:{fontFamily:"'azo-sans-web', serif",fontFamilyHeading:"'azo-sans-web', serif",fontSizeXs:"12px",fontSizeSm:"14px",fontSizeMd:"16px",fontSizeLg:"18px",fontSizeXl:"24px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightBold:"700",lineHeightTight:"1.25",lineHeightNormal:"1.5",lineHeightRelaxed:"1.75"},buttons:{borderRadius:"20px",padding:"12px 24px",fontSize:"1.125rem",fontWeight:"600",general:{background:"#2e6bf0",backgroundHover:"#efe97f",backgroundActive:"#efe97f",color:"#ffffff",colorHover:"#ffffff",border:"#2e6bf0",borderHover:"#1e40af",shadow:"0 2px 4px rgba(46, 107, 240, 0.2)"},cta:{background:"#efe63f",backgroundHover:"#eab308",backgroundActive:"#ca8a04",color:"#3d2589",colorHover:"#3d2589",border:"#efe63f",borderHover:"#eab308",shadow:"0"},secondary:{background:"transparent",backgroundHover:"#2e6bf0",backgroundActive:"#1e40af",color:"#2e6bf0",colorHover:"#ffffff",border:"#2e6bf0",borderHover:"#2e6bf0",shadow:"none"},outline:{background:"transparent",backgroundHover:"#f8f9fa",backgroundActive:"#e9ecef",color:"#333333",colorHover:"#333333",border:"#e5e5e5",borderHover:"#d1d5db",shadow:"none"},ghost:{background:"transparent",backgroundHover:"#f8f9fa",backgroundActive:"#e9ecef",color:"#333333",colorHover:"#333333",border:"transparent",borderHover:"transparent",shadow:"none"}},components:{card:{background:"#ffffff",border:"1px solid #e5e5e5",borderRadius:"8px",shadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"24px"},header:{background:"#ffffff",borderBottom:"1px solid #e5e5e5",height:"64px",padding:"0 24px"},cta:{background:"#3d2589",borderRadius:"0 0 200px",padding:"32px",titleFontWeight:"900",titleFontSize:"55px",titleLineHeight:"65px",descriptionLineHeight:"32px",descriptionFontWeight:"100",descriptionFontSize:"24px",descriptionMargin:"0px 0px 30px 0px"}}},ca=Object.assign(Object.assign({},la),{name:"advisors-plus",typography:Object.assign(Object.assign({},la.typography),{fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",fontFamilyHeading:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"}),colors:Object.assign(Object.assign({},la.colors),{primary:"#1e2a78",primaryHover:"#151f5c",primaryActive:"#0f1640",secondary:"#4f46e5",secondaryHover:"#4338ca",secondaryActive:"#3730a3",text:"#1f2937",background:"#f8fafc"}),buttons:Object.assign(Object.assign({},la.buttons),{borderRadius:"8px",general:{background:"#1e2a78",backgroundHover:"#151f5c",backgroundActive:"#0f1640",color:"#ffffff",colorHover:"#ffffff",border:"#1e2a78",borderHover:"#151f5c",shadow:"0 2px 6px rgba(30, 42, 120, 0.25)"},cta:{background:"#4f46e5",backgroundHover:"#4338ca",backgroundActive:"#3730a3",color:"#ffffff",colorHover:"#ffffff",border:"#4f46e5",borderHover:"#4338ca",shadow:"0 3px 6px rgba(79, 70, 229, 0.3)"},secondary:{background:"transparent",backgroundHover:"#1e2a78",backgroundActive:"#151f5c",color:"#1e2a78",colorHover:"#ffffff",border:"#1e2a78",borderHover:"#1e2a78",shadow:"none"}}),components:Object.assign(Object.assign({},la.components),{cta:{background:"#1e2a78",borderRadius:"16px",padding:"32px"}})}),fa=Object.assign(Object.assign({},la),{name:"primax",typography:Object.assign(Object.assign({},la.typography),{fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",fontFamilyHeading:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"}),colors:Object.assign(Object.assign({},la.colors),{primary:"#0066cc",primaryHover:"#0052a3",primaryActive:"#003d7a",secondary:"#ff6600",secondaryHover:"#e55a00",secondaryActive:"#cc4f00"}),buttons:Object.assign(Object.assign({},la.buttons),{borderRadius:"8px",general:{background:"#0066cc",backgroundHover:"#0052a3",backgroundActive:"#003d7a",color:"#ffffff",colorHover:"#ffffff",border:"#0066cc",borderHover:"#0052a3",shadow:"0 2px 4px rgba(0, 102, 204, 0.2)"},cta:{background:"#ff6600",backgroundHover:"#e55a00",backgroundActive:"#cc4f00",color:"#ffffff",colorHover:"#ffffff",border:"#ff6600",borderHover:"#e55a00",shadow:"0 4px 8px rgba(255, 102, 0, 0.3)"},secondary:{background:"transparent",backgroundHover:"#0066cc",backgroundActive:"#0052a3",color:"#0066cc",colorHover:"#ffffff",border:"#0066cc",borderHover:"#0066cc",shadow:"none"}}),components:Object.assign(Object.assign({},la.components),{cta:{background:"#003d7a",borderRadius:"0px 0px 50px 50px",padding:"54px 60px 0px 30px"}})});function ua(e,t){return Object.entries(e).filter(([e,t])=>void 0!==t).map(([e,n])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();return` --${t}${r}: ${n};`})}function da(e,t){const n=document.getElementById(`theme-${t}`)||document.createElement("style");n.id=`theme-${t}`;const r=`[data-theme="${t}"]`,a=`\n ${e.fontImportUrl?`@import url('${e.fontImportUrl}');`:""}\n ${function(e,t=":root"){const n={};return n.Colors=ua(e.colors,""),n.Spacing=ua(e.spacing,""),n["Border Radius"]=ua(e.borderRadius,""),n.Shadows=ua(e.shadows,""),n.Typography=ua(e.typography,""),n["Button Base"]=[` --button-border-radius: ${e.buttons.borderRadius};`,` --button-padding: ${e.buttons.padding};`,` --button-font-size: ${e.buttons.fontSize};`,` --button-font-weight: ${e.buttons.fontWeight};`],["general","cta","secondary","outline","ghost"].forEach(t=>{const r=t.charAt(0).toUpperCase()+t.slice(1);n[`Button - ${r}`]=ua(e.buttons[t],`button-${t}-`)}),n["Card Component"]=ua(e.components.card,"card-"),n["Header Component"]=ua(e.components.header,"header-"),n["CTA Component"]=ua(e.components.cta,"cta-"),`${t} {${Object.entries(n).map(([e,t])=>`\n /* ${e} */\n${t.join("\n")}`).join("")}\n}`}(e,r)}\n `;n.textContent=a,document.head.contains(n)||document.head.appendChild(n)}const pa=t(void 0);function ma(){const e=r(pa);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e}const ba=function({children:e,initialTheme:t=la,initialThemeName:r="default"}){n(()=>{da(t,r),document.documentElement.setAttribute("data-theme",r)},[t,r]);const a={currentTheme:t,themeName:r};return Kr.jsx(pa.Provider,{value:a,children:e})};export{na as BackgroundMedia,Qr as Button,ea as ButtonLink,ia as CTA,oa as Card,Lr as FontAwesomeIcon,aa as Header,ra as Heading,sa as Page,ta as TextLink,ba as ThemeProvider,ca as advisorsPlusTheme,Zr as defaultButtonIcons,la as defaultTheme,fa as primaxTheme,ma as useTheme};
|
|
12
35
|
//# sourceMappingURL=index.esm.js.map
|