@percy.ai/heatmap 0.0.0-dev-20231129205013 → 0.0.0-dev-20231130160548

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.
@@ -35211,7 +35211,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
35211
35211
 
35212
35212
  ColorWrap(Google);
35213
35213
 
35214
- function r(...e){return twMerge(clsx(e))}var wr="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate";var _t=async({clientKey:e})=>{try{return e?await(await fetch(wr,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:e})})).json():void 0}catch(t){console.error("Error requesting token:",t);return}};var he=(e,t)=>e?.config?e.config.find(o=>o.name===t):{};var Me=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),te=React__namespace.forwardRef(({className:e,variant:t,size:o,asChild:a=!1,...i},s)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(Me({variant:t,size:o,className:e})),ref:s,...i}));te.displayName="Button";var ze=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ze.displayName="Card";var Ye=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));Ye.displayName="CardHeader";var Ot=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Ot.displayName="CardTitle";var Dr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Dr.displayName="CardDescription";var $e=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",e),...t}));$e.displayName="CardContent";var je=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));je.displayName="CardFooter";var kt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));kt.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var Lr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$3e431a229df88919,{ref:o,className:r("aspect-square h-full w-full",e),...t}));Lr.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var Ft=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$fb8d7f40caaeea67,{ref:o,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Ft.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var Ht=React__namespace.forwardRef(({className:e,value:t,...o},a)=>React__namespace.createElement($67824d98245208a0$export$be92b6f5f03c0fe9,{ref:a,className:r("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...o},React__namespace.createElement($67824d98245208a0$export$adb584737d712b70,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})));Ht.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var Qe=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($a093c7e1ec25a057$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Qe.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var Eo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Eo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Ao.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Fr=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Hr=React__namespace.forwardRef(({side:e="right",className:t,children:o,...a},i)=>React__namespace.createElement(Eo,null,React__namespace.createElement(Ao,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:i,className:r(Fr({side:e}),t),...a},o,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Hr.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var Ur=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold text-foreground",e),...t}));Ur.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var Gr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Gr.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Vt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"w-full overflow-auto"},React__namespace.createElement("table",{ref:o,className:r("w-full caption-bottom text-sm",e),...t})));Vt.displayName="Table";var Bt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",e),...t}));Bt.displayName="TableHeader";var Ut=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",e),...t}));Ut.displayName="TableBody";var Gt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",e),...t}));Gt.displayName="TableFooter";var Ke=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tr",{ref:o,className:r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));Ke.displayName="TableRow";var Pe=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("th",{ref:o,className:r("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Pe.displayName="TableHead";var Te=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("td",{ref:o,className:r("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Te.displayName="TableCell";var Wt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",e),...t}));Wt.displayName="TableCaption";var zr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",e),...t}));zr.displayName="AccordionItem";var Yr=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$8b251419efc915eb,{className:"flex"},React__namespace.createElement($1bf158f521e1b1b4$export$41fb9f06171c75f4,{ref:a,className:r("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...o},t,React__namespace.createElement(ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"}))));Yr.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var $r=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$7c6e2c02157bb7d2,{ref:a,className:r("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o},React__namespace.createElement("div",{className:"pb-4 pt-0"},t)));$r.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var Jr=cva("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),zt=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(Jr({variant:t}),e),...o}));zt.displayName="Alert";var Yt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h5",{ref:o,className:r("mb-1 font-medium leading-none tracking-tight",e),...t}));Yt.displayName="AlertTitle";var $t=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",e),...t}));$t.displayName="AlertDescription";var Co=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,wo=$905f4ae918aab1aa$export$41fb9f06171c75f4,So=({className:e,...t})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(e),...t});So.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var Mo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$c6fdb837b070b4ff,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Mo.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var jt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(So,null,React__namespace.createElement(Mo,null),React__namespace.createElement($905f4ae918aab1aa$export$7c6e2c02157bb7d2,{ref:o,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...t})));jt.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var Jt=({className:e,...t})=>React__namespace.createElement("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Jt.displayName="AlertDialogFooter";var qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",e),...t}));qt.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var Qr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Qr.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var Qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(Me(),e),...t}));Qt.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var Kr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(Me({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));Kr.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var Kt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($e698a72e93240346$export$be92b6f5f03c0fe9,{ref:o,className:r("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t},React__namespace.createElement($e698a72e93240346$export$adb584737d712b70,{className:r("flex items-center justify-center text-current")},React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))));Kt.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var Do=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Do.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Lo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{ref:o,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Lo.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var De=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement(Do,null,React__namespace.createElement(Lo,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...o},t,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));De.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var eo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",e),...t}));eo.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var to=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));to.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Io=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Io.displayName=Le.displayName;var ia=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":""},React__namespace.createElement(MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),React__namespace.createElement(Le.Input,{ref:o,className:r("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})));ia.displayName=Le.Input.displayName;var na=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));na.displayName=Le.List.displayName;var sa=React__namespace.forwardRef((e,t)=>React__namespace.createElement(Le.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));sa.displayName=Le.Empty.displayName;var ma=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Group,{ref:o,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));ma.displayName=Le.Group.displayName;var la=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Separator,{ref:o,className:r("-mx-1 h-px bg-border",e),...t}));la.displayName=Le.Separator.displayName;var ca=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Item,{ref:o,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t}));ca.displayName=Le.Item.displayName;var ga=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));ga.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var Ra=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ra.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var va=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$602eac185826482c,null,React__namespace.createElement($1b0217ee4a91d156$export$7c6e2c02157bb7d2,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})));va.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var ba=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));ba.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var xa=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));xa.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var ha=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));ha.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var ya=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...o}));ya.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var Pa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-border",e),...t}));Pa.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var Ca=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Ca.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var wa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));wa.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var oo=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$602eac185826482c,null,React__namespace.createElement($d08ef79370b62062$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})));oo.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var Sa=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));Sa.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var Ma=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));Ma.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var Da=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));Da.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var La=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));La.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var Ia=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Ia.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var ka=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(ka(),e),...t}));ao.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var Fo=React__namespace.createContext({}),gt=()=>{let e=React__namespace.useContext(Fo),t=React__namespace.useContext(Ho),{getFieldState:o,formState:a}=useFormContext(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:s}=t;return {id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...i}},Ho=React__namespace.createContext({}),ne=React__namespace.forwardRef(({className:e,...t},o)=>{let a=React__namespace.useId();return React__namespace.createElement(Ho.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",e),...t}))});ne.displayName="FormItem";var ue=React__namespace.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=gt();return React__namespace.createElement(ao,{ref:o,className:r(a&&"text-destructive",e),htmlFor:i,...t})});ue.displayName="FormLabel";var se=React__namespace.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:s}=gt();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:t,id:a,"aria-describedby":o?`${i} ${s}`:`${i}`,"aria-invalid":!!o,...e})});se.displayName="FormControl";var Ua=React__namespace.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=gt();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",e),...t})});Ua.displayName="FormDescription";var Ee=React__namespace.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:s}=gt(),R=i?String(i?.message):t;return R?React__namespace.createElement("p",{ref:a,id:s,className:r("text-[0.8rem] font-medium text-destructive",e),...o},R):null});Ee.displayName="FormMessage";var me=React__namespace.forwardRef(({className:e,type:t,...o},a)=>React__namespace.createElement("input",{type:t,className:r("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...o}));me.displayName="Input";var Ya=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$be92b6f5f03c0fe9,{ref:o,className:r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",e),...t}));Ya.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var $a=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$41fb9f06171c75f4,{ref:o,className:r("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e),...t}));$a.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var ja=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));ja.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var Ja=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ja.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var qa=React__namespace.forwardRef(({className:e,align:t="start",alignOffset:o=-4,sideOffset:a=8,...i},s)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:s,align:t,alignOffset:o,sideOffset:a,className:r("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...i})));qa.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var Qa=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));Qa.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var Ka=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));Ka.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var Xa=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));Xa.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var Za=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Za.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var ei=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));ei.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var ai=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$be92b6f5f03c0fe9,{ref:a,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...o},t,React__namespace.createElement(Vo,null)));ai.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var ii=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$54c2e3dc7acea9f5,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));ii.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var ni=cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),si=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(ni(),"group",e),...o},t," ",React__namespace.createElement(ChevronDownIcon,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})));si.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var mi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$7c6e2c02157bb7d2,{ref:o,className:r("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));mi.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var Vo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:r("absolute left-0 top-full flex justify-center")},React__namespace.createElement($322c88a641701f3b$export$d5c6c08dc2d3ca7,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})));Vo.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var li=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$adb584737d712b70,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t},React__namespace.createElement("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})));li.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var ci=React__namespace.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>React__namespace.createElement($cb5cc270b50c6fcd$export$602eac185826482c,null,React__namespace.createElement($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})));ci.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var pi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",e),...t,ref:o}));pi.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var fi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($f99a8c78507165f7$export$6d08773d2e66f8f2,{ref:a,className:r("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},React__namespace.createElement($f99a8c78507165f7$export$adb584737d712b70,{className:"flex items-center justify-center"},React__namespace.createElement(CheckIcon$1,{className:"h-3.5 w-3.5 fill-primary"}))));fi.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var ui=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($57acba87d6e25586$export$be92b6f5f03c0fe9,{ref:a,className:r("relative overflow-hidden",e),...o},React__namespace.createElement($57acba87d6e25586$export$d5c6c08dc2d3ca7,{className:"h-full w-full rounded-[inherit]"},t),React__namespace.createElement(Bo,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));ui.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var Bo=React__namespace.forwardRef(({className:e,orientation:t="vertical",...o},a)=>React__namespace.createElement($57acba87d6e25586$export$2fabd85d0eba3c57,{ref:a,orientation:t,className:r("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o},React__namespace.createElement($57acba87d6e25586$export$9fba1154677d7cd2,{className:"relative flex-1 rounded-full bg-border"})));Bo.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var et=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$41fb9f06171c75f4,{ref:a,className:r("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},t,React__namespace.createElement($cc7e05a45900e73f$export$f04a61298a47a40f,{asChild:!0},React__namespace.createElement(CaretSortIcon,{className:"h-4 w-4 opacity-50"}))));et.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var tt=React__namespace.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>React__namespace.createElement($cc7e05a45900e73f$export$602eac185826482c,null,React__namespace.createElement($cc7e05a45900e73f$export$7c6e2c02157bb7d2,{ref:i,className:r("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a},React__namespace.createElement($cc7e05a45900e73f$export$d5c6c08dc2d3ca7,{className:r("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},t))));tt.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var vi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$b04be29aa201d4f5,{ref:o,className:r("px-2 py-1.5 text-sm font-semibold",e),...t}));vi.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var ee=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($cc7e05a45900e73f$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),React__namespace.createElement($cc7e05a45900e73f$export$d6e5bf9c43ea9319,null,t)));ee.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var bi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));bi.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var xi=React__namespace.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...a},i)=>React__namespace.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9,{ref:i,decorative:o,orientation:t,className:r("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...a}));xi.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var hi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($faa2e61a3361514f$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex w-full touch-none select-none items-center",e),...t},React__namespace.createElement($faa2e61a3361514f$export$13921ac0cc260818,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},React__namespace.createElement($faa2e61a3361514f$export$9a58ef0d7ad3278c,{className:"absolute h-full bg-primary"})),React__namespace.createElement($faa2e61a3361514f$export$6521433ed15a34db,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})));hi.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var yi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9,{className:r("peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:o},React__namespace.createElement($6be4966fd9bbc698$export$6521433ed15a34db,{className:r("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})));yi.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var Pi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5,{ref:o,className:r("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));Pi.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var Ti=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$41fb9f06171c75f4,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));Ti.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var Ni=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2,{ref:o,className:r("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Ni.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var no=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("textarea",{className:r("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));no.displayName="Textarea";var so=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$d5c6c08dc2d3ca7,{ref:o,className:r("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));so.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var Ci=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),mo=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(Ci({variant:t}),e),...o}));mo.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var wi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee,{ref:o,className:r("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));wi.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var lo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f39c2d165cd861fe,{ref:o,className:r("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"})));lo.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var co=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f99233281efd08a0,{ref:o,className:r("text-sm font-semibold [&+div]:text-xs",e),...t}));co.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var po=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",e),...t}));po.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var Oi=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),ki=React__namespace.forwardRef(({className:e,variant:t,size:o,...a},i)=>React__namespace.createElement($b3bbe2732c13b576$export$be92b6f5f03c0fe9,{ref:i,className:r(Oi({variant:t,size:o,className:e})),...a}));ki.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;var Ro=(i=>(i.buyer="buyer",i.seller="seller",i.buyerSeller="buyer-seller",i.broker="broker",i))(Ro||{});var n=class n{};n.ESTIMATES_ENDPOINT_URL="https://api-dev.liberty.percyai.io/property/v1/estimates",n.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",n.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",n.ESTIMATED_VALUES_DIALOG_DESCRIPTION="The values generated here are based on automated computer modeling from public records and may not represent the true value of the home.",n.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",n.FORM_TITLE="Learn more about my options",n.FORM_DESCRIPTION="Get more insights on how your property valuation",n.FORM_FIRST_NAME_LABEL="First Name *",n.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",n.FORM_EMAIL_ADDRESS_LABEL="Email Address *",n.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",n.FORM_LAST_NAME_LABEL="Last Name *",n.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",n.FORM_PHONE_NUMBER_LABEL="Phone Number *",n.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",n.FORM_USER_TYPE_LABEL="I am: *",n.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",n.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",n.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",n.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",n.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",n.FORM_ACTION_BUTTOM="Submit",n.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",n.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",n.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",n.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",n.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",n.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",n.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",n.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",n.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",n.BUYER="A Buyer",n.SELLER="A Seller",n.BUYER_SELLER="A Buyer and Seller",n.BROKER="A Broker/Agent",n.PERIOD_1="Immediately",n.PERIOD_2="1 to 3 Months",n.PERIOD_3="3 to 6 Months",n.PERIOD_4="6 to 12 Months",n.PERIOD_5="12+ Months",n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",n.sellerBuyerSharedContent=[{label:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],n.DYNAMIC_VALUES={buyer:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:n.sellerBuyerSharedContent,"buyer-seller":n.sellerBuyerSharedContent,broker:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var l=n;function nt({className:e}){return React__namespace.createElement("svg",{className:r("-ml-1 mr-3 h-5 w-5 animate-spin text-white",e),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React__namespace.createElement("circle",{className:r("stroke-brand-400 opacity-25"),cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),React__namespace.createElement("path",{className:r("fill-brand-500 dark:fill-brand-900 opacity-75"),fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))}nt.displayName="Spinner";var en=nativeEnumType(Ro,{required_error:l.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:l.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:l.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:l.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:l.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:l.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:en,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:l.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});var v=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(t,o,a,i,s){return `Public records show a ${t} year loan at ${o} for ${a} from ${i}, giving you an estimated loan balance of ${s}. All calculations on this report are based on these numbers, so we want to make sure we get this right!`}static HOW_CALCULATE_INFORMATION_DESCRIPTION(t,o,a,i){return `These numbers are all based on your ${a} year loan at ${t} for ${o} from ${i}.`}};v.ACTION_OK_BUTTON_LABEL="OK",v.DESCRIPTION_YEARS_LABEL="Years",v.NO_DATA_AVAILABLE_LABEL="No Data Available",v.CONFIGURATION_ERROR_LABEL="Configuration Error",v.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",v.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",v.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",v.EQUITY_MORTGAGE_DETAILS_EDIT_DETAILS="Edit Details",v.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",v.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",v.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",v.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",v.EQUITY_MORTGAGE_DETAILS_ACTION_BUTTON_LABEL="Which option is best for me?",v.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",v.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",v.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",v.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",v.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",v.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",v.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",v.EDIT_MORTGAGE_DETAILS_DISCLAIMER_TEXT="This message is for information purposes only and is not an advertisement to extend customer credit as defined by Section 12 CFR 1026.2 Regulation Z. Program rates, terms, and conditions are subject to change at any time. All examples of potential mortgage products above are estimates for illustration purposes only. All programs and mortgage products are subject to borrower income, credit, and property approval. Not all borrowers will qualify. This is not an offer for extension of credit or a commitment to lend. Home valuations are estimates purchased from a third-party data provider. Actual appraised value at the time of a transaction may vary. Equal Housing Lender. Interest rates used are based on a reasonably current index and margin from the Freddie Mac Primary Mortgage Market Survey.",v.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",v.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',v.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",v.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",v.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",v.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",v.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.";function St({children:e}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},e)}function nr({trigger:e,content:t,title:o,asChild:a=!1,actionButtomLabel:i=v.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(Co,null,React__namespace.createElement(wo,{asChild:a},e),React__namespace.createElement(jt,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(qt,null,o),t,React__namespace.createElement(Jt,null,React__namespace.createElement(Qt,null,i))))}function sr({title:e,infoTitle:t,icon:o,infoDescription:a,titleDescription:i}){let s=React__namespace.cloneElement(o,{className:"w-6 h-6"});return React__namespace.createElement("div",{className:r("flex flex-col items-start")},React__namespace.createElement("div",{className:r("flex flex-row items-center gap-2")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},s),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},e),React__namespace.createElement(nr,{asChild:!0,title:t,trigger:React__namespace.createElement(Info,{className:r("w-5 h-5 text-gray-400")}),content:a})),i&&React__namespace.createElement("p",{className:r("text-gray-400 ml-[50px] text-xs md:text-sm lg:text-sm")},i))}function Mt({icon:e,infoDescription:t,title:o,titleDescription:a,infoTitle:i,actions:s}){return React__namespace.createElement("div",{className:r("flex flex-row justify-between items-stretch")},React__namespace.createElement(sr,{title:o,titleDescription:a,infoTitle:i,icon:e,infoDescription:t}),s&&s)}var Lt=({clientKey:e,apiKey:t})=>{let[o,a]=React__namespace.useState(!0),[i,s]=React__namespace.useState(),R=!!e;React__namespace.useEffect(()=>{async function d(){let m=await _t({clientKey:e});s(m);}d();},[]);let c=React__namespace.useCallback(async d=>{let{url:m,requestInit:N}=d,{headers:W,...D}=N??{},k=i;!i?.token&&e&&(k=await _t({clientKey:e}));let Y={"Content-Type":"application/json",...k?.token&&{Authorization:`Bearer ${k?.token}`},...t&&{"x-api-key":t},...W},A=await fetch(m,{headers:Y,...D});try{a(!0);let L=await A.json();return a(!1),k?.token&&s(k),L}catch(L){console.error(`Error requesting ${m}`,L),a(!1);return}},[i,e,t]);return {isLoading:o,tokens:i,request:c,isExternal:R}};var gr="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function un({apiKey:e,mapOptions:t,geoJsonLayerInput:o,markers:a,markersIcon:i,markerEvents:s}){let R=React__namespace.useRef(null),[c,d]=React__namespace.useState(null),[m,N]=React__namespace.useState(!1);React__namespace.useEffect(()=>{R.current&&new Loader({apiKey:e??gr}).importLibrary("maps").then(()=>{t.center||(t.center={lat:39.8283,lng:-98.5795}),R.current&&W(R.current,t);});},[]);let W=(A,L)=>{d(new window.google.maps.Map(A,L)),o&&Y(o),k(a),N(!0);},D=(A,L)=>{c&&(c.setCenter(A),c.setZoom(L));},k=A=>{if(!c||!A)return;let L=new google.maps.LatLngBounds;A.forEach((y,f)=>{L.extend(new google.maps.LatLng(y.lat,y.lng));let b=new google.maps.Marker({position:{lat:y.lat,lng:y.lng},map:c,icon:y.icon??i,label:y.label});s&&s(f,b);}),c.setCenter(L.getCenter()),c.setZoom(3);},Y=({center:A,geoJson:L})=>{if(!c||!L)return;A&&(c.setCenter(A),new window.google.maps.Marker({position:A,map:c}));let y=new window.google.maps.Data;y.addGeoJson(L),y.setStyle(f=>({fillColor:f.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),y.setMap(c);};return {mapRef:R,setGeojson:Y,setMarkers:k,zoomHandler:D,isMapReady:m}}var Rr=un;var vr=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],br="https://api.liberty.percyai.io/location/v1/heatmap";function xr(){return React__namespace.createElement("div",{className:r("absolute top-4 left-4 bg-white bg-opacity-70 p-2 shadow-lg flex flex-col")},React__namespace.createElement("div",{className:r("flex justify-between")},React__namespace.createElement("div",{className:r("text-left text-xs")},"Active"),React__namespace.createElement("div",{className:r("text-right text-xs")},"Very Active")),React__namespace.createElement("div",{className:r("flex flex-col items-center space-y-2")},React__namespace.createElement("div",{className:r("flex")},vr.map((e,t)=>React__namespace.createElement("div",{key:t,className:r("w-4 h-4"),style:{backgroundColor:e}})))))}function cp({zipcode:e,url:t=br,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:i,clientKey:s,apiKey:R,height:c="420px"}){let{request:d,isLoading:m,tokens:N}=Lt({clientKey:s,apiKey:R}),W=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:D,setGeojson:k,isMapReady:Y}=Rr({mapOptions:W,apiKey:i});return React__namespace.useEffect(()=>{let A=!0;async function L(){let y=he(N?.meta,"color");if(e&&t&&A&&!N?.token){let f=new URL(t);f.searchParams.set("zipcode",e),y?.value&&f.searchParams.set("colors",y?.value);try{let b=await d({url:f.toString()});b&&A&&k(b.data);}catch(b){console.error("Error fetching heatmap data:",b);}}}return Y&&L(),()=>{A=!1;}},[s,R,N,e,t,d,Y]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(Mt,{title:"Heat Map",infoDescription:"The best way to visualize the distribution of data in a geographical area.",infoTitle:"Heat Map",icon:React__namespace.createElement(MapPin,null)}),React__namespace.createElement(St,null,React__namespace.createElement("div",{className:"relative w-full aspect-video rounded-md overflow-hidden",style:{height:c}},React__namespace.createElement("div",{ref:D,className:r("min-h-full w-full")}),React__namespace.createElement(xr,null),m&&React__namespace.createElement("div",{className:r("absolute inset-0 flex items-center justify-center")},React__namespace.createElement(nt,null)))))}
35214
+ function r(...e){return twMerge(clsx(e))}var wr="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate";var _t=async({clientKey:e})=>{try{return e?await(await fetch(wr,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:e})})).json():void 0}catch(t){console.error("Error requesting token:",t);return}};var he=(e,t)=>e?.config?e.config.find(o=>o.name===t):{};var Me=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),te=React__namespace.forwardRef(({className:e,variant:t,size:o,asChild:a=!1,...i},s)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(Me({variant:t,size:o,className:e})),ref:s,...i}));te.displayName="Button";var ze=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ze.displayName="Card";var Ye=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));Ye.displayName="CardHeader";var Ot=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Ot.displayName="CardTitle";var Dr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Dr.displayName="CardDescription";var $e=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",e),...t}));$e.displayName="CardContent";var je=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));je.displayName="CardFooter";var kt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));kt.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var Lr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$3e431a229df88919,{ref:o,className:r("aspect-square h-full w-full",e),...t}));Lr.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var Ft=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$fb8d7f40caaeea67,{ref:o,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Ft.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var Ht=React__namespace.forwardRef(({className:e,value:t,...o},a)=>React__namespace.createElement($67824d98245208a0$export$be92b6f5f03c0fe9,{ref:a,className:r("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...o},React__namespace.createElement($67824d98245208a0$export$adb584737d712b70,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})));Ht.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var Qe=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($a093c7e1ec25a057$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Qe.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var Eo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Eo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Ao.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Fr=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Hr=React__namespace.forwardRef(({side:e="right",className:t,children:o,...a},i)=>React__namespace.createElement(Eo,null,React__namespace.createElement(Ao,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:i,className:r(Fr({side:e}),t),...a},o,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Hr.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var Ur=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold text-foreground",e),...t}));Ur.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var Gr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Gr.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Vt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"w-full overflow-auto"},React__namespace.createElement("table",{ref:o,className:r("w-full caption-bottom text-sm",e),...t})));Vt.displayName="Table";var Bt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",e),...t}));Bt.displayName="TableHeader";var Ut=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",e),...t}));Ut.displayName="TableBody";var Gt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",e),...t}));Gt.displayName="TableFooter";var Ke=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tr",{ref:o,className:r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));Ke.displayName="TableRow";var Pe=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("th",{ref:o,className:r("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Pe.displayName="TableHead";var Te=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("td",{ref:o,className:r("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Te.displayName="TableCell";var Wt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",e),...t}));Wt.displayName="TableCaption";var zr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",e),...t}));zr.displayName="AccordionItem";var Yr=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$8b251419efc915eb,{className:"flex"},React__namespace.createElement($1bf158f521e1b1b4$export$41fb9f06171c75f4,{ref:a,className:r("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...o},t,React__namespace.createElement(ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"}))));Yr.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var $r=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$7c6e2c02157bb7d2,{ref:a,className:r("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o},React__namespace.createElement("div",{className:"pb-4 pt-0"},t)));$r.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var Jr=cva("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),zt=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(Jr({variant:t}),e),...o}));zt.displayName="Alert";var Yt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h5",{ref:o,className:r("mb-1 font-medium leading-none tracking-tight",e),...t}));Yt.displayName="AlertTitle";var $t=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",e),...t}));$t.displayName="AlertDescription";var Co=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,wo=$905f4ae918aab1aa$export$41fb9f06171c75f4,So=({className:e,...t})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(e),...t});So.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var Mo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$c6fdb837b070b4ff,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Mo.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var jt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(So,null,React__namespace.createElement(Mo,null),React__namespace.createElement($905f4ae918aab1aa$export$7c6e2c02157bb7d2,{ref:o,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...t})));jt.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var Jt=({className:e,...t})=>React__namespace.createElement("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Jt.displayName="AlertDialogFooter";var qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",e),...t}));qt.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var Qr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Qr.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var Qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(Me(),e),...t}));Qt.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var Kr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(Me({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));Kr.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var Kt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($e698a72e93240346$export$be92b6f5f03c0fe9,{ref:o,className:r("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t},React__namespace.createElement($e698a72e93240346$export$adb584737d712b70,{className:r("flex items-center justify-center text-current")},React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))));Kt.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var Do=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Do.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Lo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{ref:o,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Lo.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var De=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement(Do,null,React__namespace.createElement(Lo,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...o},t,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));De.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var eo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",e),...t}));eo.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var to=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));to.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Io=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Io.displayName=Le.displayName;var ia=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":""},React__namespace.createElement(MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),React__namespace.createElement(Le.Input,{ref:o,className:r("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})));ia.displayName=Le.Input.displayName;var na=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));na.displayName=Le.List.displayName;var sa=React__namespace.forwardRef((e,t)=>React__namespace.createElement(Le.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));sa.displayName=Le.Empty.displayName;var ma=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Group,{ref:o,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));ma.displayName=Le.Group.displayName;var la=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Separator,{ref:o,className:r("-mx-1 h-px bg-border",e),...t}));la.displayName=Le.Separator.displayName;var ca=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Item,{ref:o,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t}));ca.displayName=Le.Item.displayName;var ga=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));ga.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var Ra=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ra.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var va=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$602eac185826482c,null,React__namespace.createElement($1b0217ee4a91d156$export$7c6e2c02157bb7d2,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})));va.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var ba=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));ba.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var xa=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));xa.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var ha=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));ha.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var ya=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...o}));ya.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var Pa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-border",e),...t}));Pa.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var Ca=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Ca.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var wa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));wa.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var oo=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$602eac185826482c,null,React__namespace.createElement($d08ef79370b62062$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})));oo.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var Sa=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));Sa.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var Ma=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));Ma.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var Da=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));Da.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var La=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));La.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var Ia=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Ia.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var ka=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(ka(),e),...t}));ao.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var Fo=React__namespace.createContext({}),gt=()=>{let e=React__namespace.useContext(Fo),t=React__namespace.useContext(Ho),{getFieldState:o,formState:a}=useFormContext(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:s}=t;return {id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...i}},Ho=React__namespace.createContext({}),ne=React__namespace.forwardRef(({className:e,...t},o)=>{let a=React__namespace.useId();return React__namespace.createElement(Ho.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",e),...t}))});ne.displayName="FormItem";var ue=React__namespace.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=gt();return React__namespace.createElement(ao,{ref:o,className:r(a&&"text-destructive",e),htmlFor:i,...t})});ue.displayName="FormLabel";var se=React__namespace.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:s}=gt();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:t,id:a,"aria-describedby":o?`${i} ${s}`:`${i}`,"aria-invalid":!!o,...e})});se.displayName="FormControl";var Ua=React__namespace.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=gt();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",e),...t})});Ua.displayName="FormDescription";var Ee=React__namespace.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:s}=gt(),R=i?String(i?.message):t;return R?React__namespace.createElement("p",{ref:a,id:s,className:r("text-[0.8rem] font-medium text-destructive",e),...o},R):null});Ee.displayName="FormMessage";var me=React__namespace.forwardRef(({className:e,type:t,...o},a)=>React__namespace.createElement("input",{type:t,className:r("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...o}));me.displayName="Input";var Ya=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$be92b6f5f03c0fe9,{ref:o,className:r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",e),...t}));Ya.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var $a=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$41fb9f06171c75f4,{ref:o,className:r("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e),...t}));$a.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var ja=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));ja.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var Ja=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ja.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var qa=React__namespace.forwardRef(({className:e,align:t="start",alignOffset:o=-4,sideOffset:a=8,...i},s)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:s,align:t,alignOffset:o,sideOffset:a,className:r("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...i})));qa.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var Qa=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));Qa.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var Ka=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));Ka.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var Xa=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));Xa.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var Za=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Za.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var ei=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));ei.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var ai=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$be92b6f5f03c0fe9,{ref:a,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...o},t,React__namespace.createElement(Vo,null)));ai.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var ii=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$54c2e3dc7acea9f5,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));ii.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var ni=cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),si=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(ni(),"group",e),...o},t," ",React__namespace.createElement(ChevronDownIcon,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})));si.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var mi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$7c6e2c02157bb7d2,{ref:o,className:r("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));mi.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var Vo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:r("absolute left-0 top-full flex justify-center")},React__namespace.createElement($322c88a641701f3b$export$d5c6c08dc2d3ca7,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})));Vo.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var li=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$adb584737d712b70,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t},React__namespace.createElement("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})));li.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var ci=React__namespace.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>React__namespace.createElement($cb5cc270b50c6fcd$export$602eac185826482c,null,React__namespace.createElement($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})));ci.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var pi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",e),...t,ref:o}));pi.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var fi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($f99a8c78507165f7$export$6d08773d2e66f8f2,{ref:a,className:r("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},React__namespace.createElement($f99a8c78507165f7$export$adb584737d712b70,{className:"flex items-center justify-center"},React__namespace.createElement(CheckIcon$1,{className:"h-3.5 w-3.5 fill-primary"}))));fi.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var ui=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($57acba87d6e25586$export$be92b6f5f03c0fe9,{ref:a,className:r("relative overflow-hidden",e),...o},React__namespace.createElement($57acba87d6e25586$export$d5c6c08dc2d3ca7,{className:"h-full w-full rounded-[inherit]"},t),React__namespace.createElement(Bo,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));ui.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var Bo=React__namespace.forwardRef(({className:e,orientation:t="vertical",...o},a)=>React__namespace.createElement($57acba87d6e25586$export$2fabd85d0eba3c57,{ref:a,orientation:t,className:r("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o},React__namespace.createElement($57acba87d6e25586$export$9fba1154677d7cd2,{className:"relative flex-1 rounded-full bg-border"})));Bo.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var et=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$41fb9f06171c75f4,{ref:a,className:r("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},t,React__namespace.createElement($cc7e05a45900e73f$export$f04a61298a47a40f,{asChild:!0},React__namespace.createElement(CaretSortIcon,{className:"h-4 w-4 opacity-50"}))));et.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var tt=React__namespace.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>React__namespace.createElement($cc7e05a45900e73f$export$602eac185826482c,null,React__namespace.createElement($cc7e05a45900e73f$export$7c6e2c02157bb7d2,{ref:i,className:r("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a},React__namespace.createElement($cc7e05a45900e73f$export$d5c6c08dc2d3ca7,{className:r("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},t))));tt.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var vi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$b04be29aa201d4f5,{ref:o,className:r("px-2 py-1.5 text-sm font-semibold",e),...t}));vi.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var ee=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($cc7e05a45900e73f$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),React__namespace.createElement($cc7e05a45900e73f$export$d6e5bf9c43ea9319,null,t)));ee.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var bi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));bi.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var xi=React__namespace.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...a},i)=>React__namespace.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9,{ref:i,decorative:o,orientation:t,className:r("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...a}));xi.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var hi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($faa2e61a3361514f$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex w-full touch-none select-none items-center",e),...t},React__namespace.createElement($faa2e61a3361514f$export$13921ac0cc260818,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},React__namespace.createElement($faa2e61a3361514f$export$9a58ef0d7ad3278c,{className:"absolute h-full bg-primary"})),React__namespace.createElement($faa2e61a3361514f$export$6521433ed15a34db,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})));hi.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var yi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9,{className:r("peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:o},React__namespace.createElement($6be4966fd9bbc698$export$6521433ed15a34db,{className:r("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})));yi.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var Pi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5,{ref:o,className:r("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));Pi.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var Ti=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$41fb9f06171c75f4,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));Ti.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var Ni=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2,{ref:o,className:r("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Ni.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var no=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("textarea",{className:r("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));no.displayName="Textarea";var so=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$d5c6c08dc2d3ca7,{ref:o,className:r("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));so.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var Ci=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),mo=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(Ci({variant:t}),e),...o}));mo.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var wi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee,{ref:o,className:r("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));wi.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var lo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f39c2d165cd861fe,{ref:o,className:r("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"})));lo.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var co=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f99233281efd08a0,{ref:o,className:r("text-sm font-semibold [&+div]:text-xs",e),...t}));co.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var po=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",e),...t}));po.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var Oi=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),ki=React__namespace.forwardRef(({className:e,variant:t,size:o,...a},i)=>React__namespace.createElement($b3bbe2732c13b576$export$be92b6f5f03c0fe9,{ref:i,className:r(Oi({variant:t,size:o,className:e})),...a}));ki.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;var Ro=(i=>(i.buyer="buyer",i.seller="seller",i.buyerSeller="buyer-seller",i.broker="broker",i))(Ro||{});var n=class n{};n.ESTIMATES_ENDPOINT_URL="https://api-dev.liberty.percyai.io/property/v1/estimates",n.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",n.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",n.ESTIMATED_VALUES_DIALOG_DESCRIPTION="The values generated here are based on automated computer modeling from public records and may not represent the true value of the home.",n.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",n.FORM_TITLE="Learn more about my options",n.FORM_DESCRIPTION="Get more insights on how your property valuation",n.FORM_FIRST_NAME_LABEL="First Name *",n.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",n.FORM_EMAIL_ADDRESS_LABEL="Email Address *",n.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",n.FORM_LAST_NAME_LABEL="Last Name *",n.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",n.FORM_PHONE_NUMBER_LABEL="Phone Number *",n.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",n.FORM_USER_TYPE_LABEL="I am: *",n.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",n.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",n.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",n.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",n.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",n.FORM_ACTION_BUTTOM="Submit",n.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",n.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",n.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",n.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",n.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",n.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",n.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",n.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",n.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",n.BUYER="A Buyer",n.SELLER="A Seller",n.BUYER_SELLER="A Buyer and Seller",n.BROKER="A Broker/Agent",n.PERIOD_1="Immediately",n.PERIOD_2="1 to 3 Months",n.PERIOD_3="3 to 6 Months",n.PERIOD_4="6 to 12 Months",n.PERIOD_5="12+ Months",n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",n.sellerBuyerSharedContent=[{label:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],n.DYNAMIC_VALUES={buyer:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:n.sellerBuyerSharedContent,"buyer-seller":n.sellerBuyerSharedContent,broker:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var l=n;function nt({className:e}){return React__namespace.createElement("svg",{className:r("-ml-1 mr-3 h-5 w-5 animate-spin text-white",e),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React__namespace.createElement("circle",{className:r("stroke-brand-400 opacity-25"),cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),React__namespace.createElement("path",{className:r("fill-brand-500 dark:fill-brand-900 opacity-75"),fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))}nt.displayName="Spinner";var en=nativeEnumType(Ro,{required_error:l.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:l.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:l.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:l.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:l.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:l.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:en,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:l.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});var v=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(t,o,a,i,s){return `Public records show a ${t} year loan at ${o} for ${a} from ${i}, giving you an estimated loan balance of ${s}. All calculations on this report are based on these numbers, so we want to make sure we get this right!`}static HOW_CALCULATE_INFORMATION_DESCRIPTION(t,o,a,i){return `These numbers are all based on your ${a} year loan at ${t} for ${o} from ${i}.`}};v.ACTION_OK_BUTTON_LABEL="OK",v.DESCRIPTION_YEARS_LABEL="Years",v.NO_DATA_AVAILABLE_LABEL="No Data Available",v.CONFIGURATION_ERROR_LABEL="Configuration Error",v.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",v.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",v.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",v.EQUITY_MORTGAGE_DETAILS_EDIT_DETAILS="Edit Details",v.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",v.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",v.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",v.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",v.EQUITY_MORTGAGE_DETAILS_ACTION_BUTTON_LABEL="Which option is best for me?",v.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",v.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",v.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",v.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",v.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",v.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",v.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",v.EDIT_MORTGAGE_DETAILS_DISCLAIMER_TEXT="This message is for information purposes only and is not an advertisement to extend customer credit as defined by Section 12 CFR 1026.2 Regulation Z. Program rates, terms, and conditions are subject to change at any time. All examples of potential mortgage products above are estimates for illustration purposes only. All programs and mortgage products are subject to borrower income, credit, and property approval. Not all borrowers will qualify. This is not an offer for extension of credit or a commitment to lend. Home valuations are estimates purchased from a third-party data provider. Actual appraised value at the time of a transaction may vary. Equal Housing Lender. Interest rates used are based on a reasonably current index and margin from the Freddie Mac Primary Mortgage Market Survey.",v.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",v.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',v.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",v.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",v.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",v.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",v.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.";function St({children:e}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},e)}function nr({trigger:e,content:t,title:o,asChild:a=!1,actionButtomLabel:i=v.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(Co,null,React__namespace.createElement(wo,{asChild:a},e),React__namespace.createElement(jt,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(qt,null,o),t,React__namespace.createElement(Jt,null,React__namespace.createElement(Qt,null,i))))}function sr({title:e,infoTitle:t,icon:o,infoDescription:a,titleDescription:i}){let s=React__namespace.cloneElement(o,{className:"w-6 h-6"});return React__namespace.createElement("div",{className:r("flex flex-col items-start")},React__namespace.createElement("div",{className:r("flex flex-row items-center gap-2")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},s),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},e),React__namespace.createElement(nr,{asChild:!0,title:t,trigger:React__namespace.createElement(Info,{className:r("w-5 h-5 text-gray-400")}),content:a})),i&&React__namespace.createElement("p",{className:r("text-gray-400 ml-[50px] text-xs md:text-sm lg:text-sm")},i))}function Mt({icon:e,infoDescription:t,title:o,titleDescription:a,infoTitle:i,actions:s}){return React__namespace.createElement("div",{className:r("flex flex-row justify-between items-stretch")},React__namespace.createElement(sr,{title:o,titleDescription:a,infoTitle:i,icon:e,infoDescription:t}),s&&s)}var Lt=({clientKey:e,apiKey:t})=>{let[o,a]=React__namespace.useState(!0),[i,s]=React__namespace.useState(),R=!!e;React__namespace.useEffect(()=>{async function d(){let m=await _t({clientKey:e});s(m);}d();},[]);let c=React__namespace.useCallback(async d=>{let{url:m,requestInit:E}=d,{headers:W,...D}=E??{},k=i;!i?.token&&e&&(k=await _t({clientKey:e}));let z={"Content-Type":"application/json",...k?.token&&{Authorization:`Bearer ${k?.token}`},...t&&{"x-api-key":t},...W},A=await fetch(m,{headers:z,...D});try{a(!0);let L=await A.json();return a(!1),k?.token&&s(k),L}catch(L){console.error(`Error requesting ${m}`,L),a(!1);return}},[i,e,t]);return {isLoading:o,tokens:i,request:c,isExternal:R}};var gr="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function un({apiKey:e,mapOptions:t,geoJsonLayerInput:o,markers:a,markersIcon:i,markerEvents:s}){let R=React__namespace.useRef(null),[c,d]=React__namespace.useState(null),[m,E]=React__namespace.useState(!1);React__namespace.useEffect(()=>{R.current&&new Loader({apiKey:e??gr}).importLibrary("maps").then(()=>{t.center||(t.center={lat:39.8283,lng:-98.5795}),R.current&&W(R.current,t);});},[]);let W=(A,L)=>{d(new window.google.maps.Map(A,L)),o&&z(o),k(a),E(!0);},D=(A,L)=>{c&&(c.setCenter(A),c.setZoom(L));},k=A=>{if(!c||!A)return;let L=new google.maps.LatLngBounds;A.forEach((y,f)=>{L.extend(new google.maps.LatLng(y.lat,y.lng));let b=new google.maps.Marker({position:{lat:y.lat,lng:y.lng},map:c,icon:y.icon??i,label:y.label});s&&s(f,b);}),c.setCenter(L.getCenter()),c.setZoom(3);},z=({center:A,geoJson:L})=>{if(!c||!L)return;A&&(c.setCenter(A),new window.google.maps.Marker({position:A,map:c}));let y=new window.google.maps.Data;y.addGeoJson(L),y.setStyle(f=>({fillColor:f.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),y.setMap(c);};return {mapRef:R,setGeojson:z,setMarkers:k,zoomHandler:D,isMapReady:m}}var Rr=un;var vr=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],br="https://api.liberty.percyai.io/location/v1/heatmap";function xr(){return React__namespace.createElement("div",{className:r("absolute top-4 left-4 bg-white bg-opacity-70 p-2 shadow-lg flex flex-col")},React__namespace.createElement("div",{className:r("flex justify-between")},React__namespace.createElement("div",{className:r("text-left text-xs")},"Active"),React__namespace.createElement("div",{className:r("text-right text-xs")},"Very Active")),React__namespace.createElement("div",{className:r("flex flex-col items-center space-y-2")},React__namespace.createElement("div",{className:r("flex")},vr.map((e,t)=>React__namespace.createElement("div",{key:t,className:r("w-4 h-4"),style:{backgroundColor:e}})))))}function cp({zipcode:e,url:t=br,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:i,clientKey:s,apiKey:R,height:c="420px"}){let{request:d,isLoading:m,tokens:E}=Lt({clientKey:s,apiKey:R}),W=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:D,setGeojson:k,isMapReady:z}=Rr({mapOptions:W,apiKey:i});return React__namespace.useEffect(()=>{let A=!0;async function L(){let y=he(E?.meta,"color");if(e&&t&&A&&z){let f=new URL(t);f.searchParams.set("zipcode",e),y?.value&&f.searchParams.set("colors",y?.value);try{let b=await d({url:f.toString()});b&&A&&k(b.data);}catch(b){console.error("Error fetching heatmap data:",b);}}}return z&&L(),()=>{A=!1;}},[s,R,z]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(Mt,{title:"Heat Map",infoDescription:"The best way to visualize the distribution of data in a geographical area.",infoTitle:"Heat Map",icon:React__namespace.createElement(MapPin,null)}),React__namespace.createElement(St,null,React__namespace.createElement("div",{className:"relative w-full aspect-video rounded-md overflow-hidden",style:{height:c}},React__namespace.createElement("div",{ref:D,className:r("min-h-full w-full")}),React__namespace.createElement(xr,null),m&&React__namespace.createElement("div",{className:r("absolute inset-0 flex items-center justify-center")},React__namespace.createElement(nt,null)))))}
35215
35215
 
35216
35216
  var t=p(cp,{props:{zipcode:"string",url:"string",zoomLevel:"number",zoomControl:"boolean",googleApiKey:"string",clientKey:"string",apiKey:"string"}});customElements&&customElements.define("heat-map",t);
35217
35217