@lateralus-ai/shipping-ui 1.0.4 → 1.1.2

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.
@@ -1,8 +1,9 @@
1
+ import { PropsWithChildren } from 'react';
1
2
  interface HeaderProps {
2
3
  onClose: () => void;
3
4
  right?: React.ReactNode;
4
5
  }
5
6
  export declare const ModalPanel: {
6
- Header: ({ onClose, right, children }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
7
+ Header: ({ onClose, right, children, }: PropsWithChildren<HeaderProps>) => import("react/jsx-runtime").JSX.Element;
7
8
  };
8
9
  export {};
@@ -2,7 +2,7 @@ interface ImageViewerProps {
2
2
  onClose: () => void;
3
3
  totalPages: number;
4
4
  getImageSrc: (page: number) => string;
5
- title: string;
5
+ title?: string;
6
6
  }
7
7
  export declare const ImageViewer: ({ onClose, totalPages, getImageSrc, title, }: ImageViewerProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
1
  interface PdfViewerProps {
2
2
  onClose: () => void;
3
3
  src: string;
4
- title: string;
4
+ title?: string;
5
5
  }
6
- export declare const PdfViewer: ({ onClose, src, title, }: PdfViewerProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const PdfViewer: ({ onClose, src, title, className, }: PdfViewerProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1,3 +1,4 @@
1
1
  export * from './HelloWorld';
2
2
  export * as InputPrompt from './InputPrompt';
3
3
  export * as Sidebar from './Sidebar';
4
+ export * from './PdfViewer/';
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("react"),Te=require("@material-tailwind/react"),Nr=require("react-textarea-autosize"),Fr={fontFamily:{sans:["Work Sans","sans-serif"],mono:["Roboto Mono","monospace"],signature:["Alex Brush","Lucida Handwriting","cursive"]},fontSize:{subheader:["18px",{lineHeight:"28px",letterSpacing:"-0.01em"}],"subheader-em":["18px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:"500"}],body:["16px",{lineHeight:"28px",letterSpacing:"-0.01em"}],"body-em":["16px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:"500"}],"caption-1":["16px",{lineHeight:"22px"}],"caption-1-em":["16px",{lineHeight:"22px",fontWeight:"500"}],"caption-2":["14px",{lineHeight:"20px"}],"caption-2-em":["14px",{lineHeight:"20px",fontWeight:"500"}],footnote:["13px",{lineHeight:"17px"}],"footnote-em":["13px",{lineHeight:"17px",fontWeight:"500"}]},width:{authPageWidth:"370px"},keyframes:{"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}}},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},colors:{gray:{50:"#fafafa",100:"#f0f0f0",200:"#d6d6d6",300:"#bdbdbd",400:"#a3a3a3",500:"#8a8a8a",600:"#6e6e6e",700:"#525252",800:"#363636",900:"#1a1a1a"},green:{50:"#e0fff2",100:"#adf0d3",200:"#8aeac1",300:"#67e4ae",400:"#45de9c",500:"#26d489",600:"#1da56a",700:"#15754c",800:"#0c452d",900:"#04160e"},blue:{50:"#cae8f7",100:"#b8e0f4",200:"#95d1ef",300:"#71c1ea",400:"#4eb2e4",500:"#2aa2df",600:"#1b82b6",700:"#145f85",800:"#0d3c54",900:"#051923"},red:{50:"#f9dcdc",100:"#f6cbcb",200:"#f0a8a8",300:"#ea8686",400:"#e36363",500:"#dd4040",600:"#c32222",700:"#931a1a",800:"#641212",900:"#340909"},orange:{50:"#fff7eb",100:"#f8e0bf",200:"#f4cf9a",300:"#f0bd75",400:"#ecab51",500:"#e89a2c",600:"#C77C0A",700:"#935d10",800:"#603d0b",900:"#2e1d05"},"brand-purple":"#ab68ff",presentation:"var(--presentation)","text-primary":"var(--text-primary)","text-secondary":"var(--text-secondary)","text-secondary-alt":"var(--text-secondary-alt)","text-tertiary":"var(--text-tertiary)","ring-primary":"var(--ring-primary)","header-primary":"var(--header-primary)","header-hover":"var(--header-hover)","header-button-hover":"var(--header-button-hover)","surface-active":"var(--surface-active)","surface-active-alt":"var(--surface-active-alt)","surface-hover":"var(--surface-hover)","surface-primary":"var(--surface-primary)","surface-primary-alt":"var(--surface-primary-alt)","surface-primary-contrast":"var(--surface-primary-contrast)","surface-secondary":"var(--surface-secondary)","surface-secondary-alt":"var(--surface-secondary-alt)","surface-tertiary":"var(--surface-tertiary)","surface-tertiary-alt":"var(--surface-tertiary-alt)","surface-dialog":"var(--surface-dialog)","surface-submit":"var(--surface-submit)","border-light":"var(--border-light)","border-medium":"var(--border-medium)","border-medium-alt":"var(--border-medium-alt)","border-heavy":"var(--border-heavy)","border-xheavy":"var(--border-xheavy)",border:"hsl(var(--border))",input:"hsl(var(--input))","switch-unchecked":"hsl(var(--switch-unchecked))",ring:"hsl(var(--ring))",background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",primary:{DEFAULT:"hsl(var(--primary))",foreground:"hsl(var(--primary-foreground))"},secondary:{DEFAULT:"hsl(var(--secondary))",foreground:"hsl(var(--secondary-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},accent:{DEFAULT:"hsl(var(--accent))",foreground:"hsl(var(--accent-foreground))"},card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"}},borderRadius:{lg:"8px",md:"calc(8px - 2px)",sm:"calc(8px - 4px)"}},Lr={button:{defaultProps:{className:"items-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate tracking-[0.16px] justify-center",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},iconButton:{defaultProps:{className:"items-center justify-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},progress:{defaultProps:{className:"bg-gray-100",barProps:{className:"transform transition-all duration-300"}},styles:{sizes:{sm:{container:{initial:{height:"h-1"}}}}}},menu:{styles:{base:{menu:{border:"border border-gray-100",borderRadius:"rounded-xl",boxShadow:"shadow-sm",p:"p-2"},item:{initial:{display:"flex gap-2 items-center focus-within:outline-none text-gray-900",bg:"hover:bg-gray-100",p:"p-2"}}}}},dialog:{defaultProps:{size:"sm",dismiss:{},animate:{mount:{},unmount:{}},className:""},valid:{sizes:["xs","sm","md","lg","xl","xxl"]},styles:{base:{backdrop:{width:"w-full",display:"grid",placeItems:"place-items-center",position:"fixed",top:0,left:0,height:"h-screen",backgroundColor:"bg-[rgba(0,0,0,0.16)]",backgroundOpacity:"bg-opacity-100",backdropFilter:"backdrop-blur-none"},container:{height:"h-[450px]",position:"relative",bg:"bg-white",m:"m-4",borderRadius:"rounded-xl",boxShadow:"shadow-[0px_2px_8px_0px_#00000029,0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A]",fontSmoothing:"antialiased"}},sizes:{sm:{maxWidth:"!max-w-[550px]"},lg:{maxWidth:"!max-w-[700px]"}}}},dialogHeader:{styles:{base:{display:"text-gray-900 font-normal"}}},checkbox:{defaultProps:{color:"custom",ripple:!1},valid:{colors:["blue-gray","gray","red","green","custom"]},styles:{base:{root:{display:"inline-flex",alignItems:"items-center"},container:{position:"relative",display:"flex",alignItems:"items-center",cursor:"cursor-pointer",p:"!p-0",borderRadius:"rounded-full"},input:{peer:"peer",position:"relative",appearance:"appearance-none",width:"w-5",height:"h-5",borderWidth:"border-[1.5px]",borderRadius:"rounded-md",borderColor:"border-gray-100",cursor:"cursor-pointer",transition:"transition-all",before:{content:"before:content-['']",display:"before:block",bg:"before:bg-transparent",width:"before:w-12",height:"before:h-12",borderRadius:"before:rounded-full",position:"before:absolute",opacity:"before:opacity-0 hover:before:opacity-10"}},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",px:"px-2"},icon:{display:"flex",alignItems:"items-center",justifyContent:"justify-center",width:"w-5",height:"h-5",color:"text-green-600",position:"absolute",pointerEvents:"pointer-events-none",opacity:"opacity-0 peer-checked:opacity-100",transition:"transition-opacity"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{custom:{border:"checked:border-green-600"}}}},popover:{defaultProps:{placement:"top",offset:5,dismiss:{},animate:{unmount:{},mount:{}},className:""},styles:{base:{bg:"bg-white",p:"p-4",borderWidth:"border",borderColor:"border-gray-200",borderRadius:"rounded-lg",boxShadow:"[box-shadow:0px_2px_2px_0px_#0000000A,_0px_8px_8px_-8px_#0000000A]",fontSize:"text-sm",fontWeight:"font-normal",color:"text-blue-gray-500",outline:"focus:outline-none",overflowWrap:"break-words",whiteSpace:"whitespace-normal"}}},switch:{defaultProps:{color:"blue",label:"",ripple:!0,className:"",disabled:!1,containerProps:void 0,labelProps:void 0,circleProps:void 0},valid:{colors:["blue-gray","gray","brown","deep-orange","orange","amber","yellow","lime","light-green","green","teal","cyan","light-blue","blue","indigo","deep-purple","purple","pink","red"]},styles:{base:{input:{background:"bg-gray-500"},circle:{borderColor:"border-gray-500",borderRadius:"rounded-full",boxShadow:"shadow-md",position:"absolute",top:"top-2/4",left:"-left-1",transform:"-translate-y-2/4 peer-checked:translate-x-full",transition:"transition-all duration-300",cursor:"cursor-pointer",before:{content:"before:content['']",display:"before:block",bg:"before:bg-blue-gray-500",width:"before:w-10",height:"before:h-10",borderRadius:"before:rounded-full",position:"before:absolute",top:"before:top-2/4",left:"before:left-2/4",transform:"before:-translate-y-2/4 before:-translate-x-2/4",transition:"before:transition-opacity",opacity:"before:opacity-0 hover:before:opacity-10"}},ripple:{display:"inline-block",top:"top-2/4",left:"left-2/4",transform:"-translate-x-2/4 -translate-y-2/4",p:"p-5",borderRadius:"rounded-full"},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",ml:"ml-3",mb:"mb-0"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{gray:{input:"checked:bg-blue-gray-100",circle:"peer-checked:border-blue-gray-100",before:"peer-checked:before:bg-gray-500"},green:{input:"checked:bg-green-600",circle:"peer-checked:border-green-600",before:"peer-checked:before:bg-green-600"}}}}};var Ae={exports:{}},ne={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react"),S=require("@material-tailwind/react"),Hr=require("react-textarea-autosize"),ee=require("@iconify/react"),Dr={fontFamily:{sans:["Work Sans","sans-serif"],mono:["Roboto Mono","monospace"],signature:["Alex Brush","Lucida Handwriting","cursive"]},fontSize:{subheader:["18px",{lineHeight:"28px",letterSpacing:"-0.01em"}],"subheader-em":["18px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:"500"}],body:["16px",{lineHeight:"28px",letterSpacing:"-0.01em"}],"body-em":["16px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:"500"}],"caption-1":["16px",{lineHeight:"22px"}],"caption-1-em":["16px",{lineHeight:"22px",fontWeight:"500"}],"caption-2":["14px",{lineHeight:"20px"}],"caption-2-em":["14px",{lineHeight:"20px",fontWeight:"500"}],footnote:["13px",{lineHeight:"17px"}],"footnote-em":["13px",{lineHeight:"17px",fontWeight:"500"}]},width:{authPageWidth:"370px"},keyframes:{"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}}},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},colors:{gray:{50:"#fafafa",100:"#f0f0f0",200:"#d6d6d6",300:"#bdbdbd",400:"#a3a3a3",500:"#8a8a8a",600:"#6e6e6e",700:"#525252",800:"#363636",900:"#1a1a1a"},green:{50:"#e0fff2",100:"#adf0d3",200:"#8aeac1",300:"#67e4ae",400:"#45de9c",500:"#26d489",600:"#1da56a",700:"#15754c",800:"#0c452d",900:"#04160e"},blue:{50:"#cae8f7",100:"#b8e0f4",200:"#95d1ef",300:"#71c1ea",400:"#4eb2e4",500:"#2aa2df",600:"#1b82b6",700:"#145f85",800:"#0d3c54",900:"#051923"},red:{50:"#f9dcdc",100:"#f6cbcb",200:"#f0a8a8",300:"#ea8686",400:"#e36363",500:"#dd4040",600:"#c32222",700:"#931a1a",800:"#641212",900:"#340909"},orange:{50:"#fff7eb",100:"#f8e0bf",200:"#f4cf9a",300:"#f0bd75",400:"#ecab51",500:"#e89a2c",600:"#C77C0A",700:"#935d10",800:"#603d0b",900:"#2e1d05"},"brand-purple":"#ab68ff",presentation:"var(--presentation)","text-primary":"var(--text-primary)","text-secondary":"var(--text-secondary)","text-secondary-alt":"var(--text-secondary-alt)","text-tertiary":"var(--text-tertiary)","ring-primary":"var(--ring-primary)","header-primary":"var(--header-primary)","header-hover":"var(--header-hover)","header-button-hover":"var(--header-button-hover)","surface-active":"var(--surface-active)","surface-active-alt":"var(--surface-active-alt)","surface-hover":"var(--surface-hover)","surface-primary":"var(--surface-primary)","surface-primary-alt":"var(--surface-primary-alt)","surface-primary-contrast":"var(--surface-primary-contrast)","surface-secondary":"var(--surface-secondary)","surface-secondary-alt":"var(--surface-secondary-alt)","surface-tertiary":"var(--surface-tertiary)","surface-tertiary-alt":"var(--surface-tertiary-alt)","surface-dialog":"var(--surface-dialog)","surface-submit":"var(--surface-submit)","border-light":"var(--border-light)","border-medium":"var(--border-medium)","border-medium-alt":"var(--border-medium-alt)","border-heavy":"var(--border-heavy)","border-xheavy":"var(--border-xheavy)",border:"hsl(var(--border))",input:"hsl(var(--input))","switch-unchecked":"hsl(var(--switch-unchecked))",ring:"hsl(var(--ring))",background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",primary:{DEFAULT:"hsl(var(--primary))",foreground:"hsl(var(--primary-foreground))"},secondary:{DEFAULT:"hsl(var(--secondary))",foreground:"hsl(var(--secondary-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},accent:{DEFAULT:"hsl(var(--accent))",foreground:"hsl(var(--accent-foreground))"},card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"}},borderRadius:{lg:"8px",md:"calc(8px - 2px)",sm:"calc(8px - 4px)"}},Fr={button:{defaultProps:{className:"items-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate tracking-[0.16px] justify-center",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},iconButton:{defaultProps:{className:"items-center justify-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},progress:{defaultProps:{className:"bg-gray-100",barProps:{className:"transform transition-all duration-300"}},styles:{sizes:{sm:{container:{initial:{height:"h-1"}}}}}},menu:{styles:{base:{menu:{border:"border border-gray-100",borderRadius:"rounded-xl",boxShadow:"shadow-sm",p:"p-2"},item:{initial:{display:"flex gap-2 items-center focus-within:outline-none text-gray-900",bg:"hover:bg-gray-100",p:"p-2"}}}}},dialog:{defaultProps:{size:"sm",dismiss:{},animate:{mount:{},unmount:{}},className:""},valid:{sizes:["xs","sm","md","lg","xl","xxl"]},styles:{base:{backdrop:{width:"w-full",display:"grid",placeItems:"place-items-center",position:"fixed",top:0,left:0,height:"h-screen",backgroundColor:"bg-[rgba(0,0,0,0.16)]",backgroundOpacity:"bg-opacity-100",backdropFilter:"backdrop-blur-none"},container:{height:"h-[450px]",position:"relative",bg:"bg-white",m:"m-4",borderRadius:"rounded-xl",boxShadow:"shadow-[0px_2px_8px_0px_#00000029,0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A]",fontSmoothing:"antialiased"}},sizes:{sm:{maxWidth:"!max-w-[550px]"},lg:{maxWidth:"!max-w-[700px]"}}}},dialogHeader:{styles:{base:{display:"text-gray-900 font-normal"}}},checkbox:{defaultProps:{color:"custom",ripple:!1},valid:{colors:["blue-gray","gray","red","green","custom"]},styles:{base:{root:{display:"inline-flex",alignItems:"items-center"},container:{position:"relative",display:"flex",alignItems:"items-center",cursor:"cursor-pointer",p:"!p-0",borderRadius:"rounded-full"},input:{peer:"peer",position:"relative",appearance:"appearance-none",width:"w-5",height:"h-5",borderWidth:"border-[1.5px]",borderRadius:"rounded-md",borderColor:"border-gray-100",cursor:"cursor-pointer",transition:"transition-all",before:{content:"before:content-['']",display:"before:block",bg:"before:bg-transparent",width:"before:w-12",height:"before:h-12",borderRadius:"before:rounded-full",position:"before:absolute",opacity:"before:opacity-0 hover:before:opacity-10"}},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",px:"px-2"},icon:{display:"flex",alignItems:"items-center",justifyContent:"justify-center",width:"w-5",height:"h-5",color:"text-green-600",position:"absolute",pointerEvents:"pointer-events-none",opacity:"opacity-0 peer-checked:opacity-100",transition:"transition-opacity"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{custom:{border:"checked:border-green-600"}}}},popover:{defaultProps:{placement:"top",offset:5,dismiss:{},animate:{unmount:{},mount:{}},className:""},styles:{base:{bg:"bg-white",p:"p-4",borderWidth:"border",borderColor:"border-gray-200",borderRadius:"rounded-lg",boxShadow:"[box-shadow:0px_2px_2px_0px_#0000000A,_0px_8px_8px_-8px_#0000000A]",fontSize:"text-sm",fontWeight:"font-normal",color:"text-blue-gray-500",outline:"focus:outline-none",overflowWrap:"break-words",whiteSpace:"whitespace-normal"}}},switch:{defaultProps:{color:"blue",label:"",ripple:!0,className:"",disabled:!1,containerProps:void 0,labelProps:void 0,circleProps:void 0},valid:{colors:["blue-gray","gray","brown","deep-orange","orange","amber","yellow","lime","light-green","green","teal","cyan","light-blue","blue","indigo","deep-purple","purple","pink","red"]},styles:{base:{input:{background:"bg-gray-500"},circle:{borderColor:"border-gray-500",borderRadius:"rounded-full",boxShadow:"shadow-md",position:"absolute",top:"top-2/4",left:"-left-1",transform:"-translate-y-2/4 peer-checked:translate-x-full",transition:"transition-all duration-300",cursor:"cursor-pointer",before:{content:"before:content['']",display:"before:block",bg:"before:bg-blue-gray-500",width:"before:w-10",height:"before:h-10",borderRadius:"before:rounded-full",position:"before:absolute",top:"before:top-2/4",left:"before:left-2/4",transform:"before:-translate-y-2/4 before:-translate-x-2/4",transition:"before:transition-opacity",opacity:"before:opacity-0 hover:before:opacity-10"}},ripple:{display:"inline-block",top:"top-2/4",left:"left-2/4",transform:"-translate-x-2/4 -translate-y-2/4",p:"p-5",borderRadius:"rounded-full"},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",ml:"ml-3",mb:"mb-0"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{gray:{input:"checked:bg-blue-gray-100",circle:"peer-checked:border-blue-gray-100",before:"peer-checked:before:bg-gray-500"},green:{input:"checked:bg-green-600",circle:"peer-checked:border-green-600",before:"peer-checked:before:bg-green-600"}}}}};var Ie={exports:{}},ie={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Je;function Gr(){if(Je)return ne;Je=1;var r=N,t=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(l,f,m){var v,w={},R=null,P=null;m!==void 0&&(R=""+m),f.key!==void 0&&(R=""+f.key),f.ref!==void 0&&(P=f.ref);for(v in f)o.call(f,v)&&!u.hasOwnProperty(v)&&(w[v]=f[v]);if(l&&l.defaultProps)for(v in f=l.defaultProps,f)w[v]===void 0&&(w[v]=f[v]);return{$$typeof:t,type:l,key:R,ref:P,props:w,_owner:s.current}}return ne.Fragment=a,ne.jsx=c,ne.jsxs=c,ne}var ae={};/**
9
+ */var Ke;function Gr(){if(Ke)return ie;Ke=1;var r=_,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,f,v){var g,x={},j=null,I=null;v!==void 0&&(j=""+v),f.key!==void 0&&(j=""+f.key),f.ref!==void 0&&(I=f.ref);for(g in f)o.call(f,g)&&!l.hasOwnProperty(g)&&(x[g]=f[g]);if(d&&d.defaultProps)for(g in f=d.defaultProps,f)x[g]===void 0&&(x[g]=f[g]);return{$$typeof:t,type:d,key:j,ref:I,props:x,_owner:i.current}}return ie.Fragment=n,ie.jsx=u,ie.jsxs=u,ie}var se={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,17 +14,17 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ke;function Hr(){return Ke||(Ke=1,process.env.NODE_ENV!=="production"&&function(){var r=N,t=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),O=Symbol.iterator,L="@@iterator";function F(e){if(e===null||typeof e!="object")return null;var n=O&&e[O]||e[L];return typeof n=="function"?n:null}var T=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(e){{for(var n=arguments.length,i=new Array(n>1?n-1:0),d=1;d<n;d++)i[d-1]=arguments[d];ee("error",e,i)}}function ee(e,n,i){{var d=T.ReactDebugCurrentFrame,h=d.getStackAddendum();h!==""&&(n+="%s",i=i.concat([h]));var y=i.map(function(g){return String(g)});y.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,y)}}var ce=!1,ue=!1,de=!1,fe=!1,re=!1,q;q=Symbol.for("react.module.reference");function pe(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===u||re||e===s||e===m||e===v||fe||e===P||ce||ue||de||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===w||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===q||e.getModuleId!==void 0))}function ge(e,n,i){var d=e.displayName;if(d)return d;var h=n.displayName||n.name||"";return h!==""?i+"("+h+")":i}function $(e){return e.displayName||"Context"}function z(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o:return"Fragment";case a:return"Portal";case u:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l:var n=e;return $(n)+".Consumer";case c:var i=e;return $(i._context)+".Provider";case f:return ge(e,e.render,"ForwardRef");case w:var d=e.displayName||null;return d!==null?d:z(e.type)||"Memo";case R:{var h=e,y=h._payload,g=h._init;try{return z(g(y))}catch{return null}}}return null}var I=Object.assign,G=0,J,H,te,V,U,S,Ie;function Me(){}Me.__reactDisabledLog=!0;function ur(){{if(G===0){J=console.log,H=console.info,te=console.warn,V=console.error,U=console.group,S=console.groupCollapsed,Ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Me,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}G++}}function dr(){{if(G--,G===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:J}),info:I({},e,{value:H}),warn:I({},e,{value:te}),error:I({},e,{value:V}),group:I({},e,{value:U}),groupCollapsed:I({},e,{value:S}),groupEnd:I({},e,{value:Ie})})}G<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var xe=T.ReactCurrentDispatcher,we;function be(e,n,i){{if(we===void 0)try{throw Error()}catch(h){var d=h.stack.trim().match(/\n( *(at )?)/);we=d&&d[1]||""}return`
18
- `+we+e}}var Ce=!1,ve;{var fr=typeof WeakMap=="function"?WeakMap:Map;ve=new fr}function ze(e,n){if(!e||Ce)return"";{var i=ve.get(e);if(i!==void 0)return i}var d;Ce=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=xe.current,xe.current=null,ur();try{if(n){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(A){d=A}Reflect.construct(e,[],g)}else{try{g.call()}catch(A){d=A}e.call(g.prototype)}}else{try{throw Error()}catch(A){d=A}e()}}catch(A){if(A&&d&&typeof A.stack=="string"){for(var p=A.stack.split(`
19
- `),j=d.stack.split(`
20
- `),C=p.length-1,k=j.length-1;C>=1&&k>=0&&p[C]!==j[k];)k--;for(;C>=1&&k>=0;C--,k--)if(p[C]!==j[k]){if(C!==1||k!==1)do if(C--,k--,k<0||p[C]!==j[k]){var M=`
21
- `+p[C].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),typeof e=="function"&&ve.set(e,M),M}while(C>=1&&k>=0);break}}}finally{Ce=!1,xe.current=y,dr(),Error.prepareStackTrace=h}var X=e?e.displayName||e.name:"",B=X?be(X):"";return typeof e=="function"&&ve.set(e,B),B}function pr(e,n,i){return ze(e,!1)}function gr(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function he(e,n,i){if(e==null)return"";if(typeof e=="function")return ze(e,gr(e));if(typeof e=="string")return be(e);switch(e){case m:return be("Suspense");case v:return be("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return pr(e.render);case w:return he(e.type,n,i);case R:{var d=e,h=d._payload,y=d._init;try{return he(y(h),n,i)}catch{}}}return""}var oe=Object.prototype.hasOwnProperty,We={},Ne=T.ReactDebugCurrentFrame;function me(e){if(e){var n=e._owner,i=he(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(i)}else Ne.setExtraStackFrame(null)}function br(e,n,i,d,h){{var y=Function.call.bind(oe);for(var g in e)if(y(e,g)){var p=void 0;try{if(typeof e[g]!="function"){var j=Error((d||"React class")+": "+i+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw j.name="Invariant Violation",j}p=e[g](n,g,d,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){p=C}p&&!(p instanceof Error)&&(me(h),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",d||"React class",i,g,typeof p),me(null)),p instanceof Error&&!(p.message in We)&&(We[p.message]=!0,me(h),E("Failed %s type: %s",i,p.message),me(null))}}}var vr=Array.isArray;function ke(e){return vr(e)}function hr(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,i=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function mr(e){try{return Fe(e),!1}catch{return!0}}function Fe(e){return""+e}function Le(e){if(mr(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",hr(e)),Fe(e)}var Ge=T.ReactCurrentOwner,yr={key:!0,ref:!0,__self:!0,__source:!0},He,Ve;function xr(e){if(oe.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function wr(e){if(oe.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Cr(e,n){typeof e.ref=="string"&&Ge.current}function kr(e,n){{var i=function(){He||(He=!0,E("%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://reactjs.org/link/special-props)",n))};i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}}function _r(e,n){{var i=function(){Ve||(Ve=!0,E("%s: `ref` 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://reactjs.org/link/special-props)",n))};i.isReactWarning=!0,Object.defineProperty(e,"ref",{get:i,configurable:!0})}}var Er=function(e,n,i,d,h,y,g){var p={$$typeof:t,type:e,key:n,ref:i,props:g,_owner:y};return p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(p,"_self",{configurable:!1,enumerable:!1,writable:!1,value:d}),Object.defineProperty(p,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p};function Rr(e,n,i,d,h){{var y,g={},p=null,j=null;i!==void 0&&(Le(i),p=""+i),wr(n)&&(Le(n.key),p=""+n.key),xr(n)&&(j=n.ref,Cr(n,h));for(y in n)oe.call(n,y)&&!yr.hasOwnProperty(y)&&(g[y]=n[y]);if(e&&e.defaultProps){var C=e.defaultProps;for(y in C)g[y]===void 0&&(g[y]=C[y])}if(p||j){var k=typeof e=="function"?e.displayName||e.name||"Unknown":e;p&&kr(g,k),j&&_r(g,k)}return Er(e,p,j,h,d,Ge.current,g)}}var _e=T.ReactCurrentOwner,De=T.ReactDebugCurrentFrame;function K(e){if(e){var n=e._owner,i=he(e.type,e._source,n?n.type:null);De.setExtraStackFrame(i)}else De.setExtraStackFrame(null)}var Ee;Ee=!1;function Re(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function $e(){{if(_e.current){var e=z(_e.current.type);if(e)return`
17
+ */var Xe;function Br(){return Xe||(Xe=1,process.env.NODE_ENV!=="production"&&function(){var r=_,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),P=Symbol.iterator,N="@@iterator";function H(e){if(e===null||typeof e!="object")return null;var a=P&&e[P]||e[N];return typeof a=="function"?a:null}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(e){{for(var a=arguments.length,c=new Array(a>1?a-1:0),p=1;p<a;p++)c[p-1]=arguments[p];te("error",e,c)}}function te(e,a,c){{var p=A.ReactDebugCurrentFrame,m=p.getStackAddendum();m!==""&&(a+="%s",c=c.concat([m]));var y=c.map(function(h){return String(h)});y.unshift("Warning: "+a),Function.prototype.apply.call(console[e],console,y)}}var fe=!1,pe=!1,ge=!1,be=!1,oe=!1,J;J=Symbol.for("react.module.reference");function ve(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===l||oe||e===i||e===v||e===g||be||e===I||fe||pe||ge||typeof e=="object"&&e!==null&&(e.$$typeof===j||e.$$typeof===x||e.$$typeof===u||e.$$typeof===d||e.$$typeof===f||e.$$typeof===J||e.getModuleId!==void 0))}function he(e,a,c){var p=e.displayName;if(p)return p;var m=a.displayName||a.name||"";return m!==""?c+"("+m+")":c}function $(e){return e.displayName||"Context"}function V(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o:return"Fragment";case n:return"Portal";case l:return"Profiler";case i:return"StrictMode";case v:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var a=e;return $(a)+".Consumer";case u:var c=e;return $(c._context)+".Provider";case f:return he(e,e.render,"ForwardRef");case x:var p=e.displayName||null;return p!==null?p:V(e.type)||"Memo";case j:{var m=e,y=m._payload,h=m._init;try{return V(h(y))}catch{return null}}}return null}var z=Object.assign,D=0,K,F,ne,G,U,T,Oe;function Ne(){}Ne.__reactDisabledLog=!0;function pr(){{if(D===0){K=console.log,F=console.info,ne=console.warn,G=console.error,U=console.group,T=console.groupCollapsed,Oe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ne,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function gr(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},e,{value:K}),info:z({},e,{value:F}),warn:z({},e,{value:ne}),error:z({},e,{value:G}),group:z({},e,{value:U}),groupCollapsed:z({},e,{value:T}),groupEnd:z({},e,{value:Oe})})}D<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ce=A.ReactCurrentDispatcher,je;function me(e,a,c){{if(je===void 0)try{throw Error()}catch(m){var p=m.stack.trim().match(/\n( *(at )?)/);je=p&&p[1]||""}return`
18
+ `+je+e}}var ke=!1,xe;{var br=typeof WeakMap=="function"?WeakMap:Map;xe=new br}function ze(e,a){if(!e||ke)return"";{var c=xe.get(e);if(c!==void 0)return c}var p;ke=!0;var m=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=Ce.current,Ce.current=null,pr();try{if(a){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(O){p=O}Reflect.construct(e,[],h)}else{try{h.call()}catch(O){p=O}e.call(h.prototype)}}else{try{throw Error()}catch(O){p=O}e()}}catch(O){if(O&&p&&typeof O.stack=="string"){for(var b=O.stack.split(`
19
+ `),M=p.stack.split(`
20
+ `),C=b.length-1,k=M.length-1;C>=1&&k>=0&&b[C]!==M[k];)k--;for(;C>=1&&k>=0;C--,k--)if(b[C]!==M[k]){if(C!==1||k!==1)do if(C--,k--,k<0||b[C]!==M[k]){var L=`
21
+ `+b[C].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),typeof e=="function"&&xe.set(e,L),L}while(C>=1&&k>=0);break}}}finally{ke=!1,Ce.current=y,gr(),Error.prepareStackTrace=m}var Q=e?e.displayName||e.name:"",Y=Q?me(Q):"";return typeof e=="function"&&xe.set(e,Y),Y}function vr(e,a,c){return ze(e,!1)}function hr(e){var a=e.prototype;return!!(a&&a.isReactComponent)}function ye(e,a,c){if(e==null)return"";if(typeof e=="function")return ze(e,hr(e));if(typeof e=="string")return me(e);switch(e){case v:return me("Suspense");case g:return me("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return vr(e.render);case x:return ye(e.type,a,c);case j:{var p=e,m=p._payload,y=p._init;try{return ye(y(m),a,c)}catch{}}}return""}var ae=Object.prototype.hasOwnProperty,Le={},Ve=A.ReactDebugCurrentFrame;function we(e){if(e){var a=e._owner,c=ye(e.type,e._source,a?a.type:null);Ve.setExtraStackFrame(c)}else Ve.setExtraStackFrame(null)}function mr(e,a,c,p,m){{var y=Function.call.bind(ae);for(var h in e)if(y(e,h)){var b=void 0;try{if(typeof e[h]!="function"){var M=Error((p||"React class")+": "+c+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}b=e[h](a,h,p,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){b=C}b&&!(b instanceof Error)&&(we(m),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",p||"React class",c,h,typeof b),we(null)),b instanceof Error&&!(b.message in Le)&&(Le[b.message]=!0,we(m),E("Failed %s type: %s",c,b.message),we(null))}}}var xr=Array.isArray;function Re(e){return xr(e)}function yr(e){{var a=typeof Symbol=="function"&&Symbol.toStringTag,c=a&&e[Symbol.toStringTag]||e.constructor.name||"Object";return c}}function wr(e){try{return We(e),!1}catch{return!0}}function We(e){return""+e}function He(e){if(wr(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",yr(e)),We(e)}var De=A.ReactCurrentOwner,Cr={key:!0,ref:!0,__self:!0,__source:!0},Fe,Ge;function jr(e){if(ae.call(e,"ref")){var a=Object.getOwnPropertyDescriptor(e,"ref").get;if(a&&a.isReactWarning)return!1}return e.ref!==void 0}function kr(e){if(ae.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function Rr(e,a){typeof e.ref=="string"&&De.current}function _r(e,a){{var c=function(){Fe||(Fe=!0,E("%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://reactjs.org/link/special-props)",a))};c.isReactWarning=!0,Object.defineProperty(e,"key",{get:c,configurable:!0})}}function Er(e,a){{var c=function(){Ge||(Ge=!0,E("%s: `ref` 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://reactjs.org/link/special-props)",a))};c.isReactWarning=!0,Object.defineProperty(e,"ref",{get:c,configurable:!0})}}var Sr=function(e,a,c,p,m,y,h){var b={$$typeof:t,type:e,key:a,ref:c,props:h,_owner:y};return b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(b,"_self",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.defineProperty(b,"_source",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b};function Tr(e,a,c,p,m){{var y,h={},b=null,M=null;c!==void 0&&(He(c),b=""+c),kr(a)&&(He(a.key),b=""+a.key),jr(a)&&(M=a.ref,Rr(a,m));for(y in a)ae.call(a,y)&&!Cr.hasOwnProperty(y)&&(h[y]=a[y]);if(e&&e.defaultProps){var C=e.defaultProps;for(y in C)h[y]===void 0&&(h[y]=C[y])}if(b||M){var k=typeof e=="function"?e.displayName||e.name||"Unknown":e;b&&_r(h,k),M&&Er(h,k)}return Sr(e,b,M,m,p,De.current,h)}}var _e=A.ReactCurrentOwner,Be=A.ReactDebugCurrentFrame;function X(e){if(e){var a=e._owner,c=ye(e.type,e._source,a?a.type:null);Be.setExtraStackFrame(c)}else Be.setExtraStackFrame(null)}var Ee;Ee=!1;function Se(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function $e(){{if(_e.current){var e=V(_e.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function Sr(e){return""}var Ue={};function jr(e){{var n=$e();if(!n){var i=typeof e=="string"?e:e.displayName||e.name;i&&(n=`
23
+ Check the render method of \``+e+"`."}return""}}function Mr(e){return""}var Ue={};function Ir(e){{var a=$e();if(!a){var c=typeof e=="string"?e:e.displayName||e.name;c&&(a=`
24
24
 
25
- Check the top-level render call using <`+i+">.")}return n}}function Be(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var i=jr(n);if(Ue[i])return;Ue[i]=!0;var d="";e&&e._owner&&e._owner!==_e.current&&(d=" It was passed a child from "+z(e._owner.type)+"."),K(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',i,d),K(null)}}function Ye(e,n){{if(typeof e!="object")return;if(ke(e))for(var i=0;i<e.length;i++){var d=e[i];Re(d)&&Be(d,n)}else if(Re(e))e._store&&(e._store.validated=!0);else if(e){var h=F(e);if(typeof h=="function"&&h!==e.entries)for(var y=h.call(e),g;!(g=y.next()).done;)Re(g.value)&&Be(g.value,n)}}}function Tr(e){{var n=e.type;if(n==null||typeof n=="string")return;var i;if(typeof n=="function")i=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===f||n.$$typeof===w))i=n.propTypes;else return;if(i){var d=z(n);br(i,e.props,"prop",d,e)}else if(n.PropTypes!==void 0&&!Ee){Ee=!0;var h=z(n);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ar(e){{for(var n=Object.keys(e.props),i=0;i<n.length;i++){var d=n[i];if(d!=="children"&&d!=="key"){K(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d),K(null);break}}e.ref!==null&&(K(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),K(null))}}var Ze={};function qe(e,n,i,d,h,y){{var g=pe(e);if(!g){var p="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var j=Sr();j?p+=j:p+=$e();var C;e===null?C="null":ke(e)?C="array":e!==void 0&&e.$$typeof===t?(C="<"+(z(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):C=typeof e,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,p)}var k=Rr(e,n,i,h,y);if(k==null)return k;if(g){var M=n.children;if(M!==void 0)if(d)if(ke(M)){for(var X=0;X<M.length;X++)Ye(M[X],e);Object.freeze&&Object.freeze(M)}else E("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 Ye(M,e)}if(oe.call(n,"key")){var B=z(e),A=Object.keys(n).filter(function(Wr){return Wr!=="key"}),Se=A.length>0?"{key: someKey, "+A.join(": ..., ")+": ...}":"{key: someKey}";if(!Ze[B+Se]){var zr=A.length>0?"{"+A.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+c+">.")}return a}}function Ye(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var c=Ir(a);if(Ue[c])return;Ue[c]=!0;var p="";e&&e._owner&&e._owner!==_e.current&&(p=" It was passed a child from "+V(e._owner.type)+"."),X(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',c,p),X(null)}}function Ze(e,a){{if(typeof e!="object")return;if(Re(e))for(var c=0;c<e.length;c++){var p=e[c];Se(p)&&Ye(p,a)}else if(Se(e))e._store&&(e._store.validated=!0);else if(e){var m=H(e);if(typeof m=="function"&&m!==e.entries)for(var y=m.call(e),h;!(h=y.next()).done;)Se(h.value)&&Ye(h.value,a)}}}function Pr(e){{var a=e.type;if(a==null||typeof a=="string")return;var c;if(typeof a=="function")c=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===f||a.$$typeof===x))c=a.propTypes;else return;if(c){var p=V(a);mr(c,e.props,"prop",p,e)}else if(a.PropTypes!==void 0&&!Ee){Ee=!0;var m=V(a);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ar(e){{for(var a=Object.keys(e.props),c=0;c<a.length;c++){var p=a[c];if(p!=="children"&&p!=="key"){X(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p),X(null);break}}e.ref!==null&&(X(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),X(null))}}var qe={};function Je(e,a,c,p,m,y){{var h=ve(e);if(!h){var b="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(b+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var M=Mr();M?b+=M:b+=$e();var C;e===null?C="null":Re(e)?C="array":e!==void 0&&e.$$typeof===t?(C="<"+(V(e.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):C=typeof e,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,b)}var k=Tr(e,a,c,m,y);if(k==null)return k;if(h){var L=a.children;if(L!==void 0)if(p)if(Re(L)){for(var Q=0;Q<L.length;Q++)Ze(L[Q],e);Object.freeze&&Object.freeze(L)}else E("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 Ze(L,e)}if(ae.call(a,"key")){var Y=V(e),O=Object.keys(a).filter(function(Wr){return Wr!=="key"}),Te=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!qe[Y+Te]){var Vr=O.length>0?"{"+O.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,Se,B,zr,B),Ze[B+Se]=!0}}return e===o?Ar(k):Tr(k),k}}function Pr(e,n,i){return qe(e,n,i,!0)}function Or(e,n,i){return qe(e,n,i,!1)}var Ir=Or,Mr=Pr;ae.Fragment=o,ae.jsx=Ir,ae.jsxs=Mr}()),ae}process.env.NODE_ENV==="production"?Ae.exports=Gr():Ae.exports=Hr();var b=Ae.exports;const Vr=()=>b.jsx("div",{className:"bg-red-800 text-white p-2",children:"Hello world"});function Dr(){for(var r=0,t,a,o="";r<arguments.length;)(t=arguments[r++])&&(a=rr(t))&&(o&&(o+=" "),o+=a);return o}function rr(r){if(typeof r=="string")return r;for(var t,a="",o=0;o<r.length;o++)r[o]&&(t=rr(r[o]))&&(a&&(a+=" "),a+=t);return a}var Oe="-";function $r(r){var t=Br(r);function a(s){var u=s.split(Oe);return u[0]===""&&u.length!==1&&u.shift(),tr(u,t)||Ur(s)}function o(s){return r.conflictingClassGroups[s]||[]}return{getClassGroupId:a,getConflictingClassGroupIds:o}}function tr(r,t){var c;if(r.length===0)return t.classGroupId;var a=r[0],o=t.nextPart.get(a),s=o?tr(r.slice(1),o):void 0;if(s)return s;if(t.validators.length!==0){var u=r.join(Oe);return(c=t.validators.find(function(l){var f=l.validator;return f(u)}))==null?void 0:c.classGroupId}}var Xe=/^\[(.+)\]$/;function Ur(r){if(Xe.test(r)){var t=Xe.exec(r)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}}function Br(r){var t=r.theme,a=r.prefix,o={nextPart:new Map,validators:[]},s=Zr(Object.entries(r.classGroups),a);return s.forEach(function(u){var c=u[0],l=u[1];Pe(l,o,c,t)}),o}function Pe(r,t,a,o){r.forEach(function(s){if(typeof s=="string"){var u=s===""?t:Qe(t,s);u.classGroupId=a;return}if(typeof s=="function"){if(Yr(s)){Pe(s(o),t,a,o);return}t.validators.push({validator:s,classGroupId:a});return}Object.entries(s).forEach(function(c){var l=c[0],f=c[1];Pe(f,Qe(t,l),a,o)})})}function Qe(r,t){var a=r;return t.split(Oe).forEach(function(o){a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a}function Yr(r){return r.isThemeGetter}function Zr(r,t){return t?r.map(function(a){var o=a[0],s=a[1],u=s.map(function(c){return typeof c=="string"?t+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(function(l){var f=l[0],m=l[1];return[t+f,m]})):c});return[o,u]}):r}function qr(r){if(r<1)return{get:function(){},set:function(){}};var t=0,a=new Map,o=new Map;function s(u,c){a.set(u,c),t++,t>r&&(t=0,o=a,a=new Map)}return{get:function(c){var l=a.get(c);if(l!==void 0)return l;if((l=o.get(c))!==void 0)return s(c,l),l},set:function(c,l){a.has(c)?a.set(c,l):s(c,l)}}}var or="!";function Jr(r){var t=r.separator||":";return function(o){for(var s=0,u=[],c=0,l=0;l<o.length;l++){var f=o[l];s===0&&f===t[0]&&(t.length===1||o.slice(l,l+t.length)===t)&&(u.push(o.slice(c,l)),c=l+t.length),f==="["?s++:f==="]"&&s--}var m=u.length===0?o:o.substring(c),v=m.startsWith(or),w=v?m.substring(1):m;return{modifiers:u,hasImportantModifier:v,baseClassName:w}}}function Kr(r){if(r.length<=1)return r;var t=[],a=[];return r.forEach(function(o){var s=o[0]==="[";s?(t.push.apply(t,a.sort().concat([o])),a=[]):a.push(o)}),t.push.apply(t,a.sort()),t}function Xr(r){return{cache:qr(r.cacheSize),splitModifiers:Jr(r),...$r(r)}}var Qr=/\s+/;function et(r,t){var a=t.splitModifiers,o=t.getClassGroupId,s=t.getConflictingClassGroupIds,u=new Set;return r.trim().split(Qr).map(function(c){var l=a(c),f=l.modifiers,m=l.hasImportantModifier,v=l.baseClassName,w=o(v);if(!w)return{isTailwindClass:!1,originalClassName:c};var R=Kr(f).join(":"),P=m?R+or:R;return{isTailwindClass:!0,modifierId:P,classGroupId:w,originalClassName:c}}).reverse().filter(function(c){if(!c.isTailwindClass)return!0;var l=c.modifierId,f=c.classGroupId,m=l+f;return u.has(m)?!1:(u.add(m),s(f).forEach(function(v){return u.add(l+v)}),!0)}).reverse().map(function(c){return c.originalClassName}).join(" ")}function rt(){for(var r=arguments.length,t=new Array(r),a=0;a<r;a++)t[a]=arguments[a];var o,s,u,c=l;function l(m){var v=t[0],w=t.slice(1),R=w.reduce(function(P,O){return O(P)},v());return o=Xr(R),s=o.cache.get,u=o.cache.set,c=f,f(m)}function f(m){var v=s(m);if(v)return v;var w=et(m,o);return u(m,w),w}return function(){return c(Dr.apply(null,arguments))}}function x(r){var t=function(o){return o[r]||[]};return t.isThemeGetter=!0,t}var nr=/^\[(?:([a-z-]+):)?(.+)\]$/i,tt=/^\d+\/\d+$/,ot=new Set(["px","full","screen"]),nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,at=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,it=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function W(r){return le(r)||ot.has(r)||tt.test(r)||Y(r)}function Y(r){return Z(r,"length",dt)}function st(r){return Z(r,"size",ar)}function lt(r){return Z(r,"position",ar)}function ct(r){return Z(r,"url",ft)}function je(r){return Z(r,"number",le)}function le(r){return!Number.isNaN(Number(r))}function ie(r){return er(r)||Z(r,"number",er)}function _(r){return nr.test(r)}function se(){return!0}function D(r){return nt.test(r)}function ut(r){return Z(r,"",pt)}function Z(r,t,a){var o=nr.exec(r);return o?o[1]?o[1]===t:a(o[2]):!1}function dt(r){return at.test(r)}function ar(){return!1}function ft(r){return r.startsWith("url(")}function er(r){return Number.isInteger(Number(r))}function pt(r){return it.test(r)}function gt(){var r=x("colors"),t=x("spacing"),a=x("blur"),o=x("brightness"),s=x("borderColor"),u=x("borderRadius"),c=x("borderSpacing"),l=x("borderWidth"),f=x("contrast"),m=x("grayscale"),v=x("hueRotate"),w=x("invert"),R=x("gap"),P=x("gradientColorStops"),O=x("inset"),L=x("margin"),F=x("opacity"),T=x("padding"),E=x("saturate"),ee=x("scale"),ce=x("sepia"),ue=x("skew"),de=x("space"),fe=x("translate"),re=function(){return["auto","contain","none"]},q=function(){return["auto","hidden","clip","visible","scroll"]},pe=function(){return["auto",t]},ge=function(){return["",W]},$=function(){return["auto",le,_]},z=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},I=function(){return["solid","dashed","dotted","double","none"]},G=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},J=function(){return["start","end","center","between","around","evenly"]},H=function(){return["","0",_]},te=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},V=function(){return[le,je]},U=function(){return[le,_]};return{cacheSize:500,theme:{colors:[se],spacing:[W],blur:["none","",D,Y],brightness:V(),borderColor:[r],borderRadius:["none","","full",D,Y],borderSpacing:[t],borderWidth:ge(),contrast:V(),grayscale:H(),hueRotate:U(),invert:H(),gap:[t],gradientColorStops:[r],inset:pe(),margin:pe(),opacity:V(),padding:[t],saturate:V(),scale:V(),sepia:H(),skew:U(),space:[t],translate:[t]},classGroups:{aspect:[{aspect:["auto","square","video",_]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(z(),[_])}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[O]}],"inset-x":[{"inset-x":[O]}],"inset-y":[{"inset-y":[O]}],top:[{top:[O]}],right:[{right:[O]}],bottom:[{bottom:[O]}],left:[{left:[O]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie]}],basis:[{basis:[t]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",ie]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:[ie]},_]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ie]},_]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:J()}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:[].concat(J(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(J(),["baseline","stretch"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[L]}],mx:[{mx:[L]}],my:[{my:[L]}],mt:[{mt:[L]}],mr:[{mr:[L]}],mb:[{mb:[L]}],ml:[{ml:[L]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",t]}],"min-w":[{"min-w":["min","max","fit",W]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[D]},D,Y]}],h:[{h:[t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",W]}],"max-h":[{"max-h":[t,"min","max","fit"]}],"font-size":[{text:["base",D,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",je]}],"font-family":[{font:[se]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W]}],"list-style-type":[{list:["none","disc","decimal",_]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[F]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(I(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",W]}],"underline-offset":[{"underline-offset":["auto",W]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[t]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap"]}],break:[{break:["normal","words","all","keep"]}],content:[{content:["none",_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[F]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(z(),[lt])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",st]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ct]}],"bg-color":[{bg:[r]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[F]}],"border-style":[{border:[].concat(I(),["hidden"])}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[F]}],"divide-style":[{divide:I()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:[""].concat(I())}],"outline-offset":[{"outline-offset":[W]}],"outline-w":[{outline:[W]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:ge()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[F]}],"ring-offset-w":[{"ring-offset":[W]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",D,ut]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[F]}],"mix-blend":[{"mix-blend":G()}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",D,_]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[w]}],saturate:[{saturate:[E]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[F]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",_]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",_]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ee]}],"scale-x":[{"scale-x":[ee]}],"scale-y":[{"scale-y":[ee]}],rotate:[{rotate:[ie,_]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[ue]}],"skew-y":[{"skew-y":[ue]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_]}],accent:[{accent:["auto",r]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[t]}],"scroll-mx":[{"scroll-mx":[t]}],"scroll-my":[{"scroll-my":[t]}],"scroll-mt":[{"scroll-mt":[t]}],"scroll-mr":[{"scroll-mr":[t]}],"scroll-mb":[{"scroll-mb":[t]}],"scroll-ml":[{"scroll-ml":[t]}],"scroll-p":[{"scroll-p":[t]}],"scroll-px":[{"scroll-px":[t]}],"scroll-py":[{"scroll-py":[t]}],"scroll-pt":[{"scroll-pt":[t]}],"scroll-pr":[{"scroll-pr":[t]}],"scroll-pb":[{"scroll-pb":[t]}],"scroll-pl":[{"scroll-pl":[t]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[W,je]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]}}}var bt=rt(gt);function ir(r){var t,a,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(a=ir(r[t]))&&(o&&(o+=" "),o+=a);else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}function vt(){for(var r,t,a=0,o="";a<arguments.length;)(r=arguments[a++])&&(t=ir(r))&&(o&&(o+=" "),o+=t);return o}function ye(...r){return bt(vt(r))}function ht({className:r="",size:t="1em"}){return b.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:[b.jsx("path",{d:"M12.001 7.7395C12.2367 7.73978 12.4591 7.85076 12.6006 8.03931L15.376 11.7395C15.5459 11.9666 15.5731 12.2708 15.4463 12.5247C15.3193 12.7785 15.0592 12.9395 14.7754 12.9397H12.75V17.2766C12.7499 17.6907 12.4142 18.0266 12 18.0266C11.5858 18.0266 11.2501 17.6907 11.25 17.2766V12.9397H9.22559C8.94169 12.9397 8.68182 12.7785 8.55469 12.5247C8.42778 12.2706 8.45558 11.9667 8.62598 11.7395L11.4004 8.03931L11.457 7.97192C11.5977 7.82422 11.7945 7.7395 12.001 7.7395Z",fill:"currentColor"}),b.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2.65161C17.5228 2.65161 22 7.12876 22 12.6516C22 18.1744 17.5228 22.6516 12 22.6516C6.47715 22.6516 2 18.1744 2 12.6516C2 7.12876 6.47715 2.65161 12 2.65161ZM12 4.15161C7.30558 4.15161 3.5 7.95719 3.5 12.6516C3.5 17.346 7.30558 21.1516 12 21.1516C16.6944 21.1516 20.5 17.346 20.5 12.6516C20.5 7.95719 16.6944 4.15161 12 4.15161Z",fill:"currentColor"})]})}function mt({className:r="",size:t="1em"}){return b.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:b.jsx("path",{d:"M12 2C10.0222 2 8.08879 2.58649 6.4443 3.6853C4.79981 4.78412 3.51809 6.3459 2.76121 8.17316C2.00433 10.0004 1.8063 12.0111 2.19215 13.9509C2.578 15.8907 3.53041 17.6725 4.92894 19.0711C6.32746 20.4696 8.10929 21.422 10.0491 21.8078C11.9889 22.1937 13.9996 21.9957 15.8268 21.2388C17.6541 20.4819 19.2159 19.2002 20.3147 17.5557C21.4135 15.9112 22 13.9778 22 12C21.9971 9.34871 20.9426 6.80684 19.0679 4.9321C17.1932 3.05736 14.6513 2.00287 12 2ZM15.7092 11.7642C15.6751 11.8349 15.6217 11.8945 15.5553 11.9363C15.4888 11.978 15.4118 12.0001 15.3333 12H12.8333V16.1667C12.8333 16.3877 12.7455 16.5996 12.5893 16.7559C12.433 16.9122 12.221 17 12 17C11.779 17 11.567 16.9122 11.4107 16.7559C11.2545 16.5996 11.1667 16.3877 11.1667 16.1667V12H8.66667C8.58819 12 8.5113 11.9779 8.44484 11.9362C8.37839 11.8945 8.32507 11.8348 8.29102 11.7641C8.25697 11.6934 8.24359 11.6145 8.2524 11.5365C8.26121 11.4586 8.29187 11.3847 8.34084 11.3233L11.6742 7.15667C11.7146 7.10991 11.7646 7.07241 11.8209 7.04671C11.8771 7.021 11.9382 7.0077 12 7.0077C12.0618 7.0077 12.1229 7.021 12.1791 7.04671C12.2354 7.07241 12.2854 7.10991 12.3258 7.15667L15.6592 11.3233C15.7082 11.3846 15.7389 11.4585 15.7477 11.5365C15.7566 11.6145 15.7432 11.6934 15.7092 11.7642Z",fill:"#1DA56A"})})}const yt=({tooltipContent:r="Send message",className:t,...a})=>{const[o,s]=N.useState(!1);return b.jsx(Te.Tooltip,{content:r,children:b.jsx(Te.IconButton,{variant:"text",color:"gray",className:ye(t,"hover:rounded-lg hover:bg-gray-100"),type:"submit",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),...a,children:o?b.jsx(mt,{className:"size-6 "}):b.jsx(ht,{className:"size-6 "})})})},sr=({onSubmit:r=()=>{},...t})=>b.jsx(Nr,{autoFocus:!0,placeholder:"Write your message here",className:"pl-1 block w-full focus:outline-none max-h-32 resize-none placeholder:text-gray-400",onKeyDown:a=>{a.key==="Enter"&&!a.shiftKey&&(a.preventDefault(),r())},...t}),xt=({bottom:r,right:t,top:a,textArea:o=b.jsx(sr,{}),...s})=>b.jsxs("div",{className:"border gap-2 rounded-lg bg-white shadow-[0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A] border-gray-100",...s,children:[a,b.jsxs("div",{className:"flex gap-2 p-4 rounded-lg bg-white",children:[b.jsxs("div",{className:"grow flex flex-col items-start justify-center",children:[o,r]}),b.jsx("div",{className:"shrink flex items-end justify-end",children:t})]})]}),wt=Object.freeze(Object.defineProperty({__proto__:null,Container:xt,SubmitButton:yt,Textarea:sr},Symbol.toStringTag,{value:"Module"})),Q=N.createContext(void 0),lr=({children:r,isCollapsed:t,onSwitchLayout:a})=>{const[o,s]=N.useState(!1),[u,c]=N.useState(!1),l=t!==void 0?t:o,f=m=>{const v=m??!l;t===void 0&&s(v),a==null||a(v)};return b.jsx(Q.Provider,{value:{isCollapsed:l,toggleCollapsed:f,isHovered:u,setIsHovered:c},children:r})},cr=({className:r,children:t,...a})=>{const{isCollapsed:o,isHovered:s,setIsHovered:u}=N.useContext(Q);return b.jsx("div",{className:ye(r,o&&"shadow-lg",o&&!s?"w-auto":"w-[280px]","bg-gray-50 p-2 flex flex-col justify-between items-center rounded-lg"),onMouseEnter:()=>o&&u(!0),onMouseLeave:()=>o&&u(!1),...a,children:t})},Ct=({className:r,children:t,isCollapsed:a,onSwitchLayout:o,...s})=>b.jsx(lr,{isCollapsed:a,onSwitchLayout:o,children:b.jsx(cr,{className:r,...s,children:t})}),kt=({icon:r,children:t,...a})=>{const{isCollapsed:o,isHovered:s}=N.useContext(Q);return b.jsxs("button",{className:"flex items-center gap-2 w-full hover:bg-gray-100 text-caption-1-em text-gray-600 hover:text-gray-900 h-[38px] rounded-lg px-2",...a,children:[r," ",(!o||s)&&t]})};function _t(r){return b.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:b.jsx("path",{d:"M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM3.75 3.5C4.16421 3.5 4.5 3.83579 4.5 4.25V11.75C4.5 12.1642 4.16421 12.5 3.75 12.5C3.33579 12.5 3 12.1642 3 11.75V4.25C3 3.83579 3.33579 3.5 3.75 3.5Z",fill:"currentColor"})})}function Et(r){return b.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:b.jsx("path",{d:"M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM7.5 4C7.77614 4 8 4.22386 8 4.5V11.5C8 11.7761 7.77614 12 7.5 12H3.5C3.22386 12 3 11.7761 3 11.5V4.5C3 4.22386 3.22386 4 3.5 4H7.5Z",fill:"currentColor"})})}const Rt=()=>{const{isCollapsed:r,isHovered:t,toggleCollapsed:a}=N.useContext(Q);return r&&!t?null:b.jsx(Te.IconButton,{variant:"text",color:"gray",onClick:()=>a(),children:r?b.jsx(_t,{className:"size-4"}):b.jsx(Et,{className:"size-4"})})},St=({children:r,className:t,icon:a,isActive:o,trailing:s,...u})=>{const{isCollapsed:c,isHovered:l}=N.useContext(Q);return b.jsxs("div",{className:ye(o?"!text-gray-900":"!text-gray-600","flex items-center justify-between w-full hover:bg-gray-100 text-caption-1-em hover:text-gray-900 h-[38px] rounded-lg px-2 cursor-pointer group",t),...u,children:[b.jsxs("div",{className:"flex items-center gap-2",children:[a,(!c||l)&&r]}),(!c||l)&&s]})},jt=({children:r,className:t,isActive:a,trailing:o,icon:s,...u})=>{const{isCollapsed:c,isHovered:l}=N.useContext(Q);return b.jsxs("div",{className:ye(a?"!text-gray-900":"!text-gray-600","flex items-center justify-between w-full hover:bg-gray-100 text-caption-1-em hover:text-gray-900 h-[38px] rounded-lg pr-2 pl-3 cursor-pointer group text-sm",t),...u,children:[b.jsxs("div",{className:"flex items-center gap-2 overflow-auto",children:[(!c||l)&&s," ",(!c||l)&&r]}),(!c||l)&&o]})},Tt=Object.freeze(Object.defineProperty({__proto__:null,Button:kt,Container:cr,Item:St,Layout:Ct,Provider:lr,SecondaryItem:jt,ToggleCollapseButton:Rt},Symbol.toStringTag,{value:"Module"}));exports.HelloWorld=Vr;exports.InputPrompt=wt;exports.Sidebar=Tt;exports.materialTheme=Lr;exports.tailwindTheme=Fr;
30
+ <%s key={someKey} {...props} />`,Te,Y,Vr,Y),qe[Y+Te]=!0}}return e===o?Ar(k):Pr(k),k}}function Or(e,a,c){return Je(e,a,c,!0)}function Nr(e,a,c){return Je(e,a,c,!1)}var zr=Nr,Lr=Or;se.Fragment=o,se.jsx=zr,se.jsxs=Lr}()),se}process.env.NODE_ENV==="production"?Ie.exports=Gr():Ie.exports=Br();var s=Ie.exports;const $r=()=>s.jsx("div",{className:"bg-red-800 text-white p-2",children:"Hello world"});function Ur(){for(var r=0,t,n,o="";r<arguments.length;)(t=arguments[r++])&&(n=tr(t))&&(o&&(o+=" "),o+=n);return o}function tr(r){if(typeof r=="string")return r;for(var t,n="",o=0;o<r.length;o++)r[o]&&(t=tr(r[o]))&&(n&&(n+=" "),n+=t);return n}var Ae="-";function Yr(r){var t=qr(r);function n(i){var l=i.split(Ae);return l[0]===""&&l.length!==1&&l.shift(),or(l,t)||Zr(i)}function o(i){return r.conflictingClassGroups[i]||[]}return{getClassGroupId:n,getConflictingClassGroupIds:o}}function or(r,t){var u;if(r.length===0)return t.classGroupId;var n=r[0],o=t.nextPart.get(n),i=o?or(r.slice(1),o):void 0;if(i)return i;if(t.validators.length!==0){var l=r.join(Ae);return(u=t.validators.find(function(d){var f=d.validator;return f(l)}))==null?void 0:u.classGroupId}}var Qe=/^\[(.+)\]$/;function Zr(r){if(Qe.test(r)){var t=Qe.exec(r)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function qr(r){var t=r.theme,n=r.prefix,o={nextPart:new Map,validators:[]},i=Kr(Object.entries(r.classGroups),n);return i.forEach(function(l){var u=l[0],d=l[1];Pe(d,o,u,t)}),o}function Pe(r,t,n,o){r.forEach(function(i){if(typeof i=="string"){var l=i===""?t:er(t,i);l.classGroupId=n;return}if(typeof i=="function"){if(Jr(i)){Pe(i(o),t,n,o);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(function(u){var d=u[0],f=u[1];Pe(f,er(t,d),n,o)})})}function er(r,t){var n=r;return t.split(Ae).forEach(function(o){n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n}function Jr(r){return r.isThemeGetter}function Kr(r,t){return t?r.map(function(n){var o=n[0],i=n[1],l=i.map(function(u){return typeof u=="string"?t+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(function(d){var f=d[0],v=d[1];return[t+f,v]})):u});return[o,l]}):r}function Xr(r){if(r<1)return{get:function(){},set:function(){}};var t=0,n=new Map,o=new Map;function i(l,u){n.set(l,u),t++,t>r&&(t=0,o=n,n=new Map)}return{get:function(u){var d=n.get(u);if(d!==void 0)return d;if((d=o.get(u))!==void 0)return i(u,d),d},set:function(u,d){n.has(u)?n.set(u,d):i(u,d)}}}var nr="!";function Qr(r){var t=r.separator||":";return function(o){for(var i=0,l=[],u=0,d=0;d<o.length;d++){var f=o[d];i===0&&f===t[0]&&(t.length===1||o.slice(d,d+t.length)===t)&&(l.push(o.slice(u,d)),u=d+t.length),f==="["?i++:f==="]"&&i--}var v=l.length===0?o:o.substring(u),g=v.startsWith(nr),x=g?v.substring(1):v;return{modifiers:l,hasImportantModifier:g,baseClassName:x}}}function et(r){if(r.length<=1)return r;var t=[],n=[];return r.forEach(function(o){var i=o[0]==="[";i?(t.push.apply(t,n.sort().concat([o])),n=[]):n.push(o)}),t.push.apply(t,n.sort()),t}function rt(r){return{cache:Xr(r.cacheSize),splitModifiers:Qr(r),...Yr(r)}}var tt=/\s+/;function ot(r,t){var n=t.splitModifiers,o=t.getClassGroupId,i=t.getConflictingClassGroupIds,l=new Set;return r.trim().split(tt).map(function(u){var d=n(u),f=d.modifiers,v=d.hasImportantModifier,g=d.baseClassName,x=o(g);if(!x)return{isTailwindClass:!1,originalClassName:u};var j=et(f).join(":"),I=v?j+nr:j;return{isTailwindClass:!0,modifierId:I,classGroupId:x,originalClassName:u}}).reverse().filter(function(u){if(!u.isTailwindClass)return!0;var d=u.modifierId,f=u.classGroupId,v=d+f;return l.has(v)?!1:(l.add(v),i(f).forEach(function(g){return l.add(d+g)}),!0)}).reverse().map(function(u){return u.originalClassName}).join(" ")}function nt(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];var o,i,l,u=d;function d(v){var g=t[0],x=t.slice(1),j=x.reduce(function(I,P){return P(I)},g());return o=rt(j),i=o.cache.get,l=o.cache.set,u=f,f(v)}function f(v){var g=i(v);if(g)return g;var x=ot(v,o);return l(v,x),x}return function(){return u(Ur.apply(null,arguments))}}function w(r){var t=function(o){return o[r]||[]};return t.isThemeGetter=!0,t}var ar=/^\[(?:([a-z-]+):)?(.+)\]$/i,at=/^\d+\/\d+$/,it=new Set(["px","full","screen"]),st=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,ct=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function W(r){return de(r)||it.has(r)||at.test(r)||Z(r)}function Z(r){return q(r,"length",gt)}function dt(r){return q(r,"size",ir)}function ut(r){return q(r,"position",ir)}function ft(r){return q(r,"url",bt)}function Me(r){return q(r,"number",de)}function de(r){return!Number.isNaN(Number(r))}function le(r){return rr(r)||q(r,"number",rr)}function R(r){return ar.test(r)}function ce(){return!0}function B(r){return st.test(r)}function pt(r){return q(r,"",vt)}function q(r,t,n){var o=ar.exec(r);return o?o[1]?o[1]===t:n(o[2]):!1}function gt(r){return lt.test(r)}function ir(){return!1}function bt(r){return r.startsWith("url(")}function rr(r){return Number.isInteger(Number(r))}function vt(r){return ct.test(r)}function ht(){var r=w("colors"),t=w("spacing"),n=w("blur"),o=w("brightness"),i=w("borderColor"),l=w("borderRadius"),u=w("borderSpacing"),d=w("borderWidth"),f=w("contrast"),v=w("grayscale"),g=w("hueRotate"),x=w("invert"),j=w("gap"),I=w("gradientColorStops"),P=w("inset"),N=w("margin"),H=w("opacity"),A=w("padding"),E=w("saturate"),te=w("scale"),fe=w("sepia"),pe=w("skew"),ge=w("space"),be=w("translate"),oe=function(){return["auto","contain","none"]},J=function(){return["auto","hidden","clip","visible","scroll"]},ve=function(){return["auto",t]},he=function(){return["",W]},$=function(){return["auto",de,R]},V=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},z=function(){return["solid","dashed","dotted","double","none"]},D=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},K=function(){return["start","end","center","between","around","evenly"]},F=function(){return["","0",R]},ne=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},G=function(){return[de,Me]},U=function(){return[de,R]};return{cacheSize:500,theme:{colors:[ce],spacing:[W],blur:["none","",B,Z],brightness:G(),borderColor:[r],borderRadius:["none","","full",B,Z],borderSpacing:[t],borderWidth:he(),contrast:G(),grayscale:F(),hueRotate:U(),invert:F(),gap:[t],gradientColorStops:[r],inset:ve(),margin:ve(),opacity:G(),padding:[t],saturate:G(),scale:G(),sepia:F(),skew:U(),space:[t],translate:[t]},classGroups:{aspect:[{aspect:["auto","square","video",R]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(V(),[R])}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[P]}],"inset-x":[{"inset-x":[P]}],"inset-y":[{"inset-y":[P]}],top:[{top:[P]}],right:[{right:[P]}],bottom:[{bottom:[P]}],left:[{left:[P]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",le]}],basis:[{basis:[t]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",R]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",le]}],"grid-cols":[{"grid-cols":[ce]}],"col-start-end":[{col:["auto",{span:[le]},R]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[ce]}],"row-start-end":[{row:["auto",{span:[le]},R]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",R]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",R]}],gap:[{gap:[j]}],"gap-x":[{"gap-x":[j]}],"gap-y":[{"gap-y":[j]}],"justify-content":[{justify:K()}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:[].concat(K(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(K(),["baseline","stretch"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",t]}],"min-w":[{"min-w":["min","max","fit",W]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[B]},B,Z]}],h:[{h:[t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",W]}],"max-h":[{"max-h":[t,"min","max","fit"]}],"font-size":[{text:["base",B,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[ce]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W]}],"list-style-type":[{list:["none","disc","decimal",R]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[H]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[H]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(z(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",W]}],"underline-offset":[{"underline-offset":["auto",W]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[t]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap"]}],break:[{break:["normal","words","all","keep"]}],content:[{content:["none",R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[H]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(V(),[ut])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ft]}],"bg-color":[{bg:[r]}],"gradient-from":[{from:[I]}],"gradient-via":[{via:[I]}],"gradient-to":[{to:[I]}],rounded:[{rounded:[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[H]}],"border-style":[{border:[].concat(z(),["hidden"])}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[H]}],"divide-style":[{divide:z()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(z())}],"outline-offset":[{"outline-offset":[W]}],"outline-w":[{outline:[W]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[H]}],"ring-offset-w":[{"ring-offset":[W]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",B,pt]}],"shadow-color":[{shadow:[ce]}],opacity:[{opacity:[H]}],"mix-blend":[{"mix-blend":D()}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",B,R]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[E]}],sepia:[{sepia:[fe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[H]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",R]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",R]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",R]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[te]}],"scale-x":[{"scale-x":[te]}],"scale-y":[{"scale-y":[te]}],rotate:[{rotate:[le,R]}],"translate-x":[{"translate-x":[be]}],"translate-y":[{"translate-y":[be]}],"skew-x":[{"skew-x":[pe]}],"skew-y":[{"skew-y":[pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",R]}],accent:[{accent:["auto",r]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[t]}],"scroll-mx":[{"scroll-mx":[t]}],"scroll-my":[{"scroll-my":[t]}],"scroll-mt":[{"scroll-mt":[t]}],"scroll-mr":[{"scroll-mr":[t]}],"scroll-mb":[{"scroll-mb":[t]}],"scroll-ml":[{"scroll-ml":[t]}],"scroll-p":[{"scroll-p":[t]}],"scroll-px":[{"scroll-px":[t]}],"scroll-py":[{"scroll-py":[t]}],"scroll-pt":[{"scroll-pt":[t]}],"scroll-pr":[{"scroll-pr":[t]}],"scroll-pb":[{"scroll-pb":[t]}],"scroll-pl":[{"scroll-pl":[t]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[W,Me]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]}}}var mt=nt(ht);function sr(r){var t,n,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=sr(r[t]))&&(o&&(o+=" "),o+=n);else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}function xt(){for(var r,t,n=0,o="";n<arguments.length;)(r=arguments[n++])&&(t=sr(r))&&(o&&(o+=" "),o+=t);return o}function ue(...r){return mt(xt(r))}function yt({className:r="",size:t="1em"}){return s.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:[s.jsx("path",{d:"M12.001 7.7395C12.2367 7.73978 12.4591 7.85076 12.6006 8.03931L15.376 11.7395C15.5459 11.9666 15.5731 12.2708 15.4463 12.5247C15.3193 12.7785 15.0592 12.9395 14.7754 12.9397H12.75V17.2766C12.7499 17.6907 12.4142 18.0266 12 18.0266C11.5858 18.0266 11.2501 17.6907 11.25 17.2766V12.9397H9.22559C8.94169 12.9397 8.68182 12.7785 8.55469 12.5247C8.42778 12.2706 8.45558 11.9667 8.62598 11.7395L11.4004 8.03931L11.457 7.97192C11.5977 7.82422 11.7945 7.7395 12.001 7.7395Z",fill:"currentColor"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2.65161C17.5228 2.65161 22 7.12876 22 12.6516C22 18.1744 17.5228 22.6516 12 22.6516C6.47715 22.6516 2 18.1744 2 12.6516C2 7.12876 6.47715 2.65161 12 2.65161ZM12 4.15161C7.30558 4.15161 3.5 7.95719 3.5 12.6516C3.5 17.346 7.30558 21.1516 12 21.1516C16.6944 21.1516 20.5 17.346 20.5 12.6516C20.5 7.95719 16.6944 4.15161 12 4.15161Z",fill:"currentColor"})]})}function wt({className:r="",size:t="1em"}){return s.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:s.jsx("path",{d:"M12 2C10.0222 2 8.08879 2.58649 6.4443 3.6853C4.79981 4.78412 3.51809 6.3459 2.76121 8.17316C2.00433 10.0004 1.8063 12.0111 2.19215 13.9509C2.578 15.8907 3.53041 17.6725 4.92894 19.0711C6.32746 20.4696 8.10929 21.422 10.0491 21.8078C11.9889 22.1937 13.9996 21.9957 15.8268 21.2388C17.6541 20.4819 19.2159 19.2002 20.3147 17.5557C21.4135 15.9112 22 13.9778 22 12C21.9971 9.34871 20.9426 6.80684 19.0679 4.9321C17.1932 3.05736 14.6513 2.00287 12 2ZM15.7092 11.7642C15.6751 11.8349 15.6217 11.8945 15.5553 11.9363C15.4888 11.978 15.4118 12.0001 15.3333 12H12.8333V16.1667C12.8333 16.3877 12.7455 16.5996 12.5893 16.7559C12.433 16.9122 12.221 17 12 17C11.779 17 11.567 16.9122 11.4107 16.7559C11.2545 16.5996 11.1667 16.3877 11.1667 16.1667V12H8.66667C8.58819 12 8.5113 11.9779 8.44484 11.9362C8.37839 11.8945 8.32507 11.8348 8.29102 11.7641C8.25697 11.6934 8.24359 11.6145 8.2524 11.5365C8.26121 11.4586 8.29187 11.3847 8.34084 11.3233L11.6742 7.15667C11.7146 7.10991 11.7646 7.07241 11.8209 7.04671C11.8771 7.021 11.9382 7.0077 12 7.0077C12.0618 7.0077 12.1229 7.021 12.1791 7.04671C12.2354 7.07241 12.2854 7.10991 12.3258 7.15667L15.6592 11.3233C15.7082 11.3846 15.7389 11.4585 15.7477 11.5365C15.7566 11.6145 15.7432 11.6934 15.7092 11.7642Z",fill:"#1DA56A"})})}const Ct=({tooltipContent:r="Send message",className:t,...n})=>{const[o,i]=_.useState(!1);return s.jsx(S.Tooltip,{content:r,children:s.jsx(S.IconButton,{variant:"text",color:"gray",className:ue(t,"hover:rounded-lg hover:bg-gray-100"),type:"submit",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),...n,children:o?s.jsx(wt,{className:"size-6 "}):s.jsx(yt,{className:"size-6 "})})})},lr=({onSubmit:r=()=>{},...t})=>s.jsx(Hr,{autoFocus:!0,placeholder:"Write your message here",className:"pl-1 block w-full focus:outline-none max-h-32 resize-none placeholder:text-gray-400",onKeyDown:n=>{n.key==="Enter"&&!n.shiftKey&&(n.preventDefault(),r())},...t}),jt=({bottom:r,right:t,top:n,textArea:o=s.jsx(lr,{}),...i})=>s.jsxs("div",{className:"border gap-2 rounded-lg bg-white shadow-[0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A] border-gray-100",...i,children:[n,s.jsxs("div",{className:"flex gap-2 p-4 rounded-lg bg-white",children:[s.jsxs("div",{className:"grow flex flex-col items-start justify-center",children:[o,r]}),s.jsx("div",{className:"shrink flex items-end justify-end",children:t})]})]}),kt=Object.freeze(Object.defineProperty({__proto__:null,Container:jt,SubmitButton:Ct,Textarea:lr},Symbol.toStringTag,{value:"Module"})),re=_.createContext(void 0),cr=({children:r,isCollapsed:t,onSwitchLayout:n})=>{const[o,i]=_.useState(!1),[l,u]=_.useState(!1),d=t!==void 0?t:o,f=v=>{const g=v??!d;t===void 0&&i(g),n==null||n(g)};return s.jsx(re.Provider,{value:{isCollapsed:d,toggleCollapsed:f,isHovered:l,setIsHovered:u},children:r})},dr=({className:r,children:t,...n})=>{const{isCollapsed:o,isHovered:i,setIsHovered:l}=_.useContext(re);return s.jsx("div",{className:ue(r,o&&"shadow-lg",o&&!i?"w-auto":"w-[280px]","bg-gray-50 p-2 flex flex-col justify-between items-center rounded-lg"),onMouseEnter:()=>o&&l(!0),onMouseLeave:()=>o&&l(!1),...n,children:t})},Rt=({className:r,children:t,isCollapsed:n,onSwitchLayout:o,...i})=>s.jsx(cr,{isCollapsed:n,onSwitchLayout:o,children:s.jsx(dr,{className:r,...i,children:t})}),_t=({icon:r,children:t,...n})=>{const{isCollapsed:o,isHovered:i}=_.useContext(re);return s.jsxs("button",{className:"flex items-center gap-2 w-full hover:bg-gray-100 text-caption-1-em text-gray-600 hover:text-gray-900 h-[38px] rounded-lg px-2",...n,children:[r," ",(!o||i)&&t]})};function Et(r){return s.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:s.jsx("path",{d:"M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM3.75 3.5C4.16421 3.5 4.5 3.83579 4.5 4.25V11.75C4.5 12.1642 4.16421 12.5 3.75 12.5C3.33579 12.5 3 12.1642 3 11.75V4.25C3 3.83579 3.33579 3.5 3.75 3.5Z",fill:"currentColor"})})}function St(r){return s.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:s.jsx("path",{d:"M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM7.5 4C7.77614 4 8 4.22386 8 4.5V11.5C8 11.7761 7.77614 12 7.5 12H3.5C3.22386 12 3 11.7761 3 11.5V4.5C3 4.22386 3.22386 4 3.5 4H7.5Z",fill:"currentColor"})})}const Tt=()=>{const{isCollapsed:r,isHovered:t,toggleCollapsed:n}=_.useContext(re);return r&&!t?null:s.jsx(S.IconButton,{variant:"text",color:"gray",onClick:()=>n(),children:r?s.jsx(Et,{className:"size-4"}):s.jsx(St,{className:"size-4"})})},Mt=({children:r,className:t,icon:n,isActive:o,trailing:i,...l})=>{const{isCollapsed:u,isHovered:d}=_.useContext(re);return s.jsxs("div",{className:ue(o?"!text-gray-900":"!text-gray-600","flex items-center justify-between w-full hover:bg-gray-100 text-caption-1-em hover:text-gray-900 h-[38px] rounded-lg px-2 cursor-pointer group",t),...l,children:[s.jsxs("div",{className:"flex items-center gap-2",children:[n,(!u||d)&&r]}),(!u||d)&&i]})},It=({children:r,className:t,isActive:n,trailing:o,icon:i,...l})=>{const{isCollapsed:u,isHovered:d}=_.useContext(re);return s.jsxs("div",{className:ue(n?"!text-gray-900":"!text-gray-600","flex items-center justify-between w-full hover:bg-gray-100 text-caption-1-em hover:text-gray-900 h-[38px] rounded-lg pr-2 pl-3 cursor-pointer group text-sm",t),...l,children:[s.jsxs("div",{className:"flex items-center gap-2 overflow-auto",children:[(!u||d)&&i," ",(!u||d)&&r]}),(!u||d)&&o]})},Pt=Object.freeze(Object.defineProperty({__proto__:null,Button:_t,Container:dr,Item:Mt,Layout:Rt,Provider:cr,SecondaryItem:It,ToggleCollapseButton:Tt},Symbol.toStringTag,{value:"Module"})),At=r=>s.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:s.jsx("path",{d:"M12.7197 2.21954C13.0125 1.92683 13.4874 1.92694 13.7803 2.21954C14.073 2.51241 14.073 2.98722 13.7803 3.28008L9.05955 7.99981L13.7803 12.7205L13.832 12.7772C14.0721 13.0717 14.0548 13.5065 13.7803 13.7811C13.5057 14.0555 13.0709 14.0729 12.7764 13.8328L12.7197 13.7811L7.99901 9.06036L3.27928 13.7811C2.9864 14.0737 2.51156 14.0738 2.21873 13.7811C1.92618 13.4882 1.92616 13.0133 2.21873 12.7205L6.93846 7.99981L2.21873 3.28008C1.92615 2.98722 1.92607 2.51235 2.21873 2.21954C2.51154 1.92673 2.98637 1.92691 3.27928 2.21954L7.99901 6.93926L12.7197 2.21954Z",fill:"currentColor"})}),Ot=({onClose:r,right:t,children:n})=>s.jsxs("div",{className:"bg-gray-50 flex gap-2 items-center px-2 py-3 rounded-t-xl",children:[s.jsx("div",{className:"grow text-subheader-em",children:n}),s.jsxs("div",{className:"flex items-center gap-4",children:[t,s.jsx(S.IconButton,{variant:"text",size:"sm",color:"gray",className:"rounded-full",onClick:r,children:s.jsx(At,{className:"size-4 text-gray-600"})})]})]}),ur={Header:Ot},fr=r=>s.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:s.jsx("path",{d:"M2.25 5.5C2.66421 5.5 3 5.83579 3 6.25C3 6.66421 2.66421 7 2.25 7H2C1.72386 7 1.5 7.22386 1.5 7.5V13.5C1.5 13.7761 1.72386 14 2 14H8C8.27614 14 8.5 13.7761 8.5 13.5V13.25C8.5 12.8358 8.83579 12.5 9.25 12.5C9.66421 12.5 10 12.8358 10 13.25V13.5C10 14.5357 9.21278 15.387 8.2041 15.4893L8 15.5H2L1.7959 15.4893C0.854346 15.3938 0.1062 14.6457 0.0107422 13.7041L0 13.5V7.5C0 6.39543 0.895431 5.5 2 5.5H2.25ZM13.75 0C14.7165 1.28853e-07 15.5 0.783502 15.5 1.75V9.75C15.5 10.7165 14.7165 11.5 13.75 11.5H5.75C4.7835 11.5 4 10.7165 4 9.75V1.75C4 0.783502 4.7835 8.0532e-09 5.75 0H13.75ZM5.75 1.5C5.61193 1.5 5.5 1.61193 5.5 1.75V9.75C5.5 9.88807 5.61193 10 5.75 10H13.75C13.8881 10 14 9.88807 14 9.75V1.75C14 1.61193 13.8881 1.5 13.75 1.5H5.75ZM11.75 3C11.795 3 11.839 3.00413 11.8818 3.01172C11.8874 3.0127 11.8929 3.01354 11.8984 3.01465C11.9118 3.01733 11.9244 3.02298 11.9375 3.02637C11.9707 3.03495 12.0041 3.04344 12.0361 3.05664C12.0653 3.06868 12.092 3.08512 12.1191 3.10059C12.1763 3.1331 12.2316 3.171 12.2803 3.21973C12.3287 3.26812 12.366 3.3232 12.3984 3.37988C12.414 3.40703 12.4303 3.43375 12.4424 3.46289C12.4631 3.51289 12.4779 3.56459 12.4873 3.61719C12.495 3.66035 12.5 3.70462 12.5 3.75V7.75C12.5 8.16421 12.1642 8.5 11.75 8.5C11.3358 8.5 11 8.16421 11 7.75V5.56055L8.28027 8.28027C7.98738 8.57317 7.51262 8.57317 7.21973 8.28027C6.92683 7.98738 6.92683 7.51262 7.21973 7.21973L9.93945 4.5H7.75C7.33579 4.5 7 4.16421 7 3.75C7 3.33579 7.33579 3 7.75 3H11.75Z",fill:"currentColor"})}),Nt=(r=100,t=50,n=990,o=10)=>{const[i,l]=_.useState(r);return[i,{...{zoomIn:()=>l(f=>Math.min(f+o,n)),zoomOut:()=>l(f=>Math.max(f-o,t)),reset:()=>l(r),zoomToValue:f=>l(Math.max(t,Math.min(f,n)))},handleWheel:f=>{f.preventDefault();const v=f.deltaY>0?-o:o;l(g=>Math.max(t,Math.min(g+v,n)))}}]},zt=()=>{const[r,t]=_.useState(0);return[r,{rotateClockwise:()=>t(o=>(o+90)%360),rotateCounterClockwise:()=>t(o=>(o-90+360)%360)}]},Lt=()=>{const[r,t]=_.useState({x:0,y:0}),[n,o]=_.useState(!1),[i,l]=_.useState({x:0,y:0});return[{pan:r,isDragging:n},{handleMouseDown:g=>{o(!0),l({x:g.clientX-r.x,y:g.clientY-r.y})},handleMouseMove:g=>{n&&t({x:g.clientX-i.x,y:g.clientY-i.y})},handleMouseUp:()=>{o(!1)},reset:()=>t({x:0,y:0})}]},Vt=(r=1)=>{const[t,n]=_.useState(1);return[t,{nextPage:()=>n(i=>Math.min(i+1,r)),prevPage:()=>n(i=>Math.max(i-1,1)),goToPage:i=>n(Math.max(1,Math.min(i,r)))}]},Wt=({onClose:r,totalPages:t,getImageSrc:n,title:o="PDF Viewer"})=>{const[i,l]=Nt(),[u,d]=zt(),[{pan:f,isDragging:v},g]=Lt(),[x,j]=Vt(t),I=s.jsx(S.IconButton,{variant:"text",color:"gray",children:s.jsx(fr,{className:"size-4"})});return s.jsxs("div",{className:"shadow rounded-t-lg",children:[s.jsx(ur.Header,{onClose:r,right:I,children:o}),s.jsx("div",{className:"flex-1 grid",children:s.jsxs("div",{className:"grid relative",children:[s.jsx("div",{className:"overflow-hidden col-start-1 row-start-1 bg-gray-200 h-full relative",onMouseMove:g.handleMouseMove,onMouseUp:g.handleMouseUp,onMouseLeave:g.handleMouseUp,onWheel:l.handleWheel,children:s.jsx("div",{style:{transform:`translate(${f.x}px, ${f.y}px)`,cursor:v?"grabbing":"grab",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},onMouseDown:g.handleMouseDown,children:s.jsx("div",{style:{transform:`scale(${i/100}) rotate(${u}deg)`,transformOrigin:"center",transition:v?"none":"transform 0.3s ease"},children:s.jsx("img",{src:n(x),style:{userSelect:"none",pointerEvents:"none"}})})})}),s.jsxs("div",{className:"col-start-1 row-start-1 self-end p-4 flex gap-2 justify-between w-full z-10",children:[s.jsxs(S.ButtonGroup,{className:"divide-x-0 h-[52px]",children:[s.jsx(S.IconButton,{variant:"filled",color:"white",className:"py-[26px]",onClick:l.zoomOut,children:s.jsx(ee.Icon,{icon:"lucide:minus"})}),s.jsx(S.Tooltip,{content:"Click to reset zoom and pan",children:s.jsxs("button",{className:"!bg-white text-center cursor-pointer w-[60px]",onClick:()=>{l.reset(),g.reset()},children:[i,"%"]})}),s.jsx(S.IconButton,{variant:"filled",color:"white",className:"py-[26px]",onClick:l.zoomIn,children:s.jsx(ee.Icon,{icon:"lucide:plus"})})]}),s.jsxs(S.ButtonGroup,{className:"divide-x-0 h-[52px]",children:[s.jsx(S.IconButton,{variant:"filled",color:"white",className:"py-[26px]",onClick:d.rotateClockwise,children:s.jsx(ee.Icon,{icon:"lucide:iteration-cw"})}),s.jsx(S.IconButton,{variant:"filled",color:"white",className:"py-[26px]",onClick:d.rotateCounterClockwise,children:s.jsx(ee.Icon,{icon:"lucide:iteration-ccw"})})]}),s.jsxs(S.ButtonGroup,{className:"divide-x-0 ",children:[s.jsx(S.IconButton,{variant:"filled",color:"white",className:"py-[26px]",onClick:j.prevPage,disabled:x===1,children:s.jsx(ee.Icon,{icon:"lucide:chevron-left"})}),s.jsx("input",{className:"bg-white pl-4 flex items-center w-[50px] text-center focus:outline-none w-[60px]",value:x,onChange:P=>{const N=parseInt(P.target.value);isNaN(N)||j.goToPage(N)},type:"number",min:"1",max:t}),s.jsxs("div",{className:"flex items-center bg-white px-2",children:["of ",t]}),s.jsx(S.IconButton,{variant:"filled",color:"white",className:"py-[26px]",onClick:j.nextPage,disabled:x===t,children:s.jsx(ee.Icon,{icon:"lucide:chevron-right"})})]})]})]})})]})},Ht=r=>{const[t,n]=_.useState({width:1,height:2});return _.useEffect(()=>{if(r.current){const{current:o}=r,i=o.getBoundingClientRect(),{width:l,height:u}=i;n({width:Math.round(l),height:Math.round(u)})}},[r]),t},Dt=({onClose:r,src:t,title:n="PDF Viewer",className:o})=>{const i=_.useRef(null);Ht(i);const l=s.jsx(S.IconButton,{variant:"text",color:"gray",children:s.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:s.jsx(fr,{className:"size-4"})})});return s.jsxs("div",{className:ue("shadow rounded-t-lg flex flex-col h-full",o),children:[s.jsx(ur.Header,{onClose:r,right:l,children:n}),s.jsx("div",{className:"flex-1 grid",children:s.jsx("div",{className:"grid relative",children:s.jsx("div",{ref:i,className:"overflow-hidden col-start-1 row-start-1 bg-gray-200 h-full relative",children:s.jsx("embed",{src:`${t}#view=FitH&navpanes=0&scrollbar=0`,type:"application/pdf",width:"100%",height:"100%",style:{border:"none"}})})})})]})};exports.HelloWorld=$r;exports.ImageViewer=Wt;exports.InputPrompt=kt;exports.PdfViewer=Dt;exports.Sidebar=Pt;exports.materialTheme=Fr;exports.tailwindTheme=Dr;