@momo-webplatform/mobase 0.2.32 → 0.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";var Ur=Object.create;var St=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Qr=Object.getOwnPropertyNames;var Zr=Object.getPrototypeOf,Xr=Object.prototype.hasOwnProperty;var Yr=(e,t)=>{for(var o in t)St(e,o,{get:t[o],enumerable:!0})},Pa=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Qr(t))!Xr.call(e,r)&&r!==o&&St(e,r,{get:()=>t[r],enumerable:!(i=qr(t,r))||i.enumerable});return e};var g=(e,t,o)=>(o=e!=null?Ur(Zr(e)):{},Pa(t||!e||!e.__esModule?St(o,"default",{value:e,enumerable:!0}):o,e)),Kr=e=>Pa(St({},"__esModule",{value:!0}),e);var Yn={};Yr(Yn,{Accordion:()=>et,AccordionContent:()=>at,AccordionItem:()=>tt,AccordionTrigger:()=>ot,AlertDialog:()=>za,AlertDialogAction:()=>yo,AlertDialogCancel:()=>wo,AlertDialogContent:()=>uo,AlertDialogDescription:()=>xo,AlertDialogFooter:()=>vo,AlertDialogHeader:()=>ho,AlertDialogOverlay:()=>It,AlertDialogPortal:()=>fo,AlertDialogTitle:()=>bo,AlertDialogTrigger:()=>Fa,AspectRatio:()=>wt,Badge:()=>sr,Breadcrumb:()=>eo,BreadcrumbEllipsis:()=>no,BreadcrumbItem:()=>oo,BreadcrumbLink:()=>ao,BreadcrumbList:()=>to,BreadcrumbPage:()=>io,BreadcrumbSeparator:()=>ro,Button:()=>ae,Callout:()=>Ui,Card:()=>ea,CardContent:()=>ia,CardDescription:()=>aa,CardFooter:()=>ra,CardHeader:()=>ta,CardTitle:()=>oa,Checkbox:()=>so,ChoiceboxGroup:()=>fa,ChoiceboxGroupItem:()=>ua,ChoiceboxMultiItem:()=>ha,Combobox:()=>Gi,ComboboxContent:()=>Wi,ComboboxTrigger:()=>Oi,Command:()=>Qt,CommandDialog:()=>zi,CommandEmpty:()=>la,CommandGroup:()=>ma,CommandInput:()=>na,CommandItem:()=>da,CommandList:()=>sa,CommandSeparator:()=>ca,CommandShortcut:()=>pa,Dialog:()=>$e,DialogBody:()=>nt,DialogClose:()=>Ba,DialogContent:()=>He,DialogDescription:()=>go,DialogFooter:()=>co,DialogHeader:()=>mo,DialogOverlay:()=>Et,DialogPortal:()=>lo,DialogQr:()=>je,DialogTitle:()=>po,DialogTrigger:()=>_a,Footer:()=>Vi,HeaderNavigation:()=>Ko,Heading:()=>Ua,HeadingGroup:()=>Qa,HeadingSub:()=>qa,HeadingTagline:()=>ja,HeroSection:()=>vr,IconButton:()=>be,LightBoxContent:()=>tr,LightboxGallery:()=>or,LightboxThumbnail:()=>Ji,NavigationMenu:()=>dt,NavigationMenuContent:()=>ht,NavigationMenuItem:()=>gt,NavigationMenuLink:()=>Qe,NavigationMenuList:()=>pt,NavigationMenuTrigger:()=>ut,Pagination:()=>Po,Popover:()=>Ht,PopoverContent:()=>lt,PopoverTrigger:()=>_t,Progressbar:()=>ya,RadioGroup:()=>Zo,RadioGroupItem:()=>Xo,SearchBar:()=>Zi,Select:()=>ui,SelectContent:()=>Go,SelectGroup:()=>vi,SelectItem:()=>bi,SelectLabel:()=>$o,SelectScrollDownButton:()=>jt,SelectScrollUpButton:()=>$t,SelectSeparator:()=>jo,SelectTrigger:()=>Wo,SelectValue:()=>hi,SiteMeta:()=>Wr,Slider:()=>wa,Stepper:()=>gi,Switch:()=>qo,Tabs:()=>Xa,TabsContent:()=>ko,TabsList:()=>Ro,TabsTrigger:()=>To,TextArea:()=>ei,TextButton:()=>ct,TextInput:()=>pi,ToastAction:()=>Io,Toaster:()=>ii,Tooltip:()=>ci,TooltipArrow:()=>zo,TooltipContent:()=>Fo,TooltipProvider:()=>mi,TooltipTrigger:()=>di,badgeVariants:()=>va,buttonVariants:()=>se,mobaseTW:()=>Or,navigationMenuTriggerStyle:()=>ft,textButtonVariants:()=>Bo,toast:()=>Ao,useToast:()=>Wt});module.exports=Kr(Yn);var Je=g(require("react"),1),Q=g(require("@radix-ui/react-accordion"),1),ka=require("@heroicons/react/20/solid");var Ra=require("clsx"),Jr=g(require("react"),1),Ta=require("tailwind-merge");var he={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Email:"hotro@momo.vn"}};var Ca={Address:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\xE2n Ph\xFA, Qu\u1EADn 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"};var Ke=[{Name:"Facebook",Image:"https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",Link:"https://www.facebook.com/vimomo"},{Name:"Linkedin",Image:"https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",Link:"https://www.linkedin.com/company/momo-mservice/"},{Name:"Youtube",Image:"https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",Link:"https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw"}],Jt=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var _={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function a(...e){return(0,Ta.twMerge)((0,Ra.clsx)(e))}var ve=require("react/jsx-runtime"),et=Je.forwardRef(({className:e,...t},o)=>(0,ve.jsx)(Q.Root,{ref:o,...t}));et.displayName="AccordionRoot";var tt=Je.forwardRef(({className:e,...t},o)=>(0,ve.jsx)(Q.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));tt.displayName="AccordionItem";var ot=Je.forwardRef(({className:e,children:t,...o},i)=>(0,ve.jsx)(Q.Header,{className:"flex",children:(0,ve.jsxs)(Q.Trigger,{ref:i,className:a("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,(0,ve.jsx)(ka.ChevronDownIcon,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));ot.displayName=Q.Trigger.displayName;var at=Je.forwardRef(({className:e,children:t,...o},i)=>(0,ve.jsx)(Q.Content,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:(0,ve.jsx)("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));at.displayName=Q.Content.displayName;var Ge=g(require("react"),1),At=require("@radix-ui/react-icons"),Da=require("@radix-ui/react-slot");var Z=require("react/jsx-runtime"),eo=Ge.forwardRef(({className:e,...t},o)=>(0,Z.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));eo.displayName="Breadcrumb";var to=Ge.forwardRef(({className:e,...t},o)=>(0,Z.jsx)("ol",{ref:o,className:a("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));to.displayName="BreadcrumbList";var oo=Ge.forwardRef(({className:e,...t},o)=>(0,Z.jsx)("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));oo.displayName="BreadcrumbItem";var ao=Ge.forwardRef(({asChild:e,className:t,...o},i)=>(0,Z.jsx)(e?Da.Slot:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));ao.displayName="BreadcrumbLink";var io=Ge.forwardRef(({className:e,...t},o)=>(0,Z.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));io.displayName="BreadcrumbPage";var ro=({children:e,className:t,...o})=>(0,Z.jsx)("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??(0,Z.jsx)(At.ChevronRightIcon,{className:"w-2 h-2"})});ro.displayName="BreadcrumbSeparator";var no=({className:e,...t})=>(0,Z.jsxs)("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,Z.jsx)(At.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,Z.jsx)("span",{className:"sr-only",children:"More"})]});no.displayName="BreadcrumbElipssis";var Aa=g(require("react"),1),Ma=require("@radix-ui/react-slot"),Ea=require("class-variance-authority");var B=require("react/jsx-runtime"),en=({className:e})=>(0,B.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,B.jsx)("path",{opacity:"0.9",fillRule:"evenodd",clipRule:"evenodd",d:"M15 9H19C19.55 9 20 9.45 20 10C20 10.55 19.55 11 19 11H15C14.45 11 14 10.55 14 10C14 9.45 14.45 9 15 9Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.8301 11.634L18.2942 13.634C18.7706 13.909 18.9353 14.5237 18.6603 15C18.3853 15.4763 17.7706 15.641 17.2942 15.366L13.8301 13.366C13.3538 13.091 13.1891 12.4763 13.4641 12C13.7391 11.5237 14.3538 11.359 14.8301 11.634Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.25",fillRule:"evenodd",clipRule:"evenodd",d:"M13.366 13.8301L15.366 17.2942C15.641 17.7706 15.4763 18.3853 14.9999 18.6603C14.5236 18.9353 13.9089 18.7706 13.6339 18.2942L11.6339 14.8301C11.3589 14.3538 11.5236 13.7391 11.9999 13.4641C12.4763 13.1891 13.091 13.3538 13.366 13.8301Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.3",fillRule:"evenodd",clipRule:"evenodd",d:"M11 15V19C11 19.55 10.55 20 10 20C9.45 20 9 19.55 9 19V15C9 14.45 9.45 14 10 14C10.55 14 11 14.45 11 15Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.35",fillRule:"evenodd",clipRule:"evenodd",d:"M8.36597 14.8301L6.36597 18.2942C6.09097 18.7706 5.47626 18.9353 4.99994 18.6603C4.52363 18.3853 4.35892 17.7706 4.63392 17.2942L6.63392 13.8301C6.90892 13.3538 7.52363 13.1891 7.99994 13.4641C8.47626 13.7391 8.64097 14.3538 8.36597 14.8301Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.4",fillRule:"evenodd",clipRule:"evenodd",d:"M6.16986 13.366L2.70576 15.366C2.22945 15.641 1.61474 15.4763 1.33974 15C1.06474 14.5237 1.22945 13.909 1.70576 13.634L5.16986 11.634C5.64618 11.359 6.26089 11.5237 6.53589 12C6.81089 12.4763 6.64618 13.091 6.16986 13.366Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.45",fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H1C0.45 11 0 10.55 0 10C0 9.45 0.45 9 1 9H5C5.55 9 6 9.45 6 10C6 10.55 5.55 11 5 11Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.16986 8.36603L1.70576 6.36603C1.22945 6.09103 1.06474 5.47632 1.33974 5C1.61474 4.52369 2.22945 4.35898 2.70576 4.63398L6.16986 6.63398C6.64618 6.90898 6.81089 7.52369 6.53589 8C6.26089 8.47632 5.64618 8.64103 5.16986 8.36603Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.55",fillRule:"evenodd",clipRule:"evenodd",d:"M6.63403 6.16986L4.63403 2.70576C4.35903 2.22945 4.52374 1.61474 5.00006 1.33974C5.47637 1.06474 6.09108 1.22945 6.36608 1.70576L8.36608 5.16986C8.64108 5.64618 8.47637 6.26089 8.00006 6.53589C7.52374 6.81089 6.90903 6.64618 6.63403 6.16986Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.65",fillRule:"evenodd",clipRule:"evenodd",d:"M9 5L9 1C9 0.45 9.45 0 10 0C10.55 0 11 0.45 11 1V5C11 5.55 10.55 6 10 6C9.45 6 9 5.55 9 5Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.75",fillRule:"evenodd",clipRule:"evenodd",d:"M11.634 5.16986L13.634 1.70576C13.909 1.22945 14.5237 1.06474 15.0001 1.33974C15.4764 1.61474 15.6411 2.22945 15.3661 2.70576L13.3661 6.16986C13.0911 6.64618 12.4764 6.81089 12.0001 6.53589C11.5237 6.26089 11.359 5.64618 11.634 5.16986Z",fill:"currentColor"}),(0,B.jsx)("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z",fill:"currentColor"})]}),Sa=en;var Pe=require("react/jsx-runtime"),se=(0,Ea.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),ae=Aa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:l=!1,...m},c)=>{let f=i?Ma.Slot:"button",y=a(se({variant:t,size:o,className:e}),{"cursor-wait":r});return(0,Pe.jsx)(Pe.Fragment,{children:i?(0,Pe.jsx)(f,{className:y,type:"button",disabled:l,ref:c,...m,children:m.children}):(0,Pe.jsxs)(f,{className:y,type:"button",disabled:l,ref:c,...m,children:[r&&(0,Pe.jsx)(Sa,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});ae.displayName="Button";var Ia=g(require("react"),1),it=g(require("@radix-ui/react-checkbox"),1),La=require("@heroicons/react/16/solid");var Mt=require("react/jsx-runtime"),so=Ia.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(it.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:(0,Mt.jsx)(it.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,Mt.jsx)(La.CheckIcon,{className:"h-4 w-4"})})}));so.displayName=it.Root.displayName;var rt=g(require("react"),1),C=g(require("@radix-ui/react-dialog"),1);var Ha=require("@heroicons/react/16/solid"),z=require("react/jsx-runtime"),$e=C.Root,_a=C.Trigger,lo=C.Portal,Ba=C.Close,Et=rt.forwardRef(({className:e,...t},o)=>(0,z.jsx)(C.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Et.displayName=C.Overlay.displayName;var He=rt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:i="md",position:r="center",height:l="auto",isFull:m=!1,children:c,...f},y)=>{let N={base:"fixed z-50 flex bg-white shadow-lg sm:rounded-xl bg-white text-gray-900 w-full max-w-[calc(-64px_+_100vw)] max-h-[calc(-64px_+_100vh)] flex-col",center:"left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] 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%] rounded-xl",bottom:"!duration-300 bottom-0 sm:bottom-1/2 left-1/2 rounded-t-xl sm:translate-y-1/2 data-[state=closed]:animate-out -translate-x-1/2 data-[state=open]:animate-in data-[state=open]:slide-in-from-left-1/2 ease-in-out data-[state=open]:slide-in-from-bottom-2/3 data-[state=closed]:slide-out-to-bottom-2/3 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 max-w-full max-h-[calc(-32px_+_100vh)] sm:max-h-[calc(-64px_+_100vh)] sm:max-w-[calc(-64px_+_100vw)]",left:"!duration-300 max-h-screen !h-full rounded-r-xl sm:rounded-l-none top-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-left data-[state=closed]:animate-out data-[state=closed]:slide-out-to-left ease-in-out",right:"!duration-300 !h-full rounded-l-xl sm:rounded-r-none max-h-screen top-0 right-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right ease-in-out"},A={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},O={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},te=[N.base,N[r],A[i],O[l],m&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,z.jsxs)(lo,{children:[(0,z.jsx)(Et,{}),(0,z.jsxs)(C.Content,{ref:y,className:a(...te),...f,children:[c,!o&&(0,z.jsxs)(C.Close,{className:a("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[(0,z.jsx)(Ha.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,z.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});He.displayName=C.Content.displayName;var mo=({className:e,...t})=>(0,z.jsx)("div",{className:a("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});mo.displayName="DialogHeader";var nt=({className:e,isCondensed:t=!1,...o})=>(0,z.jsx)("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});nt.displayName="DialogBody";var co=({className:e,isDivider:t=!0,...o})=>(0,z.jsx)("div",{className:a("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});co.displayName="DialogFooter";var po=rt.forwardRef(({className:e,...t},o)=>(0,z.jsx)(C.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));po.displayName=C.Title.displayName;var go=rt.forwardRef(({className:e,...t},o)=>(0,z.jsx)(C.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));go.displayName=C.Description.displayName;var Va=require("qrcode.react"),d=require("react/jsx-runtime"),tn=({img:e="",children:t,isQrForAll:o})=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"qrcode__scan__container",children:(0,d.jsxs)("div",{className:"qrcode__scan",children:[(0,d.jsx)("div",{className:"qrcode__gradient",children:(0,d.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,d.jsx)("div",{className:"qrcode__border",children:(0,d.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,d.jsx)("div",{className:"qrcode__image p-4",children:e?(0,d.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,d.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),(0,d.jsx)("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",(0,d.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,d.jsx)("style",{children:`
1
+ "use strict";var rn=Object.create;var _t=Object.defineProperty;var nn=Object.getOwnPropertyDescriptor;var sn=Object.getOwnPropertyNames;var ln=Object.getPrototypeOf,mn=Object.prototype.hasOwnProperty;var dn=(e,t)=>{for(var o in t)_t(e,o,{get:t[o],enumerable:!0})},Ma=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of sn(t))!mn.call(e,r)&&r!==o&&_t(e,r,{get:()=>t[r],enumerable:!(i=nn(t,r))||i.enumerable});return e};var f=(e,t,o)=>(o=e!=null?rn(ln(e)):{},Ma(t||!e||!e.__esModule?_t(o,"default",{value:e,enumerable:!0}):o,e)),cn=e=>Ma(_t({},"__esModule",{value:!0}),e);var gs={};dn(gs,{Accordion:()=>rt,AccordionContent:()=>lt,AccordionItem:()=>nt,AccordionTrigger:()=>st,AlertDialog:()=>Ka,AlertDialogAction:()=>So,AlertDialogCancel:()=>Ao,AlertDialogContent:()=>Co,AlertDialogDescription:()=>Do,AlertDialogFooter:()=>To,AlertDialogHeader:()=>Ro,AlertDialogOverlay:()=>$t,AlertDialogPortal:()=>Po,AlertDialogTitle:()=>ko,AlertDialogTrigger:()=>Ja,AspectRatio:()=>Dt,Badge:()=>xr,Breadcrumb:()=>mo,BreadcrumbEllipsis:()=>ho,BreadcrumbItem:()=>po,BreadcrumbLink:()=>go,BreadcrumbList:()=>co,BreadcrumbPage:()=>fo,BreadcrumbSeparator:()=>uo,Button:()=>U,Calendar:()=>ct,Callout:()=>ir,Card:()=>la,CardContent:()=>pa,CardDescription:()=>ca,CardFooter:()=>ga,CardHeader:()=>ma,CardTitle:()=>da,Checkbox:()=>dt,ChoiceboxGroup:()=>Na,ChoiceboxGroupItem:()=>Pa,ChoiceboxMultiItem:()=>Ca,Combobox:()=>tr,ComboboxContent:()=>er,ComboboxTrigger:()=>Ji,Command:()=>ao,CommandDialog:()=>Yi,CommandEmpty:()=>ha,CommandGroup:()=>va,CommandInput:()=>fa,CommandItem:()=>xa,CommandList:()=>ua,CommandSeparator:()=>ba,CommandShortcut:()=>ya,DatePicker:()=>qa,Dialog:()=>Xe,DialogBody:()=>ft,DialogClose:()=>Za,DialogContent:()=>Ve,DialogDescription:()=>No,DialogFooter:()=>yo,DialogHeader:()=>xo,DialogOverlay:()=>Gt,DialogPortal:()=>bo,DialogQr:()=>Ze,DialogTitle:()=>wo,DialogTrigger:()=>Xa,Footer:()=>Zi,HeaderNavigation:()=>na,Heading:()=>ri,HeadingGroup:()=>si,HeadingSub:()=>ni,HeadingTagline:()=>ii,HeroSection:()=>Sr,IconButton:()=>we,LightBoxContent:()=>gr,LightboxGallery:()=>fr,LightboxThumbnail:()=>cr,NavigationMenu:()=>bt,NavigationMenuContent:()=>Pt,NavigationMenuItem:()=>yt,NavigationMenuLink:()=>Je,NavigationMenuList:()=>xt,NavigationMenuTrigger:()=>Nt,Pagination:()=>Io,Popover:()=>qe,PopoverContent:()=>Be,PopoverTrigger:()=>Qe,Progressbar:()=>Da,RadioGroup:()=>aa,RadioGroupItem:()=>ia,SearchBar:()=>sr,Select:()=>ki,SelectContent:()=>Yo,SelectGroup:()=>Si,SelectItem:()=>Ai,SelectLabel:()=>Ko,SelectScrollDownButton:()=>eo,SelectScrollUpButton:()=>Jt,SelectSeparator:()=>Jo,SelectTrigger:()=>Zo,SelectValue:()=>Di,SiteMeta:()=>en,Slider:()=>Sa,Stepper:()=>Ri,Switch:()=>ta,Tabs:()=>li,TabsContent:()=>Ho,TabsList:()=>Lo,TabsTrigger:()=>Eo,TextArea:()=>pi,TextButton:()=>vt,TextInput:()=>Ci,ToastAction:()=>Oo,Toaster:()=>hi,Tooltip:()=>Ni,TooltipArrow:()=>qo,TooltipContent:()=>Qo,TooltipProvider:()=>wi,TooltipTrigger:()=>Pi,badgeVariants:()=>Ra,buttonVariants:()=>j,mobaseTW:()=>Jr,navigationMenuTriggerStyle:()=>wt,textButtonVariants:()=>jo,toast:()=>Vo,useToast:()=>Yt});module.exports=cn(gs);var it=f(require("react"),1),K=f(require("@radix-ui/react-accordion"),1),Ha=require("@heroicons/react/20/solid");var La=require("clsx"),pn=f(require("react"),1),Ea=require("tailwind-merge");var be={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Email:"hotro@momo.vn"}};var Ia={Address:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\xE2n Ph\xFA, Qu\u1EADn 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"};var at=[{Name:"Facebook",Image:"https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",Link:"https://www.facebook.com/vimomo"},{Name:"Linkedin",Image:"https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",Link:"https://www.linkedin.com/company/momo-mservice/"},{Name:"Youtube",Image:"https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",Link:"https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw"}],lo=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var V={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function a(...e){return(0,Ea.twMerge)((0,La.clsx)(e))}var xe=require("react/jsx-runtime"),rt=it.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(K.Root,{ref:o,...t}));rt.displayName="AccordionRoot";var nt=it.forwardRef(({className:e,...t},o)=>(0,xe.jsx)(K.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));nt.displayName="AccordionItem";var st=it.forwardRef(({className:e,children:t,...o},i)=>(0,xe.jsx)(K.Header,{className:"flex",children:(0,xe.jsxs)(K.Trigger,{ref:i,className:a("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,(0,xe.jsx)(Ha.ChevronDownIcon,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));st.displayName=K.Trigger.displayName;var lt=it.forwardRef(({className:e,children:t,...o},i)=>(0,xe.jsx)(K.Content,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:(0,xe.jsx)("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));lt.displayName=K.Content.displayName;var Ue=f(require("react"),1),Bt=require("@radix-ui/react-icons"),_a=require("@radix-ui/react-slot");var J=require("react/jsx-runtime"),mo=Ue.forwardRef(({className:e,...t},o)=>(0,J.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));mo.displayName="Breadcrumb";var co=Ue.forwardRef(({className:e,...t},o)=>(0,J.jsx)("ol",{ref:o,className:a("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));co.displayName="BreadcrumbList";var po=Ue.forwardRef(({className:e,...t},o)=>(0,J.jsx)("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));po.displayName="BreadcrumbItem";var go=Ue.forwardRef(({asChild:e,className:t,...o},i)=>(0,J.jsx)(e?_a.Slot:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));go.displayName="BreadcrumbLink";var fo=Ue.forwardRef(({className:e,...t},o)=>(0,J.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));fo.displayName="BreadcrumbPage";var uo=({children:e,className:t,...o})=>(0,J.jsx)("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??(0,J.jsx)(Bt.ChevronRightIcon,{className:"w-2 h-2"})});uo.displayName="BreadcrumbSeparator";var ho=({className:e,...t})=>(0,J.jsxs)("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,J.jsx)(Bt.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,J.jsx)("span",{className:"sr-only",children:"More"})]});ho.displayName="BreadcrumbElipssis";var Va=f(require("react"),1),za=require("@radix-ui/react-slot"),Fa=require("class-variance-authority");var z=require("react/jsx-runtime"),gn=({className:e})=>(0,z.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,z.jsx)("path",{opacity:"0.9",fillRule:"evenodd",clipRule:"evenodd",d:"M15 9H19C19.55 9 20 9.45 20 10C20 10.55 19.55 11 19 11H15C14.45 11 14 10.55 14 10C14 9.45 14.45 9 15 9Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.8301 11.634L18.2942 13.634C18.7706 13.909 18.9353 14.5237 18.6603 15C18.3853 15.4763 17.7706 15.641 17.2942 15.366L13.8301 13.366C13.3538 13.091 13.1891 12.4763 13.4641 12C13.7391 11.5237 14.3538 11.359 14.8301 11.634Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.25",fillRule:"evenodd",clipRule:"evenodd",d:"M13.366 13.8301L15.366 17.2942C15.641 17.7706 15.4763 18.3853 14.9999 18.6603C14.5236 18.9353 13.9089 18.7706 13.6339 18.2942L11.6339 14.8301C11.3589 14.3538 11.5236 13.7391 11.9999 13.4641C12.4763 13.1891 13.091 13.3538 13.366 13.8301Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.3",fillRule:"evenodd",clipRule:"evenodd",d:"M11 15V19C11 19.55 10.55 20 10 20C9.45 20 9 19.55 9 19V15C9 14.45 9.45 14 10 14C10.55 14 11 14.45 11 15Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.35",fillRule:"evenodd",clipRule:"evenodd",d:"M8.36597 14.8301L6.36597 18.2942C6.09097 18.7706 5.47626 18.9353 4.99994 18.6603C4.52363 18.3853 4.35892 17.7706 4.63392 17.2942L6.63392 13.8301C6.90892 13.3538 7.52363 13.1891 7.99994 13.4641C8.47626 13.7391 8.64097 14.3538 8.36597 14.8301Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.4",fillRule:"evenodd",clipRule:"evenodd",d:"M6.16986 13.366L2.70576 15.366C2.22945 15.641 1.61474 15.4763 1.33974 15C1.06474 14.5237 1.22945 13.909 1.70576 13.634L5.16986 11.634C5.64618 11.359 6.26089 11.5237 6.53589 12C6.81089 12.4763 6.64618 13.091 6.16986 13.366Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.45",fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H1C0.45 11 0 10.55 0 10C0 9.45 0.45 9 1 9H5C5.55 9 6 9.45 6 10C6 10.55 5.55 11 5 11Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.16986 8.36603L1.70576 6.36603C1.22945 6.09103 1.06474 5.47632 1.33974 5C1.61474 4.52369 2.22945 4.35898 2.70576 4.63398L6.16986 6.63398C6.64618 6.90898 6.81089 7.52369 6.53589 8C6.26089 8.47632 5.64618 8.64103 5.16986 8.36603Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.55",fillRule:"evenodd",clipRule:"evenodd",d:"M6.63403 6.16986L4.63403 2.70576C4.35903 2.22945 4.52374 1.61474 5.00006 1.33974C5.47637 1.06474 6.09108 1.22945 6.36608 1.70576L8.36608 5.16986C8.64108 5.64618 8.47637 6.26089 8.00006 6.53589C7.52374 6.81089 6.90903 6.64618 6.63403 6.16986Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.65",fillRule:"evenodd",clipRule:"evenodd",d:"M9 5L9 1C9 0.45 9.45 0 10 0C10.55 0 11 0.45 11 1V5C11 5.55 10.55 6 10 6C9.45 6 9 5.55 9 5Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.75",fillRule:"evenodd",clipRule:"evenodd",d:"M11.634 5.16986L13.634 1.70576C13.909 1.22945 14.5237 1.06474 15.0001 1.33974C15.4764 1.61474 15.6411 2.22945 15.3661 2.70576L13.3661 6.16986C13.0911 6.64618 12.4764 6.81089 12.0001 6.53589C11.5237 6.26089 11.359 5.64618 11.634 5.16986Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z",fill:"currentColor"})]}),Ba=gn;var Re=require("react/jsx-runtime"),j=(0,Fa.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),U=Va.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:l=!1,...m},d)=>{let g=i?za.Slot:"button",x=a(j({variant:t,size:o,className:e}),{"cursor-wait":r});return(0,Re.jsx)(Re.Fragment,{children:i?(0,Re.jsx)(g,{className:x,type:"button",disabled:l,ref:d,...m,children:m.children}):(0,Re.jsxs)(g,{className:x,type:"button",disabled:l,ref:d,...m,children:[r&&(0,Re.jsx)(Ba,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});U.displayName="Button";var zt=f(require("react"),1);var Ft=require("date-fns/locale"),Ga=require("react-day-picker"),Ot=require("lucide-react"),$a=f(require("lunisolar"),1);var Oa=f(require("react"),1),mt=f(require("@radix-ui/react-checkbox"),1),Wa=require("@heroicons/react/16/solid");var Vt=require("react/jsx-runtime"),dt=Oa.forwardRef(({className:e,...t},o)=>(0,Vt.jsx)(mt.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:(0,Vt.jsx)(mt.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,Vt.jsx)(Wa.CheckIcon,{className:"h-4 w-4"})})}));dt.displayName=mt.Root.displayName;var H=require("react/jsx-runtime"),fn=({date:e,cusContent:t})=>{let o=null;return o=(0,$a.default)(e).lunar,(0,H.jsxs)(H.Fragment,{children:[t?t(e):e.getDate(),o&&(0,H.jsx)("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none text-gray-700 group-aria-selected:text-white group-aria-selected/mid:!text-gray-700 luna-date hidden group-[.show-luna]:block ",children:o.day})]})},un={formatCaption:e=>`Th\xE1ng ${e.getMonth()+1}/${e.getFullYear()}`,formatWeekdayName:e=>{let t=e.getDay();return["CN","T2","T3","T4","T5","T6","T7"][t]}};function hn({isShow:e,setIsShow:t,lang:o}){let i=zt.useId();return(0,H.jsx)("div",{className:"w-full p-3 pt-0",children:(0,H.jsxs)("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[(0,H.jsx)(dt,{checked:e,id:`check-show-luna-${i}`,onCheckedChange:r=>{typeof r=="boolean"&&t(r)}}),(0,H.jsx)("label",{htmlFor:`check-show-luna-${i}`,className:"text-sm text-gray-900 peer-disabled:text-gray-400 leading-none peer-disabled:cursor-default cursor-pointer",children:o==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var vn=e=>e.getDay()===0||e.getDay()===6;function ct({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:i=!1,lang:r="vi",cusContentDay:l,...m}){let[d,g]=zt.useState(!0);return(0,H.jsx)(Ga.DayPicker,{locale:r==="vi"?Ft.vi:Ft.enUS,showOutsideDays:o,className:a("border border-gray-200 rounded-b-md b bg-white shadow-md w-fit",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-y-0",month:"p-3 pt-0 w-full",caption:"flex justify-center p-3 bg-blue-50 relative items-center -mx-3 mb-3",caption_label:"text-sm font-medium text-gray-900",nav:"space-x-1 flex items-center",nav_button:a(j({variant:"transparent"}),"h-7 w-7 p-0 text-gray-900 hover:bg-transparent hover:opacity-70"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse",head_row:"flex space-x-0.5",head_cell:a("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:text-red-600",r==="vi"?"[&:nth-child(6)]:text-red-600":"[&:nth-child(1)]:text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative",day:a(j({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:bg-pink-500 aria-selected:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",d&&"show-luna"),day_range_end:"day-range-end [&.day-range-end]:rounded-l-none",day_range_start:"day-range-start [&.day-range-start]:rounded-r-none",day_today:"day-today [&:not([aria-selected])]:bg-pink-50",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:"!text-gray-900 !bg-pink-50 !rounded-none group/mid",day_hidden:"invisible",...t},modifiers:{weekend:vn},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>(0,H.jsx)(Ot.ChevronLeft,{className:"h-6 w-6"}),IconRight:()=>(0,H.jsx)(Ot.ChevronRight,{className:"h-6 w-6"}),DayContent:x=>(0,H.jsx)(fn,{date:x.date,cusContent:l}),Months:({children:x})=>(0,H.jsxs)("div",{className:"w-full",children:[(0,H.jsx)("div",{className:a("flex flex-col sm:flex-row months-wrapper"),children:x}),i&&(0,H.jsx)(hn,{isShow:d,setIsShow:g,lang:r})]})},formatters:r==="vi"?un:{},...m})}ct.displayName="Calendar";var ja=f(require("react"),1),ye=f(require("@radix-ui/react-popover"),1);var vo=require("react/jsx-runtime"),qe=ye.Root,Qe=ye.Trigger,Be=ja.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},r)=>(0,vo.jsx)(ye.Portal,{children:(0,vo.jsx)(ye.Content,{ref:r,align:t,sideOffset:o,className:a("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 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),...i})}));Be.displayName=ye.Content.displayName;var pt=require("date-fns");var Ua=require("lucide-react");var Wt=require("@heroicons/react/16/solid"),k=require("react/jsx-runtime"),qa=({label:e,placeholder:t="Select a value",size:o=1,message:i,isError:r,disabled:l,dateFormat:m="dd/MM/yyyy",buttonProps:d,popoverProps:g,calendarProps:x})=>{let u=x?.selected||null;return(0,k.jsxs)("div",{children:[(0,k.jsxs)(qe,{...g,children:[(0,k.jsx)(Qe,{asChild:!0,children:(0,k.jsxs)(U,{variant:"secondary",className:a("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!u||!(u instanceof Date)&&typeof u=="object"&&(!("from"in u)||!u.from))&&"text-gray-500",r&&"border-red-500 ring-red-500 ring-1"),disabled:l,...d,children:[(0,k.jsx)("span",{className:"line-clamp-1 flex-1",children:u instanceof Date?(0,pt.format)(u,m):u&&typeof u=="object"&&"from"in u&&"to"in u?(0,k.jsx)(k.Fragment,{children:u.from?u.to?(0,k.jsxs)(k.Fragment,{children:[(0,pt.format)(u.from,m)," -"," ",(0,pt.format)(u.to,m)]}):(0,pt.format)(u.from,m):t}):t}),e&&(0,k.jsx)("span",{className:a("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",r&&"text-red-500"),children:e}),(0,k.jsx)(Ua.Calendar,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),(0,k.jsx)(Be,{className:"w-auto !p-0 border-none",children:(0,k.jsx)(ct,{...x})})]}),i&&(0,k.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[r?(0,k.jsx)(Wt.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,k.jsx)(Wt.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,k.jsx)("span",{className:a(r?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:i})]})]})};var gt=f(require("react"),1),C=f(require("@radix-ui/react-dialog"),1);var Qa=require("@heroicons/react/16/solid"),O=require("react/jsx-runtime"),Xe=C.Root,Xa=C.Trigger,bo=C.Portal,Za=C.Close,Gt=gt.forwardRef(({className:e,...t},o)=>(0,O.jsx)(C.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Gt.displayName=C.Overlay.displayName;var Ve=gt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:i="md",position:r="center",height:l="auto",isFull:m=!1,children:d,...g},x)=>{let u={base:"fixed z-50 flex bg-white shadow-lg sm:rounded-xl bg-white text-gray-900 w-full max-w-[calc(-64px_+_100vw)] max-h-[calc(-64px_+_100vh)] flex-col",center:"left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] 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%] rounded-xl",bottom:"!duration-300 bottom-0 sm:bottom-1/2 left-1/2 rounded-t-xl sm:translate-y-1/2 data-[state=closed]:animate-out -translate-x-1/2 data-[state=open]:animate-in data-[state=open]:slide-in-from-left-1/2 ease-in-out data-[state=open]:slide-in-from-bottom-2/3 data-[state=closed]:slide-out-to-bottom-2/3 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 max-w-full max-h-[calc(-32px_+_100vh)] sm:max-h-[calc(-64px_+_100vh)] sm:max-w-[calc(-64px_+_100vw)]",left:"!duration-300 max-h-screen !h-full rounded-r-xl sm:rounded-l-none top-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-left data-[state=closed]:animate-out data-[state=closed]:slide-out-to-left ease-in-out",right:"!duration-300 !h-full rounded-l-xl sm:rounded-r-none max-h-screen top-0 right-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right ease-in-out"},M={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},G={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},re=[u.base,u[r],M[i],G[l],m&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,O.jsxs)(bo,{children:[(0,O.jsx)(Gt,{}),(0,O.jsxs)(C.Content,{ref:x,className:a(...re),...g,children:[d,!o&&(0,O.jsxs)(C.Close,{className:a("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[(0,O.jsx)(Qa.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,O.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});Ve.displayName=C.Content.displayName;var xo=({className:e,...t})=>(0,O.jsx)("div",{className:a("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});xo.displayName="DialogHeader";var ft=({className:e,isCondensed:t=!1,...o})=>(0,O.jsx)("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});ft.displayName="DialogBody";var yo=({className:e,isDivider:t=!0,...o})=>(0,O.jsx)("div",{className:a("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});yo.displayName="DialogFooter";var wo=gt.forwardRef(({className:e,...t},o)=>(0,O.jsx)(C.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));wo.displayName=C.Title.displayName;var No=gt.forwardRef(({className:e,...t},o)=>(0,O.jsx)(C.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));No.displayName=C.Description.displayName;var Ya=require("qrcode.react"),c=require("react/jsx-runtime"),bn=({img:e="",children:t,isQrForAll:o})=>(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"qrcode__scan__container",children:(0,c.jsxs)("div",{className:"qrcode__scan",children:[(0,c.jsx)("div",{className:"qrcode__gradient",children:(0,c.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,c.jsx)("div",{className:"qrcode__border",children:(0,c.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,c.jsx)("div",{className:"qrcode__image p-4",children:e?(0,c.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,c.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),(0,c.jsx)("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,c.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",(0,c.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,c.jsx)("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -67,7 +67,7 @@
67
67
  transform: translate3d(0, 30%, 0);
68
68
  }
69
69
  }
70
- `})]}),je=({className:e,children:t,title:o,shortTitle:i,qrImage:r,qrLink:l,logoQr:m,isQrForAll:c=!1,...f})=>(0,d.jsx)($e,{...f,children:(0,d.jsx)(He,{className:a("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:(0,d.jsx)(nt,{className:"p-0",children:(0,d.jsxs)("div",{className:"flex flex-row flex-wrap",children:[(0,d.jsx)("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||(0,d.jsxs)("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[(0,d.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,d.jsx)("div",{className:"flex-none",children:(0,d.jsx)("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),(0,d.jsxs)("div",{className:"flex-1 pl-4",children:[(0,d.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),(0,d.jsx)("div",{className:"mt-1 text-gray-500 ",children:c?"M\u1EDF app MoMo ho\u1EB7c \u1EE9ng d\u1EE5ng ng\xE2n h\xE0ng/v\xED \u0111i\u1EC7n t\u1EED ch\u1EA5p nh\u1EADn m\xE3 v\u1EA1ch t\u1EEB QR \u0110a N\u0103ng":"M\u1EDF \u1EE9ng d\u1EE5ng camera m\u1EB7c \u0111\u1ECBnh ho\u1EB7c \u1EE9ng d\u1EE5ng h\u1ED7 tr\u1EE3 QR code c\u1EE7a b\u1EA1n"})]})]}),(0,d.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,d.jsx)("div",{className:"flex-none",children:(0,d.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),(0,d.jsxs)("div",{className:"flex-1 pl-4",children:[(0,d.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),(0,d.jsx)("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),(0,d.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,d.jsx)("div",{className:"flex-none",children:(0,d.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),(0,d.jsxs)("div",{className:"flex-1 pl-4",children:[(0,d.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),(0,d.jsxs)("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",i||"Truy c\u1EADp ngay"]})]})]})]})}),(0,d.jsx)("div",{className:"flex w-full items-center justify-center md:w-7/12 h-auto",style:{background:"url(https://homepage.momocdn.net/jk/momo2020/img/intro/qrcode-pattern.png) 10px 10px no-repeat,linear-gradient(to top,#c1177c,#e11b90)"},children:(0,d.jsxs)("div",{className:"px-5 py-10 text-center",children:[o&&(0,d.jsx)("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),(0,d.jsxs)("div",{className:"relative",children:[c&&(0,d.jsx)("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:(0,d.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),(0,d.jsx)(tn,{img:r,isQrForAll:c,children:l&&(0,d.jsx)(Va.QRCodeSVG,{value:l,size:215,imageSettings:{src:`${m||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});var _e=g(require("react"),1),w=g(require("@radix-ui/react-alert-dialog"),1);var X=require("react/jsx-runtime"),za=w.Root,Fa=w.Trigger,fo=w.Portal,It=_e.forwardRef(({className:e,...t},o)=>(0,X.jsx)(w.Overlay,{className:a("fixed inset-0 z-50 bg-black/70 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}));It.displayName=w.Overlay.displayName;var uo=_e.forwardRef(({className:e,...t},o)=>(0,X.jsxs)(fo,{children:[(0,X.jsx)(It,{}),(0,X.jsx)(w.Content,{ref:o,className:a("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 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%] rounded-xl",e),...t})]}));uo.displayName=w.Content.displayName;var ho=({className:e,...t})=>(0,X.jsx)("div",{className:a("flex flex-col space-y-2 text-left",e),...t});ho.displayName="AlertDialogHeader";var vo=({className:e,...t})=>(0,X.jsx)("div",{className:a("flex flex-row justify-end space-x-4",e),...t});vo.displayName="AlertDialogFooter";var bo=_e.forwardRef(({className:e,...t},o)=>(0,X.jsx)(w.Title,{ref:o,className:a("text-lg text-gray-900 font-semibold",e),...t}));bo.displayName=w.Title.displayName;var xo=_e.forwardRef(({className:e,...t},o)=>(0,X.jsx)(w.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));xo.displayName=w.Description.displayName;var yo=_e.forwardRef(({className:e,...t},o)=>(0,X.jsx)(w.Action,{ref:o,className:a(se({variant:"primary"}),"",e),...t}));yo.displayName=w.Action.displayName;var wo=_e.forwardRef(({className:e,...t},o)=>(0,X.jsx)(w.Cancel,{ref:o,className:a(se({variant:"secondary"}),e),...t}));wo.displayName=w.Cancel.displayName;var Oa=g(require("react"),1),Wa=require("@radix-ui/react-slot"),Ga=require("class-variance-authority");var $a=require("react/jsx-runtime"),Be=(0,Ga.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 w-10",sm:"h-8 w-8 text-sm",lg:"h-12 w-12 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),be=Oa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:r=!1,...l},m)=>{let c=i?Wa.Slot:"button",f=a(Be({variant:t,size:o,className:e}));return(0,$a.jsx)(c,{className:f,disabled:r,ref:m,...l,children:l.children})});be.displayName="IconButton";var st=require("react");var Ue=require("react/jsx-runtime"),No=(0,st.createContext)({align:"center"}),ja=({color:e="pink",size:t="small",isTruncated:o=!1,className:i,children:r})=>{let l={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},m={small:"text-sm",large:"text-lg"};return(0,Ue.jsx)("div",{className:a("mb-1 font-semibold",l[e],m[t],o&&"truncate",i),children:r})},Ua=({as:e="h2",size:t="small",color:o="pink",isTruncated:i=!1,className:r,children:l})=>{let m=e,c={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},f={small:"lg:text-3xl text-2xl",large:"lg:text-4xl text-2xl"},{align:y}=(0,st.useContext)(No);return(0,Ue.jsx)(m,{className:a("font-bold max-w-4xl",y==="center"?"mx-auto":"",c[o],f[t],i&&"truncate",r),children:l})},qa=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:i=!1,className:r,children:l})=>{let m={regular:"text-gray-500",white:"text-white/80"},c={small:"md:text-base text-sm",large:"md:text-lg text-base"},f={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:y}=(0,st.useContext)(No);return(0,Ue.jsx)("div",{className:a("mt-2",y==="center"?"mx-auto max-w-3xl":"max-w-4xl",m[e],c[t],f[o],i&&"truncate",r),children:l})},Qa=({className:e,align:t="center",children:o})=>(0,Ue.jsx)("div",{className:a("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:(0,Ue.jsx)(No.Provider,{value:{align:t},children:o})});var Lt=require("lucide-react");var E=require("react/jsx-runtime");function Po({current:e,total:t,onChange:o}){let i=r=>(0,E.jsx)("li",{children:(0,E.jsx)("button",{className:a(Be({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>o(r),children:r})},r);return(0,E.jsx)("nav",{role:"navigation","aria-label":"pagination",className:a("mx-auto flex w-full justify-center"),children:(0,E.jsxs)("ul",{className:a("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&(0,E.jsx)("li",{children:(0,E.jsx)("button",{className:a(Be({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:(0,E.jsx)(Lt.ChevronLeft,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((r,l)=>i(l+1)):(0,E.jsxs)(E.Fragment,{children:[i(1),e===1&&[i(2),i(3)],e>3&&(0,E.jsx)("li",{children:(0,E.jsx)("button",{className:a(Be({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&i(e-1),e>1&&e<t&&i(e),e<t-1&&e!==1&&i(e+1),e===t&&[i(t-2),i(t-1)],e<t-2&&e!==t&&(0,E.jsx)("button",{className:a(Be({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&(0,E.jsx)("li",{children:(0,E.jsx)("button",{className:a(Be({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:(0,E.jsx)(Lt.ChevronRight,{className:"h-4 w-4"})})})]})})}var Za=g(require("react"),1),xe=g(require("@radix-ui/react-popover"),1);var Co=require("react/jsx-runtime"),Ht=xe.Root,_t=xe.Trigger,lt=Za.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},r)=>(0,Co.jsx)(xe.Portal,{children:(0,Co.jsx)(xe.Content,{ref:r,align:t,sideOffset:o,className:a("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 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),...i})}));lt.displayName=xe.Content.displayName;var Bt=g(require("react"),1),ie=g(require("@radix-ui/react-tabs"),1);var Vt=require("react/jsx-runtime"),Xa=ie.Root,Ro=Bt.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},r)=>(0,Vt.jsx)(ie.List,{ref:r,className:a("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...i}));Ro.displayName=ie.List.displayName;var To=Bt.forwardRef(({className:e,...t},o)=>(0,Vt.jsx)(ie.Trigger,{ref:o,className:a("inline-flex items-center justify-center whitespace-nowrap py-3 font-semibold 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 border-b-2 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));To.displayName=ie.Trigger.displayName;var ko=Bt.forwardRef(({className:e,...t},o)=>(0,Vt.jsx)(ie.Content,{ref:o,className:a("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-gray-900",e),...t}));ko.displayName=ie.Content.displayName;var Ya=require("react"),Ka=require("@heroicons/react/24/outline"),Ja=require("@heroicons/react/24/solid");var le=require("react/jsx-runtime"),ei=(0,Ya.forwardRef)(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:l,size:m,rows:c=3,...f},y)=>(0,le.jsxs)("div",{className:a("relative",r,t&&"mobase-text-area-error"),children:[i&&(0,le.jsx)("span",{className:a("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",m===2&&" -top-2.5 text-sm"),children:i}),(0,le.jsx)("textarea",{disabled:e,ref:y,className:a("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",m===2&&"text-base",l),rows:c,...f}),o&&(0,le.jsxs)("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?(0,le.jsx)(Ja.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,le.jsx)(Ka.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,le.jsx)("span",{className:a("text-gray-500 ",m===2?"text-sm":"text-xs"),children:o})]}),(0,le.jsx)("style",{children:`
70
+ `})]}),Ze=({className:e,children:t,title:o,shortTitle:i,qrImage:r,qrLink:l,logoQr:m,isQrForAll:d=!1,...g})=>(0,c.jsx)(Xe,{...g,children:(0,c.jsx)(Ve,{className:a("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:(0,c.jsx)(ft,{className:"p-0",children:(0,c.jsxs)("div",{className:"flex flex-row flex-wrap",children:[(0,c.jsx)("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||(0,c.jsxs)("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[(0,c.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,c.jsx)("div",{className:"flex-none",children:(0,c.jsx)("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),(0,c.jsxs)("div",{className:"flex-1 pl-4",children:[(0,c.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),(0,c.jsx)("div",{className:"mt-1 text-gray-500 ",children:d?"M\u1EDF app MoMo ho\u1EB7c \u1EE9ng d\u1EE5ng ng\xE2n h\xE0ng/v\xED \u0111i\u1EC7n t\u1EED ch\u1EA5p nh\u1EADn m\xE3 v\u1EA1ch t\u1EEB QR \u0110a N\u0103ng":"M\u1EDF \u1EE9ng d\u1EE5ng camera m\u1EB7c \u0111\u1ECBnh ho\u1EB7c \u1EE9ng d\u1EE5ng h\u1ED7 tr\u1EE3 QR code c\u1EE7a b\u1EA1n"})]})]}),(0,c.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,c.jsx)("div",{className:"flex-none",children:(0,c.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),(0,c.jsxs)("div",{className:"flex-1 pl-4",children:[(0,c.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),(0,c.jsx)("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),(0,c.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,c.jsx)("div",{className:"flex-none",children:(0,c.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),(0,c.jsxs)("div",{className:"flex-1 pl-4",children:[(0,c.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),(0,c.jsxs)("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",i||"Truy c\u1EADp ngay"]})]})]})]})}),(0,c.jsx)("div",{className:"flex w-full items-center justify-center md:w-7/12 h-auto",style:{background:"url(https://homepage.momocdn.net/jk/momo2020/img/intro/qrcode-pattern.png) 10px 10px no-repeat,linear-gradient(to top,#c1177c,#e11b90)"},children:(0,c.jsxs)("div",{className:"px-5 py-10 text-center",children:[o&&(0,c.jsx)("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),(0,c.jsxs)("div",{className:"relative",children:[d&&(0,c.jsx)("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:(0,c.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),(0,c.jsx)(bn,{img:r,isQrForAll:d,children:l&&(0,c.jsx)(Ya.QRCodeSVG,{value:l,size:215,imageSettings:{src:`${m||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});var ze=f(require("react"),1),N=f(require("@radix-ui/react-alert-dialog"),1);var ee=require("react/jsx-runtime"),Ka=N.Root,Ja=N.Trigger,Po=N.Portal,$t=ze.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(N.Overlay,{className:a("fixed inset-0 z-50 bg-black/70 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}));$t.displayName=N.Overlay.displayName;var Co=ze.forwardRef(({className:e,...t},o)=>(0,ee.jsxs)(Po,{children:[(0,ee.jsx)($t,{}),(0,ee.jsx)(N.Content,{ref:o,className:a("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 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%] rounded-xl",e),...t})]}));Co.displayName=N.Content.displayName;var Ro=({className:e,...t})=>(0,ee.jsx)("div",{className:a("flex flex-col space-y-2 text-left",e),...t});Ro.displayName="AlertDialogHeader";var To=({className:e,...t})=>(0,ee.jsx)("div",{className:a("flex flex-row justify-end space-x-4",e),...t});To.displayName="AlertDialogFooter";var ko=ze.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(N.Title,{ref:o,className:a("text-lg text-gray-900 font-semibold",e),...t}));ko.displayName=N.Title.displayName;var Do=ze.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(N.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Do.displayName=N.Description.displayName;var So=ze.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(N.Action,{ref:o,className:a(j({variant:"primary"}),"",e),...t}));So.displayName=N.Action.displayName;var Ao=ze.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(N.Cancel,{ref:o,className:a(j({variant:"secondary"}),e),...t}));Ao.displayName=N.Cancel.displayName;var ei=f(require("react"),1),ti=require("@radix-ui/react-slot"),oi=require("class-variance-authority");var ai=require("react/jsx-runtime"),Fe=(0,oi.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 w-10",sm:"h-8 w-8 text-sm",lg:"h-12 w-12 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),we=ei.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:r=!1,...l},m)=>{let d=i?ti.Slot:"button",g=a(Fe({variant:t,size:o,className:e}));return(0,ai.jsx)(d,{className:g,disabled:r,ref:m,...l,children:l.children})});we.displayName="IconButton";var ut=require("react");var Ye=require("react/jsx-runtime"),Mo=(0,ut.createContext)({align:"center"}),ii=({color:e="pink",size:t="small",isTruncated:o=!1,className:i,children:r})=>{let l={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},m={small:"text-sm",large:"text-lg"};return(0,Ye.jsx)("div",{className:a("mb-1 font-semibold",l[e],m[t],o&&"truncate",i),children:r})},ri=({as:e="h2",size:t="small",color:o="pink",isTruncated:i=!1,className:r,children:l})=>{let m=e,d={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},g={small:"lg:text-3xl text-2xl",large:"lg:text-4xl text-2xl"},{align:x}=(0,ut.useContext)(Mo);return(0,Ye.jsx)(m,{className:a("font-bold max-w-4xl",x==="center"?"mx-auto":"",d[o],g[t],i&&"truncate",r),children:l})},ni=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:i=!1,className:r,children:l})=>{let m={regular:"text-gray-500",white:"text-white/80"},d={small:"md:text-base text-sm",large:"md:text-lg text-base"},g={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:x}=(0,ut.useContext)(Mo);return(0,Ye.jsx)("div",{className:a("mt-2",x==="center"?"mx-auto max-w-3xl":"max-w-4xl",m[e],d[t],g[o],i&&"truncate",r),children:l})},si=({className:e,align:t="center",children:o})=>(0,Ye.jsx)("div",{className:a("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:(0,Ye.jsx)(Mo.Provider,{value:{align:t},children:o})});var jt=require("lucide-react");var L=require("react/jsx-runtime");function Io({current:e,total:t,onChange:o}){let i=r=>(0,L.jsx)("li",{children:(0,L.jsx)("button",{className:a(Fe({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>o(r),children:r})},r);return(0,L.jsx)("nav",{role:"navigation","aria-label":"pagination",className:a("mx-auto flex w-full justify-center"),children:(0,L.jsxs)("ul",{className:a("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&(0,L.jsx)("li",{children:(0,L.jsx)("button",{className:a(Fe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:(0,L.jsx)(jt.ChevronLeft,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((r,l)=>i(l+1)):(0,L.jsxs)(L.Fragment,{children:[i(1),e===1&&[i(2),i(3)],e>3&&(0,L.jsx)("li",{children:(0,L.jsx)("button",{className:a(Fe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&i(e-1),e>1&&e<t&&i(e),e<t-1&&e!==1&&i(e+1),e===t&&[i(t-2),i(t-1)],e<t-2&&e!==t&&(0,L.jsx)("button",{className:a(Fe({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&(0,L.jsx)("li",{children:(0,L.jsx)("button",{className:a(Fe({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:(0,L.jsx)(jt.ChevronRight,{className:"h-4 w-4"})})})]})})}var Ut=f(require("react"),1),se=f(require("@radix-ui/react-tabs"),1);var qt=require("react/jsx-runtime"),li=se.Root,Lo=Ut.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},r)=>(0,qt.jsx)(se.List,{ref:r,className:a("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...i}));Lo.displayName=se.List.displayName;var Eo=Ut.forwardRef(({className:e,...t},o)=>(0,qt.jsx)(se.Trigger,{ref:o,className:a("inline-flex items-center justify-center whitespace-nowrap py-3 font-semibold 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 border-b-2 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));Eo.displayName=se.Trigger.displayName;var Ho=Ut.forwardRef(({className:e,...t},o)=>(0,qt.jsx)(se.Content,{ref:o,className:a("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-gray-900",e),...t}));Ho.displayName=se.Content.displayName;var mi=require("react"),di=require("@heroicons/react/24/outline"),ci=require("@heroicons/react/24/solid");var de=require("react/jsx-runtime"),pi=(0,mi.forwardRef)(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:l,size:m,rows:d=3,...g},x)=>(0,de.jsxs)("div",{className:a("relative",r,t&&"mobase-text-area-error"),children:[i&&(0,de.jsx)("span",{className:a("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",m===2&&" -top-2.5 text-sm"),children:i}),(0,de.jsx)("textarea",{disabled:e,ref:x,className:a("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",m===2&&"text-base",l),rows:d,...g}),o&&(0,de.jsxs)("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?(0,de.jsx)(ci.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,de.jsx)(di.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,de.jsx)("span",{className:a("text-gray-500 ",m===2?"text-sm":"text-xs"),children:o})]}),(0,de.jsx)("style",{children:`
71
71
  .mobase-text-area-box:hover {
72
72
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
73
73
  }
@@ -94,7 +94,7 @@
94
94
  color: rgb(var(--mobase-red-500) / 1);
95
95
  }
96
96
  }
97
- `})]}));var Ot=g(require("react"),1),on=1,an=1e6;var Do=0;function rn(){return Do=(Do+1)%Number.MAX_SAFE_INTEGER,Do.toString()}var So=new Map,ti=e=>{if(So.has(e))return;let t=setTimeout(()=>{So.delete(e),mt({type:"REMOVE_TOAST",toastId:e})},an);So.set(e,t)},nn=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,on)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?ti(o):e.toasts.forEach(i=>{ti(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===o||o===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},zt=[],Ft={toasts:[]};function mt(e){Ft=nn(Ft,e),zt.forEach(t=>{t(Ft)})}function Ao({...e}){let t=rn(),o=r=>mt({type:"UPDATE_TOAST",toast:{...r,id:t}}),i=()=>mt({type:"DISMISS_TOAST",toastId:t});return mt({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||i()}}}),{id:t,dismiss:i,update:o}}function Wt(){let[e,t]=Ot.useState(Ft);return Ot.useEffect(()=>(zt.push(t),()=>{let o=zt.indexOf(t);o>-1&&zt.splice(o,1)}),[e]),{...e,toast:Ao,dismiss:o=>mt({type:"DISMISS_TOAST",toastId:o})}}var Ve=g(require("react"),1),k=g(require("@radix-ui/react-toast"),1),oi=require("class-variance-authority");var Ce=require("@heroicons/react/20/solid"),G=require("react/jsx-runtime"),ai=k.Provider,Mo=Ve.forwardRef(({className:e,...t},o)=>(0,G.jsx)(k.Viewport,{ref:o,className:a("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));Mo.displayName=k.Viewport.displayName;var sn=(0,oi.cva)("group pointer-events-auto relative w-full overflow-hidden rounded-md border py-4 pr-10 pl-10 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-bottom-full data-[state=open]:sm:slide-in-from-top-full bg-white text-gray-900 border border-gray-200 border-l-4",{variants:{variant:{sucess:"border-l-green-500",warning:"border-l-yellow-500",error:"border-l-red-500"}},defaultVariants:{variant:"sucess"}}),Eo=Ve.forwardRef(({className:e,variant:t="sucess",children:o,...i},r)=>(0,G.jsxs)(k.Root,{ref:r,className:a(sn({variant:t}),e),...i,children:[(0,G.jsxs)("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&(0,G.jsx)(Ce.CheckCircleIcon,{className:"w-5 h-5 text-green-500"}),t==="warning"&&(0,G.jsx)(Ce.ExclamationTriangleIcon,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&(0,G.jsx)(Ce.InformationCircleIcon,{className:"w-5 h-5 text-red-500"})]}),o]}));Eo.displayName=k.Root.displayName;var Io=Ve.forwardRef(({className:e,...t},o)=>(0,G.jsx)(k.Action,{ref:o,className:a("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));Io.displayName=k.Action.displayName;var Lo=Ve.forwardRef(({className:e,...t},o)=>(0,G.jsx)(k.Close,{ref:o,className:a("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:(0,G.jsx)(Ce.XMarkIcon,{className:"h-5 w-5"})}));Lo.displayName=k.Close.displayName;var Ho=Ve.forwardRef(({className:e,...t},o)=>(0,G.jsx)(k.Title,{ref:o,className:a("text-base font-semibold leading-tight",e),...t}));Ho.displayName=k.Title.displayName;var _o=Ve.forwardRef(({className:e,...t},o)=>(0,G.jsx)(k.Description,{ref:o,className:a("text-sm opacity-90",e),...t}));_o.displayName=k.Description.displayName;var ye=require("react/jsx-runtime");function ii(){let{toasts:e}=Wt();return(0,ye.jsxs)(ai,{children:[e.map(function({id:t,title:o,description:i,action:r,...l}){return(0,ye.jsxs)(Eo,{...l,children:[(0,ye.jsxs)("div",{className:"grid gap-2",children:[o&&(0,ye.jsx)(Ho,{children:o}),i&&(0,ye.jsx)(_o,{children:i})]}),r,(0,ye.jsx)(Lo,{})]},t)}),(0,ye.jsx)(Mo,{})]})}var ri=g(require("react"),1),ni=require("@radix-ui/react-slot"),si=require("class-variance-authority");var li=require("react/jsx-runtime"),Bo=(0,si.cva)("inline-flex items-center justify-center whitespace-nowrap font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent flex-nowrap",{variants:{variant:{default:"text-blue-700 hover:underline hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",primary:"text-pink-500 hover:underline hover:bg-pink-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",secondary:"text-gray-700 hover:underline hover:text-blue-700 hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline"},size:{default:"text-sm",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),ct=ri.forwardRef(({className:e,variant:t="default",size:o="default",asChild:i=!1,isDisabled:r=!1,...l},m)=>{let c=i?ni.Slot:"button",f=a(Bo({variant:t,size:o,className:e}));return(0,li.jsx)(c,{className:f,disabled:r,ref:m,...l,children:l.children})});ct.displayName="TextButton";var Vo=g(require("react"),1),Y=g(require("@radix-ui/react-tooltip"),1);var Oo=require("react/jsx-runtime"),mi=Y.Provider,ci=Y.Root,di=Y.Trigger,zo=Vo.forwardRef((e,t)=>(0,Oo.jsx)(Y.Arrow,{ref:t,className:a("drop-shadow-md",e.className),...e}));zo.displayName=Y.Arrow.displayName;var Fo=Vo.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...i},r)=>(0,Oo.jsx)(Y.Content,{ref:r,sideOffset:o,className:a("z-50 overflow-hidden rounded-md 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 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...i}));Fo.displayName=Y.Content.displayName;var Re=require("react"),qe=require("@heroicons/react/16/solid");var $=require("react/jsx-runtime"),pi=(0,Re.forwardRef)(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:l,withClearButton:m,size:c,onChange:f,onFocus:y,onClickClear:N,value:A,defaultValue:O,type:te="text",...I},R)=>{let[oe,q]=(0,Re.useState)(!1),Le=(0,Re.useRef)(null),T=M=>{M&&!oe&&q(!0),!M&&oe&&q(!1)},kt=M=>{m&&T(M.target.value),f?.(M)},Xe=M=>{m&&T(M.target.value),y?.(M)},Ye=()=>{let M=Le.current?.querySelector("input");M&&(N?.(M.value),M.value="",M.focus(),q(!1))};return(0,Re.useEffect)(()=>{T(O||A)},[A,O]),(0,$.jsxs)("div",{className:a(r,t&&"mobase-text-input-error"),ref:Le,children:[(0,$.jsxs)("div",{className:"relative",children:[i&&(0,$.jsx)("span",{className:a("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",c===2&&" -top-2.5 text-sm"),children:i}),(0,$.jsx)("input",{disabled:e,type:te,ref:R,className:a("mobase-text-input-box bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 h-11 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block outline-none",c===2&&"h-12 text-base",l),onChange:kt,onFocus:Xe,value:A,defaultValue:O,...I}),m&&oe&&(0,$.jsx)("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:Ye,children:(0,$.jsx)(qe.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),o&&(0,$.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?(0,$.jsx)(qe.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,$.jsx)(qe.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,$.jsx)("span",{className:a("text-gray-500 ",c===2?"text-sm":"text-xs"),children:o})]}),(0,$.jsx)("style",{children:`
97
+ `})]}));var Zt=f(require("react"),1),xn=1,yn=1e6;var _o=0;function wn(){return _o=(_o+1)%Number.MAX_SAFE_INTEGER,_o.toString()}var Bo=new Map,gi=e=>{if(Bo.has(e))return;let t=setTimeout(()=>{Bo.delete(e),ht({type:"REMOVE_TOAST",toastId:e})},yn);Bo.set(e,t)},Nn=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,xn)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?gi(o):e.toasts.forEach(i=>{gi(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===o||o===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},Qt=[],Xt={toasts:[]};function ht(e){Xt=Nn(Xt,e),Qt.forEach(t=>{t(Xt)})}function Vo({...e}){let t=wn(),o=r=>ht({type:"UPDATE_TOAST",toast:{...r,id:t}}),i=()=>ht({type:"DISMISS_TOAST",toastId:t});return ht({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||i()}}}),{id:t,dismiss:i,update:o}}function Yt(){let[e,t]=Zt.useState(Xt);return Zt.useEffect(()=>(Qt.push(t),()=>{let o=Qt.indexOf(t);o>-1&&Qt.splice(o,1)}),[e]),{...e,toast:Vo,dismiss:o=>ht({type:"DISMISS_TOAST",toastId:o})}}var Oe=f(require("react"),1),D=f(require("@radix-ui/react-toast"),1),fi=require("class-variance-authority");var Te=require("@heroicons/react/20/solid"),q=require("react/jsx-runtime"),ui=D.Provider,zo=Oe.forwardRef(({className:e,...t},o)=>(0,q.jsx)(D.Viewport,{ref:o,className:a("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));zo.displayName=D.Viewport.displayName;var Pn=(0,fi.cva)("group pointer-events-auto relative w-full overflow-hidden rounded-md border py-4 pr-10 pl-10 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-bottom-full data-[state=open]:sm:slide-in-from-top-full bg-white text-gray-900 border border-gray-200 border-l-4",{variants:{variant:{sucess:"border-l-green-500",warning:"border-l-yellow-500",error:"border-l-red-500"}},defaultVariants:{variant:"sucess"}}),Fo=Oe.forwardRef(({className:e,variant:t="sucess",children:o,...i},r)=>(0,q.jsxs)(D.Root,{ref:r,className:a(Pn({variant:t}),e),...i,children:[(0,q.jsxs)("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&(0,q.jsx)(Te.CheckCircleIcon,{className:"w-5 h-5 text-green-500"}),t==="warning"&&(0,q.jsx)(Te.ExclamationTriangleIcon,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&(0,q.jsx)(Te.InformationCircleIcon,{className:"w-5 h-5 text-red-500"})]}),o]}));Fo.displayName=D.Root.displayName;var Oo=Oe.forwardRef(({className:e,...t},o)=>(0,q.jsx)(D.Action,{ref:o,className:a("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));Oo.displayName=D.Action.displayName;var Wo=Oe.forwardRef(({className:e,...t},o)=>(0,q.jsx)(D.Close,{ref:o,className:a("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:(0,q.jsx)(Te.XMarkIcon,{className:"h-5 w-5"})}));Wo.displayName=D.Close.displayName;var Go=Oe.forwardRef(({className:e,...t},o)=>(0,q.jsx)(D.Title,{ref:o,className:a("text-base font-semibold leading-tight",e),...t}));Go.displayName=D.Title.displayName;var $o=Oe.forwardRef(({className:e,...t},o)=>(0,q.jsx)(D.Description,{ref:o,className:a("text-sm opacity-90",e),...t}));$o.displayName=D.Description.displayName;var Ne=require("react/jsx-runtime");function hi(){let{toasts:e}=Yt();return(0,Ne.jsxs)(ui,{children:[e.map(function({id:t,title:o,description:i,action:r,...l}){return(0,Ne.jsxs)(Fo,{...l,children:[(0,Ne.jsxs)("div",{className:"grid gap-2",children:[o&&(0,Ne.jsx)(Go,{children:o}),i&&(0,Ne.jsx)($o,{children:i})]}),r,(0,Ne.jsx)(Wo,{})]},t)}),(0,Ne.jsx)(zo,{})]})}var vi=f(require("react"),1),bi=require("@radix-ui/react-slot"),xi=require("class-variance-authority");var yi=require("react/jsx-runtime"),jo=(0,xi.cva)("inline-flex items-center justify-center whitespace-nowrap font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent flex-nowrap",{variants:{variant:{default:"text-blue-700 hover:underline hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",primary:"text-pink-500 hover:underline hover:bg-pink-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",secondary:"text-gray-700 hover:underline hover:text-blue-700 hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline"},size:{default:"text-sm",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),vt=vi.forwardRef(({className:e,variant:t="default",size:o="default",asChild:i=!1,isDisabled:r=!1,...l},m)=>{let d=i?bi.Slot:"button",g=a(jo({variant:t,size:o,className:e}));return(0,yi.jsx)(d,{className:g,disabled:r,ref:m,...l,children:l.children})});vt.displayName="TextButton";var Uo=f(require("react"),1),te=f(require("@radix-ui/react-tooltip"),1);var Xo=require("react/jsx-runtime"),wi=te.Provider,Ni=te.Root,Pi=te.Trigger,qo=Uo.forwardRef((e,t)=>(0,Xo.jsx)(te.Arrow,{ref:t,className:a("drop-shadow-md",e.className),...e}));qo.displayName=te.Arrow.displayName;var Qo=Uo.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...i},r)=>(0,Xo.jsx)(te.Content,{ref:r,sideOffset:o,className:a("z-50 overflow-hidden rounded-md 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 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...i}));Qo.displayName=te.Content.displayName;var ke=require("react"),Ke=require("@heroicons/react/16/solid");var Q=require("react/jsx-runtime"),Ci=(0,ke.forwardRef)(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:l,withClearButton:m,size:d,onChange:g,onFocus:x,onClickClear:u,value:M,defaultValue:G,type:re="text",...E},R)=>{let[ne,Y]=(0,ke.useState)(!1),_e=(0,ke.useRef)(null),T=I=>{I&&!ne&&Y(!0),!I&&ne&&Y(!1)},Et=I=>{m&&T(I.target.value),g?.(I)},tt=I=>{m&&T(I.target.value),x?.(I)},ot=()=>{let I=_e.current?.querySelector("input");I&&(u?.(I.value),I.value="",I.focus(),Y(!1))};return(0,ke.useEffect)(()=>{T(G||M)},[M,G]),(0,Q.jsxs)("div",{className:a(r,t&&"mobase-text-input-error"),ref:_e,children:[(0,Q.jsxs)("div",{className:"relative",children:[i&&(0,Q.jsx)("span",{className:a("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",d===2&&" -top-2.5 text-sm"),children:i}),(0,Q.jsx)("input",{disabled:e,type:re,ref:R,className:a("mobase-text-input-box bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 h-11 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block outline-none",d===2&&"h-12 text-base",l),onChange:Et,onFocus:tt,value:M,defaultValue:G,...E}),m&&ne&&(0,Q.jsx)("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:ot,children:(0,Q.jsx)(Ke.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),o&&(0,Q.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?(0,Q.jsx)(Ke.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,Q.jsx)(Ke.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,Q.jsx)("span",{className:a("text-gray-500 ",d===2?"text-sm":"text-xs"),children:o})]}),(0,Q.jsx)("style",{children:`
98
98
  .mobase-text-input-box:hover {
99
99
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
100
100
  }
@@ -117,30 +117,30 @@
117
117
  color: rgb(var(--mobase-red-500) / 1);
118
118
  }
119
119
  }
120
- `})]})});var Gt=require("@heroicons/react/24/outline");var K=require("react");var me=require("react/jsx-runtime"),gi=(0,K.forwardRef)(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:l=1,inputClassName:m="",stepperClassName:c="",className:f="",onChange:y=()=>{},onChangeInputStepper:N,onDecrement:A,onIncrement:O,...te},I)=>{let R=(0,K.useRef)(null),[oe,q]=(0,K.useState)(!1),[Le,T]=(0,K.useState)(!1),[kt,Xe]=(0,K.useState)(""),Ye=(0,K.useRef)(null),M=b=>{Number(b)>=o?q(!0):q(!1),Number(b)>t?T(!1):T(!0)},Gr=()=>{if(i||oe)return;let b=R?.current?.querySelector("input");if(!b)return;let W=0;W=Math.min(Number(b.value)+l,o),M(W),b.value=String(W),Xe(b.value||""),N?.(b.value),O?.(b.value)},$r=()=>{if(i||Le)return;let b=R?.current?.querySelector("input");if(!b)return;let W=0;W=Math.max(Number(b.value)-l,0),M(W),b.value=String(W),Xe(b.value||""),N?.(b.value),A?.(b.value)},jr=b=>{if(!b)return;let W=b?.target?.value;W?.match(/^[0-9]*$/)||(W=W.replace(/[^0-9]/g,"")),M(W);let Dt=parseInt(W,10);Number.isNaN(Dt)||Dt<t?b.target.value=String(t):Dt>=o?b.target.value=String(o):b.target.value=String(Dt),Xe(b?.target?.value||""),N?.(b.target.value),y?.(b)};return(0,K.useEffect)(()=>{let b=R?.current?.querySelector("input");b&&M(b?.value)},[]),(0,K.useEffect)(()=>{let b=R?.current?.querySelector("input");b&&Ye?.current&&(b.style.width=`${Ye.current.offsetWidth+10}px`)},[kt]),(0,me.jsxs)("div",{ref:R,className:"flex items-center space-x-1",children:[(0,me.jsx)(be,{id:"btn-minus",className:a(!Le&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:$r,children:(0,me.jsx)(Gt.MinusCircleIcon,{className:"w-8 h-8 "})}),(0,me.jsxs)("div",{children:[(0,me.jsx)("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:I,min:t,max:o,onChange:b=>jr(b),id:"numberInput",disabled:i||r,autoComplete:"off",...te,className:a("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",m)}),(0,me.jsx)("span",{ref:Ye,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:kt||" "})]}),(0,me.jsx)(be,{id:"btn-plus",className:a(!oe&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Gr,children:(0,me.jsx)(Gt.PlusCircleIcon,{className:"w-8 h-8 "})})]})});var ce=g(require("react"),1),we=require("@heroicons/react/16/solid"),fi=require("@heroicons/react/24/outline"),h=g(require("@radix-ui/react-select"),1);var x=require("react/jsx-runtime"),ui=ce.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:l,disabled:m,...c},f)=>(0,x.jsxs)("div",{ref:f,className:a("select-mobase relative",e,m?"disabled":"",l?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",r===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&(0,x.jsx)("span",{className:a("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",r===2&&"text-sm -top-2.5",l&&"text-red-500"),children:o}),(0,x.jsx)(h.Root,{disabled:m,...c,children:t}),i&&(0,x.jsxs)("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",l&&"text-red-500"),children:[l?(0,x.jsx)(we.XCircleIcon,{width:16,height:16}):(0,x.jsx)(fi.QuestionMarkCircleIcon,{width:16,height:16}),(0,x.jsx)("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),hi=h.Value,Wo=ce.forwardRef(({className:e,children:t,...o},i)=>(0,x.jsxs)(h.Trigger,{ref:i,className:a("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[(0,x.jsx)("div",{className:"line-clamp-1 text-left",children:t}),(0,x.jsx)(h.Icon,{asChild:!0,children:(0,x.jsx)(we.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));Wo.displayName=h.Trigger.displayName;var $t=ce.forwardRef(({className:e,...t},o)=>(0,x.jsx)(h.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:(0,x.jsx)(we.ChevronUpIcon,{className:"h-5 w-5"})}));$t.displayName=h.ScrollUpButton.displayName;var jt=ce.forwardRef(({className:e,...t},o)=>(0,x.jsx)(h.ScrollDownButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:(0,x.jsx)(we.ChevronDownIcon,{className:"h-5 w-5"})}));jt.displayName=h.ScrollDownButton.displayName;var Go=ce.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>(0,x.jsx)(h.Portal,{children:(0,x.jsxs)(h.Content,{ref:r,className:a("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 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",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,...i,children:[(0,x.jsx)($t,{}),(0,x.jsx)(h.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,x.jsx)(jt,{})]})}));Go.displayName=h.Content.displayName;var vi=ce.forwardRef(({className:e,children:t,...o},i)=>(0,x.jsx)(h.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),$o=ce.forwardRef(({className:e,...t},o)=>(0,x.jsx)(h.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));$o.displayName=h.Label.displayName;var bi=ce.forwardRef(({className:e,children:t,...o},i)=>(0,x.jsxs)(h.Item,{ref:i,className:a("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,x.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,x.jsx)(h.ItemIndicator,{children:(0,x.jsx)(we.CheckIcon,{className:"h-4 w-4"})})}),(0,x.jsx)(h.ItemText,{children:t})]})),jo=ce.forwardRef(({className:e,...t},o)=>(0,x.jsx)(h.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));jo.displayName=h.Separator.displayName;var re=g(require("react"),1),P=g(require("@radix-ui/react-navigation-menu"),1),xi=require("class-variance-authority"),yi=require("@heroicons/react/16/solid");var j=require("react/jsx-runtime"),wi=re.createContext(null),ln=({value:e,children:t})=>(0,j.jsx)(wi.Provider,{value:e,children:t}),mn=()=>{let e=re.useContext(wi);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},dt=re.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>(0,j.jsx)(ln,{value:{alignDropdown:o},children:(0,j.jsx)(P.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:t})}));dt.displayName=P.Root.displayName;var pt=re.forwardRef(({className:e,...t},o)=>(0,j.jsx)(P.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));pt.displayName=P.List.displayName;var gt=P.Item,ft=(0,xi.cva)(se({variant:"transparent",size:"sm"})),ut=re.forwardRef(({className:e,children:t,...o},i)=>(0,j.jsxs)(P.Trigger,{ref:i,className:a(ft(),"group",e),...o,children:[t," ",(0,j.jsx)(yi.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));ut.displayName=P.Trigger.displayName;var ht=re.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=mn();return(0,j.jsx)(P.Content,{ref:o,className:a("absolute top-full mt-3 rounded-lg bg-white text-gray-900 ring-1 ring-gray-900/5 shadow-[0_10px_32px_rgba(34,42,53,0.15),0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.08),0_1px_1px_rgba(34,42,53,0.1),0_24px_68px_rgba(47,48,55,0.1)]",e,"before:content-[''] before:absolute before:-top-3 before:left-0 before:right-0 before:w-full before:bg-transparent before:opacity-0 before:h-3",i!=="center"&&"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out ",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&" left-1/2 -translate-x-1/2 "),...t})});ht.displayName=P.Content.displayName;var Qe=P.Link,cn=re.forwardRef(({className:e,...t},o)=>(0,j.jsx)("div",{className:a("absolute left-0 top-full flex justify-center"),children:(0,j.jsx)(P.Viewport,{className:a("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-lg 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})}));cn.displayName=P.Viewport.displayName;var dn=re.forwardRef(({className:e,...t},o)=>(0,j.jsx)(P.Indicator,{ref:o,className:a("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,children:(0,j.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));dn.displayName=P.Indicator.displayName;var Ni=g(require("react"),1),vt=g(require("@radix-ui/react-switch"),1);var Uo=require("react/jsx-runtime"),qo=Ni.forwardRef(({className:e,...t},o)=>(0,Uo.jsx)(vt.Root,{className:a("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent 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-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:(0,Uo.jsx)(vt.Thumb,{className:a("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));qo.displayName=vt.Root.displayName;var Qo=g(require("react"),1),Te=g(require("@radix-ui/react-radio-group"),1),Pi=require("lucide-react");var bt=require("react/jsx-runtime"),Zo=Qo.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(Te.Root,{className:a("grid gap-2",e),...t,ref:o}));Zo.displayName=Te.Root.displayName;var Xo=Qo.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(Te.Item,{ref:o,className:a("aspect-square h-4 w-4 rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",e),...t,children:(0,bt.jsx)(Te.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,bt.jsx)(Pi.Circle,{className:"h-2 w-2 fill-current text-current"})})}));Xo.displayName=Te.Item.displayName;var de=require("react/jsx-runtime"),pn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,de.jsx)("li",{className:"",children:(0,de.jsx)(Qe,{asChild:!0,children:(0,de.jsxs)("a",{className:a(" select-none space-y-1 rounded-md px-2.5 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 items-center min-h-9",e),href:r,...m,children:[t&&(0,de.jsx)("div",{className:"w-7 h-7 shrink-0",children:(0,de.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,de.jsxs)("div",{className:" ",children:[(0,de.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&(0,de.jsx)("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})})},Ci=pn;var ne=require("react/jsx-runtime"),gn=({data:e,alignDropdown:t})=>(0,ne.jsx)(dt,{alignDropdown:t,children:(0,ne.jsx)(pt,{children:e.map(o=>{let i=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?(0,ne.jsxs)(gt,{className:"relative",children:[(0,ne.jsx)(ut,{children:o.title}),(0,ne.jsx)(ht,{children:(0,ne.jsx)("ul",{className:a("grid w-[250px] gap-1 p-2.5 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[500px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[750px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(r=>(0,ne.jsx)(Ci,{title:r.title,href:r.url,newTab:r.newTab,icon:o.dropDownCompact===!0?r.icon:"",children:o.dropDownCompact===!0?r.description:""},r.title))})})]},o.id):(0,ne.jsx)(gt,{className:"relative",children:(0,ne.jsx)(Qe,{href:o.url,className:ft(),...i,children:o.title})},o.id)})})}),Ri=gn;var qt=require("react");var Ut=[.24,.25,.05,1];var Si=require("react-use"),Yo=g(require("next/router"),1);var Ne=require("react/jsx-runtime"),fn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Ne.jsx)("li",{className:"min-h-8",children:(0,Ne.jsxs)("a",{className:a(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:r,...m,children:[t&&(0,Ne.jsx)("div",{className:"w-6 h-6 shrink-0",children:(0,Ne.jsx)("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),(0,Ne.jsxs)("div",{className:" ",children:[(0,Ne.jsx)("div",{className:"text-sm text-gray-800 leading-none line-clamp-1",children:o}),i&&(0,Ne.jsx)("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})},Ti=fn;var ki=require("framer-motion"),pe=require("react/jsx-runtime"),un={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:Ut}},exit:{opacity:0,transition:{duration:.05}}},hn=({data:e})=>(0,pe.jsx)(et,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,pe.jsx)(ki.motion.div,{variants:un,children:t.hasDropdown?(0,pe.jsxs)(tt,{value:t.id,children:[(0,pe.jsx)(ot,{className:"py-3",children:t.title}),(0,pe.jsx)(at,{children:(0,pe.jsx)("ul",{className:a("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(i=>(0,pe.jsx)(Ti,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):(0,pe.jsx)("a",{className:"py-3 flex flex-1 items-center text-left justify-between font-medium transition-all hover:underline text-gray-900 border-b border-gray-200",href:t.url,...o,children:t.title})},t.id)})}),Di=hn;var Ai=require("@heroicons/react/16/solid");var ge=require("framer-motion");var p=require("react/jsx-runtime"),vn=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,bn=({data:e,className:t})=>{let[o,i]=(0,qt.useState)(!1);(0,Si.useKey)("Escape",()=>i(!1)),(0,qt.useEffect)(()=>{if(!o)return;let m=vn();function c(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Yo.default.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:m||0,behavior:"instant"}),Yo.default.events.off("routeChangeComplete",c)}},[o]);let r={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},l={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:Ut}},exit:{opacity:0,transition:{duration:.15}}};return(0,p.jsxs)("div",{className:a(t),children:[(0,p.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[(0,p.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,p.jsx)(ge.motion.div,{animate:o?"hidden":"visible",variants:r,children:(0,p.jsx)("svg",{className:a("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,p.jsx)(ge.motion.div,{animate:o?"visible":"hidden",variants:r,children:(0,p.jsx)("svg",{className:a("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,p.jsx)(ge.LazyMotion,{features:ge.domAnimation,children:(0,p.jsx)(ge.AnimatePresence,{mode:"wait",children:o&&(0,p.jsxs)(ge.motion.nav,{variants:l,initial:"hidden",animate:"show",exit:"exit",className:a(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[(0,p.jsx)(Di,{data:e}),(0,p.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,p.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,p.jsxs)("div",{className:"flex flex-nowrap",children:[(0,p.jsx)("div",{className:"flex-initial",children:(0,p.jsx)("a",{className:"link-white",target:"_blank",href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",children:(0,p.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),(0,p.jsx)("div",{className:"ml-3 flex-initial",children:(0,p.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",className:"link-white",target:"_blank",children:(0,p.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),(0,p.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,p.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,p.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,p.jsx)("a",{href:`tel:${he.Support.Hotline}`,className:"text-gray-600",children:he.Support.Hotline_Format})]}),(0,p.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,p.jsx)("a",{href:`mailto:${he.Support.Email}`,className:"text-gray-600",children:he.Support.Email})]})]}),(0,p.jsx)("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,p.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-10 pr-2 hover:bg-gray-100",children:[(0,p.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,p.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,p.jsxs)("g",{children:[(0,p.jsx)("title",{children:"Asset 1"}),(0,p.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
120
+ `})]})});var Kt=require("@heroicons/react/24/outline");var oe=require("react");var ce=require("react/jsx-runtime"),Ri=(0,oe.forwardRef)(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:l=1,inputClassName:m="",stepperClassName:d="",className:g="",onChange:x=()=>{},onChangeInputStepper:u,onDecrement:M,onIncrement:G,...re},E)=>{let R=(0,oe.useRef)(null),[ne,Y]=(0,oe.useState)(!1),[_e,T]=(0,oe.useState)(!1),[Et,tt]=(0,oe.useState)(""),ot=(0,oe.useRef)(null),I=y=>{Number(y)>=o?Y(!0):Y(!1),Number(y)>t?T(!1):T(!0)},tn=()=>{if(i||ne)return;let y=R?.current?.querySelector("input");if(!y)return;let $=0;$=Math.min(Number(y.value)+l,o),I($),y.value=String($),tt(y.value||""),u?.(y.value),G?.(y.value)},on=()=>{if(i||_e)return;let y=R?.current?.querySelector("input");if(!y)return;let $=0;$=Math.max(Number(y.value)-l,0),I($),y.value=String($),tt(y.value||""),u?.(y.value),M?.(y.value)},an=y=>{if(!y)return;let $=y?.target?.value;$?.match(/^[0-9]*$/)||($=$.replace(/[^0-9]/g,"")),I($);let Ht=parseInt($,10);Number.isNaN(Ht)||Ht<t?y.target.value=String(t):Ht>=o?y.target.value=String(o):y.target.value=String(Ht),tt(y?.target?.value||""),u?.(y.target.value),x?.(y)};return(0,oe.useEffect)(()=>{let y=R?.current?.querySelector("input");y&&I(y?.value)},[]),(0,oe.useEffect)(()=>{let y=R?.current?.querySelector("input");y&&ot?.current&&(y.style.width=`${ot.current.offsetWidth+10}px`)},[Et]),(0,ce.jsxs)("div",{ref:R,className:"flex items-center space-x-1",children:[(0,ce.jsx)(we,{id:"btn-minus",className:a(!_e&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",d),variant:"transparent",onClick:on,children:(0,ce.jsx)(Kt.MinusCircleIcon,{className:"w-8 h-8 "})}),(0,ce.jsxs)("div",{children:[(0,ce.jsx)("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:E,min:t,max:o,onChange:y=>an(y),id:"numberInput",disabled:i||r,autoComplete:"off",...re,className:a("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",m)}),(0,ce.jsx)("span",{ref:ot,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Et||" "})]}),(0,ce.jsx)(we,{id:"btn-plus",className:a(!ne&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",d),variant:"transparent",onClick:tn,children:(0,ce.jsx)(Kt.PlusCircleIcon,{className:"w-8 h-8 "})})]})});var pe=f(require("react"),1),Pe=require("@heroicons/react/16/solid"),Ti=require("@heroicons/react/24/outline"),v=f(require("@radix-ui/react-select"),1);var w=require("react/jsx-runtime"),ki=pe.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:l,disabled:m,...d},g)=>(0,w.jsxs)("div",{ref:g,className:a("select-mobase relative",e,m?"disabled":"",l?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",r===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&(0,w.jsx)("span",{className:a("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",r===2&&"text-sm -top-2.5",l&&"text-red-500"),children:o}),(0,w.jsx)(v.Root,{disabled:m,...d,children:t}),i&&(0,w.jsxs)("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",l&&"text-red-500"),children:[l?(0,w.jsx)(Pe.XCircleIcon,{width:16,height:16}):(0,w.jsx)(Ti.QuestionMarkCircleIcon,{width:16,height:16}),(0,w.jsx)("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),Di=v.Value,Zo=pe.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsxs)(v.Trigger,{ref:i,className:a("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[(0,w.jsx)("div",{className:"line-clamp-1 text-left",children:t}),(0,w.jsx)(v.Icon,{asChild:!0,children:(0,w.jsx)(Pe.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));Zo.displayName=v.Trigger.displayName;var Jt=pe.forwardRef(({className:e,...t},o)=>(0,w.jsx)(v.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:(0,w.jsx)(Pe.ChevronUpIcon,{className:"h-5 w-5"})}));Jt.displayName=v.ScrollUpButton.displayName;var eo=pe.forwardRef(({className:e,...t},o)=>(0,w.jsx)(v.ScrollDownButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:(0,w.jsx)(Pe.ChevronDownIcon,{className:"h-5 w-5"})}));eo.displayName=v.ScrollDownButton.displayName;var Yo=pe.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>(0,w.jsx)(v.Portal,{children:(0,w.jsxs)(v.Content,{ref:r,className:a("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 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",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,...i,children:[(0,w.jsx)(Jt,{}),(0,w.jsx)(v.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,w.jsx)(eo,{})]})}));Yo.displayName=v.Content.displayName;var Si=pe.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsx)(v.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Ko=pe.forwardRef(({className:e,...t},o)=>(0,w.jsx)(v.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));Ko.displayName=v.Label.displayName;var Ai=pe.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsxs)(v.Item,{ref:i,className:a("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,w.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,w.jsx)(v.ItemIndicator,{children:(0,w.jsx)(Pe.CheckIcon,{className:"h-4 w-4"})})}),(0,w.jsx)(v.ItemText,{children:t})]})),Jo=pe.forwardRef(({className:e,...t},o)=>(0,w.jsx)(v.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));Jo.displayName=v.Separator.displayName;var le=f(require("react"),1),P=f(require("@radix-ui/react-navigation-menu"),1),Mi=require("class-variance-authority"),Ii=require("@heroicons/react/16/solid");var X=require("react/jsx-runtime"),Li=le.createContext(null),Cn=({value:e,children:t})=>(0,X.jsx)(Li.Provider,{value:e,children:t}),Rn=()=>{let e=le.useContext(Li);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},bt=le.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>(0,X.jsx)(Cn,{value:{alignDropdown:o},children:(0,X.jsx)(P.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:t})}));bt.displayName=P.Root.displayName;var xt=le.forwardRef(({className:e,...t},o)=>(0,X.jsx)(P.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));xt.displayName=P.List.displayName;var yt=P.Item,wt=(0,Mi.cva)(j({variant:"transparent",size:"sm"})),Nt=le.forwardRef(({className:e,children:t,...o},i)=>(0,X.jsxs)(P.Trigger,{ref:i,className:a(wt(),"group px-2",e),...o,children:[t," ",(0,X.jsx)(Ii.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Nt.displayName=P.Trigger.displayName;var Pt=le.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=Rn();return(0,X.jsx)(P.Content,{ref:o,className:a("absolute top-full mt-3 rounded-lg bg-white text-gray-900 ring-1 ring-gray-900/5 shadow-[0_10px_32px_rgba(34,42,53,0.15),0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.08),0_1px_1px_rgba(34,42,53,0.1),0_24px_68px_rgba(47,48,55,0.1)]",e,"before:content-[''] before:absolute before:-top-3 before:left-0 before:right-0 before:w-full before:bg-transparent before:opacity-0 before:h-3",i!=="center"&&"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out ",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&" left-1/2 -translate-x-1/2 "),...t})});Pt.displayName=P.Content.displayName;var Je=P.Link,Tn=le.forwardRef(({className:e,...t},o)=>(0,X.jsx)("div",{className:a("absolute left-0 top-full flex justify-center"),children:(0,X.jsx)(P.Viewport,{className:a("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-lg 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})}));Tn.displayName=P.Viewport.displayName;var kn=le.forwardRef(({className:e,...t},o)=>(0,X.jsx)(P.Indicator,{ref:o,className:a("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,children:(0,X.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));kn.displayName=P.Indicator.displayName;var Ei=f(require("react"),1),Ct=f(require("@radix-ui/react-switch"),1);var ea=require("react/jsx-runtime"),ta=Ei.forwardRef(({className:e,...t},o)=>(0,ea.jsx)(Ct.Root,{className:a("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent 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-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:(0,ea.jsx)(Ct.Thumb,{className:a("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));ta.displayName=Ct.Root.displayName;var oa=f(require("react"),1),De=f(require("@radix-ui/react-radio-group"),1),Hi=require("lucide-react");var Rt=require("react/jsx-runtime"),aa=oa.forwardRef(({className:e,...t},o)=>(0,Rt.jsx)(De.Root,{className:a("grid gap-2",e),...t,ref:o}));aa.displayName=De.Root.displayName;var ia=oa.forwardRef(({className:e,...t},o)=>(0,Rt.jsx)(De.Item,{ref:o,className:a("aspect-square h-4 w-4 rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",e),...t,children:(0,Rt.jsx)(De.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,Rt.jsx)(Hi.Circle,{className:"h-2 w-2 fill-current text-current"})})}));ia.displayName=De.Item.displayName;var ge=require("react/jsx-runtime"),Dn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,ge.jsx)("li",{className:"",children:(0,ge.jsx)(Je,{asChild:!0,children:(0,ge.jsxs)("a",{className:a(" select-none space-y-1 rounded-md px-2 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 min-h-9 ",e,!t&&"items-center px-3"),href:r,...m,children:[t&&(0,ge.jsx)("div",{className:"w-7 h-7 shrink-0 mt-1",children:(0,ge.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,ge.jsxs)("div",{className:" ",children:[(0,ge.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&(0,ge.jsx)("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:i})]})]})})})},_i=Dn;var me=require("react/jsx-runtime"),Sn=({data:e,alignDropdown:t})=>(0,me.jsx)(bt,{alignDropdown:t,children:(0,me.jsx)(xt,{children:e.map(o=>{let i=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?(0,me.jsxs)(yt,{className:"relative",children:[(0,me.jsx)(Nt,{children:o.title}),(0,me.jsx)(Pt,{children:(0,me.jsx)("ul",{className:a("grid w-[300px] p-2 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(r=>(0,me.jsx)(_i,{title:r.title,href:r.url,newTab:r.newTab,icon:o.dropDownCompact===!0?r.icon:"",children:o.dropDownCompact===!0?r.description:""},r.title))})})]},o.id):(0,me.jsx)(yt,{className:"relative",children:(0,me.jsx)(Je,{href:o.url,className:wt(),...i,children:o.title})},o.id)})})}),Bi=Sn;var oo=require("react");var to=[.24,.25,.05,1];var Oi=require("react-use"),ra=f(require("next/router"),1);var Ce=require("react/jsx-runtime"),An=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Ce.jsx)("li",{className:"min-h-8",children:(0,Ce.jsxs)("a",{className:a(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:r,...m,children:[t&&(0,Ce.jsx)("div",{className:"w-6 h-6 shrink-0",children:(0,Ce.jsx)("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),(0,Ce.jsxs)("div",{className:" ",children:[(0,Ce.jsx)("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),i&&(0,Ce.jsx)("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:i})]})]})})},Vi=An;var zi=require("framer-motion"),fe=require("react/jsx-runtime"),Mn={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:to}},exit:{opacity:0,transition:{duration:.05}}},In=({data:e})=>(0,fe.jsx)(rt,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,fe.jsx)(zi.motion.div,{variants:Mn,children:t.hasDropdown?(0,fe.jsxs)(nt,{value:t.id,children:[(0,fe.jsx)(st,{className:"py-3",children:t.title}),(0,fe.jsx)(lt,{children:(0,fe.jsx)("ul",{className:a("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(i=>(0,fe.jsx)(Vi,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):(0,fe.jsx)("a",{className:"py-3 flex flex-1 items-center text-left justify-between font-medium transition-all hover:underline text-gray-900 border-b border-gray-200",href:t.url,...o,children:t.title})},t.id)})}),Fi=In;var Wi=require("@heroicons/react/16/solid");var ue=require("framer-motion");var p=require("react/jsx-runtime"),Ln=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,En=({data:e,className:t})=>{let[o,i]=(0,oo.useState)(!1);(0,Oi.useKey)("Escape",()=>i(!1)),(0,oo.useEffect)(()=>{if(!o)return;let m=Ln();function d(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",ra.default.events.on("routeChangeComplete",d),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:m||0,behavior:"instant"}),ra.default.events.off("routeChangeComplete",d)}},[o]);let r={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},l={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:to}},exit:{opacity:0,transition:{duration:.15}}};return(0,p.jsxs)("div",{className:a(t),children:[(0,p.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[(0,p.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,p.jsx)(ue.motion.div,{animate:o?"hidden":"visible",variants:r,children:(0,p.jsx)("svg",{className:a("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,p.jsx)(ue.motion.div,{animate:o?"visible":"hidden",variants:r,children:(0,p.jsx)("svg",{className:a("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,p.jsx)(ue.LazyMotion,{features:ue.domAnimation,children:(0,p.jsx)(ue.AnimatePresence,{mode:"wait",children:o&&(0,p.jsxs)(ue.motion.nav,{variants:l,initial:"hidden",animate:"show",exit:"exit",className:a(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[(0,p.jsx)(Fi,{data:e}),(0,p.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,p.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,p.jsxs)("div",{className:"flex flex-nowrap",children:[(0,p.jsx)("div",{className:"flex-initial",children:(0,p.jsx)("a",{className:"link-white",target:"_blank",href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",children:(0,p.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),(0,p.jsx)("div",{className:"ml-3 flex-initial",children:(0,p.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",className:"link-white",target:"_blank",children:(0,p.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),(0,p.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,p.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,p.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,p.jsx)("a",{href:`tel:${be.Support.Hotline}`,className:"text-gray-600",children:be.Support.Hotline_Format})]}),(0,p.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,p.jsx)("a",{href:`mailto:${be.Support.Email}`,className:"text-gray-600",children:be.Support.Email})]})]}),(0,p.jsx)("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,p.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-10 pr-2 hover:bg-gray-100",children:[(0,p.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,p.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,p.jsxs)("g",{children:[(0,p.jsx)("title",{children:"Asset 1"}),(0,p.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
121
121
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
122
122
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,p.jsx)("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
123
123
  c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6
124
- c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,p.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,p.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),(0,p.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),(0,p.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,p.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,p.jsx)("a",{className:"text-gray-600",href:`tel:${he.Business.Phome}`,children:he.Business.Phome_Format})]}),(0,p.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,p.jsxs)("a",{href:`mailto:${he.Business.Email}`,className:"text-gray-600",children:[" ",he.Business.Email]})]})]}),(0,p.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,p.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[(0,p.jsx)("div",{className:"absolute left-1 top-1 ",children:(0,p.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),(0,p.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,p.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]}),(0,p.jsx)("div",{className:"fixed inset-x-0 bottom-0 grid grid-cols-1 gap-x-5 px-4 py-6 bg-white",children:(0,p.jsxs)("a",{className:a("w-full tracking-cta-header",se({variant:"primary",size:"lg"})),target:"_blank",href:"http://momo.vn/download",children:[(0,p.jsx)(Ai.ArrowDownTrayIcon,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]})})]})})})]})},Mi=bn;var Ei=g(require("html-react-parser"),1);var Ii=require("@heroicons/react/16/solid"),Li=require("react");var D=require("react/jsx-runtime"),Ko=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:i=!0,navigationRight:r,isSticky:l=!0,alignDropdown:m="left"})=>{let{logo:c,name:f,url:y}=o||{},[N,A]=(0,Li.useState)(!1);return(0,D.jsxs)("div",{className:a(e,"z-40 w-full flex-none lg:z-50 ",l?"sticky top-0 ":"relative"),children:[(0,D.jsx)("div",{className:a("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),(0,D.jsx)("nav",{className:a("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:(0,D.jsxs)("div",{className:"relative flex items-center ",children:[(0,D.jsxs)("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[(0,D.jsx)("span",{className:"sr-only",children:"MoMo home page"}),(0,D.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&(0,D.jsxs)("a",{href:y,title:f,className:" relative flex space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[(0,D.jsx)("img",{src:c,className:"w-9 h-9",alt:"MoMo"}),(0,D.jsx)("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:f&&(0,Ei.default)(f)})]}),(0,D.jsx)("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:(0,D.jsx)(Ri,{data:t,alignDropdown:m})}),(0,D.jsxs)("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[r&&r,i&&(0,D.jsxs)("div",{className:" hidden sm:flex",children:[(0,D.jsxs)(ae,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>A(!0),children:[" ",(0,D.jsx)(Ii.ArrowDownTrayIcon,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),(0,D.jsx)(je,{open:N,onOpenChange:()=>A(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),(0,D.jsx)(Mi,{data:t,className:"lg:hidden "})]})]})})]})};Ko.displayName="HeaderNavigation";var _i=require("react");var s=require("react/jsx-runtime"),Hi=({item:e})=>(0,s.jsx)("div",{className:"mt-3 flex w-full text-sm",children:(0,s.jsxs)("a",{href:e.url,target:e.newTab?"_blank":"_self",rel:"noreferrer",className:"flex items-center space-x-2 text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[e.icon&&(0,s.jsx)("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:(0,s.jsx)("img",{src:e.icon,className:"absolute inset-0"})}),(0,s.jsx)("span",{className:"block ",children:e.title})]})}),xn=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=(0,_i.useState)(null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:(0,s.jsxs)("div",{className:"wrapper grid grid-cols-2 gap-5 sm:gap-x-20 sm:gap-y-10 lg:flex lg:flex-nowrap lg:gap-14",children:[(0,s.jsxs)("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((r,l)=>(0,s.jsx)(Hi,{item:r},l))]}),(0,s.jsxs)("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),(0,s.jsx)("div",{className:"flex flex-wrap",children:t?.lists?.map((r,l)=>(0,s.jsx)(Hi,{item:r},l))})]}),(0,s.jsxs)("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[(0,s.jsxs)("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),(0,s.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),(0,s.jsx)("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Ca.Address})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Hotline}`,children:_.Support.Hotline_Format}),(0,s.jsxs)("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${_.Support.Email}`,children:_.Support.Email})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsxs)("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Phone_Ext_1}`,children:_.Support.Phone_Ext_1_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Phone_Ext_2}`,children:_.Support.Phone_Ext_2_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Support.Phone_Ext_3}`,children:_.Support.Phone_Ext_3_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),(0,s.jsx)("div",{className:"mt-3 flex",children:(0,s.jsx)("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,s.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[(0,s.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,s.jsx)("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,s.jsxs)("g",{children:[(0,s.jsx)("title",{children:"Asset 1"}),(0,s.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
124
+ c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,p.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,p.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),(0,p.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),(0,p.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,p.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,p.jsx)("a",{className:"text-gray-600",href:`tel:${be.Business.Phome}`,children:be.Business.Phome_Format})]}),(0,p.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,p.jsxs)("a",{href:`mailto:${be.Business.Email}`,className:"text-gray-600",children:[" ",be.Business.Email]})]})]}),(0,p.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,p.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[(0,p.jsx)("div",{className:"absolute left-1 top-1 ",children:(0,p.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),(0,p.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,p.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]}),(0,p.jsx)("div",{className:"fixed inset-x-0 bottom-0 grid grid-cols-1 gap-x-5 px-4 py-6 bg-white",children:(0,p.jsxs)("a",{className:a("w-full tracking-cta-header",j({variant:"primary",size:"lg"})),target:"_blank",href:"http://momo.vn/download",children:[(0,p.jsx)(Wi.ArrowDownTrayIcon,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]})})]})})})]})},Gi=En;var $i=f(require("html-react-parser"),1);var ji=require("@heroicons/react/16/solid"),Ui=require("react");var S=require("react/jsx-runtime"),na=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:i=!1,navigationRight:r,isSticky:l=!0,alignDropdown:m="left"})=>{let{logo:d,name:g,url:x}=o||{},[u,M]=(0,Ui.useState)(!1);return(0,S.jsxs)("div",{className:a(e,"z-40 w-full flex-none lg:z-50 ",l?"sticky top-0 ":"relative"),children:[(0,S.jsx)("div",{className:a("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),(0,S.jsx)("nav",{className:a("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:(0,S.jsxs)("div",{className:"relative flex items-center ",children:[(0,S.jsxs)("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[(0,S.jsx)("span",{className:"sr-only",children:"MoMo home page"}),(0,S.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&(0,S.jsxs)("a",{href:x,title:g,className:" relative flex flex-none space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[(0,S.jsx)("img",{src:d,className:"w-9 h-9",alt:"MoMo"}),(0,S.jsx)("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:g&&(0,$i.default)(g)})]}),(0,S.jsx)("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:(0,S.jsx)(Bi,{data:t,alignDropdown:m})}),(0,S.jsxs)("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[r&&r,i&&(0,S.jsxs)("div",{className:" hidden sm:flex",children:[(0,S.jsxs)(U,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>M(!0),children:[" ",(0,S.jsx)(ji.ArrowDownTrayIcon,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),(0,S.jsx)(Ze,{open:u,onOpenChange:()=>M(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),(0,S.jsx)(Gi,{data:t,className:"lg:hidden "})]})]})})]})};na.displayName="HeaderNavigation";var Qi=require("react");var s=require("react/jsx-runtime"),qi=({item:e})=>(0,s.jsx)("div",{className:"mt-3 flex w-full text-sm",children:(0,s.jsxs)("a",{href:e.url,target:e.newTab?"_blank":"_self",rel:"noreferrer",className:"flex items-center space-x-2 text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[e.icon&&(0,s.jsx)("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:(0,s.jsx)("img",{src:e.icon,className:"absolute inset-0"})}),(0,s.jsx)("span",{className:"block ",children:e.title})]})}),Hn=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=(0,Qi.useState)(null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:(0,s.jsxs)("div",{className:"wrapper grid grid-cols-2 gap-5 sm:gap-x-20 sm:gap-y-10 lg:flex lg:flex-nowrap lg:gap-14",children:[(0,s.jsxs)("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((r,l)=>(0,s.jsx)(qi,{item:r},l))]}),(0,s.jsxs)("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),(0,s.jsx)("div",{className:"flex flex-wrap",children:t?.lists?.map((r,l)=>(0,s.jsx)(qi,{item:r},l))})]}),(0,s.jsxs)("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[(0,s.jsxs)("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),(0,s.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),(0,s.jsx)("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Ia.Address})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Hotline}`,children:V.Support.Hotline_Format}),(0,s.jsxs)("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${V.Support.Email}`,children:V.Support.Email})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsxs)("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_1}`,children:V.Support.Phone_Ext_1_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_2}`,children:V.Support.Phone_Ext_2_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_3}`,children:V.Support.Phone_Ext_3_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),(0,s.jsx)("div",{className:"mt-3 flex",children:(0,s.jsx)("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,s.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[(0,s.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,s.jsx)("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,s.jsxs)("g",{children:[(0,s.jsx)("title",{children:"Asset 1"}),(0,s.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
125
125
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
126
126
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,s.jsx)("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
127
127
  c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6
128
- c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,s.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,s.jsx)("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),(0,s.jsxs)("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,s.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${_.Business.Phome}`,children:_.Business.Phome_Format})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${_.Business.Email}`,children:_.Business.Email})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Website : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:"https://business.momo.vn/","aria-label":"MoMo Business",rel:"noreferrer",target:"_blank",children:"business.momo.vn"})]}),(0,s.jsx)("div",{className:"mt-3 flex",children:(0,s.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,s.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[(0,s.jsx)("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:(0,s.jsxs)("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[(0,s.jsx)("path",{d:"M9.5688 5.21563C8.63815 5.98097 9.08817 8.15453 11.2556 6.84427C11.2556 6.84427 13.9037 5.51871 15.4497 4.6401C15.7864 4.4503 16.0129 4.51152 16.2946 4.83297C16.6038 5.05644 23.6112 12.8813 23.6112 12.8813C23.6112 12.8813 25.7725 11.2404 26.6144 9.51683C26.6144 9.51683 24.6735 5.8677 22.8214 2.24612C22.2857 2.5492 21.8265 2.83696 21.2111 2.66247C20.5744 2.48185 20.0478 1.98285 19.4723 1.64916C18.8171 1.26649 18.26 0.92362 17.5283 0.819534C16.4446 0.663406 15.5935 1.15016 14.6598 1.6859C13.5975 2.29511 12.5689 2.97779 11.5617 3.69414C10.8821 4.17171 10.2178 4.6799 9.5688 5.21563Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M10.9281 17.4029C10.5638 16.9008 10.6342 16.1538 11.0842 15.7344L13.3068 13.7109C13.7568 13.2884 14.415 13.3527 14.7793 13.8517C15.1436 14.3507 15.0731 15.0977 14.6231 15.5232L12.4006 17.5467C11.9536 17.9631 11.2924 17.9019 10.9281 17.4029Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M8.87706 15.5385C8.51275 15.0364 8.58317 14.2895 9.03318 13.867L10.7873 12.272C11.2374 11.8496 11.8955 11.9139 12.2598 12.4129C12.6241 12.9149 12.5537 13.6619 12.1037 14.0844L10.3496 15.6824C9.90261 16.1018 9.24136 16.0375 8.87706 15.5385Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M6.39426 14.014C6.05751 13.4905 6.1616 12.7496 6.62998 12.3547L7.02184 12.0486C7.49022 11.6537 8.14535 11.7608 8.48822 12.2812L8.51271 12.3118C8.85252 12.8353 8.72395 13.5456 8.2525 13.9405L7.86065 14.2466C7.39226 14.6415 6.73407 14.5374 6.39426 14.014Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M16.2182 16.2671C15.8325 15.7895 15.1712 15.762 14.7396 16.2089L13.7814 17.2039C13.3497 17.6508 13.313 18.4009 13.6987 18.8815C14.0844 19.3621 14.7488 19.3866 15.1773 18.9397L16.1355 17.9447C16.5672 17.4978 16.6039 16.7477 16.2182 16.2671Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M29.9207 7.86982C30.0799 8.1729 29.9911 8.53108 29.7278 8.66884L28.1145 9.51989C27.8512 9.65459 27.5084 9.51989 27.3522 9.21682L23.5255 1.81447C23.3694 1.5114 23.4551 1.15322 23.7184 1.01546L25.3317 0.167464C25.595 0.0297027 25.9379 0.167463 26.094 0.470537L29.9207 7.86982Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M2.61348 9.14334C2.49409 9.46479 2.18489 9.6454 1.92467 9.54744L0.299097 8.98415C0.0388821 8.88619 -0.0713265 8.54638 0.0480662 8.228L2.9839 0.430738C3.10329 0.109296 3.41249 -0.0713245 3.67271 0.0266388L5.29828 0.592989C5.5585 0.690952 5.66871 1.03076 5.54931 1.34914L2.61348 9.14334Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M23.5224 13.8395L23.5163 13.8333C23.4826 14.0109 23.4336 14.1609 23.2989 14.3109C23.0816 14.5528 22.7999 14.6721 22.5152 14.6721C22.2183 14.6721 21.9183 14.5405 21.6887 14.2772L18.9212 11.1393C18.8692 11.0781 18.8049 11.0506 18.7375 11.0506C18.4742 11.0506 18.1804 11.4853 18.4191 11.7363L20.6907 14.2466C21.1223 14.7426 21.1315 15.5079 20.7029 15.9855C20.5039 16.2059 20.259 16.313 20.011 16.313C19.7233 16.313 19.4294 16.1722 19.1967 15.9059L16.5946 13.0037C16.5364 12.9119 16.4629 12.8721 16.3864 12.8721C16.1415 12.8721 15.8843 13.2792 16.1415 13.5731L18.1436 15.8691C18.563 16.3498 18.5293 17.0967 18.1161 17.5621C17.9263 17.7733 17.6936 17.8743 17.4548 17.8743C17.3171 17.8743 17.1762 17.8406 17.0415 17.7733C16.9589 17.9937 16.8364 18.2019 16.6772 18.3856C16.9221 18.5203 17.1885 18.5968 17.4548 18.5968C17.8926 18.5968 18.3059 18.407 18.6181 18.058C18.9426 17.6968 19.111 17.2376 19.1294 16.7753C19.3988 16.9437 19.7049 17.0355 20.011 17.0355C20.4611 17.0355 20.8866 16.8396 21.208 16.4814C21.5295 16.1232 21.6948 15.6579 21.707 15.1895C21.955 15.3242 22.2336 15.3946 22.5152 15.3946C23.005 15.3946 23.4612 15.1834 23.801 14.8038C24.1255 14.4395 24.1837 14.0599 24.2235 13.7844C24.2449 13.6343 24.2173 13.4843 24.1561 13.3527C24.0765 13.417 24.0275 13.4537 24.0153 13.4629L23.5224 13.8395Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M6.20135 11.7914L6.21053 11.7822L6.21972 11.7731L6.38503 11.6445C5.02579 10.2669 4.19616 9.2505 4.19616 9.2505C5.5003 5.92894 6.97587 1.88183 6.97587 1.88183C6.96363 2.11143 7.73509 2.52166 7.89122 2.58288C8.14837 2.68697 8.42695 2.73595 8.70553 2.73595C8.78513 2.73595 8.86166 2.73289 8.9382 2.7237C9.75252 2.64105 10.5179 2.17266 11.2342 1.7655C11.7179 1.49304 12.3179 1.21446 12.8843 1.21446C13.1537 1.21446 13.4139 1.28487 13.6557 1.441C13.8731 1.30936 14.0874 1.18078 14.2986 1.06139C14.2619 1.01547 14.2221 0.972612 14.1762 0.935876C13.8088 0.641986 13.3741 0.495041 12.8873 0.495041C12.1312 0.495041 11.3965 0.859342 10.9097 1.1318L10.723 1.23895C10.1107 1.58794 9.48006 1.94612 8.87391 2.00735C8.8188 2.01347 8.76064 2.01653 8.70553 2.01653C8.50349 2.01653 8.30756 1.9798 8.13918 1.91245C8.01673 1.8604 7.73815 1.69815 7.60651 1.59407C7.52079 1.38589 7.34323 1.22977 7.11976 1.17772C7.07077 1.16548 7.02179 1.16242 6.97587 1.16242C6.69729 1.16242 6.43707 1.34304 6.33299 1.62774C6.31768 1.66754 4.84517 5.70546 3.5594 8.97804C3.46144 9.22907 3.5043 9.51684 3.67267 9.72195C3.70941 9.76481 4.52985 10.7659 5.87991 12.1374C5.97175 12.0149 6.0789 11.8955 6.20135 11.7914Z",fill:"#fff"})]})}),(0,s.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,s.jsx)("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),(0,s.jsxs)("div",{className:"col-span-2 gap-8 sm:col-span-1 md:mt-0 md:flex md:flex-col md:flex-wrap md:justify-between ",children:[(0,s.jsxs)("div",{className:"h-auto",children:[(0,s.jsx)("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"K\u1EBFt n\u1ED1i v\u1EDBi ch\xFAng t\xF4i"}),(0,s.jsx)("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:(0,s.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Ke&&Ke.map((r,l)=>(0,s.jsx)("li",{className:"inline-block",children:(0,s.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:(0,s.jsx)("img",{src:r.Image,loading:"lazy",width:"40",height:"40"})})},l))})})]}),(0,s.jsxs)("div",{className:"h-auto",children:[(0,s.jsx)("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"T\u1EA3i \u1EE9ng d\u1EE5ng tr\xEAn \u0111i\u1EC7n tho\u1EA1i"}),(0,s.jsxs)("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[(0,s.jsx)("div",{className:"relative hidden h-24 w-24 lg:w-20 lg:h-20 grow-0 overflow-hidden rounded-sm bg-white md:block",children:(0,s.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),(0,s.jsx)("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Jt&&Jt.map((r,l)=>(0,s.jsxs)("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${r.Image}) center center / contain no-repeat`},children:[(0,s.jsx)(ae,{onClick:()=>i(l),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:r.Name}),(0,s.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),(0,s.jsx)(je,{open:o===l,onOpenChange:()=>i(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:r.Link})]},l))}),(0,s.jsx)("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:(0,s.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Ke&&Ke.map((r,l)=>(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:(0,s.jsx)("img",{alt:r.Name,src:r.Image,loading:"lazy",width:"36",height:"36"})})},l))})})]})]}),(0,s.jsxs)("div",{className:"h-auto",children:[(0,s.jsx)("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"\u0110\u01B0\u1EE3c ch\u1EE9ng nh\u1EADn b\u1EDFi"}),(0,s.jsxs)("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[(0,s.jsxs)("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),(0,s.jsx)("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:(0,s.jsx)("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),(0,s.jsx)("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:(0,s.jsxs)("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[(0,s.jsxs)("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[(0,s.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),(0,s.jsxs)("div",{className:"shrink pl-3",children:[(0,s.jsx)("div",{className:"text-sm text-white text-opacity-80 md:mb-1.5 ",children:"C\xD4NG TY C\u1ED4 PH\u1EA6N D\u1ECACH V\u1EE4 DI \u0110\u1ED8NG TR\u1EF0C TUY\u1EBEN"}),(0,s.jsx)("span",{className:"hidden text-xs text-white text-opacity-50 md:block lg:text-sm lg:leading-none",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"})]})]}),(0,s.jsx)("span",{className:"block text-sm text-white text-opacity-50 md:hidden",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"}),(0,s.jsxs)("span",{className:"hidden w-48 flex-none text-right text-sm text-white text-opacity-50 md:block",children:["\xA9Copyright M_Service ",new Date().getFullYear()]})]})}),(0,s.jsx)("style",{children:`
128
+ c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,s.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,s.jsx)("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),(0,s.jsxs)("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,s.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Business.Phome}`,children:V.Business.Phome_Format})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${V.Business.Email}`,children:V.Business.Email})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Website : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:"https://business.momo.vn/","aria-label":"MoMo Business",rel:"noreferrer",target:"_blank",children:"business.momo.vn"})]}),(0,s.jsx)("div",{className:"mt-3 flex",children:(0,s.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,s.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[(0,s.jsx)("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:(0,s.jsxs)("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[(0,s.jsx)("path",{d:"M9.5688 5.21563C8.63815 5.98097 9.08817 8.15453 11.2556 6.84427C11.2556 6.84427 13.9037 5.51871 15.4497 4.6401C15.7864 4.4503 16.0129 4.51152 16.2946 4.83297C16.6038 5.05644 23.6112 12.8813 23.6112 12.8813C23.6112 12.8813 25.7725 11.2404 26.6144 9.51683C26.6144 9.51683 24.6735 5.8677 22.8214 2.24612C22.2857 2.5492 21.8265 2.83696 21.2111 2.66247C20.5744 2.48185 20.0478 1.98285 19.4723 1.64916C18.8171 1.26649 18.26 0.92362 17.5283 0.819534C16.4446 0.663406 15.5935 1.15016 14.6598 1.6859C13.5975 2.29511 12.5689 2.97779 11.5617 3.69414C10.8821 4.17171 10.2178 4.6799 9.5688 5.21563Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M10.9281 17.4029C10.5638 16.9008 10.6342 16.1538 11.0842 15.7344L13.3068 13.7109C13.7568 13.2884 14.415 13.3527 14.7793 13.8517C15.1436 14.3507 15.0731 15.0977 14.6231 15.5232L12.4006 17.5467C11.9536 17.9631 11.2924 17.9019 10.9281 17.4029Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M8.87706 15.5385C8.51275 15.0364 8.58317 14.2895 9.03318 13.867L10.7873 12.272C11.2374 11.8496 11.8955 11.9139 12.2598 12.4129C12.6241 12.9149 12.5537 13.6619 12.1037 14.0844L10.3496 15.6824C9.90261 16.1018 9.24136 16.0375 8.87706 15.5385Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M6.39426 14.014C6.05751 13.4905 6.1616 12.7496 6.62998 12.3547L7.02184 12.0486C7.49022 11.6537 8.14535 11.7608 8.48822 12.2812L8.51271 12.3118C8.85252 12.8353 8.72395 13.5456 8.2525 13.9405L7.86065 14.2466C7.39226 14.6415 6.73407 14.5374 6.39426 14.014Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M16.2182 16.2671C15.8325 15.7895 15.1712 15.762 14.7396 16.2089L13.7814 17.2039C13.3497 17.6508 13.313 18.4009 13.6987 18.8815C14.0844 19.3621 14.7488 19.3866 15.1773 18.9397L16.1355 17.9447C16.5672 17.4978 16.6039 16.7477 16.2182 16.2671Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M29.9207 7.86982C30.0799 8.1729 29.9911 8.53108 29.7278 8.66884L28.1145 9.51989C27.8512 9.65459 27.5084 9.51989 27.3522 9.21682L23.5255 1.81447C23.3694 1.5114 23.4551 1.15322 23.7184 1.01546L25.3317 0.167464C25.595 0.0297027 25.9379 0.167463 26.094 0.470537L29.9207 7.86982Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M2.61348 9.14334C2.49409 9.46479 2.18489 9.6454 1.92467 9.54744L0.299097 8.98415C0.0388821 8.88619 -0.0713265 8.54638 0.0480662 8.228L2.9839 0.430738C3.10329 0.109296 3.41249 -0.0713245 3.67271 0.0266388L5.29828 0.592989C5.5585 0.690952 5.66871 1.03076 5.54931 1.34914L2.61348 9.14334Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M23.5224 13.8395L23.5163 13.8333C23.4826 14.0109 23.4336 14.1609 23.2989 14.3109C23.0816 14.5528 22.7999 14.6721 22.5152 14.6721C22.2183 14.6721 21.9183 14.5405 21.6887 14.2772L18.9212 11.1393C18.8692 11.0781 18.8049 11.0506 18.7375 11.0506C18.4742 11.0506 18.1804 11.4853 18.4191 11.7363L20.6907 14.2466C21.1223 14.7426 21.1315 15.5079 20.7029 15.9855C20.5039 16.2059 20.259 16.313 20.011 16.313C19.7233 16.313 19.4294 16.1722 19.1967 15.9059L16.5946 13.0037C16.5364 12.9119 16.4629 12.8721 16.3864 12.8721C16.1415 12.8721 15.8843 13.2792 16.1415 13.5731L18.1436 15.8691C18.563 16.3498 18.5293 17.0967 18.1161 17.5621C17.9263 17.7733 17.6936 17.8743 17.4548 17.8743C17.3171 17.8743 17.1762 17.8406 17.0415 17.7733C16.9589 17.9937 16.8364 18.2019 16.6772 18.3856C16.9221 18.5203 17.1885 18.5968 17.4548 18.5968C17.8926 18.5968 18.3059 18.407 18.6181 18.058C18.9426 17.6968 19.111 17.2376 19.1294 16.7753C19.3988 16.9437 19.7049 17.0355 20.011 17.0355C20.4611 17.0355 20.8866 16.8396 21.208 16.4814C21.5295 16.1232 21.6948 15.6579 21.707 15.1895C21.955 15.3242 22.2336 15.3946 22.5152 15.3946C23.005 15.3946 23.4612 15.1834 23.801 14.8038C24.1255 14.4395 24.1837 14.0599 24.2235 13.7844C24.2449 13.6343 24.2173 13.4843 24.1561 13.3527C24.0765 13.417 24.0275 13.4537 24.0153 13.4629L23.5224 13.8395Z",fill:"#fff"}),(0,s.jsx)("path",{d:"M6.20135 11.7914L6.21053 11.7822L6.21972 11.7731L6.38503 11.6445C5.02579 10.2669 4.19616 9.2505 4.19616 9.2505C5.5003 5.92894 6.97587 1.88183 6.97587 1.88183C6.96363 2.11143 7.73509 2.52166 7.89122 2.58288C8.14837 2.68697 8.42695 2.73595 8.70553 2.73595C8.78513 2.73595 8.86166 2.73289 8.9382 2.7237C9.75252 2.64105 10.5179 2.17266 11.2342 1.7655C11.7179 1.49304 12.3179 1.21446 12.8843 1.21446C13.1537 1.21446 13.4139 1.28487 13.6557 1.441C13.8731 1.30936 14.0874 1.18078 14.2986 1.06139C14.2619 1.01547 14.2221 0.972612 14.1762 0.935876C13.8088 0.641986 13.3741 0.495041 12.8873 0.495041C12.1312 0.495041 11.3965 0.859342 10.9097 1.1318L10.723 1.23895C10.1107 1.58794 9.48006 1.94612 8.87391 2.00735C8.8188 2.01347 8.76064 2.01653 8.70553 2.01653C8.50349 2.01653 8.30756 1.9798 8.13918 1.91245C8.01673 1.8604 7.73815 1.69815 7.60651 1.59407C7.52079 1.38589 7.34323 1.22977 7.11976 1.17772C7.07077 1.16548 7.02179 1.16242 6.97587 1.16242C6.69729 1.16242 6.43707 1.34304 6.33299 1.62774C6.31768 1.66754 4.84517 5.70546 3.5594 8.97804C3.46144 9.22907 3.5043 9.51684 3.67267 9.72195C3.70941 9.76481 4.52985 10.7659 5.87991 12.1374C5.97175 12.0149 6.0789 11.8955 6.20135 11.7914Z",fill:"#fff"})]})}),(0,s.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,s.jsx)("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),(0,s.jsxs)("div",{className:"col-span-2 gap-8 sm:col-span-1 md:mt-0 md:flex md:flex-col md:flex-wrap md:justify-between ",children:[(0,s.jsxs)("div",{className:"h-auto",children:[(0,s.jsx)("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"K\u1EBFt n\u1ED1i v\u1EDBi ch\xFAng t\xF4i"}),(0,s.jsx)("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:(0,s.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:at&&at.map((r,l)=>(0,s.jsx)("li",{className:"inline-block",children:(0,s.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:(0,s.jsx)("img",{src:r.Image,loading:"lazy",width:"40",height:"40"})})},l))})})]}),(0,s.jsxs)("div",{className:"h-auto",children:[(0,s.jsx)("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"T\u1EA3i \u1EE9ng d\u1EE5ng tr\xEAn \u0111i\u1EC7n tho\u1EA1i"}),(0,s.jsxs)("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[(0,s.jsx)("div",{className:"relative hidden h-24 w-24 lg:w-20 lg:h-20 grow-0 overflow-hidden rounded-sm bg-white md:block",children:(0,s.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),(0,s.jsx)("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:lo&&lo.map((r,l)=>(0,s.jsxs)("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${r.Image}) center center / contain no-repeat`},children:[(0,s.jsx)(U,{onClick:()=>i(l),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:r.Name}),(0,s.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),(0,s.jsx)(Ze,{open:o===l,onOpenChange:()=>i(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:r.Link})]},l))}),(0,s.jsx)("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:(0,s.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:at&&at.map((r,l)=>(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:(0,s.jsx)("img",{alt:r.Name,src:r.Image,loading:"lazy",width:"36",height:"36"})})},l))})})]})]}),(0,s.jsxs)("div",{className:"h-auto",children:[(0,s.jsx)("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"\u0110\u01B0\u1EE3c ch\u1EE9ng nh\u1EADn b\u1EDFi"}),(0,s.jsxs)("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[(0,s.jsxs)("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),(0,s.jsx)("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:(0,s.jsx)("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),(0,s.jsx)("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:(0,s.jsxs)("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[(0,s.jsxs)("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[(0,s.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),(0,s.jsxs)("div",{className:"shrink pl-3",children:[(0,s.jsx)("div",{className:"text-sm text-white text-opacity-80 md:mb-1.5 ",children:"C\xD4NG TY C\u1ED4 PH\u1EA6N D\u1ECACH V\u1EE4 DI \u0110\u1ED8NG TR\u1EF0C TUY\u1EBEN"}),(0,s.jsx)("span",{className:"hidden text-xs text-white text-opacity-50 md:block lg:text-sm lg:leading-none",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"})]})]}),(0,s.jsx)("span",{className:"block text-sm text-white text-opacity-50 md:hidden",children:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"}),(0,s.jsxs)("span",{className:"hidden w-48 flex-none text-right text-sm text-white text-opacity-50 md:block",children:["\xA9Copyright M_Service ",new Date().getFullYear()]})]})}),(0,s.jsx)("style",{children:`
129
129
  footer .button-download {
130
130
  max-width: 150px;
131
131
  }
132
- `})]})},Bi=xn;var Jo=require("react/jsx-runtime"),Vi=({className:e,primaryMenu:t,secondaryMenu:o})=>(0,Jo.jsx)("footer",{className:a("grid grid-cols-1 flex-wrap bg-gray-900",e),children:(0,Jo.jsx)(Bi,{primaryMenu:t,secondaryMenu:o})});var ze=g(require("react"),1);var Fe=require("react/jsx-runtime"),ea=ze.forwardRef(({className:e,...t},o)=>(0,Fe.jsx)("div",{ref:o,className:a("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ea.displayName="Card";var ta=ze.forwardRef(({className:e,...t},o)=>(0,Fe.jsx)("div",{ref:o,className:a("flex flex-col space-y-1.5 p-6",e),...t}));ta.displayName="CardHeader";var oa=ze.forwardRef(({className:e,...t},o)=>(0,Fe.jsx)("h3",{ref:o,className:a("font-semibold leading-none tracking-tight",e),...t}));oa.displayName="CardTitle";var aa=ze.forwardRef(({className:e,...t},o)=>(0,Fe.jsx)("p",{ref:o,className:a("text-sm text-muted-foreground",e),...t}));aa.displayName="CardDescription";var ia=ze.forwardRef(({className:e,...t},o)=>(0,Fe.jsx)("div",{ref:o,className:a("p-6 pt-0",e),...t}));ia.displayName="CardContent";var ra=ze.forwardRef(({className:e,...t},o)=>(0,Fe.jsx)("div",{ref:o,className:a("flex items-center p-6 pt-0",e),...t}));ra.displayName="CardFooter";var J=g(require("react"),1),V=require("cmdk");var Ze=require("@heroicons/react/16/solid"),L=require("react/jsx-runtime"),Qt=J.forwardRef(({className:e,...t},o)=>(0,L.jsx)(V.Command,{ref:o,className:a("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));Qt.displayName=V.Command.displayName;var zi=({children:e,...t})=>(0,L.jsx)($e,{...t,children:(0,L.jsx)(He,{className:"overflow-hidden p-0 shadow-lg",children:(0,L.jsx)(Qt,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),na=J.forwardRef(({className:e,onClickClear:t,...o},i)=>{let r=J.useRef(null),[l,m]=J.useState(""),c=()=>{!l||l?.length<=0||(m(""),t?.(l))};return(0,L.jsxs)("div",{ref:r,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,L.jsx)(Ze.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),(0,L.jsx)(V.Command.Input,{ref:i,className:a("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),value:l,onValueChange:m,...o}),(0,L.jsx)(Ze.XCircleIcon,{onClick:c,className:a("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",l?.length>0?"opacity-100":"opacity-0")})]})});na.displayName=V.Command.Input.displayName;var sa=J.forwardRef(({className:e,...t},o)=>(0,L.jsx)(V.Command.List,{ref:o,className:a("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));sa.displayName=V.Command.List.displayName;var la=J.forwardRef((e,t)=>(0,L.jsx)(V.Command.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));la.displayName=V.Command.Empty.displayName;var ma=J.forwardRef(({className:e,...t},o)=>(0,L.jsx)(V.Command.Group,{ref:o,className:a("overflow-hidden text-gray-900 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=V.Command.Group.displayName;var ca=J.forwardRef(({className:e,...t},o)=>(0,L.jsx)(V.Command.Separator,{ref:o,className:a("-mx-1 text-gray-900 h-px bg-border",e),...t}));ca.displayName=V.Command.Separator.displayName;var da=J.forwardRef(({className:e,children:t,isActive:o,...i},r)=>(0,L.jsxs)(V.Command.Item,{ref:r,className:a("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o?"bg-gray-100":"",e),...i,children:[(0,L.jsx)(Ze.CheckIcon,{className:a("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));da.displayName=V.Command.Item.displayName;var pa=({className:e,...t})=>(0,L.jsx)("span",{className:a("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});pa.displayName="CommandShortcut";var Fi=require("@heroicons/react/16/solid");var ke=require("react/jsx-runtime"),Oi=({className:e,value:t,label:o,children:i,placeholder:r})=>(0,ke.jsxs)("div",{className:"relative",children:[(0,ke.jsxs)(_t,{className:a("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),children:[t||i||r,(0,ke.jsx)(Fi.ChevronDownIcon,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&(0,ke.jsx)("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),Wi=({children:e,className:t})=>(0,ke.jsx)(lt,{className:a("!p-0 border-none",t),children:e}),Gi=({open:e,onOpenChange:t,children:o})=>(0,ke.jsx)(Ht,{open:e,onOpenChange:t,children:o});var ga=require("class-variance-authority"),$i=require("react");var ji=require("@heroicons/react/24/outline");var Oe=require("react/jsx-runtime"),yn=(0,ga.cva)("px-3 py-2 rounded-md border flex items-center space-x-2 text-gray-700 text-sm ",{variants:{typeDiv:{neutral:"bg-gray-50 border-gray-300 ",error:"bg-red-50 border-red-300",success:"bg-green-50 border-green-300",warning:"bg-yellow-50 border-yellow-300",info:"bg-blue-50 border-blue-300"},disabled:{true:"text-gray-400 bg-gray-50 opacity-55 pointer-events-none border-gray-300"}},defaultVariants:{typeDiv:"neutral"}}),wn=(0,ga.cva)("w-5 h-5 shrink-0 border-none p-0 ",{variants:{typeIcon:{neutral:"text-gray-700",error:"text-red-700",success:"text-green-700",warning:"text-yellow-700",info:"text-blue-700"},disabled:{true:"text-gray-400"}},defaultVariants:{typeIcon:"neutral"}}),Ui=(0,$i.forwardRef)(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:i,className:r,disabled:l,actionClassName:m,...c},f)=>(0,Oe.jsxs)("div",{ref:f,className:a("",r,yn({typeDiv:e,disabled:l})),...c,children:[(0,Oe.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Oe.jsx)(ji.InformationCircleIcon,{className:a(wn({typeIcon:e,disabled:l})),width:20,height:20}),(0,Oe.jsx)("div",{children:"B\u1EA1n c\u1EA7n cho ph\xE9p website s\u1EED d\u1EE5ng th\xF4ng tin v\u1ECB tr\xED \u0111\u1EC3 s\u1EED d\u1EE5ng t\xEDnh n\u0103ng n\xE0y"})]}),o&&(0,Oe.jsx)(ct,{variant:"primary",onClick:()=>i?.(),className:a("",m),isDisabled:l,children:o})]}));var De=require("react"),qi=require("@heroicons/react/20/solid"),Qi=require("@heroicons/react/24/outline");var fe=require("react/jsx-runtime"),Zi=(0,De.forwardRef)(({disabled:e,className:t,inputClassName:o,size:i,onChange:r,onFocus:l,onClickClear:m,value:c,defaultValue:f,type:y="text",...N},A)=>{let[O,te]=(0,De.useState)(!1),I=(0,De.useRef)(null),R=T=>{T&&!O&&te(!0),!T&&O&&te(!1)},oe=T=>{R(T.target.value),r?.(T)},q=T=>{R(T.target.value),l?.(T)},Le=()=>{let T=I.current?.querySelector("input");T&&(m?.(T.value),T.value="",T.focus(),te(!1))};return(0,De.useEffect)(()=>{R(f||c)},[c,f]),(0,fe.jsxs)("div",{className:a(t),ref:I,children:[(0,fe.jsxs)("div",{className:"relative flex items-center",children:[(0,fe.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:(0,fe.jsx)(qi.MagnifyingGlassIcon,{className:"w-4 h-4 text-gray-500"})}),(0,fe.jsx)("input",{disabled:e,type:y,ref:A,className:a("mobase-text-input-box text-gray-900 h-10 bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 px-9 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block disabled:opacity-50",o),onChange:oe,onFocus:q,value:c,defaultValue:f,...N}),O&&(0,fe.jsx)("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:Le,children:(0,fe.jsx)(Qi.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),(0,fe.jsx)("style",{children:`
132
+ `})]})},Xi=Hn;var sa=require("react/jsx-runtime"),Zi=({className:e,primaryMenu:t,secondaryMenu:o})=>(0,sa.jsx)("footer",{className:a("grid grid-cols-1 flex-wrap bg-gray-900",e),children:(0,sa.jsx)(Xi,{primaryMenu:t,secondaryMenu:o})});var We=f(require("react"),1);var Ge=require("react/jsx-runtime"),la=We.forwardRef(({className:e,...t},o)=>(0,Ge.jsx)("div",{ref:o,className:a("rounded-xl border bg-card text-card-foreground shadow",e),...t}));la.displayName="Card";var ma=We.forwardRef(({className:e,...t},o)=>(0,Ge.jsx)("div",{ref:o,className:a("flex flex-col space-y-1.5 p-6",e),...t}));ma.displayName="CardHeader";var da=We.forwardRef(({className:e,...t},o)=>(0,Ge.jsx)("h3",{ref:o,className:a("font-semibold leading-none tracking-tight",e),...t}));da.displayName="CardTitle";var ca=We.forwardRef(({className:e,...t},o)=>(0,Ge.jsx)("p",{ref:o,className:a("text-sm text-muted-foreground",e),...t}));ca.displayName="CardDescription";var pa=We.forwardRef(({className:e,...t},o)=>(0,Ge.jsx)("div",{ref:o,className:a("p-6 pt-0",e),...t}));pa.displayName="CardContent";var ga=We.forwardRef(({className:e,...t},o)=>(0,Ge.jsx)("div",{ref:o,className:a("flex items-center p-6 pt-0",e),...t}));ga.displayName="CardFooter";var ae=f(require("react"),1),F=require("cmdk");var et=require("@heroicons/react/16/solid"),_=require("react/jsx-runtime"),ao=ae.forwardRef(({className:e,...t},o)=>(0,_.jsx)(F.Command,{ref:o,className:a("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));ao.displayName=F.Command.displayName;var Yi=({children:e,...t})=>(0,_.jsx)(Xe,{...t,children:(0,_.jsx)(Ve,{className:"overflow-hidden p-0 shadow-lg",children:(0,_.jsx)(ao,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),fa=ae.forwardRef(({className:e,onClickClear:t,...o},i)=>{let r=ae.useRef(null),[l,m]=ae.useState(""),d=()=>{!l||l?.length<=0||(m(""),t?.(l))};return(0,_.jsxs)("div",{ref:r,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,_.jsx)(et.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),(0,_.jsx)(F.Command.Input,{ref:i,className:a("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),value:l,onValueChange:m,...o}),(0,_.jsx)(et.XCircleIcon,{onClick:d,className:a("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",l?.length>0?"opacity-100":"opacity-0")})]})});fa.displayName=F.Command.Input.displayName;var ua=ae.forwardRef(({className:e,...t},o)=>(0,_.jsx)(F.Command.List,{ref:o,className:a("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));ua.displayName=F.Command.List.displayName;var ha=ae.forwardRef((e,t)=>(0,_.jsx)(F.Command.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));ha.displayName=F.Command.Empty.displayName;var va=ae.forwardRef(({className:e,...t},o)=>(0,_.jsx)(F.Command.Group,{ref:o,className:a("overflow-hidden text-gray-900 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}));va.displayName=F.Command.Group.displayName;var ba=ae.forwardRef(({className:e,...t},o)=>(0,_.jsx)(F.Command.Separator,{ref:o,className:a("-mx-1 text-gray-900 h-px bg-border",e),...t}));ba.displayName=F.Command.Separator.displayName;var xa=ae.forwardRef(({className:e,children:t,isActive:o,...i},r)=>(0,_.jsxs)(F.Command.Item,{ref:r,className:a("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o?"bg-gray-100":"",e),...i,children:[(0,_.jsx)(et.CheckIcon,{className:a("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));xa.displayName=F.Command.Item.displayName;var ya=({className:e,...t})=>(0,_.jsx)("span",{className:a("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});ya.displayName="CommandShortcut";var Ki=require("@heroicons/react/16/solid");var Se=require("react/jsx-runtime"),Ji=({className:e,value:t,label:o,children:i,placeholder:r})=>(0,Se.jsxs)("div",{className:"relative",children:[(0,Se.jsxs)(Qe,{className:a("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),children:[t||i||r,(0,Se.jsx)(Ki.ChevronDownIcon,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&(0,Se.jsx)("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),er=({children:e,className:t})=>(0,Se.jsx)(Be,{className:a("!p-0 border-none",t),children:e}),tr=({open:e,onOpenChange:t,children:o})=>(0,Se.jsx)(qe,{open:e,onOpenChange:t,children:o});var wa=require("class-variance-authority"),or=require("react");var ar=require("@heroicons/react/24/outline");var $e=require("react/jsx-runtime"),_n=(0,wa.cva)("px-3 py-2 rounded-md border flex items-center space-x-2 text-gray-700 text-sm ",{variants:{typeDiv:{neutral:"bg-gray-50 border-gray-300 ",error:"bg-red-50 border-red-300",success:"bg-green-50 border-green-300",warning:"bg-yellow-50 border-yellow-300",info:"bg-blue-50 border-blue-300"},disabled:{true:"text-gray-400 bg-gray-50 opacity-55 pointer-events-none border-gray-300"}},defaultVariants:{typeDiv:"neutral"}}),Bn=(0,wa.cva)("w-5 h-5 shrink-0 border-none p-0 ",{variants:{typeIcon:{neutral:"text-gray-700",error:"text-red-700",success:"text-green-700",warning:"text-yellow-700",info:"text-blue-700"},disabled:{true:"text-gray-400"}},defaultVariants:{typeIcon:"neutral"}}),ir=(0,or.forwardRef)(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:i,className:r,disabled:l,actionClassName:m,...d},g)=>(0,$e.jsxs)("div",{ref:g,className:a("",r,_n({typeDiv:e,disabled:l})),...d,children:[(0,$e.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,$e.jsx)(ar.InformationCircleIcon,{className:a(Bn({typeIcon:e,disabled:l})),width:20,height:20}),(0,$e.jsx)("div",{children:"B\u1EA1n c\u1EA7n cho ph\xE9p website s\u1EED d\u1EE5ng th\xF4ng tin v\u1ECB tr\xED \u0111\u1EC3 s\u1EED d\u1EE5ng t\xEDnh n\u0103ng n\xE0y"})]}),o&&(0,$e.jsx)(vt,{variant:"primary",onClick:()=>i?.(),className:a("",m),isDisabled:l,children:o})]}));var Ae=require("react"),rr=require("@heroicons/react/20/solid"),nr=require("@heroicons/react/24/outline");var he=require("react/jsx-runtime"),sr=(0,Ae.forwardRef)(({disabled:e,className:t,inputClassName:o,size:i,onChange:r,onFocus:l,onClickClear:m,value:d,defaultValue:g,type:x="text",...u},M)=>{let[G,re]=(0,Ae.useState)(!1),E=(0,Ae.useRef)(null),R=T=>{T&&!G&&re(!0),!T&&G&&re(!1)},ne=T=>{R(T.target.value),r?.(T)},Y=T=>{R(T.target.value),l?.(T)},_e=()=>{let T=E.current?.querySelector("input");T&&(m?.(T.value),T.value="",T.focus(),re(!1))};return(0,Ae.useEffect)(()=>{R(g||d)},[d,g]),(0,he.jsxs)("div",{className:a(t),ref:E,children:[(0,he.jsxs)("div",{className:"relative flex items-center",children:[(0,he.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:(0,he.jsx)(rr.MagnifyingGlassIcon,{className:"w-4 h-4 text-gray-500"})}),(0,he.jsx)("input",{disabled:e,type:x,ref:M,className:a("mobase-text-input-box text-gray-900 h-10 bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 px-9 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block disabled:opacity-50",o),onChange:ne,onFocus:Y,value:d,defaultValue:g,...u}),G&&(0,he.jsx)("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:_e,children:(0,he.jsx)(nr.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),(0,he.jsx)("style",{children:`
133
133
  .mobase-text-input-box:hover {
134
134
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
135
135
  }
136
136
  .mobase-text-input-box:focus {
137
137
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-pink-500) / 1) inset;
138
138
  }
139
- `})]})});var Zt=require("swiper/react"),Se=require("swiper"),S=g(require("@radix-ui/react-dialog"),1),U=g(require("react"),1);var Xi=require("lucide-react"),Xt=require("@heroicons/react/24/outline"),Yi=g(require("lodash"),1),v=require("react/jsx-runtime"),Nn=S.Root,Pn=S.Portal,Ki=U.default.forwardRef(({className:e,...t},o)=>(0,v.jsx)(S.Overlay,{ref:o,className:a("fixed inset-0 bg-black/80 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ki.displayName=S.Overlay.displayName;var Cn=({clearActiveIndex:e})=>(0,v.jsxs)(S.Close,{onClick:()=>e?.(),className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[(0,v.jsx)(Xi.X,{className:"h-4 w-4 mt-0.5"}),(0,v.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),Ji=({children:e,src:t,alt:o,className:i,classNameImage:r,onClick:l})=>{let m=()=>{l?.()};return(0,v.jsxs)(S.Trigger,{className:a("aspect-[2/3] relative overflow-hidden rounded-lg",i),onClick:m,children:[e,(0,v.jsx)("img",{src:t,alt:o,className:a("w-full h-full object-cover rounded-lg",r)})]})},er=U.default.forwardRef(({className:e,children:t,...o},i)=>(0,v.jsxs)(Pn,{children:[(0,v.jsx)(Ki,{className:"bg-black"}),(0,v.jsxs)(S.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed bg-black left-[50%] top-[50%] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border 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%] ",e),...o,children:[t,(0,v.jsx)(Cn,{})]})]}));er.displayName=S.Content.displayName;var Rn=({className:e,...t})=>(0,v.jsx)("div",{className:a("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Rn.displayName="DialogHeader";var Tn=({className:e,...t})=>(0,v.jsx)("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Tn.displayName="DialogFooter";var kn=U.default.forwardRef(({className:e,...t},o)=>(0,v.jsx)(S.Title,{ref:o,className:a("text-lg font-semibold leading-none tracking-tight",e),...t}));kn.displayName=S.Title.displayName;var Dn=U.default.forwardRef(({className:e,...t},o)=>(0,v.jsx)(S.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Dn.displayName=S.Description.displayName;var tr=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:i,classNameSubHtmSideBar:r,className:l,isPagination:m=!1})=>{let[c,f]=(0,U.useState)(t),[y,N]=(0,U.useState)(""),A=()=>{let I=Yi.default.filter(e,(oe,q)=>q===t),R=I.length>0?I[0]?.titleImage:"";N(R)};(0,U.useEffect)(()=>{f(t),A()},[t]);let O={clickable:!0,renderBullet(I,R){let oe=a("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",R),q=a("w-full h-full object-cover rounded-lg");return e[I]?.url?`
140
- <div class="${oe} ">
141
- <img class="${q} " src="${e[I]?.url}" alt="Slide ${I+1}" />
139
+ `})]})});var io=require("swiper/react"),Me=require("swiper"),A=f(require("@radix-ui/react-dialog"),1),Z=f(require("react"),1);var lr=require("lucide-react"),ro=require("@heroicons/react/24/outline"),mr=f(require("lodash"),1),b=require("react/jsx-runtime"),Vn=A.Root,zn=A.Portal,dr=Z.default.forwardRef(({className:e,...t},o)=>(0,b.jsx)(A.Overlay,{ref:o,className:a("fixed inset-0 bg-black/80 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));dr.displayName=A.Overlay.displayName;var Fn=({clearActiveIndex:e})=>(0,b.jsxs)(A.Close,{onClick:()=>e?.(),className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[(0,b.jsx)(lr.X,{className:"h-4 w-4 mt-0.5"}),(0,b.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),cr=({children:e,src:t,alt:o,className:i,classNameImage:r,onClick:l})=>{let m=()=>{l?.()};return(0,b.jsxs)(A.Trigger,{className:a("aspect-[2/3] relative overflow-hidden rounded-lg",i),onClick:m,children:[e,(0,b.jsx)("img",{src:t,alt:o,className:a("w-full h-full object-cover rounded-lg",r)})]})},pr=Z.default.forwardRef(({className:e,children:t,...o},i)=>(0,b.jsxs)(zn,{children:[(0,b.jsx)(dr,{className:"bg-black"}),(0,b.jsxs)(A.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed bg-black left-[50%] top-[50%] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border 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%] ",e),...o,children:[t,(0,b.jsx)(Fn,{})]})]}));pr.displayName=A.Content.displayName;var On=({className:e,...t})=>(0,b.jsx)("div",{className:a("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});On.displayName="DialogHeader";var Wn=({className:e,...t})=>(0,b.jsx)("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Wn.displayName="DialogFooter";var Gn=Z.default.forwardRef(({className:e,...t},o)=>(0,b.jsx)(A.Title,{ref:o,className:a("text-lg font-semibold leading-none tracking-tight",e),...t}));Gn.displayName=A.Title.displayName;var $n=Z.default.forwardRef(({className:e,...t},o)=>(0,b.jsx)(A.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));$n.displayName=A.Description.displayName;var gr=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:i,classNameSubHtmSideBar:r,className:l,isPagination:m=!1})=>{let[d,g]=(0,Z.useState)(t),[x,u]=(0,Z.useState)(""),M=()=>{let E=mr.default.filter(e,(ne,Y)=>Y===t),R=E.length>0?E[0]?.titleImage:"";u(R)};(0,Z.useEffect)(()=>{g(t),M()},[t]);let G={clickable:!0,renderBullet(E,R){let ne=a("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",R),Y=a("w-full h-full object-cover rounded-lg");return e[E]?.url?`
140
+ <div class="${ne} ">
141
+ <img class="${Y} " src="${e[E]?.url}" alt="Slide ${E+1}" />
142
142
  </div>
143
- `:"<div></div>"}},te=m?[Se.Navigation,Se.Lazy,Se.Pagination]:[Se.Navigation,Se.Lazy];return(0,v.jsxs)(er,{className:a("flex py-0",l),children:[(0,v.jsxs)("div",{className:"lightbox flex-1 py-6",children:[(0,v.jsx)("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:(0,v.jsxs)("div",{children:[c?c+1:1," / ",e?.length]})}),(0,v.jsxs)(Zt.Swiper,{initialSlide:t,onSlideChange:({realIndex:I})=>{f(I),A();let R=document.querySelector(".swiper-pagination-bullet-active");R&&R.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{f(t),A()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:O,modules:te,lazy:{loadPrevNext:!0},children:[e.map((I,R)=>(0,v.jsxs)(Zt.SwiperSlide,{children:[(0,v.jsx)("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:(0,v.jsx)("img",{src:I.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),(0,v.jsx)("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),(0,v.jsx)("div",{className:"text-sm px-20 text-center text-white/80 absolute bottom-10 my-4 flex items-center justify-center w-full z-[999]",children:y})]},R)),(0,v.jsx)(be,{className:"disabled:bg-white/60 prev-lightbox button-swiper translate swiper-cate-merchant absolute inset-y-1/2 left-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-200 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:(0,v.jsx)(Xt.ChevronLeftIcon,{className:"w-7 text-slate-900"})}),(0,v.jsx)(be,{className:"disabled:bg-white/60 next-lightbox translate swiper-cate-merchant button-swiper absolute inset-y-1/2 right-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-300 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:(0,v.jsx)(Xt.ChevronRightIcon,{className:"w-7 text-slate-900"})})]}),(0,v.jsx)("style",{children:`
143
+ `:"<div></div>"}},re=m?[Me.Navigation,Me.Lazy,Me.Pagination]:[Me.Navigation,Me.Lazy];return(0,b.jsxs)(pr,{className:a("flex py-0",l),children:[(0,b.jsxs)("div",{className:"lightbox flex-1 py-6",children:[(0,b.jsx)("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:(0,b.jsxs)("div",{children:[d?d+1:1," / ",e?.length]})}),(0,b.jsxs)(io.Swiper,{initialSlide:t,onSlideChange:({realIndex:E})=>{g(E),M();let R=document.querySelector(".swiper-pagination-bullet-active");R&&R.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{g(t),M()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:G,modules:re,lazy:{loadPrevNext:!0},children:[e.map((E,R)=>(0,b.jsxs)(io.SwiperSlide,{children:[(0,b.jsx)("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:(0,b.jsx)("img",{src:E.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),(0,b.jsx)("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),(0,b.jsx)("div",{className:"text-sm px-20 text-center text-white/80 absolute bottom-10 my-4 flex items-center justify-center w-full z-[999]",children:x})]},R)),(0,b.jsx)(we,{className:"disabled:bg-white/60 prev-lightbox button-swiper translate swiper-cate-merchant absolute inset-y-1/2 left-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-200 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:(0,b.jsx)(ro.ChevronLeftIcon,{className:"w-7 text-slate-900"})}),(0,b.jsx)(we,{className:"disabled:bg-white/60 next-lightbox translate swiper-cate-merchant button-swiper absolute inset-y-1/2 right-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-300 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:(0,b.jsx)(ro.ChevronRightIcon,{className:"w-7 text-slate-900"})})]}),(0,b.jsx)("style",{children:`
144
144
  .lightbox {
145
145
  --lightbox-topnav: 112px;
146
146
  --lightbox-botnav: 80px;
@@ -213,7 +213,7 @@
213
213
  .swiper-pagination-bullet-active{
214
214
  border: 2px solid white;
215
215
  }
216
- `})]}),o&&(0,v.jsx)("div",{className:a("hidden md:flex overflow-y-auto bg-white text-gray-900 px-6 pb-4 pt-2 w-full max-w-sm lg:max-w-md",r),children:i})]})},or=({children:e,className:t,open:o,onOpenChange:i})=>(0,v.jsx)("div",{className:a("lightbox-gallery ",t),children:(0,v.jsx)(Nn,{open:o,onOpenChange:i,children:U.default.Children?.map(e,r=>{if(U.default.isValidElement(r)){let l={},m=Object.keys(l).reduce((c,f)=>(l[f]!==void 0&&(c[f]=l[f]),c),{});return U.default.cloneElement(r,m)}return null})})});var Ae=g(require("react"),1),Me=g(require("@radix-ui/react-radio-group"),1);var ar=require("lucide-react"),xt=g(require("@radix-ui/react-checkbox"),1),ir=require("@heroicons/react/16/solid"),F=require("react/jsx-runtime"),rr=Ae.createContext({hideIndicator:!1});function Sn(){let e=Ae.useContext(rr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var fa=Ae.forwardRef(({className:e,hideIndicator:t=!1,...o},i)=>(0,F.jsx)(rr.Provider,{value:{hideIndicator:t},children:(0,F.jsx)(Me.Root,{className:a("grid gap-2",t&&"hide-indicator",e),...o,ref:i})}));fa.displayName=Me.Root.displayName;var ua=Ae.forwardRef(({className:e,children:t,...o},i)=>{let r=Sn(),{hideIndicator:l}=r??{};return(0,F.jsxs)(Me.Item,{ref:i,className:a("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[(0,F.jsx)("div",{className:"flex-1 min-w-0",children:t}),!l&&(0,F.jsx)("div",{className:a("flex-none aspect-square h-4 w-4 rounded-full border-2 border-gray-300 group-disabled:bg-gray-200 group-disabled:data-[state=checked]:text-gray-300 group-data-[state=checked]:text-white group-disabled:data-[state=checked]:bg-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:border-none group-disabled:cursor-default has"),children:(0,F.jsx)(Me.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,F.jsx)(ar.Circle,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});ua.displayName=Me.Item.displayName;var ha=Ae.forwardRef(({className:e,children:t,...o},i)=>(0,F.jsxs)(xt.Root,{ref:i,className:a("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[(0,F.jsx)("div",{className:"flex-1 min-w-0",children:t}),(0,F.jsx)("div",{className:"h-4 w-4 shrink-0 rounded border-2 group-disabled:bg-gray-300 border-gray-300 ring-offset-background group-disabled:cursor-default group-disabled:bg-gray-100 group-data-[state=checked]:border-none group-disabled:data-[state=checked]:bg-gray-400 group-disabled:data-[state=checked]:text-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:text-white",children:(0,F.jsx)(xt.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,F.jsx)(ir.CheckIcon,{className:"h-4 w-4"})})})]}));ha.displayName=xt.Root.displayName;var nr=require("class-variance-authority");var lr=require("react/jsx-runtime"),va=(0,nr.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold",{variants:{variant:{default:"border-transparent bg-pink-500 text-white/90 shadow hover:bg-pink-500/80",secondary:"border-transparent bg-gray-200 text-gray-900 hover:bg-gray-200/80",outline:"text-gray-900",danger:"border-transparent bg-red-500 text-white/90 shadow hover:bg-red-500/80"}},defaultVariants:{variant:"default"}});function sr({className:e,variant:t,...o}){return(0,lr.jsx)("div",{className:a(va({variant:t}),e),...o})}var mr=g(require("react"),1),yt=g(require("@radix-ui/react-progress"),1),xa=require("class-variance-authority");var ba=require("react/jsx-runtime"),An=(0,xa.cva)("h-full w-full rounded-full flex-1 transition-all",{variants:{variant:{progress:"bg-pink-500",success:"bg-green-600",disabled:"bg-gray-400",empty:"bg-gray-200"}},defaultVariants:{variant:"progress"}}),Mn=(0,xa.cva)("relative h-4 w-full overflow-hidden rounded-full bg-gray-200",{variants:{size:{small:"h-[6px]",medium:"h-2",large:"h-[10px]"}},defaultVariants:{size:"medium"}}),ya=mr.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...l},m)=>(0,ba.jsx)(yt.Root,{ref:m,className:a("",Mn({size:i}),e),...l,children:(0,ba.jsx)(yt.Indicator,{className:a("",An({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));ya.displayName=yt.Root.displayName;var Nt=g(require("react"),1);var Yt=1;var cr={tagName:"DUMMY TAG",title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. ",description:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maxime minima amet porro.nam asperiores omnis labore doloribus excepturi?",media:{type:1,src:"https://homepage.momocdn.net/img/momo-upload-api-240522112100-638519736605993862.jpg",ratioImg:1/1}},dr=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],pr={type:"col",contents:[{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""}]};var fr=require("@heroicons/react/24/outline");var gr=g(require("@radix-ui/react-aspect-ratio"),1),wt=gr.Root;var ur=require("class-variance-authority"),ee=g(require("@radix-ui/react-dialog"),1),hr=require("lucide-react"),n=require("react/jsx-runtime"),En=ee.Portal,In=Nt.default.forwardRef(({className:e,...t},o)=>(0,n.jsx)(ee.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t})),Ln=ee.Root,Hn=()=>(0,n.jsxs)(ee.Close,{className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[(0,n.jsx)(hr.X,{className:"h-4 w-4 mt-0.5"}),(0,n.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),_n=Nt.default.forwardRef(({className:e,children:t,...o},i)=>(0,n.jsxs)(En,{children:[(0,n.jsx)(In,{className:"bg-black"}),(0,n.jsxs)(ee.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed left-[50%] top-[50%] grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border 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%] ",e),...o,children:[t,(0,n.jsx)(Hn,{})]})]})),Bn=(0,ur.cva)("max-w-md space-y-1 text-gray-800 font-semibold list-inside ",{variants:{template:{col:" flex-col flex mt-5",row:"grid grid-cols-3 items-center divide-x gap-2 mt-5 ",customize:"grid grid-cols-2 md:grid-cols-4 gap-12 max-w-5xl mx-auto font-semibold items-center py-12 text-left text-sm"}},defaultVariants:{template:"col"}}),Pt=({title:e,className:t})=>(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),Ct=({tagName:e,className:t})=>(0,n.jsx)("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),Rt=({description:e,className:t})=>(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),Ee=({dataCtas:e,className:t})=>{let o=(r,l)=>{r.preventDefault(),r.stopPropagation(),l?.()},i=({cta:r,index:l})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ae,{onClick:m=>r?.onClickCTA?.()&&o(m,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},l),(0,n.jsx)(ae,{variant:r?.variant,className:a("md:hidden",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l)]});return(0,n.jsx)("div",{className:a("flex items-center mt-10",t,e?.length>1?"space-x-6":""),children:e?.map((r,l)=>r?.isQRCode?(0,n.jsx)(i,{cta:r,index:l},l):(0,n.jsx)(ae,{onClick:m=>{r?.url||(m.stopPropagation(),m.preventDefault())},variant:r?.variant,className:a("",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l))})},Vn=({template:e,title:t,label:o,icon:i,idx:r})=>(0,n.jsx)(n.Fragment,{children:(()=>{switch(e){case"col":return(0,n.jsxs)("li",{className:"flex items-center pb-3",children:[(0,n.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,n.jsx)(fr.CheckIcon,{className:"w-4 h-4 text-pink-500 "})}),(0,n.jsx)("div",{className:"ml-2",children:t})]});case"row":return(0,n.jsxs)("div",{className:a("",r>0?"pl-4":""),children:[(0,n.jsx)("div",{className:"font-bold text-gray-900",children:t}),(0,n.jsx)("div",{className:"text-sm mt-1 text-gray-500",children:o})]});case"customize":return(0,n.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,n.jsx)("img",{src:i,alt:"",className:"shrink-0"}),(0,n.jsx)("div",{className:"text-gray-900 text-left",children:t})]});default:return null}})()}),Tt=({dataFeatures:e})=>(0,n.jsx)("ul",{className:a("",Bn({template:e?.type})),children:e?.contents?.map((t,o)=>(0,n.jsx)(Vn,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),zn=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:l=()=>{}})=>(0,n.jsxs)(wt,{className:a(""),ratio:o,children:[(0,n.jsx)("img",{src:t,className:a("w-full h-full object-cover md:block hidden",i,t?"":"bg-gray-200"),alt:""}),e!==Yt&&r?.codeVideo&&(0,n.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full",children:(0,n.jsx)("iframe",{title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),e!==Yt&&r?.codeVideo&&(0,n.jsxs)(Ln,{children:[(0,n.jsx)(ee.Trigger,{onClick:l,children:(0,n.jsx)("div",{className:"w-full hidden md:flex h-full cursor-pointer transition-transform group-hover:scale-105 top-0 absolute z-10 items-center justify-center",children:(0,n.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,n.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,n.jsx)("path",{d:"M34.667 24.335c0 .515-.529.885-.529.885l-14.84 9.133c-1.08.704-1.965.182-1.965-1.153V15.467c0-1.338.884-1.856 1.968-1.153L34.14 23.45c-.002 0 .527.37.527.885Z",fill:"#FFF",fillRule:"nonzero"})]})})})}),(0,n.jsx)(_n,{className:"w-full h-full flex items-center justify-center bg-gray-900 p-0",children:(0,n.jsx)("iframe",{width:738,height:439,title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?autoplay=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:""})})]})]}),Ie=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:l,onClickFC:m=()=>{}})=>(0,n.jsx)("div",{children:e===Yt&&!l?.codeVideo?(0,n.jsx)(wt,{className:a(""),ratio:i,children:(0,n.jsx)("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):(0,n.jsx)(zn,{type:e,url:t,src:o,ratioImg:i,video:l,onClickFC:m})}),Fn=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Ct,{tagName:e?.tagName}),(0,n.jsx)(Pt,{title:e?.title}),(0,n.jsx)(Rt,{description:e?.description}),(0,n.jsx)(Tt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:block hidden",children:(0,n.jsx)(Ee,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,video:e?.media?.video}),(0,n.jsx)("div",{className:"block md:hidden flex items-center justify-center",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),On=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsx)("div",{className:"col-span-1",children:(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Ct,{tagName:e?.tagName}),(0,n.jsx)(Pt,{title:e?.title}),(0,n.jsx)(Rt,{description:e?.description}),(0,n.jsx)(Tt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:hidden mt-10",children:(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),Wn=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Ct,{tagName:e?.tagName}),(0,n.jsx)(Pt,{title:e?.title}),(0,n.jsx)(Rt,{description:e?.description}),(0,n.jsx)(Tt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(Ee,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),Gn=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Ct,{tagName:e?.tagName}),(0,n.jsx)(Pt,{title:e?.title}),(0,n.jsx)(Rt,{description:e?.description}),(0,n.jsx)(Tt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(Ee,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"relative overflow-hidden -bottom-20"})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),$n=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{children:[(0,n.jsx)(Ct,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),(0,n.jsx)(Pt,{title:e?.title,className:"max-w-4xl mx-auto text-center font-manrope font-bold text-2xl text-gray-900 mb-5 md:text-4xl lg:text-5xl"}),(0,n.jsx)(Rt,{description:e?.description,className:"max-w-4xl mx-auto text-center text-base md:text-lg lg:text-xl font-normal leading-7 text-gray-700"}),(0,n.jsx)(Ee,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),(0,n.jsx)(Tt,{dataFeatures:o}),(0,n.jsx)(Ie,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),jn=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return(0,n.jsx)(Fn,{data:t,dataCtas:o,dataFeatures:i});case 2:return(0,n.jsx)(On,{data:t,dataCtas:o,dataFeatures:i});case 3:return(0,n.jsx)(Wn,{data:t,dataCtas:o,dataFeatures:i});case 4:return(0,n.jsx)(Gn,{data:t,dataCtas:o,dataFeatures:i});case 5:return(0,n.jsx)($n,{data:t,dataCtas:o,dataFeatures:i});default:return null}},Un=({template:e,data:t,dataCtas:o,dataFeatures:i})=>(0,n.jsx)(n.Fragment,{children:jn({template:e,data:t,dataCtas:o,dataFeatures:i})}),vr=(0,Nt.forwardRef)(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},l)=>(0,n.jsxs)("div",{ref:l,className:a(" bg-section-hero overflow-hidden py-20",t),children:[(0,n.jsx)("div",{className:"wrapper relative",children:(0,n.jsx)(Un,{dataCtas:i||dr,template:e,data:o||cr,dataFeatures:r||pr})}),(0,n.jsx)("style",{children:`
216
+ `})]}),o&&(0,b.jsx)("div",{className:a("hidden md:flex overflow-y-auto bg-white text-gray-900 px-6 pb-4 pt-2 w-full max-w-sm lg:max-w-md",r),children:i})]})},fr=({children:e,className:t,open:o,onOpenChange:i})=>(0,b.jsx)("div",{className:a("lightbox-gallery ",t),children:(0,b.jsx)(Vn,{open:o,onOpenChange:i,children:Z.default.Children?.map(e,r=>{if(Z.default.isValidElement(r)){let l={},m=Object.keys(l).reduce((d,g)=>(l[g]!==void 0&&(d[g]=l[g]),d),{});return Z.default.cloneElement(r,m)}return null})})});var Ie=f(require("react"),1),Le=f(require("@radix-ui/react-radio-group"),1);var ur=require("lucide-react"),Tt=f(require("@radix-ui/react-checkbox"),1),hr=require("@heroicons/react/16/solid"),W=require("react/jsx-runtime"),vr=Ie.createContext({hideIndicator:!1});function jn(){let e=Ie.useContext(vr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Na=Ie.forwardRef(({className:e,hideIndicator:t=!1,...o},i)=>(0,W.jsx)(vr.Provider,{value:{hideIndicator:t},children:(0,W.jsx)(Le.Root,{className:a("grid gap-2",t&&"hide-indicator",e),...o,ref:i})}));Na.displayName=Le.Root.displayName;var Pa=Ie.forwardRef(({className:e,children:t,...o},i)=>{let r=jn(),{hideIndicator:l}=r??{};return(0,W.jsxs)(Le.Item,{ref:i,className:a("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[(0,W.jsx)("div",{className:"flex-1 min-w-0",children:t}),!l&&(0,W.jsx)("div",{className:a("flex-none aspect-square h-4 w-4 rounded-full border-2 border-gray-300 group-disabled:bg-gray-200 group-disabled:data-[state=checked]:text-gray-300 group-data-[state=checked]:text-white group-disabled:data-[state=checked]:bg-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:border-none group-disabled:cursor-default has"),children:(0,W.jsx)(Le.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,W.jsx)(ur.Circle,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});Pa.displayName=Le.Item.displayName;var Ca=Ie.forwardRef(({className:e,children:t,...o},i)=>(0,W.jsxs)(Tt.Root,{ref:i,className:a("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[(0,W.jsx)("div",{className:"flex-1 min-w-0",children:t}),(0,W.jsx)("div",{className:"h-4 w-4 shrink-0 rounded border-2 group-disabled:bg-gray-300 border-gray-300 ring-offset-background group-disabled:cursor-default group-disabled:bg-gray-100 group-data-[state=checked]:border-none group-disabled:data-[state=checked]:bg-gray-400 group-disabled:data-[state=checked]:text-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:text-white",children:(0,W.jsx)(Tt.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,W.jsx)(hr.CheckIcon,{className:"h-4 w-4"})})})]}));Ca.displayName=Tt.Root.displayName;var br=require("class-variance-authority");var yr=require("react/jsx-runtime"),Ra=(0,br.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold",{variants:{variant:{default:"border-transparent bg-pink-500 text-white/90 shadow hover:bg-pink-500/80",secondary:"border-transparent bg-gray-200 text-gray-900 hover:bg-gray-200/80",outline:"text-gray-900",danger:"border-transparent bg-red-500 text-white/90 shadow hover:bg-red-500/80"}},defaultVariants:{variant:"default"}});function xr({className:e,variant:t,...o}){return(0,yr.jsx)("div",{className:a(Ra({variant:t}),e),...o})}var wr=f(require("react"),1),kt=f(require("@radix-ui/react-progress"),1),ka=require("class-variance-authority");var Ta=require("react/jsx-runtime"),Un=(0,ka.cva)("h-full w-full rounded-full flex-1 transition-all",{variants:{variant:{progress:"bg-pink-500",success:"bg-green-600",disabled:"bg-gray-400",empty:"bg-gray-200"}},defaultVariants:{variant:"progress"}}),qn=(0,ka.cva)("relative h-4 w-full overflow-hidden rounded-full bg-gray-200",{variants:{size:{small:"h-[6px]",medium:"h-2",large:"h-[10px]"}},defaultVariants:{size:"medium"}}),Da=wr.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...l},m)=>(0,Ta.jsx)(kt.Root,{ref:m,className:a("",qn({size:i}),e),...l,children:(0,Ta.jsx)(kt.Indicator,{className:a("",Un({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));Da.displayName=kt.Root.displayName;var St=f(require("react"),1);var no=1;var Nr={tagName:"DUMMY TAG",title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. ",description:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maxime minima amet porro.nam asperiores omnis labore doloribus excepturi?",media:{type:1,src:"https://homepage.momocdn.net/img/momo-upload-api-240522112100-638519736605993862.jpg",ratioImg:1/1}},Pr=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],Cr={type:"col",contents:[{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""}]};var Tr=require("@heroicons/react/24/outline");var Rr=f(require("@radix-ui/react-aspect-ratio"),1),Dt=Rr.Root;var kr=require("class-variance-authority"),ie=f(require("@radix-ui/react-dialog"),1),Dr=require("lucide-react"),n=require("react/jsx-runtime"),Qn=ie.Portal,Xn=St.default.forwardRef(({className:e,...t},o)=>(0,n.jsx)(ie.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t})),Zn=ie.Root,Yn=()=>(0,n.jsxs)(ie.Close,{className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[(0,n.jsx)(Dr.X,{className:"h-4 w-4 mt-0.5"}),(0,n.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),Kn=St.default.forwardRef(({className:e,children:t,...o},i)=>(0,n.jsxs)(Qn,{children:[(0,n.jsx)(Xn,{className:"bg-black"}),(0,n.jsxs)(ie.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed left-[50%] top-[50%] grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border 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%] ",e),...o,children:[t,(0,n.jsx)(Yn,{})]})]})),Jn=(0,kr.cva)("max-w-md space-y-1 text-gray-800 font-semibold list-inside ",{variants:{template:{col:" flex-col flex mt-5",row:"grid grid-cols-3 items-center divide-x gap-2 mt-5 ",customize:"grid grid-cols-2 md:grid-cols-4 gap-12 max-w-5xl mx-auto font-semibold items-center py-12 text-left text-sm"}},defaultVariants:{template:"col"}}),At=({title:e,className:t})=>(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),Mt=({tagName:e,className:t})=>(0,n.jsx)("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),It=({description:e,className:t})=>(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),Ee=({dataCtas:e,className:t})=>{let o=(r,l)=>{r.preventDefault(),r.stopPropagation(),l?.()},i=({cta:r,index:l})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(U,{onClick:m=>r?.onClickCTA?.()&&o(m,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},l),(0,n.jsx)(U,{variant:r?.variant,className:a("md:hidden",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l)]});return(0,n.jsx)("div",{className:a("flex items-center mt-10",t,e?.length>1?"space-x-6":""),children:e?.map((r,l)=>r?.isQRCode?(0,n.jsx)(i,{cta:r,index:l},l):(0,n.jsx)(U,{onClick:m=>{r?.url||(m.stopPropagation(),m.preventDefault())},variant:r?.variant,className:a("",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l))})},es=({template:e,title:t,label:o,icon:i,idx:r})=>(0,n.jsx)(n.Fragment,{children:(()=>{switch(e){case"col":return(0,n.jsxs)("li",{className:"flex items-center pb-3",children:[(0,n.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,n.jsx)(Tr.CheckIcon,{className:"w-4 h-4 text-pink-500 "})}),(0,n.jsx)("div",{className:"ml-2",children:t})]});case"row":return(0,n.jsxs)("div",{className:a("",r>0?"pl-4":""),children:[(0,n.jsx)("div",{className:"font-bold text-gray-900",children:t}),(0,n.jsx)("div",{className:"text-sm mt-1 text-gray-500",children:o})]});case"customize":return(0,n.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,n.jsx)("img",{src:i,alt:"",className:"shrink-0"}),(0,n.jsx)("div",{className:"text-gray-900 text-left",children:t})]});default:return null}})()}),Lt=({dataFeatures:e})=>(0,n.jsx)("ul",{className:a("",Jn({template:e?.type})),children:e?.contents?.map((t,o)=>(0,n.jsx)(es,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),ts=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:l=()=>{}})=>(0,n.jsxs)(Dt,{className:a(""),ratio:o,children:[(0,n.jsx)("img",{src:t,className:a("w-full h-full object-cover md:block hidden",i,t?"":"bg-gray-200"),alt:""}),e!==no&&r?.codeVideo&&(0,n.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full",children:(0,n.jsx)("iframe",{title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),e!==no&&r?.codeVideo&&(0,n.jsxs)(Zn,{children:[(0,n.jsx)(ie.Trigger,{onClick:l,children:(0,n.jsx)("div",{className:"w-full hidden md:flex h-full cursor-pointer transition-transform group-hover:scale-105 top-0 absolute z-10 items-center justify-center",children:(0,n.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,n.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,n.jsx)("path",{d:"M34.667 24.335c0 .515-.529.885-.529.885l-14.84 9.133c-1.08.704-1.965.182-1.965-1.153V15.467c0-1.338.884-1.856 1.968-1.153L34.14 23.45c-.002 0 .527.37.527.885Z",fill:"#FFF",fillRule:"nonzero"})]})})})}),(0,n.jsx)(Kn,{className:"w-full h-full flex items-center justify-center bg-gray-900 p-0",children:(0,n.jsx)("iframe",{width:738,height:439,title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?autoplay=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:""})})]})]}),He=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:l,onClickFC:m=()=>{}})=>(0,n.jsx)("div",{children:e===no&&!l?.codeVideo?(0,n.jsx)(Dt,{className:a(""),ratio:i,children:(0,n.jsx)("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):(0,n.jsx)(ts,{type:e,url:t,src:o,ratioImg:i,video:l,onClickFC:m})}),os=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Mt,{tagName:e?.tagName}),(0,n.jsx)(At,{title:e?.title}),(0,n.jsx)(It,{description:e?.description}),(0,n.jsx)(Lt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:block hidden",children:(0,n.jsx)(Ee,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,video:e?.media?.video}),(0,n.jsx)("div",{className:"block md:hidden flex items-center justify-center",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),as=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsx)("div",{className:"col-span-1",children:(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Mt,{tagName:e?.tagName}),(0,n.jsx)(At,{title:e?.title}),(0,n.jsx)(It,{description:e?.description}),(0,n.jsx)(Lt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:hidden mt-10",children:(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),is=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Mt,{tagName:e?.tagName}),(0,n.jsx)(At,{title:e?.title}),(0,n.jsx)(It,{description:e?.description}),(0,n.jsx)(Lt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(Ee,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),rs=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(Mt,{tagName:e?.tagName}),(0,n.jsx)(At,{title:e?.title}),(0,n.jsx)(It,{description:e?.description}),(0,n.jsx)(Lt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(Ee,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"relative overflow-hidden -bottom-20"})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(Ee,{dataCtas:t})})]})]}),ns=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{children:[(0,n.jsx)(Mt,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),(0,n.jsx)(At,{title:e?.title,className:"max-w-4xl mx-auto text-center font-manrope font-bold text-2xl text-gray-900 mb-5 md:text-4xl lg:text-5xl"}),(0,n.jsx)(It,{description:e?.description,className:"max-w-4xl mx-auto text-center text-base md:text-lg lg:text-xl font-normal leading-7 text-gray-700"}),(0,n.jsx)(Ee,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),(0,n.jsx)(Lt,{dataFeatures:o}),(0,n.jsx)(He,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),ss=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return(0,n.jsx)(os,{data:t,dataCtas:o,dataFeatures:i});case 2:return(0,n.jsx)(as,{data:t,dataCtas:o,dataFeatures:i});case 3:return(0,n.jsx)(is,{data:t,dataCtas:o,dataFeatures:i});case 4:return(0,n.jsx)(rs,{data:t,dataCtas:o,dataFeatures:i});case 5:return(0,n.jsx)(ns,{data:t,dataCtas:o,dataFeatures:i});default:return null}},ls=({template:e,data:t,dataCtas:o,dataFeatures:i})=>(0,n.jsx)(n.Fragment,{children:ss({template:e,data:t,dataCtas:o,dataFeatures:i})}),Sr=(0,St.forwardRef)(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},l)=>(0,n.jsxs)("div",{ref:l,className:a(" bg-section-hero overflow-hidden py-20",t),children:[(0,n.jsx)("div",{className:"wrapper relative",children:(0,n.jsx)(ls,{dataCtas:i||Pr,template:e,data:o||Nr,dataFeatures:r||Cr})}),(0,n.jsx)("style",{children:`
217
217
  .bg-section-hero {
218
218
  background: var(
219
219
  --gradient-pink-1,
@@ -239,7 +239,7 @@
239
239
  #fff
240
240
  );
241
241
  }
242
- `})]}));var br=g(require("react"),1),ue=g(require("@radix-ui/react-slider"),1);var We=require("react/jsx-runtime"),wa=br.forwardRef(({className:e,...t},o)=>(0,We.jsxs)(ue.Root,{ref:o,className:a("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[(0,We.jsx)(ue.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:(0,We.jsx)(ue.Range,{className:"absolute h-full bg-pink-500"})}),(0,We.jsx)(ue.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"}),(0,We.jsx)(ue.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));wa.displayName=ue.Root.displayName;var zr=g(require("color"),1),Fr=g(require("tailwindcss/plugin.js"),1);var H="250ms",xr={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":H},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":H},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":H},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":H},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":H},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":H},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":H},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":H},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":H},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":H},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":H},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":H},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":H},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":H},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":H},".transition-transform-colors-opacity":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":H}};var yr={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var wr={".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}};var Nr={...yr,...xr,...wr};var Pr=require("flat");function qn(e){let t={};for(let o in e){if(o.endsWith("-DEFAULT")){t[o.replace("-DEFAULT","")]=e[o];continue}t[o]=e[o]}return t}var Cr=e=>qn((0,Pr.flatten)(e,{safe:!0,delimiter:"-"}));var Kt=16,Qn=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],Zn=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],Rr=e=>{let t={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},o={0:"0px"};return Object.entries(t).forEach(([i,r])=>{o[i]=r?`${e*r/Kt}rem`:`${e/Kt}rem`}),Qn.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[l,m]=r.split(".");r=`${l}_${m}`}o[r]=`${e*i/Kt}rem`}),Zn.forEach(i=>{let r=`${i}`;o[r]=`${e*i/Kt}rem`}),o};var Tr={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var kr={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Dr={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Sr={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Ar={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Mr={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Er={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Ir={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Lr={white:"#ffffff",black:"#000000",blue:Tr,green:kr,pink:Dr,purple:Sr,red:Ar,yellow:Mr,gray:Ir,orange:Er};var Na={...Lr};var Hr={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var _r={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function Br(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function Vr(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var Xn=e=>{let t={utilities:{},colors:{}},o=Cr(Na),i=Hr,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([l,m])=>{if(m)try{let[c,f,y]=(0,zr.default)(m).rgb().array(),N=`--${e}-${l}`;t.utilities[r][N]=`${c} ${f} ${y}`,t.colors[l]=`rgb(var(${N}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(i).forEach(([l,m])=>{if(!m)return;let c=`--${e}-${l}`;if(typeof m=="object")Object.entries(m).forEach(([f,y])=>{let N=`${c}-${f}`;t.utilities[r][N]=y});else if(l==="spacing-unit"){t.utilities[r][c]=m;let f=Rr(Number(m));Object.entries(f).forEach(([y,N])=>{let A=`${c}-${y}`;t.utilities[r][A]=N})}else{let f=c.includes("opacity")&&typeof m=="number"?m.toString().replace(/^0\./,"."):m;t.utilities[r][c]=f}}),t},Or=()=>{let e="mobase",t=Xn(e);return(0,Fr.default)(({addBase:o,addUtilities:i,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),i({...Nr})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...Na,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...Vr(e)},fontSize:{...Br(e)},..._r}}})};var u=require("react/jsx-runtime"),Wr=(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("meta",{name:"abstract",content:"V\xED \u0111i\u1EC7n t\u1EED MoMo - Si\xEAu \u1EE9ng d\u1EE5ng thanh to\xE1n s\u1ED1 1 Vi\u1EC7t Nam"}),(0,u.jsx)("meta",{name:"distribution",content:"Global"}),(0,u.jsx)("meta",{name:"author",content:"V\xED MoMo"}),(0,u.jsx)("meta",{property:"fb:app_id",content:"320653355376196"}),(0,u.jsx)("meta",{property:"fb:pages",content:"138010322921640"}),(0,u.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,u.jsx)("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,u.jsx)("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,u.jsx)("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,u.jsx)("meta",{name:"language",content:"vietnamese"}),(0,u.jsx)("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),(0,u.jsx)("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),(0,u.jsx)("meta",{name:"RATING",content:"GENERAL"}),(0,u.jsx)("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//facebook.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//connect.facebook.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google-analytics.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google.com.vn"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.googleadservices.com"}),(0,u.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
242
+ `})]}));var Ar=f(require("react"),1),ve=f(require("@radix-ui/react-slider"),1);var je=require("react/jsx-runtime"),Sa=Ar.forwardRef(({className:e,...t},o)=>(0,je.jsxs)(ve.Root,{ref:o,className:a("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[(0,je.jsx)(ve.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:(0,je.jsx)(ve.Range,{className:"absolute h-full bg-pink-500"})}),(0,je.jsx)(ve.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"}),(0,je.jsx)(ve.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));Sa.displayName=ve.Root.displayName;var Yr=f(require("color"),1),Kr=f(require("tailwindcss/plugin.js"),1);var B="250ms",Mr={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":B},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":B},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":B},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":B},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":B},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":B},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":B},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":B},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":B},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":B},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":B},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":B},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":B},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":B},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":B},".transition-transform-colors-opacity":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":B}};var Ir={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var Lr={".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}};var Er={...Ir,...Mr,...Lr};var Hr=require("flat");function ms(e){let t={};for(let o in e){if(o.endsWith("-DEFAULT")){t[o.replace("-DEFAULT","")]=e[o];continue}t[o]=e[o]}return t}var _r=e=>ms((0,Hr.flatten)(e,{safe:!0,delimiter:"-"}));var so=16,ds=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],cs=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],Br=e=>{let t={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},o={0:"0px"};return Object.entries(t).forEach(([i,r])=>{o[i]=r?`${e*r/so}rem`:`${e/so}rem`}),ds.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[l,m]=r.split(".");r=`${l}_${m}`}o[r]=`${e*i/so}rem`}),cs.forEach(i=>{let r=`${i}`;o[r]=`${e*i/so}rem`}),o};var Vr={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var zr={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Fr={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Or={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Wr={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Gr={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var $r={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var jr={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Ur={white:"#ffffff",black:"#000000",blue:Vr,green:zr,pink:Fr,purple:Or,red:Wr,yellow:Gr,gray:jr,orange:$r};var Aa={...Ur};var qr={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var Qr={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function Xr(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function Zr(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var ps=e=>{let t={utilities:{},colors:{}},o=_r(Aa),i=qr,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([l,m])=>{if(m)try{let[d,g,x]=(0,Yr.default)(m).rgb().array(),u=`--${e}-${l}`;t.utilities[r][u]=`${d} ${g} ${x}`,t.colors[l]=`rgb(var(${u}) / <alpha-value>)`}catch(d){console.log("error",d?.message)}}),Object.entries(i).forEach(([l,m])=>{if(!m)return;let d=`--${e}-${l}`;if(typeof m=="object")Object.entries(m).forEach(([g,x])=>{let u=`${d}-${g}`;t.utilities[r][u]=x});else if(l==="spacing-unit"){t.utilities[r][d]=m;let g=Br(Number(m));Object.entries(g).forEach(([x,u])=>{let M=`${d}-${x}`;t.utilities[r][M]=u})}else{let g=d.includes("opacity")&&typeof m=="number"?m.toString().replace(/^0\./,"."):m;t.utilities[r][d]=g}}),t},Jr=()=>{let e="mobase",t=ps(e);return(0,Kr.default)(({addBase:o,addUtilities:i,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),i({...Er})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...Aa,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...Zr(e)},fontSize:{...Xr(e)},...Qr}}})};var h=require("react/jsx-runtime"),en=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("meta",{name:"abstract",content:"V\xED \u0111i\u1EC7n t\u1EED MoMo - Si\xEAu \u1EE9ng d\u1EE5ng thanh to\xE1n s\u1ED1 1 Vi\u1EC7t Nam"}),(0,h.jsx)("meta",{name:"distribution",content:"Global"}),(0,h.jsx)("meta",{name:"author",content:"V\xED MoMo"}),(0,h.jsx)("meta",{property:"fb:app_id",content:"320653355376196"}),(0,h.jsx)("meta",{property:"fb:pages",content:"138010322921640"}),(0,h.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,h.jsx)("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,h.jsx)("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,h.jsx)("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,h.jsx)("meta",{name:"language",content:"vietnamese"}),(0,h.jsx)("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),(0,h.jsx)("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),(0,h.jsx)("meta",{name:"RATING",content:"GENERAL"}),(0,h.jsx)("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//facebook.com"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),(0,h.jsx)("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),(0,h.jsx)("link",{rel:"preconnect",href:"//connect.facebook.net"}),(0,h.jsx)("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),(0,h.jsx)("link",{rel:"preconnect",href:"//www.google-analytics.com"}),(0,h.jsx)("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),(0,h.jsx)("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),(0,h.jsx)("link",{rel:"preconnect",href:"//www.google.com"}),(0,h.jsx)("link",{rel:"preconnect",href:"//www.google.com.vn"}),(0,h.jsx)("link",{rel:"preconnect",href:"//www.googleadservices.com"}),(0,h.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
243
243
  "@context": "https://schema.org/",
244
244
  "@type": "WebSite",
245
245
  "@id":"https://www.momo.vn/#website",
@@ -249,7 +249,7 @@
249
249
  "@type": "SearchAction",
250
250
  "target": "https://www.momo.vn/tim-kiem?q={search_term_string}",
251
251
  "query-input": "required name=search_term_string"
252
- }}`}}),(0,u.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
252
+ }}`}}),(0,h.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
253
253
  "@context": "https://schema.org",
254
254
  "@type": "Organization",
255
255
  "name": "Si\xEAu \u1EE9ng d\u1EE5ng MoMo",
@@ -284,5 +284,5 @@
284
284
  "https://www.linkedin.com/company/momo-mservice/",
285
285
  "https://github.com/momo-wallet"
286
286
  ]
287
- }`}})]});0&&(module.exports={Accordion,AccordionContent,AccordionItem,AccordionTrigger,AlertDialog,AlertDialogAction,AlertDialogCancel,AlertDialogContent,AlertDialogDescription,AlertDialogFooter,AlertDialogHeader,AlertDialogOverlay,AlertDialogPortal,AlertDialogTitle,AlertDialogTrigger,AspectRatio,Badge,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,Callout,Card,CardContent,CardDescription,CardFooter,CardHeader,CardTitle,Checkbox,ChoiceboxGroup,ChoiceboxGroupItem,ChoiceboxMultiItem,Combobox,ComboboxContent,ComboboxTrigger,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,Dialog,DialogBody,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogQr,DialogTitle,DialogTrigger,Footer,HeaderNavigation,Heading,HeadingGroup,HeadingSub,HeadingTagline,HeroSection,IconButton,LightBoxContent,LightboxGallery,LightboxThumbnail,NavigationMenu,NavigationMenuContent,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,Pagination,Popover,PopoverContent,PopoverTrigger,Progressbar,RadioGroup,RadioGroupItem,SearchBar,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,SiteMeta,Slider,Stepper,Switch,Tabs,TabsContent,TabsList,TabsTrigger,TextArea,TextButton,TextInput,ToastAction,Toaster,Tooltip,TooltipArrow,TooltipContent,TooltipProvider,TooltipTrigger,badgeVariants,buttonVariants,mobaseTW,navigationMenuTriggerStyle,textButtonVariants,toast,useToast});
287
+ }`}})]});0&&(module.exports={Accordion,AccordionContent,AccordionItem,AccordionTrigger,AlertDialog,AlertDialogAction,AlertDialogCancel,AlertDialogContent,AlertDialogDescription,AlertDialogFooter,AlertDialogHeader,AlertDialogOverlay,AlertDialogPortal,AlertDialogTitle,AlertDialogTrigger,AspectRatio,Badge,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,Calendar,Callout,Card,CardContent,CardDescription,CardFooter,CardHeader,CardTitle,Checkbox,ChoiceboxGroup,ChoiceboxGroupItem,ChoiceboxMultiItem,Combobox,ComboboxContent,ComboboxTrigger,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,DatePicker,Dialog,DialogBody,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogQr,DialogTitle,DialogTrigger,Footer,HeaderNavigation,Heading,HeadingGroup,HeadingSub,HeadingTagline,HeroSection,IconButton,LightBoxContent,LightboxGallery,LightboxThumbnail,NavigationMenu,NavigationMenuContent,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,Pagination,Popover,PopoverContent,PopoverTrigger,Progressbar,RadioGroup,RadioGroupItem,SearchBar,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,SiteMeta,Slider,Stepper,Switch,Tabs,TabsContent,TabsList,TabsTrigger,TextArea,TextButton,TextInput,ToastAction,Toaster,Tooltip,TooltipArrow,TooltipContent,TooltipProvider,TooltipTrigger,badgeVariants,buttonVariants,mobaseTW,navigationMenuTriggerStyle,textButtonVariants,toast,useToast});
288
288
  //# sourceMappingURL=index.cjs.map