@mp-front/components 0.0.1-next-10 → 0.0.1-next-11

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.
Files changed (44) hide show
  1. package/dist/carousel.component-BcjDXzve.cjs +80 -0
  2. package/dist/carousel.component-CdgrJtst.js +12762 -0
  3. package/dist/components/carousel/carousel-container.component.d.ts +2 -0
  4. package/dist/components/carousel/carousel-container.component.d.ts.map +1 -0
  5. package/dist/components/carousel/carousel-dots.component.d.ts +3 -0
  6. package/dist/components/carousel/carousel-dots.component.d.ts.map +1 -0
  7. package/dist/components/carousel/carousel-item.component.d.ts +3 -0
  8. package/dist/components/carousel/carousel-item.component.d.ts.map +1 -0
  9. package/dist/components/carousel/carousel-next-button.component.d.ts +2 -0
  10. package/dist/components/carousel/carousel-next-button.component.d.ts.map +1 -0
  11. package/dist/components/carousel/carousel-prev-button.component.d.ts +2 -0
  12. package/dist/components/carousel/carousel-prev-button.component.d.ts.map +1 -0
  13. package/dist/components/carousel/carousel.component.d.ts +4 -0
  14. package/dist/components/carousel/carousel.component.d.ts.map +1 -0
  15. package/dist/components/carousel/carousel.constants.d.ts +2 -0
  16. package/dist/components/carousel/carousel.constants.d.ts.map +1 -0
  17. package/dist/components/carousel/carousel.context.d.ts +4 -0
  18. package/dist/components/carousel/carousel.context.d.ts.map +1 -0
  19. package/dist/components/carousel/carousel.stories.d.ts +14 -0
  20. package/dist/components/carousel/carousel.stories.d.ts.map +1 -0
  21. package/dist/components/carousel/carousel.types.d.ts +58 -0
  22. package/dist/components/carousel/carousel.types.d.ts.map +1 -0
  23. package/dist/components/carousel/utils/handle-key-down.d.ts +3 -0
  24. package/dist/components/carousel/utils/handle-key-down.d.ts.map +1 -0
  25. package/dist/components/carousel/utils/index.d.ts +3 -0
  26. package/dist/components/carousel/utils/index.d.ts.map +1 -0
  27. package/dist/components/carousel/utils/number-with-range.d.ts +2 -0
  28. package/dist/components/carousel/utils/number-with-range.d.ts.map +1 -0
  29. package/dist/components/carousel/utils/tween-scale.d.ts +3 -0
  30. package/dist/components/carousel/utils/tween-scale.d.ts.map +1 -0
  31. package/dist/components/index.d.ts +1 -0
  32. package/dist/components/index.d.ts.map +1 -1
  33. package/dist/components/progress/progress.component.d.ts +1 -1
  34. package/dist/components/progress/progress.component.d.ts.map +1 -1
  35. package/dist/components/progress/progress.types.d.ts +1 -0
  36. package/dist/components/progress/progress.types.d.ts.map +1 -1
  37. package/dist/styles.css +1 -1
  38. package/dist/ui-components-index.cjs +2 -2
  39. package/dist/ui-components-index.js +14 -11
  40. package/dist/ui-components-layout.cjs +1 -1
  41. package/dist/ui-components-layout.js +1 -1
  42. package/package.json +2 -1
  43. package/dist/toggle-group.component-D2gEDqha.js +0 -11259
  44. package/dist/toggle-group.component-DoOPPzV2.cjs +0 -80
@@ -0,0 +1,2 @@
1
+ export declare const CarouseContainer: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
2
+ //# sourceMappingURL=carousel-container.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel-container.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel-container.component.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,2IAqB3B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { CarouselDotsProps } from './carousel.types';
2
+ export declare const CarouselDots: import('react').ForwardRefExoticComponent<CarouselDotsProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=carousel-dots.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel-dots.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel-dots.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAIpD,eAAO,MAAM,YAAY,8GAoDxB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { CarouselItemProps } from './carousel.types';
2
+ export declare const CarouselItem: import('react').ForwardRefExoticComponent<CarouselItemProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=carousel-item.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel-item.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel-item.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGpD,eAAO,MAAM,YAAY,8GAcxB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const CarouseNextButton: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
2
+ //# sourceMappingURL=carousel-next-button.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel-next-button.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel-next-button.component.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,uJAkB5B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const CarousePrevButton: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
2
+ //# sourceMappingURL=carousel-prev-button.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel-prev-button.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel-prev-button.component.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,uJAkB5B,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { CarouselComponent } from './carousel.types';
2
+ declare const Carousel: CarouselComponent;
3
+ export default Carousel;
4
+ //# sourceMappingURL=carousel.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel.component.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,iBAAiB,EAAiB,MAAM,kBAAkB,CAAA;AA0LnE,QAAA,MAAM,QAAQ,EAAmB,iBAAiB,CAAA;AAMlD,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const TWEEN_FACTOR_BASE = 0.52;
2
+ //# sourceMappingURL=carousel.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.constants.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,OAAO,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { CarouselContextType } from './carousel.types';
2
+ export declare const CarouselContext: import('react').Context<CarouselContextType>;
3
+ export declare const useCarousel: () => CarouselContextType;
4
+ //# sourceMappingURL=carousel.context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.context.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel.context.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAEtD,eAAO,MAAM,eAAe,8CAE3B,CAAA;AAED,eAAO,MAAM,WAAW,2BAMvB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as Carousel } from './carousel.component';
3
+ declare const meta: Meta<typeof Carousel>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Carousel>;
6
+ export declare const Default: Story;
7
+ export declare const WithScale: Story;
8
+ export declare const FullWidth: Story;
9
+ export declare const Vertical: Story;
10
+ export declare const RTL: Story;
11
+ export declare const Loop: Story;
12
+ export declare const CustomDots: Story;
13
+ export declare const MultipleSlides: Story;
14
+ //# sourceMappingURL=carousel.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.stories.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,QAAQ,MAAM,sBAAsB,CAAA;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAY/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAEtC,eAAO,MAAM,OAAO,EAAE,KAiBrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAA;AAED,eAAO,MAAM,GAAG,EAAE,KAiBjB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAiBlB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAiBxB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAiB5B,CAAA"}
@@ -0,0 +1,58 @@
1
+ import { EmblaCarouselType, EmblaEventType, EmblaOptionsType } from 'embla-carousel';
2
+ import { default as useEmblaCarousel } from 'embla-carousel-react';
3
+ import { RefObject } from 'react';
4
+ import { CarouselItem } from './carousel-item.component';
5
+ import { CarouseContainer } from './carousel-container.component';
6
+ import { CarouselDots } from './carousel-dots.component';
7
+ export interface CarouselProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ options?: EmblaOptionsType;
9
+ plugins?: Parameters<typeof useEmblaCarousel>[1];
10
+ isScale?: boolean;
11
+ }
12
+ export type CarouselComponent = React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<HTMLDivElement>> & {
13
+ Item: typeof CarouselItem;
14
+ Container: typeof CarouseContainer;
15
+ Dots: typeof CarouselDots;
16
+ useCarousel: () => CarouselContextType;
17
+ };
18
+ export interface CarouselContextType {
19
+ emblaApi: EmblaCarouselType | undefined;
20
+ emblaRef: ReturnType<typeof useEmblaCarousel>[0];
21
+ prevBtnDisabled: boolean;
22
+ nextBtnDisabled: boolean;
23
+ onPrevButtonClick: () => void;
24
+ onNextButtonClick: () => void;
25
+ selectedIndex: number;
26
+ scrollSnaps: number[];
27
+ onDotButtonClick: (index: number) => void;
28
+ scrollProgress: number;
29
+ selectedSnap: number;
30
+ snapCount: number;
31
+ isScale: boolean;
32
+ slidesArr: string[];
33
+ setSlidesArr: React.Dispatch<React.SetStateAction<string[]>>;
34
+ carouselId: string;
35
+ orientation: "vertical" | "horizontal";
36
+ direction: "ltr" | "rtl" | undefined;
37
+ handleKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
38
+ }
39
+ export type CarouselItemProps = React.HTMLAttributes<HTMLDivElement>;
40
+ export interface CarouselDotsProps extends React.HTMLAttributes<HTMLDivElement> {
41
+ activeClass?: string;
42
+ }
43
+ export interface HandleKeyDownFn {
44
+ emblaApi?: EmblaCarouselType;
45
+ onNext: () => void;
46
+ onPrev: () => void;
47
+ orientation: "vertical" | "horizontal";
48
+ direction?: "rtl" | "ltr";
49
+ event: React.KeyboardEvent<HTMLDivElement>;
50
+ }
51
+ export interface TweenScaleFn {
52
+ emblaApi: EmblaCarouselType;
53
+ isScale: boolean;
54
+ tweenFactor: RefObject<number>;
55
+ eventName?: EmblaEventType;
56
+ tweenNodes: RefObject<HTMLElement[]>;
57
+ }
58
+ //# sourceMappingURL=carousel.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.types.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/carousel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EACjB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,gBAAgB,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACtE,OAAO,KAAK,EAAE,YAAY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CAAA;IAClB,WAAW,EAAE,UAAU,GAAG,YAAY,CAAA;IACtC,SAAS,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS,CAAA;IACpC,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;CACpE;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;AAEpE,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,WAAW,EAAE,UAAU,GAAG,YAAY,CAAA;IACtC,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAA;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,UAAU,EAAE,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;CACrC"}
@@ -0,0 +1,3 @@
1
+ import { HandleKeyDownFn } from '../carousel.types';
2
+ export declare const handleKeyDownFc: ({ event, emblaApi, orientation, direction, onNext, onPrev, }: HandleKeyDownFn) => void;
3
+ //# sourceMappingURL=handle-key-down.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-key-down.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/carousel/utils/handle-key-down.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,eAAe,iEAOzB,eAAe,SAmCjB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './handle-key-down';
2
+ export * from './tween-scale';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/carousel/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const numberWithinRange: (number: number, min: number, max: number) => number;
2
+ //# sourceMappingURL=number-with-range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"number-with-range.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/carousel/utils/number-with-range.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,WACpB,MAAM,OACT,MAAM,OACN,MAAM,KACV,MAA8C,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { TweenScaleFn } from '../carousel.types';
2
+ export declare const tweenScaleFn: ({ isScale, emblaApi, eventName, tweenFactor, tweenNodes, }: TweenScaleFn) => void;
3
+ //# sourceMappingURL=tween-scale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tween-scale.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/carousel/utils/tween-scale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGrD,eAAO,MAAM,YAAY,+DAMtB,YAAY,SAqCd,CAAA"}
@@ -37,4 +37,5 @@ export { default as Row } from './grid/row/row.component';
37
37
  export { default as Col } from './grid/col/col.component';
38
38
  export { default as Toggle } from './toggle/toggle.component';
39
39
  export { default as ToggleGroup } from './toggle-group/toggle-group.component';
40
+ export { default as Carousel } from './carousel/carousel.component';
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../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CAAA"}
@@ -20,6 +20,6 @@ import { ProgressProps } from './progress.types';
20
20
  * <Progress value={30} customIndicatorClass="bg-purple-500" />
21
21
  * ```
22
22
  */
23
- declare const Progress: ({ value, classNames, indicatorColor, customIndicatorClass, size, showLabel, labelClassName, ...props }: ProgressProps) => import("react/jsx-runtime").JSX.Element;
23
+ declare const Progress: ({ value, classNames, indicatorColor, customIndicatorClass, size, showLabel, labelClassName, onAnimationComplete, ...props }: ProgressProps) => import("react/jsx-runtime").JSX.Element;
24
24
  export default Progress;
25
25
  //# sourceMappingURL=progress.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/progress/progress.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIhD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,QAAA,MAAM,QAAQ,2GASX,aAAa,4CAyCf,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"progress.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/progress/progress.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIhD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,QAAA,MAAM,QAAQ,gIAUX,aAAa,4CA0Cf,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -36,5 +36,6 @@ export interface ProgressProps extends React.ComponentProps<typeof ProgressPrimi
36
36
  * CSS class for the percentage label
37
37
  */
38
38
  labelClassName?: string;
39
+ onAnimationComplete?: () => void;
39
40
  }
40
41
  //# sourceMappingURL=progress.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.types.d.ts","sourceRoot":"","sources":["../../../src/lib/components/progress/progress.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAExD,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC;IAC3D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,UAAU,CAAC,EAAE;QACX,mCAAmC;QACnC,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,uCAAuC;QACvC,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;IACD;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;IACrE;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB"}
1
+ {"version":3,"file":"progress.types.d.ts","sourceRoot":"","sources":["../../../src/lib/components/progress/progress.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAExD,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC;IAC3D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,UAAU,CAAC,EAAE;QACX,mCAAmC;QACnC,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,uCAAuC;QACvC,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;IACD;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;IACrE;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;CACjC"}